/* Company finances follow the workbench's restrained, soft Mac-style surfaces. */
.finance-page,.finance-dialog{--finance-ink:#344a55;--finance-muted:#778b94;--finance-line:#dce5e8;--finance-accent:#547b72;color:var(--finance-ink);font-family:inherit;min-width:0}
.finance-page{max-width:1440px;margin:0 auto;padding-bottom:34px}.finance-page *,.finance-dialog *{box-sizing:border-box;min-width:0}.finance-page button,.finance-dialog button,.finance-page input,.finance-page select,.finance-dialog input,.finance-dialog select{font:inherit;letter-spacing:inherit}
.finance-icon{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.finance-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.finance-heading h1{font-size:29px;line-height:1.35;font-weight:650;letter-spacing:-.045em;margin:0;color:#304655}.finance-heading p{margin:7px 0 0;font-size:14px;line-height:1.7;color:var(--finance-muted)}
.finance-button,.finance-text-button,.finance-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 13px;border:1px solid #d2dfe0;border-radius:10px;background:#ffffffb8;color:#4c6b70;font-size:14px;font-weight:500;line-height:1.45;cursor:pointer;box-shadow:0 1px 2px #314b5f05}.finance-button:hover{background:#fff;border-color:#b4c9c6}.finance-primary{background:#5d8078;border-color:#5d8078;color:#fff}.finance-primary:hover{background:#4c7067;border-color:#4c7067}.finance-text-button,.finance-icon-button{background:transparent;border-color:transparent;box-shadow:none;padding:6px 8px;color:#648087}.finance-text-button:hover,.finance-icon-button:hover{background:#e9f0f0}.finance-page button:disabled,.finance-dialog button:disabled{opacity:.5;cursor:default}.finance-page :is(button,a,input,select):focus-visible,.finance-dialog :is(button,a,input,select):focus-visible,.finance-table-scroll:focus-visible{outline:3px solid #a6c5bd;outline-offset:3px}
.finance-company-tabs{display:flex;gap:4px;padding:4px;margin:0 0 18px;width:fit-content;max-width:100%;border-radius:11px;background:#e4eaf0a8}.finance-company{padding:8px 20px;border:0;border-radius:8px;background:transparent;font-size:14px;line-height:1.4;color:#718693;cursor:pointer}.finance-company.is-active{background:#fff;color:#41685f;box-shadow:0 2px 6px #334c5909;font-weight:600}
.finance-accounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-account{display:block;text-align:left;border:1px solid #dbe4e8bd;border-radius:14px;padding:16px 18px;background:#ffffffa1;box-shadow:0 3px 15px #334c6403;cursor:pointer;color:var(--finance-ink)}.finance-account:hover{border-color:#b8cec7;background:#ffffffda}.finance-account.is-selected{border-color:#84aa9c;background:#f5faf7;box-shadow:0 0 0 1px #95b1a638}.finance-account-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:#6c858b}.finance-account-status{font-size:11px;padding:2px 6px;border-radius:5px;background:#edf1f3;color:#7d909a}.finance-account>strong{display:block;font-size:20px;font-weight:620;line-height:1.5;margin-top:9px;letter-spacing:-.025em}.finance-account-purpose{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-size:12px;line-height:1.6;color:#80959a;margin-top:5px}.finance-account-purpose>span{font-size:11px;color:#94a4a9}
.finance-connection-note{display:flex;gap:9px;align-items:center;margin:15px 0 25px;padding:0 3px}.finance-connection-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#adbbb9}.finance-connection-note p{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:12px;line-height:1.6;flex:1;color:#85969c}.finance-connection-note strong{font-weight:500;color:#6e858d}.finance-connection-note .finance-text-button{font-size:12px;padding:3px 4px;min-height:28px}
.finance-summary{display:grid;grid-template-columns:1fr 1fr .75fr;gap:20px;padding:1px 3px 26px;margin-bottom:25px;border-bottom:1px solid #dce4e9b0}.finance-summary>div>span{display:block;color:#80959b;font-size:13px;line-height:1.6}.finance-summary strong{display:block;font-size:30px;font-weight:570;line-height:1.5;margin-top:5px;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.finance-summary small{font-size:13px;font-weight:400;margin-left:6px;letter-spacing:0;color:#89999f}
.finance-transactions{border:1px solid #dce5e9bd;border-radius:16px;background:#ffffffba;overflow:hidden;box-shadow:0 4px 22px #334c6403}.finance-transactions>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 23px 0}.finance-transactions h2{font-size:18px;line-height:1.6;font-weight:610;margin:0;color:#405b65}.finance-transactions header p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#82949e}.finance-transactions>header>span{font-size:11px;color:#90a1a8;white-space:nowrap}.finance-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:20px 23px 21px}.finance-filters label,.finance-import-fields>label{display:flex;flex-direction:column;gap:7px;font-size:12px;line-height:1.4;font-weight:500;color:#768d96}.finance-filters input,.finance-filters select,.finance-import-fields input,.finance-import-fields select{height:39px;border:1px solid #dbe5e7;border-radius:8px;background:#fff;color:#536e77;padding:8px 10px;font-size:13px;box-shadow:none}.finance-filters option,.finance-dialog option{background:#fff;color:#4b6670}.finance-filters input::placeholder{color:#a2b1b7}.finance-date-range{display:flex;align-items:flex-end;gap:8px}.finance-date-range>span{align-self:flex-end;padding-bottom:11px;color:#9bacb3}.finance-date-range input{width:146px}.finance-search-label{flex:1;min-width:175px}.finance-filters .finance-button{min-height:39px}.finance-filters .finance-text-button{min-height:39px;font-size:12px}
.finance-table-scroll{overflow:auto;max-width:100%;scrollbar-gutter:stable}.finance-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.finance-table th{padding:12px 15px;background:#f2f6f7b8;border-top:1px solid #e4ebed;border-bottom:1px solid #e0e8eb;color:#7b8f98;font-size:11px;font-weight:550;white-space:nowrap}.finance-table th:first-child,.finance-table td:first-child{padding-left:23px}.finance-table th:last-child,.finance-table td:last-child{padding-right:23px}.finance-table td{padding:16px 15px;border-bottom:1px solid #edf1f3;vertical-align:top;line-height:1.65;color:#526c77}.finance-transaction-date{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.finance-bank-cell{white-space:nowrap;font-size:12px}.finance-bank-cell small,.finance-memo small{display:block;font-size:11px;color:#8c9da5;margin-top:3px}.finance-memo{min-width:160px;max-width:340px;overflow-wrap:anywhere}.finance-memo strong{font-size:14px;font-weight:500;line-height:1.65}.finance-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.finance-table td.finance-deposit{color:#547d70}.finance-category{font-size:11px;color:#869b9f;white-space:nowrap}.finance-data-note{font-size:12px;line-height:1.75;color:#8a9b9f;margin:16px 23px 20px}.finance-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 23px 0}.finance-pagination>span{font-size:12px;color:#899da4}.finance-pagination>div{display:flex;gap:7px}.finance-pagination .finance-button{min-height:32px;font-size:12px;padding:5px 11px}
.finance-empty{text-align:center;padding:52px 25px 48px;color:#8b9ea5}.finance-empty>span{display:inline-flex;margin-bottom:16px;color:#a4b9b6}.finance-empty .finance-icon{width:29px;height:29px}.finance-empty h3,.finance-empty h1{font-size:18px;font-weight:540;line-height:1.6;color:#78908f;margin:0 0 8px}.finance-empty p{max-width:440px;margin:0 auto;font-size:13px;line-height:1.8}.finance-empty .finance-button{margin-top:22px}.finance-loading{display:flex;justify-content:center;align-items:center;gap:10px;padding:70px 22px;font-size:14px;color:#81979c}.finance-spinner{display:inline-block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:finance-spin .8s linear infinite;opacity:.65;flex:none}@keyframes finance-spin{to{transform:rotate(360deg)}}.finance-error{margin:16px 23px;padding:11px 14px;border:1px solid #e2d2b7;border-radius:9px;background:#faf6ed;color:#977a58;font-size:13px;line-height:1.75}.finance-error[hidden]{display:none}.finance-error .finance-text-button{margin-left:10px}
.finance-dialog{width:min(880px,calc(100vw - 64px));max-height:85dvh;overflow:auto;padding:24px}.finance-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.finance-dialog h2{font-size:24px;font-weight:620;line-height:1.4;margin:0;letter-spacing:-.035em;color:#3c5861}.finance-eyebrow{font-size:11px;color:#92a1a8;margin:0 0 6px;line-height:1.5}.finance-dialog>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:19px;border-top:1px solid #e3eaec}.finance-import-fields{display:flex;flex-direction:column;gap:19px}.finance-import-fields label{font-size:13px}.finance-import-fields input[type=file]{height:auto;padding:15px;background:#f6f9f9}.finance-import-fields>p{margin:-8px 0 0;font-size:12px;color:#8b9ca3;line-height:1.8}.finance-import-fields>.finance-text-button{align-self:flex-start;margin-top:-5px;padding-left:0;font-size:12px}.finance-dialog .finance-data-note{margin:16px 0 0}.finance-dialog .finance-error{margin:17px 0 0}.finance-selected-file{color:#608178!important}.finance-import-caption{display:flex;flex-direction:column;gap:5px;line-height:1.6}.finance-import-caption strong{font-size:15px;font-weight:560}.finance-import-caption span{font-size:12px;color:#869ba4;overflow-wrap:anywhere}.finance-import-counts{display:flex;align-items:baseline;gap:20px;margin:16px 0 10px}.finance-import-counts p{margin:0;font-size:13px;line-height:1.6;color:#7f949a}.finance-import-counts strong{font-size:28px;font-weight:560;letter-spacing:-.04em;color:#476d60}.finance-preview-totals{display:flex;gap:20px;flex-wrap:wrap;margin:8px 0 20px;font-size:12px;color:#82979d}.finance-preview-totals strong{font-weight:550;margin-left:6px;color:#59757c}.finance-dialog .finance-table-scroll{max-height:34dvh;border:1px solid #e2eaec;border-radius:9px}.finance-dialog .finance-table th{position:sticky;top:0;background:#f2f6f7}.finance-dialog .finance-table td{padding-top:12px;padding-bottom:12px}.finance-guide{max-width:610px}.finance-guide-lead{font-size:16px;line-height:1.7;color:#58766f;margin:0 0 22px}.finance-guide ol{list-style:none;counter-reset:finance-step;padding:0;margin:0}.finance-guide li{position:relative;padding:0 0 23px 36px;counter-increment:finance-step}.finance-guide li::before{content:counter(finance-step);position:absolute;top:0;left:0;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#eaf1ee;color:#6a8c7e;font-size:12px}.finance-guide li>strong{font-size:14px;font-weight:600;line-height:1.7}.finance-guide li>p{margin:6px 0 0;font-size:13px;line-height:1.8;color:#81969b}.finance-guide .finance-data-note{margin-top:0}
body.mac-theme .shell-refined .sidebar .sidebar-team-shortcuts.has-finance .nav-item>.icon{display:none}
.finance-connection-dot.is-enabled{background:#6e9f84}.finance-connection-actions{display:flex;align-items:center;gap:7px;flex:none}.finance-connection-actions>.finance-button{font-size:12px;min-height:32px;padding:5px 10px}.finance-account-times{display:flex;flex-direction:column;gap:2px;color:#91a3a8;font-size:10px;line-height:1.65;margin-top:8px}.finance-advanced{border:1px solid #dce7e5;border-radius:10px;padding:13px 15px;margin:19px 0 0;background:#f4f8f7}.finance-advanced>summary{font-size:13px;line-height:1.6;color:#5a8074;cursor:pointer}.finance-advanced>p{font-size:12px;line-height:1.8;color:#80978f;margin:11px 0}.finance-advanced>.finance-button{font-size:12px}.finance-local-only{font-size:12px;color:#8e999b}.finance-schedule-card{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:17px;background:#edf5f0;border:1px solid #d4e5dc;border-radius:12px;margin:0 0 20px}.finance-schedule-card>div{flex:1;min-width:160px}.finance-schedule-card strong{display:block;font-size:14px;font-weight:600;color:#517b66}.finance-schedule-card span{display:block;font-size:12px;color:#7f9a8b;line-height:1.75;margin-top:5px}.finance-schedule-card p{width:100%;margin:0;color:#82988d;font-size:11px;line-height:1.6}.finance-guide li>a{font-size:12px;color:#577f72;text-decoration:underline;text-underline-offset:3px}.finance-setup{max-width:720px}.finance-setup-note{font-size:13px;line-height:1.8;color:#84989c;margin:0 0 21px}.finance-setup-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.finance-setup label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#789198;line-height:1.7}.finance-setup input:not([type=checkbox]){height:40px;border:1px solid #dce6e5;border-radius:8px;padding:8px 11px;background:#fff;color:#4e706f;font-size:13px;box-shadow:none}.finance-setup input::placeholder{color:#a5b6b7}.finance-setup input[type=checkbox]{accent-color:#608c77}.finance-setup .finance-test-mode{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;margin:18px 0 25px}.finance-test-mode>span{font-size:11px;color:#94a6a8;margin-left:7px}.finance-setup-account-heading{font-size:13px;color:#728c8f;margin:0 0 11px}.finance-setup-accounts{display:flex;flex-direction:column;gap:8px}.finance-setup-account{border:1px solid #dfe8e8;border-radius:10px;padding:13px 15px;background:#fbfcfc}.finance-setup-account>summary{cursor:pointer;font-size:14px;line-height:1.7;color:#56746f}.finance-setup-account>summary>small{margin-left:10px;font-size:10px;color:#93a7a0}.finance-setup-account .finance-account-select{display:flex;flex-direction:row;align-items:center;gap:8px;margin:13px 0}.finance-account-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.finance-account-fields>label:last-child{grid-column:1/-1}.finance-setup .finance-button{font-size:13px}
.finance-setup-account:not(:has(.finance-account-select input:checked)) .finance-account-fields{opacity:.55}
.finance-connection-dot.needs-attention{background:#b18c58}.finance-account-error{display:block;color:#a58c68;font-size:11px;line-height:1.65;margin-top:8px}
.finance-direct-guide{max-width:680px}.finance-direct-guide>.finance-guide-lead{font-size:16px;line-height:1.7;margin-bottom:15px}.finance-direct-status{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;padding:12px 14px;border:1px solid #dce7e6;background:#f2f7f6;border-radius:10px;font-size:12px;line-height:1.6;margin-bottom:20px}.finance-direct-status strong{font-size:12px;font-weight:550;color:#698781}.finance-direct-status span{color:#8b9e9f}.finance-direct-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 2px;margin:0 0 23px;list-style:none}.finance-direct-steps li{position:relative;display:grid;grid-template-columns:22px 1fr;gap:3px 7px;align-items:center}.finance-direct-steps li>span{grid-row:1/3;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e9efef;color:#8d9e9c;font-size:11px}.finance-direct-steps strong{font-size:12px;line-height:1.6;font-weight:550;color:#6f8988}.finance-direct-steps small{font-size:10px;line-height:1.6;color:#9aabaa}.finance-direct-banks{border:1px solid #dfe8e8;border-radius:12px;overflow:hidden;margin-bottom:19px}.finance-direct-bank{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;border-bottom:1px solid #e7eded;background:#fff9}.finance-direct-bank:last-child{border-bottom:0}.finance-direct-bank.is-pilot{background:#f4f9f6}.finance-direct-bank strong{display:block;font-size:14px;font-weight:600;color:#58726f;line-height:1.6}.finance-direct-bank strong>span{margin-left:6px;color:#80928f;font-weight:500}.finance-direct-bank p{font-size:11px;line-height:1.6;color:#96a5a4;margin:3px 0 0}.finance-direct-bank>a{font-size:12px;min-height:33px;white-space:nowrap;text-decoration:none;padding:6px 10px}.finance-direct-guide .finance-advanced{margin:15px 0 0;background:transparent;border-color:#e5ebec}.finance-direct-guide .finance-advanced summary{font-size:11px;color:#95a5a5}.finance-direct-guide .finance-bank-help{margin-bottom:0}.finance-direct-guide .finance-bank-help p{font-size:12px;line-height:1.8}
@media(max-width:760px){.finance-direct-steps{gap:9px;grid-template-columns:1fr}.finance-direct-steps li{grid-template-columns:22px auto 1fr;gap:9px}.finance-direct-steps li>span{grid-row:auto}.finance-direct-steps small{font-size:11px}.finance-direct-bank{padding:14px 12px;gap:10px}.finance-direct-bank>a{font-size:11px;padding:6px 8px}.finance-direct-bank strong{font-size:13px}}
@media(max-width:760px){.finance-connection-note{flex-wrap:wrap}.finance-connection-note>p{min-width:180px}.finance-connection-actions{width:100%;justify-content:flex-end}.finance-setup-pair,.finance-account-fields{grid-template-columns:1fr}.finance-setup-account{padding:11px 12px}.finance-test-mode>span{margin-left:25px}.finance-account-top{flex-wrap:wrap}.finance-account-status{white-space:normal}.finance-account-times{font-size:9px}}
.finance-guide-details,.finance-file-details{padding:12px 14px;border:1px solid #e3ebeb;border-radius:9px;margin:0 0 16px;font-size:12px;line-height:1.8;color:#81969b}.finance-guide-details summary,.finance-file-details summary{cursor:pointer;color:#6b868c}.finance-guide-details p,.finance-file-details p{margin:10px 0}.finance-guide-details a{color:#537c73;text-decoration:underline;text-underline-offset:3px}.finance-preview-caption{font-size:12px;color:#849a9f;margin:12px 0 9px}.finance-import-fields .finance-file-details{margin:-8px 0 0}
@media(max-width:1150px){.finance-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-heading{align-items:flex-start}.finance-heading>.finance-button{font-size:12px}}
@media(max-width:760px){.finance-heading{flex-direction:column;gap:15px}.finance-heading h1{font-size:27px}.finance-heading>.finance-button{font-size:13px}.finance-company{padding:8px 16px}.finance-accounts{gap:9px}.finance-account{padding:13px}.finance-account>strong{font-size:18px}.finance-account-top{font-size:12px}.finance-account-status{font-size:10px;padding:2px 4px}.finance-summary{gap:12px;padding-bottom:20px;margin-bottom:20px}.finance-summary>div>span{font-size:11px}.finance-summary strong{font-size:23px;overflow-wrap:anywhere}.finance-summary small{font-size:11px;margin-left:4px}.finance-connection-note{align-items:flex-start}.finance-connection-dot{margin-top:7px}.finance-connection-note p{display:block;font-size:11px}.finance-connection-note p span{display:block;margin-top:3px}.finance-connection-note .finance-text-button{font-size:11px;white-space:nowrap}.finance-transactions>header{padding:17px 16px 0}.finance-filters{margin:17px 16px;gap:10px}.finance-date-range{width:100%}.finance-date-range>label{flex:1}.finance-date-range input{width:100%}.finance-search-label{min-width:125px}.finance-filters label{font-size:11px}.finance-filters input,.finance-filters select{font-size:12px}.finance-filters .finance-button{font-size:12px}.finance-data-note{margin:15px 16px;font-size:11px}.finance-pagination{padding:14px 16px 0}.finance-table th:first-child,.finance-table td:first-child{padding-left:16px}.finance-empty{padding:40px 20px}.finance-dialog{width:calc(100vw - 32px);max-height:88dvh;padding:20px 16px}.finance-dialog h2{font-size:22px}.finance-dialog .finance-table-scroll{max-height:32dvh}}
.finance-heading-actions{display:flex;align-items:flex-start;gap:12px}.finance-heading-actions>.finance-text-button{font-size:12px;min-height:38px}.finance-start-control{display:flex;flex-direction:column;align-items:center;gap:6px}.finance-start-control>span{font-size:11px;line-height:1.5;color:#82969c}.finance-account-status.is-verified{background:#eaf3ee;color:#567c69}
.finance-direct-sync{container-type:inline-size;margin:16px 0 26px;padding:18px 20px;border:1px solid #dce7e3;border-radius:14px;background:#f9fcfabd;box-shadow:0 2px 12px #34544303}.finance-direct-sync.needs-attention{border-color:#e4dbc8;background:#fdfbf5bf}.finance-direct-sync-heading{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:10px}.finance-direct-sync-heading>.finance-connection-dot{margin:8px 5px 0 4px}.finance-direct-sync-heading>.finance-spinner{margin-top:4px}.finance-direct-sync-heading>div[role=status]{min-width:0}.finance-direct-sync-heading strong{font-size:15px;font-weight:600;line-height:1.6;color:#46665d}.finance-direct-sync-heading p{font-size:13px;line-height:1.75;margin:4px 0 0;color:#718982;word-break:keep-all;overflow-wrap:break-word}.finance-direct-sync-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.finance-direct-sync-actions:empty{display:none}.finance-direct-sync-actions>.finance-button,.finance-direct-sync-actions>.finance-text-button{font-size:12px;min-height:34px}
.finance-sync-accounts{list-style:none;padding:15px 0 0;margin:14px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px;border-top:1px solid #e0e9e4}.finance-sync-accounts>li{display:flex;align-items:flex-start;gap:8px}.finance-sync-step{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#eaf0ed;color:#8a9c93;font-size:10px;font-variant-numeric:tabular-nums}.finance-sync-step .finance-icon{width:13px;height:13px}.finance-sync-accounts strong{display:block;font-size:12px;font-weight:550;line-height:1.7;color:#6f8580;word-break:keep-all;overflow-wrap:break-word}.finance-sync-accounts div>span{display:block;font-size:11px;line-height:1.8;color:#879991}.finance-sync-accounts small{display:block;font-size:11px;line-height:1.7;margin-top:3px;color:#8d8c75;overflow-wrap:anywhere}.finance-sync-accounts .is-current .finance-sync-step{background:#f0e9d9;color:#967b4e}.finance-sync-accounts .is-current strong{color:#806b4c}.finance-sync-accounts .is-completed .finance-sync-step{background:#dfeee4;color:#5e826c}.finance-sync-footnote{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.finance-sync-footnote>span{font-size:11px;line-height:1.7;color:#8b9b95}.finance-sync-footnote .finance-text-button{flex:none;min-height:26px;font-size:11px;padding:3px 5px}.finance-provider-status{margin:-8px 0 23px;color:#81928f;font-size:11px}.finance-provider-status>summary{cursor:pointer;padding:4px}.finance-provider-status .finance-connection-note{margin:7px 4px 0}
@media(max-width:1050px){.finance-heading-actions{flex-direction:column;align-items:flex-end;gap:2px}.finance-heading-actions>.finance-text-button{min-height:30px}}
@media(max-width:760px){.finance-heading-actions{width:100%;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:10px}.finance-heading-actions>.finance-text-button{max-width:150px;font-size:11px;min-height:38px}.finance-start-control{align-items:flex-start}.finance-start-control>.finance-button{font-size:13px}.finance-direct-sync{padding:15px;margin-top:13px}.finance-direct-sync-heading strong{font-size:14px}.finance-direct-sync-heading p{font-size:12px}.finance-direct-sync-heading{grid-template-columns:18px minmax(0,1fr)}.finance-direct-sync-actions{grid-column:2;width:100%;margin:2px 0 0;justify-content:flex-start;padding-left:0}.finance-sync-accounts{gap:13px 10px}.finance-sync-accounts strong{font-size:11px}.finance-sync-footnote{align-items:flex-start}.finance-sync-footnote>span{font-size:10px}.finance-sync-footnote .finance-text-button{font-size:10px;white-space:nowrap}}
@media(max-width:420px){.finance-heading-actions{flex-wrap:wrap}.finance-direct-sync-actions{padding-left:0}.finance-direct-sync-actions>.finance-primary{width:100%}}
@container(max-width:620px){.finance-direct-sync-heading{grid-template-columns:18px minmax(0,1fr)}.finance-direct-sync-actions{grid-column:2;width:100%;margin:2px 0 0;justify-content:flex-start;padding-left:0}.finance-sync-footnote{align-items:flex-start}.finance-sync-accounts{gap:12px}.finance-sync-accounts div>span{word-break:keep-all}}
@media(prefers-reduced-motion:reduce){.finance-spinner{animation:none}}
.finance-account{display:flex;flex-direction:column;cursor:default;padding:0;overflow:hidden}.finance-account-select-button{display:block;width:100%;flex:1;text-align:left;border:0;padding:16px 18px 12px;background:transparent;color:inherit;cursor:pointer;border-radius:13px 13px 0 0}.finance-account-select-button:hover{background:#f5faf766}.finance-account-select-button>strong{display:block;font-size:20px;font-weight:620;line-height:1.5;margin-top:9px;letter-spacing:-.025em}.finance-account-connect{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 18px 15px}.finance-account-connect>span{font-size:11px;line-height:1.65;color:#82968e}.finance-account-connect>.finance-button{width:100%;font-size:12px;min-height:34px;padding:6px 9px;background:#f5f9f7;border-color:#d5e2dc;color:#57786b}.finance-account-connect>.finance-button:hover{background:#eaf3ed;border-color:#afc8ba}.finance-account-connect .finance-spinner{width:12px;height:12px}.finance-local-login{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 3px 2px;margin:0 0 8px}.finance-local-login>div:first-child{flex:1;max-width:720px}.finance-local-login strong{font-size:12px;font-weight:550;line-height:1.7;color:#69827b}.finance-local-login p{font-size:11px;line-height:1.8;color:#8a9b95;margin:3px 0 0;word-break:keep-all;overflow-wrap:break-word}.finance-local-login p.finance-local-login-error{color:#9a815b}.finance-local-login-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:2px 6px;max-width:300px}.finance-local-login-actions>.finance-text-button{font-size:11px;min-height:30px;padding:5px 7px}.finance-local-login-actions>span{font-size:11px;line-height:1.8;color:#8a9b95}.finance-account:has(.finance-account-select-button:focus-visible){outline:3px solid #a6c5bd;outline-offset:3px}.finance-account-select-button:focus-visible{outline-offset:-3px!important}
@media(max-width:760px){.finance-account{padding:0}.finance-account-select-button{padding:13px 13px 10px}.finance-account-select-button>strong{font-size:18px}.finance-account-connect{padding:0 13px 13px}.finance-account-connect>span{font-size:10px}.finance-local-login{flex-direction:column;gap:6px;padding:12px 2px 2px}.finance-local-login-actions{justify-content:flex-start;max-width:none}.finance-local-login p{font-size:11px}}

/* Planning shares the quiet finance surface; stronger type is reserved for money and decisions. */
.finance-view-tabs{display:flex;gap:6px;padding:4px;border:1px solid #dce5e5;background:#eaf0f078;border-radius:11px;width:fit-content;margin:-6px 0 25px}.finance-view-tab{border:0;background:transparent;border-radius:8px;padding:9px 18px;color:#748989;font:inherit;font-size:14px;cursor:pointer}.finance-view-tab.is-active{background:#fff;box-shadow:0 1px 5px #3d5c6012;color:#345c50;font-weight:600}.finance-view-tab:focus-visible,.finance-plan-open:focus-visible{outline:3px solid #a6c5bd;outline-offset:2px}.finance-deposit-plan{display:block;white-space:nowrap;padding:5px 0;font-size:12px;min-height:28px}.finance-plan-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}.finance-plan-toolbar .finance-company-tabs{margin:0;display:flex;flex-wrap:wrap}.finance-plan-toolbar>.finance-button{white-space:nowrap}.finance-plan-summary{margin-bottom:26px}.finance-plan-summary>div>span{font-size:14px;color:#647d7b}.finance-plan-summary strong{font-size:30px;font-weight:620;letter-spacing:-.045em}.finance-plan-summary p{margin:7px 0 0;color:#859794;font-size:12px;line-height:1.6}.finance-plan-list-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}.finance-plan-list-heading h2{font-size:17px;letter-spacing:-.025em;font-weight:620;color:#3c5e57;margin:0}.finance-plan-list-heading h2 small{font-size:13px;font-weight:500;color:#8b9e99;margin-left:5px}.finance-plan-list{display:flex;flex-direction:column;gap:10px}.finance-plan-card{border:1px solid #dce6e2;border-radius:13px;background:#fff9;overflow:hidden;box-shadow:0 1px 4px #244e3503}.finance-plan-card.is-open{border-color:#bccfc4;background:#fff}.finance-plan-open{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:18px;width:100%;border:0;padding:21px 23px;background:transparent;text-align:left;color:inherit;cursor:pointer}.finance-plan-open:hover{background:#f3f8f666}.finance-plan-main{display:flex;flex-direction:column;gap:6px;min-width:0}.finance-plan-meta{font-size:12px;line-height:1.5;color:#7b938a}.finance-plan-main>strong{font-size:17px;font-weight:620;line-height:1.55;letter-spacing:-.025em;color:#344f49;overflow-wrap:anywhere}.finance-plan-date{font-size:12px;color:#8b9e96;line-height:1.6}.finance-plan-amount{display:flex;flex-direction:column;align-items:flex-end;gap:5px;white-space:nowrap}.finance-plan-amount>strong{font-size:21px;font-weight:620;letter-spacing:-.035em;color:#3e6354;font-variant-numeric:tabular-nums}.finance-plan-amount>strong small{font-size:12px;font-weight:500;margin-left:4px}.finance-plan-amount>small{font-size:12px;color:#8a9b94}.finance-plan-status{font-size:12px;color:#927c53}.finance-plan-status.is-received{color:#557f6b}.finance-plan-status.is-partial{color:#6b87a0}.finance-plan-chevron{width:16px;height:16px;fill:none;stroke:#a0b2a8;stroke-width:1.5;transition:transform .2s}.finance-plan-open[aria-expanded=true] .finance-plan-chevron{transform:rotate(90deg)}.finance-plan-detail{padding:0 23px 21px}.finance-plan-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-top:20px;border-top:1px solid #e4ece7}.finance-plan-breakdown h3{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:14px;font-weight:600;color:#527367;margin:0 0 11px}.finance-plan-breakdown h3>span{font-size:12px;font-weight:500;white-space:nowrap}.finance-plan-breakdown ul{padding:0;margin:0;list-style:none}.finance-plan-breakdown li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #f0f3f0;font-size:14px}.finance-plan-breakdown li strong{display:block;font-size:14px;font-weight:500;color:#557369;overflow-wrap:anywhere}.finance-plan-breakdown li small{display:block;font-size:12px;line-height:1.7;color:#8b9f94;margin-top:2px}.finance-plan-breakdown li>span{flex:none;color:#607b70;font-variant-numeric:tabular-nums}.finance-plan-remainder{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:8px;padding:12px 14px;background:#f3f7f4;margin:17px 0 14px;font-size:12px;color:#7b9486}.finance-plan-remainder>strong{color:#527460;font-size:15px;white-space:nowrap}.finance-plan-detail-actions{display:flex;justify-content:flex-end;gap:8px}.finance-plan-note{font-size:13px;line-height:1.8;color:#788e82;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 17px}.finance-plan-muted{color:#8c9f95;font-size:13px;line-height:1.8;margin:8px 0}.finance-plan-footnote{font-size:12px;line-height:1.8;color:#8a9b93;margin:20px 2px 0}.finance-plan-empty{padding:45px 25px;text-align:center;background:#ffffff70;border:1px dashed #ccdcd0;border-radius:14px}.finance-plan-empty h3{font-size:19px;color:#547764;font-weight:560;line-height:1.5;margin:8px 0 11px;letter-spacing:-.025em}.finance-plan-empty p{max-width:425px;margin:0 auto 20px;color:#84998e;font-size:14px;line-height:1.8;word-break:keep-all}.is-overdue,.finance-planning .is-negative,.finance-plan-editor .is-negative{color:#a47558!important}
.finance-plan-editor{max-width:730px;width:min(730px,calc(100vw - 50px));padding:25px 28px 0!important;overscroll-behavior:contain}.finance-plan-editor>header{margin-bottom:23px}.finance-plan-editor fieldset{border:0;padding:0;margin:0;min-width:0}.finance-plan-editor label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;color:#698578;line-height:1.6}.finance-plan-editor input,.finance-plan-editor select,.finance-plan-editor textarea{min-width:0;width:100%;box-sizing:border-box;border:1px solid #d9e4dc;border-radius:8px;background:#fff;color:#3f6350;font:inherit;font-size:15px;line-height:1.6;padding:8px 11px;outline:none}.finance-plan-editor input:focus,.finance-plan-editor select:focus,.finance-plan-editor textarea:focus{border-color:#88af95;box-shadow:0 0 0 3px #d4e7d766}.finance-plan-editor input::placeholder,.finance-plan-editor textarea::placeholder{color:#abb9b0;font-size:14px}.finance-plan-editor input[readonly]{background:#f3f7f3;color:#77917f}.finance-plan-editor input[type=date]{font-size:14px}.finance-plan-editor .finance-icon-button{border:0;color:#9aaca0;width:30px;min-height:32px;padding:0;font-size:21px;border-radius:7px}.finance-plan-primary-fields{display:flex;flex-direction:column;gap:15px}.finance-plan-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.finance-plan-extra{margin:0 0 2px}.finance-plan-extra summary,.finance-plan-row-options summary{font-size:12px;line-height:1.8;color:#8c9f91;cursor:pointer;list-style-position:inside}.finance-plan-extra[open] summary{margin-bottom:12px}.finance-plan-extra .finance-plan-field-pair{margin-bottom:13px}.finance-plan-editor-section{margin-top:24px;padding-top:20px;border-top:1px solid #e4ece5}.finance-plan-editor-section>header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px}.finance-plan-editor-section h3{margin:0;color:#486e56;font-size:16px;font-weight:600}.finance-plan-editor-section header p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#8da190}.finance-plan-editor-section header>div:last-child:not(:first-child){display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}.finance-plan-editor-section .finance-text-button{font-size:12px;padding:5px 6px;min-height:30px}.finance-plan-cost-row,.finance-plan-receipt-row{margin:0 0 12px;padding:12px 12px 10px;border:1px solid #e1eae1;border-radius:9px;background:#f8faf8}.finance-plan-row-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.75fr) 28px;align-items:end;gap:10px}.finance-plan-row-main label{font-size:12px}.finance-plan-row-main .finance-icon-button{align-self:end;margin-bottom:4px}.finance-plan-row-options{margin-top:8px}.finance-plan-row-options>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.finance-plan-row-options label{font-size:12px}.finance-plan-editor-totals{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;background:#ecf3eb;border:1px solid #dce8d9;border-radius:10px;padding:15px;margin-top:17px;font-size:12px;color:#7b947b;line-height:1.7}.finance-plan-editor-totals b{font-weight:500;color:#688465;margin-left:5px}.finance-plan-editor-totals>strong{margin-left:auto;font-size:17px;font-weight:620;color:#426943;letter-spacing:-.025em}.finance-plan-receipt-kind{display:block;font-size:11px;color:#8aa184;margin-bottom:7px}.finance-plan-bank-picker{border:1px solid #d5e3d4;border-radius:10px;background:#f3f8f1;padding:13px;margin-top:12px}.finance-plan-bank-search{display:flex;align-items:flex-end;gap:8px}.finance-plan-bank-search>label{flex:1;font-size:12px}.finance-plan-bank-search>.finance-button{min-height:42px}.finance-plan-bank-picker>p{font-size:13px;color:#799175;line-height:1.7}.finance-plan-bank-picker ul{max-height:230px;overflow:auto;padding:0;margin:12px 0 0;list-style:none}.finance-plan-bank-option{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;text-align:left;border:0;border-bottom:1px solid #dfe9dc;background:transparent;padding:12px 3px;font:inherit;cursor:pointer;color:#57784f}.finance-plan-bank-option:hover{background:#e8f1e3}.finance-plan-bank-option:disabled{opacity:.45;cursor:default}.finance-plan-bank-option>strong{font-size:15px;white-space:nowrap}.finance-plan-bank-option span>strong{display:block;font-size:13px;font-weight:550;line-height:1.6}.finance-plan-bank-option small{display:block;font-size:11px;color:#8b9e83;margin-top:4px}.finance-plan-inline-note{font-size:12px;color:#91a18e;line-height:1.7;margin:18px 0 0}.finance-plan-editor>footer{position:sticky;bottom:0;background:#fffffff5;backdrop-filter:blur(12px);padding:15px 0 18px;margin:20px 0 0;z-index:2}.finance-plan-archive-action{margin-right:auto;font-size:12px!important}.finance-plan-editor>footer .finance-button{min-width:70px}.finance-plan-editor .finance-error{color:#967048}
@media(max-width:1100px){.finance-plan-summary strong{font-size:25px}.finance-plan-summary>div>span{font-size:13px}.finance-plan-summary p{font-size:11px}.finance-plan-breakdown{grid-template-columns:1fr;gap:19px}.finance-plan-toolbar{gap:8px}.finance-plan-toolbar .finance-company{padding:7px 11px}.finance-plan-toolbar>.finance-button{font-size:13px;padding:8px 10px}}
@media(max-width:760px){.finance-view-tabs{margin-top:0;margin-bottom:21px}.finance-view-tab{padding:9px 12px;font-size:13px}.finance-plan-toolbar{flex-wrap:wrap;margin-bottom:22px}.finance-plan-summary{gap:10px}.finance-plan-summary strong{font-size:23px}.finance-plan-summary p{font-size:11px}.finance-plan-summary>div>span{font-size:12px}.finance-plan-open{padding:18px 16px;gap:10px;grid-template-columns:minmax(0,1fr) auto 12px}.finance-plan-main>strong{font-size:16px}.finance-plan-amount>strong{font-size:19px}.finance-plan-detail{padding:0 16px 17px}.finance-plan-meta,.finance-plan-date,.finance-plan-amount>small{font-size:11px}.finance-plan-remainder{flex-wrap:wrap}.finance-plan-empty{padding:34px 18px}.finance-plan-empty p{font-size:13px}.finance-plan-editor{padding:20px 17px 0!important;width:calc(100vw - 32px)}.finance-plan-editor>header{margin-bottom:18px}.finance-plan-editor h2{font-size:22px}.finance-plan-row-main{grid-template-columns:minmax(0,1fr) minmax(105px,.8fr) 23px;gap:7px}.finance-plan-row-main .finance-icon-button{width:23px}.finance-plan-field-pair{gap:11px}.finance-plan-editor-section>header{gap:8px}.finance-plan-editor-section header p{font-size:11px}.finance-plan-editor-totals{gap:6px 13px}.finance-plan-editor-totals>strong{font-size:16px}.finance-plan-editor-section{margin-top:21px;padding-top:17px}.finance-plan-editor>footer{padding-bottom:15px}.finance-plan-bank-search{flex-wrap:wrap}.finance-plan-bank-search>label{min-width:160px}}
@media(max-width:480px){.finance-plan-summary{grid-template-columns:1fr 1fr!important;display:grid}.finance-plan-summary>div:last-child{grid-column:1/-1;padding-top:11px;border-top:1px solid #dce7df}.finance-plan-summary>div:last-child strong{display:inline-block;margin-left:14px}.finance-plan-summary>div:last-child p{display:none}.finance-plan-editor-section>header{flex-wrap:wrap}.finance-plan-row-options>div{grid-template-columns:1fr}.finance-plan-editor-totals>strong{width:100%;margin-left:0}.finance-plan-open{grid-template-columns:minmax(0,1fr) auto}.finance-plan-chevron{display:none}.finance-plan-amount>small{max-width:115px;white-space:normal;text-align:right}}
@media(prefers-reduced-motion:reduce){.finance-plan-chevron{transition:none}}
dialog:has(>.finance-plan-editor){width:min(730px,calc(100vw - 32px));padding:0;overflow:hidden;max-height:90dvh;box-sizing:border-box}.finance-plan-editor{width:100%;max-width:none;box-sizing:border-box;max-height:88dvh;overflow-x:hidden}.finance-plan-editor input,.finance-plan-editor select,.finance-plan-editor textarea{font-size:15px!important}
