/* Polish pass (loads last). One panel recipe, calm occupancy, photos, 8px rhythm.
   Levels: frame (.card floor) -> panel (--surface + --elev-1) -> inset (--raised). Shadows only on overlays. */

/* ---------- floor + chrome ---------- */
.card{background:var(--frame);box-shadow:none}
.tab{background:none}
.pilltabs a[aria-current=page]{background:var(--surface);box-shadow:var(--elev-1)}
.pilltabs a:hover:not([aria-current=page]){background:var(--hover);color:var(--text)}
.icon-btn,.capsule{box-shadow:var(--hl),0 0 0 1px var(--border-strong)}
.capsule:hover,.capsule[aria-expanded=true]{box-shadow:0 0 0 1px var(--stroke-blue)}
.glass{box-shadow:var(--elev-2)}
.menu button:hover,.menu button[aria-selected=true],.sc-menu button[role^=menuitem]:hover{background:var(--hover)}
.section{margin-top:24px}
.sec-title{margin-bottom:8px}
.view{padding:16px 24px 24px}

/* ---------- the one panel recipe ---------- */
.rcard,.sc-card,.cc-card,.cc-sum>div,.cc-bcard,.cc-table,.cc-col,.fm-col,.heat,.ad-card,.dr-wrap,.fm-hero,.cc-ti,.st-card,.fl-list,.ob-g,.hm,.tip{
  background:var(--surface);box-shadow:var(--elev-1);border-radius:var(--r-panel)}
.rcard,.heat,.cc-card,.cc-col,.fm-col,.cc-sum>div{padding:16px}
.cc-table,.sc-card{overflow:hidden}
.cc-bcard:hover,.ad-card:hover{transform:none;background:color-mix(in srgb,var(--hover) 55%,var(--surface))}
.ad-card:hover{box-shadow:var(--elev-1)}

/* tips: grey panel, small pastel icon disc, no glow or tint */
.tip,.tip-lav,.tip-pastel,.sc-tip,.cc .tip.tip-pastel{padding:16px;display:flex;gap:12px;align-items:flex-start;color:var(--text);background:var(--surface);box-shadow:var(--elev-1)}
.sc-tip{margin-bottom:16px}
.tip>.ic,.sc-tip>.ic{width:28px;height:28px;padding:6px;margin:0;border-radius:50%;background:var(--p-lavender-fill);color:var(--p-lavender-ink);box-shadow:inset 0 0 0 1px var(--p-lavender-line);stroke-width:1.9}
.tip p{font-size:14px;line-height:20px;font-weight:500;color:var(--text);padding-top:4px}

/* controls on the floor */
.sc-search,.sc-tools .seg,.st .seg,.tool-btn{background:var(--surface);box-shadow:var(--hl),0 0 0 1px var(--border-strong)}
.sc-search:focus-within,.tool-btn:hover,.tool-btn[aria-expanded=true]{box-shadow:0 0 0 1px var(--stroke-blue)}
.sc-tools .seg button[aria-pressed=true],.st .seg button[aria-pressed=true]{background:var(--raised);box-shadow:0 0 0 1px var(--border-strong)}
.sc-tools{gap:8px;margin-bottom:16px}

