:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100vh;background:#0a0a0a;color:#fafafa}.shell{min-height:100vh;padding:2rem;display:flex;justify-content:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border:1px solid rgba(255,255,255,.12);border-radius:.5rem;padding:.55rem 1.1rem;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .15s;background:transparent;color:#fafafa;font-family:inherit}.btn:hover{background:#ffffff0f}.btn:disabled{opacity:.35;cursor:not-allowed}.btn-primary{background:#6366f1;border-color:#6366f1;color:#fff}.btn-primary:hover{background:#4f46e5}.btn-ghost{border-color:transparent}.btn-ghost:hover{background:#ffffff0f}.btn-danger{color:#f87171;border-color:#f8717140}.btn-danger:hover{background:#f871711a}.btn-sm{padding:.35rem .75rem;font-size:.78rem}.btn-lg{width:100%;padding:.7rem;font-size:.95rem;margin-top:1rem}.btn-icon{width:2rem;height:2rem;padding:0;font-size:1.1rem;flex-shrink:0}.input{width:100%;padding:.6rem .8rem;border:1px solid rgba(255,255,255,.12);border-radius:.5rem;background:#ffffff0a;color:#fafafa;font-size:.88rem;font-family:inherit;transition:border-color .15s}.input:focus{outline:none;border-color:#6366f1}.input::placeholder{color:#ffffff4d}.label{display:flex;flex-direction:column;gap:.35rem;font-size:.82rem;font-weight:500;color:#ffffffb3}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#ffffffb3;cursor:pointer}.checkbox-label input[type=checkbox]{width:1rem;height:1rem;accent-color:#6366f1}.dashboard{width:100%;max-width:52rem}.dash-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.dash-header h1{margin:0;font-size:1.8rem;font-weight:700;letter-spacing:-.03em}.subtitle{margin:.25rem 0 0;color:#ffffff80;font-size:.88rem}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.stat-card{background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:.6rem;padding:1rem;display:flex;flex-direction:column}.stat-value{font-size:1.6rem;font-weight:700;letter-spacing:-.02em}.stat-label{font-size:.75rem;color:#ffffff73;text-transform:uppercase;letter-spacing:.08em;margin-top:.15rem}.poll-list{display:flex;flex-direction:column;gap:.75rem}.poll-card{background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:.6rem;padding:1.1rem 1.25rem;transition:border-color .15s}.poll-card:hover{border-color:#ffffff26}.poll-card-header{display:flex;gap:.4rem;margin-bottom:.5rem}.badge{display:inline-block;font-size:.65rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .5rem;border-radius:.25rem}.badge-open{background:#34d39926;color:#34d399}.badge-closed{background:#ffffff14;color:#fff6}.badge-expired{background:#f8717126;color:#f87171}.badge-timed{background:#6366f126;color:#818cf8}.badge-weight{background:#facc1526;color:#facc15}.badge-multi{background:#22d3ee26;color:#22d3ee}.poll-question{margin:0 0 .4rem;font-size:1.05rem;font-weight:600;cursor:pointer;transition:color .15s}.poll-question:hover{color:#818cf8}.poll-meta{font-size:.78rem;color:#fff6;margin:0 0 .75rem}.poll-card-preview{display:flex;flex-direction:column;gap:.3rem;margin-bottom:.75rem}.preview-row{display:flex;justify-content:space-between;align-items:center;font-size:.82rem}.preview-text{color:#fff9}.preview-pct{color:#ffffff59;font-variant-numeric:tabular-nums}.poll-card-actions{display:flex;gap:.4rem}.empty-state{text-align:center;padding:3rem 1rem;color:#ffffff59}.create-screen{width:100%;max-width:32rem}.create-screen h2{margin:0 0 1.25rem;font-size:1.3rem;font-weight:700}.back-btn{margin-bottom:.75rem}.options-section{display:flex;flex-direction:column;gap:.5rem;margin:1rem 0}.option-row{display:flex;gap:.4rem;align-items:center}.add-opt-btn{align-self:flex-start;font-size:.82rem}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}.error-banner{background:#f871711f;border:1px solid rgba(248,113,113,.25);color:#fca5a5;padding:.6rem .8rem;border-radius:.5rem;font-size:.82rem;margin-bottom:1rem}.vote-screen{width:100%;max-width:36rem}.vote-screen h2{margin:0 0 .4rem;font-size:1.3rem;font-weight:700}.vote-header{display:flex;gap:.4rem;margin-bottom:.5rem}.vote-meta{font-size:.78rem;color:#fff6;margin:0 0 1.25rem}.options-list{display:flex;flex-direction:column;gap:.6rem;margin-bottom:.5rem}.option-card{border:1px solid rgba(255,255,255,.1);border-radius:.6rem;padding:.85rem 1rem;cursor:pointer;transition:all .15s;background:#ffffff05}.option-card:hover{border-color:#fff3}.option-card.selected{border-color:#6366f1;background:#6366f114}.option-card.results{cursor:default}.option-card.results:hover{border-color:#ffffff1a}.option-top{display:flex;align-items:center;gap:.65rem}.option-check{width:1.2rem;height:1.2rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.check-circle{width:1.1rem;height:1.1rem;border:1.5px solid rgba(255,255,255,.25);border-radius:50%}.check-icon{width:1.2rem;height:1.2rem;background:#6366f1;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;color:#fff}.option-text{font-size:.92rem;font-weight:500;flex:1}.option-count{font-size:.78rem;color:#ffffff73;white-space:nowrap}.weighted-note{color:#ffffff4d}.option-bar{display:flex;align-items:center;gap:.6rem;margin-top:.55rem}.progress-track{flex:1;height:.4rem;background:#ffffff0f;border-radius:.2rem;overflow:hidden}.progress-fill{height:100%;border-radius:.2rem;transition:width .5s ease}.bar-pct{font-size:.78rem;font-weight:600;color:#ffffff8c;width:2.5rem;text-align:right;font-variant-numeric:tabular-nums}.success-banner{background:#34d3991f;border:1px solid rgba(52,211,153,.25);color:#6ee7b7;padding:.7rem 1rem;border-radius:.5rem;font-size:.88rem;text-align:center;margin-top:1rem}.info-banner{background:#6366f11a;border:1px solid rgba(99,102,241,.2);color:#a5b4fc;padding:.7rem 1rem;border-radius:.5rem;font-size:.85rem;text-align:center;margin-top:1rem}
