:root{font-synthesis:none;text-rendering:optimizeLegibility;font-smooth:always;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px}button{cursor:pointer}.app-shell{margin:0 auto}.topbar{align-items:center;justify-content:space-between}.topbar p{margin:0}.notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;margin-bottom:18px}.notice-success{background:#e9f2e9;color:#355e3f;border:1px solid #d4e5d5}.notice-error{background:#f9eae6;color:#9b4134;border:1px solid #efd3cb}.notice-close{border:0;background:transparent;color:inherit;font-size:20px}.panel{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.record-form label,.filters label{display:flex;flex-direction:column}.input,input,select{min-width:0}input,select{width:100%;outline:none}.button{border:1px solid transparent;font-weight:700;white-space:nowrap;transition:background .15s}.button:disabled{opacity:.6;cursor:wait}.record-form{display:flex;flex-direction:column}.text-button{border:0;background:transparent;padding:4px 3px;font-weight:600;white-space:nowrap}.product-list{overflow:hidden}.product-row{display:flex;align-items:center;justify-content:space-between}.product-row:last-child{border-bottom:0}.product-row label{font-weight:500}.form-actions{display:flex}.filters{display:grid;margin-bottom:21px}.chart-title{display:flex;align-items:center;justify-content:space-between}.chart-wrap{width:100%}.empty-chart{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--muted);text-align:center;padding:20px}.empty-chart span{max-width:240px}.empty-icon{font-size:34px}.records-panel{grid-column:1/-1}.table-scroll{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;white-space:nowrap}th{text-align:left;font-weight:600;border-bottom:1px solid var(--divider)}td{border-bottom:1px solid var(--divider)}tbody tr:last-child td{border-bottom:0}.date-cell{font-weight:600}.row-actions{display:flex;gap:8px}.empty-table{padding:34px;text-align:center}footer{padding:19px 2px 0;text-align:center}@media(max-width:1000px){.records-panel{grid-column:auto}.stats-panel{order:2}.records-panel{order:3}}@media(max-width:560px){.topbar{align-items:flex-start}}.header-actions{flex-wrap:wrap}.toast{position:fixed;right:24px;bottom:24px;z-index:10000;max-width:min(480px,calc(100vw - 32px))}.modal{width:min(560px,calc(100vw - 24px));max-height:88vh;overflow:auto;box-shadow:0 24px 80px #0003}.modal h2{margin:0}.modal label{display:flex;flex-direction:column}.modal .form-actions{margin-top:18px}.modal .product-row input{max-width:140px}.date-button{display:flex;justify-content:space-between;width:100%;text-align:left}.calendar-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar-nav button,.calendar button{border:0;background:var(--surface);min-height:40px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.calendar span{padding:8px;color:var(--muted);font-size:12px}.account-chips{display:flex;flex-wrap:wrap}.account-chips label{border:1px solid}.checkbox-label{display:flex!important;flex-direction:row!important;align-items:center}.drafts{border-top:1px solid var(--divider);padding-top:12px}.draft-row{justify-content:space-between;align-items:center;margin-bottom:8px}@media(max-width:560px){.topbar{flex-wrap:wrap}.header-actions{width:100%}.toast{right:16px;bottom:16px}}.toast{inset:auto 24px 24px auto;margin:0}.toast::backdrop{background:transparent}.notice.toast:popover-open{display:flex}.flagged-record .date-cell:after{content:" · 待核对"}:root{background:var(--canvas);color:var(--ink);letter-spacing:.025em;font-variant-numeric:tabular-nums}.app-shell{max-width:1480px}.topbar p{font-size:14px;color:var(--muted);letter-spacing:.1em}.panel{position:relative;border:1px solid var(--border);background:var(--canvas);isolation:isolate}.panel:before{content:"";position:absolute;border:1px solid var(--divider);background:var(--surface);z-index:-1;pointer-events:none}.section-heading h2{margin-top:5px}.record-form label{font-weight:500;gap:8px}.filters label{color:var(--ink);line-height:1.6;font-weight:500;gap:8px}.modal label{font-weight:500;gap:8px}input,select,.date-button{letter-spacing:.03em;border:1px solid var(--border);background:var(--canvas)}input:focus,select:focus,.date-button:focus-visible{border-color:var(--ink);box-shadow:0 0 0 3px #4d9de018;outline:none}.button{letter-spacing:.04em}.button-primary{border-color:var(--ink);box-shadow:inset 0 -2px #4d9de066}.button-primary:hover{background:var(--ink)}.button-secondary{background:var(--hover);border-color:var(--border)}.button-secondary:hover{background:var(--divider)}.text-button{font-size:13px}.product-list{border:1px solid var(--border);background:var(--ink)}.product-row{gap:12px;border-bottom:1px solid var(--muted);background:linear-gradient(90deg,color-mix(in srgb,var(--product-color,var(--muted)) 10%,transparent),transparent 75%)}.product-row label{color:var(--canvas);gap:3px}.product-label{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.product-icon{object-fit:contain;flex-shrink:0}.product-icon-fallback{display:inline-grid;place-items:center;background:color-mix(in srgb,var(--product-color,var(--muted)) 12%,var(--ink));border:1px solid color-mix(in srgb,var(--product-color,var(--muted)) 45%,var(--ink));color:var(--product-color,var(--canvas));font-size:18px}.form-hint{color:var(--muted)}.form-actions{flex-wrap:wrap;gap:10px}.filters{grid-template-columns:repeat(3,minmax(0,180px));gap:15px 14px;justify-content:start;align-items:end}.filters input{padding:9px 10px}.filters select{font-size:14px;padding:9px 10px}.filters .date-button{padding:9px 10px}.checkbox-label{min-height:42px;gap:8px!important}.checkbox-label input,.account-chips input{accent-color:var(--ink);min-height:0;width:16px;height:16px}.account-chips label{background:var(--canvas)}.chart-product{display:inline-flex;align-items:center;letter-spacing:.04em;gap:8px}.chart-wrap{background:var(--canvas);border:1px solid var(--divider)}.empty-chart strong{font-size:16px;color:var(--ink)}.empty-chart span{font-size:13px;line-height:1.8;color:var(--muted)}.empty-icon{color:var(--muted)}.table-scroll{border:1px solid var(--divider)}th{border-bottom-color:var(--muted)}td{color:var(--ink);border-bottom-color:var(--divider)}tbody tr[data-hovered=true]{background:var(--surface)}.date-cell{color:var(--ink)}.empty-table{font-size:14px;color:var(--muted)}footer{line-height:1.8}.modal{border:1px solid var(--border);padding:24px}.modal h2{font-size:23px;letter-spacing:.04em}.modal .product-row input{font-size:18px}.notice{font-size:14px}.toast{box-shadow:0 8px 32px #31313122}@media(max-width:1100px)and (min-width:1001px){.app-shell{padding:24px 18px}.main-grid{grid-template-columns:minmax(360px,.9fr) minmax(0,1.2fr)}.panel{padding:22px}.filters{grid-template-columns:repeat(2,minmax(0,180px))}}@media(max-width:1000px){.main-grid{grid-template-columns:1fr}.filters{grid-template-columns:repeat(3,minmax(0,180px))}}@media(max-width:560px){.section-heading{padding:14px 12px;gap:8px}.section-heading h2{font-size:20px}.topbar h1{font-size:28px}.filters label:first-child{grid-column:auto}.product-row,.product-label{gap:6px}.button{padding:10px 12px}.modal{padding:20px}}td .product-icon,th .product-icon{width:24px;height:24px;font-size:13px}td .product-label,th .product-label{gap:7px}.flagged-record .date-cell:after{font-size:12px}.section-heading{background-size:24px 24px}.product-row{box-shadow:inset 8px 0 12px -12px var(--product-color,var(--muted))}.product-icon{filter:drop-shadow(0 0 4px #ffffff18)}.topbar{margin-bottom:12px}.panel{padding:16px}.section-heading{padding:9px 12px;margin:-2px -2px 12px}.records-panel .section-heading{margin-bottom:10px}.record-form{gap:12px}.product-row{min-height:56px;padding:7px 12px}.product-icon{width:30px;height:30px}.form-hint{line-height:1.6;margin:0}.button{padding:7px 12px}input,select{min-height:36px;padding:7px 9px}.date-button{padding:7px 9px}.chart-title{margin-bottom:6px;padding-top:0}.chart-wrap{height:210px;padding:4px}.chart-product .product-icon{width:23px;height:23px}.account-chips{margin-bottom:10px;gap:6px}.account-chips label{padding:3px 8px}.comparison-table{margin-top:9px}th,td{padding:8px 9px}.select-control{position:relative;display:block;min-width:0;width:100%;font-weight:400}.mobile-select{display:none}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;height:36px;min-width:0;padding:7px 9px;border:1px solid var(--border);background:var(--canvas);text-align:left}.select-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-trigger:disabled{opacity:.5;cursor:default}.select-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;display:block;max-height:240px;overflow:auto;border:1px solid var(--border);box-shadow:0 6px 20px #31313122}.select-menu [role=option]{display:block;padding:8px 10px;cursor:pointer;border-bottom:1px solid var(--divider);font-size:14px}.select-menu [role=option]:last-child{border-bottom:0}.select-menu [aria-selected=true]{box-shadow:inset 3px 0 #4d9de0}.select-menu [aria-disabled=true]{opacity:.5;cursor:default}.product-toggles{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 7px}.product-toggles:empty{display:none}.product-toggles label{display:flex;align-items:center;gap:4px;background:var(--ink);border:1px solid var(--muted);padding:3px 6px;color:var(--canvas);cursor:pointer}.product-toggles label:has(input:checked){border-color:var(--product-color);background:color-mix(in srgb,var(--product-color) 10%,var(--ink))}.product-toggles input{width:13px;height:13px;min-height:0;margin:0;accent-color:var(--product-color)}.product-toggles .product-icon{width:20px;height:20px}.product-toggles .product-label{gap:4px}.chart-account{color:var(--ink)}button,input,.checkbox-label,.account-chips label,.product-toggles label{transition:background-color .16s,border-color .16s,box-shadow .16s,transform .12s}.modal[open],.toast:popover-open{animation:menu-in .18s ease-out}@keyframes menu-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1001px){.filters input,.filters .date-button{min-height:36px;height:36px;padding:7px 8px;font-size:13px}.records-panel .filters{grid-template-columns:repeat(3,minmax(0,180px));margin-bottom:10px;gap:8px}.records-panel .filters label{gap:4px;font-size:12px}}@media(min-width:1200px)and (min-height:850px){.app-shell{flex-direction:column;max-width:1480px}.topbar{flex:none;min-height:82px}.main-grid{flex:1;min-height:0}.panel{min-height:0;display:flex;flex-direction:column}.stats-panel{scrollbar-width:thin}.records-panel .table-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.records-panel th{position:sticky;top:0;z-index:1}.section-heading{flex:none}.account-chips{overflow:auto;flex-shrink:0}.product-toggles{flex-shrink:0}footer{flex:none}}@media(max-width:1000px){.main-grid{gap:12px}.app-shell{padding:18px}.panel{padding:16px}.filters{margin-bottom:14px}}@media(max-width:560px){.app-shell{padding:16px 10px}.panel{padding:16px}.panel:before{top:6px;right:6px;bottom:6px;left:6px}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-select{display:block}.select-trigger,.select-menu{display:none}.product-row{padding:8px}.product-icon{width:28px;height:28px}.product-toggles{gap:6px}.chart-wrap{height:250px}}@media(prefers-reduced-motion:reduce){.recharts-line path{animation:none!important}}@media(min-width:1001px){.section-heading{min-height:54px;height:54px;padding:7px 10px}.section-heading h2{font-size:18px;line-height:1.25}.section-kicker{display:block;line-height:1.2;font-size:10px}.record-form label,.filters label{line-height:1.3}.stats-panel .chart-product{font-size:15px;line-height:1.2}.stats-panel .chart-title p{font-size:11px;line-height:1.2}}@media(min-width:1200px)and (min-height:850px){.app-shell{height:auto;display:block}.main-grid{display:grid;align-items:stretch}.stats-panel{min-height:0}.records-panel{grid-column:1/-1;min-height:260px;max-height:65vh}.records-panel .table-scroll{max-height:440px}.account-chips{max-height:72px}}body{background-attachment:fixed}:root{font-size:16px}.filters label,.records-panel .filters label{font-size:13px}.button{font-size:15px}input,select{font-size:16px}.filters input,.filters .date-button{font-size:14px}.product-row label{font-size:17px}.form-hint{font-size:12px}.account-chips label,.chart-account{font-size:13px}.product-toggles label{font-size:12px}table{font-size:15px}th{font-size:14px}.drafts{border:1px solid var(--border);background:var(--surface)}.drafts h3{font-size:16px}.draft-row{font-size:13px;border-bottom:1px solid var(--divider)}.select-trigger,.select-trigger:not(:disabled):active{transform:none;transition:background-color .18s,border-color .18s,box-shadow .18s}.select-trigger:hover{background-color:var(--hover)}.select-trigger[aria-expanded=true]{background-color:var(--hover);border-color:#729cae;box-shadow:inset 3px 0 #4d9de0}.select-menu{animation:select-fade .16s ease-out}.select-menu [role=option]{transition:background-color .18s}@keyframes select-fade{0%{opacity:0}to{opacity:1}}@media(max-width:560px){.product-row label{font-size:15px}.button{font-size:14px}.product-toggles label{font-size:12px}}@media(prefers-reduced-motion:reduce){.select-menu{animation:none}.select-trigger,.select-menu [role=option]{transition:none}}body{-webkit-user-select:none;user-select:none}table,table *,input,textarea{-webkit-user-select:text;user-select:text}.ui-icon{flex-shrink:0;--ggs: .75}.button,.notice-close{display:inline-flex;align-items:center;justify-content:center;gap:8px}.date-button{align-items:center}.calendar-nav button{display:flex;align-items:center;justify-content:center;min-width:40px}.product-toggles button{min-width:0;display:flex;align-items:center;justify-content:center;padding:6px 3px;border:1px solid var(--muted);font-size:12px}.product-toggles button[aria-pressed=true]{background:color-mix(in srgb,var(--product-color) 10%,var(--ink))}.product-toggles .product-label{min-width:0}.product-toggles .product-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-panel .date-button,.stats-panel .select-trigger{font-size:12px;min-width:0}.empty-icon .ui-icon{--ggs: 1.5;margin:10px}@media(max-width:700px){.product-toggles button{font-size:11px}.product-toggles .product-label{flex-direction:column;gap:3px}}.panel:before{top:2px;right:2px;bottom:2px;left:2px;border-radius:5px}.stats-panel{display:flex;flex-direction:column;min-height:0}.section-heading{flex-shrink:0}.button{height:36px;min-height:36px;overflow:hidden;text-overflow:ellipsis}.header-actions .button{width:132px}.section-heading{height:58px;min-height:58px}.account-chips label{flex-shrink:0;margin:0}.account-chips label span,.chart-account{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-account{display:block;height:28px;line-height:28px}.stats-panel .chart-title{flex-shrink:0;margin:0 0 8px}.chart-title p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-toggles button{height:36px;transform:none!important}.table-scroll{scrollbar-gutter:stable}table{table-layout:fixed;min-width:900px}th,td{height:42px;max-height:42px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th{position:sticky;top:0;z-index:1}.records-panel th{width:120px}.records-panel th:first-child{width:190px}.records-panel:last-child table{min-width:1400px}.records-panel:last-child th:nth-last-child(2){width:180px}.records-panel:last-child th:last-child{width:220px}.row-actions .text-button{height:26px;width:64px;padding:2px}.drafts{display:flex;flex-direction:column;flex:1;min-height:270px;max-height:none;overflow:hidden;margin-top:14px;padding:12px;gap:10px}.draft-header,.draft-footer{flex:none}.drafts h3{height:24px;line-height:24px;margin:0 0 6px}.draft-list{flex:1;min-height:60px;overflow:auto;scrollbar-gutter:stable;border-block:1px solid var(--divider);padding-block:6px}.draft-list:focus-visible{outline:2px solid #4D9DE0;outline-offset:2px}.draft-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 48px;gap:8px;height:38px;margin:0;padding:4px 0}.draft-row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.draft-row time{font-size:12px;white-space:nowrap}.draft-row .text-button{width:48px;height:28px;padding:2px}.draft-footer .button{width:100%}button:not(:disabled):active{transform:none}@media(min-width:1200px)and (min-height:850px){.stats-panel{overflow:visible}}@media(max-width:700px){.product-toggles button{height:60px;min-height:60px}.drafts{flex:none;height:340px}}.account-chips-bar{display:flex;align-items:center;gap:6px;min-width:0;margin-bottom:10px;flex:none}.account-chips label{position:relative;width:auto;height:28px;flex:none;white-space:nowrap;overflow:visible;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.chart-account{width:auto;flex:none}.chip-scroll{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--border);background:var(--canvas);padding:0}.chip-scroll:disabled{opacity:.35;cursor:default}.checkbox-label{position:relative;cursor:pointer}input[type=checkbox]{position:absolute;opacity:0;width:18px!important;height:18px!important;min-height:0;padding:0;margin:0;cursor:pointer}input[type=checkbox]+.gg-shape-rhombus{color:#000;flex:none;margin:3px;transition:color .18s}input[type=checkbox]:checked+.gg-shape-rhombus{color:#4d9de0}input[type=checkbox]:focus-visible+.gg-shape-rhombus{outline:2px solid #4D9DE0;outline-offset:3px}.stats-panel .chart-title{height:44px;min-height:44px;margin-bottom:8px}.product-toggle-area{position:relative;flex:none;padding-right:26px}.product-toggle-area>.help-tip{position:absolute;right:0;top:8px}.help-tip{position:relative;display:inline-flex;vertical-align:middle;flex:none;white-space:normal}.help-trigger{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;background:transparent;color:var(--muted);cursor:help}.help-content{position:absolute;right:0;bottom:calc(100% + 8px);width:250px;max-width:70vw;padding:10px 12px;border:1px solid var(--muted);border-radius:5px;font-size:12px;font-weight:400;line-height:1.6;box-shadow:0 5px 18px #0003;z-index:50;visibility:hidden;opacity:0;transition:opacity .18s;pointer-events:none;text-align:left;white-space:normal}.help-tip[data-hovered=true] .help-content,.help-tip:focus-within .help-content{visibility:visible;opacity:1}button:not(:disabled):hover,input:not(:disabled):hover,select:not(:disabled)[data-hovered=true],[role=option]:not([aria-disabled=true])[data-hovered=true],.checkbox-label[data-hovered=true],.account-chips label[data-hovered=true]{box-shadow:inset 0 0 0 100px #4d9de018;border-color:#4d9de0}@media(min-width:1200px)and (min-height:850px){.stats-panel .chart-wrap{flex:1;max-height:none}}@media(max-width:700px){.product-row{gap:6px}}@media(prefers-reduced-motion:reduce){button,input,select,[role=option],.checkbox-label,.account-chips label,.help-content{transition:none!important}}.comparison-table .help-content{bottom:auto;top:calc(100% + 6px)}.product-toggles button[aria-pressed=true]{border-width:3px;padding:4px 1px;border-color:var(--product-color)}.records-panel .history-table .actions-cell{position:sticky;right:0;z-index:2;background:var(--surface);box-shadow:-6px 0 8px -6px #31313155}.records-panel .history-table th.actions-cell{z-index:3}.chart-wrap:not([data-hovered=true]) .recharts-tooltip-wrapper{visibility:hidden!important}.comparison-heading{display:flex;align-items:center;gap:2px}.comparison-sort{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;min-width:0;min-height:26px;padding:2px;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;border-radius:5px}.comparison-sort>span{white-space:nowrap}.sort-icon{width:10px;height:14px;flex:none}.sort-arrow{fill:currentColor;opacity:.3}.sort-arrow.active{fill:#4d9de0;opacity:1}.comparison-sort:hover,.comparison-sort:focus-visible{background:#4d9de026}.comparison-sort:active{background:#4d9de044}@media(max-width:700px){.comparison-sort{gap:2px;padding:1px}.sort-icon{width:8px;height:12px}.comparison-heading .help-trigger{width:16px}}.comparison-table{display:flex;flex-direction:column;gap:6px;min-width:0}.comparison-table>.table-scroll{flex:1;min-height:0;overflow:auto}.comparison-table .empty-table{text-align:center}.analysis-controls,.history-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 12px;flex:none}.analysis-controls label,.history-controls label{display:flex;align-items:center;gap:6px;font-size:12px;min-width:0}.analysis-controls .select-trigger,.history-controls .select-trigger{min-width:100px;font-size:12px;min-height:30px}.range-buttons{display:flex;gap:6px;flex-wrap:wrap}.range-buttons button,.history-controls>button{border:1px solid var(--border);padding:5px 8px;background:var(--canvas);color:var(--ink);font-size:12px;cursor:pointer;min-height:30px}.range-buttons button[aria-pressed=true]{border-color:#4d9de0;background:var(--hover)}.history-controls>span{font-size:12px}.history-controls button:disabled{opacity:.4;cursor:default}.service-status{align-self:center;font-size:12px;color:var(--muted)}@media(min-width:1001px){.main-grid>.stats-panel{overflow:auto}}@media(max-width:560px){.analysis-controls,.history-controls{gap:6px}.analysis-controls>label{width:100%;white-space:nowrap}.header-actions .button{font-size:12px}.history-controls>span{width:100%;order:1}}button,input,select,[role=option],.checkbox-label,.account-chips label{transition:background-color .12s,color .12s,border-color .12s,box-shadow .12s!important}button:not(:disabled):active,input:not(:disabled):active,select:not(:disabled):active,[role=option]:not([aria-disabled=true]):active,.checkbox-label:active,.account-chips label:active{transform:none!important;box-shadow:inset 0 0 0 100px #4d9de040}.select-menu [role=option]{transition:none!important}.select-menu [role=option]:hover{background:var(--hover);box-shadow:inset 0 0 0 100px #4d9de018}.text-button:hover{text-decoration:none}.account-info-card{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;padding:10px 12px;border:1px solid var(--border);background:var(--canvas);color:var(--ink);cursor:pointer;min-width:0}.account-info-card>span{display:flex;flex-direction:column;gap:4px;min-width:0}.account-info-card strong,.account-info-card span span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-info-card small{font-size:11px;color:var(--muted)}.account-info-card strong{font-size:16px}.account-info-card span span{font-size:13px}.product-list .product-row{height:auto;min-height:42px;padding:5px 10px}.draft-header h3{display:flex;align-items:center;gap:4px;margin:0}.draft-header .help-content{bottom:auto;top:calc(100% + 6px);right:auto;left:0}.records-panel:last-child .history-table{min-width:1050px;width:100%}.records-panel .history-table th{width:auto}.records-panel .history-table th:first-child{width:8%}.records-panel .history-table th:nth-child(2){width:12%}.records-panel .history-table th:nth-child(3){width:7%}.records-panel .history-table th:nth-last-child(2){width:13%}.records-panel .history-table th:last-child{width:18%}.history-table th,.history-table td{padding:6px 8px}.history-table .product-label{gap:5px;font-size:12px}.history-table .product-icon{width:24px;height:24px}.history-table .row-actions{display:flex;justify-content:flex-end;gap:4px}.history-table .row-actions .text-button{width:auto;min-width:40px;font-size:12px}@media(min-width:1200px)and (min-height:850px){.stats-panel .chart-wrap{flex:1!important}}@media(max-width:560px){.product-list .product-row{gap:6px}.draft-header .help-content{left:auto;right:0}}.entry-column{min-width:0}.record-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 40px);padding:24px;overflow:auto;border:1px solid var(--muted);border-radius:5px;box-shadow:0 20px 70px #0004}.record-dialog>.section-heading{margin:0 0 18px;min-height:48px;height:auto}.record-dialog-form{gap:14px}.record-dialog-context{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.record-dialog-context>label{min-width:0}.record-dialog-context .date-button{width:100%;white-space:nowrap}.record-dialog .product-list{border-radius:5px}.record-dialog .product-row{min-height:48px}.record-dialog .product-row>label{gap:8px}.record-dialog .drafts{flex:none;min-height:0;max-height:none;gap:10px;overflow:visible}.record-dialog .draft-list{flex:none}.record-dialog .draft-footer{display:flex;justify-content:flex-end}.record-dialog .draft-footer .button{width:auto}.record-dialog .draft-header .help-content{left:auto;right:0}.record-dialog-actions,.configuration-dialog .form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:4px 0 0;padding-top:14px;border-top:1px solid var(--divider)}.record-dialog-actions{position:sticky;bottom:-24px;background:var(--surface);z-index:2;padding-bottom:16px}.record-dialog-actions .button{width:auto;min-width:100px}.dialog-close-hint{font-size:12px;color:#976315;background:#fff1df;border:1px solid #d0ac70;padding:8px 10px;margin:0 0 12px}.configuration-dialog .record-form>.button{align-self:flex-end}@media(min-width:1200px)and (min-height:850px){.entry-column{min-height:0}}@media(max-width:560px){.record-dialog{padding:16px;width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.record-dialog-context{grid-template-columns:1fr 1fr}.record-dialog-context>label:last-child{grid-column:1/-1}.record-dialog .product-row>label{flex-direction:column;align-items:flex-start;gap:3px}.record-dialog .product-row{gap:6px}.record-dialog-actions{bottom:-16px}.record-dialog-actions .button{min-width:80px}}@media(prefers-reduced-motion:reduce){.modal{scroll-behavior:auto}}.main-grid>.stats-panel{overflow:visible}.stats-panel .chart-wrap{flex:1!important;min-height:320px;height:360px}.confirmation-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:calc(100dvh - 40px);padding:24px;overflow-y:auto;overflow-x:hidden}.confirmation-dialog .section-heading{height:auto;min-height:48px;margin:0 0 16px}.confirmation-dialog .section-heading h2{min-width:0;overflow-wrap:anywhere;font-size:19px}.confirmation-dialog .notice-close{flex:none}.confirmation-dialog table{width:100%;min-width:0;table-layout:fixed;margin:10px 0}.confirmation-dialog th,.confirmation-dialog td{width:auto;height:auto;max-height:none;white-space:normal;overflow-wrap:anywhere;overflow:visible;padding:8px 10px;font-size:13px}.confirmation-dialog th:first-child{width:28%}.confirmation-dialog th:not(:first-child){width:36%}.confirmation-dialog h3,.confirmation-dialog p{overflow-wrap:anywhere;white-space:normal}.conflict-list{display:grid;gap:14px;min-width:0}.conflict-record{min-width:0;padding:12px;border:1px solid var(--border);background:var(--canvas);border-radius:5px}.conflict-record h3{margin:0;font-size:14px;line-height:1.5}.confirmation-dialog .form-actions{display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:-24px;background:var(--surface);padding:14px 0;margin:0;border-top:1px solid var(--divider);z-index:2}@media(min-width:1001px){.main-grid{grid-template-rows:auto auto auto}.entry-column{gap:12px}.stats-panel .chart-title{height:48px;min-height:48px}}@media(min-width:1200px)and (min-height:850px){.stats-panel .chart-wrap{min-height:340px;height:auto}.entry-column{align-self:stretch}}@media(max-width:560px){.confirmation-dialog{padding:16px;width:calc(100vw - 20px)}.confirmation-dialog .section-heading h2{font-size:17px}.confirmation-dialog th,.confirmation-dialog td{padding:7px 5px;font-size:12px}.confirmation-dialog .form-actions{bottom:-16px}.conflict-record{padding:8px}.stats-panel .chart-wrap{min-height:260px}}.entry-column{gap:12px;display:flex;flex-direction:column;align-self:stretch}.account-panel{flex:none}.account-panel .account-info-card{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;width:100%;cursor:default;overflow:visible}.account-card-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:0;background:transparent;text-align:left;color:var(--ink)}.account-card-identity>span:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}.account-card-identity strong{font-size:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-card-identity small,.account-card-identity>span>span{color:var(--muted)}.account-config-link{display:inline-flex;align-items:center;gap:8px;flex:none;font-size:12px}.account-card-insights{padding:12px 16px;min-width:0}.account-card-insights p{margin:0;font-size:12px;color:var(--muted);line-height:1.6}.account-insight-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);line-height:1.5}.account-insight-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.account-insight-metrics>span,.account-insight-metrics>button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:8px;border:1px solid var(--divider);background:var(--surface);color:var(--ink);text-align:left;border-radius:5px}.account-insight-metrics small{font-size:10px;color:var(--muted);line-height:1.5}.account-insight-metrics strong{font-size:17px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.account-insight-metrics>.anomaly-alert{border-color:#cc9e64}.record-fab{position:fixed;right:calc(28px + env(safe-area-inset-right,0px));bottom:calc(28px + env(safe-area-inset-bottom,0px));z-index:10;display:grid;place-items:center;width:60px;height:60px;padding:0;border-radius:5px;border:1px solid #18647c;box-shadow:0 5px 18px #0004}.record-fab .ui-icon{--ggs: 1.15}.record-fab-badge{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:5px;background:#fff1df;color:#8c551f;font-size:11px;border:1px solid #cc9e64}.app-shell{padding-bottom:100px}.insight-dialog{width:min(660px,calc(100vw - 32px));max-width:660px;max-height:calc(100dvh - 40px);padding:24px;overflow:auto}.insight-dialog .section-heading{height:auto;min-height:48px;margin:0 0 16px}.insight-dialog p{font-size:13px;line-height:1.6}.insight-review-list{display:grid;gap:8px;margin:16px 0}.insight-review-list>button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border);background:var(--canvas);text-align:left;color:var(--ink)}.insight-review-list>button>span:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}.insight-review-list small{font-size:12px;color:var(--muted)}.insight-review-list>button>span:last-child{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.insight-dialog .form-actions{justify-content:flex-end}@media(min-width:1001px){.main-grid{grid-template-columns:minmax(440px,2fr) minmax(0,3fr);align-items:stretch}.main-grid>.stats-panel{min-height:680px}.entry-column>.account-panel .section-heading{height:58px;min-height:58px}}@media(min-width:1200px)and (min-height:850px){.main-grid{grid-template-rows:minmax(680px,calc(100dvh - 150px)) auto auto}}@media(max-width:560px){.account-card-identity,.account-card-insights{padding:12px}.account-insight-metrics{gap:5px}.account-insight-metrics>span,.account-insight-metrics>button{padding:6px}.account-insight-metrics strong{font-size:15px}.record-fab{width:54px;height:54px;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px))}.insight-dialog{padding:16px}.insight-review-list>button{padding:10px;gap:8px}.insight-review-list strong{font-size:13px}.insight-review-list>button>span:last-child{font-size:11px}}.account-panel .account-info-card,.account-switch-list .account-info-card{border-radius:5px}.account-card-header{display:flex;align-items:center;gap:12px;padding-right:16px;min-width:0}.account-card-identity{border-radius:5px;flex:1;min-width:0;width:100%;border-left:4px solid var(--account-color)}.account-config-link{padding:8px;border:1px solid var(--border);background:var(--canvas);color:var(--ink)}.account-info-card .record-fab{position:relative;inset:auto;flex:none;width:40px;height:40px;border-radius:5px;border:1px solid var(--ink);box-shadow:none;color:var(--surface);z-index:auto}.account-switch-list{display:grid;gap:12px;margin-top:16px}.account-switch-list .account-info-card{padding:0;width:100%;border:1px solid var(--border)}.account-switch-list [aria-current=true]{background:var(--hover)}@media(max-width:560px){.account-card-header{gap:6px;padding-right:10px}.account-card-identity strong{font-size:17px}.account-card-identity>span>span{font-size:11px}.account-config-link{gap:5px;font-size:11px;padding:7px}}.app-shell{--control-height: 36px;--insight-height: 132px;display:grid;gap:var(--grid-gap);padding:18px 24px 100px}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;margin:0;gap:16px}.header-actions{display:flex;gap:12px}.main-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--grid-gap);align-items:stretch}.main-grid>.entry-column{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--grid-gap);justify-items:stretch;min-width:0;min-height:0}.main-grid>.entry-column>.panel{width:100%;justify-self:stretch}.main-grid .panel{padding:var(--panel-padding);min-width:0;min-height:0}.main-grid .panel>.section-heading{height:var(--heading-height);min-height:var(--heading-height);margin:0}.main-grid .panel>.section-heading h2{font-size:18px;line-height:1.3}.main-grid .account-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--heading-height) 222px;gap:var(--grid-gap);height:var(--account-height)}.main-grid .account-info-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:88px var(--insight-height);justify-content:stretch;justify-items:stretch;width:100%;height:222px;padding:0;gap:0;min-width:0}.main-grid .account-info-card>.account-card-identity,.main-grid .account-info-card>.account-card-insights{width:100%;min-width:0;justify-self:stretch}.main-grid .account-card-identity{height:88px;padding:12px;gap:10px}.main-grid .account-config-link{gap:6px;font-size:11px}.main-grid .account-card-identity{border-left:4px solid var(--account-color);background:color-mix(in srgb,var(--account-color) 6%,var(--surface))}.main-grid .account-card-identity strong{color:var(--account-color)}.main-grid .account-chips .account-selection-chip{border-left:3px solid var(--account-color);background:color-mix(in srgb,var(--account-color) 6%,var(--surface))}.main-grid .account-chips .account-selection-chip:has(input:checked){background:color-mix(in srgb,var(--account-color) 10%,var(--surface))}.main-grid .account-selection-chip input:checked+.gg-shape-rhombus{color:var(--account-color)}.account-chip-name,.account-name-cell{font-weight:600}.account-name-cell:before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:5px;background:var(--account-color);vertical-align:1px}.main-grid .account-card-insights{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:24px minmax(0,1fr);gap:10px;height:var(--insight-height);min-height:var(--insight-height);max-height:var(--insight-height);padding:12px}.main-grid .account-insight-heading{min-width:0;height:24px}.main-grid .account-insight-heading>.account-insight-caption{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.main-grid .account-insight-heading>.help-tip{flex:none;overflow:visible;width:22px;min-width:22px}.main-grid .account-insight-metrics{margin:0;min-height:0;height:100%}.main-grid .account-insight-metrics{gap:6px}.main-grid .account-insight-metrics>span,.main-grid .account-insight-metrics>button{justify-content:center;padding:6px;gap:4px}.main-grid .account-card-insights>p{grid-row:1 / -1;align-self:center;max-height:104px;overflow:auto;overflow-wrap:anywhere}.main-grid .filters .date-button,.main-grid .filters .select-trigger,.main-grid .analysis-controls .select-trigger,.main-grid .history-controls .select-trigger,.main-grid .history-controls>button{height:var(--control-height);min-height:var(--control-height);padding:6px 8px;font-size:13px}.main-grid .range-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;height:var(--control-height)}.main-grid .range-buttons button{height:var(--control-height);padding:4px 2px}.main-grid .stats-panel{display:grid;gap:var(--grid-gap);overflow:visible}.main-grid .stats-panel .chart-title{height:48px;min-height:48px;margin:0;padding:0}.main-grid .stats-panel .chart-wrap{height:100%;min-height:0;max-height:none;margin:0;flex:none!important}.main-grid .history-controls>label{display:grid;grid-template-columns:auto minmax(0,1fr);min-width:0}.main-grid .history-controls .select-trigger{min-width:0;width:100%}.main-grid .history-controls>span{text-align:center}footer{margin:0;padding-top:0}@media(min-width:1200px)and (min-height:850px){.main-grid{grid-template-rows:minmax(844px,calc(100dvh - 150px)) auto}}@media(min-width:1280px)and (max-width:1399px){.main-grid .account-insight-metrics small{font-size:9px;line-height:12px}.main-grid .account-insight-metrics strong{font-size:14px;line-height:18px}}@media(max-width:1279px){.app-shell{padding:18px 16px 90px}.main-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto}.main-grid>.entry-column,.main-grid>.stats-panel{grid-column:1 / -1}.main-grid>.entry-column{grid-template-rows:var(--account-height) auto}.main-grid .stats-panel{min-height:692px}.main-grid .history-controls>span{width:auto;order:initial}}@media(max-width:560px){.app-shell{--panel-padding: 12px;--account-height: 320px;padding:12px 10px 90px}.topbar{grid-template-columns:minmax(0,1fr);gap:10px}.header-actions{justify-content:flex-start}.main-grid .panel>.section-heading h2{font-size:16px}.main-grid .account-card-identity,.main-grid .account-card-insights{padding-inline:10px}.main-grid .account-insight-metrics{gap:5px}.main-grid .account-insight-metrics>span,.main-grid .account-insight-metrics>button{padding:5px}.main-grid .stats-panel{grid-template-rows:var(--heading-height) 48px minmax(260px,1fr) 218px;min-height:644px}.main-grid .history-controls>label:nth-child(3){grid-column:1 / -1;grid-row:2}.main-grid .history-controls>button:nth-child(4){grid-column:1;grid-row:4}.main-grid .history-controls>button:nth-child(6){grid-column:2;grid-row:4}.main-grid .history-controls>span{grid-column:1 / -1;grid-row:3}.main-grid .history-controls>button{width:100%}}.main-grid .account-switch-list .account-info-card{height:auto;grid-template-rows:auto}.main-grid .account-switch-list .account-card-identity{height:auto;min-height:88px}.main-grid .account-card-header{background:color-mix(in srgb,var(--account-color) 6%,var(--surface))}.main-grid .account-card-header .account-card-identity{background:transparent}.main-grid .account-config-link{border:0;background:transparent;color:var(--account-color)}.main-grid .account-card-insights{position:relative;padding-right:64px}.main-grid .account-card-insights .record-fab{position:absolute;inset:auto 12px 12px auto;width:40px;height:40px;border-radius:5px;border:0;z-index:10;box-shadow:0 3px 10px #0002}.record-dialog .product-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0;padding:12px;min-width:0}@media(max-width:560px){.record-dialog .product-list{grid-template-columns:1fr}.record-dialog .product-row{padding:10px}.record-dialog .product-row>label{justify-content:space-between}.main-grid .stats-panel .chart-title{height:auto;min-height:48px;gap:8px}.chart-title>div{min-width:0}}.account-insight-metrics>.account-analysis-status{grid-column:span 2;justify-content:center;font-size:12px;line-height:1.5}.history-dialog>.section-heading{margin:0 0 12px}.history-dialog .history-panel{padding:0;border:0;box-shadow:none;background:transparent;min-width:0}.history-dialog .history-panel:before{display:none}.history-dialog .history-panel>.section-heading{margin:0;min-height:48px}.history-dialog .history-panel>.filters{display:grid;margin:0}.history-dialog .history-controls{display:flex;flex-wrap:wrap;align-items:center;margin:0}.history-dialog .history-controls>label{display:flex;align-items:center;gap:8px}.history-dialog .history-panel>.table-scroll{overflow:auto;min-width:0}.history-dialog .history-table th{position:sticky;top:0;z-index:1}@media(max-width:560px){.modal.history-dialog{padding:12px;width:calc(100vw - 20px)}.history-dialog .history-panel>.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.history-dialog .history-panel>.filters>label:first-child{grid-column:1/-1}.history-dialog .history-controls{gap:8px}}.anomaly-review-row{display:flex;align-items:stretch;gap:8px}.anomaly-review-row>button:first-child{display:flex;flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px;text-align:left}.anomaly-review-row>button:first-child>span{display:flex;flex-direction:column;gap:6px}.anomaly-review-row .ignore-anomaly-button{flex:none;padding:8px 12px}.ignore-anomaly-dialog .ignore-confirmation-option{gap:8px;min-height:32px}.ignore-anomaly-dialog .ignore-confirmation-option>input[type=checkbox]{position:static;opacity:1;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;flex:none;width:18px!important;height:18px!important;min-height:0;margin:0;padding:0;accent-color:var(--ink)}.ignore-anomaly-dialog .ignore-confirmation-option>input[type=checkbox]:focus-visible{outline:2px solid #4D9DE0;outline-offset:3px}.record-context-info{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;font-size:15px;color:var(--muted)}.record-context-info strong{font-size:16px;color:var(--ink);overflow-wrap:anywhere}.record-dialog .product-row .record-product-input{max-width:none;min-width:0;text-align:right}:root{color-scheme:light;--palette-blue: #4D9DE0;--palette-red: #E84855;--palette-yellow: #FFC759;--palette-green: #74D3AE;--palette-purple: #745C97;--canvas: #EEF4F9;--surface: #FFFFFF;--ink: #26364C;--muted: #5D6F83;--border: #B8CAD9;--divider: #D9E4ED;--hover: #E4EFF8;--accent: #4D9DE0;--accent-ink: #102D47;--heading: #294C6A;--heading-ink: #FFFFFF;--danger: #AD2336;--warning-bg: #FFF3D5;--warning-ink: #78551B}:root[data-mode=dark]{color-scheme:dark;--canvas: #162230;--surface: #202F40;--ink: #EDF4FA;--muted: #ACBED0;--border: #50677D;--divider: #354B61;--hover: #2B435A;--accent: #74D3AE;--accent-ink: #102D25;--heading: #263B52;--heading-ink: #EDF4FA;--danger: #FF8A96;--warning-bg: #443B27;--warning-ink: #FFC759}.topbar{border-bottom-color:var(--ink)}.section-kicker{color:var(--heading-ink)}.header-actions{align-items:center;justify-content:flex-end}input,select,textarea,.date-button,.select-trigger{color:var(--ink);background-color:var(--surface);border-color:var(--border);accent-color:var(--accent)}input::placeholder,textarea::placeholder{color:var(--muted)}.button-primary{background:var(--accent);color:var(--accent-ink)}.record-fab{background:var(--accent)}.button-secondary,.calendar button,.chip-scroll{color:var(--ink)}.text-button,.insight-review-list>button>span:last-child{color:var(--accent)}.danger-text{color:var(--danger)}.flagged-record,.flagged-record[data-hovered=true],.changed,.account-insight-metrics>.anomaly-alert{background:var(--warning-bg);color:var(--warning-ink)}.flagged-record .date-cell:after,.account-insight-metrics .anomaly-alert small{color:var(--warning-ink)}.calendar .selected,.calendar button:hover{background:var(--accent);color:var(--accent-ink)}.product-toggles button{background:var(--heading);color:var(--heading-ink)}.select-menu,.modal,.help-content{background:var(--surface);color:var(--ink)}.select-menu .active,.select-menu [role=option][aria-selected=true]{background:var(--hover);color:var(--ink)}.recharts-cartesian-axis-tick-value{fill:var(--muted)}.recharts-tooltip-wrapper .recharts-default-tooltip{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--border)!important}.recharts-tooltip-label{color:var(--ink)}.comparison-sort:hover,.comparison-sort:focus-visible{color:var(--accent)}th,.records-panel .history-table th.actions-cell{background:var(--heading);color:var(--heading-ink)}.history-table tr[data-hovered=true] td.actions-cell{background:var(--hover)}.history-table .flagged-record td.actions-cell,.history-table .flagged-record[data-hovered=true] td.actions-cell{background:var(--warning-bg)}:root[data-mode=dark] .account-name-cell{color:color-mix(in srgb,var(--account-color) 30%,var(--ink))!important}:root[data-mode=dark] .recharts-legend-item-text{color:var(--ink)!important}.record-fab,.main-grid .account-card-insights .record-fab{color:#fff}:root[data-mode=dark] .main-grid :is(.account-card-identity strong,.account-config-link){color:color-mix(in srgb,var(--account-color) 30%,var(--ink))}:root[data-mode=dark] :is(.topbar p,.form-hint,.stats-footnote,.chart-title p,.chart-unit,.empty-chart,.empty-chart strong,.empty-table,footer,.muted-cell,.date-cell,.product-row label,.record-form label,.filters label,.modal label,td,th){color:var(--muted)}:root[data-mode=dark] :is(td,.date-cell,.product-row label){color:var(--ink)}:root[data-mode=dark] .notice-success{background:#243d33;color:#b4e8ca;border-color:#426955}:root[data-mode=dark] .notice-error{background:#462f30;color:#ffd0c6;border-color:#85544d}:root[data-mode=dark] input[type=checkbox]+.gg-shape-rhombus{color:var(--muted)}:root[data-mode=dark] input[type=checkbox]:checked+.gg-shape-rhombus{color:var(--accent)}:root[data-mode=dark] tbody tr[data-hovered=true]{background:var(--hover)}.panel{box-shadow:0 3px 12px #00000008}button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}@media(max-width:1100px){.topbar{grid-template-columns:1fr}.header-actions{justify-content:flex-start;flex-wrap:wrap}}body{background:var(--canvas)}:root :is(.account-name-cell,.account-chip-name,.account-card-identity strong,.account-config-link){color:color-mix(in srgb,var(--account-color) 25%,var(--ink))!important}:root[data-mode=dark] :is(.account-name-cell,.account-chip-name,.account-card-identity strong,.account-config-link){color:color-mix(in srgb,var(--account-color) 30%,var(--ink))!important}:root .main-grid .account-card-insights .record-fab{color:#163249}:root .comparison-sort:hover,:root .comparison-sort:focus-visible{color:var(--accent)}.account-selection-chip input:checked+.gg-shape-rhombus{color:var(--account-color)}.account-theme-picker{display:grid;gap:8px;font-size:15px;color:var(--muted)}.account-theme-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.account-theme-swatch{width:32px;height:32px;min-height:32px;border:2px solid transparent;border-radius:5px;display:grid;place-items:center;padding:0;color:#172b40}.account-theme-swatch[aria-pressed=true]{border-color:var(--ink);outline:2px solid var(--surface);outline-offset:-4px}.account-theme-swatch:disabled{opacity:.25;cursor:not-allowed}.account-theme-options .account-custom-color{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-variant-numeric:tabular-nums}.account-custom-color input[type=color]{width:36px;height:32px;min-height:32px;padding:2px;border-radius:5px;cursor:pointer}.account-theme-error{color:var(--danger);font-size:12px;margin:0}:root .product-toggles button[aria-pressed=true]{background:color-mix(in srgb,var(--product-color) 18%,var(--surface));color:var(--ink);border-color:var(--product-color)}:root .product-toggles button[aria-pressed=true] .product-label{color:var(--ink)}.modal.record-dialog,.modal.history-dialog{padding:16px;border-radius:5px}.modal.record-dialog>.section-heading,.modal.history-dialog>.section-heading{height:auto;min-height:32px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--divider);background:transparent}.modal.record-dialog>.section-heading h2,.modal.history-dialog>.section-heading h2{font-size:18px;margin:0;letter-spacing:0}.modal.record-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px)}.record-dialog .record-dialog-form{gap:10px}.record-dialog .record-dialog-context{grid-template-columns:minmax(0,1fr) 160px;gap:12px;align-items:center;padding:0 0 10px;border-bottom:1px solid var(--divider)}.record-identity{display:flex;flex-direction:column;gap:4px;min-width:0}.record-identity strong{font-size:15px;overflow-wrap:anywhere}.record-identity>span{font-size:12px;color:var(--muted)}.record-dialog .record-dialog-context>label{gap:4px;font-size:11px;grid-column:auto}.record-dialog .date-button{min-height:32px;height:32px;padding:5px 8px;font-size:13px}.record-dialog .product-list{display:grid;grid-template-columns:1fr;gap:6px}.record-dialog .product-list .product-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;min-height:44px;padding:5px 8px;gap:10px;border-top:0;border-right:0;border-bottom:0;background:var(--surface)}.record-dialog .product-row>label{display:flex;flex-direction:row;align-items:center;font-size:13px;margin:0}.record-dialog .product-row .product-icon{width:22px;height:22px}.record-dialog .product-row .record-product-input{height:32px;min-height:32px;width:100%;padding:4px 8px;font-size:16px;font-variant-numeric:tabular-nums}.record-dialog .record-dialog-actions{position:static;gap:6px;bottom:auto;padding:10px 0 0;margin:0}.record-dialog .record-dialog-actions .button{min-width:64px;min-height:32px;padding:5px 12px;font-size:13px}.record-dialog-actions .record-draft-button{margin-right:auto}.record-dialog .drafts{padding:8px;margin:0;border:1px solid var(--divider)}.record-dialog .draft-header h3{font-size:12px;margin:0}.record-dialog .draft-list{min-height:0;max-height:84px}.record-dialog .draft-row{margin:0;padding:4px 0;font-size:12px}.record-dialog .draft-footer .button{min-height:28px;padding:4px 8px;font-size:12px}.modal.history-dialog{width:min(736px,calc(100vw - 24px));max-height:90dvh}.history-dialog .history-panel{gap:10px}.history-dialog .history-panel>.filters{grid-template-columns:minmax(150px,1.2fr) repeat(2,minmax(130px,1fr)) auto;gap:8px;align-items:end}.history-dialog .filters>label{gap:4px;font-size:11px}.history-dialog .filters .select-trigger,.history-dialog .filters .date-button{min-height:32px;height:32px;padding:5px 8px;font-size:13px}.history-refresh{display:flex;align-items:center;gap:4px}.history-refresh .button{min-height:32px;padding:5px 10px;font-size:12px}.history-dialog .history-table{min-width:686px;table-layout:fixed;font-size:13px}.history-dialog .history-table th,.history-dialog .history-table td{padding:7px 9px;height:34px;white-space:nowrap;font-size:12px;letter-spacing:0}.history-dialog .history-table th:nth-last-child(n+2):nth-last-child(-n+5),.history-dialog .history-table td:nth-last-child(n+2):nth-last-child(-n+5){text-align:right;font-variant-numeric:tabular-nums}.history-dialog .history-table .product-label{justify-content:flex-end;font-size:12px;gap:4px}.history-dialog .history-table .product-icon{width:18px;height:18px}.history-dialog .history-table .row-actions{gap:8px;flex-wrap:nowrap}.history-dialog .history-table .text-button{font-size:12px;white-space:nowrap;padding:2px}.history-dialog .history-controls{justify-content:space-between;gap:8px;border-top:1px solid var(--divider);padding-top:8px}.history-sort-controls,.history-pagination{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.history-dialog .history-controls label{display:flex;flex-direction:row;align-items:center;gap:5px;font-size:12px}.history-dialog .history-controls .select-trigger{min-width:76px;min-height:30px;padding:4px 7px;font-size:12px}.history-dialog .history-controls button{min-height:30px;padding:4px 8px;font-size:12px}.history-dialog .history-controls [role=status]{font-size:12px;color:var(--muted)}.comparison-table table{table-layout:fixed;min-width:560px;width:100%;font-variant-numeric:tabular-nums}.comparison-table th:first-child{width:25%}.comparison-table th:not(:first-child){width:12.5%}.comparison-table th:not(:first-child),.comparison-table td:not(:first-child){text-align:right}.comparison-table th:not(:first-child) .comparison-sort,.comparison-table .comparison-heading{justify-content:flex-end}.comparison-table th:first-child .comparison-heading{justify-content:flex-start}.comparison-table .comparison-sort{min-height:24px;gap:4px}.comparison-table td:first-child{overflow-wrap:anywhere}.comparison-table .empty-table{padding:12px;font-size:12px}@media(max-width:700px){.history-dialog .history-panel>.filters{grid-template-columns:1fr 1fr}.history-dialog .history-panel>.filters>label:first-child{grid-column:auto}.history-refresh{justify-content:flex-end}.history-dialog .history-controls{align-items:flex-start}.history-pagination{justify-content:flex-end}.comparison-table table{min-width:560px}}@media(max-width:400px){.modal.record-dialog,.modal.history-dialog{padding:12px}.record-dialog .record-dialog-context{grid-template-columns:minmax(0,1fr) 145px;gap:8px}.record-dialog .product-list .product-row{grid-template-columns:minmax(0,1fr) 125px}.record-dialog .record-dialog-actions .button{min-width:58px;padding-inline:8px}}.modal.record-dialog>.section-heading,.modal.history-dialog>.section-heading{color:var(--ink);border-left:0;box-shadow:none}.modal.record-dialog>.section-heading .notice-close,.modal.history-dialog>.section-heading .notice-close{color:var(--ink)}.record-dialog .product-list{background:transparent;border:0;box-shadow:none;padding:0}.record-dialog .product-list .product-row>label{color:var(--ink)}.modal.history-dialog[open]{display:flex;flex-direction:column;height:min(760px,90dvh);overflow:hidden}.modal.history-dialog>.section-heading{flex:none}.history-dialog .history-panel{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.history-dialog .history-panel>.filters,.history-dialog .history-controls{flex:none}.history-dialog .history-panel>.table-scroll{flex:1;min-height:80px;max-height:none}.history-dialog .history-controls label{white-space:nowrap;flex:none}.history-dialog .history-controls [role=status]{white-space:nowrap}.modal.history-dialog:has(.history-table[data-all-accounts=true]){width:min(832px,calc(100vw - 24px))}.history-dialog .history-table[data-all-accounts=true]{min-width:782px}.history-dialog .history-table .history-layout-cell,.history-dialog .history-table .account-name-cell{overflow:hidden;text-overflow:ellipsis}.modal.history-dialog .records-panel.history-panel .history-table{width:686px;min-width:686px;max-width:none;table-layout:fixed}.modal.history-dialog .records-panel.history-panel .history-table[data-all-accounts=true]{width:782px;min-width:782px}.modal.history-dialog .records-panel.history-panel .history-table th,.modal.history-dialog .records-panel.history-panel .history-table td{width:auto;min-width:0;max-width:none;padding:6px 8px}.modal.history-dialog .records-panel.history-panel .history-table .row-actions .text-button{min-width:0;width:auto}.topbar{position:relative}.header-actions .color-mode-toggle{position:static;flex-shrink:0;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:6px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--ink)}.header-actions .color-mode-toggle[aria-pressed=true]{background:var(--surface);color:var(--ink)}.topbar .service-status{margin:0;color:var(--muted)}footer a{color:var(--accent);text-underline-offset:3px}.main-grid{grid-template-rows:auto}.main-grid .stats-panel{min-height:600px}.main-grid .stats-panel .chart-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-settings-button{display:grid;place-items:center;flex:none;width:32px;height:32px;min-height:32px;padding:6px;border:1px solid var(--border);background:var(--surface);color:var(--ink)}.main-grid .stats-panel .chart-wrap{position:relative;padding:50px 6px 64px;overflow:visible}.chart-plot{height:100%;min-height:0;width:100%}.chart-wrap>.account-chips-bar{position:absolute;top:10px;right:10px;max-width:calc(100% - 30px);height:32px;display:flex;align-items:center;gap:4px;margin:0;padding:3px 6px;border:1px solid var(--divider);border-radius:5px;background:color-mix(in srgb,var(--surface) 78%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:4}.chart-wrap .account-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;height:24px;margin:0;overflow:auto;scrollbar-width:none}.chart-wrap .account-chips label{display:flex;align-items:center;flex:none;gap:5px;padding:2px 6px;min-height:24px;white-space:nowrap;font-size:12px;border-width:1px;border-radius:5px}.chart-wrap .account-chips input{width:16px;height:16px}.chart-wrap .chip-scroll{width:24px;height:24px;min-height:24px;padding:3px;flex:none}.chart-wrap .chart-account{font-size:12px;white-space:nowrap}.chart-wrap>.product-toggle-area{position:absolute;bottom:10px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 20px);padding:0;margin:0;border:0;z-index:4}.chart-wrap .product-toggles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;height:auto;min-height:0;margin:0}.chart-wrap .product-toggles button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;height:32px;min-height:32px;padding:5px 10px;font-size:12px;border-radius:5px}.chart-wrap .product-label{flex-direction:row;gap:4px;white-space:nowrap}.chart-wrap .product-icon{width:18px;height:18px}.modal.chart-filters-dialog{width:min(460px,calc(100vw - 24px));padding:16px}.chart-filters-dialog>.section-heading{height:auto;min-height:32px;margin:0 0 12px;padding:0 0 10px;border:0;border-bottom:1px solid var(--divider);background:transparent;color:var(--ink);box-shadow:none}.chart-filters-dialog>.section-heading h2{margin:0;font-size:18px}.chart-filters-dialog .notice-close{color:var(--ink)}.chart-filters-dialog .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.chart-filters-dialog .filters label{gap:5px;min-width:0;font-size:12px}.chart-filters-dialog .filters .date-button,.chart-filters-dialog .filters .select-trigger{min-height:32px;height:32px;padding:5px 8px;font-size:13px}.chart-filters-dialog .checkbox-label{min-height:28px;gap:6px}.chart-filters-dialog .analysis-controls{margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--divider)}.chart-filters-dialog .range-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.chart-filters-dialog .range-buttons button{min-height:30px;padding:4px;font-size:12px;white-space:nowrap}.chart-filters-dialog .form-actions{margin-top:12px;padding-top:12px;border-top:1px solid var(--divider)}@media(max-width:560px){.main-grid .stats-panel{min-height:550px}.chart-wrap .product-toggles{gap:4px}.chart-wrap .product-toggles button{padding:4px 7px;font-size:11px}.chart-wrap .product-icon{display:none}}.main-grid>.entry-column{align-content:start}.main-grid>.comparison-table{width:100%;max-width:100%;min-width:0;height:auto;min-height:0;max-height:320px;margin:0;gap:0;overflow:hidden}.main-grid>.comparison-table>.table-scroll{width:100%;min-width:0;max-height:320px;overflow:auto}.main-grid .comparison-table th,.main-grid .comparison-table td{letter-spacing:0}.main-grid .comparison-table th{position:sticky;top:0;z-index:1}.main-grid .stats-panel{grid-template-rows:var(--heading-height) 48px minmax(320px,1fr)}.main-grid>.comparison-table{background:var(--surface);border-radius:5px}.main-grid .comparison-table table{width:100%;min-width:0;table-layout:fixed;background:var(--surface)}.main-grid .comparison-table th:first-child{width:22%}.main-grid .comparison-table th:nth-child(2){width:12%}.main-grid .comparison-table th:nth-child(3){width:24%}.main-grid .comparison-table th:nth-child(4){width:22%}.main-grid .comparison-table th:nth-child(5){width:20%}.main-grid .comparison-table th,.main-grid .comparison-table td{padding:5px;font-size:11px}.main-grid .comparison-table td:not(:first-child){white-space:nowrap}.main-grid .comparison-table th:nth-child(2),.main-grid .comparison-table td:nth-child(2){text-align:center}.main-grid .comparison-table th:nth-child(2) .comparison-sort{justify-content:center}.main-grid .comparison-table .help-trigger{width:16px;min-width:16px}.main-grid>.panel.comparison-table{background:var(--surface);border:1px solid var(--divider);border-radius:5px}.main-grid>.panel.comparison-table>.table-scroll{position:relative;min-width:0}@media(min-width:1280px)and (min-height:760px){.app-shell{height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:18px 24px 12px;gap:12px}.app-shell>.topbar,.app-shell>footer{min-height:0;margin:0}.app-shell>footer{padding:0}.app-shell>.main-grid{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}.main-grid>.entry-column{min-height:0;grid-template-rows:var(--account-height) minmax(0,1fr)}.main-grid>.panel.comparison-table{align-self:start;max-height:100%;min-height:0;overflow:hidden}.main-grid>.panel.comparison-table>.table-scroll{min-height:0;flex:1;overflow:auto}.main-grid>.stats-panel{height:100%;min-height:0;grid-template-rows:var(--heading-height) 48px minmax(0,1fr)}.main-grid .stats-panel .chart-wrap{min-height:0;max-height:none}}.app-shell>.main-grid{grid-template-rows:var(--account-height) minmax(0,1fr)}.main-grid>.entry-column{grid-column:1 / span 4;grid-row:1;grid-template-rows:var(--account-height)}.main-grid>.stats-panel{grid-column:5 / -1;grid-row:1 / span 2}.main-grid>.panel.comparison-table{grid-column:1 / span 4;grid-row:2;align-self:start;padding:12px;gap:10px;max-height:100%;min-height:0;overflow:hidden}.main-grid>.panel.comparison-table>.section-heading{height:44px;min-height:44px;padding:5px 8px}.main-grid>.panel.comparison-table>.section-heading h2{font-size:16px;line-height:1.25}.main-grid>.panel.comparison-table>.section-heading .section-kicker{font-size:9px;line-height:1.2}.main-grid>.panel.comparison-table>.table-scroll{flex:1;max-height:240px;min-height:0}.main-grid .comparison-table th,.main-grid .comparison-table td{height:34px;vertical-align:middle;line-height:20px}.main-grid .comparison-table .comparison-heading,.main-grid .comparison-table .comparison-sort{align-items:center;gap:4px;line-height:20px}.main-grid .comparison-table .sort-icon{order:-1;display:block;width:8px;height:12px}.main-grid .comparison-table th:first-child .comparison-sort{justify-content:flex-start}.main-grid .comparison-table .account-name-cell:before{vertical-align:0;margin-right:5px}@media(max-width:1279px),(orientation:portrait){.app-shell{height:auto;min-height:100dvh;grid-template-rows:auto auto auto;padding-bottom:12px}.app-shell>.main-grid{height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}.main-grid>.entry-column{grid-column:1;grid-row:1;grid-template-rows:var(--account-height)}.main-grid>.stats-panel{grid-column:1;grid-row:2;height:clamp(480px,65dvh,760px);min-height:0;grid-template-rows:var(--heading-height) 48px minmax(0,1fr)}.main-grid>.panel.comparison-table{grid-column:1;grid-row:3;max-height:none}}:root{--radius: 5px;--ui-shadow: 0 3px 12px color-mix(in srgb,var(--ink) 7%,transparent);font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;line-height:1.45}body{background-color:var(--canvas);background-image:linear-gradient(color-mix(in srgb,var(--ink) 4%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--ink) 4%,transparent) 1px,transparent 1px);background-size:64px 64px;color:var(--ink)}.app-shell{background:transparent}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}:root :is(.panel,.modal,.select-menu,.select-trigger,.date-button,.button,.calendar button,.account-info-card,.account-card-header,.account-card-identity,.product-row,.product-toggles button,.account-selection-chip,.record-fab,.toast,.help-content,.table-scroll,.account-theme-swatch,.color-mode-toggle,.chart-settings-button,.chip-scroll,.drafts,input,select,textarea){border-radius:5px}:root .panel{background:var(--surface);border:1px solid var(--divider);box-shadow:var(--ui-shadow)}:root .panel:before{display:none}.topbar{border-bottom:1px solid var(--border);box-shadow:none;padding-bottom:14px}.topbar h1{font-size:28px;font-weight:700;line-height:1.25;letter-spacing:-.03em;margin:5px 0 6px}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--muted);font-weight:600}.topbar .service-status{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.02em}.section-heading{background:var(--heading);color:var(--heading-ink);background-image:none;border:0;border-left:3px solid var(--palette-blue);box-shadow:none;border-radius:5px}.main-grid .panel>.section-heading{padding:8px 12px}.section-heading h2{font-size:17px;line-height:1.25;letter-spacing:.02em;font-weight:600;margin:1px 0 0}.section-kicker{font-size:9px;font-weight:500;letter-spacing:.14em;line-height:1.4;opacity:.7}:root .section-heading .help-trigger{color:var(--heading-ink);opacity:.75}:root .main-grid .account-card-header{background:color-mix(in srgb,var(--account-color) 6%,var(--surface));box-shadow:none;border:0;border-left:3px solid var(--account-color);padding-right:10px}:root .main-grid .account-card-header .account-card-identity{background:transparent;border:0;padding:12px;gap:10px}.main-grid .account-card-identity strong{font-size:22px;font-weight:600;letter-spacing:.03em}.account-card-identity small{font-size:10px;line-height:1.4}.account-card-identity>span>span{font-size:11px}.account-card-identity .gg-chevron-right{opacity:.65}:root .main-grid .account-config-link{border:1px solid color-mix(in srgb,var(--account-color) 25%,var(--border));padding:5px 7px;gap:6px;font-size:11px;min-height:28px;white-space:nowrap}.account-card-insights{background:var(--surface);border-top:0}.account-insight-heading{font-size:10px}:root .account-insight-metrics>span,:root .account-insight-metrics>button{background:color-mix(in srgb,var(--canvas) 55%,var(--surface));border:1px solid var(--divider);box-shadow:none;border-radius:5px}.main-grid .account-insight-metrics small{font-size:10px;line-height:1.4}.main-grid .account-insight-metrics strong{font-size:19px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}:root .account-insight-metrics>.anomaly-alert{border-color:color-mix(in srgb,var(--palette-red) 45%,var(--divider));background:color-mix(in srgb,var(--palette-red) 8%,var(--surface));color:var(--danger)}:root .account-insight-metrics>.anomaly-alert small{color:var(--danger)}:root .main-grid .account-card-insights .record-fab{border:1px solid color-mix(in srgb,var(--account-color) 70%,var(--ink));border-radius:5px;box-shadow:none}:root .button{min-height:32px;padding:6px 12px;font-size:13px;font-weight:500;line-height:1.3;border-radius:5px;box-shadow:none}:root .button-primary{background:var(--accent);color:var(--accent-ink);border:1px solid color-mix(in srgb,var(--accent) 70%,var(--ink))}:root .button-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--border)}:root :is(button,input,select,textarea):not(:disabled):hover,:root :is(button,input,select,textarea):not(:disabled):active{box-shadow:none}:root .button:not(:disabled):hover{filter:brightness(.97);border-color:var(--accent)}:root button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}:root :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea,.date-button,.select-trigger){border:1px solid var(--border);background-color:var(--surface);color:var(--ink);border-radius:5px;box-shadow:none}:root :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:var(--accent);outline:none;box-shadow:none}.record-form label,.modal label{color:var(--muted);font-size:12px;line-height:1.5}.date-button,.select-trigger{font-size:13px;min-height:32px}:root .select-menu{border:1px solid var(--border);background:var(--surface);border-radius:5px}:root .select-menu [role=option]{font-size:13px}:root .select-menu [role=option][aria-selected=true]{background:color-mix(in srgb,var(--palette-blue) 12%,var(--surface));color:var(--ink)}:root .select-menu [role=option]:hover{background:var(--hover);box-shadow:none}.chart-product{font-size:15px;font-weight:600;padding-bottom:3px}.chart-title p{color:var(--muted)}:root .chart-settings-button,:root .header-actions .color-mode-toggle{border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:5px;box-shadow:none}:root .main-grid .stats-panel .chart-wrap{border:1px solid var(--divider);background:color-mix(in srgb,var(--surface) 65%,var(--canvas));border-radius:5px}:root .chart-wrap>.account-chips-bar{border:1px solid var(--border);border-radius:5px;background:color-mix(in srgb,var(--surface) 82%,transparent);box-shadow:0 2px 6px color-mix(in srgb,var(--ink) 6%,transparent)}:root .chart-wrap .account-chips label{border-radius:5px;background:color-mix(in srgb,var(--account-color) 6%,var(--surface));font-size:11px}:root .chart-wrap .account-chips label:has(input:checked){background:color-mix(in srgb,var(--account-color) 20%,var(--surface))}:root .chart-wrap .product-toggles button{border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:5px;box-shadow:none}:root .chart-wrap .product-toggles button[aria-pressed=true]{border:1px solid var(--product-color);border-bottom:3px solid var(--product-color);background:color-mix(in srgb,var(--product-color) 15%,var(--surface));color:var(--ink)}:root .chart-wrap .product-toggles button .product-label{color:inherit}:root .chart-wrap .product-toggles .product-icon{filter:none}:root .table-scroll{border:1px solid var(--divider);border-radius:5px;background:var(--surface);scrollbar-width:thin;scrollbar-color:var(--border) transparent}table{font-variant-numeric:tabular-nums;letter-spacing:0}:root th,:root .records-panel .history-table th.actions-cell{background:var(--heading);color:var(--heading-ink);border-bottom:1px solid var(--border);font-weight:500}:root td{border-bottom:1px solid var(--divider);color:var(--ink)}:root tbody tr:nth-child(2n){background:color-mix(in srgb,var(--canvas) 60%,var(--surface))}:root tbody tr[data-hovered=true]{background:var(--hover)}:root tbody tr:last-child td{border-bottom:0}:root .comparison-table .comparison-sort{color:var(--heading-ink)}:root .comparison-table .comparison-sort:hover{background:color-mix(in srgb,var(--palette-blue) 25%,transparent);color:var(--heading-ink)}:root .sort-arrow.active{fill:var(--palette-blue)}:root .comparison-table>.section-heading{border-left-color:var(--palette-purple)}:root .comparison-table td.account-name-cell{font-weight:500}:root .history-table .row-actions .text-button{color:var(--accent);font-weight:500}:root .history-table .row-actions .danger-text{color:var(--danger)}:root .history-table .flagged-record,:root .history-table .flagged-record td.actions-cell{background:var(--warning-bg)}:root .modal{border:1px solid var(--border);border-radius:5px;box-shadow:0 16px 50px color-mix(in srgb,#102030 25%,transparent);background:var(--surface);color:var(--ink)}.modal::backdrop{background:color-mix(in srgb,#142333 50%,transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}:root .modal>.section-heading{margin:0 0 14px;padding:0 0 10px 10px;background:transparent;color:var(--ink);border:0;border-left:3px solid var(--palette-blue);border-bottom:1px solid var(--divider);border-radius:5px;box-shadow:none}:root .modal>.section-heading h2{letter-spacing:0;color:var(--ink);margin:0}:root .modal>.section-heading .notice-close{color:var(--muted);background:transparent;border:0;border-radius:5px}:root .record-dialog .record-identity{border-left:3px solid var(--palette-purple);padding-left:8px}.record-dialog .record-identity strong{font-size:15px;font-weight:600}.record-dialog .record-identity>span{font-size:11px}:root .record-dialog .product-list .product-row{background:color-mix(in srgb,var(--canvas) 45%,var(--surface));border:1px solid var(--divider);border-left:3px solid var(--product-color);border-radius:5px;box-shadow:none}:root .record-dialog .product-row>label{color:var(--ink)}:root .record-dialog .product-icon{filter:none}:root .record-dialog .record-product-input{font-size:17px;font-weight:500;background:var(--surface);border-radius:5px}:root .form-hint{font-size:11px;line-height:1.6;color:var(--muted)}:root .help-content{background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:5px;box-shadow:var(--ui-shadow);font-size:11px}:root .drafts{background:color-mix(in srgb,var(--canvas) 50%,var(--surface));border:1px solid var(--divider);border-radius:5px}:root .insight-review-list>button,:root .anomaly-review-row>button{border:1px solid var(--divider);background:var(--surface);border-radius:5px}:root .account-theme-options .account-theme-swatch{border-radius:5px}:root .notice,:root .toast{border-radius:5px;box-shadow:var(--ui-shadow)}footer{font-size:11px;color:var(--muted);letter-spacing:.02em}footer a{font-weight:500}:root[data-mode=dark] .panel,:root[data-mode=dark] .modal{box-shadow:none}:root[data-mode=dark] .account-card-header{border-bottom:1px solid var(--border)}@media(max-width:700px){.topbar h1{font-size:24px}.section-heading h2{font-size:16px}.main-grid .panel>.section-heading{padding-inline:9px}.chart-title .chart-product{font-size:14px}}:root{--motion-quick: .12s;--motion-soft: .18s;--motion-ease: cubic-bezier(.2,.75,.25,1)}:root :is(button,input,select,textarea,[role=option],.checkbox-label,.account-chips label){transition:background-color var(--motion-quick) ease,border-color var(--motion-quick) ease,color var(--motion-quick) ease,opacity var(--motion-quick) ease,scale var(--motion-quick) var(--motion-ease),translate var(--motion-soft) var(--motion-ease)!important}:root :is(.button,.calendar button,.chart-settings-button,.color-mode-toggle,.chip-scroll,.record-fab,.account-theme-swatch,.range-buttons button):not(:disabled):hover{translate:0 -1px}:root :is(.button,.calendar button,.chart-settings-button,.color-mode-toggle,.chip-scroll,.record-fab,.account-theme-swatch,.range-buttons button,.product-toggles button):not(:disabled):active{scale:.97;translate:0 0}:root :is(.text-button,.notice-close,.help-trigger):not(:disabled):active{scale:.95}:root button:disabled{opacity:.4;filter:none;cursor:not-allowed;scale:1;translate:none}:root .select-control{font-size:13px}:root .select-trigger{min-height:32px;padding:6px 9px;box-shadow:none}:root .select-trigger[aria-expanded=true]{background:color-mix(in srgb,var(--palette-blue) 8%,var(--surface));border-color:var(--accent);box-shadow:none}.select-trigger>.gg-chevron-down{flex:none;transition:rotate var(--motion-soft) var(--motion-ease)}.select-trigger[aria-expanded=true]>.gg-chevron-down{rotate:180deg}:root .select-menu{padding:4px;max-height:240px;overflow-y:auto;scrollbar-width:thin;box-shadow:0 8px 24px color-mix(in srgb,var(--ink) 12%,transparent);transform-origin:top center;animation:ui-menu-in var(--motion-soft) var(--motion-ease) both}:root .select-menu [role=option]{padding:7px 9px;border-radius:5px;border:1px solid transparent;line-height:1.45;cursor:pointer}:root .select-menu [role=option][aria-selected=true]{border-left:2px solid var(--palette-blue);padding-left:8px}:root .select-menu [role=option].active{background:var(--hover)}:root .select-menu [role=option][aria-disabled=true]{opacity:.4;cursor:not-allowed}:root .mobile-select{min-height:32px;padding:6px 9px;font-size:13px;border-radius:5px}:root .mobile-select option{background:var(--surface);color:var(--ink)}:root .checkbox-label{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:12px}.checkbox-label .gg-shape-rhombus,.account-chips .gg-shape-rhombus{transition:color var(--motion-quick) ease,scale var(--motion-soft) var(--motion-ease)}:root input[type=checkbox]:checked+.gg-shape-rhombus{color:var(--accent);scale:1.08}:root .account-chips input[type=checkbox]:checked+.gg-shape-rhombus{color:var(--account-color)}:root .account-theme-swatch[aria-pressed=true]>span{animation:ui-check-in var(--motion-soft) var(--motion-ease)}:root .calendar{gap:4px;font-variant-numeric:tabular-nums}:root .calendar>span{padding:5px;font-size:11px;color:var(--muted)}:root .calendar button{min-height:34px;border:1px solid transparent;background:color-mix(in srgb,var(--canvas) 50%,var(--surface));color:var(--ink);border-radius:5px;font-size:13px}:root .calendar button.selected{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}:root .calendar button:not(:disabled):hover{border-color:var(--accent)}:root .calendar-nav{margin-bottom:12px;gap:8px}:root .calendar-nav button{min-height:30px;width:30px;padding:6px;background:var(--surface);border:1px solid var(--divider);border-radius:5px}:root .range-buttons button{min-height:30px;border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:5px}:root .range-buttons button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--palette-blue) 14%,var(--surface));color:var(--ink)}:root .date-button .ui-icon{color:var(--muted);flex:none}:root .account-switch-list .account-info-card{border:1px solid var(--divider);border-radius:5px;box-shadow:none;overflow:hidden}:root .account-switch-list .account-card-identity{border-radius:5px}:root .account-switch-list .account-card-identity[aria-current=true]{background:color-mix(in srgb,var(--account-color) 9%,var(--surface));box-shadow:inset 3px 0 var(--account-color)}:root .insight-review-list :is(button,.anomaly-review-row){border-radius:5px}:root .text-button{padding:4px 6px;min-height:26px;font-size:12px;border-radius:5px}:root .text-button:not(:disabled):hover{background:color-mix(in srgb,var(--palette-blue) 10%,transparent)}:root .text-button.danger-text:not(:disabled):hover{background:color-mix(in srgb,var(--palette-red) 10%,transparent)}:root .modal[open]{animation:ui-dialog-in .2s var(--motion-ease) both}:root .modal[open]::backdrop{animation:ui-fade-in .16s ease-out both}:root .toast:popover-open{animation:ui-toast-in var(--motion-soft) var(--motion-ease) both}:root .notice-success{background:color-mix(in srgb,var(--palette-green) 15%,var(--surface));color:var(--ink);border:1px solid color-mix(in srgb,var(--palette-green) 60%,var(--border))}:root .notice-error{background:color-mix(in srgb,var(--palette-red) 12%,var(--surface));color:var(--ink);border:1px solid color-mix(in srgb,var(--palette-red) 55%,var(--border))}:root .help-content{translate:0 3px;transition:opacity .14s ease,translate .16s var(--motion-ease),visibility .14s ease!important}:root .help-tip[data-hovered=true] .help-content,:root .help-tip:focus-within .help-content{translate:0 0}:root .chart-wrap>.account-chips-bar{transition:background-color var(--motion-soft) ease,border-color var(--motion-quick) ease}:root tbody tr{transition:background-color var(--motion-quick) ease}@keyframes ui-menu-in{0%{opacity:0;translate:0 -3px;scale:.985}to{opacity:1;translate:0 0;scale:1}}@keyframes ui-dialog-in{0%{opacity:0;translate:0 7px;scale:.99}to{opacity:1;translate:0 0;scale:1}}@keyframes ui-toast-in{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes ui-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ui-check-in{0%{opacity:0;scale:.8}to{opacity:1;scale:1}}@media(hover:none){:root :is(.button,.calendar button,.chart-settings-button,.color-mode-toggle,.chip-scroll,.record-fab,.account-theme-swatch,.range-buttons button):not(:disabled):hover{translate:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}:root button{translate:none!important;scale:1!important}.help-content{translate:none!important}}:root .select-menu:popover-open{position:fixed;inset:auto;margin:0;min-width:0;max-width:calc(100vw - 16px);box-sizing:border-box;z-index:1000}:root{--control-size: 34px;--icon-size: 18px;--heading-height: 48px;--account-height: 304px;--panel-padding: 16px;--grid-gap: 12px}.app-shell{--heading-height: 48px;--account-height: 304px;--panel-padding: 16px;--grid-gap: 12px}:root .main-grid .panel>.section-heading,:root .main-grid>.panel.comparison-table>.section-heading{height:var(--heading-height);min-height:var(--heading-height);padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.main-grid .panel>.section-heading>div{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0}:root .main-grid .panel>.section-heading h2{font-size:16px;line-height:20px;margin:0}:root .main-grid .panel>.section-heading .section-kicker{font-size:9px;line-height:12px;letter-spacing:.12em}:root .main-grid .account-panel{height:var(--account-height);grid-template-rows:var(--heading-height) minmax(0,1fr);gap:12px}:root .main-grid .account-info-card{height:100%;min-height:0;grid-template-rows:80px minmax(0,1fr)}:root .main-grid .account-card-header{height:80px;display:flex;align-items:center}:root .main-grid .account-card-header .account-card-identity{height:80px;min-height:0;flex:1;min-width:0}:root .main-grid .account-card-insights{height:auto;min-height:0;max-height:none;padding:10px 56px 10px 10px;grid-template-rows:20px minmax(0,1fr);gap:8px}:root .main-grid .account-insight-heading{height:20px;line-height:20px;align-items:center}:root .main-grid .account-insight-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;height:100%;min-height:0}:root .main-grid .account-insight-metrics>span,:root .main-grid .account-insight-metrics>button{min-height:0;height:100%;padding:6px;display:flex;align-items:flex-start;justify-content:center;gap:5px}:root .main-grid .account-insight-metrics small{line-height:16px;font-size:10px}:root .main-grid .account-insight-metrics strong{line-height:23px;font-size:18px;white-space:nowrap}:root .main-grid .account-insight-metrics>.account-analysis-status{grid-column:span 2;white-space:normal;font-size:11px;line-height:16px}:root .main-grid .account-card-insights .record-fab{width:34px;height:34px;right:10px;bottom:10px;display:grid;place-items:center;padding:0}:root .main-grid>.panel.comparison-table{padding:var(--panel-padding);gap:12px}:root .main-grid>.stats-panel{grid-template-rows:var(--heading-height) 44px minmax(0,1fr)}:root .main-grid .stats-panel .chart-title{height:44px;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0;gap:12px}.chart-title>div{display:flex;flex-direction:column;justify-content:center;min-width:0}.chart-title .chart-product{font-size:15px;line-height:20px}.chart-title p{font-size:11px;line-height:16px;margin:0}:root :is(.button,.date-button,.select-trigger,.mobile-select,.chart-settings-button,.color-mode-toggle,.chip-scroll){height:var(--control-size);min-height:var(--control-size);padding:6px 10px;line-height:20px;font-size:13px;box-sizing:border-box}:root .button{display:inline-flex;align-items:center;justify-content:center;gap:7px}:root .date-button,:root .select-trigger{display:inline-flex;align-items:center;gap:7px}:root .date-button,:root .select-trigger{justify-content:space-between;text-align:left;width:100%}:root :is(.chart-settings-button,.color-mode-toggle,.chip-scroll){display:inline-grid;place-items:center;width:var(--control-size);padding:7px;flex:none}:root .ui-icon{--ggs: .8;flex-shrink:0}:root :is(.help-trigger,.notice-close){display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;padding:3px;line-height:18px;flex:none}:root .help-tip{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none}:root .help-trigger .ui-icon{margin:0}:root .help-trigger-label{width:auto;padding-inline:6px}:root :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),textarea,select){min-height:var(--control-size);padding:6px 9px;line-height:20px;font-size:13px;box-sizing:border-box}:root input:not([type=checkbox]):not([type=radio]):not([type=color]),:root select{height:var(--control-size)}:root .filters{align-items:end;gap:12px}:root .filters>label:not(.checkbox-label),:root .record-dialog-context>label{display:grid;grid-template-rows:18px var(--control-size);align-items:stretch;gap:5px;font-size:12px;line-height:18px;min-width:0}:root .filters>label:not(.checkbox-label)>.select-control{height:var(--control-size);min-width:0}:root .filters>.checkbox-label{height:var(--control-size);min-height:var(--control-size);display:flex;align-items:center;gap:7px;padding:0;line-height:20px}:root .filters :is(.date-button,.select-trigger,.mobile-select){height:var(--control-size);min-height:var(--control-size)}:root .form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}:root .form-actions .button{min-height:var(--control-size);height:var(--control-size);padding:6px 12px;font-size:13px}:root .record-dialog .record-dialog-context{align-items:end;grid-template-columns:minmax(0,1fr) 160px;gap:12px}:root .record-dialog .record-identity{min-height:57px;justify-content:center}:root .record-dialog .product-list .product-row{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:12px;padding:6px 8px}:root .record-dialog .product-row>label{display:flex;align-items:center;gap:6px;min-width:0;font-size:13px;line-height:20px;margin:0}:root .record-dialog .product-row .record-product-input{height:var(--control-size);min-height:var(--control-size);font-size:16px;padding:6px 9px;line-height:20px;width:100%;text-align:right}:root .product-label{display:inline-flex;align-items:center;gap:6px;line-height:20px;vertical-align:middle}:root .product-label .product-icon{width:20px;height:20px;object-fit:contain;flex:none;margin:0}:root .chart-wrap .product-toggles{gap:6px;align-items:stretch}:root .chart-wrap .product-toggles button{min-height:var(--control-size);height:var(--control-size);display:flex;align-items:center;justify-content:center;font-size:12px;padding:5px 9px}:root .chart-wrap .product-toggles button[aria-pressed=true]{padding-top:4px;padding-bottom:2px}:root .chart-wrap .product-toggles .product-label{font-size:12px;line-height:20px;gap:5px}:root .chart-wrap .product-toggles .product-icon{width:18px;height:18px}:root .chart-wrap .account-chips label{display:flex;align-items:center;justify-content:center;min-height:24px;height:24px;gap:5px;line-height:18px;padding:2px 6px;box-sizing:border-box}:root .chart-wrap .account-chips .gg-shape-rhombus{margin:3px}:root .main-grid .comparison-table th,:root .main-grid .comparison-table td{height:36px;padding:6px 5px;font-size:11px;line-height:20px;vertical-align:middle;box-sizing:border-box}:root .comparison-table .comparison-heading{display:flex;align-items:center;min-height:22px;line-height:20px;gap:4px}:root .comparison-table .comparison-sort{display:flex;align-items:center;justify-content:flex-end;min-height:22px;height:22px;padding:0;line-height:20px;font-size:11px;gap:4px}:root .comparison-table .comparison-sort>span{display:block;line-height:20px}:root .comparison-table .sort-icon{display:block;order:-1;width:8px;height:12px;flex:none;margin:0}:root .comparison-table th:first-child .comparison-sort{justify-content:flex-start}:root .comparison-table th:nth-child(2) .comparison-sort{justify-content:center}:root .history-dialog .history-table :is(th,td){height:36px;padding:6px 8px;line-height:20px;vertical-align:middle;font-size:12px}:root .history-table .product-label{font-size:12px;line-height:20px;gap:4px}:root .history-table .product-icon{width:18px;height:18px}:root .history-table .row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:nowrap}:root .history-table .row-actions .text-button{height:26px;min-height:26px;padding:3px 5px;line-height:20px;font-size:12px;white-space:nowrap}:root .history-controls,:root .history-sort-controls,:root .history-pagination{align-items:center;gap:8px}:root .history-controls label{display:flex;align-items:center;gap:6px;line-height:20px;height:var(--control-size)}:root .history-controls :is(button,.select-trigger,.mobile-select){height:var(--control-size);min-height:var(--control-size);padding:6px 9px;font-size:12px;line-height:20px}:root .account-theme-options{align-items:center;gap:8px}:root .account-theme-swatch{width:var(--control-size);height:var(--control-size);min-height:var(--control-size);display:grid;place-items:center;padding:0;box-sizing:border-box}:root .account-custom-color{height:var(--control-size);display:flex;align-items:center;gap:8px}:root .account-custom-color input[type=color]{height:var(--control-size);width:var(--control-size);min-height:var(--control-size);padding:2px;flex:none}:root .modal>.section-heading{display:flex;align-items:center;justify-content:space-between;min-height:38px;height:38px;gap:12px}:root .modal>.section-heading h2{font-size:18px;line-height:24px;min-width:0}@media(max-width:560px){:root .record-dialog .record-dialog-context{grid-template-columns:minmax(0,1fr) 145px;gap:10px}:root .record-dialog .product-list .product-row{grid-template-columns:minmax(0,1fr) 120px;gap:8px}:root .chart-wrap .product-toggles button{padding-inline:7px;font-size:11px}:root .chart-wrap .product-toggles .product-label{font-size:11px}:root .chart-wrap .product-toggles .product-icon{display:none}:root .main-grid .panel>.section-heading{padding-inline:9px}}:root .main-grid .account-card-header{transition:background-color .18s ease,border-color .18s ease}@media(prefers-reduced-motion:reduce){:root .main-grid .account-card-header{transition:none}}