/* ---------- Home hero: one grey panel over the photo ---------- */
.hero{height:auto;padding:24px 16px;border-radius:16px;background:#0B0C0E;box-shadow:var(--elev-1);color:var(--text)}
.hero>img{inset:0;width:100%;height:100%;filter:brightness(.85) saturate(.85);transform:none;object-position:center 40%}
.hero::before{background:rgba(9,10,13,.22)}
.kpis{gap:0;padding:0;background:var(--surface);box-shadow:var(--elev-1);border-radius:10px;overflow:hidden}
.kpi{border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-left:1px solid var(--border);padding:16px 20px;height:104px}
.kpi:first-child{border-left:0}
.kpi:hover{background:color-mix(in srgb,var(--hover) 40%,transparent);transform:none}
.kpi .k-l,.kpi .k-s{color:var(--muted)}
.kpi .k-v{color:var(--text)}

/* ---------- Home grid, posters, food ---------- */
.home-grid{margin-top:24px}
.home-grid .section+.section{margin-top:24px}
.rail{gap:24px}
.poster .pic,.food .pic,.fl-poster,.fm-mini,.insp-h img,.fm-hero .poster-lg{box-shadow:0 0 0 1px var(--border)}
.poster .pic::after,.food .pic::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.food .pic{height:auto;aspect-ratio:3/2}
.food .pic.tile{box-shadow:inset 0 0 0 1px var(--tl)}
.food .pic img{aspect-ratio:3/2}
.heat-legend,.occ-leg{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.heat-legend{margin-top:16px;gap:8px}
.heat-legend i,.occ-leg i{width:24px;height:8px;border-radius:4px;display:block;box-shadow:0 0 0 1px color-mix(in srgb,var(--text) 12%,transparent)}
.occ-leg{margin-left:auto}.occ-leg span:first-child{margin-right:4px}.occ-leg span:last-child{margin-left:4px}
.hc{font-weight:600;border-radius:8px}
.hc.heat-4,.hm-c.heat-4,.occ.heat-4,.tb.heat-4{font-weight:700}

/* ---------- Schedule ---------- */
.dr-wrap{margin-bottom:16px;padding:16px}
.dr-h{display:flex;gap:8px;align-items:center;margin-bottom:16px;font-size:13px}
.dr-h>span:nth-child(2){color:var(--muted);font-size:12px}
.dr{position:relative}
.rl{height:var(--lh,14px);margin:3px 0}
.rl-n{width:88px;font-size:12px;font-weight:500;color:var(--muted);line-height:1}
.rl-t{background:linear-gradient(var(--border),var(--border)) center/100% 1px no-repeat}
.rl-ax{height:20px;margin-top:8px}
.rl-ax .rl-t{background:none}
.rl-ax span{font-size:12px;color:var(--subtle)}
.rl-grid{position:absolute;left:88px;right:0;top:0;bottom:28px;pointer-events:none}
.rl-grid>div{position:relative;height:100%}
.rl-grid i{position:absolute;top:0;bottom:0;width:1px;background:var(--border);opacity:.7}
.tick{width:6px;border-radius:3px;box-shadow:0 0 0 1px color-mix(in srgb,var(--text) 10%,transparent);z-index:1}
.tick.heat-0{background:var(--border-strong)}.tick.heat-1{background:color-mix(in srgb,var(--stroke-blue) 30%,var(--border-strong))}.tick.heat-2{background:color-mix(in srgb,var(--stroke-blue) 52%,var(--border-strong))}.tick.heat-3{background:color-mix(in srgb,var(--stroke-blue) 76%,var(--border-strong))}.tick.heat-4{background:var(--stroke-blue)}
.tick:hover{transform:translateX(-50%) scaleY(1.2)}
.dr-tip{background:var(--overlay);color:var(--text);box-shadow:var(--elev-2)}
.sc-t th{background:var(--raised);box-shadow:inset 0 -1px 0 var(--border)}
.sc-t td{background:var(--surface);border-bottom:1px solid var(--border)}
.sc-t .row:hover td,.sc-t .row:focus-visible td{background:var(--raised)}
.sc-t .band td{background:var(--raised)}
.sc-t .b-branch td{height:44px;font-weight:700;font-size:14px;background:var(--raised);border-bottom:1px solid var(--border-strong)}
.sc-t .b-branch .bdot{margin-right:12px}
.sc-t .b-screen td{height:32px;background:var(--surface);color:var(--muted);font-weight:600;font-size:12px;border-bottom:1px solid var(--border)}
.sc-t .b-screen td.span2{padding-left:32px}
.sc-t .b-screen small,.sc-t .b-branch small{font-weight:500}
.sc-t .b-screen .occ{height:22px}
.sc-t tfoot .band td{background:var(--raised);border-top:1px solid var(--border-strong)}
.pc{background:var(--raised);box-shadow:0 0 0 1px var(--border)}
.fcell img{box-shadow:none}
.fcell .pl{display:block;flex:none;line-height:0;border-radius:5px;box-shadow:0 0 0 1px var(--border)}
.fcell .pl img{width:32px;height:48px;border-radius:5px;object-fit:cover;display:block}
.d-compact .fcell .pl img{width:20px;height:30px;border-radius:4px}
.sold.top{background:color-mix(in srgb,var(--stroke-blue) 16%,transparent);color:var(--accent-text)}
.occ{width:76px;height:28px;border-radius:8px;font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 8%,transparent)}
.occ b{font-weight:inherit;top:-2px;font-size:13px}
.occ i{left:10px;right:10px;bottom:4px;height:2px;border-radius:1px;background:color-mix(in srgb,currentColor 16%,transparent)}
.occ i::after{border-radius:1px}
.d-compact .occ{height:22px}.d-compact .occ b{top:-1px}.d-compact .occ i{bottom:2px}
.sc-legend{margin-top:16px;gap:16px}
.sc-legend .occ-leg{margin-left:auto}
.lg-top{background:color-mix(in srgb,var(--stroke-blue) 16%,transparent);color:var(--accent-text)}
.sc-card-pad{padding:16px}
.tl-n{font-size:12px;color:var(--muted)}
.tl-bh{display:flex;align-items:center;gap:8px;height:32px;margin-top:8px;font-size:13px;border-bottom:1px solid var(--border-strong)}
.tl-bh .bdot{margin:0}
.tl-row{border-bottom:1px solid var(--border)}
.tb{border-radius:8px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 10%,transparent)}
.tb:hover{transform:none;box-shadow:inset 0 0 0 1px var(--stroke-blue)}
.tl-track>i{background:var(--border);opacity:.7}

