.unified-tools{display:grid;grid-template-columns:1fr 1fr;border:0;gap:12px}.unified-tools .tool-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;border:0!important;border-radius:12px!important;background:var(--surface-soft)!important;padding:18px 14px!important;min-height:172px!important;text-align:left;gap:10px}.unified-tools .tool-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--surface-main);border-radius:10px}.unified-tools h2{font-size:16px;line-height:1.5}.unified-tools small{font-size:12px;color:var(--text-secondary);line-height:1.7}.unified-tools .flow-icon{color:var(--accent-main);width:25px;height:25px}.settings-group{display:grid;gap:14px;padding-bottom:22px;border-bottom:1px solid var(--line)}.settings-group h3{font-size:16px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-option{display:grid;gap:7px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-main)}.theme-option.selected{border:2px solid var(--accent-main);padding:11px}.theme-option strong{font-size:14px}.theme-option small{font-size:11px;color:var(--text-secondary)}.theme-swatch{height:32px;border-radius:6px;border-left:24px solid #a83250;background:#f4dfe7}.theme-swatch.sea{border-left-color:#2458c6;background:#bceee5}.preference-row{display:flex;justify-content:space-between;align-items:center;min-height:48px;text-align:left;gap:14px;font-size:14px}.preference-row b{font-size:12px;color:var(--accent-main)}
:root[data-theme=sea]{--text-main:#173c48;--text-secondary:#45626c;--surface-main:#ffffff;--surface-soft:#edf4f4;--accent-main:#2458c6;--ink:#173c48;--muted:#45626c;--paper:#eef3f6;--cyan:#deedf3;--green:#e4efea;--lime:#2458c6;--yellow:#f3eedf;--line:#d9e4eb;--teal:#2458c6;background:#e2eeeb}
[data-theme=sea] .app-shell{background:#f5faf8}[data-theme=sea] .header h1,[data-theme=sea] .receipt-intro h1{font-weight:650;letter-spacing:-.02em}[data-theme=sea] .receipt-intro{background:#bceee5;padding:22px 18px;border-radius:18px}[data-theme=sea] .return-summary{padding-top:24px}[data-theme=sea] .hours-seal{background:#fff}[data-theme=sea] .receipt-ledger{background:#fff;border:0;border-radius:16px;padding:0 18px}[data-theme=sea] .receipt-ledger>button{border-bottom:1px solid var(--line)}[data-theme=sea] .receipt-ledger>button:last-child{border:0}[data-theme=sea] .receipt-assets{background:#e8edff;border-radius:14px}[data-theme=sea] .cash-comparison,[data-theme=sea] .open-chart{background:white;border-radius:16px;padding:20px 16px}[data-theme=sea] .cash-comparison .row small{font-size:11px}[data-theme=sea] .kept{background:#369a89}[data-theme=sea] .spent{background:#eeb485}[data-theme=sea] .primary{background:var(--accent-main)}[data-theme=sea] .secondary,[data-theme=sea] .segments,[data-theme=sea] .month-selector button{background:var(--surface-soft)}[data-theme=sea] .segments .active{color:#2458c6;background:white}[data-theme=sea] .page-home.view-summary>.segments{background:transparent}[data-theme=sea] .page-home>.segments button.active{box-shadow:inset 0 -2px #2458c6}[data-theme=sea] .hours-seal,[data-theme=sea] .header .icon-button{color:var(--ink)}[data-theme=sea] .header .icon-button{background:#e2edf4}[data-theme=sea] .bottom-nav{background:white;box-shadow:0 8px 32px #173c4826}[data-theme=sea] .bottom-nav button.active{background:#dce8ff;color:#2458c6}[data-theme=sea] .flow-icon,[data-theme=sea] .bottom-nav button.active .flow-icon{color:#2458c6}[data-theme=sea] .flow-icon .icon-tint{fill:#a7cbdc}[data-theme=sea] .progress>span,[data-theme=sea] .toggle.on,[data-theme=sea] .deadline-progress .actual{background:#2458c6}[data-theme=sea] .progress{background:#dae5ec}[data-theme=sea] .deadline-progress .expected{background:#b3ccdd}[data-theme=sea] .chart-readout,[data-theme=sea] .work-summary,[data-theme=sea] .page-future.view-fire>.card:first-of-type,[data-theme=sea] .page>.card.hero{background:#e5f4ee}[data-theme=sea] .field input,[data-theme=sea] .field select,[data-theme=sea] .field textarea{background:#f8fafc;border-color:#c9d8e2}[data-theme=sea] dialog{background:white}[data-theme=sea] .text-button,[data-theme=sea] .flow-data summary,[data-theme=sea] .desktop-note strong{color:#2458c6}[data-theme=sea] .horizontal-flow rect[fill="#fffdfb"]{fill:#fff}[data-theme=sea] .horizontal-flow .flow-node-name{fill:#173c48}[data-theme=sea] .horizontal-flow .flow-node-amount{fill:#45626c}[data-theme=sea] .chart [stroke="#b13d55"],[data-theme=sea] .ring [stroke="#b13d55"]{stroke:#2458c6}[data-theme=sea] .chart [fill="#b13d55"]{fill:#2458c6}[data-theme=sea] .chart [fill="#f0cbd4"]{fill:#c9e2f6}[data-theme=sea] th{background:#edf4f4}[data-theme=sea] .page-plans.view-goals>button.card{background:white}[data-theme=sea] .page-plans .status-badge{background:#bceee5;color:#2458c6}[data-theme=sea] .three-actions .pill:first-child{background:#2458c6}[data-theme=sea] .notice{background:#fff5d5}[data-theme=sea] button:focus-visible,[data-theme=sea] .bottom-nav button:focus-visible{outline-color:#2458c6}[data-theme=sea] ::selection{background:#c6dfef;color:#173c48}
.large-text{--font-body:18px;--font-caption:14px;--font-section:21px;--font-title:30px}.large-text .small,.large-text small,.large-text .subtle,.large-text .footnote,.large-text .list-row small{font-size:14px!important}.large-text .list-row{flex-wrap:wrap}.large-text .theme-options{grid-template-columns:1fr}.large-text .theme-option small{font-size:13px!important}.large-text .unified-tools h2{font-size:18px}.large-text .unified-tools{grid-template-columns:1fr}.large-text .unified-tools .tool-card{min-height:0!important}.large-text .receipt-assets{grid-template-columns:1fr}.large-text .return-summary{flex-wrap:wrap}.large-text .metrics{grid-template-columns:1fr}.large-text .field{font-size:15px}@media(max-width:350px){[data-theme=sea] .receipt-intro{padding:18px 12px}[data-theme=sea] .receipt-intro h1{font-size:26px}[data-theme=sea] .return-rate{font-size:27px}[data-theme=sea] .hours-seal{width:68px;height:68px}.unified-tools{gap:8px}.unified-tools .tool-card{padding:14px 12px!important}.theme-options{grid-template-columns:1fr}}
[data-theme=sea] .bottom-nav button.active .icon-tint{fill:#a7c6ff}[data-theme=sea] .empty{border-color:#bdd0de}[data-theme=sea] .flow-caption,[data-theme=sea] .horizontal-flow .flow-column-label{color:var(--text-secondary);fill:var(--text-secondary)}

/* Sea: tidal cyan for context, cobalt for action, citrus for time. */
[data-theme=sea] .hours-seal{background:#fff19c;color:#314c3c}
[data-theme=sea] .receipt-intro h1{color:#153f47}
[data-theme=sea] .receipt-intro .return-rate{color:#153f47}
[data-theme=sea] .receipt-assets button:last-child{color:#244ea5}
[data-theme=sea] .header .icon-button{background:#dce8ff;color:#2458c6}
[data-theme=sea] .unified-tools .tool-card{background:#edf4f4!important}
[data-theme=sea] .unified-tools .tool-icon{background:#dce8ff}
[data-theme=sea] .unified-tools .tool-card:nth-child(3n+2) .tool-icon{background:#d6eee5}
[data-theme=sea] .unified-tools .tool-card:nth-child(3n) .tool-icon{background:#fff1b7}
[data-theme=sea] .freedom-row .ring circle:last-child{stroke:#267e70}
[data-theme=sea] .chart [stroke="#7baaa2"]{stroke:#267e70}
[data-theme=sea] .chart .point-dot{fill:#2458c6}
[data-theme=sea] .chart-readout{background:#edf3ff}
[data-theme=sea] .horizontal-flow path[stroke="#79aaa1"]{stroke:#369a89}
[data-theme=sea] .horizontal-flow rect[fill="#79aaa1"]{fill:#369a89}
[data-theme=sea] .horizontal-flow path[stroke="#b66079"]{stroke:#6487d4}
[data-theme=sea] .horizontal-flow rect[fill="#b66079"]{fill:#6487d4}
[data-theme=sea] .horizontal-flow path[stroke="#d0ad7f"]{stroke:#e6ad72}
[data-theme=sea] .horizontal-flow rect[fill="#d0ad7f"]{fill:#e6ad72}
[data-theme=sea] .positive{color:#276a51}[data-theme=sea] .negative{color:#a13c2b}
[data-theme=sea] .theme-option.selected{background:#f1f6ff}
/* Quiet contrast for the sea overview. */
[data-theme=sea] .receipt-intro{background:#e5edf7}
[data-theme=sea] .receipt-intro h1,[data-theme=sea] .receipt-intro .return-rate{color:#253e5c}
[data-theme=sea] .hours-seal{background:#fff;color:#3d5877}
.theme-swatch.sea{background:#e5edf7;border-left-color:#2458c6}
.theme-swatch.journal{background:#e8eee3;border-left-color:#345c47}
:root[data-theme=journal]{--text-main:#273d36;--text-secondary:#576c5e;--surface-main:#fbfaf7;--surface-soft:#e8eee3;--accent-main:#345c47;--ink:#273d36;--muted:#576c5e;--paper:#f0f1ea;--cyan:#e8eee3;--green:#e8eee3;--lime:#345c47;--yellow:#f1eedf;--line:#cbd1c7;--teal:#345c47;background:#e9ece6}
[data-theme=journal] .app-shell,[data-theme=journal] dialog{background:#fbfaf7}
[data-theme=journal] .brand-header{border-bottom:1px solid #cbd1c7;padding-bottom:18px}
[data-theme=journal] .brand-header>strong{font-weight:500;font-size:26px}
[data-theme=journal] .brand-header>strong span{font-family:Georgia,serif;font-size:22px}
[data-theme=journal] .receipt-intro{background:transparent;border-radius:0;padding:8px 0 24px;border-bottom:1px solid var(--line)}
[data-theme=journal] .receipt-intro h1,[data-theme=journal] .header h1{font-weight:500;letter-spacing:0}
[data-theme=journal] .return-rate,[data-theme=journal] .big,[data-theme=journal] .asset-statement>.big{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.025em}
[data-theme=journal] .return-rate{font-size:44px}
[data-theme=journal] .hours-seal{background:#e8eee3;color:#345c47}
[data-theme=journal] .hours-seal b{font-family:Georgia,serif;font-weight:400;font-size:32px}
[data-theme=journal] .receipt-ledger{border-top:0;border-bottom:1px solid #cbd1c7}
[data-theme=journal] .receipt-ledger>button{border-bottom:1px solid #dce0d7}
[data-theme=journal] .receipt-assets{background:transparent;border-radius:0;padding:8px 0 22px;border-bottom:1px solid #cbd1c7}
[data-theme=journal] .receipt-assets strong{font-family:Georgia,serif;font-weight:400;font-size:29px}
[data-theme=journal] .open-chart{background:#e8eee3;margin-inline:-22px;padding:24px 22px;border-radius:0}
[data-theme=journal] .open-chart h2{font-weight:500;font-size:23px}
[data-theme=journal] .kept{background:#78947c}[data-theme=journal] .spent{background:#cdbf99}
[data-theme=journal] .header .icon-button,[data-theme=journal] .secondary,[data-theme=journal] .segments,[data-theme=journal] .chart-readout{background:#eef0e8;color:#345c47}
[data-theme=journal] .segments button.active{background:#fbfaf7;color:#345c47}
[data-theme=journal] .page-home.view-summary>.segments{background:transparent}
[data-theme=journal] .page-home>.segments button.active{box-shadow:inset 0 -2px #345c47}
[data-theme=journal] .bottom-nav{background:#fbfaf7;box-shadow:0 8px 30px #273d3620}
[data-theme=journal] .bottom-nav button.active{background:#e5eadb;color:#345c47}
[data-theme=journal] .flow-icon,[data-theme=journal] .bottom-nav button.active .flow-icon{color:#345c47}
[data-theme=journal] .flow-icon .icon-tint,[data-theme=journal] .bottom-nav button.active .icon-tint{fill:#b9c9a5}
[data-theme=journal] .primary,[data-theme=journal] .toggle.on,[data-theme=journal] .deadline-progress .actual{background:#345c47}
[data-theme=journal] .progress{background:#e0e4d9}[data-theme=journal] .progress>span{background:#78904e}
[data-theme=journal] .deadline-progress .expected{background:#c8d5b2}
[data-theme=journal] .card.hero,[data-theme=journal] .page-future.view-fire>.card:first-of-type,[data-theme=journal] .work-summary,[data-theme=journal] .page-plans.view-goals>button.card{background:#e8eee3;border-radius:4px}
[data-theme=journal] .unified-tools .tool-card{background:#f0f1ea!important;border-radius:6px!important}
[data-theme=journal] .field input,[data-theme=journal] .field select,[data-theme=journal] .field textarea{background:#f8f8f2;border-color:#cbd1c7}
[data-theme=journal] .text-button,[data-theme=journal] .flow-data summary,[data-theme=journal] .desktop-note strong{color:#345c47}
[data-theme=journal] .chart [stroke="#b13d55"],[data-theme=journal] .ring [stroke="#b13d55"]{stroke:#487c60}
[data-theme=journal] .chart [fill="#b13d55"]{fill:#487c60}[data-theme=journal] .chart [fill="#f0cbd4"]{fill:#cbdcc5}
[data-theme=journal] .horizontal-flow rect[fill="#fffdfb"]{fill:#fbfaf7}
[data-theme=journal] .horizontal-flow .flow-node-name{fill:#273d36}[data-theme=journal] .horizontal-flow .flow-node-amount{fill:#576c5e}
[data-theme=journal] .notice,[data-theme=journal] th{background:#eeeee3}
[data-theme=journal] .page-plans .status-badge,[data-theme=journal] .preset-grid button{background:#e8eee3;color:#345c47}
[data-theme=journal] .three-actions .pill:first-child{background:#345c47}
[data-theme=journal] button:focus-visible{outline-color:#345c47}
[data-theme=journal] ::selection{background:#dce5ce;color:#273d36}
@media(max-width:350px){[data-theme=journal] .return-rate{font-size:34px}[data-theme=journal] .open-chart{margin-inline:-16px;padding-inline:16px}}
/* Sea refinement: quiet blue surface, paired metrics instead of a yellow badge. */
[data-theme=sea] .receipt-intro{background:#edf3fb;padding:24px 20px;border-radius:14px}
[data-theme=sea] .receipt-intro h1{color:#243f60;font-size:30px;font-weight:650;letter-spacing:-.025em}
[data-theme=sea] .receipt-intro .return-rate{color:#203f65;font-weight:550}
[data-theme=sea] .return-summary{align-items:stretch;margin-top:22px;padding-top:20px;border-top:1px solid #cbd9e9;gap:12px}
[data-theme=sea] .hours-seal{border-radius:10px;width:82px;height:auto;min-height:88px;background:#fff;color:#3d5877;gap:8px}
[data-theme=sea] .hours-seal b{font-size:27px;font-weight:550}
[data-theme=sea] .return-summary>div{padding-top:3px}
[data-theme=sea] .receipt-intro .return-rate{font-size:34px}
[data-theme=sea] .receipt-assets{background:#e8eff7}
[data-theme=journal] .horizontal-flow .flow-caption{color:#576c5e}
[data-theme=journal] .chart-readout{color:#345c47}
@media(max-width:350px){[data-theme=sea] .receipt-intro{padding:20px 14px}[data-theme=sea] .receipt-intro h1{font-size:26px}[data-theme=sea] .receipt-intro .return-rate{font-size:27px}[data-theme=sea] .hours-seal{width:70px;min-height:82px}}
