:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}.sales-entry-overview-panel{min-width:0}.sales-entry-overview-controls{grid-template-columns:160px 150px 150px minmax(220px,1fr) 110px;align-items:end;gap:14px;margin-top:24px;display:grid}.sales-entry-overview-controls input[type=date]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;cursor:pointer}.sales-entry-overview-query-button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;height:48px;padding:0 18px;font-size:14px;font-weight:800}.sales-entry-overview-query-button:hover{background:#1d4ed8}.sales-entry-overview-query-button:disabled{opacity:.6;cursor:not-allowed}.sales-entry-overview-summary,.sales-entry-overview-results{margin-top:28px}.sales-entry-overview-table-wrap{max-height:min(65vh,760px);overflow:auto}.dashboard-table.sales-entry-overview-table{min-width:1180px}.dashboard-table.sales-entry-overview-table th,.dashboard-table.sales-entry-overview-table td{text-align:left}.sales-entry-overview-table thead th{z-index:1;position:sticky;top:0}.sales-entry-overview-status-cell,.sales-entry-overview-activity-cell,.sales-entry-overview-manage-cell{text-align:center!important}.sales-entry-overview-status-badge{color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:4px 10px;font-size:12px;font-weight:800;display:inline-flex}.sales-entry-overview-status-badge.corporate,.sales-entry-overview-status-badge.ledger,.sales-entry-overview-status-badge.both_resolved{color:#15803d;background:#f0fdf4;border-color:#86efac}.sales-entry-overview-status-badge.zero_sales{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.sales-entry-overview-status-badge.closed_manual,.sales-entry-overview-status-badge.closed_auto_missing{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.sales-entry-overview-status-badge.partial{color:#b45309;background:#fffbeb;border-color:#fde68a}.sales-entry-overview-status-badge.missing,.sales-entry-overview-status-badge.both_missing{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.sales-entry-overview-activity-cell{color:#475569;font-variant-numeric:tabular-nums}.sales-entry-overview-manage-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;min-height:34px;padding:0 13px;font-size:13px;font-weight:800}.sales-entry-overview-manage-button:hover{background:#dbeafe;border-color:#60a5fa}@media (width<=900px){.sales-entry-overview-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-entry-overview-search-field{grid-column:1/-1}}@media (width<=640px){.sales-entry-overview-controls{grid-template-columns:1fr}.sales-entry-overview-search-field{grid-column:auto}.sales-entry-overview-query-button{width:100%}}html,#root{min-width:0;min-height:100%;box-shadow:none;background:#f3f6fb;border:0;outline:0}body{color:#1f2937;box-shadow:none;background:#f3f6fb;border:0;outline:0;margin:0;font-family:Pretendard,Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-x:hidden}.admin-page{width:100%;min-height:100vh;box-shadow:none;background:#f3f6fb;border:0;outline:0;justify-content:center;align-items:flex-start;padding:32px;display:flex}.upload-card{width:min(720px,100%);min-width:0;box-shadow:none;background:#fff;border:1px solid #d9e2f3;border-radius:10px;padding:34px}.login-card{width:min(440px,100%)}.login-form{gap:18px;display:grid}.login-form .upload-button{margin-top:6px}.session-restore-status{color:#475569;text-align:center;padding:24px 12px;font-size:14px;font-weight:700}.login-message{color:#fecaca;background:#7f1d1d47;border:1px solid #f8717159;border-radius:8px;padding:14px;font-size:14px;line-height:1.5}.session-bar{border-bottom:1px solid #d9e2f3;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;padding-bottom:18px;display:flex}.session-user{color:#1e3a8a;font-size:14px;font-weight:700}.logout-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:88px;height:38px;padding:0 14px;font-weight:700}.logout-button:hover{color:#1d4ed8;border-color:#93c5fd}.access-card{width:min(560px,100%)}.access-card .header-group{margin-bottom:0}.workspace-card{width:min(1680px,100vw - 64px);max-width:calc(100vw - 64px);box-shadow:none;border-color:#d9e2f3;flex:0 0 min(1680px,100vw - 64px);padding:28px;overflow:visible}.app-layout{grid-template-columns:190px minmax(0,1fr);align-items:start;gap:14px;display:grid;overflow:visible}.app-sidebar{background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-self:start;min-width:0;max-height:calc(100vh - 48px);padding:10px;position:sticky;top:24px;overflow-y:auto}.app-main{width:100%;min-width:0}.tab-list{border-bottom:1px solid #d9e2f3;gap:6px;margin-bottom:32px;display:flex;overflow-x:auto}.tab-button{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;min-height:44px;padding:0 18px;font-size:15px;font-weight:800}.tab-button:hover{color:#1d4ed8}.tab-button.active{color:#1d4ed8;border-bottom-color:#3b82f6}.side-nav{border-bottom:0;gap:4px;margin-bottom:0;display:grid;overflow:visible}.side-nav-button{color:#334155;text-align:left;border:1px solid #0000;border-radius:6px;justify-content:flex-start;align-items:center;width:100%;min-height:40px;padding:0 10px;display:flex}.side-nav-button:hover,.side-nav-button.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.dashboard-panel,.performance-panel,.yearly-lookup-panel,.account-management-panel,.upload-panel{width:100%;min-width:0;max-width:none}.upload-panel{max-width:720px;margin:0 auto}.dashboard-header{margin-bottom:18px}.dashboard-toolbar{border-top:1px solid #d9e2f3;border-bottom:1px solid #d9e2f3;padding:12px 0}.dashboard-basis{gap:5px;display:grid}.dashboard-basis strong{color:#1e3a8a;font-size:18px}.dashboard-basis span{color:#64748b;font-size:13px}.performance-controls{grid-template-columns:repeat(auto-fit,minmax(160px,1fr)) 120px;align-items:end;gap:14px;display:grid}.performance-controls input[type=date]{color:#1f2937;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;cursor:pointer;padding-right:12px}.performance-controls input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.85}.performance-search-button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;height:48px;padding:0 18px;font-size:15px;font-weight:800}.performance-search-button:hover{background:#1d4ed8}.performance-search-button:disabled{opacity:.6;cursor:not-allowed}.performance-results{margin-top:32px}.performance-results .table-wrap{max-height:min(62vh,720px);overflow:auto}.performance-capture-area{background:#fff}.performance-capture-status{color:#166534;text-align:right;margin:0 0 10px;font-size:13px;font-weight:700}.performance-capture-status.error{color:#b91c1c}.yearly-lookup-controls{grid-template-columns:140px 160px minmax(160px,1fr) minmax(160px,1fr) 120px 150px;align-items:end;gap:14px;display:grid}.yearly-lookup-search-button,.yearly-lookup-download-button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;height:48px;padding:0 18px;font-size:15px;font-weight:800}.yearly-lookup-search-button:hover{background:#1d4ed8}.yearly-lookup-download-button{background:#047857}.yearly-lookup-download-button:hover{background:#065f46}.yearly-lookup-search-button:disabled,.yearly-lookup-download-button:disabled{opacity:.6;cursor:not-allowed}.yearly-sheet-tabs{gap:8px;margin-top:22px;padding-bottom:8px;display:flex;overflow-x:auto}.yearly-sheet-tab{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex:none;min-width:64px;height:38px;padding:0 14px;font-weight:800}.yearly-sheet-tab:hover,.yearly-sheet-tab.active{color:#1d4ed8;background:#eff6ff;border-color:#3b82f6}.yearly-sheet-tab:disabled{opacity:.65;cursor:wait}.yearly-lookup-results{margin-top:30px}.yearly-lookup-results .section-heading{gap:10px}.yearly-view-action-bar{flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;display:flex}.yearly-view-button.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.yearly-lookup-counts{color:#475569;flex-wrap:wrap;justify-content:flex-end;gap:12px;font-size:13px;font-weight:700;display:flex}.yearly-lookup-table-wrap{background:#fff;border:1px solid #cbd5e1;border-radius:6px;max-height:65vh;overflow:auto}.yearly-lookup-table{width:max-content;min-width:100%}.yearly-lookup-table th,.yearly-lookup-table td{box-sizing:border-box;color:#1f2937;min-width:96px}.yearly-lookup-table thead th{z-index:3;color:#1e3a8a;text-align:center;background:#d9e2f3;border-bottom:1px solid #b7c7df;border-right:1px solid #cbd5e1;height:42px;position:sticky;top:0}.yearly-lookup-table thead tr:nth-child(2) th{z-index:4;color:#1e3a8a;background:#e8eef7;top:42px}.yearly-lookup-table .yearly-period-group-header{background:#d9e2f3;box-shadow:inset 3px 0 #2563eb,inset -1px 0 #aebfd8}.yearly-lookup-table .yearly-period-start{box-shadow:inset 3px 0 #2563eb}.yearly-lookup-table thead tr:first-child th:first-child,.yearly-lookup-table tbody td:first-child{width:220px;min-width:220px;max-width:220px}.yearly-lookup-table thead tr:first-child th:nth-child(2),.yearly-lookup-table tbody td:nth-child(2){width:120px;min-width:120px}.yearly-lookup-table thead tr:first-child th:nth-child(3),.yearly-lookup-table tbody td:nth-child(3){width:100px;min-width:100px}.yearly-lookup-table thead tr:first-child th:nth-child(4),.yearly-lookup-table tbody td:nth-child(4){width:130px;min-width:130px}.yearly-lookup-table thead tr:first-child th:nth-child(5),.yearly-lookup-table tbody td:nth-child(5),.yearly-lookup-table thead tr:first-child th:nth-child(6),.yearly-lookup-table tbody td:nth-child(6){width:110px;min-width:110px}.yearly-lookup-table tbody td{text-align:right}.yearly-lookup-table tbody td:nth-child(-n+6){text-align:center}.yearly-lookup-table tbody td:first-child{text-align:left}.yearly-lookup-table .yearly-store-name-sticky{z-index:5;box-sizing:border-box;text-overflow:ellipsis;background-color:#fff;background-clip:border-box;width:220px;min-width:220px;max-width:220px;position:sticky;left:0;overflow:hidden;box-shadow:1px 0 #cbd5e1}.yearly-lookup-table thead .yearly-store-name-sticky{z-index:7;background-color:#d9e2f3}.yearly-lookup-table .yearly-summary-row .yearly-store-name-sticky{background-color:#fff2cc}.yearly-lookup-table tbody tr:hover .yearly-store-name-sticky{background-color:#eef6ff}.yearly-lookup-table tbody tr.yearly-summary-row:hover .yearly-store-name-sticky{background-color:#fff2cc}.yearly-lookup-table .yearly-summary-row td{color:#111827;background:#fff2cc;font-weight:700}.account-management-panel{gap:24px;display:grid}.account-management-panel .header-group{margin-bottom:0}.account-section{background:#fff;border:1px solid #d9e2f3;border-radius:8px;min-width:0;padding:22px}.account-form-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;display:grid}.account-form-grid input:disabled,.account-form-grid select:disabled{color:#475569;cursor:not-allowed;opacity:.7;background:#f8fafc}.account-form-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.account-search-row{align-items:flex-end;gap:10px;margin:14px 0 18px;display:flex}.account-search-field{flex:1}.account-primary-button,.account-secondary-button{cursor:pointer;border-radius:8px;min-width:110px;height:42px;padding:0 16px;font-weight:800}.account-primary-button{color:#fff;background:#2563eb;border:0}.account-secondary-button{color:#334155;background:#fff;border:1px solid #cbd5e1}.account-primary-button:disabled,.account-secondary-button:disabled{opacity:.55;cursor:not-allowed}.account-feedback{border:1px solid;border-radius:8px;padding:14px 16px;font-size:14px}.account-feedback.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.account-feedback.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.account-active-field{color:#334155;align-items:center;gap:9px;margin-top:18px;font-weight:700;display:inline-flex}.account-active-field input{width:18px;height:18px}.account-password-form{grid-template-columns:minmax(220px,420px) 1fr;align-items:end;gap:16px;display:grid}.account-password-form .account-form-actions{margin-top:0}.account-table-wrap{max-height:60vh;overflow:auto}.account-table{min-width:1500px}.account-table th,.account-table td{text-align:left}.account-status{border-radius:999px;justify-content:center;min-width:54px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.account-status.active{color:#166534;background:#dcfce7}.account-status.inactive{color:#991b1b;background:#fee2e2}.account-row-actions{gap:8px;display:flex}.account-row-actions button{color:#1d4ed8;white-space:nowrap;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;height:34px;padding:0 11px;font-weight:700}.dashboard-status{color:#475569;text-align:center;background:#f8fafc;border:1px solid #d9e2f3;border-radius:8px;margin-top:24px;padding:16px}.dashboard-status.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.dashboard-results{gap:32px;margin-top:32px;display:grid}.dashboard-section{border-top:1px solid #d9e2f3;min-width:0;padding-top:24px}.dashboard-area-section{gap:18px;display:grid}.dashboard-subsection{min-width:0}.dashboard-subheading{color:#1e3a8a;margin-bottom:12px;font-size:15px;font-weight:800}.section-heading{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px;display:flex}.section-heading h2{color:#1f2937;margin:0;font-size:20px}.section-heading span{color:#64748b;font-size:13px}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.summary-metric{background:#fff;border:1px solid #d9e2f3;border-radius:8px;min-width:0;padding:16px}.summary-metric span{color:#64748b;margin-bottom:8px;font-size:13px;display:block}.summary-metric strong{overflow-wrap:anywhere;color:#1e3a8a;font-size:21px;line-height:1.2;display:block}.table-wrap{background:#fff;border:1px solid #cbd5e1;border-radius:6px;max-width:100%;overflow-x:auto}.dashboard-table{border-collapse:collapse;font-variant-numeric:tabular-nums;background:#fff;width:100%;min-width:1080px}.dashboard-table th,.dashboard-table td{color:#1f2937;text-align:right;white-space:nowrap;border:1px solid #d9e2f3;padding:9px 10px;font-size:13px}.dashboard-table thead th{color:#1e3a8a;background:#e8eef7;font-weight:800}.dashboard-table th:first-child,.dashboard-table td:first-child{text-align:left}.dashboard-table tbody th{color:#111827}.dashboard-table tbody tr:last-child th,.dashboard-table tbody tr:last-child td{border-bottom:1px solid #d9e2f3}.performance-table{min-width:3600px}.performance-table.performance-table--summary{min-width:1300px}.performance-table.performance-table--rates{min-width:900px}.performance-table.performance-table--summary-item{min-width:800px}.performance-table.performance-table--rates-item{min-width:650px}.performance-table.performance-table--premium-summary{min-width:800px}.performance-table.performance-table--premium-rates{min-width:900px}.performance-table.performance-table--premium-rates-item{min-width:650px}.performance-results .performance-table{border-collapse:separate;border-spacing:0}.performance-results .performance-table thead th{z-index:5;background-color:#e8eef7;position:sticky;top:0}.dashboard-wide-table{min-width:1800px}.dashboard-panel{color:#1f2937;gap:0;display:grid}.dashboard-panel .dashboard-header{margin-bottom:18px}.dashboard-panel .dashboard-header h1{color:#111827}.dashboard-panel .dashboard-header .description{color:#64748b}.dashboard-panel .dashboard-toolbar{background:#f8fafc;border:1px solid #d9e2f3;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin-top:4px;padding:12px 16px;display:flex}.dashboard-panel .dashboard-basis{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.dashboard-panel .dashboard-basis strong{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;min-height:30px;padding:5px 11px;font-size:14px;line-height:1.2;display:inline-flex}.dashboard-panel .dashboard-basis span{color:#64748b;font-size:13px}.dashboard-scope-controls{justify-items:end;gap:5px;display:grid}.dashboard-scope-toggle{grid-template-columns:repeat(2,minmax(88px,1fr));gap:6px;display:grid}.dashboard-scope-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-height:34px;padding:6px 14px;font-size:13px;font-weight:800}.dashboard-scope-button:hover:not(:disabled){color:#1d4ed8;border-color:#93c5fd}.dashboard-scope-button.active{color:#1d4ed8;background:#eff6ff;border-color:#3b82f6}.dashboard-scope-button:disabled{cursor:not-allowed;opacity:.55}.dashboard-scope-label{color:#64748b;font-size:12px}.dashboard-panel .dashboard-results{gap:22px;margin-top:26px}.dashboard-panel .dashboard-section{box-shadow:none;background:#fff;border:1px solid #d9e2f3;border-radius:8px;padding:20px}.dashboard-panel .dashboard-area-section{gap:14px}.dashboard-panel .national-summary{background:#f8fafc;border:1px solid #d9e2f3;border-radius:6px;padding:14px}.dashboard-panel .dashboard-subheading{color:#1e3a8a;margin-bottom:12px;font-size:14px;font-weight:800}.dashboard-panel .section-heading{border-bottom:1px solid #d9e2f3;align-items:center;margin-bottom:14px;padding-bottom:12px}.dashboard-panel .section-heading h2{color:#111827;font-size:18px}.dashboard-panel .section-heading span{color:#475569;background:#f8fafc;border:1px solid #d9e2f3;border-radius:999px;padding:3px 9px;font-weight:700}.dashboard-panel .summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.dashboard-panel .summary-metric{background:#fff;border-color:#d9e2f3;padding:15px 14px}.dashboard-panel .summary-metric span{color:#64748b;margin-bottom:8px;font-size:12px;font-weight:800}.dashboard-panel .summary-metric strong{color:#1e3a8a;font-size:22px;font-weight:900}.dashboard-panel .table-wrap{background:#fff;border-color:#cbd5e1}.dashboard-panel .dashboard-table{min-width:1120px}.dashboard-panel .dashboard-wide-table{min-width:2400px}.dashboard-panel .dashboard-compact-section{box-sizing:border-box;place-self:start;width:fit-content;max-width:100%;overflow:hidden}.dashboard-panel .dashboard-compact-table-wrap{box-sizing:border-box;width:max-content;max-width:100%;overflow:auto hidden}.dashboard-panel .dashboard-premium-table-wrap{width:fit-content;margin-left:0;margin-right:0}.dashboard-panel .dashboard-premium-section{justify-self:stretch;width:100%}.dashboard-panel .dashboard-subscription-table-wrap{width:100%}.dashboard-panel .dashboard-compact-table{table-layout:auto;width:max-content;min-width:0;max-width:none}.dashboard-panel .dashboard-table.dashboard-compact-table th,.dashboard-panel .dashboard-table.dashboard-compact-table td{min-width:72px;padding:7px 8px}.dashboard-panel .dashboard-table.dashboard-compact-table th:first-child,.dashboard-panel .dashboard-table.dashboard-compact-table td:first-child{min-width:90px}.dashboard-panel .dashboard-table th,.dashboard-panel .dashboard-table td{padding:9px 10px}.dashboard-panel .dashboard-wide-table tbody tr:first-child th,.dashboard-panel .dashboard-wide-table tbody tr:first-child td{color:#111827;background:#fff2cc;font-weight:800}.dashboard-panel .dashboard-table tbody tr:hover th,.dashboard-panel .dashboard-table tbody tr:hover td{background:#eef6ff}.dashboard-panel .dashboard-daily-table th:first-child,.dashboard-panel .dashboard-daily-table td:first-child,.dashboard-panel .dashboard-weekly-table th:first-child,.dashboard-panel .dashboard-weekly-table td:first-child,.dashboard-panel .dashboard-subscription-table th:first-child,.dashboard-panel .dashboard-subscription-table td:first-child{z-index:3;box-sizing:border-box;background-color:#fff;background-clip:border-box;position:sticky;left:0;box-shadow:inset -1px 0 #cbd5e1}.dashboard-panel .dashboard-daily-table thead th:first-child,.dashboard-panel .dashboard-weekly-table thead th:first-child,.dashboard-panel .dashboard-subscription-table thead th:first-child{z-index:5;background-color:#e8eef7}.dashboard-panel .dashboard-daily-table tbody tr:first-child th:first-child,.dashboard-panel .dashboard-daily-table tbody tr:first-child td:first-child,.dashboard-panel .dashboard-weekly-table tbody tr:first-child th:first-child,.dashboard-panel .dashboard-weekly-table tbody tr:first-child td:first-child,.dashboard-panel .dashboard-subscription-table tbody tr:first-child th:first-child,.dashboard-panel .dashboard-subscription-table tbody tr:first-child td:first-child{background-color:#fff2cc}.dashboard-panel .dashboard-daily-table tbody tr:hover th:first-child,.dashboard-panel .dashboard-daily-table tbody tr:hover td:first-child,.dashboard-panel .dashboard-weekly-table tbody tr:hover th:first-child,.dashboard-panel .dashboard-weekly-table tbody tr:hover td:first-child,.dashboard-panel .dashboard-subscription-table tbody tr:hover th:first-child,.dashboard-panel .dashboard-subscription-table tbody tr:hover td:first-child{background-color:#eef6ff}.dashboard-panel .dashboard-daily-table tbody tr:first-child:hover th:first-child,.dashboard-panel .dashboard-daily-table tbody tr:first-child:hover td:first-child,.dashboard-panel .dashboard-weekly-table tbody tr:first-child:hover th:first-child,.dashboard-panel .dashboard-weekly-table tbody tr:first-child:hover td:first-child,.dashboard-panel .dashboard-subscription-table tbody tr:first-child:hover th:first-child,.dashboard-panel .dashboard-subscription-table tbody tr:first-child:hover td:first-child{background-color:#fff2cc}.performance-table th:nth-child(-n+3),.performance-table td:nth-child(-n+3){text-align:left}.performance-results .performance-table th:nth-child(-n+3),.performance-results .performance-table td:nth-child(-n+3){z-index:6;background-color:#fff;background-clip:padding-box;position:sticky}.performance-results .performance-table th:first-child,.performance-results .performance-table td:first-child{width:180px;min-width:180px;max-width:180px;left:0}.performance-results .performance-table th:nth-child(2),.performance-results .performance-table td:nth-child(2){width:110px;min-width:110px;max-width:110px;left:180px}.performance-results .performance-table th:nth-child(3),.performance-results .performance-table td:nth-child(3){width:180px;min-width:180px;max-width:180px;left:290px;box-shadow:1px 0 #cbd5e1,8px 0 10px -10px #0f172a47}.performance-results .performance-table thead th:nth-child(-n+3){z-index:12;background-color:#e8eef7}.performance-results .section-heading{gap:10px}.tree-action-bar{flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;display:flex}.tree-action-button{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-height:30px;padding:0 10px;font-size:12px;font-weight:800}.tree-action-button:hover{color:#1d4ed8;background:#f8fafc;border-color:#93c5fd}.tree-action-button:disabled{cursor:not-allowed;opacity:.55}.tree-action-button:hover:disabled{color:#334155;background:#fff;border-color:#cbd5e1}.tree-action-button.primary{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.tree-action-button.primary:hover{background:#dbeafe;border-color:#60a5fa}.tree-action-button.capture{color:#fff;background:#2563eb;border-color:#93c5fd}.tree-action-button.capture:hover:not(:disabled){color:#fff;background:#1d4ed8;border-color:#2563eb}.tree-clickable-row{cursor:pointer}.tree-region-row{background:#e8eef7}.tree-region-row td{color:#111827;font-weight:700}.tree-manager-row{background:#f8fafc}.tree-clickable-row:hover{background:#eef6ff}.tree-toggle{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800}.tree-toggle:focus-visible{outline-offset:3px;outline:2px solid #60a5fa}.manager-toggle{color:#1e3a8a;padding-left:24px}.tree-store-label{color:#475569;padding-left:52px;display:inline-block}.tree-store-row td{background:#fff}.performance-results .performance-table .tree-region-row td:nth-child(-n+3){background-color:#e8eef7;background-clip:border-box}.performance-results .performance-table .tree-manager-row td:nth-child(-n+3){background-color:#f8fafc;background-clip:border-box}.performance-results .performance-table .tree-store-row td:nth-child(-n+3){background-color:#fff;background-clip:border-box}.performance-results .performance-table tbody tr:hover td:nth-child(-n+3){background-color:#eef6ff;background-clip:border-box}.tree-region-row.tree-national-row{background:#fff2cc}.tree-national-row td{color:#111827;font-weight:700}.performance-results .performance-table .tree-region-row.tree-national-row td:nth-child(-n+3){background-color:#fff2cc;background-clip:border-box}.tree-region-row.tree-national-row:hover{background:#ffedb3}.performance-results .performance-table tbody tr.tree-region-row.tree-national-row:hover td:nth-child(-n+3){background-color:#ffedb3;background-clip:border-box}.national-positive-cell{background-color:#dcfce7!important;background-clip:border-box!important}.national-negative-cell{background-color:#fee2e2!important;background-clip:border-box!important}.store-entry-panel,.download-panel{min-width:0}.download-controls{grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;display:grid}.download-controls select:disabled{color:#475569;cursor:not-allowed;opacity:.65;background:#f8fafc}.download-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.download-search-button,.excel-download-button{cursor:pointer;border-radius:8px;min-width:140px;height:46px;padding:0 18px;font-size:14px;font-weight:800}.download-search-button{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.excel-download-button{color:#fff;background:#2563eb;border:0}.download-search-button:disabled,.excel-download-button:disabled{opacity:.55;cursor:not-allowed}.download-message{color:#047857;text-align:right;margin-top:16px;font-size:14px}.download-results{margin-top:30px}.download-preview-table{min-width:2300px}.download-preview-table th,.download-preview-table td{text-align:left}.daily-download-preview-table{min-width:3000px}.daily-download-preview-table th,.daily-download-preview-table td{text-align:center;white-space:nowrap}.daily-download-preview-table tfoot th,.daily-download-preview-table tfoot td{color:#111827;background:#fff2cc;font-weight:800}.daily-download-preview-table thead tr:first-child th:first-child{z-index:6;box-sizing:border-box;background:#e8eef7;width:530px;min-width:530px;max-width:530px;position:sticky;left:0;box-shadow:inset -1px 0 #cbd5e1}.daily-download-preview-table thead tr:nth-child(2) th:nth-child(-n+5),.daily-download-preview-table tbody td:nth-child(-n+5),.daily-download-preview-table tfoot th:nth-child(-n+5),.daily-download-preview-table tfoot td:nth-child(-n+5){z-index:3;box-sizing:border-box;background:#fff;position:sticky}.daily-download-preview-table thead tr:nth-child(2) th:nth-child(-n+5){z-index:7;background:#e8eef7}.daily-download-preview-table tbody tr:hover td:nth-child(-n+5){background:#eef6ff}.daily-download-preview-table tfoot th:nth-child(-n+5),.daily-download-preview-table tfoot td:nth-child(-n+5){background:#fff2cc}.daily-download-preview-table thead tr:nth-child(2) th:first-child,.daily-download-preview-table tbody td:first-child,.daily-download-preview-table tfoot th:first-child,.daily-download-preview-table tfoot td:first-child{width:90px;min-width:90px;max-width:90px;left:0}.daily-download-preview-table thead tr:nth-child(2) th:nth-child(2),.daily-download-preview-table tbody td:nth-child(2),.daily-download-preview-table tfoot th:nth-child(2),.daily-download-preview-table tfoot td:nth-child(2){width:70px;min-width:70px;max-width:70px;left:90px}.daily-download-preview-table thead tr:nth-child(2) th:nth-child(3),.daily-download-preview-table tbody td:nth-child(3),.daily-download-preview-table tfoot th:nth-child(3),.daily-download-preview-table tfoot td:nth-child(3){width:80px;min-width:80px;max-width:80px;left:160px}.daily-download-preview-table thead tr:nth-child(2) th:nth-child(4),.daily-download-preview-table tbody td:nth-child(4),.daily-download-preview-table tfoot th:nth-child(4),.daily-download-preview-table tfoot td:nth-child(4){width:180px;min-width:180px;max-width:180px;left:240px}.daily-download-preview-table thead tr:nth-child(2) th:nth-child(5),.daily-download-preview-table tbody td:nth-child(5),.daily-download-preview-table tfoot th:nth-child(5),.daily-download-preview-table tfoot td:nth-child(5){width:110px;min-width:110px;max-width:110px;left:420px;box-shadow:inset -1px 0 #cbd5e1}.preview-limit-message{color:#64748b;text-align:right;margin:10px 0 0;font-size:12px}.store-entry-controls{grid-template-columns:minmax(320px,2fr) repeat(3,minmax(160px,1fr));gap:14px;display:grid}.sales-entry-status-panel{background:#f8fafc;border:1px solid #d9e2f3;border-radius:10px;margin-top:20px;padding:14px 16px}.sales-entry-status-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.sales-entry-status-header h2{color:#1e3a8a;margin:0;font-size:16px}.sales-entry-status-header p{color:#64748b;margin:5px 0 0;font-size:13px}.sales-entry-status-badge{color:#475569;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:999px;align-items:center;min-height:30px;padding:5px 11px;font-size:13px;font-weight:800;display:inline-flex}.sales-entry-status-badge.submitted{color:#15803d;background:#f0fdf4;border-color:#86efac}.sales-entry-status-badge.zero_sales{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.sales-entry-status-badge.closed{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.sales-entry-status-control-row{justify-content:space-between;align-items:center;gap:16px;margin-top:12px;display:flex}.sales-entry-status-actions{flex-wrap:wrap;gap:8px;display:flex}.sales-entry-status-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-height:38px;padding:0 13px;font-size:13px;font-weight:800}.sales-entry-status-button.zero-sales{color:#1d4ed8;border-color:#bfdbfe}.sales-entry-status-button.closed{color:#475569}.sales-entry-status-button.clear{color:#b91c1c;border-color:#fecaca}.sales-entry-status-button[aria-pressed=true]{background:#e0ecff}.sales-entry-status-button:disabled{opacity:.5;cursor:not-allowed}.sales-entry-status-guide,.sales-entry-status-error{margin:12px 0 0;font-size:13px;line-height:1.5}.sales-entry-status-guide{color:#64748b}.sales-entry-status-guide.automatic{text-align:right;margin:0 0 0 auto}.sales-entry-status-guide.locked,.sales-entry-status-error{color:#b91c1c}.sale-kind-toggle{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.sale-kind-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;height:44px;padding:0 14px;font-size:14px;font-weight:800}.sale-kind-button:hover{color:#1d4ed8;border-color:#93c5fd}.sale-kind-button.active{color:#1d4ed8;box-shadow:none;background:#eff6ff;border-color:#3b82f6}.store-selector-label-row{text-align:center;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.store-selector-label-row>span:first-child{min-width:0}.store-count-badge{color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;align-items:center;min-height:22px;padding:2px 8px;font-size:12px;font-weight:800;line-height:1;display:inline-flex}.store-search-control{min-width:0;position:relative}.store-search-results{z-index:30;max-height:300px;box-shadow:none;background:#fff;border:1px solid #bfdbfe;border-radius:8px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.store-search-option{color:#1f2937;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #e2e8f0;width:100%;padding:11px 12px;font-size:13px;line-height:1.4;display:block}.store-search-option:last-child{border-bottom:0}.store-search-option:hover,.store-search-option.selected{color:#1d4ed8;background:#eff6ff}.store-search-empty{color:#64748b;text-align:center;padding:18px 12px;font-size:13px}.ledger-view-section,.ledger-detail-section{border-top:1px solid #d9e2f3;margin-top:30px;padding-top:24px}.ledger-notice{color:#334155;background:#f8fafc;border:1px solid #d9e2f3;border-radius:8px;padding:14px 16px;font-size:14px}.ledger-notice+.ledger-notice{margin-top:10px}.ledger-notice.locked{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.ledger-detail-table{border-collapse:collapse;font-variant-numeric:tabular-nums;background:#fff;width:100%;min-width:1540px}.ledger-detail-table th,.ledger-detail-table td{color:#1f2937;text-align:left;white-space:nowrap;border:1px solid #d9e2f3;padding:10px;font-size:13px}.ledger-detail-table thead th{color:#1e3a8a;background:#e8eef7;font-weight:800}.ledger-detail-table select,.ledger-detail-table input[type=text],.ledger-detail-table input[type=number]{border-radius:6px;min-width:110px;height:38px;padding:0 10px;font-size:13px}.ledger-detail-table select{min-width:190px}.ledger-detail-table input[type=text]{min-width:150px}.ledger-detail-table input[type=number]{min-width:92px}.ledger-detail-table input[type=checkbox]{accent-color:#2563eb;width:18px;height:18px}.ledger-detail-table input:disabled,.ledger-detail-table select:disabled{color:#475569;cursor:not-allowed;opacity:.65;background:#f8fafc}.calculated-amount{color:#111827;text-align:right;min-width:110px;font-weight:700}.cancel-cell{text-align:center}.empty-detail-cell{color:#64748b;text-align:center;padding:28px}.detail-delete-button{color:#1f2937;cursor:pointer;background:#7f1d1d38;border:1px solid #f8717166;border-radius:6px;height:36px;padding:0 12px;font-weight:700}.store-entry-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.detail-add-button,.store-save-button{cursor:pointer;border-radius:8px;min-width:110px;height:44px;padding:0 18px;font-size:14px;font-weight:800}.detail-add-button{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.store-save-button{color:#fff;background:#2563eb;border:0}.detail-add-button:disabled,.store-save-button:disabled{opacity:.5;cursor:not-allowed}.detail-delete-button:disabled{opacity:1;color:#4b5563;cursor:not-allowed}.header-group{margin-bottom:32px}.eyebrow{color:#2563eb;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:700}h1{color:#111827;margin:0;font-size:36px;line-height:1.2}.description{color:#64748b;margin:12px 0 0;font-size:16px}.upload-status-month-field{max-width:240px;margin-bottom:18px}.upload-status-section{background:#f8fafc;border:1px solid #d9e2f3;border-radius:14px;margin-bottom:24px;padding:14px}.upload-status-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.upload-status-header h2{color:#1e293b;margin:0;font-size:20px}.upload-status-header>span{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:5px 10px;font-size:13px;font-weight:700}.upload-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.upload-status-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:0;padding:11px}.upload-status-card-weekly{margin-top:10px}.upload-status-card h3{color:#1e293b;margin:0 0 8px;font-size:14px}.upload-status-item{min-width:0}.upload-status-state{color:#334155;white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:flex}.upload-status-dot{border-radius:50%;flex:0 0 8px;width:8px;height:8px}.upload-status-item.completed .upload-status-dot,.upload-status-state.completed .upload-status-dot{background:#16a34a}.upload-status-item.missing .upload-status-dot,.upload-status-state.missing .upload-status-dot{background:#dc2626}.upload-status-item.completed .upload-status-state strong,.upload-status-state.completed strong{color:#15803d}.upload-status-item.missing .upload-status-state strong,.upload-status-state.missing strong{color:#b91c1c}.upload-status-reference,.upload-status-message{color:#64748b;margin:6px 0 0;font-size:12px}.upload-status-message.error{color:#b91c1c}.upload-status-meta{gap:3px;margin:7px 0 0;display:grid}.upload-status-meta>div{grid-template-columns:68px minmax(0,1fr);gap:6px;font-size:11px;display:grid}.upload-status-meta dt{color:#64748b;font-weight:700}.upload-status-meta dd{color:#334155;min-width:0;margin:0}.upload-status-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.upload-status-week-table-wrap{border:1px solid #e2e8f0;border-radius:8px;width:100%;overflow:hidden}.upload-status-week-table{border-collapse:collapse;table-layout:fixed;background:#fff;width:100%}.upload-status-week-table th,.upload-status-week-table td{color:#334155;text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:6px 7px;font-size:11px}.upload-status-week-table th{color:#64748b;background:#f8fafc;font-weight:700}.upload-status-week-table tbody tr:last-child td{border-bottom:0}.upload-status-week-table th:first-child,.upload-status-week-table td:first-child{width:54px}.upload-status-week-table th:nth-child(2),.upload-status-week-table td:nth-child(2){width:100px}.upload-status-week-table th:nth-child(3),.upload-status-week-table td:nth-child(3){width:104px}.upload-status-week-table th:nth-child(4),.upload-status-week-table td:nth-child(4){width:108px}.form-grid{gap:18px;display:grid}.field{gap:8px;display:grid}.field span{color:#334155;font-size:14px;font-weight:700}.subscription-upload-range{color:#64748b;font-size:12px;line-height:1.4}.subscription-upload-range.upload-week-error{color:#b91c1c}input,select{color:#1f2937;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;height:48px;padding:0 14px;font-size:15px}input[type=date],input[type=month]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;cursor:pointer;padding-right:40px}input[type=date]::-webkit-calendar-picker-indicator{visibility:visible;opacity:1;cursor:pointer;filter:none;display:block}input[type=month]::-webkit-calendar-picker-indicator{visibility:visible;opacity:1;cursor:pointer;filter:none;display:block}input[type=file]{padding:12px 14px}.file-box{background:#f8fafc;border:1px dashed #93c5fd;border-radius:8px;margin-top:20px;padding:16px}.file-box span{color:#2563eb;margin-bottom:6px;font-size:13px;font-weight:700;display:block}.file-box strong{color:#1f2937;font-size:15px}.upload-button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:14px;width:100%;height:52px;margin-top:24px;font-size:16px;font-weight:800}.upload-button:hover{background:#1d4ed8}.upload-button:disabled{opacity:.6;cursor:not-allowed}.result-box{color:#334155;background:#f8fafc;border:1px solid #d9e2f3;border-radius:8px;min-height:64px;margin-top:20px;padding:16px}.button-row{gap:12px;margin-top:24px;display:grid}.button-row .upload-button{margin-top:0}.test-button{color:#1d4ed8;cursor:pointer;background:#f8fbff;border:1px solid #bfdbfe;border-radius:14px;width:100%;height:52px;font-size:16px;font-weight:600}.test-button:hover{background:#eff6ff;border-color:#60a5fa}.test-button:disabled{color:#64748b;opacity:1;cursor:not-allowed;background:#eef2f7;border:1px solid #cbd5e1}.test-button:disabled:hover{background:#eef2f7;border-color:#cbd5e1}@media (width>=641px) and (width<=900px){.upload-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.admin-page{padding:24px 16px}.upload-card{padding:28px 20px}.upload-status-month-field{max-width:none}.upload-status-grid{grid-template-columns:1fr}.upload-status-week-table-wrap{border:0;overflow:visible}.upload-status-week-table,.upload-status-week-table tbody,.upload-status-week-table tr{width:100%;display:block}.upload-status-week-table thead{display:none}.upload-status-week-table tr{border-bottom:1px solid #e2e8f0;padding:7px 0}.upload-status-week-table tr:last-child{border-bottom:0}.upload-status-week-table td,.upload-status-week-table td:nth-child(n){border:0;grid-template-columns:76px minmax(0,1fr);gap:8px;width:auto;padding:2px 0;display:grid}.upload-status-week-table td:before{content:attr(data-label);color:#64748b;font-weight:700}.session-bar{align-items:flex-start}.app-layout{grid-template-columns:1fr;gap:18px}.app-sidebar{max-height:none;padding:10px;position:static;overflow-y:visible}.tab-list{width:100%}.tab-button{flex:none;padding:0 8px}.performance-controls{grid-template-columns:1fr}.dashboard-panel .dashboard-toolbar{flex-direction:column;align-items:stretch}.dashboard-scope-controls{justify-items:stretch}.dashboard-scope-label{text-align:right}.yearly-lookup-controls,.account-form-grid,.account-password-form{grid-template-columns:1fr}.account-form-actions{flex-direction:column-reverse}.account-primary-button,.account-secondary-button{width:100%}.store-entry-controls{grid-template-columns:1fr}.sales-entry-status-header,.sales-entry-status-control-row,.sales-entry-status-actions{flex-direction:column;align-items:stretch}.sales-entry-status-badge{align-self:flex-start}.sales-entry-status-guide.automatic{text-align:left;margin-left:0}.sales-entry-status-button{width:100%}.download-controls{grid-template-columns:1fr}.download-actions{flex-direction:column}.download-search-button,.excel-download-button{width:100%}.store-entry-actions{flex-direction:column}.detail-add-button,.store-save-button{width:100%}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{flex-direction:column;align-items:flex-start;gap:6px}.tree-action-bar,.yearly-view-action-bar{margin-left:0}}