/* ---------- Admissions / branch cards with photos ---------- */
.ph{display:block;position:relative;overflow:hidden;background:var(--raised)}
.ph img{display:block;width:100%;height:100%;object-fit:cover}
.ad-card,.cc-bcard{padding:0;overflow:hidden;gap:0}
.ad-card .ph,.cc-bcard .ph{width:100%;aspect-ratio:16/7;margin-bottom:16px}
.ad-card .ph::after,.cc-bcard .ph::after{content:"";position:absolute;inset:0;box-shadow:inset 0 -1px 0 var(--border)}
.ad-card>:not(.ph){margin:0 16px 12px}
.ad-card>.ad-bar{width:calc(100% - 32px)}
.ad-card>:last-child{margin-bottom:16px}
.cc-bcard>:not(.ph){margin-left:16px;margin-right:16px}
.cc-bcard>:last-child{margin-bottom:16px}
.cc-bcard .top{margin-bottom:8px}
.cc-bcard .bar i.hi{background:var(--stroke-blue)}
.ad-big{font-size:32px}
.ad-bar{height:4px;background:var(--raised)}
.ad-bar span,.fl-bar span{background:var(--stroke-blue)}
.fl-list{padding:8px}
.fl-row{border-bottom:1px solid var(--border);border-radius:10px}
.fl-row:last-child{border-bottom:0}
.fl-row:hover{background:var(--raised)}
.fl-bar{background:var(--raised);height:4px}

/* ---------- Occupancy page ---------- */
.ob-wrap{gap:16px}
.ob-g{padding:16px;align-items:stretch;gap:16px}
.ob-t{height:8px;border-radius:4px;background:var(--raised)}
.ob-f{border-radius:4px;background:color-mix(in srgb,var(--stroke-blue) 50%,transparent)}
.ob-f.hi{background:var(--stroke-blue)}
.hm{max-width:none;padding:16px;gap:8px}
.hm-c{height:36px;font-weight:600;border-radius:8px}
.hm-0{background:var(--raised);color:var(--subtle)}
.hm-h .hm-c{background:none}
.hm .heat-legend{margin-top:8px}

