/* Peace of Mind — Room Scheduler
   Visual language modeled on Eden Workplace: white-dominant, flat, bold tight
   headings, teal/turquoise CTAs, generous whitespace, soft rounded cards. */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --line: #e7eaed;
  --line-strong: #d7dbe0;
  --ink: #0b0f14;
  --ink-soft: #5b6672;
  --ink-faint: #8a94a1;
  --brand: #0d9488;          /* teal */
  --brand-hover: #0f766e;
  --brand-soft: #d8f1ee;
  --brand-ink: #0b5c54;
  --accent: #22d3ee;         /* turquoise pop for the mark */
  --mind: #7c3aed;
  --mind-soft: #efe9fd;
  --mind-ink: #5b21b6;
  --danger: #c0392b;
  --shadow-sm: 0 1px 2px rgba(11, 15, 20, .04), 0 1px 3px rgba(11, 15, 20, .05);
  --shadow: 0 1px 2px rgba(11, 15, 20, .04), 0 10px 30px rgba(11, 15, 20, .07);
  --radius: 16px;
  --radius-sm: 10px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; line-height: 1.5;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { letter-spacing: -0.02em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
  background: #eef1f3; padding: 1px 6px; border-radius: 6px; }
.hidden { display: none !important; }

/* ---- top navigation ---- */
.topbar {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 24px; background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand .dot { width: 34px; height: 34px; border-radius: 0;
  background: url('logo.png') center/contain no-repeat; box-shadow: none; }
.brand small { font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.spacer { flex: 1; }

.datenav { display: flex; align-items: center; gap: 6px; }
.datenav .day { font-weight: 700; min-width: 220px; text-align: center; letter-spacing: -0.01em; }

.btn {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  padding: 9px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 7px; transition: background .12s, border-color .12s, box-shadow .12s;
}
.btn:hover { background: #f3f5f6; }
.btn.icon { padding: 9px 12px; font-size: 16px; line-height: 1; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(13,148,136,.35); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: #f0f2f4; }
.btn.danger { color: var(--danger); border-color: #e7c3bd; }
.btn.danger:hover { background: #fdf2f0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.who { display: flex; align-items: center; gap: 10px; }
.colorpick { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line-strong);
  border-radius: 8px; background: none; cursor: pointer; }
.colorpick::-webkit-color-swatch-wrapper { padding: 3px; }
.colorpick::-webkit-color-swatch { border: none; border-radius: 5px; }
.colorpick::-moz-color-swatch { border: none; border-radius: 5px; }
.avatar { width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-soft), #eafaf7); color: var(--brand-ink);
  font-weight: 700; display: grid; place-items: center; font-size: 12.5px; border: 1px solid #cfeae5; }

.layout { display: flex; gap: 20px; padding: 20px 24px 40px; align-items: flex-start; max-width: 1500px; margin: 0 auto; }
.main { flex: 1; min-width: 0; }
.side { width: 320px; flex: none; }
@media (max-width: 980px) { .layout { flex-direction: column; padding: 16px; } .side { width: 100%; } }

/* ===== Eden-style app shell: dark sidebar + week strip ===== */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 246px; flex: none; background: #0f2233; color: #c3d0dd;
  display: flex; flex-direction: column; padding: 18px 14px; position: sticky; top: 0; height: 100vh; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 16px; }
.side-logo { width: 40px; height: 40px; border-radius: 10px; background: #fff; object-fit: contain; padding: 3px; flex: none; }
.sb-name { font-weight: 800; color: #fff; font-size: 15px; letter-spacing: -0.01em; }
.sb-sub { font-size: 11.5px; color: #7f93a6; }
.side-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 10px; border: none; background: transparent; color: #b8c6d4;
  font-weight: 600; font-size: 14px; transition: background .12s, color .12s; }
.nav-item:hover { background: #17324a; color: #fff; }
.nav-item.active { background: rgba(34, 211, 238, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .28); }
.ni-ico { font-size: 15px; width: 18px; text-align: center; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; }
.sf-row { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.side-foot .avatar { border: none; flex: none; }
.sf-id { min-width: 0; }
.sf-name { color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-mail { color: #7f93a6; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-row2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-color { display: flex; align-items: center; gap: 7px; color: #b8c6d4; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.sf-color .colorpick { width: 26px; height: 26px; }
.sf-out { background: transparent; border: 1px solid rgba(255, 255, 255, .16); color: #c3d0dd;
  padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.sf-out:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.content { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100vh; background: var(--bg); }
.content-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 24px 12px; flex: none; }
.ch-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.ch-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ch-sub { color: var(--ink-faint); font-size: 13px; margin-top: 2px; }
.ch-actions { display: flex; align-items: center; gap: 10px; }
.acct-btn { border: none; background: none; padding: 0; cursor: pointer; }
.acct-btn .avatar { width: 36px; height: 36px; }
.acct-color { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.ni-lbl { min-width: 0; }
.weekstrip { display: flex; align-items: center; gap: 10px; }
.wk-days { display: flex; gap: 8px; flex: 1; }
.day-chip { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: background .1s, border-color .1s; }
.day-chip:hover { border-color: var(--brand); }
.dc-wd { font-size: 11px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.dc-num { font-size: 17px; font-weight: 700; color: var(--ink); }
.day-chip.today .dc-num { color: var(--brand); }
.day-chip.sel { background: var(--brand); border-color: var(--brand); box-shadow: 0 2px 8px rgba(13, 148, 136, .3); }
.day-chip.sel .dc-wd, .day-chip.sel .dc-num { color: #fff; }
.wk-arrow { flex: none; }
.legend-strip { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.lg-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.lg-item .sw { width: 13px; height: 13px; border-radius: 4px; }
.lg-note { color: var(--ink-faint); font-size: 12.5px; }
.content-body { flex: 1; min-height: 0; padding: 16px 24px 24px; display: flex; align-items: stretch; }
.content-body .grid-wrap { flex: 1; max-height: none; }

/* month calendar view */
.ch-title-wrap { display: flex; align-items: center; gap: 10px; }
.back-btn { padding: 6px 10px; flex: none; }
.month-body { display: block; overflow: auto; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px; }
.mg-wd { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0 6px; }
.mg-cell { position: relative; min-height: 88px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; cursor: pointer; transition: background .1s, border-color .1s; }
.mg-cell:hover { border-color: var(--brand); background: #f2fbfc; }
.mg-cell.out { background: #fafbfc; }
.mg-cell.out .mg-num { color: var(--ink-faint); }
.mg-num { font-weight: 700; font-size: 14px; }
.mg-cell.today .mg-num { background: var(--brand); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.mg-count { margin-top: auto; align-self: stretch; font-size: 11px; font-weight: 600; color: var(--brand-ink);
  background: var(--brand-soft); border: 1px solid #cdeae5; border-radius: 6px; padding: 2px 6px; text-align: center; }

@media (max-width: 820px) {
  .month-body { padding: 10px 10px 16px; }
  .month-grid { gap: 3px; padding: 6px; }
  .mg-wd { font-size: 9.5px; }
  .mg-cell { min-height: 54px; padding: 4px; border-radius: 8px; gap: 2px; }
  .mg-num { font-size: 12.5px; }
  .mg-cell.today .mg-num { width: 21px; height: 21px; font-size: 12px; }
  .mg-count { font-size: 9px; padding: 1px 2px; }
  .back-btn { padding: 5px 8px; font-size: 12px; }
}

/* list views: My times + Open rooms */
.list-body { display: block; overflow: auto; }
.day-group { margin-bottom: 18px; }
.dg-head { font-size: 12px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; margin: 0 2px 8px; }
.mb-row, .or-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-sm); padding: 12px 14px; margin-bottom: 8px; }
.mb-info, .or-info { flex: 1; min-width: 0; }
.mb-title, .or-name { font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.mb-meta, .or-windows { color: var(--ink-soft); font-size: 13px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mb-actions { display: flex; gap: 6px; flex: none; }
.or-dot { width: 11px; height: 11px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.or-now { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--brand-ink);
  background: var(--brand-soft); border: 1px solid #cdeae5; border-radius: 999px; padding: 2px 8px; }
@media (max-width: 820px) {
  .mb-actions { flex-direction: column; }
}

/* ===== phone: native-app feel with a bottom tab bar ===== */
@media (max-width: 820px) {
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: auto;
    flex-direction: row; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 -6px 20px rgba(0, 0, 0, .22); }
  .side-brand { display: none; }
  .side-nav { flex-direction: row; width: 100%; justify-content: space-around; gap: 0; margin: 0; }
  .nav-item { flex: 1; flex-direction: column; gap: 3px; padding: 6px 2px; border-radius: 10px;
    justify-content: center; color: #90a1b2; }
  .nav-item.active { background: transparent; box-shadow: none; color: #fff; }
  .ni-ico { font-size: 20px; width: auto; }
  .ni-lbl { font-size: 10px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .content { height: auto; min-height: 100vh; padding-bottom: 70px; }
  .content-head { position: sticky; top: 0; z-index: 20; padding: 12px 14px 10px; }
  .ch-title { font-size: 19px; }
  .ch-sub { font-size: 12px; }
  .weekstrip { gap: 6px; }
  .wk-days { gap: 5px; }
  .day-chip { padding: 6px 2px; border-radius: 10px; }
  .dc-wd { font-size: 10px; }
  .dc-num { font-size: 15px; }
  .wk-arrow { padding: 8px; }
  .legend-strip { gap: 12px; margin-top: 10px; }
  .lg-note { display: none; }
  .content-body { display: block; padding: 10px 12px 16px; }
  .content-body .grid-wrap { max-height: none; -webkit-overflow-scrolling: touch; }
  .modal { max-height: 86vh; }
}

/* ---- schedule grid ---- */
.grid-wrap { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: auto; max-height: calc(100vh - 150px); }
.grid { display: grid; position: relative; min-width: max-content; }
.grid .corner, .grid .colhead, .grid .timelabel { position: sticky; background: var(--surface); z-index: 3; }
.grid .corner { top: 0; left: 0; z-index: 5; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid .colhead { top: 0; z-index: 4; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  padding: 11px 14px; text-align: left; background: linear-gradient(#ffffff, #fcfdfd); }
.grid .colhead .rname { font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; }
.grid .colhead .rmeta { color: var(--ink-faint); font-size: 12px; margin-top: 2px; }
.grid .colhead .swatch { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 8px; flex: none; }
.grid .timelabel { left: 0; z-index: 2; border-right: 1px solid var(--line);
  color: var(--ink-faint); font-size: 11.5px; font-weight: 500; padding: 0 12px; text-align: right;
  display: flex; align-items: flex-start; justify-content: flex-end; transform: translateY(-7px); }
.grid .cell { border-bottom: 1px dashed #eef1f3; border-right: 1px solid var(--line); position: relative; transition: background .1s; }
.grid .cell:hover { background: #f0fbf9; cursor: pointer; box-shadow: inset 0 0 0 1px #b9e6df; }
.grid .cell.hour { border-bottom: 1px solid var(--line); }

/* booking chips */
.col-events { position: absolute; inset: 0; pointer-events: none; }
.event { position: absolute; left: 4px; right: 4px; border-radius: 9px; padding: 6px 9px;
  font-size: 12.5px; overflow: hidden; pointer-events: auto; cursor: pointer;
  background: var(--brand-soft); border: 1px solid #b9e6df; color: var(--brand-ink);
  box-shadow: 0 1px 2px rgba(11,15,20,.06); transition: transform .08s, box-shadow .12s; }
.event:hover { box-shadow: 0 4px 12px rgba(11,15,20,.12); transform: translateY(-1px); }
.event .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.event .m { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.event.mine { box-shadow: inset 3px 0 0 var(--brand), 0 1px 2px rgba(11,15,20,.06); }
.event.mind { background: var(--mind-soft); border-color: #d6c8f6; color: var(--mind-ink); cursor: default; }
.event.mind:hover { transform: none; }
.event.mind .badge { font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .85; }

/* ---- side panels ---- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 18px; margin-bottom: 18px; }
.panel h3 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); font-weight: 700; }
.panel .hint { color: var(--ink-soft); font-size: 12.5px; margin: 0 0 12px; line-height: 1.5; }
.mind-embed { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 120px; background: #fafbfc; }

/* ---- room admin list ---- */
.roomrow { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.roomrow:last-child { border-bottom: 0; }
.roomrow .sw { width: 14px; height: 14px; border-radius: 5px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.roomrow .rn { flex: 1; font-weight: 600; }
.roomrow .rn small { color: var(--ink-faint); font-weight: 400; }

/* ---- modal ---- */
.scrim { position: fixed; inset: 0; background: rgba(11, 15, 20, .42); backdrop-filter: blur(2px);
  display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .12s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); width: 100%; max-width: 460px; padding: 24px; max-height: 90vh; overflow-y: auto; }

/* recurrence controls */
.rec-custom { background: #f7f9fa; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 4px; margin-bottom: 14px; }
.wd-toggles { display: flex; gap: 6px; }
.wd { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  font-weight: 700; font-size: 12px; color: var(--ink-soft); transition: background .1s, color .1s, border-color .1s; }
.wd:hover { border-color: var(--brand); }
.wd.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.ends { display: flex; flex-direction: column; gap: 9px; }
.rc-radio { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13.5px; color: var(--ink); }
.rc-radio input[type="date"], .rc-radio input[type="number"] { padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 8px; }

/* booking / unavailable type toggle */
.type-toggle { display: flex; gap: 4px; background: #eef1f3; padding: 4px; border-radius: 11px; margin-bottom: 14px; }
.tt-btn { flex: 1; padding: 9px; border: none; background: transparent; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.tt-btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* all-day toggle */
.allday { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); font-weight: 500; margin-bottom: 12px; cursor: pointer; }

/* guests */
.guest-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gchip { display: inline-flex; align-items: center; gap: 4px; background: var(--brand-soft); color: var(--brand-ink);
  border: 1px solid #b9e6df; border-radius: 999px; padding: 3px 6px 3px 11px; font-size: 12.5px; font-weight: 500; }
.gx { border: none; background: none; color: var(--brand-ink); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; }
.gx:hover { color: var(--danger); }

/* release panel */
.release-panel { background: #fff8e6; border: 1px solid #f2dfa0; border-radius: 12px; padding: 12px 14px 4px; margin-bottom: 12px; }
.rp-title { font-weight: 600; font-size: 13px; color: #6b5300; margin-bottom: 8px; }

/* "unavailable" block on the grid */
.event.block { background: repeating-linear-gradient(45deg, #eef1f3, #eef1f3 6px, #e4e8ec 6px, #e4e8ec 12px);
  border: 1px solid #cfd6dd; color: #5b6672; box-shadow: inset 3px 0 0 #97a3b0; }
.event.block .t { font-weight: 700; }
.modal h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.modal .sub { color: var(--ink-soft); margin: 0 0 18px; font-size: 13px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .12s, box-shadow .12s; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.field textarea { resize: vertical; min-height: 62px; }
.row2 { display: flex; gap: 12px; } .row2 > * { flex: 1; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
.modal-actions .spacer { flex: 1; }
.err { color: var(--danger); font-size: 13px; margin: 8px 0 0; }
.ok { color: var(--brand-ink); font-size: 13px; margin: 8px 0 0; }

/* ---- login / setup ---- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(1200px 600px at 50% -10%, #eafaf7 0%, var(--bg) 55%); }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 36px 32px; width: 100%; max-width: 410px; text-align: center; }
.login-card .dot { width: 96px; height: 96px; border-radius: 0; margin: 0 auto 14px;
  background: url('logo.png') center/contain no-repeat; box-shadow: none; }
.login-card h1 { font-size: 22px; margin: 0 0 6px; font-weight: 800; }
.login-card p { color: var(--ink-soft); margin: 0 0 22px; line-height: 1.5; }
.login-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: 12px; margin-bottom: 12px; text-align: center; }
.login-card input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow); z-index: 80;
  opacity: 0; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.empty { padding: 56px 40px; text-align: center; color: var(--ink-soft); }
.setup-banner { background: #fff8e6; border: 1px solid #f2dfa0; color: #6b5300;
  padding: 12px 16px; border-radius: 12px; margin: 16px 24px 0; font-size: 13.5px; }
