/* Screening pages */
.sc-tip{margin-bottom:14px;background:color-mix(in srgb,var(--accent) 12%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent-text) 22%,transparent);color:var(--text);padding:12px 16px}
.sc-tip .ic{color:var(--accent-text)}
.sc-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.sc-search{flex:1 1 280px;max-width:420px;height:40px;border-radius:99px;background:var(--raise);box-shadow:inset 0 0 0 1px var(--sep);display:flex;align-items:center;gap:8px;padding:0 14px;color:var(--muted);transition:box-shadow .2s}
.sc-search:focus-within{box-shadow:inset 0 0 0 1.5px var(--accent-text)}
.sc-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--text);font:inherit;outline:0}
.sc-search input::-webkit-search-cancel-button{display:none}
.sc-count{font-size:12px;color:var(--subtle);white-space:nowrap}
.seg{display:inline-flex;height:40px;padding:3px;border-radius:99px;background:var(--raise);box-shadow:inset 0 0 0 1px var(--sep);margin-left:auto}
.seg button{padding:0 14px;border-radius:99px;font-weight:600;font-size:13px;color:var(--muted);transition:background .2s,color .2s}
.seg button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}
.sc-menu-wrap{position:relative}
.tool-btn{height:40px;padding:0 14px;border-radius:99px;display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px;background:var(--raise);box-shadow:inset 0 0 0 1px var(--sep);transition:box-shadow .2s}
.tool-btn:hover,.tool-btn[aria-expanded=true]{box-shadow:inset 0 0 0 1.5px var(--accent-text)}
.sc-menu{position:absolute;right:0;top:46px;z-index:30;min-width:210px;padding:8px}
.sc-menu button[role^=menuitem]{display:flex;align-items:center;width:100%;height:40px;padding:0 12px;border-radius:12px;font-weight:600;font-size:13px;text-align:left}
.sc-menu button[role^=menuitem]:hover{background:var(--raise)}
.sc-menu button .ic{margin-left:auto;color:var(--accent-text)}
.sc-menu h4{font-size:12px;font-weight:600;color:var(--subtle);margin:6px 6px 10px}
.sc-menu .chips{max-width:240px;padding:0 4px 4px}

/* day rail */
.dr-wrap{margin-bottom:16px;padding:12px 16px 8px;border-radius:16px;background:var(--raise);box-shadow:inset 0 0 0 1px var(--sep)}
.dr-h{display:flex;gap:10px;align-items:baseline;margin-bottom:8px;font-size:13px}.dr-h span{color:var(--muted);font-size:12px}
.dr{position:relative}
.rl{display:flex;align-items:center;height:10px;margin:1px 0}
.rl-n{width:84px;flex:none;font-size:11px;color:var(--subtle);white-space:nowrap}
.rl-t{position:relative;flex:1;height:100%;background:linear-gradient(var(--sep),var(--sep)) center/100% 1px no-repeat}
.rl-ax{height:16px;margin-top:6px}.rl-ax .rl-t{background:none}
.rl-ax span{position:absolute;top:0;transform:translateX(-50%);font-size:11px;color:var(--subtle)}
.rl-ax span:first-child{transform:none}.rl-ax span:last-child{transform:translateX(-100%)}
.tick{position:absolute;top:0;width:5px;height:100%;border-radius:2px;transform:translateX(-50%);cursor:default;transition:transform .15s}
.tick:hover{transform:translateX(-50%) scaleY(1.4)}
.dr-tip{position:absolute;z-index:5;transform:translateX(-50%);padding:5px 10px;border-radius:10px;background:var(--text);color:var(--surface);font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s}
.dr-tip.on{opacity:1}

