:root{color-scheme:light;--ink:#202534;--muted:#596374;--accent:#4845c4;--accent-deep:#36349b;--soft:#f0f0fe;--paper:#fff;--ground:#f8f9fc;--line:#e0e4ec;--line-dark:#aeb7c7;--danger:#9d334a;--radius:15px;font-family:Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,system-ui,sans-serif;font-size:100%;line-height:1.55;color:var(--ink);background:var(--ground);font-synthesis:none;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:var(--accent);text-underline-offset:.2em}:focus-visible{outline:3px solid #5953d4;outline-offset:3px}[hidden]{display:none!important}img,svg{max-width:100%}h1,h2,h3,h4,p{margin:0;overflow-wrap:anywhere}button,h1,h2,h3,h4,label,summary{word-break:keep-all}h1{font-size:clamp(1.75rem,3.6vw,2.65rem);font-weight:740;line-height:1.25;letter-spacing:-.057em}h2{font-size:clamp(1.2rem,2.5vw,1.5rem);font-weight:720;letter-spacing:-.041em}h2,h3{line-height:1.4}h3{font-size:1.08rem;letter-spacing:-.03em}.hint,.muted,small{color:var(--muted)}.hint,small{font-size:1rem}.primary,.secondary,button{display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-width:48px;min-height:48px;padding:.52rem .95rem;border:1px solid #ccd2df;border-radius:.62rem;background:var(--paper);color:#384156;font-weight:630;text-decoration:none;line-height:1.35;cursor:pointer}button:disabled{opacity:.55;cursor:default}.primary,button[type=submit]{background:var(--accent);border-color:var(--accent);color:white}button[aria-pressed=true]{color:var(--accent-deep);border-color:#b8b7ec;background:var(--soft)}@media (hover:hover){.secondary:hover,button:not(:disabled):hover{border-color:#9b9dc8;background:#f7f7fe}.primary:hover,button[type=submit]:not(:disabled):hover{background:var(--accent-deep);border-color:var(--accent-deep);color:white}}.shell{min-height:100vh;min-height:100dvh}.topbar{display:flex;justify-content:space-between;gap:.8rem;min-height:62px;padding:.65rem max(1.3rem,calc((100% - 900px) / 2));background:white;border-bottom:1px solid var(--line)}.brand,.topbar{align-items:center}.brand{display:inline-flex;gap:.55rem;color:var(--ink);font-size:1.32rem;font-weight:760;letter-spacing:-.065em}.brand img,.brand-icon{width:32px;height:32px;border-radius:10px}.status,.tag{display:inline-block;border-radius:30px;padding:.2rem .7rem;color:#4c5668;background:#f2f4f8;font-size:1rem;font-weight:600}.brand{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:720;font-size:1.42rem;letter-spacing:-.055em}.content{width:min(100%,940px);margin:auto;padding:1.6rem 1.25rem 4rem}.content>*+*,.stack>*+*{margin-top:1.1rem}.card{min-width:0;padding:clamp(1.05rem,2.5vw,1.55rem);border:1px solid var(--line);border-radius:var(--radius);background:white}.card>p,.welcome p,details p{color:var(--muted)}.card-head,.member-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}.card-head{margin-bottom:1rem}.view-nav{display:flex;gap:.22rem;align-items:stretch;min-width:0;padding:4px;background:#eceff5;border-radius:.8rem}.view-nav button{flex:1 1;border:0;background:transparent;color:var(--muted);border-radius:.57rem}.view-nav button[aria-pressed=true]{background:white;color:var(--accent-deep);box-shadow:0 1px 3px #2622491b}.actions,.hero-date,.member-tabs,.row,.task small{display:flex;align-items:center;gap:.5rem}.actions,.member-tabs,.row{flex-wrap:wrap}.member-tabs button{border-radius:3rem;padding-inline:1rem;min-height:48px}.welcome{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem;width:min(100%,31rem);margin:clamp(1rem,4.5vh,3.5rem) auto}.welcome>.card{padding:clamp(1.25rem,4vw,2rem)}.welcome>.card h1{font-size:clamp(1.65rem,3.1vw,2.1rem)}.welcome-intro{display:grid;gap:.8rem;max-width:28rem}.welcome-intro img{width:55px;height:55px;border-radius:15px}.welcome-intro h1{white-space:pre-line}.welcome .form button[type=submit]{margin-top:.25rem}.day-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem .12rem .2rem}.day-hero h1{margin-block:.2rem}.day-hero p,.hero-date{color:var(--muted);font-size:1rem}.agenda strong,.metric-value,.number,.progress-number,input[type=number]{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.progress-number{font-size:clamp(1.55rem,3vw,2.2rem);font-weight:680;letter-spacing:-.035em;color:var(--accent);white-space:nowrap}.progress-number span{font-size:.98rem;color:var(--muted)}.family-overview{min-width:0}.family-overview>*+*{margin-top:1rem}.member-heading small,.metric-label{font-size:1rem;color:var(--muted);font-weight:600}.period-select{display:inline-flex;align-items:center;gap:.5rem;max-width:100%;color:var(--muted)}.period-select select,select.period-select{min-width:5.5rem}.checks,.metric-grid,.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.metric-panel{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:white;padding:clamp(.95rem,2vw,1.3rem)}.metric-panel>*+*{margin-top:.45rem}.metric-panel h3{color:var(--ink);font-size:1rem}.metric-value{color:var(--ink);font-size:clamp(1.65rem,3vw,2.25rem);font-weight:680;line-height:1.2;letter-spacing:-.04em}.metric-value small,.metric-value span{color:var(--muted);font-size:1rem;font-weight:550;letter-spacing:0}.trend-points{width:100%;min-width:0}.card .metric-panel{background:#fafbfe}.task-list{list-style:none;padding:0;margin-bottom:0}.task{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.86rem 0;border-top:1px solid var(--line)}.task:last-child{padding-bottom:0}.task-info>div,.task>:first-child{min-width:0}.task-info{display:flex;align-items:center;gap:.7rem}.glyph{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:.78rem;color:#5258a5;background:#f0f0fa}.glyph.pressure{color:#985675;background:#faeff3}.glyph.glucose{color:#417196;background:#ebf3f9}.glyph.supplement{color:#87652f;background:#f7f2e7}.task small{gap:.25rem;font-size:1rem}.task button{flex-shrink:0;white-space:nowrap}.agenda{display:flex;align-items:baseline;gap:1rem;padding-top:.75rem;border-top:1px solid var(--line)}.agenda strong{color:var(--accent-deep)}.agenda small{display:block}.field,.form{display:grid}.form{gap:1rem}.field,.form>label:has(>input:not([type=checkbox])),.form>label:has(>select),.schedule label{display:grid;gap:.36rem}label,legend,summary{font-weight:620}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{width:100%;min-width:0;min-height:48px;padding:.59rem .75rem;color:var(--ink);background-color:white;border:1px solid var(--line-dark);border-radius:.62rem;line-height:1.44;font-weight:450}input::placeholder,textarea::placeholder{color:#737c8b}input[inputmode=numeric],input[type=number]{font-size:1.18rem}input[type=checkbox],input[type=radio],progress{accent-color:var(--accent)}input[type=checkbox],input[type=radio]{width:1.08rem;height:1.08rem;vertical-align:-.18rem}input[aria-invalid=true]{border-color:var(--danger)}select{appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23576078' stroke-width='1.6'/%3E%3C/svg%3E");background-position:right .75rem center;background-repeat:no-repeat}.period-select select,select.period-select{width:auto}.checks label{border:1px solid var(--line);border-radius:.62rem;padding:.65rem;background:#fafbfe}.checks label:has(input:checked){border-color:#cfcef1;color:var(--accent-deep);background:#f4f3ff}.schedule{display:flex;align-items:end;gap:.6rem}.schedule label{flex:1 1;min-width:0}details{border-top:1px solid var(--line);padding-top:.3rem}details summary{cursor:pointer;padding:.6rem 0}details>button{margin:.2rem .2rem .2rem 0}details[open]>summary{margin-bottom:.3rem}.error,.notice{border-radius:.72rem;padding:.75rem .85rem}.notice{color:#47516c;background:#f0f2f8}.error{color:var(--danger);background:#fdf0f2}.error button{margin-left:.5rem}.chart{width:100%;min-width:0}.recharts-cartesian-grid-horizontal line{stroke:#e2e6ef}.recharts-cartesian-axis-tick text{fill:var(--muted);font-size:14px}.chart [stroke="#126451"]{stroke:var(--accent)}.chart [fill="#126451"]{fill:var(--accent)}.chart [stroke="#a85b35"]{stroke:#986080}.chart [fill="#a85b35"]{fill:#986080}@media (max-width:650px){.content{padding:.85rem .9rem calc(1.6rem + env(safe-area-inset-bottom, 0px))}.topbar{min-height:54px;padding:.48rem .9rem}.content>*+*,.stack>*+*{margin-top:.8rem}.welcome{width:min(100%,430px);grid-template-columns:1fr;gap:1rem;margin:.8rem auto}.welcome-intro{gap:.45rem}.welcome-intro img{width:40px;height:40px}.welcome-intro h1{white-space:normal}.metric-grid{grid-template-columns:minmax(0,1fr);gap:.65rem}.view-nav{gap:.1rem}.view-nav button{padding:.48rem .22rem;gap:.28rem}.member-tabs{gap:.35rem}.member-tabs button{padding:.45rem .7rem}.card{padding:1rem}.task{gap:.4rem}.task button{padding:.42rem .64rem}.task-info{gap:.55rem}.glyph{width:34px;height:34px;flex-basis:34px}.schedule{gap:.5rem}.checks,.pair{gap:.55rem}}@media (max-width:350px){.content{padding-inline:.6rem}.view-nav svg{width:15px}.pair{grid-template-columns:1fr}.task{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}.metric-label{flex-wrap:wrap;gap:.5rem}.metric-label select{max-width:100%;padding-right:2.2rem}select.period-select{padding-right:2.2rem}details>summary{min-height:48px}details.card:not([open]){padding-block:.4rem}.metric-label{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.metric-label select{width:auto;min-width:6rem}.metric-value small{font-size:1rem}.card>summary,.metric-panel summary{min-height:48px;align-content:center}.welcome>.card{width:min(100%,28rem);margin-inline:auto}.check-header{margin:1.25rem 0 1rem}.check-header p{color:var(--muted);margin-bottom:.35rem}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.check-control{position:relative;min-width:0}.check-tile{width:100%;height:100%;min-height:160px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.45rem;padding:1.15rem 1.35rem;border:1px solid #b8bfd1;border-radius:16px;color:#20263b;background:#fff;text-align:left}.check-tile strong{font-size:clamp(1.4rem,3.8vw,1.85rem);line-height:1.25;letter-spacing:-.035em}.tile-top{width:100%;justify-content:space-between;font-size:1rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#51586b}.tile-state,.tile-top{display:flex;align-items:center}.tile-state{gap:.25rem;font-size:1.05rem;line-height:1.35;color:#454b60}.check-tile.is-done{background:#f6f6fc;border-color:#d0cfe5}.check-tile:disabled{opacity:1}.check-control:has(.undo-check) .check-tile{padding-bottom:3rem}.undo-check{position:absolute;bottom:.25rem;right:.55rem;min-height:44px;padding:.35rem .65rem;border:0;background:transparent;text-decoration:underline;font-size:1rem}.check-feedback:empty{display:none}.check-feedback{margin-top:.75rem}.stamp-edit summary{min-height:48px;align-content:center}.editor input[type=number]{font-size:1.5rem;min-height:58px}@media (max-width:540px){.check-grid{gap:.65rem}.check-tile{min-height:154px;padding:.85rem}.check-tile .glyph{width:34px;height:34px}.tile-state{font-size:1rem}.view-nav button{min-height:50px}}@media (max-width:330px){.check-grid{grid-template-columns:1fr}}