:root{--bg: #101935;--surface: #18234a;--surface-2: #101935;--line: #26335f;--line-2: #2a3766;--text: #eaf0ff;--muted: #a3b0d6;--yes: #19d3c5;--yes-text: #19d3c5;--yes-soft: rgba(25, 211, 197, .16);--no: #ff3d7f;--no-text: #ff5c93;--no-soft: rgba(255, 61, 127, .16);--on-yes: #101935;--nav: #0d1530;--display: "Sora", "Vazirmatn", system-ui, sans-serif;--body: "Manrope", "Vazirmatn", system-ui, sans-serif;--mono: "IBM Plex Mono", ui-monospace, monospace;color-scheme:dark}@media(prefers-color-scheme:light){:root:not([data-theme=dark]){--bg: #f3f6fb;--surface: #ffffff;--surface-2: #eef2f8;--line: #dfe5ef;--line-2: #cfd8e6;--text: #13203a;--muted: #56647f;--yes-text: #0b8a80;--no-text: #c41d5b;--nav: #ffffff;--yes-soft: rgba(25, 211, 197, .18);--no-soft: rgba(255, 61, 127, .14);color-scheme:light}}:root[data-theme=light]{--bg: #f3f6fb;--surface: #ffffff;--surface-2: #eef2f8;--line: #dfe5ef;--line-2: #cfd8e6;--text: #13203a;--muted: #56647f;--yes-text: #0b8a80;--no-text: #c41d5b;--nav: #ffffff;--yes-soft: rgba(25, 211, 197, .18);--no-soft: rgba(255, 61, 127, .14);color-scheme:light}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:15px;line-height:1.5}html[dir=rtl] body{font-family:"Vazirmatn",var(--body)}a{color:var(--yes-text);text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:2px solid var(--yes);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:calc(14px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));background:var(--bg);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-family:var(--display);font-weight:700;font-size:20px}.content{flex:1;width:100%;max-width:720px;margin:0 auto;padding:18px max(16px,env(safe-area-inset-right)) calc(100px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.tabbar{position:fixed;inset:auto 0 0 0;z-index:5;display:grid;background:var(--nav);border-top:1px solid var(--line);padding:8px 8px calc(10px + env(safe-area-inset-bottom))}.tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted);font-size:11px;font-weight:600;min-height:44px;justify-content:center}.tabbar a.active{color:var(--yes-text);font-weight:800}@media(min-width:900px){.tabbar{display:none}.topbar .topnav{display:flex;gap:6px;flex:1;justify-content:center}.content{padding-bottom:40px}}.topnav{display:none}.topnav a{display:flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;color:var(--muted);font-size:14px;font-weight:600}.topnav a:hover{color:var(--text);background:var(--line)}.topnav a.active{color:var(--yes-text);font-weight:800}.center-screen{min-height:100vh;display:grid;place-items:center}.stack{display:flex;flex-direction:column;gap:10px}.stack-xs{display:flex;flex-direction:column;gap:4px}.stack-lg{display:flex;flex-direction:column;gap:22px}.row{display:flex;align-items:center}.row.between{justify-content:space-between;gap:12px}.row.end{align-items:flex-end}.row.baseline{align-items:baseline}.gap4{gap:4px}.gap8{gap:8px}.gap12{gap:12px}.grow{flex:1;min-width:0}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.center{text-align:center;align-self:center}.end-text{text-align:end}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:700}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.lg{font-size:18px;font-weight:600}.yes{color:var(--yes-text)}.no{color:var(--no-text)}.h1{margin:0;font-family:var(--display);font-size:24px;letter-spacing:-.015em}.h3{margin:0;font-family:var(--display);font-size:16px;font-weight:600}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--yes-text)}.huge{font-family:var(--display);font-weight:700;font-size:44px;line-height:1}.big{font-family:var(--display);font-weight:700;font-size:38px;line-height:1}.big-s{font-family:var(--display);font-weight:700;font-size:19px}.plain{list-style:none;margin:0;padding:0}.contents{display:contents}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;color:var(--text)}.notice{background:var(--no-soft);border-radius:12px;padding:10px 12px;margin:0}.error{color:var(--no-text);margin:0;font-weight:600}.success{color:var(--yes-text);margin:0;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:50px;padding:0 16px;border-radius:14px;border:1px solid transparent;font-weight:800;font-size:15px;background:var(--surface);color:var(--text)}.btn.small{min-height:38px;padding:0 12px;font-size:13px;border-radius:10px}.btn.primary{background:var(--yes);color:var(--on-yes)}.btn.danger{background:var(--no);color:#fff}.btn.ghost{background:transparent;border-color:var(--line-2)}.btn.dashed{border-style:dashed;color:var(--muted)}.btn.yes-soft{background:var(--yes-soft);color:var(--yes-text)}.btn.no-soft{background:var(--no-soft);color:var(--no-text)}.link-btn{background:none;border:0;padding:0;color:var(--muted);font-weight:600}.icon-btn{width:44px;height:44px;border-radius:999px;background:var(--surface);border:1px solid var(--line-2);display:inline-flex;align-items:center;justify-content:center;color:var(--text)}html[dir=rtl] .icon-btn svg{transform:scaleX(-1)}.pill{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--text)}.pill svg{color:var(--yes)}.chip{flex:0 0 auto;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line-2);background:transparent;color:var(--muted);font-weight:600;font-size:14px}.chip.on{background:var(--yes);color:var(--on-yes);border-color:var(--yes);font-weight:800}.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.tag{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:6px;padding:3px 8px;background:var(--line-2);color:var(--text)}.tag.open{background:var(--yes);color:var(--on-yes)}.tag.cancelled{background:var(--no);color:#fff}.tag.scheduled{background:#f5b83d;color:#101935}.badge{font-size:11px;font-weight:800;border-radius:5px;padding:2px 6px;text-transform:uppercase}.badge.yes{background:var(--yes);color:var(--on-yes)}.badge.no{background:var(--no);color:#fff}.bar{display:block;width:58px;height:4px;border-radius:4px;background:var(--no-soft);overflow:hidden}.bar span{display:block;height:100%;background:var(--yes)}label,.label{font-size:13px;font-weight:700;color:var(--muted)}input,select,textarea{width:100%;min-height:48px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface-2);padding:10px 14px}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--yes)}textarea{resize:vertical}.segmented{display:grid;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:4px}.segmented button{min-height:42px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:700}.segmented button[aria-pressed=true]{background:var(--yes);color:var(--on-yes);font-weight:800}.infotip{position:relative;display:inline-flex;vertical-align:middle}.infotip-btn{background:none;border:0;padding:2px;color:var(--muted);display:inline-flex;min-width:24px;min-height:24px;align-items:center;justify-content:center}.infotip-pop{position:absolute;z-index:20;top:26px;inset-inline-start:-8px;width:min(260px,70vw);background:var(--text);color:var(--bg);font-size:12.5px;font-weight:500;line-height:1.45;padding:10px 12px;border-radius:10px;box-shadow:0 6px 24px #0000004d}.auth{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.auth-card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px}.auth-head{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;margin-bottom:6px}.auth-head h1{margin:0;font-family:var(--display);font-size:24px}.featured{display:flex;flex-direction:column;gap:14px}.q{margin:0;font-family:var(--display);font-weight:600;font-size:19px;line-height:1.3}.q-lg{margin:0;font-family:var(--display);font-weight:600;font-size:23px;line-height:1.28;letter-spacing:-.01em}.mrow{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);color:var(--text)}.mrow-q{display:block;font-weight:600;line-height:1.35;margin-bottom:4px}.mrow-p{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:58px}.prow{display:flex;flex-direction:column;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--text)}.chart{width:100%;height:auto}.chart-grid{stroke:var(--line);stroke-width:1}.chart-label{fill:var(--muted);font-size:11px;font-family:var(--mono)}.chart-area{fill:var(--yes);fill-opacity:.12}.chart-line{fill:none;stroke:var(--yes);stroke-width:2.4;stroke-linejoin:round}.chart-dot{fill:var(--yes);stroke:var(--bg);stroke-width:2}.rules{display:flex;flex-direction:column;gap:10px;margin:0}.rules dt{font-size:12px;font-weight:700;color:var(--muted)}.rules dd{margin:2px 0 0;line-height:1.45;white-space:pre-line}.side{min-height:52px;border-radius:12px;border:2px solid transparent;font-weight:800;font-size:16px}.side.yes{background:var(--yes-soft);color:var(--yes-text)}.side.no{background:var(--no-soft);color:var(--no-text)}.side.yes.on{border-color:var(--yes)}.side.no.on{border-color:var(--no)}.amount{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--surface-2);border:1px solid var(--line-2);border-radius:12px;padding:0 14px}.amount input{border:0;background:transparent;padding:0;min-height:56px;font-family:var(--mono);font-size:24px;font-weight:600}.kv{display:grid;grid-template-columns:1fr auto;row-gap:8px;column-gap:12px;margin:0}.kv dt{color:var(--muted);display:flex;align-items:center;gap:2px}.kv dd{margin:0;text-align:end}.mini{background:var(--surface-2);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:4px}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#04081499;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:560px;background:var(--surface);border-radius:26px 26px 0 0;border-top:1px solid var(--line-2);padding:12px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px;animation:rise .22s ease-out}.sheet h2{margin:0;font-family:var(--display);font-size:20px}.sheet-handle{align-self:center;width:44px;height:5px;border-radius:5px;background:var(--line-2)}.confirm-head{display:flex;align-items:center;gap:12px;border-radius:16px;padding:14px}.confirm-head.yes{background:var(--yes-soft)}.confirm-head.no{background:var(--no-soft)}.confirm-badge{min-width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-family:var(--display);font-weight:700;padding:0 8px}.yes .confirm-badge{background:var(--yes);color:var(--on-yes)}.no .confirm-badge{background:var(--no);color:#fff}@keyframes rise{0%{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}.comment{display:flex;gap:10px}.comment.reply{margin-inline-start:44px;margin-top:10px}.avatar{flex:0 0 auto;width:34px;height:34px;border-radius:999px;background:var(--line-2);display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--yes-text)}.comment-body{margin:0;line-height:1.45;overflow-wrap:anywhere}.board{width:100%;border-collapse:collapse}.board th{text-align:start;font-size:12px;color:var(--muted);font-weight:600;padding:8px 4px}.board td{padding:12px 4px;border-top:1px solid var(--line)}.board .num{text-align:end}.board tr.me td{background:var(--yes-soft)}.mebar{position:sticky;bottom:calc(88px + env(safe-area-inset-bottom));display:flex;gap:12px;align-items:center;background:var(--yes);color:var(--on-yes);border-radius:14px;padding:12px 14px;font-weight:700}.spinner{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 0;color:var(--muted)}.spin-a,.spin-b{transform-origin:50px 50px;animation:spin 1.1s ease-in-out infinite}.spin-b{animation-direction:reverse}@keyframes spin{50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spin-a,.spin-b,.sheet{animation:none}}
