:root{--bg: #f7f6f0;--paper: #fff;--ink: #233e36;--muted: #747c70;--green: #34755b;--light: #eaf0e5;--line: #e6e8df;--orange: #c48251;--red: #af514a;font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:none}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #95b69c;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1{font-size:30px;line-height:1.35;letter-spacing:-1.3px;font-weight:700}h2{font-size:18px;line-height:1.45;letter-spacing:-.5px}small{color:var(--muted);font-size:12px;line-height:1.5}.app-shell{min-height:100dvh}.page{width:100%;max-width:680px;margin:auto;padding:calc(22px + env(safe-area-inset-top)) 24px calc(118px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:22px}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:7px;align-items:center;font-size:17px;font-weight:800;letter-spacing:-.6px}.brand app-icon{width:19px;height:19px;color:var(--green)}.eyebrow{color:var(--muted);font-size:10px;letter-spacing:1.7px}.heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.heading p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:7px}.sun{width:52px;height:52px;border-radius:20px;background:#f0ebdd;display:grid;place-items:center;color:var(--orange);flex-shrink:0}.sun app-icon{width:28px;height:28px}.card{border:1px solid var(--line);background:var(--paper);border-radius:24px;padding:22px}.btn{min-height:52px;padding:14px 18px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;font-size:15px;font-weight:700;text-align:center}.btn app-icon{width:19px;height:19px}.btn:hover:not(:disabled){filter:brightness(.96)}.btn.secondary{color:var(--green);background:var(--light)}.btn.danger{background:#faefeb;color:var(--red)}.full{width:100%}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chips{display:flex;flex-wrap:wrap;gap:9px}.chip{border-radius:12px;padding:11px 15px;background:#fff;border:1px solid var(--line);font-size:14px;color:var(--muted);font-weight:600;white-space:nowrap}.chip.selected{background:var(--ink);border-color:var(--ink);color:#fff}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-title a{font-size:12px;color:var(--muted)}.section-title small{font-size:11px}.mini{display:flex;flex-direction:column;gap:7px;padding:17px}.mini app-icon{width:18px;height:18px}.mini strong{font-size:24px;letter-spacing:-.5px}.mini strong span{font-size:13px;font-weight:400;color:var(--muted)}.mini strong.mini-duration{font-size:18px;line-height:1.8}.green{color:var(--green)}.orange{color:var(--orange)}.timer-card{background:#fdfef9;display:flex;flex-direction:column;align-items:center;gap:17px;padding-top:20px;padding-bottom:20px}.status-pill{display:flex;align-items:center;gap:7px;color:var(--green);font-size:12px;font-weight:600;padding:7px 12px;border-radius:20px;background:var(--light)}.status-pill i{width:6px;height:6px;border-radius:50%;background:var(--green)}.ring{width:256px;height:256px;position:relative;max-width:100%}.ring>svg{position:absolute;inset:0;width:100%;height:100%}.ring circle{fill:none;stroke-width:10}.ring-track{stroke:#e8edde}.ring-progress{stroke:var(--green);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset 1s linear}.ring-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px}.ring-content app-icon{color:var(--green);width:25px;height:25px}.timer{font-size:34px;letter-spacing:-1.1px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}.goal-pill{font-size:12px;color:var(--green);background:#edf2e7;padding:6px 12px;border-radius:12px}.remaining{color:var(--muted);font-size:12px;line-height:1.7;text-align:center}.gentle{font-size:11px;text-align:center}.timer-times{border-top:1px solid var(--line);padding:13px 8px 0;width:100%;display:flex;align-items:center;justify-content:space-between}.timer-times>div{display:flex;flex-direction:column;gap:5px}.timer-times>div:last-child{text-align:right}.timer-times strong{font-size:17px;font-weight:600}.timer-times>span{color:#adb7a5}.badge{display:inline-grid;place-items:center;width:50px;height:50px;flex-shrink:0;border-radius:18px;background:var(--light);color:var(--green)}.badge.meal{background:#f5eee3;color:var(--orange)}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 0;gap:9px}.empty strong{font-size:15px;font-weight:600}.empty p{font-size:13px;line-height:1.6;color:var(--muted)}.record-list{padding-top:5px;padding-bottom:5px}.record-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 0}.record-row>.badge{width:43px;height:43px}.record-row>.badge app-icon{width:20px;height:20px}.record-row>app-icon{width:15px;height:15px;color:#a9b0a3}.row-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.row-copy strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}.row-copy small{font-size:12px;overflow-wrap:anywhere}.record-row time{color:var(--muted);font-size:13px;white-space:nowrap}.record-list app-meal-row,.record-list app-fast-row{display:block}.record-list app-meal-row+app-meal-row,.record-list app-fast-row+app-fast-row,.record-list app-meal-row+app-fast-row,.record-list app-fast-row+app-meal-row{border-top:1px solid var(--line)}.calendar-card{padding:16px;display:flex;flex-direction:column;gap:20px}.calendar-heading{display:flex;align-items:center;justify-content:space-between}.icon-button{border-radius:50%;width:42px;height:42px;display:inline-grid;place-items:center;flex-shrink:0}.icon-button:hover{background:var(--light)}.month-button{display:flex;align-items:center;gap:8px;padding:9px 4px;font-size:18px;font-weight:700}.month-button app-icon{width:18px;height:18px}.week-strip{display:grid;grid-template-columns:repeat(7,1fr)}.day-cell{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 2px;border-radius:20px;min-height:88px}.day-cell.selected,.month-day.selected{background:var(--green);color:#fff}.day-cell small{font-size:11px}.day-cell.selected small{color:#e0ebdc}.day-cell strong{font-size:17px;font-weight:600}.day-cell i{width:4px;height:4px;border-radius:50%;background:transparent}.day-cell i.marked{background:var(--green)}.day-cell.selected i.marked{background:#d8e8bd}.text-button{padding:8px;color:var(--green);font-size:12px}.today-button{align-self:center}.average{background:var(--ink);border-color:var(--ink);display:flex;flex-direction:column;gap:12px}.average p{font-size:13px;color:#c4d2c5}.average strong{font-size:34px;color:#fff;letter-spacing:-1px;line-height:1.3;font-weight:600}.average small{color:#b9d0bf;font-size:12px}.chart{display:flex;height:180px;gap:12px;align-items:flex-end;padding-top:25px}.chart.dense{gap:3px}.bar-column{height:100%;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px}.bar-column small{font-size:10px;min-height:15px}.bar{width:100%;min-height:4px;background:#b9ccac;border-radius:5px}.bar.last{background:var(--green)}.bar.zero{background:#ecf0e7}.hint{font-size:12px;color:var(--muted);line-height:1.75}.chart+.hint{font-size:11px;margin-top:17px}.meal-slots{display:flex;flex-direction:column;gap:20px}.slot-track{height:5px;border-radius:3px;background:var(--light);margin-top:9px}.slot-track>div{height:5px;border-radius:3px;background:#c5a785}.setting-card{display:flex;flex-direction:column;gap:18px}.setting-heading{display:flex;align-items:center;gap:12px}.setting-heading>div{min-width:0;overflow-wrap:anywhere}.setting-heading h2{font-size:17px}.setting-heading p{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.6}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.switch-row span{display:flex;flex-direction:column;gap:6px}.switch-row strong{font-size:13px;font-weight:600}.switch-row input{appearance:none;-webkit-appearance:none;width:44px;height:26px;border-radius:18px;background:#d9ddd4;position:relative;flex-shrink:0;cursor:pointer;padding:0;min-height:0}.switch-row input:checked{background:var(--green)}.switch-row input:before{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .15s}.switch-row input:checked:before{transform:translate(18px)}.gentle-card{background:#eff2e8;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.gentle-card app-icon{color:var(--green)}.gentle-card h2{font-size:17px}.gentle-card p{font-size:13px;color:var(--muted);line-height:1.8}.version{text-align:center;color:var(--muted);font-size:12px}.app-icon{border-radius:14px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;max-width:680px;margin:auto;display:flex;align-items:center;justify-content:space-around;background:#fdfdf9f5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}.bottom-nav>a{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:11px;padding:6px 24px;border-radius:16px}.bottom-nav>a.active{color:var(--green);background:var(--light);font-weight:700}.bottom-nav app-icon{width:22px;height:22px}footer{text-align:center;font-size:11px;color:#858d7f;margin-top:12px}.loading{display:flex;min-height:80dvh;justify-content:center;align-items:center;flex-direction:column;gap:20px;padding:30px;text-align:center}.loading h1{font-size:22px}.loading app-icon{width:38px;height:38px;color:var(--green)}.loading p{font-size:14px;color:var(--muted)}.toast{position:fixed;z-index:7;top:calc(12px + env(safe-area-inset-top));left:16px;right:16px;max-width:620px;margin:auto;padding:12px 14px;border-radius:16px;background:var(--light);box-shadow:0 4px 24px #233e3618;display:flex;align-items:center;gap:10px;color:var(--green);font-size:13px;line-height:1.6}.toast span{flex:1}.toast .icon-button{width:30px;height:30px}.connection-banner,.update-banner{background:var(--light);padding:10px 20px;text-align:center;font-size:12px;color:var(--green)}.error{color:var(--red);background:#faefeb;border-radius:12px;padding:13px;font-size:14px;line-height:1.5}.light{padding:14px;border-radius:13px;background:var(--light)}.danger-text{color:var(--red)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}dialog.sheet{color:var(--ink);border:0;background:var(--bg);padding:0;width:100%;max-width:680px;max-height:92dvh;border-radius:30px 30px 0 0;margin:auto auto 0;overflow-y:auto;overscroll-behavior:contain}dialog.sheet::backdrop{background:#142c3555;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}body:has(dialog[open]){overflow:hidden}.sheet-body{padding:12px 24px calc(30px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:22px}.sheet-handle{height:4px;width:38px;background:#d6dcd2;border-radius:2px;margin:auto}.sheet-heading h2{font-size:23px;letter-spacing:-.8px}.sheet-heading .icon-button{background:var(--light)}.editor-form{display:flex;flex-direction:column;gap:20px}.editor-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.editor-form input:not([type=checkbox]),.editor-form textarea{min-height:50px;border:1px solid var(--line);background:#fafbf7;color:var(--ink);padding:15px;border-radius:13px;font-size:15px;width:100%;min-width:0;max-width:100%}.editor-form textarea{min-height:90px;resize:vertical;font-weight:400;line-height:1.5}.editor-form input::placeholder,.editor-form textarea::placeholder{color:#92988f;font-weight:400}.editor-form fieldset{border:0;padding:0;margin:0;min-width:0}.editor-form legend{font-size:13px;font-weight:600;padding:0;margin-bottom:10px}.editor-form fieldset .hint{margin-top:10px}.editor-form label.switch-row{flex-direction:row;align-items:center}.duration-preview{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--green)}.delete-confirm{display:flex;flex-direction:column;gap:16px}.delete-confirm p{text-align:center;font-size:14px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.month-grid small{text-align:center;padding-bottom:8px}.month-day{height:44px;border-radius:14px;font-size:15px}.month-day:hover:not(.selected){background:var(--light)}@media(min-width:900px){.page{padding-top:40px}.bottom-nav{bottom:16px;border:1px solid var(--line);border-radius:24px;box-shadow:0 4px 30px #233e3608}.card{box-shadow:0 2px 10px #233e3602}dialog.sheet{margin:auto;border-radius:30px;max-height:88dvh;width:560px}.sheet-body{padding-bottom:30px}.sheet-handle{display:none}}@media(max-width:370px){.page{padding-left:18px;padding-right:18px}h1{font-size:27px}.eyebrow{font-size:9px;letter-spacing:1px}.bottom-nav>a{padding-left:20px;padding-right:20px}.card,.sheet-body{padding-left:18px;padding-right:18px}.chip{padding:10px 13px}.two-column .btn{padding-left:10px;padding-right:10px;font-size:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}@media(max-width:450px){.two-column .btn{padding-inline:10px;gap:6px;font-size:13px;white-space:nowrap}}@media(max-width:370px){.two-column .btn app-icon{display:none}}.weight-summary .section-title{margin-top:0}.weight-value{font-size:2rem;font-weight:700;margin:0;color:var(--ink)}.weight-value small{font-size:1rem;font-weight:400}.weight-chart{display:block;width:100%;height:140px;color:#34785e;margin:16px 0}.weight-history{list-style:none;margin:16px 0 0;padding:0;max-height:240px;overflow-y:auto}.weight-history li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e4e7df}.weight-history time{font-size:.85rem}
