:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#17392f;background:#f3f8f5}*{box-sizing:border-box}body{margin:0}header{background:#176b58;color:white;padding:17px max(18px,calc((100vw - 670px)/2));display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{font-size:19px}header small{opacity:.85}main{max-width:670px;margin:28px auto;padding:0 18px 36px}h1{font-size:clamp(21px,4vw,29px);margin:0 0 8px}.muted,.notice{color:#60746b}.muted{line-height:1.5}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.toolbar h2{font-size:21px;margin:0}.toolbar button{font-size:30px;width:48px;height:44px;background:white;border:1px solid #d3e1d9;border-radius:12px;cursor:pointer}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;background:white;border:1px solid #dbe8e0;border-radius:16px;padding:12px}.week{text-align:center;font-size:13px;font-weight:700;color:#70867b;padding:8px 0}.day{height:68px;border:1px solid #e3ede6;border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:8px;cursor:pointer;font-size:16px;color:#254638}.day strong{align-self:flex-end;font-size:22px}.day.outside{opacity:.3}.day.marked{background:#d3f2df;border:2px solid #17865c;color:#0a643c}.day.today:not(.marked){border-color:#278f6d}.day:focus-visible,button:focus-visible{outline:3px solid #e0aa37;outline-offset:2px}.summary{margin:20px 0;padding:18px;border-radius:14px;background:white;border:1px solid #dbe8e0}.summary p{margin:8px 0 0;line-height:1.5}.primary{background:#176b58;color:white;border:0;border-radius:12px;padding:16px;font-size:17px;font-weight:700;width:100%;cursor:pointer}.extras{display:flex;gap:10px;margin-top:12px}.extras button,.import{flex:1;text-align:center;padding:12px 8px;background:white;border:1px solid #cddfd4;border-radius:10px;color:#176b58;font-size:14px;cursor:pointer}.import input{display:none}.notice{font-size:13px;margin-top:22px}.message{padding:12px;border-radius:8px;background:#e3f3e9;white-space:pre-wrap}@media(max-width:440px){header small{display:none}.day{height:55px;padding:5px}.calendar{gap:4px;padding:8px}.day strong{font-size:18px}.toolbar h2{font-size:18px}}

.sync-panel{margin:18px 0;padding:16px;border:1px solid #cbded3;background:#fff;border-radius:14px}.sync-panel p{font-size:13px}.sync-panel label{display:block;font-size:13px;font-weight:600;margin:10px 0 5px}.sync-panel input{width:100%;border:1px solid #b5cfc0;border-radius:8px;padding:11px;font-size:15px}.sync-panel button{margin-top:10px;border:0;border-radius:8px;padding:11px 16px;background:#176b58;color:white;cursor:pointer}.sync-panel button:disabled{opacity:.6}.sync-status{overflow-wrap:anywhere}

.day.blocked,.day:disabled{opacity:.28;cursor:not-allowed;background:#f1f4f2;color:#819087}.day.blocked.marked{opacity:.48}.day:disabled:focus-visible{outline:none}
