:root{--brand: #0a58a5;--brand-bright: #1b8bea;--bg: #f3f5f8;--surface: #ffffff;--surface-2: #eef1f5;--border: #d9dee6;--text: #121417;--muted: #5f6774;--primary: var(--brand);--primary-hover: #0c66c0;--primary-text: #ffffff;--success: #1f9d61;--warn: #c7860b;--danger: #d6323f;--card-face-bg: #ffffff;--shadow: 0 1px 2px rgba(18, 20, 23, .06), 0 8px 24px rgba(18, 20, 23, .06);--radius: 10px;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #0f1117;--surface: #181b24;--surface-2: #20242f;--border: #2b3040;--text: #e6e8ef;--muted: #8b91a5;--primary: var(--brand-bright);--primary-hover: #4aa3f3;--success: #3ec88b;--warn: #f0b64c;--danger: #ef5b6b;--card-face-bg: #181b24;--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);color-scheme:dark}}:root[data-theme=dark]{--bg: #0f1117;--surface: #181b24;--surface-2: #20242f;--border: #2b3040;--text: #e6e8ef;--muted: #8b91a5;--primary: var(--brand-bright);--primary-hover: #4aa3f3;--success: #3ec88b;--warn: #f0b64c;--danger: #ef5b6b;--card-face-bg: #181b24;--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Barlow,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:15.5px;line-height:1.45;transition:background .2s,color .2s}h1,h2,h3{margin:0 0 .5rem;font-weight:700;letter-spacing:-.01em}h1{font-size:1.4rem}h2{font-size:1.15rem}a{color:var(--primary);text-decoration:none}pre{white-space:pre-wrap;font-family:inherit}.muted{color:var(--muted)}.error{color:var(--danger)}.small-text{font-size:.85rem}.grow{flex:1}.center{min-height:100%;display:flex;align-items:center;justify-content:center;padding:1rem}.login-bg{background:radial-gradient(900px 500px at 10% -10%,color-mix(in srgb,var(--brand-bright) 18%,transparent),transparent 60%),radial-gradient(700px 400px at 100% 110%,color-mix(in srgb,var(--brand) 16%,transparent),transparent 60%),var(--bg)}.brand-link{color:var(--text);display:inline-flex}.brand-mark{display:inline-flex;align-items:center;gap:.45rem;font-weight:800;letter-spacing:-.02em;line-height:1;white-space:nowrap}.brand-name{font-size:1.15rem;color:var(--text)}.brand-tag{background:var(--brand-bright);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:.22rem .4rem;border-radius:3px;text-transform:uppercase}.brand-app{font-weight:500;color:var(--muted);font-size:1rem;padding-left:.55rem;border-left:1px solid var(--border)}.brand-mark.large{justify-content:center;margin-bottom:.5rem}.brand-mark.large .brand-name{font-size:1.7rem}.brand-mark.large .brand-tag{font-size:.95rem;padding:.3rem .5rem}.brand-mark.large .brand-app{font-size:1.3rem}.layout{min-height:100%;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 1.25rem;background:var(--surface);border-bottom:1px solid var(--border);border-top:3px solid var(--brand-bright)}.topbar-right{display:flex;align-items:center;gap:.6rem}.user-name{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{flex:1;padding:1.25rem;display:flex;flex-direction:column}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow)}.login-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:.75rem;text-align:center}.form{display:flex;flex-direction:column;gap:.75rem}.form label{display:flex;flex-direction:column;gap:.3rem;font-size:.9rem;color:var(--muted)}input,select,textarea{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:.5rem .65rem}input:focus,select:focus,textarea:focus{outline:2px solid var(--primary);outline-offset:-1px}select.small{padding:.3rem .5rem;font-size:.85rem}.checkbox{flex-direction:row!important;align-items:center;gap:.5rem!important;color:var(--text)!important}.row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.row.end{justify-content:flex-end}.btn{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:.5rem .9rem;border-radius:8px;display:inline-flex;align-items:center;gap:.4rem;transition:background .15s,border-color .15s}.btn:hover:not(:disabled){border-color:var(--primary)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}.btn.icon{font-size:1rem;width:2rem;justify-content:center}.btn.primary:hover:not(:disabled){background:var(--primary-hover)}.btn.ghost{background:transparent;border-color:transparent}.btn.ghost:hover:not(:disabled){background:var(--surface-2)}.btn.ghost.active{background:var(--surface-2);border-color:var(--border)}.btn.small{padding:.3rem .6rem;font-size:.85rem}.btn.big{padding:.8rem 1.2rem;font-size:1.05rem;justify-content:center}.btn.danger{color:var(--danger)}.chip{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;padding:.15rem .5rem;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);white-space:nowrap}.chip.label{color:var(--text)}.chip.estimate.synced{color:var(--success);border-color:var(--success)}.chip.estimate.unsynced,.chip.warn{color:var(--warn);border-color:var(--warn)}.home{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:1.25rem;max-width:1100px;width:100%;margin:0 auto}@media (max-width: 800px){.home{grid-template-columns:1fr}}.jira-status{margin-top:1rem;font-size:.85rem}.room-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.room-list li{display:flex;align-items:center;gap:.5rem}.room-link{flex:1;display:flex;flex-direction:column;padding:.65rem .85rem;border-radius:8px;background:var(--surface-2);color:var(--text);border:1px solid transparent}.room-link:hover{border-color:var(--primary)}.room-link .muted{font-size:.8rem}.room{flex:1;display:grid;grid-template-columns:340px 1fr;gap:1.25rem;min-height:0}@media (max-width: 900px){.room{grid-template-columns:1fr}}.sidebar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 90px)}.sidebar-header{padding:1rem 1rem .5rem}.sidebar-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-actions{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem 1rem;border-bottom:1px solid var(--border);align-items:center}.sidebar-footer{padding:.6rem 1rem;border-top:1px solid var(--border)}.issue-list{flex:1;overflow-y:auto;padding:.5rem}.issue-filter{display:flex;gap:.25rem;padding:.25rem .5rem .5rem}.tab{font:inherit;font-size:.8rem;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:6px;padding:.25rem .5rem;cursor:pointer}.tab.active{background:var(--surface-2);color:var(--text);border-color:var(--border)}.issue-list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}.issue-item{padding:.55rem .7rem;border-radius:8px;border:1px solid transparent;background:var(--surface-2);cursor:pointer;display:flex;flex-direction:column;gap:.3rem}.issue-item:hover{border-color:var(--border)}.issue-item.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}.issue-item.done{opacity:.7}.issue-item.dragging{opacity:.4}.issue-main{display:flex;gap:.5rem;align-items:baseline}.issue-key{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;color:var(--primary);white-space:nowrap}.issue-key.big{font-size:.95rem}.issue-summary{font-size:.9rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.issue-meta{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;min-height:1.4rem}.main-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.5rem;display:flex;flex-direction:column;min-height:0;overflow-y:auto}.empty{margin:auto;text-align:center;display:flex;flex-direction:column;gap:.5rem;align-items:center}.voting{display:flex;flex-direction:column;gap:1.25rem}.issue-header h2{font-size:1.4rem;margin:.2rem 0 .5rem}.issue-tags{display:flex;flex-wrap:wrap;gap:.35rem}.description-text{margin:.5rem 0 0;padding:.75rem 1rem;background:var(--surface-2);border-radius:8px;font-size:.9rem;max-height:300px;overflow-y:auto}.participants{display:flex;flex-wrap:wrap;gap:1rem;padding:1rem;background:var(--surface-2);border-radius:var(--radius);min-height:120px;align-items:flex-start}.participant{display:flex;flex-direction:column;align-items:center;gap:.35rem;width:80px}.participant.offline{opacity:.45}.participant-name{font-size:.8rem;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.card-face{width:52px;height:72px;border-radius:8px;border:2px dashed var(--border);display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;color:var(--muted);transition:all .25s}.card-face.voted{border-style:solid;border-color:var(--primary);background:var(--primary);color:var(--primary-text)}.card-face.revealed{background:var(--card-face-bg);color:var(--text);border-color:var(--success);transform:rotateY(360deg)}.stats{display:flex;flex-wrap:wrap;gap:1rem;align-items:stretch}.stat{display:flex;flex-direction:column;padding:.6rem 1rem;background:var(--surface-2);border-radius:8px;min-width:90px}.stat.consensus{border:1px solid var(--success)}.stat-label{font-size:.75rem;color:var(--muted)}.stat-value{font-size:1.3rem;font-weight:700}.distribution{display:flex;gap:.6rem;align-items:flex-end;height:70px;padding:0 .5rem}.bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;width:36px;position:relative}.bar-fill{width:100%;background:var(--primary);border-radius:4px 4px 0 0;min-height:4px}.bar-label{font-size:.75rem;margin-top:.2rem}.bar-count{position:absolute;top:-1.1rem;font-size:.7rem;color:var(--muted)}.deck{display:flex;flex-wrap:wrap;gap:.6rem}.poker-card{font:inherit;font-size:1.3rem;font-weight:700;width:64px;height:92px;border-radius:10px;border:2px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;transition:transform .12s,border-color .12s,background .12s}.poker-card:hover{transform:translateY(-4px);border-color:var(--primary)}.poker-card.selected{background:var(--primary);border-color:var(--primary);color:var(--primary-text);transform:translateY(-8px)}.controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding-top:.75rem;border-top:1px solid var(--border)}.finalize{display:flex;gap:.5rem;align-items:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a14288c;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;width:100%;max-width:760px;max-height:90vh;display:flex;flex-direction:column;gap:.75rem}.modal-header{display:flex;justify-content:space-between;align-items:center}.preview-list{overflow-y:auto;display:flex;flex-direction:column;gap:.25rem;max-height:45vh}.preview-item{display:flex;align-items:center;gap:.6rem;padding:.4rem .5rem;border-radius:6px;font-size:.9rem;cursor:pointer}.preview-item:hover{background:var(--surface-2)}.toast{position:fixed;bottom:1.5rem;left:50%;transform:translate(-50%);background:var(--surface);border:1px solid var(--border);padding:.7rem 1.1rem;border-radius:8px;box-shadow:0 8px 30px #0006;z-index:60;max-width:90vw}
