/* UI2 report kit: report shell (U1). Scoped to html.ui2. Phone = one column (summary, chart, sections, by region);
   >=900px content max 1100px; >=1100px two columns (chart 2/3; summary + by region 1/3). No absolute positioning in the header. */
html.ui2 .u2r{--u2r-line:var(--line,#E5E5E5);--u2r-line-2:var(--line-2,#D4D4D4);--u2r-muted:var(--muted,#6B7078);--u2r-surface:var(--surface,#FFFFFF);
 box-sizing:border-box;width:100%;max-width:1100px;margin:0 auto;padding:12px 16px 24px;min-width:0;color:var(--ink,#000);font-family:var(--font,system-ui,-apple-system,"Segoe UI",sans-serif)}
html.ui2 .u2r *,html.ui2 .u2r *::before,html.ui2 .u2r *::after{box-sizing:border-box}
html.ui2 .u2r-head{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;min-width:0}
html.ui2 .u2r-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0;padding:0;list-style:none;font-size:13px}
html.ui2 .u2r-crumbs li{display:inline-flex;align-items:center;gap:6px;min-width:0}
html.ui2 .u2r-crumbs li+li::before{content:"/";color:#A8ABB0}
html.ui2 .u2r-crumbs a{color:var(--u2r-muted);text-decoration:none}
html.ui2 .u2r-crumbs a:hover,html.ui2 .u2r-crumbs a:focus-visible{text-decoration:underline}
html.ui2 .u2r-crumbs [aria-current]{font-weight:700}
html.ui2 .u2r-titlerow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;min-width:0}
html.ui2 .u2r-h1{margin:0;flex:1 1 220px;min-width:0;font:500 26px/1.15 var(--display,var(--font,system-ui,sans-serif));overflow-wrap:anywhere}
html.ui2 .u2r-actions{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}
html.ui2 .u2r-act{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border:1px solid var(--u2r-line-2);border-radius:999px;background:var(--u2r-surface);color:#000;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer}
html.ui2 .u2r-act svg{width:16px;height:16px;flex:none}
html.ui2 .u2r-act:hover{background:#F4F4F5}
html.ui2 .u2r-act:focus-visible{outline:2px solid #004AB5;outline-offset:2px}
html.ui2 .u2r-star{fill:none}
html.ui2 .u2r-fav[aria-pressed="true"]{border-color:#E39A12;background:#FFF6E5}
html.ui2 .u2r-fav[aria-pressed="true"] .u2r-star{fill:#E39A12;stroke:#E39A12}
html.ui2 .u2r-scope{margin:0;font-size:13px;color:var(--u2r-muted);overflow-wrap:anywhere}
html.ui2 .u2r-upd{white-space:nowrap}
html.ui2 .u2r-seg{display:flex;gap:3px;padding:3px;border:1px solid var(--u2r-line);border-radius:12px;background:var(--u2r-surface)}
html.ui2 .u2r-seg button{flex:1;min-height:34px;border:0;border-radius:9px;background:none;font-size:13px;font-weight:600;font-family:inherit;color:var(--u2r-muted);cursor:pointer}
html.ui2 .u2r-seg button[aria-pressed="true"]{background:#000;color:#FFFFFF}
html.ui2 .u2r-seg button:focus-visible{outline:2px solid #004AB5;outline-offset:1px}
html.ui2 .u2r-grains{margin-top:2px}
html.ui2 .u2r-mini{flex:none;padding:2px;height:34px;align-self:center}
html.ui2 .u2r-mini button{flex:none;min-height:0;height:28px;padding:0 10px;font-size:12px}
/* Grid: phone flattens main/side so the order reads summary, chart, sections, by region. */
html.ui2 .u2r-grid{display:flex;flex-direction:column;gap:12px;min-width:0}
html.ui2 .u2r-main,html.ui2 .u2r-side{display:contents}
html.ui2 .u2r-sum{order:1}
html.ui2 .u2r-chartcard{order:2}
html.ui2 .u2r-sections{order:3;display:flex;flex-direction:column;gap:12px;min-width:0}
html.ui2 .u2r-byregion{order:4}
html.ui2 .u2r-card{min-width:0;padding:14px;border:1px solid var(--u2r-line);border-radius:16px;background:var(--u2r-surface)}
html.ui2 .u2r-card h2{margin:0;font:500 17px var(--display,var(--font,system-ui,sans-serif));min-width:0}
html.ui2 .u2r-card-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 10px;margin-bottom:10px}
html.ui2 .u2r-card-h:has(h2:empty){justify-content:flex-end}
html.ui2 .u2r-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
html.ui2 .u2r-controls:empty{display:none}
html.ui2 .u2r-chartbody{min-width:0}
html.ui2 .u2r-note{margin:0 0 8px;font-size:12px;color:var(--u2r-muted)}
html.ui2 .u2r-sum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--u2r-line);border-radius:14px;overflow:hidden;background:var(--u2r-line)}
html.ui2 .u2r-sum-2{grid-template-columns:repeat(2,minmax(0,1fr))}
html.ui2 .u2r-sum-1{grid-template-columns:minmax(0,1fr)}
html.ui2 .u2r-sum-4{grid-template-columns:repeat(2,minmax(0,1fr))}
html.ui2 .u2r-sum-5{grid-template-columns:repeat(2,minmax(0,1fr))}
html.ui2 .u2r-sum-5 .u2r-sum-cell.is-hero{grid-column:1/-1}
html.ui2 .u2r-sum-cell{display:flex;flex-direction:column;min-width:0;padding:10px 12px;background:var(--u2r-surface)}
html.ui2 .u2r-sum-cell span{font-size:11px;font-weight:600;color:var(--u2r-muted)}
html.ui2 .u2r-sum-cell b{font-size:18px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.ui2 .u2r-sum-cell small{font-size:11.5px;color:var(--u2r-muted)}
html.ui2 .u2r .pos{color:#12402A}
html.ui2 .u2r .neg{color:#8E1B14}
@media (min-width:900px){html.ui2 .u2r{padding:20px 24px 32px}html.ui2 .u2r-grains{max-width:520px}}
@media (min-width:1100px){
 html.ui2 .u2r-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;gap:16px}
 html.ui2 .u2r-main,html.ui2 .u2r-side{display:flex;flex-direction:column;gap:12px;min-width:0}
 html.ui2 .u2r-sum{order:0}
 html.ui2 .u2r-sum-3,html.ui2 .u2r-sum-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.ui2 .u2r-sum-3 .u2r-sum-cell:first-child{grid-column:1/-1}
}
/* F2 (Eitan feedback #2). R1: period / view swaps keep the old page until the new one is ready, then crossfade. */
html.ui2 .u2r-swap{display:grid;min-width:0}
html.ui2 .u2r-swap>*{grid-area:1/1;min-width:0}
html.ui2 .u2r-stage{min-width:0}
html.ui2 .u2r-stage-out{opacity:.6;transition:opacity .15s ease}
html.ui2 .u2r-stage-in{opacity:0;pointer-events:none}
html.ui2 .u2r-stage-leave{opacity:0;pointer-events:none;transition:opacity .18s ease}
html.ui2 .u2r-stage-enter,html.ui2 .u2r-fadein{animation:m-fade var(--m-base) var(--ease-out)}
@media (prefers-reduced-motion:reduce){html.ui2 .u2r-stage-out,html.ui2 .u2r-stage-leave{transition:none}html.ui2 .u2r-stage-enter,html.ui2 .u2r-fadein{animation:none}}
/* R3: (i) + clock next to every metric; the old "Updated …" / "Dashboard refreshed …" fine print is gone. */
html.ui2 .u2r-icons{display:inline-flex;align-items:center;gap:0;margin-left:2px;vertical-align:middle;color:var(--u2r-muted);font-weight:400}
html.ui2 .u2r-sum-cell .u2r-sum-label{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 2px;min-height:20px}
html.ui2 .u2r-h2-icons{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 4px}
html.ui2 #page-updated,html.ui2 #fresh-updated{display:none!important}
/* R4: use the spare width on report pages (phone gutters 12px; desktop up to 1440px instead of main's 1200px). */
html.ui2 main:has(#ui2-view .u2r){max-width:1480px}
@media (max-width:640px){html.ui2 main:has(#ui2-view .u2r){padding-left:8px;padding-right:8px}html.ui2 .u2r{padding:8px 4px 20px}html.ui2 .u2r-card{padding:12px}}
@media (min-width:1100px){html.ui2 .u2r{max-width:1440px}html.ui2 .ui2-view:has(.u2r){max-width:none}}
/* HS1 (feedback #3): desktop tables never scroll sideways: fixed layout over the card width, wrapped headers, tighter cells. */
@media (min-width:641px){
 html.ui2 .u2r-chartbody .trend-matrix,html.ui2 .u2r-chartbody .sales-matrix-wrap{overflow-x:visible;max-width:100%}
 html.ui2 .u2r-chartbody .tm-table,html.ui2 .u2r-chartbody .sales-matrix{table-layout:fixed;width:100%;min-width:0}
 html.ui2 .u2r-chartbody .tm-table th,html.ui2 .u2r-chartbody .tm-table td,html.ui2 .u2r-chartbody .sales-matrix th,html.ui2 .u2r-chartbody .sales-matrix td{padding:6px 4px;font-size:12.5px;white-space:normal;overflow-wrap:anywhere}
 html.ui2 .u2r-chartbody .tm-table td,html.ui2 .u2r-chartbody .sales-matrix td{white-space:nowrap;overflow-wrap:normal}
 html.ui2 .u2r-chartbody .tm-table thead th:first-child,html.ui2 .u2r-chartbody .sales-matrix thead th:first-child{width:24%}
 html.ui2 .u2r-chartbody .tm-table thead th,html.ui2 .u2r-chartbody .sales-matrix thead th{font-size:11.5px;line-height:1.25;vertical-align:bottom}
 html.ui2 .u2r-chartbody .tm-label .tm-toggle,html.ui2 .u2r-chartbody .sm-toggle{white-space:normal;text-align:left}
}
/* CT1: the company total row is the entry point of the table (tap to open the regions). */
html.ui2 .sales-matrix .sm-root-row th{background:#F4F6F8}
html.ui2 .tm-root>th,html.ui2 .tm-root>td{font-weight:700}

/* F7: inline favorite-name box */
html.ui2 .u2r-favname{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
html.ui2 .u2r-favname input{flex:1 1 220px;min-width:0;height:36px;padding:0 12px;border:1px solid var(--u2r-line-2);border-radius:10px;font:inherit;font-size:16px}
html.ui2 .u2r-favname button{height:34px;padding:0 14px;border:1px solid var(--u2r-line-2);border-radius:999px;background:var(--u2r-surface);font:inherit;font-size:14px;cursor:pointer}
html.ui2 .u2r-favname button[type=submit]{background:#000;color:#fff;border-color:#000}

/* ===== POL-OTHER (polish, 2026-10-21): header, About, popover, touch targets, bottom space, light table header ===== */
/* OTH-22/26/34: one header for every report. Title + scope on the left, actions (About, Excel, star) on the right, then a reserved period row. */
html.ui2 .u2r-titlerow{flex-wrap:nowrap;align-items:flex-start;min-height:44px}
html.ui2 .u2r-titles{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
html.ui2 .u2r-h1{flex:none}
html.ui2 .u2r-scope{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .u2r-actions{position:relative;flex-wrap:nowrap;align-items:center}
html.ui2 .u2r-about{border-color:transparent;background:none;padding:0 10px;color:var(--u2r-muted)}
html.ui2 .u2r-about:hover{background:#F4F4F5;color:#000}
html.ui2 .u2r-back{display:none}
html.ui2 .u2r-grains,html.ui2 .u2r-period,html.ui2 .u2r-grains-ph{height:46px;box-sizing:border-box}
html.ui2 .u2r-grains-ph{display:block}
html.ui2 .u2r-period{align-items:center;padding:0 14px;font-size:13px;font-weight:600;color:var(--u2r-muted);width:fit-content;max-width:100%}
html.ui2 .u2r-period span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2 .u2r-notice{margin:6px 0 0;padding:8px 12px;border:1px solid #E7D7A8;border-radius:10px;background:#FFF8E6;color:#5C4400;font-size:13px}
/* OTH-10: Favorites name box is a popover anchored under the star; nothing moves. */
html.ui2 .u2r-favname{position:absolute;top:calc(100% + 6px);right:0;z-index:40;display:flex;flex-wrap:nowrap;gap:8px;align-items:center;margin:0;padding:10px;width:min(360px,calc(100vw - 24px));border:1px solid var(--u2r-line-2);border-radius:14px;background:var(--u2r-surface);box-shadow:0 12px 32px rgba(0,0,0,.16)}
html.ui2 .u2r-favname input{flex:1 1 auto}
/* OTH-7: the headline number is the biggest thing on the page, with a status chip. */
html.ui2 .u2r-sum-cell.is-hero{padding-top:14px;padding-bottom:14px}
html.ui2 .u2r-sum-cell.is-hero b{font-size:34px;line-height:1.1}
/* Invoice amounts need the full summary width, including the narrow desktop sidebar. */
html.ui2 .u2r-invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
html.ui2 .u2r-invoice-summary .is-hero{grid-column:1/-1}
html.ui2 .u2r-invoice-summary .is-hero b{font-size:30px;overflow-wrap:anywhere;white-space:normal}
html.ui2 .u2r-invoice-totals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;margin:0;font-size:14px}
html.ui2 .u2r-invoice-totals dd{margin:0;text-align:right;font-weight:650;font-variant-numeric:tabular-nums}
html.ui2 .u2r-chip{align-self:flex-start;margin:6px 0 2px;padding:3px 10px;border-radius:999px;background:#F1F1F1;font-style:normal;font-size:12.5px;font-weight:650;color:#272C33}
html.ui2 .u2r-chip.neg{background:#FBE9E7;color:#8E1B14}
html.ui2 .u2r-chip.pos{background:#E6F2EA;color:#12402A}
html.ui2 .u2r-sum-label{white-space:nowrap}
/* OTH-29/30 and LIVE-10: the floating Ask bar never covers content (reserve its height under every page), desktop and phone. */
html.ui2 .u2r,html.ui2 .u6-lib{padding-bottom:112px}
@media (max-width:640px){html.ui2 .u2r,html.ui2 .u6-lib{padding-bottom:104px}}
/* OTH-9: light table header on report tables (the legacy navy header is gone) */
html.ui2 .u2r-chartbody table thead th,html.ui2 .u2r-chartbody .drill-grid>thead>tr>th{background:#F4F6F8;color:#272C33;box-shadow:inset 0 -1px #D9DEE3;font-weight:650}
html.ui2 .u2r-chartbody .history-table table,html.ui2 .u2r-chartbody .capture-table table,html.ui2 .u2r-chartbody .pmix-table table{width:100%}
html.ui2 .u2r-chartbody .capture-table td.numeric,html.ui2 .u2r-chartbody .pmix-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}
/* OTH-6: pace bars (one measure colour, scale 0-125%, gold tick at 100% = even pace; red only for outliers) */
html.ui2 .u2r-pace{list-style:none;margin:0;padding:0}
html.ui2 .u2r-pace-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 52px 10px;gap:8px;align-items:center;width:100%;min-height:44px;padding:8px 0;border:0;border-top:1px solid var(--u2r-line);background:none;text-align:left;font:inherit;color:inherit}
html.ui2 button.u2r-pace-row{cursor:pointer}
html.ui2 .u2r-pace li:first-child .u2r-pace-row{border-top:0}
html.ui2 .u2r-pace-name{font-size:13.5px;font-weight:600;min-width:0;overflow-wrap:anywhere}
html.ui2 .u2r-pace-name small{display:block;font-size:11px;font-weight:500;color:var(--u2r-muted)}
html.ui2 .u2r-pace-track{position:relative;display:block;height:12px;border-radius:6px;background:#F1F1F1}
html.ui2 .u2r-pace-bar{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:#3A4350}
html.ui2 .u2r-pace-bar.is-outlier{background:#C0392B}
html.ui2 .u2r-pace-tick{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;border-radius:1px;background:#E39A12}
html.ui2 .u2r-pace-val{text-align:right;font-weight:650;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
html.ui2 .u2r-pace-val.neg{color:#8E1B14}
html.ui2 .u2r-pace-row i{font-style:normal;color:#A8ABB0}
html.ui2 .u2r-pace-key{margin:8px 0 0;font-size:11.5px;color:var(--u2r-muted)}
/* OTH-23/25 aging rows: tappable, neutral bars for counts */
html.ui2 .u6-hbars .u6-hb-bar.is-neutral{background:#8A93A0}
html.ui2 .u6-hbars a.u6-hb-row,html.ui2 .u6-hbars button.u6-hb-row{color:inherit;text-decoration:none}
/* OTH-33 worst stores shortcut */
html.ui2 .u2r-worst{margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--u2r-line)}
html.ui2 .u2r-worst h3{margin:0 0 4px;font-size:12px;font-weight:650;color:var(--u2r-muted)}
html.ui2 .u2r-worst a{display:flex;justify-content:space-between;gap:10px;min-height:36px;align-items:center;color:#004AB5;text-decoration:none;font-size:13.5px;font-weight:600}
html.ui2 .u2r-worst a b{color:#272C33;font-variant-numeric:tabular-nums;white-space:nowrap}
/* Not-found card, empty card */
html.ui2 .u2r-nf{max-width:560px;margin:8px 0 0}
html.ui2 .u2r-nf p{margin:0 0 12px;color:var(--u2r-muted);font-size:14px}
html.ui2 .u2r-nf-links{display:flex;flex-wrap:wrap;gap:8px}
html.ui2 .u2r-nf-links a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--u2r-line-2);border-radius:999px;color:#000;text-decoration:none;font-size:14px;font-weight:600}
html.ui2 .u2r-nf-links a.is-primary{background:#000;color:#fff;border-color:#000}
html.ui2 .u2r-empty-card{display:flex;flex-direction:column;gap:6px}
html.ui2 .u2r-empty-card b{font-size:16px}
html.ui2 .u2r-empty-card span{font-size:13.5px;color:var(--u2r-muted)}
/* Phone: one compact header (back chevron + title block + icon-only actions), 40px targets */
@media (max-width:640px){
 html.ui2 .u2r-crumbs{display:none}
 html.ui2 .u2r-back{display:inline-grid;place-items:center;flex:none;width:36px;height:40px;margin-left:-8px;color:#000;text-decoration:none}
 html.ui2 .u2r-back svg{width:18px;height:18px}
 html.ui2 .u2r-h1{font-size:22px}
 html.ui2 .u2r-act{width:40px;height:40px;padding:0;justify-content:center;position:relative}
 html.ui2 .u2r-act span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 html.ui2 .u2r-actions{gap:2px}
 html.ui2 .u2r-seg button{min-height:40px}
 html.ui2 .u2r-grains,html.ui2 .u2r-period,html.ui2 .u2r-grains-ph{height:48px}
 html.ui2 .u2r-mini{height:40px}
 html.ui2 .u2r-mini button{height:34px;min-width:52px}
 html.ui2 .u2r .u2-info,html.ui2 .u2r .u2-clock{position:relative}
 html.ui2 .u2r .u2-info::after,html.ui2 .u2r .u2-clock::after{content:"";position:absolute;inset:-10px}
 html.ui2 .u2r-favname{position:fixed;left:12px;right:12px;top:auto;bottom:calc(88px + env(safe-area-inset-bottom));width:auto}
 html.ui2 .u2r-sum-cell.is-hero b{font-size:30px}
}
@media (min-width:641px){html.ui2 .u2r-act{height:36px}}
html.ui2 .u2r-period,html.ui2 .u2r-grains-ph{margin-top:2px}
/* POL-SALES (2026-10-21): summary-cell icons in one corner cluster (labels stay on one line, values share a baseline). */
html.ui2 .u2r-sum-cell{position:relative}
html.ui2 .u2r-sum-cell .u2r-icons{position:absolute;top:5px;right:3px;margin:0}
html.ui2 .u2r-sum-cell>span.u2r-sum-label{display:block;padding-right:42px;min-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:640px){html.ui2 .u2r-sum-cell{padding:10px 10px}}

/* FB7-2: the scoped table that opens under a tapped chart point. Tokens only; motion comes from motion.js (animateHeight + m-fade-in). */
html.ui2 .u2r-scoped{margin-top:12px;padding-top:10px;border-top:1px solid #E6E6E6;scroll-margin-top:72px}
html.ui2 .u2r-scoped[hidden]{display:none}
html.ui2 .u2r-scoped-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
html.ui2 .u2r-scope-chip{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#E8F0FE;color:#0B3FA6;font-size:13px;font-weight:700}
html.ui2 .u2r-scope-clear{min-height:44px;min-width:44px;padding:0 12px;border:1px solid #D6D6D6;border-radius:999px;background:#fff;color:#272C33;font:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:background var(--m-fast) var(--ease-out)}
html.ui2 .u2r-scope-clear:hover{background:#F1F1F1}
html.ui2 .u2r-scoped-body{overflow-x:auto}
html.ui2 .u2r-scoped-table{width:100%;border-collapse:collapse;font-size:14px}
html.ui2 .u2r-scoped-table th,html.ui2 .u2r-scoped-table td{padding:10px 8px;border-bottom:1px solid #EDEDED;text-align:left}
html.ui2 .u2r-scoped-table td{text-align:right;font-variant-numeric:tabular-nums;font-weight:650}
html.ui2 .u2r-scoped-table td.neg{color:#8E1B14}
html.ui2 .u2r-scoped-table td.pos{color:#12402A}
html.ui2 .u2r-scoped-table a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* Nested employee details keep readable columns on phones; only their own wrapper scrolls. */
html.ui2 .premium-drill{min-width:0;max-width:100%;text-align:left}
html.ui2 .premium-drill .detail-table{max-width:100%;overflow-x:auto}
html.ui2 .premium-drill .detail-table table{width:100%;min-width:320px;table-layout:auto}
html.ui2 .premium-drill table[data-table-key="drill:premium-each"]{min-width:820px}
html.ui2 .premium-drill .detail-table th,html.ui2 .premium-drill .detail-table td{white-space:normal;overflow-wrap:normal;text-align:left}
html.ui2 .premium-drill .detail-table th:first-child{min-width:140px;width:auto}
html.ui2 .premium-drill .detail-table td:nth-child(2){white-space:nowrap}
html.ui2 .premium-drill table[data-table-key="drill:premium-each"] :is(th,td):nth-child(3),html.ui2 .premium-drill table[data-table-key="drill:premium-each"] :is(th,td):nth-child(4){min-width:160px}
html.ui2 .premium-drill .detail-table td:last-child{white-space:nowrap;text-align:right;min-width:80px}
/* Report-local scope/date controls share the action row without leaking Home filters. */
html.ui2 .u2r-filter-disclosure{position:relative;list-style:none}
html.ui2 .u2r-filter-disclosure>summary{list-style:none;cursor:pointer}
html.ui2 .u2r-filter-disclosure>summary::-webkit-details-marker{display:none}
html.ui2 .u2r-filter-disclosure>summary::marker{content:""}
html.ui2 .u2r-filter-disclosure[open]>summary{border-color:#000;background:#F4F4F5}
html.ui2 .u2r-filter-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:min(540px,calc(100vw - 24px));max-height:min(72vh,680px);overflow:auto;padding:16px;border:1px solid #D9DDE3;border-radius:16px;background:#fff;box-shadow:0 14px 38px rgba(0,0,0,.16);color:#111}
html.ui2 .u2r-filter-panel[hidden]{display:none}
html.ui2 .u2r-filter-panel-head{position:sticky;top:-16px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-16px -16px 12px;padding:12px 16px;border-bottom:1px solid #E4E7EB;background:#fff}
html.ui2 .u2r-filter-panel-head h2{margin:0;font-size:16px;line-height:1.25;font-weight:750}
html.ui2 .u2r-filter-panel-close{min-width:64px;min-height:40px;padding:7px 12px;border:1px solid #C8CDD3;border-radius:999px;background:#fff;color:#111;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
html.ui2 .u2r-filter-panel-close:hover{background:#F4F4F5}
html.ui2 .u2r-filter-layout{display:grid;gap:14px}
html.ui2 .u2r-filter-scope .scope-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end}
html.ui2 .u2r-filter-scope .scope-controls>div{display:grid;gap:5px}
html.ui2 .u2r-filter-scope label,html.ui2 .u2r-date-filter label{display:grid;gap:5px;font-size:12px;font-weight:650;color:#454B53}
html.ui2 .u2r-filter-scope select,html.ui2 .u2r-filter-scope input,html.ui2 .u2r-date-filter select,html.ui2 .u2r-date-filter input{width:100%;min-width:0;min-height:40px;padding:7px 10px;border:1px solid #C8CDD3;border-radius:9px;background:#fff;color:#111;font:inherit;font-size:14px}
html.ui2 .u2r-filter-scope :is(button,[type=button]),html.ui2 .u2r-filter-apply,html.ui2 .u2r-filter-footer button{min-height:40px;padding:7px 12px;border:1px solid #D0D4D9;border-radius:999px;background:#fff;color:#111;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
html.ui2 .u2r-filter-scope :is(button,[type=button]):hover,html.ui2 .u2r-filter-footer button:hover{background:#F4F4F5}
html.ui2 .u2r-date-filter{display:grid;gap:10px;margin:0;padding:12px;border:1px solid #E1E4E8;border-radius:12px}
html.ui2 .u2r-date-filter legend{padding:0 5px;font-size:13px;font-weight:700}
html.ui2 .u2r-filter-hint{margin:0;color:#68717C;font-size:12px}
html.ui2 .u2r-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html.ui2 .u2r-filter-error{margin:0;color:#8E1B14;font-size:12px}
html.ui2 .u2r-filter-apply{justify-self:start;background:#111!important;color:#fff!important;border-color:#111!important}
html.ui2 .u2r-filter-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:#5E6670;font-size:12px}
html.ui2 .u2r-filter-footer [data-filter-active]{min-width:0;overflow-wrap:anywhere}
html.ui2 .u2r-filter-panel :focus-visible{outline:2px solid #004AB5;outline-offset:2px}
@media(max-width:640px){html.ui2 .u2r-filter-panel{position:fixed;top:calc(64px + env(safe-area-inset-top));left:8px;right:8px;width:auto;max-height:calc(100dvh - 88px - env(safe-area-inset-top));padding:14px}html.ui2 .u2r-filter-panel-head{top:-14px;margin:-14px -14px 12px;padding:12px 14px}html.ui2 .u2r-actions{z-index:2}}
