/* ============================================================
   NIS2 Audit — overlay on top of V17 base (v17-base.css)
   Adds wizard, score-ring, gap table, etc. in V17 brand voice.
   Fonts (Libre Baskerville + Source Sans 3) inherited from V17.
   ============================================================ */

/* Local component variables piggy-back on V17 globals */
:root {
    --r-sm: 6px;
    --r-card: var(--r-lg);
}

/* ---- Page shell sits below the fixed V17 nav ---- */
body { padding-top: 0; }
.audit-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 32px) 24px 80px;
}
.audit-shell--narrow { max-width: 760px; }
.audit-shell--wide   { max-width: 1240px; }

@media (max-width: 980px) {
    .audit-shell { padding-top: calc(84px + 24px); padding-left: 16px; padding-right: 16px; }
}

/* ---- Hero (audit + report) ---- */
.audit-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    color: var(--white);
    padding: 56px 40px 52px;
    border-radius: var(--r-xl);
    border-bottom: 4px solid var(--teal);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.audit-hero::after {
    content: ""; position: absolute; right: -80px; top: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(0,172,193,0.22) 0%, transparent 70%);
    pointer-events: none;
}
.audit-hero .eyebrow {
    color: var(--teal-mid); letter-spacing: 2px; font-size: 11px;
    text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.audit-hero h1 {
    font-family: var(--font-h);
    font-size: 36px;
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--white);
    max-width: 720px;
}
.audit-hero p {
    font-family: var(--font-b);
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 0 26px;
    line-height: 1.65;
}
.audit-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Buttons (audit-prefixed to avoid collision with V17 .btn-primary) ---- */
.btn-audit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r);
    border: 1px solid transparent;
    text-decoration: none;
    font-family: var(--font-b);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--blue);
    color: var(--white);
}
.btn-audit:hover { background: var(--blue-h); transform: translateY(-1px); }
.btn-audit--teal      { background: var(--teal); }
.btn-audit--teal:hover{ background: var(--teal-h); }
.btn-audit--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-audit--ghost:hover { background: rgba(255,255,255,0.08); }
.btn-audit--secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--border);
}
.btn-audit--secondary:hover { background: var(--slate-lt); }
.btn-audit--lg { padding: 14px 28px; font-size: 15px; }
.btn-audit--sm { padding: 8px 14px; font-size: 13px; }

/* ---- Cards / blocks ---- */
.audit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-bottom: 22px;
}
.audit-card h2 {
    font-family: var(--font-h);
    color: var(--navy);
    font-size: 24px;
    margin: 0 0 12px;
    line-height: 1.25;
}
.audit-card h3 {
    font-family: var(--font-h);
    color: var(--navy);
    font-size: 18px;
    margin: 0 0 10px;
}

/* ---- Feature grid (landing) ---- */
.audit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 8px;
}
.audit-feature {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px;
}
.audit-feature .icon {
    width: 38px; height: 38px;
    background: var(--teal-pale, var(--teal-lt));
    color: var(--teal);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    font-family: var(--font-b);
}
.audit-feature h3 { color: var(--navy); margin: 0 0 6px; font-size: 17px; font-family: var(--font-h); }
.audit-feature p  { color: var(--text-muted); margin: 0; font-size: 14px; }