/* table card */
.sc-card{border-radius:18px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--sep);overflow:hidden}
.sc-card-pad{padding:14px;overflow:auto}
.sc-scroll{overflow:auto;max-height:calc(100dvh - 400px);min-height:340px;overscroll-behavior:contain}
.sc-t{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:13px}
.sc-t th{position:sticky;top:0;z-index:4;height:40px;text-align:left;font-weight:600;font-size:12px;color:var(--muted);background:var(--raise);padding:0 12px;box-shadow:inset 0 -1px 0 var(--sep)}
.sc-t td{padding:0 12px;border-bottom:1px solid var(--sep);background:var(--surface);overflow:hidden;white-space:nowrap}
.sc-t .n{text-align:right}
.sc-t .sticky{position:sticky;z-index:2}
.sc-t .s1{left:0}.sc-t .s2{left:92px}
.sc-t th.sticky{z-index:6}
.sc-t .s2{box-shadow:1px 0 0 var(--sep)}
.sc-t .row{cursor:pointer;height:52px;transition:background .15s}
.sc-t.d-compact .row{height:32px}
.sc-t .row:hover td,.sc-t .row:focus-visible td{background:var(--raise)}
.sc-t .row:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}
.scr{color:var(--muted);font-weight:500}
.fcell{display:flex;align-items:center;gap:12px;min-width:0}
.fcell img{width:32px;height:48px;border-radius:5px;object-fit:cover;flex:none;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.fcell span{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.fcell b{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.fcell small{font-size:12px;color:var(--muted)}
.d-compact .fcell img{width:20px;height:30px;border-radius:4px}
.d-compact .fcell{gap:10px}.d-compact .fcell span{flex-direction:row;align-items:baseline;gap:8px}
.tm{font-weight:600}
.pc{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;background:var(--raise);box-shadow:inset 0 0 0 1px var(--sep);font-size:12px;font-weight:600}
.sold{display:inline-block;padding:3px 9px;border-radius:8px;font-weight:500}
.sold.top{background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent-text);font-weight:700}
.occ{position:relative;display:inline-flex;align-items:center;justify-content:center;width:84px;height:32px;border-radius:9px;overflow:hidden;font-size:13px}
.occ b{font-weight:800;position:relative;top:-2px}
.occ i{position:absolute;left:8px;right:8px;bottom:4px;height:3px;border-radius:2px;background:color-mix(in srgb,currentColor 22%,transparent)}
.occ i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--w);border-radius:2px;background:currentColor}
.d-compact .occ{height:24px}.d-compact .occ b{top:-1px}.d-compact .occ i{bottom:2px;height:2px}
.sc-t .band td{height:40px;background:var(--raise);border-bottom:1px solid var(--sep);font-weight:500}
.sc-t .band .bdot{display:inline-block;margin-right:10px;vertical-align:middle}
.sc-t .band small{margin-left:10px;color:var(--muted);font-size:12px}
.sc-t .band .occ{height:26px}
.sc-t tfoot td{position:sticky;bottom:0;z-index:3;border-top:1px solid var(--sep);border-bottom:0}
.sc-t tfoot .band td{height:46px;background:color-mix(in srgb,var(--accent) 14%,var(--raise));font-weight:700}
.sc-t tfoot td.sticky{z-index:5}
.sc-t .none{height:120px;text-align:center;color:var(--muted)}
.sc-legend{margin-top:10px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}
.lg-top{padding:2px 8px;border-radius:7px;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent-text);font-weight:700}

