/* ─── Punto Rosso Meetings — sleek dark, glass + red glow ─── */
:root {
  --paper: #0A0B0E;            /* canvas */
  --paper-deep: #101218;
  --ink: #F2F3F7;              /* primary text */
  --ink-soft: #8A8F9C;         /* secondary text */
  --line: rgba(255,255,255,.09);
  --red: #FF3B30;
  --red-deep: #C4160C;
  --green: #30D158;
  --amber: #FFB020;
  --card: rgba(255,255,255,.035);
  --card-solid: #12141A;
  --radius: 18px;
  --display: "Sora", "Helvetica Neue", sans-serif;
  --body: "Manrope", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(255,59,48,.14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(255,59,48,.06), transparent 55%),
    var(--paper);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(255,59,48,.35); }

/* ── Topbar ── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,11,14,.72);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FF7A6E, var(--red) 55%, var(--red-deep));
  box-shadow: 0 0 18px rgba(255,59,48,.65);
  flex: none;
}
.dot.tiny { width: 9px; height: 9px; box-shadow: 0 0 10px rgba(255,59,48,.6); }
.brand-name { font-family: var(--display); font-size: 1.12rem; font-weight: 400; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; }
.brand-name em { font-style: normal; font-weight: 500; color: var(--ink-soft); font-size: .82em; margin-left: .4em; }
.tz-badge {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  background: var(--card);
}

/* ── Layout ── */
.app { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) 90px; }
.foot {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  padding: 26px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-soft); letter-spacing: .05em;
}

/* ── Hero (home) ── */
.hero { margin: 0 0 48px; }
.hero .kicker {
  font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.hero .kicker::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(255,59,48,.4), transparent); }
.hero h1 {
  font-family: var(--display); font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  line-height: 1.06; letter-spacing: -.03em; margin: 0 0 22px; max-width: 17ch;
}
.hero h1 b {
  font-weight: 800;
  background: linear-gradient(100deg, #FF6A5E, var(--red) 60%, #D92418);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--ink-soft); font-size: 1.04rem; max-width: 54ch; line-height: 1.7; margin: 0; font-weight: 500; }

/* ── Cards & forms ── */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 38px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
  margin-bottom: 26px;
}
.card h2 {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: 0 0 6px;
  letter-spacing: -.01em;
  display: flex; align-items: center; gap: 12px;
}
.card h2 .num {
  font-size: .74rem; font-weight: 700; color: var(--red);
  border: 1px solid rgba(255,59,48,.5); background: rgba(255,59,48,.1);
  border-radius: 999px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); flex: none;
}
.card .hint { color: var(--ink-soft); font-size: .88rem; margin: 0 0 24px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

label.field { display: block; margin-bottom: 18px; }
label.field span.lab, .lab {
  display: block; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--ink-soft);
}
input[type=text], input[type=email], input[type=password], input[type=datetime-local], input[type=number], textarea, select {
  width: 100%; font: 500 .98rem var(--body); color: var(--ink);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: #565b66; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(255,59,48,.7);
  box-shadow: 0 0 0 4px rgba(255,59,48,.14);
  background: rgba(255,255,255,.07);
}
input[type=datetime-local] { color-scheme: dark; }
textarea { resize: vertical; min-height: 84px; }

