:root{--fr-bg:#f3f6fb;--fr-sidebar:#101a33;--fr-sidebar-2:#172545;--fr-text:#172033;--fr-muted:#69758d;--fr-primary:#526cf5;--fr-primary-dark:#354bd8;--fr-line:#e3e9f3;--fr-card:#fff;--fr-success:#119c75;--fr-danger:#e45165;--fr-warning:#e89a2f}
*{box-sizing:border-box}body{margin:0;background:var(--fr-bg);color:var(--fr-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.min-w-0{min-width:0}.fr-layout{min-height:100vh}.fr-sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:linear-gradient(180deg,var(--fr-sidebar),var(--fr-sidebar-2));padding:24px 18px;flex-direction:column;z-index:1030;color:#fff}.fr-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}.fr-brand:hover{color:inherit}.fr-brand-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#7890ff,#4e68ef);font-size:1.2rem;box-shadow:0 10px 24px rgba(67,92,231,.35)}.fr-brand strong,.fr-brand small{display:block}.fr-brand strong{font-size:1.05rem}.fr-brand small{font-size:.75rem;color:#9eaaca;margin-top:2px}.fr-nav{display:flex;flex-direction:column;gap:7px;margin-top:34px}.fr-nav-link{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:13px;color:#aeb9d4;text-decoration:none;font-weight:600;transition:.2s}.fr-nav-link i{width:22px;font-size:1.05rem}.fr-nav-link:hover{color:#fff;background:rgba(255,255,255,.07)}.fr-nav-link.active{color:#fff;background:linear-gradient(135deg,rgba(105,128,255,.32),rgba(80,105,241,.18));box-shadow:inset 0 0 0 1px rgba(147,164,255,.25)}.fr-sidebar-footer{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 10px;border-top:1px solid rgba(255,255,255,.1)}.fr-user-mini{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.fr-user-mini strong,.fr-user-mini small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fr-user-mini strong{font-size:.88rem}.fr-user-mini small{font-size:.72rem;color:#9eaaca}.fr-avatar{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#33466f;color:#fff;font-weight:800}.fr-logout{color:#aeb9d4;font-size:1.1rem}.fr-content{margin-left:260px;min-height:100vh}.fr-topbar{height:92px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:rgba(243,246,251,.88);backdrop-filter:blur(16px);position:sticky;top:0;z-index:1010;border-bottom:1px solid rgba(219,227,240,.8)}.fr-topbar h1{font-size:1.55rem;margin:2px 0 0;font-weight:800}.fr-page-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.69rem;font-weight:800;color:var(--fr-muted)}.fr-main{padding:28px 32px 48px;max-width:1600px;margin:0 auto}.fr-role-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:8px 13px;font-size:.78rem;font-weight:800}.fr-role-badge.admin{background:#eee9ff;color:#6244be}.fr-role-badge.user{background:#e1f7ef;color:#087758}.fr-mobile-menu{font-size:1.35rem;padding:0;margin-right:12px}.fr-card,.card{border:1px solid var(--fr-line);border-radius:20px;background:var(--fr-card);box-shadow:0 10px 30px rgba(31,48,84,.06)}.fr-card .card-body{position:relative}.fr-hero{position:relative;overflow:hidden;border-radius:26px;padding:34px;background:linear-gradient(125deg,#172343 0%,#243d79 55%,#506bf4 130%);color:#fff;box-shadow:0 18px 40px rgba(31,56,119,.18)}.fr-hero:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-100px;top:-190px;background:rgba(255,255,255,.1)}.fr-hero p{color:#d8e0f7;max-width:760px}.fr-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.13);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.fr-stat-card{height:100%;padding:20px;border:1px solid var(--fr-line);border-radius:20px;background:#fff;text-decoration:none;color:inherit;display:block;transition:.2s}.fr-stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(32,52,93,.1);color:inherit}.fr-stat-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:1.15rem;background:#eef1ff;color:var(--fr-primary)}.fr-stat-value{font-size:2rem;font-weight:850;line-height:1}.fr-stat-label{font-size:.82rem;color:var(--fr-muted)}.fr-section-title{font-size:1.05rem;font-weight:800;margin:0}.fr-owner{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;color:#5c6880;background:#f1f4f9;border-radius:999px;padding:5px 9px}.fr-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.fr-status.active{background:#e2f7ef;color:#087758}.fr-status.off{background:#edf0f5;color:#6c778d}.btn{border-radius:12px;font-weight:700}.btn-primary{--bs-btn-bg:var(--fr-primary);--bs-btn-border-color:var(--fr-primary);--bs-btn-hover-bg:var(--fr-primary-dark);--bs-btn-hover-border-color:var(--fr-primary-dark)}.form-control,.form-select{border-radius:12px;border-color:#dce4f0;padding:.72rem .9rem}.form-control:focus,.form-select:focus{border-color:#8798f5;box-shadow:0 0 0 .2rem rgba(82,108,245,.13)}.table>:not(caption)>*>*{padding:14px 16px;border-bottom-color:#edf1f6}.table thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:#7b8599;font-weight:800;background:#fafbfd}.table tbody tr:hover{background:#fafbfe}.fr-empty{padding:42px;text-align:center;border:1px dashed #cad4e3;border-radius:20px;background:#f9fbfe;color:var(--fr-muted)}.fr-empty i{font-size:2rem;display:block;margin-bottom:10px;color:#9aabca}#map{min-height:620px;border-radius:20px;border:1px solid var(--fr-line)}.report-map{min-height:620px;border-radius:20px;border:1px solid var(--fr-line)}.step-row{border:1px solid #dfe6f0;border-radius:16px;background:#fff}.drag-handle{cursor:grab;user-select:none}.fr-auth-page{min-height:100vh;background:radial-gradient(circle at 10% 15%,rgba(91,111,239,.25),transparent 34%),radial-gradient(circle at 90% 85%,rgba(25,156,117,.18),transparent 30%),#0f1830}.fr-auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.fr-login-wrap{width:min(980px,100%);display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border-radius:28px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.3)}.fr-login-brand{padding:52px;background:linear-gradient(145deg,#172343,#304b94);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:560px}.fr-login-brand p{color:#d4def6}.fr-login-form{padding:52px;display:flex;flex-direction:column;justify-content:center}.fr-offcanvas{background:var(--fr-sidebar);color:#fff}.fr-offcanvas .fr-nav-link{color:#b8c2dc}pre{border-radius:14px!important}.alert{border-radius:14px;border:0}
@media(max-width:991px){.fr-content{margin-left:0}.fr-topbar{height:78px;padding:0 18px}.fr-main{padding:20px 16px 36px}.fr-login-wrap{grid-template-columns:1fr}.fr-login-brand{display:none}#map,.report-map{min-height:480px}}
@media(max-width:575px){.fr-top-actions{display:none}.fr-topbar h1{font-size:1.25rem}.fr-hero{padding:26px 22px}.fr-login-form{padding:34px 24px}.table-responsive{border-radius:16px}}
/* QA Control Center 1.3 */
.fr-nav-label{padding:0 14px;margin:4px 0 7px;color:#7282a8;font-size:.63rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.fr-nav-tool{background:rgba(255,255,255,.045)}.fr-nav-chip{margin-left:auto;padding:3px 6px;border-radius:7px;background:rgba(116,139,255,.18);color:#b8c5ff;font-size:.58rem;letter-spacing:.08em}.fr-nav-sub{padding-top:9px;padding-bottom:9px;padding-left:23px;font-size:.86rem}.fr-nav-sub i{font-size:.9rem;color:#8090b6}.fr-eyebrow-light{background:#eef1ff;color:#4c61dc}.qa-module-card{height:100%;padding:24px;border:1px solid var(--fr-line);border-radius:22px;background:#fff;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:.2s;position:relative;overflow:hidden}.qa-module-card:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-55px;top:-60px;background:#f0f3ff}.qa-module-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(32,52,93,.11);color:inherit}.qa-module-card .qa-module-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;font-size:1.25rem;background:#eef1ff;color:var(--fr-primary);position:relative;z-index:1}.qa-module-card.fake-route{background:linear-gradient(145deg,#172343,#304b94);color:#fff;border:0}.qa-module-card.fake-route:after{background:rgba(255,255,255,.08)}.qa-module-card.fake-route p{color:#cbd7f5}.qa-module-card.fake-route .qa-module-icon{background:rgba(255,255,255,.13);color:#fff}.qa-metric{border:1px solid var(--fr-line);border-radius:18px;background:#fff;padding:18px;height:100%}.qa-metric small{color:var(--fr-muted);font-weight:700}.qa-metric strong{display:block;font-size:1.75rem;line-height:1.1;margin-top:9px}.qa-trend-up{color:var(--fr-danger)}.qa-trend-down{color:var(--fr-success)}.qa-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.7rem;font-weight:850;white-space:nowrap}.qa-sev-blocker,.qa-sev-critical{background:#fde7eb;color:#b4233a}.qa-sev-major{background:#fff0d9;color:#a45c00}.qa-sev-minor{background:#e8f0ff;color:#315eb5}.qa-sev-trivial{background:#eef1f5;color:#687386}.qa-priority-highest,.qa-priority-high{background:#fce8eb;color:#b4233a}.qa-priority-medium{background:#fff2df;color:#996000}.qa-priority-low,.qa-priority-lowest{background:#edf3ff;color:#3564b8}.qa-status-new,.qa-status-triage{background:#eaf0ff;color:#425ec8}.qa-status-in_progress,.qa-status-ready_for_test,.qa-status-reopened{background:#fff0da;color:#9a5b00}.qa-status-blocked{background:#fbe7ec;color:#aa2743}.qa-status-resolved,.qa-status-closed{background:#e1f7ef;color:#087758}.qa-status-rejected,.qa-status-duplicate{background:#edf0f5;color:#687386}.qa-score{display:flex;align-items:center;gap:9px}.qa-score-ring{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:.72rem;font-weight:900;background:conic-gradient(var(--fr-primary) var(--score,0%),#e9edf5 0);position:relative}.qa-score-ring:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}.qa-score-ring span{position:relative;z-index:1}.qa-risk-high{color:#bd2945}.qa-risk-medium{color:#9a6200}.qa-risk-low{color:#087758}.qa-focus-item{display:flex;gap:13px;padding:14px 0;border-bottom:1px solid #edf1f6}.qa-focus-item:last-child{border-bottom:0}.qa-focus-rank{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eef1ff;color:#4f65df;font-weight:900;flex:0 0 auto}.qa-bug-title{color:var(--fr-text);font-weight:750;text-decoration:none}.qa-bug-title:hover{color:var(--fr-primary)}.qa-key{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#52627e;font-size:.76rem;font-weight:800}.qa-health-bar{height:7px;border-radius:999px;background:#e9edf4;overflow:hidden}.qa-health-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#526cf5,#16a37b)}.qa-section-card{border:1px solid var(--fr-line);border-radius:20px;background:#fff;padding:22px}.qa-ai-panel{background:linear-gradient(145deg,#f7f5ff,#edf4ff);border:1px solid #dddffc;border-radius:22px;padding:24px}.qa-ai-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#7058e8,#4f70f2);color:#fff;font-size:1.2rem;box-shadow:0 10px 22px rgba(79,93,217,.25)}.qa-detail-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#7a859a;font-weight:850;margin-bottom:6px}.qa-content-box{white-space:pre-wrap;border:1px solid #e3e9f3;border-radius:15px;padding:16px;background:#fbfcfe;min-height:72px}.qa-timeline{position:relative;padding-left:24px}.qa-timeline:before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:#e1e7f1}.qa-timeline-item{position:relative;padding:0 0 18px 14px}.qa-timeline-item:before{content:"";position:absolute;left:-22px;top:6px;width:10px;height:10px;border-radius:50%;background:#7185ef;box-shadow:0 0 0 4px #edf0ff}.qa-empty-mini{padding:18px;text-align:center;color:var(--fr-muted);background:#fafbfd;border-radius:14px}.qa-filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,minmax(140px,.45fr)) auto;gap:10px}.qa-sticky-side{position:sticky;top:112px}.qa-chart-box{height:310px}.qa-product-code{display:inline-flex;border-radius:8px;padding:4px 7px;background:#eef1ff;color:#4b61db;font-weight:850;font-size:.7rem}.qa-help{font-size:.78rem;color:var(--fr-muted)}.qa-dropzone{border:1px dashed #bdc9dc;border-radius:16px;padding:18px;background:#fafcff}.qa-kpi-note{font-size:.72rem;color:var(--fr-muted);margin-top:4px}.qa-callout-danger{border-left:4px solid #d8415b;background:#fff4f6;padding:14px 16px;border-radius:12px}.qa-callout-info{border-left:4px solid #526cf5;background:#f2f5ff;padding:14px 16px;border-radius:12px}
@media(max-width:1199px){.qa-filter-bar{grid-template-columns:1fr 1fr 1fr}.qa-filter-bar .qa-filter-search{grid-column:1/-1}.qa-sticky-side{position:static}}
@media(max-width:767px){.qa-filter-bar{grid-template-columns:1fr 1fr}.qa-filter-bar .qa-filter-search{grid-column:1/-1}.qa-filter-bar .btn{grid-column:1/-1}.qa-module-card{padding:20px}.qa-chart-box{height:260px}}

/* QA Control Center 1.3.1 — administration & form refresh */
.fr-main{max-width:1680px;margin:0 auto;width:100%}.fr-card{border:1px solid #e5eaf3!important;border-radius:22px!important;box-shadow:0 8px 28px rgba(28,43,75,.045);overflow:hidden}.fr-card .card-header{background:#fff;border-bottom:1px solid #edf1f6}.form-label{display:block;width:100%;font-size:.82rem;font-weight:800;color:#35415a;margin-bottom:0}.form-label .qa-required{color:#d8425a;margin-left:4px}.form-control,.form-select{min-height:48px;border-radius:13px;border:1px solid #dbe3ef;background:#fff;color:#1f2a3f;transition:border-color .15s,box-shadow .15s,background .15s}.form-control:hover,.form-select:hover{border-color:#c7d2e3}.form-control::placeholder{color:#9aa6ba}.form-control:disabled,.form-select:disabled{background:#f3f5f9}.form-control-lg{min-height:54px;border-radius:14px}.form-text,.qa-help{font-size:.75rem;color:#78849a;margin-top:7px}.form-check-input{border-color:#bcc8da}.form-switch .form-check-input{width:2.75rem;height:1.48rem;cursor:pointer}.form-switch .form-check-input:checked{background-color:var(--fr-primary);border-color:var(--fr-primary)}textarea.form-control{line-height:1.55;padding-top:.85rem;padding-bottom:.85rem}.btn{min-height:42px;padding:.6rem 1rem}.btn-lg{min-height:50px}.btn-light{background:#f3f5f9;border-color:#e8edf5;color:#44506a}.btn-light:hover{background:#e9edf4;border-color:#dfe5ef;color:#28344c}.alert{padding:14px 16px;border:1px solid transparent!important;box-shadow:0 5px 18px rgba(38,52,81,.03)}.alert-success{background:#ecfbf5;color:#0e7057;border-color:#ccefe2!important}.alert-danger{background:#fff0f3;color:#a92f47;border-color:#f6d5dc!important}.alert-warning{background:#fff8e9;color:#8b5b08;border-color:#f1e2b9!important}.alert-primary,.alert-info{background:#f1f4ff;color:#3549aa;border-color:#dfe5ff!important}

.qa-form-section{background:#fff;border:1px solid #e3e9f2;border-radius:22px;box-shadow:0 8px 28px rgba(28,43,75,.045);overflow:hidden}.qa-form-section-head{display:flex;gap:14px;align-items:center;padding:20px 22px;border-bottom:1px solid #edf1f6;background:linear-gradient(180deg,#fff,#fbfcfe)}.qa-form-section-head h3{font-size:1rem;font-weight:850;margin:0 0 3px}.qa-form-section-head p{font-size:.78rem;color:var(--fr-muted);margin:0}.qa-form-section-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eef1ff;color:#526cf5;font-size:1rem;flex:0 0 auto}.qa-form-section-body{padding:24px}.qa-input-wrap{position:relative}.qa-input-wrap>i{position:absolute;left:15px;top:50%;transform:translateY(-50%);z-index:2;color:#8592aa;font-size:1rem;pointer-events:none}.qa-input-wrap .form-control,.qa-input-wrap .form-select{padding-left:43px}.qa-switch-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px;border:1px solid #e2e8f2;border-radius:16px;background:#fafbfe}.qa-switch-card strong{display:block;font-size:.9rem}.qa-switch-card p{font-size:.76rem;color:var(--fr-muted);margin:4px 0 0;max-width:620px}.qa-check-row{display:flex;gap:12px;align-items:flex-start;padding:14px 15px;border:1px solid #e2e8f2;border-radius:14px;background:#fbfcfe;cursor:pointer}.qa-check-row:hover{background:#f7f9fc}.qa-check-row .form-check-input{margin-top:3px;flex:0 0 auto}.qa-check-row span{display:block}.qa-check-row strong{display:block;font-size:.84rem;color:#31405b}.qa-check-row small{display:block;color:var(--fr-muted);font-size:.74rem;margin-top:3px;line-height:1.4}.qa-code-textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;background:#fbfcfe}

.qa-settings-hero{padding:24px 26px;border:1px solid #e0e6f2;border-radius:24px;background:radial-gradient(circle at 85% 10%,rgba(82,108,245,.12),transparent 32%),linear-gradient(145deg,#fff,#f8faff);box-shadow:0 10px 30px rgba(39,55,90,.055)}.qa-settings-hero-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#6757ea,#4e70f2);color:#fff;font-size:1.35rem;box-shadow:0 12px 28px rgba(80,89,218,.24)}.qa-ai-status{min-width:210px;display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #e0e6ef;border-radius:15px;background:#fff}.qa-ai-status-dot{width:10px;height:10px;border-radius:50%;background:#9da8ba;box-shadow:0 0 0 5px #eff2f6}.qa-ai-status.is-ready .qa-ai-status-dot{background:#16a47b;box-shadow:0 0 0 5px #e4f7f0}.qa-ai-status strong,.qa-ai-status small{display:block}.qa-ai-status strong{font-size:.82rem}.qa-ai-status small{font-size:.69rem;color:var(--fr-muted);margin-top:2px}.qa-settings-side{position:sticky;top:104px}.qa-settings-summary{padding:18px;border:1px solid #e2e8f1;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(30,45,76,.04)}.qa-settings-summary-title{display:flex;align-items:center;gap:8px;font-size:.86rem;font-weight:850;margin-bottom:14px}.qa-settings-summary-title i{color:#526cf5}.qa-settings-state-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf1f6;font-size:.78rem}.qa-settings-state-row:first-of-type{border-top:0}.qa-settings-state-row span{color:var(--fr-muted)}.qa-ai-mode-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:.68rem;font-weight:850;background:#eef1f5;color:#667187}.qa-ai-mode-badge.external{background:#e8f7f1;color:#08795a}.qa-ai-mode-badge.local{background:#eef1ff;color:#4b60d6}

.qa-admin-form-shell{max-width:1120px;margin:0 auto}.qa-form-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.qa-form-intro-main{display:flex;align-items:center;gap:14px}.qa-form-intro-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#eef1ff;color:#526cf5;font-size:1.15rem}.qa-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:22px;margin-top:24px;border-top:1px solid #edf1f6}.qa-info-panel{padding:16px;border-radius:15px;background:#f7f9fd;border:1px solid #e5eaf3;font-size:.78rem;color:#59677f;line-height:1.55}.qa-info-panel strong{color:#344159}

@media(max-width:1199px){.qa-settings-side{position:static}.qa-settings-hero{padding:22px}.qa-form-section-body{padding:20px}}
@media(max-width:767px){.qa-settings-hero{padding:18px}.qa-settings-hero-icon{width:48px;height:48px;border-radius:15px}.qa-ai-status{width:100%;min-width:0}.qa-form-section-head{padding:17px}.qa-form-section-body{padding:17px}.qa-switch-card{align-items:flex-start}.qa-form-actions{align-items:stretch;flex-direction:column-reverse}.qa-form-actions .btn,.qa-form-actions a{width:100%}.qa-form-intro{flex-direction:column}.qa-form-intro .btn{width:100%}}
.qa-device-card{padding:13px 14px;border:1px solid #e5eaf2;border-radius:14px;background:#fbfcfe}.qa-device-card strong{font-size:.82rem}.qa-device-card small{display:block;color:var(--fr-muted);font-size:.7rem;margin-top:5px}
.fr-sidebar .fr-nav{overflow-y:auto;overflow-x:hidden;padding-right:2px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}.fr-sidebar .fr-nav::-webkit-scrollbar{width:5px}.fr-sidebar .fr-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:999px}
@media(max-width:575px){.fr-top-actions{display:none!important}}

/* QA Control Center 1.3.2 — historical AI audit */
.qa-audit-hero{padding:26px;border:1px solid #dfe6f2;border-radius:24px;background:radial-gradient(circle at 92% 12%,rgba(111,86,232,.12),transparent 34%),linear-gradient(145deg,#fff,#f8faff);box-shadow:0 10px 30px rgba(39,55,90,.05)}
.qa-audit-hero-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#6b57e9,#4f72f2);color:#fff;font-size:1.35rem;box-shadow:0 12px 28px rgba(80,89,218,.22)}
.qa-audit-scope-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f1f3f7;color:#68748a;font-size:.68rem;font-weight:850}
.qa-audit-hero-note{min-width:270px;display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid #e1e6f0;border-radius:16px;background:rgba(255,255,255,.9)}
.qa-audit-hero-note>i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eef1ff;color:#526cf5}.qa-audit-hero-note strong,.qa-audit-hero-note small{display:block}.qa-audit-hero-note strong{font-size:.82rem}.qa-audit-hero-note small{font-size:.7rem;color:var(--fr-muted);margin-top:3px;max-width:260px}
.qa-audit-actionbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:6px;padding:16px 18px;border:1px solid #e2e8f2;border-radius:17px;background:#fafbfe}.qa-audit-actionbar strong,.qa-audit-actionbar small{display:block}.qa-audit-actionbar strong{font-size:.86rem}.qa-audit-actionbar small{font-size:.73rem;color:var(--fr-muted);margin-top:4px;max-width:630px}
.qa-audit-guide{padding:22px;border:1px solid #e2e7f1;border-radius:22px;background:#fff;box-shadow:0 8px 28px rgba(28,43,75,.04)}.qa-audit-guide-title{display:flex;align-items:center;gap:12px;padding-bottom:17px;margin-bottom:4px;border-bottom:1px solid #edf1f6}.qa-audit-guide-title>i{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff5d9;color:#ad7809}.qa-audit-guide-title strong,.qa-audit-guide-title small{display:block}.qa-audit-guide-title small{font-size:.71rem;color:var(--fr-muted);margin-top:2px}
.qa-audit-guide-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #edf1f6}.qa-audit-guide-item:last-child{border-bottom:0;padding-bottom:0}.qa-audit-guide-item>span{font-size:.67rem;font-weight:900;color:#6677df;background:#eef1ff;border-radius:9px;padding:5px 7px;height:max-content}.qa-audit-guide-item strong,.qa-audit-guide-item small{display:block}.qa-audit-guide-item strong{font-size:.82rem}.qa-audit-guide-item small{font-size:.72rem;color:var(--fr-muted);margin-top:4px;line-height:1.45}
.qa-audit-progress{padding:18px;border:1px solid #dde4f0;border-radius:17px;background:#fbfcff}.qa-audit-progress .progress{height:8px;border-radius:999px;background:#e8edf5}.qa-audit-progress .progress-bar{border-radius:999px;background:linear-gradient(90deg,#6b57e9,#4f72f2);transition:width .25s ease}.qa-audit-progress-steps{display:flex;gap:10px;flex-wrap:wrap}.qa-audit-progress-steps span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#f0f2f6;color:#7a8496;font-size:.69rem;font-weight:800}.qa-audit-progress-steps span.active{background:#e9edff;color:#4a5fd3}
.qa-audit-summary{display:flex;gap:16px;align-items:flex-start;padding:22px 24px;border:1px solid #dce3f0;border-radius:22px;background:linear-gradient(145deg,#f9f8ff,#f2f6ff)}.qa-audit-summary-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#6b57e9,#4f72f2);color:#fff}.qa-audit-summary p{font-size:1rem;line-height:1.65;margin:0;color:#2e3a52}
.qa-audit-section{height:100%;padding:21px;border:1px solid #e2e7f0;border-radius:20px;background:#fff;box-shadow:0 7px 24px rgba(34,48,77,.035)}.qa-audit-section-title{display:flex;align-items:center;gap:10px;margin-bottom:15px}.qa-audit-section-title>i{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eef1ff;color:#526cf5}.qa-audit-section-title h3{font-size:.94rem;font-weight:850;margin:0}.qa-audit-list{display:grid;gap:9px}.qa-audit-list-item{display:flex;align-items:flex-start;gap:7px;padding:10px 11px;border-radius:12px;background:#fafbfe;color:#45516a;font-size:.79rem;line-height:1.5}.qa-audit-list-item>i{font-size:1rem;color:#6074e6;margin-top:1px}.qa-audit-section-primary{border-color:#dce3ff;background:linear-gradient(145deg,#fff,#f8f9ff)}
.qa-audit-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:.66rem;font-weight:850;background:#eef1f5;color:#69758a}.qa-audit-status.completed{background:#e7f7f0;color:#087a59}.qa-audit-status.processing{background:#eef1ff;color:#4d61d4}.qa-audit-status.failed{background:#fff0f2;color:#b2344d}
.qa-empty-audit{text-align:center;padding:46px 24px;border:1px dashed #d5deeb;border-radius:22px;background:#fbfcfe}.qa-empty-audit>span{width:58px;height:58px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:#eef1ff;color:#526cf5;font-size:1.25rem}.qa-empty-audit h3{font-size:1.05rem;font-weight:850}.qa-empty-audit p{margin:6px auto 0;max-width:520px;color:var(--fr-muted);font-size:.8rem}
@media(max-width:991px){.qa-audit-actionbar{align-items:stretch;flex-direction:column}.qa-audit-actionbar .btn{width:100%}.qa-audit-hero-note{min-width:0;width:100%}}
@media(max-width:575px){.qa-audit-hero{padding:18px}.qa-audit-hero-icon{width:48px;height:48px;border-radius:15px}.qa-audit-summary{padding:18px}.qa-audit-progress-steps span{flex:1;justify-content:center}.qa-audit-section{padding:17px}}

/* QA Control Center 1.3.3 — custom AI prompts */
.qa-prompt-editor{position:relative;padding:20px;border:1px solid #dfe5f0;border-radius:20px;background:linear-gradient(145deg,#fbfcff,#f7f8fe)}
.qa-prompt-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.qa-prompt-editor-head h4{font-size:1rem;font-weight:850;margin:5px 0 4px}.qa-prompt-editor-head p{font-size:.74rem;color:var(--fr-muted);margin:0;max-width:620px;line-height:1.45}.qa-prompt-kicker{display:inline-flex;align-items:center;gap:6px;font-size:.67rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#526cf5}.qa-prompt-limit{white-space:nowrap;padding:6px 9px;border-radius:999px;background:#eef1ff;color:#5364c9;font-size:.67rem;font-weight:800}
.qa-prompt-textarea{min-height:190px;resize:vertical;line-height:1.62;padding:16px 17px;border-radius:15px;background:#fff;font-size:.88rem}.qa-prompt-textarea:focus{border-color:#8e9df1;box-shadow:0 0 0 .22rem rgba(82,108,245,.1)}.qa-prompt-counter{text-align:right;margin-top:6px;font-size:.67rem;color:#8a94a7}
.qa-prompt-examples{display:flex;gap:8px;flex-wrap:wrap}.qa-prompt-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe5ef;border-radius:999px;background:#fff;color:#4e5c75;padding:7px 10px;font-size:.7rem;font-weight:750;transition:.18s}.qa-prompt-chip:hover{border-color:#b8c3ef;background:#f5f7ff;color:#4055ca;transform:translateY(-1px)}
.qa-prompt-template-panel{padding:14px;border:1px solid #e2e7f0;border-radius:16px;background:#fff}.qa-prompt-template-row{display:flex;align-items:flex-end;gap:9px}.qa-template-btn{white-space:nowrap;min-height:38px}.qa-audit-used-prompt{border:1px solid #dfe5f1;border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 7px 24px rgba(34,48,77,.03)}.qa-audit-used-prompt-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-bottom:1px solid #edf1f6;background:#fafbfe}.qa-audit-used-prompt-head span{display:block;font-size:.8rem;font-weight:850;color:#344159}.qa-audit-used-prompt-head span i{color:#526cf5;margin-right:7px}.qa-audit-used-prompt-head small{display:block;font-size:.67rem;color:var(--fr-muted);margin-top:2px}.qa-audit-used-prompt-text{padding:16px 18px;color:#46536b;font-size:.8rem;line-height:1.62;white-space:normal}.qa-history-prompt{max-width:310px;color:#59667e;font-size:.74rem;line-height:1.4}
@media(max-width:767px){.qa-prompt-editor{padding:16px}.qa-prompt-editor-head{flex-direction:column;gap:8px}.qa-prompt-template-row{align-items:stretch;flex-direction:column}.qa-template-btn{width:100%}.qa-audit-used-prompt-head{align-items:stretch;flex-direction:column}.qa-audit-used-prompt-head .btn{width:100%}.qa-history-prompt{max-width:210px}}
.qa-custom-answer{border:1px solid #d8e0f4;border-radius:22px;background:linear-gradient(145deg,#fff,#f7f9ff);overflow:hidden;box-shadow:0 8px 26px rgba(55,71,125,.05)}.qa-custom-answer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e8edf7;background:rgba(238,241,255,.55)}.qa-custom-answer-head span{font-size:.86rem;font-weight:900;color:#32415f}.qa-custom-answer-head i{color:#526cf5;margin-right:7px}.qa-custom-answer-head small{font-size:.68rem;color:var(--fr-muted)}.qa-custom-answer-body{padding:20px;font-size:.86rem;line-height:1.7;color:#3e4b64;white-space:normal}
@media(max-width:575px){.qa-custom-answer-head{align-items:flex-start;flex-direction:column}.qa-custom-answer-body{padding:17px}}
