*{box-sizing:border-box}:root{--paper:#F7F6F3;--panel:#FFFFFF;--ink:#20242A;--muted:#555D66;--red:#B91C1C;--red-dark:#9B1616;--green:#166534;--amber:#92400E;--line:#E5E1DB;--danger-bg:#FBEDEB;--ok-bg:#EAF4EC}html,body{margin:0;padding:0}body{background:var(--paper);color:var(--ink);font:15px/1.45 Calibri,Segoe UI,Arial,sans-serif;-webkit-text-size-adjust:100%}button{font:inherit;color:inherit}input,select,textarea{font:inherit}h1,h2,h3{color:var(--ink);margin:.2em 0}a{color:var(--red)}.app{max-width:560px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;padding:12px 16px calc(76px + env(safe-area-inset-bottom))}@media(min-width:700px){.app{max-width:960px}}.top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0 10px}.top strong{font-size:18px}.top strong span{color:var(--red)}.top small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}.header-account{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel);font-weight:700;color:var(--red)}.leader-card{background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:12px;padding:11px 14px;margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.leader-card p{margin:0;color:var(--muted);font-size:13px}.leader-card strong{font-size:14px}.offline{background:var(--danger-bg);color:#7a1b12;border:1px solid #E7B9B3;border-radius:10px;padding:9px 12px;font-size:13.5px;margin:0 0 10px}.error{background:var(--danger-bg);color:#7a1b12;border-radius:10px;padding:9px 12px;font-size:13.5px;margin:8px 0}.muted{color:var(--muted)}.eyebrow{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;color:var(--muted);text-transform:uppercase}.note{font-size:13px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;margin:0 0 12px;box-shadow:0 1px 3px #20242a0d}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.panel-head h2{font-size:16px;margin:0}.panel-head h1{font-size:20px;margin:0}button{cursor:pointer;border-radius:10px;border:1px solid transparent;min-height:44px;padding:10px 14px;background:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,video:focus-visible{outline:3px solid #7C93B8;outline-offset:2px}.primary{background:var(--red);color:#fff;font-weight:700;min-height:48px}.primary:hover{background:var(--red-dark)}.primary:disabled{opacity:.55;cursor:not-allowed}.secondary{background:var(--panel);border-color:var(--red);color:var(--red);font-weight:700}.quiet{color:var(--muted);border-color:var(--line);background:var(--panel)}.chip{border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--red);font-weight:700;min-height:40px;padding:6px 14px;display:inline-flex;align-items:center;gap:6px}.text-button{border:0;color:var(--red);font-weight:700;min-height:44px;padding:8px 4px;text-align:left}.wide{width:100%;margin-top:12px}.empty-state{background:#fbfaf7;border:1px dashed #D8D2CA;border-radius:12px;padding:16px;text-align:center}.empty-state p{color:var(--muted);font-size:14px;margin:0 0 10px}.form label{display:block;font-size:13.5px;font-weight:700;margin:10px 0 0;color:var(--ink)}.form input,.form select,.form textarea,.sheet input,.sheet select,.sheet textarea{display:block;width:100%;margin-top:5px;padding:11px 12px;min-height:44px;border:1px solid #C9C4BD;border-radius:10px;background:#fff;color:var(--ink)}.form textarea,.sheet textarea{min-height:84px;resize:vertical}.form h2,.sheet h2{font-size:17px}.auth{max-width:430px;margin:0 auto;width:100%}.auth-intro{margin:18px 0 14px}.auth-intro h1{font-size:26px;line-height:1.2;margin:6px 0}.auth-intro p{color:var(--muted);margin:6px 0 0}.segmented{display:flex;gap:6px;background:#ece9e4;border-radius:12px;padding:5px;margin-bottom:12px}.segmented button{flex:1;border-radius:9px;color:var(--muted);font-weight:700}.segmented .selected{background:#fff;color:var(--ink);box-shadow:0 1px 2px #20242a1f}.rows{list-style:none;margin:0;padding:0}.rows li{display:flex;flex-direction:column;gap:2px;padding:11px 2px;border-bottom:1px solid #F0EDE8}.rows li:last-child{border-bottom:0}.rows strong{font-size:14.5px}.rows span{color:var(--muted);font-size:13px}.rows details{margin-top:4px}.rows summary{color:var(--red);font-weight:700;cursor:pointer;min-height:32px}.rows ul{margin:6px 0 0;padding-left:18px}.status-block{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid #F0EDE8}.status-block:last-of-type{border-bottom:0}.status-block strong{font-size:17px}.status-block .muted{font-size:13px}.days{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:none}.days::-webkit-scrollbar{display:none}.days button{flex:0 0 auto;min-width:96px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:700}.days .active{background:var(--red);border-color:var(--red);color:#fff}.bottom{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:4px 4px calc(4px + env(safe-area-inset-bottom));z-index:5}.bottom button{flex:1;max-width:132px;border:0;color:var(--muted);font-weight:600;font-size:12px;min-height:48px;display:flex;flex-direction:column;align-items:center;gap:1px;border-radius:10px;margin:2px}.bottom .nav-ic{font-size:18px;line-height:1.2}.bottom .active{color:var(--red);font-weight:800;background:var(--danger-bg)}.overlay{position:fixed;inset:0;background:#20242a8c;display:flex;align-items:flex-end;justify-content:center;z-index:10}@media(min-width:700px){.overlay{align-items:center}}.sheet{background:var(--paper);width:100%;max-width:560px;border-radius:16px 16px 0 0;padding:16px;max-height:92dvh;overflow:auto}@media(min-width:700px){.sheet{border-radius:16px;margin-bottom:40px}}.sheet video{width:100%;aspect-ratio:4/3;background:#101216;border-radius:12px;object-fit:cover;margin:10px 0}.sheet .actions{display:flex;gap:10px;margin-top:12px}.sheet .actions button{flex:1}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
