:root{color:#22362d;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#22362d;--muted:#54665b;--paper:#fffefa;--line:#e2e6db;--green:#3b624d;--green-soft:#ecf1e8;--orange:#ecad61;--blue:#9baed8;--alert:#a53538;--numbers:"Bahnschrift", "Arial", sans-serif;background:#f4f4ec;font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif;line-height:1.55}*,:before,:after{box-sizing:border-box}body{min-width:295px;margin:0}h1,h2,h3,p{margin:0}button,input{font:inherit;color:inherit}:is(button,a,label:has(input[type=radio]),label:has(input[type=checkbox])){-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:#365c47;text-underline-offset:.25em}a:hover{color:#243f31}:focus-visible{outline-offset:3px;outline:2px solid #48725b}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page{width:min(1100px,100% - 32px);margin-inline:auto}.masthead{background:#f8f8f0;border-bottom:1px solid #e2e7d9}.masthead-inner{justify-content:space-between;align-items:center;gap:12px;min-height:61px;padding-block:6px;display:flex}.wordmark,.source-nav{align-items:center;gap:8px;text-decoration:none;display:inline-flex}.wordmark{color:var(--ink);letter-spacing:.04em;flex-shrink:0;font-size:.9rem;font-weight:750}.brand-mark{color:#f4e9b7;background:#345641;border-radius:10px;place-items:center;width:33px;height:33px;display:grid}.brand-mark svg{stroke:currentColor;stroke-width:1.45px;stroke-linecap:round;width:29px;height:29px}.source-nav{min-height:44px;font-size:.8rem;font-weight:650}.header-actions{flex-wrap:wrap;justify-content:end;align-items:center;gap:4px 12px;display:flex}.language-picker{width:auto;font:inherit;color:var(--ink);border:1px solid var(--line);background:0 0;border-radius:6px;padding:6px;font-size:.84rem}.source-nav svg{stroke:currentColor;stroke-width:1.45px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.intro{padding-block:clamp(25px,5vw,46px) clamp(20px,3vw,29px)}.intro h1{letter-spacing:-.045em;font-size:clamp(1.85rem,5vw,3rem);font-weight:760;line-height:1.2}.intro p{color:var(--muted);margin-top:8px;font-size:clamp(.9rem,2vw,1rem)}.schedule-layout{align-items:start;gap:14px;display:grid}.card{border:1px solid var(--line);background:var(--paper);border-radius:22px;min-width:0;box-shadow:0 12px 24px -28px #283f2f}.clock-card,.settings-card{padding:16px}.card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.card-heading h2,.guide h2{letter-spacing:.012em;font-size:clamp(1.05rem,2.4vw,1.28rem)}.clock-legend{flex-wrap:wrap;justify-content:end;align-items:center;gap:6px 11px;display:flex}.clock-legend span{color:var(--muted);align-items:center;gap:5px;font-size:.75rem;display:flex}.clock-legend i,.settings-card i{border-radius:50%;width:9px;height:9px;display:inline-block}.legend-eating{background:var(--orange)}.legend-fasting{background:var(--green)}.legend-sleep{background:var(--blue)}.legend-pre-sleep{background:repeating-linear-gradient(40deg, var(--orange) 0 3px, #724719 3px 4px)}.clock-face{touch-action:none;-webkit-user-select:none;user-select:none;width:min(100%,365px);height:auto;margin:8px auto 13px;display:block;overflow:visible}.clock-track,.clock-arc{fill:none}.outer-track{stroke:#e4e8db;stroke-width:27px}.sleep-track{stroke:#e7ebdf;stroke-width:15px}.dial-eating,.dial-fasting{stroke-width:27px}.dial-eating{stroke:var(--orange)}.dial-pre-sleep{stroke-width:27px;pointer-events:none}.dial-fasting{stroke:var(--green)}.dial-sleep{stroke:var(--blue);stroke-width:15px}.draggable-arc{cursor:grab;touch-action:none}.draggable-arc:hover{filter:brightness(1.06)}.is-dragging,.is-dragging .draggable-arc{cursor:grabbing}.dial-conflicts,.dial-center,.dial-marker,.minor-ticks{pointer-events:none}.dial-conflict-outer{stroke:#a73943;stroke-width:27px;stroke-dasharray:3 4;opacity:.8}.dial-conflict-inner{stroke:#a73943;stroke-width:15px;stroke-dasharray:3 4;opacity:.8}.minor-ticks{stroke:#b4c1b3;stroke-width:1px}.hour-tick{cursor:pointer}.hour-tick:focus-visible{outline:none}.tick-hit{fill:#0000}.hour-tick:hover .tick-hit,.hour-tick:focus-visible .tick-hit{fill:#e9eee3}.hour-tick:focus-visible .tick-hit{stroke:#5b7c67;stroke-width:1.3px}.hour-tick line{stroke:#7c9082;stroke-width:1.5px;stroke-linecap:round}.hour-major line{stroke:#4d6758;stroke-width:2.2px}.hour-selected line{stroke:#af621d;stroke-width:3.4px}.hour-tick text,.dial-time{font-family:var(--numbers);font-variant-numeric:tabular-nums}.hour-tick text{fill:#476053;font-size:15px;font-weight:600}.dial-marker circle:first-child{fill:#fffef9;stroke:#1d352a;stroke-width:1.35px}.marker-eating{fill:#ba6920}.marker-fasting{fill:#345640}.phase-eating,.phase-preSleep{--phase-ink:#774313;--phase-bg:#fae9cf}.phase-fasting,.phase-unset{--phase-ink:#31533e;--phase-bg:#e8eee3}.phase-sleeping{--phase-ink:#41577f;--phase-bg:#e8ecf8}.dial-mode-back{fill:var(--phase-bg)}.dial-mode-icon{fill:none;stroke:var(--phase-ink);stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round}.dial-time{fill:var(--ink);letter-spacing:-.025em;font-size:52px;font-weight:650}.dial-phase{fill:var(--phase-ink);letter-spacing:.12em;font-size:16px;font-weight:700}.view-time{background:#f4f6ef;border:1px solid #e8ebdf;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;display:flex}.view-time label{font-size:.84rem;font-weight:740}.view-time p{color:var(--muted);margin-top:1px;font-size:.72rem}.settings-card>.card-heading{margin-bottom:19px}.settings-group{border:0;min-inline-size:0;margin:0;padding:0}.settings-group+.settings-group{border-top:1px solid var(--line);margin-top:15px;padding-top:15px}.settings-group legend,.settings-group h3{padding:0;font-size:.91rem;font-weight:750}.settings-group h3,.fasting-summary strong{align-items:center;gap:7px;display:flex}.plan-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.plan-option{cursor:pointer}.pre-sleep-setting{margin-top:14px}.pre-sleep-options{grid-template-columns:repeat(4,minmax(0,1fr))}.plan-option span{border:1px solid var(--line);color:#465b4d;min-height:44px;font:650 clamp(.81rem, 2.3vw, 1rem)/1 var(--numbers);font-variant-numeric:tabular-nums;background:#f8f9f3;border-radius:8px;place-items:center;padding:2px;display:grid}.plan-option:hover span{background:#edf1e8}.plan-option input:checked+span{color:#fffef5;background:#345641;border-color:#345641}.plan-option input:focus-visible+span{outline-offset:3px;outline:2px solid #48725b}.time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.time-field{align-content:start;gap:3px;display:grid}.time-field>span{color:var(--muted);font-size:.77rem}.time-field small{color:#516587;margin-left:2px;font-size:.69rem}.time-input,.derived-time{width:100%;min-width:0;height:43px;font:650 .87rem/1.2 var(--numbers), "Microsoft YaHei", sans-serif;font-variant-numeric:tabular-nums;color:#263d30;background:#fffefa;border:1px solid #d7ded2;border-radius:8px;align-items:center;padding:0 7px 0 10px;display:flex}.derived-time{color:#465c4e;background:#f3f5ee}.view-time input{flex:0 0 109px;width:109px;height:40px}.field-note,.field-error{color:var(--muted);font-size:.74rem;line-height:1.5}.field-note{align-items:center;gap:4px;display:flex}.plan-group .field-note{margin-top:2px}.meal-group .field-note,.sleep-group .field-note,.field-error{margin-top:6px}.field-note svg{stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 15px;width:15px;height:15px}.field-error{color:var(--alert)}.sleep-heading{justify-content:space-between;align-items:center;display:flex}.sleep-heading h3 label{cursor:pointer}.switch{cursor:pointer;padding:5px 0;display:block}.switch span{background:#dce1d6;border-radius:15px;width:38px;height:22px;padding:3px;display:block}.switch span:after{content:"";background:#fffefa;border-radius:50%;width:16px;height:16px;display:block}.switch input:checked+span{background:#3e624c}.switch input:checked+span:after{transform:translate(16px)}.switch input:focus-visible+span{outline-offset:3px;outline:2px solid #48725b}.fasting-summary{color:#36523f;font-variant-numeric:tabular-nums;background:#edf2e8;border-radius:9px;flex-wrap:wrap;justify-content:space-between;gap:3px 12px;margin-top:12px;padding:9px 11px;font-size:.82rem;display:flex}.fasting-summary span{font-weight:650}.conflict{color:#8b3439;background:#f9e9e6;border:1px solid #f0cfcb;border-radius:9px;margin-top:8px;padding:8px 10px;font-size:.79rem}.conflict p+p{margin-top:3px}.conflict strong{font-variant-numeric:tabular-nums;display:block}.fix-button{min-height:36px;color:inherit;text-underline-offset:3px;background:0 0;border:0;border-radius:4px;padding:0;font-size:.8rem;font-weight:750;text-decoration:underline}.guide{margin-top:14px;padding:16px}.guide-header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:7px 12px;display:flex}.guide-header p{color:var(--muted);margin-top:3px;font-size:.83rem}.guide-time{white-space:nowrap;color:var(--phase-ink);background:var(--phase-bg);font-variant-numeric:tabular-nums;border-radius:6px;padding:4px 9px;font-size:.77rem;font-weight:700}.food-layout{gap:16px;margin-top:15px;display:grid}.sample-plate{background:#faf5eb;border:1px solid #eee6d8;border-radius:14px;flex-wrap:wrap;justify-content:start;align-items:center;gap:10px 16px;padding:12px;display:flex}.plate-art{aspect-ratio:1;background:conic-gradient(from 90deg, #e9ddc1 0 24%, #fffefa 24% 25%, #e9e3cc 25% 49%, #fffefa 49% 50%, #e0e9ce 50% 99%, #fffefa 99% 100%);border:5px solid #fffefa;border-radius:50%;outline:1px solid #ded4c0;flex:0 0 103px;width:103px;position:relative}.plate-art svg{width:34%;height:auto;position:absolute}.plate-grain{top:55%;left:10%}.plate-protein{top:55%;right:10%}.plate-vegetables{top:13%;left:10%}.plate-fruit{top:13%;right:10%}.plate-caption{flex:122px}.plate-caption h3,.food-group h3{font-size:.84rem}.plate-caption p{color:var(--muted);margin-top:3px;font-size:.76rem}.text-button{text-align:left;color:#385844;background:0 0;border:0;align-items:center;gap:5px;min-height:44px;padding:0;font-size:.77rem;font-weight:720;display:inline-flex}.text-button svg{stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.text-button:hover{text-underline-offset:3px;text-decoration:underline}.food-choices{gap:8px;display:grid}.food-group{gap:5px;display:grid}.food-group h3{color:#425747}.food-options{flex-wrap:wrap;gap:4px;display:flex}.food-button{border:1px solid var(--line);color:#465b4d;white-space:nowrap;background:#fffefa;border-radius:8px;align-items:center;gap:3px;min-height:44px;padding:3px 6px;font-size:.73rem;display:inline-flex}.food-button svg{width:29px;height:29px}.food-button[aria-pressed=true],.food-button:hover{background:#eff4e8;border-color:#a9bba7}.food-button[aria-pressed=true]{font-weight:730}.guide-source{margin-top:12px;font-size:.79rem;display:inline-block}.drink-options{flex-wrap:wrap;gap:6px;margin-block:12px;padding:0;list-style:none;display:flex}.drink-options li{border:1px solid var(--line);background:#f6f7f0;border-radius:10px;align-items:center;gap:5px;padding:5px 8px;font-size:.84rem;display:flex}.drink-options svg{width:34px;height:34px}.guide-note{color:var(--muted);font-size:.79rem}.sleep-guide{color:#41577f;font-variant-numeric:tabular-nums;align-items:center;gap:12px;margin-top:14px;display:flex}.sleep-guide svg{width:46px;height:46px}.references{color:var(--muted);border-top:1px solid #dce3d7;margin-top:25px;padding-block:18px 24px;font-size:.79rem}.references h2{color:var(--ink);margin-bottom:4px;font-size:.93rem}.references ul{flex-wrap:wrap;gap:5px 16px;margin:6px 0 0;padding:0;list-style:none;display:flex}@media (width>=740px){.page{width:min(1100px,100% - 64px)}.schedule-layout{grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);align-items:stretch;gap:18px}.clock-card,.settings-card,.guide{padding:21px}.clock-card{flex-direction:column;justify-content:space-between;display:flex}.clock-legend{gap:13px}.clock-face{margin-bottom:16px}.settings-card>.card-heading{margin-bottom:19px}.settings-group+.settings-group{margin-top:18px;padding-top:18px}.time-grid{gap:10px}.fasting-summary{margin-top:17px}.guide{margin-top:18px}.food-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.food-group{grid-template-columns:105px 1fr;align-items:center;gap:3px}}@media (width>=940px){.clock-card,.settings-card,.guide{padding:22px 25px}.plan-options{gap:8px}.sample-plate{justify-content:center;padding:13px 16px}.plate-art{flex-basis:126px;width:126px}.food-options{gap:6px}.food-button{padding-inline:8px}}.plan-bar{border-radius:15px;grid-template-columns:minmax(0,1fr);align-items:end;gap:9px 18px;margin-bottom:14px;padding:13px 16px;display:grid}.plan-picker{gap:4px;min-width:0;display:grid}.plan-picker label{color:var(--muted);font-size:.78rem;font-weight:700}select,input[type=text]:not(.time-input){width:100%;min-width:0;min-height:43px;font:inherit;color:var(--ink);background:var(--paper);border:1px solid #d7ded2;border-radius:8px;padding:7px 10px}input[type=text][aria-invalid=true]{border-color:#bd5656}.plan-actions,.meal-presets,.dialog-actions{flex-wrap:wrap;gap:6px;display:flex}.primary-button,.outline-button{background:var(--paper);color:#3c5847;border:1px solid #d7ded2;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:43px;padding:6px 11px;font-size:.82rem;font-weight:700;display:inline-flex}.outline-button:not(:disabled):hover{background:#f0f3ea}.primary-button{color:#fffefa;background:#345641;border-color:#345641}.primary-button:not(:disabled):hover{background:#254633;border-color:#254633}:is(.primary-button,.outline-button):disabled{color:#68756b;cursor:not-allowed;background:#f0f2ea;border-color:#e1e6db}.pdf-button svg{stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;width:16px;height:16px}.plan-status{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:0 8px;font-size:.77rem;display:flex}.plan-status .text-button{min-height:32px;text-decoration:underline}.danger-text{color:var(--alert)}.danger-button{background:#a53538;border-color:#a53538}.danger-button:not(:disabled):hover{background:#862b2e;border-color:#862b2e}.add-meal{width:100%;margin-top:7px}.drinks-link{text-underline-offset:3px;flex-basis:100%;min-height:35px;text-decoration:underline}.meal-marker{cursor:pointer;color:#576445}.meal-marker circle{fill:#fffdf3;stroke:currentColor;stroke-width:1.65px}.meal-marker path{fill:none;stroke:currentColor;stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round}.meal-marker text{fill:currentColor;font:700 12px var(--numbers)}.meal-marker-active,.meal-marker:hover{color:#8f4b14}.meal-marker-active circle,.meal-marker:hover circle{fill:#ffead0;stroke-width:2.25px}.meal-marker-conflict{color:var(--alert)}.meal-marker-conflict circle{fill:#fceae5}.meal-marker:focus-visible{outline:none}.meal-marker:focus-visible circle{stroke-width:3.4px}.meal-list{gap:5px;margin:12px 0 0;padding:0;list-style:none;display:grid}.meal-row{border:1px solid var(--line);background:#fbfbf5;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;display:grid}.selected-meal-row{background:#f0f4e8;border-color:#a6b7a2}.meal-row-conflict{background:#fcf0ec;border-color:#ebc7bc}.meal-pick{text-align:left;background:0 0;border:0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:2px 13px;min-width:0;min-height:43px;padding:6px 10px;font-size:.86rem;display:flex}.meal-pick:hover strong{text-underline-offset:3px;text-decoration:underline}.meal-pick strong{overflow-wrap:anywhere}.meal-time{color:#42594a;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:4.9em}.meal-warning{color:var(--alert);font-size:.74rem}.meal-delete{color:var(--alert);border-radius:7px;padding-inline:11px}.undo-meal{background:var(--green-soft);color:var(--muted);overflow-wrap:anywhere;border-radius:9px;align-items:center;gap:10px;margin-top:8px;padding:0 10px;font-size:.8rem;display:flex}.undo-meal button{flex:none;text-decoration:underline}.meal-editor{grid-template-columns:minmax(0,2fr) minmax(107px,1fr);gap:8px;margin-top:12px;display:grid}.action-dialog{background:var(--paper);width:min(450px,100% - 24px);max-height:calc(100% - 24px);color:var(--ink);border:1px solid #dce3d6;border-radius:17px;padding:clamp(14px,4vw,22px);box-shadow:0 13px 45px #20342633}.action-dialog::backdrop{background:#20342666}.dialog-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.dialog-heading h2{font-size:1.14rem}.close-dialog{background:var(--green-soft);border:0;border-radius:8px;place-items:center;width:37px;height:37px;font-size:1.4rem;line-height:1;display:grid}.dialog-form{gap:10px;display:grid}.dialog-form .field-error{margin:0}.dialog-actions{justify-content:end;margin-top:7px}.dialog-copy{overflow-wrap:anywhere;font-size:.91rem}.print-plan{display:none}@media (width>=740px){.plan-bar{grid-template-columns:minmax(160px,1fr) auto;margin-bottom:18px;padding:13px 20px}.plan-status{grid-column:1/-1}}@page{size:A4 portrait;margin:14mm 15mm}@media print{:root{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff}body{min-width:0;font-size:10pt}body>:not(#app),#app>:not(.print-plan){display:none!important}.print-plan{color:var(--ink);display:block}.print-header{border-bottom:.5mm solid var(--green);break-inside:avoid;overflow-wrap:anywhere;gap:2mm;padding-bottom:4mm;display:grid}.print-header p{color:var(--muted)}.print-header h1{font-size:25pt;line-height:1.22}.print-schedule{break-inside:avoid;grid-template-columns:74mm minmax(0,1fr);align-items:center;gap:8mm;padding-block:3mm 5mm;display:grid}.print-schedule .clock-face{width:100%;margin:0}.print-intervals{gap:4mm;margin:0;display:grid}.print-intervals div{border-bottom:.3mm solid var(--line);padding-bottom:2mm}.print-intervals dt{font-weight:700}.print-intervals i{border-radius:50%;width:2mm;height:2mm;margin-right:2mm;display:inline-block}.print-intervals dd{font-variant-numeric:tabular-nums;margin:0;font-size:14pt}.print-header h1,.print-meals td{overflow-wrap:anywhere}.print-meals h2,.print-drinks h2{break-after:avoid;margin-bottom:2mm;font-size:14pt}.print-empty{color:var(--muted);background:#f1f3eb;padding:3mm}.print-meals table{border-collapse:collapse;width:100%}.print-meals thead{display:table-header-group}.print-meals tr{break-inside:avoid}.print-meals :is(td,th){text-align:left;border-bottom:.3mm solid var(--line);padding:2mm}.print-meals :is(td,th):first-child{white-space:nowrap;width:24mm}.print-meals :is(td,th):nth-child(2){overflow-wrap:anywhere;max-width:40mm}.print-meals :is(td,th):nth-child(3){width:100mm}.print-meals th{background:#eff3e9}.print-foods{flex-wrap:wrap;gap:.5mm 3mm;display:flex}.print-foods span{white-space:nowrap;align-items:center;gap:1mm;display:inline-flex}.print-foods svg{width:7mm;height:7mm}.print-drinks{break-inside:avoid;padding-top:5mm}}