/* ---------- Concessions ---------- */
.cc-crumbs .chip.on{background:var(--surface);box-shadow:var(--elev-1)}
.cc-sum,.cc-bgrid,.cc-cols{gap:16px}
.cc-table .cc-row{border-top:1px solid var(--border)}
.cc-select{background:var(--surface);box-shadow:var(--elev-1);border-radius:14px}
.cc-pic{width:64px;height:48px;border-radius:8px;box-shadow:0 0 0 1px var(--border);overflow:hidden}
.cc-pic.sm{width:36px;height:36px;border-radius:8px}
.cc-pic img{filter:none}
.cc-pic.t-butter{background:var(--p-butter-fill);color:var(--p-butter-ink)}
.cc-pic.t-sky{background:var(--p-sky-fill);color:var(--p-sky-ink)}
.cc-pic.t-peach{background:var(--p-peach-fill);color:var(--p-peach-ink)}
.cc-pic.t-lavender{background:var(--p-lavender-fill);color:var(--p-lavender-ink)}
.cc-pic.t-rose{background:var(--p-rose-fill);color:var(--p-rose-ink)}
.cc-two{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;margin-top:24px}
.cc-two>.section{margin-top:0;display:flex;flex-direction:column}
.cc-two>.section>.cc-card{flex:1}
.cc-stack{height:40px;border-radius:10px;gap:2px}
.cc-leg{list-style:none;padding:0;margin:8px 0 0}
.cc-leg li{display:grid;grid-template-columns:8px minmax(0,1fr) auto 48px;align-items:center;gap:12px;height:32px;font-size:13px;border-bottom:1px solid var(--border)}
.cc-leg li:last-child{border-bottom:0}
.cc-leg em{font-style:normal;color:var(--muted)}
.cc-leg b{text-align:right}
.cc-leg i{width:8px;height:8px;border-radius:50%;flex:none}
.cc-leg span{color:var(--text)}
.cc-leg b{font-weight:600}
.cc-mini{display:flex;flex-direction:column;justify-content:center;gap:8px}
.cc-mr{display:grid;grid-template-columns:96px minmax(0,1fr) 56px;align-items:center;gap:12px;height:32px;font-size:13px}
.cc-mr>span:first-child{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-mr .t{height:6px;border-radius:3px;background:var(--raised);overflow:hidden}
.cc-mr .t i{display:block;height:100%;border-radius:3px;background:var(--c-grey);opacity:.5}
.cc-mr .t i.hi{background:var(--stroke-blue);opacity:1}
.cc-mr b{text-align:right;font-weight:600}
.cc-top{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.cc-ti{padding:8px 8px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.cc-ti .ph{aspect-ratio:4/3;border-radius:8px;margin-bottom:8px;display:grid;place-items:center}
.cc-ti .ph .cc-pic{width:100%;height:100%;border-radius:0;box-shadow:none}
.cc-ti .ph .cc-pic .ic{width:32px;height:32px}
.cc-ti .rk{position:absolute;left:8px;top:8px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:600;font-size:12px;background:rgba(15,17,20,.72);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.cc-ti b{font-size:13px;line-height:16px;font-weight:600;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-ti small{font-size:12px;line-height:16px;color:var(--muted);padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- Film page ---------- */
.fm-hero .bg,.fm-hero::after{display:none}
.fm-hero .in{padding:24px;gap:24px;align-items:flex-end}
.fm-hero .chips .chip{background:var(--raised);backdrop-filter:none;-webkit-backdrop-filter:none}
.fm-table .fm-row{border-top:1px solid var(--border)}
.fm-mini:hover{transform:none;box-shadow:0 0 0 1px var(--stroke-blue)}

/* ---------- Settings ---------- */
.st{max-width:720px}
.st-card{padding:0 16px}
.st-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:8px 0}
.st-row+.st-row{border-top:1px solid var(--border)}
.st-row>span:first-child{display:flex;flex-direction:column;gap:2px}
.st-row small{color:var(--muted);font-size:13px}
.st .seg{margin-left:0}
.st-cred{border-top:1px solid var(--border);padding:16px 0}
.st-note{color:var(--muted);font-size:13px;line-height:20px;margin-bottom:16px}
.st-note a,.st-cred li a{color:var(--accent-text);text-decoration:none;font-weight:600}
.st-cred ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.st-cred li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;height:32px;border-bottom:1px solid var(--border);font-size:13px}
.st-cred li span:first-child{color:var(--muted)}
.st-cred[hidden]{display:none}

/* ---------- responsive ---------- */
@media (max-width:1180px){.cc-top{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-two{grid-template-columns:1fr}}
@media (max-width:767px){
  .hero{padding:16px 8px}
  .kpis{overflow-x:auto;grid-template-columns:repeat(5,148px);scrollbar-width:none}
  .home-grid .section+.section{margin-top:24px}
  .cc-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .st-cred ul{grid-template-columns:1fr}
  .ad-card .ph,.cc-bcard .ph{aspect-ratio:16/6}
  .rl-n{width:72px}.rl-grid{left:72px}
}
.rl-ax span.rl-n{position:static;transform:none}
.ob-g .chip,.hm-g .chip{align-self:flex-start}
.ob-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){.ob-wrap{grid-template-columns:1fr}}
.fm-hero .meta{gap:16px}
.fm-hero .tot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:8px;padding-top:16px;border-top:1px solid var(--border);width:100%}
.fm-hero .tot>div{padding:0 24px;border-left:1px solid var(--border)}
.fm-hero .tot>div:first-child{padding-left:0;border-left:0}
@media (max-width:767px){.fm-hero .tot{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}.fm-hero .tot>div:nth-child(3){padding-left:0;border-left:0}}
.tl-ax span.tl-n{position:static;transform:none}
@media (max-width:767px){.kpis{grid-template-columns:repeat(5,172px)}.kpi .k-v{font-size:24px}.ad-card .ph,.cc-bcard .ph{aspect-ratio:16/5}}
.hero{padding:32px 16px 16px}
@media (max-width:767px){.hero{padding:24px 8px 8px}.fm-hero .in{align-items:flex-start}}

/* ---------- Typography v3: Hanken Grotesk body, Satoshi accent ---------- */
body{font-family:var(--font-body)}
table,.kpi,.k-v,.num,td,th,.occ,.sold,[class*="-n"] b{font-feature-settings:'tnum' 1,'lnum' 1;font-variant-numeric:tabular-nums lining-nums}
.sec-title,.k-v,.kpi .k-v,.ad-big,.cc-bcard .v,.fm-col .v,.fm-hero .v,.fm-hero h2,.meta h2,.btn,.sc-tab-t,
.sc-t .b-branch td,.sc-t tfoot .band td,.sold.top,.fl-n b,.cc-leg b,.cc-mr b,.brand-name,.branch-sw .bsw-text,.insp-h b,.cc-bcard h3,.ad-card h3,.cc-ti b,.rcard b{font-family:var(--font-display)}
.sec-title{font-weight:800;font-size:15px}
.k-v,.kpi .k-v,.ad-big,.cc-bcard .v,.fm-col .v,.fm-hero .v{font-weight:800}
.sold.top,.sc-t tfoot .band td,.sc-t .b-branch td{font-weight:800}
.fl-n b,.cc-leg b,.cc-mr b,.cc-ti b{font-weight:700}
.btn{font-weight:700}
.sc-t td,.sc-t th{font-feature-settings:'tnum' 1}
.sc-t .n,.sc-t td.n{font-variant-numeric:tabular-nums lining-nums;letter-spacing:0}

/* ---------- Schedule table: raised tab, concave flares both sides (ref-7 v.2) ---------- */

/* ---------- Pill tracks (ref-7 v.1/v.3) ---------- */
.pilltabs,.seg{background:#0B0C0E;border-radius:99px;padding:4px;gap:2px;box-shadow:inset 0 1px 3px rgba(0,0,0,.6),0 0 0 1px var(--border)}
[data-theme="light"] .pilltabs,[data-theme="light"] .seg{background:#DADDE1;box-shadow:inset 0 1px 3px rgba(0,0,0,.12),0 0 0 1px #CDD1D6}
.pilltabs a,.seg button{height:32px;padding:0 16px;border-radius:99px;background:none;box-shadow:none;color:var(--muted);font-weight:600;position:relative}
.pilltabs a[aria-current=page],.seg button[aria-pressed=true]{background:linear-gradient(180deg,#2C2F34,#232529);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 2px 6px rgba(0,0,0,.35)}
[data-theme="light"] .pilltabs a[aria-current=page],[data-theme="light"] .seg button[aria-pressed=true]{background:#fff;color:var(--text);box-shadow:inset 0 1px 0 #fff,0 1px 4px rgba(0,0,0,.15)}
.pilltabs a[aria-current=page]::after,.seg button[aria-pressed=true]::after{content:"";position:absolute;left:50%;bottom:3px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#7AA2FF;box-shadow:0 0 6px 1px rgba(91,141,239,.8)}
.pilltabs a:hover:not([aria-current=page]),.seg button:hover:not([aria-pressed=true]){background:rgba(255,255,255,.04);color:var(--text)}
.pilltabs:empty{display:none}

/* ---------- Review fixes (6 Oct, later) ---------- */
.skip{position:fixed;left:16px;top:-64px;z-index:200;padding:10px 18px;border-radius:99px;background:var(--accent);color:#fff;font-weight:600;text-decoration:none;transition:top .15s}
.skip:focus{top:16px}
.nav-item{text-decoration:none}
.nav-head{height:32px;padding:0 28px 6px;font-size:12px;letter-spacing:.07em;color:#979DA6}
.frame.collapsed .nav-head{height:32px;padding:0}
.frame.collapsed .nav-head::after{top:15px}
/* links that replaced dead tiles */
a.kpi{text-decoration:none;color:inherit;cursor:pointer}
a.kpi:focus-visible{outline-offset:-3px;border-radius:8px}
.kpi .k-s{gap:6px}
.kpi .vs{color:var(--subtle);font-size:11.5px;overflow:hidden;text-overflow:ellipsis}
.delta{height:18px;padding:0 6px;font-size:11px;line-height:1}
a.food,a.rrow,a.hc{text-decoration:none;color:inherit}
a.food{display:block;transition:transform .25s var(--ease)}
a.food:hover{transform:translateY(-3px)}
a.rrow{margin:0 -8px;padding:0 8px;border-radius:10px;transition:background .2s}
a.rrow:hover{background:var(--hover)}
a.hc{cursor:pointer}
a.cc-row,a.cc-ti{text-decoration:none;color:var(--text)}
a.cc-row.link{transition:background .2s}
a.cc-row.link:hover{background:var(--raised)}
.fm-see{display:inline-flex;margin-top:12px;color:var(--accent-text);font-weight:600;font-size:13px;text-decoration:none}
.fm-see:hover{text-decoration:underline}
.fchip{text-decoration:none;gap:6px;cursor:pointer;background:var(--accent-tint);color:var(--accent-text);box-shadow:inset 0 0 0 1px var(--stroke-blue)}
/* bell popover + palette */
.notif{padding:8px}
.n-h{display:flex;justify-content:space-between;align-items:center;padding:8px 10px 10px;font-family:var(--font-display)}
.n-h span{color:var(--muted);font-size:12px}
.menu a.n-i{display:flex;align-items:flex-start;gap:12px;padding:10px;border-radius:12px;text-decoration:none;color:var(--text)}
.menu a.n-i:hover{background:var(--hover)}
.n-i b{display:block;font-size:13px}
.n-i small{display:block;color:var(--muted);font-size:12.5px;line-height:1.4;margin-top:2px}
.n-ic{width:32px;height:32px;border-radius:50%;background:var(--p-lavender-fill);color:var(--p-lavender-ink);display:grid;place-items:center;flex:none}
.menu .n-ic .ic{margin:0;color:inherit;width:16px;height:16px}
.pal-i{display:flex;align-items:center;gap:12px;width:100%;height:42px;padding:0 12px;border-radius:12px;font-weight:600;color:var(--text);text-align:left}
.pal-i em{margin-left:auto;font-style:normal;font-size:12px;color:var(--muted);font-weight:500}
.pal-i.on,.pal-i:hover{background:var(--hover)}
.pal-none{padding:16px;color:var(--muted);text-align:center}
/* schedule: Sales | Capacity | Money band */
.sc-t .gband th{height:26px;top:0;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--subtle);background:var(--raised);box-shadow:none;border-bottom:0;padding:0 12px}
.sc-t .gband th.on{color:var(--muted);box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--stroke-blue) 55%,transparent);border-left:1px solid var(--border)}
.sc-t thead tr+tr th{top:26px}
/* occupancy page: heat ramp */
.ob-f.r0{background:#3B455E}.ob-f.r1{background:#43557F}.ob-f.r2{background:#4F68A8}.ob-f.r3{background:#5B8DEF}.ob-f.r4{background:#7DA6FF}
[data-theme="light"] .ob-f.r0{background:#CBD5EA}[data-theme="light"] .ob-f.r1{background:#A8BDEB}[data-theme="light"] .ob-f.r2{background:#7F9FE6}[data-theme="light"] .ob-f.r3{background:#4F78DE}[data-theme="light"] .ob-f.r4{background:#2A52C8}
@media (max-width:767px){
  .head-tools{flex:none}
  .avatar{flex:none}
  .tab{min-width:0;flex:0 1 auto;padding:0 6px 0 8px;margin-left:0}
  .tab h1{font-size:18px;overflow:hidden;text-overflow:ellipsis}
  .capsule{flex:0 1 auto;min-width:0;max-width:176px}
  .kpis{grid-template-columns:repeat(5,minmax(212px,1fr));scroll-snap-type:x mandatory;scroll-padding:0 8px;overscroll-behavior-x:contain}
  .kpi{scroll-snap-align:start;padding:14px 16px}
  .kpi .k-v{font-size:26px}
}
.sc-t th.s2{box-shadow:1px 0 0 var(--sep),inset 0 -1px 0 var(--border)}
.sc-t .gband th.s2{box-shadow:1px 0 0 var(--sep)}
.kpi .k-v{font-size:clamp(22px,2vw,30px)}
@media (max-width:767px){
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scroll-snap-type:none}
  .kpi{height:auto;min-height:96px;padding:12px 14px;border-left:0;border-top:1px solid var(--border)}
  .kpi:nth-child(-n+2){border-top:0}
  .kpi:nth-child(even){border-left:1px solid var(--border)}
  .kpi:nth-child(5){grid-column:1 / -1;border-left:0}
  .kpi .k-v{font-size:22px;line-height:30px}
}
@media (max-width:420px){.capsule::after{display:none}.capsule{max-width:150px}}

/* ---------- Lifted table panel (one recipe for every data table) ---------- */
:root{--tp-well:#0B0C0F;--tp-well-in:inset 0 2px 10px rgba(0,0,0,.45),inset 0 0 0 1px rgba(0,0,0,.35);
  --tp-lift:inset 0 1px 0 rgba(255,255,255,.06),0 0 0 1px var(--border-strong),0 12px 32px -12px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.25);
  --tp-head:#272A2F;--tp-head-line:0 1px 0 rgba(0,0,0,.5),0 6px 10px -6px rgba(0,0,0,.6)}
[data-theme="light"]{--tp-well:#E6E8EB;--tp-well-in:inset 0 1px 4px rgba(15,18,21,.08),inset 0 0 0 1px rgba(15,18,21,.04);
  --tp-lift:inset 0 1px 0 #fff,0 0 0 1px #D9DCE0,0 10px 24px -14px rgba(15,18,21,.18),0 1px 3px rgba(15,18,21,.06);
  --tp-head:#F3F4F6;--tp-head-line:0 1px 0 rgba(15,18,21,.08),0 6px 10px -7px rgba(15,18,21,.18)}
.tp-panel,.cc-table,.fl-list,.co-table,.nm-table,.fm-table,.sc-card-timeline{background:var(--surface);box-shadow:var(--tp-lift);border-radius:16px}
.sc-wrap{background:var(--tp-well);box-shadow:var(--tp-well-in);border-radius:22px;padding:8px;margin-top:4px}
.tp-panel{position:relative}
.tp-head{display:flex;align-items:center;gap:16px;min-height:64px;padding:10px 12px 10px 20px;border-radius:16px 16px 0 0}
.tp-title{font:800 15px/1.2 var(--font-display);letter-spacing:-.01em;white-space:nowrap;margin:0;flex:none}
.tp-tools{margin-left:auto;display:flex;align-items:center;min-width:0}
.tp-tools .sc-tools{margin:0;flex-wrap:nowrap;gap:8px}
.tp-tools .sc-search{flex:0 1 230px;min-width:150px;height:38px}
.tp-tools .seg,.tp-tools .tool-btn{flex:none}
.tp-tools .sc-count{display:none}
.tp-panel .sc-card.sc-table-body{border-radius:0 0 16px 16px;box-shadow:none;border-top:1px solid var(--border-strong);background:transparent;position:relative}
.tp-panel .sc-table-body .sc-t th{background:var(--tp-head);box-shadow:inset 0 -1px 0 var(--border);transition:box-shadow .2s}
.tp-panel .sc-table-body .sc-t .gband th{background:var(--tp-head)}
.tp-panel .sc-table-body.scrolled .sc-t thead tr:last-child th{box-shadow:inset 0 -1px 0 var(--border-strong),var(--tp-head-line)}
.tp-panel .sc-table-body .sc-t td{background:var(--surface)}
.tp-panel .sc-table-body .sc-t .row:hover td{background:var(--raised)}
@media (max-width:1180px){.tp-head{flex-wrap:wrap}.tp-tools{margin-left:0;width:100%}.tp-tools .sc-tools{flex-wrap:wrap}.tp-tools .sc-search{flex:1 1 200px}}
@media (max-width:767px){.sc-wrap{padding:4px;border-radius:18px}.tp-head{padding:10px 12px;min-height:0}.tp-title{font-size:14px}}

/* ---------- Home: data first, images are accents ---------- */
.posters{grid-template-columns:1fr;gap:0}
.poster .t{font-size:12px;margin-top:6px}
.poster .m{font-size:11px;line-height:14px}
.poster .rank{width:20px;height:20px;font-size:11px;left:6px;top:6px}
.foods{display:flex;flex-direction:column;gap:2px;min-width:0}
.food{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:4px 10px 4px 4px;border-radius:12px;text-decoration:none;color:inherit}
.food:hover{background:var(--hover)}
.food .pic{height:44px;width:44px;border-radius:10px;box-shadow:none}
.food .pic.tile svg{width:22px;height:22px}
.food .t{margin:0;font-size:13px}
.food .m{margin:0;text-align:right;font-variant-numeric:tabular-nums}
/* branch photos: one grade */
.ad-card .ph img,.cc-bcard .ph img{filter:saturate(.5) contrast(1.06) brightness(.9)}
.ad-card .ph::before{content:none}
.ad-card .ph::after,.cc-bcard .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,24,45,.12),rgba(15,24,45,.34));mix-blend-mode:multiply;pointer-events:none}
/* nav fits 1440x900 with Settings visible */
.nav-item{height:34px}.nav-pill{height:34px}
.nav-head,.frame.collapsed .nav-head{height:26px}
.frame.collapsed .nav-head{height:26px}
.sb-foot{padding:4px 0 10px}
.tp-tools .tool-btn,.tp-tools .seg button{white-space:nowrap}
.tp-tools .sc-search{flex:0 1 200px;min-width:150px}
.tp-tools .sc-search input::placeholder{overflow:hidden;text-overflow:ellipsis}
/* home: films | food list | rail in one row */
.home-grid{grid-template-columns:max-content minmax(230px,1fr) 250px;column-gap:28px;margin-top:20px}
.home-grid .section+.section{margin-top:0}
.rail{grid-row:1;grid-column:3}
.food,a.food{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:0;align-content:center;align-items:center;padding:5px 8px 5px 5px;border-radius:12px;transition:background .15s}
a.food:hover{transform:none;background:var(--hover)}
.food .pic,.food .pic.tile{grid-row:1/3;width:44px;height:44px;aspect-ratio:auto;border-radius:10px}
.food .pic img{aspect-ratio:auto;width:44px;height:44px}
.food .t{margin:0;align-self:end;line-height:18px}
.food .m{margin:0;text-align:left;align-self:start;font-size:12px}
@media (max-width:1180px){.home-grid{grid-template-columns:minmax(0,1fr)}.rail{grid-row:auto;grid-column:1}.home-grid .section+.section{margin-top:20px}.posters{grid-template-columns:repeat(5,minmax(0,1fr))}.foods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.foods{display:grid;overflow:visible;margin:0;padding:0;grid-template-columns:1fr}.food{flex:none}.posters{display:flex;overflow-x:auto}.poster{flex:none}}
.home-grid{grid-template-columns:max-content minmax(200px,1fr) 240px;column-gap:24px;margin-top:16px}
.rail{gap:12px;min-width:0}
.rail .rcard{padding:10px 12px}
.rail .rrow{min-height:28px;height:28px}.rail .rrow+.rrow{margin-top:4px}
.rail .tip{padding:12px 14px;gap:10px}
.rail .tip p{font-size:13px;line-height:18px}
.rail .tip>.ic{width:24px;height:24px;padding:5px;flex:none}
.rail .sec-title{margin-bottom:6px}

/* Summary preset fits the card; Full view retains its internal horizontal scroll. */
.frame .view .sc-t.sc-summary{min-width:0;width:100%}

.report-grid a,.film-grid a,.cc-report a{color:var(--text);text-decoration:underline;text-decoration-color:var(--border-strong);text-underline-offset:3px}.report-grid a:hover,.film-grid a:hover,.cc-report a:hover{color:var(--accent-text)}

.cc-report thead,.cc-report .subtotal,.cc-report tfoot{background:var(--raised);color:var(--text)}
@media(max-width:767px){.sc-show>small,.sc-show-values small{font-size:12px}.sc-show-values b{font-size:13px}}
