:root { color-scheme: dark; --bg:#10191f; --sidebar:#0d161c; --surface:#162229; --surface2:#1b2a32; --hover:#21333c; --line:#293a43; --text:#e9f0f2; --muted:#94a8b2; --green:#79dfb9; --green-soft:#1d3b32; --danger:#ffaaa1; --shadow:0 24px 80px #0005; }
:root[data-theme=light] { color-scheme:light; --bg:#f5f7f7; --sidebar:#fff; --surface:#fff; --surface2:#edf2f2; --hover:#e5eded; --line:#d6e0e2; --text:#172c36; --muted:#607780; --green:#237858; --green-soft:#ddf2e8; --danger:#b43939; --shadow:0 24px 80px #183c371a; }
* { box-sizing:border-box; }
body { margin:0; font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:var(--bg); color:var(--text); }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.5; }
a { color:inherit; text-decoration:none; }
button { color:inherit; }
button:focus-visible,a:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
h1,h2,h3,p { margin:0; }
h1 { font-size:32px; line-height:1.2; font-weight:650; letter-spacing:-1.2px; }
h2 { font-size:18px; line-height:1.4; letter-spacing:-.35px; font-weight:600; }
h3 { font-size:14px; font-weight:600; }
small { font-size:12px; }
.icon { width:20px; height:20px; flex-shrink:0; vertical-align:middle; }
.muted { color:var(--muted); }
.eyebrow { display:block; color:var(--green); font-size:10px; letter-spacing:2px; font-weight:650; margin-bottom:13px; }
.brand { display:flex; align-items:center; gap:10px; font-size:30px; font-weight:750; letter-spacing:-1.4px; }
.brand>.icon { color:#0e2820; background:#79dfb9; padding:7px; width:37px; height:37px; border-radius:11px; }
.brand-dot { color:var(--green); }
.primary,.secondary,.danger { display:inline-flex; justify-content:center; align-items:center; gap:9px; min-height:42px; padding:10px 17px; border-radius:8px; border:1px solid transparent; font-size:13px; font-weight:600; white-space:nowrap; transition:background .15s,transform .15s; }
.primary { background:var(--green); color:var(--bg); }
.primary:hover { filter:brightness(1.08); transform:translateY(-1px); }
.secondary { background:var(--surface); border-color:var(--line); }
.secondary:hover { background:var(--hover); }
.danger { background:#b74742; color:#fff; }
.text-button,.danger-text { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; background:none; color:var(--green); padding:8px 0; font-size:12px; font-weight:600; }
.text-button:hover { text-decoration:underline; }
.danger-text { color:var(--danger); }
.icon-button { border:0; background:transparent; display:inline-flex; justify-content:center; align-items:center; width:32px; height:32px; padding:6px; border-radius:6px; color:var(--muted); flex-shrink:0; }
.icon-button:hover { background:var(--hover); color:var(--text); }
.small-button { min-height:32px; padding:5px 12px; font-size:12px; }
.full { width:100%; }
label { display:flex; flex-direction:column; gap:8px; font-size:12px; font-weight:550; }
input,textarea,select { width:100%; background:var(--bg); color:var(--text); border:1px solid var(--line); border-radius:7px; outline:none; padding:11px 12px; font-size:13px; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:.65; }
input:focus,textarea:focus,select:focus { border-color:var(--green); box-shadow:0 0 0 3px #79dfb914; }
input:disabled,textarea:disabled,select:disabled { opacity:.65; }
input[type=checkbox] { width:17px; height:17px; accent-color:var(--green); flex-shrink:0; }
textarea { resize:vertical; }
form { display:flex; flex-direction:column; gap:18px; }
.form-error { color:var(--danger); font-size:13px; }
.form-error:empty { display:none; }
.form-intro { color:var(--muted); font-size:13px; margin-bottom:2px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.auth-layout { display:grid; grid-template-columns:1.05fr 1fr; min-height:100vh; }
.auth-story { padding:42px 54px 28px; background:radial-gradient(ellipse at 20% 42%,#183c35 0%,#112823 38%,#101f22 75%); display:flex; flex-direction:column; position:relative; overflow:hidden; color:#e8f1ee; }
.auth-story:after { content:''; position:absolute; width:520px; height:520px; border:1px solid #79dfb90b; border-radius:50%; right:-240px; bottom:-220px; box-shadow:0 0 0 65px #79dfb904,0 0 0 130px #79dfb903; pointer-events:none; }
.story-content { margin:auto 0; padding:70px 0; position:relative; z-index:1; }
.story-content h1 { font-size:clamp(38px,4.1vw,60px); letter-spacing:-2.5px; line-height:1.15; font-weight:600; margin-top:27px; }
.story-content h1 em { font-style:normal; color:#79dfb9; }
.story-content>p { color:#a2bcb4; line-height:1.8; font-size:15px; margin-top:26px; }
.live-dot,.online-dot { display:inline-block; width:6px; height:6px; background:var(--green); border-radius:50%; flex-shrink:0; }
.live-dot { margin-right:8px; box-shadow:0 0 0 4px #79dfb911; }
.story-cards { display:flex; flex-direction:column; gap:13px; margin-top:42px; max-width:390px; }
.story-cards>div { display:flex; gap:12px; align-items:center; font-size:12px; color:#c3d8d0; }
.story-cards>div>.icon:first-child { color:#79dfb9; width:17px; height:17px; }
.story-cards>div>.icon:last-child { margin-left:auto; color:#60897b; width:14px; height:14px; }
.story-footer { display:flex; justify-content:space-between; color:#6c9082; font-size:10px; gap:20px; }
.story-footer span:last-child { letter-spacing:1.5px; font-size:8px; }
.auth-panel { padding:50px; display:flex; align-items:center; justify-content:center; position:relative; }
.login-box { width:100%; max-width:370px; }
.auth-symbol { display:flex; justify-content:center; align-items:center; width:46px; height:46px; border:1px solid var(--line); background:var(--surface); border-radius:13px; margin-bottom:29px; color:var(--green); }
.login-box h2 { font-size:30px; font-weight:600; letter-spacing:-1px; }
.login-box>.muted { margin-top:10px; font-size:13px; }
.login-box form { margin-top:32px; gap:20px; }
.login-box input { height:46px; }
.login-box .primary { height:46px; margin-top:4px; }
.password-field { position:relative; }
.password-field input { padding-right:65px; }
.password-field button { position:absolute; top:1px; right:1px; bottom:1px; background:transparent; border:0; color:var(--muted); font-size:11px; padding:0 14px; }
.login-help { display:flex; gap:11px; padding-top:24px; margin-top:28px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; line-height:1.7; }
.login-help>.icon { width:17px; margin-top:3px; }
.bootstrap-note { color:var(--muted); font-size:10px; margin-top:22px; opacity:.8; }
.auth-footer { position:absolute; bottom:27px; left:20px; right:20px; display:flex; gap:7px; justify-content:center; align-items:center; font-size:9px; color:var(--muted); }
.auth-footer>.icon { width:12px; height:12px; }
.password-screen { min-height:100vh; display:grid; place-items:center; padding:40px 24px; background:radial-gradient(ellipse at 50% 0%,var(--green-soft),var(--bg) 65%); }
.password-screen .brand { margin-bottom:42px; }
.password-screen .text-button { margin-top:20px; }
.workspace { display:flex; min-height:100vh; }
.sidebar { position:fixed; inset:0 auto 0 0; width:228px; padding:28px 18px 14px; background:var(--sidebar); border-right:1px solid var(--line); display:flex; flex-direction:column; z-index:5; }
.sidebar .brand { padding:0 12px; font-size:27px; }
.sidebar .brand>.icon { width:32px; height:32px; padding:6px; border-radius:9px; }
.workspace-label { display:flex; align-items:center; gap:10px; padding:18px 10px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:28px 0; font-size:11px; font-weight:600; }
.workspace-label small { display:block; font-size:10px; color:var(--muted); font-weight:400; margin-top:2px; }
.workspace-label .online-dot { margin-left:auto; width:5px; height:5px; }
.workspace-icon { width:30px; height:30px; border:1px solid var(--line); border-radius:8px; display:grid; place-items:center; color:var(--muted); }
.nav-heading { display:block; color:#6d8490; font-size:8px; letter-spacing:1.6px; margin:0 12px 12px; font-weight:650; }
.nav-item { display:flex; align-items:center; gap:11px; width:100%; height:42px; margin:4px 0; padding:0 12px; background:transparent; border:1px solid transparent; border-radius:7px; color:var(--muted); font-size:12px; text-align:left; }
.nav-item>.icon { width:17px; height:17px; }
.nav-item:hover { background:var(--surface); }
.nav-item.active { background:var(--green-soft); color:var(--green); border-color:#79dfb90a; font-weight:600; }
.nav-count { margin-left:auto; background:#79dfb918; border-radius:4px; font-size:10px; min-width:20px; text-align:center; }
.administration { margin-top:30px; }
.sidebar-bottom { margin-top:auto; padding-top:30px; }
.account { border-top:1px solid var(--line); padding-top:18px; margin-top:14px; display:flex; gap:9px; align-items:center; }
.account>div { min-width:0; flex:1; }
.account strong { display:block; font-size:11px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.account small { font-size:10px; color:var(--muted); }
.avatar { display:inline-grid; place-items:center; width:33px; height:33px; background:var(--green-soft); color:var(--green); font-size:11px; font-weight:600; border:1px solid #79dfb915; border-radius:50%; flex-shrink:0; }
.avatar.small { width:28px; height:28px; font-size:9px; }
.avatar.tiny { width:23px; height:23px; font-size:8px; }
.avatar.large { width:52px; height:52px; font-size:17px; }
.avatar-stack { display:flex; align-items:center; padding-left:5px; font-size:10px; }
.avatar-stack .avatar { margin-left:-5px; border:2px solid var(--surface); }
.avatar-stack .avatar:nth-child(2n) { background:#2c314a; color:#c9bffa; }
.avatar-stack .avatar:nth-child(3n) { background:#363b2d; color:#d7d8a0; }
.main-shell { margin-left:228px; min-width:0; flex:1; display:flex; flex-direction:column; }
.topbar { height:71px; border-bottom:1px solid var(--line); display:flex; align-items:center; padding:0 36px; gap:14px; }
.breadcrumb { font-size:11px; color:var(--muted); }
.breadcrumb span { padding:0 13px; color:#4b6572; }
.breadcrumb strong { color:var(--text); font-weight:500; }
.topbar-right { margin-left:auto; display:flex; align-items:center; gap:7px; font-size:10px; color:var(--muted); }
.topbar-right .avatar { margin-left:16px; }
main#main { padding:35px 36px 44px; outline:none; max-width:1800px; width:100%; margin:0 auto; flex:1; animation:appear .2s ease; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:29px; }
.page-heading .eyebrow { font-size:8px; letter-spacing:1.8px; margin-bottom:10px; }
.page-heading h1 { font-size:29px; }
.page-heading p { margin-top:10px; font-size:12px; }
.heading-actions { display:flex; gap:10px; flex-shrink:0; }
.stats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:33px; }
.stat { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:20px 22px; position:relative; }
.stat>.icon { position:absolute; right:20px; top:20px; color:var(--muted); width:18px; height:18px; }
.stat>span { display:block; color:var(--muted); font-size:11px; padding-right:22px; }
.stat strong { display:block; margin-top:14px; font-size:30px; font-weight:600; line-height:1.2; }
.stat strong small { display:inline-block; margin-left:11px; color:var(--muted); font-size:10px; font-weight:400; letter-spacing:0; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.section-heading h2 { display:flex; align-items:center; gap:8px; font-size:15px; }
.section-heading>.muted { font-size:10px; }
.count { display:inline-block; font-size:10px; color:var(--muted); background:var(--surface2); padding:2px 7px; border:1px solid var(--line); border-radius:5px; font-weight:500; }
.projects-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; }
.project-card { background:var(--surface); border:1px solid var(--line); border-radius:11px; padding:23px; transition:border-color .2s,transform .2s; min-width:0; }
.project-card:hover { border-color:#506c64; transform:translateY(-2px); }
.project-card-top { display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.project-card-top .badge { margin-left:auto; }
.project-symbol { display:inline-flex; justify-content:center; align-items:center; width:39px; height:39px; background:var(--green-soft); color:var(--green); border-radius:10px; flex-shrink:0; }
.project-card h2 { overflow-wrap:anywhere; }
.project-card>p { color:var(--muted); font-size:12px; margin-top:9px; min-height:36px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.project-facts { display:flex; gap:20px; color:var(--muted); font-size:11px; margin-top:25px; }
.project-facts>span { display:flex; align-items:center; gap:6px; }
.project-facts .icon { width:14px; height:14px; }
.project-card-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }
.badge { display:inline-flex; align-items:center; padding:3px 8px; background:var(--surface2); color:var(--muted); border:1px solid var(--line); font-size:9px; border-radius:5px; white-space:nowrap; }
.badge.green { color:var(--green); background:var(--green-soft); border-color:transparent; }
.empty-panel { background:linear-gradient(145deg,var(--surface),var(--bg)); border:1px dashed var(--line); border-radius:12px; }
.empty-state { padding:48px 20px 51px; display:flex; align-items:center; flex-direction:column; text-align:center; }
.empty-art { position:relative; width:78px; height:78px; display:grid; place-items:center; margin-bottom:25px; background:var(--surface2); border-radius:21px; border:1px solid var(--line); transform:rotate(-5deg); }
.empty-art>.icon { width:33px; height:33px; color:var(--green); transform:rotate(5deg); }
.spark { position:absolute; border-radius:50%; background:var(--green); }
.spark.one { width:5px; height:5px; top:4px; right:-17px; opacity:.7; }
.spark.two { width:3px; height:3px; bottom:6px; left:-19px; opacity:.4; }
.empty-state h2 { font-size:19px; margin-bottom:10px; }
.empty-state p { max-width:450px; color:var(--muted); font-size:12px; line-height:1.9; }
.empty-state button { margin-top:24px; }
.compact .empty-state { padding:30px; }
.info-strip { display:flex; gap:13px; align-items:center; border:1px solid var(--line); border-radius:8px; padding:17px 20px; margin-top:25px; background:var(--surface); }
.info-strip>.icon { color:var(--green); width:18px; height:18px; }
.info-strip strong { display:block; font-size:11px; font-weight:550; margin-bottom:3px; }
.info-strip p { color:var(--muted); font-size:10px; }
.workspace-footer { display:flex; justify-content:space-between; padding:0 36px 20px; color:#657f8b; font-size:9px; }
.project-toolbar { display:flex; align-items:center; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--line); margin-bottom:24px; flex-wrap:wrap; }
.inline-field { display:flex; flex-direction:row; align-items:center; gap:12px; color:var(--muted); font-size:11px; }
.inline-field select { background:var(--surface); width:auto; max-width:300px; padding:9px 34px 9px 12px; }
.toolbar-spacer { flex:1; }
.sprint-overview { display:flex; align-items:center; justify-content:space-between; gap:25px; background:var(--surface); border:1px solid var(--line); padding:20px 22px; border-radius:10px; margin-bottom:24px; }
.sprint-overview strong { display:inline-block; margin-left:10px; font-size:13px; }
.sprint-overview p { margin-top:8px; font-size:11px; color:var(--muted); }
.sprint-progress { width:230px; flex-shrink:0; }
.sprint-progress span { color:var(--muted); font-size:10px; }
.sprint-progress small { color:var(--muted); font-size:9px; }
progress { display:block; appearance:none; border:0; border-radius:10px; overflow:hidden; width:100%; height:5px; background:var(--line); margin:8px 0; }
progress::-webkit-progress-bar { background:var(--line); border-radius:10px; }
progress::-webkit-progress-value { background:var(--green); border-radius:10px; transition:width .3s; }
progress::-moz-progress-bar { background:var(--green); border-radius:10px; }
.filters { display:flex; align-items:center; gap:10px; margin-bottom:25px; }
.filters select { max-width:195px; width:auto; background:var(--surface); font-size:11px; padding:10px; }
.search-field { position:relative; width:230px; }
.search-field>.icon { position:absolute; top:11px; left:11px; width:15px; height:15px; color:var(--muted); }
.search-field input { padding-left:34px; font-size:11px; background:var(--surface); }
.filter-count { color:var(--muted); font-size:10px; margin-left:auto; white-space:nowrap; }
.board { display:grid; grid-template-columns:repeat(4,minmax(215px,1fr)); gap:15px; overflow-x:auto; padding-bottom:15px; min-height:310px; }
.board-column { min-width:0; border:1px solid var(--line); background:color-mix(in srgb,var(--surface) 70%,transparent); border-radius:9px; }
.column-title { display:flex; align-items:center; gap:8px; padding:14px 12px; }
.column-title h2 { font-size:11px; font-weight:600; letter-spacing:0; }
.column-title>.icon-button { margin-left:auto; width:20px; height:20px; padding:2px; }
.column-title>.count { font-size:9px; border:0; }
.state-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#92a8b4; flex-shrink:0; }
.state-dot.doing { background:#85bafa; }.state-dot.review { background:#b7a4ef; }.state-dot.done { background:var(--green); }
.card-list { padding:0 9px 12px; min-height:260px; border-radius:8px; transition:background .2s; }
.column-empty { color:var(--muted); opacity:.5; text-align:center; padding:22px 0; font-size:10px; pointer-events:none; }
.task-card { position:relative; background:var(--surface2); border:1px solid var(--line); border-radius:7px; margin-bottom:9px; box-shadow:0 2px 3px #0001; transition:opacity .15s,border-color .15s; }
.task-card:hover { border-color:#56716b; }
.task-card[draggable=true] { cursor:grab; }
.task-open { width:100%; text-align:left; border:0; background:transparent; padding:14px 12px 12px; cursor:inherit; }
.task-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:11px; }
.task-id { color:var(--muted); font-size:9px; font-variant-numeric:tabular-nums; }
.priority { display:inline-flex; align-items:center; gap:4px; font-size:9px; }.priority>span { width:4px; height:4px; background:currentColor; border-radius:50%; }
.priority.high { color:#e8a29a; }.priority.medium { color:#d0b875; }.priority.low { color:#8ebbb0; }
.task-card h3 { font-size:12px; line-height:1.65; font-weight:550; overflow-wrap:anywhere; }
.task-card p { font-size:10px; color:var(--muted); line-height:1.6; margin-top:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.task-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid var(--line); margin-top:14px; padding-top:11px; }
.task-assignee { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:9px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.task-assignee>.icon { width:14px; height:14px; }
.points { flex-shrink:0; color:var(--muted); font-size:9px; background:var(--bg); padding:2px 5px; border-radius:3px; }
.dragging { opacity:.3; border-style:dashed; }.drop-target { background:#79dfb911; }.insert-before:before { content:''; position:absolute; left:0; right:0; height:3px; background:var(--green); top:-6px; border-radius:3px; }
.backlog-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:15px; }
.backlog-card { margin:0; }
.sprint-list { display:flex; flex-direction:column; gap:15px; }
.sprint-card { display:flex; align-items:center; gap:22px; background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:23px; }
.sprint-info { flex:1; min-width:0; }.sprint-info h2 { margin-top:8px; }.sprint-info p { color:var(--muted); font-size:12px; margin-top:5px; }.sprint-info small { display:flex; gap:7px; align-items:center; color:var(--muted); font-size:10px; margin-top:12px; }.sprint-info .icon { width:13px; height:13px; }
.sprint-card-progress { width:140px; }.sprint-card-progress strong { font-size:22px; font-weight:550; }.sprint-card-progress span { display:block; font-size:10px; color:var(--muted); }
.sprint-actions { display:flex; flex-direction:column; gap:8px; margin-left:12px; }
.report-panel { background:var(--surface); padding:25px; border:1px solid var(--line); border-radius:10px; }.report-panel h2 { margin-bottom:30px; font-size:16px; }.report-row { display:flex; align-items:center; gap:25px; padding:15px 0; font-size:12px; }.report-row>span { width:120px; flex-shrink:0; }.report-row .state-dot { margin-right:10px; }.report-row progress { flex:1; height:8px; }.report-row strong { min-width:24px; text-align:right; }
.team-summary { display:flex; align-items:center; gap:16px; margin-bottom:22px; font-size:11px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
table { width:100%; border-collapse:collapse; min-width:730px; text-align:left; }
th { padding:14px 18px; font-size:10px; color:var(--muted); font-weight:500; background:var(--surface2); }
td { padding:18px; border-top:1px solid var(--line); font-size:11px; }td:nth-child(4) { max-width:240px; }
.person-cell { display:flex; align-items:center; gap:10px; }.person-cell strong { font-size:11px; font-weight:550; }
.status-label { color:var(--muted); font-size:10px; display:inline-flex; align-items:center; gap:7px; }.status-label:before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }.status-label.active-status { color:var(--green); }
.role-admin { color:#c9bffa; }.role-pm { color:#94bcf6; }.role-analyst { color:#e4c788; }.role-executor { color:#9ccfbb; }
.role-guide { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:32px; }.role-guide>div { padding:15px 0; }.role-guide .icon { color:var(--muted); width:18px; height:18px; margin-bottom:13px; }.role-guide h3 { font-size:12px; margin-bottom:6px; }.role-guide p { font-size:11px; color:var(--muted); line-height:1.8; }
.settings-panel { max-width:760px; background:var(--surface); padding:28px; border:1px solid var(--line); border-radius:10px; }.settings-panel .person-cell { gap:18px; margin-bottom:25px; }.settings-panel hr { border:0; border-top:1px solid var(--line); }.setting-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; }.setting-row p { color:var(--muted); font-size:12px; margin-top:4px; }.setting-row input { width:18px; height:18px; }
dialog { color:var(--text); background:var(--surface); width:480px; max-width:calc(100vw - 32px); max-height:90vh; border:1px solid var(--line); border-radius:14px; padding:26px; box-shadow:var(--shadow); }
dialog.wide { width:620px; }dialog::backdrop { background:#071017b8; backdrop-filter:blur(5px); }
.dialog-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }.dialog-header h2 { font-size:20px; }.dialog-footer { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:8px; padding-top:20px; border-top:1px solid var(--line); }
.dialog-footer .primary,.dialog-footer .secondary,.dialog-footer .danger { min-height:39px; font-size:12px; }
.confirm-description { color:var(--muted); line-height:1.8; margin-bottom:20px; font-size:13px; }
fieldset { border:1px solid var(--line); border-radius:8px; padding:18px; }legend { font-size:12px; padding:0 8px; }fieldset>p { font-size:11px; margin-bottom:17px; }.member-group { margin:16px 0 0; }.member-group h3 { font-size:11px; color:var(--muted); margin-bottom:9px; }.member-option { display:flex; flex-direction:row; align-items:center; gap:10px; padding:8px; margin:4px 0; border:1px solid var(--line); border-radius:7px; font-size:12px; cursor:pointer; }.member-option:has(:checked) { background:var(--green-soft); border-color:#79dfb950; }.member-option small { display:block; font-size:10px; font-weight:400; color:var(--muted); }.small-text { font-size:11px; }.check-label { display:flex; flex-direction:row; align-items:center; gap:9px; }
#toast { position:fixed; bottom:25px; left:50%; transform:translate(-50%,20px); opacity:0; background:var(--green-soft); border:1px solid var(--green); color:var(--text); padding:13px 22px; border-radius:9px; font-size:12px; max-width:calc(100vw - 40px); z-index:50; pointer-events:none; box-shadow:var(--shadow); transition:opacity .2s,transform .2s; }#toast.show { opacity:1; transform:translate(-50%,0); }#toast.error { background:var(--surface); border-color:var(--danger); color:var(--danger); }
.loading { min-height:100vh; display:grid; place-items:center; color:var(--green); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mobile-menu { display:none; }
@keyframes appear { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
:root[data-motion=off] *, :root[data-motion=off] *:before { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
@media(prefers-reduced-motion:reduce) { *,*:before { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media(min-width:1600px) { .auth-story { padding:60px 80px 35px; }.story-content h1 { font-size:70px; }.story-content>p { font-size:17px; }.story-cards { margin-top:55px; gap:20px; }.story-cards>div { font-size:14px; } }
@media(max-width:1150px) { .sidebar { width:200px; padding-left:12px; padding-right:12px; }.main-shell { margin-left:200px; }main#main { padding:30px 24px; }.topbar { padding:0 24px; }.stat { padding:18px; }.stat strong small { display:block; margin:7px 0 0; }.filters { flex-wrap:wrap; }.sprint-card { gap:14px; }.sprint-card-progress { width:100px; }.auth-story { padding:35px; }.auth-panel { padding:40px; }.story-content h1 { font-size:45px; }.role-guide { gap:18px; } }
@media(max-width:800px) { .auth-layout { grid-template-columns:1fr; }.auth-story { padding:25px; }.story-content { padding:38px 0 0; }.story-content h1 { font-size:35px; line-height:1.2; letter-spacing:-1px; margin:12px 0; }.story-content h1 br { display:none; }.story-content h1 em { display:block; }.story-content>p,.story-cards,.story-footer { display:none; }.auth-panel { padding:42px 25px 75px; }.login-box { max-width:420px; }.auth-symbol { display:none; }.auth-footer { bottom:20px; }.sidebar { width:210px; transform:translateX(-100%); box-shadow:var(--shadow); transition:transform .2s; top:60px; }.sidebar.mobile-open { transform:translateX(0); }.main-shell { margin-left:0; }.mobile-menu { display:inline-flex; }.topbar { height:60px; padding:0 18px; }.topbar-right>span:not(.avatar) { display:none; }main#main { padding:27px 20px; }.page-heading { align-items:flex-start; }.page-heading h1 { font-size:26px; }.page-heading p { font-size:11px; }.heading-actions .primary { font-size:11px; padding:10px 12px; }.stats-grid { gap:10px; }.stat { padding:16px; }.stat>.icon { right:12px; top:15px; width:14px; }.stat>span { font-size:10px; }.stat strong { font-size:26px; }.section-heading>.muted { display:none; }.workspace-footer { padding:0 20px 16px; }.sprint-overview { align-items:flex-start; }.sprint-progress { width:170px; }.role-guide { grid-template-columns:1fr 1fr; }.sprint-card { flex-wrap:wrap; }.sprint-actions { margin-left:auto; flex-direction:row; }.sprint-info { min-width:180px; }.project-toolbar { gap:14px; }.inline-field { flex-direction:column; align-items:flex-start; gap:5px; }.inline-field select { max-width:230px; }.filters select { max-width:180px; } }
@media(max-width:500px) { .page-heading { flex-direction:column; gap:17px; }.heading-actions { align-self:stretch; }.heading-actions .primary { width:100%; }.stats-grid { grid-template-columns:1fr; gap:8px; margin-bottom:26px; }.stat { padding:14px 17px; display:flex; align-items:center; gap:12px; }.stat>.icon { position:static; order:-1; }.stat>span { flex:1; padding:0; }.stat strong { margin:0; font-size:22px; min-width:60px; text-align:right; }.stat strong small { font-size:8px; margin-top:3px; }.projects-grid { grid-template-columns:1fr; }.empty-state { padding:40px 18px; }.empty-state h2 { font-size:17px; }.info-strip { align-items:flex-start; }.info-strip p { line-height:1.7; }.workspace-footer { font-size:8px; }.workspace-footer span:last-child { display:none; }.sprint-overview { flex-direction:column; gap:16px; }.sprint-progress { width:100%; }.filters { gap:8px; }.search-field { width:100%; }.filters select { width:calc(50% - 4px); max-width:none; font-size:10px; }.project-toolbar .secondary { min-height:34px; padding:6px 9px; font-size:10px; }.inline-field { max-width:100%; }.inline-field select { max-width:180px; }.sprint-card { padding:17px; }.sprint-card>.project-symbol { display:none; }.sprint-card-progress { width:80px; }.sprint-actions { width:100%; margin:5px 0 0; justify-content:space-between; }.team-summary { align-items:flex-start; flex-direction:column; gap:10px; }.report-row { gap:13px; }.report-row>span { width:93px; font-size:11px; }.settings-panel { padding:20px; }.setting-row { gap:15px; }.setting-row p { font-size:11px; }.setting-row .secondary { font-size:10px; padding:8px 10px; }.form-grid { grid-template-columns:1fr; gap:18px; }dialog { padding:20px; }.dialog-footer { flex-wrap:wrap; }.dialog-footer .primary,.dialog-footer .secondary { padding:9px 12px; }.auth-story .brand { font-size:25px; }.story-content .eyebrow { font-size:8px; }.story-content h1 { font-size:29px; }.login-box h2 { font-size:27px; } }

.connection-status { margin:18px 0; font-size:12px; color:var(--muted); }
.connection-status[data-status=online] { color:var(--green); }
.connection-status[data-status=offline] { color:var(--danger); }
.login-actions { margin-top:10px; }
.dependency-status { display:block; margin-top:10px; font-size:11px; line-height:1.5; }
.dependency-status.waiting { color:var(--danger); }
.dependency-status.ready { color:var(--green); }
.comment-count { display:block; margin-top:7px; font-size:11px; color:var(--muted); }
.task-dependencies { padding:14px; border:1px solid var(--line); border-radius:8px; }
.task-dependencies summary { cursor:pointer; font-size:13px; font-weight:600; }
.task-dependencies p { margin:12px 0; }
.dependency-summary { padding-left:18px; font-size:12px; overflow-wrap:anywhere; }
.dependency-summary li { margin:10px 0; }
.dependency-summary span { display:block; color:var(--muted); font-size:11px; }
.dependency-options { max-height:190px; overflow:auto; margin-top:10px; }
.dependency-option { flex-direction:row; align-items:center; padding:10px 0; gap:10px; cursor:pointer; overflow-wrap:anywhere; }
.dependency-option[hidden] { display:none; }
.dependency-option small { display:block; color:var(--muted); font-weight:400; }
.task-comments { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.task-comments>p { margin:10px 0; }
#comment-list { max-height:300px; overflow:auto; margin:15px 0; }
.task-comment { padding:12px; margin-bottom:10px; background:var(--surface2); border-radius:8px; }
.task-comment header { display:flex; flex-wrap:wrap; gap:6px 12px; justify-content:space-between; font-size:12px; }
.task-comment time { color:var(--muted); font-size:11px; }
.task-comment p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; margin-top:8px; }
#comment-form { gap:10px; }
#comment-form button { align-self:flex-end; }

.company-notice { padding:16px 20px; margin-bottom:24px; border:1px solid var(--danger); border-radius:9px; background:var(--surface); }
.company-notice p { color:var(--muted); margin-top:6px; }
.company-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:18px; }
.company-facts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:24px 0; }
.company-facts dt { color:var(--muted); }.company-facts dd { margin:0; overflow-wrap:anywhere; }
#payment-fields { display:flex; flex-direction:column; gap:16px; }
#payment-fields[hidden],#company-login-field[hidden] { display:none; }
.invitation-link { margin:20px 0; }
.audit-filters { display:flex; flex-direction:row; flex-wrap:wrap; align-items:flex-end; gap:12px; margin-bottom:22px; }
.audit-filters label { flex:1 1 150px; min-width:0; }.audit-filters .form-error { flex-basis:100%; }
.audit-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:20px; }
.table-scroll { max-width:100%; overflow:auto; }.table-scroll pre { white-space:pre-wrap; font-size:11px; }
@media(max-width:500px) { .company-facts { grid-template-columns:1fr; gap:7px; }.company-facts dd { margin-bottom:10px; }.audit-filters label { flex-basis:100%; }.company-actions .secondary { width:100%; } }

.company-owner { margin-top:18px; padding:16px; border:1px solid var(--line); border-radius:8px; background:var(--surface2); }
.company-owner h3 { font-size:13px; margin:0 0 10px; }
.company-owner p { margin:8px 0; }
.company-owner .secondary { margin-top:8px; }

.integration-guide { line-height: 1.65; margin-bottom: 24px; }
.integration-guide details { margin: 16px 0; }
.integration-guide summary { cursor: pointer; font-weight: 600; }
.integration-guide ol { padding-left: 22px; }
.integration-guide li { margin: 10px 0; }
.integration-guide code, .integration-tokens code { overflow-wrap: anywhere; }
.integration-tokens .setting-row { gap: 16px; }
#integration-secret { font-family: monospace; }

.assignee-help { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.project-card-top { flex-wrap: wrap; }
