:root{--ink:#2e3f32;--muted:#798475;--green:#647e50;--line:#e3e8dc;--paper:#f5f7f1}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer;transition:background .15s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #97aa73;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #a4b584;outline-offset:1px}.app-shell{display:flex;min-height:100vh}.sidebar{width:218px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-size:21px;letter-spacing:-.7px;font-weight:700;margin:0 4px 54px}.brand-mark{width:35px;height:38px;background:#7c9363;border-radius:13px 13px 5px;display:grid;place-items:center;color:#fff;font:italic 700 29px Georgia}.brand-light{font-weight:400;color:#7c9363}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:.4px;margin-top:4px;color:#8a9583}.nav-label,.section-kicker,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:600;color:#8b9a7a}.nav-label{margin:0 12px 15px}.nav-item{display:flex;gap:12px;align-items:center;width:100%;padding:13px;margin-bottom:6px;background:transparent;border:0;text-align:left;border-radius:8px;color:#74816c;font-size:12px}.nav-item span{width:20px;text-align:center;font-size:18px}.nav-item.active{background:#edf2e6;color:#536b3e;font-weight:600}.nav-item:hover{background:#f3f6ef}.sidebar-note{margin:38px 10px;color:#8f9c81}.sidebar-note>span{font-family:serif;font-size:17px}.sidebar-note p{font-size:11px;line-height:1.9}.sidebar-note svg{width:100%;margin-top:8px}.sidebar-bottom{margin-top:auto}.privacy{display:flex;gap:9px;padding:12px 3px}.privacy>span{color:#91a17c}.privacy b{font-size:10px;font-weight:500}.privacy small{display:block;font-size:8px;margin-top:5px;color:#929c8a}.profile{width:100%;display:flex;align-items:center;gap:9px;border:0;border-top:1px solid var(--line);padding:16px 0 0;background:none;color:var(--ink);text-align:left}.profile b{font-size:11px}.profile small{display:block;color:#99a28f;font-size:9px;margin-top:4px}.profile>span:last-child{margin-left:auto;color:#849275}.avatar{background:#eef2e5;width:32px;height:32px;display:grid;place-items:center;border-radius:50%}.main{margin-left:218px;min-width:0;flex:1}.topbar{height:65px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:11px;color:#8c9684}.breadcrumbs span{padding:0 14px;color:#bac2b2}.mobile-brand,.mobile-settings{display:none}.content{max-width:1420px;margin:auto;padding:33px 38px 16px}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:16px}h1{font-size:27px;letter-spacing:.7px;margin:8px 0 0;font-weight:600}.leaf{font-size:25px;color:#a1af70;margin-left:13px}.welcome-row p{font-size:12px;color:#89957f;margin:11px 0 0}.primary-btn{border:0;border-radius:7px;background:var(--green);color:#fff;padding:12px 18px;font-size:12px;font-weight:500;box-shadow:0 3px 8px #556c3620}.primary-btn:hover{background:#4c653c}.outline-btn{border:1px solid #dce3d2;border-radius:6px;background:#fff;color:#657653;padding:9px 12px;font-size:11px}.outline-btn:hover{background:#f1f5e9}.text-btn{border:0;background:transparent;color:#6b8155;font-size:11px;padding:5px}.icon-btn{width:30px;height:30px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#70825c;font-size:22px;display:grid;place-items:center}.mode-banner{background:#eff2df;border:1px solid #e1e6c7;border-radius:7px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 15px;margin-bottom:17px;color:#6b7550;font-size:11px;line-height:1.6}.mode-banner button{flex-shrink:0}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 5px #334b2303}.quick-entry{padding:19px 22px;margin-bottom:17px}.section-header{display:flex;justify-content:space-between;align-items:center}.section-header h2{font-size:16px;margin:5px 0 0;font-weight:600}.section-kicker{font-size:8px}.quick-date{font-size:10px;color:#8c9684;display:flex;align-items:center;gap:9px}.quick-date input{border:1px solid var(--line);border-radius:5px;padding:7px 8px;color:#5f7052;background:#fff;font-size:11px}.quick-weight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.weight-control{min-width:0;border:1px solid var(--line);background:#fcfdf9;border-radius:8px;padding:10px 12px}.weight-control.wake{background:#fcfaea;border-color:#e8e2b9}.weight-control>label{font-size:11px;display:flex;align-items:center;gap:6px;color:#6f7c61}.weight-control>label>span{font-size:15px;color:#8d9d68}.weight-control small{display:block;font-size:8px;color:#9ca58f;margin-top:4px}.stepper{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-top:12px}.stepper button{border:1px solid #e1e7d7;background:#fff;color:#7f916a;width:28px;height:28px;border-radius:50%;flex-shrink:0;font-size:19px;line-height:1;padding:0}.stepper button:hover{background:#edf2e4}.weight-number{display:flex;align-items:baseline;min-width:0;justify-content:center;gap:2px}.weight-number input{width:80px;max-width:100%;min-width:0;border:0;border-bottom:1px solid transparent;background:transparent;color:#3d4d31;text-align:center;font-size:27px;font-weight:500;appearance:textfield;-moz-appearance:textfield;padding:0;letter-spacing:-1px}.weight-number input::placeholder{color:#c1c8b3}.weight-number input::-webkit-inner-spin-button{appearance:none}.weight-number span{font-size:10px;color:#99a28a}.quick-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.quick-footer>span{font-size:9px;color:#98a28c}.quick-footer .primary-btn{font-size:11px;padding:10px 16px}.quick-footer .primary-btn span{margin-left:15px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:23px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:15px 18px;min-height:127px}.summary-label{display:flex;align-items:center;justify-content:space-between;color:#7f8b73;font-size:10px}.round-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;font-size:15px}.green{background:#edf3e6;color:#8ca46d}.yellow{background:#faf3d7;color:#b9a15d}.peach{background:#f8ece4;color:#bc9578}.metric{display:flex;align-items:baseline;gap:7px;margin:4px 0 3px}.metric strong{font-size:29px;font-weight:500;letter-spacing:-1px}.metric>span{font-size:10px;color:#a0a991}.summary-card>small{font-size:9px;color:#9aa58c}.progress{height:4px;background:#eef2e8;margin-top:13px;border-radius:4px;overflow:hidden}.progress i{height:100%;background:#a5b786;display:block}.paper-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 14px;gap:10px}.paper-heading h2{font-size:18px;margin:6px 0 0;letter-spacing:.4px}.paper-heading p{font-size:11px;color:#8c967e;margin:8px 0 0}.sheet-actions{display:flex;gap:7px}.week-toolbar{margin:0 22px 14px;display:flex;align-items:center;justify-content:space-between}.week-nav{display:flex;align-items:center;gap:10px}.week-nav h3{font-size:17.55px;font-weight:500;margin:0;min-width:180px;text-align:center}.sheet-hint{font-size:9px;color:#99a38d}.sheet-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c9d2bb #f7f9f3}.sheet-canvas{min-width:860px}.sheet-day-header,.comparison-strip,.week-log{display:grid;grid-template-columns:100px repeat(7,minmax(0,1fr))}.sheet-day-header{border-top:1px solid #aebc9b;border-bottom:1px solid #aebc9b}.sheet-day-header>div{display:flex;justify-content:center;align-items:center;padding:8px;background:#f5f7ef;font-size:10px;color:#7f8d70;border-right:1px solid #dce4d1}.day-header{border:0;border-right:1px solid #dce4d1;background:#f6f8f1;padding:9px 2px 8px;color:#536144;position:relative}.day-header:hover{background:#edf2df}.day-header b{font-size:12px;font-weight:500}.day-header small{display:block;color:#a0aa90;font-size:9px;margin-top:4px}.day-header.today:after{content:"";position:absolute;top:0;left:25%;width:50%;height:2px;background:#8ea265}.graph{line-height:0;background:#fff}.graph svg{width:100%;height:auto;display:block}.graph text{font-family:inherit}.graph .plot-point{cursor:pointer}.graph .plot-point:focus{outline:none;stroke:#849f50;stroke-width:4}.comparison-strip{border-top:1px solid #b1bda3;border-bottom:1px solid #cbd5bd}.comparison-label{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f4f6ee;color:#79876b;font-size:9px;line-height:1.6;border-right:1px solid #cbd5bd}.comparison-day{display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 2px;border-right:1px solid #e0e6d6;font-size:9px;color:#9aa68a}.comparison-day b{font-size:18px;font-weight:500;color:#778a5d}.week-log>div,.week-log>button{border:0;border-right:1px solid #d8e0cd;border-bottom:1px solid #d8e0cd;min-height:39px;padding:7px 5px}.log-label{display:flex;align-items:center;background:#f5f7ef;color:#738262;font-size:10px;padding-left:12px!important}.log-cell{color:#667458;background:#fff;font-size:10px;text-align:center;line-height:1.6;overflow-wrap:anywhere}.log-cell:hover{background:#f2f6e8}.log-cell .sub{display:block;color:#9aa58b;font-size:9px}.log-cell.empty{color:#cad1c0}.log-cell.note{font-size:9px;text-align:left;white-space:pre-wrap}.sheet-foot{padding:13px 20px 5px;display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#8a977b;line-height:1.8}.yellow-key{display:inline-block;width:7px;height:10px;background:#ede6a2;vertical-align:middle;margin-right:5px}.legend-line{width:15px;height:1px;background:#4d5a3c;display:inline-block;vertical-align:middle;margin:0 5px 0 13px}.measurement-hint{font-size:9px;color:#a0aa93;margin:0;padding:2px 20px 14px;line-height:1.7}.source-sheet{margin-top:18px;color:#96a188;font-size:10px}.source-sheet summary{cursor:pointer;padding:7px 2px}.source-sheet>div{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#fff;padding:15px;border-radius:8px}.source-sheet figure{margin:0}.source-sheet img{width:100%;height:auto}.source-sheet figcaption{padding:8px;text-align:center}footer{display:flex;justify-content:space-between;align-items:center;margin-top:23px;color:#9ba68c;font-size:11px}footer small{font-size:9px;margin-left:12px}dialog{border:1px solid var(--line);border-radius:14px;padding:24px;width:min(620px,calc(100% - 24px));max-height:92dvh;color:var(--ink);box-shadow:0 25px 100px #27311e33}dialog::backdrop{background:#2b372550;backdrop-filter:blur(3px)}dialog h2{font-size:20px;margin:6px 0 0}dialog h3{font-size:13px}dialog p{font-size:12px;line-height:1.8;color:#8b957e}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.close-btn{width:30px;height:30px;border:0;border-radius:50%;background:#f0f4e9;color:#83916f;font-size:23px}.modal-scroll{max-height:66dvh;overflow-y:auto;padding:2px 3px 6px;scrollbar-width:thin}.record-date-row{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}dialog label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#738263}dialog input,dialog textarea,dialog select{max-width:100%;min-width:0;border:1px solid #dfe6d5;border-radius:6px;padding:9px;color:#50643c;background:#fdfefb;font-size:13px}dialog textarea{resize:vertical;width:100%}.input-hint{font-size:10px!important;color:#9aa58a!important;line-height:1.7;margin:11px 0}.inline-choice{border:0;padding:0;display:flex;gap:5px;min-width:0}.inline-choice legend{font-size:10px;color:#94a080;margin-bottom:5px}.inline-choice label,.symbol-choices label{display:block}.inline-choice input,.symbol-choices input{position:absolute;opacity:0;width:1px;height:1px}.inline-choice span,.symbol-choices span{display:block;border:1px solid #dfe6d5;border-radius:6px;background:#fff;padding:8px 13px;font-size:11px;cursor:pointer}.inline-choice input:checked+span,.symbol-choices input:checked+span{background:#eef3e3;border-color:#92a572;color:#52712d;box-shadow:inset 0 0 0 1px #92a572}.inline-choice input:focus-visible+span,.symbol-choices input:focus-visible+span{outline:3px solid #97aa73}.form-section{font-size:10px;letter-spacing:1px;color:#9da98b;display:flex;align-items:center;gap:10px;margin:19px 0 10px}.form-section span{font-size:13px;color:#5a6f47;letter-spacing:0}.form-section small{margin-left:auto;font-size:10px;font-weight:400}.modal-weights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.modal-weights .weight-number input{font-size:24px;padding:0;border:0;background:transparent}.form-details{border-top:1px solid #e9eddf;margin-top:17px;padding-top:14px}.form-details summary{font-size:12px;color:#677f4c;cursor:pointer;margin-bottom:12px;font-weight:500}.meal-row{display:grid;grid-template-columns:38px 90px 136px minmax(0,1fr);gap:7px;align-items:start;margin-bottom:10px}.meal-row>b{font-size:11px;color:#7b896a;font-weight:500;align-self:start}.meal-row label{font-size:9px}.meal-row input,.meal-row select{width:100%;font-size:11px;padding:9px 5px}.condition-inputs{display:grid;grid-template-columns:1fr 1fr;gap:15px}.choice-field{padding:0;border:0;margin:0;min-width:0}.choice-field legend{font-size:11px;margin-bottom:8px;color:#7a8869}.symbol-choices{display:flex;gap:5px;flex-wrap:wrap}.symbol-choices span{padding:7px 11px;font-size:15px;min-width:34px;text-align:center}.unit-input{display:flex;align-items:center;gap:7px}.unit-input input{width:100%;min-width:0}.unit-input span{font-size:10px;white-space:nowrap}.supplement-row{display:grid;grid-template-columns:110px 1fr;gap:10px;padding:10px 0;align-items:center;border-bottom:1px solid #eef1e7}.supplement-row>b{font-size:11px;font-weight:500;color:#7c8b6b}.supplement-row .symbol-choices span{font-size:10px;padding:7px 10px}.supp-times{display:flex;gap:7px}.supp-times input{width:100%;min-width:0;font-size:10px;padding:7px}.modal-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e5ebda;margin-top:14px;padding-top:16px;gap:10px}.danger{color:#ae8977}.backup-actions{display:flex;gap:8px;flex-wrap:wrap}#settingsDialog{width:min(480px,calc(100% - 24px))}#settingsDialog>.primary-btn{margin-top:12px}#settingsDialog hr{border:0;border-top:1px solid var(--line);margin:24px 0}.import-label{cursor:pointer;font-size:11px;display:block}.import-label input{display:block;width:100%;margin-top:8px;font-size:10px}.guide-list{padding-left:20px}.guide-list li{padding:8px 0 8px 8px;color:#647c48;font-size:13px}.guide-list p{margin:7px 0 0}.toast{position:fixed;z-index:10;bottom:26px;left:50%;transform:translate(-50%,12px);padding:12px 20px;background:#3e532e;color:#fff;border-radius:8px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1100px){.sidebar{width:185px;padding-inline:13px}.main{margin-left:185px}.content{padding:25px 22px}.topbar{padding:0 22px}.weight-control{padding:9px 7px}.stepper{gap:0}.weight-number input{width:65px;font-size:25px}.quick-weight-grid{gap:7px}.weight-number span{font-size:9px}.brand{font-size:19px;gap:6px}.sheet-hint{display:none}}@media(max-width:900px){.sidebar{display:none}.main{margin-left:0}.topbar{height:52px;padding:0 17px;font-size:9px}.breadcrumbs{display:none}.mobile-brand{display:block;font-size:17px;font-weight:600;color:#6e8554}.mobile-settings{display:inline-block}.content{padding:24px 14px 15px}.welcome-row{align-items:flex-start;margin-bottom:17px}.welcome-row h1{font-size:21px}.eyebrow{font-size:8px;letter-spacing:1.3px}.leaf{font-size:18px;margin-left:6px}.welcome-row p{font-size:10px}.welcome-actions{display:flex;gap:7px;align-items:center}.welcome-actions>.primary-btn{font-size:0;padding:8px;width:34px;height:34px}.welcome-actions>.primary-btn:after{content:"\ff0b";font-size:19px}.welcome-actions>.outline-btn{padding:8px;font-size:10px}.mode-banner{font-size:10px;padding:10px}.mode-banner button{font-size:10px}.quick-entry{padding:16px 13px}.section-header{gap:8px}.section-header h2{font-size:15px}.quick-date{font-size:0}.quick-date input{font-size:10px;max-width:128px}.quick-weight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.weight-control{padding:10px}.weight-control>label{font-size:11px}.stepper{margin-top:9px;gap:4px}.weight-number input{font-size:28px;width:78px}.stepper button{width:30px;height:30px}.quick-footer{flex-direction:column;align-items:stretch;gap:10px}.quick-footer>span{font-size:9px}.quick-footer .primary-btn{padding:12px}.summary-grid{gap:7px;margin-bottom:18px}.summary-card{padding:12px 9px;min-height:113px}.summary-label{font-size:8px;line-height:1.5}.round-icon{display:none}.metric{margin:9px 0 5px;gap:4px}.metric strong{font-size:24px}.metric>span{font-size:8px}.summary-card>small{font-size:8px;line-height:1.7;display:block}.paper-heading{padding:17px 13px 12px;align-items:flex-start}.paper-heading h2{font-size:16px}.sheet-actions{gap:4px}.sheet-actions button{font-size:9px;padding:7px}.week-toolbar{margin:0 13px 12px}.week-nav{gap:7px;width:100%}.week-nav h3{font-size:16.2px;min-width:0;flex:1}.week-nav .icon-btn{width:28px;height:28px}.week-nav .text-btn{margin-left:auto}.sheet-foot{flex-direction:column;gap:2px;padding:11px 12px 4px;font-size:8px}.measurement-hint{font-size:8px;padding:2px 12px 12px}.source-sheet{margin-top:15px}footer small{display:none}footer .text-btn{font-size:9px}dialog{padding:19px 15px}.modal-scroll{max-height:65dvh}.meal-row{grid-template-columns:32px 84px 120px minmax(0,1fr);gap:5px}.meal-row input,.meal-row select{font-size:10px}.condition-inputs{gap:12px}.symbol-choices span{padding:7px 9px;min-width:29px}.supplement-row{grid-template-columns:95px 1fr}.record-date-row{gap:7px}.record-date-row input[type=date]{max-width:145px}.inline-choice span{padding:9px 11px}.modal-bottom .text-btn{font-size:10px}.modal-bottom .primary-btn{font-size:11px;padding:12px}.source-sheet>div{gap:7px;padding:7px}}@media(max-width:390px){.meal-row{grid-template-columns:30px 78px 1fr}.meal-row>label:last-child{grid-column:2/-1}.condition-inputs{grid-template-columns:1fr}.quick-date input{max-width:119px}.welcome-row h1{font-size:19px}}.symbol-choices label,.inline-choice label{position:relative}.symbol-choices input,.inline-choice input{top:0;left:0;margin:0}.snack-row .meal-content{grid-column:3/-1}@media(max-width:390px){.snack-row .meal-content{grid-column:2/-1}}.sleep-time-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;align-items:end}.sleep-time-range>span{padding-bottom:10px;color:#8b9a7a;font-size:12px}.sleep-time-range input{width:100%;min-width:0;padding:9px 5px}.sleep-time-range label{font-size:10px;min-width:0}#sleepResult{display:block;margin-top:10px;color:#54723b;font-size:12px;font-weight:600;line-height:1.6}.sleep-field>small{display:block;color:#95a085;font-size:9px;line-height:1.7;margin-top:5px}#clearSleep{padding:4px 0;margin-top:4px;font-size:9px}.supp-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.supp-times label{min-width:0}@media(max-width:600px){.sleep-field{grid-column:1/-1}.supp-times{grid-template-columns:repeat(2,minmax(0,1fr))}}.clothing-grid{display:grid;grid-template-columns:100px repeat(7,minmax(0,1fr));border-bottom:1px solid #b6c3a5}.clothing-label{display:flex;flex-direction:column;justify-content:center;padding:10px 9px;color:#78886a;background:#f6f8f1;font-size:10px;border-right:1px solid #dce4d1;gap:5px}.clothing-label small{font-size:8px;color:#a0aa92}.clothing-day{min-width:0;border-right:1px solid #dce4d1;padding:4px;background:#fdfef9}.clothing-day button{display:flex;justify-content:space-between;align-items:center;gap:3px;width:100%;border:1px solid transparent;border-radius:4px;background:transparent;color:#7a896a;font-size:9px;padding:7px 3px;white-space:nowrap}.clothing-day button+button{border-top:1px dotted #e1e6d8;border-radius:0}.clothing-day button:hover{background:#f2f5e8;border-color:#dce4ca;border-radius:4px}.clothing-day button b{font-weight:500;color:#5f7550}.clothing-fields{margin-top:17px;padding:13px;border:1px solid #e1e7d7;border-radius:8px;background:#fcfdf8}.clothing-fields legend{font-size:11px;padding:0 5px}.clothing-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gram-control{min-width:0}.wake-toilet-fields{margin:18px 0;padding:14px;background:#f8faf3;border:1px solid #dce5ce;border-radius:9px}.wake-toilet-fields>p{margin:0 0 14px;font-size:13px;line-height:1.6}.wake-toilet-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.toilet-entry{min-width:0;margin:0;padding:10px;border:1px solid #dce5ce;border-radius:7px;background:#fff}.toilet-entry>legend{padding:0 4px;line-height:1.6}.toilet-choices{display:flex;flex-wrap:wrap;gap:8px}.toilet-choices label{display:flex;align-items:center;gap:5px;min-height:40px;padding:7px 8px;border:1px solid #dce5ce;border-radius:6px;cursor:pointer}.toilet-choices label:has(input:checked){background:#edf3e2;border-color:#819960}.toilet-choices input{width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:#657f4b;flex:none}.toilet-amount{margin-top:12px}.toilet-amount[hidden]{display:none}.wake-toilet-fields>small{display:block;margin-top:12px}.wake-toilet-fields>.text-btn{margin-top:8px}.quick-toilet-button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;margin-top:12px;text-align:left;white-space:normal;font-size:12.375px;line-height:1.5}.quick-toilet-button>span{font-size:13.5px;line-height:1.5;overflow-wrap:anywhere}.toilet-graph-mark{cursor:pointer;font-weight:700}@media(max-width:600px){.wake-toilet-inputs{grid-template-columns:minmax(0,1fr)}.wake-toilet-fields{padding:10px}.toilet-choices label{flex:1 1 auto;justify-content:center}.wake-toilet-fields input[type=number]{font-size:21px}}.gram-control>label{font-size:11px;color:#78886a}.gram-stepper{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:9px}.gram-stepper>button{flex-shrink:0;border:1px solid #dce5ce;background:#fff;border-radius:50%;width:29px;height:29px;padding:0;color:#7d9166;font-size:19px;line-height:1}.gram-stepper>button:hover{background:#edf3e2}.gram-stepper>div{display:flex;align-items:baseline;justify-content:center;gap:4px;min-width:0}.gram-stepper input{width:85px;min-width:0;padding:5px 0;text-align:center;font-size:23px;border:0;background:transparent;appearance:textfield;-moz-appearance:textfield}.gram-stepper input::-webkit-inner-spin-button{appearance:none}.gram-stepper span{font-size:11px;color:#9aa88a}.clothing-fields>small{display:block;font-size:9px;color:#95a384;line-height:1.7;margin-top:13px}@media(max-width:500px){.clothing-fields{padding:9px}.clothing-inputs{gap:10px}.gram-stepper{gap:2px}.gram-stepper input{width:62px;font-size:21px}.gram-stepper>button{width:25px;height:25px}}.week-log .log-cell.meal-cell{display:grid;grid-template-rows:auto 1fr;padding:0;min-height:62px}.meal-time{display:block;padding:6px 4px 5px;font-size:15.6px;font-weight:600;line-height:1.4;color:#61774d;font-variant-numeric:tabular-nums}.meal-body{display:flex;justify-content:center;align-items:center;border-top:1px solid #dce4d1;padding:6px 5px;font-size:10px;line-height:1.6;min-height:29px;overflow-wrap:anywhere}.meal-time.empty,.meal-body.empty{color:#b7c2a9;font-weight:400}.sheet-canvas{min-width:860px;padding-right:12px}.graph svg{overflow:visible}.next-wake-label{cursor:pointer}.next-wake-label:hover{fill:#405c2d;text-decoration:underline}.graph-frame{position:relative}.graph-ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;touch-action:none}.graph-frame.inking .graph-ink{pointer-events:auto;touch-action:none;cursor:crosshair}.ink-toolbar{position:sticky;z-index:3;left:0;max-width:100%;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:9px 12px;border-top:1px solid #e3e8dc;border-bottom:1px solid #d8dfcc;background:#fcfdf9;color:#7d896e}.ink-actions{display:flex;gap:6px;flex-wrap:wrap}.ink-case-toggle{position:sticky;z-index:3;left:0;display:flex;align-items:center;gap:7px;width:100%;min-height:34px;padding:8px 10px;border:0;border-bottom:1px solid #b6c3a5;background:#f6f8f1;color:#64784f;font-size:12px;text-align:left}.ink-case-toggle:before{content:"\25be";font-size:24px;line-height:1;flex-shrink:0}.ink-case-toggle[aria-expanded=true]:before{content:"\25be"}.ink-case-toggle:hover{background:#eef3e5}.ink-toolbar[hidden]{display:none}.ink-toolbar button{font-size:11px;padding:8px 11px;border:1px solid #dce3d2;border-radius:5px;background:#fff;color:#647653;min-height:34px}.ink-toolbar button[aria-pressed=true]{color:#b72a2a;background:#fff0ed;border-color:#e7aaa3}#inkToggle:before{content:"\270e";color:#d73535;margin-right:5px;font-size:14px}.ink-toolbar button:disabled{opacity:.45;cursor:default}.ink-toolbar small{font-size:9px;line-height:1.6;flex-basis:100%}@media(max-width:900px){.ink-toolbar{padding:8px}.ink-toolbar button{padding:8px 10px}.ink-toolbar small{font-size:9px}}.graph-frame[data-tool=text] .graph-ink{cursor:text}.graph-frame[data-tool=stamp] .graph-ink{cursor:copy}.annotation-object{pointer-events:all;cursor:grab;touch-action:none;outline:none;user-select:none;-webkit-user-select:none}.annotation-object:active{cursor:grabbing}.annotation-object:focus-visible .annotation-hit{stroke:#8aa46d;stroke-width:2;stroke-dasharray:4 3}.annotation-hit{pointer-events:all}.annotation-content{pointer-events:none}.ink-stamp-palette{display:flex;gap:7px;flex-wrap:wrap;flex-basis:100%;padding-top:2px}.ink-stamp-palette button{display:flex;flex-direction:column;align-items:center;width:100px;padding:5px;background:#fffdf8}.ink-stamp-palette svg{width:78px;height:78px}.ink-stamp-palette span{font-size:10px;font-weight:600;color:#584a3c;margin-top:4px;white-space:nowrap}.ink-object-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:10px;color:#7b886d}.ink-object-controls label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px}.ink-object-controls select{padding:6px 8px;margin:0;background:#fff;border:1px solid #dce3d2;border-radius:5px;color:#647653;font-size:11px}#inkSelectionControls{display:flex;gap:6px;flex-wrap:wrap}#inkDeleteObject{color:#ae6657}.ink-text-editor{position:absolute;z-index:4;padding:12px;background:#fffdf8;border:1px solid #d9c9ba;border-radius:9px;box-shadow:0 5px 24px #40311d26;color:#725d4d}.ink-text-editor label{display:block;font-size:11px;margin-bottom:6px}.ink-text-editor textarea{display:block;width:100%;margin:0 0 9px;padding:8px;font-size:16px;line-height:1.5;border:1px solid #e2dbcc;border-radius:5px;resize:vertical;max-height:160px;background:#fff;color:#b53e49}.ink-text-editor>div{display:flex;gap:7px}.ink-text-editor button{border:1px solid #dce3d2;border-radius:5px;background:#fff;color:#6a7759;padding:8px 11px;font-size:11px;min-height:34px}#inkTextSave{background:#647e50;color:#fff;border-color:#647e50}.ink-stamp-palette[hidden],.ink-object-controls[hidden],.ink-text-editor[hidden],#inkSelectionControls[hidden],#inkEditText[hidden]{display:none}@media(max-width:900px){.ink-actions,.ink-stamp-palette{gap:5px}.ink-stamp-palette button{width:calc((100% - 10px)/3);padding:3px}.ink-stamp-palette svg{width:68px;height:68px}.ink-object-controls{flex-basis:100%}}.tablet-time{display:inline-block;white-space:nowrap;font-variant-numeric:tabular-nums}.legend-line.overnight-key{background:#d73535;height:3px;border-radius:2px}.ink-stamp-palette button[aria-pressed=true]{border-color:#d5352a;box-shadow:0 0 0 1px #d5352a;background:#fff6ce}#latestCaption{font-weight:700;color:#77866b}.ink-quick-controls{position:fixed;z-index:8;right:20px;bottom:18px;display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fffdf5;box-shadow:0 3px 20px #3e492230;border:1px solid #d7dfcb;border-radius:9px;color:#6c795d;font-size:11px}.ink-quick-controls button{padding:9px 12px;border:1px solid #d6ddca;border-radius:5px;background:#fff;color:#657653;font-size:12px}#inkDone{background:#647e50;color:#fff;border-color:#647e50}.ink-quick-controls button:disabled{opacity:.4}.ink-quick-controls[hidden]{display:none}@media(max-width:600px){.ink-quick-controls{right:10px;bottom:10px;gap:6px}.ink-quick-controls>span{display:none}}.week-journey-card{padding:14px 16px 11px;background:linear-gradient(150deg,#fffefa,#f9fbf2);overflow:hidden}.journey-badge{font-size:8px;letter-spacing:1px;font-weight:700;color:#aa9264;background:#f7efd9;padding:5px 7px;border-radius:20px;white-space:nowrap}.journey-counter-row{display:flex;align-items:center;justify-content:space-between;gap:5px}.journey-counter-row .metric{margin:3px 0 0}.journey-replay{background:transparent;border:0;padding:6px 0 6px 7px;color:#899574;font-size:9px;white-space:nowrap}.journey-replay:hover{color:#52713d}.journey-replay[hidden]{display:none}.journey-track{position:relative;height:106px;margin:0 -5px;isolation:isolate}.journey-landscape{position:absolute;inset:0;width:100%;height:100%;border-radius:9px;z-index:-1}.journey-lane{position:absolute;inset:0 20px}.journey-road.progress{position:absolute;left:0;right:0;bottom:23px;margin:0;height:5px;background:#c7d6b4;border-radius:8px}.journey-road.progress i{height:100%;border-radius:8px;background:#96af68;transition:none}.journey-road.progress i:after{display:none}.journey-stop{position:absolute;bottom:21px;transform:translate(-50%);text-align:center;color:#9caa8c;line-height:1}.journey-stop>i{display:block;width:9px;height:9px;border:2px solid #c7d6b4;border-radius:50%;background:#fbfcf4;transition:background .2s,border-color .2s}.journey-stop>b{position:absolute;top:15px;left:50%;transform:translate(-50%);font-size:8px;font-weight:500;white-space:nowrap}.journey-stop.is-passed{color:#66804a}.journey-stop.is-passed>i{background:#edce80;border-color:#9bab6b}.journey-stop.is-passed>b{font-weight:700}.journey-goal{position:absolute;left:100%;width:25px;height:39px;bottom:26px;transform:translate(-3px);transform-origin:bottom left}.journey-goal svg{display:block;width:100%;height:100%}.journey-runner{position:absolute;left:0;bottom:24px;width:66px;height:45px;transform:translate(-50%);z-index:2;will-change:left}.car-facing{display:block;width:100%;height:100%}.journey-car{display:block;width:100%;height:100%;overflow:visible}.car-body,.car-chassis,.car-wheel,.car-eyes{transform-box:fill-box;transform-origin:center}.week-journey-card.in-view .car-body{animation:car-idle 2.8s ease-in-out infinite}.week-journey-card.in-view .car-eyes{animation:car-blink 5.2s linear infinite}.week-journey-card.in-view.is-moving .car-body{animation:car-cruise .3s ease-in-out infinite alternate}.week-journey-card.in-view.is-moving .car-wheel{animation:car-wheel-turn .48s linear infinite}.week-journey-card.is-backtracking .car-facing{transform:scaleX(-1)}.week-journey-card.is-counting #weekCount{animation:journey-count-pop .55s ease-out}.journey-status{font-size:9px;font-weight:600;color:#87976b;line-height:1.6;margin:7px 0 0;min-height:15px}.week-journey-card.is-complete .journey-goal{bottom:60px}.week-journey-card.is-complete .journey-status{color:#7f8a40}.week-journey-card.is-complete .journey-badge{background:#f7e9b8;color:#a37e30}.week-journey-card.is-complete .journey-road.progress i{background:linear-gradient(90deg,#a6b972,#d5b563)}.week-journey-card.in-view.is-celebrating .car-chassis{animation:car-cheer .65s ease-in-out 3}.week-journey-card.in-view.is-celebrating .car-wheel{animation:car-wheel-turn .48s linear 3}.week-journey-card.is-celebrating.is-complete .journey-goal{animation:journey-flag .45s ease-in-out 4 alternate}.journey-sparkles{position:absolute;inset:0;pointer-events:none}.journey-sparkles>i{position:absolute;left:var(--spark-x,90%);top:var(--spark-y,14px);font-size:15px;font-style:normal;color:#dbb85f;opacity:0}.journey-sparkles>i:nth-child(2){--spark-x:78%;--spark-y:35px;color:#e9ac94;font-size:12px}.journey-sparkles>i:nth-child(3){--spark-x:100%;--spark-y:41px;color:#a4bd76;font-size:12px}.journey-sparkles>i:nth-child(4){--spark-x:70%;--spark-y:11px;font-size:10px}.week-journey-card.is-celebrating.is-complete .journey-sparkles>i{animation:journey-spark 1s .15s 2 both}.week-journey-card.is-celebrating.is-complete .journey-sparkles>i:nth-child(2n){animation-delay:.3s}@keyframes car-idle{50%{transform:translateY(-.6px)}}@keyframes car-blink{0%,43%,47%,to{transform:scaleY(1)}45%{transform:scaleY(.12)}}@keyframes car-cruise{0%{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-1.5px) rotate(1deg)}}@keyframes car-wheel-turn{to{transform:rotate(360deg)}}@keyframes car-cheer{0%,to{transform:translateY(0) rotate(0)}45%{transform:translateY(-6px) rotate(-4deg)}70%{transform:translateY(-2px) rotate(3deg)}}@keyframes journey-count-pop{50%{transform:scale(1.12);color:#8da75d}}@keyframes journey-flag{to{transform:translate(-3px) rotate(7deg)}}@keyframes journey-spark{0%,to{opacity:0;transform:scale(.5) translateY(5px)}45%{opacity:1;transform:scale(1.15) translateY(-3px)}}@media(max-width:640px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.week-journey-card{grid-column:1/-1;padding:13px 16px 12px}.week-journey-card .summary-label{font-size:10px}.journey-counter-row .metric{margin:0}.journey-track{height:112px}.journey-status,.journey-replay{font-size:10px}.journey-lane{inset-inline:23px}}@media(prefers-reduced-motion:reduce){.week-journey-card *{animation:none!important;transition:none!important}.journey-replay,.journey-sparkles{display:none}}.deru-picker{min-width:0;display:flex;flex-direction:column;gap:9px}.deru-custom{display:flex;flex-direction:row;align-items:center;gap:12px;color:#879574;font-size:10px}.deru-number{display:flex;align-items:center;gap:7px}.deru-number input{width:92px;padding:8px 10px;font-size:15px;font-variant-numeric:tabular-nums}.deru-number>span{font-size:11px;color:#8b987c}@media(max-width:600px){.deru-custom{gap:8px}.deru-number input{width:85px}}.week-log .log-label--deru,.week-log .log-label--lap,.week-log .log-label--tablet,.week-log .log-label--green{font-weight:700}.week-log .log-label--deru{background:#f7d8c2;color:#603b28}.week-log .log-label--lap{background:#ffe693;color:#59440d}.week-log .log-label--tablet{background:#bcdcf5;color:#173e64}.week-log .log-label--green{background:#c2e2b7;color:#244c25}@media screen{.week-log .log-cell[data-section=supplements]:not(.empty){font-size:12px;font-weight:600;color:#435439;line-height:1.7;font-variant-numeric:tabular-nums}}.annotation-resize-handle{cursor:nwse-resize;touch-action:none;pointer-events:all}.ink-object-controls input[type=range]{width:130px;max-width:38vw;accent-color:#647e50;touch-action:pan-y}.ink-object-controls output{min-width:42px;font-variant-numeric:tabular-nums;color:#51663d;font-weight:600}.graph-frame.annotation-transforming .graph-ink{pointer-events:auto;touch-action:none}.snack-row>b{white-space:nowrap;font-size:10px}.week-log .log-cell.snack-cell{display:flex;flex-direction:column}.snack-cell>.meal-body{flex:1}.snack-entry{display:block;flex:1}.snack-entry+.snack-entry{border-top:1px solid #d8e0cd}.snack-extra{margin:4px 0 10px}.snack-extra>summary{display:flex;align-items:center;gap:8px;list-style:none;margin:0;padding:9px 10px;border:1px solid #dfe6d5;border-radius:6px;background:#f6f8f1;color:#647b4c;font-size:11px;font-weight:500;cursor:pointer}.snack-extra>summary::-webkit-details-marker{display:none}.snack-extra>summary:before{content:"\ff0b";flex:none;font-size:15px;line-height:1}.snack-extra[open]>summary:before{content:"\2212"}.snack-extra>summary>span{flex:none}.snack-extra>summary>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#81916e;font-size:10px;font-weight:400}.snack-extra>.meal-row{margin:10px 0 0}.record-period{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin:0 22px 12px;color:#778768;font-size:11px;line-height:1.6}@media(max-width:900px){.record-period{margin:0 13px 12px;font-size:10px}}.latest-week-btn{border:1px solid #c7d4b8;border-radius:6px;padding:7px 11px;background:#eef4e5;color:#506d37;font:inherit;font-weight:600;line-height:1.4;cursor:pointer}.latest-week-btn:hover{background:#e1edcf;border-color:#93aa77}.latest-week-btn:focus-visible{outline:3px solid #a2b985;outline-offset:2px}.latest-week-btn:disabled{opacity:.5;cursor:default}.comparison-strip{border-top-width:3px;border-bottom-width:3px}.week-log>.log-row--bowel{border-top:3px solid #b1bda3;border-bottom:3px solid #cbd5bd}.graph-frame[data-tool=eraser] .graph-ink,.graph-frame[data-tool=eraser] .annotation-object{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='12' fill='white' fill-opacity='.65' stroke='%23647e50' stroke-width='2'/%3E%3C/svg%3E") 14 14,crosshair}#inkRedMarkerToggle:before,#inkBlueMarkerToggle:before{content:"";display:inline-block;width:13px;height:8px;margin-right:5px;border-radius:2px;vertical-align:middle}#inkRedMarkerToggle:before{background:#ec525259}#inkBlueMarkerToggle:before{background:#3987df59}#inkRedMarkerToggle[aria-pressed=true]{color:#ab3030;background:#fff0ed;border-color:#dc9999}#inkBlueMarkerToggle[aria-pressed=true]{color:#255f9e;background:#edf5ff;border-color:#98b9df}.mobile-sheet-zoom{display:none}@media screen and (max-width:900px){.mobile-sheet-zoom{display:inline-block;border:1px solid #bcccad;background:#fff;border-radius:6px;padding:8px 10px;color:#506b3e;font-size:11px;min-height:36px}.mobile-sheet-zoom[aria-pressed=true]{background:#edf3e3;font-weight:600}.record-period{gap:8px;margin-bottom:10px}.sheet-hint{display:none}.sheet-panel:not(.sheet-detail) .sheet-canvas{min-width:0;width:100%;padding-right:12px}.sheet-panel:not(.sheet-detail) :is(.sheet-day-header,.clothing-grid,.comparison-strip,.week-log){grid-template-columns:var(--graph-label-width,11.79245%) repeat(7,minmax(0,1fr))}.sheet-panel:not(.sheet-detail) .sheet-day-header>div{font-size:8px;padding:3px 1px;overflow-wrap:anywhere}.sheet-panel:not(.sheet-detail) .day-header{padding:6px 0}.sheet-panel:not(.sheet-detail) .day-header b{font-size:9px}.sheet-panel:not(.sheet-detail) .day-weekday{display:block;font-size:8px}.sheet-panel:not(.sheet-detail) .day-header small{font-size:7px;margin-top:3px;overflow-wrap:anywhere}.sheet-panel:not(.sheet-detail) .clothing-label{font-size:8px;padding:3px 1px;overflow-wrap:anywhere}.sheet-panel:not(.sheet-detail) .clothing-label small,.sheet-panel:not(.sheet-detail) .clothing-day button>span:first-child{display:none}.sheet-panel:not(.sheet-detail) .clothing-day{padding:0 1px}.sheet-panel:not(.sheet-detail) .clothing-day button{justify-content:center;white-space:normal;padding:4px 0;font-size:7px}.sheet-panel:not(.sheet-detail) .comparison-label{font-size:7px;overflow-wrap:anywhere}.sheet-panel:not(.sheet-detail) .comparison-day{flex-direction:column;gap:0;font-size:7px;padding:5px 0}.sheet-panel:not(.sheet-detail) .comparison-day b{font-size:14px}.sheet-panel:not(.sheet-detail) .week-log>div,.sheet-panel:not(.sheet-detail) .week-log>button{min-width:0;font-size:8px;padding:4px 1px;line-height:1.5}.sheet-panel:not(.sheet-detail) .week-log .log-label{padding-left:3px!important;font-size:8px;overflow-wrap:anywhere}.sheet-panel:not(.sheet-detail) .week-log .meal-cell{padding:0}.sheet-panel:not(.sheet-detail) .meal-time{font-size:11.7px;padding:4px 0}.sheet-panel:not(.sheet-detail) .meal-body{font-size:8px;padding:4px 1px}.sheet-panel:not(.sheet-detail) .week-log .log-cell[data-section=supplements]:not(.empty){font-size:8px}.sheet-panel:not(.sheet-detail) .tablet-time{white-space:normal;overflow-wrap:anywhere}.sheet-panel:not(.sheet-detail) .week-log .sub{font-size:7px}.sheet-panel:not(.sheet-detail) .week-log .note{font-size:8px}.sheet-panel:not(.sheet-detail) .ink-toolbar{padding:8px 5px}.sheet-panel:not(.sheet-detail) .ink-toolbar button{font-size:10px;padding:7px 6px}.sheet-panel:not(.sheet-detail) .ink-toolbar small{font-size:9px}}.comparison-day{flex-direction:column;gap:2px;min-width:0;padding:9px 2px;color:#4c633c;background:#f6f9f1}.comparison-day b{font-size:32px;font-weight:700;line-height:1.1;color:inherit}.comparison-result{font-size:10px;font-weight:600;line-height:1.3}.comparison-diff{font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums}.comparison-day--same{color:#776226;background:#fffbef}.comparison-day--up{color:#964c42;background:#fff5f1}.comparison-day--pending{color:#899180;background:#fafbf8}.comparison-day--pending b{font-size:26px}@media screen and (max-width:900px){.sheet-panel:not(.sheet-detail) .comparison-day{gap:1px;padding:6px 0}.sheet-panel:not(.sheet-detail) .comparison-day b{font-size:24px}.sheet-panel:not(.sheet-detail) .comparison-result{font-size:8px}.sheet-panel:not(.sheet-detail) .comparison-diff{font-size:8px}.sheet-panel:not(.sheet-detail) .comparison-day--pending b{font-size:21px}.sheet-panel:not(.sheet-detail) .comparison-day--pending .comparison-result{font-size:7px}}.comparison-mark{display:block;width:1em;height:1em;line-height:0!important;flex-shrink:0}.comparison-icon{display:block;width:100%;height:100%;overflow:visible}.meal-shake{display:inline-block;max-width:100%;border:1.3px solid currentColor;border-radius:50%;padding:3px 4px;font-weight:700;line-height:1.2;vertical-align:middle}.meal-row>.meal-content{min-width:0;display:flex;flex-direction:column;gap:7px}.meal-photo-editor,.meal-voice-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.meal-voice-button{min-height:38px;font-size:12px;padding:8px 12px}.meal-voice-button.listening{background:#fce9e6;border-color:#ca8175;color:#963b30}.meal-voice-status{font-size:11px;color:#637751;line-height:1.6;overflow-wrap:anywhere}.meal-voice-note{display:block;margin-top:10px;color:#7b8671;font-size:10px;line-height:1.7}.meal-photo-editor>.outline-btn{padding:7px 10px;font-size:11px}.photo-status{font-size:10px;color:#70815f;line-height:1.5}.photo-preview{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%}.photo-preview[hidden]{display:none}.photo-open{border:1px solid #d5dfca;background:#f6f9f0;padding:3px;border-radius:7px}.photo-open img{display:block;width:96px;height:72px;object-fit:cover;border-radius:4px}.meal-photo-inline{display:block;margin:5px auto 2px;max-width:100px}.meal-photo-inline img{display:block;width:100%;height:48px;object-fit:cover;border-radius:4px}.meal-photo-inline small{display:block;font-size:9px;color:#758864}#mealPhotoDialog{position:fixed;inset:0;margin:auto;max-width:94vw;width:800px;padding:12px;max-height:94dvh;overflow:auto}#mealPhotoDialog>.close-btn{display:block;margin:0 0 8px auto}#mealPhotoDialog>img{display:block;width:100%;max-width:100%;max-height:78dvh;margin:auto;object-fit:contain;cursor:zoom-out}img[data-meal-photo]{cursor:zoom-in}img[data-meal-photo]:focus-visible{outline:3px solid #647e50;outline-offset:-3px}@media(max-width:600px){.meal-photo-editor>.outline-btn{font-size:12px}.meal-content input{font-size:16px!important}}@media(max-width:390px){.meal-row>.meal-content{grid-column:2/-1}}@media screen and (max-width:900px){.sheet-panel:not(.sheet-detail) .meal-photo-inline img{height:30px}.sheet-panel:not(.sheet-detail) .meal-photo-inline small{font-size:7px}}@media screen{.week-log .meal-body.has-photo{display:flex;flex-direction:column;align-items:stretch;padding:0}.meal-body.has-photo .meal-description{padding:4px 5px}.meal-body.has-photo .meal-photo-inline{position:relative;display:block;flex:none;width:100%;max-width:none;min-height:0;aspect-ratio:4/3;margin:0;overflow:hidden}.sheet-panel .meal-body.has-photo .meal-photo-inline img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:0}}.schedule-panel{margin:0 20px 18px;padding:18px 20px;border:1px solid #cddbbc;border-radius:10px;background:#f7faf2}.schedule-overview{display:flex;align-items:center;justify-content:space-between;gap:16px}.schedule-overview h3{font-size:12px;color:#64784f;margin:5px 0}#appointmentSummary{font-size:22px;font-weight:700;line-height:1.5;margin:0;color:#344a30}.schedule-panel[data-appointment-state=empty] #appointmentSummary{font-size:16px;font-weight:500;color:#7c8973}.appointment-notice{padding:12px 14px;margin:14px 0 0;background:#fff0c1;border-left:4px solid #c79527;color:#654c17;font-size:17px;font-weight:700;border-radius:5px}.schedule-panel[data-appointment-state=today] .appointment-notice{background:#e3efcf;color:#3e5c28;border-color:#6f8d4d}.schedule-panel[data-appointment-state=past] .appointment-notice{background:red;font-size:13px;font-weight:500;color:#fff;border-color:red}.appointment-change{margin-top:14px;padding-top:12px;border-top:1px solid #dce5d1}.appointment-change>summary{font-size:13px;color:#516d3c;cursor:pointer;font-weight:600}.appointment-change p,.schedule-note{font-size:11px;line-height:1.7;color:#6b7c5d}.schedule-note{margin:12px 0 0}.appointment-candidates{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0}.appointment-candidates fieldset{min-width:0;border:1px solid #d6dfcc;border-radius:7px;padding:10px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px;background:#fff}.appointment-candidates legend{font-size:12px;font-weight:600;color:#526d40;padding:0 5px}.appointment-candidates .appointment-flexible{grid-template-columns:minmax(0,1fr)}.appointment-period-choice{min-width:0;color:#667956;font-size:12px}.appointment-periods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:7px}.schedule-panel .appointment-periods label{flex-direction:row;align-items:center;gap:7px;min-height:44px;padding:8px;border:1px solid #d6dfcc;border-radius:6px;cursor:pointer}.appointment-periods label:last-child{grid-column:1/-1}.schedule-panel .appointment-periods input{width:18px;height:18px;min-height:0;padding:0;margin:0;flex-shrink:0;accent-color:#647e50}.appointment-periods label:has(input:checked){background:#eef3e3;border-color:#92a572;color:#45632c}.appointment-time-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:end;min-width:0}.appointment-time-range[hidden]{display:none}.appointment-time-range>span{align-self:center;padding-top:20px}.appointment-flexible>.text-btn{justify-self:start;text-align:left;font-size:12px;padding:6px 0}.schedule-panel label,.appointment-fields label{display:flex;min-width:0;flex-direction:column;gap:6px;font-size:12px;color:#667956}.schedule-panel input,.appointment-fields input{min-width:0;width:100%;border:1px solid #cddbbc;border-radius:6px;background:#fff;color:#35492e;padding:10px 8px;font-size:16px;min-height:44px}#appointmentChangeStatus,#appointmentRebookStatus,#appointmentSaveStatus{color:#8b4a33;font-size:12px;line-height:1.6}#appointmentDraft,#appointmentRebookDraft{margin-top:14px}#appointmentMessage,#appointmentRebookMessage{width:100%;padding:10px;border:1px solid #cddbbc;border-radius:6px;background:#fff;font-size:13px;line-height:1.6;color:#35492e}.appointment-line-actions,.appointment-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}.appointment-line-actions a{background:#287549;text-decoration:none;display:inline-block}.appointment-change-note{font-weight:600}.schedule-panel a{color:#376344}.appointment-line-actions a.primary-btn{color:#fff}#appointmentDialog{width:min(480px,calc(100% - 28px));padding:24px;max-height:90dvh;overflow:auto}#appointmentDialog h2{font-size:19px}#appointmentDialog>form>p{font-size:12px;line-height:1.7;color:#708061}.appointment-fields{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin:20px 0}.appointment-dialog-actions{justify-content:space-between}.schedule-panel button:disabled{opacity:.5;cursor:default}@media screen and (max-width:600px){.schedule-panel{margin:0 12px 14px;padding:14px}.schedule-overview{align-items:flex-start;flex-direction:column;gap:10px}#appointmentSummary{font-size:20px}.appointment-notice{font-size:16px}.appointment-candidates{grid-template-columns:1fr;gap:10px}.appointment-line-actions{align-items:stretch;flex-direction:column;text-align:center}}.quick-entry .section-header{flex-wrap:wrap;gap:10px}.quick-date{flex-shrink:0}.quick-date input{width:171px;max-width:100%;height:46.5px;padding:10.5px 12px;font-size:16.5px}.quick-entry .weight-control small{font-size:14.4px;line-height:1.1;margin-top:2px}.quick-entry .stepper{margin-top:5px}@media(max-width:900px){.quick-date input{width:157.5px;max-width:100%;height:45px;font-size:15px}}.quick-entry .weight-control>label{font-size:14.3px;font-weight:700}.quick-footer #saveQuick{font-size:16px;font-weight:600;padding:14px 18px}.summary-grid>.summary-card:nth-child(-n+2) .summary-label{font-size:14px;line-height:1.5}#latestCaption,#comparisonCaption{font-size:13px;line-height:1.6;display:block}.ink-toolbar #inkUndo,.ink-toolbar #inkClear{font-size:14px;padding:10px 12px}#latestWeek{font-size:14px;padding:5px 8px;min-height:0}#editAppointment{width:125px;height:36.5px;padding:2px;font-size:13px;line-height:1.2;white-space:nowrap;flex-shrink:0}@media screen{#weekLog>button.log-row--bowel{font-size:21px;line-height:1;padding:0;font-weight:600}}#recordForm .section-kicker{font-size:10px}#recordForm label,#recordForm legend,#recordForm .meal-row>b,#recordForm .supplement-row>b{font-size:12px}#recordForm small{font-size:11px;line-height:1.5}#recordForm .input-hint{font-size:12px!important;line-height:1.6}#recordForm .form-section{font-size:12px}#recordForm .form-section>span,#recordForm .form-details>summary{font-size:14px}#recordForm .inline-choice span,#recordForm .supplement-row .symbol-choices span,#recordForm .meal-row input,#recordForm .meal-row select,#recordForm .supp-times input,#recordForm .meal-voice-status,#recordForm .meal-voice-note{font-size:12px}#recordForm .weight-number>span,#recordForm .gram-stepper span{font-size:11px}#recordForm #sleepResult{font-size:13px}#recordForm .text-btn{font-size:12px}#recordForm .modal-bottom .primary-btn{font-size:13px}#mobileTimeDialog{position:fixed;inset:0;margin:auto;width:min(360px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:18px;overflow:auto;text-align:center}#mobileTimeTitle{margin:0;font-size:20px;outline:none}#mobileTimeCaption{margin:6px 0 16px;overflow-wrap:anywhere}.mobile-time-columns{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:8px;margin:0 auto 20px;max-width:280px}.mobile-time-unit{display:flex;flex-direction:column;gap:8px;min-width:0}.mobile-time-unit>button{width:100%;min-height:44px;padding:4px;border:1px solid #dce3d2;border-radius:8px;background:#f6f8f1;color:#647e50;font-size:24px;line-height:1.2}.mobile-time-unit>label{display:flex;flex-direction:column;gap:4px;align-items:center;font-size:14px}.mobile-time-unit input{width:100%;min-width:0;padding:8px 2px;text-align:center;font-size:40px;line-height:1.25;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:0}.mobile-time-colon{font-size:36px;line-height:1}.mobile-time-actions{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:6px;align-items:stretch}.mobile-time-actions>button{min-width:0;min-height:44px;padding:10px 4px;font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}input[type=time][aria-haspopup=dialog]{cursor:pointer;caret-color:transparent}input[type=time][aria-haspopup=dialog]::-webkit-calendar-picker-indicator{pointer-events:none}#recordForm .modal-weights .weight-control>label{font-size:15.6px;font-weight:700}#recordForm .modal-weights .weight-control small{font-size:19.8px;line-height:1.1;margin-top:2px}#recordForm .modal-weights .stepper{margin-top:5px}#recordForm .supplement-row:has(.supp-times)>b,#recordForm .supplement-row:has(.deru-picker)>b{align-self:start}.clothing-toggle{display:flex;align-items:center;gap:7px;width:100%;padding:8px 10px;border:0;border-bottom:1px solid #b6c3a5;background:#f6f8f1;color:#64784f;font-size:12px;text-align:left}.clothing-toggle:before{content:"\25be";font-size:24px;line-height:1;flex-shrink:0}.clothing-toggle[aria-expanded=true]:before{content:"\25be"}.clothing-toggle:hover{background:#eef3e5}#clothingGrid[hidden]{display:none}@media screen and (max-width:900px){.sheet-panel:not(.sheet-detail) #clothingGrid .clothing-day button{flex-direction:column;gap:1px;line-height:1.2;padding:4px 0}.sheet-panel:not(.sheet-detail) #clothingGrid .clothing-day button>span:first-child{display:block;font-size:8px}}.supplement-time-list{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;line-height:1}.supplement-time-option{display:inline-flex;align-items:center;justify-content:center;min-width:1.6em;height:1.6em;padding:0 .1em;border:1px solid transparent;border-radius:50%;font-size:10px;font-weight:400;white-space:nowrap;color:#526d42}.supplement-time-option.is-recorded{border-color:#3e6235;font-weight:700}.week-log .log-cell[data-product=tablet]{container-type:inline-size;padding:0!important;display:flex;align-items:flex-start}.tablet-time-list{display:grid;grid-auto-rows:24px;width:100%;text-align:left}.tablet-time-row{display:grid;grid-template-columns:1.12em minmax(0,1fr);align-items:center;gap:1px;padding:0 1px;font-size:clamp(8px,17cqw,16px);line-height:1}.tablet-number{color:#6c7c61;font-size:1.105em;text-align:center}.sheet-panel .tablet-time-row .tablet-time{display:block;white-space:nowrap;overflow-wrap:normal;text-align:center;font-size:clamp(8px,28cqw,24px);font-weight:400;color:#000;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.sheet-panel .tablet-time-row .tablet-time.is-near-meal{color:red;font-weight:700}@media screen and (max-width:600px){.sheet-panel .tablet-time-row .tablet-time{font-size:clamp(8px,26cqw,24px)}}@media screen and (max-width:600px){.supplement-time-list{gap:1px 2px}.supplement-time-option{font-size:8px;min-width:1.5em;height:1.5em}}#inkLineToggle:before{content:"\ff0f";color:#d73535;margin-right:5px;font-weight:700}#inkLineToggle[aria-pressed=true]{color:#ab3030;background:#fff0ed;border-color:#dc9999}@media screen{.sheet-panel .day-header{padding-inline:1px}.sheet-panel .day-header b{font-size:16.8px;line-height:1.15}.sheet-panel .day-header small{font-size:17.1px;line-height:1.15;margin-top:4px;overflow-wrap:normal}}@media screen and (max-width:900px){.sheet-panel:not(.sheet-detail) .day-header b{font-size:12.6px}.sheet-panel:not(.sheet-detail) .day-weekday{font-size:11.2px;line-height:1.1}.sheet-panel:not(.sheet-detail) .day-header small{font-size:13.3px;line-height:1.1;margin-top:4px;overflow-wrap:normal}}.week-nav h3{line-height:1.25}.week-nav .icon-btn{flex-shrink:0}.week-calendar-button svg{display:block}.week-nav,.week-nav h3{flex:1}#weekCalendarDialog{width:min(360px,calc(100% - 24px));padding:20px}#weekCalendarTitle{font-size:18px;margin:0}.calendar-month-nav{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}#calendarMonth{font-size:18px;margin:0}.calendar-weekdays,.calendar-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-weekdays span{text-align:center;font-size:12px;color:#798475;padding:5px 0}.calendar-dates button{min-width:0;min-height:37px;border:1px solid transparent;border-radius:6px;background:#fff;color:#2e3f32;padding:6px 0;font-size:15px}.calendar-dates button.is-other-month{color:#9ba591}.calendar-dates button.is-selected-week{background:#edf3e3;color:#426531}.calendar-dates button.is-week-start{border-color:#647e50;font-weight:700}.calendar-dates button.is-today{text-decoration:underline;text-underline-offset:4px}.calendar-dates button:hover{border-color:#92a572;background:#f0f5e8}.calendar-dates button:disabled{opacity:.3;cursor:default}#weekCalendarDialog .calendar-hint{font-size:12px;margin:14px 0 0;line-height:1.5}.meal-body.has-none{padding:0}.meal-none{position:relative;display:grid;place-items:center;align-self:stretch;width:100%;height:100%;min-height:29px;color:#667458}.meal-none-cross{position:absolute;inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);pointer-events:none;overflow:visible}.meal-none-cross path{fill:none;stroke:currentColor;stroke-width:1.1;stroke-linecap:round;vector-effect:non-scaling-stroke}.meal-time.is-near-food{color:red;font-weight:700}.meal-time.is-near-food+.meal-body .meal-shake{color:red;font-weight:700}#inkWeightLineButton:before{content:"\2015";color:#287fd0;font-weight:700;margin-right:5px}#weightLineDialog{width:min(360px,calc(100% - 24px))}#weightLineTitle{font-size:18px;margin:0}#weightLineValue{font-size:24px;width:100%;font-variant-numeric:tabular-nums}#weightLineDialog .primary-btn{width:100%}#recordForm .meal-row{grid-template-columns:64px 100px 130px minmax(0,1fr);gap:10px;align-items:start;margin-bottom:16px}#recordForm .meal-row.snack-row{grid-template-columns:64px 100px minmax(0,1fr)}#recordForm .meal-row>b{min-width:0;white-space:nowrap;line-height:1.5}#recordForm .meal-row>label,#recordForm .meal-content>label{min-width:0;gap:7px;line-height:1.5}#recordForm .snack-extra>.meal-row{margin-top:14px}#recordForm .snack-extra>summary{gap:10px;flex-wrap:wrap;row-gap:4px}.week-log .log-cell.sleep-cell{font-size:14px;line-height:1.3;color:#50643c;font-variant-numeric:tabular-nums}.sleep-times{display:flex;justify-content:center;align-items:center;gap:3px;font-weight:600;line-height:1.1}.sleep-times>span{white-space:nowrap}.sleep-duration{display:flex;justify-content:center;flex-wrap:wrap;margin-top:2px;font-size:13px;font-weight:600;line-height:1.1;color:#637b50}.sleep-duration>span{white-space:nowrap}@media screen and (max-width:900px){.sheet-panel:not(.sheet-detail) .week-log .log-cell.sleep-cell{font-size:clamp(11px,2.5vw,14px);padding:4px 1px;line-height:1.1}.sheet-panel:not(.sheet-detail) .sleep-times{flex-direction:column;gap:0}.sheet-panel:not(.sheet-detail) .sleep-separator{font-size:10px;line-height:.6;margin:0}.sheet-panel:not(.sheet-detail) .sleep-duration{font-size:clamp(10px,2.3vw,12px)}.sheet-panel:not(.sheet-detail) .week-log .log-label--sleep{font-size:11px;line-height:1.4}}@media(max-width:600px){#recordForm .meal-row{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:9px;margin-bottom:20px}#recordForm .meal-row>b{grid-column:1/-1}#recordForm .meal-row>.meal-content{grid-column:1/-1}#recordForm .meal-row.snack-row{grid-template-columns:minmax(100px,1fr) minmax(0,2fr)}#recordForm .snack-row>.meal-content{grid-column:2}}.welcome-row{flex-wrap:wrap}.welcome-row>div:first-child{flex:1 1 220px;min-width:0}.welcome-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0;margin-left:auto}#openRecord{display:inline-flex;align-items:center;justify-content:center;gap:5.85px;width:auto;height:auto;min-height:39px;padding:5.2px 10.4px;font-size:10.4px;font-weight:700;line-height:1.3;white-space:nowrap;border-radius:5.85px}#openRecord:after{content:none}#openRecord .record-entry-plus{display:block;font-size:23.4px;font-weight:500;line-height:1}#recordForm .modal-bottom,.quick-footer{flex-wrap:wrap}.save-feedback{flex:0 0 100%;width:100%;margin:0;padding:8px 10px;font-size:14px;line-height:1.5;color:#2e3f32;background:#f1f5e9;border-radius:6px;overflow-wrap:anywhere;outline:none}.save-feedback.is-error{color:#8d221b;background:#fff0ed;border:1px solid #d8a09b;font-weight:600}.save-feedback[hidden]{display:none}.desktop-overview-info{display:contents}@media screen and (min-width:901px)and (hover:hover)and (pointer:fine){html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]{display:grid;grid-template-columns:minmax(230px,28%) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;height:calc(100dvh - 24px);min-height:0;overflow:hidden}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]>.desktop-overview-info{display:block;grid-column:1;grid-row:1/6;min-height:0;overflow:auto}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .paper-heading{padding:18px 14px 12px;flex-wrap:wrap;align-items:flex-start}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] #schedulePanel{margin:0 12px 12px;padding:12px}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .schedule-overview{flex-direction:column;align-items:flex-start;gap:10px}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .appointment-candidates{grid-template-columns:1fr}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]>.week-toolbar{grid-column:2;grid-row:1;margin:16px 12px 8px;align-self:center}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .sheet-hint{display:none}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]>.record-period{grid-column:2;grid-row:2;margin:0 12px 8px}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]>.sheet-scroll{grid-column:2;grid-row:3;min-height:0;position:relative;overflow:hidden}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .sheet-canvas{position:absolute;top:0;left:50%;width:1000px;min-width:1000px;margin-left:-500px;transform:scale(var(--desktop-overview-scale,1));transform-origin:50% 0}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]>.sheet-foot{grid-column:2;grid-row:4;flex-wrap:wrap;padding:5px 10px 0;gap:3px}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true]>.measurement-hint{grid-column:2;grid-row:5;padding:2px 10px 8px}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .ink-toolbar{width:auto!important;margin:0 12px 12px;padding:8px}html:not(.diary-print-mode) #weeklySheet[data-desktop-overview=true] .ink-case-toggle{width:calc(100% - 24px);margin:0 12px}html:not(.diary-print-mode) .mobile-sheet-zoom{display:inline-block}}