/* timeline */
.tl{min-width:900px}
.tl-row{display:flex;align-items:center;height:44px;border-bottom:1px solid var(--sep)}
.tl-n{width:150px;flex:none;font-weight:600;font-size:13px;color:var(--muted);padding-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-track{position:relative;flex:1;height:100%}
.tl-track>i{position:absolute;top:0;bottom:0;width:1px;background:var(--sep)}
.tl-ax{height:30px}.tl-ax span{position:absolute;top:8px;transform:translateX(-50%);font-size:11px;color:var(--subtle)}
.tb{position:absolute;top:6px;bottom:6px;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 10px;overflow:hidden;font-size:12px;font-weight:600;text-align:left;transition:transform .15s,box-shadow .15s}
.tb:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.3)}
.tb b{font-weight:800}.tb span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* inspector */
.insp-wrap{position:fixed;inset:0;z-index:70}
.insp-scrim{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.insp{position:absolute;right:20px;top:20px;bottom:20px;width:min(420px,calc(100vw - 24px));overflow:auto;border-radius:24px;padding:20px;background:var(--glass);backdrop-filter:blur(24px) saturate(1.6);-webkit-backdrop-filter:blur(24px) saturate(1.6);box-shadow:inset 0 0 0 1px var(--glass-line),0 24px 70px rgba(0,0,0,.4);color:var(--text)}
@supports not (backdrop-filter:blur(1px)){.insp{background:var(--surface)}}
@media (prefers-reduced-transparency:reduce){.insp{backdrop-filter:none;background:var(--surface)}}
.insp-h{display:flex;gap:14px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--sep)}
.insp-h img{width:56px;height:84px;border-radius:8px;object-fit:cover;flex:none;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.insp-h>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.insp-h b{font-size:18px;letter-spacing:-.01em;line-height:1.2}.insp-h small{color:var(--muted)}
.insp-f{margin-top:6px}
.insp-f div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid var(--sep)}
.insp-f dt{color:var(--muted)}.insp-f dd{font-weight:600;text-align:right;margin:0}
.insp-how{margin-top:16px;padding:14px 16px;border-radius:16px;background:var(--raise)}
.insp-how summary{font-weight:700;cursor:pointer;margin-bottom:6px}
.insp-how p{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.5}.insp-how b{color:var(--text)}

