.local-heading{margin-bottom:var(--space-8)}.local-heading p{margin-top:var(--space-2)}.settings-page{max-width:1000px}.settings-nav{margin-bottom:var(--space-12)}.settings-nav ul{gap:var(--space-6);padding:0;list-style:none;display:flex}.settings-content>section,.settings-form section{border-top:var(--line-strong) solid var(--rule);padding-top:var(--space-8);margin-top:var(--space-12)}.settings-content>section:first-of-type,.settings-form section:first-child{border-top:0;margin-top:0}.settings-content section .failure-row:last-child,.settings-content section .client-row:last-child{padding-bottom:calc(var(--space-6) + 1px);border-bottom:0}.settings-content h2{margin-bottom:var(--space-4)}.settings-content h3{margin-top:var(--space-6);margin-bottom:var(--space-3)}.settings-content p+p{margin-top:var(--space-3)}.settings-content .field,.settings-content .editor-radio{margin-top:var(--space-6);max-width:640px}.settings-content .field input,.settings-content .field textarea{width:100%}.settings-content>p+.settings-form,.settings-content>p+.warning+.settings-form{margin-top:var(--space-12)}.local-radios{min-width:0;margin-block:var(--space-4)}.local-radios legend{margin-bottom:8px}.local-radios>p{margin-top:8px}.local-check{align-items:center;gap:var(--space-3);min-height:48px;margin-top:var(--space-4);display:flex}.local-check input{width:20px;height:20px;accent-color:var(--accent);flex:0 0 20px}.local-file{gap:var(--space-3);margin-block:var(--space-4);display:grid}.file-picker-control{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.file-picker-name{overflow-wrap:anywhere}.file-picker-control button{min-height:var(--control)}.profile-logo{object-fit:contain;width:auto;max-width:240px;height:auto;max-height:130px;margin-block:var(--space-6)}.issuer-logo-settings{margin-top:var(--space-4)}.issuer-logo-action{align-items:center;gap:var(--space-3);min-height:var(--control);display:inline-flex}.issuer-logo-action .editor-preview-chevron{flex-shrink:0}.issuer-logo-dialog .profile-logo{max-width:min(240px,100%)}.local-save{margin-top:var(--space-8)}.local-save button{margin-bottom:var(--space-4)}.danger{color:var(--error);border:1px solid var(--error);min-height:var(--control);padding:var(--space-2) var(--space-4)}.danger-zone{margin-top:var(--space-24)}.danger-zone button{margin-top:var(--space-6)}.local-dialog{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-dialog);box-shadow:var(--shadow-dialog);width:min(560px,100% - 32px);max-height:calc(100dvh - 32px);padding:var(--space-8);overflow:auto}.local-dialog::backdrop{background:var(--backdrop)}.local-dialog h2{margin-bottom:var(--space-6)}.local-dialog p,.local-dialog ul{margin-block:var(--space-4)}.dialog-actions{gap:var(--space-4);margin-top:var(--space-8);flex-wrap:wrap;display:flex}.data-status{gap:var(--space-3);margin-block:var(--space-6);grid-template-columns:minmax(100px,1fr) 2fr;display:grid}.data-status dt{color:var(--muted)}.backup-action{margin-block:var(--space-4)}.backup-action>p{margin-block:var(--space-3)}.import-confirm{margin-block:var(--space-6);padding-block:var(--space-6);border-top:1px solid var(--rule)}.import-confirm .local-radios label{display:flex}.import-confirm label>span{display:block}.import-confirm{padding-bottom:calc(var(--space-6) + 1px)}.import-confirm>.primary{margin-top:var(--space-6)}.failure-row,.client-row{border-bottom:1px solid var(--rule);padding-block:var(--space-6)}.failure-row button{margin-top:var(--space-4)}.data-key{overflow-wrap:anywhere;font-size:13px;display:block}.client-list{margin-top:var(--space-6);padding:0;list-style:none}.client-status:not(:empty){margin-block:var(--space-6)}.client-add{margin-top:var(--space-6)}.client-summary{gap:var(--space-4);flex-wrap:wrap;align-items:baseline;display:flex}.client-name{font-family:var(--font-heading);flex:160px;font-size:20px}.client-summary time{color:var(--muted);font-size:13px}.client-subjects{margin-block:var(--space-3);color:var(--muted);padding:0;font-size:13px;list-style:none}.client-subjects li+li{margin-top:4px}.client-form{padding-block:var(--space-6)}.client-form .actions{margin-top:var(--space-6)}.client-picker{margin-block:var(--space-4)}.client-picker summary{min-height:48px;color:var(--accent)}.client-picker ul{max-height:280px;padding:0;list-style:none;overflow:auto}.client-picker li{border-bottom:1px solid var(--rule);padding-block:var(--space-2)}.client-picker button{text-align:left;max-width:100%;min-height:48px;padding:8px}.issuer-preference{margin-block:var(--space-4);font-size:13px}.issuer-preference>.local-check+p{margin-top:8px}.issuer-preference a{align-items:center;min-height:44px;display:inline-flex}.history-heading{gap:var(--space-6);flex-wrap:wrap;align-items:baseline;display:flex}.history-heading>a{margin-left:auto}.archive-count{color:var(--muted);font-size:13px}.archive-count strong{font:32px var(--font-heading);color:var(--text)}.history-search{align-items:end;gap:var(--space-6);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.history-search .field{flex:260px}.history-search input[type=search]{width:100%}.history-search .local-radios{flex:0 auto;margin:0}.history-notice{margin-bottom:var(--space-4)}.history-grid{gap:var(--space-12);min-width:0;display:grid}.history-ledger{min-width:0}.history-support{border-top:var(--line-strong) solid var(--rule);padding-top:var(--space-6)}.history-support h2{font:500 18px var(--font-body);margin-bottom:var(--space-6)}.history-support dl{font-size:13px}.history-support dt{color:var(--muted);margin-top:var(--space-4)}.history-support .warning{margin-top:var(--space-6)}.history-failures{margin-block:var(--space-6);border-top:1px solid var(--rule);padding-block:var(--space-4)}.history-failures summary{min-height:44px;color:var(--warning)}.history-failures ul{padding:0;font-size:13px;list-style:none}.history-failures li{margin-block:var(--space-4)}.history-failures[open] summary{margin-bottom:var(--space-4)}.history-table{table-layout:fixed;border-collapse:collapse;width:100%;margin-top:var(--space-8);font-size:13px}.history-table caption{text-align:left;margin-bottom:var(--space-4);color:var(--muted);font-size:13px}.history-exclusion{white-space:nowrap;margin-inline-start:.5em;display:inline-block}.history-table tbody:first-of-type .history-month th{padding-top:16px}.history-table thead th{border-bottom:1px solid var(--rule);text-align:left;color:var(--muted);padding:12px 6px;font-weight:500}.history-table thead th:first-child{width:9%}.history-table thead th:nth-child(2){width:6%}.history-table thead th:nth-child(3){width:14%}.history-table thead th:nth-child(4){width:18%}.history-table thead th:nth-child(5){width:15%}.history-table thead th:nth-child(6){text-align:right;width:12%}.history-table thead th:nth-child(7){width:8%}.history-table thead th:nth-child(8){width:18%}.history-month th{text-align:left;border-bottom:3px solid var(--month-rule);padding:32px 0 12px;font-weight:400}.month-heading{gap:var(--space-6);justify-content:space-between;align-items:end;display:flex}.month-heading>span{font-family:var(--font-heading);white-space:nowrap}.month-year{font-size:13px}.month-heading>span>strong{font-size:56px;font-weight:400;line-height:1.2}.month-total{text-align:right;font-size:13px}.month-total>strong{font:26px var(--font-heading);font-variant-numeric:tabular-nums}.month-total small{color:var(--muted);font-size:13px;font-weight:400;display:block}.history-entry td{vertical-align:top;border-bottom:1px solid var(--rule);overflow-wrap:anywhere;padding:24px 6px}.entry-date,.entry-number,.entry-amount,.entry-export{font-variant-numeric:tabular-nums}.entry-recipient a{align-items:center;min-height:44px;font-weight:500;display:inline-flex}.entry-subject>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.entry-amount{text-align:right;font-family:var(--font-heading);font-size:18px}.entry-number>span{margin-top:8px;display:block}.entry-actions>button,.entry-actions>a,.entry-actions summary{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:4px;display:inline-flex}.entry-actions details{display:inline-block;position:relative}@media (width>=1024px){.entry-recipient a,.entry-actions>button,.entry-actions>a,.entry-actions summary{min-height:44px;line-height:inherit;margin-block:-10px;padding-block:10px}.entry-amount{line-height:1.3}}.entry-actions details[open]{z-index:1}.entry-actions summary{color:var(--accent);gap:8px;list-style:none}.entry-actions summary::-webkit-details-marker{display:none}.entry-actions summary:after{content:"";border-bottom:1px solid;border-right:1px solid;width:6px;height:6px;transform:rotate(45deg)translateY(-2px)}.entry-actions details[open] summary:after{transform:rotate(225deg)}.entry-actions details>button,.entry-actions details>a{align-items:center;min-height:44px;margin-top:8px;padding:8px;display:flex}.entry-actions details>.mobile-reexport{display:none}.empty-history{padding-block:var(--space-16)}.empty-history p{margin-block:var(--space-6);max-width:640px}@media (width>=1600px){.history-page{max-width:1480px}.history-grid{grid-template-columns:minmax(0,1fr) 240px}.history-support{border-top:0}}@media (width<=1023px){.history-table,.history-table caption,.history-table tbody,.history-table tr,.history-table td,.history-month th{width:100%;display:block}.history-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.history-table .history-entry{border-bottom:1px solid var(--rule);grid-template-columns:minmax(0,1fr) minmax(90px,auto);grid-template-areas:"date kind""recipient amount""subject subject""number export""actions actions";gap:4px 12px;padding-block:20px;display:grid}.history-entry td{border:0;padding:0}.history-entry .entry-date{color:var(--muted);grid-area:date}.history-entry .entry-kind{text-align:right;color:var(--muted);grid-area:kind}.history-entry .entry-recipient{grid-area:recipient;font-size:15px}.history-entry .entry-amount{grid-area:amount;align-self:center}.history-entry .entry-subject{color:var(--muted);grid-area:subject}.history-entry .entry-number{color:var(--muted);grid-area:number}.history-entry .entry-export{text-align:right;color:var(--muted);grid-area:export}.history-entry .entry-actions{grid-area:actions;justify-content:end;gap:16px;padding-top:8px;display:flex}.entry-actions>button,.entry-actions summary,.entry-actions details>button,.entry-actions details>a{min-width:48px;min-height:48px}.entry-actions>.entry-reexport{display:none}.entry-actions details>.mobile-reexport{display:flex}.month-heading{flex-wrap:wrap;gap:12px}.month-heading>span>strong{font-size:42px}.month-total{margin-left:auto}.month-total>strong{font-size:22px}.month-total small{max-width:250px}.history-heading>a{margin-left:0}.history-heading{gap:12px 20px}}@media (width<=600px){.settings-nav ul{gap:24px}.local-dialog{padding:24px 20px}.data-status{grid-template-columns:1fr;gap:4px}.data-status dd{margin-bottom:12px}.history-search{gap:12px}.history-support{margin-top:16px}}.history-failures{order:3}.history-ledger{order:1}.history-support{order:2}@media (width<=1023px){.history-failures{order:0}}@media (width>=1600px){.history-ledger{grid-area:1/1/span 2}.history-support{grid-area:1/2}.history-failures{grid-area:2/2}}.history-page,.settings-page{padding-block:48px 80px}.data-status>div{display:contents}.client-picker summary:after,.history-failures summary:after{content:"";border-bottom:1px solid;border-right:1px solid;width:7px;height:7px;margin-left:12px;transform:rotate(45deg)}.client-picker[open] summary:after,.history-failures[open] summary:after{transform:rotate(225deg)}.settings-content>.danger-zone{margin-top:var(--space-24)}.settings-content input:not([type=radio]):not([type=checkbox]):not([type=file]),.settings-content textarea,.history-search input[type=search]{font:16px / 1.6 var(--font-body);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-height:44px;padding:10px 12px}.settings-content .field label,.history-search .field label{margin-bottom:8px;font-size:14px;display:block}.settings-content input[aria-invalid=true]{border-color:var(--error)}@media (width<=600px){.settings-content input:not([type=radio]):not([type=checkbox]):not([type=file]),.settings-content textarea,.history-search input[type=search]{min-height:48px}}
