/* Aurivo design system: theme variables, responsive home and accessible controls */
:root,[data-theme="coastal"]{--page:#f1f7f5;--surface:#fff;--ink:#173b43;--muted:#526c70;--primary:#126d76;--secondary:#579e88;--accent:#8b76ad;--line:#dce8e4;--mig:#126d76;--daily:#579e88;--clear:#8b76ad;--hero-top:#c5dce7;--hero-mid:#eadde6;--hero-bottom:#b4d6d8;--hill:#739d9d;--hill2:#a4c4c3;--sea:#83b9c4;--stat1:#eee7f4;--stat2:#f1eee5;--stat3:#e3eee9}
[data-theme="twilight"]{--page:#14252d;--surface:#233b44;--ink:#eaf5f1;--muted:#b6d1cc;--primary:#4e968e;--secondary:#39766b;--accent:#78699c;--line:#36535b;--mig:#28566a;--daily:#2e756e;--clear:#62527f;--hero-top:#242c4d;--hero-mid:#514263;--hero-bottom:#325b6a;--hill:#314e62;--hill2:#446c72;--sea:#315d69;--stat1:#3b3451;--stat2:#334c4a;--stat3:#294f49;color-scheme:dark}
[data-theme="botanical"]{--page:#f7f5fa;--surface:#fff;--ink:#20434a;--muted:#5d6d70;--primary:#008b8b;--secondary:#48a58b;--accent:#a374bb;--line:#e6dfe9;--mig:#008b8b;--daily:#54aa90;--clear:#a47bb9;--hero-top:#e7dff1;--hero-mid:#f7e8f2;--hero-bottom:#cce5de;--hill:#a8c4b5;--hill2:#b7d7c7;--sea:#a7d8d2;--stat1:#efe3f5;--stat2:#e6f3e9;--stat3:#e5f0ec}
[data-theme="quiet"]{--page:#f1f2ef;--surface:#e8ece8;--ink:#334740;--muted:#52665d;--primary:#617d70;--secondary:#7c9987;--accent:#8b8795;--line:#d2d9d2;--mig:#607c72;--daily:#8aa493;--clear:#858795;--hero-top:#e3e9e5;--hero-mid:#e8ece8;--hero-bottom:#d7e2dd;--hill:#c0d1c9;--hill2:#d2ded8;--sea:#becfc9;--stat1:#dfe3df;--stat2:#e1e5df;--stat3:#dbe4df}
html,body{background:var(--page)!important;color:var(--ink)!important}body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif}.shell{background:var(--page)!important;box-shadow:0 0 40px #142b3510}.content{padding:20px 20px 30px}.top{background:var(--primary)!important;color:#fff;border-radius:0 0 22px 22px}.panel,.v21-choice{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink);border-radius:20px}.label,.muted,.v21-choice p{color:var(--muted)!important}.nav{background:var(--surface)!important;border-top:1px solid var(--line);box-shadow:0 -5px 20px #142b3512}.nav button{color:var(--muted)!important}.nav button.active{color:var(--ink)!important;background:var(--stat3)!important}.nav button:focus-visible,button:focus-visible{outline:3px solid var(--accent)!important;outline-offset:3px}.metric{background:var(--stat3)}button:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){background:var(--primary)}button.secondary{background:var(--stat3);color:var(--ink)}input,select,textarea{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}input::placeholder,textarea::placeholder{color:var(--muted)}.top:has(~ .content .hero){display:none}.content:has(.hero){padding:0 0 24px}.hero-art{height:244px;position:relative;overflow:hidden;background:linear-gradient(165deg,var(--hero-top),var(--hero-mid) 55%,var(--hero-bottom));isolation:isolate}.hero-topline{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:16px 22px;color:var(--ink);font-size:12px;font-weight:650;letter-spacing:.03em}.hero-theme{background:var(--surface);color:var(--ink);border:1px solid var(--line);font-size:12px;padding:8px 12px;border-radius:20px}.hero-brand{position:relative;z-index:2;text-align:center;padding-top:9px;color:var(--ink)}.brand-mark{font-size:33px;line-height:1;color:var(--primary)}.brand-name{font-family:Georgia,serif;font-size:57px;line-height:1.1;letter-spacing:-.05em}.brand-tagline{font-size:10px;letter-spacing:.22em;margin-top:7px;font-weight:700}.landscape{position:absolute;inset:auto 0 0;height:80px}.hill{position:absolute;bottom:0;width:120%;height:70px;border-radius:50% 50% 0 0}.hill-back{left:-25%;bottom:2px;background:var(--hill2);transform:rotate(5deg)}.hill-front{right:-35%;bottom:-26px;background:var(--hill);transform:rotate(-6deg)}.sea{position:absolute;bottom:0;height:19px;background:var(--sea);width:100%;opacity:.7}.home-welcome{text-align:center;padding:22px 20px 14px}.home-welcome h1{font-size:25px;margin:0 0 7px;letter-spacing:-.03em}.home-welcome p{margin:0;color:var(--muted);font-size:17px}.home-actions{display:grid;gap:13px;padding:8px 20px}.home-action{width:100%;display:flex;align-items:center;text-align:left;gap:16px;border-radius:20px;min-height:102px;padding:18px 19px;color:#fff!important;box-shadow:0 4px 12px #142b3515;transition:transform .15s}.home-action:active{transform:scale(.99)}.action-migraine{background:var(--mig)}.action-daily{background:var(--daily)}.action-clear{background:var(--clear)}.action-icon{font-size:39px;min-width:48px;text-align:center;font-weight:400;line-height:1}.action-copy{display:flex;flex:1;flex-direction:column;gap:5px}.action-copy strong{font-size:21px;line-height:1.15}.action-copy small{font-size:13px;line-height:1.4;font-weight:450}.action-arrow{font-size:35px;font-weight:300;opacity:.9}.glance{background:var(--surface);border:1px solid var(--line);margin:18px 20px 0;padding:16px;border-radius:22px;box-shadow:0 4px 18px #142b350b}.glance-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.glance-head h2{font-size:17px;margin:0}.glance-head span{font-size:12px;color:var(--muted)}.glance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.stat{border-radius:15px;min-width:0;padding:12px 5px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--ink)}.stat-mig{background:var(--stat1)}.stat-free{background:var(--stat2)}.stat-logged{background:var(--stat3)}.stat span{font-size:24px}.stat strong{font-size:29px}.stat small{font-size:11px;line-height:1.3}.glance-note{font-size:11px;color:var(--muted);margin:12px 0 0}.home-bottom{padding:0 20px}.home-bottom .v21-status{color:var(--muted)}.reduce-btn{width:100%;background:var(--surface);border:1px solid var(--line);color:var(--ink);padding:12px;border-radius:13px;font-size:13px}.appearance-panel{margin-top:0}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.theme-option{display:flex;align-items:center;gap:8px;background:var(--page);color:var(--ink);border:2px solid var(--line);font-size:12px;text-align:left;padding:9px;border-radius:12px;min-height:54px}.theme-option.chosen{border-color:var(--primary)}.theme-swatch{display:block;width:25px;height:25px;flex:none;border-radius:50%}.theme-swatch.coastal{background:linear-gradient(135deg,#156f75 50%,#a18bbe 50%)}.theme-swatch.twilight{background:linear-gradient(135deg,#192b32 50%,#8f7ab5 50%)}.theme-swatch.botanical{background:linear-gradient(135deg,#008c89 50%,#a778c3 50%)}.theme-swatch.quiet{background:linear-gradient(135deg,#b6c8bd 50%,#e5e2e9 50%)}.low-stim .hero-art{height:130px;background:var(--surface)}.low-stim .landscape,.low-stim .brand-mark{display:none}.low-stim .hero-brand{padding-top:8px}.low-stim .home-action{box-shadow:none}.low-stim *, .low-stim *::before,.low-stim *::after{animation:none!important;transition:none!important}.low-stim .v21-fireworks{display:none!important}@media(prefers-reduced-motion:reduce){.home-action{transition:none}}@media(min-width:700px){.shell{border-radius:24px 24px 0 0;overflow:hidden}}@media(max-width:350px){.home-action{gap:9px;padding:14px}.action-icon{min-width:34px;font-size:30px}.action-copy strong{font-size:18px}.brand-name{font-size:49px}}

/* V2.1 visual refinement: accessible nav and narrower, distinct action cards */
.nav{background:var(--surface)!important;z-index:20}
.nav button,.nav button:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){background:transparent!important;color:var(--ink)!important;opacity:.83}
.nav button.active,.nav button.active:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){background:var(--stat3)!important;color:var(--ink)!important;opacity:1}
[data-theme="twilight"] .nav{background:#1c333c!important;border-top-color:#58737a!important}
[data-theme="twilight"] .nav button{color:#e0f0ec!important;opacity:1}
[data-theme="twilight"] .nav button.active{background:#3e625f!important;color:#ffffff!important}
.home-actions{max-width:480px;margin:0 auto;padding:8px 25px;gap:12px}
.home-action{min-height:86px;padding:14px 16px;border-radius:19px;box-shadow:0 4px 12px #142b3513}
.home-action .action-icon{font-size:34px;min-width:42px}
.home-action .action-copy strong{font-size:19px}
.home-action .action-copy small{font-size:12px}
.home-action .action-arrow{font-size:29px}
.action-migraine{background:linear-gradient(115deg,#075f70,#198b8d)!important}
.action-daily{background:linear-gradient(115deg,#397e64,#6bb393)!important}
.action-clear{background:linear-gradient(115deg,#735394,#a789c1)!important}
[data-theme="twilight"] .action-migraine{background:linear-gradient(115deg,#16445c,#276b79)!important}
[data-theme="twilight"] .action-daily{background:linear-gradient(115deg,#245a4d,#397e68)!important}
[data-theme="twilight"] .action-clear{background:linear-gradient(115deg,#574572,#8069a1)!important}
[data-theme="botanical"] .action-migraine{background:linear-gradient(115deg,#007f86,#1a9fa0)!important}
[data-theme="botanical"] .action-daily{background:linear-gradient(115deg,#408a65,#71bb8c)!important}
[data-theme="botanical"] .action-clear{background:linear-gradient(115deg,#9060aa,#b990cf)!important}
[data-theme="quiet"] .action-migraine{background:#617d76!important}
[data-theme="quiet"] .action-daily{background:#789887!important}
[data-theme="quiet"] .action-clear{background:#8b8797!important}
/* Nature artwork stays decorative; no animated scenery. */
.hero-art{height:265px;background-image:linear-gradient(to bottom,transparent 55%,var(--page) 100%),var(--hero-image);background-size:cover;background-position:center center}
.hero-brand{padding-top:17px;text-shadow:0 1px 12px var(--page)}
.hero-brand .brand-name{font-weight:500}
.hero-art .landscape{display:none}
[data-theme="coastal"]{--hero-image:url('art/coastal.svg')}
[data-theme="twilight"]{--hero-image:url('art/twilight.svg')}
[data-theme="botanical"]{--hero-image:url('art/botanical.svg')}
[data-theme="quiet"]{--hero-image:url('art/quiet.svg')}
[data-theme="twilight"] .hero-brand{color:#f4f5fc;text-shadow:0 2px 12px #172537}
[data-theme="twilight"] .brand-mark{color:#dfc9ff}
[data-theme="twilight"] .hero-topline{color:#fff}
.low-stim .hero-art{background-image:none!important;background:var(--surface)!important}
@media(max-width:420px){.home-actions{padding-left:20px;padding-right:20px}.home-action{min-height:82px}}

/* V3 — image-two-inspired home: vertical colour tiles, scenic cover and breathing room */
:root{--hero-image:url('art/coastal.svg')}
.hero-art{height:252px;background-position:center;background-size:cover}
.hero-topline{padding:13px 19px}
.hero-brand{padding-top:12px}
.brand-mark{font-size:28px}
.brand-name{font-size:62px;letter-spacing:-.065em}
.brand-tagline{letter-spacing:.12em;font-size:9px}
.home-welcome{position:relative;z-index:2;margin:-20px 16px 10px;padding:17px 15px;display:flex;align-items:center;gap:14px;text-align:left;border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:0 5px 18px #132f3820}
.home-welcome h1{font-size:17px;line-height:1.3;margin-bottom:4px}
.home-welcome p{font-size:13px}
.welcome-emblem{display:grid;place-items:center;flex:0 0 49px;height:49px;border-radius:50%;background:var(--stat3);color:var(--primary);font-size:31px}
.home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:540px;margin:0 auto;padding:3px 16px 0}
.home-action{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:7px;min-width:0;min-height:176px;padding:16px 7px 12px;text-align:center;border-radius:18px;box-shadow:0 4px 10px #142b3524}
.home-action .action-icon{font-size:34px;min-width:0;line-height:1.1}
.home-action .action-copy{flex:1;justify-content:center;gap:7px;align-items:center;width:100%}
.home-action .action-copy strong{font-size:14px;line-height:1.13;overflow-wrap:anywhere}
.home-action .action-copy small{font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.home-action .action-arrow{font-size:23px;line-height:1}
.glance{margin:14px 16px 0;padding:13px;border-radius:19px}
.glance-grid{gap:7px;margin-top:11px}
.stat{padding:12px 3px;gap:3px}
.stat strong{font-size:25px}
.stat small{font-size:10px}
.home-bottom{padding:0 16px 18px}
.home-affirmation{height:79px;border-radius:17px;margin:14px 0 12px;background:linear-gradient(90deg,#d5eae5aa,#f2e2edbb),url('art/coastal.svg') center 63%/cover;display:grid;place-items:center;overflow:hidden}
.affirmation-text{font-family:Georgia,serif;font-style:italic;font-size:20px;color:#214c52;text-shadow:0 1px 7px #ffffff}
[data-theme="twilight"] .home-affirmation{background:linear-gradient(90deg,#162d4c55,#34285177),url('art/twilight.svg') center 65%/cover}
[data-theme="twilight"] .affirmation-text{color:#fff;text-shadow:0 2px 7px #081b2d}
[data-theme="botanical"] .home-affirmation{background:linear-gradient(90deg,#def0e888,#f0dcec88),url('art/botanical.svg') center 65%/cover}
[data-theme="quiet"] .home-affirmation{background:linear-gradient(90deg,#e5eae5aa,#e5e6e8aa),url('art/quiet.svg') center 65%/cover}
[data-theme="twilight"] .nav button,[data-theme="twilight"] .nav button:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){color:#e5f5f1!important;opacity:1!important}
[data-theme="twilight"] .nav button.active,[data-theme="twilight"] .nav button.active:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){background:#395e62!important;color:#fff!important}
.low-stim .home-affirmation{display:none}
@media(max-width:380px){.home-actions{gap:6px;padding:3px 10px}.home-action{min-height:164px;padding:13px 5px 10px}.home-action .action-copy strong{font-size:12px}.home-action .action-copy small{font-size:9px}.home-welcome{margin-left:10px;margin-right:10px}}

/* V3.1: original scenic assets, clearer theme identity and accessible theme controls */
[data-theme="coastal"]{--page:#eef7f8;--surface:#fff;--primary:#126f80;--secondary:#72a99b;--accent:#a287bf;--line:#d5e7e8;--hero-image:url('art/coastal.webp')}
[data-theme="botanical"]{--page:#faf5fc;--surface:#fffdfd;--primary:#008c99;--secondary:#4aa66e;--accent:#aa6ec5;--line:#e8dbea;--hero-image:url('art/botanical.webp');--stat1:#f2e4f7;--stat2:#fff1d6;--stat3:#dff5e8}
[data-theme="twilight"]{--hero-image:url('art/twilight.webp')}
[data-theme="quiet"]{--hero-image:url('art/quiet-new.webp')}
.hero-art{height:290px;background-image:linear-gradient(to bottom,#ffffff17 0%,#ffffff00 52%,var(--page) 100%),var(--hero-image);background-position:center center;background-size:cover}
[data-theme="twilight"] .hero-art{background-image:linear-gradient(to bottom,#08152733 0%,#08152700 55%,var(--page) 100%),var(--hero-image)}
.hero-brand{padding-top:10px;text-shadow:0 1px 16px var(--surface),0 1px 8px var(--surface)}
[data-theme="twilight"] .hero-brand{text-shadow:0 2px 12px #0a1227,0 1px 5px #0a1227}
.home-affirmation{background-image:linear-gradient(90deg,#f4f8f7a8,#e9f3f5a8),url('art/coastal.webp')}
[data-theme="twilight"] .home-affirmation{background-image:linear-gradient(90deg,#162d4c55,#34285177),url('art/twilight.webp')}
[data-theme="botanical"] .home-affirmation{background-image:linear-gradient(90deg,#f7e9f6a6,#d8f5e8a6),url('art/botanical.webp')}
[data-theme="quiet"] .home-affirmation{background-image:linear-gradient(90deg,#e5eae5bb,#e5e6e8bb),url('art/quiet-new.webp')}
.theme-option,.theme-option:not(.home-action):not(.hero-theme):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){background:var(--page)!important;color:var(--ink)!important;border:2px solid var(--line)!important;opacity:1!important}
.theme-option.chosen,.theme-option.chosen:not(.home-action):not(.hero-theme):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){border-color:var(--primary)!important;box-shadow:inset 0 0 0 1px var(--primary)}
.theme-option .theme-swatch{border:1px solid #9aa7a766}
[data-theme="botanical"] .action-migraine{background:linear-gradient(145deg,#008fa5,#006e82)!important}
[data-theme="botanical"] .action-daily{background:linear-gradient(145deg,#68c779,#248951)!important}
[data-theme="botanical"] .action-clear{background:linear-gradient(145deg,#c08add,#8b51ad)!important}
[data-theme="coastal"] .action-migraine{background:linear-gradient(145deg,#16818a,#075468)!important}
[data-theme="coastal"] .action-daily{background:linear-gradient(145deg,#7dbda4,#347f67)!important}
[data-theme="coastal"] .action-clear{background:linear-gradient(145deg,#ad90c5,#735a9a)!important}
.low-stim .hero-art{height:130px;background-image:none!important;background:var(--surface)!important}
@media(max-width:370px){.hero-art{height:260px}.brand-name{font-size:53px}}

/* V3.2 decorative home action cards */
.home-action{position:relative;isolation:isolate;overflow:hidden;border:1px solid #ffffff24}
.home-action::after{content:"";position:absolute;inset:auto 0 0;height:57%;z-index:-1;pointer-events:none;background-repeat:no-repeat;background-size:100% 100%}
.action-migraine::after{background-image:url("art/action-waves.svg")}
.action-daily::after{background-image:url("art/action-leaves.svg")}
.action-clear::after{background-image:url("art/action-lavender.svg")}
.home-action .action-icon,.home-action .action-copy,.home-action .action-arrow{position:relative;z-index:1}
.low-stim .home-action::after{display:none}

/* V3.3 home dashboard: four clear, compact tiles and a usable range selector */
.hero-controls{display:flex;align-items:center;gap:8px}
.profile-open,.profile-open:not(.home-action){background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:50%;height:35px;width:35px;display:grid;place-items:center;font-size:22px;cursor:pointer}
.glance-head h2{font-size:18px}
.glance-period-label select{width:auto;max-width:146px;border-radius:12px;padding:8px 26px 8px 9px;font-size:12px;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--ink)!important}
.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}
.glance-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.stat{padding:12px 3px 10px;gap:5px;min-height:108px;justify-content:center}
.stat-icon{height:28px;display:flex;align-items:center;justify-content:center}
.stat-icon svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none}
.stat-mig .stat-icon{color:#9660c1}.stat-free .stat-icon{color:#d99a15}.stat-logged .stat-icon{color:#169b91}.stat-avg .stat-icon{color:#9a6bca}
.stat strong{font-size:26px;line-height:1.1}.stat small{font-size:10px;line-height:1.22}
.stat-avg{background:var(--stat1)}
[data-theme="twilight"] .stat-mig .stat-icon{color:#e5b3ff}
[data-theme="twilight"] .stat-free .stat-icon{color:#ffe08c}
[data-theme="twilight"] .stat-logged .stat-icon{color:#76e4d4}
[data-theme="twilight"] .stat-avg .stat-icon{color:#e5b3ff}
.profile-panel{margin:18px 20px;padding:20px}.profile-panel input{width:100%;margin:8px 0 16px}
@media(max-width:380px){.glance{margin-left:10px;margin-right:10px;padding:11px}.glance-grid{gap:4px}.stat{padding:9px 2px}.stat strong{font-size:22px}.stat small{font-size:9px}.glance-head h2{font-size:16px}}


/* Aurivo V3.4: mock-inspired home refinements; existing application data untouched */
.home-welcome,.home-welcome:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){
  width:calc(100% - 46px);max-width:500px;margin:-25px auto 15px;padding:13px 18px;
  border-radius:999px!important;display:flex;align-items:center;gap:13px;text-align:left;
  background:linear-gradient(115deg,var(--surface),var(--stat1))!important;
  color:var(--ink)!important;border:1px solid var(--accent)!important;
  box-shadow:0 8px 24px #071e302c;cursor:pointer;
}
.welcome-emblem{flex:0 0 52px;height:52px;border-radius:50%;font-size:33px}
.welcome-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.welcome-copy strong{font-size:clamp(14px,3.8vw,20px);line-height:1.18;color:var(--ink)}
.welcome-copy>span{font-size:clamp(11px,2.8vw,14px);color:var(--muted)}
.welcome-chevron{font-size:34px;line-height:1;color:var(--ink);padding-right:3px}
[data-theme="twilight"] .home-welcome{background:linear-gradient(110deg,#1e4355,#342a4c)!important;color:#fff!important;border-color:#8d70af!important}
[data-theme="twilight"] .welcome-copy strong,[data-theme="twilight"] .welcome-chevron{color:#fff}
[data-theme="twilight"] .welcome-copy>span{color:#e3deee}
.home-actions{max-width:510px;gap:10px;padding:4px 22px 0}
.home-action{min-height:218px;padding:17px 7px 12px;border-radius:24px;
  border:1px solid #ffffff55;box-shadow:inset 0 2px 1px #ffffff35,0 7px 16px #102b3430;
  justify-content:flex-start;gap:7px;transition:transform .15s ease}
.home-action:active{transform:scale(.98)}
.home-action .action-icon{height:59px;display:flex;align-items:center;justify-content:center;width:100%;color:#fff}
.home-action .action-icon svg{width:55px;height:55px;filter:drop-shadow(0 2px 3px #001c2038)}
.home-action .action-copy{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;width:100%}
.home-action .action-copy strong{font-size:clamp(14px,3.2vw,19px);font-weight:800;line-height:1.08;color:#fff;text-shadow:0 1px 2px #001b2645;overflow-wrap:normal}
.home-action .action-copy small{font-size:clamp(10px,2.15vw,12px);line-height:1.25;color:#fff;max-width:130px}
.home-action .action-arrow{font-size:34px;line-height:1;z-index:2;color:#fff}
.action-migraine{background:linear-gradient(155deg,#008fa9,#005065 75%,#007d83)!important}
.action-daily{background:linear-gradient(155deg,#48a46a,#16513c 80%,#2d7658)!important}
.action-clear{background:linear-gradient(155deg,#9d69b7,#4d2868 80%,#77458d)!important}
[data-theme="quiet"] .action-migraine{background:linear-gradient(155deg,#718f8c,#446d6c)!important}
[data-theme="quiet"] .action-daily{background:linear-gradient(155deg,#8ba994,#517e69)!important}
[data-theme="quiet"] .action-clear{background:linear-gradient(155deg,#a79aad,#72627f)!important}
.home-action::after{height:43%;z-index:0}
.home-action .action-icon,.home-action .action-copy,.home-action .action-arrow{z-index:1}

@media(max-width:390px){
  .home-actions{gap:7px;padding:4px 12px 0}
  .home-action{min-height:200px;padding:14px 4px 9px;border-radius:20px}
  .home-action .action-icon{height:50px}
  .home-action .action-icon svg{width:46px;height:46px}
  .home-action .action-copy strong{font-size:13px}
  .home-action .action-copy small{font-size:10px}
  .home-welcome{width:calc(100% - 26px);padding:11px 12px;gap:9px}
  .welcome-emblem{flex-basis:42px;height:42px;font-size:27px}
}
@media(prefers-reduced-motion:reduce){.home-action{transition:none}}
.low-stim .home-action{box-shadow:none}

/* V3.5 Ember Ridge */
[data-theme="ember"]{--page:#283432;--surface:#344340;--ink:#f5f1e8;--muted:#d3dbd0;--primary:#9b704e;--secondary:#758a72;--accent:#e2a16b;--line:#60726b;--mig:#42666b;--daily:#536f53;--clear:#995f3d;--stat1:#46534d;--stat2:#4b5c4a;--stat3:#564b43;--hero-top:#34434a;--hero-mid:#7c7368;--hero-bottom:#b98258;--hill:#51665c;--hill2:#68766b;--sea:#455f5b;--hero-image:url('art/ember-new.webp');color-scheme:dark}
[data-theme="ember"] .hero-art{background-image:linear-gradient(to bottom,#14221d24 0%,#14221d00 60%,var(--page) 100%),var(--hero-image)}
[data-theme="ember"] .hero-brand{color:#fff7e9;text-shadow:0 2px 12px #182522,0 2px 4px #182522}
[data-theme="ember"] .brand-mark{color:#e9ad7d}
[data-theme="ember"] .hero-topline{color:#fff7eb;text-shadow:0 1px 6px #1c2929}
[data-theme="ember"] .hero-theme,[data-theme="ember"] .profile-open{background:#31423dcc!important;color:#f8f1e5!important;border-color:#a4a99b!important}
[data-theme="ember"] .home-welcome{background:linear-gradient(110deg,#3c4d47,#554c41)!important;border-color:#9e856c!important;color:#f5f1e8!important}
[data-theme="ember"] .welcome-copy strong,[data-theme="ember"] .welcome-chevron{color:#f5f1e8}
[data-theme="ember"] .welcome-copy>span{color:#e0dfd4}
[data-theme="ember"] .welcome-emblem{background:#52694f!important;color:#ead0a8!important}
[data-theme="ember"] .action-migraine{background:linear-gradient(155deg,#527d80,#294b51 80%,#355b59)!important}
[data-theme="ember"] .action-daily{background:linear-gradient(155deg,#77916a,#3c6044 80%,#4b7550)!important}
[data-theme="ember"] .action-clear{background:linear-gradient(155deg,#cb9563,#875032 80%,#a16d42)!important}
[data-theme="ember"] .action-clear::after{background-image:url('art/ember-ridges.svg')}
[data-theme="ember"] .home-affirmation{background-image:linear-gradient(90deg,#22312a55,#28342c66),url('art/ember-new.webp');background-position:center 68%;background-size:cover}
[data-theme="ember"] .affirmation-text{color:#fff3e0;text-shadow:0 2px 8px #14231f}
.theme-swatch.ember{background:linear-gradient(135deg,#303a39 35%,#758a72 36% 65%,#c98555 66%)}
[data-theme="ember"] .nav{background:#2d3c39!important;border-top-color:#6e7c71!important}
[data-theme="ember"] .nav button,[data-theme="ember"] .nav button:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){color:#f2f1e7!important;opacity:1!important}
[data-theme="ember"] .nav button.active,[data-theme="ember"] .nav button.active:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){background:#596f5a!important;color:#fff!important}
[data-theme="ember"] .stat-mig .stat-icon{color:#e4c5a4}[data-theme="ember"] .stat-free .stat-icon{color:#e9b47b}[data-theme="ember"] .stat-logged .stat-icon{color:#a6c6a4}[data-theme="ember"] .stat-avg .stat-icon{color:#e6c4a4}


/* V3.6 — cohesive, comfortable surfaces; printable PDFs remain unchanged */
:root,[data-theme="coastal"]{--comfort-card:#f2f7f5;--comfort-raised:#e7f1ed;--comfort-input:#f7faf8;--comfort-text:#173b43;--comfort-sub:#426169;--comfort-border:#b9d1ca;--comfort-selected:#1c746b}
[data-theme="botanical"]{--comfort-card:#f0eef5;--comfort-raised:#e8e5f0;--comfort-input:#f7f5fa;--comfort-text:#233e46;--comfort-sub:#52616a;--comfort-border:#c8bdcf;--comfort-selected:#167d79}
[data-theme="quiet"]{--comfort-card:#e1e6e1;--comfort-raised:#d6ded8;--comfort-input:#e9eee9;--comfort-text:#2d453b;--comfort-sub:#475e53;--comfort-border:#aebfb3;--comfort-selected:#4b7062}
[data-theme="twilight"]{--comfort-card:#304650;--comfort-raised:#3a515c;--comfort-input:#2a424c;--comfort-text:#f2f7f6;--comfort-sub:#d3e1df;--comfort-border:#657f89;--comfort-selected:#3d8277}
[data-theme="ember"]{--comfort-card:#40534c;--comfort-raised:#4a6055;--comfort-input:#354840;--comfort-text:#f6f2e8;--comfort-sub:#e2e5d9;--comfort-border:#778d7d;--comfort-selected:#a16b46}
#screen .panel,#screen .v2-card,#screen .v21-choice,#screen .metric,#screen .v2-note,#screen .notice,#screen .warning,#screen .v21-voice,#screen .stats > div,#screen .stats > article{
background:var(--comfort-card)!important;color:var(--comfort-text)!important;border-color:var(--comfort-border)!important}
#screen .metric *,#screen .stats > div *,#screen .stats > article *,#screen .panel h2,#screen .panel h3,#screen .v2-card h2,#screen .v2-card h3{color:var(--comfort-text)!important;opacity:1!important}
#screen .muted,#screen .small,#screen .v2-soft,#screen .v21-status,#screen .panel p,#screen .v2-card p{color:var(--comfort-sub)!important}
#screen .label,#screen label:not(.pill):not(.theme-option),#screen .weekday,#screen summary{color:var(--comfort-text)!important}
#screen input:not([type="checkbox"]):not([type="radio"]),#screen select,#screen textarea{background:var(--comfort-input)!important;color:var(--comfort-text)!important;border:1px solid var(--comfort-border)!important}
#screen input::placeholder,#screen textarea::placeholder{color:var(--comfort-sub)!important;opacity:1}
#screen input[type="checkbox"],#screen input[type="radio"]{accent-color:var(--comfort-selected)}
#screen .pill,#screen button.secondary,#screen .v2-theme,#screen .v2-badge,#screen .v2-key span{background:var(--comfort-raised)!important;color:var(--comfort-text)!important;border-color:var(--comfort-border)!important}
#screen .pill.active,#screen .v2-theme.active,#screen .pill[aria-pressed="true"]{background:var(--comfort-selected)!important;color:#fff!important;border-color:var(--comfort-selected)!important}
#screen .day:not(.Migraine):not(.Headache):not(.Unsure):not(.Postdrome):not(.No){background:var(--comfort-raised)!important;color:var(--comfort-text)!important}
#screen .day.today{outline:2px solid var(--accent);outline-offset:1px}
#screen .track{background:var(--comfort-raised)!important;border-color:var(--comfort-border)!important}
#screen .bar{background:var(--comfort-selected)!important}
#screen .subtle{border-top-color:var(--comfort-border)!important}
#screen .v2-badge,#screen .v2-key,#screen .check,#screen .switch{color:var(--comfort-text)!important}
#screen .theme-option,#screen .theme-option:not(.home-action){background:var(--comfort-raised)!important;color:var(--comfort-text)!important;border-color:var(--comfort-border)!important}
#screen .theme-option.chosen{border-color:var(--accent)!important}
#screen .appearance-panel{background:var(--comfort-card)!important}
#screen button:focus-visible,#screen input:focus-visible,#screen select:focus-visible,#screen textarea:focus-visible{outline:3px solid var(--accent)!important;outline-offset:2px}

/* V3.6.1 — PDF report configuration only; printable PDF output untouched. */
#screen .ar-options {
  background:var(--comfort-card,var(--surface))!important;
  color:var(--comfort-text,var(--ink))!important;
  border:1px solid var(--comfort-border,var(--line))!important;
  border-radius:16px;
}
#screen .ar-options h3,
#screen .ar-options label,
#screen .ar-options .ar-check,
#screen .ar-options .v2-soft,
#screen .ar-options p {
  color:var(--comfort-text,var(--ink))!important;
  opacity:1!important;
}
#screen .ar-options .v2-soft,
#screen .ar-options p {color:var(--comfort-sub,var(--muted))!important}
#screen .ar-options textarea,
#screen .ar-options select {
  background:var(--comfort-input,var(--surface))!important;
  color:var(--comfort-text,var(--ink))!important;
  border:1px solid var(--comfort-border,var(--line))!important;
}
#screen .ar-options input[type="checkbox"] {accent-color:var(--comfort-selected,var(--primary))!important}
#screen .ar-options label.ar-check {display:flex;align-items:center;gap:10px}


/* V3.7: collapsible settings, consistent with all five colour themes */
#screen .settings-fold{
  margin:0 0 12px;
  border:1px solid var(--comfort-border,var(--line));
  border-radius:18px;
  overflow:hidden;
  background:var(--comfort-card,var(--surface));
  color:var(--comfort-text,var(--ink));
}
#screen .settings-fold-head{
  list-style:none;
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px 14px;
  cursor:pointer;
  user-select:none;
  color:var(--comfort-text,var(--ink))!important;
}
#screen .settings-fold-head::-webkit-details-marker{display:none}
#screen .settings-fold-head::marker{content:""}
#screen .settings-fold-head:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#screen .settings-fold-symbol{
  width:40px;height:40px;flex:none;
  display:grid;place-items:center;
  border-radius:12px;
  background:var(--comfort-raised,var(--surface));
  color:var(--comfort-text,var(--ink));
  font-size:23px;font-weight:500;
}
#screen .settings-fold-titles{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
#screen .settings-fold-titles strong{font-size:15px;line-height:1.3;color:var(--comfort-text,var(--ink))}
#screen .settings-fold-titles small{font-size:12px;line-height:1.35;color:var(--comfort-sub,var(--muted))}
#screen .settings-fold-chevron{font-size:23px;transition:transform .15s ease;color:var(--comfort-text,var(--ink))}
#screen .settings-fold[open] .settings-fold-chevron{transform:rotate(180deg)}
#screen .settings-fold-body{padding:0 13px 14px;border-top:1px solid var(--comfort-border,var(--line))}
#screen .settings-fold-body>.panel,#screen .settings-fold-body>.v2-card{
  margin:0!important;padding:13px 0 0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#screen .settings-original-heading{display:none}
#screen .settings-fold-body .warning{color:var(--comfort-text,var(--ink));background:var(--comfort-raised,var(--surface));border-color:var(--accent)}
#screen .settings-fold-body .row{flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){#screen .settings-fold-chevron{transition:none}}
/* V3.7: properly aligned profile icon, replacing placeholder chess pawn */
.hero-topline .hero-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.hero-topline .profile-open,.hero-topline .hero-theme{align-self:center;flex-shrink:0}
.hero-topline .profile-open,.hero-topline .profile-open:not(.home-action){
  display:inline-flex!important;align-items:center;justify-content:center;
  width:38px!important;height:38px!important;min-width:38px;
  padding:0!important;line-height:1!important;
}
.hero-topline .profile-open svg{display:block;width:21px;height:21px}
/* V3.8 Floating Island navigation — theme-aware, reduced-stimulation friendly */
:root,[data-theme="coastal"]{--dock-bg:#fffffff0;--dock-border:#d3e7e1;--dock-icon:#587e7b;--dock-selected:#d8f0e9;--dock-selected-text:#176e68;--dock-glow:#3baca0}
[data-theme="twilight"]{--dock-bg:#243c49f5;--dock-border:#526b79;--dock-icon:#bfd7db;--dock-selected:#365c66;--dock-selected-text:#b5fff0;--dock-glow:#79dccc}
[data-theme="botanical"]{--dock-bg:#fffffff2;--dock-border:#dfdce9;--dock-icon:#66817e;--dock-selected:#d9f4e9;--dock-selected-text:#087f7d;--dock-glow:#4bc3ac}
[data-theme="quiet"]{--dock-bg:#e7ece8f7;--dock-border:#cbd6ce;--dock-icon:#566c63;--dock-selected:#d4ded6;--dock-selected-text:#385e51;--dock-glow:transparent}
[data-theme="ember"]{--dock-bg:#273330f5;--dock-border:#536258;--dock-icon:#c6d2c7;--dock-selected:#3f5446;--dock-selected-text:#f4d0a0;--dock-glow:#c99b6b}
.nav{position:fixed!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;left:50%!important;transform:translateX(-50%)!important;width:calc(min(560px,100%) - 24px)!important;max-width:536px;display:flex!important;align-items:stretch;gap:2px!important;padding:7px!important;border:1px solid var(--dock-border)!important;border-radius:28px!important;background:var(--dock-bg)!important;box-shadow:0 8px 28px #0b2a2c25,0 2px 8px #0b2a2c12!important;z-index:40!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.nav button.aurivo-nav-item,.nav button.aurivo-nav-item:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day){flex:1 1 0;min-width:0;min-height:55px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0!important;border-radius:19px!important;padding:7px 1px!important;background:transparent!important;color:var(--dock-icon)!important;font-size:11px!important;line-height:1.15!important;opacity:1!important;box-shadow:none!important;text-shadow:none!important;transition:background .16s ease,color .16s ease}
.nav button.aurivo-nav-item.active,.nav button.aurivo-nav-item.active:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day),[data-theme="twilight"] .nav button.aurivo-nav-item.active{background:var(--dock-selected)!important;color:var(--dock-selected-text)!important;box-shadow:inset 0 0 0 1px var(--dock-border),0 0 12px -5px var(--dock-glow)!important}
.nav .aurivo-nav-icon{width:23px;height:23px;display:block;flex:none}.nav .aurivo-nav-icon svg{width:100%;height:100%;display:block}.nav .aurivo-nav-label{display:block;white-space:nowrap;font-size:10px;font-weight:650;letter-spacing:-.01em}.nav button.aurivo-nav-item.active .aurivo-nav-label{font-weight:750}.nav button.aurivo-nav-item:focus-visible{outline:3px solid var(--accent)!important;outline-offset:1px!important}
.shell{padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))!important}#toast{bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
.low-stim .nav,.low-stim .nav button.aurivo-nav-item{box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:none!important}.low-stim .nav button.aurivo-nav-item.active{box-shadow:none!important}
@media(prefers-reduced-motion:reduce){.nav button.aurivo-nav-item{transition:none!important}}
@media(max-width:360px){.nav{width:calc(100% - 12px)!important;padding:5px!important;gap:0!important}.nav button.aurivo-nav-item{min-height:54px!important}.nav .aurivo-nav-label{font-size:9px}}


/* V3.8.1 — reduced stimulation should have a purpose-built compact home header.
   This affects only reduced-stimulation mode; normal scenic layout is unchanged. */
html.low-stim .hero-art {
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:transparent!important;
  background-image:none!important;
}
html.low-stim .hero-brand,
html.low-stim .landscape { display:none!important; }
html.low-stim .hero-topline {
  position:relative!important;
  padding:13px 20px 9px!important;
  min-height:54px;
}
html.low-stim .home-welcome,
html.low-stim .home-welcome:not(.home-action):not(.hero-theme):not(.theme-option):not(.reduce-btn):not(.ghost):not(.secondary):not(.pill):not(.danger):not(.v21-link):not(.day) {
  position:relative!important;
  margin:8px 16px 12px!important;
  width:calc(100% - 32px)!important;
  transform:none!important;
  inset:auto!important;
}
@media(max-width:380px){
 html.low-stim .hero-topline{padding:12px 12px 7px!important}
 html.low-stim .home-welcome{margin:8px 10px 12px!important;width:calc(100% - 20px)!important}
}

/* V3.9 — themed Daily Log journal. All data inputs remain original nodes. */
html.daily-journal-active .top{display:none!important}
.daily-journal-banner{position:relative;isolation:isolate;min-height:188px;overflow:hidden;border-radius:25px;margin:4px 0 15px;display:flex;align-items:flex-end;background:linear-gradient(145deg,#285b61,#598e86);color:#fff!important;box-shadow:0 8px 22px #081c211e}
.daily-journal-scenery{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#082d37aa,#123c4b12 70%),url('art/coastal.webp') center 48%/cover no-repeat}
.daily-journal-banner-copy{padding:24px 22px 22px;text-shadow:0 2px 8px #092c3b99}
.daily-journal-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.15em;margin-bottom:7px;color:#e1f7f1}
.daily-journal-banner h1{margin:0 0 5px!important;font-size:clamp(25px,6vw,35px);font-weight:800;line-height:1.1;color:#fff!important}
.daily-journal-banner p{margin:0;color:#f0f9f5;font-size:14px;font-weight:550}
[data-theme="twilight"] .daily-journal-scenery{background-image:linear-gradient(0deg,#142637b8,#14263711 75%),url('art/twilight.webp')}
[data-theme="botanical"] .daily-journal-scenery{background-image:linear-gradient(0deg,#1b5254ad,#1b525400 75%),url('art/botanical.webp')}
[data-theme="quiet"] .daily-journal-scenery{background-image:linear-gradient(0deg,#2d4b46b5,#2d4b4608 75%),url('art/quiet-new.webp')}
[data-theme="ember"] .daily-journal-scenery{background-image:linear-gradient(0deg,#1c302cb8,#1c302c15 75%),url('art/ember-new.webp')}
html.low-stim .daily-journal-banner{min-height:0;background:var(--comfort-card)!important;border:1px solid var(--comfort-border);box-shadow:none!important;color:var(--comfort-text)!important}
html.low-stim .daily-journal-scenery{display:none!important}
html.low-stim .daily-journal-banner-copy{padding:20px;text-shadow:none!important}
html.low-stim .daily-journal-banner h1{color:var(--comfort-text)!important}
html.low-stim .daily-journal-banner p,html.low-stim .daily-journal-eyebrow{color:var(--comfort-sub)!important}
#screen .daily-date-card,#screen .daily-status-panel,#screen .daily-quick-card{border-radius:20px!important;background:var(--comfort-card)!important;border:1px solid var(--comfort-border)!important;color:var(--comfort-text)!important}
#screen .daily-date-card{padding:19px!important;margin-bottom:14px}
#screen .daily-date-card h2{font-size:20px!important;color:var(--comfort-text)!important}
#screen .daily-autosave{display:inline-flex;align-items:center;gap:5px;font-size:12px!important;color:var(--comfort-selected)!important;font-weight:700;white-space:nowrap}
#screen .daily-autosave svg{width:17px;height:17px}
#screen .daily-date-card input[type="date"]{background:var(--comfort-input)!important;color:var(--comfort-text)!important;border-color:var(--comfort-border)!important;border-radius:13px!important;min-height:51px}
#screen .daily-date-card .muted{color:var(--comfort-sub)}
#screen .daily-status-panel{padding:8px!important;background:transparent!important;border:0!important}
#screen .daily-fold{background:var(--comfort-card);border:1px solid var(--comfort-border);border-radius:17px;overflow:hidden;margin:0 0 12px;color:var(--comfort-text)}
#screen .daily-fold-head{display:flex;align-items:center;gap:12px;padding:15px 13px;cursor:pointer;list-style:none;min-height:70px}
#screen .daily-fold-head::-webkit-details-marker{display:none}
#screen .daily-fold-head::marker{content:''}
#screen .daily-fold-head:focus-visible{outline:3px solid var(--comfort-selected);outline-offset:-3px}
#screen .daily-fold-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:var(--comfort-raised);color:var(--comfort-selected);flex:none}
#screen .daily-fold-icon svg{width:22px;height:22px}
#screen .daily-fold-labels{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
#screen .daily-fold-labels strong{font-size:15px;color:var(--comfort-text)}
#screen .daily-fold-labels small{font-size:12px;color:var(--comfort-sub);line-height:1.3}
#screen .daily-fold-arrow{font-size:23px;color:var(--comfort-sub);transition:transform .15s}
#screen .daily-fold[open] .daily-fold-arrow{transform:rotate(180deg)}
#screen .daily-fold-body{padding:17px 14px 18px;border-top:1px solid var(--comfort-border)}
#screen .daily-fold-body>.field:first-child{margin-top:0}
#screen .daily-fold-body input,#screen .daily-fold-body select,#screen .daily-fold-body textarea{background:var(--comfort-input)!important;color:var(--comfort-text)!important;border-color:var(--comfort-border)!important}
#screen .daily-fold-body .muted{color:var(--comfort-sub)}
#screen .daily-quick-card{padding:19px!important}
@media(prefers-reduced-motion:reduce){#screen .daily-fold-arrow{transition:none}}

/* V4.0 — History & Insights presentation refresh */
html.history-refresh-active .top{display:none!important}
.history-refresh-banner{position:relative;isolation:isolate;min-height:175px;overflow:hidden;border-radius:25px;margin:4px 0 15px;display:flex;align-items:flex-end;background:#285b61;color:#fff!important;box-shadow:0 8px 22px #081c211e}
.history-refresh-scenery{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#082d37b9,#123c4b12 75%),url('art/coastal.webp') center 48%/cover no-repeat}
.history-refresh-banner-copy{padding:23px 22px 21px;text-shadow:0 2px 8px #092c3b99}
.history-refresh-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.15em;margin-bottom:7px;color:#e1f7f1}
.history-refresh-banner h1{margin:0 0 5px!important;font-size:clamp(25px,6vw,35px);font-weight:800;line-height:1.1;color:#fff!important}
.history-refresh-banner p{margin:0;color:#f0f9f5;font-size:14px;font-weight:550}
[data-theme="twilight"] .history-refresh-scenery{background-image:linear-gradient(0deg,#142637b8,#14263711 75%),url('art/twilight.webp')}
[data-theme="botanical"] .history-refresh-scenery{background-image:linear-gradient(0deg,#1b5254ad,#1b525400 75%),url('art/botanical.webp')}
[data-theme="quiet"] .history-refresh-scenery{background-image:linear-gradient(0deg,#2d4b46b5,#2d4b4608 75%),url('art/quiet-new.webp')}
[data-theme="ember"] .history-refresh-scenery{background-image:linear-gradient(0deg,#1c302cb8,#1c302c15 75%),url('art/ember-new.webp')}
html.low-stim .history-refresh-banner{min-height:0;background:var(--comfort-card)!important;border:1px solid var(--comfort-border);box-shadow:none!important;color:var(--comfort-text)!important}
html.low-stim .history-refresh-scenery{display:none!important}
html.low-stim .history-refresh-banner-copy{padding:20px;text-shadow:none!important}
html.low-stim .history-refresh-banner h1{color:var(--comfort-text)!important}
html.low-stim .history-refresh-banner p,html.low-stim .history-refresh-eyebrow{color:var(--comfort-sub)!important}
#screen .history-overview,#screen .history-calendar-panel,#screen .history-extras{border-radius:20px!important;background:var(--comfort-card)!important;border:1px solid var(--comfort-border)!important;color:var(--comfort-text)!important}
#screen .history-overview{padding:19px!important}
#screen .history-overview h2{font-size:20px!important;margin-bottom:14px!important}
#screen .history-metrics{gap:10px;margin-top:18px}
#screen .history-metric{background:var(--comfort-raised)!important;border:1px solid var(--comfort-border)!important;border-radius:16px!important;padding:15px!important;min-width:0}
#screen .history-metric b{font-size:29px!important;line-height:1.15}
.history-metric-icon{display:block;font-size:17px;color:var(--accent);margin-bottom:8px;font-weight:800}
#screen .history-calendar-panel{padding:16px!important}
#screen .history-extras{padding:15px!important}
#screen .history-fold{margin:0!important;border:1px solid var(--comfort-border);border-radius:15px;background:var(--comfort-raised);overflow:hidden}
#screen .history-fold+.history-fold{margin-top:11px!important}
#screen .history-fold-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:16px;color:var(--comfort-text)!important}
#screen .history-fold-heading::-webkit-details-marker{display:none}
.history-fold-title{display:flex;flex-direction:column;gap:4px;min-width:0}
.history-fold-title strong{font-size:16px}
.history-fold-title small{font-size:12px;font-weight:400;color:var(--comfort-sub)}
.history-fold-chevron{font-size:24px;line-height:1;transition:transform .15s ease}
.history-fold[open] .history-fold-chevron{transform:rotate(180deg)}
.history-fold-body{padding:0 14px 15px}
#screen .history-fold-body .v2-day-info{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#screen .history-fold-body .v2-day-info>h3{display:none}
#screen .history-fold-body .v2-key{margin-top:2px}
@media(prefers-reduced-motion:reduce){.history-fold-chevron{transition:none}}
html.low-stim .history-fold-chevron{transition:none}

/* V4.1 — Treatment journal */
.treatment-journal-hero{position:relative;overflow:hidden;isolation:isolate;border-radius:22px;min-height:155px;margin:0 0 22px;padding:25px 23px;display:flex;align-items:end;background:linear-gradient(130deg,#124e58,#246d69);color:#fff}
.treatment-journal-scenery{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,32,37,.72),rgba(0,32,37,.12)),url('art/coastal.webp') center 52%/cover no-repeat}
.treatment-journal-copy span{font-size:10px;font-weight:700;letter-spacing:.14em;opacity:.9}.treatment-journal-copy h1{color:#fff;font-size:clamp(24px,5vw,32px);margin:7px 0 5px}.treatment-journal-copy p{margin:0;color:#fff;opacity:.94;font-size:13px}
.treatment-journal-panel{margin-bottom:18px}.treatment-journal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.treatment-journal-heading h2{margin:0}.treatment-journal-chip{font-size:12px;border:1px solid currentColor;border-radius:30px;padding:5px 11px;opacity:.8}.treatment-journal-panel h3{margin:24px 0 12px}.treatment-journal-fields>.field{margin-bottom:14px}.treatment-journal-hint{margin:-7px 0 14px}.treatment-journal-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.treatment-past{border-top:1px solid var(--border,rgba(120,150,145,.3));padding-top:15px;margin-top:15px}.treatment-past summary{cursor:pointer;font-weight:700}.treatment-past-list{margin-top:12px}.treatment-past-item{border:1px solid var(--border,rgba(120,150,145,.3));border-radius:14px;padding:14px;margin:10px 0}.treatment-past-item p{margin:6px 0;overflow-wrap:anywhere}.treatment-past-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.treatment-delete{border-color:#ad6868!important;color:inherit}
body[data-theme="twilight"] .treatment-journal-scenery,html[data-theme="twilight"] .treatment-journal-scenery{background-image:linear-gradient(90deg,rgba(18,18,38,.7),rgba(18,18,38,.1)),url('art/twilight.webp')}
body[data-theme="botanical"] .treatment-journal-scenery,html[data-theme="botanical"] .treatment-journal-scenery{background-image:linear-gradient(90deg,rgba(7,46,40,.7),rgba(7,46,40,.1)),url('art/botanical.webp')}
body[data-theme="quiet"] .treatment-journal-scenery,html[data-theme="quiet"] .treatment-journal-scenery{background-image:linear-gradient(90deg,rgba(42,60,62,.7),rgba(42,60,62,.1)),url('art/quiet-new.webp')}
body[data-theme="ember"] .treatment-journal-scenery,html[data-theme="ember"] .treatment-journal-scenery{background-image:linear-gradient(90deg,rgba(26,32,29,.75),rgba(26,32,29,.1)),url('art/ember-new.webp')}
html.low-stim .treatment-journal-hero{min-height:0;padding:20px 22px;background:var(--panel,#345e59);color:var(--text,#fff)}
html.low-stim .treatment-journal-scenery{display:none}
html.low-stim .treatment-journal-copy h1,html.low-stim .treatment-journal-copy p{color:inherit}

/* V4.1.1: Treatments has its own scenic page heading; suppress only the legacy
   shared banner on this tab, leaving all other screens untouched. */
.top:has(~ .content .treatment-journal-hero){display:none!important}

/* V4.1.2 — consistent inner-page headers; Home intentionally excluded. */
.daily-journal-banner,.history-refresh-banner,.treatment-journal-hero,.settings-journal-banner{
  box-sizing:border-box!important;
  width:100%;height:188px!important;min-height:188px!important;
  margin:4px 0 15px!important;padding:0!important;
  border-radius:25px!important;display:flex;align-items:flex-end;
  position:relative;overflow:hidden;isolation:isolate;
  box-shadow:0 8px 22px #081c211e;
}
.daily-journal-banner-copy,.history-refresh-banner-copy,.treatment-journal-copy,.settings-journal-banner-copy{
  box-sizing:border-box;padding:24px 22px 22px!important;width:100%;
  text-shadow:0 2px 8px #092c3b99;
}
.daily-journal-eyebrow,.history-refresh-eyebrow,.treatment-journal-copy>span,.settings-journal-eyebrow{
  display:block;font-size:11px!important;font-weight:800!important;
  letter-spacing:.15em!important;margin:0 0 7px!important;
  color:#e1f7f1!important;opacity:1!important;
}
.daily-journal-banner h1,.history-refresh-banner h1,.treatment-journal-copy h1,.settings-journal-banner h1{
  font-size:clamp(25px,6vw,35px)!important;font-weight:800!important;
  line-height:1.1!important;margin:0 0 5px!important;color:#fff!important;
}
.daily-journal-banner p,.history-refresh-banner p,.treatment-journal-copy p,.settings-journal-banner p{
  margin:0!important;font-size:14px!important;font-weight:550!important;
  line-height:1.35!important;color:#f0f9f5!important;opacity:1!important;
}
.settings-journal-banner{background:#285b61;color:#fff!important}
.settings-journal-scenery{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#082d37b9,#123c4b12 75%),url('art/coastal.webp') center 48%/cover no-repeat}
[data-theme="twilight"] .settings-journal-scenery{background-image:linear-gradient(0deg,#142637b8,#14263711 75%),url('art/twilight.webp')}
[data-theme="botanical"] .settings-journal-scenery{background-image:linear-gradient(0deg,#1b5254ad,#1b525400 75%),url('art/botanical.webp')}
[data-theme="quiet"] .settings-journal-scenery{background-image:linear-gradient(0deg,#2d4b46b5,#2d4b4608 75%),url('art/quiet-new.webp')}
[data-theme="ember"] .settings-journal-scenery{background-image:linear-gradient(0deg,#1c302cb8,#1c302c15 75%),url('art/ember-new.webp')}
html.settings-header-active .top{display:none!important}
#screen>.settings-original-page-heading,#screen>.settings-original-page-intro{display:none!important}
html.low-stim .daily-journal-banner,html.low-stim .history-refresh-banner,
html.low-stim .treatment-journal-hero,html.low-stim .settings-journal-banner{
 height:150px!important;min-height:150px!important;
 background:var(--comfort-card)!important;border:1px solid var(--comfort-border)!important;
 color:var(--comfort-text)!important;box-shadow:none!important;
}
html.low-stim .settings-journal-scenery{display:none!important}
html.low-stim .daily-journal-banner-copy,html.low-stim .history-refresh-banner-copy,
html.low-stim .treatment-journal-copy,html.low-stim .settings-journal-banner-copy{
 padding:24px 22px 22px!important;text-shadow:none!important;
}
html.low-stim .daily-journal-banner h1,html.low-stim .history-refresh-banner h1,
html.low-stim .treatment-journal-copy h1,html.low-stim .settings-journal-banner h1{color:var(--comfort-text)!important}
html.low-stim .daily-journal-banner p,html.low-stim .history-refresh-banner p,
html.low-stim .treatment-journal-copy p,html.low-stim .settings-journal-banner p,
html.low-stim .daily-journal-eyebrow,html.low-stim .history-refresh-eyebrow,
html.low-stim .treatment-journal-copy>span,html.low-stim .settings-journal-eyebrow{color:var(--comfort-sub)!important}

/* V4.1.3 — only Treatments and Settings: match History overlay and place Settings first. */
.treatment-journal-scenery{background-image:linear-gradient(0deg,#082d37b9,#123c4b12 75%),url('art/coastal.webp')!important}
[data-theme="twilight"] .treatment-journal-scenery{background-image:linear-gradient(0deg,#142637b8,#14263711 75%),url('art/twilight.webp')!important}
[data-theme="botanical"] .treatment-journal-scenery{background-image:linear-gradient(0deg,#1b5254ad,#1b525400 75%),url('art/botanical.webp')!important}
[data-theme="quiet"] .treatment-journal-scenery{background-image:linear-gradient(0deg,#2d4b46b5,#2d4b4608 75%),url('art/quiet-new.webp')!important}
[data-theme="ember"] .treatment-journal-scenery{background-image:linear-gradient(0deg,#1c302cb8,#1c302c15 75%),url('art/ember-new.webp')!important}
.treatment-journal-copy{position:relative;z-index:1;color:#fff!important}
.settings-journal-banner{order:-1}

/* V4.1.4 — Align Treatments scenery with approved Settings header. */
.treatment-journal-scenery{background-position:center 48%!important}

/* V4.2 — Profile-only refresh; reuse approved inner-page hero geometry. */
.top:has(~ .content .profile-journal-banner){display:none!important}
.profile-journal-banner{box-sizing:border-box;width:100%;height:188px;min-height:188px;margin:4px 0 15px;border-radius:25px;display:flex;align-items:flex-end;position:relative;overflow:hidden;isolation:isolate;background:#285b61;color:#fff;box-shadow:0 8px 22px #081c211e}
.profile-journal-scenery{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#082d37b9,#123c4b12 75%),url('art/coastal.webp') center 48%/cover no-repeat}
[data-theme="twilight"] .profile-journal-scenery{background-image:linear-gradient(0deg,#142637b8,#14263711 75%),url('art/twilight.webp')}
[data-theme="botanical"] .profile-journal-scenery{background-image:linear-gradient(0deg,#1b5254ad,#1b525400 75%),url('art/botanical.webp')}
[data-theme="quiet"] .profile-journal-scenery{background-image:linear-gradient(0deg,#2d4b46b5,#2d4b4608 75%),url('art/quiet-new.webp')}
[data-theme="ember"] .profile-journal-scenery{background-image:linear-gradient(0deg,#1c302cb8,#1c302c15 75%),url('art/ember-new.webp')}
.profile-journal-banner-copy{box-sizing:border-box;padding:24px 22px 22px;width:100%;text-shadow:0 2px 8px #092c3b99}
.profile-journal-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.15em;margin:0 0 7px;color:#e1f7f1}
.profile-journal-banner h1{font-size:clamp(25px,6vw,35px)!important;font-weight:800;line-height:1.1;margin:0 0 5px!important;color:#fff!important}
.profile-journal-banner p{margin:0!important;font-size:14px;font-weight:550;line-height:1.35;color:#f0f9f5}
.profile-journal-panel{margin:0 0 12px!important;padding:22px!important}
.profile-journal-intro{display:flex;align-items:center;gap:13px;margin-bottom:20px}
.profile-journal-intro h2{margin:0 0 5px;font-size:19px}
.profile-journal-intro p{margin:0;font-size:13px}
.profile-journal-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--comfort-card,#dcece7);color:var(--comfort-text,#145c63);font-size:23px}
.profile-journal-panel input{box-sizing:border-box;width:100%;margin:8px 0 5px}
.profile-journal-help{margin:2px 0 18px}
.profile-journal-privacy{padding:15px 16px;border-radius:14px;background:var(--comfort-card,rgba(130,180,170,.12));border:1px solid var(--comfort-border,rgba(130,180,170,.25));margin:0 0 20px}
.profile-journal-privacy strong{font-size:13px}
.profile-journal-privacy p{margin:7px 0 0;font-size:12px;line-height:1.55}
.profile-journal-back{margin:4px 0 18px!important}
html.low-stim .profile-journal-banner{height:150px;min-height:150px;background:var(--comfort-card)!important;border:1px solid var(--comfort-border);color:var(--comfort-text)!important;box-shadow:none!important}
html.low-stim .profile-journal-scenery{display:none!important}
html.low-stim .profile-journal-banner-copy{text-shadow:none!important}
html.low-stim .profile-journal-banner h1{color:var(--comfort-text)!important}
html.low-stim .profile-journal-banner p,html.low-stim .profile-journal-eyebrow{color:var(--comfort-sub)!important}

/* MiAurivo brand refresh — V4.3. No tracking/storage changes. */
.hero-brand .brand-name{font-family:Georgia,serif;font-size:clamp(43px,9vw,62px);font-weight:500;letter-spacing:-.045em;line-height:1.1}
.hero-brand .brand-underline{width:min(210px,48%);height:13px;margin:0 auto 4px;background:url('art/miaurivo-underline.svg') center / 100% 100% no-repeat;filter:drop-shadow(0 1px 3px #142d3650)}
.hero-brand .brand-tagline{margin-top:5px}
.welcome-emblem,.home-welcome .welcome-emblem,[data-theme="ember"] .welcome-emblem{display:grid;place-items:center;background:transparent!important;border:none!important;box-shadow:none!important;border-radius:0;color:inherit!important;padding:0;overflow:visible}
.welcome-emblem .miaurivo-wave{display:block;width:100%;max-width:52px;height:auto;max-height:40px;overflow:visible;filter:drop-shadow(0 1px 2px #001d2940)}
html.low-stim .welcome-emblem .miaurivo-wave{filter:none}
html.low-stim .brand-underline{filter:none}
@media(max-width:380px){.hero-brand .brand-name{font-size:clamp(42px,12vw,53px)}.hero-brand .brand-underline{width:175px}}

/* V4.3.1 — shared two-ribbon brand mark; no app data changes */
:root{--mi-wave-a:#09d8d1;--mi-wave-light:#9ffff0;--mi-wave-b:#b46cff}
[data-theme="coastal"]{--mi-wave-a:#15b8ba;--mi-wave-light:#a4f4e7;--mi-wave-b:#80a9d1}
[data-theme="twilight"]{--mi-wave-a:#09d8d1;--mi-wave-light:#a4fff1;--mi-wave-b:#b46cff}
[data-theme="botanical"]{--mi-wave-a:#36c8a1;--mi-wave-light:#c0f5d6;--mi-wave-b:#8dbb81}
[data-theme="quiet"]{--mi-wave-a:#78a8b5;--mi-wave-light:#e1f1f2;--mi-wave-b:#a7a3c7}
[data-theme="ember"]{--mi-wave-a:#d58b57;--mi-wave-light:#f6d3a2;--mi-wave-b:#c78978}
.hero-brand .brand-name{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}
.hero-brand .brand-underline{display:flex;align-items:center;justify-content:center;width:min(210px,50%);height:27px;margin:-3px auto 1px;background:none;filter:drop-shadow(0 1px 3px #142d3650)}
.hero-brand .miaurivo-underline-wave{display:block;width:100%;height:100%;overflow:visible}
.welcome-emblem .miaurivo-wave{width:100%;max-width:58px;height:auto;max-height:45px;display:block;overflow:visible}
@media(max-width:380px){.hero-brand .brand-underline{width:185px;height:24px}}

/* V4.3.2: single logo ribbon, full wordmark width, modern light wordmark. */
.hero-brand .brand-name{font-family:'Avenir Next','Century Gothic','Segoe UI Light','Segoe UI',Arial,sans-serif;font-weight:300;letter-spacing:-.055em;font-size:clamp(46px,9.7vw,65px);line-height:1.08;text-shadow:0 2px 5px #06171e85}
.hero-brand .brand-underline{width:min(320px,78%);height:40px;margin:-5px auto -4px;background:none;display:flex;align-items:center;justify-content:center}
.hero-brand .miaurivo-underline-wave{width:100%;height:100%;display:block}
.welcome-emblem .miaurivo-wave{width:100%;max-width:58px;height:auto;display:block}
@media(max-width:380px){.hero-brand .brand-name{font-size:clamp(43px,11vw,56px)}.hero-brand .brand-underline{width:min(275px,78%);height:35px}}

/* V4.3.3 — typography hierarchy and distinct two-wave greeting emblem. */
:root{--mi-display-font:'Avenir Next','Century Gothic','Segoe UI Light','Segoe UI',Arial,sans-serif}
.daily-journal-banner h1,.history-refresh-banner h1,.treatment-journal-copy h1,.settings-journal-banner h1,.profile-journal-banner h1{
 font-family:var(--mi-display-font)!important;font-weight:300!important;letter-spacing:-.045em!important;
 font-size:clamp(30px,6.6vw,39px)!important;line-height:1.12!important;text-shadow:0 2px 5px #071c2680!important;
}
.welcome-copy strong{font-family:var(--mi-display-font)!important;font-weight:600!important;letter-spacing:-.025em;text-shadow:0 1px 2px #071c2633}
.home-action .action-copy strong{font-family:var(--mi-display-font)!important;font-weight:650!important;letter-spacing:-.025em}
.welcome-emblem .miaurivo-wave{max-width:58px;height:43px;max-height:43px}
html.low-stim .daily-journal-banner h1,html.low-stim .history-refresh-banner h1,html.low-stim .treatment-journal-copy h1,html.low-stim .settings-journal-banner h1,html.low-stim .profile-journal-banner h1{text-shadow:none!important}

/* V4.4 — Aura & neurological symptom journal */
.mia-neuro-panel{padding:0!important;overflow:hidden}.mia-neuro-fold>summary{list-style:none;display:flex;align-items:center;gap:13px;padding:19px 21px;cursor:pointer}.mia-neuro-fold>summary::-webkit-details-marker{display:none}.mia-neuro-fold>summary strong{display:block;font-weight:650;font-size:1.04rem}.mia-neuro-fold>summary small{display:block;opacity:.7;font-size:.81rem;margin-top:4px}.mia-neuro-symbol{font-size:26px;color:var(--accent,var(--primary,#58a9a2));width:34px;text-align:center}.mia-neuro-chevron{margin-left:auto;opacity:.65;transition:transform .2s}.mia-neuro-fold[open] .mia-neuro-chevron{transform:rotate(180deg)}.mia-neuro-content{padding:0 21px 22px}.mia-neuro-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin:12px 0 18px}.mia-neuro-options .check{min-width:0}@media(max-width:520px){.mia-neuro-options{grid-template-columns:1fr}}

/* V4.5: sixth theme — Blush & Bloom, soft warm-white palette and lake scenery. */
[data-theme="blush"]{
 --page:#fffafa;--surface:#ffffff;--ink:#67465b;--muted:#806779;
 --primary:#98617f;--secondary:#b67e9b;--accent:#ad83ae;--line:#eadce4;
 --mig:#a76b88;--daily:#b6819d;--clear:#9e82ac;
 --stat1:#f7e8ee;--stat2:#f9f0e8;--stat3:#f3eaf5;
 --hero-image:url('art/blush.webp');
 --comfort-card:#fff7fa;--comfort-raised:#f9ebf1;--comfort-input:#fffafd;
 --comfort-text:#67465b;--comfort-sub:#806779;--comfort-border:#e5cad8;--comfort-selected:#a46b8b;
 --dock-bg:#fffafdf7;--dock-border:#eadce4;--dock-icon:#a07791;--dock-selected:#f4dfe9;--dock-selected-text:#744c66;--dock-glow:#e9b6cf;
 --mi-wave-a:#d28da9;--mi-wave-light:#ffe5ed;--mi-wave-b:#a58cbd;
 color-scheme:light;
}
[data-theme="blush"] .hero-art{background-image:linear-gradient(to bottom,#fff8fc14 0%,#fff8fc00 55%,var(--page) 100%),url('art/blush.webp')}
[data-theme="blush"] .hero-brand{color:#fffafc;text-shadow:0 2px 10px #5a334f,0 1px 4px #5a334f}
[data-theme="blush"] .hero-topline{color:#fffafc;text-shadow:0 1px 5px #52364d}
[data-theme="blush"] .hero-theme,[data-theme="blush"] .profile-open{background:#fffafce8!important;color:#67465b!important;border-color:#eedce7!important;text-shadow:none}
[data-theme="blush"] .home-affirmation{background-image:linear-gradient(90deg,#fff7f7c7,#f8e8f2bc),url('art/blush.webp')}
[data-theme="blush"] .action-migraine{background:linear-gradient(145deg,#c78ca7,#98617f)!important}
[data-theme="blush"] .action-daily{background:linear-gradient(145deg,#d8a8bb,#ad7699)!important}
[data-theme="blush"] .action-clear{background:linear-gradient(145deg,#bca2cb,#9677ad)!important}
[data-theme="blush"] .home-welcome{background:linear-gradient(110deg,#fff7f9,#f9edf3)!important;border-color:#eadce4!important}
[data-theme="blush"] .theme-swatch.blush{background:linear-gradient(135deg,#fffafa 0% 38%,#e7b7cb 39% 69%,#a58cbd 70%)}
.theme-swatch.blush{background:linear-gradient(135deg,#fffafa 0% 38%,#e7b7cb 39% 69%,#a58cbd 70%)}
[data-theme="blush"] .daily-journal-scenery,[data-theme="blush"] .history-refresh-scenery,[data-theme="blush"] .settings-journal-scenery,[data-theme="blush"] .profile-journal-scenery{background-image:linear-gradient(0deg,#704e64a3,#704e6408 75%),url('art/blush.webp')}
[data-theme="blush"] .treatment-journal-scenery{background-image:linear-gradient(0deg,#704e64a3,#704e6408 75%),url('art/blush.webp')!important}

/* V4.5.3 — About MiAurivo; inherits each theme's colour tokens */
#screen .mia-about-panel{color:var(--comfort-text,var(--ink))}
#screen .mia-about-brand{display:flex;flex-direction:column;align-items:center;gap:6px;padding:17px 8px 11px;text-align:center}
#screen .mia-about-wordmark{font-size:clamp(29px,5vw,40px);font-weight:300;letter-spacing:.035em;line-height:1.2;color:var(--accent)}
#screen .mia-about-tagline{font-size:12px;color:var(--comfort-sub,var(--muted))}
#screen .mia-about-divider{height:1px;background:var(--comfort-border,var(--line));margin:19px 0}
#screen .mia-about-kicker{font-size:11px;letter-spacing:.13em;font-weight:700;color:var(--accent);margin:0 0 10px}
#screen .mia-about-pronunciation{font-size:clamp(20px,4vw,29px);letter-spacing:.025em;font-weight:400;line-height:1.4;margin:4px 0 8px;color:var(--comfort-text,var(--ink))}
#screen .mia-about-note{font-size:13px;line-height:1.6}
#screen .mia-about-panel p:not(.mia-about-pronunciation):not(.mia-about-kicker):not(.mia-about-tagline):not(.mia-about-note):not(.mia-about-footer){line-height:1.7}
#screen .mia-about-footer{text-align:center;color:var(--comfort-sub,var(--muted));font-size:12px;margin:8px 0}

/* V4.5.5 — quiet personal dedication in About MiAurivo */
#screen .mia-about-dedication{font-size:12px;line-height:1.65;font-style:italic;text-align:center;color:var(--comfort-sub,var(--muted));max-width:420px;margin:18px auto 14px;padding:0 8px;font-weight:400}

/* V4.5.6 — Botanical Glow: readable ivory hero branding over bright scenery. */
[data-theme="botanical"] .hero-brand{color:#fffdf4;text-shadow:0 2px 5px rgba(8,43,49,.9),0 4px 18px rgba(8,43,49,.7)}
[data-theme="botanical"] .hero-brand .brand-name{text-shadow:0 2px 5px rgba(8,43,49,.92),0 4px 15px rgba(8,43,49,.68)}
[data-theme="botanical"] .hero-brand .brand-tagline{color:#fffdf4;text-shadow:0 1px 4px rgba(8,43,49,.95),0 2px 8px rgba(8,43,49,.75)}
[data-theme="botanical"] .hero-brand .brand-underline{filter:drop-shadow(0 2px 3px rgba(8,43,49,.75))}
