:root{color-scheme:light;--bg:#f7f6f0;--paper:#fffefa;--ink:#213b32;--muted:#617167;--green:#275b46;--line:#d9dfd4;--soft:#e9eee4;--warn:#855a1c;--error:#993c32;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);padding:10px 16px;cursor:pointer;font-weight:600}button:hover{background:var(--soft)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #bd7d2d;outline-offset:4px}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#1d4836}.quiet{background:transparent;border-color:transparent}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:600;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}h2{font-size:22px;letter-spacing:-.025em}h3{font-size:18px;line-height:1.35}a{color:var(--green)}small{color:var(--muted);line-height:1.5}[hidden]{display:none!important}.brand{font-family:Georgia,serif;font-size:34px;letter-spacing:-.05em;text-decoration:none;display:flex;align-items:center;gap:16px}.brand span{font-family:Arial,sans-serif;font-size:11px;text-transform:uppercase;letter-spacing:.12em;border-left:1px solid var(--line);padding-left:16px}.header{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 40px;border-bottom:1px solid var(--line)}.family-layout{max-width:1200px;margin:auto;padding:46px 40px 60px;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:64px}.agenda-column h1{font-size:52px;line-height:1.05;margin-bottom:20px}.intro{color:var(--muted);line-height:1.6}.device-status{font-size:13px;line-height:1.5;padding:15px 0 24px;color:var(--muted)}.device-status:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#9b9d8b;margin-right:9px}.device-status.online:before{background:var(--green)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;margin-top:18px}.section-heading span{color:var(--muted)}.filters{display:flex;gap:8px;margin:0 0 22px}.filters button{border-color:transparent;min-height:38px;font-size:13px;background:transparent}.filters button[aria-pressed=true]{background:var(--ink);color:white}.reminder{padding:24px 0;display:grid;grid-template-columns:76px minmax(0,1fr);gap:20px;border-top:1px solid var(--line)}.reminder-time strong{font-size:24px;display:block;font-weight:500;font-variant-numeric:tabular-nums}.reminder-time span{color:var(--muted);font-size:13px;display:block;margin-top:6px}.type-label{font-size:10px;letter-spacing:.12em;color:var(--muted);margin-bottom:7px}.reminder h3{margin-bottom:7px;overflow-wrap:anywhere}.reminder-body p{font-size:14px;line-height:1.55;margin-bottom:7px;white-space:pre-line;overflow-wrap:anywhere}.reminder-note{color:var(--muted)}.status-label{display:block;font-size:12px;font-weight:600;margin:12px 0 8px}.help .status-label,.attention .status-label{color:var(--warn)}.reminder small{font-size:11px;display:block}.row-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.row-actions button{font-size:12px;min-height:38px;padding:8px 10px}.editor{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:28px;align-self:start}.editor h2{margin-bottom:24px}.editor form{display:grid;gap:17px}label{display:grid;gap:8px;font-size:13px;font-weight:600}.optional{font-size:11px;font-weight:400;color:var(--muted)}input,select,textarea{width:100%;min-width:0;min-height:46px;padding:12px;border:1px solid #bac8bc;border-radius:7px;background:white;color:var(--ink);font-size:16px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid var(--green);outline-offset:2px}.form-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}.field-hint{font-size:11px;color:var(--muted);margin:-10px 0 0}.prototype-note{font-size:12px;color:var(--muted);line-height:1.6;margin:22px 0 0}.error-text{font-size:14px;color:var(--error);line-height:1.5;margin:0}.error-text:empty{display:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:16px 22px;background:var(--ink);color:white;border-radius:10px;max-width:calc(100% - 32px);width:max-content;z-index:5;font-size:16px;line-height:1.4}.toast.error{background:var(--error)}.empty{padding:35px 0}.empty-mark{font-size:36px;color:var(--green);margin-bottom:15px}.empty p{color:var(--muted);line-height:1.6;max-width:350px}.login{max-width:460px;padding:60px 26px;margin:5vh auto}.login .brand{margin-bottom:70px}.login h1{font-size:46px}.login p{line-height:1.6}.login form{display:grid;gap:18px;margin:28px 0}.login small{display:block;margin-top:25px}
.frame-page{background:#faf8f1}.frame-layout{max-width:1500px;margin:auto;padding:38px 50px;min-height:100vh;display:flex;flex-direction:column}.frame-header{display:flex;justify-content:space-between;align-items:center;gap:25px}.frame-greeting{font-size:16px;letter-spacing:.06em;color:var(--muted)}#frame-date{font-size:25px;margin:9px 0;text-transform:capitalize}.frame-clock{font-size:64px;letter-spacing:-.05em;font-weight:400;font-variant-numeric:tabular-nums}.frame-tools{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:5px 0 15px;color:var(--muted);font-size:14px}.frame-tools button{font-size:14px;min-height:38px;background:transparent;border-color:transparent}.frame-content{padding:40px 0;flex:1;display:flex;align-items:center}.frame-content>div{width:100%}.frame-content .eyebrow{font-size:17px;letter-spacing:.08em}.frame-content h1{font-family:Arial,Helvetica,sans-serif;font-size:52px;font-weight:500;line-height:1.15;margin-bottom:22px;overflow-wrap:anywhere}.frame-place{font-size:28px;margin-bottom:14px}.frame-note{font-size:27px;line-height:1.5;max-width:1000px;white-space:pre-line;overflow-wrap:anywhere}.frame-author{font-size:19px;color:var(--muted);line-height:1.5}.frame-buttons{display:flex;gap:20px;flex-wrap:wrap;margin-top:32px}.frame-buttons button{font-size:24px;min-height:78px;padding:20px 30px;border-radius:12px}.frame-content small{font-size:16px;display:block;margin-top:16px}.calm>p:not(.eyebrow){font-size:26px;line-height:1.5}.calm .next-time{font-size:38px!important;color:var(--green)}.frame-footer{display:flex;justify-content:space-between;gap:25px;border-top:1px solid var(--line);padding-top:22px;color:var(--muted);font-size:15px}.frame-footer span:last-child{text-align:right}.frame-page .toast{font-size:22px;bottom:16px}
@media(max-width:850px){.family-layout{gap:28px;grid-template-columns:minmax(0,1fr) 330px;padding:30px 24px}.header{padding:24px}.agenda-column h1{font-size:40px}.editor{padding:22px}.frame-layout{padding:24px}.frame-content h1{font-size:38px}.frame-clock{font-size:48px}.frame-buttons{gap:12px}.frame-buttons button{font-size:21px;padding:16px}.frame-note{font-size:23px}}
@media(max-width:650px){.header{padding:20px}.brand{font-size:30px}.brand span{font-size:9px}.family-layout{display:flex;flex-direction:column;padding:30px 20px;gap:30px}.agenda-column h1{font-size:42px}.editor{width:100%;order:-1}.agenda-column .intro,.agenda-column>h1,.agenda-column>.eyebrow{display:none}.editor>.eyebrow{font-size:10px}.editor h2{font-size:23px}.device-status{padding-top:0}.row-actions button{min-height:44px}.frame-layout{padding:22px;min-height:100vh}.frame-greeting{font-size:12px}#frame-date{font-size:18px}.frame-clock{font-size:39px}.frame-tools{gap:12px;font-size:12px}.frame-content h1{font-size:34px}.frame-content{padding:30px 0}.frame-content .eyebrow{font-size:13px}.frame-note,.frame-place{font-size:22px}.frame-buttons{flex-direction:column}.frame-buttons button{width:100%;min-height:65px}.frame-footer{font-size:12px}.frame-content .calm>p{font-size:22px}.login .brand{margin-bottom:45px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
