@font-face{font-family:Roboto;src:url(/fonts/roboto-latin.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}:root{--brand:#0551a0;--brand-hover:#043f7d;--brand-contrast:#fff;--brand-wash:#e6eff8;--header-bg:#0551a0;--accent-light:#00aeef;--accent-text:#0077a8;--accent:var(--brand);--accent-hover:var(--brand-hover);--focus:#00aeef73;--ink:#1f2933;--ink-body:var(--ink);--ink-muted:#52606d;--ink-faint:#7b8794;--page:#f4f6f8;--surface:#fff;--surface-raised:#f9fafb;--surface-sunken:#f3f4f6;--surface-hover:#e8edf3;--line:#d4d6d9;--line-soft:#e5e5e5;--line-card:#e3e6ea;--line-control:#c9ccd1;--line-strong:#909296;--bad:#b42318;--bad-wash:#fbe9ea;--ok:#1a7a1a;--ok-wash:#e3f4e3;--warn:#7a6a00;--warn-wash:#f7f3d6;--info:#1a1ac8;--info-wash:#e6e6f9;--none:#6a6a6a;--none-wash:#eee;--advisory:#966607;--badge-bg:#8a8d1f;--badge-text:#fff;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--radius-sm:3px;--radius-md:5px;--radius-card:10px;--shadow-sm:0 1px 2px #14181d14;--shadow-md:0 2px 4px #14181d0f, 0 8px 20px -12px #14181d40;--page-list:1440px;--page-form:1200px;--field-max:340px;--measure:68ch;--control-height:44px;--font-sans:"Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;--font-mono:"Cascadia Mono", Consolas, "SF Mono", "Liberation Mono", monospace;--text-page-title-size:28px;--text-page-title-line-height:1.25;--text-page-title-weight:300;--text-app-title-size:20px;--text-app-title-line-height:1.25;--text-app-title-weight:500;--text-app-title-letter-spacing:-.01em;--text-section-title-size:18px;--text-section-title-line-height:1.25;--text-section-title-weight:700;--text-nav-size:16px;--text-nav-line-height:1.5;--text-nav-weight:500;--text-body-size:15px;--text-body-line-height:1.5;--text-body-weight:400;--text-label-size:14px;--text-label-line-height:1.5;--text-label-weight:500;--text-caption-size:13px;--text-caption-line-height:1.5;--text-caption-weight:400;--text-eyebrow-size:12px;--text-eyebrow-line-height:1.25;--text-eyebrow-weight:700}.hds{font:400 15px / 1.5 var(--font-sans);color:var(--ink)}.hds *,.hds :before,.hds :after{box-sizing:border-box}.hds-button{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line-control);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);cursor:pointer;font-weight:500}.hds-button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--ink-faint)}.hds-button:disabled{color:var(--ink-faint);border-color:var(--line);cursor:default}.hds-button.primary{min-height:var(--control-height);background:var(--brand);border-color:var(--brand);color:var(--brand-contrast)}.hds-button.primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}.hds-button:focus-visible,.hds-input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.hds-field{gap:var(--space-1);max-width:var(--field-max);flex-direction:column;display:flex}.hds-label{color:var(--ink);font-size:14px;font-weight:500}.hds-label.required:after{content:" *";color:var(--bad)}.hds-input{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line-control);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);width:100%}.hds-input:disabled{color:var(--ink-muted);border-style:dashed;border-color:var(--line);background:0 0}.hds-help{color:var(--ink-muted);font-size:13px}.hds-error{color:var(--bad);font-size:13px}.hds-card{background:var(--surface);border:1px solid var(--line-card);border-radius:var(--radius-card);padding:var(--space-5) var(--space-6);gap:var(--space-4);flex-direction:column;display:flex}.hds-card>h3{color:var(--ink);margin:0;font-size:18px;font-weight:700;line-height:1.25}.hds-eyebrow{text-transform:uppercase;letter-spacing:.04em;color:var(--accent-text);font-size:12px;font-weight:700}.hds-chip{padding:2px var(--space-2);border-radius:var(--radius-card);white-space:nowrap;color:var(--none);background:var(--none-wash);font-size:12px;font-weight:600;display:inline-block}.hds-chip.submitted{color:var(--info);background:var(--info-wash)}.hds-chip.in-progress{color:var(--warn);background:var(--warn-wash)}.hds-chip.complete{color:var(--ok);background:var(--ok-wash)}.hds-overdue{text-transform:uppercase;letter-spacing:.04em;color:var(--bad);font-size:12px;font-weight:600}.hds-page-header h2{color:var(--brand);margin:0;font-size:28px;font-weight:300;line-height:1.25}.hds-page-header p{margin:var(--space-1) 0 0;color:var(--ink-muted)}.hds-app-header{background:var(--header-bg);color:var(--brand-contrast);padding:var(--space-3) var(--space-5);align-items:center;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}.hds-app-header .wordmark{width:auto;height:26px;display:block}.hds-app-header .divider{background:#ffffff59;width:1px;height:24px}.hds-app-header h1{letter-spacing:-.01em;color:var(--brand-contrast);margin:0;font-size:20px;font-weight:500}.hds-app-header .badge{letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;padding:2px var(--space-2);border-radius:var(--radius-sm);background:var(--badge-bg);color:var(--badge-text);font-size:12px;font-weight:600}.hds-side-nav{background:var(--header-bg);color:var(--brand-contrast);padding:var(--space-4) var(--space-3) var(--space-5);width:232px}.hds-side-nav ul{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.hds-side-nav a{align-items:center;gap:var(--space-3);min-height:40px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);color:#ffffffd9;font-size:16px;font-weight:500;text-decoration:none;display:flex}.hds-side-nav a:hover{color:var(--brand-contrast);background:#ffffff14}.hds-side-nav a.active{color:var(--brand-contrast);box-shadow:inset 3px 0 0 var(--accent-light);background:#ffffff29;font-weight:600}.hds-side-nav a:focus-visible{outline:2px solid var(--accent-light);outline-offset:0}.hds-table{border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);width:100%;box-shadow:var(--shadow-sm)}.hds-table th{text-align:left;color:var(--ink);background:var(--surface-raised);padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--line);white-space:nowrap;font-size:13px;font-weight:600}.hds-table td{padding:var(--space-1) var(--space-3);border-bottom:1px solid var(--line-soft);font-variant-numeric:tabular-nums}.hds-table tbody tr:last-child td{border-bottom:0}*,:before,:after{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{background:var(--page);color:var(--ink);font-family:var(--font-sans);font-size:var(--text-body-size);line-height:var(--text-body-line-height);font-weight:var(--text-body-weight);-webkit-font-smoothing:antialiased;margin:0}h1{font-size:var(--text-page-title-size);line-height:var(--text-page-title-line-height);font-weight:var(--text-page-title-weight);color:var(--brand);margin:0}h2,h3{font-size:var(--text-section-title-size);line-height:var(--text-section-title-line-height);font-weight:var(--text-section-title-weight);color:var(--ink);margin:0}p{margin:0 0 var(--space-4);max-width:var(--measure)}p:last-child{margin-bottom:0}a{color:var(--accent);text-underline-offset:2px}a:hover{color:var(--accent-hover)}small,.caption{font-size:var(--text-caption-size);color:var(--ink-muted)}.eyebrow{font-size:var(--text-eyebrow-size);line-height:var(--text-eyebrow-line-height);font-weight:var(--text-eyebrow-weight);text-transform:uppercase;letter-spacing:.04em;color:var(--accent-text)}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:var(--radius-sm)}button,input,select,textarea{font:inherit;color:inherit}table,.tabular{font-variant-numeric:tabular-nums}[hidden]{display:none!important}.app-layout{grid-template-rows:auto 1fr;height:100%;display:grid}.app-layout>main{padding:var(--space-5);overflow:auto}.app-layout>main>*{max-width:var(--page-list);margin-inline:auto}.app-header h1{font-size:var(--text-app-title-size);line-height:var(--text-app-title-line-height);font-weight:var(--text-app-title-weight);letter-spacing:var(--text-app-title-letter-spacing);color:var(--brand-contrast);margin-right:auto}.app-header .whoami{font-size:var(--text-caption-size);color:#ffffffd9}.app-header button{border-radius:var(--radius-sm);color:var(--brand-contrast);padding:var(--space-1) var(--space-3);cursor:pointer;background:0 0;border:1px solid #ffffff80}.app-header button:hover{background:#ffffff1f}.app-header :focus-visible,.app-nav :focus-visible{outline:2px solid var(--accent-light);outline-offset:0}.as-of{font-size:var(--text-eyebrow-size);font-weight:var(--text-eyebrow-weight);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;padding:2px var(--space-2);border-radius:var(--radius-sm);color:var(--brand-contrast);background:#ffffff29}.as-of[data-state=stale]{background:var(--advisory);color:var(--brand-contrast)}.as-of[data-state=old],.as-of[data-state=failed]{background:var(--bad);color:var(--brand-contrast)}.app-nav{gap:var(--space-1);background:var(--header-bg);padding:0 var(--space-5) var(--space-2);display:flex}.app-nav a{padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);color:#ffffffd9;font-size:var(--text-nav-size);font-weight:var(--text-nav-weight);text-decoration:none}.app-nav a:hover{color:var(--brand-contrast);background:#ffffff14}.app-nav a.active{color:var(--brand-contrast);box-shadow:inset 0 -3px 0 var(--accent-light);background:#ffffff29;font-weight:600}.page-header{margin-bottom:var(--space-4)}.page-header p{max-width:none}.page-header-top{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.page-header .back{margin-top:var(--space-2);font-size:var(--text-caption-size)}.standalone{height:100%;padding:var(--space-5);place-items:center;display:grid;overflow:auto}.standalone-card{max-width:560px}.standalone-card h1{margin-bottom:var(--space-4)}.standalone-card .code{font-family:var(--font-mono);font-size:var(--text-caption-size);color:var(--ink-muted)}@media (width<=720px){.app-nav{flex-wrap:wrap}.app-layout>main{padding:var(--space-4)}}.assistant-panel{min-width:0}.assistant-header{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.assistant-header h3{margin:0}.assistant-header-actions{gap:var(--space-2);display:flex}.assistant-examples{gap:var(--space-2);flex-direction:column;display:flex}.assistant-example{all:unset;box-sizing:border-box;padding:var(--space-2) var(--space-3);border:1px solid var(--line-control);border-radius:var(--radius-md);background:var(--surface);color:var(--ink-body);font-size:var(--text-caption-size);line-height:var(--text-caption-line-height);cursor:pointer}.assistant-example:hover{background:var(--surface-hover)}.assistant-example:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.assistant-log{gap:var(--space-4);max-height:560px;padding-right:var(--space-1);flex-direction:column;display:flex;overflow-y:auto}.assistant-turn{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.assistant-turn p{margin:0}.assistant-question{max-width:90%;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--brand-wash);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-end}.assistant-answer{color:var(--ink-body);white-space:pre-wrap;overflow-wrap:anywhere}.assistant-error{color:var(--bad)}.assistant-result{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.assistant-result-title{font-weight:var(--text-label-weight);color:var(--ink)}.assistant-table-wrap{border:1px solid var(--line-soft);max-height:320px;overflow:auto}.assistant-table.dense-table{width:100%;min-width:0}.assistant-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.assistant-actions a.hds-button{text-decoration:none}.assistant-notes{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.assistant-notes li{gap:var(--space-1);overflow-wrap:anywhere;flex-direction:column;display:flex}.assistant-card{gap:var(--space-2);padding:var(--space-4);border:1px solid var(--line-card);border-radius:var(--radius-md);background:var(--surface-raised);flex-direction:column;display:flex}.assistant-card h4{font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-label-weight);margin:0}.assistant-card p{margin:0}.assistant-card [role=alert]{color:var(--bad)}.assistant-check{align-items:center;gap:var(--space-2);font-size:var(--text-caption-size);display:flex}.assistant-ask{gap:var(--space-2);align-items:flex-end;display:flex}.assistant-ask textarea{resize:vertical;flex:1;min-width:0}.home{gap:var(--space-4);flex-direction:column;display:flex}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.scope-toggle{border:1px solid var(--line-control);border-radius:var(--radius-md);background:var(--surface);gap:2px;margin:0;padding:2px;display:inline-flex}.scope-toggle label{padding:var(--space-1) var(--space-4);border-radius:var(--radius-sm);font-weight:var(--text-label-weight);cursor:pointer}.scope-toggle label.selected{background:var(--brand);color:var(--brand-contrast)}.scope-toggle input{opacity:0;pointer-events:none;position:absolute}.scope-toggle label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.scope-toggle:disabled label{cursor:default;opacity:.7}.home-notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--ok-wash);color:var(--ok);max-width:none;margin:0}.link-banner{background:var(--brand-wash)}.link-banner ul{gap:var(--space-4);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.link-banner p{margin-bottom:var(--space-3)}.link-actions{gap:var(--space-3);display:flex}.home-error p{margin:0}.home-row{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.home-row[data-columns="1"]{grid-template-columns:minmax(0,1fr)}.tiles-compact{gap:var(--space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}@media (width<=720px){.home-row{grid-template-columns:minmax(0,1fr)}.tiles-compact{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}.home .hds-card{padding:var(--space-4)}.top-invoices th:nth-child(3),.top-invoices td:nth-child(3){display:none}.top-invoices td,.top-invoices th{overflow-wrap:anywhere}}.tile h3 a{color:inherit;text-decoration:none}.tile h3 a:hover{color:var(--brand);text-decoration:underline}.tile-amount{max-width:none;font-size:var(--text-page-title-size);line-height:var(--text-page-title-line-height);font-weight:var(--text-page-title-weight);color:var(--brand);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0}.tile-caption{max-width:none;font-size:var(--text-caption-size);color:var(--ink-muted);margin:0}.tile[data-compact=true]{padding:var(--space-3) var(--space-4);gap:var(--space-2)}.tile[data-compact=true] h3{font-size:var(--text-label-size);line-height:var(--text-label-line-height)}.tile[data-compact=true] .tile-amount{font-size:var(--text-section-title-size);line-height:var(--text-section-title-line-height);font-weight:var(--text-section-title-weight)}.tile[data-compact=true] .tile-caption{font-size:var(--text-eyebrow-size)}.assistant-panel .tile-caption{margin:0}.home-bucket-chart{gap:var(--space-3);flex-direction:column;display:flex}.home-bucket-bar{height:var(--space-4);border-radius:var(--radius-sm);background:var(--surface-sunken);display:flex;overflow:hidden}.home-bucket-segment{flex-basis:0;min-width:2px}.home-bucket-segment[data-bucket="0-30"],.home-bucket-swatch[data-bucket="0-30"]{background:var(--ok)}.home-bucket-segment[data-bucket="31-60"],.home-bucket-swatch[data-bucket="31-60"]{background:var(--accent-light)}.home-bucket-segment[data-bucket="61-90"],.home-bucket-swatch[data-bucket="61-90"]{background:var(--advisory)}.home-bucket-segment[data-bucket="91-120"],.home-bucket-swatch[data-bucket="91-120"]{background:var(--bad)}.home-bucket-segment[data-bucket="120+"],.home-bucket-swatch[data-bucket="120+"]{background:var(--ink)}.home-bucket-legend{gap:var(--space-3) var(--space-4);font-size:var(--text-caption-size);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:0;padding:0;list-style:none;display:grid}.home-bucket-legend li{grid-template-columns:var(--space-3) minmax(11ch, auto) auto;justify-content:start;align-items:center;column-gap:var(--space-2);grid-template-areas:"swatch name amount"".count count";display:grid}.home-bucket-swatch{width:var(--space-3);height:var(--space-3);border-radius:var(--radius-sm);grid-area:swatch}.home-bucket-name{font-weight:var(--text-label-weight);grid-area:name}.home-bucket-amount{margin-left:var(--space-2);font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:amount}.home-bucket-count{color:var(--ink-muted);grid-area:count}.tile-table,.top-invoices table{width:100%}.home .number{text-align:right;font-variant-numeric:tabular-nums}.top-invoices{overflow-x:auto}#root{height:100%}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.muted{color:var(--ink-muted)}.credit{color:var(--bad)}.numeric{text-align:right}.notice{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px solid var(--line);background:var(--surface);color:var(--ink);flex-wrap:wrap;display:flex}.notice-info{background:var(--info-wash);border-color:var(--info)}.notice-ok{background:var(--ok-wash);border-color:var(--ok)}.notice-warn{background:var(--warn-wash);border-color:var(--advisory)}.notice-error{background:var(--bad-wash);border-color:var(--bad)}.loading,.empty-state{padding:var(--space-5);text-align:center;color:var(--ink-muted)}.empty-state strong{color:var(--ink);font-size:var(--text-section-title-size);display:block}.empty-state p{margin:var(--space-2) auto 0}.is-stale{opacity:.55;transition:opacity .12s}.chips{gap:var(--space-1);flex-wrap:wrap;display:inline-flex}.hds-chip.bad{color:var(--bad);background:var(--bad-wash)}.hds-chip.bucket-0-30{color:var(--ok);background:var(--ok-wash)}.hds-chip.bucket-31-60{color:var(--info);background:var(--info-wash)}.hds-chip.bucket-61-90{color:var(--warn);background:var(--warn-wash)}.hds-chip.bucket-91-120,.hds-chip.bucket-120plus{color:var(--bad);background:var(--bad-wash)}.bucket-strip{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(170px,1fr));display:grid}.bucket-tile{padding:var(--space-3) var(--space-4);background:var(--surface);border:1px solid var(--line-card);border-radius:var(--radius-card);text-align:left;font:inherit;color:var(--ink);flex-direction:column;align-items:flex-start;gap:2px;display:flex}button.bucket-tile{cursor:pointer}button.bucket-tile:hover{background:var(--surface-hover)}button.bucket-tile[aria-pressed=true]{background:var(--brand-wash);border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.bucket-total{background:var(--surface-raised)}.bucket-name{font-size:var(--text-eyebrow-size);font-weight:var(--text-eyebrow-weight);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted)}.bucket-amount{font-variant-numeric:tabular-nums;font-size:20px;font-weight:500}.bucket-count{font-size:var(--text-caption-size);color:var(--ink-muted)}.table-wrap{border-radius:var(--radius-md);overflow-x:auto}.dense-table{font-size:var(--text-eyebrow-size);table-layout:fixed;width:100%;line-height:1.35}.dense-table th,.dense-table td{vertical-align:top;padding:var(--space-1) calc(var(--space-1) * 1.5);overflow:hidden}.dense-table th{font-size:var(--text-eyebrow-size);white-space:normal;vertical-align:bottom}.dense-table td.nowrap{white-space:nowrap}.cell-clip{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.invoice-extras{align-items:center;gap:2px var(--space-1);flex-wrap:wrap;margin-top:2px;display:flex}.invoice-extras .hds-chip{padding:0 var(--space-1);font-size:10px;line-height:1.5}.dense-table .hds-chip{padding:0 var(--space-1);font-size:11px}.dense-table th.numeric{text-align:right}.dense-table tbody tr:hover{background:var(--surface-hover)}.dense-table tbody tr.is-selected{background:var(--brand-wash)}.select-cell{width:22px;padding-inline:var(--space-1)}.sort-button{all:unset;cursor:pointer;white-space:normal;text-align:left;font-weight:600}.sort-button:hover{color:var(--brand)}.sort-button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.sort-mark{color:var(--brand)}.stack{gap:var(--space-4);flex-direction:column;display:flex}.toolbar{align-items:center;gap:var(--space-2) var(--space-3);flex-wrap:wrap;display:flex}.toolbar .spacer{margin-left:auto}.field-grid{gap:var(--space-3) var(--space-4);grid-template-columns:repeat(auto-fill,minmax(190px,1fr));align-items:end;display:grid}.field-grid .hds-field{max-width:none}.hds-input[type=checkbox]{width:auto}select.hds-input,.invoice-page select.hds-input,.filters-panel select.hds-input,.bulk-assign select.hds-input{appearance:none;padding-right:var(--space-5);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231f2933' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 0 center;background-repeat:no-repeat;background-size:16px 16px}select.hds-input:disabled{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2352606d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}@media (forced-colors:active){select.hds-input,.invoice-page select.hds-input,.filters-panel select.hds-input,.bulk-assign select.hds-input{appearance:auto;padding-right:var(--space-2);background-image:none}}textarea.hds-input{resize:vertical;min-height:88px}.checks{gap:var(--space-1) var(--space-3);flex-wrap:wrap;display:flex}.checks label,.check{align-items:center;gap:var(--space-1);font-size:var(--text-label-size);display:inline-flex}.facts{gap:var(--space-2) var(--space-5);grid-template-columns:max-content 1fr;margin:0;display:grid}.facts dt{color:var(--ink-muted);font-size:var(--text-label-size)}.facts dd{font-variant-numeric:tabular-nums;margin:0}.fact-row{display:contents}.pager{align-items:center;gap:var(--space-2) var(--space-3);color:var(--ink-muted);font-size:var(--text-caption-size);flex-wrap:wrap;display:flex}@media (width<=720px){main .hds-card{padding:var(--space-4)}.facts{grid-template-columns:1fr;gap:0}.facts dd{margin-bottom:var(--space-2)}.bucket-strip{grid-template-columns:repeat(2,1fr)}}.combobox{gap:var(--space-1);flex-direction:column;display:flex;position:relative}.combobox-list{z-index:5;margin:var(--space-1) 0 0;padding:var(--space-1) 0;background:var(--surface);border:1px solid var(--line-control);border-radius:var(--radius-md);max-height:280px;box-shadow:var(--shadow-md);list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.combobox-option{padding:var(--space-1) var(--space-3);cursor:pointer;font-size:var(--text-caption-size)}.combobox-option:hover,.combobox-option[aria-selected=true]{background:var(--brand-wash)}.combobox-message:empty{display:none}.department-picker{gap:var(--space-1);flex-direction:column;display:flex;position:relative}.department-trigger{justify-content:space-between;align-items:center;gap:var(--space-2);text-align:left;width:100%;font-weight:400;display:flex}.hds-button.department-trigger,.filters-panel .hds-button.department-trigger{padding-right:0}.chevron{flex:none;width:16px;height:16px}[aria-expanded=true]>.chevron{transform:rotate(180deg)}.department-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.department-panel{gap:var(--space-2);padding:var(--space-2);background:var(--surface);border:1px solid var(--line-control);border-radius:var(--radius-md);flex-direction:column;display:flex}.department-list label{overflow-wrap:anywhere}.department-list{gap:var(--space-1);flex-direction:column;max-height:240px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.send-error{margin-top:var(--space-1);font-size:var(--text-caption-size);color:var(--bad);overflow-wrap:anywhere;max-width:48ch}.email-view{gap:var(--space-2);padding:var(--space-3);border:1px solid var(--line-card);border-radius:var(--radius-sm);background:var(--surface);flex-direction:column;display:flex}.email-view h4,.email-view p{margin:0}.email-view iframe{border:1px solid var(--line-soft);background:var(--surface);width:100%;min-height:420px}.real-mail p{margin:0}.real-mail summary{cursor:pointer}.real-mail .plain-list{margin:var(--space-2) 0 0;padding:0;list-style:none}.app-layout>main>.invoice-page{max-width:1920px}.invoice-top{gap:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;display:grid}@media (width<=1100px){.invoice-top{grid-template-columns:minmax(0,1fr)}}.invoice-page .hds-card{padding:var(--space-4);gap:var(--space-3);border-color:var(--line-soft);border-radius:var(--radius-md)}.invoice-page .hds-card>h3{font-size:var(--text-body-size)}.invoice-page .hds-label,.invoice-page .facts dt{font-size:var(--text-eyebrow-size);color:var(--ink-muted);font-weight:500}.invoice-page .facts{gap:var(--space-1) var(--space-4);font-size:var(--text-caption-size)}.invoice-page .hds-input{font-size:var(--text-caption-size);min-height:28px;padding:var(--space-1) var(--space-2);line-height:1.4}.invoice-page select.hds-input{height:28px}.invoice-page textarea.hds-input{min-height:72px}.invoice-page .hds-field{gap:var(--space-1);max-width:none}.invoice-page .hds-help{font-size:var(--text-eyebrow-size)}.invoice-page .hds-button{font-size:var(--text-caption-size);min-height:0;padding:var(--space-1) var(--space-3);font-weight:500}.invoice-page .hds-button.primary{min-height:0}.invoice-page .check{font-size:var(--text-caption-size)}.invoice-page .stack{gap:var(--space-3)}.invoice-page .note-meta,.invoice-page .note-body{font-size:var(--text-caption-size)}.note-list{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex;position:relative}.note-list[data-scroll=true]{max-height:30rem;padding-right:var(--space-2);overflow-y:auto}.note{align-items:flex-start;gap:var(--space-1);padding-top:var(--space-3);border-top:1px solid var(--line-soft);flex-direction:column;display:flex}.note-meta{align-items:center;gap:var(--space-1) var(--space-3);font-size:var(--text-caption-size);flex-wrap:wrap;display:flex}.note-body{white-space:pre-wrap;overflow-wrap:anywhere;max-width:none;margin:0}.note-add{padding-bottom:var(--space-2)}.hds-button.danger{color:var(--bad)}.hds-button.danger:hover:not(:disabled){background:var(--bad-wash);border-color:var(--bad)}.note-confirm{gap:var(--space-2);padding:var(--space-2) var(--space-3);background:var(--bad-wash);border:1px solid var(--bad);border-radius:var(--radius-md);flex-direction:column;align-self:stretch;display:flex}.note-confirm p{max-width:none;font-size:var(--text-caption-size);color:var(--ink);margin:0}.view-tabs{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);border-bottom:1px solid var(--line);flex-wrap:wrap;display:flex}.view-tab-list{gap:var(--space-1);flex-wrap:wrap;display:flex}.view-tab{font:inherit;color:var(--ink-muted);padding:var(--space-2) var(--space-3);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;font-weight:500}.view-tab:hover{color:var(--ink);background:var(--surface-hover)}.view-tab[aria-current=true]{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}.view-name{width:220px}.app-layout>main>.invoices-page{max-width:1920px}.invoices-layout{grid-template-columns:var(--filters-width) minmax(0, 1fr);gap:var(--space-5);align-items:start;display:grid}.invoices-page{--filters-width:280px}.filters-toggle{display:none}.filters-panel{top:var(--space-2);max-height:calc(100dvh - var(--space-7) * 3);position:sticky;overflow-y:auto}.invoices-results{min-width:0}.invoices-results .bucket-strip{gap:var(--space-2);grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.invoices-results .bucket-tile{padding:var(--space-3)}.invoices-results .bucket-amount{font-size:18px}.filter-bar{gap:var(--space-3);padding:var(--space-4)}.filter-bar .field-grid{grid-template-columns:minmax(0,1fr)}.filter-form{gap:var(--space-3);flex-direction:column;display:flex}.filter-actions{gap:var(--space-2);grid-template-columns:1fr 1fr;display:grid}.filter-actions>.primary,.filter-actions>.filter-status{grid-column:1/-1}.save-view-button{width:100%}.save-view-form{gap:var(--space-2);flex-direction:column;display:flex}.save-view-buttons{gap:var(--space-2);grid-template-columns:1fr 1fr;display:grid}.filters-panel .filter-bar{padding:var(--space-3);gap:var(--space-2);border-color:var(--line-soft);border-radius:var(--radius-md);box-shadow:none;background:0 0}.filters-panel .filter-form,.filters-panel .field-grid{gap:var(--space-2)}.filters-panel .hds-field{gap:var(--space-1)}.filters-panel .hds-label{font-size:var(--text-eyebrow-size);color:var(--ink-muted);font-weight:500}.filters-panel .hds-input{font-size:var(--text-caption-size);min-height:28px;padding:var(--space-1) var(--space-2);line-height:1.4}.filters-panel .checks label,.filters-panel .check{font-size:var(--text-caption-size)}.filters-panel .hds-button{font-size:var(--text-caption-size);min-height:0;padding:var(--space-1) var(--space-3);font-weight:500}.filters-panel .hds-button.primary{min-height:0}.filters-panel .hds-help{font-size:var(--text-eyebrow-size)}.filters-panel select.hds-input{height:28px}.filters-panel .hds-button.department-trigger{min-height:28px;font-size:var(--text-caption-size);font-weight:400;line-height:1.4}.filters-panel .combobox-option{padding:var(--space-1) var(--space-2)}.filters-panel .filter-status{font-size:var(--text-eyebrow-size)}.filters-panel .more-filters{padding-top:var(--space-2)}.more-filters{padding-top:var(--space-3);border-top:1px solid var(--line-soft)}.chip-list{gap:var(--space-1);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.chip-list .hds-chip{align-items:center;gap:var(--space-1);display:inline-flex}.chip-remove{all:unset;cursor:pointer;padding:0 2px;font-weight:700;line-height:1}.chip-remove:focus-visible{outline:3px solid var(--focus)}.bulk-assign{padding:var(--space-3) var(--space-4);background:var(--brand-wash);border:1px solid var(--brand);border-radius:var(--radius-md)}.bulk-assign .hds-input{width:auto;min-width:220px}.filter-description{white-space:nowrap;text-overflow:ellipsis;max-width:none;margin:0;overflow:hidden}@media (width>=961px){.invoices-layout[data-sidebar=hidden]{grid-template-columns:minmax(0,1fr)}.invoices-layout[data-sidebar=hidden] .filters-panel{display:none}}@media (width<=960px){.sidebar-toggle{display:none}.invoices-layout{gap:var(--space-3);grid-template-columns:minmax(0,1fr)}.filters-toggle{justify-self:start;display:block}.filters-panel{max-height:none;display:none;position:static;overflow:visible}.filters-panel[data-open=true]{display:block}}@media (width<=720px){.view-tab-list{flex-wrap:nowrap;max-width:100%;overflow-x:auto}.view-tab{white-space:nowrap}}.rule-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.rule-item{gap:var(--space-2);padding:var(--space-3) 0;border-top:1px solid var(--line-soft);flex-direction:column;display:flex}.rule-item:first-child{border-top:0}.rule-item.is-paused>.rule-head strong,.rule-item.is-paused>p{color:var(--ink-muted)}.rule-head{align-items:center;gap:var(--space-1) var(--space-3);flex-wrap:wrap;display:flex}.rule-item>p{margin:0}.confirm{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:inline-flex}.match-preview{gap:var(--space-2);padding:var(--space-3);background:var(--surface-raised);border:1px solid var(--line-card);border-radius:var(--radius-sm);flex-direction:column;display:flex}.match-preview p{margin:0}.rule-form .radio-group{gap:var(--space-2);border:0;flex-direction:column;margin:0;padding:0;display:flex}.rule-form .radio-group legend{padding:0 0 var(--space-2);font-weight:600}.rule-form .when-field{max-width:320px}.app-layout>main>.notifications-page{max-width:1920px}.notifications-layout{gap:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;display:grid}@media (width<=1100px){.notifications-layout{grid-template-columns:minmax(0,1fr)}}.notifications-page .hds-card{padding:var(--space-4);gap:var(--space-3);border-color:var(--line-soft);border-radius:var(--radius-md)}.notifications-page .hds-card>h3{font-size:var(--text-body-size)}.rule-form.filters-panel{max-height:none;display:flex;position:static;overflow:visible}.rule-form.filters-panel .radio-group legend{font-size:var(--text-caption-size)}.rule-form.filters-panel .when-field{max-width:none}.rule-form.filters-panel>p.muted{font-size:var(--text-eyebrow-size)}.rule-name-step{gap:var(--space-2)}