/* ---- Forms ---- */
.field { display: block; margin-bottom: 18px; }
.field label, .label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 14px;
    font-family: var(--font-b);
}
.field .req {
    color: var(--red, #B91C1C);
    font-weight: 700;
    margin-left: 2px;
}
.field .opt {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
    font-size: 13px;
}
.field .hint { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--white);
    font-family: var(--font-b);
    font-size: 14px;
    color: var(--text-body);
    transition: border-color 0.12s, box-shadow 0.12s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,131,143,0.18);
}
textarea { min-height: 64px; resize: vertical; line-height: 1.5; }

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
    border-color: var(--red, #B91C1C);
    background: #FEF2F2;
}
.field-error {
    color: var(--red, #B91C1C);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}
.form-error-banner {
    background: #FEF2F2;
    border-left: 4px solid var(--red, #B91C1C);
    color: #7F1D1D;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}
.privacy-note {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.55;
    background: var(--slate-lt);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    margin-top: 10px;
    margin-bottom: 18px;
}

/* ---- Wizard layout ---- */
.progress-wrap { margin-bottom: 24px; }
.progress {
    height: 8px;
    background: var(--slate-lt);
    border-radius: 999px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-mid));
    border-radius: 999px;
    transition: width 0.3s ease;
}
.progress-meta {
    display: flex; justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.domain-pill {
    display: inline-block;
    background: var(--teal-pale, var(--teal-lt));
    color: var(--teal-h);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: var(--font-b);
}
.weight-tag {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
    font-family: var(--font-b);
}
.weight-1 { background: var(--slate-lt);  color: var(--text-muted); }
.weight-2 { background: var(--blue-lt);   color: var(--blue-h);     }
.weight-3 { background: #FEE7E2;          color: var(--red, #B91C1C);}

.question-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 26px 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.question-card h3 {
    color: var(--navy);
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 6px;
    font-family: var(--font-h);
    font-weight: 700;
}
.question-card .help {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
    border-left: 3px solid var(--teal-mid);
    padding: 8px 12px;
    background: var(--teal-pale, var(--teal-lt));
    border-radius: 0 6px 6px 0;
}
.question-num {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-b);
}

.answer-options { display: grid; gap: 8px; margin-top: 14px; }
.answer-option {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--white);
}
.answer-option:hover {
    border-color: var(--teal);
    background: var(--teal-pale, var(--teal-lt));
}
.answer-option:has(input:checked) {
    border-color: var(--teal);
    background: var(--teal-pale, var(--teal-lt));
    box-shadow: 0 0 0 2px rgba(0,131,143,0.15);
}
.answer-option input { display: none; }
.answer-option .option-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: all 0.15s;
}
.answer-option:has(input:checked) .option-dot {
    border-color: var(--teal);
    background: var(--teal);
    box-shadow: inset 0 0 0 3px var(--white);
}

.wizard-nav {
    display: flex; justify-content: space-between;
    margin-top: 28px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.save-indicator {
    color: var(--green, #2E7D32);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.save-indicator::before {
    content: ""; width: 7px; height: 7px;
    background: var(--green, #2E7D32);
    border-radius: 50%;
}

/* ---- Sidebar ---- */
.layout-2col {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}
.sidenav {
    position: sticky;
    top: calc(var(--nav-h) + 16px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}
.sidenav h4 {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 4px 4px 10px;
    font-weight: 700;
    font-family: var(--font-b);
}
.sidenav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px;
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--r-sm);
    font-size: 13px;
    margin-bottom: 1px;
    font-family: var(--font-b);
}
.sidenav a:hover { background: var(--slate-lt); }
.sidenav a.active {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}
.sidenav a .count { font-size: 11px; color: var(--text-muted); }
.sidenav a.active .count { color: rgba(255,255,255,0.8); }
.sidenav a.complete::after {
    content: "✓"; color: var(--green, #2E7D32); margin-left: 6px;
}
.sidenav a.active.complete::after { color: var(--teal-mid); }

@media (max-width: 980px) {
    .layout-2col { grid-template-columns: 1fr; }
    .sidenav { position: static; top: auto; }
}

/* ============================================================
   REPORT
   ============================================================ */
.report-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    color: var(--white);
    padding: 44px 40px;
    border-radius: var(--r-card);
    border-bottom: 4px solid var(--teal);
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}
.report-hero::after {
    content: ""; position: absolute; right: -90px; top: -90px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(0,172,193,0.20) 0%, transparent 70%);
    pointer-events: none;
}
.report-hero .eyebrow {
    color: var(--teal-mid);
    letter-spacing: 2px; font-size: 11px;
    text-transform: uppercase; font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-b);
}
.report-hero h1 {
    font-family: var(--font-h);
    font-size: 32px; margin: 0 0 8px; color: var(--white);
}
.report-hero .subtitle {
    color: rgba(255,255,255,0.8); font-size: 14px; margin: 0;
}
.report-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    position: relative; z-index: 1;
}
.report-meta-grid .meta-item .label {
    color: rgba(255,255,255,0.55);
    font-size: 11px; letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px; font-weight: 700;
    font-family: var(--font-b);
}
.report-meta-grid .meta-item .value {
    color: var(--white);
    font-size: 14px; font-weight: 600;
    word-break: break-word;
}

.score-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 720px) { .score-hero { grid-template-columns: 1fr; text-align: center; } }

