/* Glass materials are decorative; labels and controls remain opaque and high contrast. */
body{background:#e5ebf2}
.app{background:radial-gradient(ellipse 90% 36% at 100% 5%,#e4dffa 0%,#e4dffa00 75%),radial-gradient(ellipse 105% 40% at -15% 48%,#c9e9e0 0%,#c9e9e000 75%),radial-gradient(ellipse 95% 40% at 105% 83%,#f3dfdf 0%,#f3dfdf00 78%),linear-gradient(158deg,#f3f6fc 0%,#edf5f4 53%,#eef1f8 100%);background-attachment:scroll;min-height:100dvh}
.top{padding-top:calc(17px + env(safe-area-inset-top));padding-bottom:13px;border-bottom:0}
.brand{gap:10px;font-size:20px;letter-spacing:-.6px;font-weight:700}
.brand small{font-size:12px;letter-spacing:0;margin-top:3px;color:#697681}
.brand-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:16px;color:#b57786;border:1px solid #ffffffdd;background:linear-gradient(145deg,#ffffffd9,#ffffff57);box-shadow:inset 0 1px 0 #fff,0 5px 14px #65778d12;line-height:0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.bloom-mark{display:block;width:30px;height:30px}
body[data-page=today] .home-heading{padding:16px 0 17px;align-items:center;gap:12px}
body[data-page=today] .home-heading>div:first-child{min-width:0}
body[data-page=today] .home-heading .eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:650;color:#6f7c85;margin-bottom:8px}
body[data-page=today] .home-heading h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:37px;font-weight:700;letter-spacing:-1.7px;line-height:1.12;color:#263c3c;margin:0}
.home-subtitle{font-size:14px;font-weight:400;color:#64747c;line-height:1.4;margin:9px 0 0}
.glass-bloom{display:grid;place-items:center;flex:0 0 65px;width:65px;height:65px;border-radius:24px;border:1px solid #fffffff0;background:linear-gradient(140deg,#ffffffed 3%,#ffffff40 52%,#e8d8e579);box-shadow:inset 0 1px 1px #fff,inset 0 -2px 4px #d5c4d03d,0 10px 25px #7d739617;transform:rotate(8deg);color:#bc8393;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.glass-bloom .bloom-mark{width:42px;height:42px;transform:rotate(-8deg);filter:drop-shadow(0 2px 2px #9e5e7822)}
body[data-page=today] .date-strip{gap:8px;margin:0 0 14px}
body[data-page=today] .date-step{width:45px;flex-basis:45px;min-height:48px;height:48px;border-radius:17px;padding:0;background:linear-gradient(145deg,#ffffffb5,#ffffff48);border:1px solid #ffffffd9;color:#4e6c69;box-shadow:inset 0 1px 0 #fff,0 4px 10px #8093a30b;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
body[data-page=today] .date-step:disabled{opacity:.36}
body[data-page=today] .date-strip input{height:48px;min-height:48px;border-radius:17px;font-size:16px;font-weight:600;color:#36514f;border:1px solid #ffffffd9;background:#ffffff69;box-shadow:inset 0 1px 0 #fff,0 4px 10px #8093a30b;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
body[data-page=today] .date-strip .soft{height:48px;min-height:48px;border-radius:17px;border:1px solid #ffffffb8;background:#ffffff85;color:#36514f;font-size:14px;padding:10px}
.glass-progress{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;margin:0 0 15px;border-radius:23px;border:1px solid #ffffffc4;background:linear-gradient(115deg,#ffffffb5,#ffffff38);box-shadow:inset 0 1px 0 #fff,0 8px 22px #54748208;-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4)}
.glass-progress .progress-label{display:block;font-size:10px;letter-spacing:1.2px;font-weight:700;color:#6a7d7b;margin:0 0 5px}
.glass-progress strong{display:block;font-size:17px;letter-spacing:-.4px;font-weight:650;color:#2d4946}
.glass-progress div>small{display:block;font-size:12px;color:#657c76;margin-top:4px}
.progress-orbit{flex:0 0 49px;width:49px;height:49px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(from -90deg,#659c91 var(--completion),#d5e1e14d 0);box-shadow:0 1px 2px #ffffffdd;position:relative}
.progress-orbit::before{content:'';position:absolute;inset:4px;border-radius:50%;background:#f0f7f6}
.progress-orbit>span{position:relative;z-index:1;font-size:16px;font-weight:700;letter-spacing:-.7px;color:#426b63;line-height:1}
.progress-orbit>span>small{font-size:11px;font-weight:500;color:#76918b;letter-spacing:0}
body[data-page=today] .checkin-list{gap:11px;margin-top:0}
body[data-page=today] .checkin-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:85px;gap:10px;padding:16px;border-radius:25px;border:1px solid #ffffffed;background:linear-gradient(125deg,#ffffffcf,#ffffff57);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 1px #647b8810,0 8px 25px #5267810b;-webkit-backdrop-filter:blur(24px) saturate(1.55);backdrop-filter:blur(24px) saturate(1.55);transition:transform .16s ease,box-shadow .16s ease}
body[data-page=today] .checkin-card::before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,#ffffff66 0%,#ffffff00 38%,#ffffff16 72%,#ffffff66 100%);pointer-events:none;z-index:-1}
body[data-page=today] .checkin-card:active{transform:scale(.985);box-shadow:inset 0 1px 0 #fff,0 3px 10px #52678116}
body[data-page=today] .checkin-card.recorded{border-color:#ffffffed;background:linear-gradient(125deg,#ffffffcc,#e5f2eb7a)}
.checkin-main{display:flex;align-items:center;gap:12px;min-width:0}
.checkin-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:15px;border:1px solid #ffffffd9;box-shadow:inset 0 1px 0 #ffffffcf,0 3px 8px #6476820a;color:#797d8e;background:#edf0fa99}
.checkin-symbol svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.symbol-fasting{background:linear-gradient(145deg,#fcf0dcba,#f8e4d27a);color:#a37a4d}
.symbol-breakfast{background:linear-gradient(145deg,#e3f2e9d9,#d5e8e0a1);color:#618e7d}
.symbol-lunch{background:linear-gradient(145deg,#e3eefbc9,#dce5f47d);color:#6785a6}
.symbol-supper{background:linear-gradient(145deg,#efe5fac9,#e3d8f67d);color:#9274aa}
body[data-page=today] .checkin-copy strong{font-size:17px;font-weight:650;letter-spacing:-.4px;color:#2b4343;line-height:1.25}
body[data-page=today] .checkin-copy small{font-size:12px;font-weight:400;color:#697b81;margin-top:5px;line-height:1.35}
body[data-page=today] .checkin-action{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;min-width:56px}
body[data-page=today] .checkin-action>strong{font-size:29px;font-weight:650;letter-spacing:-1.2px;color:#416f62;line-height:1.05}
body[data-page=today] .checkin-action>small{font-size:11px;font-weight:450;color:#6f8880;margin-top:5px;line-height:1}
body[data-page=today] .add-word{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:15px;font-weight:600;color:#4d6e68;min-height:40px;padding:9px 11px;border-radius:15px;background:linear-gradient(145deg,#ffffffd4,#e6eeed54);border:1px solid #ffffffd6;box-shadow:inset 0 1px 0 #fff,0 3px 8px #637e8c08;line-height:1.2}
body[data-page=today] .add-word .plus-icon{width:16px;height:16px;flex-basis:16px;stroke-width:2.2}
body[data-page=today] .home-hint{font-size:13px;line-height:1.5;color:#6d7e86;margin:17px 11px}
body[data-page=today] .home-tools{gap:11px}
body[data-page=today] .home-tools a{min-height:52px;border-radius:19px;font-size:15px;font-weight:550;color:#526e70;border:1px solid #ffffffcb;background:#ffffff67;box-shadow:inset 0 1px 0 #fff,0 4px 14px #657a8b08;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}
body[data-page=today] .privacy{font-size:11px;line-height:1.7;color:#74828d;padding-top:23px;padding-bottom:calc(120px + env(safe-area-inset-bottom))}
.bottom{bottom:calc(12px + env(safe-area-inset-bottom));width:min(calc(100% - 28px),448px);padding:6px 7px 7px;gap:4px;border:1px solid #ffffffe8;border-radius:29px;background:linear-gradient(145deg,#ffffffb5,#ffffff6e);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 1px #69829214,0 12px 40px #52677e24;-webkit-backdrop-filter:blur(28px) saturate(1.8);backdrop-filter:blur(28px) saturate(1.8)}
.bottom a{border-radius:22px;min-height:58px;font-size:12px;font-weight:500;padding:8px 5px;gap:6px;color:#73808c}
.bottom a.active{color:#3e6d63;background:linear-gradient(140deg,#ffffffed,#ffffff85);box-shadow:inset 0 1px 0 #fff,0 4px 14px #647c9215;font-weight:650}
.bottom a>span{display:grid;place-items:center;line-height:0}
.bottom svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.save-dock{bottom:calc(99px + env(safe-area-inset-bottom))}
@media(hover:hover) and (pointer:fine){body[data-page=today] .checkin-card:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 12px 30px #52678117}}
@media(max-width:359px){body[data-page=today] .home-heading h1{font-size:33px;letter-spacing:-1.5px}.glass-bloom{flex-basis:55px;width:55px;height:55px;border-radius:21px}.glass-bloom .bloom-mark{width:36px;height:36px}.home-subtitle{font-size:13px}body[data-page=today] .home-heading .eyebrow{font-size:9px;letter-spacing:1.1px}body[data-page=today] .checkin-card{padding:14px 12px;min-height:85px;border-radius:23px}.checkin-main{gap:9px}.checkin-symbol{flex-basis:35px;width:35px;height:39px;border-radius:13px}.checkin-symbol svg{width:21px;height:21px}body[data-page=today] .checkin-copy strong{font-size:16px;letter-spacing:-.3px}body[data-page=today] .checkin-copy small{font-size:11px}body[data-page=today] .add-word{font-size:14px;padding:9px 8px;gap:3px}body[data-page=today] .checkin-action{min-width:51px}.glass-progress{padding:13px 15px}.glass-progress strong{font-size:16px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body[data-page=today] .checkin-card,.glass-progress,.bottom{background:#f7fafbeF}}
@media(prefers-reduced-transparency:reduce){body[data-page=today] .checkin-card,.glass-progress,.bottom,body[data-page=today] .date-strip input,body[data-page=today] .date-step{background:#f7fafb;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-contrast:more){body[data-page=today] .checkin-card,.glass-progress,.bottom{background:#fff;border-color:#8fa29d}body[data-page=today] .checkin-copy small,.glass-progress small{color:#465b58}}
/* Keep the four primary actions above the floating dock on common iPhone screens. */
.top{padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:8px}
.brand-icon{width:40px;height:40px;border-radius:15px}
body[data-page=today] .home-heading{padding-top:12px;padding-bottom:10px}
body[data-page=today] .home-heading .eyebrow{margin-bottom:6px}
.home-subtitle{margin-top:6px}
body[data-page=today] .date-strip{margin-bottom:10px}
.glass-progress{padding:12px 17px;margin-bottom:13px}
.glass-progress div>small{display:none}
.progress-orbit{width:42px;height:42px;flex-basis:42px}
.progress-orbit>span{font-size:15px}
body[data-page=today] .checkin-card{min-height:82px}
body[data-page=today] .checkin-list{gap:10px}
@media(max-width:359px){.glass-progress{padding:12px 15px}body[data-page=today] .checkin-card{min-height:80px;padding-top:12px;padding-bottom:12px}}

/* Shared materials for entry, food menu, diary, trends, reports, and sheets. */
:root{--glass-surface:linear-gradient(135deg,#ffffffcf,#ffffff70);--glass-edge:#ffffffed;--glass-shadow:inset 0 1px 0 #fff,inset 0 -1px 1px #647b8810,0 8px 25px #5267810b;--glass-ink:#2b4343;--glass-muted:#62767d}
body{color:var(--glass-ink)}
.intro{padding-top:23px;padding-bottom:22px}
.intro h1,.entry-heading h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:34px;line-height:1.13;font-weight:700;letter-spacing:-1.3px;color:#263c3c}
.intro p{font-size:16px;line-height:1.55;color:var(--glass-muted)}
.intro .eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:650;color:#6f7c85;margin-bottom:10px}
.entry-heading p{font-size:15px;line-height:1.5;color:var(--glass-muted)}
h2{font-size:20px;font-weight:650;letter-spacing:-.5px;color:var(--glass-ink)}
h3{font-size:18px;font-weight:650;color:var(--glass-ink)}
p{color:var(--glass-muted)}
label{font-size:15px;font-weight:600;line-height:1.4;color:#3a5353}
.panel,.reading-box,.meal{background:var(--glass-surface);border:1px solid var(--glass-edge);border-radius:25px;box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(22px) saturate(1.45);backdrop-filter:blur(22px) saturate(1.45)}
.panel{padding:22px;margin-bottom:18px}
.reading-box{padding:18px 19px 0}
.focused-reading .reading-box{padding:23px 21px 0;border-radius:28px;background:linear-gradient(140deg,#ffffffdd,#ffffff83)}
.focused-reading .reading-main label{font-size:16px;font-weight:500;color:#627879}
.focused-reading .value-wrap input{color:#356a5d;background:linear-gradient(140deg,#ffffffa3,#ffffff38);border-radius:18px;min-height:90px;font-size:64px;border:1px solid #ffffffb8}
.focused-reading .value-wrap input::placeholder{color:#93a8a3}
.focused-reading .value-wrap span{font-size:14px;color:#637b76}
.reading-details{border-top:1px solid #a8bfb033;margin-top:17px}
.focused-reading .reading-details summary,.reading-details summary{min-height:56px;font-size:15px;color:#536f6a}
.detail-fields{gap:12px;margin-bottom:18px}
.detail-fields label{font-size:14px}
.details-plus,.summary-plus{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;border:1px solid #fffffff0;background:linear-gradient(145deg,#ffffffcf,#dfece85c);color:#537d71;box-shadow:inset 0 1px 0 #fff,0 2px 6px #6b82800a;line-height:0}
.details-plus{flex-basis:32px}
.meal{margin-bottom:12px;border-radius:22px}
.meal-summary{min-height:82px;padding:17px 18px}
.meal-summary strong{font-size:18px;letter-spacing:-.3px;font-weight:600}
.meal-summary small{font-size:13px;color:var(--glass-muted);line-height:1.4;margin-top:5px;max-width:260px}
.meal-body{padding:0 16px 4px}
.daily-notes summary{font-size:15px;min-height:52px;line-height:1.5;display:flex;align-items:center;gap:8px;color:#526f6b}
.daily-notes summary::before{content:'+';display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;font-size:19px;font-weight:500;border-radius:50%;background:#ffffff86;color:#5b7f75;line-height:1}
.daily-notes[open] summary::before{content:'−'}
.daily-notes summary{list-style:none}
.daily-notes summary::-webkit-details-marker{display:none}
.daily-notes textarea{margin-top:7px}
button,.button-link{min-height:56px;font-size:17px;font-weight:600;border-radius:18px;border:1px solid #ffffff70;background:linear-gradient(150deg,#4f8979,#35695b);color:#fff;box-shadow:inset 0 1px 0 #ffffff3b,0 6px 16px #3b6e5d18;line-height:1.35;transition:transform .15s ease,box-shadow .15s ease}
button:active,.button-link:active{transform:scale(.985)}
button:disabled{opacity:.42}
.secondary,.soft,.back-daily{min-height:54px;border:1px solid #ffffffed;background:linear-gradient(135deg,#ffffffd4,#ffffff67);color:#476d65;box-shadow:inset 0 1px 0 #fff,0 5px 14px #5e7b870a;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:16px;font-weight:600}
.back-daily{margin-top:18px;margin-bottom:20px;padding:12px 18px;border-radius:18px}
input,textarea,select{min-height:54px;font-size:16px;color:#2d4845;background:linear-gradient(135deg,#ffffffed,#ffffffa8);border:1px solid #b2c5c273;border-radius:16px;box-shadow:inset 0 1px 0 #fff,0 2px 6px #6b829105;padding:14px}
select{padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23557269' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(135deg,#ffffffed,#ffffffa8);background-repeat:no-repeat;background-position:right 15px center,0 0;background-size:12px 8px,100% 100%}
input::placeholder,textarea::placeholder{color:#7b8b8e}
textarea{min-height:105px;line-height:1.5}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7aa99a;outline-offset:3px}
input[aria-invalid=true]{outline:3px solid #b96359}
input[type=file]{padding:11px;font-size:14px;line-height:1.6;overflow:hidden}
input[type=file]::file-selector-button{min-height:40px;margin-right:10px;padding:8px 12px;border-radius:12px;border:1px solid #fff;background:#edf4f1;color:#40675d;font-size:14px;font-weight:550}
.chip{min-height:52px;padding:13px 15px;border-radius:20px;font-size:16px;font-weight:500;line-height:1.35;background:linear-gradient(140deg,#ffffffc9,#ffffff70);border:1px solid #ffffffed;color:#47685e;box-shadow:inset 0 1px 0 #fff,0 3px 9px #66818a08}
.chip.chosen{background:linear-gradient(145deg,#578c7b,#396d5c);border-color:#ffffff70;color:#fff;box-shadow:inset 0 1px 0 #ffffff54,0 4px 11px #3f74601a;font-weight:550}
.chip-list{gap:9px;margin:13px 0 17px}
.selected-food{background:#ffffff76;border:1px solid #ffffffd9;border-radius:17px;padding:9px 10px;gap:9px;margin:10px 0;font-size:15px}
.selected-food input{min-height:50px;width:105px;padding:11px;font-size:16px;background:#ffffffc9;border-radius:13px}
.remove{display:grid;place-items:center;min-width:48px;min-height:48px;width:48px;padding:0;border:1px solid #ffffffd9;border-radius:15px;background:linear-gradient(145deg,#ffffffe3,#e7eeed70);color:#6b8278;box-shadow:inset 0 1px 0 #fff,0 3px 8px #667f8c08;flex-shrink:0}
.remove .plus-icon{width:18px;height:18px;transform:rotate(45deg)}
.section-caption{margin-top:21px;margin-bottom:12px}
.section-caption h2{font-size:17px}
.save-dock{background:none;padding-top:9px;padding-bottom:9px}
.save-dock button{border-radius:22px;min-height:60px;font-size:19px;box-shadow:inset 0 1px 0 #ffffff4d,0 8px 22px #356b5e24}
.save-feedback{font-size:13px;color:#627b73;line-height:1.5}
.tabs{background:linear-gradient(140deg,#ffffff83,#ffffff3d);border:1px solid #ffffffc9;box-shadow:inset 0 1px 0 #fff,0 5px 16px #65818d08;border-radius:23px;padding:5px;gap:5px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.tabs button{min-height:50px;padding:11px 8px;font-size:16px;font-weight:550;background:transparent;border:1px solid transparent;border-radius:18px;color:#637a79;box-shadow:none}
.tabs button.active{background:linear-gradient(140deg,#fffffff2,#ffffffa3);border-color:#ffffffed;color:#3e6e60;box-shadow:inset 0 1px 0 #fff,0 4px 12px #64817f12;font-weight:650}
.range-caption{font-size:14px;line-height:1.5;margin-bottom:20px;color:#637780}
.metric-label{font-size:15px;color:#60787a}
.big-metric{font-size:54px;font-weight:600;letter-spacing:-2px;line-height:1.15;color:#416f62;margin-top:7px}
.badge{border:1px solid #ffffffd9;background:linear-gradient(140deg,#ffffffd4,#ffffff67);border-radius:18px;padding:9px 12px;font-size:13px;color:#56776b;box-shadow:inset 0 1px 0 #fff}
.stat-pair{border-top:1px solid #aac0b638;gap:12px;padding-top:17px}
.stat-pair>div{padding:12px 13px;border:1px solid #ffffffbd;border-radius:17px;background:#ffffff66}
.stat-pair span{font-size:13px;color:#657d78;line-height:1.4}
.stat-pair strong{font-size:26px;font-weight:550;color:#416d5f;margin-top:7px}
.stat-pair small{font-size:12px}
.comparison,.note{font-size:14px;line-height:1.6;border:1px solid #ffffffd9;border-radius:18px;background:linear-gradient(130deg,#ffffffb0,#ffffff60);color:#536e65;box-shadow:inset 0 1px 0 #fff;padding:15px 17px}
.timing-summary{font-size:13px;line-height:1.6;color:#647c76}
.stat-reading{min-height:76px;font-size:16px;padding:17px 2px;border:0;border-bottom:1px solid #a8bfaf35;border-radius:0;background:transparent;color:#35534b;box-shadow:none;line-height:1.4}
.stat-reading strong{font-size:27px;color:#416f62}
.stat-reading small{font-size:13px;color:#698178}
.trend-records summary{min-height:48px;display:flex;align-items:center;font-size:16px;font-weight:550;list-style:none;color:#486c60}
.trend-records summary::after{content:'';margin-left:auto;width:10px;height:10px;flex:0 0 10px;border-right:2px solid #638878;border-bottom:2px solid #638878;transform:rotate(45deg);margin-right:4px;margin-top:-4px}
.trend-records[open] summary::after{transform:rotate(225deg);margin-top:5px}
.trend-record{min-height:72px;font-size:15px;border-top-color:#abc1b338;padding:17px 0;line-height:1.4}
.trend-record strong{font-size:20px;color:#476f60}
.trend-record small{font-size:13px}
.trend-panel .chart-empty{padding:30px 0}
.chart-empty h3{font-size:17px;line-height:1.4}
.chart-empty p{font-size:14px}
.food-tools{gap:12px;margin:0 0 19px}
.food-tools input{min-height:56px}
.food-manage{min-height:80px;gap:11px;padding:12px 0;border-bottom:1px solid #aac0b43d}
.food-manage strong{font-size:16px;font-weight:550;line-height:1.35;color:#35534c;overflow-wrap:anywhere}
.food-manage .hint{font-size:13px;color:#6a8078;line-height:1.4;margin-top:4px}
.food-manage .icon-button,.icon-button{display:grid;place-items:center;min-width:50px;width:50px;min-height:50px;padding:0;border:1px solid #ffffffd9;border-radius:17px;background:linear-gradient(140deg,#ffffffe8,#ffffff66);color:#718980;box-shadow:inset 0 1px 0 #fff,0 3px 9px #66818a08;font-size:25px;line-height:1}
.food-manage .icon-button[aria-pressed=true]{color:#a08150;background:linear-gradient(140deg,#fffcf2e3,#f3ead96e)}
#add-food textarea{min-height:110px}
.report-options{gap:10px;margin:18px 0}
.report-options .chip{font-size:15px;min-height:52px;text-align:left;padding:12px 15px}
.split{gap:12px}
.status-text{font-size:15px;color:#5f7872;line-height:1.5}
.email-settings{border-top:1px solid #a7c0b73b;padding-top:24px;margin-top:24px}
.email-settings h3{font-size:19px;margin-bottom:19px}
.email-envelope{background:linear-gradient(140deg,#ffffffbd,#ffffff61);border:1px solid #ffffffdf;border-radius:18px;padding:17px;font-size:15px;gap:11px}
.email-envelope strong{font-weight:550;color:#35594e}
.email-envelope span{color:#637e73}
.email-manual{border-top:1px solid #aac0b438;padding-top:7px}
.email-manual summary{font-size:15px;font-weight:550;min-height:56px;line-height:1.5;color:#486e60;cursor:pointer}
.report-table-wrap{border-radius:15px;border:1px solid #ffffffc9;background:#ffffff54}
table{font-size:14px}
th,td{border-color:#abc1b94d;padding:12px}
th{background:#ffffffa3;color:#3a5c50;font-weight:600}
.day-card{padding:21px}
.day-card h3{font-size:17px;line-height:1.4}
.summary{gap:10px}
.summary span{font-size:14px;padding:13px;border-radius:17px;border:1px solid #ffffffcb;background:#ffffff73;color:#647b72}
.summary strong{font-size:25px;font-weight:600;color:#426e5e;line-height:1.25}
.day-progress{height:5px;background:#b6cfc34d;margin-top:16px}
.day-progress div{background:#7fa995}
.privacy{font-size:12px;line-height:1.7;color:#72848a;padding-top:25px;padding-bottom:calc(125px + env(safe-area-inset-bottom))}
body[data-page=entry] .privacy{padding-bottom:calc(190px + env(safe-area-inset-bottom))}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7ba89a;outline-offset:3px}
.error{font-size:15px;color:#a34f45;line-height:1.5}
#toast{padding:14px 19px;border:1px solid #ffffffa3;border-radius:17px;background:#315c50eb;box-shadow:0 8px 25px #315a4d1f;font-size:15px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
dialog{border:1px solid #ffffffef;border-bottom:0;border-radius:30px 30px 0 0;background:linear-gradient(140deg,#f8fbffef,#f0f8f5e8 60%,#f5eff8e8);box-shadow:inset 0 1px 0 #fff,0 -12px 55px #536b8940;padding:27px 22px calc(22px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5);color:#2d4842}
dialog::before{background:#bdcdd0;margin-bottom:22px}
dialog::backdrop{background:#324b5b45;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
dialog h2{font-size:23px;letter-spacing:-.7px;margin-bottom:12px}
dialog p{font-size:15px;line-height:1.6}
dialog .tiny{font-size:13px}
#close-modal{min-height:56px;font-size:17px;margin-top:23px;border-radius:18px}
#picker-search{background:#fbfdfe}
#picker-category{background-color:#fbfdfe}
.food-picker{max-height:40dvh;padding:2px}
.food-picker .chip{font-size:16px;min-height:52px}
@media(max-width:359px){.intro h1,.entry-heading h1{font-size:31px;letter-spacing:-1.2px}.panel{padding:18px;border-radius:23px}.focused-reading .reading-box{padding:21px 16px 0}.focused-reading .value-wrap input{font-size:56px;max-width:72%}.meal-summary{padding:16px}.meal-summary strong{font-size:17px}.meal-summary small{max-width:185px}.meal-body{padding-left:13px;padding-right:13px}.selected-food{padding:8px;gap:6px;font-size:14px}.selected-food input{width:88px;padding:10px;font-size:16px}.remove{min-width:44px;width:44px;min-height:48px}.food-manage{gap:8px}.food-manage .icon-button{min-width:46px;width:46px}.tabs button{font-size:15px;padding:11px 5px}.stat-pair>div{padding:11px}.stat-pair strong{font-size:23px}.stat-pair span{font-size:12px}.email-envelope{padding:15px;font-size:14px}dialog{padding-left:18px;padding-right:18px}dialog h2{font-size:22px}.report-options .chip{font-size:14px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.panel,.reading-box,.meal,dialog{background:#f8fafb}}
@media(prefers-reduced-transparency:reduce){.panel,.reading-box,.meal,.chip,.tabs,.note,.comparison,.secondary,.soft,.back-daily,input,select,textarea,dialog{background-color:#f8fafb;-webkit-backdrop-filter:none;backdrop-filter:none}.panel,.reading-box,.meal,dialog{background-image:none}}
@media(prefers-contrast:more){.panel,.reading-box,.meal,input,select,textarea,.chip,.secondary{border-color:#8a9f95;background-color:#fff;background-image:none}.chip.chosen{background:#35695b;color:#fff}.note,.comparison{background:#fff;color:#3b594e;border-color:#8a9f95}}
@media(prefers-reduced-motion:reduce){button:active,.button-link:active{transform:none}}
.daily-notes summary::before{content:'';background:linear-gradient(#638478,#638478) center/12px 2px no-repeat,linear-gradient(#638478,#638478) center/2px 12px no-repeat,#ffffff86}
.daily-notes[open] summary::before{content:'';background:linear-gradient(#638478,#638478) center/12px 2px no-repeat,#ffffff86}
.food-add-panel{padding:0;overflow:hidden}
.food-add-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:18px 22px;list-style:none;cursor:pointer;font-size:17px;font-weight:600;color:#466c60}
.food-add-panel>summary::-webkit-details-marker{display:none}
.food-add-panel[open]>summary .summary-plus{transform:rotate(45deg)}
.food-add-body{padding:0 22px 22px}
.food-add-body>p{font-size:14px;margin:0 0 18px;line-height:1.6}
@media(max-width:359px){.food-add-panel>summary{padding-left:18px;padding-right:18px}.food-add-body{padding-left:18px;padding-right:18px;padding-bottom:18px}}
