@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#101b21;--text:#f1f4ef;--muted:#a4b3b3;--line:#ffffff1c;--mint:#b6e8cc;--glass:linear-gradient(125deg,#ffffff15,#ffffff05);--shadow:#020b1945}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'Noto Sans SC',sans-serif;min-height:100vh}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:5px}button{border:0}a{color:inherit;text-decoration:none}.aurora{position:fixed;z-index:-2;filter:blur(80px);border-radius:50%;pointer-events:none}.aurora.a{width:650px;height:600px;top:-300px;left:10%;background:#43887766}.aurora.b{width:590px;height:650px;top:80px;right:-230px;background:#8a655a53}.grain{position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 48% 70%,#60858b17,transparent 60%);pointer-events:none}main{max-width:1180px;margin:auto;padding:32px 38px 120px}header{display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:600;letter-spacing:2px}.brandmark{font-size:40px;font-weight:400;color:var(--mint)}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:400;color:var(--muted);margin-top:5px}.header-actions{display:flex;align-items:center;gap:18px}.preview{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:6px 11px;border-radius:20px}.icon-button,.avatar{width:34px;height:34px;border-radius:50%;background:#ffffff0c;font-size:23px}.avatar{background:#b3cabd;color:#243b34;font-size:13px;border:3px solid #ffffff20}.intro{display:flex;justify-content:space-between;align-items:center;margin:48px 0 35px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted)}h1{font-size:34px;letter-spacing:1px;font-weight:500;margin:12px 0 10px}h1 span{color:var(--mint)}.intro p{color:var(--muted);font-size:12px;margin:0}.glass{background:var(--glass);border:1px solid #ffffff2b;border-top-color:#ffffff50;border-left-color:#ffffff3a;box-shadow:inset 0 1px 1px #ffffff15,inset 0 -1px 1px #ffffff0a,0 15px 35px var(--shadow);backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px)}.record{border-radius:30px;padding:12px 22px;font-size:12px}.record span{font-size:20px;vertical-align:-1px;margin-right:8px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.view-tabs{display:flex;gap:25px}.view-tabs button{background:none;color:var(--muted);padding:10px 0;position:relative;font-size:12px}.view-tabs button.selected{color:var(--text)}.view-tabs .selected:after{content:'';position:absolute;bottom:0;left:0;width:20px;height:2px;background:var(--mint);border-radius:2px}.live{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.live i{width:5px;height:5px;background:var(--mint);border-radius:50%;box-shadow:0 0 8px #b6e8cc60}.dashboard{display:grid;grid-template-columns:1.4fr 1fr 1.1fr;gap:18px}.card{position:relative;border-radius:25px;text-align:left;padding:22px;overflow:hidden;min-width:0;transition:transform .25s,background .25s,box-shadow .25s}.card:hover{transform:translateY(-4px);box-shadow:inset 0 1px 2px #ffffff30,0 20px 38px #0003}.card-top{display:flex;align-items:center;justify-content:space-between;font-size:12px}.card-top>span:first-child{display:flex;align-items:center;gap:8px}.symbol{font-size:22px;font-weight:400;line-height:1}.mint{color:#b8e7cb}.peach{color:#e6b79c}.lilac{color:#c5c3e8}.yellow{color:#e9d7a1}.blue{color:#b1d7e8}.arrow{color:var(--muted);font-size:18px}.health{grid-column:1/2}.health-content{position:relative;margin-top:24px}.subtle{color:var(--muted);font-size:10px}.number{font-size:43px;font-weight:500;letter-spacing:-1px;margin:7px 0 12px;white-space:nowrap}.number small{font-size:11px;font-weight:400;letter-spacing:0;margin:0 5px;color:var(--muted)}.pill{font-size:9px;color:var(--mint);background:#b6e8cc10;border:1px solid #b6e8cc13;padding:5px 9px;border-radius:10px}.sleep-wave{position:absolute;width:120px;height:50px;right:-10px;bottom:-2px;opacity:.6}.health-stats{display:grid;grid-template-columns:1fr 1fr .8fr;gap:18px;margin-top:29px}.health-stats span{font-size:10px;color:var(--muted)}.health-stats strong{display:block;font-size:19px;margin:7px 0 10px;font-weight:500}.health-stats small{font-size:9px;color:var(--muted);font-weight:400}.progress{height:3px;background:#ffffff13;border-radius:5px;overflow:hidden}.progress i{display:block;background:#bbdccb;height:100%;border-radius:5px}.health-stats .mood{font-size:22px;margin-bottom:6px}.mood-dots{font-size:6px;color:var(--mint);letter-spacing:2px}.mood-dots em{font-style:normal;opacity:.2}.card-foot{margin-top:24px;padding-top:15px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted)}.space{margin-top:25px}.money .number{font-size:40px}.money .number small{color:var(--text);font-size:24px}.decimal{font-size:26px;color:var(--muted)}.bars{height:75px;display:flex;align-items:flex-end;justify-content:space-around;gap:13px;margin:12px 3px 0}.bars i{width:19px;border:1px solid #ffffff17;border-radius:5px 5px 2px 2px;background:linear-gradient(#d7b6a170,#d7b6a119)}.bars .current{background:linear-gradient(#f7d9bf,#d3a48288);box-shadow:0 0 18px #e2b99b18}.bars .future{height:5%;background:#ffffff13}.bar-labels{display:flex;justify-content:space-around;font-size:8px;color:var(--muted);margin-top:8px}.accent{color:#f1c9aa}.money .card-foot{margin-top:21px}.moment{background:#837765;padding:22px;min-height:315px}.landscape{position:absolute;inset:0;background:linear-gradient(#c1b9a0,#b9a48b 50%,#7a8981);z-index:0}.landscape:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 10%,#142524b5)}.sun{position:absolute;left:60%;top:28%;width:58px;height:58px;background:#fff1d0;border-radius:50%;box-shadow:0 0 55px #ffdaa2}.hill{position:absolute;width:150%;height:66%;border-radius:50% 60% 0 0;bottom:-23%;left:-25%;background:#657c77;transform:rotate(-20deg)}.hill.far{bottom:-7%;left:12%;background:#8c9282;transform:rotate(25deg)}.moment .card-top,.moment-text,.photo-label{position:relative;z-index:1}.moment .card-top{color:#fff}.moment .arrow{color:#fff}.moment-text{position:absolute;bottom:30px;left:24px}.tiny-label{font-size:8px;letter-spacing:2px;color:#e4e5d5}.moment h2{font-weight:400;font-size:23px;line-height:1.6;margin:13px 0}.moment-text>span:last-child{font-size:10px;color:#d0d9d1}.photo-label{position:absolute;right:15px;bottom:12px;font-size:8px;opacity:.5}.experiment{grid-column:span 2}.tag{font-size:9px;padding:5px 9px;border-radius:12px;background:#ffffff0a;color:#d8c6af;border:1px solid var(--line)}.experiment-body{display:flex;align-items:center;gap:25px;margin-top:18px}.breakfast{position:relative;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle at 37% 30%,#f4dfb7,#a28a6f 48%,#d8c7ae 50%,#7f938955 54%,#bdccc322 65%,#ffffff0a 69%);display:grid;place-items:center;font-size:48px;color:#f6e5c4;flex-shrink:0;box-shadow:inset 0 1px 2px #fff6,0 8px 18px #0002;transform:rotate(-25deg)}.breakfast span{position:absolute;right:8px;top:1px;font-size:22px;color:#d6e4b8}.experiment h2{font-size:19px;font-weight:500;margin:0 0 7px}.experiment p{font-size:10px;color:var(--muted);margin:0}.experiment-numbers{display:flex;gap:33px;margin-top:17px}.experiment-numbers strong{font-weight:500;font-size:25px;display:block}.experiment-numbers small{font-size:10px;font-weight:400;color:var(--muted)}.experiment-numbers span{font-size:9px;color:var(--muted)}.experiment .card-foot{margin-top:20px}.places{min-height:235px}.mini-map{position:absolute;inset:0;background:linear-gradient(120deg,#708f8430,#a2b69b0b);overflow:hidden}.road{position:absolute;height:8px;width:130%;background:#c7d1c513;transform:rotate(-35deg);left:-15%;top:45%;border:1px solid #ffffff06}.r2{transform:rotate(55deg);top:50%}.r3{transform:rotate(-35deg);top:15%}.river{position:absolute;width:50px;height:400px;border-radius:50%;background:#8bbccc16;transform:rotate(40deg);left:65%;top:-80px;border:1px solid #afdbda13}.pin{position:absolute;width:32px;height:32px;display:grid;place-items:center;border:1px solid #ffffff50;border-radius:50% 50% 50% 5px;transform:rotate(-10deg);background:#a5b2a238;backdrop-filter:blur(9px);color:#e2deba;box-shadow:0 8px 15px #0002}.p1{top:80px;left:22%}.p2{top:55px;right:22%;color:#f6c6a1}.p3{top:130px;left:51%;font-size:12px;color:#d7b9d5}.places .card-top{position:relative}.places-caption{position:absolute;bottom:22px;left:22px;right:10px}.places-caption strong{font-size:15px;font-weight:400;display:block}.places-caption span{display:block;font-size:10px;color:var(--muted);margin-top:8px}.lower{margin-top:33px;margin-bottom:15px}.section-heading h2{font-size:14px;font-weight:500;margin:0}.section-heading>span{font-size:10px;color:var(--muted)}.apps{border-radius:22px;padding:20px 10px;display:grid;grid-template-columns:repeat(5,1fr)}.apps button{display:flex;flex-direction:column;align-items:center;background:none;gap:7px;border-right:1px solid var(--line)}.apps button:last-child{border-right:0}.app-icon{height:40px;width:40px;display:grid;place-items:center;background:linear-gradient(140deg,#ffffff19,#ffffff02);border-radius:13px;border:1px solid #ffffff24;box-shadow:inset 0 1px #ffffff19;font-size:27px;margin-bottom:2px}.apps strong{font-size:11px;font-weight:400}.apps small{font-size:9px;color:var(--muted)}.timeline{margin-top:32px}.entry{display:flex;align-items:center;gap:15px;font-size:11px;padding:15px 3px;border-bottom:1px solid var(--line)}.entry time{color:var(--muted);font-size:10px}.entry i{width:5px;height:5px;border-radius:50%;background:#d5c0a8}.entry .mint-dot{background:var(--mint)}.entry b{font-weight:400;font-size:9px;color:var(--muted);margin-left:auto}.view{display:none}.view.active{display:block;animation:appear .4s ease}.alternate{padding:35px;border-radius:25px;min-height:450px}.alternate h2{font-size:27px;font-weight:400;margin:20px 0 35px}.place-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.place-list button{background:#ffffff09;border:1px solid var(--line);border-radius:20px;text-align:left;padding:25px}.place-list button>span{font-size:45px;color:var(--mint)}.place-list h3{font-size:16px;font-weight:500}.place-list p,.alternate>p{font-size:12px;color:var(--muted)}.review-stats{display:flex;justify-content:space-around;margin:50px 0}.review-stats strong{font-size:60px;font-weight:400;color:var(--mint)}.review-stats small{font-size:18px}.review-stats p{color:var(--muted);font-size:12px}footer{text-align:center;font-size:10px;letter-spacing:2px;color:var(--muted);margin-top:35px}footer .brandmark{font-size:19px;vertical-align:-2px;margin-right:6px}.bottom{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;padding:8px 12px;gap:22px;border-radius:28px;background:linear-gradient(120deg,#59696399,#23322ee6);box-shadow:inset 0 1px #ffffff30,0 15px 40px #0006}.bottom button{min-width:48px;background:none;color:#a5b4ad;font-size:9px;display:flex;flex-direction:column;gap:2px;align-items:center}.bottom button span{font-size:24px;line-height:27px}.bottom button.active{color:#d1f2db}.bottom .quick-add{height:42px;min-width:42px;border-radius:50%;background:linear-gradient(135deg,#d9ebd6,#a5c9b0);color:#294536;font-size:26px;justify-content:center;box-shadow:inset 0 1px #fff9,0 3px 10px #0003}dialog{border:1px solid #ffffff40;background:#23352ff2;backdrop-filter:blur(35px);color:#f1f4ef;border-radius:26px;max-width:480px;width:calc(100% - 32px);padding:32px;box-shadow:0 30px 90px #0008}dialog::backdrop{background:#08131188;backdrop-filter:blur(8px)}dialog h2{font-size:23px;font-weight:500;line-height:1.5;margin:16px 0}dialog p{font-size:13px;color:#becac3;line-height:1.9}.close{position:absolute;right:17px;top:12px;background:none;font-size:27px;color:#cad7d0}dialog .detail-metric{display:flex;gap:22px;padding:20px 0;border-bottom:1px solid #ffffff20;margin-bottom:20px}dialog .detail-metric strong{font-size:28px;font-weight:400;color:#c9ebd5}dialog .detail-metric small{display:block;font-size:10px;color:#a5b4ad;margin-top:7px}.submit{display:block;padding:13px 20px;background:#c2ddc7;color:#243b2c;text-align:center;border-radius:14px;width:100%;margin-top:20px;font-size:13px}textarea,select{font:inherit;color:#edf3ec;background:#ffffff08;border:1px solid #ffffff30;border-radius:12px;padding:12px}textarea{width:100%;min-height:130px;resize:vertical;margin:10px 0 15px}label{display:flex;align-items:center;justify-content:space-between;color:#becac3;font-size:12px}select{padding:7px 10px;background:#30463d}.form-note{font-size:10px!important}.toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);padding:10px 20px;background:#dceadf;color:#263e30;border-radius:20px;font-size:12px;z-index:20;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1}body.light{--bg:#e4ebe3;--text:#213b35;--muted:#63776f;--line:#355c4320;--mint:#3f7660;--glass:linear-gradient(125deg,#ffffff90,#ffffff30);--shadow:#607c6a15;color-scheme:light}.light .mint,.light .symbol{color:#4d7b65}.light .number small,.light .health-stats small{color:#63776f}.light .moment{color:#fff}.light .bars i{background:#759d7860}.light .pill{color:#3f7660}.light .moment .arrow{color:#fff}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1200px){.health{min-width:390px}.dashboard{grid-template-columns:1.4fr 1fr 1.1fr}}@media(max-width:950px){main{padding:25px 25px 115px}.dashboard{grid-template-columns:1fr 1fr}.health{grid-column:span 2}.health-content{max-width:100%}.sleep-wave{width:40%;height:85px;right:10px;bottom:-10px}.health-stats{margin-top:25px}.moment{min-height:320px}.experiment{grid-column:span 2}.places{grid-column:span 2;min-height:220px}.mini-map .p1{left:30%}.intro h1{font-size:29px}}@media(max-width:600px){main{padding:20px 18px 105px}.brand{font-size:16px;gap:9px}.brandmark{font-size:34px}.brand small{font-size:6px;letter-spacing:1.5px}.header-actions{gap:10px}.preview{position:absolute;right:20px;top:75px;font-size:8px;padding:4px 7px}.avatar{width:30px;height:30px}.intro{margin:49px 0 26px;align-items:flex-start;position:relative}.eyebrow{font-size:9px;letter-spacing:1px}h1,.intro h1{font-size:25px;letter-spacing:0;margin:12px 0 9px}.intro p{font-size:11px}.record{position:fixed;display:none}.view-tabs{gap:22px}.view-tabs button{font-size:12px}.section-heading .live{display:none}.section-heading{margin-bottom:16px}.dashboard{gap:12px}.card{padding:18px;border-radius:23px}.health-content{margin-top:20px}.number{font-size:43px}.sleep-wave{width:36%;height:60px;right:-3px;bottom:0}.health-stats{gap:22px}.card-foot{margin-top:20px}.money{padding:17px;min-height:283px}.money .number{font-size:34px}.money .number small{font-size:19px}.decimal{font-size:23px}.bars{height:65px;gap:8px}.bars i{width:13px}.money .card-foot{font-size:8px;line-height:1.7;margin-top:18px}.money .card-top{font-size:11px}.moment{padding:17px;min-height:283px}.moment .card-top{font-size:9px}.moment-text{left:17px;bottom:28px}.moment h2{font-size:18px;line-height:1.8}.tiny-label{font-size:6px;letter-spacing:1px}.moment-text>span:last-child{font-size:8px}.sun{width:40px;height:40px;left:57%;top:29%}.experiment-body{gap:16px}.breakfast{width:68px;height:68px;font-size:35px}.experiment h2{font-size:17px}.experiment p{font-size:9px}.experiment-numbers{gap:19px}.experiment-numbers strong{font-size:22px}.experiment-numbers span{font-size:8px}.experiment-numbers small{font-size:8px}.experiment .card-foot{font-size:8px;line-height:1.8}.places{min-height:200px}.apps{padding:17px 5px;gap:0}.apps button{gap:6px;padding:0 3px}.apps strong{font-size:9px}.apps small{display:none}.app-icon{width:37px;height:37px;font-size:24px}.lower{margin-top:26px}.section-heading>span{font-size:8px}.entry{gap:9px;font-size:10px}.entry b{font-size:8px;white-space:nowrap}.entry time{font-size:9px}.bottom{bottom:max(14px,env(safe-area-inset-bottom));gap:13px;width:calc(100% - 55px);max-width:370px;justify-content:space-between;padding:8px 12px}.bottom button{min-width:35px}.alternate{padding:24px;min-height:500px}.alternate h2{font-size:23px}.place-list{grid-template-columns:1fr;gap:12px}.place-list button{padding:18px}.place-list button>span{float:left;margin-right:20px;font-size:40px}.place-list h3{margin:0 0 8px}.place-list p{margin:0;font-size:10px}.review-stats{gap:14px}.review-stats strong{font-size:40px}.review-stats p{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.card{display:block}.moment .card-top{position:absolute;top:22px;left:22px;right:22px}.places .card-top{position:absolute;top:22px;left:22px;right:22px}.sleep-wave{overflow:visible}@media(max-width:600px){.moment .card-top{top:17px;left:17px;right:17px}}
/* Daylight glass: translucent panels over distinct pools of color. */
body.light{--bg:#eaf0ed;--text:#203c3a;--muted:#5d7773;--line:#56797224;--mint:#2b806b;--shadow:#486e6c17;background:radial-gradient(ellipse at 8% 4%,#f9faf2 0,transparent 45%),linear-gradient(135deg,#e9f0ed,#e5eeef 45%,#f3e7df);background-attachment:fixed}
.light .aurora{filter:blur(48px);opacity:1}
.light .aurora.a{width:620px;height:680px;left:-190px;top:160px;background:radial-gradient(ellipse,#59bda9a8,#85d3c373 50%,transparent 72%);transform:rotate(-25deg)}
.light .aurora.b{width:600px;height:660px;right:-180px;top:230px;background:radial-gradient(ellipse,#e5ad8cb0,#e8bda063 50%,transparent 72%)}
.light .grain{background:radial-gradient(ellipse at 54% 76%,#92b7db55,transparent 45%)}
.light .glass{background:linear-gradient(125deg,#ffffff83 0%,#ffffff35 40%,#ffffff14 75%,#ffffff55 100%);border:1px solid #ffffffbd;border-top-color:#fff;border-left-color:#fffffff2;box-shadow:inset 0 2px 2px #ffffffd9,inset 1px 0 1px #ffffffa6,inset -1px -2px 3px #ffffff80,0 12px 30px #4d78751c,0 2px 4px #4d787510;backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}
.light .card:hover{box-shadow:inset 0 2px 2px #fff,inset -1px -2px 3px #ffffff99,0 18px 38px #4d78752b}
.light .card:not(.moment):before,.light .apps:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(118deg,#ffffff28,transparent 26%,transparent 72%,#ffffff23);box-shadow:inset 0 0 0 3px #ffffff15}
.light .apps{position:relative}.light .icon-button{background:#ffffff50;border:1px solid #fff9;color:#476d65}.light .preview{background:#ffffff40}.light .avatar{background:#d1e7dc;border-color:#fffc}.light .pill{background:#effcf17a;border-color:#ffffff90;color:#317760}.light .progress{background:#426b6514}.light .progress i{background:linear-gradient(90deg,#75ae9a,#378d77)}.light .mood-dots{color:#3b8e77}.light .sleep-wave{opacity:.9;filter:drop-shadow(0 2px 3px #4e9e8220)}.light .sleep-wave path:last-child{stroke:#4e9e85}.light .bars i{background:linear-gradient(#cba07db3,#d9b29640);border-color:#fff9}.light .bars .current{background:linear-gradient(#b8754d,#c59975);box-shadow:0 0 15px #b77a4b20}.light .bars .future{background:#99785d20}.light .accent{color:#9f6848}.light .tag{background:#ffffff65;color:#8c6e50;border-color:#fff9}.light .app-icon{background:linear-gradient(140deg,#ffffffb3,#ffffff30);border-color:#ffffffd9;box-shadow:inset 0 1px 2px #fff,0 4px 9px #597c6e12}.light .peach{color:#ae7653}.light .lilac{color:#7e78a7}.light .yellow{color:#9c813c}.light .blue{color:#50869f}.light .mini-map{background:linear-gradient(120deg,#a8d0bc38,#9ebfc01f)}.light .road{background:#ffffff70;border-color:#ffffff50}.light .river{background:#71b8c233;border-color:#ffffff70}.light .pin{background:#ffffff65;border-color:#fff;color:#4f7d65;box-shadow:0 6px 12px #4b786b20}.light .p2{color:#a8764b}.light .p3{color:#a37491}.light .bottom{background:linear-gradient(120deg,#ffffffae,#edf5ed78);border:1px solid #fffffff0;box-shadow:inset 0 2px 2px #fff,inset 0 -2px 2px #ffffffb3,0 10px 35px #3b615637;backdrop-filter:blur(28px) saturate(150%)}.light .bottom button{color:#6a8177}.light .bottom button.active{color:#246a54}.light .bottom .quick-add{background:linear-gradient(135deg,#eef8e5,#a9d4b9);color:#315a42;border:1px solid #fffd;box-shadow:inset 0 2px 2px #fff,0 3px 8px #40725720}.light .place-list button{background:#ffffff35;border-color:#ffffffa1}.light dialog{background:linear-gradient(125deg,#f3faf5ed,#e2ece4e8);color:#203c3a;border-color:#fff;box-shadow:inset 0 2px 2px #fff,0 30px 90px #32534340}.light dialog p,.light dialog label,.light dialog .close{color:#5d7773}.light dialog .detail-metric strong{color:#34775e}.light dialog .detail-metric small{color:#5d7773}.light dialog textarea,.light dialog select{background:#ffffff70;color:#203c3a;border-color:#9bb8a866}.light dialog::backdrop{background:#47645830}.light dialog .submit{background:#357960;color:#fff}
@media(max-width:600px){.light .aurora.a{width:400px;height:550px;left:-220px;top:160px;filter:blur(40px)}.light .aurora.b{width:370px;height:500px;right:-190px;top:370px;filter:blur(40px)}}
/* Refined card content system */
.ui-icon{width:20px;height:20px;display:inline-block;flex:none;vertical-align:middle}.card{padding:24px;display:flex;flex-direction:column;justify-content:flex-start}.card-top{height:26px;font-size:13px;font-weight:500;letter-spacing:.3px;flex-shrink:0}.card-top>span:first-child{gap:9px}.card-top .ui-icon{width:19px;height:19px;color:#678c7e}.card-meta{font-size:10px;color:var(--muted);font-weight:400;letter-spacing:0}.metric-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;line-height:1.5}.metric-label .ui-icon{width:14px;height:14px;opacity:.8}.sleep-summary{display:flex;gap:25px;align-items:center;padding:25px 0 23px;min-width:0}.sleep-main{flex-shrink:0}.sleep-value{font-family:'Segoe UI',sans-serif;font-size:48px;letter-spacing:-2px;font-weight:400;line-height:1.2;margin:8px 0}.sleep-value>span{font:10px 'Noto Sans SC',sans-serif;margin:0 7px;color:var(--muted);letter-spacing:0}.sleep-comparison{font-size:9px;color:var(--muted)}.sleep-comparison>span{color:#437e69;margin-right:6px}.sleep-chart{flex:1;min-width:0;padding-top:7px}.chart-topline{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);gap:5px}.chart-topline b{font-weight:400;font-family:'Segoe UI',sans-serif}.sleep-track{height:46px;display:flex;align-items:center;gap:2px;margin:12px 0 9px}.sleep-track i{flex:1;border-radius:3px;background:#5b9a8560;min-width:1px}.sleep-track .stage-1{height:38%;align-self:flex-start;background:#b0c9bd}.sleep-track .stage-2{height:65%;background:#81b29c}.sleep-track .stage-3{height:85%;align-self:flex-end;background:#548c76}.chart-scale{display:flex;justify-content:space-between;font:8px 'Segoe UI',sans-serif;color:#789185}.health-stats{margin:0;padding-top:20px;border-top:1px solid var(--line);gap:0;grid-template-columns:1fr 1fr .8fr}.health-stats>div{padding:0 17px;border-left:1px solid var(--line)}.health-stats>div:first-child{padding-left:0;border-left:0}.health-stats>div:last-child{padding-right:0}.health-stats strong{font-family:'Segoe UI',sans-serif;font-weight:400;font-size:24px;letter-spacing:-.5px;margin:6px 0}.health-stats strong small{font-size:9px;letter-spacing:0;margin-left:2px}.health-stats .feeling{font-family:inherit;font-size:20px;line-height:32px;font-weight:400;letter-spacing:2px}.stat-caption{font-size:9px;color:var(--muted);opacity:.8}.money .card-top{margin-bottom:22px}.spend-head{display:flex;justify-content:space-between;align-items:center}.receipt-count{font-size:9px;color:var(--muted)}.spend-value{font-family:'Segoe UI',sans-serif;font-size:44px;line-height:1.3;letter-spacing:-1.6px;margin-top:7px}.spend-value small{font-size:20px;color:#8b7965;margin-right:7px;vertical-align:5px}.spend-value>span{font-size:29px;letter-spacing:-1px}.money-chart{margin-top:10px}.bars{height:60px;margin:0 1px;background:repeating-linear-gradient(to top,#6682740d 0,#6682740d 1px,transparent 1px,transparent 20px);padding:0 7px;gap:13px}.bars i{max-width:17px;width:100%;border-radius:4px 4px 0 0}.bar-labels{font-size:8px;margin-top:7px}.spend-breakdown{border-top:1px solid var(--line);padding-top:13px;margin-top:17px;display:flex;gap:15px;justify-content:space-between;font-size:9px;color:var(--muted)}.spend-breakdown>span{display:flex;gap:5px;align-items:center;white-space:nowrap}.spend-breakdown i{width:4px;height:4px;background:#ab8261;border-radius:50%}.spend-breakdown>span:last-child i{background:#cab49c}.spend-breakdown b{font-family:'Segoe UI',sans-serif;font-weight:400;color:var(--text)}.moment{min-height:320px}.moment .card-top{top:24px;left:24px;right:24px}.moment .card-top .ui-icon{color:#f8f6e8}.landscape{background:linear-gradient(170deg,#c9d0c1,#d0bda0 45%,#a1b1a3 72%,#6e9184)}.landscape:after{background:linear-gradient(transparent 25%,#173f354a 65%,#183a35c2)}.sun{width:57px;height:57px;top:34%;left:65%;background:#faf0c9;box-shadow:0 0 30px #f9dfb377}.hill.far{bottom:9%;height:33%;left:-35%;width:160%;background:#81998899;transform:rotate(7deg);border-radius:60% 50% 0 0}.hill.near{bottom:-8%;height:46%;left:17%;background:#4d756b99;transform:rotate(-10deg);border-radius:60% 30% 0 0}.water-reflection{position:absolute;left:0;right:0;top:62%;height:11%;background:repeating-linear-gradient(0deg,transparent 0,transparent 5px,#f7e9c129 5px,#f7e9c129 6px);transform:skewY(-2deg)}.moment-date{position:relative;font:36px 'Segoe UI',sans-serif;font-weight:300;letter-spacing:-1px;color:#fff9;margin-top:37px}.moment-date>span{font:9px 'Noto Sans SC',sans-serif;letter-spacing:1px;margin-left:7px}.moment-text{bottom:28px;left:24px;right:24px}.moment h2{font-size:23px;line-height:1.5;font-weight:400;letter-spacing:1px;margin:0 0 18px}.moment-location{display:flex;align-items:center;gap:5px;color:#e7eee3!important;font-size:9px!important}.moment-location .ui-icon{width:12px;height:12px}.moment-location>span{margin-left:auto;font-family:'Segoe UI',sans-serif;font-size:10px;opacity:.75}.photo-label{bottom:8px;right:15px;font-size:7px}.experiment-heading{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.experiment h2{font-size:22px;font-weight:500;letter-spacing:.5px;margin:0 0 7px}.experiment p{font-size:11px}.breakfast-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #fff9;border-radius:15px;background:#ffffff30;color:#9b8561;transform:rotate(-8deg)}.breakfast-icon .ui-icon{width:26px;height:26px}.experiment .tag{display:flex;align-items:center;gap:6px;font-size:9px;padding:5px 9px}.tag i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#739b80}.experiment-metrics{display:grid;grid-template-columns:1.4fr 1fr 1fr;align-items:end;margin:22px 0;gap:20px}.experiment-metrics>div:not(:first-child){border-left:1px solid var(--line);padding-left:20px}.experiment-metrics strong{font:30px 'Segoe UI',sans-serif;font-weight:400;letter-spacing:-.7px;display:block;margin-bottom:6px}.experiment-metrics strong small{font-size:10px;color:var(--muted);letter-spacing:0}.experiment-metrics .saved strong{font-size:39px;margin:4px 0 0;line-height:1.1}.experiment-metrics .saved strong small{font-size:19px;margin-right:5px;vertical-align:3px}.experiment-metrics .saved strong>span{font-size:23px;color:#719183}.experiment-metrics .metric-label{font-size:10px}.practice-row{display:flex;align-items:center;gap:14px;font-size:9px;color:var(--muted)}.practice-days{display:flex;flex:1;gap:5px}.practice-days i{height:9px;flex:1;border-radius:3px;background:#68977b12;border:1px solid #6c917711}.practice-days .done{background:linear-gradient(120deg,#86b59a,#61957d);border-color:#64977f20}.experiment-note{font-size:10px;color:var(--muted);margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.places{min-height:0}.places .card-top{position:static}.map-frame{margin:18px -24px 3px;position:relative;height:102px;overflow:hidden}.map-art{width:100%;height:100%;display:block}.map-hint{position:absolute;right:13px;bottom:5px;font-size:7px;color:#759188}.place-row{display:flex;align-items:center;gap:12px;padding:13px 0 10px;border-bottom:1px solid var(--line)}.place-row:last-child{border:0;padding-bottom:0}.place-number{font:10px 'Segoe UI',sans-serif;color:#7b9a8c}.place-row>div{flex:1;min-width:0}.place-row strong{font-size:11px;font-weight:500;display:block;white-space:nowrap}.place-row>div>span{display:block;font-size:9px;color:var(--muted);margin-top:5px}.place-status{font-size:8px;color:#668775;background:#ffffff38;border:1px solid #ffffff60;padding:3px 6px;border-radius:6px;white-space:nowrap}.apps{padding:21px 12px}.apps .app-icon{width:44px;height:44px;margin-bottom:5px;border-radius:14px;color:#598675}.apps .app-icon.money{color:#ac8565}.apps .app-icon.places{color:#7f88a0}.apps .app-icon.experiment{color:#8b9b65}.apps .app-icon.collection{color:#6f96a6}.apps .app-icon .ui-icon{width:22px;height:22px}.apps strong{font-size:11px;letter-spacing:.5px}.bottom button{gap:5px;padding:4px 6px}.bottom .ui-icon{width:21px;height:21px}.bottom .quick-add{padding:0}.section-heading h2{font-size:14px;letter-spacing:.5px}.timeline{margin-bottom:20px}.entry{padding:18px 3px}.light .moment .card-top{color:#fff}.light .moment .card-top .ui-icon{color:#fff}.health{min-width:0!important}@media(min-width:951px){.dashboard{grid-template-columns:1.5fr 1fr 1.05fr}.sleep-summary{gap:15px}.sleep-value{font-size:43px}.sleep-value>span{margin:0 4px}.sleep-chart .chart-topline>b{display:none}.health-stats>div{padding:0 13px}.health-stats strong{font-size:23px}.health-stats .feeling{font-size:18px}.experiment,.places{min-height:315px}.moment{min-height:320px}}
@media(min-width:601px) and (max-width:950px){.sleep-summary{gap:50px}.sleep-chart{max-width:300px;margin-left:auto}.sleep-track{height:48px}.health-stats>div{padding-left:26px}.moment{min-height:320px}.places{grid-column:span 2}.map-frame{height:140px}.place-row{padding:14px 0}.experiment-metrics{max-width:480px}}
@media(max-width:600px){.card{padding:19px}.card-top{font-size:12px;height:23px}.card-top .ui-icon{width:17px;height:17px}.card-top>span:first-child{gap:7px}.card-meta{font-size:8px}.sleep-summary{gap:20px;padding:19px 0 20px}.sleep-value{font-size:42px;margin:6px 0 9px}.sleep-value>span{margin:0 4px;font-size:9px}.sleep-chart .chart-topline{font-size:7px}.sleep-chart .chart-topline>b{display:none}.sleep-track{height:36px;gap:2px;margin:10px 0 8px}.chart-scale{font-size:7px}.sleep-comparison{font-size:8px}.sleep-comparison>span{margin-right:3px}.metric-label{font-size:10px}.metric-label .ui-icon{width:12px;height:12px}.health-stats{padding-top:17px}.health-stats>div{padding:0 15px}.health-stats strong{font-size:23px;margin:7px 0 5px}.health-stats strong small{font-size:8px;margin:0}.health-stats .feeling{font-size:18px;line-height:30px;letter-spacing:1px}.stat-caption{font-size:8px}.money{padding:17px;min-height:280px}.money .card-top{font-size:11px;margin-bottom:20px}.spend-head .metric-label{font-size:9px}.receipt-count{font-size:8px}.spend-value{font-size:35px;margin-top:8px;letter-spacing:-1px}.spend-value small{font-size:16px;margin-right:4px;vertical-align:3px}.spend-value>span{font-size:23px}.money-chart{margin-top:17px}.bars{height:55px;gap:7px;padding:0 2px}.bars i{max-width:10px}.bar-labels{font-size:7px}.spend-breakdown{margin-top:17px;padding-top:10px;gap:6px;flex-wrap:wrap;font-size:8px}.spend-breakdown>span{gap:4px}.moment{padding:17px;min-height:280px}.moment .card-top{top:19px;left:17px;right:17px;font-size:10px}.moment .card-top .ui-icon{width:15px}.moment-date{font-size:28px;margin-top:38px}.moment-date>span{font-size:8px;margin-left:5px}.moment-text{bottom:28px;left:17px;right:17px}.moment h2{font-size:18px;letter-spacing:0;line-height:1.65;margin-bottom:12px}.moment-location{font-size:8px!important;gap:3px;flex-wrap:wrap}.moment-location .ui-icon{width:10px;height:10px}.moment-location>span{font-size:8px}.sun{width:42px;height:42px;top:35%;left:62%}.experiment-heading{margin-top:19px}.experiment h2{font-size:20px}.experiment p{font-size:10px}.breakfast-icon{width:40px;height:40px;border-radius:13px}.breakfast-icon .ui-icon{width:23px;height:23px}.experiment .tag{font-size:8px;padding:4px 7px}.experiment-metrics{gap:13px;margin:21px 0;grid-template-columns:1.2fr .8fr 1fr}.experiment-metrics>div:not(:first-child){padding-left:13px}.experiment-metrics strong{font-size:26px}.experiment-metrics strong small{font-size:8px}.experiment-metrics .saved strong{font-size:35px}.experiment-metrics .saved strong small{font-size:16px}.experiment-metrics .saved strong>span{font-size:20px}.experiment-metrics .metric-label{font-size:9px}.practice-row{font-size:8px;gap:9px}.practice-days{gap:4px}.practice-days i{height:8px}.experiment-note{font-size:9px;margin-top:17px;padding-top:13px}.map-frame{margin:15px -19px 3px;height:110px}.places .card-top{position:static}.place-row{padding:13px 0}.place-row strong{font-size:12px}.place-row>div>span{font-size:9px}.place-status{font-size:9px}.apps{padding:19px 5px}.apps .app-icon{height:39px;width:39px;border-radius:12px}.apps .app-icon .ui-icon{width:20px;height:20px}.apps strong{font-size:9px;letter-spacing:0}.bottom .ui-icon{width:20px;height:20px}.bottom button{gap:4px}.section-heading h2{font-size:13px}}
.apps .app-icon.tone-money{color:#ac8565}.apps .app-icon.tone-places{color:#7f88a0}.apps .app-icon.tone-experiment{color:#8b9b65}.apps .app-icon.tone-collection{color:#6f96a6}
/* Liquid lens: background refraction, rounded rim and moving specular light. */
.light{--lens-shadow:0 16px 32px #3f6f6326,0 3px 6px #274b4b1c}
.light .aurora.a{background:radial-gradient(ellipse,#4abfa6aa 0%,#75d5bba1 33%,#9ad6c45c 55%,transparent 70%);filter:blur(23px);width:610px;left:-195px;top:190px}
.light .aurora.b{background:radial-gradient(ellipse,#f1ad8794 0%,#efbd9666 44%,transparent 70%);filter:blur(25px);right:-170px;top:270px}
.light .grain{background:radial-gradient(ellipse at 57% 62%,#83b8d566,transparent 48%),repeating-linear-gradient(127deg,transparent 0,transparent 260px,#ffffff35 261px,#ffffff35 264px,transparent 268px,transparent 480px)}
.light .glass{--px:25%;--py:15%;position:relative;isolation:isolate;background:radial-gradient(ellipse at var(--px) var(--py),#ffffff55 0%,#ffffff12 37%,transparent 65%),linear-gradient(130deg,#ffffff2e,#ffffff0a 45%,#ffffff26);border:1px solid #ffffffed;border-bottom-color:#ffffffa8;border-right-color:#ffffff94;backdrop-filter:blur(7px) saturate(145%);-webkit-backdrop-filter:blur(7px) saturate(145%);box-shadow:inset 0 2px 2px #fff,inset 2px 0 4px #ffffffbd,inset -2px -3px 4px #ffffffbd,inset 0 8px 16px #ffffff28,inset 0 -10px 16px #689a8c12,var(--lens-shadow)}
@supports(backdrop-filter:url('#liquid-refraction')){.light .glass{backdrop-filter:url('#liquid-refraction') blur(5px) saturate(135%)}}
.light .glass::before,.light .card:not(.moment)::before,.light .apps::before{content:'';position:absolute;inset:0;padding:6px;border-radius:inherit;pointer-events:none;z-index:2;background:conic-gradient(from 155deg at var(--px) var(--py),#ffffff0a 0deg,#fff9 45deg,#fff2 85deg,#ffffffd9 135deg,#fff2 180deg,#fff 220deg,#d6f3e844 280deg,#fff9 320deg,#fff1 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;box-shadow:none;filter:blur(.25px)}
.light .glass::after{content:'';position:absolute;inset:6px;border-radius:inherit;pointer-events:none;z-index:2;border:1px solid #ffffff42;border-bottom-color:#8aa99a33;border-right-color:#8aa99a26;box-shadow:0 1px 1px #fff9,inset 0 1px 2px #688b7d24;background:radial-gradient(ellipse at var(--px) 0%,#ffffff18,transparent 55%)}
.light .card:hover{box-shadow:inset 0 2px 2px #fff,inset 2px 0 4px #ffffffd9,inset -2px -3px 4px #ffffffd9,inset 0 8px 16px #ffffff30,0 20px 36px #3c71612e,0 3px 7px #315c4d20;transform:translateY(-2px)}
.light .bottom{position:fixed;background:linear-gradient(120deg,#ffffff5e,#ffffff26);box-shadow:inset 0 2px 3px #fff,inset 2px 0 4px #fffd,inset -2px -3px 4px #fffe,0 12px 35px #305c4e40;backdrop-filter:blur(15px) saturate(160%)}
.light .record{position:relative}.light .moment{background:#8b9f87}.light .moment::before{opacity:.65}.light .moment::after{opacity:.4}
.light .app-icon{background:linear-gradient(135deg,#ffffff67,#ffffff0d);box-shadow:inset 0 2px 2px #fff,inset -1px -2px 2px #fff9,0 5px 9px #487b6b20;border:1px solid #fff9}
.light .bottom .quick-add{background:radial-gradient(circle at 30% 20%,#f2ffeaa6,#a4d4b97a);box-shadow:inset 0 2px 3px #fff,inset 0 -2px 3px #fff9,0 3px 8px #3f71552e}
@media(max-width:600px){.light .aurora.a{width:410px;left:-230px;top:160px;filter:blur(22px)}.light .aurora.b{width:400px;right:-230px;top:350px;filter:blur(24px)}.light .record{display:none}.light .glass::before{padding:5px}.light .glass::after{inset:5px}.light .bottom{position:fixed}}
@media(prefers-reduced-transparency:reduce){.light .glass{background:#edf3eeeF;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Clear glass over defined color forms. */
body.light{background:#edf1ee;background-attachment:fixed;--text:#193b39;--muted:#526f68}
.light .aurora.a{width:710px;height:780px;top:130px;left:-300px;border-radius:44% 56% 62% 38% / 48% 36% 64% 52%;background:linear-gradient(135deg,#d3efe2 8%,#3eb99b 45%,#78cdb3 65%,#d1eade 100%);filter:blur(2px);transform:rotate(-29deg);box-shadow:inset -20px -25px 60px #196e6a35,inset 15px 20px 50px #f7fff099,18px 18px 65px #3c9b7e20}
.light .aurora.b{width:650px;height:620px;right:-290px;top:380px;border-radius:59% 41% 36% 64% / 48% 58% 42% 52%;background:linear-gradient(140deg,#ffe7cf,#efb78c 38%,#df906d 68%,#f5d4b4);filter:blur(2px);transform:rotate(24deg);box-shadow:inset 20px 15px 50px #fff4e799,inset -20px -10px 60px #ad6d642b,0 15px 65px #d99b7726}
.light .grain{position:fixed;inset:auto;top:730px;left:29%;width:590px;height:530px;border-radius:50% 50% 65% 35%;background:linear-gradient(135deg,#c9e8e9,#7fadc8 50%,#b1c9d5);filter:blur(4px);transform:rotate(-28deg);opacity:.75;box-shadow:inset 20px 20px 45px #fff8}
.light .glass{background:radial-gradient(ellipse at var(--px) var(--py),#ffffff35,transparent 54%),linear-gradient(130deg,#ffffff19,#ffffff08 55%,#ffffff20);border:1px solid #ffffffb8;border-right-color:#ffffff78;border-bottom-color:#ffffff94;backdrop-filter:blur(11px) saturate(110%);-webkit-backdrop-filter:blur(11px) saturate(110%);box-shadow:inset 0 1px 1px #fff,inset 1px 0 2px #ffffff9c,inset -1px -2px 3px #ffffffa6,0 12px 30px #345f6020,0 2px 4px #345f6014}
@supports(backdrop-filter:url('#liquid-refraction')){.light .glass{backdrop-filter:url('#liquid-refraction') blur(8px) saturate(110%)}}
.light .glass::before,.light .card:not(.moment)::before,.light .apps::before{padding:3px;background:conic-gradient(from 155deg at var(--px) var(--py),#ffffff08,#ffffffbb 45deg,#ffffff10 85deg,#ffffff94 135deg,#ffffff10 180deg,#fff 220deg,#d6f3e820 280deg,#ffffff80 320deg,#ffffff05);filter:blur(.3px)}
.light .glass::after{inset:3px;border-color:#ffffff20;border-right-color:#487d6525;border-bottom-color:#487d652a;box-shadow:0 1px 1px #ffffff60,inset 0 1px 1px #4b716818;background:radial-gradient(ellipse at var(--px) 0%,#ffffff12,transparent 45%)}
.light .card:hover{box-shadow:inset 0 1px 2px #fff,inset -1px -2px 3px #ffffffb0,0 18px 35px #345f602b,0 2px 5px #345f6020}
.light .bottom{background:linear-gradient(130deg,#ffffffaa,#ffffff70);backdrop-filter:blur(22px) saturate(120%);box-shadow:inset 0 1px 2px #fff,inset 0 -1px 2px #fffb,0 10px 28px #315b4f30}
.light .card-top .ui-icon{color:#426f60}.light .sleep-track .stage-1{background:#9dc4b0}.light .sleep-track .stage-2{background:#5d9e84}.light .sleep-track .stage-3{background:#32745e}.light .moment{background:#8b9f87}.light .moment::before{opacity:.6}.light .moment::after{opacity:.25}.light .preview{background:#ffffff55}
@media(max-width:600px){.light .aurora.a{width:430px;height:570px;left:-265px;top:170px;filter:blur(1px)}.light .aurora.b{width:410px;height:530px;right:-270px;top:420px;filter:blur(1px)}.light .grain{width:380px;height:460px;top:850px;left:23%;filter:blur(3px)}.light .glass::before{padding:3px}.light .glass::after{inset:3px}}
/* Readable data surfaces, with refraction retained around the rim. */
body.light{--text:#203c37;--muted:#526b64;background:#eef2ef}
.light .aurora.a{left:-410px;top:210px;background:linear-gradient(135deg,#e2eee5,#9ecdbb 45%,#bdded0 75%,#e1ece4);box-shadow:inset -20px -25px 60px #608b7920,inset 15px 20px 50px #fff9,18px 18px 65px #66958212}
.light .aurora.b{right:-400px;top:430px;background:linear-gradient(140deg,#f8ebdc,#dfc5ae 45%,#dcb99f 70%,#f0dfcf);box-shadow:inset 20px 15px 50px #fff9,inset -20px -10px 60px #a4877420}
.light .grain{left:48%;top:850px;opacity:.35;background:linear-gradient(135deg,#deeaeb,#acc5d2 50%,#d2dfe4)}
.light .card:not(.moment),.light .alternate{background:linear-gradient(90deg,#f7faf442 0%,#f7faf4c9 7%,#f7faf4e6 25%,#f7faf4e6 75%,#f7faf4c9 93%,#f7faf442 100%);color:#203c37;backdrop-filter:blur(15px) saturate(100%);-webkit-backdrop-filter:blur(15px) saturate(100%)}
.light .apps{background:linear-gradient(90deg,#f7faf45c,#f7faf4cc 12%,#f7faf4d9 88%,#f7faf45c)}
.light .card:not(.moment)::after{background:none}
.light .card .metric-label,.light .card .card-meta,.light .card .stat-caption,.light .card .sleep-comparison,.light .card .chart-topline,.light .card .chart-scale,.light .card .bar-labels,.light .card .receipt-count,.light .card .experiment-note{color:#536c63}
.light .bars i{background:linear-gradient(#ba9474b3,#d6b99e80);border-color:#b18c6c30}.light .bars .current{background:linear-gradient(#9f704e,#b88a65);border-color:#91603f30}.light .bars .future{background:#71847820}.light .card .spend-breakdown{color:#536c63}
.light .map-frame{background:#e6eee74d}.light .place-status{color:#496b59;background:#f4faf1a6}.light .bottom{background:linear-gradient(130deg,#ffffffe0,#f0f6efba)}
@media(max-width:600px){.light .aurora.a{left:-335px;top:220px;background:linear-gradient(135deg,#e2eee5,#9ecdbb 45%,#bdded0 75%,#e1ece4)}.light .aurora.b{right:-335px;top:500px;background:linear-gradient(140deg,#f8ebdc,#dfc5ae 45%,#dcb99f 70%,#f0dfcf)}.light .grain{left:55%;top:920px;opacity:.3}.light .card:not(.moment),.light .alternate{background:linear-gradient(90deg,#f7faf455,#f7faf4d9 10%,#f7faf4e6 28%,#f7faf4e6 72%,#f7faf4d9 90%,#f7faf455)}}
/* Typography: readable across desktop and mobile. */
body{font-size:15px;line-height:1.55}h1,.intro h1{font-size:28px;line-height:1.35}.eyebrow{font-size:13px;letter-spacing:.5px}.preview{font-size:12px}.record{font-size:14px}.view-tabs button{font-size:15px}.card-top{font-size:16px;line-height:1.4;height:auto;min-height:27px}.card-top .ui-icon{width:20px;height:20px}.card-meta{font-size:12px}.metric-label{font-size:14px;line-height:1.5}.metric-label .ui-icon{width:15px;height:15px}.sleep-value{font-size:40px;line-height:1.25}.sleep-value>span{font-size:13px;margin:0 5px}.sleep-comparison{font-size:13px;line-height:1.5}.chart-topline,.chart-scale{font-size:12px;line-height:1.4}.chart-topline{flex-wrap:wrap}.chart-scale{font-family:'Segoe UI',sans-serif}.sleep-summary{gap:24px;padding:24px 0}.sleep-track{margin:14px 0 10px}.health-stats strong{font-size:26px;line-height:1.3}.health-stats strong small{font-size:13px}.health-stats .feeling{font-size:23px;line-height:1.5}.stat-caption{font-size:13px;line-height:1.5}.money .card-top{font-size:16px}.spend-head .metric-label{font-size:14px}.receipt-count{font-size:12px}.spend-value{font-size:40px}.spend-value small{font-size:20px}.spend-value>span{font-size:28px}.bar-labels{font-size:12px;line-height:1.5}.spend-breakdown{font-size:13px;flex-wrap:wrap;gap:8px 15px}.moment .card-top{font-size:16px}.moment h2{font-size:23px;line-height:1.5}.moment-date>span{font-size:13px}.moment-location{font-size:13px!important;line-height:1.5;flex-wrap:wrap}.moment-location>span{font-size:13px}.moment-location .ui-icon{width:14px;height:14px}.photo-label{font-size:12px}.experiment h2{font-size:22px;line-height:1.4}.experiment p{font-size:14px;line-height:1.5}.experiment .tag{font-size:12px}.experiment-metrics strong{font-size:28px}.experiment-metrics strong small{font-size:13px}.experiment-metrics .saved strong{font-size:38px}.experiment-metrics .saved strong small{font-size:19px}.experiment-metrics .metric-label{font-size:13px}.practice-row{font-size:12px}.experiment-note{font-size:14px;line-height:1.6}.map-hint{font-size:12px}.place-number{font-size:12px}.place-row strong{font-size:16px;white-space:normal;line-height:1.4}.place-row>div>span{font-size:13px;line-height:1.5}.place-status{font-size:12px}.apps strong{font-size:14px;line-height:1.5}.apps .app-icon{margin-bottom:6px}.section-heading h2{font-size:17px;line-height:1.4}.entry{font-size:15px;line-height:1.6;align-items:baseline}.entry time,.entry b{font-size:13px}.entry time{white-space:nowrap}.entry i{flex-shrink:0}.bottom button{font-size:12px;line-height:1.4}.place-list p,.alternate>p{font-size:15px;line-height:1.6}.place-list h3{font-size:17px}.review-stats p{font-size:14px}dialog p{font-size:15px;line-height:1.6}dialog .eyebrow{font-size:13px}dialog .detail-metric small{font-size:13px}.submit{font-size:15px}.form-note{font-size:12px!important}label{font-size:14px}.toast{font-size:14px}
@media(min-width:951px){.dashboard{grid-template-columns:1.4fr 1fr 1fr}.sleep-summary{flex-wrap:wrap;gap:17px}.sleep-chart{flex-basis:100%}.sleep-chart .chart-topline>b{display:inline}.sleep-track{height:38px}.health-stats>div{padding:0 10px}.health-stats strong{font-size:24px}.health-stats .feeling{font-size:22px}.money-chart{margin-top:auto;padding-top:24px}.bars{height:100px}.money .spend-value{margin-top:12px}.moment{min-height:380px}.experiment,.places{min-height:370px}.map-frame{height:130px}}
@media(min-width:601px) and (max-width:950px){.sleep-chart{max-width:none}.health-stats>div{padding-left:24px}.money,.moment{min-height:350px}.moment-text{bottom:36px}.experiment-metrics{max-width:none}}
@media(max-width:600px){main{padding:20px 18px 120px}.intro{margin-top:54px;margin-bottom:24px}.intro h1{font-size:28px}.brand{font-size:19px}.preview{font-size:12px;top:74px}.eyebrow{font-size:13px}.view-tabs{gap:23px}.view-tabs button{font-size:15px}.dashboard{grid-template-columns:minmax(0,1fr);gap:16px}.health,.experiment,.places{grid-column:auto}.card{padding:22px}.card-top,.money .card-top,.moment .card-top{font-size:16px;min-height:26px}.card-top .ui-icon{width:20px;height:20px}.card-meta{font-size:12px}.sleep-summary{flex-wrap:wrap;gap:19px;padding:22px 0}.sleep-value{font-size:40px;margin:8px 0}.sleep-value>span{font-size:13px;margin:0 5px}.sleep-comparison{font-size:13px}.sleep-chart{flex-basis:100%;width:100%}.sleep-chart .chart-topline{font-size:12px}.sleep-chart .chart-topline>b{display:inline;font-size:12px}.sleep-track{height:38px;margin:12px 0 9px;gap:3px}.chart-scale{font-size:12px}.metric-label{font-size:14px}.metric-label .ui-icon{width:15px;height:15px}.health-stats{grid-template-columns:1fr 1fr .85fr;padding-top:19px}.health-stats>div{padding:0 10px}.health-stats strong{font-size:24px;margin:7px 0 5px;white-space:nowrap}.health-stats strong small{font-size:13px}.health-stats .feeling{font-size:22px;line-height:1.45}.stat-caption{font-size:12px}.money{min-height:0}.money .card-top{margin-bottom:22px}.spend-head .metric-label{font-size:14px}.receipt-count{font-size:12px}.spend-value{font-size:40px;margin-top:8px}.spend-value small{font-size:20px}.spend-value>span{font-size:28px}.money-chart{margin-top:20px}.bars{height:80px;gap:14px;padding:0 9px}.bars i{max-width:22px}.bar-labels{font-size:12px}.spend-breakdown{font-size:13px;margin-top:18px;padding-top:13px;gap:10px;justify-content:flex-start}.spend-breakdown>span{gap:6px;margin-right:10px}.moment{min-height:310px}.moment .card-top{top:22px;left:22px;right:22px}.moment .card-top .ui-icon{width:20px}.moment-date{font-size:32px;margin-top:35px}.moment-date>span{font-size:13px}.moment-text{bottom:35px;left:22px;right:22px}.moment h2{font-size:24px;line-height:1.45;margin-bottom:16px}.moment-location{font-size:13px!important}.moment-location>span{font-size:13px}.moment-location .ui-icon{width:14px;height:14px}.photo-label{font-size:12px}.sun{width:58px;height:58px}.experiment-heading{margin-top:22px}.experiment h2{font-size:22px}.experiment p{font-size:14px}.experiment .tag{font-size:12px;padding:4px 7px}.experiment-metrics{grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.experiment-metrics .saved{grid-column:1/-1;padding-bottom:16px;border-bottom:1px solid var(--line)}.experiment-metrics>div:not(:first-child){padding-left:0;border-left:0}.experiment-metrics>div:last-child{padding-left:18px;border-left:1px solid var(--line)}.experiment-metrics strong{font-size:28px}.experiment-metrics strong small{font-size:13px}.experiment-metrics .saved strong{font-size:38px}.experiment-metrics .saved strong small{font-size:19px}.experiment-metrics .saved strong>span{font-size:25px}.experiment-metrics .metric-label{font-size:13px}.practice-row{font-size:12px;gap:8px;flex-wrap:wrap}.practice-days{gap:4px;min-width:160px}.practice-days i{height:10px}.experiment-note{font-size:14px;line-height:1.6}.map-frame{margin:18px -22px 5px;height:125px}.map-hint{font-size:12px}.place-row{gap:10px;padding:16px 0}.place-row strong{font-size:16px}.place-row>div>span{font-size:13px}.place-number,.place-status{font-size:12px}.apps{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 6px;padding:22px 10px}.apps button{border:0}.apps strong{font-size:14px}.apps .app-icon{width:43px;height:43px}.section-heading h2{font-size:17px}.entry{display:grid;grid-template-columns:40px 5px minmax(0,1fr);gap:6px 10px;font-size:15px;padding:17px 0}.entry time{font-size:13px}.entry b{grid-column:3;font-size:13px;margin-left:0}.entry i{align-self:start;margin-top:10px}.bottom{width:calc(100% - 30px);max-width:390px;padding:9px 12px;gap:10px}.bottom button{font-size:12px;min-width:40px;gap:5px}.place-list p{font-size:14px}.place-list h3{font-size:17px}.review-stats p{font-size:13px}.alternate h2{font-size:24px}.review-stats{flex-wrap:wrap;justify-content:flex-start;gap:25px}}
.health-stats .metric-label{font-size:14px}.map-art text{font-size:12px}
/* Neutral canvas: no colored backdrop or decorative shapes. */
body.light{--bg:#f3f4f5;--text:#252c30;--muted:#677177;--line:#25354014;--mint:#527b6c;background:#f3f4f5;color:var(--text)}
.light .aurora,.light .grain{display:none}
.light .glass{background:linear-gradient(135deg,#ffffffad,#ffffff70);border:1px solid #fff;border-right-color:#ffffffc9;border-bottom-color:#ffffffc9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #ffffff80,0 7px 22px #25344008,0 1px 3px #25344007}
.light .card:not(.moment),.light .alternate{background:linear-gradient(135deg,#ffffffc4,#ffffff8c);color:var(--text);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.light .apps{background:linear-gradient(135deg,#ffffffb8,#ffffff85)}
.light .glass::before,.light .card:not(.moment)::before,.light .apps::before{padding:1px;background:linear-gradient(135deg,#fff,#ffffff50 45%,#fff 85%);filter:none}
.light .glass::after{inset:2px;border:0;background:none;box-shadow:none}
.light .card:hover{box-shadow:inset 0 1px 1px #fff,0 10px 26px #25344010,0 2px 4px #25344008}
.light .bottom{background:#ffffffc7;border-color:#fff;box-shadow:inset 0 1px 1px #fff,0 9px 28px #25344012;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.light .bottom button{color:#737c80}.light .bottom button.active{color:#385f52}.light .bottom .quick-add{background:linear-gradient(140deg,#edf2ef,#dce7e0);border-color:#fff;box-shadow:inset 0 1px 1px #fff,0 2px 5px #2534400d}
.light .app-icon{background:linear-gradient(140deg,#fff,#f2f4f4);border:1px solid #fff;box-shadow:0 2px 5px #25344008}.light .icon-button,.light .avatar{background:#e9edeb;border-color:#fff;color:#53665e}.light .preview{background:#ffffff65;border-color:#2535400d;color:#70797d}
.light .card .metric-label,.light .card .card-meta,.light .card .stat-caption,.light .card .sleep-comparison,.light .card .chart-topline,.light .card .chart-scale,.light .card .bar-labels,.light .card .receipt-count,.light .card .experiment-note,.light .card .spend-breakdown{color:#677177}
.light .moment{background:#8b9f87}.light .moment::before{opacity:.4}.light .moment::after{opacity:0}.light .map-frame{background:#eef1f030}.light .place-status{background:#edf2ee;color:#587061;border-color:#fff}.light .tag{background:#f1f3ef;color:#657262;border-color:#fff}
/* Warm mineral palette with restrained, architectural surfaces. */
body.light{--bg:#e9e6e0;--text:#302e2a;--muted:#77736b;--line:#514a3e1a;--mint:#777e6a;background:linear-gradient(115deg,#f0ede7 0%,#e6e2da 100%);background-attachment:fixed;color:var(--text)}
.light main{padding-top:30px}.light .intro{margin-top:38px;margin-bottom:28px}.light .brandmark{color:#737968}.light .intro h1{font-weight:400;letter-spacing:1px}.light h1 span{color:#8b8b78}
.light .glass,.light .card:not(.moment),.light .alternate{background:linear-gradient(130deg,#faf9f5bc,#f8f6f0a1);border:1px solid #fff9;border-right-color:#fff5;border-bottom-color:#fff6;box-shadow:inset 0 1px 0 #ffffffa6,0 12px 28px #59513b09,0 1px 2px #51463207;color:var(--text);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.light .card{border-radius:17px}.light .glass::before,.light .card:not(.moment)::before,.light .apps::before{display:none}.light .glass::after{display:none}.light .card:hover{box-shadow:inset 0 1px 0 #fff,0 14px 30px #59513b14;transform:translateY(-2px)}
.light .card-top .ui-icon,.light .metric-label .ui-icon{color:#7a806f}.light .card .metric-label,.light .card .card-meta,.light .card .stat-caption,.light .card .sleep-comparison,.light .card .chart-topline,.light .card .chart-scale,.light .card .bar-labels,.light .card .receipt-count,.light .card .experiment-note,.light .card .spend-breakdown{color:#77736b}.light .sleep-comparison>span{color:#747c62}.light .sleep-track .stage-1{background:#c5c7b8}.light .sleep-track .stage-2{background:#9da78e}.light .sleep-track .stage-3{background:#73846c}.light .bars i{background:linear-gradient(#c2b49c,#ded4c3);border-color:#b6a48620}.light .bars .current{background:linear-gradient(#927e60,#b8a489)}.light .bars .future{background:#8d826d20}.light .accent{color:#8e7658}.light .practice-days .done{background:linear-gradient(120deg,#a2ab90,#7d8b70)}.light .experiment-metrics .saved strong>span{color:#91927e}
.light .apps{border-radius:17px;background:#f8f6f0a1;box-shadow:inset 0 1px 0 #fff9,0 8px 20px #59513b06}.light .app-icon{background:none;border:0;box-shadow:none;color:#737b67!important}.light .apps .app-icon{margin-bottom:0}.light .apps button{gap:3px}.light .bottom{background:#f8f6f0d9;border:1px solid #fff9;border-radius:23px;box-shadow:inset 0 1px 0 #fff,0 10px 30px #51463217;color:#77736b}.light .bottom button{color:#878177}.light .bottom button.active{color:#555e48}.light .bottom .quick-add{background:linear-gradient(135deg,#e5e6d9,#cdd3bd);color:#545d48;border-color:#ffffff8c;box-shadow:inset 0 1px 0 #fff9,0 2px 4px #59513b0c}.light .icon-button,.light .avatar{background:#dddccf;color:#707763;border-color:#f7f5ec}.light .preview{background:transparent;border-color:#8a806215;color:#847d70}.light .place-status,.light .tag{background:#e9ebdf;color:#777e65;border:0}.light .map-frame{filter:saturate(.45);background:#eaece530}.light .moment{background:#8b907b}.light .landscape{filter:saturate(.55)}.light .moment .card-top{color:#fff}.light .moment .card-top .ui-icon{color:#fff}.light .moment-text{color:#fff}.light dialog{background:#f7f5efed;color:#302e2a;border-color:#fff}.light dialog p,.light dialog label{color:#77736b}.light dialog .submit{background:#758168}
@media(max-width:600px){.light main{padding-top:22px}.light .intro{margin-top:54px;margin-bottom:25px}.light .card{border-radius:17px}.light .bottom{border-radius:23px}}
/* Ink / ice: a structured header and floating data panels. */
body.light{--bg:#edf0f4;--text:#1b2b40;--muted:#647389;--line:#25466b14;--mint:#426ad8;background:linear-gradient(to bottom,#152940 0,#203951 305px,#edf0f4 305px,#edf0f4 100%);color:var(--text);background-repeat:no-repeat}
body.light:before{content:'';position:absolute;top:0;right:0;width:48%;height:305px;pointer-events:none;background:repeating-radial-gradient(ellipse at 100% 0,transparent 0,transparent 37px,#adc5df0b 38px,#adc5df0b 39px,transparent 40px,transparent 77px);mask-image:linear-gradient(90deg,transparent,#000)}
.light main{position:relative;padding-top:28px}.light header{color:#f3f6fb}.light .brand{font-weight:500;letter-spacing:3px}.light .brandmark{color:#c5d6f2}.light .intro{margin-top:34px;margin-bottom:24px;color:#fff}.light .intro h1{font-size:32px;font-weight:500;letter-spacing:1px;margin-top:14px}.light .intro h1 span{color:#7d9fe2}.light .intro .eyebrow{color:#a1b2c6}.light .preview{color:#a8b8ca;border-color:#ffffff14;background:#ffffff05}.light .icon-button,.light .avatar{background:#ffffff0b;border:1px solid #ffffff1a;color:#c2d1e3}.light .view-tabs button{color:#a5b5c8;padding-bottom:12px}.light .view-tabs button.selected{color:#fff}.light .view-tabs .selected:after{background:#9ab8f5;width:26px;height:2px}.light .section-heading:has(.view-tabs){margin-bottom:22px}.light .dashboard{gap:18px}.light .glass,.light .card:not(.moment),.light .alternate{background:linear-gradient(135deg,#ffffffef,#f9fbffe3);border:1px solid #fff;border-bottom-color:#ffffffd4;box-shadow:inset 0 1px 0 #fff,0 12px 30px #182c4810,0 2px 4px #182c4807;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:var(--text)}
.light .card{border-radius:22px}.light .health{border-top:3px solid #b7caed}.light .card-top{font-weight:600;letter-spacing:.4px}.light .card-top .ui-icon{color:#4b72b3}.light .metric-label .ui-icon{color:#7c90ab}.light .card .metric-label,.light .card .card-meta,.light .card .stat-caption,.light .card .sleep-comparison,.light .card .chart-topline,.light .card .chart-scale,.light .card .bar-labels,.light .card .receipt-count,.light .card .experiment-note,.light .card .spend-breakdown{color:#68788d}.light .sleep-value,.light .spend-value,.light .health-stats strong,.light .experiment-metrics strong{color:#203752;font-weight:400}.light .sleep-comparison>span{color:#5278bd}.light .sleep-track .stage-1{background:#c6d6ee}.light .sleep-track .stage-2{background:#87a6d5}.light .sleep-track .stage-3{background:#496fa8}.light .sleep-track i{border-radius:2px}.light .health-stats{background:#e9eff740;border-top:1px solid #28486c0d;margin:0 -10px -7px;padding:18px 10px 8px;border-radius:0 0 12px 12px}.light .sleep-chart .chart-topline{letter-spacing:.2px}
.light .bars i{background:linear-gradient(#b5c5dc,#dee6f0);border-color:#9eafca25}.light .bars .current{background:linear-gradient(#476fc1,#7998d2);border-color:#476fc130}.light .bars .future{background:#94a9c220}.light .accent{color:#486fae}.light .spend-breakdown i{background:#547bb6}.light .spend-breakdown>span:last-child i{background:#a9bcd8}.light .tag{background:#eaf0fa;color:#5674a1;border:1px solid #dae5f3}.light .tag i{background:#6b90bf}.light .practice-days .done{background:linear-gradient(120deg,#95aed6,#6184bb);border-color:#6689bf22}.light .practice-days i{background:#6484ac0d}.light .experiment-metrics .saved strong>span{color:#8296b2}.light .breakfast-icon{background:#eff3fa;border:1px solid #fff;color:#7b94b7;transform:none;border-radius:12px}.light .map-frame{filter:saturate(.3) hue-rotate(75deg);background:#edf2f8}.light .place-status{color:#5e7ca4;background:#eef3fa;border:1px solid #e5edf7}.light .apps{background:#ffffffb0;border-radius:20px;box-shadow:inset 0 1px 0 #fff,0 8px 22px #182c4806}.light .apps .app-icon{color:#6482ad!important;background:#eff3fa;border:1px solid #fff;border-radius:13px;box-shadow:0 3px 7px #203e6708;margin-bottom:6px}.light .apps button{gap:5px}.light .section-heading h2{color:#35465c;font-weight:500}.light .entry{border-color:#36547613}.light .entry i{background:#a7bad6}.light .entry .mint-dot{background:#648abd}.light .bottom{background:linear-gradient(120deg,#fffffff2,#f4f7fce6);border:1px solid #fff;border-radius:24px;box-shadow:0 10px 32px #132c4921,inset 0 1px #fff;backdrop-filter:blur(24px)}.light .bottom button{color:#8392a6}.light .bottom button.active{color:#3d65a5}.light .bottom .quick-add{background:linear-gradient(145deg,#3e6198,#284878);color:#fff;border:1px solid #6585b0;box-shadow:inset 0 1px 1px #ffffff40,0 4px 8px #2d4c7a26}.light .moment{background:#506c82}.light .landscape{filter:none;background:linear-gradient(160deg,#c9d8e5,#a3b8cd 44%,#7894ad 72%,#506c82)}.light .hill.far{background:#809aaa88}.light .hill.near{background:#435e7699}.light .landscape:after{background:linear-gradient(transparent 20%,#152f4640 65%,#142b42b8)}.light .sun{background:#f2ead7;box-shadow:0 0 30px #f6e8bf33}.light .moment .card-top,.light .moment .card-top .ui-icon,.light .moment-text{color:#fff}.light .moment::before,.light .moment::after{display:none}.light .photo-label{color:#cad5df}.light dialog{background:#f7f9fded;color:#203752}.light dialog p,.light dialog label{color:#68788d}.light dialog .submit{background:#476ca6}.light .card:hover{box-shadow:inset 0 1px #fff,0 16px 34px #182c481a}
@media(max-width:600px){body.light{background:linear-gradient(to bottom,#152940 0,#203951 296px,#edf0f4 296px,#edf0f4 100%)}body.light:before{height:296px;width:65%}.light main{padding-top:23px}.light .intro{margin-top:56px;margin-bottom:24px}.light .intro h1{font-size:28px;letter-spacing:0}.light .card{border-radius:22px}.light .dashboard{gap:17px}.light .bottom{border-radius:24px}.light .health-stats{margin-bottom:-5px}}
/* Navigation lens: transparent body, refracted backdrop and rounded glass edge. */
.light .bottom,.bottom{--px:30%;--py:0%;isolation:isolate;overflow:hidden;border-radius:28px;background:linear-gradient(120deg,#ffffff17,#c0d0df0a 45%,#a5b8c321);border:1px solid #ffffff65;border-right-color:#64798c45;border-bottom-color:#52677742;backdrop-filter:blur(8px) saturate(135%);-webkit-backdrop-filter:blur(8px) saturate(135%);box-shadow:inset 0 2px 3px #ffffffe0,inset 2px 0 5px #ffffff80,inset -3px -3px 6px #42566c38,inset 0 -1px 1px #ffffffa6,0 12px 28px #152d492b,0 2px 4px #152d4917;padding:12px 17px}
@supports(backdrop-filter:url('#liquid-refraction')){.light .bottom,.bottom{backdrop-filter:url('#liquid-refraction') blur(7px) saturate(130%)}}
.light .bottom::before,.bottom::before{display:block;content:'';position:absolute;inset:0;padding:5px;border-radius:inherit;pointer-events:none;z-index:0;background:conic-gradient(from 150deg at 45% 45%,#253e6045,#ffffffc9 65deg,#ffffff14 110deg,#ffffffad 170deg,#4a628e45 220deg,#ffffff78 285deg,#253e6045);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;filter:blur(.4px)}
.light .bottom::after,.bottom::after{display:block;content:'';position:absolute;inset:5px;border-radius:23px;pointer-events:none;z-index:0;border:1px solid #ffffff30;border-top-color:#5a769027;border-bottom-color:#ffffff8c;box-shadow:inset 0 2px 4px #627d8b18,0 1px 2px #ffffff80;background:radial-gradient(ellipse at var(--px) 0%,#ffffff45,transparent 58%),linear-gradient(180deg,#ffffff0a,#d7e0e540);}
.light .bottom button,.bottom button{position:relative;z-index:1;color:#41536a;text-shadow:0 1px 3px #ffffffcc;font-weight:500}
.light .bottom button.active,.bottom button.active{color:#244c89}
.light .bottom .quick-add,.bottom .quick-add{background:linear-gradient(145deg,#426995a6,#284978c9);color:#fff;border:1px solid #ffffff80;box-shadow:inset 0 2px 2px #ffffff6b,inset 0 -2px 3px #142b5059,0 3px 7px #20395629;text-shadow:none;backdrop-filter:blur(8px)}
@media(max-width:600px){.light .bottom,.bottom{border-radius:28px;padding:11px 14px;gap:8px}.light .bottom::after,.bottom::after{border-radius:23px}}
@media(prefers-reduced-transparency:reduce){.light .bottom,.bottom{background:#e9eef5;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Sculpted glass: directional bevel rather than a flat white outline. */
.light .card:not(.moment),.light .alternate,.light .apps{position:relative;isolation:isolate;background:linear-gradient(135deg,#ffffff52,#eef3fa26 35%,#b7c9d329 75%,#ffffff3d);border:1px solid #ffffff8c;border-bottom-color:#46648238;border-right-color:#48668042;box-shadow:inset 2px 3px 4px #ffffffeb,inset -3px -4px 7px #324d6c29,inset 0 -1px 2px #ffffffbd,9px 16px 26px #1e385622,0 3px 5px #273c511c;backdrop-filter:blur(9px) saturate(115%);-webkit-backdrop-filter:blur(9px) saturate(115%);overflow:hidden}
.light .card{border-radius:27px}.light .health{border-top:1px solid #ffffff9c}
.light .card:not(.moment)::before,.light .apps::before,.light .alternate::before{display:block;content:'';position:absolute;inset:0;border-radius:inherit;padding:9px;z-index:0;pointer-events:none;background:linear-gradient(135deg,#ffffffb3 0%,#ffffff26 20%,#54738f38 42%,#ffffff17 54%,#2947634d 76%,#ffffff9c 100%);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;filter:blur(.7px)}
.light .card:not(.moment)::after,.light .apps::after,.light .alternate::after{display:block;content:'';position:absolute;inset:8px;border-radius:20px;pointer-events:none;z-index:0;border:1px solid #ffffff42;border-top-color:#45617f29;border-left-color:#45617f22;border-bottom-color:#ffffffb3;border-right-color:#ffffff80;box-shadow:inset 2px 3px 7px #45617f13,0 1px 2px #ffffff8c;background:radial-gradient(ellipse at 0 0,#ffffff5c,transparent 45%),linear-gradient(155deg,#ffffff0a,transparent 55%,#ffffff1f)}
.light .card:not(.moment)>*,.light .apps>*{position:relative;z-index:1}.light .card:hover{box-shadow:inset 2px 3px 4px #fff,inset -3px -4px 7px #324d6c30,inset 0 -1px 2px #ffffffbd,10px 20px 32px #1e38562b,0 3px 5px #273c511c}
.light .health-stats{background:transparent}.light .map-frame{background:#dce5ee42}.light .apps .app-icon{background:linear-gradient(135deg,#ffffff5c,#ffffff0d);box-shadow:inset 1px 2px 2px #fff9,inset -1px -2px 3px #45617f20,2px 4px 7px #314a6210;border-color:#ffffff80}
.light .bottom{border-radius:30px;background:linear-gradient(135deg,#ffffff20,#b3c6d61a 50%,#8fa6b32b);border-top-color:#ffffffb3;border-left-color:#ffffff8c;border-bottom-color:#3b526b73;border-right-color:#3b526b66;box-shadow:inset 2px 3px 3px #ffffffd9,inset -4px -5px 8px #20395159,inset 0 -1px 2px #ffffffb3,5px 14px 24px #1c34433d,0 3px 5px #1d344329;backdrop-filter:blur(5px) saturate(130%);-webkit-backdrop-filter:blur(5px) saturate(130%)}
.light .bottom::before{display:block;padding:8px;background:linear-gradient(135deg,#ffffffbd,#ffffff24 20%,#283f5659 45%,#ffffff0d 60%,#253f5c66 80%,#ffffffbd);filter:blur(.5px)}
.light .bottom::after{display:block;inset:8px;border-radius:22px;border-top-color:#3e587645;border-left-color:#3e587638;border-bottom-color:#ffffffa6;border-right-color:#ffffff99;box-shadow:inset 1px 2px 5px #213e5b20,0 1px 1px #ffffffbd;background:radial-gradient(ellipse at 12% 0,#ffffff59,transparent 50%)}
.light .bottom button{color:#344b64;text-shadow:0 1px 3px #fff}.light .bottom button.active{color:#173f78}
@media(max-width:600px){.light .card{border-radius:27px}.light .bottom{border-radius:30px}.light .card:not(.moment)::before,.light .apps::before{padding:7px}.light .card:not(.moment)::after,.light .apps::after{inset:6px;border-radius:21px}}
/* Continuous curved edge: remove inset contour lines and hard bevel bands. */
.light .card:not(.moment),.light .alternate,.light .apps{border:1px solid #ffffff26;border-radius:27px;background:linear-gradient(135deg,#ffffff40,#eaf0f521 45%,#b5c6d324);box-shadow:inset 3px 5px 13px #ffffffa6,inset -4px -6px 16px #3c566a20,0 12px 25px #263e591c,0 2px 5px #263e590a;backdrop-filter:blur(10px) saturate(110%);-webkit-backdrop-filter:blur(10px) saturate(110%)}
.light .health{border-top:1px solid #ffffff26}
.light .card:not(.moment)::before,.light .apps::before,.light .alternate::before{display:block;content:'';position:absolute;inset:0;padding:0;border:0;border-radius:inherit;pointer-events:none;z-index:0;mask:none;-webkit-mask:none;filter:none;box-shadow:none;background:linear-gradient(180deg,#ffffff73 0,#ffffff2e 6px,#ffffff0a 18px,transparent 30px),linear-gradient(90deg,#ffffff52 0,#ffffff1a 8px,transparent 26px),linear-gradient(0deg,#4b66771c 0,#4b66770a 12px,transparent 30px),linear-gradient(270deg,#43607317 0,transparent 26px)}
.light .card:not(.moment)::after,.light .apps::after,.light .alternate::after{display:none}
.light .card:hover{box-shadow:inset 3px 5px 13px #ffffffb3,inset -4px -6px 16px #3c566a24,0 16px 30px #263e5924}
.light .bottom{border:1px solid #ffffff30;border-radius:30px;background:linear-gradient(135deg,#ffffff1f,#bdd0dc14 55%,#7b96ac1f);box-shadow:inset 2px 4px 10px #ffffffa6,inset -3px -5px 12px #263f5638,0 10px 24px #20384c2b;backdrop-filter:blur(7px) saturate(125%);-webkit-backdrop-filter:blur(7px) saturate(125%)}
.light .bottom::before{display:block;inset:0;padding:0;border:0;border-radius:inherit;mask:none;-webkit-mask:none;filter:none;box-shadow:none;background:linear-gradient(180deg,#ffffff80 0,#ffffff26 5px,transparent 16px),linear-gradient(90deg,#ffffff40,transparent 22px),linear-gradient(0deg,#28435c29 0,#28435c0a 8px,transparent 20px)}
.light .bottom::after{display:none}
@media(max-width:600px){.light .card:not(.moment)::before,.light .apps::before{inset:0;padding:0}.light .card:not(.moment)::after,.light .apps::after{display:none}.light .bottom{border-radius:30px}}
/* One continuous backdrop: no header color seam behind translucent cards. */
body.light{--bg:#e7e9e7;--text:#283330;--muted:#69746e;--line:#344b3f16;--mint:#627b71;background:#e7e9e7;color:var(--text)}
body.light::before{display:none}.light header{color:#283330}.light .brandmark{color:#63796f}.light .intro{color:#283330}.light .intro h1 span{color:#869a90}.light .intro .eyebrow{color:#737e77}.light .preview{background:#ffffff20;border-color:#60716819;color:#7a847e}.light .icon-button,.light .avatar{background:#ffffff30;border-color:#ffffff7a;color:#63766b}.light .view-tabs button{color:#79847d}.light .view-tabs button.selected{color:#30483c}.light .view-tabs .selected:after{background:#779083}
.light .card:not(.moment),.light .alternate,.light .apps{background:linear-gradient(135deg,#ffffff47,#f4f7f21f 45%,#afbbb51c);border-color:#ffffff40;box-shadow:inset 3px 5px 13px #ffffffa6,inset -4px -6px 16px #3b524412,0 12px 25px #2c403515,0 2px 5px #2c403508;color:#283330}
.light .health{border-top-color:#ffffff40}.light .card:not(.moment)::before,.light .apps::before,.light .alternate::before{background:linear-gradient(180deg,#ffffff66 0,#ffffff24 6px,#ffffff08 18px,transparent 30px),linear-gradient(90deg,#ffffff40 0,#ffffff12 8px,transparent 26px),linear-gradient(0deg,#46594b12 0,#46594b05 12px,transparent 30px)}
.light .card:hover{box-shadow:inset 3px 5px 13px #ffffffa6,inset -4px -6px 16px #3b524418,0 16px 30px #2c40351c}
@media(max-width:600px){body.light{background:#e7e9e7}body.light::before{display:none}}

/* Pure white backdrop. */
body.light{--bg:#ffffff;background:#ffffff}
@media(max-width:600px){body.light{background:#ffffff}}

/* Calm data surfaces; glass reserved for floating controls and image overlays. */
body.light{background:#fff;--bg:#fff;--text:#273731;--muted:#6d7b74;--line:#354a3d14}
.light .card:not(.moment),.light .alternate{background:#f7f9f8;border:1px solid #edf1ee;border-radius:24px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.light .card:not(.moment)::before,.light .card:not(.moment)::after,.light .alternate::before,.light .alternate::after,.light .apps::before,.light .apps::after{display:none}
.light .card:not(.moment):hover{background:#f4f7f5;box-shadow:0 5px 16px #324a3e06;transform:translateY(-1px)}
.light .health{border:1px solid #e9efed;background:linear-gradient(115deg,#f5f9f7,#f7f9fb)}
.light .health-stats{background:none}.light .apps{background:#fafbf9;border:1px solid #edf0eb;border-radius:22px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.light .app-icon,.light .apps .app-icon{background:#eef3f0;border:0;box-shadow:none;color:#698578!important}
.light .moment{border-radius:24px;box-shadow:none;border:0;min-height:360px;background:#9d8c65}
.light .moment .landscape{background:url('meadow.png') center 57% / cover;filter:none}
.light .moment .landscape>*{display:none}.light .moment .landscape::after{background:linear-gradient(#12291d15,transparent 45%,#0d211b35)}
.light .moment .card-top{top:20px;left:20px;right:auto;padding:8px 12px;min-height:36px;border-radius:15px;background:#ffffff1f;backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%);border:1px solid #ffffff30;box-shadow:inset 0 1px 0 #ffffff66,0 3px 9px #162c2010;color:#fff;font-size:14px}
.light .moment .moment-date{display:none}
.light .moment .moment-text{position:absolute;left:16px;right:16px;bottom:24px;padding:20px 18px 16px;border-radius:24px;background:linear-gradient(135deg,#ffffff24,#233a2f17);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);border:1px solid #ffffff2e;border-bottom-color:#122c2330;box-shadow:inset 0 1px 0 #ffffff80,inset 0 -2px 5px #1c332a1a,0 9px 18px #14261c29;color:#fff}
.light .moment h2{font-size:24px;line-height:1.4;letter-spacing:0;margin:0 0 18px;font-weight:500}.light .moment-location{color:#ffffffe6!important}.light .moment .photo-label{font-size:12px;color:#ffffffe0;right:20px;bottom:5px}
.light .bottom{background:linear-gradient(130deg,#ffffff52,#ffffff24);border:1px solid #ffffff85;border-bottom-color:#879d9450;border-radius:29px;backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:inset 0 1px 2px #ffffffd9,inset 0 -2px 5px #4964591a,0 10px 26px #243f3326}
.light .bottom::before{display:block;inset:0;padding:0;background:linear-gradient(180deg,#ffffff59,transparent 12px),linear-gradient(0deg,#405f5012,transparent 12px);border:0;box-shadow:none;border-radius:inherit;mask:none;-webkit-mask:none;pointer-events:none}
.light .bottom::after{display:none}.light .bottom button{color:#445b52;text-shadow:0 1px 2px #ffffff9c}.light .bottom button.active{color:#285e4c}.light .bottom .quick-add{background:linear-gradient(135deg,#658b7b,#335b4a);box-shadow:inset 0 1px 0 #ffffff66,0 3px 8px #1f463024;color:#fff;border:1px solid #ffffff59;text-shadow:none}
@media(max-width:600px){.light .card,.light .card:not(.moment){border-radius:24px}.light .moment{min-height:350px}.light .moment .card-top{left:20px;right:auto;top:20px}.light .moment .moment-text{left:16px;right:16px;bottom:24px;padding:20px}.light .bottom{border-radius:29px}}
/* Morning window: photographic backdrop and full glass dashboard. */
body.light{background:#c6cec4;color:#24382e;--text:#24382e;--muted:#526758;--line:#35543d24;--mint:#52775f}
body.light::before{display:block;content:'';position:fixed;inset:0;width:100%;height:100%;z-index:-2;background:url('life-morning.png') center 54% / cover no-repeat;mask:none;-webkit-mask:none;pointer-events:none}
body.light::after{content:'';position:fixed;inset:0;z-index:-1;background:#eff4ea1a;pointer-events:none}
.light main{isolation:auto}.light header,.light .intro{color:#263c30}.light .intro .eyebrow{color:#536858}.light .view-tabs button{color:#637464}.light .view-tabs button.selected{color:#253f30}.light .preview{background:#f5f8f06b;border-color:#fff8;color:#526657}.light .icon-button,.light .avatar{background:#ffffff5c;border-color:#fff9;color:#4a6955}
.light .card:not(.moment),.light .alternate,.light .apps{background:linear-gradient(125deg,rgba(255,255,255,.42),rgba(245,250,242,.23));border:1px solid #ffffff66;border-radius:28px;backdrop-filter:blur(24px) saturate(115%);-webkit-backdrop-filter:blur(24px) saturate(115%);box-shadow:inset 0 1px 0 #ffffffa6,0 10px 26px #203d281c;color:#24382e}
.light .health{background:linear-gradient(125deg,#ffffff80,#f4f9f047);border:1px solid #ffffff80}.light .card:not(.moment):hover{background:linear-gradient(125deg,#ffffff8c,#f5faf254);box-shadow:inset 0 1px 0 #ffffffb3,0 14px 28px #203d2826}
.light .card:not(.moment)::before,.light .card:not(.moment)::after,.light .apps::before,.light .apps::after{display:none}
.light .card-top .ui-icon,.light .metric-label .ui-icon{color:#5e7c65}.light .sleep-value,.light .spend-value,.light .health-stats strong,.light .experiment-metrics strong{color:#2c4536}.light .card .metric-label,.light .card .card-meta,.light .card .stat-caption,.light .card .sleep-comparison,.light .card .chart-topline,.light .card .chart-scale,.light .card .bar-labels,.light .card .receipt-count,.light .card .experiment-note,.light .card .spend-breakdown{color:#536958}.light .sleep-comparison>span{color:#497458}.light .sleep-track .stage-1{background:#bacbb7}.light .sleep-track .stage-2{background:#89a88b}.light .sleep-track .stage-3{background:#537d5d}.light .bars i{background:linear-gradient(#97b398,#d0dfc7);border-color:#7c9b7325}.light .bars .current{background:linear-gradient(#547c5a,#86a17a)}.light .bars .future{background:#53794e21}.light .accent{color:#496f4e}.light .spend-breakdown i{background:#688866}.light .spend-breakdown>span:last-child i{background:#9bb292}.light .practice-days .done{background:linear-gradient(120deg,#a2bc92,#64845a)}.light .tag,.light .place-status{background:#eff6e78c;border-color:#fff7;color:#5c7859}.light .experiment-metrics .saved strong>span{color:#789170}.light .breakfast-icon{color:#6f8562;background:#ffffff35;border-color:#fff8}.light .map-frame{filter:saturate(.65);background:#e2ecd33d}
.light .apps .app-icon{background:#ffffff35;border:1px solid #ffffff70;box-shadow:inset 0 1px 0 #fff7;color:#5a7b60!important}.light .section-heading h2{color:#2e4937}.light .entry{border-color:#3c5b3f24}.light .entry time,.light .entry b{color:#536858}.light .entry .mint-dot{background:#5d825c}
.light .moment{background:linear-gradient(130deg,#ffffff45,#edf5e12b);border:1px solid #ffffff70;border-radius:28px;box-shadow:inset 0 1px 0 #fff9,0 10px 26px #203d281c;backdrop-filter:blur(24px) saturate(115%);-webkit-backdrop-filter:blur(24px) saturate(115%)}
.light .moment .landscape{display:none}.light .moment .card-top{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;left:24px;top:24px;padding:0;color:#2b4734;font-size:16px}.light .moment .card-top .ui-icon{color:#5d7e5d}.light .moment .moment-date{display:block;color:#55794f;font-size:48px;margin-top:52px}.light .moment .moment-date>span{font-size:14px}.light .moment .moment-text{left:24px;right:24px;bottom:26px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:#294231}.light .moment h2{color:#294231;font-size:24px}.light .moment-location{color:#55704f!important}.light .moment .photo-label{display:none}
.light .bottom{background:linear-gradient(125deg,#ffffff54,#edf4e52b);border:1px solid #ffffff85;border-bottom-color:#78906b38;backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);box-shadow:inset 0 1px 2px #ffffffb3,0 12px 28px #1f3c292e;border-radius:30px}.light .bottom button{color:#4a6550}.light .bottom button.active{color:#264d32}.light .bottom .quick-add{background:linear-gradient(135deg,#729268,#3d663e)}
@media(max-width:600px){body.light{background:#c6cec4}body.light::before{display:block;inset:0;width:100%;height:100%;background-position:53% center}.light .card,.light .card:not(.moment),.light .moment{border-radius:28px}.light .moment .card-top{left:24px;right:auto;top:24px;padding:0}.light .moment .moment-text{left:24px;right:24px;bottom:26px;padding:0}.light .bottom{border-radius:30px}}
.light::after{background:linear-gradient(180deg,#f1f5ecdf 0,#f1f5ecc4 180px,#eff4ea33 340px,#eff4ea14 100%)}
body.light::after{background:linear-gradient(180deg,#f1f5eceb 0,#f1f5ecdb 180px,#eff4ea40 340px,#eff4ea14 100%)}
/* Shader-rendered edge refraction; content is never filtered. */
.light .refractive-ready.card,.light .refractive-ready.apps,.light .refractive-ready.bottom{background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 10px 25px #233c292b;isolation:isolate;position:relative;overflow:hidden}
.light .refractive-ready.bottom{position:fixed}.light .refractive-ready::before,.light .refractive-ready::after{display:none!important}
.light .refractive-ready>.lens-surface{position:absolute!important;inset:0!important;width:100%;height:100%;z-index:0!important;pointer-events:none;border-radius:inherit}
.light .refractive-ready>*:not(.lens-surface){z-index:1;position:relative}.light .refractive-ready.moment .card-top,.light .refractive-ready.moment .moment-text{position:absolute}
.light .refractive-ready.card:hover{background:transparent;box-shadow:0 14px 29px #233c2933;transform:none}
body:not(.light) .lens-surface{display:none}
/* Even lens edges and a fresh daylight scene. */
body.light::before{background-image:url('life-spring.png')}
.light .refractive-ready.card,.light .refractive-ready.apps,.light .refractive-ready.bottom{box-shadow:0 0 22px #294f4224}
.light .refractive-ready.card:hover{box-shadow:0 0 26px #294f4230}
body.light::before{background-image:var(--life-background,url('background-cream.png'))}
.background-open{border:1px solid #ffffff80;background:#ffffff45;border-radius:20px;padding:8px 14px;color:inherit;font:inherit;font-size:14px;cursor:pointer}
#background-dialog{width:min(620px,calc(100vw - 32px));box-sizing:border-box;padding:28px;background:#fafaf7;color:#263b35;border:1px solid #fff;border-radius:26px}
#background-dialog h2{font-size:22px;margin:0 0 22px}
.background-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.background-option{position:relative;border:2px solid transparent;border-radius:16px;padding:5px;background:#eeefeb;color:#263b35;cursor:pointer;min-width:0;font:inherit}
.background-option img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;border-radius:10px}
.background-option>span:not(.background-check){display:block;padding:12px 0 8px;font-size:14px}
.background-option[aria-pressed="true"]{border-color:#426c51;background:#e5ece3}
.background-check{display:none;position:absolute;top:12px;right:12px;width:25px;height:25px;border-radius:50%;background:#426c51;color:white;line-height:25px;text-align:center}
.background-option[aria-pressed="true"] .background-check{display:block}
.background-status{font-size:13px;margin:12px 0 0}
.background-status:empty{display:none}
@media(max-width:600px){.header-actions{gap:8px}.header-actions{flex-wrap:wrap;justify-content:flex-end}#background-dialog{padding:22px 16px}.background-options{gap:8px}.background-option>span:not(.background-check){font-size:13px}}

.settings-avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;padding:3px;border-radius:50%;border:2px solid #ffffffc9;background:linear-gradient(145deg,#d7e2d6,#96b29e);box-shadow:0 2px 8px #283c3020,inset 0 0 0 1px #52665720;overflow:hidden;color:#55745e}
.settings-avatar svg{display:block;width:34px;height:34px;fill:currentColor;opacity:.85}
.settings-avatar:hover{box-shadow:0 0 0 4px #ffffff50,0 2px 10px #283c3020}
.appearance-setting{display:flex;align-items:center;justify-content:space-between;padding:0 0 22px;border-bottom:1px solid #263b3515;font-size:16px}
.mode-switch{width:46px;height:28px;flex-shrink:0;padding:3px;background:#cbd1cb;border-radius:20px;transition:background .2s}
.mode-switch>span{display:block;width:22px;height:22px;background:white;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .2s}
.mode-switch[aria-checked="true"]{background:#426c51}
.mode-switch[aria-checked="true"]>span{transform:translateX(18px)}
.background-label{font-size:16px;font-weight:500;margin:22px 0 14px}
body:not(.light) #background-dialog{background:#1c292c;color:#edf3ef;border-color:#ffffff20}
body:not(.light) .appearance-setting{border-color:#ffffff20}
body:not(.light) .background-option{background:#2b3b3d;color:#eef3ee}
body:not(.light) .background-option[aria-pressed="true"]{border-color:#b3d0ba;background:#354a42}
/* Calendar-inspired date, without introductory copy. */
.intro.date-intro,.light .intro.date-intro{margin:34px 0 30px;display:flex;align-items:center}
.calendar-date{display:flex;align-items:center;gap:22px;color:inherit}
.calendar-day{font-family:Georgia,'Times New Roman',serif;font-size:76px;font-weight:400;line-height:.95;letter-spacing:-4px;font-variant-numeric:lining-nums tabular-nums}
.calendar-info{display:flex;flex-direction:column;gap:11px;border-left:1px solid #61746240;padding:3px 0 3px 22px}
.calendar-month{display:flex;align-items:baseline;gap:13px;font-size:19px;letter-spacing:2px}
.calendar-year{font-family:Arial,sans-serif;font-size:13px;letter-spacing:1px;color:var(--muted)}
.calendar-week{font-size:13px;letter-spacing:3px;color:var(--muted)}
@media(max-width:600px){.intro.date-intro,.light .intro.date-intro{margin:30px 0 28px}.calendar-day{font-size:68px}.calendar-date{gap:20px}.calendar-info{padding-left:20px}}
/* Rounded two-tone illustration family. */
.illustrated-icon{--icon-fill:#83bcca;--icon-ink:#326b7a;--icon-paper:#fffaf0;flex-shrink:0;overflow:visible}
.illustrated-icon .shine{fill:none;stroke:#fffef5;stroke-width:4;opacity:.95}
.icon-health,.icon-mood,.icon-moment{--icon-fill:#f4d565;--icon-ink:#3e969b}
.icon-money,.icon-collection,.icon-review{--icon-fill:#8eaaeb;--icon-ink:#4564a5}
.icon-experiment,.icon-home,.icon-apps{--icon-fill:#a5c9ac;--icon-ink:#4f8068}
.icon-water{--icon-fill:#6bbfdf;--icon-ink:#368eaf}
.icon-coffee{--icon-fill:#e4b18c;--icon-ink:#a57051}
.card-top .illustrated-icon{width:28px;height:28px;margin-right:2px}
.metric-label .illustrated-icon{width:19px;height:19px}
.apps .app-icon{width:54px;height:54px!important;background:none!important;border:0!important;box-shadow:none!important}
.apps .app-icon .illustrated-icon{width:46px;height:46px}
.bottom .illustrated-icon{width:27px;height:27px}
.bottom button:not(.active) .illustrated-icon{filter:saturate(.65);opacity:.82}
.breakfast-icon .illustrated-icon{width:33px;height:33px}
.moment-location .illustrated-icon{width:18px;height:18px}
.place-list>button>span .illustrated-icon{width:48px;height:48px}
body:not(.light) .illustrated-icon{--icon-ink:#a3cdd4;--icon-paper:#f7f4e6}
@media(max-width:600px){.card-top .illustrated-icon{width:25px;height:25px}.apps .app-icon .illustrated-icon{width:42px;height:42px}}
/* Keep a continuous rhythm after removing redundant section titles. */
.intro.date-intro,.light .intro.date-intro{margin-bottom:26px}
#today>.apps{margin-top:20px}
#today>.timeline{margin-top:22px;padding:0 8px}
.timeline .entry:first-child{border-top:0}
@media(max-width:600px){.intro.date-intro,.light .intro.date-intro{margin-bottom:24px}#today>.apps{margin-top:16px}#today>.timeline{margin-top:18px;padding:0 4px}}

.minimal-header{justify-content:flex-end;min-height:28px}
.intro.date-intro,.light .intro.date-intro{margin-top:14px}
body[data-view="mine"] .date-intro{display:none}
.profile-heading{display:flex;align-items:center;gap:20px;margin:24px 0 30px}
.profile-heading h1{font-size:26px;font-weight:500;margin:0;letter-spacing:1px}
.profile-avatar{width:76px;height:76px;border-width:3px;padding:5px}
.profile-avatar svg{width:64px;height:64px}
#mine{max-width:740px;margin:0 auto}
.profile-settings{padding:28px;border-radius:28px;text-align:left}
.profile-settings .background-options{gap:18px}
.profile-settings .background-option{background:#ffffff75}
.profile-settings .background-option[aria-pressed="true"]{background:#e5ece3b0}
body:not(.light) .profile-settings .background-option{background:#2b3b3d;color:#eef3ee}
@media(max-width:600px){.profile-heading{margin:20px 0 24px}.profile-settings{padding:20px}.profile-settings .background-options{gap:8px}}
body[data-view="mine"] .intro.date-intro{display:none}
/* Gentle hover and contact feedback; opening details does not replay a press. */
body button[data-detail],body.light button.refractive-ready.card{transition:transform 200ms ease,box-shadow 200ms ease}
@media(hover:hover) and (pointer:fine){
body button[data-detail]:hover,body.light button.refractive-ready.card:hover{transform:translateY(-2px);animation:card-hover-float 2.8s ease-in-out infinite}
}
@keyframes card-hover-float{0%,100%{transform:translateY(-2px)}50%{transform:translateY(-3.5px)}}
body button[data-detail]:active,body.light button.refractive-ready.card:active,body button[data-detail].touch-pressed,body.light button.refractive-ready.card.touch-pressed{animation:none;transform:translateY(1px) scale(.975);transition-duration:100ms}
dialog[open]{animation:detail-enter 240ms cubic-bezier(.2,.75,.25,1) both}
dialog[open]::backdrop{animation:detail-backdrop 200ms ease both}
@keyframes detail-enter{from{opacity:0;translate:0 14px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
@keyframes detail-backdrop{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body button[data-detail],body.light button.refractive-ready.card{transition:none}body button[data-detail]:hover,body button[data-detail]:active,body button[data-detail].touch-pressed,body.light button.refractive-ready.card:hover,body.light button.refractive-ready.card:active,body.light button.refractive-ready.card.touch-pressed{animation:none;transform:none}dialog[open],dialog[open]::backdrop{animation:none}}
/* Gentle, staggered rhythm for the illustrative sleep track. */
.sleep-track i{transform-origin:center;animation:sleep-rhythm 1.8s ease-in-out infinite;animation-delay:calc(var(--delay,0ms) * -9);will-change:transform}
.sleep-track i:nth-child(3n){animation-duration:2.1s}
.sleep-track i:nth-child(4n){animation-duration:1.55s}
@keyframes sleep-rhythm{0%,100%{transform:translateY(0) scaleY(1)}25%{transform:translateY(-1px) scaleY(.96)}55%{transform:translateY(1px) scaleY(1.04)}80%{transform:translateY(-.5px) scaleY(.98)}}
@media(prefers-reduced-motion:reduce){.sleep-track i{animation:none;will-change:auto}}
/* Explicitly requested persistent rhythm, scoped to this illustration. */
body .sleep-track i{animation-name:sleep-rhythm!important;animation-duration:3.2s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important;animation-delay:calc(var(--delay,0ms) * -9)!important}
body .sleep-track i:nth-child(3n){animation-duration:3.8s!important}
body .sleep-track i:nth-child(4n){animation-duration:2.9s!important}

/* Shared page and overlay design system: same glass, typography and controls. */
body[data-view="records"] .intro.date-intro{display:none}
#records{max-width:1000px;margin:auto}
.record-page-heading{display:flex;align-items:center;gap:12px;margin:20px 0 26px}
.record-page-heading h1{font-size:25px;font-weight:500;margin:0;letter-spacing:.5px}
.page-back{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffff55;border:1px solid #ffffff9c;color:inherit;font-size:24px;margin-right:4px}
.record-title-icon{display:flex;align-items:center}.record-title-icon .illustrated-icon{width:34px;height:34px}
.record-page-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}
.record-surface{padding:26px;cursor:default;min-width:0}
body .record-surface:hover,body.light .record-surface:hover{transform:none}
.record-surface h2{font-size:17px;font-weight:600;margin:0 0 22px}
.record-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.record-field{display:flex;flex-direction:column;gap:9px;font-size:14px;min-width:0}.field-wide{grid-column:1/-1}.required-mark{color:#657c6d;font-size:12px}
.record-field input,.record-field select,.record-field textarea{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:12px;border:1px solid #ffffffa8;background:#fff9;border-radius:12px;color:#253e34;font:inherit;font-size:16px;outline:none;color-scheme:light}
.record-field textarea{resize:vertical;line-height:1.6;min-height:100px}
.record-field :is(input,select,textarea):focus{border-color:#577c67;box-shadow:0 0 0 3px #557f6320}
.record-form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.record-form-footer>span{font-size:12px;color:var(--muted)}
.record-form-footer .submit{margin:0;width:auto;padding:12px 22px;flex-shrink:0;border-radius:24px;font:inherit;font-size:15px;background:#476e55;color:white;border:1px solid #ffffff70}
#record-status{font-size:14px;line-height:1.6;margin:14px 0 0}#record-status:empty{display:none}
.record-list-heading{display:flex;justify-content:space-between;align-items:baseline}.record-list-heading>span{font-size:13px;color:var(--muted)}
.record-empty{font-size:15px;color:var(--muted);padding:30px 0;text-align:center}
.saved-record{padding:20px 0;border-top:1px solid #637b6825}.saved-record:first-child{border-top:0;padding-top:0}.saved-record:last-child{padding-bottom:0}
.saved-record-heading{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.saved-record h3{font-size:17px;margin:0;font-weight:500;overflow-wrap:anywhere}.saved-record time{font-size:12px;white-space:nowrap;color:var(--muted)}
.saved-record dl{display:grid;gap:8px;font-size:14px;margin:16px 0 0}.saved-record dl:empty{display:none}.saved-record dl>div{display:flex;justify-content:space-between;gap:16px}.saved-record dt{color:var(--muted);flex-shrink:0}.saved-record dd{margin:0;overflow-wrap:anywhere;text-align:right}.saved-record p{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0 0}
.light .alternate.refractive-ready{background:transparent;border:0;backdrop-filter:none;isolation:isolate;position:relative;overflow:hidden;border-radius:28px;box-shadow:0 0 22px #294f4224}
body:not(.light) .record-field :is(input,select,textarea){background:#ffffff10;border-color:#ffffff28;color:#edf3ee;color-scheme:dark}
body:not(.light) .page-back{background:#ffffff12;border-color:#ffffff30}
/* Future dialogs share the existing glass surface instead of an opaque panel. */
dialog{border-radius:28px;background:linear-gradient(135deg,#ffffff25,#ffffff12);border:1px solid #ffffff70;backdrop-filter:blur(24px);box-shadow:inset 0 1px 2px #ffffff75,0 18px 50px #162f3030}
body.light dialog{background:linear-gradient(135deg,#ffffffe0,#ffffffa6);border-radius:28px;border-color:#ffffffb0;backdrop-filter:blur(24px)}
@media(max-width:800px){.record-page-grid{grid-template-columns:1fr}.record-surface{padding:24px}.record-page-heading{margin-top:18px}}
@media(max-width:450px){.record-surface{padding:20px}.record-fields{gap:18px 12px}.record-form-footer{flex-wrap:wrap}.record-page-heading h1{font-size:22px}.record-page-heading{gap:9px}.saved-record-heading{flex-wrap:wrap;gap:6px}}
#module-form .record-field{align-items:stretch;justify-content:flex-start;text-align:left;margin:0;color:var(--text)}
#module-form .record-field>span{color:var(--text);text-align:left;font-weight:500;opacity:1}
/* Dark theme tokens; photographic background and lens share the same 80% tint. */
body:not(.light){color-scheme:dark;--bg:#0d1215;--text:#eef3f1;--muted:#b5c3bd;--line:#82968f50;--mint:#a6d6ba;--glass:#202c30d9;--shadow:#00000050;background:var(--bg);color:var(--text)}
body:not(.light) .aurora,body:not(.light) .grain{display:none}
body:not(.light)::before{content:'';display:block;position:fixed;inset:0;z-index:-2;pointer-events:none;background:var(--life-background,url('background-cream.png')) center 54% / cover no-repeat;mask:none;-webkit-mask:none}
body:not(.light)::after{content:'';display:block;position:fixed;inset:0;z-index:-1;pointer-events:none;background:rgba(13,18,21,.80)}
body:not(.light) .refractive-ready{background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate;position:relative;overflow:hidden;border-radius:28px;box-shadow:0 0 22px #0005;color:var(--text)}
body:not(.light) .refractive-ready.bottom{position:fixed;border-radius:30px}
body:not(.light) .refractive-ready::before,body:not(.light) .refractive-ready::after{display:none!important}
body:not(.light) .refractive-ready>.lens-surface{display:block;position:absolute!important;inset:0!important;width:100%;height:100%;z-index:0!important;pointer-events:none;border-radius:inherit}
body:not(.light) .refractive-ready>*:not(.lens-surface){position:relative;z-index:1}
body:not(.light) .refractive-ready.moment .card-top,body:not(.light) .refractive-ready.moment .moment-text{position:absolute}
body:not(.light) .moment .landscape,body:not(.light) .moment .photo-label{display:none}
body:not(.light) .bottom button{color:var(--muted);text-shadow:none}
body:not(.light) .bottom button.active{color:var(--mint);text-shadow:none;background:#a6d6ba14;border-radius:14px}
body:not(.light) .bottom .quick-add{background:#a6d6ba;color:#15261d;border:1px solid #c3e8d1;box-shadow:0 3px 10px #0003;text-shadow:none}
body:not(.light) .bottom button:not(.active) .illustrated-icon{opacity:1;filter:none}
body:not(.light) :is(.metric-label,.card-meta,.stat-caption,.sleep-comparison,.chart-topline,.chart-scale,.bar-labels,.receipt-count,.experiment-note,.spend-breakdown,.moment-location,.place-row>div>span,.calendar-week,.calendar-year,.preview,.map-hint){color:var(--muted)}
body:not(.light) :is(.sleep-value,.spend-value,.health-stats strong,.experiment-metrics strong,.card-top,.moment-text,.moment-date,.entry,.apps strong){color:var(--text)}
body:not(.light) :is(.tag,.place-status){background:#294337;color:#c4e8d1;border:1px solid #a6d6ba50}
body:not(.light) .preview{background:#182226b3;border-color:#82968f50}
body:not(.light) .map-frame{background:#192b2b;filter:none}
body:not(.light) .profile-settings .background-option{background:#1e2b30;color:var(--text)}
body:not(.light) .profile-settings .background-option[aria-pressed="true"]{border-color:var(--mint);background:#2b4437}
body:not(.light) .background-check{background:#a6d6ba;color:#15261d}
body:not(.light) .mode-switch{background:#51635c;border:1px solid #a6b8b0}
body:not(.light) .mode-switch[aria-checked="true"]{background:#a6d6ba;border-color:#a6d6ba}
body:not(.light) .mode-switch[aria-checked="true"]>span{background:#15261d}
body:not(.light) .record-field :is(input,select,textarea){background:#172329;border-color:#82968f;color:var(--text)}
body:not(.light) .record-form-footer .submit{background:#a6d6ba;color:#15261d;border-color:#a6d6ba}
body:not(.light) .required-mark{color:var(--muted)}
body:not(.light) .page-back{background:#243338;color:var(--text);border-color:#82968f}
body:not(.light) .record-field :is(input,select,textarea):focus{border-color:#a6d6ba;box-shadow:0 0 0 3px #a6d6ba30}
body:not(.light) .illustrated-icon{--icon-fill:#83bcca;--icon-ink:#b8e0e8;--icon-paper:#24383c}
body:not(.light) :is(.icon-health,.icon-mood,.icon-moment){--icon-fill:#e7cb76;--icon-ink:#8dd0c8}
body:not(.light) :is(.icon-money,.icon-collection,.icon-review){--icon-fill:#90ace0;--icon-ink:#c3d4f3}
body:not(.light) :is(.icon-experiment,.icon-home,.icon-apps){--icon-fill:#93bda1;--icon-ink:#c2dfcc}
body:not(.light) dialog{background:#1c292df2;color:var(--text);border-color:#82968f80;box-shadow:inset 0 1px 2px #ffffff30,0 18px 50px #0006}
@media(max-width:600px){body:not(.light)::before{background-position:53% center}}
body:not(.light) :is(.sleep-comparison>span,.accent,.experiment-metrics .saved strong,.experiment-metrics .saved strong>span){color:var(--mint)}
body:not(.light) :is(.spend-value small,.sleep-value span,.experiment-metrics strong small,.health-stats strong small,.moment-date span,.experiment p,.practice-row,.entry time,.entry b){color:var(--muted)}
body:not(.light) .bars i:not(.future){background:linear-gradient(#a6d6ba,#729b86);border-color:#a6d6ba80}
body:not(.light) .bars .current{background:linear-gradient(#e1f3e8,#a6d6ba)}
body:not(.light) .sleep-track .stage-3{background:#80b39b}
/* Typography and alignment contract, shared by both themes. */
:root{--font-ui:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;--font-number:'Segoe UI','Helvetica Neue',Arial,sans-serif;--size-page:24px;--size-title:16px;--size-body:15px;--size-label:14px;--size-secondary:13px;--size-caption:12px;--size-metric:40px;--size-stat:24px;--card-inset:24px}
body{font-family:var(--font-ui);font-size:var(--size-body);line-height:1.6}
button,input,select,textarea{font-family:var(--font-ui)}
body .profile-heading h1,body .record-page-heading h1{font-size:var(--size-page);font-weight:500;line-height:1.35;letter-spacing:0}
body .card,body .record-surface,body .profile-settings{padding:var(--card-inset)}
body .card-top,body .money .card-top,body .moment .card-top{font-size:var(--size-title);font-weight:600;line-height:1.5;min-height:28px}
body .card-top>span:first-child{display:flex;align-items:center;gap:10px}
body .card-top .illustrated-icon{width:26px;height:26px;margin:0}
body .metric-label{font-size:var(--size-label);line-height:1.5}
body :is(.sleep-value,.spend-value,.health-stats strong,.experiment-metrics strong,.moment-date,.review-stats strong){font-family:var(--font-number);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.5px;font-weight:400}
body .sleep-value,body .spend-value,body .experiment-metrics .saved strong{font-size:var(--size-metric);line-height:1.25;white-space:nowrap}
body .spend-value>span,body .experiment-metrics .saved strong>span{font-size:28px;line-height:1;vertical-align:baseline}
body .spend-value small,body .experiment-metrics .saved strong small{font-size:18px;line-height:1;vertical-align:baseline;margin-right:4px;letter-spacing:0}
body .sleep-value>span,body .health-stats strong small,body .experiment-metrics strong small{font-family:var(--font-ui);font-size:13px;line-height:1.5;font-weight:400;letter-spacing:0;vertical-align:baseline}
body .health-stats strong,body .experiment-metrics strong{font-size:var(--size-stat);line-height:1.35}
body .health-stats .feeling{font-family:var(--font-ui);font-size:22px;line-height:1.48;font-weight:400;letter-spacing:0}
body .health-stats strong{display:block;min-height:33px;margin:8px 0 4px}
body .stat-caption{font-size:13px;line-height:1.5}
body .moment-date,body.light .moment .moment-date{font-size:40px;line-height:1.25;font-weight:400}
body .moment-date>span{font-family:var(--font-ui);font-size:13px;letter-spacing:0;vertical-align:baseline;margin-left:6px}
body .moment .card-top,body.light .moment .card-top{left:var(--card-inset);right:var(--card-inset);top:var(--card-inset);padding:0}
body .moment .moment-text,body.light .moment .moment-text{left:var(--card-inset);right:var(--card-inset);bottom:var(--card-inset)}
body :is(.chart-topline,.chart-scale,.receipt-count,.practice-row,.calendar-year,.entry time,.saved-record time,.saved-record dd){font-variant-numeric:lining-nums tabular-nums}
body .chart-topline{align-items:baseline;gap:8px}
body .chart-topline b{font-weight:400;white-space:nowrap}
body .record-surface h2,body .saved-record h3{font-size:16px;line-height:1.5}
body .record-field input,body .record-field select{height:48px;line-height:24px;padding:11px 12px;font-size:16px;font-variant-numeric:lining-nums tabular-nums}
body .record-field>span{min-height:21px;line-height:21px}
body .record-fields{align-items:start}
body .bottom button{font-size:12px;line-height:18px;min-height:48px;align-items:center;justify-content:center;gap:4px}
body .bottom button:not(.quick-add){flex:1}
body .bottom .illustrated-icon{display:block;width:26px;height:26px;flex-shrink:0}
@media(max-width:600px){:root{--card-inset:22px}.record-fields{grid-template-columns:minmax(0,1fr)}.record-field{grid-column:1/-1}.saved-record-heading{align-items:baseline}.card-top{gap:8px}.card-meta{white-space:nowrap}}
body .card .card-top,body.light .card .card-top{min-height:28px;line-height:24px}
body .moment .card-top,body.light .moment .card-top{height:28px;min-height:28px}
body .minimal-header .preview{position:static;inset:auto;margin:0;white-space:nowrap}
body .minimal-header{display:flex;align-items:center;justify-content:flex-end;min-height:28px}
/* Three peer metrics share order, baseline, color and scale. */
body .experiment-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0}
body .experiment-metrics>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:0 20px;border-left:1px solid var(--line)}
body .experiment-metrics>div:first-child{padding-left:0;border-left:0}
body .experiment-metrics>div:last-child{padding-right:0}
body .experiment-metrics .saved{grid-column:auto;border-bottom:0;padding-bottom:0}
body .experiment-metrics strong,body .experiment-metrics .saved strong{display:block;font-size:24px;line-height:34px;min-height:34px;margin:0;color:var(--text)!important;font-weight:400;white-space:nowrap}
body .experiment-metrics .saved strong>span{font-size:24px;line-height:inherit;color:inherit!important}
body .experiment-metrics strong small,body .experiment-metrics .saved strong small{font-size:13px;line-height:1.5;color:var(--muted)!important;vertical-align:baseline;margin:0 3px 0 0}
body .experiment-metrics .metric-label{font-size:13px;line-height:20px;min-height:20px;margin:0;color:var(--muted)!important}
@media(max-width:600px){body .experiment-metrics>div{padding:0 10px}body .experiment-metrics>div:first-child{padding-left:0}body .experiment-metrics>div:last-child{padding-right:0}body .experiment-metrics strong,body .experiment-metrics .saved strong,body .experiment-metrics .saved strong>span{font-size:22px}}
body .moment .moment-date,body.light .moment .moment-date{color:var(--text)}
body .moment .moment-date>span,body.light .moment .moment-date>span{color:var(--muted)}
