:root{color-scheme:light;--bg: #f4f5f7;--surface: #ffffff;--surface-muted: #f8fafc;--surface-board: #f1f2f4;--surface-strong: #ffffff;--text: #17202a;--muted: #647080;--muted-2: #94a3b8;--primary: #3b82f6;--secondary: #8b5cf6;--accent: #06b6d4;--accent-strong: #2563eb;--danger: #b42318;--warm: #f59e0b;--border: #d8dee7;--border-soft: #e5eaf1;--focus: rgba(59, 130, 246, .22);--shadow: 0 10px 28px rgba(15, 23, 42, .08);font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--text);background:var(--bg)}button,input,select{font:inherit}button,select{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.6}a{color:var(--accent-strong);font-weight:700}.shell{display:grid;grid-template-columns:minmax(0,1fr);min-height:100vh;background:var(--bg)}.dashboard-notice{position:fixed;z-index:20;right:24px;bottom:24px;max-width:min(420px,calc(100vw - 32px));margin:0;padding:12px 16px;border-radius:8px;border:1px solid var(--border);background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;box-shadow:var(--shadow);line-height:1.45}.sidebar{height:100vh;overflow-y:auto;padding:24px 16px;border-right:1px solid var(--border);background:var(--surface)}.board-workspace{min-width:0;height:100vh;display:flex;flex-direction:column;gap:16px;padding:20px;overflow:hidden}.report-detail-modal{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0f172a8a}.report-detail-dialog{position:relative;width:min(1180px,100%);max-height:min(920px,calc(100vh - 48px));overflow-y:auto;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:0 24px 80px #0f172a47}.report-detail-dialog .content{height:auto;min-height:0;padding:24px;overflow:visible;border-left:0}.report-detail-dialog .topbar{position:sticky;top:0;z-index:12;margin:-24px -24px 18px;padding:24px;border-bottom:1px solid var(--border);background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.report-detail-title{min-width:0}.report-detail-title h2{overflow-wrap:anywhere}.report-detail-dialog .topbar-actions{flex-shrink:0}.modal-close-button{display:grid;width:40px;height:40px;place-items:center;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.modal-close-button:hover:not(:disabled){border-color:#3b82f666;background:var(--surface-muted)}.board-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.board-title{min-width:0}.board-session{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.board-toolbar{display:grid;grid-template-columns:minmax(240px,380px) 1fr;align-items:end;gap:14px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.board-toolbar-search-only{grid-template-columns:minmax(240px,540px) auto;justify-content:start}.board-search-field{min-width:0}.search-submit-button{min-height:44px;align-self:end;padding:0 16px;border-radius:8px;border:1px solid transparent;background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;font-weight:800;box-shadow:0 10px 24px #3b82f638}.search-submit-button:hover:not(:disabled){box-shadow:0 12px 28px #3b82f64d}.sidebar-head{margin-bottom:18px}.report-filters{display:grid;gap:14px;margin-bottom:18px}.report-search-field{display:grid;gap:8px}.report-search-field span{font-size:14px;font-weight:800}.eyebrow{margin:0;font-size:12px;font-weight:800;color:var(--muted)}h1,h2,h3{margin:6px 0 0;letter-spacing:0}h1{font-size:28px;line-height:1.1;color:var(--text)}h2{font-size:24px;line-height:1.2;color:var(--text)}h3{font-size:15px}.report-list,.meta-grid{display:grid;gap:10px}.report-board{min-height:0;flex:1;display:grid;grid-auto-columns:minmax(260px,300px);grid-auto-flow:column;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}.report-loading-state{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;gap:14px;padding:32px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted)}.report-loading-state strong{display:block;color:var(--text)}.report-loading-state p{margin:4px 0 0}.loading-spinner{width:28px;height:28px;flex:0 0 auto;border:3px solid var(--border-soft);border-top-color:var(--primary);border-radius:50%;animation:loading-spin .8s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}.board-column{min-height:0;display:flex;flex-direction:column;border-radius:8px;background:var(--surface-board);border:1px solid var(--border-soft)}.board-column-head{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid var(--border-soft)}.board-column-head h3{margin:0;color:#334155;font-size:13px;font-weight:850;text-transform:uppercase}.board-count{display:inline-grid;min-width:24px;height:24px;place-items:center;padding:0 7px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:850}.board-card-list{min-height:0;display:grid;align-content:start;gap:10px;padding:10px;overflow-y:auto}.board-column-empty{margin:0;padding:18px 10px;border:1px dashed var(--border);border-radius:8px;color:var(--muted);text-align:center;font-size:13px;line-height:1.45}.report-card{width:100%;padding:12px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;box-shadow:0 1px 2px #0f172a14}.report-card:hover,.report-card[data-active=true]{border-color:#3b82f68a;box-shadow:0 0 0 3px var(--focus)}.report-card-select{width:100%;display:grid;gap:8px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.report-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.report-card-title{min-width:0;overflow-wrap:anywhere;font-weight:800;line-height:1.3}.report-card-context{color:var(--muted);font-size:13px;line-height:1.4;overflow-wrap:anywhere}.report-card-meta{display:block;color:var(--muted);font-size:13px;line-height:1.45}.report-card-signals{display:flex;flex-wrap:wrap;gap:6px}.report-card-signals span,.jira-key{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:6px;background:var(--surface-muted);border:1px solid var(--border-soft);color:#475569;font-size:12px;font-weight:750;line-height:1}.jira-key{justify-self:start;color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.status-chip{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.status-chip[data-status=new]{color:#92400e;background:#fef3c7}.status-chip[data-status=in-progress]{color:#1d4ed8;background:#dbeafe}.status-chip[data-status=done]{color:#166534;background:#dcfce7}.status-chip[data-status=trash]{color:var(--danger);background:#fee2e2}.status-chip[data-status=archive]{color:#475569;background:#e2e8f0}.report-status-chip{flex-shrink:0}.content{height:100vh;padding:24px;overflow-y:auto;border-left:1px solid var(--border);background:var(--surface)}.topbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px}.topbar-actions,.session-actions{display:flex;align-items:center;gap:10px}.session-user{display:inline-flex;align-items:center;min-height:40px;max-width:520px;padding:0 12px;border-radius:8px;background:var(--surface);border:1px solid var(--border);color:var(--muted);overflow-wrap:anywhere}.session-button,.icon-button,.menu-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.session-button{padding:0 12px}.generate-description-button{border-color:transparent;background:linear-gradient(100deg,var(--primary),var(--secondary));color:#fff;box-shadow:0 12px 30px #3b82f63d}.session-button.generate-description-button:hover:not(:disabled){border-color:transparent;background:linear-gradient(100deg,#2563eb,#7c3aed);color:#fff;box-shadow:0 16px 38px #3b82f657}.generate-description-button.is-generated:disabled{border-color:#bbf7d0;background:#f0fdf4;color:#166534;box-shadow:none;opacity:1}.session-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.menu-button:hover:not(:disabled){border-color:#3b82f666;background:var(--surface-muted);box-shadow:0 18px 48px #3b82f62e}.icon-button{width:40px}.report-settings{position:relative}.settings-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:10;width:min(240px,calc(100vw - 48px));display:grid;gap:8px;padding:8px;border-radius:8px;border:1px solid var(--border);background:var(--surface-strong);box-shadow:var(--shadow)}.status-field select{min-width:160px;width:100%;min-height:40px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.menu-button{width:100%;padding:0 12px;justify-content:flex-start}.menu-button-danger{color:var(--danger);background:#fff7f7}.confirmation-backdrop{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0f172a7a}.confirmation-dialog{width:min(440px,100%);display:grid;gap:16px;padding:24px;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.confirmation-dialog h3{margin:0;font-size:20px}.confirmation-actions{display:flex;justify-content:flex-end;gap:10px}.confirmation-danger{border-color:var(--danger);background:linear-gradient(90deg,#ef4444,#f59e0b);color:#fff}.session-button.confirmation-danger:hover:not(:disabled){border-color:var(--danger);background:linear-gradient(90deg,#dc2626,#f97316);color:#fff;box-shadow:0 18px 48px #ef44442e}.panel{border-radius:8px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);padding:16px}.meta-grid{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.player-panel{margin-top:14px}.player-host{min-height:420px;overflow-x:hidden;display:flex;align-items:center;justify-content:center}.player-host .rr-player:fullscreen{width:100vw;height:100vh;background:var(--surface)}.player-host .rr-player:fullscreen .rr-player__frame{width:100%!important;height:calc(100% - 80px)!important}.player-host .rr-player:-webkit-full-screen{width:100vw;height:100vh;background:var(--surface)}.player-host .rr-player:-webkit-full-screen .rr-player__frame{width:100%!important;height:calc(100% - 80px)!important}.empty-state{color:var(--muted);text-align:center;line-height:1.6}.key-values{display:grid;gap:10px;margin:0}.key-value-row{display:grid;grid-template-columns:minmax(110px,150px) 1fr;gap:12px}.key-values dt{color:var(--muted);font-weight:800}.key-values dd{margin:0;min-width:0;overflow-wrap:anywhere}.body-copy{margin:0;color:var(--muted);line-height:1.65}.jira-panel-actions{display:flex;margin-top:12px}.bug-description-panel{overflow:hidden;border-color:#3b82f63d;background:radial-gradient(circle at top right,rgba(139,92,246,.08),transparent 34%),var(--surface)}.bug-description-toggle{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);text-align:left}.bug-description-toggle:hover{color:var(--accent-strong)}.bug-description-heading{min-width:0}.bug-description-chevron{flex-shrink:0;transition:transform .16s ease}.bug-description-toggle[aria-expanded=true] .bug-description-chevron{transform:rotate(180deg)}.bug-description-toggle[aria-expanded=true]{padding-bottom:14px;border-bottom:1px solid var(--border-soft)}.bug-description-toggle h3,.bug-description-grid h4,.bug-description-summary h4{margin:0}.bug-description-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.bug-description-badges span,.bug-description-badges time{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:800;text-transform:capitalize}.bug-description-summary{margin-top:16px;padding:16px;border:1px solid #ddd6fe;border-radius:8px;background:linear-gradient(120deg,#eff6ff,#f5f3ff)}.bug-description-summary p{margin:7px 0 0;font-size:18px;font-weight:800;line-height:1.45}.bug-description-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.bug-description-grid article{min-width:0;padding:14px;border:1px solid var(--border-soft);border-radius:8px;background:#f8fafcc7}.bug-description-grid p,.bug-description-grid ol,.bug-description-grid ul{margin:8px 0 0;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.bug-description-grid ol,.bug-description-grid ul{padding-left:20px}.bug-description-grid li+li{margin-top:5px}.log-box{margin:0;max-height:320px;overflow:auto;padding:12px;border-radius:8px;background:var(--surface-muted);border:1px solid var(--border);color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.auth-shell,.loading-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(520px,100%);display:grid;gap:22px;padding:28px;border-radius:8px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.auth-form{display:grid;gap:14px}.field{display:grid;gap:8px}.field span{font-size:14px;font-weight:800}input:not([type=checkbox]):not([type=radio]){width:100%;min-height:44px;padding:0 12px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text)}input::placeholder{color:var(--muted-2)}input:focus,select:focus,button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.password-input-wrap{position:relative;display:block}.password-input-wrap input{padding-right:48px}.password-toggle{position:absolute;top:50%;right:4px;transform:translateY(-50%);display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted)}.password-toggle:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.password-toggle svg{pointer-events:none}.password-rules{display:grid;gap:4px;margin:0;padding-left:18px;color:var(--muted);font-size:13px;font-weight:650;line-height:1.35}.submit-button{min-height:44px;padding:0 16px;border:0;border-radius:8px;background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;box-shadow:0 18px 42px #3b82f642}.submit-button:hover:not(:disabled){box-shadow:0 18px 48px #3b82f657}.form-error{margin:0;padding:10px 12px;border-radius:8px;border:1px solid #fecaca;background:#fee2e2;color:var(--danger);line-height:1.45}.business-choice-list{display:grid;gap:10px}.business-choice-button{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);color:var(--text);text-align:left}.business-choice-button:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus)}.business-choice-button strong,.business-choice-button span{overflow-wrap:anywhere}.business-choice-button span{color:var(--muted);font-size:13px;font-weight:700}.dashboard-error{margin-bottom:14px}.auth-link-row{margin:0;color:var(--muted)}@media (max-width: 1100px){.shell{grid-template-columns:1fr}.topbar{align-items:stretch;flex-direction:column}.topbar-actions{flex-wrap:wrap}}@media (max-width: 860px){.board-topbar,.board-session{align-items:stretch;flex-direction:column}.board-session{width:100%}.board-toolbar,.meta-grid{grid-template-columns:1fr}.bug-description-toggle{grid-template-columns:minmax(0,1fr) auto}.bug-description-badges{grid-column:1 / -1;grid-row:2;justify-content:flex-start}.bug-description-chevron{grid-column:2;grid-row:1}.bug-description-grid{grid-template-columns:1fr}}@media (max-width: 640px){.content,.sidebar,.board-workspace{padding:16px}.report-detail-modal{padding:10px}.report-detail-dialog{max-height:calc(100vh - 20px)}.report-detail-dialog .content{padding:16px}.report-detail-dialog .topbar{margin:-16px -16px 18px;padding:16px}.topbar-actions,.session-actions{width:100%}.session-actions{align-items:stretch;flex-direction:column}.session-button,.status-field,.status-field select,.report-settings{width:100%}.key-value-row{grid-template-columns:1fr}}
