/* Shared visual rules: sea, stone and terracotta. Seasonal art keeps its own accent. */
:root {
  --brand-sea:#234c53; --brand-sea-deep:#183a40; --brand-clay:#b87860;
  --ink:#263e42; --muted:#65716f; --paper:#fffdf8; --bg:#f7f5ef;
  --line:#dedfd6; --soft:#e8efeb; --green:#315b5e; --green-deep:#234c53;
  --radius:24px; --shadow:0 12px 42px #234c5307;
  font-size:16px; color:var(--ink); text-rendering:optimizeLegibility;
}
:root[data-scene="daily"] {
  --scene-bg:#f7f5ef; --scene-hero-a:#ecefe6; --scene-hero-b:#e9e8d9;
  --scene-ink:#234c53; --scene-accent:#315b5e; --scene-soft:#e8efeb;
  --scene-line:#dedfd6; --scene-glow:#e1d9c5; --scene-header:#f7f5efed;
}
body{color:var(--ink);line-height:1.7}
button,input,textarea,select{font-family:inherit}
.brand{gap:12px}.brand-symbol{width:44px;height:44px;border-radius:13px;background:transparent;overflow:hidden;flex-shrink:0}
.brand-symbol img{width:100%;height:100%;display:block;object-fit:contain}
.brand strong{font-size:22px;letter-spacing:-.6px;font-weight:650;color:var(--brand-sea)}
.site-header{background:color-mix(in srgb,var(--scene-bg) 92%,transparent);border-bottom:1px solid #234c5312;box-shadow:none}
.site-header-inner{min-height:88px;gap:20px}
.desktop-nav{gap:2px}.desktop-nav .nav-link{font-size:15px;padding:10px 16px;color:#5e706e}
.desktop-nav .nav-link.active{background:#e5ece7;color:var(--brand-sea);box-shadow:none}
.desktop-nav .nav-count{font-size:12px;background:var(--brand-sea);color:#fff}
.header-actions{gap:7px}.header-profile{font-size:14px}.header-refresh,.header-logout,.header-appearance{min-width:36px;min-height:40px;color:#55716f}
.main{position:relative;isolation:isolate;z-index:0}.site-header,.bottom-nav{z-index:60}
.role-badge{font-size:13px}.main{padding-top:26px;padding-bottom:70px}
.test-toolbar{padding:12px 18px;border:1px solid #dce3db;background:#eef1e9;box-shadow:none;border-radius:14px;gap:18px;margin:0 0 34px;min-height:60px}
.test-toolbar-title{gap:10px}.test-toolbar strong{font-size:14px;font-weight:500;color:#48615b}
.test-roles button{font-size:14px;min-height:39px;padding:8px 16px}.test-roles{padding:3px}
.test-guide-btn,.scene-preview-launch{font-size:14px;color:#4d6862}.test-guide-btn{margin-left:auto}
.scene-preview-launch{min-height:40px;border-color:#cdd8cd}
.preview-banner{padding:13px 17px;font-size:14px;line-height:1.7;margin-bottom:28px}
.preview-caption,.preview-test-button{font-size:14px}.auth-utilities p,.test-launch-copy small{font-size:14px}
.page-intro{margin:16px 0 28px;gap:20px}.page-intro h1{font-size:38px;line-height:1.3;letter-spacing:-1.5px;color:var(--brand-sea);margin:0}
.page-intro p{font-size:16px;color:var(--muted);line-height:1.8;margin-top:14px}
.main[data-page="home"] .page-intro{margin:6px 0 24px}.main[data-page="home"] .page-intro h1{font-size:24px;letter-spacing:-.5px;margin:0}
.btn,.btn.compact{font-size:15px;min-height:48px;padding:12px 23px;font-weight:500;letter-spacing:0}
.btn:not(.secondary):not(.soft){background:var(--brand-sea)}.btn:not(.secondary):not(.soft):hover{background:var(--brand-sea-deep)}
.btn.secondary{color:var(--brand-sea);border-color:#cbd6cc;background:#fffdf7;box-shadow:none}
.btn.soft{background:#e6ede6;color:var(--brand-sea)}.link-btn{font-size:14px;color:#426a68;min-height:40px}
.hero{grid-template-columns:1.04fr 1fr;min-height:500px;border:0;border-radius:28px;background:linear-gradient(115deg,#e9eee8,#e8e7d6);box-shadow:none;isolation:isolate;margin-top:0;overflow:hidden}
.hero:before{width:500px;height:500px;opacity:.35;right:-10px}
.hero-copy{padding:50px 0 50px 52px;align-self:center;z-index:2}
.hero h2,:root:not([data-scene="daily"]) .hero h2{font-size:clamp(38px,4.25vw,56px);font-weight:600;line-height:1.35;letter-spacing:-2px;margin:18px 0 24px;max-width:none}
.hero-copy>p{font-size:17px;line-height:1.9;color:#536d68;max-width:400px;margin:0}
.hero-season:empty{display:none}.scene-season-label{font-size:14px;letter-spacing:0;gap:7px;background:#fffdf77a;padding:5px 12px;border-radius:20px;width:fit-content;color:var(--scene-ink)}
.hero-actions{margin-top:32px;gap:12px;flex-wrap:wrap}
.hero-art,:root:not([data-scene="daily"]) .hero-art{width:100%;max-width:560px;margin:0;position:relative;right:auto;bottom:auto;align-self:center;transform:none;filter:none;opacity:1;z-index:1}
:root:not([data-scene="daily"]) .hero{background:linear-gradient(115deg,var(--scene-hero-a),var(--scene-hero-b))}
:root:not([data-scene="daily"]) .hero-copy>p{color:var(--scene-ink)}
.stats-grid{gap:0;border:0;border-bottom:1px solid #dcded4;margin:18px 0 42px;background:none}
.stat{background:none;border:0;border-radius:0;box-shadow:none;padding:26px 30px}.stat+.stat{border-left:1px solid #dedfd4}
.stat:hover{transform:none;box-shadow:none;background:#fffdf655}.stat-icon{display:none}
.stat-title{font-size:15px;color:#60706b;margin:0 0 13px;max-width:none}.stat-value{font-size:38px;font-weight:500;letter-spacing:-1px;color:var(--brand-sea);line-height:1.3}
.stat-value.unset{font-size:25px;padding:5px 0}.stat-value span{font-size:15px;margin-left:8px}.stat-foot{font-size:14px;color:#6e7771;margin-top:10px;line-height:1.65}
.section-heading{margin-bottom:20px}.section-heading h2{font-size:24px;font-weight:550;letter-spacing:-.6px;color:var(--brand-sea)}.section-heading .link-btn{font-size:14px}
.panel,.expense-card,.timeline-card,.settings-panel{background:#fffdf9;border-color:#e0e1d7;box-shadow:none}
.mini-memory h3,.mini-memory-body h3,.mini-expense strong{font-size:18px;color:var(--ink);line-height:1.65}
.mini-memory p,.mini-memory-body p,.mini-expense small,.mini-memory small{font-size:14px;color:#64716b;line-height:1.8}
.empty-state h3{font-size:20px;color:var(--ink)}.empty-state p{font-size:15px;color:#65736e;line-height:1.8}.empty-state p:empty{display:none}
.expense-card h3,.timeline-card h3{font-size:22px;line-height:1.6;color:var(--ink)}
.expense-card .expense-note,.memory-body,.note-entry p,.detail-section p{font-size:16px;color:#526560;line-height:1.9}
.author-inline,.card-bottom,.small,.memory-bottom,.note-entry-header{font-size:14px;color:#64716b}.tag{font-size:13px;line-height:1.5;padding:4px 9px}
.card-bottom>span{display:inline-flex;align-items:center;gap:10px}.expense-amount{font-size:38px;color:var(--brand-sea)}
.filter,.preference-category .filter{font-size:14px;min-height:44px;padding:10px 15px;color:#59706a}.filter.active{background:#dfe9e1;color:#234c53}
.keepsake-panel{border:1px solid #dedfd5;background:linear-gradient(130deg,#fffdf8,#fffefb);box-shadow:none;border-radius:26px;scroll-margin-top:104px}
.keepsake-heading{padding:32px 38px 0;gap:20px}.keepsake-heading h2{font-size:30px;line-height:1.5;color:var(--brand-sea);margin:0;font-weight:500;letter-spacing:-1px}
.keepsake-people{font-size:14px;gap:22px;color:#5f716b}.keepsake-people small{font-size:14px;color:#67766e}
.jar-scene{min-height:0;padding:4px 12px 28px}.jar-stage{width:min(100%,450px);aspect-ratio:600/760}
.jar-glass{height:100%;width:100%}.lucky-star{width:39px;height:39px}.jar-count{right:9%;bottom:14%;color:#5e746f}.jar-count strong{color:var(--brand-sea);font-size:42px}.jar-count span{font-size:14px}
.jar-empty{font-size:16px;color:#667972;letter-spacing:0}.keepsake-pages{font-size:14px;color:#60736b;gap:18px;padding:4px 0 20px}
.keepsake-pages .icon-btn{min-width:40px;min-height:40px;color:#476b65}.keepsake-pages button:disabled{opacity:.28}
.receipt-total>span{font-size:14px;color:#63736c}.receipt-total strong{color:var(--brand-sea);font-size:28px}.receipt-total small{font-size:14px;color:#63736c}
.receipt-list-heading h2{font-size:24px;color:var(--brand-sea)}.receipt-totals{border-color:#dce0d6;background:#fffdf780}
.preference-subject select,.preference-view-switch button{font-size:14px;min-height:44px;color:#516e66}.preference-view-switch{background:#e9eee6}
.preference-detail{border-color:#d8ded0;background:#fffdf8fa}.preference-detail-header>span,.preference-about,.preference-detail-footer{font-size:14px;color:#5b7069}
.preference-detail h3,.preference-detail-dialog h3{font-size:23px;color:var(--brand-sea)}.preference-body{font-size:16px;color:#50675e;line-height:1.9}
.preference-detail-footer .link-btn,.tree-footer,.preference-recycle,.preference-recycle-row .link-btn{font-size:14px;color:#64736b}
.tree-empty{font-size:16px;color:#66786d;letter-spacing:0}.tree-footer{border-color:#e0e2d5}
.preference-card h3{font-size:20px;color:var(--brand-sea)}.preference-card p{font-size:16px;color:#52695f}.preference-card footer,.preference-card>header{font-size:14px;color:#62736b}
.preference-type-choice label>span{font-size:15px}.preferences-intro .btn{font-size:15px}
.weather-panel{padding:28px 32px;border-radius:24px;background:#fffdf9;border-color:#dedfd5;box-shadow:none}
.weather-heading>span:first-child{font-size:18px;color:var(--brand-sea)}.weather-heading>small,.weather-current>div>span{font-size:14px;color:#64736b}
.weather-current>div>strong{font-size:16px;color:#3f615b}.weather-temperature{color:var(--brand-sea);font-size:46px}
.weather-day{font-size:14px;color:#536c63;display:grid;grid-template-columns:100px 100px 1fr;gap:8px}.weather-day small{font-size:13px;margin-left:8px}
.weather-care-message{background:#eaf0e7;border:0}.weather-care-message h3{font-size:21px;color:var(--brand-sea);line-height:1.6}.weather-care-message p{font-size:16px;color:#50685d;line-height:1.85}
.weather-care-tags span,.weather-demo-badge{font-size:13px}.weather-info-popover,.weather-info-popover a,.weather-info-popover>strong,.weather-info-popover .link-btn{font-size:14px;color:#52675f}
.mobius-panel{background:linear-gradient(140deg,#fffdf8,#fff);border-color:#dedfd5}.mobius-panel-heading h2{font-size:28px;color:var(--brand-sea);line-height:1.6;margin:0}
.mobius-date-chip{font-size:14px;color:#46645e}.mobius-date-chip small{font-size:12px}.memory-view-switch button,.memory-date-filters label,.memory-date-filters select{font-size:14px;min-height:44px}
.mobius-day-header h3{font-size:21px;color:var(--brand-sea)}.mobius-day-header p{font-size:14px;color:#63756b}
.mobius-day .timeline-card>h3{font-size:21px;color:var(--brand-sea)}.mobius-day .memory-body,.mobius-day .note-entry p{font-size:16px;color:#50665e}
.mobius-day .timeline-card .author-inline,.mobius-day .timeline-card .tag,.mobius-day .memory-actions .link-btn,.mobius-day .memory-bottom>.small{font-size:14px}
.mobius-pagination strong,.mobius-pagination span,.mobius-page-buttons .link-btn{font-size:14px;color:#60756b}
.settings-panel h2,.admin-heading h2{font-size:25px;color:var(--brand-sea)}.settings-panel p,.admin-heading p,.admin-footnote,.admin-member small,.test-account-note{font-size:15px;color:#607269;line-height:1.85}
.field>label,.field-label{font-size:15px;color:#405e54}.field input,.field textarea,.field select{font-size:16px;min-height:50px}.field input::placeholder,.field textarea::placeholder{font-size:15px}
.field>small,.modal-description,.upload-hint,.export-hint,.invite-hint{font-size:14px;color:#63736a;line-height:1.8}
.modal-header h2{font-size:24px;color:var(--brand-sea)}.form-submit .btn{font-size:15px}.detail-meta{font-size:15px}.track-step{font-size:14px}
.auth-story h1{font-size:48px;color:var(--brand-sea)}.auth-story-main>p{font-size:17px;line-height:1.9;color:#56726b}.auth-form-wrap>p,.auth-note,.auth-switch{font-size:15px;line-height:1.8}
.auth-form-wrap h2{font-size:32px;color:var(--brand-sea);line-height:1.5}.auth-story-footer{font-size:15px}.entry-label,.test-role-card small{font-size:14px}.test-role-card strong{font-size:18px}
.auth-art{max-width:440px}.auth-recovery-row .link-btn{font-size:14px}.scene-auth-trigger{font-size:14px}
.scene-settings p,.scene-current-status,.scene-dialog-intro p,.scene-preview-notice strong,.scene-preview-notice p{font-size:14px;line-height:1.8}
.scene-picker legend,.scene-option-name,.scene-option-tone,.scene-dialog-intro label,.scene-dialog-footer{font-size:14px}
.scene-particle{opacity:.08}.scene-particle-1{opacity:.1}
@media(max-width:1100px){.site-header-inner{padding:0 28px;gap:16px}.desktop-nav .nav-link{padding:10px 11px;font-size:14px}.header-profile>span:not(.avatar){display:none}.brand strong{font-size:21px}.hero-copy{padding-left:38px}.hero h2,:root:not([data-scene="daily"]) .hero h2{font-size:44px}.weather-content{gap:22px}.weather-day{grid-template-columns:90px 90px 1fr}}
@media(max-width:760px){
 .site-header-inner{min-height:72px;padding:0 20px}.brand-symbol{width:38px;height:38px}.brand strong{font-size:21px}.header-actions{gap:4px}.header-logout{display:none}.header-profile{display:none}.main{padding:20px 20px calc(110px + env(safe-area-inset-bottom))}
 .test-toolbar{display:flex;flex-wrap:wrap;padding:12px 14px;gap:10px;margin-bottom:25px;min-height:0}.test-toolbar-title{flex:1;min-width:110px}.test-toolbar strong{font-size:14px}.test-roles{width:auto;flex:0 0 auto}.test-roles button{font-size:14px;padding:7px 12px;min-height:38px}.test-guide-btn{order:3;margin-left:0;font-size:14px}.scene-preview-launch{order:4;margin-left:auto;font-size:14px;min-height:38px}
 .page-intro{margin:8px 0 24px;align-items:center}.page-intro h1{font-size:31px;letter-spacing:-1px}.page-intro>.btn,.preferences-intro .btn{font-size:14px;padding:11px 16px;min-height:45px}.main[data-page="home"] .page-intro h1{font-size:23px}
 .hero{grid-template-columns:1fr;display:flex;flex-direction:column;min-height:0;border-radius:24px}.hero-copy{padding:30px 28px 4px;align-self:stretch}.hero h2,:root:not([data-scene="daily"]) .hero h2{font-size:clamp(34px,8.7vw,44px);line-height:1.35;letter-spacing:-1.4px;margin:14px 0 20px}.hero-copy>p{font-size:16px;line-height:1.8;max-width:none}.hero-actions{margin-top:24px;gap:10px}.hero-actions .btn{font-size:14px;padding:11px 15px;min-height:46px;gap:7px}
 .hero-art,:root:not([data-scene="daily"]) .hero-art{width:100%;max-width:360px;position:relative;align-self:center;right:auto;bottom:auto;margin:-8px 0 0;max-height:280px;object-fit:contain;opacity:1}
 .stats-grid{margin:16px 0 30px;grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:19px 12px}.stat-title{font-size:14px;line-height:1.5;margin-bottom:10px}.stat-value{font-size:29px}.stat-value.unset{font-size:19px;white-space:nowrap}.stat-value span{font-size:14px;margin-left:3px}.stat-foot{font-size:13px;line-height:1.7;margin-top:10px}
 .section-heading h2{font-size:22px}.section-heading .link-btn{font-size:14px}.expense-card h3{font-size:22px}.expense-card .expense-note,.memory-body{font-size:16px}.card-bottom,.author-inline{font-size:14px}.tag{font-size:13px}.filter{font-size:14px;padding:10px 12px;min-height:44px}
 .bottom-nav{padding:7px 8px calc(8px + env(safe-area-inset-bottom));background:#faf9f3f5;border-color:#d9ded2}.bottom-nav .nav-link{flex:1;min-width:0;padding:8px 2px;font-size:13px;min-height:56px;gap:5px;white-space:nowrap;color:#587068}.bottom-nav .nav-link.active{background:#e2ebe3;color:var(--brand-sea)}.bottom-nav .nav-link svg{width:21px;height:21px}
 .keepsake-heading{padding:26px 24px 0;gap:17px}.keepsake-heading h2{font-size:25px;letter-spacing:-.8px}.keepsake-people{font-size:14px;gap:20px}.keepsake-people small{font-size:14px}.keepsake-panel{border-radius:23px}.jar-scene{padding:5px 0 20px}.jar-stage{max-width:390px}.lucky-star{width:32px;height:32px}.jar-count{position:relative;right:auto;bottom:auto;display:flex;justify-content:center;gap:8px;align-items:baseline;margin-top:-14px}.jar-count strong{font-size:30px}.jar-count span{font-size:14px}.jar-scene{flex-direction:column}.jar-empty{font-size:15px}.keepsake-pages{font-size:14px;padding-bottom:14px}
 .receipt-total{padding:18px 12px}.receipt-total>span{font-size:13px;line-height:1.6}.receipt-total strong{font-size:23px;word-break:break-all}.receipt-total small{font-size:13px;margin-left:4px}.receipt-list-heading h2{font-size:22px}
 .preference-toolbar{gap:14px}.preference-category{gap:3px}.preference-category .filter{font-size:14px;padding:9px 10px;gap:4px}.preference-category .leaf-art{width:20px;height:22px}.preference-subject select{font-size:16px;max-width:175px}.preference-view-switch button{font-size:14px;padding:7px 10px}.tree-footer{font-size:14px;margin:0 24px}
 .preference-detail h3{font-size:22px}.preference-body{font-size:16px}.preference-detail-header>span,.preference-about,.preference-detail-footer{font-size:14px}.preference-detail-footer{flex-wrap:wrap}.tree-empty{font-size:15px}
 .weather-panel{padding:24px 23px}.weather-content{grid-template-columns:1fr;gap:22px}.weather-heading>span:first-child{font-size:18px}.weather-heading>small{font-size:14px;margin-left:0}.weather-current>div>span{font-size:14px}.weather-temperature{font-size:43px}.weather-day{grid-template-columns:88px 1fr;gap:3px 12px;font-size:14px}.weather-day-description{grid-column:2}.weather-day small{font-size:13px}.weather-care-message h3{font-size:20px}.weather-care-message p{font-size:16px}.weather-care-tags span{font-size:13px}
 .mobius-panel-heading{padding:24px 24px 0}.mobius-panel-heading h2{font-size:24px}.memory-view-toolbar{gap:14px;align-items:stretch}.memory-view-switch button,.memory-date-filters label,.memory-date-filters select{font-size:14px}.memory-date-filters{gap:8px}.mobius-date-chip{font-size:14px}.mobius-date-chip small{font-size:12px}.mobius-day .memory-body,.mobius-day .note-entry p{font-size:16px}.mobius-pagination{margin:0 23px;gap:14px;flex-wrap:wrap}.mobius-pagination strong,.mobius-pagination span{font-size:14px}.mobius-page-buttons .link-btn{font-size:14px}
 .settings-panel h2{font-size:24px}.settings-panel>p{font-size:15px}.field>label,.field-label{font-size:15px}.field input::placeholder,.field textarea::placeholder{font-size:15px}.field input,.field textarea,.field select{font-size:16px}.modal-header h2{font-size:23px}.modal-description{font-size:15px}.form-submit .btn{font-size:15px}.mood-choice{font-size:14px}.track-step{font-size:13px}
 .auth-story{padding:25px 25px 0}.auth-story h1{font-size:35px;max-width:250px}.auth-story-main>p{font-size:16px;max-width:210px}.auth-art{max-width:195px;bottom:0}.auth-form-wrap h2{font-size:28px}.auth-form-wrap>p,.auth-note{font-size:15px}.test-role-card small,.test-account-note{font-size:14px}
}
@media(max-width:360px){.main{padding-left:16px;padding-right:16px}.test-toolbar-title{min-width:100%}.test-roles{margin-right:auto}.hero-copy{padding-left:24px;padding-right:24px}.hero-actions .btn{padding:10px 12px;font-size:13px}.stat{padding-left:9px;padding-right:9px}.preference-category .filter{padding:9px 7px}.preference-category .leaf-art{width:17px}.bottom-nav .nav-link{font-size:12px}.receipt-total strong{font-size:21px}}

.weather-day strong{font-size:16px;font-weight:500}.weather-heading .weather-demo-badge{font-size:13px}.scene-preview-notice .link-btn{font-size:14px}
@media(max-width:760px){.weather-overview{display:block}.weather-forecast{padding-top:14px}.weather-day-description{font-size:14px;text-align:left;margin-left:0;width:auto}.stat-foot{font-size:14px}}

.form small,.form .field label small,.form .optional{font-size:14px;line-height:1.7;color:#64736b}

.auth-form-wrap>p:empty{display:none}.auth-utilities strong{font-size:15px}.mobius-node.is-selected .mobius-date-chip{background:var(--brand-sea);border-color:var(--brand-sea)}
@media(max-width:760px){.auth-story-main>p{max-width:160px}}
