:root{
  --cqa-bg:#f5f7fb;
  --cqa-bg2:#eef2f8;
  --cqa-card:#fff;
  --cqa-card-soft:#f9fbff;
  --cqa-ink:#182235;
  --cqa-ink-soft:#41506a;
  --cqa-muted:#758096;
  --cqa-line:#dfe5ef;
  --cqa-line-strong:#cdd6e4;
  --cqa-brand-900:#10323a;
  --cqa-brand-800:#174d59;
  --cqa-brand-700:#246c79;
  --cqa-brand-600:#3c8792;
  --cqa-brand-500:#78b2ba;
  --cqa-accent:#7b67ad;
  --cqa-success:#238270;
  --cqa-warning:#bf7a21;
  --cqa-danger:#b94455;
  --cqa-radius-sm:14px;
  --cqa-radius-md:18px;
  --cqa-radius-lg:24px;
  --cqa-radius-xl:32px;
  --cqa-shadow-sm:0 7px 22px rgba(27,45,84,.06);
  --cqa-shadow-md:0 16px 40px rgba(27,45,84,.10);
  --cqa-shadow-lg:0 25px 60px rgba(27,45,84,.15);
  --cqa-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",Roboto,Arial,sans-serif;
}
.reviewflow-shell,.reviewflow-shell *{box-sizing:border-box}
.reviewflow-shell{font-family:var(--cqa-font);color:var(--cqa-ink);background:radial-gradient(circle at 12% 0%,rgba(60,135,146,.10),transparent 27%),radial-gradient(circle at 88% 15%,rgba(123,103,173,.07),transparent 24%),linear-gradient(180deg,#f8fbfb 0%,var(--cqa-bg) 50%,var(--cqa-bg2) 100%);min-height:100dvh;width:100%;overflow-x:hidden;-webkit-font-smoothing:antialiased;line-height:1.45;margin:0!important;padding:0!important}
.reviewflow-shell button,.reviewflow-shell input,.reviewflow-shell textarea,.reviewflow-shell select{font:inherit}
.reviewflow-shell button{cursor:pointer;-webkit-tap-highlight-color:transparent}
.reviewflow-shell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cqa-app{min-height:100dvh;width:100%;max-width:1180px;margin:0 auto;padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.cqa-loading-card{width:min(380px,calc(100vw - 32px));margin:20vh auto;padding:20px;border-radius:28px;background:#fff;display:flex;gap:12px;align-items:center;box-shadow:var(--cqa-shadow-md)}
.cqa-loading-card span{display:block;color:var(--cqa-muted);font-size:13px;margin-top:2px}
.cqa-logo-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#fff,#e8eefc);color:var(--cqa-brand-700);font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
.cqa-app-header{background:radial-gradient(circle at 6% -10%,rgba(255,255,255,.16),transparent 27%),radial-gradient(circle at 96% 88%,rgba(143,118,188,.26),transparent 35%),linear-gradient(145deg,#0c2730 0%,#1b5360 50%,#536995 100%);color:#fff;border-radius:0 0 34px 34px;padding:14px clamp(14px,3vw,30px) 28px;position:relative;overflow:hidden;box-shadow:0 18px 42px rgba(29,47,92,.18)}
.cqa-app-header:before,.cqa-app-header:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.055)}
.cqa-app-header:before{width:240px;height:240px;left:-90px;top:-130px}.cqa-app-header:after{width:300px;height:300px;right:-95px;bottom:-180px}
.cqa-toprow{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:1}
.cqa-brand{border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.90);color:var(--cqa-brand-900);border-radius:999px;padding:4px 12px 4px 4px;display:flex;align-items:center;gap:8px;box-shadow:0 8px 18px rgba(8,18,47,.14)}
.cqa-brand>span:last-child{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}.cqa-brand strong{font-size:15px}.cqa-brand small{font-size:10px;color:var(--cqa-muted);margin-top:3px}
.cqa-brand .cqa-logo-mark{width:34px;height:34px}
.cqa-human-pill{height:40px;display:flex;align-items:center;gap:7px;border-radius:999px;padding:0 13px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.26);font-weight:750;font-size:12px;backdrop-filter:blur(6px)}
.cqa-human-pill svg{width:17px;height:17px}
.cqa-hero-copy{max-width:820px;margin:38px 0 0;position:relative;z-index:1}.cqa-kicker,.cqa-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:900}.cqa-kicker{color:#c8ecec}.cqa-hero-copy h1{font-size:clamp(29px,5vw,50px);line-height:1.04;letter-spacing:-.035em;margin:8px 0 10px;color:#fff;max-width:900px}.cqa-hero-copy p{font-size:clamp(14px,2vw,17px);color:rgba(255,255,255,.80);margin:0;max-width:780px}
.cqa-main{padding:18px clamp(12px,2.7vw,28px) 20px}.cqa-main>*+*{margin-top:16px}
.cqa-card,.cqa-subcard{background:var(--cqa-card);border:1px solid rgba(207,217,232,.86);border-radius:var(--cqa-radius-lg);box-shadow:var(--cqa-shadow-sm);padding:clamp(16px,2.4vw,24px)}
.cqa-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.cqa-section-head h2,.cqa-section-head h3{margin:3px 0 0;letter-spacing:-.02em}.cqa-section-head h2{font-size:clamp(20px,3vw,27px)}.cqa-section-head h3{font-size:18px}.cqa-eyebrow{color:var(--cqa-brand-600)}
.cqa-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cqa-metric{background:linear-gradient(180deg,#fff,#f9fbff);border:1px solid var(--cqa-line);border-radius:20px;padding:16px;box-shadow:var(--cqa-shadow-sm);min-height:118px;display:flex;flex-direction:column}.cqa-metric strong{font-size:31px;letter-spacing:-.04em;color:var(--cqa-brand-900)}.cqa-metric span{font-size:13px;font-weight:850;margin-top:auto}.cqa-metric small{color:var(--cqa-muted);font-size:11px;margin-top:2px}
.cqa-alert{display:flex;gap:6px 14px;align-items:flex-start;background:#fff8e9;border:1px solid #f0d7a7;border-radius:18px;padding:14px 16px;color:#735017}.cqa-alert strong{white-space:nowrap}.cqa-alert span{font-size:13px}.cqa-alert.compact{margin:12px 0}.cqa-alert.danger{background:#fff2f4;border-color:#edc4ca;color:#8d3140}
.cqa-three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cqa-principle{display:flex;gap:12px;background:var(--cqa-card-soft);border:1px solid var(--cqa-line);border-radius:18px;padding:16px}.cqa-principle>b{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eaf0ff;color:var(--cqa-brand-700);flex:0 0 auto}.cqa-principle h3{font-size:15px;margin:1px 0 5px}.cqa-principle p{font-size:12px;color:var(--cqa-muted);margin:0}
.cqa-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.cqa-action-card{width:100%;text-align:left;border:1px solid var(--cqa-line);border-radius:22px;background:#fff;padding:18px;display:flex;gap:15px;box-shadow:var(--cqa-shadow-sm);color:var(--cqa-ink);transition:.2s ease}.cqa-action-card:hover{transform:translateY(-2px);box-shadow:var(--cqa-shadow-md);border-color:var(--cqa-line-strong)}.cqa-action-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#eef3ff,#e6f4f1);color:var(--cqa-brand-700);flex:0 0 auto}.cqa-action-card h3{font-size:17px;margin:0 0 4px}.cqa-action-card p{font-size:12px;color:var(--cqa-muted);margin:0 0 9px}.cqa-action-card strong{display:inline-flex;align-items:center;gap:5px;color:var(--cqa-brand-700);font-size:12px}.cqa-action-card strong svg{width:15px;height:15px}
.cqa-workflow p{color:var(--cqa-muted);font-size:13px}.cqa-flowline{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:15px 0}.cqa-flowline span{background:#f1f5fb;border:1px solid var(--cqa-line);padding:8px 11px;border-radius:999px;font-size:12px;font-weight:750}.cqa-flowline b{color:var(--cqa-muted)}
.cqa-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.cqa-field>span{font-size:12px;font-weight:800;color:var(--cqa-ink-soft)}.cqa-field input,.cqa-field textarea,.cqa-field select,.cqa-editor textarea{width:100%;border:1px solid var(--cqa-line-strong);background:#fff;border-radius:14px;color:var(--cqa-ink);outline:none;transition:.15s ease}.cqa-field input,.cqa-field select{height:45px;padding:0 12px}.cqa-field textarea{padding:12px;resize:vertical}.cqa-field input:focus,.cqa-field textarea:focus,.cqa-field select:focus,.cqa-editor textarea:focus{border-color:var(--cqa-brand-500);box-shadow:0 0 0 3px rgba(93,120,190,.10)}
.cqa-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cqa-editor{border:1px solid var(--cqa-line);border-radius:18px;background:var(--cqa-card-soft);overflow:hidden}.cqa-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid var(--cqa-line);background:#fff}.cqa-editor-head>div{display:flex;flex-direction:column}.cqa-editor-head strong{font-size:13px}.cqa-editor-head small{font-size:10px;color:var(--cqa-muted);margin-top:2px}.cqa-editor textarea{border:0;border-radius:0;min-height:390px;padding:14px;resize:vertical;background:#fff;line-height:1.55;font-family:var(--cqa-font);font-size:13px;box-shadow:none!important}.cqa-editor-foot{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid var(--cqa-line);font-size:10px;color:var(--cqa-muted)}
.cqa-file-btn{position:relative;overflow:hidden;display:flex;align-items:center;gap:5px;border:1px solid var(--cqa-line);border-radius:999px;background:#f7f9fd;padding:7px 10px;font-size:11px;font-weight:800;color:var(--cqa-brand-700);cursor:pointer}.cqa-file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.cqa-file-btn svg{width:15px;height:15px}
.cqa-callout{background:linear-gradient(145deg,#eef3ff,#f1f8f6);border:1px solid #d8e2f3;border-radius:17px;padding:14px 15px;margin:14px 0}.cqa-callout strong{font-size:13px}.cqa-callout p{font-size:12px;color:var(--cqa-ink-soft);margin:4px 0 0}
.cqa-primary,.cqa-secondary{border-radius:14px;min-height:44px;padding:0 16px;font-weight:850;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px}.cqa-primary{background:linear-gradient(135deg,var(--cqa-brand-800),var(--cqa-brand-600));color:#fff;box-shadow:0 10px 20px rgba(45,65,120,.16)}.cqa-primary:hover{filter:brightness(1.04)}.cqa-secondary{background:#fff;border-color:var(--cqa-line-strong);color:var(--cqa-brand-800)}.cqa-primary:disabled,.cqa-secondary:disabled{opacity:.55;cursor:not-allowed}.cqa-wide{width:100%}.cqa-small{min-height:36px;padding:0 12px;font-size:11px}.cqa-link-button{text-decoration:none}.cqa-primary svg,.cqa-secondary svg{width:16px;height:16px}
.cqa-inline-spinner,.cqa-spinner{display:inline-block;border-radius:50%;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;animation:cqaSpin .8s linear infinite}.cqa-inline-spinner{width:16px;height:16px}.cqa-spinner{width:30px;height:30px;border-color:#d8e0ef;border-top-color:var(--cqa-brand-700);margin-bottom:8px}@keyframes cqaSpin{to{transform:rotate(360deg)}}
.cqa-center{text-align:center;padding:45px 20px}.cqa-center h2{margin:7px 0}.cqa-login-card{max-width:520px;margin:20px auto;text-align:center;padding:35px}.cqa-login-card p{color:var(--cqa-muted);font-size:13px}.cqa-big-icon{width:62px;height:62px;border-radius:20px;background:#edf3ff;color:var(--cqa-brand-700);display:grid;place-items:center;margin:0 auto}.cqa-big-icon svg{width:30px;height:30px}
.cqa-count-pill{background:#edf2fc;border:1px solid #dce5f6;color:var(--cqa-brand-700);padding:6px 10px;border-radius:999px;font-size:11px;font-weight:850;white-space:nowrap}
.cqa-score-row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:16px;align-items:center}.cqa-score{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:900;border:8px solid #dfe6f2;background:#fff;color:var(--cqa-brand-900)}.cqa-score.good{border-color:#b9e2d7;color:#14725f}.cqa-score.mid{border-color:#f1d29b;color:#9a6015}.cqa-score.low{border-color:#efc0c8;color:#a23b4c}.cqa-score-row h2{margin:3px 0 5px}.cqa-score-row p{margin:0;color:var(--cqa-muted);font-size:13px}
.cqa-learned-rules{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.cqa-rule-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--cqa-line);border-radius:999px;padding:7px 10px;background:#fbfcff;font-size:11px}.cqa-rule-chip span{color:var(--cqa-accent);font-weight:850}.cqa-rule-chip small{color:var(--cqa-muted)}
.cqa-list-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--cqa-line)}.cqa-list-row:first-of-type{border-top:0}.cqa-list-row>div{display:flex;flex-direction:column}.cqa-list-row strong{font-size:13px}.cqa-list-row small,.cqa-list-row>span{font-size:10px;color:var(--cqa-muted)}
.cqa-options-row{display:grid;grid-template-columns:minmax(260px,.8fr) 1.2fr;gap:12px;align-items:end}.cqa-field.inline{margin-bottom:0}.cqa-safety-note{min-height:45px;border-radius:14px;background:#edf6f3;color:#226b5e;border:1px solid #d1e7e1;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:11px;font-weight:750}.cqa-safety-note svg{width:16px;height:16px;flex:0 0 auto}
.cqa-tab-strip{display:flex;gap:5px;background:#f1f4f9;border:1px solid var(--cqa-line);padding:4px;border-radius:14px;margin:18px 0}.cqa-tab-strip button{flex:1;min-height:38px;border:0;background:transparent;color:var(--cqa-muted);border-radius:10px;font-size:11px;font-weight:850}.cqa-tab-strip button.active{background:#fff;color:var(--cqa-brand-800);box-shadow:0 2px 7px rgba(35,56,103,.08)}.cqa-tab-strip button span{background:#e7edf8;border-radius:999px;padding:1px 6px;margin-left:4px;font-size:9px}
.cqa-issue{border:1px solid var(--cqa-line);border-left:4px solid var(--cqa-warning);border-radius:16px;padding:14px;margin:10px 0;background:#fff}.cqa-issue.high{border-left-color:var(--cqa-danger)}.cqa-issue.low{border-left-color:var(--cqa-accent)}.cqa-issue-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cqa-issue-top>span{font-size:9px;font-weight:950;letter-spacing:.08em;color:var(--cqa-warning)}.cqa-issue.high .cqa-issue-top>span{color:var(--cqa-danger)}.cqa-issue.low .cqa-issue-top>span{color:var(--cqa-success)}.cqa-issue-top strong{font-size:11px}.cqa-issue-top small{font-size:10px;color:var(--cqa-muted)}.cqa-issue h3{font-size:15px;margin:7px 0}.cqa-issue>p{font-size:11px;color:var(--cqa-muted)}.cqa-fix{background:#f7f9fd;border-radius:12px;padding:10px;display:grid;grid-template-columns:45px 1fr;gap:8px;font-size:11px}.cqa-fix b{color:var(--cqa-brand-700)}
.cqa-doc-actions{display:flex;justify-content:flex-end;gap:7px;margin-bottom:8px}.cqa-document{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid var(--cqa-line);border-radius:14px;padding:16px;max-height:600px;overflow:auto;font:13px/1.55 var(--cqa-font);color:var(--cqa-ink)}
.cqa-checklist>div{display:flex;gap:9px;align-items:flex-start;border-bottom:1px solid var(--cqa-line);padding:10px 0;font-size:12px}.cqa-checklist svg{color:var(--cqa-success);width:17px;height:17px;flex:0 0 auto}
.cqa-empty{padding:24px;text-align:center;background:#f9fbfe;border:1px dashed var(--cqa-line-strong);border-radius:16px}.cqa-empty strong{font-size:14px}.cqa-empty p,.cqa-muted{font-size:12px;color:var(--cqa-muted)}
.cqa-score-bars{display:grid;gap:9px;margin:18px 0}.cqa-score-bars>div{display:grid;grid-template-columns:110px 1fr 45px;gap:9px;align-items:center;font-size:11px}.cqa-score-bars>div>div{height:8px;border-radius:999px;background:#e8edf5;overflow:hidden}.cqa-score-bars i{display:block;height:100%;background:linear-gradient(90deg,var(--cqa-brand-600),var(--cqa-accent));border-radius:999px}.cqa-score-bars b{text-align:right}.cqa-compare-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.cqa-bullets{margin-top:7px}.cqa-bullets p{display:flex;gap:7px;align-items:flex-start;border:1px solid var(--cqa-line);border-radius:12px;padding:9px;margin:6px 0;font-size:11px}.cqa-bullets svg{width:15px;height:15px;color:var(--cqa-success);flex:0 0 auto}.cqa-details{margin-top:14px;border-top:1px solid var(--cqa-line);padding-top:12px}.cqa-details summary{cursor:pointer;font-size:12px;font-weight:850;color:var(--cqa-brand-700);margin-bottom:12px}.cqa-details h3{font-size:13px}
.cqa-library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.cqa-library-toolbar>div{display:flex;flex-direction:column}.cqa-library-toolbar strong{font-size:13px}.cqa-library-toolbar small{font-size:10px;color:var(--cqa-muted)}
.cqa-rule-card{border:1px solid var(--cqa-line);border-radius:18px;padding:15px;margin:10px 0;background:#fff}.cqa-rule-card.inactive{opacity:.72;background:#fafbfc}.cqa-rule-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.cqa-category{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--cqa-brand-600);font-weight:900}.cqa-rule-card h3{font-size:15px;margin:3px 0 0}.cqa-rule-card>p{font-size:12px;color:var(--cqa-ink-soft)}.cqa-rule-state{display:flex;align-items:center;gap:8px;white-space:nowrap}.cqa-rule-state>span{font-size:9px;color:var(--cqa-muted)}.cqa-toggle{width:38px;height:22px;border:0;border-radius:999px;background:#cbd4e2;padding:2px;position:relative}.cqa-toggle i{display:block;width:18px;height:18px;border-radius:50%;background:#fff;transition:.18s;box-shadow:0 2px 5px rgba(0,0,0,.16)}.cqa-toggle.on{background:var(--cqa-success)}.cqa-toggle.on i{transform:translateX(16px)}.cqa-rule-meta{display:flex;gap:12px;color:var(--cqa-muted);font-size:9px}.cqa-rule-card details{margin-top:10px}.cqa-rule-card summary{font-size:10px;font-weight:800;color:var(--cqa-brand-700);cursor:pointer}.cqa-before-after{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}.cqa-before-after>div{background:#f7f9fc;border-radius:12px;padding:10px}.cqa-before-after b{font-size:9px;text-transform:uppercase;letter-spacing:.08em}.cqa-before-after p{font-size:10px;margin:4px 0 0}.cqa-rule-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--cqa-line);margin-top:12px;padding-top:9px}.cqa-rule-actions button{border:0;background:transparent;padding:0;color:var(--cqa-brand-700);font-size:10px;font-weight:850}.cqa-rule-actions .danger-link{color:var(--cqa-danger)}
.cqa-rule-form{border:1px solid #ccd8ef;border-radius:18px;background:#f9fbff;padding:15px;margin-bottom:15px}.cqa-close{width:32px;height:32px;border-radius:50%;border:1px solid var(--cqa-line);background:#fff;color:var(--cqa-muted);font-size:20px}.cqa-two-fields{display:grid;grid-template-columns:.6fr 1.4fr;gap:10px}
.cqa-history-list{display:grid;gap:7px}.cqa-history-row{width:100%;border:1px solid var(--cqa-line);background:#fff;border-radius:15px;padding:11px;display:grid;grid-template-columns:72px 1fr 45px 18px;gap:9px;align-items:center;text-align:left;color:var(--cqa-ink)}.cqa-history-row>div{display:flex;flex-direction:column;min-width:0}.cqa-history-row strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cqa-history-row small{font-size:9px;color:var(--cqa-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cqa-history-row>b{font-size:12px;text-align:right}.cqa-history-row>svg{width:16px;height:16px;color:var(--cqa-muted)}.cqa-run-type{border-radius:999px;background:#edf2fb;color:var(--cqa-brand-700);padding:5px 7px;font-size:9px;text-align:center;font-weight:850}.cqa-run-type.test{background:#eaf7f3;color:#287966}.cqa-back-link{border:0;background:transparent;color:var(--cqa-brand-700);font-size:11px;font-weight:850;padding:0 0 12px}
.cqa-data-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.cqa-subcard{box-shadow:none;background:#fafcff}.cqa-subcard h3{margin:4px 0}.cqa-subcard p{font-size:12px;color:var(--cqa-muted)}.cqa-file-drop{min-height:122px;border:1.5px dashed var(--cqa-line-strong);border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden;color:var(--cqa-brand-700);cursor:pointer}.cqa-file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.cqa-file-drop svg{width:25px;height:25px}.cqa-file-drop strong{font-size:12px;margin-top:5px}.cqa-file-drop span{font-size:10px;color:var(--cqa-muted)}
.cqa-bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:100;width:min(720px,calc(100% - 14px));padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:rgba(255,255,255,.94);border:1px solid rgba(208,216,229,.92);border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -12px 34px rgba(32,49,85,.10);backdrop-filter:blur(12px)}.cqa-bottom-nav button{height:54px;border:0;border-radius:14px;background:transparent;color:#8690a4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px;font-weight:800}.cqa-bottom-nav button svg{width:20px;height:20px}.cqa-bottom-nav button.active{background:#edf2fc;color:var(--cqa-brand-800)}
.cqa-toast{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:9999;background:#172344;color:#fff;padding:11px 16px;border-radius:999px;font-size:12px;font-weight:800;box-shadow:0 12px 30px rgba(0,0,0,.2);max-width:90vw;text-align:center}
@media (min-width:820px){.cqa-app{padding-bottom:35px}.cqa-bottom-nav{top:18px;bottom:auto;left:auto;right:24px;transform:none;width:auto;grid-template-columns:repeat(5,78px);border:1px solid rgba(255,255,255,.20);border-radius:18px;padding:4px;background:rgba(15,26,56,.34);box-shadow:none}.cqa-bottom-nav button{height:44px;color:rgba(255,255,255,.72);flex-direction:row;gap:5px}.cqa-bottom-nav button svg{width:16px;height:16px}.cqa-bottom-nav button.active{background:rgba(255,255,255,.94);color:var(--cqa-brand-900)}.cqa-human-pill{margin-right:430px}.cqa-toast{bottom:26px}.cqa-main{padding-top:22px}}
@media (max-width:780px){.cqa-metrics{grid-template-columns:repeat(2,1fr)}.cqa-three-cols{grid-template-columns:1fr}.cqa-action-grid{grid-template-columns:1fr}.cqa-editor-grid{grid-template-columns:1fr}.cqa-editor textarea{min-height:300px}.cqa-options-row{grid-template-columns:1fr}.cqa-compare-grid{grid-template-columns:1fr}.cqa-data-grid{grid-template-columns:1fr}.cqa-score-row{grid-template-columns:70px 1fr}.cqa-score{width:70px;height:70px;font-size:22px;border-width:6px}.cqa-score-bars>div{grid-template-columns:90px 1fr 38px}.cqa-before-after{grid-template-columns:1fr}.cqa-two-fields{grid-template-columns:1fr}}
@media (max-width:480px){.cqa-app-header{padding:12px 12px 22px;border-radius:0 0 28px 28px}.cqa-toprow{gap:7px}.cqa-human-pill{font-size:10px;padding:0 9px;height:36px}.cqa-brand{height:36px}.cqa-brand .cqa-logo-mark{width:30px;height:30px}.cqa-brand small{display:none}.cqa-hero-copy{margin-top:26px}.cqa-hero-copy h1{font-size:30px}.cqa-main{padding:12px 10px 16px}.cqa-card{border-radius:20px;padding:15px}.cqa-metric{min-height:98px;padding:13px}.cqa-metric strong{font-size:26px}.cqa-section-head{align-items:center}.cqa-section-head h2{font-size:20px}.cqa-alert{flex-direction:column}.cqa-alert strong{white-space:normal}.cqa-editor-head{align-items:flex-start}.cqa-editor-foot{flex-direction:column;gap:2px}.cqa-tab-strip{overflow:auto}.cqa-tab-strip button{min-width:92px}.cqa-rule-top{flex-direction:column}.cqa-rule-state{width:100%;justify-content:space-between}.cqa-history-row{grid-template-columns:65px 1fr 34px 15px}.cqa-score-bars>div{grid-template-columns:82px 1fr 34px}.cqa-flowline b{display:none}.cqa-bottom-nav{width:calc(100% - 8px);padding-left:4px;padding-right:4px}.cqa-bottom-nav button{font-size:8px}}


/* ReviewFlow portfolio extensions */
.cqa-profile-row{align-items:end}
.cqa-field>span small{font-weight:650;color:var(--cqa-muted)}
.cqa-field-label{display:block;font-size:12px;font-weight:850;color:var(--cqa-ink-soft);margin-bottom:8px}
.cqa-lens-wrap{margin:14px 0}
.cqa-lens-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.cqa-lens{position:relative;border:1px solid var(--cqa-line);border-radius:16px;background:#fbfcfe;padding:12px;display:flex;gap:9px;align-items:flex-start;cursor:pointer;transition:.18s ease;min-height:88px}
.cqa-lens:hover{transform:translateY(-1px);border-color:var(--cqa-line-strong)}
.cqa-lens.selected{border-color:rgba(60,135,146,.65);background:linear-gradient(145deg,#f1fbfa,#f5f3fb);box-shadow:0 8px 18px rgba(23,77,89,.07)}
.cqa-lens input{margin:3px 0 0;accent-color:var(--cqa-brand-700);flex:0 0 auto}
.cqa-lens span{display:flex;flex-direction:column;gap:3px}.cqa-lens strong{font-size:12px}.cqa-lens small{font-size:10px;line-height:1.35;color:var(--cqa-muted)}
.cqa-quality-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:12px;margin:16px 0}
.cqa-quality-panel,.cqa-snapshot{border:1px solid var(--cqa-line);border-radius:18px;padding:14px;background:linear-gradient(180deg,#fff,#fafcfd)}
.cqa-score-bars.compact{margin:10px 0 0}.cqa-score-bars.compact>div{grid-template-columns:92px 1fr 38px}
.cqa-snapshot p{font-size:12px;color:var(--cqa-ink-soft);margin:9px 0 0;line-height:1.55}
.cqa-risk-list{margin-top:12px;padding-top:10px;border-top:1px solid var(--cqa-line);display:flex;flex-direction:column;gap:4px}.cqa-risk-list strong{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--cqa-danger)}.cqa-risk-list span{font-size:10px;color:var(--cqa-ink-soft)}
@media (max-width:900px){.cqa-lens-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){.cqa-quality-grid{grid-template-columns:1fr}.cqa-lens-grid{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.cqa-lens-grid{grid-template-columns:1fr}}

/* v1.2 — regulatory desk, custom auth and privacy-first review */
.cqa-header-actions{display:flex;align-items:center;gap:8px;position:relative;z-index:2}
.cqa-user-chip{height:40px;border:1px solid rgba(255,255,255,.25);background:rgba(10,32,41,.24);color:#fff;border-radius:999px;padding:0 12px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;backdrop-filter:blur(6px)}
.cqa-user-chip svg{width:16px;height:16px}.cqa-user-chip span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cqa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cqa-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 18px}
.cqa-mode-card{border:1px solid var(--cqa-line);background:#fbfcfe;border-radius:18px;padding:14px;text-align:left;color:var(--cqa-ink);display:flex;gap:10px;min-height:98px;transition:.18s}
.cqa-mode-card>span{width:36px;height:36px;border-radius:12px;background:#edf5f5;display:grid;place-items:center;color:var(--cqa-brand-700);flex:0 0 auto}.cqa-mode-card>span svg{width:18px;height:18px}
.cqa-mode-card div{display:flex;flex-direction:column}.cqa-mode-card strong{font-size:13px}.cqa-mode-card small{font-size:10px;color:var(--cqa-muted);margin-top:4px;line-height:1.35}.cqa-mode-card em{font-size:9px;color:var(--cqa-warning);font-style:normal;font-weight:800;margin-top:5px}
.cqa-mode-card.active{border-color:var(--cqa-brand-500);background:linear-gradient(145deg,#eff9f8,#f4f2fb);box-shadow:0 8px 20px rgba(23,77,89,.08)}.cqa-mode-card.disabled{opacity:.55;cursor:not-allowed}
.cqa-lens-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0}.cqa-lens-row>span{font-size:11px;font-weight:850;color:var(--cqa-ink-soft);margin-right:3px}
.cqa-chip{border:1px solid var(--cqa-line);background:#fff;color:var(--cqa-muted);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.cqa-chip.active{background:#eaf6f4;border-color:#b8dcd6;color:var(--cqa-brand-800)}
.cqa-privacy-strip{display:flex;align-items:center;gap:10px;background:#f7fafb;border:1px solid #d9e8e8;border-radius:17px;padding:12px 14px;margin:14px 0}.cqa-privacy-strip>svg{color:var(--cqa-success);flex:0 0 auto}.cqa-privacy-strip>div{display:flex;flex-direction:column;flex:1}.cqa-privacy-strip strong{font-size:11px}.cqa-privacy-strip span{font-size:10px;color:var(--cqa-muted)}
.cqa-switchline,.cqa-checkline{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:var(--cqa-ink-soft)}.cqa-switchline{white-space:nowrap}.cqa-switchline input,.cqa-checkline input{accent-color:var(--cqa-brand-700)}.cqa-checkline{margin:0 0 14px}
.cqa-score-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0}.cqa-score-grid>div{border:1px solid var(--cqa-line);border-radius:14px;background:#fafcff;padding:10px;display:flex;flex-direction:column}.cqa-score-grid span{font-size:9px;color:var(--cqa-muted);font-weight:750}.cqa-score-grid b{font-size:20px;color:var(--cqa-brand-900);margin-top:3px}
.cqa-result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.cqa-result-head h2,.cqa-result-head h3{margin:4px 0}.cqa-result-head p{color:var(--cqa-muted);font-size:12px}
.cqa-score-ring{width:78px;height:78px;border-radius:50%;background:linear-gradient(145deg,#e7f5f2,#ece9f8);border:7px solid #fff;box-shadow:0 0 0 1px var(--cqa-line);display:flex;align-items:center;justify-content:center;flex-direction:column;flex:0 0 auto}.cqa-score-ring strong{font-size:24px;line-height:1}.cqa-score-ring span{font-size:8px;color:var(--cqa-muted)}
.cqa-result-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--cqa-line)}.cqa-reg-list{display:grid;gap:9px;margin-top:11px}
.cqa-reg-card{border:1px solid var(--cqa-line);border-radius:16px;padding:13px;background:#fff}.cqa-reg-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cqa-reg-top strong{font-size:12px;flex:1}.cqa-reg-card p{font-size:12px;color:var(--cqa-ink-soft);margin:8px 0}.cqa-reg-card small{display:block;font-size:10px;color:var(--cqa-muted);margin-top:5px}
.cqa-severity{font-size:8px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;border-radius:999px;padding:4px 7px;background:#eef1f6;color:#637087}.cqa-severity.high{background:#fff0f2;color:var(--cqa-danger)}.cqa-severity.medium{background:#fff6e8;color:var(--cqa-warning)}.cqa-severity.low,.cqa-severity.info{background:#eaf7f3;color:var(--cqa-success)}
.cqa-verify{font-size:8px;color:var(--cqa-muted);background:#f2f5f9;border-radius:999px;padding:4px 7px;white-space:nowrap}.cqa-source-link{display:inline-flex;align-items:center;gap:5px;margin-top:10px;color:var(--cqa-brand-700);font-size:10px;font-weight:850;text-decoration:none}.cqa-source-link svg{width:14px;height:14px}
.cqa-issue-list{display:grid;gap:8px;margin-top:10px}.cqa-issue{display:flex;gap:9px;border:1px solid var(--cqa-line);border-radius:14px;padding:11px}.cqa-issue>div{display:flex;flex-direction:column}.cqa-issue strong{font-size:11px}.cqa-issue small{font-size:9px;color:var(--cqa-muted);margin:2px 0}.cqa-issue p{font-size:10px;color:var(--cqa-ink-soft);margin:4px 0 0}
.cqa-reference-row{border-left:3px solid #a9cfc9;padding:8px 10px;margin:8px 0;background:#f9fcfb}.cqa-reference-row strong{font-size:11px}.cqa-reference-row p{font-size:11px;color:var(--cqa-ink-soft);margin:3px 0}
.cqa-document{white-space:pre-wrap;overflow-wrap:anywhere;background:#fbfcfe;border:1px solid var(--cqa-line);border-radius:15px;padding:14px;max-height:560px;overflow:auto;font-family:var(--cqa-font);font-size:12px;line-height:1.6}.cqa-copy{margin-top:8px}
.cqa-privacy-note{display:flex;align-items:flex-start;gap:7px;margin-top:14px;background:#f6faf9;border-radius:13px;padding:10px;font-size:10px;color:var(--cqa-muted)}.cqa-privacy-note svg{width:15px;height:15px;color:var(--cqa-success);flex:0 0 auto}
.cqa-live-sources{display:grid;gap:5px;margin-top:12px;padding:11px;border-radius:14px;background:#f8fafc}.cqa-live-sources>strong{font-size:10px}.cqa-live-sources a{display:flex;gap:6px;align-items:center;color:var(--cqa-brand-700);font-size:9px;text-decoration:none}.cqa-live-sources svg{width:13px;height:13px}.cqa-freshness{margin-top:10px;font-size:9px;color:var(--cqa-muted);background:#f7f8fb;padding:8px 10px;border-radius:10px}
.cqa-answer{font-size:14px;line-height:1.65;color:var(--cqa-ink-soft)}
.cqa-quota-pill,.cqa-live-badge,.cqa-private-pill{font-size:9px;font-weight:850;border-radius:999px;padding:6px 9px;background:#edf6f5;color:var(--cqa-brand-700);white-space:nowrap}.cqa-private-pill{display:flex;align-items:center;gap:4px}.cqa-private-pill svg{width:13px;height:13px}
.cqa-source-tools{display:grid;grid-template-columns:1fr 260px;gap:9px;margin-bottom:14px}.cqa-searchbox{height:44px;border:1px solid var(--cqa-line-strong);border-radius:14px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 11px}.cqa-searchbox svg{width:16px;height:16px;color:var(--cqa-muted)}.cqa-searchbox input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;height:40px;background:transparent}.cqa-source-tools select{height:44px;border:1px solid var(--cqa-line-strong);border-radius:14px;background:#fff;padding:0 10px;color:var(--cqa-ink)}
.cqa-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cqa-source-card{border:1px solid var(--cqa-line);border-radius:17px;padding:14px;background:linear-gradient(180deg,#fff,#fbfcfe);display:flex;flex-direction:column;min-height:210px}.cqa-source-card-top{display:flex;justify-content:space-between;gap:8px}.cqa-source-card-top span,.cqa-source-card-top em{font-size:8px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;color:var(--cqa-brand-600);font-style:normal}.cqa-source-card-top em{color:var(--cqa-muted)}.cqa-source-card h3{font-size:14px;margin:7px 0 5px}.cqa-source-card p{font-size:10px;color:var(--cqa-muted);margin:0 0 9px}.cqa-source-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto;font-size:8px;color:var(--cqa-muted)}.cqa-source-meta b{color:var(--cqa-ink-soft)}.cqa-source-card>a{display:flex;align-items:center;gap:5px;color:var(--cqa-brand-700);font-size:10px;font-weight:850;text-decoration:none;margin-top:10px}.cqa-source-card>a svg{width:14px;height:14px}
.cqa-text-btn{border:0;background:transparent;color:var(--cqa-brand-700);font-size:9px;font-weight:850;padding:0;margin-left:auto}.cqa-muted{color:var(--cqa-muted);font-size:12px}.cqa-fineprint{font-size:9px;color:var(--cqa-muted);line-height:1.5}.cqa-empty{text-align:center;padding:28px;color:var(--cqa-muted);grid-column:1/-1}.cqa-empty strong{display:block;color:var(--cqa-ink);font-size:13px}.cqa-empty p{font-size:10px}.cqa-tab-strip{display:flex;gap:5px;padding:4px;background:#f1f4f8;border-radius:14px;margin-bottom:15px}.cqa-tab-strip button{border:0;background:transparent;border-radius:11px;padding:9px 11px;font-size:10px;font-weight:850;color:var(--cqa-muted)}.cqa-tab-strip button.active{background:#fff;color:var(--cqa-brand-800);box-shadow:0 3px 10px rgba(30,46,70,.07)}
.cqa-inline-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:cqaSpin .7s linear infinite}.cqa-secondary .cqa-inline-spinner{border-color:#c9d3dd;border-top-color:var(--cqa-brand-700)}@keyframes cqaSpin{to{transform:rotate(360deg)}}

/* Custom sign-in/register page — no WordPress login redirect */
.cqa-auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.7fr);gap:28px;align-items:center;padding:clamp(18px,5vw,70px);background:radial-gradient(circle at 12% 8%,rgba(103,184,180,.25),transparent 25%),radial-gradient(circle at 75% 95%,rgba(118,101,170,.22),transparent 30%),linear-gradient(145deg,#0c2931 0%,#174e59 48%,#50618c 100%);color:#fff;position:relative;overflow:hidden}.cqa-auth-brand{position:absolute;top:22px;left:clamp(18px,5vw,70px);display:flex;align-items:center;gap:10px}.cqa-auth-brand>div{display:flex;flex-direction:column}.cqa-auth-brand strong{font-size:16px}.cqa-auth-brand span{font-size:10px;color:rgba(255,255,255,.68)}.cqa-auth-hero{max-width:690px}.cqa-auth-hero h1{font-size:clamp(35px,5vw,62px);line-height:1.02;letter-spacing:-.045em;margin:9px 0 14px}.cqa-auth-hero p{font-size:15px;color:rgba(255,255,255,.78);max-width:620px;line-height:1.65}.cqa-auth-trust{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.cqa-auth-trust span{display:flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px;padding:8px 10px;font-size:9px;font-weight:800}.cqa-auth-trust svg{width:14px;height:14px}
.cqa-auth-card{background:rgba(255,255,255,.98);color:var(--cqa-ink);border-radius:28px;padding:22px;box-shadow:0 30px 70px rgba(4,20,31,.27);max-width:510px;width:100%;justify-self:end}.cqa-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f0f3f7;border-radius:13px;padding:4px;margin-bottom:18px}.cqa-auth-tabs button{height:40px;border:0;border-radius:10px;background:transparent;font-size:11px;font-weight:850;color:var(--cqa-muted)}.cqa-auth-tabs button.active{background:#fff;color:var(--cqa-brand-800);box-shadow:0 3px 9px rgba(20,42,67,.08)}.cqa-auth-divider{height:28px;display:flex;align-items:center;gap:9px;color:#9aa4b4;font-size:9px}.cqa-auth-divider:before,.cqa-auth-divider:after{content:"";height:1px;background:var(--cqa-line);flex:1}.cqa-guest-choice{width:100%;border:1px solid #cfe1e1;background:linear-gradient(145deg,#f1faf8,#f4f4fb);border-radius:16px;padding:12px;display:grid;grid-template-columns:36px 1fr 18px;gap:9px;align-items:center;text-align:left;color:var(--cqa-ink)}.cqa-guest-choice>svg:first-child{width:22px;height:22px;color:var(--cqa-brand-700)}.cqa-guest-choice>svg:last-child{width:15px;height:15px;color:var(--cqa-muted)}.cqa-guest-choice span{display:flex;flex-direction:column}.cqa-guest-choice strong{font-size:11px}.cqa-guest-choice small{font-size:9px;color:var(--cqa-muted);margin-top:2px;line-height:1.35}

.cqa-bottom-nav.guest{grid-template-columns:repeat(3,1fr)}
@media (min-width:820px){.cqa-bottom-nav.guest{grid-template-columns:repeat(3,78px)}.cqa-bottom-nav.member{grid-template-columns:repeat(5,78px)}.cqa-header-actions .cqa-human-pill{margin-right:430px}.cqa-header-actions .cqa-user-chip{position:absolute;right:0;transform:translateX(0)} }
@media (max-width:820px){.cqa-auth-shell{grid-template-columns:1fr;align-content:center;padding-top:90px}.cqa-auth-card{justify-self:stretch;max-width:none}.cqa-auth-hero h1{font-size:38px}.cqa-form-grid,.cqa-source-tools,.cqa-source-grid{grid-template-columns:1fr}.cqa-mode-grid{grid-template-columns:1fr}.cqa-score-grid{grid-template-columns:repeat(2,1fr)}.cqa-header-actions{gap:5px}.cqa-user-chip span{display:none}}
@media (max-width:480px){.cqa-auth-shell{padding:82px 12px 24px}.cqa-auth-brand{left:16px;top:18px}.cqa-auth-hero h1{font-size:31px}.cqa-auth-hero p{font-size:13px}.cqa-auth-card{border-radius:22px;padding:15px}.cqa-auth-trust{display:none}.cqa-header-actions .cqa-human-pill{display:none}.cqa-user-chip{height:36px;width:36px;padding:0;justify-content:center}.cqa-privacy-strip{align-items:flex-start;flex-wrap:wrap}.cqa-switchline{width:100%;padding-left:28px}.cqa-result-head{align-items:center}.cqa-score-ring{width:66px;height:66px}.cqa-score-ring strong{font-size:20px}.cqa-source-card{min-height:0}}
@media (min-width:820px){.cqa-header-actions{margin-right:430px}.cqa-header-actions .cqa-human-pill{margin-right:0!important}.cqa-header-actions .cqa-user-chip{position:static;transform:none}.cqa-bottom-nav.guest~*{}} 
