:root{
  --bg:#000000;
  --card:#121a33;
  --text:#e9eefc;
  --muted:#b9c3e6;
  --border:rgba(255,255,255,.10);
  --blue:#5b6271;

  --radius: 14px;
  --pad: 16px;
  --font-scale: 1;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  font-size: calc(16px * var(--font-scale));
}
a{color:#9ad1ff;text-decoration:none}
a:hover{text-decoration:underline}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  background:var(--card);
  border-bottom:1px solid var(--border);
}
.wrap{max-width:980px;margin:18px auto;padding:0 14px}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:var(--pad);
  margin:14px 0;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}
h1,h2,h3{margin:0 0 10px 0}
label{display:block;margin:10px 0 6px;color:var(--muted)}
input,textarea,select{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--text);
}
textarea{resize:vertical}
.btn,button{
  display:inline-block;
  padding:10px 14px;
  border-radius:10px;
  border:0;
  background:var(--blue);
  color:white;
  cursor:pointer;
}
.btn:hover,button:hover{filter:brightness(1.05)}
.row{display:flex;gap:12px;flex-wrap:wrap}
.meta{opacity:.85;font-size:.92rem;margin:6px 0}
.notice{
  background:rgba(44,108,255,.15);
  border:1px solid rgba(44,108,255,.35);
  padding:10px;
  border-radius:10px;
  margin:10px 0;
}
.error{
  background:rgba(255,60,60,.12);
  border:1px solid rgba(255,60,60,.35);
  padding:10px;
  border-radius:10px;
  margin:10px 0;
}
.entry{padding:10px 0;border-top:1px solid var(--border)}
.entry:first-of-type{border-top:0}
.text{line-height:1.5;white-space:normal}
.small{font-size:.92rem;color:var(--muted)}

/* Gentle reminder status + dots */
.status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  font-size:.92rem;
}
.status.ok{ color:var(--text); }
.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
  display:inline-block;
}
.dot.ok{ background:rgba(44,108,255,.9); }

/* Reaction-only responses */
.reactions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.reactForm{ margin:0; }
.reactBtn{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  font-size:.92rem;
  line-height:1;
}
.reactBtn:hover{ filter:brightness(1.05); }
.reactBtn.active{
  border-color:rgba(44,108,255,.7);
  background:rgba(44,108,255,.12);
}
.reactSummary{
  margin-left:auto;
  opacity:.9;
  font-size:1.05rem;
}