/* duration pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink);
  border-radius: 999px; padding: 10px 20px; font: 600 .88rem var(--body); cursor: pointer;
  transition: all .15s;
}
.pill.on {
  background: rgba(255,59,48,.14); border-color: rgba(255,59,48,.65); color: #FF8A80;
  box-shadow: 0 0 16px rgba(255,59,48,.2) inset;
}
.pill:hover { border-color: rgba(255,255,255,.25); transform: translateY(-1px); }

/* organizer login */
.login { max-width: 440px; margin: 10vh auto 0; text-align: center; }
.login-dot {
  width: 46px; height: 46px; border-radius: 50%; margin: 8px auto 22px;
  background: radial-gradient(circle at 32% 30%, #FF8A80, var(--red) 55%, var(--red-deep));
  box-shadow: 0 0 40px rgba(255,59,48,.6);
  animation: pulse-big 2.6s infinite;
}
.login h2 { justify-content: center; }
.login .hint { line-height: 1.6; }
.login form { display: flex; gap: 10px; margin-top: 6px; }
.login form input { flex: 1; }
.admin-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-mode {
  display: inline-flex; gap: 9px; align-items: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* week grid slot picker */
.wk-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.wk-label { font-family: var(--display); font-weight: 600; font-size: .92rem; min-width: 190px; text-align: center; letter-spacing: -.01em; }
.wk-bar select { width: auto; padding: 9px 12px; font-size: .85rem; }
.wk-grid {
  overflow-x: auto; user-select: none; -webkit-user-select: none;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card-solid);
  margin-bottom: 16px;
}
.wk-inner { display: grid; grid-template-columns: 64px repeat(7, minmax(56px, 1fr)); min-width: 520px; }
.wk-head {
  padding: 10px 4px; text-align: center; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px;
}
.wk-head b { font-family: var(--display); font-size: 1rem; color: var(--ink); letter-spacing: 0; }
.wk-head.today { color: var(--red); }
.wk-head.today b { color: var(--red); }
.wk-time {
  font-size: .68rem; font-weight: 600; color: var(--ink-soft); padding: 0 10px 0 4px;
  text-align: right; border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: flex-end;
}
.wk-cell {
  height: 32px; cursor: pointer; touch-action: none;
  border-right: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .1s;
}
.wk-cell:hover { background: rgba(255,255,255,.08); }
.wk-cell.sel {
  background: linear-gradient(140deg, rgba(255,83,72,.85), rgba(224,36,23,.85));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.wk-cell.sel:hover { filter: brightness(1.15); }
.wk-cell.past { cursor: not-allowed; background: rgba(255,255,255,.015); }
.custom-slot { margin-bottom: 16px; }
.custom-slot summary {
  cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 12px; list-style-position: inside;
}
.custom-slot summary:hover { color: var(--ink); }
.slot-count {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #FF8A80; margin-right: 6px;
}

/* participant availability grid */
.pv-cell {
  position: relative; height: 36px; cursor: pointer; touch-action: none;
  background: rgba(255,255,255,.05);
  border-right: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05);
  transition: filter .1s;
}
.pv-cell:hover { filter: brightness(1.5); }
.pv-cell.off {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 7px, transparent 7px 14px), rgba(0,0,0,.45);
  cursor: default;
}
.pv-cell.off:hover { filter: none; }
.pv-cell .mb, .sw-mb .mb {
  position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 6px rgba(255,176,32,.85); pointer-events: none;
}
.sw-mb { position: relative; background: rgba(48,209,88,.25); }
.sw-mb .mb { top: 3px; right: 3px; }
/* organizer: focus one person's answers */
.pv-cell.f-yes { box-shadow: inset 0 0 0 2px var(--green); }
.pv-cell.f-maybe { box-shadow: inset 0 0 0 2px var(--amber); }
.pv-cell.f-dim { filter: brightness(.45); }
.who-p[data-focus] { cursor: pointer; transition: all .12s; }
.who-p[data-focus]:hover { border-color: rgba(255,255,255,.3); }
.who-p.on { border-color: var(--green); background: rgba(48,209,88,.14); color: #B9F5CB; }
.who-hint { font-size: .78rem; opacity: .7; }
.pv-cell.my-yes::after {
  content: "✓"; position: absolute; inset: 4px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, #FF5348, #E02417);
  box-shadow: 0 2px 10px rgba(255,59,48,.5), inset 0 1px 0 rgba(255,255,255,.3);
}
.pv-cell.my-maybe::after {
  content: "?"; position: absolute; inset: 4px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #2A1D00;
  background: linear-gradient(140deg, rgba(255,176,32,.95), rgba(196,126,8,.95));
  box-shadow: 0 2px 8px rgba(255,176,32,.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.pv-cell.openc { background: rgba(255,255,255,.07); }
.pv-cell.openc::before {
  content: ""; position: absolute; inset: 5px; border-radius: 7px;
  border: 1.5px dashed rgba(255,255,255,.42); pointer-events: none;
}
.pv-cell.openc:hover::before { border-color: rgba(255,255,255,.75); }
.pv-cell.bestc { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.pv-cell .bd {
  position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.9); pointer-events: none; z-index: 2;
}

/* legend */
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 16px; }
.leg { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.leg .sw {
  width: 21px; height: 21px; border-radius: 6px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800;
}
.sw-yes { background: linear-gradient(140deg, #FF5348, #E02417); color: #fff; }
.sw-maybe { background: linear-gradient(140deg, rgba(255,176,32,.95), rgba(196,126,8,.95)); color: #2A1D00; }
.sw-heat { background: rgba(48,209,88,.35); border: 1px solid rgba(48,209,88,.45); }
.sw-open { border: 1.5px dashed rgba(255,255,255,.55); background: rgba(255,255,255,.07); }
.sw-off {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 5px, transparent 5px 10px), rgba(0,0,0,.5);
  border: 1px solid var(--line);
}

/* responses line + top slots */
.who { color: var(--ink-soft); font-size: .9rem; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.who-p {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; color: var(--ink); font-weight: 600; font-size: .82rem;
}
.top-slots { display: grid; gap: 10px; }
.top-slot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  background: rgba(255,255,255,.03);
}
.top-slot.lead { border-color: rgba(255,59,48,.5); background: rgba(255,59,48,.07); }
.top-slot .ts-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.15); flex: none; }
.top-slot.lead .ts-dot { background: var(--red); box-shadow: 0 0 10px rgba(255,59,48,.8); }
.top-slot .ts-when { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.top-slot .ts-tally { font-size: .8rem; color: var(--ink-soft); font-weight: 600; margin-left: auto; }
.top-slot .ts-tally b { color: var(--green); }
.top-slot .btn { flex: none; }

/* reminders */
.remind-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.remind-form input { flex: 1; min-width: 180px; }
.remind-form .btn { flex: none; }
.vote-bar input[type=email] { max-width: 300px; }
.unsaved { color: var(--amber); font-size: .82rem; font-weight: 700; animation: rise .3s ease; }

/* invitations */
.field-help { display: block; font-size: .76rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.45; }
input[type=date] { color-scheme: dark; }
.me-chip {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .9rem; color: var(--ink-soft); padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04);
}
.me-chip b { color: var(--ink); }
.me-chip .me-mail { font-size: .8rem; opacity: .8; }
.inv-list { display: grid; gap: 8px; margin-bottom: 16px; }
.inv-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
  background: rgba(255,255,255,.03); font-size: .88rem;
}
.inv-row.ok { border-color: rgba(48,209,88,.35); }
.inv-status { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); min-width: 96px; }
.inv-row.ok .inv-status { color: var(--green); }
.inv-name { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.inv-edit {
  border: none; background: none; color: var(--ink-soft); cursor: pointer;
  font-size: .85rem; padding: 2px 5px; border-radius: 6px; line-height: 1;
}
.inv-edit:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.inv-mail { color: var(--ink-soft); flex: 1; min-width: 160px; overflow-wrap: anywhere; }
.inv-actions { display: grid; gap: 10px; margin-bottom: 14px; }
.inv-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.inv-deadline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.inv-deadline input[type=date] { width: auto; }

/* admin meeting list */
.meet-list { display: grid; gap: 10px; }
.meet-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  background: rgba(255,255,255,.03);
}
.meet-row .mr-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(255,176,32,.6); flex: none; }
.meet-row.done .mr-dot { background: var(--green); box-shadow: 0 0 8px rgba(48,209,88,.6); }
.mr-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.mr-title { font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; }
.mr-title:hover { color: #FF8A80; }
.mr-meta { font-size: .76rem; color: var(--ink-soft); font-weight: 500; }
.mr-status { font-size: .78rem; font-weight: 700; color: var(--amber); letter-spacing: .04em; }
.meet-row.done .mr-status { color: var(--green); }
.mr-del {
  border: none; background: none; color: var(--ink-soft); cursor: pointer;
  font-size: .95rem; font-weight: 700; padding: 6px 8px; border-radius: 8px; transition: all .12s;
}
.mr-del:hover { color: #fff; background: rgba(255,59,48,.8); }

/* slot builder */
.slot-adder { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
.slot-adder .field { margin: 0; flex: 1; min-width: 220px; }
.slot-list { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 13px; font-size: .85rem; font-weight: 600;
  animation: pop .18s ease;
}
.slot-chip .x { cursor: pointer; color: var(--red); font-weight: 700; border: none; background: none; font-size: .95rem; padding: 0 2px; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .95rem var(--body); letter-spacing: .01em;
  background: linear-gradient(140deg, #FF5348, var(--red) 55%, #E02417);
  color: #fff; border: none; text-decoration: none;
  border-radius: 12px; padding: 14px 26px; cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(255,59,48,.55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -8px rgba(255,59,48,.65), inset 0 1px 0 rgba(255,255,255,.25); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: rgba(255,255,255,.06); color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.ghost:hover { border-color: rgba(255,255,255,.28); box-shadow: none; }
.btn.small { padding: 9px 16px; font-size: .82rem; border-radius: 10px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* ── Share links ── */
.share-box { display: grid; gap: 14px; }
.share-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-row .lab { margin: 0; min-width: 130px; }
.share-row code {
  flex: 1; min-width: 200px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 9px;
  padding: 11px 13px; font-size: .8rem; overflow-x: auto; white-space: nowrap; color: #B9BEC9;
}

/* ── Poll page ── */
.poll-head { margin-bottom: 32px; }
.poll-head .kicker { font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.poll-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 4.2vw, 2.7rem); margin: 0 0 12px; letter-spacing: -.025em; }
.poll-head .meta { color: var(--ink-soft); font-size: .92rem; display: flex; gap: 18px; flex-wrap: wrap; font-weight: 500; }
.poll-head .meta b { color: var(--ink); }
.poll-head .desc { margin-top: 14px; max-width: 64ch; line-height: 1.65; color: #C7CBD4; }

.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card-solid);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}
table.grid { border-collapse: collapse; width: 100%; min-width: 560px; }
table.grid th, table.grid td { border-bottom: 1px solid var(--line); padding: 13px 15px; text-align: center; }
table.grid tbody tr:last-child td { border-bottom: 1px solid var(--line); }
table.grid th.name-col, table.grid td.name-col { text-align: left; position: sticky; left: 0; background: var(--card-solid); min-width: 140px; border-right: 1px solid var(--line); z-index: 2; }
table.grid thead th { vertical-align: bottom; background: rgba(255,255,255,.03); }
table.grid tfoot td { border-bottom: none; }
.slot-head { display: flex; flex-direction: column; gap: 3px; align-items: center; font-weight: 600; }
.slot-head .d { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.slot-head .t { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.slot-head .best-dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--red); margin-top: 5px;
  box-shadow: 0 0 0 4px rgba(255,59,48,.18), 0 0 14px rgba(255,59,48,.8); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(255,59,48,.18), 0 0 14px rgba(255,59,48,.8); }
  50% { box-shadow: 0 0 0 8px rgba(255,59,48,.07), 0 0 20px rgba(255,59,48,.9); }
}

td.best { background: rgba(255,59,48,.05); }
th.best { background: rgba(255,59,48,.1) !important; }

.mark { font-size: 1.02rem; font-weight: 700; }
.mark.yes { color: var(--green); }
.mark.maybe { color: var(--amber); }
.mark.no { color: var(--red); opacity: .8; }

/* vote row selectors */
.choice { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.04); }
.choice button {
  border: none; background: none; padding: 8px 12px; cursor: pointer; font-size: .92rem;
  color: var(--ink-soft); transition: background .12s, color .12s; line-height: 1;
}
.choice button:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.choice button + button { border-left: 1px solid var(--line); }
.choice button.on-yes { background: var(--green); color: #04220E; font-weight: 800; }
.choice button.on-maybe { background: var(--amber); color: #2A1D00; font-weight: 800; }
.choice button.on-no { background: var(--red); color: #fff; font-weight: 800; }

.tally { font-size: .74rem; color: var(--ink-soft); font-weight: 700; }
.tally b { color: var(--green); }

.vote-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.vote-bar input[type=text] { max-width: 260px; }

/* summary / best slot */
.best-banner {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  border: 1px solid rgba(255,59,48,.35); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255,59,48,.12), rgba(255,59,48,.04) 55%), var(--card-solid);
  padding: 20px 24px; margin-bottom: 26px;
  box-shadow: 0 20px 50px -22px rgba(255,59,48,.4);
}
.best-banner .dot { width: 15px; height: 15px; }
.best-banner .when { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.best-banner .why { font-size: .84rem; color: var(--ink-soft); font-weight: 500; margin-top: 2px; }
.best-banner .spacer { flex: 1; }

.confirmed-box { text-align: center; padding: 12px 0 6px; }
.confirmed-box .big-dot {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: radial-gradient(circle at 32% 30%, #FF8A80, var(--red) 55%, var(--red-deep));
  box-shadow: 0 0 60px rgba(255,59,48,.7), 0 0 0 14px rgba(255,59,48,.07);
  animation: pulse-big 2.6s infinite;
}
@keyframes pulse-big {
  0%,100% { box-shadow: 0 0 60px rgba(255,59,48,.7), 0 0 0 14px rgba(255,59,48,.07); }
  50% { box-shadow: 0 0 80px rgba(255,59,48,.85), 0 0 0 22px rgba(255,59,48,.04); }
}
.confirmed-box h2 { font-family: var(--display); font-weight: 800; font-size: 1.9rem; margin: 0 0 8px; letter-spacing: -.02em; }
.confirmed-box .when { font-size: 1.05rem; margin-bottom: 24px; color: var(--ink-soft); font-weight: 500; }
.confirmed-box .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.admin-note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }
.admin-note b { color: var(--ink); }
.remove-p { border: none; background: none; color: var(--red); cursor: pointer; font-size: .72rem; font-weight: 700; padding: 0; margin-left: 8px; opacity: .8; }
.remove-p:hover { opacity: 1; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: #1C1F27; color: var(--ink); font: 600 .9rem var(--body);
  border: 1px solid var(--line);
  padding: 12px 22px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: all .25s; z-index: 50; box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { animation: rise .55s cubic-bezier(.2,.7,.3,1) both; }
.reveal:nth-child(2) { animation-delay: .07s; }
.reveal:nth-child(3) { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.err { color: #FF6A5E; font-weight: 600; font-size: .9rem; margin-top: 12px; }
