/* Brand and table system, derived from design/analytics-concept-v2.png. */
:root{--accent:#f45b20;--accent-dark:#d64b14;--soft:#fff0e9;--text:#19293e;--muted:#697588;--line:#e0e6ee;--sidebar:248px;--radius:6px;font-size:14px;line-height:1.55;background:#f7f8fa}
body{background:#f7f8fa;color:var(--text)}.main{padding:26px 24px 40px}.sidebar{padding:16px 10px 22px;border-right-color:#e7ebf1}.brand{display:flex;align-items:center;gap:3px;padding:0;font-size:20px;line-height:1.35;letter-spacing:-.4px}.brand img{width:84px;height:84px;object-fit:contain;flex-shrink:0}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:.2px;color:var(--muted);margin-top:4px}.sidebar nav{margin-top:18px;gap:5px}.nav-link{font-size:16px;min-height:47px;padding:10px 17px;gap:15px;border-radius:7px}.nav-link svg{width:23px;height:23px}.nav-link.active{background:#ffede5;color:#e75116;font-weight:650}.nav-link.active:before{display:none}.identity{font-size:15px;padding:0 18px;gap:15px}.account-link{font-size:13px;margin-left:56px;margin-bottom:15px;margin-top:9px}.sidebar-bottom{padding-top:17px;border-color:#e1e6ee}.logout{font-size:15px}.page-header{padding:0 6px;margin-bottom:20px;align-items:center}.page-header h1,h1{font-size:32px;line-height:1.3;letter-spacing:-.8px}.subtitle{font-size:15px;margin-top:5px;color:#657184}.button{font-size:14px;border-radius:6px;min-height:38px;padding:8px 17px;gap:9px;font-weight:550;line-height:1.5}.button svg{width:19px;height:19px}.button[aria-disabled=true]{opacity:.45;cursor:not-allowed}.button.secondary{background:#fff;color:#253247}.button.primary{background:var(--accent);border-color:var(--accent)}.button.primary:hover{background:var(--accent-dark)}.panel h2,h2{font-size:21px;letter-spacing:-.3px}.panel,.sheet-panel,.channel-panel{background:#fff;border:1px solid var(--line);border-radius:8px}.section-intro{margin-bottom:16px}.section-intro>span{font-size:13px;color:var(--muted)}.project-summary{background:#fff;border:1px solid var(--line);border-radius:8px;padding:21px 24px;margin-bottom:20px}.project-summary h2{font-size:24px}.project-summary p{font-size:14px}.field label{font-size:14px}.field input,.field select,.field textarea{font-size:14px}.assignment-grid{gap:16px}.assigned-panel{margin-top:20px}.table-wrap th{font-size:13px;background:#f3f6f9}.table-wrap td{font-size:13px}.project-name{font-size:18px}.project-list{background:#fff;border:1px solid var(--line);border-radius:8px}.project-list th{border-top:0;border-radius:0}.project-list th:first-child{border-left:0}.project-list th:last-child{border-right:0}.project-list tr:last-child td{border-bottom:0}.notice{border-color:#e0e6ee;background:#f0f5fa;font-size:13px}.notice.error{background:#fff1ee;border-color:#efcfc7}.login-panel .brand{margin-bottom:24px}.login-panel .brand img{width:72px;height:72px}.login-panel{border-radius:12px;box-shadow:0 12px 50px #19293e08}.login-page{background:#f7f8fa}
.analytics-filters{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 18px}.filter-field{display:flex;align-items:center;gap:10px;flex:1 1 190px;min-width:0;position:relative}.filter-field label{font-size:14px;color:#475569;white-space:nowrap;flex-shrink:0}.filter-field input:not([type=hidden]),.filter-field select{min-height:38px;height:38px;font-size:14px;padding:7px 10px;border-color:#ccd5e0;width:100%;min-width:125px}.filter-field.project-filter{flex:1.3 1 240px}.filter-field .errorlist{position:absolute;top:100%;z-index:4;padding:4px;background:#fff}.analytics-filters>.errorlist{flex-basis:100%;margin:0}.analytics-filters>.button{min-width:79px}.coverage-line{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:9px 6px 11px;font-size:13px;color:#6b7585}.coverage-line p>span{margin:0 8px}.coverage-line strong{font-weight:550}.coverage-detail{position:relative;flex-shrink:0}.coverage-detail summary{cursor:pointer;color:#536179;font-size:12px}.coverage-popover{position:absolute;z-index:20;right:0;top:30px;width:420px;max-width:85vw;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 28px #19293e12;padding:18px}.coverage-popover p{font-size:12px;line-height:1.6;margin:7px 0}.coverage-warning{display:flex;align-items:flex-start;gap:8px;border-left:3px solid #e8a33a;background:#fff8e9;padding:9px 12px;margin:0 0 12px;font-size:12px;color:#8c6827}.coverage-warning svg{width:16px;height:16px;margin-top:1px}
.metric-strip{display:grid;grid-template-columns:1.16fr .95fr 1fr .92fr;background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px 10px;margin-bottom:14px;min-height:120px}.metric{padding:0 18px;border-right:1px solid var(--line);min-width:0}.metric:last-child{border:0}.metric p{font-size:14px;color:#687488;margin-bottom:4px}.metric strong{display:block;font-size:clamp(23px,2vw,31px);font-weight:720;letter-spacing:-.6px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap}.metric small{font-size:12px;color:var(--muted);display:block;min-height:19px}.metric p>span{font-size:12px}
.sheet-panel{padding:16px 14px 10px;min-width:0;margin-bottom:14px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 6px}.sheet-heading h2{font-size:22px}.column-switch{display:flex;border:1px solid #ccd6e2;border-radius:6px;overflow:hidden}.column-switch button{background:#fff;border:0;border-right:1px solid #ccd6e2;color:#546176;padding:8px 15px;font-size:13px;line-height:1.3}.column-switch button:last-child{border:0}.column-switch button.selected{color:#e75116;background:#fff5ee;box-shadow:inset 0 0 0 1px var(--accent);border-radius:5px}.column-switch button:hover{background:#fff5ee}.dimension-tabs{display:flex;gap:26px;padding:4px 7px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.dimension-tabs a{font-size:14px;color:#5c6778;padding:9px 4px 11px;border-bottom:2px solid transparent;white-space:nowrap}.dimension-tabs a.selected{color:#ec571f;border-color:#fc6126;font-weight:650}.dimension-tabs a:hover{text-decoration:none;color:var(--accent)}.sheet-scroll{overflow:auto;max-height:610px;scrollbar-width:thin;scrollbar-color:#c4ccd6 #f4f6f9;border:1px solid #e2e7ee;border-radius:6px}.summary-sheet{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;background:#fff}.summary-sheet th,.summary-sheet td{border:0;border-right:1px solid #e3e8ef;border-bottom:1px solid #e3e8ef;border-radius:0!important;padding:12px 14px;vertical-align:middle;white-space:nowrap;line-height:1.5}.summary-sheet tr>*:last-child{border-right:0}.summary-sheet thead th{background:#f5f7fa;color:#2b384d;font-size:13px;font-weight:600;text-align:left;position:sticky;top:32px;z-index:3}.summary-sheet thead .group-headers th{background:#edf1f6;text-align:center;font-weight:650;top:0;padding:7px 12px;height:33px;z-index:4}.summary-sheet tbody th{font-weight:500;background:#fff}.summary-sheet tbody tr:nth-child(even)>*{background:#fcfdfe}.summary-sheet tbody tr:hover>*{background:#fffaf6}.summary-sheet tfoot>* >*{background:#fff3ec;font-weight:650;border-bottom:0}.summary-sheet .numeric{text-align:right;font-variant-numeric:tabular-nums}.summary-sheet .pinned-col{position:sticky;left:0;z-index:2;min-width:137px;box-shadow:1px 0 0 #e3e8ef}.summary-sheet thead .pinned-col{z-index:5}.summary-sheet .row-name small,.summary-sheet tfoot th small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}.summary-sheet .row-name .warning-text{color:#a37831}.summary-sheet .product-dimension{min-width:270px;width:300px;max-width:340px;white-space:normal}.product-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;min-width:220px;max-width:300px}.id-text{font-family:Consolas,monospace;font-size:11px;white-space:nowrap}.currency-cell{color:#687587;font-size:12px}.partial-mark{color:#b87a23;font-size:12px;display:inline-block;margin-left:3px;cursor:help}.sheet-footnote{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;font-size:11px;color:#687489;margin:9px 2px 0}.sheet-footnote>span{white-space:nowrap}.summary-sheet .empty-state{min-height:180px;white-space:normal}.empty-state p{font-size:12px;margin-top:8px}.channel-panel{padding:16px 20px 14px}.channel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.channel-metric{padding:0 18px;border-right:1px solid var(--line)}.channel-metric:first-child{padding-left:0}.channel-metric:last-child{border-right:0}.channel-metric p{font-size:14px;position:relative;padding-left:12px}.channel-metric p:before{content:"";height:16px;width:3px;background:var(--accent);position:absolute;left:0;top:3px;border-radius:2px}.channel-metric strong{font-size:21px;font-weight:650;margin:5px 0 0;display:block;font-variant-numeric:tabular-nums;white-space:nowrap}.channel-metric small{font-size:11px;color:var(--muted)}.channel-panel .metrics-note{font-size:11px;margin-top:18px}.preview-summary{font-size:13px}.preview-table th{font-size:14px}.assigned-panel h2{font-size:21px}
@media(min-width:1600px){.main{padding:28px 28px 44px}}
@media(max-width:1200px){:root{--sidebar:215px}.sidebar .brand{font-size:17px}.sidebar .brand img{width:61px;height:61px}.sidebar .brand small{font-size:10px}.main{padding:24px 20px}.analytics-filters{gap:12px}.filter-field{flex-basis:210px}.metric{padding:0 12px}.metric strong{font-size:23px}.channel-metric{padding:0 10px}.channel-metric strong{font-size:18px}.column-switch button{padding:7px 11px}}
@media(max-width:900px){.metric-strip{grid-template-columns:1fr 1fr;gap:18px 0}.metric:nth-child(2){border-right:0}.channel-grid{grid-template-columns:1fr 1fr;gap:18px}.channel-metric:nth-child(2n){border:0}.channel-metric:nth-child(3){padding-left:0}.coverage-line{align-items:flex-start;flex-wrap:wrap}.coverage-popover{left:0;right:auto}.sheet-heading{flex-wrap:wrap}.dimension-tabs{gap:18px}.column-switch button{font-size:12px}.metric strong{font-size:26px}.filter-field.project-filter{flex-basis:210px}}
@media(max-width:640px){.main{padding:20px 14px 30px}.sidebar{padding:10px 14px 12px}.sidebar .brand{font-size:19px;gap:3px}.sidebar .brand img{width:60px;height:60px}.sidebar .brand small{font-size:11px}.sidebar nav{margin-top:8px;gap:5px}.nav-link{font-size:13px;gap:8px;padding:8px 10px;min-height:37px}.nav-link svg{width:18px;height:18px}.sidebar-bottom{margin-top:9px;padding:0;gap:10px}.identity{font-size:12px;padding:0;gap:6px;min-height:30px}.account-link{font-size:11px;margin:0}.logout{font-size:12px}.page-header{padding:0;gap:12px;margin-bottom:18px}.page-header h1{font-size:27px}.subtitle{font-size:12px;line-height:1.6}.page-header .button{font-size:12px;padding:8px 11px}.analytics-filters{padding:12px;gap:12px}.filter-field,.filter-field.project-filter{flex-basis:100%;display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px}.filter-field label{font-size:13px}.filter-field input:not([type=hidden]),.filter-field select{font-size:13px;width:100%;min-width:0}.analytics-filters>.button{width:100%}.filter-field .errorlist{position:static;grid-column:2}.coverage-line{font-size:11px;padding:10px 2px;gap:8px}.coverage-line p>span{margin:0 4px}.coverage-warning{font-size:11px}.metric-strip{padding:14px 3px;gap:16px 0}.metric{padding:0 11px}.metric p{font-size:12px}.metric strong{font-size:20px;letter-spacing:-.5px}.metric small{font-size:10px}.metric p>span{font-size:10px}.sheet-panel{padding:14px 10px 10px}.sheet-heading{padding:0;gap:11px}.sheet-heading h2{font-size:20px}.column-switch{width:100%}.column-switch button{flex:1;padding:8px;font-size:12px}.dimension-tabs{gap:15px;padding:6px 0 0;margin-bottom:13px;overflow-x:auto}.dimension-tabs a{font-size:13px;padding:8px 3px}.summary-sheet th,.summary-sheet td{padding:10px 12px;font-size:12px}.summary-sheet thead th{font-size:12px}.summary-sheet .pinned-col{min-width:119px}.sheet-footnote{font-size:10px}.channel-panel{padding:14px}.channel-panel h2{font-size:20px}.channel-grid{gap:16px 8px}.channel-metric p{font-size:12px}.channel-metric strong{font-size:17px}.channel-metric small{font-size:10px}.channel-panel .section-intro{gap:10px}.channel-panel .section-intro>span{font-size:11px}.project-summary{padding:17px}.project-summary h2{font-size:21px}.panel h2{font-size:20px}}
[hidden]{display:none!important}@media(prefers-reduced-motion:no-preference){.button,.nav-link,.dimension-tabs a{transition:background-color .15s,color .15s,border-color .15s}}
