:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#f6f8fb;--surface:#fff;--surface-soft:#eef2f7;--text:#111827;--muted:#667085;--border:#dfe6ef;--accent:#0f8bff;--accent-strong:#075ed6;--danger:#e5484d;--success:#168a4a;--shadow:0 18px 48px #11182714;background:#f6f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{color:#f8fafc;--bg:#09111f;--surface:#111a27;--surface-soft:#182433;--text:#f8fafc;--muted:#99a7bb;--border:#263447;--accent:#22d3ee;--accent-strong:#67e8f9;--shadow:0 18px 48px #00000047;background:#09111f}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-width:320px;min-height:100vh;color:var(--text);background:var(--bg);margin:0}button,input,textarea,select{font:inherit}button{border:0}a{color:inherit}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}h1,h2,p{margin:0}.page-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.brand-mark{color:var(--text);letter-spacing:0;align-items:center;gap:9px;font-weight:820;display:inline-flex}.brand-mark span{color:#fff;background:#111827;border-radius:8px;place-items:center;width:32px;height:32px;font-size:19px;font-weight:860;display:grid}.brand-mark.compact strong{display:none}.brand-mark.compact span{width:40px;height:40px}.auth-panel,.editor-main-card,.share-panel,.empty-workspace{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.auth-panel{gap:24px;width:min(100%,440px);padding:26px;display:grid}.auth-copy{gap:10px;display:grid}.auth-copy h1{letter-spacing:0;max-width:11ch;font-size:clamp(34px,7vw,52px);line-height:.96}.auth-copy p,.section-head p,.empty-workspace p{color:var(--muted);font-size:15px;line-height:1.45}.stack-form,.settings-grid,.question-form{gap:14px;display:grid}label,.sheet-talks legend{color:var(--muted);text-transform:uppercase;gap:7px;font-size:12px;font-weight:760;line-height:1.3;display:grid}input,textarea,select{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:8px;outline:none}input,select{height:44px;padding:0 12px;font-size:14px}textarea{resize:vertical;min-height:102px;padding:12px;font-size:15px;line-height:1.45}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)}.primary-button,.secondary-button,.text-button,.icon-button,.theme-button,.admin-actions button{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:44px;font-size:14px;font-weight:780;text-decoration:none;display:inline-flex}.primary-button{color:#fff;background:#111827;padding:0 18px}.primary-button:disabled{cursor:wait;opacity:.62}.secondary-button,.icon-button,.theme-button,.admin-actions button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.secondary-button{padding:0 14px}.text-button{min-height:34px;color:var(--accent-strong);background:0 0;padding:0}.icon-button,.theme-button{width:42px;padding:0}.icon-button.danger{color:var(--danger)}.notice{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:8px;padding:12px 14px;font-size:14px;line-height:1.35}.notice.error{border-color:color-mix(in srgb, var(--danger) 30%, var(--border));color:var(--danger);background:color-mix(in srgb, var(--danger) 8%, var(--surface))}.notice.success{border-color:color-mix(in srgb, var(--success) 32%, var(--border));color:var(--success);background:color-mix(in srgb, var(--success) 8%, var(--surface))}.owner-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.owner-sidebar{border-right:1px solid var(--border);background:var(--surface);grid-template-rows:auto minmax(0,1fr) auto;height:100vh;padding:18px;display:grid;position:sticky;top:0}.sidebar-top,.section-head,.account-row,.public-topbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.event-nav{align-content:start;gap:8px;margin-top:24px;display:grid;overflow:auto}.event-nav button{border:1px solid var(--border);background:var(--surface);width:100%;min-height:68px;color:var(--text);text-align:left;cursor:pointer;border-radius:8px;gap:4px;padding:12px;display:grid}.event-nav button.selected{border-color:#111827;box-shadow:inset 0 0 0 1px #111827}.event-nav strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.2;overflow:hidden}.event-nav span,.account-row,.share-panel code,.admin-question-card small{color:var(--muted);font-size:12px}.account-row{padding-top:14px}.account-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.account-row button{color:var(--accent-strong);cursor:pointer;background:0 0;font-size:12px;font-weight:760}.owner-main{padding:24px}.empty-workspace{gap:16px;max-width:560px;padding:28px;display:grid}.empty-workspace h1,.section-head h1{font-size:clamp(28px,4vw,42px);line-height:1}.editor-grid{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:16px;display:grid}.editor-main-card,.share-panel{gap:18px;padding:20px;display:grid}.section-head.compact h2,.share-panel h2{font-size:20px;line-height:1.1}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wide-field,.form-actions{grid-column:1/-1}.color-field{grid-template-columns:48px 1fr;gap:8px;display:grid}.color-field input[type=color]{padding:3px}.form-actions{justify-content:flex-end;display:flex}.share-panel{position:sticky;top:24px}.share-panel img{border:1px solid var(--border);background:#fff;border-radius:8px;width:192px;height:192px}.share-panel code{overflow-wrap:anywhere;line-height:1.35}.talk-editor,.question-admin{grid-column:1/-1}.talk-list-editor,.question-admin-list{gap:10px;display:grid}.talk-edit-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:34px minmax(170px,1.2fr) minmax(160px,1fr) minmax(140px,.8fr) 42px;align-items:end;gap:10px;padding:12px;display:grid}.row-number{background:var(--surface);width:30px;height:30px;color:var(--muted);border-radius:8px;place-items:center;font-size:12px;font-weight:820;display:grid}.admin-question-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:14px;display:grid}.admin-question-card span,.question-meta span{color:var(--accent-strong);font-size:12px;font-weight:780;line-height:1.2}.admin-question-card p{margin-top:6px;font-size:15px;line-height:1.42}.admin-question-card small{margin-top:7px;display:block}.admin-actions{flex-wrap:wrap;gap:6px;display:flex}.admin-actions button{background:var(--surface-soft);min-height:34px;padding:0 10px;font-size:12px}.public-shell{width:min(100%,560px);min-height:100vh;padding:max(18px, env(safe-area-inset-top)) 16px calc(94px + env(safe-area-inset-bottom));--accent:var(--event-accent,#0f8bff);--accent-strong:var(--event-accent,#0f8bff);margin:0 auto}.public-topbar{grid-template-columns:auto minmax(0,1fr) 42px;margin-bottom:16px;display:grid}.event-meta{text-align:right;gap:2px;min-width:0;display:grid}.event-meta strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:820;line-height:1.2;overflow:hidden}.event-meta span{color:var(--muted);font-size:12px;line-height:1.2}.public-intro{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;gap:14px;margin-bottom:14px;padding:18px;display:grid}.public-intro p{color:var(--muted);font-size:16px;line-height:1.42}.public-intro .primary-button,.question-form .primary-button{width:100%}.talk-rail{scrollbar-width:none;scroll-snap-type:x proximity;gap:8px;margin:0 -16px 12px;padding:0 16px 4px;display:flex;overflow-x:auto}.talk-rail::-webkit-scrollbar{display:none}.talk-rail button{border:1px solid var(--border);background:var(--surface);min-height:62px;color:var(--text);text-align:left;scroll-snap-align:start;border-radius:8px;flex:0 0 154px;gap:5px;padding:10px 11px;display:grid}.talk-rail button:first-child{flex-basis:104px}.talk-rail button.selected{color:#fff;background:#111827;border-color:#111827}.talk-rail strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.18;display:-webkit-box;overflow:hidden}.talk-rail small{color:inherit;opacity:.72;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.2;overflow:hidden}.question-filters{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px;padding:4px;display:grid}.question-filters button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;font-size:13px;font-weight:760}.question-filters button.active{background:var(--surface);color:var(--text);box-shadow:0 5px 18px #11182714}.public-questions{gap:10px;display:grid}.question-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:14px;display:grid}.vote-stack{align-content:start;justify-items:center;gap:2px;display:grid}.vote-stack button{background:var(--surface-soft);color:#8793a5;cursor:pointer;border-radius:8px;place-items:center;width:36px;height:32px;display:grid}.vote-stack button.active{background:color-mix(in srgb, var(--accent) 18%, transparent);color:var(--accent-strong)}.vote-stack strong{min-height:26px;color:var(--text);font-size:16px;font-weight:840;line-height:26px}.question-body{min-width:0}.question-meta{justify-content:space-between;gap:8px;margin-bottom:8px;display:flex}mark{color:#166534;background:#dcfce7;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:760}.question-body p{color:var(--text);overflow-wrap:anywhere;font-size:16px;line-height:1.42}.question-body footer{color:var(--muted);justify-content:space-between;gap:12px;margin-top:12px;font-size:12px;display:flex}.empty-list{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:8px;padding:28px 18px}.footer-cta{right:12px;bottom:max(12px, env(safe-area-inset-bottom));z-index:20;border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:min(100% - 24px,536px);min-height:52px;margin:0 auto;padding:10px 12px;text-decoration:none;display:flex;position:fixed;left:12px;box-shadow:0 18px 48px #11182729}.footer-cta span{min-width:0;color:var(--text);font-size:13px;font-weight:780;line-height:1.2}.footer-cta strong{color:var(--accent-strong);flex:none;font-size:12px;font-weight:820}.modal-backdrop{z-index:40;padding:18px 12px max(12px, env(safe-area-inset-bottom));background:#05091180;align-items:end;display:grid;position:fixed;inset:0}.question-sheet{overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(100%,536px);max-height:min(88vh,720px);margin:0 auto;padding:8px 14px 14px;animation:.18s cubic-bezier(.22,1,.36,1) sheet-in;overflow:auto;box-shadow:0 22px 70px #00000042}@keyframes sheet-in{0%{opacity:.88;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.sheet-handle{background:var(--border);border-radius:999px;width:42px;height:4px;margin:0 auto 12px}.sheet-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.sheet-head h2{font-size:22px;line-height:1.1}.sheet-talks{border:0;gap:7px;min-width:0;margin:0;padding:0;display:grid}.sheet-talk-option{border:1px solid var(--border);background:var(--surface);text-transform:none;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:9px 10px;display:grid}.sheet-talk-option input{width:18px;height:18px;accent-color:var(--accent);margin:0}.sheet-talk-option span{gap:3px;min-width:0;display:grid}.sheet-talk-option strong{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.18;display:-webkit-box;overflow:hidden}.sheet-talk-option small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.22;overflow:hidden}@media (width<=900px){.owner-shell{grid-template-columns:1fr}.owner-sidebar{border-right:0;border-bottom:1px solid var(--border);height:auto;position:static}.event-nav{margin-top:14px;display:flex;overflow-x:auto}.event-nav button{flex:0 0 220px}.account-row{display:none}.editor-grid{grid-template-columns:1fr}.share-panel{position:static}.talk-edit-row{grid-template-columns:30px minmax(0,1fr) 42px}.talk-edit-row label:nth-of-type(2),.talk-edit-row label:nth-of-type(3){grid-column:2/-1}}@media (width<=620px){.owner-main{padding:16px}.settings-grid{grid-template-columns:1fr}.section-head{flex-direction:column;align-items:flex-start}.admin-question-card{grid-template-columns:1fr}}
