/* OZEN glass editorial v2. Presentation only; existing routes and actions retained. */
html[data-theme=dark]{--bg:#030d1b;--ink:#f4f8ff;--muted:#aec2dc;--line:#99caff35;--blue:#65c6ff}
html[data-theme=dark] body{background:radial-gradient(ellipse at 90% 15%,#086ac64a,transparent 52%),radial-gradient(ellipse at 12% 65%,#11568440,transparent 50%),#030d1b;isolation:isolate}
html[data-theme=dark] body:before{content:'';position:fixed;pointer-events:none;z-index:-1;right:-360px;top:110px;width:730px;height:730px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#087ef577,#00244788 50%,#001023);box-shadow:inset 2px 3px 8px #49bdff85,0 0 80px #0059bf22}
html[data-theme=dark] body:after{content:'';position:fixed;pointer-events:none;z-index:-1;right:-260px;top:680px;width:480px;height:480px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#087ef54a,#00244788 50%,#001023);box-shadow:inset 2px 3px 8px #49bdff55}
html[data-theme=dark] header{background:#061526c9;border-color:#84bdef22}
html[data-theme=dark] aside{background:#071626e8;border-color:#84bdef22}
html[data-theme=dark] .card,html[data-theme=dark] .library-banner,html[data-theme=dark] .shop-brand{background:#10243ded;border:1px solid var(--line);border-radius:25px;box-shadow:inset 0 1px 0 #e4f6ff29,0 12px 32px #00000018}
html[data-theme=dark][data-glass=on] .card,html[data-theme=dark][data-glass=on] .library-banner,html[data-theme=dark][data-glass=on] .shop-brand{background:linear-gradient(130deg,#badcff20,#17457438 55%,#05234188)}
/* Only hero and hydration use card blur; the catalog remains cheap to scroll. */
@supports(backdrop-filter:blur(1px)){html[data-theme=dark][data-glass=on] .hero,html[data-theme=dark][data-glass=on] .water{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
html[data-theme=dark] .hero{min-height:235px}.hero h2{font-weight:600;letter-spacing:-.8px}.hero .tag{letter-spacing:2px}.hero p{line-height:1.75}
html[data-theme=dark] .hero-symbol{opacity:.045}html[data-theme=dark] .ring{background:conic-gradient(#24baff var(--pct,0%),#76b9ff24 0)}html[data-theme=dark] .ring>div{background:#09233b}
html[data-theme=dark] .primary{background:linear-gradient(110deg,#009edd,#0873f7);border:1px solid #45d3ff66;box-shadow:inset 0 1px 0 #fff2,0 5px 24px #0084ff18;border-radius:14px}
.secondary,.install-app{border-radius:13px}.tabs button{border-radius:24px}.card h2{font-weight:700}.intro h1{font-weight:600;letter-spacing:-1.1px;line-height:1.25}.intro .sub{line-height:1.75}
html[data-theme=dark] .taskicon,html[data-theme=dark] .avatar{background:#119ce526;color:#70ceff;border:1px solid #97d8ff25}html[data-theme=dark] .task{border-color:#99caff20}.check{accent-color:#078fdb}
html[data-theme=dark] nav a.active{background:#159deb24;border-color:#72cfff40;color:#61c9ff}.brand .brandword{letter-spacing:3px;font-weight:600}.mobile-brand{letter-spacing:2px;font-weight:600}
.library-cover{height:175px;align-items:flex-end;position:relative;isolation:isolate;overflow:hidden;background-image:linear-gradient(0deg,#041324ed,transparent 85%),url('assets/editorial-covers.png');background-size:100% 100%,300% auto;background-position:center,left center;background-repeat:no-repeat;color:#f2f8ff;border-color:#a5cfff30}
.library-cover.workout-cover{background-image:linear-gradient(0deg,#041324ed,transparent 85%),url('assets/editorial-covers.png');background-position:center,center center}.library-cover>span{background:#071a2bd9;border:1px solid #bbe9ff40;border-radius:13px;padding:9px;display:flex}.library-cover .icon{width:25px;height:25px}.library-cover strong{padding:7px 10px;background:#041728d9;border-radius:12px;font-size:10px}.library-cover small{font-size:24px;margin-top:5px}.library-card{gap:17px}.library-card h2{line-height:1.4}.library-card .row:last-child{flex-wrap:wrap;gap:10px}.library-card .primary{min-height:44px}.library-banner{padding:28px}.library-tools input{min-height:46px}.library-sources{padding:20px;border:1px solid var(--line);border-radius:18px}.library-actions{gap:12px}.library-actions button{min-height:44px}
html[data-theme=dark] .storetease{background:radial-gradient(ellipse at right,#0677b84a,transparent 75%),linear-gradient(125deg,#b5dbff15,#05234188)}html[data-theme=dark] .notice{background:#09243de8;border-color:#75bbef38;color:#c4dcee}html[data-theme=dark] .empty{background:#0b2139d9;color:#b4cbe2}html[data-theme=dark] .date{background:#09243b99;border-color:#83c8ff2b}
input:not([type=checkbox]),textarea,select{font-size:16px;border-radius:12px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #28aaff;outline-offset:2px}button:disabled{cursor:default;opacity:.65}.task>div{min-width:0}.history td{overflow-wrap:anywhere}dialog{border-radius:25px}.auth-card{padding:30px!important}.auth-card h1{font-size:29px}.auth-screen .mobile-brand{display:flex}.auth-screen header{justify-content:space-between}.auth-card .primary{min-height:47px}
@media(min-width:1101px){main{max-width:1320px;padding-top:42px}.intro{margin-bottom:30px}.intro h1{font-size:34px}.card{padding:26px}.stat{padding:20px}.library-grid{gap:22px}}
@media(max-width:560px){html[data-theme=dark] body:before{right:-510px;top:110px}html[data-theme=dark] body:after{right:-350px;top:650px}html[data-theme=dark] aside{left:10px;right:10px;bottom:8px;width:calc(100% - 20px);height:calc(70px + env(safe-area-inset-bottom));border:1px solid #8dc6f43b;border-radius:24px;background:#071b31f5;box-shadow:0 5px 30px #0005}html[data-theme=dark][data-glass=on] aside{background:#071b31d9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}#nav a.active{background:#159deb14}.intro h1{font-size:29px}.card{border-radius:23px}.hero{min-height:210px!important}.hero h2{font-size:23px}.hero p{font-size:13px}.stats{gap:8px}.stat{padding:14px 10px;border-radius:17px!important}.stat .value{font-size:22px}.library-card{padding:18px}.library-cover{height:185px}.library-tabs{padding-bottom:5px}.library-tools{margin-top:16px}.library-banner p{line-height:1.7}.library-banner{padding:22px}.header-actions{gap:5px}footer{padding-bottom:calc(115px + env(safe-area-inset-bottom))}#toast{bottom:calc(96px + env(safe-area-inset-bottom))}.auth-card{padding:24px!important}}
@media(prefers-reduced-transparency:reduce){html[data-theme=dark] .card,html[data-theme=dark] aside,html[data-theme=dark] header,html[data-theme=dark] .library-banner,html[data-theme=dark] .shop-brand{background:#10243d!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body:before,body:after{display:none}}
html[data-glass=off] .hero,html[data-glass=off] .water{backdrop-filter:none;-webkit-backdrop-filter:none}

/* Editorial composition: photo stories and category accents. */
.editorial-kicker{display:block;font-size:10px;letter-spacing:1.7px;color:#4f8a79;margin-bottom:9px;font-weight:700}.discovery-section h2{font:600 23px/1.3 Manrope,sans-serif;letter-spacing:-.6px;margin:0}.discovery-section .sectionhead{align-items:end}.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.discovery{position:relative;isolation:isolate;overflow:hidden;min-height:245px;border-radius:22px;text-align:left;color:#fff;border:1px solid #c0e8ee40;padding:17px;display:flex;flex-direction:column;justify-content:space-between;background-image:linear-gradient(0deg,#052b25f5,transparent 100%),url('assets/editorial-covers.png');background-repeat:no-repeat;background-size:100% 100%,300% auto;background-position:center,left center;transition:transform .18s,border-color .18s}.discovery.move{background-image:linear-gradient(0deg,#38231df5,transparent 100%),url('assets/editorial-covers.png');background-position:center,center center}.discovery.calm{background-image:linear-gradient(0deg,#252148f5,transparent 100%),url('assets/editorial-covers.png');background-position:center,right center}.discovery-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dcfff766;background:#093f31cc;color:#b7f6d9;border-radius:13px}.move .discovery-icon{background:#633a29c9;color:#ffe0b9}.calm .discovery-icon{background:#393563c9;color:#e4dcff}.discovery-copy{display:grid;gap:10px}.discovery-copy small{color:#b4f4d6;font-size:9px;letter-spacing:1.3px;font-weight:700}.move .discovery-copy small{color:#ffdbba}.calm .discovery-copy small{color:#dbd0ff}.discovery-copy strong{font:600 18px/1.3 Manrope,sans-serif;letter-spacing:-.4px}.discovery-copy>span{font-size:11px;color:#edf5fb}.editorial-hero h2 em{font-style:normal;color:#77e3cf}.editorial-hero h2{font-size:32px;line-height:1.18}.editorial-hero .hero-symbol{right:85px;bottom:-95px;width:340px;height:340px}.wellness-photo{height:145px;margin:-25px -25px 22px;background-image:linear-gradient(0deg,#171d3755,transparent),url('assets/editorial-covers.png');background-size:100% 100%,300% auto;background-position:center,right center;position:relative}.wellness-photo>span{position:absolute;bottom:15px;left:23px;color:#fff;font-size:9px;letter-spacing:2px;padding:7px 10px;border-radius:20px;background:#151c3ca8;border:1px solid #ffffff40}.mood-card{overflow:hidden}.mood-card h2{font-size:21px}.today-layout{margin-bottom:28px}.today-layout+.card{margin-top:26px}.habits-card .task:nth-of-type(1) .taskicon{background:#d7f5e4;color:#257354}.habits-card .task:nth-of-type(2) .taskicon{background:#fff0df;color:#a96027}.habits-card .task:nth-of-type(3) .taskicon{background:#ede5ff;color:#7150ac}
html[data-theme=dark] .editorial-kicker{color:#8bddc0}html[data-theme=dark][data-glass=on] .editorial-hero{background:linear-gradient(120deg,#70b9cd24,#28696230 65%,#104c6655);border-color:#89e4db4d}html[data-theme=dark] .stats .stat:first-child{background:linear-gradient(135deg,#7b61b132,#19233bd9);border-color:#bda0ed40}html[data-theme=dark] .stats .stat:nth-child(2){background:linear-gradient(135deg,#2289b936,#102d40d9);border-color:#78d6ff40}html[data-theme=dark] .stats .stat:nth-child(3){background:linear-gradient(135deg,#85764130,#183333d9);border-color:#b9d98e40}html[data-theme=dark] .stats .stat:first-child .icon{color:#d4b9ff}html[data-theme=dark] .stats .stat:nth-child(3) .icon{color:#b2e8bc}html[data-theme=dark] .mood-card{background:linear-gradient(130deg,#77639233,#13263ad9);border-color:#b8a0e53d}html[data-theme=dark] .habits-card .task:nth-of-type(1) .taskicon{background:#5cb78426;color:#a1e9bc}html[data-theme=dark] .habits-card .task:nth-of-type(2) .taskicon{background:#d8955b26;color:#f6c09b}html[data-theme=dark] .habits-card .task:nth-of-type(3) .taskicon{background:#9d7ae52b;color:#d6bcff}html[data-theme=dark] .food-cover{border-color:#80dab448}.food-cover>span{color:#aeebc6;background:#173f32dc}.workout-cover>span{color:#ffdab8;background:#493528dc}html[data-theme=dark] .library-card:has(.food-cover){border-color:#7bcfac36}html[data-theme=dark] .library-card:has(.workout-cover){border-color:#efbb8536}
@media(hover:hover){.discovery:hover{transform:translateY(-3px);border-color:#bce9ff99;filter:none}}
@media(min-width:1101px){.wellness-photo{margin:-26px -26px 22px}}
@media(max-width:1100px){.discovery-copy strong{font-size:16px}.discovery{padding:14px;min-height:225px}.wellness-photo{margin:-20px -20px 20px}.editorial-hero h2{font-size:27px}}
@media(max-width:560px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.discovery{min-height:220px}.discovery.calm{grid-column:1/-1;min-height:145px;flex-direction:row;align-items:end;background-size:100% 100%,300% auto}.discovery.calm .discovery-copy{flex:1;margin-left:16px}.discovery.calm .discovery-copy strong br{display:none}.discovery-section .sectionhead{align-items:start;gap:10px}.discovery-section h2{font-size:21px}.discovery-section .textbtn{max-width:86px;text-align:right;flex-shrink:0}.editorial-hero h2{font-size:27px}.editorial-kicker{font-size:9px}.wellness-photo{height:165px}.discovery-copy>span{font-size:11px}.discovery-copy strong{font-size:18px}.today-layout .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats .label{flex-wrap:wrap}.stats .textbtn{font-size:11px;text-align:left}.today-layout .ring{width:92px;height:92px}.today-layout .ring>div{width:78px;height:78px}}
@media(prefers-reduced-motion:reduce){.discovery{transition:none}}

.auth-screen .mobile-brand{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700}.auth-screen .mobile-brand img{width:32px;height:32px;object-fit:contain;flex-shrink:0}
