:root{--bg: #f7f5f0;--card: #ffffff;--ink: #1d2320;--muted: #69716d;--line: #e3e0d8;--brand: #2f6f5e;--brand-soft: #e3efe9;--green: #2e9e62;--amber: #b86e00;--amber-bg: #fff3dc;--red: #c23b22;--radius: 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;font-size:17px;line-height:1.4}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0 0 6px;line-height:1.2}h2{font-size:24px}h3{font-size:18px;margin-top:18px}.loading{padding:40px;text-align:center}.app{max-width:560px;margin:0 auto;min-height:100vh;padding-bottom:calc(84px + env(safe-area-inset-bottom));background:var(--bg)}.top{position:sticky;top:0;z-index:5;background:var(--bg);padding:calc(10px + env(safe-area-inset-top)) 16px 10px;border-bottom:1px solid var(--line)}.seg{display:flex;background:#e8e6e0;border-radius:999px;padding:4px;margin:0 auto 10px;max-width:360px}.seg button{flex:1;border:0;background:transparent;padding:9px 10px;border-radius:999px;color:var(--muted);cursor:pointer}.seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px #0000001f;font-weight:600}.who{display:flex;align-items:center;gap:12px}.avatar{width:48px;height:48px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:600;flex:none}.who-name{font-size:22px;font-weight:600}.viewer{margin-left:auto}.main{padding:8px 16px 24px}.section{padding:18px 0;border-bottom:1px solid var(--line)}.section.quiet{border-bottom:0}.muted{color:var(--muted)}.muted-dark{color:#3f4743}.small{font-size:14px}.block{display:block}.card{background:var(--card);border-radius:var(--radius);padding:16px;margin:12px 0;box-shadow:0 1px 2px #0000000d}.btn{border:1px solid var(--brand);background:var(--brand);color:#fff;padding:10px 16px;border-radius:999px;cursor:pointer;font-weight:600;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn.ghost{background:#fff;color:var(--ink);border-color:var(--line)}.btn.wide{width:100%;margin:10px 0}.btn.left{justify-content:flex-start;text-align:left}.btn:disabled{opacity:.45;cursor:default}.btn.danger{color:var(--red)}.btn.danger-fill{background:var(--red);border-color:var(--red)}.link{background:none;border:0;padding:6px 0;color:var(--ink);text-decoration:underline;cursor:pointer;text-underline-offset:3px}.link.light{color:#fff;margin-left:12px}.link.cal{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--muted)}.link.big{font-size:22px}.row{display:flex;gap:10px;align-items:center}.row.wrap{flex-wrap:wrap}.row>.field{flex:1}.row input{flex:1;min-width:0}.chips{display:flex;gap:8px;margin:10px 0;overflow-x:auto}.chips.wrap{flex-wrap:wrap}.chips.center{justify-content:center}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;cursor:pointer;white-space:nowrap;min-height:38px}.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}.list{list-style:none;padding:0;margin:8px 0}.item{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line)}.item:first-child{border-top:0}.item-main{flex:1;min-width:0}.item-title{font-weight:600;font-size:18px}.item-when,.item-place{color:var(--muted)}.item-place.warn{color:var(--amber);font-weight:600}.item-btn{flex:none}.item.big .item-title{font-size:26px}.item.big .item-when,.item.big .item-place,.item.big .helpers{font-size:22px}.tag{display:inline-block;font-size:13px;font-weight:500;background:#ecebe6;color:#4b524e;border-radius:999px;padding:2px 9px;margin-left:6px;vertical-align:2px}.amber-tag{background:var(--amber-bg);color:var(--amber)}.green-tag{background:var(--brand-soft);color:var(--brand)}.helpers{list-style:none;padding:0;margin:6px 0}.helpers li{display:flex;align-items:baseline;gap:8px}.dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none}.dot.green{background:var(--green)}.dot.amber{background:#f0a020}.dot.red{background:var(--red)}.dot.grey{background:#b9bdb9}.amber-text{color:var(--amber);font-weight:600}.red-text{color:var(--red);font-weight:600}.questions{margin-top:4px}.q-box{background:#fff;border-radius:12px;padding:10px 12px;margin-top:6px;border:1px solid var(--line)}.q-list{padding-left:20px;margin:4px 0 8px}.q-list li{margin-bottom:8px}.answer{width:100%;margin-top:4px}.check{display:flex;gap:8px;align-items:center;margin:8px 0}.check input{width:20px;height:20px}.summary-actions{display:flex;gap:10px;margin-top:8px}.summary-actions .btn{flex:1}.summary-actions.small .btn{flex:0 0 auto;min-height:38px;padding:6px 16px}.feed{list-style:none;padding:0;margin:6px 0;font-size:15px;color:var(--muted)}.feed li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px dashed var(--line)}.note-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.note-meta .tag{margin-left:0}.note-text{margin-top:4px}.checkin{border-left:6px solid #b9bdb9}.checkin.ok{border-left-color:var(--green)}.checkin.call-me{border-left-color:#f0a020}.checkin.missed{border-left-color:var(--red);background:#fdf1ee}.ci-line{display:flex;gap:10px;align-items:baseline;font-size:18px;margin-bottom:4px}.checkin .btn{margin-top:10px}.demo{width:100%;text-align:left;border:2px dashed var(--line);background:transparent;border-radius:var(--radius);padding:12px 14px;cursor:pointer;color:var(--muted)}.demo-tag{display:inline-block;background:#ecebe6;color:var(--ink);font-weight:700;font-size:13px;letter-spacing:.06em;padding:3px 8px;border-radius:8px;margin-right:8px}.demo-box{border:2px dashed var(--line);border-radius:var(--radius);padding:14px;margin-top:18px}.banner{display:flex;gap:12px;align-items:center;justify-content:space-between;border-radius:var(--radius);padding:12px 14px;margin:12px 0}.banner.amber{background:var(--amber-bg);color:#6b4000;border:1px solid #f3d395}.banner.big{font-size:22px;display:block}.field{display:flex;flex-direction:column;gap:6px;margin:10px 0;border:0;padding:0}.field input,.field select,.field textarea,.row input,.answer,select{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;min-height:44px;font-size:17px}.field legend{margin-bottom:6px;padding:0}.radio-list{display:flex;flex-direction:column;gap:8px;margin:8px 0}.radio{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;cursor:pointer}.radio.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.radio input{width:20px;height:20px}.switch-row{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:10px 0}.switch-row input{width:52px;height:30px;accent-color:var(--brand);flex:none}.esheet dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:12px 0}.esheet dt{color:var(--muted)}.esheet dd{margin:0}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14191666;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--bg);width:100%;max-width:560px;max-height:88vh;overflow-y:auto;border-radius:22px 22px 0 0;padding:18px 18px calc(24px + env(safe-area-inset-bottom))}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.sheet-head h2{font-size:22px;margin:0}.tabs{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:560px;display:flex;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:6}.tabs button{flex:1;border:0;background:none;padding:10px 0 8px;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--muted);cursor:pointer;font-size:14px}.tabs button.on{color:var(--ink);font-weight:700}.toast{position:fixed;left:50%;transform:translate(-50%);bottom:calc(90px + env(safe-area-inset-bottom));background:var(--ink);color:#fff;padding:12px 16px;border-radius:14px;z-index:30;max-width:calc(100% - 32px);display:flex;align-items:center;box-shadow:0 6px 20px #0003}.parent{font-size:22px}.p-hello{font-size:34px;margin:14px 0 6px}.h-big{font-size:30px;margin-top:18px}.p-text{font-size:22px;margin:6px 0}.p-btn{display:block;width:100%;border-radius:22px;padding:26px 16px;font-size:32px;font-weight:700;margin:14px 0;cursor:pointer;border:3px solid var(--brand);text-align:center;text-decoration:none}.p-btn.ok{background:var(--brand);color:#fff}.p-btn.call{background:#fff;color:var(--brand)}.p-btn.small{font-size:22px;padding:12px 22px;display:inline-block;width:auto;margin:6px 0;background:var(--brand);color:#fff;border-radius:999px}.p-done{background:var(--brand-soft);color:var(--brand);font-size:26px;font-weight:600;padding:22px;border-radius:22px;margin:14px 0}.p-section{margin:20px 0}.p-feel{display:flex;gap:10px;flex-wrap:wrap}.p-feel-btn{flex:1 1 30%;min-height:72px;font-size:24px;font-weight:600;border:2px solid var(--line);background:#fff;border-radius:18px;cursor:pointer}.p-feel-btn.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.p-more textarea{width:100%;font-size:22px;border:2px solid var(--line);border-radius:16px;padding:12px}.p-meds{list-style:none;padding:0;margin:8px 0}.p-meds li{padding:14px 0;border-top:1px solid var(--line)}.p-med-name{font-size:26px;font-weight:700}.p-contact{display:flex;justify-content:space-between;align-items:center;gap:12px}.is-parent .who-name{font-size:26px}.cf-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;background:var(--bg);overflow-y:auto;display:flex;flex-direction:column;font-size:20px}.cf-inner{max-width:560px;margin:0 auto;width:100%;padding:0 16px}.cf-screen>.cf-inner{flex:1;padding-top:calc(10px + env(safe-area-inset-top))}.cf-top{display:flex;justify-content:space-between;align-items:center;min-height:44px}.cf-top .link{font-size:20px}.cf-head{outline:none;padding:4px 0 6px}.cf-head h1{font-size:30px;line-height:1.15;margin:4px 0 6px}.cf-lead{font-size:22px;margin:0 0 8px}.cf-note{background:var(--brand-soft);color:#1f4d40;border-radius:12px;padding:10px 12px;margin:8px 0}.cf-list{list-style:none;padding:0;margin:8px 0 16px}.cf-row{background:var(--card);border:2px solid var(--line);border-radius:var(--radius);padding:12px 14px;margin:10px 0}.cf-row.flag{border-color:#f0b44c;background:#fffaf0}.cf-main{display:grid;grid-template-columns:1fr auto;gap:2px 12px;width:100%;text-align:left;background:none;border:0;padding:0;cursor:pointer}.cf-label{grid-column:1;font-size:17px;color:var(--muted);font-weight:600;display:flex;align-items:center;flex-wrap:wrap;gap:4px 0}.cf-label .tag{font-size:15px;font-weight:700}.cf-value{grid-column:1;font-size:24px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.cf-value.missing{font-weight:500;font-style:italic;color:var(--amber)}.cf-fix{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:17px;color:var(--brand);font-weight:600;text-decoration:underline;text-underline-offset:3px}.cf-crop{margin-top:10px;border-radius:8px;border:1px solid #d9d4c7;background:repeating-linear-gradient(0deg,#fbfaf6 0,#fbfaf6 22px,#f4f1e9 22px,#f4f1e9 23px);padding:6px 10px 8px;transform:rotate(-.4deg);box-shadow:inset 0 0 12px #0000000d}.cf-crop-k{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-family:inherit}.cf-crop-t{display:block;font-family:Courier New,Courier,monospace;font-weight:700;font-size:17px;color:#2a2a2a;letter-spacing:.02em;filter:blur(.25px);overflow-wrap:anywhere}.cf-crop.img{height:56px;padding:0;background-repeat:no-repeat;transform:none}.cf-derived{margin-top:8px;font-size:18px;color:#3f4743}.cf-derived.warn{color:var(--amber);font-weight:600}.cf-dym{margin-top:10px}.cf-dym-h{font-size:17px;font-weight:700;color:var(--amber)}.cf-dym-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.cf-chip{font-size:20px;min-height:48px;padding:8px 16px}.cf-actions{display:flex;gap:10px;margin-top:12px}.cf-actions .btn{flex:1;font-size:20px;min-height:56px;padding:10px 12px}.cf-edit .cf-field{margin:0}.cf-edit input{font-size:22px;min-height:56px;border-width:2px}.cf-foot{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:10px 0 calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 14px #0000000f}.cf-left{margin:0 0 6px;font-size:18px;color:var(--amber);font-weight:600}.cf-go,.cf-retake{display:flex;width:100%;font-size:22px;min-height:60px;margin:6px 0;border-radius:18px}body:has(.cf-screen) .toast{display:none}.cf-row.flag .cf-fix{display:none}.cf-go:disabled{background:#9db5ad;border-color:#9db5ad;opacity:1}.print-area{display:none}@media print{@page{margin:14mm}body{background:#fff}.app,.sheet-backdrop,.toast,.cf-screen{display:none!important}.print-area{display:block;color:#000;font-size:13pt}.print-text{white-space:pre-wrap;font-family:inherit;font-size:13pt}.print-foot{margin-top:18px;font-size:10pt;color:#333}.fridge-head{border:3px solid #000;padding:8px 12px;font-size:20pt;font-weight:800;display:flex;justify-content:space-between;align-items:baseline}.fridge-sub{font-size:11pt;font-weight:400}.fridge h1{font-size:24pt;margin:14px 0 4px}.fridge h2{font-size:15pt;margin:16px 0 6px}.fridge table{width:100%;border-collapse:collapse}.fridge th,.fridge td{border:1px solid #555;padding:6px 8px;text-align:left;vertical-align:top}.fridge th{width:30%;background:#eee}.wallet{width:85.6mm;min-height:54mm;border:1.5px dashed #000;padding:3mm;font-size:7.5pt;line-height:1.25}.wallet-head{font-weight:800;font-size:9pt;border-bottom:1px solid #000;margin-bottom:1.5mm}.wallet div{margin-bottom:1mm}.wallet-foot{font-size:6.5pt;margin-top:1.5mm}}
