/* Glass Ledger: an overview, not a permanently open editor. */
body.ui5-theme #home{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);grid-template-areas:"overview capture" "recent recent" "spending spending" "storage storage";gap:24px}
body.ui5-theme .page-header{margin-bottom:22px;padding-bottom:0;border:0}
body.ui5-theme .page-header h1{font-size:25px;font-weight:500}
body.ui5-theme #moneyOverview{padding:24px 24px 14px;background:linear-gradient(145deg,#332b4ad9,#242237b8 45%,#1b473cc4);border-color:#c5d6ed24;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:16px}
body.ui5-theme #moneyOverviewTitle{font-size:15px;color:#d4d1e5}
body.ui5-theme :is(#overviewQuick,#overviewGraph){display:none}
body.ui5-theme #moneyCurrent{--money-size:48px;font-size:var(--money-fit,var(--money-size));font-weight:500;letter-spacing:-1.4px;margin:12px 0 6px;line-height:1.2;white-space:nowrap;overflow-wrap:normal}
body.ui5-theme .money-overview-bottom{min-height:0;margin-bottom:14px}
body.ui5-theme #moneyScope{font-size:12px;color:#c4d6d0}
body.ui5-theme #moneyOverview .balance-trend{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
body.ui5-theme #moneyOverview .trend-change{font-size:12px;line-height:1.6;min-height:0;margin-bottom:16px}
body.ui5-theme #moneyOverview .trend-ranges{width:53%;border-color:#e8e5ff1a;background:#0f162d35}
body.ui5-theme #moneyOverview .trend-period{width:44%;min-height:46px;float:right}
body.ui5-theme #moneyOverview .trend-ranges button{min-height:44px;font-size:13px}
body.ui5-theme #moneyOverview .trend-period .icon-button{min-height:44px;min-width:44px;flex-basis:44px;background:transparent;border:0}
body.ui5-theme #moneyOverview .trend-period b{font-size:12px}
body.ui5-theme .trend-tooltip{background:#152b25f5;color:#f1fff8;border-radius:11px;box-shadow:0 8px 20px #0003}
body.ui5-theme .trend-tooltip strong{font-size:17px}
body.ui5-theme .trend-tooltip span{font-size:12px;color:#c0dcd0}
body.ui5-theme #moneyOverview .trend-help{font-size:12px}
body.ui5-theme #moneyOverview .trend-help summary{min-height:44px}
body.ui5-theme #home .capture-column{padding:0;align-self:start}
body.ui5-theme #home .quick-templates{margin:0 0 24px;padding:0 0 12px;border:0}
body.ui5-theme #home .quick-templates h3{font-size:18px;font-weight:500}
body.ui5-theme #home .quick-templates .section-heading{margin-bottom:6px}
body.ui5-theme #home .quick-template{padding:14px 0}
body.ui5-theme #home .quick-template .template-value{min-width:0}
body.ui5-theme #floatingCapture,body.ui5-theme #floatingCapture.compact-calendar{display:flex;align-items:center;justify-content:center;gap:8px;position:fixed;right:32px;bottom:32px;width:auto;height:auto;min-width:150px;min-height:54px;padding:12px 22px;border:1px solid #c5ffeb45;border-radius:16px;background:#a5f0d7;color:#132a23;box-shadow:0 8px 24px #0004;font-size:16px;font-weight:600;z-index:30}
body.ui5-theme #floatingCapture.hidden{display:none}
body.ui5-theme .floating-capture:hover{background:#c0ffe9;transform:translateY(-1px)}
body.ui5-theme .floating-capture:active{transform:translateY(0)}
body.ui5-theme main{padding-bottom:120px}
body.ui5-theme .quick-dialog{width:min(500px,calc(100% - 24px));max-height:calc(var(--app-viewport,100dvh) - 24px);padding:20px;overflow:auto;overscroll-behavior:contain;scroll-padding:16px}
body.ui5-theme .quick-dialog .sheet-heading{padding:0 0 14px;margin:0 0 20px;border:0;background:transparent;min-height:44px}
body.ui5-theme .quick-dialog .sheet-heading>span{font-size:13px;color:var(--secondary)}
body.ui5-theme .quick-dialog #quickCard{padding:0;background:transparent;border:0}
body.ui5-theme .quick-dialog #quickCard>.capture-heading{padding:0;margin:0 0 18px;gap:8px;flex-wrap:wrap}
body.ui5-theme .quick-dialog .capture-heading h2{font-size:24px}
body.ui5-theme .quick-dialog #quick{min-height:64px;font-size:22px;background:#141525b3;border-color:#b8d5d72e}
body.ui5-theme .quick-dialog #entryForm>label{margin-top:20px}
body.ui5-theme .quick-dialog .save{min-height:52px;margin-top:18px}
body.ui5-theme .quick-dialog #entryForm .segments{margin-bottom:18px}
body.ui5-theme .quick-dialog :is(input,select){font-size:16px}
body.ui5-theme.app-keyboard .quick-dialog{top:var(--app-view-top,0px);bottom:auto;margin:12px auto 0}
body.ui5-theme .capture-account-dialog{max-height:calc(var(--app-viewport,100dvh) - 24px)}
body.ui5-theme .ui3-touch-glow{display:none}
body.ui5-theme #moneyOverview :is(#trendOpenDay,#trendNotice){font-size:12px}
body.ui5-theme #home .sample-banner,body.ui5-theme #home .sample-banner :is(p,small){font-size:12px;line-height:1.8}
body.ui5-theme .quick-dialog #quickCard .capture-date-control{color:var(--secondary);background:transparent;border:0}
body.ui5-theme .quick-dialog #quickCard .capture-date-control:hover{color:#c0ffe7;background:#ffffff09}
body.ui5-theme .quick-dialog #quickCard .capture-date-control input{color-scheme:dark;background:transparent;color:var(--ink);font-size:16px}
body.ui5-theme .quick-dialog #quickCard .capture-date-control:focus-within{outline:2px solid var(--accent);outline-offset:3px}
body.ui5-theme .quick-dialog #quickCard .capture-date-status{color:#c0ffe7;background:#33473e;font-size:12px}
@media(max-width:900px){
 body.ui5-theme main{padding:22px 18px calc(178px + env(safe-area-inset-bottom))}
 body.ui5-theme .page-header{margin-bottom:18px}
 body.ui5-theme .page-header h1{font-size:24px}
 body.ui5-theme #home{grid-template-columns:minmax(0,1fr);grid-template-areas:"overview" "capture" "recent" "spending" "storage";gap:26px}
 body.ui5-theme #moneyOverview{padding:20px 16px 8px}
 body.ui5-theme #moneyCurrent{--money-size:38px;letter-spacing:-1px;margin:12px 0 8px}
 body.ui5-theme #moneyOverview .trend-ranges{display:flex;width:100%;margin:0 0 4px}
 body.ui5-theme #moneyOverview .trend-period{float:none;width:100%;min-height:44px}
 body.ui5-theme .trend-tooltip strong{font-size:15px}
 body.ui5-theme #floatingCapture,body.ui5-theme #floatingCapture.compact-calendar{right:18px;bottom:calc(94px + env(safe-area-inset-bottom));min-height:52px;min-width:145px;padding:12px 18px}
 body.ui5-theme #toast{bottom:calc(158px + env(safe-area-inset-bottom));max-width:calc(100% - 36px)}
 body.ui5-theme .quick-dialog{padding:18px 18px calc(18px + env(safe-area-inset-bottom));margin:auto auto 8px;border-radius:16px;max-height:calc(var(--app-viewport,100dvh) - 16px)}
 body.ui5-theme .quick-dialog .sheet-heading{margin-bottom:14px;padding:0}
 body.ui5-theme .quick-dialog #quickCard>.capture-heading{margin-bottom:14px}
}
@supports not (backdrop-filter:blur(1px)){body.ui5-theme #moneyOverview{background:linear-gradient(145deg,#332b4a,#242237 45%,#1b473c)}}
@media(prefers-reduced-transparency:reduce){body.ui5-theme #moneyOverview{background:linear-gradient(145deg,#332b4a,#242237 45%,#1b473c);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){body.ui5-theme .floating-capture:hover{transform:none}}
