:root{color-scheme:light;--paper:#f6f7f1;--ink:#153d35;--muted:#52665e;--line:#dce1d7;--green:#164b40;--mint:#dfedcc;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper)}.shell{max-width:620px;margin:auto;padding:0 20px 105px}header{display:flex;align-items:center;justify-content:space-between;padding:27px 0 18px;border-bottom:1px solid var(--line);font-size:13px;font-weight:650}header>span:last-child{font-size:11px;color:var(--muted);letter-spacing:.08em}.brand{display:flex;align-items:center;gap:9px}.brand i{width:24px;height:13px;border:2px solid var(--green);border-radius:8px;display:inline-block;background:linear-gradient(to right,var(--green) 49%,transparent 49%);transform:rotate(-40deg)}
h1{font-size:clamp(34px,8vw,46px);letter-spacing:-.055em;line-height:1.04;margin:17px 0 20px}h2{font-size:22px;letter-spacing:-.035em;margin:28px 0 12px}h3{font-size:18px;margin:0 0 5px;line-height:1.25}p{line-height:1.45}small,.sub,.date{color:var(--muted);font-size:14px;line-height:1.45}.date{margin-top:24px}.hero{background:var(--green);border-radius:20px;padding:22px 24px;color:white}.hero strong{display:block;font-size:29px;letter-spacing:-.045em}.hero p{margin:5px 0 0;color:#e3efdf;font-size:15px}.hero .primary{background:var(--mint);color:var(--ink);margin-top:15px}.meter{height:5px;border-radius:4px;background:#41695b;margin-top:16px;overflow:hidden}.meter span{height:100%;display:block;background:#cbe69d}.row{display:flex;align-items:center;gap:12px;padding:16px;margin:8px 0;background:#fff;border:1px solid var(--line);border-radius:15px}.grow{min-width:0;flex:1}.grow strong{display:block;overflow-wrap:anywhere}.meta{font-size:13px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}.time{font-size:12px;font-weight:700;color:var(--green);letter-spacing:.02em;display:inline-block;margin-bottom:6px}.row button{flex-shrink:0}.late{color:#914220}.group{display:flex;align-items:center;justify-content:space-between;gap:10px}.group h2{margin-bottom:10px}button,input,select{font:inherit}button{border:0;cursor:pointer;color:var(--ink);font-weight:620}.primary,.ghost,.chip{padding:10px 15px;border-radius:11px;background:var(--green);color:white;min-height:42px}.ghost,.chip{background:#edf1e8;color:var(--ink)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6c9776;outline-offset:2px}.state{display:inline-block;width:11px;height:11px;border-radius:50%;background:#c9d0c7;flex:none}.state.on{background:#387d58}.empty{padding:19px;border:1px dashed #bdc9bd;border-radius:15px;color:var(--muted);line-height:1.5}.link{background:none;color:var(--green);text-decoration:underline;padding:4px}.hint{background:#e8efe1;border-radius:12px;padding:12px;font-size:14px}
nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,620px);border-top:1px solid var(--line);background:#fafbf6;display:flex;gap:4px;justify-content:center;padding:11px 15px max(11px,env(safe-area-inset-bottom));z-index:1}nav button{flex:1;padding:13px 3px;border-radius:12px;background:transparent;color:var(--muted);font-size:14px}nav button[aria-current=page]{background:var(--mint);color:var(--ink)}
dialog{border:0;border-radius:22px;padding:22px;width:min(430px,calc(100% - 24px));max-height:88dvh;color:var(--ink);background:#fafbf6}dialog::backdrop{background:#13251fc4}dialog h2{margin:0 0 14px}label{display:block;margin:14px 0 0;font-weight:600;font-size:14px}input:not([type=checkbox]),select{display:block;margin:6px 0 0;border:1px solid #bec9bd;border-radius:10px;width:100%;min-height:43px;padding:8px;background:#fff;color:var(--ink)}input[type=checkbox]{width:19px;height:19px;vertical-align:middle;accent-color:var(--green)}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.error{color:#8e3024}.error:empty{display:none}#toast:not(:empty){position:fixed;bottom:84px;left:50%;transform:translateX(-50%);padding:10px 16px;border-radius:12px;background:#213c31;color:white;max-width:90%;z-index:5}button:disabled{opacity:.55}.record{margin-top:14px}.record .link{margin:0 8px 0 0}.picker{max-width:235px}body:has(dialog[open]){overflow:hidden}
