:root{--green:#214d40;--ink:#263c33;--muted:#607064;--line:#dfe6dc;--bg:#f5f6f0;font:16px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:var(--ink)}*{box-sizing:border-box}body{background:var(--bg);margin:0}main{max-width:820px;margin:auto;padding:calc(22px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom))}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;min-height:44px;border:0;border-radius:10px;padding:10px 15px;background:transparent;touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b8934d;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.3;letter-spacing:-.6px}h2{font-size:18px}h3{font-size:16px}p,button,dd{overflow-wrap:anywhere}header{display:flex;align-items:center;gap:12px;margin-bottom:24px}header .icon{margin-left:auto}header img{flex-shrink:0}.eyebrow{font-size:12px;color:var(--muted);letter-spacing:1px}.icon{width:44px;flex-shrink:0;padding:8px;border:1px solid var(--line);background:#fff;font-size:20px}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:28px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.subtle,.example,.coverage,.privacy{color:var(--muted);font-size:13px}.example{margin:8px 0 18px}.hold{background:var(--green);color:white;width:100%;min-height:76px;display:flex;gap:12px;align-items:center;justify-content:center;font-size:19px;font-weight:600;border-radius:14px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;box-shadow:0 6px 16px #214d4017}.hold svg{width:25px;height:25px}.hold.recording{background:#8e422d}.hold.recording svg{animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}#voiceStatus{font-size:13px;min-height:22px;margin-top:10px;text-align:center;color:var(--muted)}.capture-links{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap}.text-button{padding:8px 0;font-size:13px;color:var(--green);text-decoration:underline;text-underline-offset:4px}.privacy{font-size:11px;border-top:1px solid #edf0e8;margin-top:10px;padding-top:12px}label{display:block;font-size:13px;margin:14px 0 6px}input,select,textarea{display:block;width:100%;min-width:0;min-height:46px;border:1px solid #cbd6c8;border-radius:9px;background:#fff;padding:9px 10px}textarea{resize:vertical}select{appearance:auto}.primary,.secondary{background:var(--green);color:white;font-weight:550}.primary{width:100%;margin-top:18px}.secondary{background:#e7eee3;color:var(--green)}#parse{margin-top:12px;width:100%}.calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 12px}.segments{background:#e7ece2;border-radius:10px;padding:3px;display:flex}.segments button{padding:8px 16px;min-width:60px}.segments button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 2px 5px #183d3410}.date-controls{display:flex;gap:9px;align-items:center}.date-controls input{width:auto;flex:1;text-align:center}#range{margin:10px 0 16px}.day{background:white;border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:14px;scroll-margin-top:12px}.day-head{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #eef1ea;padding-bottom:12px;margin-bottom:8px}.day-head small{font-size:12px;color:var(--muted)}.slot{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:10px 0}.slot h4{font-size:13px;font-weight:500;color:#65715e;margin:12px 0}.slot-content{min-width:0}.event{width:100%;text-align:left;background:#f6f8f2;border-left:2px solid #9eb28c;border-radius:0 8px 8px 0;margin:0 0 6px;padding:10px 12px;display:block}.event b{display:block;font-size:15px;font-weight:550}.event small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.event .badge{display:inline-block;font-size:11px;color:#806325;background:#f7eed9;border-radius:4px;padding:1px 5px;margin-top:5px}.empty{font-size:13px;color:#6b766a;padding:10px 0}.pending{border-top:1px dashed var(--line);padding-top:12px;margin-top:8px}.pending h4{font-size:12px;color:var(--muted);margin:0 0 6px}.coverage{margin:18px 0}.carry{background:white;border-left-style:dashed}.carry b{font-size:12px;font-weight:400}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fields>div{min-width:0}dialog{border:1px solid var(--line);border-radius:18px;width:480px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);padding:20px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #142a3433;overflow:auto}dialog::backdrop{background:#132d2566}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head .icon{border:0}.dialog-head h2{min-width:0;overflow-wrap:anywhere}#issues:not(:empty),#globalError:not([hidden]),#saveError:not(:empty),#actionError:not(:empty),#loginError:not(:empty){color:#894a28;background:#fbf1e2;padding:12px;font-size:13px;border-radius:9px;margin:12px 0}#issues p+p{margin-top:5px}details{font-size:13px;margin:16px 0;color:var(--muted)}summary{cursor:pointer;min-height:44px;padding:10px 0}#original{white-space:pre-wrap}dl{display:grid;grid-template-columns:60px minmax(0,1fr);font-size:14px;gap:12px;margin:18px 0}dt{color:var(--muted)}dd{margin:0}#detailBody p{font-size:14px;margin:15px 0}#detailBody .secondary{width:100%;margin-top:15px}#toast{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom));left:16px;right:16px;margin:auto;width:fit-content;max-width:calc(100vw - 32px);padding:13px 20px;background:#214d40;color:white;border-radius:12px;z-index:10;font-size:14px;box-shadow:0 8px 25px #15271f25}footer{font-size:12px;letter-spacing:2px;color:#667963;text-align:center;margin-top:28px}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}#loading{color:var(--muted);text-align:center}.today-label{color:var(--green)}@media(min-width:680px){.capture{padding:24px}.day{padding:22px}.slot{grid-template-columns:50px minmax(0,1fr)}h1{font-size:28px}}@media(max-width:360px){main{padding-left:12px;padding-right:12px}.card{padding:16px}.day{padding:14px}.segments button{padding:8px 13px;min-width:52px}h1{font-size:22px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
