:root{--background: #ffffff;--foreground: #18181b;--muted: #f4f4f5;--muted-foreground: #71717a;--border: #e5e7eb;--sidebar: #fbfbfb;--sidebar-transition: .22s ease-in-out;--primary: #18181b;--primary-foreground: #fafafa;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--foreground);background:var(--background)}*{box-sizing:border-box;border-color:var(--border)}body{margin:0;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button,input,select,textarea{font:inherit}.app-frame{display:flex;height:100vh;background:var(--background)}.sidebar{width:240px;display:flex;flex-direction:column;height:100%;flex-shrink:0;overflow:hidden;border-right:1px solid var(--border);background:var(--sidebar);transition:width var(--sidebar-transition)}.sidebar.collapsed{width:64px}.sidebar-header{height:56px;display:flex;align-items:center;padding:0 16px;flex-shrink:0}.icon-button,.collapse-button{width:32px;height:32px;border:0;border-radius:6px;padding:4px;background:transparent;color:#71717a;display:grid;place-items:center;flex-shrink:0;cursor:pointer}.icon-button:hover,.collapse-button:hover{background:#e4e4e7a6;color:var(--foreground)}.icon-button img{width:24px;height:24px;display:block}.brand-text{width:64px;margin-left:8px;overflow:hidden;font-size:14px;line-height:20px;font-weight:600;letter-spacing:-.025em;color:#18181b;white-space:nowrap;opacity:1;transition:all var(--sidebar-transition)}.collapse-button{margin-left:auto}.sidebar.collapsed .brand-text{opacity:0;overflow:hidden;pointer-events:none}.sidebar.collapsed .collapse-button{opacity:0;pointer-events:none}.sidebar.collapsed .user-card div:not(.avatar){opacity:0;pointer-events:none}.sidebar-nav{flex:1;display:flex;flex-direction:column;gap:4px;padding:16px 12px;overflow:auto;overflow-x:hidden}.nav-item{position:relative}.nav-link{width:100%;min-height:36px;display:flex;align-items:center;gap:0;border:0;border-radius:6px;padding:8px 12px;color:#52525b;background:transparent;text-decoration:none;cursor:pointer;transition:background .12s ease,color .12s ease}.nav-link:hover{background:#f4f4f5;color:#18181b}.nav-link.active{background:#e4e4e7bf;color:#18181b;font-weight:550}.nav-link span{margin-left:12px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity var(--sidebar-transition)}.nav-link svg{width:16px;height:16px;flex-shrink:0}.sidebar.collapsed .nav-link span{opacity:0}.collapsed-tooltip{position:absolute;left:100%;top:50%;z-index:50;transform:translateY(-50%);margin-left:8px;border-radius:4px;padding:4px 10px;background:#18181b;color:#fff;white-space:nowrap;pointer-events:none;opacity:0;font-size:12px;font-weight:650;transition:opacity .12s ease}.nav-item:hover .collapsed-tooltip{opacity:1}.sidebar-footer{border-top:1px solid var(--border);padding:12px;flex-shrink:0}.logout{margin-bottom:4px}.user-card{height:48px;display:flex;align-items:center;gap:12px;padding:0 8px}.user-card div:not(.avatar){overflow:hidden;white-space:nowrap;transition:opacity var(--sidebar-transition)}.avatar{width:32px;height:32px;border-radius:999px;flex-shrink:0;display:grid;place-items:center;background:#18181b;color:#fff;font-size:14px;font-weight:600}.user-card p{margin:0;font-size:14px;font-weight:550;color:#18181b}.user-card span{font-size:12px;color:#71717a}.content-frame{flex:1;min-width:0;overflow:auto;background:#fff}.review-profile-editor{display:flex;flex-direction:column;height:100%;min-height:0;padding:24px;background:#fff}.profile-loading{margin:auto;color:#a1a1aa;font-size:14px}.profile-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-shrink:0}.profile-topbar h2{margin:0;color:#18181b;font-size:18px;font-weight:650;letter-spacing:0}.profile-selector{max-width:min(420px,100%);border:0;border-radius:6px;padding:4px 32px 4px 8px;background-color:transparent;color:#18181b;cursor:pointer;font-size:18px;font-weight:650;outline:none}.profile-selector:hover{background-color:#f4f4f5}.profile-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.save-state{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:650}.save-state.saved{color:#059669}.save-state.dirty{color:#d97706}.profile-save-button,.profile-primary-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;padding:0 16px;background:#18181b;color:#fff;cursor:pointer;font-size:14px;font-weight:650}.profile-save-button:disabled,.profile-primary-button:disabled{cursor:not-allowed;opacity:.45}.profile-icon-button,.panel-add-button{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#71717a;cursor:pointer;text-decoration:none;transition:background .12s ease,border-color .12s ease,color .12s ease}.profile-icon-button:hover,.panel-add-button:hover{background:#fafafa;color:#18181b}.profile-icon-button.active{background:#f4f4f5;color:#18181b}.profile-icon-button.danger:hover{border-color:#fecaca;background:#fef2f2;color:#dc2626}.profile-icon-button:disabled,.profile-icon-button.disabled{cursor:not-allowed;opacity:.35}.profile-divider{width:1px;height:24px;background:#e5e7eb}.profile-empty-state{flex:1;display:grid;place-items:center;min-height:0;border:2px dashed #e5e7eb;border-radius:12px;background:#fafafa}.profile-empty-state div{text-align:center}.profile-empty-state p{margin:0 0 16px;color:#71717a;font-weight:650}.profile-panel-layout{flex:1;min-height:0;display:flex;gap:16px;overflow:hidden}.profile-panel{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 1px 2px #18181b0a}.profile-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;border-bottom:1px solid #f4f4f5;padding:12px 16px;background:#fafafa}.profile-panel-header h3{margin:0;color:#18181b;font-size:16px;font-weight:600;letter-spacing:0}.panel-add-button{width:24px;height:24px;border:0;background:transparent}.panel-add-button:hover{background:#e5e7eb}.profile-panel-body{flex:1;min-height:0;overflow-y:auto;padding:16px;background:#fafafa80}.panel-empty-text{margin:32px 0 0;text-align:center;color:#a1a1aa;font-size:14px}.profile-block-stack{display:grid;gap:12px}.profile-block-card{position:relative;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:16px;box-shadow:0 1px 2px #18181b0a}.profile-card-row{display:flex;align-items:flex-start}.profile-grip{margin:4px 12px 0 0;color:#a1a1aa;cursor:grab}.profile-grip:active{cursor:grabbing}.profile-card-content{flex:1;min-width:0;display:grid;gap:12px}.profile-card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-card-title{display:flex;align-items:center;gap:8px;min-width:0}.profile-card-title span{width:16px;color:#a1a1aa;font-size:12px;font-weight:800}.profile-card-title input{width:min(240px,100%);min-width:0;border:0;padding:0;background:transparent;color:#18181b;outline:none;font-size:14px;font-weight:650}.profile-card-delete{border:0;background:transparent;color:#a1a1aa;cursor:pointer;opacity:0;transition:opacity .12s ease,color .12s ease}.profile-block-card:hover .profile-card-delete{opacity:1}.profile-card-delete:hover{color:#dc2626}.profile-block-card textarea{width:100%;min-height:112px;max-height:384px;resize:vertical;overflow-y:auto;border:1px solid #e5e7eb;border-radius:4px;padding:8px;color:#52525b;outline:none;font-size:14px;line-height:1.45}.profile-block-card textarea:focus,.profile-output-add input:focus,.profile-output-add select:focus,.profile-max-findings input:focus{border-color:#18181b}.profile-card-options{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.profile-card-option-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-card-options select{min-height:28px;border:0;border-radius:4px;padding:0 8px;background:#f4f4f5;color:#52525b;cursor:pointer;font-size:12px}.profile-checkbox{display:inline-flex;align-items:center;gap:8px;color:#52525b;cursor:pointer}.profile-checkbox input{width:14px;height:14px;accent-color:#18181b}.profile-field-label{display:block;margin:0 0 -6px;color:#71717a;font-size:12px;font-weight:650}.profile-pill-row{display:flex;flex-wrap:wrap;gap:4px}.profile-pill{display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:4px;background:#fafafa;padding:4px 8px;cursor:pointer}.profile-pill:hover{background:#f4f4f5}.profile-pill input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.profile-pill span{color:#71717a;font-size:12px}.profile-pill span.checked{color:#2563eb;font-weight:650}.profile-muted-pill{color:#a1a1aa;font-size:12px}.profile-outputs{display:grid;gap:6px}.profile-outputs-header{display:flex;align-items:center;justify-content:space-between}.profile-outputs-header button,.profile-output-delete{border:0;border-radius:4px;background:transparent;color:#a1a1aa;cursor:pointer}.profile-outputs-header button:hover,.profile-output-delete:hover{background:#f4f4f5;color:#52525b}.profile-output-stack{display:grid;gap:4px}.profile-output-row{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e5e7eb;border-radius:4px;padding:4px 8px;background:#fafafa}.profile-output-main{min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-output-main>input{width:132px;min-width:80px;border:0;background:transparent;color:#3f3f46;outline:none;font-size:12px;font-weight:650}.profile-output-badge{border-radius:4px;padding:2px 6px;font-size:12px;font-weight:650}.profile-output-badge.findings{background:#f4f4f5;color:#52525b}.profile-output-badge.scale{background:#eff6ff;color:#1d4ed8}.profile-output-badge.pass_fail{background:#eef2ff;color:#4338ca}.profile-max-findings{display:inline-flex;align-items:center;gap:4px}.profile-max-findings span{color:#a1a1aa;font-size:10px}.profile-max-findings input{width:40px;border:1px solid #d4d4d8;border-radius:4px;padding:2px 4px;text-align:center;font-size:12px}.profile-output-add{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px}.profile-output-add input,.profile-output-add select{min-height:28px;min-width:0;border:1px solid #d4d4d8;border-radius:4px;padding:0 8px;background:#fff;color:#18181b;font-size:12px;outline:none}.profile-output-add input{flex:1}.profile-output-add button{min-height:28px;border:1px solid #e5e7eb;border-radius:4px;padding:0 8px;background:#fff;color:#52525b;cursor:pointer;font-size:12px}.profile-output-add button:first-of-type{border-color:#18181b;background:#18181b;color:#fff}.profile-output-add button:disabled{opacity:.4;cursor:not-allowed}.profile-outputs p{margin:2px 0 0;color:#a1a1aa;font-size:12px;font-style:italic}.profile-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:#18181b80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.profile-modal{width:min(448px,100%);overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 20px 60px #18181b38}.profile-modal header,.profile-modal footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px}.profile-modal header{border-bottom:1px solid #f4f4f5}.profile-modal header h3{margin:0;color:#18181b;font-size:18px;font-weight:650;letter-spacing:0}.profile-modal header button{border:0;background:transparent;color:#a1a1aa;cursor:pointer}.profile-modal-body{display:grid;gap:6px;padding:24px}.profile-modal-body label{color:#3f3f46;font-size:14px;font-weight:650}.profile-modal-body input{width:100%;min-height:40px;border:1px solid #d4d4d8;border-radius:8px;padding:0 12px;outline:none;color:#18181b;font-size:14px}.profile-modal-body input:focus{border-color:#18181b}.profile-modal-body p{margin:0;color:#52525b;font-size:14px;line-height:1.55}.profile-modal footer{justify-content:flex-end;border-top:1px solid #f4f4f5;background:#fafafa}.profile-modal-primary,.profile-modal-secondary,.profile-modal-danger{min-height:38px;border-radius:8px;padding:0 16px;cursor:pointer;font-size:14px;font-weight:650}.profile-modal-primary{border:1px solid #18181b;background:#18181b;color:#fff}.profile-modal-secondary{border:1px solid #d4d4d8;background:#fff;color:#3f3f46}.profile-modal-danger{border:1px solid #dc2626;background:#dc2626;color:#fff}.profile-modal-primary:disabled{cursor:not-allowed;opacity:.5}.profile-warning-toast{position:fixed;left:50%;bottom:32px;z-index:60;transform:translate(-50%);display:flex;align-items:center;gap:12px;border-radius:8px;padding:12px 20px;background:#18181b;color:#fff;box-shadow:0 16px 40px #18181b38}.profile-warning-toast svg:first-child{color:#fbbf24;flex-shrink:0}.profile-warning-toast span{font-size:14px;font-weight:650}.profile-warning-toast button{border:0;background:transparent;color:#a1a1aa;cursor:pointer}.spin{animation:auth-spin .85s linear infinite}.page-surface{width:min(100%,1440px);margin:0 auto;padding:48px clamp(32px,4vw,64px)}.page-surface header{max-width:720px}.page-eyebrow{margin:0 0 8px;color:#71717a;font-size:13px;font-weight:650}.page-surface h1{margin:0 0 10px;color:#18181b;font-size:32px;line-height:1.18;letter-spacing:0}.page-surface p{margin:0;color:#71717a;font-size:15px;line-height:1.6}.placeholder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:32px}.placeholder-grid div{height:144px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(180deg,#fff,#fafafa)}.management-page{max-width:1440px}.table-panel{margin-top:24px}.settings-panel,.profile-model-panel{display:grid;gap:14px;margin-top:24px;padding:16px;border:1px solid var(--border);border-radius:8px;background:#fff}.settings-panel{max-width:640px}.settings-panel label{display:grid;gap:6px;color:#52525b;font-size:13px;font-weight:650}.settings-panel input,.settings-panel select{min-height:38px;border:1px solid var(--border);border-radius:6px;padding:8px 10px;color:#18181b;background:#fff}.settings-panel .checkbox-row{grid-template-columns:16px 1fr;align-items:center;color:#18181b;font-weight:500}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.json-cell{max-width:420px;max-height:140px;overflow:auto;margin:0;white-space:pre-wrap;word-break:break-word;color:#3f3f46;font-size:12px}.profile-model-panel{grid-template-columns:minmax(140px,220px) minmax(0,1fr);align-items:start}.profile-model-panel h3{margin:0 0 4px;font-size:14px;line-height:1.4}.profile-model-panel p{margin:0;color:#71717a;font-size:12px}.profile-model-panel .settings-panel{max-width:none;margin:0;padding:0;border:0;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.profile-model-panel .settings-actions{align-items:end}.knowledge-layout{display:block}.knowledge-table-panel{min-width:0}.knowledge-table-panel .data-table th:last-child,.knowledge-table-panel .data-table td:last-child{width:1%;text-align:left;white-space:nowrap}.knowledge-table-panel .data-table td:last-child .row-actions{justify-content:flex-start;flex-wrap:nowrap}.knowledge-detail{display:grid;gap:18px}.knowledge-detail-heading{display:flex;justify-content:space-between;gap:16px}.knowledge-detail-heading h2{margin:0 0 4px;color:#18181b;font-size:18px;letter-spacing:0}.knowledge-detail-heading p,.knowledge-versions p,.form-help{margin:0;color:#71717a;font-size:13px;line-height:1.5}.file-picker{min-height:44px;display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:6px;padding:6px;background:#fff}.dialog-form .file-picker input{position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0;pointer-events:none}.dialog-form .file-picker label{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--border);border-radius:6px;padding:0 10px;background:#fafafa;color:#18181b;cursor:pointer;font-size:13px;font-weight:650;white-space:nowrap}.dialog-form .file-picker label:hover{background:#f4f4f5}.dialog-form .file-picker span{min-width:0;overflow:hidden;color:#71717a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.status-pill{height:24px;border-radius:999px;padding:3px 10px;background:#f4f4f5;color:#3f3f46;font-size:12px;font-weight:700}.knowledge-meta{display:grid;gap:8px;margin:0}.knowledge-meta div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #f4f4f5;padding-bottom:8px}.knowledge-meta dt{color:#71717a;font-size:12px;font-weight:700}.knowledge-meta dd{margin:0;color:#18181b;font-size:12px;text-align:right}.knowledge-preview{display:grid;gap:8px}.knowledge-preview-title{display:inline-flex;align-items:center;gap:6px;color:#52525b;font-size:12px;font-weight:700}.knowledge-preview pre{max-height:280px;overflow:auto;margin:0;border:1px solid #e5e7eb;border-radius:6px;padding:12px;background:#fafafa;color:#3f3f46;white-space:pre-wrap;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.knowledge-versions{display:grid;gap:8px}.knowledge-versions h3{margin:0;color:#18181b;font-size:14px;letter-spacing:0}.knowledge-version-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #f4f4f5;border-radius:6px;padding:8px;font-size:12px}.knowledge-version-row span{color:#71717a;font-weight:700}.knowledge-version-row strong{min-width:0;overflow:hidden;color:#18181b;text-overflow:ellipsis;white-space:nowrap}.knowledge-version-row em{color:#a1a1aa;font-style:normal}.submit-case-page{width:min(100%,1440px);height:100%;display:flex;flex-direction:column;gap:24px;margin:0 auto;padding:48px clamp(32px,4vw,64px)}.submit-case-heading{display:grid;gap:4px;flex-shrink:0}.submit-case-heading h1{margin:0;color:#18181b;font-size:24px;line-height:1.25;font-weight:650;letter-spacing:0}.submit-case-heading p,.submit-case-error,.submit-case-list-empty,.submit-case-centered p,.submit-case-editor-header p,.submit-case-editor-footer p,.submit-case-block-heading p,.submit-case-list-item em{margin:0;color:#71717a;font-size:14px;line-height:1.5}.submit-case-error{border:1px solid #fecdd3;border-radius:8px;padding:12px 16px;background:#fff1f2;color:#be123c}.submit-case-workspace{min-height:0;flex:1;display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:24px}.submit-case-aside,.submit-case-editor{min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff}.submit-case-aside{display:flex;flex-direction:column}.submit-case-aside-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #f4f4f5;padding:16px 20px}.submit-case-aside-header h2{margin:0;color:#18181b;font-size:14px;font-weight:650;letter-spacing:0}.submit-case-aside-header p{margin:4px 0 0;color:#71717a;font-size:12px}.submit-case-create-button,.submit-case-main-button,.submit-case-submit-button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #18181b;border-radius:8px;padding:0 12px;background:#18181b;color:#fff;cursor:pointer;font-size:14px;font-weight:650;transition:background-color .15s ease,opacity .15s ease}.submit-case-create-button:hover,.submit-case-main-button:hover,.submit-case-submit-button:hover{background:#27272a}.submit-case-create-button:disabled,.submit-case-submit-button:disabled{cursor:not-allowed;opacity:.5}.submit-case-list{min-height:0;flex:1;overflow-y:auto;padding:12px}.submit-case-list-empty{border:1px dashed var(--border);border-radius:10px;padding:28px 16px;background:#fafafa;text-align:center}.submit-case-list-stack{display:grid;gap:8px}.submit-case-list-item{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border:1px solid var(--border);border-radius:10px;padding:12px;background:#fff;cursor:pointer;text-align:left;transition:background-color .15s ease,border-color .15s ease}.submit-case-list-item:hover{border-color:#d4d4d8;background:#fafafa}.submit-case-list-item div{min-width:0;display:grid;gap:4px}.submit-case-list-item strong,.submit-case-list-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.submit-case-list-item strong{color:#18181b;font-size:14px;font-weight:650}.submit-case-list-item span{color:#71717a;font-size:12px}.submit-case-list-item em{grid-column:1 / -1;color:#a1a1aa;font-size:12px;font-style:normal}.submit-case-centered{min-height:100%;display:grid;place-items:center;padding:40px 24px;text-align:center}.submit-case-centered>div{max-width:360px;display:grid;justify-items:center;gap:12px}.submit-case-empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:999px;background:#f4f4f5;color:#71717a}.submit-case-centered h2{margin:0;color:#18181b;font-size:18px;font-weight:650;letter-spacing:0}.submit-case-editor-form{height:100%;display:flex;flex-direction:column;min-height:0}.submit-case-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #f4f4f5;padding:20px 24px}.submit-case-editor-header>div:last-child{flex-shrink:0;text-align:right}.submit-case-title-line{display:flex;align-items:center;gap:12px}.submit-case-title-line h2{margin:0;color:#18181b;font-size:18px;line-height:1.35;font-weight:650;letter-spacing:0}.submit-case-title-line span,.submit-case-block-title em{border-radius:999px;padding:3px 8px;background:#f4f4f5;color:#3f3f46;font-size:11px;font-style:normal;font-weight:650}.submit-case-blocks{min-height:0;flex:1;display:grid;align-content:start;gap:20px;overflow-y:auto;padding:24px}.submit-case-block{border:1px solid var(--border);border-radius:12px;padding:20px;background:#fafafa}.submit-case-block-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.submit-case-block-title{display:flex;align-items:center;gap:8px}.submit-case-block-title span{color:#a1a1aa;font-size:12px;font-weight:800;text-transform:uppercase}.submit-case-block-title h3{margin:0;color:#18181b;font-size:14px;font-weight:650;letter-spacing:0}.submit-case-block-title em{background:#e4e4e7;color:#52525b}.submit-case-block-title em.required{background:#18181b;color:#fff}.submit-case-block-heading p{max-width:720px;margin-top:8px}.submit-case-block-input{margin-top:16px}.submit-case-block-input input,.submit-case-block-input textarea{width:100%;min-width:0;border:1px solid var(--border);border-radius:10px;background:#fff;color:#3f3f46;outline:none;transition:border-color .15s ease}.submit-case-block-input input{min-height:44px;padding:0 14px}.submit-case-block-input textarea{min-height:160px;padding:12px 14px;line-height:1.5;resize:vertical}.submit-case-block-input input:focus,.submit-case-block-input textarea:focus{border-color:#a1a1aa}.submit-case-radio-group{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.submit-case-radio-group label{display:inline-flex;align-items:center;gap:8px;color:#3f3f46;cursor:pointer;font-size:14px}.submit-case-radio-group input{width:14px;height:14px;min-height:14px;border:0;padding:0;background:transparent;accent-color:#18181b}.submit-case-radio-group button{border:0;background:transparent;color:#71717a;cursor:pointer;font-size:12px}.submit-case-radio-group button:hover{color:#3f3f46}.submit-case-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #f4f4f5;padding:20px 24px}.case-page{max-width:1180px}.case-empty-panel,.case-form-panel,.case-detail-panel,.case-status-panel{margin-top:24px;border:1px solid var(--border);border-radius:8px;background:#fff}.case-empty-panel{padding:28px}.case-empty-panel h2{margin:0 0 8px;color:#18181b;font-size:18px;letter-spacing:0}.case-form-panel{display:grid;gap:18px;padding:20px}.case-form-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(260px,1fr);gap:14px}.case-form-grid label,.case-input-field{display:grid;gap:6px;color:#52525b;font-size:13px;font-weight:600}.case-form-grid input,.case-form-grid select,.case-input-field input,.case-input-field select,.case-input-field textarea{min-height:40px;min-width:0;border:1px solid var(--border);border-radius:6px;padding:0 10px;background:#fff;color:#18181b;outline:none}.case-input-field textarea{min-height:132px;padding:10px;resize:vertical;line-height:1.5}.case-input-field em{color:#71717a;font-size:12px;font-style:normal;font-weight:400}.case-input-stack{display:grid;gap:14px}.case-actions{display:flex;justify-content:flex-end}.case-detail-grid{display:grid;gap:18px}.case-status-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:hidden}.case-status-panel>div{display:grid;gap:6px;padding:16px;border-right:1px solid var(--border)}.case-status-panel>div:last-child{border-right:0}.case-status-panel span,.case-input-review span,.case-result-row span{color:#71717a;font-size:12px;font-weight:700;text-transform:uppercase}.case-status-panel strong{min-width:0;overflow:hidden;color:#18181b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.case-detail-panel{padding:18px}.case-detail-panel h2{margin:0 0 14px;color:#18181b;font-size:18px;letter-spacing:0}.case-input-review-stack{display:grid;gap:12px}.case-input-review{display:grid;gap:6px;border:1px solid #f4f4f5;border-radius:6px;padding:12px;background:#fafafa}.case-input-review p{margin:0;color:#18181b;white-space:pre-wrap}.review-report-panel{display:grid;gap:16px}.review-report-panel>h2{margin-bottom:0}.review-report-stack,.submitted-content-stack{display:grid;gap:18px}.ai-review-section,.submitted-content-card{overflow:hidden;border:1px solid #e4e4e7;border-radius:8px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.ai-review-section-heading,.submitted-content-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #f4f4f5;padding:16px 18px;background:#fafafa}.ai-review-section-heading h3,.submitted-content-heading h3{margin:0;color:#18181b;font-size:16px;font-weight:700;letter-spacing:0}.ai-review-section-heading p,.submitted-content-heading span{margin:4px 0 0;color:#71717a;font-size:12px;font-weight:600}.ai-review-verdicts{display:grid;gap:10px;border-bottom:1px solid #f4f4f5;padding:16px 18px}.ai-review-verdicts>span,.ai-review-findings>span{color:#71717a;font-size:12px;font-weight:800;text-transform:uppercase}.ai-review-verdicts>div{display:flex;flex-wrap:wrap;gap:12px 18px}.verdict-pill-row{display:inline-flex;align-items:center;gap:8px;color:#52525b;font-size:14px}.verdict-pill{border-radius:999px;padding:5px 12px;font-size:13px;font-weight:800}.verdict-pill.pass{background:#dcfce7;color:#166534}.verdict-pill.medium{background:#fef3c7;color:#92400e}.verdict-pill.fail{background:#fee2e2;color:#991b1b}.ai-review-findings{display:grid;gap:12px;padding:18px;background:#fafafa}.finding-card{display:grid;gap:10px;border:1px solid;border-radius:8px;padding:14px}.finding-card.low{border-color:#bbf7d0;background:#f0fdf4}.finding-card.medium{border-color:#fde68a;background:#fffbeb}.finding-card.high{border-color:#fecaca;background:#fef2f2}.finding-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.finding-card-heading>div{display:flex;min-width:0;align-items:center;gap:6px}.finding-card.low svg{color:#16a34a}.finding-card.medium svg{color:#d97706}.finding-card.high svg{color:#dc2626}.finding-card-heading span{min-width:0;overflow:hidden;color:#52525b;font-size:12px;font-weight:800;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.finding-card-heading small{min-width:0;overflow:hidden;color:#71717a;font-size:12px;font-weight:700;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.finding-card-heading strong{flex:0 0 auto;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:800}.finding-card.low .finding-card-heading strong{background:#dcfce7;color:#166534}.finding-card.medium .finding-card-heading strong{background:#fef3c7;color:#92400e}.finding-card.high .finding-card-heading strong{background:#fee2e2;color:#991b1b}.finding-card p,.submitted-content-body p{margin:0;color:#18181b;white-space:pre-wrap}.finding-card p{color:#27272a;font-size:14px;line-height:1.55}.ai-review-no-findings{display:flex;align-items:center;gap:8px;padding:18px;background:#f0fdf4;color:#15803d;font-size:14px;font-weight:650}.submitted-content-body{padding:18px}.submitted-content-body p{color:#3f3f46;font-size:14px;line-height:1.6}.case-status{width:fit-content;text-transform:capitalize}.case-status.queued,.case-status.processing,.case-status.under_review{background:#eff6ff;color:#1d4ed8}.case-status.complete,.case-status.review_complete{background:#ecfdf5;color:#047857}.case-status.failed,.case-status.review_failed{background:#fef2f2;color:#b91c1c}.table-panel h2{margin:0 0 12px;font-size:18px;letter-spacing:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.panel-heading h2{margin:0}.text-button{border:0;padding:0;background:transparent;color:#18181b;cursor:pointer;font-weight:650;text-align:left}.text-button:hover{text-decoration:underline}.danger-text{color:#dc2626}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#18181b47}.modal-panel{width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 24px 70px #18181b2e;padding:20px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.modal-header h2{margin:0;font-size:20px;letter-spacing:0}.dialog-form{display:grid;gap:14px}.dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dialog-form label{display:grid;gap:6px;color:#52525b;font-size:13px;font-weight:600}.dialog-form input,.dialog-form select,.dialog-form textarea,.builder-panel input,.builder-panel select,.builder-panel textarea,.output-row input,.output-row select,.row-actions select{min-height:38px;min-width:0;border:1px solid var(--border);border-radius:6px;padding:0 10px;background:#fff;color:#18181b}.dialog-form textarea,.builder-panel textarea{min-height:92px;padding:9px 10px;resize:vertical}.builder-panel select[multiple]{min-height:108px;padding:8px 10px}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.55}.icon-text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.icon-only-danger{width:38px;padding:0;display:inline-grid;place-items:center}.stacked-cell{display:grid;gap:2px}.stacked-cell strong{font-size:14px;color:#18181b}.stacked-cell span{font-size:13px;color:#71717a}.builder-page{max-width:1320px}.builder-toolbar{margin-top:24px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dirty-pill{min-height:30px;display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;padding:0 12px;color:#52525b;font-size:13px;font-weight:650}.dirty-pill.dirty{background:#fffbeb;border-color:#fde68a;color:#92400e}.inline-hint{margin-top:10px!important;font-size:13px!important}.builder-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1fr);gap:20px;margin-top:24px}.builder-panel{display:grid;gap:14px;align-content:start;border-top:1px solid var(--border);padding-top:18px}.builder-panel.wide{grid-column:1 / -1}.builder-panel h2,.builder-panel h3{margin:0;letter-spacing:0}.builder-panel h2{font-size:18px}.builder-panel h3{font-size:15px}.builder-panel label,.builder-fields label{display:grid;gap:6px;color:#52525b;font-size:13px;font-weight:600}.builder-list{display:grid;gap:14px}.compact-list{gap:10px}.builder-item{border:1px solid var(--border);border-radius:8px;padding:14px;display:grid;gap:12px}.item-heading,.panel-heading.compact{display:flex;align-items:center;justify-content:space-between;gap:12px}.nested-heading{margin:2px 0 0}.builder-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.builder-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.checkbox-row{display:flex!important;align-items:center;gap:8px!important}.checkbox-row input{min-height:auto;width:16px;height:16px}.output-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,1fr) 140px 96px 36px;gap:8px;align-items:center}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.data-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:8px}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th,.data-table td{padding:11px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.data-table th{background:#fafafa;color:#52525b;font-weight:650}.data-table tr:last-child td{border-bottom:0}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.login-page,.loading-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:#fff}.login-panel{width:min(420px,100%);text-align:center}.login-logo{width:44px;height:44px;margin-bottom:18px}.login-panel h1{margin:0 0 8px;font-size:32px;color:#18181b}.login-panel p{margin:0;color:#71717a;line-height:1.55}.login-actions{display:grid;gap:12px;margin-top:24px}.primary-button,.secondary-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:0 14px;cursor:pointer}.primary-button{border:1px solid #18181b;background:#18181b;color:#fff}.secondary-button{border:1px solid var(--border);background:#fff;color:#18181b}.auth-loading{width:28px;height:28px;margin:0 auto;border-radius:999px;border:2px solid #e4e4e7;border-top-color:#18181b;animation:auth-spin .85s linear infinite}.notice,.error-text{border-radius:8px;padding:12px;font-size:14px;line-height:1.45}.notice{background:#f4f4f5;color:#52525b}.error-text{background:#fef2f2;color:#b91c1c}.api-secret-box{background:#111827;border-radius:8px;color:#f9fafb;font-size:12px;line-height:1.5;margin:0;overflow:auto;padding:14px;white-space:pre-wrap;word-break:break-all}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (max-width: 760px){.sidebar{width:72px}.brand-text,.collapse-button,.nav-link span,.user-card div:not(.avatar){display:none}.page-surface{padding:28px 20px}.placeholder-grid,.dialog-grid,.case-form-grid,.case-status-panel{grid-template-columns:1fr}.case-status-panel>div{border-right:0;border-bottom:1px solid var(--border)}.case-status-panel>div:last-child{border-bottom:0}.builder-grid,.builder-fields,.builder-fields.two,.output-row{grid-template-columns:1fr}.panel-heading{align-items:stretch;flex-direction:column}.review-profile-editor{padding:16px}.profile-topbar{align-items:stretch;flex-direction:column}.profile-actions{justify-content:flex-start}.profile-panel-layout{flex-direction:column}.profile-panel{min-height:440px}}