/* admissions */
.ad-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ad-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:18px;border-radius:20px;background:var(--raise);box-shadow:inset 0 0 0 1px var(--sep);text-align:left;transition:transform .25s var(--ease),box-shadow .2s}
.ad-card:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 1.5px var(--accent-text)}
.ad-big{font-size:34px;font-weight:700;letter-spacing:-.02em;line-height:1}.ad-big small{display:block;font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0;margin-top:6px}
.ad-row{display:flex;gap:26px}.ad-row i{display:block;font-style:normal;font-size:12px;color:var(--muted)}.ad-row b{font-size:16px}
.ad-bar{width:100%;height:4px;border-radius:2px;background:var(--sep);overflow:hidden}.ad-bar span{display:block;height:100%;border-radius:2px;background:var(--indicator)}
.ad-go .ic{transform:rotate(-90deg)}
.ad-card.off{opacity:.5}.ad-card.off:hover{opacity:1}
.ad-go{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:var(--accent-text)}
.fl-list{display:flex;flex-direction:column}
.fl-row{display:grid;grid-template-columns:24px 40px minmax(160px,1.3fr) minmax(80px,1fr) 90px 90px 120px;align-items:center;gap:16px;padding:8px 10px;border-bottom:1px solid var(--sep);text-decoration:none;color:inherit;border-radius:12px;transition:background .15s}
.fl-row:hover{background:var(--raise)}
.fl-rank{color:var(--subtle);font-weight:600;text-align:center}
.fl-poster{width:40px;height:60px;border-radius:6px;object-fit:cover;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.fl-t{display:flex;flex-direction:column;min-width:0}.fl-t b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fl-t small,.fl-n small{color:var(--muted);font-size:12px}
.fl-bar{height:6px;border-radius:3px;background:var(--raise)}.fl-bar span{display:block;height:100%;border-radius:3px;background:var(--indicator)}
.fl-n{display:flex;flex-direction:column;text-align:right}.fl-n b{font-weight:600}.fl-g{align-items:flex-end}

/* occupancy */
.ob-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:22px}
.ob-g{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.ob{display:grid;grid-template-columns:70px 1fr 46px 110px;align-items:center;gap:12px;width:100%}
.ob-l{color:var(--muted);font-weight:500}.ob-t{height:12px;border-radius:6px;background:var(--raise);overflow:hidden}
.ob-f{display:block;height:100%;border-radius:6px;background:var(--indicator)}
.ob b{text-align:right}.ob small{color:var(--muted);font-size:12px;white-space:nowrap}
.hm{display:flex;flex-direction:column;gap:4px;max-width:860px}
.hm-r{display:grid;grid-template-columns:78px repeat(6,minmax(0,1fr));gap:4px;align-items:stretch}
.hm-c{height:38px;border-radius:8px;display:grid;place-items:center;font-weight:700;font-size:13px}
.hm-0{background:var(--raise);color:var(--subtle);font-weight:400}
.hm-h .hm-c{height:auto;background:none;font-weight:600;line-height:1.3;padding-bottom:4px}.hm-h small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.hm-l{display:flex;align-items:center;color:var(--muted);font-weight:500}
.hm-g{margin:10px 0 2px}

@media (max-width:1100px){.ad-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.fl-row{grid-template-columns:24px 40px minmax(140px,1fr) 80px 90px 110px}.fl-bar{display:none}}
@media (max-width:767px){
  .sc-search{max-width:none;flex-basis:100%}.seg{margin-left:0}
  .sc-scroll{max-height:calc(100dvh - 330px);min-height:300px}
  .sc-t .row{height:56px}.sc-t.d-compact .row{height:40px}
  .sc-t col:nth-child(1){width:70px!important}.sc-t col:nth-child(2){width:176px!important}
  .sc-t .s2{left:70px}.sc-t td,.sc-t th{padding:0 10px}
  .fcell small{display:none}.fcell b{white-space:normal;line-height:1.2;font-size:13px}
  .ad-cards{grid-template-columns:1fr}.fl-row{grid-template-columns:40px minmax(0,1fr) 80px;gap:12px}.fl-rank,.fl-o,.fl-g{display:none}
  .ob{grid-template-columns:62px 1fr 42px}.ob small{display:none}.ob-wrap{grid-template-columns:1fr}
  .tl-n{width:92px;font-size:12px}.insp{left:0;right:0;top:auto;bottom:0;width:auto;max-height:86dvh;border-radius:24px 24px 0 0}
}

/* Gap review: eight-column summary fits the panel; full client view scrolls deliberately. */
.sc .sc-tools{flex-wrap:nowrap;width:100%;gap:7px}.sc .sc-search{min-width:120px;flex:1;max-width:none}.sc .seg{margin-left:0}.sc .seg button{padding:0 10px}.sc .tool-btn{padding:0 10px;white-space:nowrap}.sc-summary{width:100%;min-width:0}.sc-summary td,.sc-summary th{padding:0 8px}.sc-summary .s2{left:92px}.sc-summary .fcell{gap:7px}.sc-summary .fcell b{overflow:hidden;text-overflow:ellipsis}.sc-summary .pc{max-width:100%;overflow:hidden;text-overflow:ellipsis}.sc-phone{display:none}.report-grid-wrap{overflow:auto}.report-grid{width:100%;border-collapse:collapse;font-size:12px}.report-grid th,.report-grid td{padding:11px 9px;text-align:right;border-bottom:1px solid var(--sep);white-space:nowrap}.report-grid th:first-child,.report-grid td:first-child{text-align:left}.report-grid th[role=button]{cursor:pointer}.report-grid th[role=button]:hover{color:var(--accent-text)}
@media(max-width:767px){.sc .sc-tools{gap:5px}.sc .sc-search{flex-basis:auto;height:36px;padding:0 9px;min-width:0}.sc .sc-search input{font-size:12px}.sc .sc-count,.sc .seg,.sc .sc-tools [data-menu=cols]{display:none}.sc .sc-tools .tool-btn{height:36px;font-size:11px;padding:0 8px}.sc .sc-tools [data-menu=sort] span{display:none}.sc .sc-tools .sc-full-toggle{display:none}.sc .sc-scroll{display:none}.sc-phone{display:block}.sc-show{display:block;width:100%;padding:12px;text-align:left;border-bottom:1px solid var(--sep)}.sc-show-title{display:flex;align-items:baseline;gap:12px}.sc-show-title b{color:var(--accent-text);flex:none}.sc-show-title strong{white-space:normal;font-size:14px}.sc-show>small{display:block;color:var(--muted);font-size:11px;margin:5px 0 9px}.sc-show-values{display:grid;grid-template-columns:1fr .8fr 1.2fr;gap:8px}.sc-show-values small{display:block;font-size:10px;color:var(--muted)}.sc-show-values b{font-size:12px;white-space:nowrap}.sc-show-values>span:last-child{text-align:right}.sc-phone-group h3,.sc-phone-group h4{padding:10px 12px;background:var(--raise);margin:0;font-size:12px}.sc-phone-group h4{font-size:11px;font-weight:500}.sc-phone-total{padding:12px;font-size:12px;font-weight:700;background:var(--raise)}.report-grid-wrap{overflow:visible}.report-grid thead{display:none}.report-grid tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:9px;border-bottom:1px solid var(--sep)}.report-grid td{border:0;padding:5px;text-align:left;white-space:normal}.report-grid td:first-child{grid-column:1/-1;font-weight:700}.report-grid td:before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;font-weight:400}.report-grid td:first-child:before{display:none}}
/* V5 Screening: own-column insights, named tiers and readable report spacing. */
.sc-summary{min-width:960px}.sc-summary col:last-child{width:52px!important}.sc-insight{text-align:center}.ai-row-icon{position:relative;isolation:isolate;width:30px;height:30px;border:1px solid #a97761;border-radius:9px;background:var(--raise);color:var(--text);font:600 15px Quicksand,sans-serif;cursor:help}.ai-row-icon:hover,.ai-row-icon:focus-visible{background:var(--hover)}
.sc-price-details{position:relative;min-width:0}.sc-price-details summary{cursor:pointer;white-space:normal;line-height:1.35;font-size:11px;font-weight:600;list-style:none;max-width:180px}.sc-price-details summary::after{content:' ▾';color:var(--muted)}.sc-price-pop{position:relative;margin:8px 0;background:var(--card);border:1px solid var(--sep);border-radius:10px;padding:8px;min-width:180px;white-space:normal}.sc-price-pop .v5-table td{font-size:11px;padding:8px}.sc-price-pop .v5-table th{font-size:10px;padding:8px}.sc-price-pop strong{display:block;font-size:10px;font-weight:500;color:var(--muted)}
.report-grid.v5-table{font-size:13px;min-width:680px}.report-grid.v5-table td,.report-grid.v5-table th{padding:15px 18px}.report-grid.v5-table td:first-child{min-width:200px}.fl-row{padding:14px 18px;gap:18px}.fl-t b{white-space:normal}.fl-row,.report-grid a,.film-grid a{text-decoration:none}.day-shape.expanded .dr{height:auto;min-height:120px;padding-bottom:22px}.day-shape.expanded .rl{min-height:26px;margin-bottom:6px}.day-shape.expanded .rl-n{width:140px}.day-shape.expanded .rl-t{margin-left:140px}.day-shape.expanded .rl-grid{left:140px}.day-shape.expanded .tick{height:22px;width:6px}.dr-h{flex-wrap:wrap}.dr-h .seg{margin-left:auto}.dr .tick{border:0;padding:0;cursor:help}.dr .tick:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}.dr-tip{z-index:5}
.planned-schedule{margin-top:28px}.planned-date{display:flex;gap:8px;align-items:center;font-size:12px}.planned-date select{border:1px solid var(--sep);border-radius:8px;background:var(--raise);color:var(--text);padding:8px}.planned-table{min-width:780px}.planned-table td,.planned-table th{padding:10px 14px!important}.planned-table td:nth-child(4){min-width:230px;white-space:normal}.planned-grid-wrap{overflow:auto}.planned-grid{min-width:1160px;padding:16px}.planned-grid .tl-n{width:130px}.planned-grid .tl-track{margin-left:130px}.planned-grid .tl-row{height:88px}.planned-grid .tl-ax{height:32px}.planned-slot{position:absolute;top:8px;width:126px;min-height:68px;padding:8px;background:var(--raise);border:1px solid var(--sep);border-left:3px solid var(--accent-text);border-radius:9px;overflow:hidden}.planned-slot b,.planned-slot span,.planned-slot small{display:block}.planned-slot b{font-size:12px;color:var(--accent-text)}.planned-slot span{font-size:10px;line-height:1.25;max-height:26px;overflow:hidden}.planned-slot small{font-size:9px;color:var(--muted)}
@media(max-width:767px){.report-grid-wrap{overflow:auto}.report-grid.v5-table{min-width:0}.report-grid.v5-table td,.report-grid.v5-table th{padding:8px 10px}.report-grid.v5-table td:first-child{min-width:0}.report-grid.v5-table tr{gap:8px;padding:12px}.fl-row{padding:12px;gap:10px}.fl-n b{font-size:16px}.planned-wrap{overflow:auto}.planned-schedule .v5-folder-actions{flex-wrap:wrap}.sc-show>small{white-space:normal;line-height:1.5}}
.ai-row-icon{border:0;background:var(--raise);display:inline-grid;place-items:center;flex:none}.ai-row-icon::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(120deg,#be5744,#ca936b 32%,#8f9296 65%,#b0b3b7);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none}.day-shape.expanded .rl-t,.planned-grid .tl-track{margin-left:0}.ob-f{background:var(--accent)}

.sc-phone-insight{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:8px;margin-top:8px;font-size:12px;color:var(--muted)}
.sc-phone-insight .ai-row-icon{width:auto;min-height:32px;padding:6px 10px;cursor:pointer}
/* V5 re-audit: floating price tiers and readable programme lanes. */
.sc-price-trigger{display:flex;flex-wrap:wrap;align-items:center;gap:4px;max-width:100%;border:0;background:transparent;color:var(--text);padding:3px 0;font-size:11px;font-weight:600;text-align:left;line-height:1.4;cursor:pointer;white-space:normal}
.sc-tier-count{font-size:10px;padding:2px 5px;white-space:nowrap}
.sc-price-pop{position:fixed;z-index:110;margin:0;width:min(340px,calc(100vw - 16px));min-width:0;max-height:min(460px,calc(100dvh - 16px));overflow:auto;padding:12px;background:var(--card);color:var(--text);box-shadow:0 16px 44px rgba(0,0,0,.3);border:1px solid var(--sep);border-radius:14px}
.sc-price-pop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.sc-price-pop .sc-price-pop-head strong{font-size:13px;color:var(--text);font-weight:700}
.sc-price-pop .v5-table-wrap{overflow:visible;max-height:none}
.sc-price-pop .v5-table{width:100%;min-width:0;table-layout:auto}
.sc-price-pop .v5-table th,.sc-price-pop .v5-table td{padding:9px 8px!important;white-space:normal}
.sc-price-pop .v5-table th.num,.sc-price-pop .v5-table td.num{white-space:nowrap;text-align:right}
.planned-grid{min-width:1610px;padding:16px}
.planned-grid .tl-track{flex:none;width:1440px;margin-left:0}
.planned-slot{width:146px;height:84px;min-height:0;overflow:visible;padding:7px}
.planned-slot>span{font-size:11px;line-height:1.3;max-height:none;overflow:visible;white-space:normal}
.planned-slot small{margin-top:3px;display:flex;gap:3px;flex-wrap:wrap}
.planned-slot .chip{font-size:9px;padding:1px 4px;line-height:1.2}
.planned-slot:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
.fcell small .chip,.fl-t small .chip{font-size:10px;padding:1px 5px;line-height:1.5}
.report-grid td:first-child>.chip{margin-left:5px}
@media(max-width:767px){.sc-price-pop .v5-table thead{display:table-header-group}.sc-price-pop .v5-table tr{display:table-row}.sc-price-pop .v5-table th,.sc-price-pop .v5-table td{display:table-cell}.sc-price-pop .v5-table td:before{display:none}.sc-price-pop .v5-table td:first-child{width:auto;min-width:0}.sc-show>small .chip{font-size:10px}.sc-show-title strong{white-space:normal}}
@media(max-width:767px){.sc-tier-table .v5-table{width:100%;min-width:0}.sc-tier-table .v5-table thead{display:table-header-group}.sc-tier-table .v5-table tr{display:table-row}.sc-tier-table .v5-table th,.sc-tier-table .v5-table td{display:table-cell;padding:9px 8px!important;white-space:normal}.sc-tier-table .v5-table td:before{display:none}.sc-tier-table .v5-table td:first-child{width:auto;min-width:0}.sc-tier-table .v5-table .num{white-space:nowrap;text-align:right}}

/* Reaudit: keep version metadata in one row; reserve a full title and chip line. */
.planned-slot{height:100px}.planned-slot>span{font-size:12px;line-height:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:32px;min-height:32px}.planned-slot small{display:flex;flex-wrap:nowrap;gap:4px;margin-top:5px}.planned-slot small>span{display:inline-flex!important;white-space:nowrap;max-height:none;overflow:visible;font-size:12px;line-height:16px;padding:0 4px}

@media(max-width:767px){.planned-schedule .seg{display:inline-flex!important;max-width:100%;flex-wrap:wrap}.planned-schedule .seg button{min-height:36px;min-width:72px}.planned-schedule .v5-folder-actions{flex-wrap:wrap}}

/* Share final: matching text/numeric columns and compact version metadata. */
.sc-t th.sc-label,.sc-t td.sc-label{text-align:left}
.sc-t th.n,.sc-t td.n,.sc-t .gband th.n{text-align:right}
.sc-t .fcell>.sc-film-copy{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.sc-t .fcell .sc-film-meta{display:flex;flex-direction:row;align-items:center;gap:4px;white-space:nowrap}
.sc-t .fcell .sc-film-meta .chip{display:inline-flex;flex-direction:row;white-space:nowrap;flex:none}
.sc-film-meta i{font-style:normal;font-size:11px}
.sc-t.d-compact .fcell>.sc-film-copy{flex-direction:row;align-items:center;gap:8px}
/* Shared filmChips spans must override the generic fcell span column layout. */
.sc-t .fcell .film-meta-chips{display:inline-flex;flex-direction:row;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap}
.sc-t .fcell .film-meta-chips>span{display:inline-flex;flex-direction:row;align-items:center;flex:none;white-space:nowrap}

.sc-phone .sc-show>.sc-phone-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.sc-phone-date{flex-basis:100%}.sc-phone-price{display:inline-flex;align-items:center;gap:4px}

/* Keep added columns at readable widths inside the report, never compress them. */
.frame .view .sc-t{width:100%;table-layout:fixed}.frame .view .sc-t .s2{left:var(--table-pin-screen,92px)}
.sc-scroll{overflow-x:auto;scrollbar-gutter:stable;scrollbar-width:auto;touch-action:pan-x pan-y}
.sc-scroll::-webkit-scrollbar{width:12px;height:12px}.sc-scroll::-webkit-scrollbar-thumb{background:var(--muted);border:3px solid var(--surface);border-radius:8px}.sc-scroll::-webkit-scrollbar-track{background:var(--raised)}

.fl-head{font-size:12px;font-weight:600;color:var(--muted);background:var(--raised);border-radius:10px 10px 0 0;min-height:40px}.fl-head .fl-bar{height:auto;background:none;overflow:visible}.fl-head .fl-n{font-size:12px;font-weight:600}.fl-head .fl-rank{font-size:11px}
/* V6: a single column set at every viewport, with scroll and table resizing intact. */
.sc .sc-scroll{display:block;max-height:calc(100dvh - 240px);min-height:320px;overflow:auto;position:relative;isolation:isolate}
.sc .sc-phone{display:none}.sc .sc-tools{flex-wrap:wrap}.sc .sc-tools [data-menu=cols]{display:none}
.sc .sc-summary{min-width:0}.sc .sc-t.v6-schedule{width:100%;table-layout:fixed}
.v6-property{position:relative;--v6-property-color:#dceaff;background:var(--surface)}
.v6-property-1{--v6-property-color:#e7e0fa}.v6-property-2{--v6-property-color:#dcf1e5}.v6-property-3{--v6-property-color:#fff0d5}
.v6-property-header{position:sticky;top:0;left:0;z-index:12;margin:0;min-height:44px;padding:12px 16px;background:var(--v6-property-color);color:#26303c;font-size:15px;display:flex;align-items:center;gap:9px}
.sc .v6-schedule thead th{top:44px;height:40px;z-index:10;background:var(--surface);color:var(--muted)}
.sc .v6-screen-header th{position:sticky;top:84px;left:0;z-index:9;background:var(--raise);color:var(--text);height:38px;text-align:left;padding:8px 14px;border-bottom:1px solid var(--sep);font-size:13px}
.sc .v6-schedule tbody.v6-screen{position:relative}.sc .v6-schedule .row{height:62px}.sc .v6-schedule.d-compact .row{height:46px}
.sc .v6-schedule .row td{white-space:normal;overflow:visible;padding:7px 12px}.sc .v6-schedule .tm{white-space:nowrap}
.sc .v6-schedule .fcell img{width:32px;height:48px}.sc .v6-schedule.d-compact .fcell img{width:24px;height:36px}
.sc .v6-schedule .fcell b{white-space:normal;line-height:1.3}.sc .v6-schedule .fcell small{display:flex;gap:4px;flex-wrap:wrap}
.sc .v6-subtotal td{height:44px;background:var(--raise);font-weight:700;border-top:1px solid var(--sep)}
.sc .v6-schedule tfoot td{position:static;background:var(--v6-property-color);color:#26303c}
.sc .v6-occ{width:80px;height:30px;border:1px solid rgba(40,55,40,.08)}.sc .v6-occ b{top:0;font-size:12px}
.v6-planned-wrap{overflow:auto;max-width:100%;border:1px solid var(--sep);border-radius:12px}.v6-planned-grid{min-width:1480px;background:var(--surface)}
.v6-planned-axis,.v6-planned-lane{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid var(--sep)}
.v6-planned-axis{height:40px;position:sticky;top:0;z-index:3;background:var(--raise);font-size:12px}.v6-planned-axis>span,.v6-planned-lane>b{position:sticky;left:0;background:var(--raise);padding:12px;z-index:2;color:var(--text)}
.v6-planned-axis>div,.v6-planned-lane>div{position:relative;background:repeating-linear-gradient(90deg,transparent,transparent calc(12.5% - 1px),var(--sep) calc(12.5% - 1px),var(--sep) 12.5%)}
.v6-planned-axis>div>span{position:absolute;top:12px}.v6-planned-slot{position:absolute;width:142px;min-height:106px;padding:9px;border:1px solid var(--sep);border-left:3px solid var(--accent);border-radius:8px;background:var(--raise);font-size:12px;display:flex;flex-direction:column;gap:4px}.v6-planned-slot strong{line-height:1.3}.v6-planned-slot small{font-size:10px;color:var(--muted)}
@media(max-width:767px){.sc .sc-scroll{display:block;max-height:calc(100dvh - 210px);min-height:360px}.sc .sc-tools .seg{display:inline-flex}.sc .sc-tools{gap:6px}.sc .sc-search{flex:1 1 100%}.sc .sc-t.v6-schedule col:nth-child(1){width:76px!important}.sc .sc-t.v6-schedule col:nth-child(2){width:260px!important}.sc .v6-schedule .row td{padding:7px 10px}.v6-property-header{font-size:14px}.sc .v6-schedule .fcell small{display:flex}.sc .v6-schedule .fcell b{font-size:13px}.sc .sc-tools [data-menu=sort] span{display:inline}}
