:root{--ink:#203e36;--muted:#78867e;--green:#2e6957;--line:#e3e8df;--paper:#f6f7f2;--light:#edf3e7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit;color:inherit}button,.button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:10px 15px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:var(--light)}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#214f42}.danger{color:#9d4638}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}input,select{display:block;width:100%;background:#fff;border:1px solid #d8e2d4;border-radius:7px;padding:11px 12px;margin-top:7px;min-width:0}label{display:block;margin:18px 0;font-size:12px;font-weight:500}h1{font-family:Georgia,serif;font-size:36px;font-weight:400;letter-spacing:-1px;line-height:1.2;margin:12px 0 24px}h2{font-size:17px;margin:0 0 14px}h3{font-size:14px;margin:20px 0 8px}p{color:var(--muted);margin:8px 0 15px}small,.mini{font-size:11px;color:var(--muted)}.preview-banner{padding:10px 22px;display:flex;gap:14px;border-bottom:1px solid #d9e3d2;background:#edf3e7;font-size:11px;position:relative;z-index:2}.preview-banner strong{white-space:nowrap}.brand{font-size:28px;letter-spacing:-1px;font-weight:700;display:inline-flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink)}.brand b{background:var(--green);color:white;border-radius:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.auth-shell{min-height:calc(100vh - 55px);display:grid;place-items:center;padding:40px 20px}.auth-wrap{width:100%;max-width:440px}.auth-wrap>.brand{display:flex;justify-content:center;width:100%;margin-bottom:28px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px}.auth-card h1{font-size:30px;margin:0 0 12px}.full{width:100%}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:17px;font-size:12px}.quick-test{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.quick-test .actions{display:grid;grid-template-columns:1fr 1fr;margin-top:10px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.error{color:#9d4638;font-size:12px}.success{color:var(--green);font-size:12px}.error:empty,.success:empty{display:none}.sidebar{width:225px;position:fixed;top:41px;bottom:0;left:0;padding:30px 22px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.sidebar nav{margin-top:35px}.sidebar nav a{display:block;padding:13px 14px;margin:5px 0;border-radius:8px;text-decoration:none;color:#718078}.sidebar nav a.active{background:var(--light);color:var(--green);font-weight:600}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);padding:12px;border-radius:8px;margin:18px 0}.profile.active{background:var(--light)}.avatar{width:34px;height:34px;flex-shrink:0;background:#e9eee2;border-radius:50%;display:grid;place-items:center;font-weight:600}.profile small{display:block}.workspace{margin-left:225px;padding:0 40px 40px}.workspace header{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.badge{background:var(--light);color:var(--green);padding:5px 9px;border-radius:5px;font-size:10px;white-space:nowrap}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 24px}.heading h1{margin:10px 0}.profile-layout{display:grid;grid-template-columns:minmax(300px,620px) minmax(280px,460px);gap:24px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.table-card{padding:0;overflow:hidden}.table-toolbar{padding:20px;display:flex;gap:12px;border-bottom:1px solid var(--line)}.table-toolbar input{margin:0;flex:1}.table-toolbar select{margin:0;width:170px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:780px}th{text-align:left;font-size:10px;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.7px}th,td{padding:16px 20px;border-bottom:1px solid var(--line)}td{font-size:12px}td small{display:block;margin-top:3px}.row-actions{display:flex;gap:8px;white-space:nowrap}.row-actions button{padding:7px 10px;font-size:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat-value{display:block;font-size:28px;margin-top:10px}.empty{text-align:center;padding:35px}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:850px}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;color:var(--ink);background:white;width:min(480px,94vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#203e364a}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-top button{border:0;font-size:20px;padding:0 6px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}#notice{position:fixed;bottom:22px;right:22px;background:var(--green);color:#fff;padding:12px 18px;border-radius:8px;max-width:400px;box-shadow:0 5px 20px #203e3626;display:none;z-index:5;font-size:12px}@media(max-width:1000px){.profile-layout{grid-template-columns:1fr;max-width:650px}.overview-grid{grid-template-columns:1fr}.workspace{padding:0 24px 30px}}@media(max-width:650px){.preview-banner{padding:10px 14px;flex-direction:column;gap:3px}.sidebar{position:static;width:auto;padding:18px}.sidebar nav{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap}.sidebar nav a{margin:0;padding:9px}.sidebar-bottom{display:none}.workspace{margin:0;padding:0 16px 24px}.workspace header{height:60px}.heading{margin:20px 0;align-items:start;flex-direction:column}.heading h1{font-size:30px}.card{padding:22px}.stats{gap:8px}.stats .card{padding:14px}.stat-value{font-size:23px}.table-toolbar{flex-direction:column}.table-toolbar select{width:100%}.quick-test .actions{grid-template-columns:1fr}.auth-links{flex-wrap:wrap}}

.preview-banner{min-height:54px}.sidebar{top:54px}@media(max-width:650px){.sidebar{top:auto}}

.economy-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.economy-stats .card{padding:22px}.economy-stats .mini{margin:10px 0 0}.economy-highlight{background:#254f40;color:#fff}.economy-highlight small,.economy-highlight p{color:#d3e4d8}.economy-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.economy-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.economy-card-head h2{margin:0}.economy-chart{height:235px;display:flex;align-items:flex-end;gap:20px;margin:28px 0 40px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 57px,#edf0e9 58px,#edf0e9 59px)}.economy-bar-group{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:5px;position:relative;min-width:0}.economy-bar{background:var(--green);width:20px;border-radius:4px 4px 0 0}.economy-bar.cost{background:#c4d3ad}.economy-bar-group small{position:absolute;bottom:-26px;font-size:10px}.economy-legend{display:flex;gap:18px;color:var(--muted);font-size:11px}.economy-legend span{display:flex;align-items:center;gap:6px}.economy-legend i,.economy-cost-row i{width:8px;height:8px;background:var(--green);display:inline-block}.economy-legend .cost{background:#c4d3ad}.economy-donut{width:190px;height:190px;border-radius:50%;margin:28px auto;display:grid;place-items:center}.economy-donut>div{width:145px;height:145px;background:white;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.economy-donut strong{font-size:23px;font-weight:500}.economy-donut small{margin-top:4px}.economy-cost-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;font-variant-numeric:tabular-nums}.economy-cost-row i{border-radius:50%;margin-right:8px}.economy-recent{margin-top:24px}.economy-recent td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}@media(max-width:1100px){.economy-stats{grid-template-columns:repeat(2,1fr)}.economy-grid{grid-template-columns:1fr}}@media(max-width:650px){.economy-chart{gap:8px}.economy-bar{width:16px}.economy-stats{gap:10px}.economy-stats .card{padding:16px}.economy-stats .stat-value{font-size:24px}}

.finance-frame{display:block;width:100%;height:calc(100dvh - 54px);border:0;background:var(--paper)}.mobile-account-link{display:none!important}.sidebar nav{overflow:auto;min-height:0;margin-top:20px;flex:1}.sidebar-bottom{flex-shrink:0}@media(max-width:650px){.finance-frame{height:calc(100dvh - 85px)}.mobile-account-link{display:block!important}}

/* Shared account controls: identical dimensions in account and finance views. */
.sidebar .profile{align-items:center;gap:10px;min-height:64px;padding:12px 14px;margin:24px 0 12px;font-size:14px;line-height:1.35;border:0;border-radius:8px;width:100%}.sidebar .profile .avatar{width:36px;height:36px;flex:0 0 36px;font-size:12px;line-height:1;padding:0}.sidebar .profile>span:not(.avatar){min-width:0;padding:0;overflow-wrap:anywhere}.sidebar .profile small{font-size:11px;line-height:1.3;margin-top:4px}.sidebar .profile.active{background:#edf3eb}.sidebar #logout{width:100%;height:36px;min-height:36px;padding:8px 12px;font-size:12px;line-height:1.3;margin:0}

.billing-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.billing-price{display:flex;align-items:baseline;gap:7px;margin:24px 0 8px}.billing-price strong{font-size:34px;font-weight:500;letter-spacing:-1px}.billing-price span{font-size:12px;color:var(--muted)}.payment-method{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:20px}.payment-method small{display:block;margin-top:3px}.payment-method button{margin-left:auto;font-size:11px;padding:7px 10px}.card-brand{background:#eef2e8;border-radius:6px;padding:8px;font-size:11px;font-weight:700;letter-spacing:1px}.billing-facts{font-size:12px;margin:20px 0}.billing-facts>div{display:flex;justify-content:space-between;gap:18px;margin:10px 0}.billing-facts dt{color:var(--muted)}.billing-facts dd{margin:0}.delete-account-card{border-color:#e9dcd7}.delete-account-card p{font-size:12px}.card-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.card-detail-fields label{margin-top:0}.test-card input[readonly]{background:#f5f7f1;color:#748177}.billing-order{padding:15px;background:var(--light);border-radius:7px;display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:20px 0}.check{font-size:12px;align-items:flex-start}.check input{margin-top:3px}button:disabled{opacity:.45;cursor:not-allowed}

.auth-card>h1,.auth-card>h1+p{text-align:center}

.profile-layout>.card:has(#delete-open){align-self:start}

.profile-layout>.economy-reset-card{align-self:start}.economy-reset-card .form-actions{flex-wrap:wrap}

.profile-layout>.data-export-card{align-self:start}

/* Independent columns keep each card fitted to its content. */
.account-primary-column,.account-data-actions{display:flex;flex-direction:column;gap:24px;min-width:0;align-self:start}
.account-primary-column>.card,.account-data-actions>.card{min-width:0;flex:none}

.billing-card-wide{grid-column:1 / -1}
.billing-card-wide .subscription-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px;margin-top:18px}
.billing-card-wide .billing-price{margin-top:0}
.billing-card-wide .subscription-payment{border-top:0;border-left:1px solid var(--line);padding:0 0 0 36px;margin:0}
.billing-card-wide .subscription-payment h3:first-child{margin-top:0}
.billing-card-wide .billing-facts{margin-bottom:0}
@media(max-width:1000px){.billing-card-wide .subscription-columns{grid-template-columns:1fr;gap:22px}.billing-card-wide .subscription-payment{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}}

/* Shared red action style across account and finance views. */
:root{--danger:#ad5752;--danger-hover:#974842}button.danger,button.danger-button,button.bulk-delete-button{background:var(--danger);border-color:var(--danger);color:#fff;font-weight:600}button.danger:hover,button.danger-button:hover,button.bulk-delete-button:hover{background:var(--danger-hover);border-color:var(--danger-hover);color:#fff}button.danger:disabled,button.danger-button:disabled,button.bulk-delete-button:disabled{opacity:.45;cursor:not-allowed}

button.archive-account-button{background:#68746e;border-color:#68746e;color:#fff;font-weight:600}button.archive-account-button:hover{background:#56625c;border-color:#56625c;color:#fff}button.archive-account-button:disabled{opacity:.45;cursor:not-allowed}

.group-order-list{display:grid;gap:0}.group-order-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--border,#dfe5da)}.group-order-row:last-child{border-bottom:0}.group-order-row span{flex:1}.group-order-row button{padding:4px 12px;min-height:32px}.group-order-row button:disabled{opacity:.35}

.balance-table-content{min-width:850px}.balance-column-head,.balance-account-group>summary{display:grid!important;grid-template-columns:minmax(210px,1fr) repeat(3,200px)!important;gap:0!important;align-items:center}.balance-column-head{background:#f6f8f1;color:#75816c;font-size:10px;letter-spacing:.6px;text-transform:uppercase;padding:12px 18px}.balance-column-head>span:not(:first-child),.balance-account-group>summary>strong{text-align:right}.balance-account-group>summary{padding:12px 18px}.balance-account-group>summary:before,.balance-account-group>summary:after{display:none!important}.balance-account-group>summary>span:before{content:'▸';display:inline-block;width:16px}.balance-account-group[open]>summary>span:before{content:'▾'}.balance-table{table-layout:fixed;width:100%}.balance-table col:not(:first-child){width:200px}.balance-table td{padding:10px 18px}.balance-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.balance-table td:first-child{padding-left:34px}

body:has([data-ledger-report]) .balance-table td{padding:10px 18px;line-height:normal}body:has([data-ledger-report]) .balance-table td:first-child{padding-left:34px}

.report-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.report-share-label{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);text-align:right;padding-right:14px}

.report-share-label{box-sizing:border-box;flex:0 0 84px;width:84px;text-align:center;padding:0;margin-right:14px;line-height:1.4}.report-with-share>summary>.report-income-share{text-align:center}.report-share-table td:last-child,.report-share-table th:last-child{text-align:center}@media(max-width:650px){.report-with-share>summary{grid-template-columns:10px minmax(0,1fr) minmax(80px,auto) 84px}.report-share-label{margin-right:14px}}
.report-share-table col:last-child{width:112px!important}

.balance-column-head{background:transparent}

.monthly-fixed-names thead th{color:var(--muted);font-weight:500}.monthly-fixed-names .monthly-type>*{background:white;border-top:0;border-bottom:0;padding-top:24px;padding-bottom:8px;color:var(--muted);font-weight:650}.monthly-fixed-names .monthly-type th:first-child{background:white}.monthly-fixed-names .monthly-group>*,.monthly-fixed-names .monthly-group th:first-child{background:white}.monthly-fixed-names .monthly-group td{font-weight:400}.monthly-fixed-names .monthly-group-toggle{color:var(--ink)}.monthly-fixed-names .monthly-section-total>*{border-top:1px solid var(--line);border-bottom:0;font-weight:650;background:#f6f8f1}.monthly-fixed-names .monthly-section-total th:first-child{background:#f6f8f1}.monthly-fixed-names .monthly-result>*{border-top:16px solid white}.monthly-fixed-names tr>:last-child{border-left:0}

.report-structured-section .report-section-head h2,.report-structured-section>h2{color:var(--muted)}.report-structured-section .report-account-group{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0}.report-structured-section .report-account-group>summary{background:white}.report-structured-section .report-account-group>summary>span{font-weight:600}.report-structured-section .report-account-group>summary>strong{font-weight:400}.report-section-total{display:grid;grid-template-columns:10px minmax(0,1fr) 164px 84px;gap:16px;padding:14px;background:#f6f8f1;border-top:1px solid var(--line);font-size:12px;font-weight:650}.report-section-total>span{grid-column:1/3}.report-section-total>strong{text-align:right;font-variant-numeric:tabular-nums}.report-section-total>.report-income-share{text-align:center}.balance-section-total{display:grid;grid-template-columns:minmax(210px,1fr) repeat(3,200px);padding:12px 18px;gap:0;align-items:center;background:#f6f8f1;border-top:1px solid var(--line);font-size:12px;font-weight:650}.balance-section-total>strong{text-align:right;font-variant-numeric:tabular-nums}@media(max-width:650px){.report-section-total{grid-template-columns:10px minmax(0,1fr) minmax(80px,auto) 84px;gap:10px}}

.report-structured-section .report-subsection+.report-subsection{margin-top:28px}.report-structured-section .report-subsection>h2{color:var(--muted)}

.report-final-result{margin-top:24px;background:var(--green);color:white;border-top:0}.report-final-result .report-income-share{color:white}

.balance-section-heading{padding-top:0;padding-bottom:8px}.balance-section-heading h2{margin:0!important;font-size:18px;letter-spacing:normal;text-transform:none;color:var(--muted)}.balance-section-heading{padding-left:0}.balance-section-heading>span{align-self:center}
.balance-section .report-subsection .balance-account-group:first-of-type{border-top:1px solid var(--line)}.balance-section-total{border-bottom:1px solid var(--line)}

.balance-net-worth{margin-top:24px;background:var(--green);color:white;border:0}
.report-account-group>summary::before{font-size:12px}.balance-account-group>summary>span::before{font-size:12px}.monthly-group-toggle>span[aria-hidden]{font-size:12px;line-height:1}
.balance-account-group>summary>span::before,.monthly-group-toggle>span[aria-hidden]{font-size:14px}
body:has([data-ledger-report]) .report-structured-section .report-table td:first-child{padding-left:54px}.monthly-fixed-names .monthly-account th:first-child{padding-left:58px}@media(max-width:650px){.monthly-fixed-names .monthly-account th:first-child{padding-left:50px}}

.report-structured-section .report-account-group[open]>summary>strong{visibility:hidden}.monthly-fixed-names .monthly-group.is-expanded>td{visibility:hidden}

.report-structured-section .report-subsection .report-account-group:first-of-type{border-top:1px solid var(--line)}.report-section-total{border-bottom:1px solid var(--line)}.report-final-result{border:0}.report-section-head{padding-bottom:8px}.report-structured-section .income-account-group>summary{display:grid;grid-template-columns:minmax(210px,1fr) 180px 112px;gap:0;padding:12px 0}.income-account-group>summary::before{display:none}.income-account-group>summary>span{padding-left:18px}.income-account-group>summary>span::before{content:'▸';display:inline-block;width:16px;font-size:14px}.income-account-group[open]>summary>span::before{content:'▾'}.income-account-group>summary>strong:nth-child(2){padding-right:18px}.report-structured-section .report-section-total{grid-template-columns:minmax(210px,1fr) 180px 112px;gap:0;padding:12px 0}.report-section-total>span{grid-column:auto;padding-left:18px}.report-section-total>strong:nth-child(2){padding-right:18px}.report-share-label{width:112px;flex-basis:112px;margin:0}.report-structured-section .report-share-table col:last-child{width:112px!important}.report-structured-section .report-share-table td:nth-child(2){padding-right:18px}
body:has([data-ledger-report]) #content .monthly-structured{padding:23px}.monthly-structured .table-wrap{max-height:none}.monthly-structured thead th{padding-top:0;padding-bottom:8px;letter-spacing:.6px;text-transform:uppercase;font-size:10px;font-weight:400}.monthly-structured thead .monthly-first-heading{font-size:18px;font-weight:650;letter-spacing:normal;text-transform:none;padding-left:0}.monthly-structured .monthly-table th,.monthly-structured .monthly-table td{padding-top:12px;padding-bottom:12px}.monthly-structured .monthly-table .monthly-type>*{padding-top:28px;padding-bottom:8px;border-bottom:1px solid var(--line)}.monthly-structured .monthly-table .monthly-type th{font-size:18px;padding-left:0}.monthly-structured .monthly-table .monthly-group th{padding-left:18px}.monthly-structured .monthly-table .monthly-account th{padding-left:54px}.monthly-structured .monthly-table .monthly-section-total>*{border-bottom:1px solid var(--line)}.monthly-structured .monthly-table tbody tr:first-child>*{border-top:1px solid var(--line)}.monthly-structured .monthly-group-toggle{gap:0}.monthly-structured .monthly-group-toggle>span{display:inline-block;flex:0 0 16px}.monthly-structured .monthly-table .monthly-result>*{border-top:24px solid white}@media(max-width:650px){body:has([data-ledger-report]) #content .monthly-structured{padding:17px}}
.report-structured-section .report-subsection h2,.monthly-structured .monthly-table .monthly-first-heading,.monthly-structured .monthly-table .monthly-type th{font-size:18px;font-weight:650;line-height:1.3}
body:has([data-ledger-report]) .monthly-structured .monthly-table thead .monthly-first-heading,body:has([data-ledger-report]) .monthly-structured .monthly-table .monthly-type th{font-size:18px;font-weight:650;line-height:1.3;letter-spacing:normal;text-transform:none;color:var(--muted)}
.report-structured-section .report-section-head{position:relative;display:block;padding-bottom:8px}.report-structured-section .report-section-head h2{margin:0!important}.report-structured-section .report-section-head .report-share-label{position:absolute;right:0;bottom:8px;line-height:1.4}
.monthly-fixed-names{--monthly-value-width:115px}.monthly-structured .monthly-table th:not(:first-child),.monthly-structured .monthly-table td{padding-left:10px;padding-right:10px}@media(max-width:650px){.monthly-fixed-names{--monthly-value-width:105px}}
.monthly-structured .monthly-table tr>:last-child{border-left:1px solid var(--line)}
.monthly-structured .monthly-table tr>:last-child{border-left:0;position:relative}.monthly-structured .monthly-table tr>:last-child::after{content:'';position:absolute;left:8px;top:0;bottom:0;width:1px;background:var(--line);pointer-events:none}
.monthly-fixed-names{--monthly-value-width:105px}.monthly-structured .monthly-table th:not(:first-child),.monthly-structured .monthly-table td{padding-left:7px;padding-right:7px}@media(max-width:650px){.monthly-fixed-names{--monthly-value-width:100px}}
.monthly-report .table-wrap{scrollbar-width:auto;scrollbar-color:#87988e #edf1e8}.monthly-report .table-wrap::-webkit-scrollbar{height:14px;width:14px}.monthly-report .table-wrap::-webkit-scrollbar-track{background:#edf1e8;border-radius:8px}.monthly-report .table-wrap::-webkit-scrollbar-thumb{background:#87988e;border:3px solid #edf1e8;border-radius:8px;min-width:36px}.monthly-report .table-wrap::-webkit-scrollbar-thumb:hover{background:#647c6e}
.overview-tooltip-enabled .period-overview .bar .bar-tooltip{display:none!important}.overview-floating-tooltip{display:block;position:fixed;inset:auto;margin:0;transform:none;z-index:10000;border:0;width:max-content;max-width:calc(100vw - 16px);font-size:12px;font-weight:600;line-height:1.4;padding:9px 12px}.overview-floating-tooltip::backdrop{background:transparent}
.wealth-development .wealth-chart-scroll{overflow:visible;min-width:0}.wealth-development .wealth-chart{min-width:0;width:100%}.wealth-month-labels>span{font-variant-numeric:tabular-nums}
.period-chart-host{min-width:0}.period-overview.is-adaptive .chart-scroll{overflow:visible;min-width:0}.period-overview.is-adaptive .chart{min-width:0;width:100%;gap:8px}.period-overview.is-adaptive .bar-group{min-width:0;gap:5px}.period-overview.is-adaptive .bar{width:clamp(10px,1.8vw,25px)}.period-overview.is-adaptive .bar-group small{font-size:11px}
.cost-breakdown .category-row{display:grid;grid-template-columns:minmax(0,1fr) max-content 48px;gap:12px;align-items:center}.cost-breakdown .category-row>span:nth-child(2){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.cost-breakdown .cost-group-share{text-align:right;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.report-section-total,.balance-section-total{border-radius:8px;overflow:hidden}.monthly-structured .monthly-table .monthly-section-total>:first-child,.monthly-structured .monthly-table .monthly-result>:first-child{border-radius:8px 0 0 8px}.monthly-structured .monthly-table .monthly-section-total>:last-child,.monthly-structured .monthly-table .monthly-result>:last-child{border-radius:0 8px 8px 0}.monthly-structured .monthly-table .monthly-result>*{border-top:0}.monthly-structured .monthly-table .monthly-result-spacer>td{height:24px;padding:0;border:0;background:white}.monthly-structured .monthly-table .monthly-result-spacer>td::after{display:none}
.report-section-total,.balance-section-total{border-top:0;border-bottom:0}.monthly-structured .monthly-table .monthly-section-total>*{border-top:0;border-bottom:0}
.report-subsection .report-account-group:last-of-type{border-bottom:0}.monthly-structured .monthly-table .monthly-section-total>*{box-shadow:0 -1px 0 white}
.monthly-structured .monthly-table thead th{text-transform:none;letter-spacing:normal}.monthly-structured .monthly-table .monthly-section-total>*{border-top:0;border-bottom:0}.monthly-structured .monthly-table .monthly-result>*{border-top:0;border-bottom:0}
body:has([data-ledger-report]) .monthly-structured .monthly-table .monthly-section-total th,body:has([data-ledger-report]) .monthly-structured .monthly-table .monthly-result th{text-transform:none;letter-spacing:normal;color:var(--ink)}body:has([data-ledger-report]) .monthly-structured .monthly-table .monthly-result th{color:white}.monthly-structured .monthly-table .monthly-last-group>*{border-bottom:0}.monthly-structured .monthly-table .monthly-section-total>th:first-child,.monthly-structured .monthly-table .monthly-result>th:first-child{background:white!important;border-radius:0;isolation:isolate}.monthly-structured .monthly-table .monthly-section-total>th:first-child::before,.monthly-structured .monthly-table .monthly-result>th:first-child::before{content:'';position:absolute;inset:0;background:#f6f8f1;border-radius:8px 0 0 8px;z-index:-1;pointer-events:none}.monthly-structured .monthly-table .monthly-result>th:first-child::before{background:var(--green)}
.monthly-structured .table-wrap{padding-bottom:12px;border-radius:8px}.monthly-structured .table-wrap::-webkit-scrollbar-track,.monthly-structured .table-wrap::-webkit-scrollbar{border-radius:8px}.monthly-structured .table-wrap::-webkit-scrollbar{background:transparent}.monthly-structured .table-wrap::-webkit-scrollbar-corner{background:transparent}
.monthly-report .table-wrap{scrollbar-color:auto}.monthly-report .table-wrap::-webkit-scrollbar{height:14px;background:transparent}.monthly-report .table-wrap::-webkit-scrollbar-track{background:#edf1e8;border-radius:999px}.monthly-report .table-wrap::-webkit-scrollbar-thumb{background:#87988e;border:3px solid #edf1e8;border-radius:999px;background-clip:padding-box}
.report-archive-badge{display:inline-block;margin-left:6px;padding:2px 6px;border:1px solid #e0e5df;border-radius:6px;background:#f3f5f0;color:#7a867f;font-size:10px;font-weight:400;line-height:1.3;letter-spacing:normal;text-transform:none;vertical-align:middle;white-space:nowrap}
.ledger-account-name>span{display:inline-flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:4px}.ledger-account-name>span>.archive-badge{margin:0;flex-shrink:0;line-height:1.2;vertical-align:baseline}

/* Administrator invitation and complimentary-access dialogs follow account forms. */
.cloud-admin-view #admin-create-form fieldset,
.cloud-admin-view #admin-free-form fieldset{border:0;padding:0;margin:0;min-width:0}
.cloud-admin-view .row-actions{flex-wrap:wrap;gap:6px}
.cloud-admin-view #admin-create-dialog,
.cloud-admin-view #admin-free-dialog{width:min(560px,calc(100vw - 32px));box-sizing:border-box}
.cloud-admin-view #admin-create-dialog p,
.cloud-admin-view #admin-free-dialog p{line-height:1.55}

.subscription-access-lock{position:fixed;inset:0;z-index:10000;background:rgba(31,62,54,.22);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px}
.subscription-access-lock .auth-card{width:min(520px,100%);box-sizing:border-box}
.subscription-access-notice{margin-bottom:20px}

.cloud-admin-view .admin-user-actions{justify-content:flex-start;margin:20px 0;padding-top:16px;border-top:1px solid var(--line)}
.cloud-admin-view td:first-child:has(.ledger-edit-icon),.cloud-admin-view th:first-child[aria-label="Redigera"]{width:44px;padding-right:0}

.cloud-admin-view .admin-transaction-count{text-align:right;font-variant-numeric:tabular-nums}
.cloud-admin-view table th,.cloud-admin-view table td{white-space:nowrap}

.ledger-transaction-card .voucher-list th:last-child,.ledger-transaction-card .voucher-list td.voucher-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:110px}

/* Shared table heading treatment for both transaction lists. */
.ledger-transaction-card .voucher-list thead,.ledger-transaction-card .voucher-list thead th,.bank-original-list thead,.bank-original-list thead th{background:#f6f8f1;color:#75816c}
.ledger-transaction-card .voucher-list thead th,.bank-original-list thead th{text-transform:uppercase;font-size:10px;font-weight:500;letter-spacing:.7px;padding:12px;line-height:normal}

/* One page heading position, using the chart of accounts as the reference. */
body:has(#title) main>.heading{margin:0;padding:35px 0 26px;display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:22px}
body:has(#title) main>.heading>div:first-child{min-width:0}
body:has(#title) main>.heading #title{margin:10px 0;line-height:normal}
body:has(#title) main>.heading>.actions{align-items:flex-start;justify-content:flex-end;flex-wrap:wrap;margin-top:10px;min-width:0;max-width:65%}
body:has(#title) main>.heading>.actions>.actions{justify-content:flex-end;flex-wrap:wrap}
@media(max-width:650px){body:has(#title) main>.heading{flex-direction:column;align-items:stretch}body:has(#title) main>.heading>.actions{margin-top:0;max-width:100%;justify-content:flex-start}body:has(#title) main>.heading>.actions>.actions{justify-content:flex-start}}

body:has(#ledger-type-income) .ledger-accounts-table td.statement-column{text-align:center}

/* Reserve the same trailing statement action in report rows and their headings. */
.report-has-statements col.report-statement-col{width:44px}
.report-has-statements .report-statement-cell{width:44px;text-align:center;padding:4px 4px!important;white-space:nowrap}
.report-has-statements .report-statement-cell .ledger-statement-icon{vertical-align:middle}
.report-has-statements .income-account-group>summary{grid-template-columns:minmax(210px,1fr) 180px 112px 44px}
.report-has-statements .income-account-group>summary::after{content:'';display:block}
.report-has-statements .report-section-head .report-share-label{right:44px}
.report-has-statements .report-section-total{padding-right:44px}
.report-has-statements .balance-column-head,.report-has-statements .balance-account-group>summary{grid-template-columns:minmax(210px,1fr) repeat(3,200px) 44px!important}
.report-has-statements .balance-column-head::after,.report-has-statements .balance-account-group>summary::after{content:'';display:block!important}
.report-has-statements .balance-section-total{grid-template-columns:minmax(210px,1fr) repeat(3,200px) 44px}
.report-has-statements .balance-table-content{min-width:894px}

.statement-table .statement-period-total>td{font-weight:700}

/* Soft corners on the shared pale-green table heading band. */
.statement-table table,.spirecta-account-mapping table,table.spirecta-account-mapping,.ledger-transaction-card .voucher-list,.bank-original-list{border-collapse:separate;border-spacing:0}
.statement-table thead,.spirecta-account-mapping thead,.ledger-transaction-card .voucher-list thead,.bank-original-list thead{background:transparent}
.statement-table thead tr:first-child>th:first-child,.spirecta-account-mapping thead tr:first-child>th:first-child,.ledger-transaction-card .voucher-list thead tr:first-child>th:first-child,.bank-original-list thead tr:first-child>th:first-child{border-radius:8px 0 0 8px}
.statement-table thead tr:first-child>th:last-child,.spirecta-account-mapping thead tr:first-child>th:last-child,.ledger-transaction-card .voucher-list thead tr:first-child>th:last-child,.bank-original-list thead tr:first-child>th:last-child{border-radius:0 8px 8px 0}

.ledger-transaction-card .voucher-list tbody td{padding-top:8px;padding-bottom:8px}
