/* Agenda Vendix — estilos compartilhados (página do cliente e painel) */
:root {
  --flame: #FF3B00;
  --brand: #FF3B00;          /* cor da empresa (trocada via JS na página pública) */
  --on-brand: #fff;
  --ink: #0E0E0E;
  --ink-2: #2B2B2B;
  --muted: #6F6C68;
  --line: #E8E5E0;
  --bg: #F6F4F1;
  --paper: #FFFFFF;
  --ok: #12805C;
  --ok-bg: #E4F4EC;
  --warn: #9A6400;
  --warn-bg: #FFF1D6;
  --bad: #B3261E;
  --bad-bg: #FBE9E7;
  --info: #2457C5;
  --info-bg: #E6EDFC;
  --gray-bg: #EEECE8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 14, 14, .05), 0 8px 24px rgba(14, 14, 14, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 26px; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: 19px; letter-spacing: -.01em; font-weight: 700; }
h3 { font-size: 15px; font-weight: 600; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h2[tabindex='-1']:focus { outline: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 14px; }
.icon { width: 18px; height: 18px; flex: none; }
.nowrap { white-space: nowrap; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:hover { border-color: #cfcbc4; background: #FBFAF8; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .choice:focus-visible, .slot:focus-visible, .cal-day:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 1px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(.94); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: #262626; }
.btn.danger { color: var(--bad); border-color: #EBC4C0; }
.btn.danger:hover { background: var(--bad-bg); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--gray-bg); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; position: relative; }
.iconbtn:hover { background: #FBFAF8; }

/* ---------- Formulários ---------- */
.field { display: block; }
.field > span, .label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #D9D5CE; border-radius: 10px; background: #fff; }
.field textarea { min-height: 84px; resize: vertical; }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.error { background: var(--bad-bg); color: var(--bad); padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.notice { background: var(--warn-bg); color: #6B4500; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.notice.info { background: var(--info-bg); color: #1B3F8F; }
.notice.ok { background: var(--ok-bg); color: #0C5C42; }

/* ---------- Cartões e etiquetas ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--gray-bg); color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.agendado { background: var(--warn-bg); color: var(--warn); }
.chip.confirmado, .chip.enviado, .chip.conectado { background: var(--ok-bg); color: var(--ok); }
.chip.cancelado, .chip.erro, .chip.faltou, .chip.desconectado { background: var(--bad-bg); color: var(--bad); }
.chip.concluido, .chip.simulado { background: var(--gray-bg); color: #55524D; }
.chip.aguardando { background: var(--info-bg); color: var(--info); }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; margin: 28px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   Página do cliente
   ===================================================================== */
.pub { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; min-height: 100vh; display: flex; flex-direction: column; }
.pub-head { display: flex; align-items: center; gap: 14px; padding: 6px 0 18px; }
.pub-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--paper); border: 1px solid var(--line); flex: none; }
.pub-logo.initials { display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 20px; border: 0; }
.pub-head h1 { font-size: 21px; }
.pub-main { flex: 1; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: #E1DDD6; transition: background .2s; }
.steps i.on { background: var(--brand); }
.step-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.back { border: 0; background: transparent; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; margin-left: -8px; }
.back:hover { background: var(--gray-bg); }
.choice { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choice + .choice { margin-top: 10px; }
.choice:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.choice .t { font-weight: 600; font-size: 16px; }
.choice .d { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.choice .price { font-weight: 700; white-space: nowrap; }
.choice .go { color: #B8B3AB; flex: none; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); display: grid; place-items: center; font-weight: 700; flex: none; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.summary .line { display: flex; gap: 10px; padding: 5px 0; font-size: 14.5px; }
.summary .line b { font-weight: 600; }
.summary .line .k { color: var(--muted); width: 104px; flex: none; }

/* calendário */
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav b { text-transform: capitalize; font-size: 16px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal-nav button[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.cal-day { aspect-ratio: 1; max-height: 52px; border: 0; background: transparent; border-radius: 12px; font-weight: 600; cursor: pointer; font-size: 15px; display: grid; place-items: center; width: 100%; }
.cal-day.free { background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--ink); }
.cal-day.free:hover { background: color-mix(in srgb, var(--brand) 22%, #fff); }
.cal-day.sel { background: var(--brand) !important; color: var(--on-brand); }
.cal-day[disabled] { color: #C4BFB7; cursor: default; font-weight: 400; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px #C9C4BC; }
.slot-group { margin-top: 18px; }
.slot-group h3 { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 10px; border: 1px solid #D9D5CE; background: #fff; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--brand); color: var(--brand); }
.done-mark { width: 68px; height: 68px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 12px auto 16px; }
.done-mark.bad { background: var(--bad-bg); color: var(--bad); }
.done-mark .icon { width: 32px; height: 32px; }
.pub-foot { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.pub-foot img { height: 18px; width: auto; }
.pub-foot b { font-weight: 600; color: var(--ink-2); }

/* =====================================================================
   Painel
   ===================================================================== */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art::after { content: ''; position: absolute; right: -180px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 59, 0, .55), rgba(255, 59, 0, 0) 68%); }
.login-art img { height: 62px; width: auto; align-self: flex-start; margin-left: -14px; }
.login-art h1 { font-size: 40px; line-height: 1.08; max-width: 440px; position: relative; z-index: 1; }
.login-art h1 em { font-style: normal; color: var(--flame); }
.login-art p { color: #B9B5AE; max-width: 400px; margin-top: 16px; font-size: 16px; position: relative; z-index: 1; }
.login-form { display: grid; place-items: center; padding: 32px 20px; background: var(--paper); }
.login-form form { width: 100%; max-width: 360px; }

.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--ink); color: #fff; padding: 18px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30; }
.side .logo { height: 46px; width: auto; align-self: flex-start; margin: 2px 0 6px -8px; }
.side .tenant { margin: 10px 6px 14px; padding: 12px; border-radius: 12px; background: #1B1B1B; }
.side .tenant b { display: block; font-size: 14.5px; }
.side .tenant span { font-size: 12.5px; color: #A6A29B; }
.side .tenant a { color: var(--flame); font-size: 12.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 10px; border: 0; background: transparent; color: #CFCBC4; font-weight: 500; cursor: pointer; text-align: left; }
.nav button:hover { background: #1B1B1B; color: #fff; }
.nav button.on { background: var(--flame); color: #fff; font-weight: 600; }
.nav .sep { height: 1px; background: #262626; margin: 10px 6px; }
.side .me { margin-top: auto; padding: 12px 8px 4px; border-top: 1px solid #262626; font-size: 13px; color: #A6A29B; }
.side .me b { display: block; color: #fff; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.side .me button { margin-top: 8px; background: transparent; border: 0; color: #CFCBC4; padding: 0; cursor: pointer; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.side .me button:hover { color: #fff; }
.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; padding: 18px 28px; position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); z-index: 20; border-bottom: 1px solid transparent; }
.top h1 { font-size: 22px; }
.menu-btn { display: none; }
.view { padding: 6px 28px 60px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .input { width: auto; min-height: 42px; }
.super-bar { background: var(--flame); color: #fff; padding: 8px 28px; font-size: 13.5px; font-weight: 500; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.super-bar button { background: rgba(0, 0, 0, .22); border: 0; color: #fff; border-radius: 8px; padding: 5px 10px; font-weight: 600; cursor: pointer; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }

/* grade do dia */
.day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: calc(100vh - 150px); }
.day-inner { display: grid; min-width: min-content; }
.day-head { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 10px; font-weight: 600; text-align: center; }
.day-head small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.day-times { position: sticky; left: 0; z-index: 4; background: var(--paper); border-right: 1px solid var(--line); }
.day-head.corner { left: 0; z-index: 6; border-right: 1px solid var(--line); }
.day-time { position: absolute; right: 8px; font-size: 12px; color: var(--muted); transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.day-time.first { transform: translateY(4px); }
.day-col { position: relative; border-right: 1px solid var(--line); min-width: 170px; cursor: copy; background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); }
.day-col:last-child { border-right: 0; }
.day-off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #F4F2EE, #F4F2EE 6px, #EDEAE5 6px, #EDEAE5 12px); pointer-events: none; }
.day-block { position: absolute; left: 3px; right: 3px; border-radius: 8px; background: repeating-linear-gradient(135deg, #E4E1DB, #E4E1DB 6px, #D8D4CD 6px, #D8D4CD 12px); color: #55524D; font-size: 12px; font-weight: 600; padding: 4px 8px; overflow: hidden; cursor: default; }
.appt { position: absolute; left: 4px; right: 4px; border-radius: 9px; padding: 5px 9px; font-size: 12.5px; line-height: 1.3; overflow: hidden; cursor: pointer; border: 0; text-align: left; border-left: 4px solid var(--warn); background: var(--warn-bg); color: #4A3200; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.appt:hover { filter: brightness(.97); z-index: 2; }
.appt b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.appt.confirmado { border-left-color: var(--ok); background: var(--ok-bg); color: #0A4532; }
.appt.concluido { border-left-color: #9A958D; background: var(--gray-bg); color: #46433E; }
.appt.faltou { border-left-color: var(--bad); background: var(--bad-bg); color: #7A1A14; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--flame); z-index: 3; pointer-events: none; }
.now-line::before { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--flame); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* tabelas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid #F0EDE8; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr.click { cursor: pointer; }
tbody tr.click:hover { background: #FBFAF8; }
td .sub { display: block; color: var(--muted); font-size: 13px; }
td.actions { text-align: right; white-space: nowrap; }
pre.msg { margin: 0; white-space: pre-wrap; font: inherit; font-size: 13.5px; background: #F7F5F2; border-radius: 10px; padding: 10px 12px; max-width: 520px; }

/* horários do profissional */
.hours-row { display: grid; grid-template-columns: 124px 1fr; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid #F0EDE8; }
.hours-row:last-child { border-bottom: 0; }
.hours-row .periods { display: flex; flex-direction: column; gap: 6px; }
.period { display: flex; align-items: center; gap: 6px; }
.period input { width: 122px; min-height: 38px; padding: 6px 8px; border: 1px solid #D9D5CE; border-radius: 8px; }
.linkbtn { border: 0; background: transparent; color: var(--flame); font-weight: 600; cursor: pointer; padding: 4px 0; font-size: 13px; }
.linkbtn.gray { color: var(--muted); }
.swatch { width: 44px; height: 44px; padding: 0; border: 1px solid #D9D5CE; border-radius: 10px; background: #fff; cursor: pointer; }
.linkbox { display: flex; gap: 8px; align-items: center; background: #F7F5F2; border: 1px dashed #D0CBC3; border-radius: 10px; padding: 8px 8px 8px 12px; }
.linkbox code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.qr { width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 12px; display: block; margin: 12px auto; image-rendering: pixelated; background: #fff; }
.tpl + .tpl { margin-top: 18px; padding-top: 18px; border-top: 1px solid #F0EDE8; }
.vars { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.vars code { background: var(--gray-bg); border-radius: 6px; padding: 2px 6px; font-size: 12px; }

/* sino */
.badge { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--flame); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.pop { position: absolute; right: 0; top: 48px; width: 360px; max-width: calc(100vw - 32px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 70vh; overflow: auto; z-index: 40; }
.pop h3 { padding: 14px 16px 8px; }
.ev { display: flex; gap: 10px; padding: 10px 16px; border-top: 1px solid #F0EDE8; font-size: 13.5px; }
.ev .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--warn); }
.ev .dot.confirmou { background: var(--ok); }
.ev .dot.desmarcou { background: var(--bad); }
.ev .dot.chegando { background: var(--flame); }
.ev .dot.remarcou { background: var(--info); }
.ev time { display: block; color: var(--muted); font-size: 12px; }

/* modal e avisos rápidos */
.overlay { position: fixed; inset: 0; background: rgba(14, 14, 14, .5); display: grid; place-items: center; padding: 16px; z-index: 100; overflow-y: auto; }
.modal { background: var(--paper); border-radius: 18px; width: 100%; max-width: 540px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.modal.wide { max-width: 680px; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 6px; position: sticky; top: 0; background: var(--paper); z-index: 2; }
.modal-head h2 { flex: 1; }
.modal-body { padding: 12px 20px 8px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px 20px; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--paper); }
.x { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.x:hover { background: var(--gray-bg); }
.kv { display: grid; grid-template-columns: 116px 1fr; gap: 8px 12px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); animation: up .2s ease-out; }
.toast.bad { background: var(--bad); }
.toast.ok { background: #0F6B4D; }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }
.scrim { display: none; }

@media (max-width: 900px) {
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 28px 24px; min-height: 0; }
  .login-art h1 { font-size: 28px; margin-top: 26px; }
  .login-art img { height: 48px; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; width: 264px; transform: translateX(-100%); transition: transform .2s; }
  .shell.open .side { transform: none; }
  .shell.open .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 25; }
  .menu-btn { display: inline-grid; }
  .top { padding: 12px 16px; }
  .top h1 { font-size: 19px; }
  .view { padding: 6px 16px 60px; }
  .super-bar { padding: 8px 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .day { max-height: none; }
  .day-col { min-width: 150px; }
  .actions-grid { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
