:root{--bg: #f7f4f0;--surface: #ffffff;--fg: #2a2420;--muted: #6e645c;--line: #e4ddd5;--accent: #8c3b33;--accent-ink: #ffffff;--accent-soft: #f4e4e1;--ok: #2e7550;--ng: #b0412f;--c-kazunori: #3a6ea5;--c-mayumi: #b44c74;--c-hidemasa: #3f7d4a;--c-aya: #b57a12;--f-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;--f-head: "Zen Maru Gothic", "BIZ UDPGothic", "Hiragino Maru Gothic ProN", sans-serif;--tap: 48px;color-scheme:light}@media(prefers-color-scheme:dark){:root{--bg: #1c1917;--surface: #26221f;--fg: #f0ebe6;--muted: #b3a89f;--line: #3b3531;--accent: #e08f84;--accent-ink: #1c1917;--accent-soft: #3b2624;--ok: #7fc89e;--ng: #f08a78;--c-kazunori: #7fb0e3;--c-mayumi: #e89ab8;--c-hidemasa: #8fcb98;--c-aya: #e6b75c;color-scheme:dark}}html{font-size:17px;-webkit-text-size-adjust:100%}html[data-size=l]{font-size:19px}html[data-size=xl]{font-size:22px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--f-body);line-height:1.7}button{font:inherit;color:inherit}h1,h2,h3{font-family:var(--f-head);line-height:1.35;margin:0;text-wrap:balance}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.app{min-height:100dvh}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 10px) max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px));background:var(--surface);border-bottom:1px solid var(--line)}.topbar-title{flex:1;min-width:0;display:flex;flex-direction:column}.channel{font-size:.72rem;color:var(--muted);letter-spacing:.04em}.topbar h1{font-size:1.3rem}.menu-button{width:var(--tap);height:var(--tap);border:0;border-radius:12px;background:var(--accent-soft);display:grid;place-content:center;gap:5px;cursor:pointer}.menu-button span{display:block;width:24px;height:3px;border-radius:2px;background:var(--accent)}.page{max-width:960px;margin:0 auto;padding-block:16px calc(env(safe-area-inset-bottom,0px) + 32px);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}.stack{display:flex;flex-direction:column;gap:16px}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:8px;min-width:0}.card h2{font-size:1.15rem}.card p{margin:0}.muted{color:var(--muted)}.status{font-size:.85rem;color:var(--muted);margin:0}.status.ok:before{content:"●";color:var(--ok);margin-right:6px}.status.down:before{content:"●";color:var(--ng);margin-right:6px}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}.scrim.show{opacity:1;pointer-events:auto}.drawer{position:fixed;top:0;right:0;bottom:0;width:min(320px,86vw);background:var(--surface);z-index:30;transform:translate(100%);transition:transform .22s ease-out;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + 10px) max(12px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 12px) 12px;box-shadow:-8px 0 24px #0000001f}.drawer.open{transform:none}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px;font-family:var(--f-head);font-weight:700}.close-button{width:var(--tap);height:var(--tap);border:0;background:transparent;font-size:1.6rem;cursor:pointer}.drawer-list{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}.drawer-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:var(--tap);padding:6px 12px;border-radius:10px;color:var(--fg);text-decoration:none}.drawer-list a:hover{background:var(--bg)}.drawer-list a.active{background:var(--accent-soft);color:var(--accent);font-weight:700}.badge{font-size:.7rem;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:0 8px;white-space:nowrap}.drawer-foot{border-top:1px solid var(--line);padding:12px 4px 0;display:flex;flex-direction:column;gap:6px}.foot-label{font-size:.8rem;color:var(--muted)}.seg{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.seg button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--bg);cursor:pointer}.seg button.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:700}.planned p{color:var(--muted)}.who{display:flex;align-items:center;gap:8px;font-size:.85rem;padding-bottom:6px}.who-dot{width:12px;height:12px;border-radius:50%;flex:none}.text-button{margin-top:6px;min-height:44px;border:0;background:transparent;color:var(--muted);text-decoration:underline;cursor:pointer;align-self:flex-start}.small{font-size:.85rem}.center-screen{min-height:100dvh;display:grid;place-items:center;padding:24px max(16px,env(safe-area-inset-right,0px)) 24px max(16px,env(safe-area-inset-left,0px))}.login-card{width:min(420px,100%);background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:28px 24px;display:flex;flex-direction:column;gap:14px;text-align:center}.login-card h1{font-size:1.6rem}.login-card p{margin:0}.notice{background:var(--accent-soft);color:var(--fg);border-radius:10px;padding:10px 12px;text-align:left}.primary-button{display:inline-flex;justify-content:center;align-items:center;min-height:56px;border-radius:14px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:1.1rem;text-decoration:none}.sheet-tools{display:flex;flex-direction:column;gap:10px}.seg.period button{min-height:var(--tap)}.search-row{display:flex;gap:8px}.search,.field select,.field-edit input,.field-edit textarea{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 12px;min-height:var(--tap);width:100%;min-width:0}.search{flex:1}.filter-toggle{flex:none;min-height:var(--tap);padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);cursor:pointer}.filter-toggle.has{border-color:var(--accent);color:var(--accent);font-weight:700}.filters{gap:14px}.filters fieldset{border:0;margin:0;padding:0}.filters legend,.field>span{font-size:.85rem;color:var(--muted);margin-bottom:4px;display:block}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:99px;background:var(--bg);cursor:pointer}.chip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:700}.field{display:block}.count-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.text-button.inline{margin:0;min-height:36px;padding:0 4px;align-self:auto}.video-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.video-row{display:flex;flex-direction:column;gap:6px;padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:14px;color:var(--fg);text-decoration:none}.video-row:hover{border-color:var(--accent)}.video-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}.video-date{font-weight:700}.video-no{color:var(--muted);font-size:.9rem}.badge.warn{color:var(--ng);border-color:var(--ng)}.video-title{margin:0;font-weight:700;overflow-wrap:anywhere}.video-people{margin:0;font-size:.85rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:2px 14px}.pips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}.pips li{font-size:.72rem;line-height:1;padding:5px 7px;border-radius:6px;border:1px dashed var(--line);color:var(--muted)}.pips li.done{border:1px solid var(--ok);background:color-mix(in srgb,var(--ok) 14%,transparent);color:var(--ok)}.more-button{min-height:var(--tap);border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer}.back-link{color:var(--accent);text-decoration:none;min-height:var(--tap);display:inline-flex;align-items:center;align-self:flex-start}.toast{margin:0;padding:10px 12px;border-radius:10px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}.toast.ok{background:color-mix(in srgb,var(--ok) 14%,var(--surface))}.toast.ng{background:var(--accent-soft)}.check-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.check-row{display:flex;align-items:center;gap:12px;min-height:var(--tap);padding:4px 2px;border-bottom:1px solid var(--line);cursor:pointer}.check-list li:last-child .check-row{border-bottom:0}.check-row input{width:24px;height:24px;accent-color:var(--ok);flex:none}.check-row.busy{opacity:.6}.check-label{font-weight:700}.check-state{margin-left:auto;font-size:.85rem;color:var(--muted)}.check-state.done{color:var(--ok);font-weight:700}.more summary{cursor:pointer;color:var(--muted);min-height:40px;display:flex;align-items:center}.fields{margin:0;display:flex;flex-direction:column;gap:12px}.fields dt{font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:8px}.fields dd{margin:0;overflow-wrap:anywhere}.fields dd.pre{white-space:pre-wrap}.edit-button{border:1px solid var(--line);background:var(--bg);border-radius:8px;font-size:.8rem;padding:2px 10px;min-height:32px;cursor:pointer}.field-edit textarea{line-height:1.6;resize:vertical;field-sizing:content;min-height:6lh;max-height:60vh}.edit-buttons{display:flex;align-items:center;gap:10px;margin-top:8px}.small-primary{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-weight:700;cursor:pointer}.small-primary:disabled{opacity:.5;cursor:default}@media(prefers-reduced-motion:reduce){.drawer,.scrim{transition:none}}
