
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&display=swap');
:root{--paper:#f7f8f2;--white:#fffefa;--green:#3e624c;--ink:#2d3931;--muted:#93998e;--line:#e7e9df}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #749679;outline-offset:4px}button{color:inherit}svg{vertical-align:middle}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar{position:fixed;width:228px;inset:0 auto 0 0;background:#fafbf6;border-right:1px solid var(--line);padding:42px 26px;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:10px;font-family:"Noto Serif SC",serif;font-size:27px;letter-spacing:5px;margin:0 12px}.logo-mark{width:30px;height:30px;border:1.5px solid #4a6c50;border-radius:50%;position:relative}.logo-mark:before{content:"";position:absolute;width:13px;height:13px;background:#809b72;border-radius:80% 0 80% 0;left:8px;top:6px;transform:rotate(-12deg)}.tagline{font-size:10px;letter-spacing:3px;color:#9b9f91;margin:13px 12px 57px}nav{display:grid;gap:10px}.nav-button{border:0;background:none;display:flex;align-items:center;gap:15px;padding:14px 18px;border-radius:9px;text-align:left;color:#7c867b;font-size:13px}.nav-button.active{background:#e8eee1;color:var(--green);font-weight:600}.nav-button:hover{background:#edf0e7}.sidebar-bottom{margin-top:auto}.little-quote{padding:22px 12px;color:#939a8c;font:12px/2.2 "Noto Serif SC",serif}.user{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:23px;font-size:12px}.avatar{width:36px;height:36px;background:#e9e3cf;border-radius:50%;display:grid;place-items:center;font-size:19px}.user small{display:block;font-size:10px;color:#9a9e93;margin-top:5px}.workspace{max-width:1510px;margin:auto;padding:44px 50px 38px 278px}.topbar{display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;letter-spacing:2px;color:#969c90}.private{font-size:10px;color:#8a9386;display:flex;align-items:center;gap:7px}.private .icon{width:13px;height:13px}.greeting{margin:38px 0 30px;display:flex;justify-content:space-between;gap:20px;align-items:center}h1{font:500 31px/1.5 "Noto Serif SC",serif;letter-spacing:1px;margin:0 0 9px}.greeting p{font-size:12px;color:#93998d;letter-spacing:1px;margin:0}.primary{border:0;background:var(--green);color:#fff;padding:13px 20px;border-radius:8px;display:flex;gap:10px;align-items:center;font-size:12px;box-shadow:0 5px 12px #3e624c12}.primary:hover{background:#2d513b}.primary .icon{width:16px;height:16px}.grid{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:27px}.hero{height:257px;border-radius:13px;position:relative;overflow:hidden;background:#8a9a73}.hero img{width:100%;height:100%;object-fit:cover;object-position:50% 56%}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#152c2380,transparent 90%)}.hero-copy{position:absolute;z-index:1;left:29px;bottom:27px;color:white}.hero-copy small{font-size:9px;letter-spacing:3px;opacity:.8}.hero-copy h2{font:400 26px "Noto Serif SC",serif;letter-spacing:3px;margin:13px 0 10px}.hero-copy p{font-size:11px;letter-spacing:1px;color:#ffffffb0;margin:0}.hero-label{position:absolute;z-index:1;right:18px;top:18px;border:1px solid #ffffff66;border-radius:20px;padding:6px 10px;font-size:9px;letter-spacing:1px;color:#fff;background:#ffffff12;}.section-title{display:flex;align-items:center;justify-content:space-between;margin:30px 0 18px}.section-title h2{font-size:16px;font-weight:500;margin:0;letter-spacing:1px}.section-title h2 small{font:10px sans-serif;color:#a0a796;margin-left:12px;letter-spacing:1px}.text-button{font-size:10px;color:#8f9789;background:none;border:0;padding:6px}.entry{display:grid;grid-template-columns:47px 1fr;gap:16px;margin-bottom:22px}.time{font-size:10px;color:#8c9487;text-align:right;padding-top:6px;position:relative}.time:after{content:"";width:5px;height:5px;background:#a3b293;border:4px solid var(--paper);box-sizing:content-box;border-radius:50%;position:absolute;right:-23px;top:4px}.entry-card{border-left:1px solid #e1e5d8;padding-left:23px;padding-bottom:3px}.entry-head{display:flex;align-items:center;gap:8px;font-size:10px;color:#9a9f93;margin:3px 0 12px}.entry-head .badge{background:#eaf0e2;color:#748366;padding:3px 7px;border-radius:4px;font-size:9px}.entry-card h3{font:500 17px "Noto Serif SC",serif;margin:0 0 10px}.entry-card p{font-size:11px;line-height:1.9;color:#8a9285;margin:0 0 14px}.photos{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.photos img{width:100%;height:135px;object-fit:cover;border-radius:7px;background:#e7e5d8;cursor:zoom-in}.entry-foot{display:flex;align-items:center;gap:7px;font-size:9px;color:#9aa18f;margin-top:12px}.entry-foot .icon{width:12px;height:12px}.side-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:19px}.calendar-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:19px}.calendar-title span{font-size:10px;color:#9aa38f}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:9px 4px;text-align:center;font-size:10px}.calendar .weekday{font-size:9px;color:#abb09f;margin-bottom:8px}.day{height:23px;display:grid;place-items:center;position:relative;color:#778271}.day.faint{color:#d1d5ca}.day.recorded:after{content:"";position:absolute;bottom:-3px;width:3px;height:3px;background:#a8b68e;border-radius:50%}.day.current{background:#4d6d50;color:white;border-radius:50%;width:25px;justify-self:center}.calendar-note{font-size:9px;color:#a0a794;margin-top:22px;display:flex;align-items:center;gap:7px}.dot{width:4px;height:4px;border-radius:50%;background:#a8b68e}.stats{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);margin-top:19px;padding-top:20px;text-align:center}.stats b{display:block;font:23px Georgia,serif;color:#526b4f;font-weight:400}.stats small{font-size:9px;color:#9ea590;display:block;margin-top:7px}.side-title{font-size:12px;margin:0 0 18px;font-weight:500;display:flex;justify-content:space-between}.side-title small{font:9px sans-serif;color:#b3b8a8;letter-spacing:1px}.memory-image{width:100%;height:134px;border-radius:7px;object-fit:cover}.memory-date{font-size:9px;color:#a5aa9c;margin:13px 0 8px}.memory-title{font:14px "Noto Serif SC",serif;margin:0 0 8px}.memory-note{font-size:10px;color:#9ba391;line-height:1.8;margin:0}.quote-card{padding:9px 18px;color:#8d9885}.quote-mark{font:43px Georgia;color:#bbc6ab;height:38px}.quote-card p{font:12px/2 "Noto Serif SC",serif;margin:0}.quote-card small{display:block;text-align:right;font-size:9px;color:#adb4a3;margin-top:14px}.bottom-note{text-align:center;font-size:9px;letter-spacing:2px;color:#b2b8a7;margin:35px 0 0}.mobile-nav{display:none}dialog{border:1px solid var(--line);border-radius:18px;background:var(--white);padding:30px;width:min(460px,90vw);color:var(--ink);box-shadow:0 25px 100px #243c3233}dialog::backdrop{background:#25372d55;}dialog h2{font:22px "Noto Serif SC",serif;margin:0 0 20px}dialog input,dialog textarea{display:block;width:100%;border:1px solid var(--line);border-radius:8px;background:#f7f8f1;padding:12px;margin-bottom:12px;outline-color:#829c72}dialog textarea{min-height:150px;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.secondary{background:transparent;border:1px solid var(--line);border-radius:8px;padding:10px 17px;font-size:12px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);padding:12px 23px;color:white;background:#3e624c;border-radius:30px;font-size:12px;z-index:20;box-shadow:0 4px 20px #20392122}.archive-view{display:none}.archive-view.visible{display:block}.archive-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.archive-tile{background:var(--white);padding:12px;border:1px solid var(--line);border-radius:10px}.archive-tile img{width:100%;height:180px;object-fit:cover;border-radius:6px}.archive-tile p{font-size:12px}.archive-tile small{font-size:10px;color:var(--muted)}#lightbox{padding:10px;width:min(800px,92vw)}#lightbox img{display:block;max-height:75vh;width:100%;object-fit:contain}#lightbox button{position:absolute;right:16px;top:16px;border:0;background:#fff;border-radius:50%;width:30px;height:30px} .demo-note{font-size:9px;color:#adb3a4;margin-top:10px;line-height:1.7}
@media(min-width:1500px){.workspace{padding-left:275px;padding-right:55px}.hero{height:300px}}
@media(max-width:1100px){.sidebar{width:185px;padding:35px 18px}.workspace{padding:35px 28px 30px 213px}.grid{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.side-card{padding:17px}.hero-copy h2{font-size:23px}.photos img{height:110px}}
@media(max-width:820px){.sidebar{width:84px;padding:30px 12px}.logo{margin:0;justify-content:center}.logo-name,.tagline,.nav-label,.little-quote,.user-copy{display:none}nav{margin-top:55px}.nav-button{justify-content:center;padding:15px}.user{justify-content:center}.workspace{padding:30px 28px 30px 112px}.grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quote-card{display:none}.greeting{margin-top:30px}.side-card{margin:0}.hero{height:270px}.photos img{height:150px}}
@media(max-width:540px){.sidebar{display:none}.workspace{padding:25px 21px 100px}.topbar{padding-bottom:18px;border-bottom:1px solid var(--line)}.breadcrumb{font:19px "Noto Serif SC",serif;color:#4c664c;letter-spacing:4px}.private{font-size:9px}.greeting{margin:28px 0 23px;align-items:flex-end}h1{font-size:26px;margin-bottom:8px}.greeting p{font-size:10px;letter-spacing:.4px}.greeting .primary{padding:11px 12px;font-size:10px;gap:5px;white-space:nowrap}.hero{height:245px;border-radius:12px}.hero-copy{left:23px;bottom:24px}.hero-copy h2{font-size:25px}.hero-copy p{font-size:10px}.hero-label{font-size:8px;right:14px;top:14px}.section-title{margin-top:29px}.section-title h2{font-size:15px}.section-title h2 small{font-size:9px}.entry{grid-template-columns:34px 1fr;gap:13px}.entry-card{padding-left:17px}.time{font-size:9px}.time:after{right:-20px}.entry-card h3{font-size:16px}.entry-card p{font-size:11px}.photos{gap:6px}.photos img{height:104px}.right-column{display:none}.bottom-note{font-size:8px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#fcfdf8ee;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:12px 10px max(13px,env(safe-area-inset-bottom));z-index:5}.mobile-nav button{background:none;border:0;display:grid;justify-items:center;gap:5px;font-size:9px;color:#9ba48f;padding:3px 20px}.mobile-nav button.active{color:#3e624c}.mobile-nav .icon{width:21px;height:21px}.archive-tiles{grid-template-columns:1fr 1fr;gap:10px}.archive-tile img{height:150px}.toast{bottom:90px;white-space:nowrap}}

.hero-label{display:flex;flex-direction:column;gap:7px;padding:10px 14px;border-radius:12px;background:#24372c66;font-size:11px;letter-spacing:1px}.hero-weather{font-size:10px;opacity:.85;letter-spacing:.5px}.hero-copy{right:25px}.hero-copy h2{line-height:1.65;font-size:25px;letter-spacing:2px}.hero-copy small{letter-spacing:2px}.hero-copy p{font-size:9px}.hero:after{background:linear-gradient(0deg,#122c22bd,transparent 95%)}
.record-directory{margin-top:20px;border:1px solid var(--line);border-radius:11px;background:#fffefa}.record-directory summary{padding:18px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:12px;list-style:none}.record-directory summary::-webkit-details-marker{display:none}.record-directory summary small{font-size:10px;color:#99a18f;margin-left:12px}.record-directory summary>span:last-child{font-size:10px;color:#8b9780}.directory-body{padding:0 20px 18px}.directory-controls{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:16px 0;font-size:10px;color:#8c9883}.directory-controls input{border:0;background:#eff2e8;color:#4a6546;padding:7px;border-radius:5px;font-size:11px;margin-left:8px}.directory-item{width:100%;border:0;border-radius:7px;background:transparent;display:flex;gap:15px;align-items:center;padding:12px;text-align:left}.directory-item:hover,.directory-item.active{background:#edf1e5}.directory-day{font:23px Georgia;color:#5b7551;min-width:27px}.directory-item strong{display:block;font-size:11px;font-weight:500;margin-bottom:5px}.directory-item small{font-size:9px;color:#98a28e}.directory-item .directory-number{margin-left:auto;font-size:10px;color:#8d987f;white-space:nowrap}.directory-hint{font-size:9px;color:#a5ad99;margin:14px 0 0}.date-toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:25px;padding-bottom:14px;border-bottom:1px solid var(--line);gap:10px}.date-toolbar button{border:0;background:none;padding:8px 0;color:#7f8f72;font-size:10px}.date-toolbar input{border:0;background:transparent;color:#526b4d;font-size:12px;max-width:145px}.date-toolbar+.section-title{margin-top:20px}.calendar-title button{border:0;background:none;color:#7c8e72;font-size:20px;padding:0 4px}.calendar-title #calendar-month-title{font-size:12px;color:#52664c}.day{border:0;background:transparent;width:25px;justify-self:center;border-radius:50%;font:10px inherit}.day:hover,.day.selected{background:#e8eedf}.day.current.selected{background:#4d6d50}.empty-day{padding:35px 20px;text-align:center;border:1px dashed #dce3d0;border-radius:10px;color:#94a086;font-size:12px;line-height:2}.empty-day button{display:block;border:0;border-radius:6px;background:#e6eddd;padding:10px 18px;color:#526a47;margin:15px auto 0}.entry-date-label{display:block;font-size:11px;color:#8b967f}.weather-source{display:block;font-size:9px;color:#a7af9a;margin-top:12px}.weather-source a{color:inherit}.entry-head .sample-badge{color:#b0b5a5;font-size:9px}
@media(max-width:540px){.hero{height:275px}.hero-copy{left:22px;right:20px;bottom:22px}.hero-copy h2{font-size:23px;letter-spacing:2px;margin-top:10px}.hero-copy small{font-size:9px}.hero-label{top:14px;right:14px;padding:9px 12px;font-size:10px}.hero-weather{font-size:9px}.record-directory summary{padding:16px}.directory-body{padding:0 14px 16px}.record-directory summary small{font-size:9px;margin-left:6px}.date-toolbar{margin-top:22px}.directory-number{font-size:9px}}

[hidden]{display:none!important}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.upload-action{color:var(--green);background:#edf1e6;border:1px solid #dce4d2;box-shadow:none}.upload-action:hover{background:#e2ead9}.upload-picker{display:block;text-align:center;padding:23px 12px;background:#f1f4e9;border:1px dashed #b8c8a8;border-radius:10px;color:#5b7650;cursor:pointer;font-size:12px}.upload-picker .icon{display:block;margin:0 auto 10px;width:26px;height:26px}.upload-picker small{display:block;font-size:10px;margin-top:8px;color:#9ca68e}.upload-picker input{position:absolute;width:1px;height:1px;opacity:0;padding:0;border:0}.upload-picker:focus-within{outline:2px solid #749679;outline-offset:3px}.upload-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.upload-preview{position:relative}.upload-preview img{width:100%;height:90px;object-fit:cover;border-radius:7px}.upload-preview button{position:absolute;top:4px;right:4px;border:0;border-radius:50%;width:23px;height:23px;background:#fffdf5ed;color:#516047}.upload-error{font-size:11px;line-height:1.8;color:#ae6546;min-height:18px}#upload-editor{max-height:90svh;overflow-y:auto}#upload-editor textarea{min-height:85px}.photos.uploaded-photos{margin-top:12px}.uploaded-photos img:only-child{grid-column:span 2;height:210px}.upload-description{font-size:11px;color:#929d85;line-height:1.8;margin:-8px 0 18px}
@media(max-width:1100px){.greeting{flex-wrap:wrap}.header-actions{margin-left:auto}}@media(max-width:540px){.greeting{gap:18px}.greeting>div:first-child{width:100%}.header-actions{margin-left:0;gap:9px}.greeting .header-actions .primary{padding:11px 15px;font-size:11px}.header-actions .icon{width:15px;height:15px}.uploaded-photos img:only-child{height:175px}}

/* A warm, editorial journal: generous imagery, quiet type, tactile paper. */
:root{--paper:#f7f5ef;--white:#fffef9;--green:#345c4b;--ink:#293e34;--muted:#999b8d;--line:#e9e6dc;--terracotta:#b88060}body{background:radial-gradient(ellipse at 75% 0%,#e9eddf66,transparent 50%),var(--paper);-webkit-font-smoothing:antialiased}button{transition:background .2s,box-shadow .2s,transform .2s}button:active{transform:translateY(1px)}.sidebar{width:220px;background:#f2f2e9;border-right:1px solid #e4e6da;padding:43px 25px 30px}.logo{gap:12px;font-size:30px;font-weight:500;letter-spacing:6px}.logo-mark{width:33px;height:33px;border-color:#6b8569;transform:rotate(-10deg)}.logo-mark:before{background:#729067;left:9px;top:7px}.tagline{font-size:9px;letter-spacing:3px;margin-top:16px;margin-bottom:55px;color:#909b81}.nav-button{padding:15px 17px;font-size:12px;border-radius:9px;gap:14px}.nav-button.active{background:#e2e8d8;color:#36553e;box-shadow:inset 3px 0 #78906c}.nav-button .icon{width:18px;height:18px}.little-quote{font-size:11px;letter-spacing:1px;color:#89967e;padding-bottom:30px}.user{border-color:#dfe4d4;padding-top:22px}.avatar{background:#e3e6d6;border:4px solid #eaeddf;width:38px;height:38px;font-size:18px}.user-copy{font-size:11px}.workspace{max-width:1560px;padding:35px 48px 32px 268px}.topbar{padding-bottom:21px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:10px;letter-spacing:1.5px;color:#87917f;display:flex;align-items:center;gap:10px}.tiny-leaf{color:#63805c;font-size:22px;line-height:1}.breadcrumb-divider{color:#bfc5b3;margin:0 6px}.private{font-size:9px;color:#98a08d;letter-spacing:1px}.private .icon{width:12px;height:12px}.greeting{margin:34px 0 29px;gap:16px;align-items:center}.greeting-eyebrow{color:#a78b6c;letter-spacing:2px;font-size:9px;display:flex;align-items:center;gap:7px;margin-bottom:12px}.greeting-eyebrow>span{width:5px;height:5px;background:#b59170;border-radius:50%}h1{font-size:clamp(27px,2.6vw,39px);font-weight:400;letter-spacing:3px;margin-bottom:11px;line-height:1.4}.greeting p{font-size:10px;letter-spacing:1px;color:#99a08e;line-height:1.8}.header-actions{gap:9px}.primary{font-size:11px;border-radius:7px;padding:13px 17px;box-shadow:0 5px 12px #345c4b12;letter-spacing:.5px}.primary:hover{background:#264b3c;box-shadow:0 6px 15px #345c4b22}.upload-action{background:transparent;border:1px solid #bfcbb7;color:#5d7554;box-shadow:none}.upload-action:hover{background:#e8eddf;box-shadow:none}.grid{grid-template-columns:minmax(0,1fr) 262px;gap:25px}.hero{height:339px;border-radius:15px;background:#577155;box-shadow:0 12px 25px #2b492b0a}.hero img{object-position:50% 56%;transition:transform 1.4s}.hero:hover img{transform:scale(1.025)}.hero:after{background:linear-gradient(0deg,#122b22d9 0%,#1c332742 58%,#152b2030 100%)}.hero-label{right:22px;top:22px;padding:10px 14px;gap:6px;border:1px solid #ffffff45;border-radius:9px;background:#dce9d418;font-size:10px;letter-spacing:1px;box-shadow:0 2px 10px #152b2010}.hero-weather{font-size:9px;color:#eef1df;letter-spacing:1px}.hero-copy{left:30px;right:30px;bottom:29px}.hero-copy small{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:2px;color:#e4e9d4;opacity:.9}.quote-line{display:inline-block;width:22px;height:1px;background:#d5dfbf}.hero-copy h2{font-size:clamp(24px,2.35vw,33px);line-height:1.7;letter-spacing:3px;font-weight:400;max-width:490px;margin:14px 0 13px;text-shadow:0 2px 10px #142c2030}.hero-copy p{font-size:8px;letter-spacing:1px;color:#d5dfbd9e}.date-toolbar{margin-top:27px;border-bottom:1px solid #e2e6d8;padding-bottom:14px}.date-toolbar button{font-size:10px;color:#98a08d}.date-toolbar button:hover{color:#46643d}.date-toolbar input{color:#78846b;font-size:11px;letter-spacing:1px}.section-title{margin:25px 0 19px}.section-title h2{font:500 18px "Noto Serif SC",serif;letter-spacing:2px}.section-title h2 small{font:9px -apple-system,sans-serif;letter-spacing:.5px;color:#aab09d;margin-left:10px}.text-button{font-size:9px;letter-spacing:1px}.entry{grid-template-columns:40px 1fr;gap:18px;margin-bottom:18px}.time{font-family:Georgia,serif;color:#99a28d;font-size:11px;padding-top:24px}.time:after{right:-24px;top:23px;width:5px;height:5px;background:#a3b191;box-shadow:0 0 0 1px #dce3d1;border:4px solid var(--paper)}.entry-card{border-left:0;background:#fffef9;border:1px solid #ebe9de;padding:20px 22px 18px;border-radius:11px;box-shadow:0 4px 12px #3c4f3003;position:relative}.entry-card:before{content:"";position:absolute;left:-13px;top:39px;width:1px;height:calc(100% - 10px);background:#e0e5d6}.entry:last-child .entry-card:before{display:none}.entry-head{margin:0 0 12px;gap:10px;font-size:9px;color:#a9ad9a}.entry-head .badge{background:#eff2e7;color:#81936a;font-size:8px;letter-spacing:1px;padding:4px 7px}.entry-card h3{font-size:17px;letter-spacing:.5px;margin-bottom:10px;line-height:1.8;font-weight:500;color:#3a4b3a}.entry-card p{font-size:11px;line-height:2;color:#989d8e;margin-bottom:14px;letter-spacing:.2px}.photos{gap:8px}.photos img{height:150px;border-radius:6px;transition:filter .3s;filter:saturate(.83)}.photos img:hover{filter:saturate(1)}.entry-foot{border-top:1px solid #f0eee4;padding-top:12px;font-size:8px;color:#a6ad96;gap:5px}.entry-head .sample-badge{margin-left:auto;font-size:8px;color:#bec2b2}.side-card{border:1px solid #e8e7dc;border-radius:12px;background:#fffef8b3;padding:20px;margin-bottom:19px;box-shadow:0 5px 18px #34473203}.calendar-title{margin-bottom:22px}.calendar-title #calendar-month-title{font-family:"Noto Serif SC",serif;font-size:14px;letter-spacing:1px;color:#526747}.calendar-title button{font-size:17px;color:#a9b19c}.calendar{gap:9px 3px}.calendar .weekday{font-size:9px;color:#b2b7a6;margin-bottom:3px}.day{font-family:-apple-system,sans-serif;font-size:10px;color:#7e8b70;height:24px;width:24px}.day.current{background:#496745}.day.faint{color:#d0d4c5}.calendar-note{font-size:8px;margin-top:21px;letter-spacing:.3px}.weather-source{font-size:8px;color:#acb29e;margin-top:10px}.weather-source a{text-decoration:none;border-bottom:1px solid #dce1d0;padding-bottom:2px}.stats{padding-top:17px;margin-top:20px;border-color:#e9ebdf}.stats b{font-size:26px;color:#6d8055}.stats small{font-size:8px;letter-spacing:1px;margin-top:6px;color:#a4ad94}.demo-note{font-size:8px;line-height:1.9;color:#b0b5a3}.side-title{font:500 14px "Noto Serif SC",serif;letter-spacing:1px;margin-bottom:15px}.side-title small{font-size:7px;letter-spacing:1.4px;align-self:center}.memory-image{height:146px;border-radius:7px;filter:saturate(.7)}.memory-date{font-size:8px;letter-spacing:1px;color:#aab29d}.memory-title{font-size:13px;line-height:1.8;letter-spacing:1px}.memory-note{font-size:9px;color:#a0aa92;line-height:2}.quote-card{padding:4px 19px 0}.quote-mark{font-size:46px;color:#c0caae}.quote-card p{font-size:11px;line-height:2.2;letter-spacing:1px;color:#98a48a}.quote-card small{font-size:8px;letter-spacing:1px;margin-top:12px}.bottom-note{font:9px "Noto Serif SC",serif;letter-spacing:2px;color:#b5bba8;margin-top:36px}.record-directory{margin:0 0 23px;border-color:#e4e8d9;border-radius:12px;background:#fffef9}.record-directory summary{padding:21px 22px;color:#5f7650;font-family:"Noto Serif SC",serif;font-size:15px}.record-directory summary small{font-family:-apple-system,sans-serif;font-size:9px}.directory-body{padding:0 22px 22px}.directory-item{padding:16px 12px;border-bottom:1px solid #eff0e7;border-radius:7px}.directory-day{font-size:26px;color:#8a9d6c;min-width:33px}.directory-item strong{font-family:"Noto Serif SC",serif;font-size:13px;line-height:1.8;letter-spacing:.5px}.directory-item small{font-size:9px}.archive-tile{border:1px solid #e9e7db;box-shadow:0 4px 15px #384c3105;padding:11px 11px 15px}.archive-tile p{font:13px "Noto Serif SC",serif;margin:15px 4px 10px;line-height:1.8}.archive-tile small{font-size:8px;margin-left:4px;letter-spacing:1px}.archive-tile img{height:210px;filter:saturate(.8)}dialog{padding:30px;background:#fffef8;border-color:#e6e7d8;border-radius:15px}dialog h2{font-size:23px;letter-spacing:1px;line-height:1.7}dialog input,dialog textarea{border-color:#e5e8d9;background:#f5f6ed;font-size:12px;line-height:1.8;padding:12px 14px}dialog textarea{min-height:135px}.dialog-actions{margin-top:20px}.secondary{font-size:11px;color:#8f9c80;border-color:#e2e6d7}.entry-date-label{font-size:10px;letter-spacing:1px}.entry-date-label input{margin-top:8px}.upload-picker{padding:28px 15px;border-radius:9px;background:#f3f5ea;border-color:#c7d3b9}.toast{font-size:11px;background:#345c4b;box-shadow:0 8px 24px #345c4b25;padding:13px 25px}.empty-day{background:#f3f5e9;border-color:#dce4cf;color:#9aa98c;padding:40px 24px;font-size:11px}.empty-day button{font-size:11px;background:#e5edd9}
@media(min-width:1500px){.workspace{padding-left:280px;padding-right:60px}.grid{grid-template-columns:minmax(0,1fr) 288px;gap:30px}.hero{height:380px}.hero-copy h2{font-size:36px;max-width:560px}.photos img{height:180px}.side-card{padding:24px}.calendar{gap:11px 4px}}
@media(max-width:1100px){.sidebar{width:185px;padding:35px 18px}.workspace{padding:30px 28px 30px 213px}.grid{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.greeting{flex-wrap:wrap}.header-actions{margin-left:auto}.hero{height:320px}.hero-copy{left:25px;right:25px;bottom:25px}.hero-copy h2{font-size:25px;letter-spacing:2px}.side-card{padding:17px}.photos img{height:115px}.entry-card{padding:17px}.entry-card h3{font-size:15px}}
@media(max-width:820px){.sidebar{width:78px;padding:30px 10px}.logo{margin:0;justify-content:center}.workspace{padding:27px 27px 30px 105px}.grid{grid-template-columns:1fr}.right-column{gap:18px}.side-card{margin:0}.hero{height:350px}.hero-copy h2{font-size:30px;max-width:420px}.header-actions{margin:0}.greeting{justify-content:space-between}.greeting h1{font-size:31px}.photos img{height:155px}.entry-card{padding:20px}.entry-card h3{font-size:17px}.archive-tile img{height:165px}}
@media(max-width:540px){.sidebar{display:none}.workspace{padding:22px 20px 105px}.topbar{padding-bottom:17px}.breadcrumb{font:10px -apple-system,sans-serif;letter-spacing:1px;gap:5px}.tiny-leaf{font-size:20px}.breadcrumb-divider{margin:0 5px}.private{font-size:8px;gap:5px;letter-spacing:.3px}.private .icon{width:10px;height:10px}.greeting{margin:27px 0 23px;gap:19px}.greeting-eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:12px}.greeting h1{font-size:28px;letter-spacing:2px;margin-bottom:11px}.greeting p{font-size:9px;letter-spacing:.1px;line-height:1.9}.header-actions{width:100%;justify-content:flex-end;gap:8px}.greeting .header-actions .primary{padding:11px 15px;font-size:10px;border-radius:6px;letter-spacing:.5px}.header-actions .icon{width:14px;height:14px}.hero{height:328px;border-radius:12px}.hero-label{top:17px;right:17px;font-size:10px;padding:9px 12px;gap:6px;border-radius:8px}.hero-weather{font-size:9px}.hero-copy{left:23px;right:22px;bottom:26px}.hero-copy h2{font-size:27px;line-height:1.7;letter-spacing:3px;max-width:290px;margin:13px 0 14px}.hero-copy small{font-size:8px;letter-spacing:1.8px}.hero-copy p{font-size:7px;letter-spacing:.7px}.quote-line{width:17px}.date-toolbar{margin-top:23px;padding-bottom:12px}.date-toolbar input{font-size:10px;max-width:135px}.date-toolbar button{font-size:9px}.section-title{margin:23px 0 16px}.section-title h2{font-size:16px;letter-spacing:1px}.section-title h2 small{font-size:8px;margin-left:7px}.text-button{font-size:8px}.entry{grid-template-columns:31px 1fr;gap:13px;margin-bottom:17px}.time{font-size:9px;padding-top:22px}.time:after{right:-19px;top:20px;width:4px;height:4px;border-width:3px}.entry-card{padding:16px 14px;border-radius:9px}.entry-card:before{left:-9px;top:33px}.entry-head{font-size:8px;gap:7px;margin-bottom:10px}.entry-head .badge{font-size:7px;letter-spacing:.4px;padding:4px 5px}.entry-card h3{font-size:15px;line-height:1.9;letter-spacing:0;margin-bottom:8px}.entry-card p{font-size:10px;line-height:2.1;margin-bottom:12px}.entry-card p br{display:none}.photos{gap:5px}.photos img{height:91px;border-radius:4px}.entry-foot{font-size:7px;flex-wrap:wrap;gap:4px;line-height:1.8;padding-top:10px;margin-top:10px}.entry-foot .icon{width:10px;height:10px}.entry-head .sample-badge{font-size:7px}.right-column{display:none}.bottom-note{font-size:8px;letter-spacing:1px;line-height:2;margin-top:30px}.mobile-nav{background:#fafbf3ed;border-top:1px solid #e4e8d7;box-shadow:0 -4px 25px #364e3104;padding-top:13px}.mobile-nav button{font-size:8px;letter-spacing:1px;gap:6px;color:#a5ae95}.mobile-nav button.active{color:#3d633e}.mobile-nav button.active .icon{background:#e7eddb;box-sizing:content-box;padding:5px 10px;border-radius:20px;margin-top:-5px;margin-bottom:-5px}.mobile-nav .icon{width:18px;height:18px}.record-directory{margin-bottom:20px}.record-directory summary{font-size:14px;padding:19px 16px}.directory-body{padding:0 12px 16px}.directory-item{padding:14px 9px;gap:10px}.directory-item strong{font-size:12px}.directory-day{font-size:24px}.archive-tiles{gap:11px}.archive-tile{padding:8px 8px 12px;border-radius:8px}.archive-tile img{height:153px;border-radius:4px}.archive-tile p{font-size:11px;margin:10px 2px 7px}.archive-tile small{font-size:7px;letter-spacing:.3px;margin-left:2px}dialog{padding:24px;width:calc(100vw - 36px)}dialog h2{font-size:21px}#upload-editor textarea{min-height:85px}.uploaded-photos img:only-child{height:180px}.toast{font-size:10px;padding:12px 18px;max-width:92vw;white-space:normal;text-align:center;line-height:1.8}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.chat-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0 18px;border-top:1px solid #e7e9dd;font-size:10px;color:#819275;letter-spacing:.5px}.chat-intro>span{display:flex;align-items:center;gap:7px}.companion-dot{width:5px;height:5px;border-radius:50%;background:#96ad7d;box-shadow:0 0 0 3px #e9efdf}.chat-intro small{font-size:8px;color:#b0b7a3}.chat-messages{padding:0 0 4px}.conversation{margin-bottom:27px}.chat-time{display:flex;align-items:center;justify-content:center;gap:13px;font:10px Georgia,serif;color:#a9b19e;letter-spacing:1px;margin:4px 0 22px}.chat-time:before,.chat-time:after{content:"";height:1px;width:22px;background:#e4e8db}.chat-row{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px}.chat-user{flex-direction:row-reverse}.chat-avatar{width:31px;height:31px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;margin-top:23px;font-size:10px}.user-chat-avatar{background:#dce6ce;color:#627651;border:1px solid #cddabf;font-family:"Noto Serif SC",serif}.ai-chat-avatar{background:#fafbf3;color:#829369;font-size:24px;border:1px solid #e0e5d6}.chat-content{max-width:85%;min-width:0}.chat-name{font-size:9px;color:#a3ad96;margin-bottom:8px;display:flex;align-items:center;gap:8px;letter-spacing:.5px}.chat-user .chat-name{justify-content:flex-end}.chat-bubble{padding:18px 21px;border:1px solid #e6e9da;box-shadow:0 4px 14px #32492d03}.user-bubble{background:#e8eedc;border-color:#dce4cc;border-radius:13px 3px 13px 13px;color:#465c3d}.ai-bubble{background:#fffef9;border-radius:3px 13px 13px 13px;color:#7b8970}.chat-bubble h3{font:500 16px/1.9 "Noto Serif SC",serif;letter-spacing:.4px;margin:0 0 8px;overflow-wrap:anywhere}.chat-bubble h3:last-child{margin-bottom:0}.chat-bubble p{font-size:11px;line-height:2.1;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.user-bubble p{color:#7f8f70}.ai-bubble p{color:#87927c;font-size:11px}.ai-demo-label{font-size:7px;color:#b2bba4;background:#eff2e7;padding:3px 5px;border-radius:4px;letter-spacing:0}.chat-bubble .photos{margin-top:15px;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.chat-bubble .photos img{height:130px;width:100%;min-width:0}.chat-bubble .photos img:only-child{grid-column:span 3;height:230px}.chat-composer{border:1px solid #dfe6d2;background:#fffef9;border-radius:12px;padding:16px 18px 12px;box-shadow:0 6px 20px #34532a04;transition:border-color .2s}.chat-composer:focus-within{border-color:#a5b892}.chat-composer textarea{display:block;width:100%;border:0;outline:0;resize:vertical;min-height:65px;max-height:230px;background:transparent;font-family:inherit;font-size:12px;line-height:1.9;color:#53684a}.chat-composer textarea::placeholder{color:#b2b9a5;font-size:11px}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px}.composer-photo{display:flex;align-items:center;gap:7px;background:none;border:0;padding:5px 0;font-size:9px;color:#99a68a}.composer-photo .icon{width:16px;height:16px}.chat-send{display:flex;align-items:center;gap:13px;border:0;background:#3c604b;color:#f8faef;font-size:10px;padding:10px 13px;border-radius:7px}.chat-send span{font-size:15px;line-height:1}.chat-send:hover{background:#2a4c39}.chat-local-note{font-size:8px;text-align:center;color:#b2bba4;letter-spacing:.4px;line-height:1.8;margin:12px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.chat-content{max-width:86%}.chat-row{gap:9px}.chat-bubble{padding:15px 17px}.chat-bubble .photos img{height:95px}.chat-bubble h3{font-size:15px}}
@media(max-width:540px){.chat-intro{padding:13px 0 17px;font-size:9px;letter-spacing:0}.chat-intro small{font-size:7px}.chat-time{font-size:9px;margin:2px 0 18px}.chat-row{gap:8px;margin-bottom:18px}.chat-avatar{width:26px;height:26px;border-radius:9px;margin-top:22px;font-size:9px}.ai-chat-avatar{font-size:21px}.chat-content{max-width:calc(100% - 44px)}.chat-name{font-size:8px;margin-bottom:7px;letter-spacing:.2px;gap:6px}.chat-bubble{padding:14px 15px}.chat-bubble h3{font-size:14px;line-height:1.9;letter-spacing:0;margin-bottom:7px}.chat-bubble p,.ai-bubble p{font-size:11px;line-height:2}.chat-bubble .photos{gap:4px;margin-top:12px}.chat-bubble .photos img{height:78px;border-radius:4px}.chat-bubble .photos img:only-child{height:180px}.ai-demo-label{font-size:7px;padding:2px 4px}.conversation{margin-bottom:23px}.chat-composer{padding:14px 15px 11px;border-radius:10px}.chat-composer textarea{font-size:12px;min-height:63px}.composer-photo{font-size:8px;gap:5px}.chat-send{font-size:9px;padding:9px 12px;gap:11px}.chat-local-note{font-size:7px;letter-spacing:0;margin-top:11px}}

.header-actions{gap:12px}.header-actions .primary{min-height:50px;padding:15px 24px;font-size:14px;gap:10px;border-radius:9px;white-space:nowrap}.header-actions .primary .icon{width:20px;height:20px}
@media(max-width:540px){.greeting .header-actions{gap:10px}.greeting .header-actions .primary{min-height:48px;padding:14px 20px;font-size:13px;gap:8px;border-radius:8px}.greeting .header-actions .primary .icon{width:18px;height:18px}}
@media(max-width:360px){.greeting .header-actions .primary{padding:13px 16px;font-size:12px}}

.header-actions{gap:16px}.header-actions .primary{min-height:64px;padding:19px 32px;font-size:18px;gap:12px;border-radius:12px}.header-actions .primary .icon{width:25px;height:25px}
@media(max-width:540px){.greeting .header-actions{gap:12px;justify-content:stretch}.greeting .header-actions .primary{flex:1;justify-content:center;min-height:60px;padding:17px 14px;font-size:16px;gap:9px;border-radius:10px}.greeting .header-actions .primary .icon{width:23px;height:23px}}
@media(max-width:360px){.greeting .header-actions .primary{padding:16px 10px;font-size:14px}.greeting .header-actions .primary .icon{width:21px;height:21px}}

.summary-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 20px;padding:0 0 15px;border-bottom:1px solid #e1e7d7}.summary-intro>span{font-size:11px;letter-spacing:1px;color:#879779}.summary-intro small{font-size:8px;color:#a9b59b;border:1px solid #dfe7d4;border-radius:20px;padding:5px 9px;background:#eff3e7}.summary-card{position:relative;border:1px solid #e6e8da;background:#fffef9;border-radius:13px;padding:23px 25px 18px;margin-bottom:16px;box-shadow:0 5px 18px #30472c03}.summary-card:first-of-type{background:linear-gradient(120deg,#e9efdd,#f4f5ea);border-color:#dae4cd}.summary-card-top{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:1.5px;color:#98a585;margin-bottom:13px}.summary-number{font:italic 22px Georgia,serif;color:#9aae83;letter-spacing:0}.summary-card h3{font:500 19px/1.8 "Noto Serif SC",serif;letter-spacing:.5px;color:#496340;margin:0 0 12px}.summary-card p{font-size:12px;line-height:2.1;letter-spacing:.2px;color:#8b987e;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.summary-card-footer{font-size:8px;letter-spacing:.6px;color:#aab49c;border-top:1px solid #e9eddf;padding-top:12px;margin-top:20px}.summary-source-note{font-size:8px;line-height:1.9;color:#b1bba3;text-align:center;margin:20px 0 0}
@media(max-width:540px){.summary-intro{margin:0 0 16px;padding-bottom:13px}.summary-intro>span{font-size:9px;letter-spacing:.3px}.summary-intro small{font-size:7px;padding:4px 7px}.summary-card{padding:19px 19px 16px;border-radius:11px;margin-bottom:13px}.summary-card h3{font-size:17px;line-height:1.9;margin-bottom:10px}.summary-card p{font-size:11px;line-height:2.15}.summary-card-top{font-size:8px;margin-bottom:10px}.summary-number{font-size:21px}.summary-card-footer{font-size:7px;margin-top:16px;padding-top:11px}.summary-source-note{font-size:7px}}

.journal-entry{background:#fffef9;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px}.journal-entry h3{font:500 19px/1.6 "Noto Serif SC",serif;margin:12px 0}.journal-entry p{white-space:pre-wrap;font-size:12px;line-height:2;color:#687663}.journal-entry .entry-head{justify-content:space-between}.journal-entry .photos{margin:14px 0}.journal-entry .photos img{height:150px}.journal-ai{background:#eef2e8;padding:17px;border-radius:9px;margin-top:18px}.journal-ai h4{font-size:11px;letter-spacing:1px;color:#55714d;margin:0 0 9px}.journal-ai ol{padding-left:19px;font-size:12px;line-height:2;color:#687663}.journal-ai p{margin:0 0 12px}.journal-status{font-size:11px;color:#879274}.journal-error{color:#ad6546!important}.journal-footer{display:flex;gap:12px;margin-top:12px;align-items:center}.journal-footer a{color:#6b825d;font-size:10px}.journal-entry .photos img:only-child{grid-column:span 3;height:240px}.private{white-space:nowrap}#login-dialog{max-width:400px}#login-dialog label{display:block;font-size:12px;margin-bottom:8px}#login-dialog .primary{width:100%;justify-content:center}.uploading #cancel-upload{opacity:.5}#page-status{color:#9a6546;font-size:12px;text-align:center;padding:10px}.archive-tile img{cursor:zoom-in}.date-toolbar a{font-size:10px;color:#728265}#upload-editor,#camera-dialog{max-height:90svh;overflow:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:540px){.journal-entry{padding:16px}.journal-entry .photos img{height:100px}.journal-entry .photos img:only-child{height:210px}.private{display:none}.topbar #logout{font-size:10px}.journal-ai{padding:14px}.chat-composer textarea{font-size:16px}dialog input,dialog textarea{font-size:16px}}

.swipe-entry{position:relative;overflow:hidden;border-radius:12px;margin-bottom:18px;background:var(--white)}
.swipe-entry>.journal-entry{position:relative;z-index:1;margin-bottom:0;touch-action:pan-y;transition:transform .2s ease;background:#fffef9}
.swipe-entry>.journal-entry.swiping{transition:none;user-select:none}
.swipe-delete{position:absolute;inset:0 0 0 auto;width:88px;border:0;background:#b4453e;color:white;font-weight:600;visibility:hidden}
.swipe-open>.swipe-delete,.swipe-entry:has(.swiping)>.swipe-delete{visibility:visible}
.entry-head .entry-delete{margin-left:auto;color:#a44941;flex-shrink:0}
.entry-head{gap:12px}
.danger-button{border:0;border-radius:8px;background:#b4453e;color:white;padding:13px 20px;cursor:pointer}
.danger-button:disabled{opacity:.6;cursor:wait}
#delete-dialog{max-width:420px;width:calc(100% - 32px)}
#delete-title{font-weight:600;overflow-wrap:anywhere}
#delete-description{color:#687663;line-height:1.9}
@media(prefers-reduced-motion:reduce){.swipe-entry>.journal-entry{transition:none}}

.companion-panel{padding:22px;border:1px solid var(--line);border-radius:13px;background:var(--white);margin:0 0 26px}.companion-panel .section-title{margin:0 0 16px}.companion-panel .section-title small{font-size:11px;color:#899580}#companion-turns{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.companion-empty{color:#879274;font-size:12px}.companion-turn{padding:10px 0;border-bottom:1px solid var(--line)}.companion-turn p{white-space:pre-wrap;line-height:1.9;font-size:13px;overflow-wrap:anywhere}.companion-turn small{color:#899580;font-size:10px}.companion-user{margin-left:14%;padding:12px 16px;border-radius:10px;background:#e8eedc}.companion-answer{margin:12px 10% 12px 0;padding:12px 16px;background:#f3f5ee;border-radius:10px}.companion-turn .photos img{height:100px}.companion-panel textarea{width:100%;resize:vertical;border:1px solid var(--line);border-radius:9px;background:#fafbf6;padding:12px;font:inherit;margin-top:16px;min-height:70px}.companion-actions{display:flex;gap:10px;align-items:center;margin-top:12px}.companion-actions .primary{margin-left:auto}#companion-status{font-size:11px;color:#75826c;line-height:1.8}.insights-panel{background:var(--white);border:1px solid var(--line);border-radius:11px;padding:17px;margin:18px 0}.insights-panel summary{cursor:pointer;font-size:13px;line-height:1.8}.insights-panel>details>summary{font-weight:600}#insight-status{float:right;font-size:10px;color:#879274}.insight-report{padding:12px 0;border-top:1px solid var(--line);margin-top:12px}.insight-meta{font-size:10px;color:#899580}.report-text{white-space:pre-wrap;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.wallpaper-credit{position:absolute;right:10px;bottom:7px;z-index:2;color:#fff;background:#162a2266;font-size:8px;max-width:80%;padding:4px 7px;border-radius:5px;text-decoration:none}.hero-copy{right:25px;bottom:35px}.hero-copy h2{font-size:19px!important;line-height:1.75!important;letter-spacing:.5px!important;max-width:none!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.hero:after{background:linear-gradient(0deg,#10261dd9,transparent 100%)}.swipe-entry>.journal-entry{touch-action:pan-y pinch-zoom}.swipe-delete{z-index:0;pointer-events:auto}
@media(max-width:540px){.companion-panel{padding:16px}.companion-panel .section-title{gap:10px}.companion-panel .section-title h2{font-size:15px}.companion-panel .section-title small{font-size:9px}.companion-panel textarea{font-size:16px}.companion-actions{gap:7px}.companion-actions button{font-size:12px;padding:11px 12px}.companion-user{margin-left:5%}.companion-answer{margin-right:5%}.hero-copy h2{font-size:18px!important}.hero-copy p{line-height:1.8}}

/* Keep the four navigation tabs anchored to the viewport on phones and narrow tablets. */
@media(max-width:820px){
 .sidebar{display:none}
 .workspace{padding-left:20px;padding-right:20px;padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}
 .mobile-nav{display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;margin:0;z-index:30;justify-content:space-around;align-items:center;gap:0;background:#fafbf3f5;border-top:1px solid #e4e8d7;padding:12px 10px calc(12px + env(safe-area-inset-bottom,0px));box-shadow:0 -4px 25px #364e3108}
 .mobile-nav button{flex:1;min-width:0;min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:3px 5px;background:transparent;border:0;font-size:10px;color:#8b987d}
 .mobile-nav button.active{color:#3d633e}
 .mobile-nav .icon{width:20px;height:20px}
 .toast{bottom:calc(92px + env(safe-area-inset-bottom,0px))}
}

#companion-form{border:1px solid #dfe6d2;border-radius:14px;background:#fafbf6;padding:13px 14px 10px;transition:border-color .2s}
#companion-form:focus-within{border-color:#a5b892}
#companion-form textarea{border:0;background:transparent;border-radius:0;padding:3px 2px;margin:0;outline:none;min-height:68px}
#companion-form .companion-actions{gap:6px;margin-top:8px}
#companion-form .companion-actions .secondary{width:40px;height:40px;padding:8px;display:grid;place-items:center;border:0;border-radius:9px;color:#7c8e70;background:transparent}
#companion-form .companion-actions .secondary:hover{background:#e9efdf;color:#3e624c}
#companion-form .companion-actions .icon{width:22px;height:22px}
#companion-form #companion-send{display:grid;place-items:center;margin-left:auto;width:40px;height:40px;min-height:40px;padding:9px;border-radius:50%}
#companion-form #companion-send .icon{width:22px;height:22px;stroke-width:2}
#companion-form #companion-status:empty{display:none}
#companion-form #companion-status{margin:8px 2px 2px}
#companion-form #companion-previews:empty{display:none}
#companion-form button:disabled{opacity:.5;cursor:wait}

.bank-mail-panel{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:20px;margin:18px 0 24px}.bank-mail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.bank-mail-heading h2{font-size:15px;font-weight:500;margin:0}.bank-mail-heading small{font-size:11px;color:#859479}.bank-mail-panel>p{font-size:11px;color:#7e8c72;line-height:1.9}.bank-mail-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:10px;color:#97a08d;margin:12px 0}.bank-mail-toolbar a{color:#63825a}.bank-mail-item{padding:14px 0;border-top:1px solid var(--line)}.bank-mail-item summary{font-size:13px;line-height:1.8;cursor:pointer;overflow-wrap:anywhere}.bank-mail-meta{font-size:10px;color:#97a08d;overflow-wrap:anywhere;line-height:1.8}.bank-mail-body{background:#f3f5ee;padding:14px;border-radius:9px;margin-top:12px}.bank-mail-body>p{white-space:pre-wrap;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.bank-mail-notice{color:#9b744e}.bank-mail-empty{font-size:12px;line-height:1.9;color:#97a08d}#bank-mail-more{margin-top:12px}

.hero-copy #daily-quote{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-size:16px!important;font-weight:500;line-height:1.65!important;letter-spacing:.2px!important;display:block;overflow:visible;white-space:normal;overflow-wrap:anywhere;margin:10px 0;max-width:520px!important;-webkit-line-clamp:unset}
.hero-copy #hero-advice-caption{font-size:9px;line-height:1.6}
.journal-entry .entry-head{justify-content:flex-start;gap:12px;flex-wrap:wrap;align-items:center;margin:0 0 14px}
.journal-entry .moment-time{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:#e8efe2;color:#345c4b;font-size:23px;font-weight:700;line-height:1;letter-spacing:.5px;font-variant-numeric:tabular-nums}
.moment-time:before{content:"";width:7px;height:7px;flex-shrink:0;background:#729264;border-radius:50%}
.journal-entry .entry-head .badge{font-size:10px}
@media(max-width:540px){.hero-copy #daily-quote{font-size:15px!important;line-height:1.7!important}.journal-entry .moment-time{font-size:21px;padding:8px 10px}.journal-entry .entry-head{gap:9px}}

#today-view.grid{grid-template-columns:minmax(0,1fr)}
.expenses-section{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:20px;margin:0 0 24px}.spend-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}.spend-summary small{display:block;font-size:11px;color:#87947e;margin-bottom:10px}.spend-summary strong{font-size:22px;font-weight:600;color:#345c4b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.expense-heading{display:flex;align-items:center;gap:12px;margin-top:20px}.expense-heading h3{font-size:15px;margin:0}.expense-heading>span{font-weight:600;color:#345c4b}.expense-heading button{margin-left:auto}.expense-basis{font-size:10px;color:#96a18d;line-height:1.8;margin:10px 0 16px}.expense-grid{display:grid;grid-template-columns:88px minmax(0,1fr) 110px 110px;gap:12px;align-items:start}.expense-labels{color:#98a28f;font-size:10px;padding:0 12px 10px}.expense-labels span:nth-last-child(-n+2){text-align:right}.expense-swipe{position:relative;overflow:hidden;background:#a84a42;border-radius:9px;margin-bottom:10px}.expense-body{position:relative;background:#f8faf3;padding:14px 12px;z-index:1;touch-action:pan-y pinch-zoom;transition:transform .2s}.expense-moving{transition:none}.expense-time{font-size:15px;font-weight:700;color:#345c4b;white-space:nowrap;font-variant-numeric:tabular-nums}.expense-purpose{font-size:12px;color:#5c7054;line-height:1.8;overflow-wrap:anywhere}.expense-amount,.expense-balance{font-size:13px;text-align:right;line-height:1.8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.expense-amount{color:#8e664b}.expense-balance{color:#718269}.expense-foot{display:flex;align-items:center;gap:10px;margin:5px 0}.expense-foot small{font-size:9px;color:#9ba58f;margin-right:auto}.expense-advice{font-size:11px;color:#809075;line-height:1.9;margin:6px 0 0}.expense-advice p{margin:3px 0}.expense-hide{position:absolute;right:0;top:0;bottom:0;width:72px;border:0;color:#fff;background:#a84a42;visibility:hidden}.expense-open .expense-hide,.expense-swipe:has(.expense-moving) .expense-hide{visibility:visible}.expense-is-hidden{opacity:.65}.expense-empty,#expense-error{font-size:12px;color:#8c9b7e;line-height:1.9;padding:12px}.weather-source{display:block;font-size:9px;color:#98a28f;margin:8px 3px 18px}
@media(max-width:540px){.expenses-section{padding:15px 10px}.spend-summary{gap:8px}.spend-summary strong{font-size:17px}.spend-summary small{font-size:10px}.expense-grid{grid-template-columns:57px minmax(0,1fr) 68px 75px;gap:5px}.expense-time{font-size:11px;line-height:2}.expense-purpose{font-size:10px}.expense-amount,.expense-balance{font-size:11px}.expense-body{padding:10px 7px}.expense-labels{padding-left:7px;padding-right:7px;font-size:9px}.expense-basis{font-size:9px}.expense-heading{gap:8px}.expense-heading h3{font-size:14px}.expense-heading>span{font-size:12px}}

.journal-entry .sleep-window{font-size:18px;line-height:1.4;flex-wrap:wrap}
@media(max-width:540px){.journal-entry .sleep-window{font-size:16px}}

.spend-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.spend-summary small span{font-size:9px;font-weight:400;color:#a0a891}
@media(max-width:650px){.spend-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.spend-summary strong{font-size:20px}}

.global-date-toolbar{margin:18px 0 0;padding:12px 16px;background:#fffef9;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.global-date-toolbar input{font-size:14px;padding:6px 8px;max-width:180px;border:1px solid var(--line);border-radius:7px;background:#f5f7ee;color:#345c4b}.global-date-toolbar button{font-size:12px;padding:8px;background:transparent;border:0;color:#6c825e}
@media(max-width:540px){.global-date-toolbar{padding:10px 8px;gap:5px}.global-date-toolbar input{font-size:13px;max-width:150px}.global-date-toolbar button{font-size:11px;padding:6px}}

.greeting .header-actions{margin-left:auto;justify-content:flex-end}.task-panel{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:19px;margin:24px 0}.task-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.task-heading h2{font-size:15px;font-weight:500;margin:0}.task-heading small{font-size:10px;color:#90a080}.task-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:12px 0}.task-copy{min-width:0}.task-copy p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.task-copy small{display:block;font-size:10px;color:#7d9671;margin-top:4px}.task-check{width:26px;height:26px;flex:0 0 26px;border:1.5px solid #9bb18c;border-radius:50%;background:transparent;color:white;font-size:17px;line-height:1}.task-done .task-check{background:#52794e;border-color:#52794e}.task-done .task-copy p{color:#9da891;text-decoration:line-through}.task-empty,#task-error{font-size:11px;color:#94a389;line-height:1.9}#task-dialog textarea{min-height:95px}
@media(max-width:540px){.greeting .header-actions{width:100%;justify-content:flex-end;gap:8px}.greeting .header-actions .primary{flex:0 1 auto;min-height:46px;padding:11px 10px;font-size:12px;gap:6px}.greeting .header-actions .primary .icon{width:17px;height:17px}.task-panel{padding:16px}}

.spend-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.spend-summary em{display:block;font-size:9px;font-style:normal;color:#98a58d;margin-top:7px;line-height:1.8}
@media(max-width:850px){.spend-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.spend-summary strong{font-size:19px}}
@media(max-width:540px){.spend-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.spend-summary>div:last-child{grid-column:span 2}}

/* Compact journal and finance panels */
.moments-panel{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:20px;margin-bottom:24px}.moments-panel>.section-title{margin:0 0 18px}.moments-panel .journal-entry{border:0;background:var(--white);padding:16px 0}.moments-panel .swipe-entry{border-bottom:1px solid var(--line);border-radius:0}.moments-panel .swipe-entry:last-child{border-bottom:0}.expenses-section>.expense-heading{margin:0 0 20px}.spend-summary{margin-bottom:20px}.greeting #greeting-subtitle{line-height:2;letter-spacing:0}.bank-mail-panel[hidden]{display:none!important}
@media(max-width:540px){.moments-panel{padding:15px}.expense-grid{grid-template-columns:65px minmax(0,1fr) 68px 75px}}

.expense-income{color:#345c4b}.expense-amount{white-space:nowrap}
@media(max-width:540px){.expense-grid{grid-template-columns:61px minmax(0,1fr) 80px 77px;gap:4px}.expense-amount,.expense-balance{font-size:10px}}


/* One permanent paper palette, with a botanical wash behind solid cards. */
:root{--paper:#f5f2e9;--white:#fffef9;--ink:#293f34;--muted:#6a7966;--line:#dfe5d7;--green:#345e49;--card-gap:22px}
html{background:#f5f2e9;color-scheme:light}
body{min-height:100vh;background:radial-gradient(ellipse at 94% 6%,#cdddc2 0,transparent 42%),radial-gradient(ellipse at 8% 58%,#eddbbf 0,transparent 42%),linear-gradient(135deg,#f7f2e8,#eef3e6 65%,#f6efe0);background-attachment:fixed;color:var(--ink)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(#63745418 .6px,transparent .6px);background-size:6px 6px}
.sidebar{background:#edf0e3;border-right:1px solid #d8e0ce}
.workspace{max-width:1540px;padding-top:40px}
.greeting{display:flex;flex-direction:column;align-items:stretch;gap:22px;margin:0 0 var(--card-gap)}
.greeting-main{display:block;width:100%}
.greeting h1{font-size:clamp(26px,3vw,38px);color:#2d4434;line-height:1.6}
.greeting #greeting-subtitle,.greeting #daily-motto-source{font-size:13px;color:#67765f;line-height:1.9}
.greeting>.hero{width:100%;position:relative;height:330px;border-radius:22px;overflow:hidden;margin:0;box-shadow:0 16px 38px #364c3020}
.hero>img{display:block;width:100%;height:100%;object-fit:cover}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#142b20db,transparent 86%);pointer-events:none}
.hero .hero-label{color:#fff;background:#29432f;border:0;box-shadow:none;z-index:2;display:flex}
.hero .hero-copy{position:absolute;left:26px;right:26px;bottom:36px;padding:0;z-index:2}
.hero .hero-copy :is(h2,p,small){color:#fff}
.hero .hero-copy #daily-quote{font-family:'Noto Serif SC','Songti SC',serif;font-size:22px!important;line-height:1.8!important;font-weight:500;max-width:760px!important;margin:10px 0}
.hero .wallpaper-credit{z-index:3;background:#253d2e;color:#eef3e8;max-width:90%;font-size:10px;line-height:1.5}
.greeting>.header-actions{width:100%;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0}
.greeting>.header-actions .primary{flex:0 0 auto;display:flex;justify-content:center;align-items:center;min-height:48px;padding:12px 20px;font-size:14px;border-radius:12px;gap:8px}
.greeting>.header-actions .icon{width:19px;height:19px}
#new-task{background:#e2ead5;color:#355b40;border:1px solid #c5d4b8;box-shadow:none}
#new-task:hover{background:#d4e1c4}
#today-view{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--card-gap)}
#today-view>.left-column,#timeline{display:flex;flex-direction:column;gap:var(--card-gap);min-width:0}
#today-view :is(.task-panel,.expenses-section,.moments-panel,.record-directory,.today-footer){margin:0}
.task-panel,.expenses-section,.moments-panel,.companion-panel,.record-directory,.global-date-toolbar{border-radius:20px;border:1px solid var(--line);box-shadow:0 8px 28px #3c54300a;background:#fffef9;padding:24px}
#task-panel{background:linear-gradient(125deg,#e5eed8,#f0f5e7);border-color:#cbdab9}
.task-heading h2{font-size:18px;font-weight:600;color:#355736}
.task-heading small,.task-empty,#task-error{color:#5b7350;font-size:13px}
.task-row{border-color:#d4e0c7}.task-copy p{font-size:15px;color:#344c30}.task-done .task-copy p{color:#74866b}
.expense-heading{flex-wrap:wrap;gap:10px 14px;margin:0 0 22px!important}
.expense-heading h3{font-size:19px;font-weight:600;color:#304633;letter-spacing:1px}
#spend-day{display:inline-block;color:#244f35;font-size:27px;font-weight:750;opacity:1;font-variant-numeric:tabular-nums;background:#eaf1e1;border:1px solid #d5e2c7;border-radius:10px;padding:7px 13px;line-height:1.2}
#expense-hidden{font-size:12px;color:#5f7355;letter-spacing:0}
.spend-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0 0 22px;margin-bottom:20px;border-bottom:1px solid #dfe5d7}
.spend-summary>div{min-width:0;padding:17px 13px;background:#f0f3e9;border:1px solid #e0e7d7;border-radius:12px;display:flex;flex-direction:column;justify-content:flex-start;gap:10px}
.spend-summary small{font-size:12px;color:#5e7157;line-height:1.6;margin:0;display:block}
.spend-summary small span{font-size:10px;color:#697b61}
.spend-summary strong{display:block;color:#2d5039;font-size:clamp(17px,1.9vw,25px);line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.spend-summary em{color:#69795f;font-size:10px;line-height:1.7;margin:0}
.month-spend-trigger{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;gap:10px;white-space:normal;padding:0;color:inherit;background:none;border:0;text-align:left}
.month-spend-trigger>span{position:absolute;right:0;top:0;color:#63795a;font-size:20px}
.expense-column-labels,.expense-grid{display:grid;grid-template-columns:84px minmax(100px,1fr) minmax(120px,.7fr) minmax(120px,.7fr);align-items:baseline;gap:14px}
.expense-column-labels{padding:12px 14px;background:#edf2e5;border-radius:10px;color:#5d7354;font-size:12px;margin-bottom:6px}
.expense-column-labels span:nth-last-child(-n+2){text-align:right}
.expense-swipe{margin:0;background:#a84a42;border-radius:0;border-bottom:1px solid #e3e8dc}
.expense-body{background:#fffef9;padding:17px 14px}
.expense-time{font-size:13px;color:#63745d;font-weight:500;line-height:1.8}
.expense-purpose{font-size:14px;color:#354c30;line-height:1.8}
.expense-amount{font-size:16px;color:#875a3f;white-space:normal;text-align:right;line-height:1.8}
.expense-balance{font-size:15px;color:#435d3d;text-align:right;line-height:1.8}
.expense-income{color:#316e43}
.expense-empty,#expense-error{font-size:13px;color:#65775b}
.journal-entry p,.journal-ai ol{font-size:14px;color:#53664b}.journal-footer{flex-wrap:wrap}
.today-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 20px}
.today-footer .breadcrumb{font-size:13px;white-space:nowrap;color:#63765a}
.date-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px}
.today-footer .date-navigation input{width:140px;max-width:140px;font-size:14px;color:#3a5a39}
.today-footer[hidden]{display:none!important}
#about-view #logout{margin-top:20px;background:#edf2e4;color:#43603e;border:1px solid #d9e3cd;border-radius:10px;padding:12px 20px}
dialog{background:#fffef8;color:#293f34;border-color:#dfe5d5;box-shadow:0 18px 80px #24382c26}
dialog::backdrop{background:#26382b66}
.mobile-nav{background:#edf1e5;border-top:1px solid #d5dfc9}
@media(max-width:1100px){.spend-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.expense-column-labels,.expense-grid{grid-template-columns:75px minmax(100px,1fr) minmax(100px,.7fr) minmax(100px,.7fr);gap:10px}}
@media(max-width:820px){.workspace{padding:26px 18px calc(110px + env(safe-area-inset-bottom,0px))}.sidebar{display:none}.mobile-nav{background:#edf1e5}.spend-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){:root{--card-gap:16px}.workspace{padding-top:22px}.greeting{gap:16px}.greeting h1{font-size:27px;letter-spacing:1px}.greeting>.hero{height:300px;border-radius:18px}.hero .hero-copy{left:18px;right:18px;bottom:40px}.hero .hero-copy #daily-quote{font-size:19px!important}.hero .hero-copy small{font-size:10px}.hero .hero-label{top:14px;right:14px;padding:8px 10px;font-size:10px}.greeting>.header-actions{gap:8px}.greeting>.header-actions .primary{flex:0 0 auto;min-height:44px;padding:11px 12px;font-size:13px;gap:6px;border-radius:10px}.greeting>.header-actions .icon{width:17px;height:17px}.task-panel,.expenses-section,.moments-panel,.companion-panel{padding:18px 14px;border-radius:16px}.spend-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.spend-summary>div{padding:14px 12px}.spend-summary>div:last-child{grid-column:span 2}.spend-summary strong{font-size:23px}.expense-heading{gap:10px}.expense-heading h3{font-size:17px}#spend-day{font-size:23px}#expense-hidden{margin-left:auto;font-size:11px}.expense-column-labels{display:none}.expense-grid{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px}.expense-body{padding:16px 4px}.expense-time{grid-column:1;grid-row:1;font-size:12px}.expense-purpose{grid-column:1;grid-row:2;min-width:0;font-size:14px}.expense-amount{grid-column:2;grid-row:1;font-size:16px;white-space:nowrap}.expense-balance{grid-column:2;grid-row:2;font-size:12px;white-space:nowrap}.expense-balance:before{content:'余额 ';color:#728067;font-size:11px}.today-footer{justify-content:center;padding:14px 10px}.today-footer .date-navigation{width:100%}.task-copy p{font-size:14px}.journal-entry .photos img:only-child{height:210px}}

/* Daily Bing scenery under a light paper wash and layered bamboo. */
body{background-color:#f7f4eb;background-image:url('/bamboo-pattern.svg'),url('/bamboo-mirror.svg'),url('/bamboo-pattern.svg'),url('/bamboo-mirror.svg'),linear-gradient(135deg,rgba(248,246,236,.82),rgba(239,244,231,.86)),var(--page-wallpaper,url('/api/wallpaper'));background-size:330px 675px,420px 860px,260px 532px,250px 511px,auto,cover;background-position:right -60px top -140px,left 130px bottom -340px,right -35px bottom -160px,left 215px top 240px,center,center;background-repeat:no-repeat;background-attachment:fixed}
.sidebar{background-image:url('/bamboo-pattern.svg'),url('/bamboo-mirror.svg');background-size:260px auto,205px auto;background-position:left -76px bottom -25px,right -90px top -155px;background-repeat:no-repeat}
@media(max-width:820px){body{background-size:240px 490px,280px 573px,200px 409px,190px 389px,auto,cover;background-position:right -75px top -70px,left -90px bottom -190px,right -85px bottom -95px,left -100px top 240px,center,center}}

/* Finance summary: three rows, two columns in reading order. */
.spend-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:0;padding-bottom:0;border-bottom:0}
.spend-summary>div:last-child{grid-column:auto}
.spend-summary>div{padding:18px;gap:8px}
.spend-summary strong,.spend-summary #spend-day{display:block;font-size:25px;font-weight:650;line-height:1.4;color:#2d5039;background:none;border:0;border-radius:0;padding:0}
.spend-summary em[hidden],.expense-column-labels[hidden]{display:none}
.expense-column-labels:not([hidden]){margin-top:22px}
#expense-error:empty{display:none}
@media(max-width:540px){.spend-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.spend-summary>div{padding:14px 12px}.spend-summary>div:last-child{grid-column:auto}.spend-summary strong,.spend-summary #spend-day{font-size:23px}.expense-column-labels:not([hidden]){display:none}}

/* Visible pull-to-refresh feedback, including standalone iPhone web apps. */
html,body{overscroll-behavior-y:none}
.pull-refresh{position:fixed;z-index:1000;top:calc(env(safe-area-inset-top,0px) + 8px);left:50%;display:flex;align-items:center;gap:9px;max-width:calc(100vw - 32px);padding:11px 18px;background:#fffef9;color:#345e47;border:1px solid #d8e3cd;border-radius:24px;box-shadow:0 6px 22px #294a3620;font-size:13px;line-height:1.5;pointer-events:none;opacity:0;transform:translate(-50%,-80px);transition:opacity .14s,transform .14s}
.pull-refresh.visible{opacity:1;transform:translate(-50%,var(--pull-distance,18px))}
.pull-refresh:before{content:'↓';font-size:17px;line-height:1}
.pull-refresh.refreshing:before{content:'↻';animation:pull-refresh-spin 1s linear infinite}
@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pull-refresh{transition:none}.pull-refresh.refreshing:before{animation:none}}

/* 一日 · 晨光竹叶图标 */
.logo-mark{background:#f5f3e9 url("/icon-192.png?v=yiri-glass-20261101") center/cover no-repeat;border:0;border-radius:8px}.logo-mark:before{display:none}