.score-ring {
    position: relative; width: 200px; height: 200px; margin: 0 auto;
}
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .ring-bg  { fill: none; stroke: var(--slate-lt); stroke-width: 18; }
.score-ring .ring-fg  { fill: none; stroke-width: 18; stroke-linecap: round; transition: stroke-dashoffset 1.2s ease; }
.score-ring .center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
}
.score-ring .pct {
    font-family: var(--font-h);
    font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1;
}
.score-ring .pct sup { font-size: 18px; color: var(--text-muted); margin-left: 2px; }
.score-ring .lbl {
    font-size: 11px; color: var(--text-muted);
    letter-spacing: 1px; text-transform: uppercase;
    font-weight: 700; margin-top: 6px;
    font-family: var(--font-b);
}

.tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: var(--font-b);
}
.tier-optimised  { background: #E8F5E9; color: #1B5E20; }
.tier-managed    { background: var(--teal-pale, var(--teal-lt)); color: var(--teal-h); }
.tier-defined    { background: var(--blue-lt);  color: var(--blue-h); }
.tier-developing { background: #FEF3C7; color: #B45309; }
.tier-initial    { background: #FFE4D6; color: #9A3412; }
.tier-absent     { background: #FEE2E2; color: var(--red, #B91C1C); }

.domain-list { display: grid; gap: 14px; }
.domain-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}
.domain-row .name { font-weight: 600; color: var(--navy); font-size: 14px; font-family: var(--font-b); }
.domain-row .desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.domain-row .bar {
    height: 10px;
    background: var(--slate-lt);
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}
.domain-row .bar > div {
    height: 100%; border-radius: 999px;
    transition: width 0.6s ease;
}
.domain-row .pct {
    font-family: var(--font-h);
    font-weight: 700;
    color: var(--navy);
    font-size: 18px;
    min-width: 64px;
    text-align: right;
}

table.gaps {
    width: 100%; border-collapse: collapse; font-size: 14px;
    font-family: var(--font-b);
}
table.gaps th, table.gaps td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}
table.gaps th {
    background: var(--slate-lt);
    color: var(--navy);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
table.gaps td.severity .sev {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.sev-critical { background: var(--red, #B91C1C); color: var(--white); }
.sev-high     { background: #B45309; color: var(--white); }
.sev-medium   { background: var(--teal); color: var(--white); }
.sev-low      { background: var(--slate);  color: var(--text-h); }

table.gaps td.q { font-weight: 600; color: var(--navy); }
table.gaps td .rec { color: var(--text-muted); margin-top: 4px; font-size: 13px; }

.swcols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 720px) { .swcols { grid-template-columns: 1fr; } }
.swcol h3 { color: var(--navy); margin: 0 0 10px; font-size: 16px; font-family: var(--font-h); }
.swcol ul { margin: 0; padding: 0; list-style: none; }
.swcol li {
    padding: 10px 12px;
    border-radius: var(--r-sm);
    margin-bottom: 6px;
    font-size: 14px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
}
.swcol--strong li { background: #E8F5E9; color: #1B5E20; }
.swcol--weak   li { background: #FEE2E2; color: var(--red, #B91C1C); }

.ribbon {
    background: linear-gradient(135deg, var(--teal-mid), var(--teal-h));
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--r);
    margin-bottom: 22px;
    display: flex; gap: 12px; align-items: center;
    font-size: 14px;
}

/* ============================================================
   PRINT (PDF export)
   ============================================================ */
@media print {
    .nav, .footer, .mobile-menu, .sidenav, .wizard-nav, .ribbon, .no-print { display: none !important; }
    body { padding-top: 0 !important; background: var(--white); }
    .audit-shell { padding-top: 0; max-width: 100%; }
    .layout-2col { grid-template-columns: 1fr !important; }
    .audit-card, .question-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border);
    }
    .report-hero {
        page-break-after: avoid;
        border-radius: 0;
    }
    table.gaps tr { page-break-inside: avoid; }
    .score-ring { page-break-inside: avoid; }
    h1, h2, h3 { color: var(--navy) !important; }
    a { color: var(--navy); text-decoration: none; }
    @page { margin: 18mm 15mm; }
}

/* ============================================================
   EFFORT SECTIONS
   ============================================================ */
.eyebrow-h {
    color: var(--teal);
    letter-spacing: 1.6px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-b);
}

.effort-summary-card { background: var(--white); }

.effort-headline-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 22px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    border-radius: var(--r-lg);
    color: var(--white);
}
@media (max-width: 720px) {
    .effort-headline-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .effort-headline-divider { display: none; }
}
.effort-headline-cell { text-align: center; padding: 6px 8px; }
.effort-headline-cell .cell-label {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-b);
}
.effort-headline-cell .cell-value {
    font-family: var(--font-h);
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
}
.effort-headline-cell .cell-value .unit {
    font-size: 18px;
    color: var(--teal-mid);
    margin-left: 3px;
    letter-spacing: 0;
    font-weight: 400;
}
.effort-headline-cell .cell-foot {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    margin-top: 6px;
    font-family: var(--font-b);
}
.effort-headline-cell--advisor .cell-value { color: var(--teal-mid); }
.effort-headline-divider {
    color: rgba(255,255,255,0.3);
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 400;
    text-align: center;
}

.effort-tier-banner {
    border-left: 4px solid var(--teal);
    background: var(--teal-pale, var(--teal-lt));
    padding: 14px 16px;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.effort-tier-banner strong {
    display: block;
    color: var(--navy);
    font-family: var(--font-h);
    font-size: 16px;
    margin-bottom: 4px;
}
.effort-tier-banner span {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.6;
}
.effort-tier-banner.tier-small      { border-left-color: var(--green, #2E7D32); background: #E8F5E9; }
.effort-tier-banner.tier-medium     { border-left-color: var(--teal); background: var(--teal-pale, var(--teal-lt)); }
.effort-tier-banner.tier-large      { border-left-color: #B45309; background: #FEF3C7; }
.effort-tier-banner.tier-enterprise { border-left-color: var(--red, #B91C1C); background: #FEE2E2; }

.effort-domains {
    display: grid;
    gap: 14px;
}
.effort-domain {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 18px 20px;
    background: var(--white);
    page-break-inside: avoid;
}
.effort-domain-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.effort-domain-name {
    font-family: var(--font-h);
    font-weight: 700;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.3;
}
.effort-domain-sub {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
}
.effort-domain-hours .hours-stack {
    display: flex; flex-direction: column; gap: 4px;
}
.effort-domain-hours .h-row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    min-width: 180px;
}
.effort-domain-hours .h-label {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}
.effort-domain-hours .h-row strong {
    font-family: var(--font-h);
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
}
.effort-domain-hours .h-row--advisor strong { color: var(--teal-h); font-size: 15px; }

.effort-narrative-title {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--teal-h);
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-b);
}
.effort-narrative-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.effort-narrative-list li {
    padding: 6px 0 6px 26px;
    position: relative;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-body);
}
.effort-narrative-list li::before {
    content: "";
    position: absolute;
    left: 4px; top: 13px;
    width: 6px; height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

.effort-no-gap {
    color: var(--green, #2E7D32);
    background: #E8F5E9;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
}

.effort-methodology {
    background: var(--slate-lt);
    border: 1px solid var(--border);
}
.effort-methodology h2 {
    font-size: 18px;
    margin-bottom: 8px;
}
.effort-methodology p {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.effort-methodology p strong {
    color: var(--navy);
    font-family: var(--font-h);
    font-weight: 700;
}

.effort-cap-note {
    color: var(--text-muted);
    font-size: 12px;
    margin: -8px 0 14px;
    text-align: center;
    font-style: italic;
    font-family: var(--font-b);
}

/* ============================================================
   TOTP setup page — QR grid + warning + secret display
   ============================================================ */
.totp-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    margin: 18px 0 24px;
    align-items: start;
}
@media (max-width: 720px) {
    .totp-grid { grid-template-columns: 1fr; }
}
.totp-qr {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.totp-qr #qrcode {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.totp-qr #qrcode table {
    border-collapse: collapse;
    border: 0;
}
.totp-manual h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-family: var(--font-h);
    font-size: 16px;
}
.totp-secret {
    display: block;
    background: var(--slate-lt);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--navy);
    word-break: break-all;
    user-select: all;
}
.totp-warning-box {
    background: #FEF3C7;
    border-left: 4px solid #B45309;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 14px 16px;
    margin: 18px 0 4px;
    color: #7C2D12;
}
.totp-warning-box strong {
    display: block;
    color: #7C2D12;
    font-family: var(--font-h);
    font-size: 15px;
    margin-bottom: 6px;
}
.totp-warning-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #7C2D12;
}
