:root{--control-height:36px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px}:root,[data-theme=light]{--bg:#f7f8fa;--surface:#fff;--surface-2:#f1f3f6;--border:#e2e5ea;--border-strong:#cfd4dc;--text:#1b1f27;--text-muted:#646c79;--accent:#2f6fdf;--accent-hover:#255ec4;--accent-soft:#e8f0fd;--accent-contrast:#fff;--success:#1d7f47;--success-soft:#e5f5ec;--warning:#9a6200;--warning-soft:#fdf3dc;--danger:#c22f2f;--danger-soft:#fde9e9;--shadow:0 6px 24px #0f172a1a;--brand:#16a34a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#121418;--surface:#1a1d23;--surface-2:#22262e;--border:#2b3039;--border-strong:#3a414d;--text:#e5e8ed;--text-muted:#969fad;--accent:#5b92f0;--accent-hover:#74a3f3;--accent-soft:#1e2b44;--accent-contrast:#0d1117;--success:#4cc583;--success-soft:#16301f;--warning:#e5b350;--warning-soft:#352a12;--danger:#f07272;--danger-soft:#3a1c1c;--shadow:0 6px 24px #00000073;--brand:#4ade80;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1{margin:0;font-size:22px;font-weight:600}h2{margin:0;font-size:16px;font-weight:600}h3{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);align-items:center;gap:6px;margin:0 0 10px;font-size:13px;font-weight:600;display:flex}code,.mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.92em}.muted{color:var(--text-muted)}.small{font-size:12px}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row-inline{align-items:center;gap:4px;display:inline-flex}.row-between{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.layout{min-height:100vh}.topbar{z-index:10;background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:48px;padding:0 24px;display:flex;position:sticky;top:0}.logo{color:var(--text);display:inline-flex}.logo-lockup{align-items:center;gap:8px;display:inline-flex}.logo-mark{filter:drop-shadow(0 1px 2px #16a34a59);flex:none;transition:transform .2s}.logo:hover .logo-mark{transform:rotate(-8deg)scale(1.06)}.logo-word{letter-spacing:-.01em;color:var(--text);font-size:16px;font-weight:700}.logo-word-accent{color:var(--brand)}.logo:hover{text-decoration:none}.content{width:100%;min-width:0;max-width:1200px;margin:0 auto;padding:20px 24px 48px}.workspace{grid-template-columns:var(--sidebar-width,300px) minmax(0, 1fr);min-height:calc(100vh - 48px);display:grid}.workspace.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.workspace.sidebar-collapsed .sidebar{display:none}.sidebar{background:var(--surface);border-right:1px solid var(--border);height:calc(100vh - 48px);position:sticky;top:48px}.sidebar-inner{flex-direction:column;height:100%;display:flex;overflow:hidden}.sidebar-head{justify-content:space-between;align-items:center;padding:10px 10px 6px 14px;display:flex}.sidebar-title{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-size:12px;font-weight:600}.sidebar-title:hover{color:var(--text);text-decoration:none}.sidebar-filter{margin:0 10px 8px;position:relative}.sidebar-filter svg{color:var(--text-muted);position:absolute;top:50%;left:8px;transform:translateY(-50%)}.sidebar-filter input{background:var(--bg);height:28px;padding:4px 8px 4px 26px;font-size:13px}.sidebar-resizer{cursor:col-resize;z-index:2;touch-action:none;width:6px;height:100%;position:absolute;top:0;right:-3px}.sidebar-resizer:hover,.sidebar-resizer:active{background:var(--accent);opacity:.35}.sidebar-backdrop{display:none}.tree{flex:1;padding:0 6px 16px;font-size:13px;overflow-y:auto}.tree-row{border-radius:6px;position:relative}.tree-item{height:28px;color:var(--text);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding-right:8px;display:flex}.tree-item:hover{background:var(--surface-2);text-decoration:none}.tree-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.tree-row.selected>.tree-item{background:var(--accent-soft);color:var(--accent)}.tree-chevron{width:18px;height:18px;color:var(--text-muted);border-radius:4px;flex:none;justify-content:center;align-items:center;transition:transform .12s;display:inline-flex}.tree-chevron:not(.leaf):hover{background:var(--border);color:var(--text)}.tree-chevron.open{transform:rotate(90deg)}.tree-icon{color:var(--text-muted);flex:none;display:inline-flex}.tree-row.selected .tree-icon{color:var(--accent)}.tree-code{color:var(--text-muted);flex:none;font-family:ui-monospace,Consolas,monospace;font-size:11px}.tree-label{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.tree-count{background:var(--surface-2);min-width:18px;color:var(--text-muted);text-align:center;border-radius:999px;flex:none;padding:0 5px;font-size:11px}.tree-action{display:none;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.tree-action .icon-btn{background:var(--surface);width:22px;height:22px}.tree-row:hover>.tree-action,.tree-row:focus-within>.tree-action{display:block}.tree-row:hover>.tree-item .tree-count,.tree-row:focus-within>.tree-item .tree-count{visibility:hidden}.tree-hint{color:var(--text-muted);margin:0;padding:4px 8px;font-size:12px}.loading{padding:24px}.page-header{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin:0 0 var(--space-5);flex-wrap:wrap;display:flex}.page-subtitle{color:var(--text-muted);margin-top:4px}.page-actions{align-items:center;gap:8px;display:flex}.breadcrumbs{color:var(--text-muted);margin-bottom:var(--space-2);align-items:center;gap:6px;font-size:13px;display:flex}.breadcrumbs a{color:var(--text-muted)}.tabs{gap:var(--space-6);border-bottom:1px solid var(--border);margin-bottom:var(--space-6);scrollbar-width:none;display:flex;overflow:auto hidden}.tab{color:var(--text-muted);white-space:nowrap;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 0}.tab:hover{color:var(--text);text-decoration:none}.tab.active{color:var(--text);border-bottom-color:var(--accent)}.btn{height:var(--control-height);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 14px;display:inline-flex}.btn:hover{background:var(--surface-2);text-decoration:none}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{background:0 0;border-color:#0000}.btn-danger{color:var(--danger)}.btn-sm{height:30px;padding:0 8px;font-size:13px}.icon-btn{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.icon-btn:disabled{opacity:.35;cursor:default}.link-btn{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.link-btn:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.field{flex-direction:column;gap:6px;display:flex}.field label,.field-label{font-size:13px;font-weight:500}input,select,textarea{width:100%;height:var(--control-height);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font:inherit;border-radius:6px;padding:0 10px}textarea{resize:vertical;height:auto;min-height:72px;padding:8px 10px}input:disabled{background:var(--surface-2);color:var(--text-muted)}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--danger)}.field-error{color:var(--danger);margin:0;font-size:12px}.field-hint{color:var(--text-muted);margin:-2px 0 0;font-size:12px}.checkbox{cursor:pointer;align-items:center;gap:8px;margin-bottom:12px;display:inline-flex}.checkbox input{width:auto;height:auto}.filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.filters select{width:auto;min-width:150px}.search-input{flex:260px;position:relative}.search-input svg{color:var(--text-muted);position:absolute;top:50%;left:10px;transform:translateY(-50%)}.search-input input{padding-left:30px}.alert{border-radius:6px;padding:10px 12px;font-size:13px}.alert-error{background:var(--danger-soft);color:var(--danger)}.alert-warning{background:var(--warning-soft);color:var(--warning)}.alert-success{background:var(--success-soft);color:var(--success)}.empty{text-align:center;color:var(--text-muted);border:1px dashed var(--border-strong);border-radius:8px;padding:40px 16px}.badge{white-space:nowrap;background:var(--surface-2);color:var(--text-muted);border-radius:999px;padding:1px 8px;font-size:12px;display:inline-block}.badge-info{background:var(--accent-soft);color:var(--accent)}.badge-success{background:var(--success-soft);color:var(--success)}.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-muted{opacity:.7}.tags{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.tag{background:var(--surface-2);color:var(--text-muted);border-radius:4px;padding:0 6px;font-size:12px}.card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.project-card{color:var(--text);flex-direction:column;gap:6px;display:flex}.project-card:hover{border-color:var(--accent);text-decoration:none}.project-card p{margin:0}.project-card-head{justify-content:space-between;align-items:center;display:flex}.project-key{color:var(--accent);font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:600}.project-card-meta{gap:12px;margin-top:auto;padding-top:6px;display:flex}.clamp{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow-x:auto}.table{border-collapse:collapse;width:100%}.table th,.table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:9px 12px}.table th{color:var(--text-muted);background:var(--surface-2);font-size:12px;font-weight:500}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:var(--surface-2)}.col-code{white-space:nowrap;width:96px;color:var(--text-muted)}.col-num{width:64px;text-align:right!important}.col-actions{white-space:nowrap;text-align:right!important}.external-link{color:var(--text-muted);vertical-align:middle;margin-left:6px}.pager{justify-content:center;align-items:center;gap:12px;margin-top:12px;display:flex}.task-description{color:var(--text-muted);max-width:800px;margin:-4px 0 16px}.case-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:20px;display:grid}.case-section{margin-bottom:20px}.case-section p{margin:0}.props{grid-template-columns:auto 1fr;gap:8px 12px;margin:0;font-size:13px;display:grid}.props dt{color:var(--text-muted)}.props dd,.props .tags{margin:0}.history ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.history ul>li{flex-direction:column;align-items:flex-start;display:flex}.version-title{font-size:18px}.steps-table td.mono-soft{font-family:ui-monospace,Consolas,monospace;font-size:13px}.case-form{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:20px;display:grid}.case-form-side{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px}.case-form-footer{background:var(--bg);border-top:1px solid var(--border);flex-direction:column;grid-column:1/-1;align-items:flex-end;gap:8px;padding:12px 0;display:flex;position:sticky;bottom:0}.steps-editor{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.step-row{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;width:100%;padding:8px;display:grid}.step-number{text-align:center;color:var(--text-muted);padding-top:8px;font-weight:600}.step-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.step-actions{flex-direction:column;display:flex}.step-field{min-width:0}.step-field-label{color:var(--text-muted);margin-bottom:4px;font-size:12px;display:none}.settings-grid{gap:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(340px,1fr));align-items:start;display:grid}.settings-card{padding:var(--space-5);gap:var(--space-4)}.settings-layout{gap:var(--space-5);grid-template-columns:minmax(0,3fr) minmax(340px,2fr);align-items:start;display:grid}.settings-side{gap:var(--space-5);flex-direction:column;display:flex}@media (width<=1100px){.settings-layout{grid-template-columns:minmax(0,1fr)}}.settings-card h3{margin:0}.invite-link{background:var(--surface-2);overflow-wrap:anywhere;border-radius:6px;padding:10px;display:block}.modal-backdrop{z-index:50;background:#0006;justify-content:center;align-items:flex-start;padding:10vh 16px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--surface);border:1px solid var(--border);width:100%;max-width:480px;box-shadow:var(--shadow);border-radius:10px;padding:20px}.modal-wide{max-width:900px}.modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.user-menu{position:relative}.user-menu-trigger{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:4px;padding:2px 4px 2px 2px;display:flex}.user-menu-trigger:hover{background:var(--surface-2)}.avatar{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.user-menu-dropdown{background:var(--surface);border:1px solid var(--border);width:240px;box-shadow:var(--shadow);border-radius:8px;padding:6px;position:absolute;top:calc(100% + 6px);right:0}.user-menu-who{flex-direction:column;padding:6px 8px 8px;display:flex;overflow:hidden}.user-menu-who span{text-overflow:ellipsis;font-size:12px;overflow:hidden}.user-menu-row{color:var(--text-muted);justify-content:space-between;align-items:center;padding:4px 8px;font-size:13px;display:flex}.menu-divider{background:var(--border);height:1px;margin:6px 0}.menu-item{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex}.menu-item:hover{background:var(--surface-2);text-decoration:none}.theme-switch{background:var(--surface-2);border-radius:6px;gap:2px;padding:2px;display:inline-flex}.theme-switch button{width:24px;height:22px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.theme-switch button:hover{color:var(--text)}.theme-switch button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #0000001f}.auth-page{justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;width:100%;max-width:380px;padding:28px}.auth-card h1{margin-bottom:16px;font-size:18px}.auth-logo{margin-bottom:20px}.auth-logo .logo-word{font-size:20px}.auth-card p{margin:0}.qr{background:#fff;border-radius:8px;align-self:center;padding:8px}.secret-details summary{cursor:pointer;color:var(--accent);font-size:13px}.secret{background:var(--surface-2);letter-spacing:.08em;overflow-wrap:anywhere;border-radius:6px;margin-top:6px;padding:8px;display:block}.recovery-codes{background:var(--surface-2);border-radius:6px;grid-template-columns:repeat(2,1fr);gap:6px;margin:0;padding:12px;list-style:none;display:grid}@media (width<=900px){.workspace,.workspace.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.sidebar,.workspace.sidebar-collapsed .sidebar{z-index:30;width:min(320px,85vw);height:auto;box-shadow:var(--shadow);transition:transform .18s;display:block;position:fixed;top:48px;bottom:0;left:0;transform:translate(-100%)}.sidebar.open{transform:none}.sidebar-resizer{display:none}.sidebar-backdrop{z-index:25;background:#00000059;display:block;position:fixed;inset:48px 0 0}}@media (width<=860px){.case-layout,.case-form,.step-fields{grid-template-columns:1fr}.step-field-label{display:block}}@media (width<=600px){.topbar,.content{padding-left:16px;padding-right:16px}.hide-mobile{display:none}.settings-grid{grid-template-columns:1fr}}.attachments{border:1px dashed #0000;border-radius:8px;margin-left:-12px;margin-right:-12px;padding:12px}.attachments.drag-over{border-color:var(--accent);background:var(--accent-soft)}.attachments h3{margin-bottom:0}.attachments-hint{margin:8px 0 0}.attachment-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:10px 0 0;padding:0;list-style:none;display:grid}.attachment{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;display:flex;position:relative;overflow:hidden}.attachment.uploading{opacity:.6}.attachment-thumb{background:var(--surface-2);height:96px;color:var(--text-muted);cursor:pointer;border:0;justify-content:center;align-items:center;padding:0;display:flex}.attachment-thumb img{object-fit:cover;width:100%;height:100%}.attachment-meta{flex-direction:column;min-width:0;padding:6px 8px;display:flex}.attachment-name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.attachment-delete{background:var(--surface);opacity:0;width:24px;height:24px;position:absolute;top:4px;right:4px}.attachment:hover .attachment-delete,.attachment-delete:focus-visible{opacity:1}.preview{justify-content:center;margin-bottom:12px;display:flex}.preview img,.preview video{border-radius:6px;max-width:100%;max-height:70vh}.api-keys{grid-column:1/-1}.api-keys h3{margin-bottom:0}.api-keys p{margin:0}.project-checks{flex-direction:column;max-height:180px;display:flex;overflow-y:auto}.project-checks .checkbox{margin-bottom:4px}.export-options{flex-direction:column;gap:8px;display:flex}.export-option{border:1px solid var(--border);color:var(--text);border-radius:8px;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.export-option:hover{border-color:var(--accent);text-decoration:none}.export-option>svg{color:var(--accent);flex:none;margin-top:2px}.export-option>span{flex-direction:column;display:flex}.import-rules{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.import-errors{margin:6px 0 0;padding-left:18px}.tab-button{font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000}.audit-actor{width:220px}.audit-date{width:150px}.audit-details{overflow-wrap:anywhere;max-width:420px}.nowrap{white-space:nowrap}.select{min-width:0;position:relative}.select-button{width:100%;height:var(--control-height);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;display:flex}.select-button:hover:not(:disabled){border-color:var(--text-muted)}.select-button:disabled{background:var(--surface-2);color:var(--text-muted);cursor:default}.select.open .select-button{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.select-value{text-overflow:ellipsis;white-space:nowrap;align-items:baseline;gap:6px;min-width:0;display:flex;overflow:hidden}.select-chevron{color:var(--text-muted);flex:none;transition:transform .15s}.select.open .select-chevron{transform:rotate(180deg)}.select-list{z-index:60;background:var(--surface);border:1px solid var(--border);min-width:100%;max-width:min(480px,90vw);max-height:280px;box-shadow:var(--shadow);border-radius:8px;margin:0;padding:4px;list-style:none;animation:.12s ease-out select-in;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto}.select-list.upward{top:auto;bottom:calc(100% + 4px)}.select-list:focus{outline:none}@keyframes select-in{0%{opacity:0;transform:translateY(-4px)}}.select-list>.select-option{color:var(--text);cursor:pointer;white-space:nowrap;border:0;border-radius:5px;justify-content:flex-start;align-items:baseline;gap:6px;margin:0;padding:6px 10px 6px 6px;display:flex}.select-list>.select-option.active{background:var(--surface-2)}.select-list>.select-option[aria-selected=true]{color:var(--accent)}.select-check{flex:none;align-self:center;width:16px;display:inline-flex}.select-prefix{color:var(--text-muted);flex:none;font-family:ui-monospace,Consolas,monospace;font-size:12px}.select-label{text-overflow:ellipsis;overflow:hidden}.filter-select{min-width:170px}.role-select{width:170px}.audit-action{min-width:200px}@media (prefers-reduced-motion:reduce){.select-list{animation:none}}.file-picker{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.file-picker-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.select-list.align-right{left:auto;right:0}:root,[data-theme=light]{--pc-red:#c53030;--pc-orange:#c25412;--pc-amber:#a06d00;--pc-green:#1f7a45;--pc-teal:#0b7d72;--pc-blue:#2563c9;--pc-indigo:#4a4fd1;--pc-violet:#7c3fc9;--pc-pink:#c02f78;--pc-gray:#5f6875}[data-theme=dark]{--pc-red:#f27b7b;--pc-orange:#f5a065;--pc-amber:#e6bb55;--pc-green:#5fd08f;--pc-teal:#4fd1c1;--pc-blue:#6ea2f5;--pc-indigo:#9a9ef7;--pc-violet:#c09af5;--pc-pink:#f387c0;--pc-gray:#a5adba}.pc-red{--project-color:var(--pc-red)}.pc-orange{--project-color:var(--pc-orange)}.pc-amber{--project-color:var(--pc-amber)}.pc-green{--project-color:var(--pc-green)}.pc-teal{--project-color:var(--pc-teal)}.pc-blue{--project-color:var(--pc-blue)}.pc-indigo{--project-color:var(--pc-indigo)}.pc-violet{--project-color:var(--pc-violet)}.pc-pink{--project-color:var(--pc-pink)}.pc-gray{--project-color:var(--pc-gray)}.tree-row.colored>.tree-item .tree-icon,.tree-row.colored>.tree-item .tree-code,.tree-row.colored>.tree-item .tree-label{color:var(--project-color)}.tree-row.colored>.tree-item .tree-code{font-weight:600}.project-card.colored{border-left:3px solid var(--project-color)}.project-card.colored .project-key,.project-card.colored .project-title{color:var(--project-color)}.project-heading .project-key{color:var(--text-muted);font-family:ui-monospace,Consolas,monospace;font-size:.8em}.project-heading.colored .project-key,.project-heading.colored .project-title,.project-crumb.colored .project-key,.project-crumb.colored .project-title{color:var(--project-color)}.project-crumb .project-key{font-family:ui-monospace,Consolas,monospace;font-size:12px}.color-picker{border:0;margin:0;padding:0}.color-picker legend{margin-bottom:6px;padding:0}.swatches{flex-wrap:wrap;gap:10px;padding:4px;display:flex}.swatch{cursor:pointer;position:relative}.swatch-dot{background:var(--project-color);width:26px;height:26px;color:var(--surface);border-radius:50%;justify-content:center;align-items:center;transition:transform .1s;display:inline-flex;box-shadow:inset 0 0 0 1px #00000014}.swatch:hover .swatch-dot{transform:scale(1.1)}.swatch-none .swatch-dot{background:var(--surface-2);color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--border-strong)}.swatch input:checked+.swatch-dot{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--project-color,var(--text-muted))}.swatch input:focus-visible+.swatch-dot{outline:2px solid var(--accent);outline-offset:4px}.color-preview{background:var(--surface-2);border-radius:6px;align-items:baseline;gap:8px;margin-top:10px;padding:6px 10px;display:inline-flex}.color-preview .project-key{color:var(--text-muted)}.color-preview.colored .project-key,.color-preview.colored .project-title{color:var(--project-color)}.color-preview .project-title{font-weight:600}.archive-banner{border:1px solid var(--border-strong);border-left:3px solid var(--warning);background:var(--warning-soft);color:var(--text);border-radius:8px;align-items:center;gap:12px;margin-bottom:16px;padding:10px 14px;display:flex}.archive-banner>svg{color:var(--warning);flex:none}.archive-banner-text{flex-direction:column;flex:1;min-width:0;font-size:13px;display:flex}.archive-banner-text span{color:var(--text-muted)}.archive-rules{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.archive-settings p{margin:0}.project-card.archived{opacity:.75}.badge svg{vertical-align:-1px;margin-right:2px}@media (width<=600px){.archive-banner{flex-wrap:wrap}}.table-fixed{table-layout:fixed;min-width:820px}.table-fixed th,.table-fixed td{overflow-wrap:anywhere}.table-fixed .col-code{width:84px}.table-fixed .col-task{width:88px}.table-fixed .col-priority{width:108px}.table-fixed .col-status{width:156px}.table-fixed .col-type{width:140px}.table-fixed .col-author{width:136px}.table-fixed .col-date{width:160px}.table-fixed .col-num{width:64px}.table-fixed .col-cases{width:90px}.table-tasks{min-width:640px}@media (width<=600px){.table-fixed{min-width:0}.table-fixed,.table-fixed tbody{display:block}.table-fixed thead{display:none}.table-fixed tr{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;display:flex}.table-fixed tbody tr:last-child{border-bottom:0}.table-fixed td:not(.hide-mobile){border:0;width:auto;padding:0;display:block;background:0 0!important}.table-fixed td.cell-main{flex-basis:100%;order:-1}.table-fixed td.col-num{text-align:left!important}.table-fixed td[data-label]:before{content:attr(data-label) " ";color:var(--text-muted)}.steps-table,.steps-table tbody,.steps-table tr,.steps-table td{display:block}.steps-table thead{display:none}.steps-table tr{border-bottom:1px solid var(--border);padding:10px 12px}.steps-table tbody tr:last-child{border-bottom:0}.steps-table td{border:0;width:auto;padding:0}.steps-table td+td{margin-top:8px}.steps-table td:empty{display:none}.steps-table td.col-num{font-weight:600;text-align:left!important}.steps-table td.col-num:before{content:attr(data-label) " "}.steps-table td:not(.col-num):before{content:attr(data-label);color:var(--text-muted);margin-bottom:2px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:12px;display:block}}@media (prefers-reduced-motion:reduce){.logo-mark{transition:none}}.form-fieldset{border:0;min-width:0;margin:0;padding:0}.form-fieldset:disabled .swatch{cursor:default;opacity:.6}.topbar{gap:var(--space-4)}.global-search{flex:1;max-width:560px;margin:0 auto;position:relative}.global-search-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.global-search input{border-color:var(--border);background:var(--bg);height:32px;padding:0 64px 0 32px;font-size:13px}.global-search input:focus{border-color:var(--accent);background:var(--surface)}.global-search-kbd{border:1px solid var(--border-strong);color:var(--text-muted);pointer-events:none;border-radius:4px;padding:1px 6px;font-family:inherit;font-size:11px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.global-search-panel{z-index:40;background:var(--surface);border:1px solid var(--border);max-height:min(480px,70vh);box-shadow:var(--shadow);border-radius:10px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.global-search-panel ul{margin:0;padding:0;list-style:none}.global-search-group{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);padding:8px 8px 4px;font-size:11px;font-weight:600}.global-search-hit{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:7px 8px;display:flex}.global-search-hit.active{background:var(--surface-2)}.global-search-hit-icon{color:var(--text-muted);flex:none;display:inline-flex}.global-search-hit-code{color:var(--text-muted);flex:none;font-family:ui-monospace,Consolas,monospace;font-size:12px}.global-search-hit.colored .global-search-hit-icon,.global-search-hit.colored .global-search-hit-code{color:var(--project-color)}.global-search-hit-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.global-search-hit-hint{color:var(--text-muted);flex:none;font-size:12px}.global-search-empty{color:var(--text-muted);margin:0;padding:12px 8px;font-size:13px}.global-search-footer{border-top:1px solid var(--border);color:var(--text-muted);gap:16px;margin-top:4px;padding:8px 8px 2px;font-size:11px;display:flex}@media (width<=600px){.global-search-kbd,.global-search-hit-hint,.global-search-footer{display:none}.global-search input{padding-right:10px}.logo-word{display:none}}.md{overflow-wrap:anywhere}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p,.md ul,.md ol,.md pre,.md blockquote,.md table{margin:0 0 8px}.md ul,.md ol{padding-left:20px}.md li+li{margin-top:2px}.md code{background:var(--surface-2);border-radius:4px;padding:1px 5px;font-size:.9em}.md pre{background:var(--surface-2);border-radius:6px;padding:8px 10px;overflow-x:auto}.md pre code{background:0 0;padding:0}.md blockquote{border-left:3px solid var(--border-strong);color:var(--text-muted);padding-left:10px}.md table{border-collapse:collapse}.md th,.md td{border:1px solid var(--border);padding:4px 8px}.md input[type=checkbox]{width:auto;height:auto;margin-right:4px}.md-editor{border:1px solid var(--border-strong);background:var(--surface);border-radius:6px;flex-direction:column;display:flex}.md-editor:focus-within{border-color:var(--accent)}.md-editor textarea{background:0 0;border:0;border-radius:0 0 6px 6px}.md-editor textarea:focus-visible{outline:none}.md-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:2px;padding:3px 4px;display:flex}.md-tool{width:26px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.md-tool:hover{background:var(--surface-2);color:var(--text)}.md-editor.compact .md-toolbar{display:none}.md-editor.compact:focus-within .md-toolbar{display:flex}.md-editor.compact textarea{border-radius:6px}.md-editor.compact .md-tool{width:24px}.md-preview-toggle{margin-left:auto}.md-preview-toggle.active{color:var(--accent)}.md-preview{border-top:1px dashed var(--border);background:var(--surface-2);cursor:default;border-radius:0 0 6px 6px;padding:8px 10px}.md-preview-label{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px;font-size:11px}.md-editor:not(.compact) textarea:has(+.md-preview){border-radius:0}.md-editor.compact .md-preview{display:none}.md-editor.compact:focus-within .md-preview{display:block}.md-editor.compact:focus-within textarea:has(+.md-preview){border-radius:0}
