:root{color-scheme:light;--bg: #eef0ea;--ink: #17211c;--muted: #7a827d;--nav: #16201b;--accent: #f5a21e;--line: #d3d9d2}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--ink)}.center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.card{width:100%;max-width:380px;background:#fff;border-radius:22px;padding:28px 24px;box-shadow:0 10px 30px #1e322814}.brand{font-weight:800;letter-spacing:.04em;font-size:22px;margin:0 0 4px}.muted{color:var(--muted);font-size:13px;margin:0 0 20px}label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin:12px 0 4px}input{width:100%;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:12px;font:inherit;font-size:15px;background:#fff}button{width:100%;height:44px;margin-top:18px;border:0;border-radius:12px;background:var(--nav);color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer}button[disabled]{opacity:.6;cursor:default}.err{color:#c8423a;font-size:13px;margin-top:10px}.app{display:flex;min-height:100vh;background:radial-gradient(900px 500px at 10% 0%,#d9eee2,#d9eee200 60%),radial-gradient(900px 600px at 100% 100%,#f6e6d4,#f6e6d400 55%),var(--bg)}.rail{position:sticky;top:0;height:100vh;width:108px;flex:0 0 auto;background:var(--nav);color:#ffffffa6;display:flex;flex-direction:column;gap:4px;padding:14px 8px;box-sizing:border-box}.rail .logo{color:#fff;font-weight:800;letter-spacing:.04em;text-align:center;padding:6px 0 14px}.rail button{width:100%;height:40px;margin:0;background:transparent;color:inherit;font-size:12.5px;border-radius:12px}.rail button[aria-current]{background:var(--accent);color:#1a1206}.rail .soon{display:flex;flex-direction:column;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:11.5px;text-align:center;opacity:.45}.rail .out{margin-top:auto;font-size:12px}main{flex:1 1 auto;min-width:0;padding:22px 26px 40px}.head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.head h1{margin:0;font-size:30px;letter-spacing:-.03em}.eyebrow{font-size:12.5px;color:var(--muted)}.toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}.toolbar select,.search{height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px;font:inherit;font-size:14px}.search{flex:1 1 260px;min-width:0}.grow{flex:1 1 auto}button.accent,button.primary,button.ghost{width:auto;height:40px;margin:0;padding:0 16px;font-size:14px}button.accent{background:var(--accent);color:#1a1206}button.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}button.danger{color:#c8423a}.seg{display:inline-flex;padding:3px;gap:2px;background:#ffffffb3;border-radius:14px}.seg button{width:auto;height:34px;margin:0;padding:0 14px;background:transparent;color:var(--muted);font-size:13px}.seg button[aria-selected=true]{background:var(--nav);color:#fff}.count{font-size:12px;color:var(--muted);margin:6px 2px 8px}.hint{font-size:12.5px;color:var(--muted)}.list{list-style:none;margin:0;padding:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px #1e32280f}.list li+li{border-top:1px solid #edf0eb}.list li>button{display:flex;align-items:center;gap:12px;width:100%;height:auto;margin:0;padding:12px 16px;background:transparent;color:var(--ink);text-align:left;border-radius:0;font-weight:400}.list li>button:hover{background:#f6f8f4}.list .main{flex:1 1 auto;min-width:0}.list .main b{display:block;font-size:14.5px;font-weight:600}.list .main small,.card small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list .side{flex:0 0 auto;font-size:12px;color:var(--muted)}.empty{padding:24px;text-align:center;color:var(--muted);font-size:13px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;height:auto;margin:0;padding:14px;background:#fff;color:var(--ink);text-align:left;border-radius:18px;box-shadow:0 10px 30px #1e32280f;font-weight:400}.card .av{width:38px;height:38px;border-radius:19px;background:#f1f3ef;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px}.card .main b{font-size:14px}.chips{display:flex;gap:4px;flex-wrap:wrap}.chip{font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;background:#f1f3ef}.chip.acc{background:#f5a21e24;color:#a46708}.muted{color:var(--muted)}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f141259;display:flex;justify-content:flex-end;z-index:50}.sheet{width:min(560px,100%);height:100%;background:var(--bg);display:flex;flex-direction:column;box-shadow:-20px 0 50px #00000026}.sheet header{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px 8px}.sheet h2{margin:2px 0 0;font-size:20px}.kicker{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}button.icon{width:36px;height:36px;margin:0;background:#fff;color:var(--ink);font-size:20px;border-radius:18px}.sheet-body{flex:1 1 auto;overflow:auto;padding:8px 20px 20px}.sheet-foot{display:flex;gap:8px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.fld{display:flex;flex-direction:column;gap:4px;min-width:0}.fld.wide,.wide{grid-column:1 / -1}.fld>span{font-size:11.5px;font-weight:600;color:var(--muted)}.fld input,.fld select,.fld textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:14px;padding:0 12px;height:42px}.fld textarea{height:auto;padding:10px 12px;resize:vertical}.check{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:13.5px;color:var(--ink);font-weight:400}.check input{width:18px;height:18px}.check small{color:var(--muted)}.days{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.days button{width:48px;height:34px;margin:0;background:#fff;color:var(--ink);border:1px solid var(--line);font-size:12.5px}.days button[aria-pressed=true]{background:#f5a21e29;border-color:var(--accent)}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);max-width:min(560px,92vw);display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;background:var(--nav);color:#fff;border-radius:14px;font-size:13px;z-index:60;box-shadow:0 12px 30px #00000040}.toast button{width:auto;height:30px;margin:0;padding:0 10px;background:#ffffff24;font-size:12.5px}.toast .x{background:transparent;font-size:16px}@media (max-width: 760px){.app{flex-direction:column}.rail{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;width:auto;flex-direction:row;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:40;border-radius:22px 22px 0 0}.rail .logo,.rail .soon{display:none}.rail .out{margin:0;width:auto;padding:0 10px}main{padding:16px 14px 110px}.head h1{font-size:26px}.grid2{grid-template-columns:1fr}.sheet{width:100%}}
