/* Garden edition: local Cyrillic fonts, paper surfaces, compact app navigation. */
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:Lora;src:url('assets/fonts/lora-cyrillic-wght-normal.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Lora;src:url('assets/fonts/lora-latin-wght-normal.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
:root{--cream:#f8f0df;--paper:#fff9ed;--ink:#211c18;--clay:#aa492f;--original-orange:#db603d;--original-sage:#cbd7b0;--original-blue:#b6d3e7;--sage:#e1e9d6;--moss:#405d43;--muted:#62685b;--line:#dce1d2;--font-body:Manrope,'Segoe UI',sans-serif;--font-display:Lora,Georgia,serif;--button-bg:var(--clay);--button-text:var(--paper)}
body{font-size:15px;letter-spacing:-.15px;background:var(--cream)}
h1{font-weight:500;letter-spacing:-1.5px}h2{font-size:24px;letter-spacing:-.7px}h3{font-weight:700}
.brand{font-family:Lora,Georgia,serif;font-weight:700;letter-spacing:-2.2px;font-size:30px}
.brand-note{font-size:12px;letter-spacing:0;line-height:1.7;max-width:160px;color:#596b54}
.app-shell{grid-template-columns:236px minmax(0,1fr);max-width:1560px}
.sidebar{background:#e5e7d0;border-right:0;padding:43px 22px 22px 26px}
.sidebar nav{margin-top:40px;gap:8px}
.nav-link{font-size:13px;font-weight:600;padding:12px 14px;gap:12px;border-radius:13px;min-height:48px;color:#4b5d45}
.nav-link[aria-current=page]{background:#3f5b43;color:#fffef9;box-shadow:0 4px 10px #3f5b4315}
.nav-link:hover{background:#dce7ce}.nav-link[aria-current=page]:hover{background:#3f5b43}
.nav-link .icon{width:20px;height:20px}
.sidebar-note{padding:24px 12px 16px;font-size:12px;line-height:1.8;color:#53664b}
.sidebar-garden{width:80px;height:75px;margin-bottom:10px}
.workspace{padding:0 clamp(24px,3.7vw,56px)}
.topbar{height:92px;border-bottom:0;margin-bottom:10px}
.date-label{font-size:13px;font-weight:500;letter-spacing:0}
.settings-link{background:var(--surface);border-color:#e0e2d7;box-shadow:0 3px 10px #30382904}
.hero{background:#e5ead6;border:1px solid #dce4ce;border-radius:28px;min-height:292px;margin:0 0 22px;padding:32px 36px;gap:12px;grid-template-columns:1.2fr .8fr;overflow:hidden;position:relative}
.hero:after{content:'';position:absolute;width:320px;height:320px;right:-80px;bottom:-190px;border:1px solid #c4cfb3;border-radius:50%;pointer-events:none}
.hero-copy{position:relative;z-index:1}.hero-note{font-size:12px;font-weight:600;color:#526849;display:block;margin-bottom:14px;letter-spacing:.1px}
.hero h1{font:500 clamp(34px,3.4vw,48px)/1.2 var(--font-display);letter-spacing:-1.8px}
.hero p{font-size:13px;line-height:1.8;color:#58644f;margin-top:14px}
.hero .btn{margin-top:22px;min-height:45px;background:#405d43;box-shadow:0 5px 12px #3f5b4312;font-size:12px;border-radius:12px;padding:12px 18px}
.hero .btn .icon{width:19px;height:19px}
.hero-art{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:210px;gap:16px}
.overview-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border:1px solid #e3e5db;border-radius:18px;margin-bottom:30px;box-shadow:0 5px 14px #31382c03;overflow:hidden}
.overview-links>a{display:flex;align-items:center;gap:12px;padding:18px 20px;min-height:86px;min-width:0;position:relative}
.overview-links>a+a:before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:1px;background:var(--line)}
.overview-links>a>span:nth-child(2){flex:1;min-width:0}.overview-links strong{font-size:12px;font-weight:700;display:block}.overview-links small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.overview-links>a>.icon{width:16px;height:16px;color:#84917c}
.overview-links a:hover{background:#f0f4e9}.overview-icon{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#e7eddc;color:#526f46}.overview-links a:nth-child(2) .overview-icon{background:#f4e5d5;color:#996249}.overview-links a:nth-child(3) .overview-icon{background:#e0ecf3;color:#4c6f75}.overview-icon .icon{width:20px;height:20px}
.home-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:32px;align-items:start}
.home-panel{padding:0 0 26px}.home-panel+.home-panel{padding-top:25px;border-top:1px solid var(--line)}
.section-label{display:flex;align-items:center;gap:9px;min-width:0}.section-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e4ebd9;color:#526c48}.section-symbol .icon{width:17px;height:17px}
.section-top{margin-bottom:12px;gap:8px}.section-top h2{font-size:22px;letter-spacing:-.7px}.text-button{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:#8f452e}.text-button .icon{width:14px;height:14px}.tag{font-size:12px;background:#eeefdf;border:0;color:#4c6444;padding:6px 10px;min-height:28px}
.empty{padding:21px 0 25px;max-width:390px}.empty h3{font-size:14px;margin-bottom:9px}.empty p{font-size:12px;line-height:1.8;max-width:300px}
.btn{font-size:13px;border-radius:12px;padding:11px 17px;min-height:46px;box-shadow:0 3px 6px #54362206}.btn .icon{width:19px;height:19px}.btn.secondary{background:var(--surface);border-color:#cfd7c4;box-shadow:none}.btn.sage{background:var(--sage);color:var(--moss)}
.home-aside{border-left:0;padding-left:0}.mood-invitation{padding:23px 20px 18px;border:1px solid #e4dfbc;border-radius:20px;background:#f7f0d7}.mood-caption{color:#71674b;font-size:12px;font-weight:600;display:block;margin-bottom:12px}.mood-invitation .section-top{margin-bottom:7px}.mood-invitation .help{font-size:12px;color:#69634c}.mood-invitation .mood-picker{margin:17px 0 8px;gap:2px}.mood-invitation .mood-choice{padding:8px 1px 6px;min-height:77px}.mood-invitation .mood-choice svg{width:38px;height:38px}.mood-invitation .mood-choice span{font-size:11px}.mood-invitation .text-button{color:#6b5c35}
.day-note{background:transparent;border-radius:0;padding:27px 0 20px 40px;margin-top:8px;position:relative;border-bottom:1px solid var(--line)}.quote-flower{position:absolute;left:0;top:24px;color:#9b8057;font-size:29px}.day-note p{font:400 18px/1.65 var(--font-display);color:#4a5543}.day-note small{font-size:12px;color:#59624e;margin-top:12px}
.list-row{min-height:85px;padding:15px 0;border-color:#dce2d3;gap:8px}.row-title{font-size:14px;font-weight:650;line-height:1.6}.row-meta{font-size:12px;margin-top:5px;line-height:1.6}.check-mark{width:25px;height:25px;border-radius:8px;border-color:#9eac91;background:var(--surface)}.check-button[aria-pressed=true] .check-mark{border-radius:8px;background:var(--moss)}.check-button:hover{background:transparent}.check-button:hover .check-mark{border-color:var(--moss);box-shadow:0 0 0 4px #dfe8d5}.list-row.is-done .row-title{text-decoration-thickness:1px;color:var(--muted)}.row-actions .icon-button{color:#6a785e}.week-dots{gap:6px;margin-top:10px}.week-dot{width:9px;height:9px;border-radius:3px;background:#dfe5d7}.week-dot.done{background:#678654}
.page-heading{margin-top:2px;margin-bottom:30px;align-items:center}.page-heading h1{font-size:38px;letter-spacing:-1.4px}.page-heading p{font-size:12px;line-height:1.7;margin-top:12px}.back-link{font-size:12px;margin:0 0 16px}.back-link .icon{width:16px;height:16px}
.habit-layout{grid-template-columns:minmax(0,1fr) 310px;gap:36px}.habit-layout>section{background:var(--surface);border:1px solid #e3e6db;border-radius:20px;padding:18px 22px 24px;min-width:0}.habit-toolbar{margin-bottom:12px}.filter{font-size:12px;padding:9px 14px;min-height:44px;background:var(--surface);border-color:#d9e0d0}.filter[aria-pressed=true]{background:#405d43;border-color:#405d43;color:var(--surface)}.filters{gap:7px}
.tree-panel{background:#e7eeda;border:1px solid #d7e2c6;border-radius:24px;padding:20px 20px 24px;box-shadow:0 12px 25px #4f683d06}.tree-panel:after{content:'';position:absolute;inset:8px;border:1px dashed #bacaa5;border-radius:18px;pointer-events:none;opacity:.55}.tree-panel .tree-scene{height:228px;position:relative;z-index:1}.tree-panel h2{font-size:23px;margin-top:9px;position:relative;z-index:1}.tree-panel p{font-size:12px;line-height:1.8;max-width:230px;margin-top:10px}.tree-panel .help{font-size:12px}.progress-track{height:7px;background:#cbd7b9;margin:18px 4px 10px}.tree-panel>div{position:relative;z-index:1}
.week-strip{gap:9px;padding:18px;background:var(--surface);border:1px solid #e0e5d8;border-radius:20px;margin-bottom:22px}.day-button{border-radius:13px;min-height:84px}.day-button strong{font-family:var(--font-body);font-size:23px;font-weight:600}.day-button span{font-size:12px}.day-button[aria-pressed=true]{background:#dfe9d3;border-color:#c2d1b3;box-shadow:0 3px 5px #5d77490a}.date-toolbar h2{font-size:24px}.date-toolbar .help{font-size:12px}.date-controls input{font-size:12px;background:var(--surface);max-width:165px}.tasks-layout>section{padding:0 18px}.date-summary{background:#eaf0df;border:1px solid #dfe7d4;padding:24px;border-radius:20px}.date-summary .help{font-size:12px}.date-summary .big-number{font-family:var(--font-body);font-size:48px;font-weight:600}
.mood-layout{gap:30px}.mood-layout>section:first-child{background:#fcf7e7;border:1px solid #e8e0c7;border-radius:24px;padding:26px;height:fit-content}.mood-layout h2{font-size:25px}.mood-choice{border-radius:15px;gap:9px;padding:12px 1px 10px;min-height:100px}.mood-choice svg{width:49px;height:49px}.mood-choice span{font-size:12px}.mood-choice[aria-checked=true]{background:#e3ead7;border-color:#6a8658;box-shadow:0 4px 8px #6a86580b}.field{font-size:12px;gap:9px}.field input,.field textarea,.field select{font-size:15px;background:#fffefa;border-color:#c5ceba;padding:13px 14px;border-radius:13px}.field .help{font-size:12px}.journal-entry{padding:22px 0}.journal-entry p{font-size:13px;line-height:1.9}.journal-entry small{font-size:12px}.journal-heading strong{font-size:13px}.journal-heading .mood-face{background:#eee8ce;border-radius:50%}
.media-aside{padding:28px;background:#dce9ef;border:1px solid #c9dce6;border-radius:24px}.media-aside p{font-size:12px;line-height:1.8}.media-aside h2{font-size:25px}.media-layout>section{padding:0 10px}.media-toolbar{margin-top:10px}.media-toolbar .btn{font-size:12px}.photo-drop{background:#ecf1e5;border-color:#afc098}.photo-drop label{font-size:13px}.photo-drop input{font-size:12px}.dialog-description{font-size:12px;line-height:1.8}.photo-result h3{font-size:15px}.photo-result .help{font-size:12px}
.more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.more-tile{padding:26px;min-height:170px;border-color:#dce3d3;border-radius:22px;background:#fffef8}.more-tile:nth-child(2){background:#dce9ef}.more-tile:nth-child(3){background:#f5ebdd}.more-tile:nth-child(4){background:#e8eedf}.more-tile h2{font-size:24px}.more-tile p{font-size:12px}.more-tile:hover{box-shadow:0 7px 15px #354d2e08;transform:translateY(-2px)}
.settings-section{padding:28px 0;border-color:#dce3d3}.settings-section h2{font-size:25px}.settings-section p{font-size:13px;line-height:1.9}.setting-row strong{font-size:14px}.setting-row small{font-size:12px}.amount{font-size:13px}
dialog{border-radius:24px;border:1px solid #d8e0ce;box-shadow:0 25px 100px #28372435;background:#f9f9f0;padding:30px}.dialog-header h2{font-size:26px}.dialog-actions .btn{font-size:12px}.dialog-header .icon-button{background:var(--surface)}.app-footer{font-size:12px;padding-top:35px;color:#59624e}.toast{font-size:12px;line-height:1.7;background:#344d39;box-shadow:0 6px 30px #24321c15;max-width:min(88%,440px)}
@media(min-width:1400px){.hero-art{gap:18px}.hero{min-height:310px}.home-grid{gap:40px}.overview-links>a{padding:20px 24px}}
@media(max-width:1150px) and (min-width:801px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:20px;padding-right:15px}.brand{font-size:26px}.nav-link{font-size:12px;padding-left:10px}.hero{padding:26px;grid-template-columns:1.2fr .8fr;min-height:270px}.hero h1{font-size:37px}.hero-art{min-height:190px}.hero-note{font-size:11px}.overview-links>a{padding:14px 12px;gap:8px}.overview-links strong{font-size:12px}.overview-links small{font-size:11px}.overview-icon{width:32px;height:36px}.overview-links>a>.icon{display:none}.home-grid{grid-template-columns:minmax(0,1fr);gap:20px}.home-aside{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.mood-invitation{grid-row:span 2}.day-note{margin:0}.habit-layout{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.habit-layout>section{padding:15px}.tree-panel{padding:16px 12px}.tree-panel .tree-scene{height:200px}.tree-panel h2{font-size:20px}.row-actions{flex-direction:column;gap:0}.row-actions .icon-button{height:32px}.mood-layout{grid-template-columns:1fr}}
@media(max-width:800px){.app-shell{display:block}.workspace{padding:0 24px}.topbar{height:88px;margin-bottom:0}.mobile-brand{font-size:30px}.hero{margin-top:10px;padding:30px;border-radius:24px;min-height:270px}.hero h1{font-size:40px}.hero-note{font-size:12px}.hero p{font-size:12px}.hero-art{min-height:190px}.hero .btn{font-size:12px}.overview-links{margin-bottom:28px}.overview-links>a{padding:16px 14px;gap:10px}.overview-links>a>.icon{display:none}.overview-links strong{font-size:12px}.overview-links small{font-size:11px}.home-grid{grid-template-columns:1fr 1fr;gap:24px}.home-aside{padding:0;border:0}.section-top h2{font-size:21px}.section-symbol{display:none}.home-panel>.btn{font-size:12px}.empty{padding:18px 0 24px}.empty h3{font-size:13px}.empty p{font-size:12px}.mood-invitation{padding:20px 16px}.mood-invitation .mood-choice svg{width:35px;height:35px}.mobile-nav{left:12px;right:12px;bottom:12px;border:1px solid #d9e1cf;border-radius:22px;padding:7px 8px max(7px,env(safe-area-inset-bottom));box-shadow:0 7px 30px #34472c16;background:#fffef9}.mobile-nav a{border-radius:15px;min-height:52px;font-size:12px;gap:5px;color:#68755c}.mobile-nav a .icon{width:21px;height:21px}.mobile-nav a[aria-current=page]{background:#e3edd7;color:#3d5a37}.app-footer{padding-bottom:125px}.habit-layout{grid-template-columns:1fr;gap:22px}.tree-panel{position:relative;grid-template-columns:145px 1fr;border-radius:22px;padding:14px 24px;gap:18px}.tree-panel .tree-scene{height:160px}.tree-panel p{max-width:280px;font-size:12px}.tree-panel h2{font-size:24px}.tree-panel .progress-track{margin:15px 0 8px}.habit-layout>section{padding:18px 20px}.page-heading{margin-top:5px}.page-heading h1{font-size:35px}.back-link{margin-top:5px}.row-title{font-size:14px}.tasks-layout>section{padding:0 5px}.week-strip{padding:10px;gap:5px}.mood-layout{grid-template-columns:1fr}.mood-layout>section:first-child{padding:24px}.mood-history{padding-top:25px}.media-layout{gap:26px}.media-aside{grid-template-columns:100px 1fr;padding:24px}.media-aside p{font-size:12px}.media-aside h2{font-size:25px}.toast{bottom:104px}}
@media(max-width:540px){.workspace{padding:0 18px}.topbar{height:78px}.mobile-brand{font-size:28px}.settings-link{width:40px;height:40px}.hero{grid-template-columns:1fr 108px;min-height:245px;padding:24px 18px;gap:0;border-radius:22px;margin:4px 0 14px}.hero-note{font-size:11px;max-width:180px;line-height:1.7;margin-bottom:12px}.hero h1{font-size:30px;letter-spacing:-1.3px;line-height:1.22}.hero p{font-size:12px;line-height:1.8;max-width:205px;margin-top:12px}.hero .btn{font-size:12px;padding:10px 12px;min-height:43px;margin-top:18px;gap:6px}.hero .btn .icon{width:16px;height:16px}.hero-art{min-height:150px;gap:8px;overflow:visible;align-self:center}.hero:after{width:200px;height:200px;right:-80px;bottom:-140px}.overview-links{grid-template-columns:repeat(3,minmax(0,1fr));border-radius:16px;margin-bottom:26px}.overview-links>a{padding:14px 7px 12px;min-height:113px;gap:7px;flex-direction:column;align-items:center;text-align:center}.overview-links>a+a:before{top:20px;bottom:20px}.overview-links strong{font-size:11px;line-height:1.6}.overview-links small{font-size:11px;line-height:1.6;margin-top:3px}.overview-icon{width:33px;height:33px;border-radius:10px}.overview-icon .icon{width:18px;height:18px}.home-grid{grid-template-columns:1fr;gap:24px}.section-label{gap:8px}.section-symbol{display:grid;width:28px;height:28px;border-radius:8px}.section-top h2{font-size:22px}.text-button{font-size:12px}.text-button .icon{width:13px;height:13px}.home-panel{padding-bottom:22px}.home-panel+.home-panel{padding-top:23px}.empty{padding:18px 0 22px}.empty h3{font-size:14px}.empty p{font-size:12px;max-width:280px}.home-panel>.btn{font-size:12px;min-height:44px}.home-aside{padding:0}.mood-invitation{padding:23px 20px;border-radius:20px}.mood-caption{font-size:12px}.mood-invitation .help{font-size:12px}.mood-invitation .mood-picker{gap:5px;margin:18px 0 8px}.mood-invitation .mood-choice svg{width:44px;height:44px}.mood-invitation .mood-choice span{font-size:12px}.mood-invitation .text-button{font-size:12px}.day-note{padding:25px 0 21px 42px}.day-note p{font-size:18px}.quote-flower{top:24px}.mobile-nav{left:10px;right:10px;bottom:10px}.mobile-nav a{font-size:11px}.app-footer{padding-top:20px}.page-heading{gap:15px;align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:31px}.page-heading .heading-copy{min-width:155px}.page-heading p{font-size:12px;line-height:1.8}.page-heading>.btn{font-size:12px;min-height:44px;padding:11px 15px}.back-link{font-size:12px;margin-bottom:15px}.habit-layout{gap:18px}.tree-panel{grid-template-columns:120px minmax(0,1fr);padding:12px 17px 12px 10px;gap:10px;border-radius:20px}.tree-panel:after{inset:6px;border-radius:15px}.tree-panel .tree-scene{height:145px}.tree-panel h2{font-size:19px;letter-spacing:-.6px}.tree-panel p{font-size:12px;line-height:1.7;margin-top:8px}.tree-panel .help{font-size:12px}.tree-panel .progress-track{margin:12px 0 8px;height:6px}.habit-layout>section{padding:16px 13px 18px;border-radius:20px}.filters{gap:5px}.filter{font-size:12px;padding:8px 12px;min-height:43px}.habit-toolbar{margin-bottom:7px}.row-title{font-size:14px}.row-meta{font-size:12px}.list-row{gap:4px;min-height:86px;padding:14px 0}.row-actions{gap:0}.row-actions .icon-button{width:40px;min-width:40px}.row-actions .icon{width:16px;height:16px}.check-button{width:40px;padding:8px}.check-mark{width:23px;height:23px}.week-dot{width:8px;height:8px}.week-dots{gap:5px}.week-strip{gap:2px;padding:9px 5px;border-radius:17px}.day-button{min-height:74px;border-radius:11px}.day-button strong{font-size:21px}.day-button span{font-size:12px}.date-toolbar{gap:16px}.date-toolbar h2{font-size:24px}.date-controls{gap:6px}.date-controls input{max-width:unset;font-size:12px;padding:9px 10px;min-height:44px}.date-controls .icon-button{width:40px;height:44px;border-radius:12px;background:var(--surface)}.date-controls .filter{font-size:12px;padding:8px 11px}.tasks-layout>section{padding:0}.mood-layout>section:first-child{padding:21px 17px;border-radius:20px}.mood-layout h2{font-size:24px}.mood-picker{gap:4px;margin:20px 0}.mood-choice{min-height:91px;padding:10px 0 8px;gap:9px}.mood-choice svg{width:43px;height:43px}.mood-choice span{font-size:11px}.field{font-size:12px;margin:20px 0}.field input,.field textarea,.field select{font-size:16px}.journal-entry p{font-size:12px}.journal-heading strong{font-size:12px}.journal-heading small{font-size:12px}.media-toolbar{gap:16px}.media-aside{grid-template-columns:70px 1fr;padding:22px 20px;gap:12px}.media-aside h2{font-size:24px}.media-aside p{font-size:12px}.media-aside .btn{font-size:12px}.media-layout>section{padding:0}.more-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.more-tile{padding:20px 15px;min-height:170px;border-radius:18px}.more-tile svg{float:none;margin:0 0 20px}.more-tile h2{font-size:19px;letter-spacing:-.6px}.more-tile p{font-size:12px;line-height:1.8}.amount{font-size:12px}.settings-section h2{font-size:24px}.settings-section p{font-size:12px}.setting-row strong{font-size:12px}.setting-row small{font-size:12px}.settings-section .btn{font-size:12px}.settings-section .text-button{font-size:12px}dialog{padding:23px 20px;border-radius:22px}.dialog-header h2{font-size:24px;letter-spacing:-.8px}.dialog-description{font-size:12px}.dialog-actions .btn{font-size:12px;min-height:46px}.photo-drop{padding:20px 12px}.photo-drop label{font-size:12px}.photo-drop input{font-size:12px}.photo-result h3{font-size:14px}.photo-result .help{font-size:12px}.toast{font-size:12px;padding:11px 16px;bottom:102px}.help{font-size:12px}}
@media(prefers-reduced-motion:reduce){.more-tile:hover{transform:none}}

/* Corrections from real iPhone screenshots: integrated artwork, safe native dates,
   direct finance access and chart semantics for an expense tracker. */
.hero-art{isolation:isolate;min-width:0;overflow:visible;gap:0;justify-content:flex-end;align-self:center;min-height:225px}
.hero-copy{min-width:0}
.hero{grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr)}
.mascot-art{display:block;position:relative;z-index:1;width:min(100%,280px);height:auto;aspect-ratio:1;object-fit:contain;mix-blend-mode:normal}
.garden-ground{position:absolute;width:75%;height:15px;background:#cad6b8;opacity:.6;border-radius:50%;bottom:20px;z-index:0}
.overview-links{grid-template-columns:repeat(4,minmax(0,1fr))}
.overview-links>a{padding:18px 16px;gap:10px}
.overview-links a:nth-child(3) .overview-icon{background:#f3e2cd;color:#8d5c3f}
.overview-links a:nth-child(4) .overview-icon{background:#e0ecf3;color:#4c6f75}
.home-closing-note{grid-column:1/-1;border-bottom:0;border-top:1px solid var(--line);margin-top:25px;padding:25px 0 15px 38px;max-width:none}
.home-closing-note p{font-size:17px;max-width:unset}
.quote-flower{top:27px;color:var(--moss);font-size:inherit}
.quote-flower .icon{width:23px;height:23px}
.books-illustration{display:block;max-width:100%;width:155px;height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 16px}
.media-aside{display:block;text-align:left}
.media-aside .btn{margin-top:18px}
.finance-summary{background:var(--surface);border:1px solid #dce3d3;border-radius:22px;padding:26px;margin-bottom:30px}
.finance-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.finance-summary-heading h2{font-size:24px}
.finance-chart-layout{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:40px;padding-top:12px}
.finance-chart{margin:0;text-align:center;min-width:0}
.finance-chart svg{display:block;width:100%;max-width:210px;height:auto;margin:auto;overflow:visible}
.chart-number{font:600 24px Manrope,sans-serif;fill:var(--text);font-variant-numeric:tabular-nums}
.chart-caption{font:500 10px Manrope,sans-serif;fill:#59624e}
.finance-chart figcaption{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.7}
.finance-legend{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:30px;min-width:0}
.finance-legend dt{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.finance-legend dd{font-size:clamp(23px,2.5vw,34px);font-weight:650;margin:12px 0 0;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.legend-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.legend-dot.expense{background:#aa492f}.legend-dot.income{background:#55704b}
.finance-scope{font-size:11px;color:var(--muted);margin-top:20px}
.finance-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}
.finance-list-heading h2{font-size:24px}
.finance-list-heading .help{font-size:12px}
.field{min-inline-size:0;grid-template-columns:minmax(0,1fr)}
.field input,.field textarea,.field select{min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
.field input[type=date],.date-controls input[type=date]{display:block;min-inline-size:0;max-inline-size:100%;width:100%;-webkit-appearance:none;appearance:none;text-align:left;line-height:1.5;overflow:hidden}
input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.5em;min-width:0}
input[type=date]::-webkit-calendar-picker-indicator{margin-left:auto;flex-shrink:0}
dialog{max-inline-size:calc(100vw - 32px);max-block-size:calc(100dvh - 32px)}
.app-footer{padding-top:28px;font-size:12px}
@media(min-width:801px) and (max-width:1150px){.overview-links>a{padding:15px 10px;gap:10px;flex-direction:column;align-items:flex-start}.overview-links strong{font-size:11px}.overview-links small{font-size:11px}.finance-chart-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}.finance-legend{grid-template-columns:1fr;gap:22px}.finance-legend dd{font-size:28px}}
@media(max-width:800px){
 .mobile-nav{position:sticky;top:0;inset-inline:auto;bottom:auto;left:auto;right:auto;width:100%;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 24px;padding:6px;border-radius:16px;box-shadow:0 4px 12px #34472c09;z-index:20;transform:none}
 .mobile-nav a{min-width:0;min-height:56px;font-size:11px;gap:5px;border-radius:12px;padding:5px 2px}
 .mobile-nav a .icon{width:20px;height:20px}
 .mobile-nav a[aria-current=page]{background:#dce8cd;color:#344d2c;font-weight:700}
 .topbar{margin-bottom:0;height:78px}
 .app-footer{padding-bottom:110px}
 .toast{bottom:25px;max-width:calc(100% - 36px)}
 .hero{margin-top:0;grid-template-columns:minmax(0,1.2fr) minmax(130px,.8fr)}
 .hero-art{min-height:190px}
 .mascot-art{width:210px}
 .garden-ground{bottom:15px}
 .overview-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .overview-links>a{flex-direction:row;text-align:left;align-items:center;min-height:90px;padding:16px;gap:10px}
 .overview-links>a:nth-child(3),.overview-links>a:nth-child(4){border-top:1px solid var(--line)}
 .overview-links>a:nth-child(3):before{display:none}
 .overview-links strong{font-size:12px}
 .overview-links small{font-size:11px}
 .media-aside{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:center;padding:24px;text-align:left}
 .books-illustration{width:110px;margin:0;grid-row:span 2}
 .media-aside .btn{margin-top:0;justify-self:start}
 .finance-chart-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}
 .finance-legend{grid-template-columns:1fr;gap:22px}
 .finance-legend dd{font-size:28px;margin-top:8px}
 .finance-summary{padding:24px}
}
@media(max-width:540px){
 .workspace{padding-inline:18px}
 .mobile-nav{margin-bottom:22px;border-radius:15px;padding:5px;gap:1px}
 .mobile-nav a{font-size:10px;min-height:54px;gap:5px}
 .mobile-nav a .icon{width:20px;height:20px}
 .hero{grid-template-columns:minmax(0,1fr) 112px;gap:6px;min-height:245px;padding:24px 18px}
 .hero h1{font-size:29px;letter-spacing:-1.1px;line-height:1.25;overflow-wrap:normal}
 .hero-note{font-size:11px;max-width:190px}
 .hero p{font-size:12px;line-height:1.75}
 .hero .btn{font-size:11px;padding:10px 12px}
 .hero-art{min-height:165px;align-self:end;margin-bottom:8px}
 .mascot-art{width:144px;max-width:144px;position:relative;right:5px}
 .garden-ground{width:100%;height:10px;bottom:12px;right:4px}
 .overview-links>a{min-height:104px;align-items:flex-start;padding:16px 12px;gap:9px}
 .overview-links strong{font-size:11px;line-height:1.6}
 .overview-links small{font-size:11px;line-height:1.6}
 .overview-icon{width:30px;height:34px;flex-shrink:0}
 .overview-icon .icon{width:18px;height:18px}
 .home-closing-note{margin-top:20px;padding:24px 0 10px 34px}
 .home-closing-note p{font-size:16px;line-height:1.75}
 .home-closing-note .quote-flower{left:0;top:26px}
 .media-aside{grid-template-columns:80px minmax(0,1fr);padding:20px;gap:12px}
 .books-illustration{width:85px;height:auto;max-width:100%;margin:0;object-fit:contain}
 .media-aside h2{font-size:23px;line-height:1.3}
 .media-aside p{font-size:12px;line-height:1.7}
 .media-aside .btn{font-size:11px;padding:11px 13px;min-height:46px;max-width:100%}
 .finance-summary{padding:22px 18px;margin-bottom:26px}
 .finance-summary-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}
 .finance-summary-heading h2{font-size:22px;line-height:1.3}
 .finance-summary-heading .tag{font-size:10px}
 .finance-chart-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:16px;padding-top:18px}
 .finance-chart svg{width:100%;max-width:165px}
 .finance-chart figcaption{font-size:10px;line-height:1.6;margin-top:6px}
 .finance-legend{gap:24px;grid-template-columns:1fr}
 .finance-legend dt{font-size:12px;gap:6px}
 .finance-legend dd{font-size:23px;margin-top:8px;letter-spacing:-.6px}
 .finance-scope{font-size:11px;line-height:1.75;margin-top:20px}
 .finance-list-heading h2{font-size:23px}
 .finance-list-heading .help{font-size:11px}
 .field input[type=date]{font-size:16px;min-height:50px;padding:12px 14px}
 .dialog-header{align-items:flex-start;gap:10px}
 .dialog-header h2{max-width:calc(100% - 50px);overflow-wrap:normal}
 .dialog-header .icon-button{flex-shrink:0}
}
@media(max-width:360px){.hero{grid-template-columns:minmax(0,1fr) 88px;padding:22px 15px}.hero h1{font-size:26px}.hero p{font-size:11px}.mascot-art{width:118px;max-width:118px;right:3px}.hero-art{min-height:145px}.overview-links>a{padding:14px 10px;gap:7px}.overview-links small{font-size:10px}.overview-icon{width:25px}.mobile-nav a{font-size:9px}.finance-chart-layout{gap:10px}.finance-legend dd{font-size:20px}}
.mascot-art,.books-illustration{aspect-ratio:3/2}

.home-aside{display:block}
html{scroll-behavior:auto;scroll-padding-top:90px;scroll-padding-bottom:24px}

/* Independent savings goals. */
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.finance-tabs a{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:10px 16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);font-size:13px;font-weight:600}
.finance-tabs a[aria-current=page]{background:var(--moss);border-color:var(--moss);color:var(--paper)}
.savings-separation{font-size:13px;color:var(--muted);margin-bottom:24px;line-height:1.8}
.savings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;align-items:start}
.savings-card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:24px}
.savings-card-title{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.savings-card-title h2{flex:1;min-width:0;overflow-wrap:anywhere;font-size:24px}
.savings-card-title .row-actions{flex-shrink:0}
.savings-symbol{display:grid;place-items:center;width:44px;height:44px;background:var(--sage);color:var(--moss);border-radius:14px;flex-shrink:0}
.savings-amount{display:block;font-size:clamp(26px,3vw,36px);color:var(--moss);line-height:1.4;margin:6px 0 20px;overflow-wrap:anywhere}
.savings-progress{height:10px;background:#e7e8dc;border-radius:10px;overflow:hidden}
.savings-progress>span{display:block;height:100%;background:var(--moss);border-radius:inherit}
.savings-target{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:13px;flex-wrap:wrap}
.savings-target strong{color:var(--moss)}
.savings-remaining{font-size:13px;color:var(--muted);margin:10px 0 22px}
.goal-reached{border-color:#9cae87}.goal-reached .savings-remaining{color:var(--moss);font-weight:700}
.savings-actions{display:flex;gap:10px;flex-wrap:wrap}.savings-actions .btn{flex:1;min-width:90px}
.savings-card .text-button{display:flex;align-items:center;gap:8px;margin-top:12px;text-align:left;overflow-wrap:anywhere;max-width:100%}
.savings-card button:disabled{cursor:default}
.savings-history{margin-top:36px;scroll-margin-top:110px}
.savings-history .section-top{flex-wrap:wrap}.savings-history .tag{max-width:100%;overflow-wrap:anywhere}
.savings-history .amount{white-space:nowrap;font-size:14px}
@media(max-width:540px){
 .finance-tabs{gap:6px}.finance-tabs a{font-size:12px;padding:10px 12px;gap:6px}.finance-tabs .icon{width:19px}
 .savings-card{padding:20px 16px}.savings-card-title{gap:8px}.savings-card-title h2{font-size:21px}.savings-card-title .savings-symbol{width:32px;height:38px;border-radius:10px}
 .savings-card-title .row-actions{margin-left:auto}.savings-amount{font-size:32px}.savings-history .section-top h2{font-size:22px}
 .savings-history .list-row{flex-wrap:wrap}.savings-history .row-text{min-width:90px}.savings-history .amount{font-size:12px}
}
.recovery-notice{background:var(--sage);border:1px solid var(--line);border-radius:20px;padding:20px 24px;margin:0 0 24px}
.recovery-notice[hidden]{display:none}.recovery-notice p{font-size:13px;margin:8px 0 16px;color:var(--moss)}
.pin-form{max-width:360px;display:grid;gap:16px;margin:24px 0 40px}.pin-form input{letter-spacing:8px}
.day-note-form{padding-top:28px;margin-top:24px;border-top:1px solid var(--line)}
#backup-pin-form{margin-top:20px}.settings-section>[data-action=recover-old]{margin-bottom:20px}
.heading-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:56%}
.heading-actions .btn{font-size:13px;min-height:46px}
.calendar-help{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.8}
.calendar-help p+p{margin-top:12px}.calendar-options{display:grid;gap:24px;margin:24px 0}
.calendar-next{padding:20px;background:var(--sage);border-radius:16px;margin-top:24px}.calendar-next p{font-size:13px;margin:12px 0 16px}
#calendar-habits-form,#calendar-task-form{margin-top:20px}.field input[type=time]{appearance:none;-webkit-appearance:none;min-inline-size:0;max-width:100%;display:block;min-height:50px}
.field input[type=time]::-webkit-date-and-time-value{text-align:left;min-width:0}
@media(max-width:540px){.heading-actions{max-width:none;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.heading-actions .btn{font-size:12px;padding:10px;min-height:50px}.list-row .row-actions{flex-wrap:wrap;max-width:88px;justify-content:flex-end}.calendar-options select{min-width:0;width:100%}}
