:root{font-family:Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif;color:#382923;background:#fcf8f1;font-synthesis:none;--ink:#382923;--muted:#79675d;--accent:#a84b2c;--line:#eee4d8;--paper:#fffdf9;--peach:#fae5d7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #af532f;outline-offset:3px}button{touch-action:manipulation}h1,h2,h3,p,ul{margin:0}strong,small{display:block}small{color:var(--muted)}svg{flex-shrink:0}.top{background:#fffcf7;border-bottom:1px solid var(--line)}.top-inner{max-width:1120px;margin:auto;min-height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.wordmark{display:flex;gap:13px;align-items:center;text-align:left;border:0;padding:0;background:none}.wordmark b{font-family:Georgia,serif;font-size:21px;letter-spacing:.075em}.wordmark small{font-size:12px;letter-spacing:.045em;margin-top:3px}.brand-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:#a84b2c;color:#fff7ed;transform:rotate(-7deg)}.brand-icon svg{transform:rotate(7deg)}.keeper{border:1px solid var(--line);border-radius:40px;background:#fffefa;display:flex;align-items:center;gap:8px;padding:5px 11px 5px 5px;min-height:42px;font-size:13px}.keeper>span{background:#f8e2d1;color:#8a432b;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:750}.keeper svg{color:var(--muted)}main{max-width:1120px;margin:auto;padding:32px 28px 130px}.heading{margin-bottom:24px}.date-label{display:inline-flex;align-items:center;gap:7px;background:#f6ebe0;color:#855239;border-radius:50px;padding:6px 11px;font-size:13px;font-weight:700;margin-bottom:10px}.heading h1{font-family:Apple SD Gothic Neo,system-ui,sans-serif;font-size:clamp(30px,5vw,46px);letter-spacing:-.07em;line-height:1.2;font-weight:850}.heading p{margin-top:9px;font-size:16px;color:var(--muted);letter-spacing:-.025em}.profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.profile{border:1px solid #eee0d1;background:#fffcf7;border-radius:22px;display:flex;align-items:center;gap:15px;min-width:0;text-align:left;padding:13px 17px;min-height:97px}.profile.selected{background:#fbe9dc;border-color:#dc9d7d;box-shadow:0 2px #b75b3211}.profile:hover{border-color:#d79775}.portrait{width:64px;height:64px;display:block;object-fit:cover;flex:none;border-radius:18px;background:#ecd9c8}.portrait.photo{background-size:cover;background-position:center}.portrait.placeholder{display:grid;place-items:center;color:#a3583c}.profile-copy{flex:1;min-width:0}.profile-copy strong{font-size:21px;letter-spacing:-.04em;overflow-wrap:anywhere}.profile-copy small{font-size:13px;margin-top:5px;overflow-wrap:anywhere}.profile-check{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#967a66}.selected .profile-check{background:#a84b2c;color:#fff}.dashboard{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 4px 16px #52301206;min-width:0}.section-title{display:flex;align-items:center;gap:11px;margin-bottom:17px}.section-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#fae8db;color:#a84b2c;flex:none}.section-title h2{font-size:21px;letter-spacing:-.055em;overflow-wrap:anywhere}.section-title p{font-size:13px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.section-extra{margin-left:auto;flex-shrink:0}.actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.action{min-height:107px;padding:9px 3px;background:#fffcf7;border:1px solid #f0e7dc;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.action:hover{background:#fff2e6;border-color:#e8bca4}.action:active{transform:scale(.97)}.action strong{font-size:14px;letter-spacing:-.05em}.action small{font-size:12px}.kind-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;margin-bottom:2px}.blue{background:#e2eef3;color:#42738b}.gold{background:#faefcf;color:#84621a}.sand{background:#f2e8db;color:#7d5539}.peach{background:#f9e2d4;color:#a35032}.pink{background:#f7e4e8;color:#9b4d65}.mint{background:#e5eee3;color:#537554}.lilac{background:#eee7f4;color:#75568b}.counter{white-space:nowrap;font-size:13px;font-weight:750;background:#f8e6d9;color:#984b31;padding:7px 10px;border-radius:30px}.dose-group+.dose-group{margin-top:11px}.dose-group h3{display:flex;gap:6px;align-items:center;color:#805c42;font-size:13px;padding:7px 9px;border-radius:8px;background:#f9f0e5}.dose-group h3 span{font-variant-numeric:tabular-nums}.dose-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:53px;padding:5px 2px 5px 9px}.dose-row+.dose-row{border-top:1px solid #f3ebe2}.dose-row strong{font-size:15px;overflow-wrap:anywhere}.dose-row small{font-size:12px;margin-top:3px}.dose-row button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:72px;min-height:44px;border-radius:12px;border:1px solid #f0ccba;font-size:13px;font-weight:750}.dose-add{background:#fff2e8;color:#9d4b2e}.dose-done{background:#e8efe1;color:#466045;border-color:#dbe6d3!important}.recent{grid-column:1/-1}.local-note{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:13px;padding:3px}.text-button{background:none;border:0;color:#963e24;font-weight:750;font-size:13px;padding:8px 2px;min-height:44px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.text-button:hover{text-decoration:underline}.empty{min-height:76px;display:grid;place-content:center;justify-items:center;gap:7px;color:var(--muted);font-size:14px;text-align:center;padding:10px}.empty svg{color:#aa795e}.timeline,.plain-list{list-style:none;padding:0}.timeline li+li,.plain-list li+li{border-top:1px solid var(--line)}.timeline-row,.settings-row{border:0;background:none;display:flex;align-items:center;gap:11px;min-height:57px;width:100%;text-align:left;padding:7px 3px}.timeline-row:hover,.settings-row:hover{background:#fbf2e8;border-radius:12px}.mini{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none}.timeline-text,.settings-row>span:not(.mini):not(.portrait){flex:1;min-width:0}.timeline-row strong,.settings-row strong{font-size:15px}.timeline-row small,.settings-row small{font-size:13px;overflow-wrap:anywhere;margin-top:3px}.timeline-row time{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.timeline-row>svg,.settings-row>svg{color:var(--muted)}.settings-row .portrait{width:42px;height:42px;border-radius:12px}.settings-row+.settings-row{border-top:1px solid var(--line)}.bottom{position:fixed;z-index:2;bottom:0;left:0;right:0;border-top:1px solid #ebded0;background:#fffcf7f5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:5px 10px max(5px,env(safe-area-inset-bottom))}.bottom>div{max-width:550px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr)}.bottom button{background:none;border:0;min-height:61px;color:#756359;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-weight:700}.bottom button span{width:52px;height:31px;display:grid;place-items:center;border-radius:40px}.bottom button[aria-current]{color:#983e24}.bottom button[aria-current] span{background:#fae4d5}.toast{position:fixed;z-index:4;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translate(-50%);width:max-content;max-width:90vw;padding:11px 18px;background:#493125;color:#fff9f1;border-radius:14px;font-size:14px;box-shadow:0 5px 17px #4222}.stack{display:grid;gap:16px}.date-control{display:flex;gap:7px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.date-control button,.date-control input,.seg button{min-height:44px;background:#fbf1e6;border:1px solid var(--line);border-radius:10px;padding:5px 11px}.date-control button svg{vertical-align:middle}.date-control input{min-width:0;max-width:100%}.seg{display:flex;gap:3px}.seg button{font-size:13px;font-weight:700}.seg button[aria-pressed=true]{background:#a84b2c;color:#fff}.legend{display:flex;gap:14px;flex-wrap:wrap;margin:6px 0 14px;color:var(--muted);font-size:13px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:10px;height:10px;border-radius:3px}.chart{display:flex;gap:3px;height:155px;border-bottom:1px solid var(--line)}.chart-day{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;justify-content:end}.bars{flex:1;display:flex;gap:1px;align-items:end;justify-content:center;border-bottom:1px solid var(--line)}.bars i{width:27%;max-width:15px;border-radius:3px 3px 0 0}.water{background:#6098ac}.stool{background:#9c7958}.food{background:#e58c61}.chart-day small{height:18px;font-size:11px;text-align:center}.plain-list li{display:flex;justify-content:space-between;gap:10px;padding:11px 2px;font-size:14px;overflow-wrap:anywhere}.plain-list span{color:var(--muted);text-align:right}details{margin-top:14px;font-size:14px}summary{cursor:pointer;color:var(--accent);padding:7px 0}table{width:100%;border-collapse:collapse;margin-top:7px}th,td{padding:7px 4px;text-align:left;border-bottom:1px solid var(--line)}dialog{border:1px solid var(--line);color:var(--ink);background:var(--paper);padding:0;border-radius:23px;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 28px);box-shadow:0 22px 90px #321c2944}dialog::backdrop{background:#35231f70}.modal-body{padding:22px}.modal-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.modal-title h2{font-size:22px;letter-spacing:-.045em}.modal-title button{border:0;background:#f6eadf;width:44px;height:44px;border-radius:13px;display:grid;place-items:center}.form-buttons{display:flex;gap:9px}.form-buttons .primary{flex:1}form{display:grid;gap:13px}label{display:grid;gap:5px;font-size:14px;font-weight:700;min-width:0}label input,label select,label textarea{min-height:44px;min-width:0;width:100%;background:#fffdf7;border:1px solid #ead8c9;color:var(--ink);padding:8px 10px;border-radius:10px;font-size:16px}textarea{min-height:82px;resize:vertical}.primary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:12px;min-height:45px;font-weight:750;padding:8px 14px}.primary{background:#a84b2c;color:#fff}.primary:disabled{opacity:.55}.danger{background:#f9e5de;color:#923f2a}.wide{width:100%;margin-top:6px}.error{color:#a12c26;margin-top:8px}.form-note,.summary p{color:var(--muted);font-size:14px;margin:4px 0 8px}.summary-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.photo-input{grid-template-columns:auto 1fr;align-items:center;gap:9px}.photo-input span:not(.portrait){display:flex;align-items:center;gap:5px}.photo-input input{grid-column:1/-1}@media(max-width:730px){main{padding:24px 16px 110px}.top-inner{padding:0 16px;min-height:67px}.dashboard{grid-template-columns:minmax(0,1fr);gap:13px}.card{padding:16px;border-radius:20px}.profiles{gap:8px;margin-bottom:16px}.profile{min-height:77px;padding:9px;gap:8px;border-radius:17px}.profile .portrait{width:47px;height:47px;border-radius:13px}.profile-copy strong{font-size:18px}.profile-copy small{font-size:12px;margin-top:3px}.profile-check{width:20px;height:20px}.heading{margin-bottom:18px}.section-title{margin-bottom:12px;gap:8px}.section-title h2{font-size:19px}.section-icon{width:37px;height:37px;border-radius:12px}.actions{gap:6px}.action{min-height:92px;border-radius:13px}.kind-icon{width:36px;height:36px;border-radius:11px}.kind-icon svg{width:21px}.wordmark b{font-size:18px}.brand-icon{width:37px;height:37px;border-radius:12px}.wordmark{gap:9px}}@media(max-width:350px){.keeper strong{display:none}.action strong{font-size:12px}.action small{font-size:11px}.section-title h2{font-size:17px}.card{padding:12px}.profile-check{display:none}}@media print{body{background:#fff}#root>header,#root>main,#root>nav,.toast,.modal-title button,.summary-controls,.summary .primary{display:none!important}dialog[open]{position:static;overflow:visible;width:100%;max-width:none;max-height:none;border:0;box-shadow:none;margin:0}dialog::backdrop{background:#fff}.modal-body{padding:0}.plain-list li{break-inside:avoid}}.actions{grid-template-columns:repeat(3,minmax(0,1fr))}.quick .section-icon,.recent .section-icon,.supplements .section-icon{border-radius:50%;background:#f9e9dc}.action-tile{position:relative;min-width:0;border:1px solid #efe2d4;border-radius:18px;background:var(--tile,#fffaf4);isolation:isolate}.action-tile[data-tone=blue]{--tile:#f4f9fa}.action-tile[data-tone=gold]{--tile:#fff9e9}.action-tile[data-tone=sand]{--tile:#faf3eb}.action-tile[data-tone=peach]{--tile:#fff1e8}.action-tile[data-tone=mint]{--tile:#f3f7ee}.action-tile[data-tone=lilac]{--tile:#f7f2fa}.action-tile .action{width:100%;min-height:128px;justify-content:flex-start;padding:13px 4px 8px;gap:3px;border:0;background:transparent;border-radius:inherit}.action-tile .action:hover,.action-detail:hover{background:#fff7ed90;color:var(--accent)}.action-tile .action strong{font-size:15px}.action-tile .action small{font-size:12px;margin-top:2px;white-space:nowrap;font-variant-numeric:tabular-nums}.action-detail{position:absolute;right:0;bottom:0;display:flex;align-items:end;justify-content:end;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:#85563e;padding:0 8px 6px}.diary-art{width:59px;height:59px;display:grid;place-items:center;color:#94664e}.diary-art img{width:100%;height:100%;object-fit:contain}.diary-art svg{display:none}.diary-art:has(img[hidden]) svg{display:block}.diary-art img[hidden]{display:none}.timeline-art .diary-art{width:30px;height:30px}.section-icon .diary-art{width:33px;height:33px}.dose-paw{transform:rotate(-15deg);fill:currentColor;stroke-width:1.3}.recent .timeline-row{min-height:50px}.recent .timeline-text small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-actions{display:flex;gap:12px;flex-wrap:wrap}.portrait,.profile .portrait,.settings-row .portrait{border-radius:50%}.profile .portrait{outline:1px solid #dfbc9d;outline-offset:2px;border:2px solid #fffbf2}.profile{background:#fffaf2}.profile.selected{background:#faeadd}.profile-check{flex:none}.dose-row .overdue{color:#9b451d;font-weight:700}.range-picker,.record-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}.range-picker .date-control{margin:0}.date-control button:disabled{opacity:.42;cursor:default}.record-tools{justify-content:space-between}.record-day h3{font-size:14px;color:#805c42;background:#f9f0e5;padding:7px 10px;border-radius:9px;margin:12px 0 4px}.metric-control{max-width:285px;margin:12px 0}.trend-chart{display:block;width:100%;height:180px}.restore-file{position:relative;cursor:pointer}.restore-file input{position:absolute;inset:0;opacity:0;cursor:pointer}.restore-file:focus-within{outline:3px solid #af532f;outline-offset:3px}.restore-review p+p{margin-top:8px}.top{padding-top:env(safe-area-inset-top,0px)}.notice-stack{position:fixed;z-index:4;bottom:calc(76px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);width:min(420px,calc(100% - 28px));max-height:min(50dvh,154px);overflow:auto;display:grid;gap:5px;pointer-events:none;border-radius:14px}.notice-stack .toast{position:static;transform:none;width:auto;max-width:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px 4px 13px;pointer-events:auto;min-height:48px}.toast button{min-height:44px;padding:5px 8px;border:0;border-radius:10px;background:#fff3e5;color:#703822;font-size:13px;font-weight:800;white-space:nowrap}@media(max-width:730px),(hover:none)and (pointer:coarse)and (max-width:950px){.actions{gap:7px}.action-tile{border-radius:14px}.action-tile .action{min-height:115px;padding:10px 2px 6px}.action-tile .action strong{font-size:14px}.action-tile .action small{font-size:11px}.diary-art{width:52px;height:52px}.action-detail{padding-right:6px;padding-bottom:5px}.actions button:focus-visible{z-index:1}.profile .portrait{width:49px;height:49px}.card,:root{scroll-margin-bottom:calc(76px + env(safe-area-inset-bottom,0px))}main,.top-inner{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}main{padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))}.bottom{padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px));padding-bottom:max(5px,env(safe-area-inset-bottom,0px))}.date-control input{font-size:16px}}@media(max-width:370px){.action-tile .action{min-height:109px}.action-tile .action strong{font-size:13px}.action-tile .action small{font-size:10px}.diary-art{width:47px;height:47px}.profile .portrait{width:43px;height:43px}.keeper{gap:5px;padding-right:6px}.keeper strong{display:block;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keeper svg{display:none}}.family-panel{display:grid;gap:12px}.family-account,.family-members small{color:var(--muted);overflow-wrap:anywhere}.family-members,.family-invite,.family-transfer,.family-preview{display:grid;gap:7px}.family-invite,.family-transfer{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fffaf2}.family-file{cursor:pointer;color:var(--accent)}.family-file input{min-height:44px}.family-preview p{font-size:14px;line-height:1.5;color:var(--muted)}.family-panel .text-button{justify-self:start}.family-panel form .text-button{min-height:34px}.family-landing{max-width:460px;padding-top:42px}.family-landing>img{border-radius:19px;display:block;margin-bottom:12px}.family-landing h1{font-size:28px;margin-bottom:17px}.family-landing h2{display:flex;gap:7px;align-items:center;font-size:20px;margin-bottom:14px}.family-status{margin-top:12px;font-size:14px;color:var(--muted)}
