/* Shared visual tokens: desktop identity, readable type and restrained depth. */
:root{--ink:#17283f;--muted:#5e7087;--line:#dfe7f0;--blue:#2563eb;--cyan:#4ea8de;--bg:#f3f6fb;--sidebar:#142137;--radius:18px;--green:#16815b;--amber:#a46413;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:16px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}a{color:var(--blue);text-decoration:none}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;background:#fff;border:1px solid #cdd8e6;border-radius:10px;padding:10px 16px;color:var(--ink);font-weight:650;cursor:pointer;line-height:1.35;transition:background .18s,border-color .18s,box-shadow .18s;white-space:normal}button:hover,.button:hover{background:#edf3fc;border-color:#a5bad6}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 10px #2563eb20}.primary:hover{background:#1d4ed8;border-color:#1d4ed8;box-shadow:0 5px 14px #2563eb30}.danger{color:#b62e42}.muted{color:var(--muted)}.small,small{font-size:14px}small{display:block;color:var(--muted);margin-top:4px}.full{width:100%}.narrow{max-width:740px}h1{font-size:clamp(28px,2.5vw,36px);line-height:1.18;letter-spacing:-1.1px;margin:10px 0 12px;font-weight:750}h2{font-size:20px;letter-spacing:-.4px;margin:0 0 20px;font-weight:700}h3{font-size:17px}p{line-height:1.65}strong{font-weight:700}label{display:block;font-size:15px;font-weight:600;margin-bottom:18px}input:not([type=checkbox]):not([type=color]):not([type=hidden]),select,textarea{display:block;width:100%;min-height:44px;background:#fff;border:1px solid #cbd7e5;color:var(--ink);padding:11px 13px;border-radius:9px;margin-top:8px}textarea{resize:vertical;min-height:48px;line-height:1.5}input[type=hidden]{display:none}:focus-visible{outline:3px solid #4ea8de;outline-offset:3px}input:focus,textarea:focus,select:focus{border-color:var(--blue)}input[type=checkbox]{accent-color:var(--blue);width:19px;height:19px;flex-shrink:0;cursor:pointer}input[type=color]{width:48px;height:44px;border:1px solid var(--line);border-radius:8px;background:none}fieldset{border:0;padding:0;margin:0;min-width:0}.checkbox{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;min-height:44px}.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:1.5px;font-weight:750;color:var(--muted)}.eyebrow-dot{margin:0 10px;color:#a3b4ca}.icon{display:inline-block;width:21px;height:21px;flex:0 0 auto;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat;vertical-align:middle}.icon-tile{display:inline-flex;align-items:center;justify-content:center;background:#edf3ff;color:var(--blue);height:44px;width:44px;flex-shrink:0;border-radius:13px}.icon-tile .icon{width:23px;height:23px}.skip-link{position:fixed;left:16px;top:-80px;z-index:100;background:#fff;padding:14px;border-radius:8px}.skip-link:focus{top:16px}
/* One navigation shell, including a progressively enhanced small-screen menu. */
.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:linear-gradient(165deg,#1c2d48,var(--sidebar) 55%);color:#d9e3f3;padding:30px 20px 20px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand{color:white;display:flex;align-items:center;gap:12px;font-size:24px;font-weight:750;letter-spacing:-.8px;line-height:1.2}.brand img{width:42px;height:42px;object-fit:contain}.cloud-label{font-size:10px;letter-spacing:2.7px;margin-top:5px;color:#8dbbea;font-weight:650;line-height:1}.dark{color:var(--ink)}.sidebar-panel{display:flex;flex-direction:column;flex:1}.workspace{display:flex;align-items:center;gap:11px;border:1px solid #ffffff16;background:#ffffff04;border-radius:12px;margin:32px 0 24px;padding:13px 11px;font-size:14px}.workspace-icon{display:grid;place-items:center;width:35px;flex-shrink:0;height:38px;background:#ffffff0b;border-radius:9px;color:#a9c7ed}.workspace>div{min-width:0}.workspace strong{display:block;overflow-wrap:anywhere}.workspace small{color:#a7b8cf;font-size:12px;margin:0 0 3px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{min-height:46px;padding:12px;border-radius:10px;display:flex;gap:13px;align-items:center;color:#b8c9df;font-size:15px;font-weight:550;transition:background .18s,color .18s}.sidebar nav a:hover{background:#ffffff0b;color:white}.sidebar nav a.active{background:#2d66dc;color:white;box-shadow:0 4px 16px #07122630}.sidebar nav a:nth-last-child(2){margin-top:18px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff14;padding-top:20px;display:flex;gap:9px;align-items:center;font-size:14px}.sidebar-panel nav{margin-bottom:32px}.sidebar-bottom .account{flex:1;min-width:0;overflow-wrap:anywhere}.sidebar-bottom a{font-size:12px;display:block;color:#a7bfdc;margin-top:4px}.avatar{border-radius:12px;display:grid;place-items:center;background:#2d4465;height:38px;width:38px;flex-shrink:0}.logout{padding:8px;border:0;background:none;color:#b8c9df}.logout:hover{background:#ffffff10}.menu-toggle{display:none}.main{margin-left:256px;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:#ffffffad;padding:0 36px;display:flex;align-items:center;justify-content:space-between;font-size:14px;gap:16px}.environment{border:1px solid var(--line);border-radius:24px;padding:7px 12px;color:var(--muted);display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.environment .icon{color:var(--blue);width:17px;height:17px}.content{padding:34px 36px 56px;max-width:1740px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:22px}.page-heading>div{min-width:0}.page-heading p{margin:0}.page-heading>.button{flex-shrink:0}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:24px;box-shadow:0 3px 12px #142c4c04;min-width:0}.flush{padding:0;overflow:hidden}.two-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading p{margin:5px 0 0}.section-heading>.icon{color:#90a6bf}.text-action{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
/* Overview: action-oriented KPIs and independent, signed currency charts. */
.periods{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 26px;border-bottom:1px solid var(--line);padding-bottom:16px}.pill{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border-radius:9px;color:var(--muted);font-size:14px;font-weight:650;border:1px solid transparent;transition:background .18s}.pill:hover{background:#e9eff8}.pill.selected{background:white;color:var(--blue);box-shadow:0 2px 8px #14234708;border-color:var(--line)}.kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kpi{display:flex;flex-direction:column;gap:12px;padding:24px;color:var(--ink);position:relative}.kpi-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:15px;font-weight:600}.kpi>strong,.kpi-value>strong{font-size:40px;letter-spacing:-1.4px;line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kpi-value{display:flex;align-items:baseline;gap:10px}.kpi small{margin:0}.positive .icon-tile{background:#e8f7f0;color:var(--green)}.attention{background:linear-gradient(120deg,#edf4ff,#f5f9ff);border-color:#ccdffc;transition:border-color .18s,box-shadow .18s}.attention:hover{border-color:#8ab5f5;box-shadow:0 5px 18px #2563eb10}.attention>strong{color:var(--blue)}.kpi-footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.kpi-footer>span{display:inline-flex;align-items:center;gap:4px;font-size:14px;color:var(--blue);font-weight:650}.review-progress{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--green);font-weight:650}.review-progress progress{flex:1;min-width:0}.money-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px;margin-bottom:24px}.money-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px 24px;position:relative;border-radius:var(--radius);padding:23px 26px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--cyan);min-width:0}.money-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.currency-label{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--muted)}.currency-label .icon{color:#4a8abe}.money-total{display:block;font-size:34px;letter-spacing:-1px;margin:0;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.money-taxes{display:flex;align-items:center;gap:24px}.money-taxes>div{flex:1;min-width:0}.money-taxes span{display:block;font-size:13px;color:var(--muted)}.money-taxes strong{font-size:17px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.currency-picker{display:flex;align-items:center;gap:12px;font-size:14px;margin-bottom:6px}.currency-picker select{width:auto;min-width:95px;margin:0;padding:8px 12px}.monthly-chart{display:block;width:100%;height:auto;min-height:180px;overflow:visible}.chart-grid{stroke:#edf1f7;stroke-dasharray:4 5}.chart-axis{stroke:#c3d0e0}.chart-bar{fill:#4b83ef;transition:fill .18s}.chart-column.negative .chart-bar{fill:#db8a36}.chart-hit{fill:transparent}.chart-column:hover .chart-bar,.chart-column:focus .chart-bar{fill:#174fbf}.chart-column.negative:hover .chart-bar,.chart-column.negative:focus .chart-bar{fill:#a85b13}.chart-tick{font-size:13px;fill:#60738a}.chart-value{font-size:14px;font-weight:700;fill:var(--ink);opacity:0}.chart-column:hover .chart-value,.chart-column:focus .chart-value{opacity:1}.chart-column:focus{outline:none}.chart-column:focus .chart-hit{stroke:var(--blue);stroke-dasharray:3 3}.chart-data summary{color:var(--muted);font-size:14px;cursor:pointer;padding:12px 0;min-height:44px}.chart-currency{margin-top:8px}.issuer-group+.issuer-group{margin-top:20px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #edf1f6;padding:16px 0;color:var(--ink);font-size:15px}.list-row:last-child{border:0}.list-row strong{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.list-main{flex:1;min-width:0;overflow-wrap:anywhere}.rank{display:grid;place-items:center;border-radius:8px;background:#f1f5fa;color:#778ca6;font-size:12px;width:26px;height:28px;flex-shrink:0}.activity-row:hover .list-main{color:var(--blue)}.activity-row .badge{white-space:normal}.category-chart{margin:24px 0}.category-chart>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:15px;margin-bottom:10px}.category-chart strong{display:flex;gap:12px;align-items:center}.category-chart small{margin:0;font-weight:500}.bar-track{height:9px;background:#edf2fa;border-radius:8px;overflow:hidden}.bar-track span{display:block;height:100%;background:#5b8cf0;border-radius:8px;transition:width .2s}.empty-small{padding:36px 0;text-align:center;color:var(--muted);font-size:15px}.empty-small>.icon{height:40px;width:40px;color:#9cafc8}
/* Tables retain their form contracts while exposing selection and readable status. */
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:7px;background:#eef2f7;font-size:13px;font-weight:600;color:#506078;white-space:nowrap}.badge.completed{background:#ebf3ff;color:#245bb0}.badge.manual,.badge.confirmed{background:#e8f7ee;color:#1b754c}.badge.processing{background:#eef0ff;color:#5256a5}.badge.error{background:#fff0f0;color:#b32e42}.badge.queued{background:#fff4e2;color:#915a15}.badge.cancelled{background:#eff2f6;color:#5e7087}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:24px}.filters label{margin:0;font-size:14px;color:var(--muted)}.filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:20px}.filter-actions>a{padding:10px 0}.review-tabs{display:flex;gap:12px;margin:0 0 24px;flex-wrap:wrap}.review-tabs a{border:1px solid var(--line);border-radius:12px;background:white;padding:16px 20px;flex:1;min-width:130px;color:var(--muted);font-size:14px;transition:background .18s}.review-tabs a.selected{border-color:#9dbff3;background:#edf4ff;color:#1c54ae;box-shadow:inset 0 3px 0 #2563eb}.review-tabs strong{display:block;font-size:28px;color:var(--ink);margin-top:8px}.bulkbar{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line);background:#fafcff}.selection-group{display:flex;flex-direction:column;gap:4px}.selection-count{font-size:13px;color:var(--blue);font-weight:600}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions select{width:auto;margin:0;max-width:200px}.actions button{font-size:14px;padding:10px 12px}.table-scroll{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:15px;white-space:nowrap}th{text-align:left;background:#f6f9fd;padding:16px;font-size:13px;color:#60738a;font-weight:650}td{border-top:1px solid #e8eef5;padding:16px}td a{color:var(--ink)}tr:hover td{background:#f7faff}tr:has(input[name=documents]:checked) td,tr:has(input[name=jobs]:checked) td{background:#edf4ff}.numeric{text-align:right;font-variant-numeric:tabular-nums}.document-link{display:flex;align-items:center;gap:10px;max-width:350px;overflow:hidden;text-overflow:ellipsis}.document-link:hover{color:var(--blue)}.file-icon{font-size:10px;font-weight:750;color:#557ba9;border:1px solid #d7e3f0;padding:9px 6px;border-radius:6px;background:#f0f6ff}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:8px}.dot.good{background:#23a374}.dot.warning{background:#d69323}.pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;font-size:14px;color:var(--muted);gap:12px;flex-wrap:wrap}.pagination>div{display:flex;gap:20px}.pagination a{display:inline-flex;align-items:center;min-height:44px}.empty{padding:50px 24px;text-align:center;white-space:normal;color:var(--muted)}.empty h2{margin:18px 0 8px;color:var(--ink)}.empty>.icon{font-size:45px;color:#8ca7c9;width:48px;height:48px}.empty .button{margin-top:10px}.category-editor summary{cursor:pointer;font-weight:600;min-height:44px;align-content:center}.inline-form{display:flex;gap:12px;align-items:center;margin:16px 0;flex-wrap:wrap}.inline-form input:not([type=color]):not([type=hidden]),.inline-form select{width:auto;flex:1;margin:0;min-width:140px}.notice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #ccdef8;background:#edf5ff;border-radius:12px;margin-bottom:18px;color:#355780;font-size:15px;overflow-wrap:anywhere}.notice>.icon{margin-top:2px}.notice.success{background:#eaf8ef;border-color:#c8e9d5;color:#226e42}.notice.warning{background:#fff8e8;border-color:#eedbb1;color:#805916}.error-text,.errorlist{color:#b32e42}.errorlist{font-size:14px;padding-left:20px}
/* Upload transfer progress is separate from the asynchronous extraction stages. */
.drop-zone{margin:26px 0;border:2px dashed #a8c4e9;background:linear-gradient(135deg,#f1f7ff,#f8fbff);border-radius:16px;text-align:center;padding:42px 22px;transition:background .18s,border-color .18s}.drop-zone.dragging{background:#e3eeff;border-color:var(--blue)}.drop-zone h2{font-size:26px;margin:20px 0 8px}.drop-zone p{color:var(--muted);font-size:15px}.upload-icon{display:inline-grid;place-items:center;width:70px;height:70px;border-radius:20px;background:#e1ecff;color:#3974dc;box-shadow:0 6px 20px #2563eb0c}.upload-icon .icon{width:34px;height:34px}.drop-zone .button{display:inline-flex;margin:10px 0 0;position:relative;overflow:hidden}.drop-zone .button:focus-within{outline:3px solid var(--cyan);outline-offset:3px}.drop-zone input{position:absolute;opacity:0;inset:0;cursor:pointer;width:100%;height:100%;margin:0!important}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:26px;font-size:14px}.upload-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f4f8ff;border:1px solid var(--line);border-radius:10px;padding:14px 16px;font-size:14px;margin-bottom:10px}.upload-row{padding:18px 4px;display:grid;grid-template-columns:44px minmax(0,1fr) minmax(120px,35%);align-items:center;gap:14px;border-bottom:1px solid var(--line)}.upload-name{font-size:15px;font-weight:600;overflow-wrap:anywhere}.upload-status{font-size:14px;overflow-wrap:anywhere}.upload-status .badge{white-space:normal}.upload-status progress{margin-top:10px}progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:8px;border:0;overflow:hidden;border-radius:8px;background:#e7edf6;color:var(--blue)}progress::-webkit-progress-bar{background:#e7edf6;border-radius:8px}progress::-webkit-progress-value{background:var(--blue);border-radius:8px;transition:width .18s}progress::-moz-progress-bar{background:var(--blue);border-radius:8px}.review-progress progress::-webkit-progress-value{background:var(--green)}.review-progress progress::-moz-progress-bar{background:var(--green)}.upload-row[data-state=accepted] progress::-webkit-progress-value{background:var(--green)}.upload-row[data-state=failed] progress::-webkit-progress-value{background:#c35262}.queue-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.queue-summary .card{margin:0;padding:20px}.queue-summary .kpi-heading{font-size:14px}.queue-summary strong{font-size:32px}.queue-status{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}.queue-status .notice{margin:0}.queue-status-text{display:flex;align-items:center;gap:10px;font-weight:650}.stage-steps{display:flex;align-items:center;gap:0;list-style:none;padding:0;margin:10px 0 0;font-size:12px;color:#60738a}.stage-steps li{display:flex;align-items:center;gap:5px}.stage-steps li+li:before{content:"";width:15px;height:1px;background:#cdd7e5;margin:0 5px}.stage-steps li:after{content:"";order:-1;width:6px;height:6px;border-radius:50%;background:#cfdae9}.stage-steps li.current{font-weight:750;color:#235fbb}.stage-steps li.current:after,.stage-steps li.done:after{background:#3678df}.stage-steps li.done{color:#47739f}.stage-activity{display:inline-flex;align-items:center;gap:8px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #c4d5ed;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}button[aria-busy=true]::before,.loading-state:not([hidden])::before{content:"";display:inline-block;width:16px;height:16px;border:2px solid #adc9ed;border-top-color:currentColor;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}button[aria-busy=true] .icon{display:none}.loading-state{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;padding:14px}
/* Review keeps document context visible while every form remains server-authoritative. */
.review-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);gap:24px;align-items:start}.filename-title{font-size:28px;overflow-wrap:anywhere}.viewer{position:sticky;top:20px;padding:0;overflow:hidden}.viewer-toolbar{display:flex;gap:6px;align-items:center;padding:12px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.viewer-toolbar button{padding:9px}.page-label{display:flex;align-items:center;gap:6px;margin:0;font-size:14px}.page-label input{width:64px!important;margin:0!important;padding:8px!important}.viewer-canvas{background:#e8edf5;overflow:auto;height:70vh;padding:22px;position:relative}.viewer-canvas img{display:block;width:100%;max-width:none;box-shadow:0 4px 16px #20304922}.viewer-canvas[aria-busy=true] img{opacity:.35}.fields-panel{padding:24px;position:sticky;top:20px}.review-fields{max-height:55vh;overflow:auto;padding-right:8px;scroll-padding:16px}.field-label{padding:18px 0;border-bottom:1px solid var(--line);margin:0}.field-label>span{display:flex;justify-content:space-between;align-items:center;gap:10px}.field-label small{font-weight:400;overflow-wrap:anywhere;font-size:13px}.field-state{font-size:12px;color:#62748a;font-weight:600;text-align:right;border-radius:6px;background:#f1f5fa;padding:4px 7px}.field-state.invalid,.field-state.missing{color:#aa3340;background:#fff1f1}.field-state.valid{color:#2a659c;background:#edf5ff}.field-state.confirmed{color:#237349;background:#eaf7ee}.field-label:has(.field-state.invalid) textarea,.field-label:has(.field-state.missing) textarea{border-color:#d4a5ad}.sticky-actions{display:flex;flex-wrap:wrap;gap:10px;position:static;background:#fff;padding:18px 0 8px;border-top:1px solid var(--line);margin-top:8px}.sortable-row{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);background:white}.sortable-row label{flex:1;min-width:165px}.sortable-row input:not([type=checkbox]):not([type=hidden]){flex:1;width:130px;margin:0;min-width:0}.sortable-row button{padding:9px;flex-shrink:0}.drag-handle{color:#7890ad;cursor:grab}.sortable-row.dragging{opacity:.4}.settings-options h2:not(:first-child){margin-top:30px}.export-options{align-self:start;position:sticky;top:20px}.preview-output:empty{display:none}.preview-output{margin-top:22px;max-width:100%;overflow:auto;border-top:1px solid var(--line);padding-top:18px}
/* Authentication shares the product identity without remote fonts or illustration assets. */
.auth-main{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 5%,#c9ddff 0,transparent 50%),radial-gradient(ellipse at 95% 90%,#d9effa 0,transparent 50%),#f3f6fb}.auth-main .content{width:100%;padding:40px 24px}.auth-card{background:#fff;border:1px solid #d4e0ef;border-radius:24px;width:480px;max-width:100%;padding:42px;box-shadow:0 24px 80px #19385712;margin:auto}.auth-card .brand{margin-bottom:36px}.auth-card .brand img{height:50px;width:50px}.auth-card .cloud-label{color:#577cab}.auth-card h1{font-size:30px}.auth-card form{margin-top:26px}.auth-card button{margin-top:10px}.auth-card p:last-child{margin-bottom:0}.auth-caption{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.auth-main .narrow{margin:auto}.information-card h2:not(:first-child){margin-top:30px}.information-card li{padding:3px 0}.notice p{margin:0}
/* Layout collapses before larger type can squeeze business controls. */
@media(min-width:1500px){.content{padding:42px 48px 64px}.dashboard-heading{margin-bottom:32px}.dashboard-charts{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
@media(max-width:1200px){.sidebar{width:230px;padding-left:16px;padding-right:16px}.main{margin-left:230px}.content{padding:28px 24px}.topbar{padding:0 24px}.two-columns{grid-template-columns:1fr}.review-layout{grid-template-columns:1fr}.viewer{position:static}.viewer-canvas{height:60vh}.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.queue-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.export-options{position:static}.kpi{padding:20px}.kpi-heading{font-size:14px}.kpi-heading .icon-tile{height:36px;width:36px}.kpi-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:899px){.sidebar{position:static;width:100%;padding:18px 22px;display:grid;grid-template-columns:1fr auto;gap:0;overflow:visible}.brand{font-size:23px}.menu-toggle{display:inline-flex;background:#ffffff08;border-color:#ffffff20;color:#dce9ff}.sidebar-panel{grid-column:1/-1}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar nav a:nth-last-child(2){margin-top:0}.workspace{margin:20px 0 16px}.sidebar-bottom{padding-top:16px;margin-top:4px}.sidebar-panel nav{margin-bottom:20px}.main{margin-left:0}.topbar{height:58px}.content{padding:26px 22px}.kpi-footer{flex-direction:row}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-grid{gap:12px}.kpi>strong,.kpi-value>strong{font-size:36px}.kpi-heading{align-items:flex-start}.kpi-heading .icon-tile{display:none}}
@media(max-width:600px){.sidebar{padding:16px}.content{padding:24px 16px 40px}.topbar{padding:0 16px;font-size:13px}.environment{font-size:0;padding:7px}.environment .icon{font-size:16px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.page-heading>.button{width:100%}.page-heading .actions{width:100%}h1{font-size:28px;letter-spacing:-.7px}h2{font-size:19px}.card{padding:20px;margin-bottom:20px;border-radius:14px}.card.flush,.viewer{padding:0}.kpi-grid{grid-template-columns:1fr;gap:12px;margin-bottom:20px}.kpi-grid .kpi{margin-bottom:0}.kpi-heading .icon-tile{display:inline-flex}.kpi-footer{flex-direction:row}.periods{gap:3px}.pill{padding:10px;font-size:13px}.money-total{font-size:32px}.money-grid{gap:14px;margin-bottom:20px}.money-card{padding:20px}.two-columns{gap:0}.section-heading{gap:10px}.section-heading .text-action{font-size:13px}.activity-row{flex-wrap:wrap}.activity-row .badge{margin-left:58px}.filters{gap:14px;grid-template-columns:1fr}.filter-actions{flex-wrap:wrap}.bulkbar{padding:16px}.actions{gap:8px}.actions select{max-width:100%;width:100%}.review-tabs{gap:8px}.review-tabs a{min-width:calc(50% - 8px);padding:14px}.review-layout{display:block}.filename-title{font-size:26px}.viewer-canvas{height:55vh;padding:12px}.fields-panel{padding:18px;position:static}.field-label>span{align-items:flex-start}.sticky-actions button{flex:1}.form-footer{align-items:stretch;flex-direction:column}.drop-zone{padding:30px 16px}.drop-zone h2{font-size:23px}.upload-row{grid-template-columns:36px minmax(0,1fr);gap:10px}.upload-row>.icon-tile{width:36px;height:36px}.upload-status{grid-column:2}.sortable-row{flex-wrap:wrap}.sortable-row label{min-width:160px}.sortable-row input:not([type=checkbox]):not([type=hidden]){flex-basis:100%;order:2}.sortable-row .drag-handle{display:none}.queue-summary{gap:10px}.queue-summary .card{padding:16px}.queue-summary .icon-tile{display:none}.queue-summary strong{font-size:30px}.auth-card{padding:30px 24px}.auth-main .content{padding:24px 16px}.monthly-chart{min-height:150px}.chart-tick{font-size:16px}.chart-value{font-size:17px}.pagination{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.spinner{border-style:dotted}}
