/* Cadeira Pro — azul-escuro e dourado. Sem fontes externas. */
:root {
  --navy: #0e2238; --navy-2: #1b3a5c; --navy-3: #2c5282; --gold: #c8a24c; --gold-d: #8a6a1c; --gold-l: #f4e9cc;
  --bg: #f4f6f9; --surface: #fff; --ink: #14202e; --muted: #51607a; --line: #d9e0ea; --ok: #1d7a4d; --bad: #b3261e; --warn-bg: #fff6df;
  --r: 10px; --shadow: 0 1px 2px rgba(14, 34, 56, .08);
  --serif: Georgia, 'Times New Roman', serif; --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--sans); color: var(--ink); background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .4rem; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1.3rem; } h4 { font-size: 1rem; margin-top: 1.2rem; }
a { color: var(--navy-3); }
p { margin: 0 0 .6rem; }
small { display: block; color: var(--muted); font-size: .8rem; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.boot { padding: 2rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Estrutura */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #fff; padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.15rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--gold); color: var(--navy); font-weight: 700; }
#nav { display: flex; flex-direction: column; gap: .2rem; }
#nav a, .tabs a { color: #cfd9e6; text-decoration: none; padding: .65rem .8rem; border-radius: 8px; font-weight: 500; display: flex; align-items: center; gap: .65rem; }
#nav a:hover { background: rgba(255, 255, 255, .08); }
#nav a.on { background: var(--navy-2); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.side-foot { margin-top: auto; display: grid; gap: .6rem; font-size: .9rem; }
.who b { display: block; } .who span, .shopname { color: #a9b8cc; font-size: .85rem; }
.side .field span { color: #a9b8cc; }
.side select { background: var(--navy-2); color: #fff; border-color: #3b5a80; }
.side .btn.ghost { color: #fff; border-color: #3b5a80; }
.demo-tag { background: var(--gold); color: var(--navy); font-weight: 600; font-size: .75rem; padding: .2rem .5rem; border-radius: 6px; width: fit-content; margin: 0; }
.main { min-width: 0; padding: 1.6rem clamp(1rem, 3vw, 2.4rem) 4rem; max-width: 1100px; width: 100%; }
.main:focus { outline: none; }
.tabs { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.head-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.section-title { margin-top: 1.4rem; }

/* Botões e formulários */
.btn { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; min-height: 44px; }
.btn:hover { border-color: var(--navy-3); }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); } .btn.primary:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); } .btn.gold:hover { background: #d6b25d; }
.btn.ghost { background: transparent; } .btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn.small { padding: .3rem .7rem; min-height: 36px; font-size: .9rem; }
.btn.big { padding: .85rem 1.4rem; font-size: 1.05rem; }
.btn.danger-text { color: var(--bad); }
.btn:disabled { opacity: .55; cursor: wait; }
.icon-btn { border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .6rem; min-height: 44px; }
.field { display: grid; gap: .25rem; margin-bottom: .8rem; }
.field > span { font-weight: 600; font-size: .9rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea { font: inherit; padding: .55rem .7rem; border: 1px solid #b8c2cf; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; min-height: 44px; }
textarea { min-height: 70px; resize: vertical; }
input:disabled, textarea:disabled, select:disabled { background: #eef1f5; }
.check { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; min-height: 36px; }
.check small { display: inline; margin-left: .3rem; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--navy); }
fieldset.addons { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 .8rem; padding: .6rem .8rem; }
fieldset.addons legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
.form-error { color: var(--bad); font-weight: 600; background: #fdeceb; padding: .5rem .7rem; border-radius: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.toolbar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.toolbar input[type=search], .toolbar input[type=date] { width: auto; flex: 1 1 200px; max-width: 320px; }
.toolbar select { width: auto; }

/* Cartões e listas */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.card.warn { background: var(--warn-bg); border-color: #e7cf92; }
.card.gold-edge { border-left: 5px solid var(--gold); }
.setup ul { list-style: none; margin: 0; padding: 0; } .setup li { padding: .35rem 0; } .setup li.done { color: var(--muted); text-decoration: line-through; }
.hero-card { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 14px; padding: 1.3rem 1.4rem; margin-bottom: 1.2rem; border-bottom: 5px solid var(--gold); }
.hero-card h2 { color: #fff; font-size: 1.5rem; margin: 0; } .hero-card p { margin: 0; color: #dbe5f1; }
.hero-kicker { color: var(--gold) !important; font-weight: 600; margin-bottom: .6rem !important; }
.hero-row { display: flex; gap: 1.1rem; align-items: center; }
.hero-time { font: 700 2.4rem/1 var(--serif); color: var(--gold); }
.hero-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin: .9rem 0; }
.hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.appt-list, .list, .hub { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.appt, .row { width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; cursor: pointer; justify-content: space-between; }
.row.static { cursor: default; }
.appt:hover, .row:hover { border-color: var(--navy-3); }
.appt.cancelled, .appt.no_show { opacity: .6; } .appt.completed { background: #f7faf8; }
.appt-time { display: grid; min-width: 62px; } .appt-time b { font: 700 1.2rem var(--serif); color: var(--navy); }
.appt-main { flex: 1; display: grid; } .appt-state { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.row span:first-child { display: grid; }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .6rem; border-radius: 99px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); white-space: nowrap; }
.chip.ok { background: #e3f3ea; color: var(--ok); border-color: #b6dfc8; } .chip.muted { background: #eef1f5; color: var(--muted); border-color: var(--line); }
.chip.live { background: var(--navy); color: #fff; border-color: var(--navy); } .chip.info { background: #e4edf8; color: var(--navy-3); border-color: #bcd0ea; }
.chip.gold { background: var(--gold-l); color: var(--gold-d); border-color: #e3cf97; }
.hero-card .chip.gold { background: var(--gold); color: var(--navy); }
.empty { text-align: center; background: var(--surface); border: 1px dashed #b8c2cf; border-radius: var(--r); padding: 2rem 1rem; } .empty.small { padding: 1rem; }
.empty strong { font: 700 1.1rem var(--serif); color: var(--navy); display: block; margin-bottom: .3rem; }
.hub { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hub-card { display: grid; gap: .2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); border-left: 4px solid var(--gold); height: 100%; }
.hub-card:hover { border-color: var(--navy-3); } .hub-card b { font-family: var(--serif); color: var(--navy); font-size: 1.05rem; } .hub-card span { color: var(--muted); font-size: .9rem; }

/* Números, tabelas */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; display: grid; gap: .1rem; align-content: start; }
.stat.wide { grid-column: span 2; } .stat span { color: var(--muted); font-size: .85rem; } .stat b { font: 700 1.5rem var(--serif); color: var(--navy); } .stat b .inline { display: inline; font: 400 .8rem var(--sans); }
.table-wrap { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; color: var(--muted); background: #f8fafc; font-weight: 600; }
tr:last-child td { border-bottom: 0; } .num { text-align: right; white-space: nowrap; } .in { color: var(--ok); font-weight: 600; } .out { color: var(--bad); font-weight: 600; }
td.acts { text-align: right; white-space: nowrap; } td.acts .btn { margin-left: .25rem; }
tr.low td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
table.hours input { min-width: 100px; padding: .3rem .4rem; }
.mini-table p { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; margin: 0; border-bottom: 1px solid var(--line); } .mini-table p:last-child { border: 0; }
.mini-table p > span:last-child { text-align: right; color: var(--muted); }
.chart { margin: 0 0 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem; } .chart svg { width: 100%; height: auto; } .chart figcaption { font-size: .85rem; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 .2rem 0 .6rem; } .dot.navy { background: var(--navy-2); } .dot.gold { background: var(--gold); }
.filters { margin-bottom: 1rem; } .filters summary, .more summary { cursor: pointer; font-weight: 600; color: var(--navy-3); padding: .4rem 0; }
.more > div { display: flex; flex-wrap: wrap; gap: .4rem; padding: .4rem 0; }

/* Atendimento, horários */
.appt-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.facts div { background: #f4f6f9; border-radius: 8px; padding: .5rem .7rem; } .facts dt { color: var(--muted); font-size: .8rem; } .facts dd { margin: 0; font-weight: 600; }
.note { background: var(--gold-l); border-radius: 8px; padding: .6rem .8rem; }
.care { border-top: 1px solid var(--line); padding-top: .4rem; margin-top: .6rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.slot { font: inherit; border: 1px solid #b8c2cf; background: #fff; border-radius: 8px; padding: .5rem; cursor: pointer; text-align: center; min-height: 52px; color: var(--ink); }
.slot b { display: block; font-size: 1.05rem; } .slot small { font-size: .72rem; }
.slot:hover { border-color: var(--navy-3); } .slot.on { background: var(--navy); color: #fff; border-color: var(--navy); } .slot.on small { color: #cfd9e6; }
.summary { background: var(--gold-l); border-radius: 8px; padding: .6rem .8rem; } .summary:empty { display: none; } .summary p { margin: 0; }

/* Modal e aviso */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 1.5rem)); max-height: calc(100vh - 2rem); box-shadow: 0 20px 60px rgba(14, 34, 56, .35); color: var(--ink); }
dialog.wide { width: min(760px, calc(100vw - 1.5rem)); }
dialog::backdrop { background: rgba(14, 34, 56, .55); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; border-bottom: 3px solid var(--gold); background: var(--navy); position: sticky; top: 0; }
.dlg-head h2 { color: #fff; margin: 0; } .dlg-head .icon-btn { color: #fff; }
.dlg-content { padding: 1.1rem 1.2rem 1.3rem; }
.dlg-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.dlg-actions.split { justify-content: space-between; align-items: center; }
#toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); background: var(--navy); color: #fff; padding: .8rem 1.2rem; border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); z-index: 100; max-width: min(92vw, 520px); border-left: 5px solid var(--gold); }
#toast[data-kind=error] { background: #7d1f19; border-left-color: #ff9a92; }
#toast[hidden] { display: none; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 1.2rem; background: var(--navy); position: relative; }
.pole { position: absolute; inset: 0 auto 0 0; width: 16px; background: repeating-linear-gradient(135deg, var(--gold) 0 14px, #fff 14px 28px, var(--navy-3) 28px 42px); }
.login-card { background: #fff; border-radius: 14px; padding: 1.8rem; width: min(430px, 100%); border-bottom: 5px solid var(--gold); }
.login-card h1 { font-size: 2rem; }
.demo { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: .8rem; } .demo summary { cursor: pointer; font-weight: 600; }
.demo-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.stars { color: var(--gold-d); letter-spacing: 1px; }

/* Ícones, casca e marca */
.ico { width: 20px; height: 20px; flex: none; }
.brand b { font-weight: 700; letter-spacing: .2px; } .brand em { font-style: normal; color: var(--gold); }
.shopbox { display: grid; gap: .3rem; padding: .7rem .8rem; background: rgba(255, 255, 255, .06); border-radius: 10px; }
.shopbox small { color: #a9b8cc; } .shopbox .shopname { color: #fff; font-size: 1rem; }
.shop-sel { min-height: 40px; }
.avatar-sm { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; flex: none; }
.who { display: flex; gap: .6rem; align-items: center; margin: 0; } .who span:last-child { display: grid; } .who b { color: #fff; font-size: .92rem; }
.side-foot .btn { display: flex; align-items: center; justify-content: center; gap: .4rem; }
.topbar { display: none; }
.tabs a { flex-direction: column; gap: .15rem; justify-content: center; }
.btn .ico { vertical-align: -4px; margin-right: .2rem; }

/* KPIs do dia */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .7rem; margin-bottom: 1.1rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .9rem; display: grid; }
.kpi span { color: var(--muted); font-size: .82rem; } .kpi b { font: 700 1.6rem var(--serif); color: var(--navy); }
.kpi.gold { border-left: 4px solid var(--gold); }

/* Agenda: semana, grade por profissional */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg button { font: inherit; font-weight: 600; border: 0; background: transparent; padding: .5rem .9rem; cursor: pointer; color: var(--muted); min-height: 44px; }
.seg button.on { background: var(--navy); color: #fff; }
.weekbar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.weekbar input[type=date], .weekbar select { width: auto; }
.week { display: flex; gap: .3rem; flex: 1 1 280px; justify-content: center; }
.wd { font: inherit; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: .3rem .2rem; min-width: 46px; flex: 1; max-width: 70px; cursor: pointer; display: grid; text-align: center; color: var(--ink); min-height: 52px; }
.wd small { font-size: .72rem; } .wd b { font-size: 1.05rem; }
.wd.today { border-color: var(--gold); } .wd.on { background: var(--navy); color: #fff; border-color: var(--navy); } .wd.on small { color: #cfd9e6; }
.tl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; --hw: 52px; }
.tl-head, .tl-body { display: grid; grid-template-columns: var(--hw) repeat(var(--cols), minmax(150px, 1fr)); position: relative; }
.tl-head { position: sticky; top: 0; background: #f8fafc; border-bottom: 1px solid var(--line); z-index: 3; }
.tl-head b { padding: .6rem .5rem; text-align: center; font-size: .92rem; border-left: 1px solid var(--line); } .tl-head b small { font-weight: 400; }
.tl-hours { position: relative; } .tl-hours span { position: absolute; right: 6px; transform: translateY(-50%); font-size: .72rem; color: var(--muted); background: var(--surface); padding: 0 2px; }
.tl-hours span:first-child { transform: none; }
.tl-col { position: relative; border-left: 1px solid var(--line); cursor: copy; background-image: repeating-linear-gradient(to bottom, transparent 0 67px, var(--line) 67px 68px); }
.tl-off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #eef1f5 0 6px, #e6eaf0 6px 12px); cursor: not-allowed; pointer-events: none; }
.tl-pause, .tl-block { position: absolute; left: 0; right: 0; background: #eef1f5; pointer-events: none; padding: 2px 6px; border-top: 1px dashed #b8c2cf; border-bottom: 1px dashed #b8c2cf; overflow: hidden; }
.tl-block { background: #fdeceb; border-color: #e7b4af; }
.tl-appt { position: absolute; left: 4px; right: 4px; font: inherit; text-align: left; border: 0; border-left: 4px solid var(--navy-3); border-radius: 6px; padding: 3px 6px; cursor: pointer; overflow: hidden; display: grid; align-content: start; background: #e4edf8; color: var(--ink); box-shadow: var(--shadow); }
.tl-appt b { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tl-appt small { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.tl-appt.arrived { background: var(--gold-l); border-left-color: var(--gold); }
.tl-appt.live { background: var(--navy); color: #fff; border-left-color: var(--gold); } .tl-appt.live small { color: #cfd9e6; }
.tl-appt.completed { background: #e3f3ea; border-left-color: var(--ok); }
.tl-appt.short { display: flex; align-items: center; gap: .4rem; padding: 0 6px; } .tl-appt.short b, .tl-appt.short small { line-height: 1.1; }
.main > section { margin-bottom: 1rem; }
.tl-appt:hover { filter: brightness(.97); }
.dot-gold { position: absolute; right: 5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.tl-now { position: absolute; left: var(--hw); right: 0; height: 0; border-top: 2px solid var(--bad); z-index: 2; pointer-events: none; } .tl-now i { position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.legend { margin-top: .6rem; font-size: .85rem; } .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin: 0 .3rem 0 .8rem; vertical-align: -1px; }
.sw.confirmed { background: #e4edf8; border: 1px solid var(--navy-3); } .sw.arrived { background: var(--gold-l); border: 1px solid var(--gold); } .sw.live { background: var(--navy); } .sw.completed { background: #e3f3ea; border: 1px solid var(--ok); }

/* Gestão em grupos */
.hub-group { margin-bottom: 1.4rem; } .hub-group .section-title { margin-top: 0; font-size: 1.05rem; color: var(--muted); }
.hub-card { grid-template-columns: auto 1fr; align-items: center; gap: .9rem; }
.hub-card > span:last-child { display: grid; } .hub-card small { color: var(--muted); }
.hub-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold-l); color: var(--gold-d); } .hub-ico .ico { width: 22px; height: 22px; }
.form-grid { display: grid; gap: .2rem; } .copy-row { display: flex; gap: .5rem; flex-wrap: wrap; } .copy-row input { flex: 1 1 240px; width: auto; }

/* Fotos */
.gallery { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; } .gallery figure { margin: 0; width: 112px; } .gallery img { width: 112px; height: 112px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; } .gallery figcaption { font-size: .75rem; color: var(--muted); }
.link-btn { font: inherit; font-size: .75rem; border: 0; background: none; color: var(--bad); cursor: pointer; padding: 0; text-decoration: underline; }
.upload { cursor: pointer; } .thumb { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin: 0 .3rem; }

@media (max-width: 800px) {
  .topbar { display: flex; align-items: center; gap: .6rem; background: var(--navy); color: #fff; padding: .55rem 1rem; position: sticky; top: 0; z-index: 25; border-bottom: 3px solid var(--gold); }
  .topbar .brand-mark { width: 30px; height: 30px; } .topbar .brand-mark .ico { width: 18px; height: 18px; }
  .tb-shop { flex: 1; min-width: 0; display: grid; } .tb-shop b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tb-shop small { color: var(--gold); }
  .topbar .icon-btn { color: #fff; padding: .2rem; } .topbar .shop-sel { width: auto; max-width: 44vw; background: var(--navy-2); color: #fff; border-color: #3b5a80; }
  .week { order: 3; flex-basis: 100%; } .wd { min-width: 0; }
  .page-head { align-items: stretch; } .page-head > .btn, .head-actions .btn.primary { width: 100%; text-align: center; } .head-actions { width: 100%; } .head-actions .seg { flex: 1; } .head-actions .seg button { flex: 1; }

  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { padding: 1rem 1rem 6rem; }
  .tabs { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); border-top: 3px solid var(--gold); z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
  .tabs a { flex: 1; text-align: center; padding: .8rem .2rem; font-size: .8rem; border-radius: 0; min-height: 52px; }
  .tabs a.on { background: var(--navy-2); color: var(--gold); }
  .grid2 { grid-template-columns: 1fr; }
  .stat.wide { grid-column: auto; }
  .hero-time { font-size: 2rem; } .appt { flex-wrap: wrap; } .appt-state { justify-content: flex-start; }
  td.acts { white-space: normal; }
  dialog { width: 100vw; max-height: 100vh; border-radius: 0; margin: 0; } dialog.wide { width: 100vw; }
  .side-foot-mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.quick { display: flex; gap: .5rem; flex-wrap: wrap; margin: .6rem 0 1rem; }
