/* =======================================================
   HUMPHREY STUDIO — SEO Report (Web / HTML)
   Shared stylesheet for all client web reports.
   To change accent colour per client, override --accent
   in a <style> block on the client's HTML page.
   ======================================================= */

/* -------------------------------------------------------
   FONTS
   ------------------------------------------------------- */
@font-face {
    font-family: 'BB Torsos Pro';
    src: url('../fonts/BBTorsosProSemiRegular-930191481.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BB Torsos Pro';
    src: url('../fonts/BBTorsosProRegular-930191485.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Triest DT';
    src: url('../fonts/TriestDTItalic-9524449.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* -------------------------------------------------------
   RESET & DESIGN TOKENS
   ------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Typography */
    --fg: #1c1c1e;
    --fg-secondary: #48484a;
    --fg-tertiary: #8e8e93;

    /* Backgrounds */
    --bg: #ffffff;
    --bg-section: #f8f8fa;
    --bg-card: #f4f4f6;

    /* Borders */
    --border: #e5e5ea;
    --border-light: #f0f0f2;

    /* Brand accent (override per client if needed) */
    --accent: #2d6a4f;
    --accent-light: rgba(45, 106, 79, 0.08);
    --accent-dark: #1b4332;

    /* Severity colours */
    --critical-bg: #fff5f5;
    --critical-border: #e53e3e;
    --critical-text: #c53030;
    --high-bg: #fffbf0;
    --high-border: #d97706;
    --high-text: #b45309;
    --medium-bg: #f0f4ff;
    --medium-border: #3b82f6;
    --medium-text: #1d4ed8;
    --pass-bg: #f0fdf4;
    --pass-border: #22c55e;
    --pass-text: #15803d;

    /* Score colours */
    --score-good: #2d6a4f;
    --score-fair: #d97706;
    --score-poor: #e53e3e;

    /* Layout */
    --nav-width: 230px;
    --radius: 10px;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'BB Torsos Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--fg);
    background: var(--bg);
    font-weight: 400;
}

/* -------------------------------------------------------
   PAGE LAYOUT
   ------------------------------------------------------- */
.report-layout {
    display: flex;
    min-height: 100vh;
}

.report-main {
    flex: 1;
    min-width: 0;
    margin-left: var(--nav-width);
}

/* -------------------------------------------------------
   SIDEBAR — light theme
   ------------------------------------------------------- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.sidebar-logo img {
    height: 20px;
    width: auto;
    max-width: 100%;
    display: block;
    opacity: 0.7;
}

.sidebar-client {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.sidebar-client-name {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.sidebar-client-label {
    font-size: 11px;
    color: var(--fg-tertiary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 3px;
}

.sidebar-score {
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sidebar-score-num {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    color: var(--score-poor);
    letter-spacing: -0.04em;
}

.sidebar-score-denom {
    font-size: 16px;
    color: var(--fg-tertiary);
}

.sidebar-score-label {
    font-size: 11px;
    color: var(--fg-tertiary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.sidebar-nav {
    padding: 12px 0 24px;
    flex: 1;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 24px;
    text-decoration: none;
    color: var(--fg-tertiary);
    font-size: 12.5px;
    transition: color 0.15s, background 0.15s;
    line-height: 1.3;
}

.sidebar-nav a:hover {
    color: var(--fg);
    background: rgba(0, 0, 0, 0.04);
}

.sidebar-nav a.active {
    color: var(--fg);
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.sidebar-nav a .nav-num {
    font-size: 10px;
    color: var(--fg-tertiary);
    min-width: 18px;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.sidebar-nav a.active .nav-num {
    color: var(--accent);
    opacity: 1;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    font-size: 11px;
    color: var(--fg-tertiary);
    flex-shrink: 0;
    line-height: 1.5;
}

/* -------------------------------------------------------
   MOBILE NAV BAR + DRAWER — light theme
   ------------------------------------------------------- */
.mobile-nav-bar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 200;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-bar .mobile-logo img {
    height: 18px;
    opacity: 0.7;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fg-secondary);
    border-radius: 2px;
    transition: 0.2s;
}

.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.4);
}

.mobile-drawer.open {
    display: block;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: #ffffff;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding-bottom: 40px;
}

.drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--fg-tertiary);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* -------------------------------------------------------
   HERO / COVER SECTION
   ------------------------------------------------------- */
.report-hero {
    background: linear-gradient(rgba(255,255,255,0.78), rgba(255,255,255,0.78)),
                url('../images/Humphrey_Grad_05.png') center center / cover no-repeat;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 56px;
    position: relative;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-title {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--fg);
}

.hero-label {
    font-size: 14px;
    color: rgba(10,10,10,0.45);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.hero-domain {
    font-size: 15px;
    color: rgba(10,10,10,0.4);
    margin-top: 6px;
}

.hero-score-block {
    text-align: right;
}

.hero-score-overline {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(10,10,10,0.38);
    margin-bottom: 4px;
}

.hero-score {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 72px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--score-poor);
}

.hero-score-denom {
    font-size: 22px;
    color: rgba(10,10,10,0.22);
}

.hero-meta {
    background: rgba(10,10,10,0.04);
    border-top: 1px solid rgba(10,10,10,0.08);
    padding: 14px 56px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-meta-label {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(10,10,10,0.35);
}

.hero-meta-value {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fg);
}

/* -------------------------------------------------------
   CONTENT SECTIONS
   ------------------------------------------------------- */
.section {
    padding: 56px 56px 48px;
    border-bottom: 1px solid var(--border-light);
}

.section:last-child {
    border-bottom: none;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.section-num {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 4px 10px;
    background: var(--accent-light);
    border-radius: 4px;
}

.section-title {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fg);
    line-height: 1.1;
}

h3 {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--fg);
    margin-top: 32px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

h3:first-child { margin-top: 0; }

h4 {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--fg-tertiary);
    margin-top: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

p {
    margin-bottom: 12px;
    color: var(--fg-secondary);
    font-size: 15px;
    line-height: 1.7;
}

p:last-child { margin-bottom: 0; }

strong { color: var(--fg); font-weight: 600; }

code {
    background: var(--bg-card);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', 'Menlo', monospace;
    color: var(--accent-dark);
    border: 1px solid var(--border);
}

/* -------------------------------------------------------
   STAT HIGHLIGHT CARDS (exec summary)
   ------------------------------------------------------- */
.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 28px;
}

.highlight-card {
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.highlight-card.stat-critical {
    background: var(--critical-bg);
    border-color: rgba(229,62,62,0.25);
    border-left: 4px solid var(--critical-border);
}

.highlight-card.stat-high {
    background: var(--high-bg);
    border-color: rgba(217,119,6,0.25);
    border-left: 4px solid var(--high-border);
}

.highlight-card.stat-good {
    background: var(--pass-bg);
    border-color: rgba(34,197,94,0.25);
    border-left: 4px solid var(--pass-border);
}

.highlight-card.stat-score {
    background: var(--critical-bg);
    border-color: rgba(229,62,62,0.25);
    border-left: 4px solid var(--critical-border);
}

.highlight-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    margin-bottom: 8px;
}

.highlight-card.stat-critical .highlight-label { color: var(--critical-text); opacity: 0.7; }
.highlight-card.stat-high .highlight-label     { color: var(--high-text);     opacity: 0.7; }
.highlight-card.stat-good .highlight-label     { color: var(--pass-text);     opacity: 0.7; }
.highlight-card.stat-score .highlight-label    { color: var(--critical-text); opacity: 0.7; }

.highlight-stat {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
}

.highlight-card.stat-critical .highlight-stat { color: var(--critical-border); }
.highlight-card.stat-high .highlight-stat     { color: var(--high-border);     }
.highlight-card.stat-good .highlight-stat     { color: var(--pass-border);     }
.highlight-card.stat-score .highlight-stat    { color: var(--critical-border); }

.highlight-sub {
    font-size: 12px;
    color: var(--fg-tertiary);
    line-height: 1.4;
}

.highlight-value {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.3;
}

/* -------------------------------------------------------
   SCORE BREAKDOWN GRID
   ------------------------------------------------------- */
.scores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 20px 0 28px;
}

.score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px 13px 20px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--border);
    gap: 12px;
}

.score-row:has(.score-num.poor) {
    background: var(--critical-bg);
    border-color: rgba(229,62,62,0.2);
    border-left-color: var(--score-poor);
}

.score-row:has(.score-num.fair) {
    background: var(--high-bg);
    border-color: rgba(217,119,6,0.2);
    border-left-color: var(--score-fair);
}

.score-row.total {
    background: var(--fg);
    border-color: var(--fg);
    border-left-color: var(--fg);
    grid-column: 1 / -1;
}

.score-label {
    font-size: 14px;
    color: var(--fg-secondary);
    flex: 1;
}

.score-row.total .score-label {
    color: rgba(255,255,255,0.65);
    font-weight: 600;
}

.score-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.score-bar {
    width: 64px;
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.score-row.total .score-bar { background: rgba(255,255,255,0.1); }

.score-fill { height: 100%; border-radius: 3px; }
.score-fill.poor { background: var(--score-poor); }
.score-fill.fair { background: var(--score-fair); }
.score-fill.good { background: var(--score-good); }

.score-num {
    font-family: 'BB Torsos Pro', sans-serif;
    font-weight: 600;
    font-size: 22px;
    min-width: 36px;
    text-align: right;
    letter-spacing: -0.03em;
}

.score-num.poor { color: var(--score-poor); }
.score-num.fair { color: var(--score-fair); }
.score-num.good { color: var(--score-good); }
.score-row.total .score-num { color: #fff; font-size: 24px; }

/* -------------------------------------------------------
   TABLES
   ------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    margin: 14px 0 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead th {
    text-align: left;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    padding: 11px 14px;
    border-bottom: 1.5px solid var(--border);
    font-weight: 600;
    background: var(--bg-card);
    white-space: nowrap;
}

tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--fg-secondary);
    vertical-align: top;
    line-height: 1.55;
}

tbody tr:last-child td { border-bottom: none; }
tbody td:first-child   { color: var(--fg); font-weight: 400; }
tbody tr:hover td      { background: var(--bg-section); }

/* -------------------------------------------------------
   PILLS
   ------------------------------------------------------- */
.pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pill-pass { background: var(--pass-bg);     color: var(--pass-text);     }
.pill-fail { background: var(--critical-bg); color: var(--critical-text); }
.pill-warn { background: var(--high-bg);     color: var(--high-text);     }
.pill-info { background: var(--medium-bg);   color: var(--medium-text);   }

/* -------------------------------------------------------
   CALLOUT
   ------------------------------------------------------- */
.callout {
    border-left: 3px solid var(--accent);
    padding: 14px 18px;
    background: var(--accent-light);
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 14.5px;
    color: var(--accent-dark);
    line-height: 1.65;
}

/* -------------------------------------------------------
   FINDING CARDS — severity-coded
   ------------------------------------------------------- */
.finding {
    border-radius: var(--radius);
    padding: 16px 20px 16px 24px;
    margin-bottom: 12px;
    break-inside: avoid;
    border: 1px solid var(--border);
    position: relative;
}

.finding::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--border);
}

.finding.critical { background: var(--critical-bg); border-color: rgba(229,62,62,0.2); }
.finding.critical::before { background: var(--critical-border); }

.finding.high { background: var(--high-bg); border-color: rgba(217,119,6,0.2); }
.finding.high::before { background: var(--high-border); }

.finding.medium { background: var(--medium-bg); border-color: rgba(59,130,246,0.2); }
.finding.medium::before { background: var(--medium-border); }

.finding-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.finding-title {
    font-weight: 600;
    color: var(--fg);
    font-size: 15px;
    line-height: 1.3;
}

.finding-impact {
    font-size: 10.5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.impact-critical { background: var(--critical-bg); color: var(--critical-text); border: 1px solid rgba(229,62,62,0.3); }
.impact-high     { background: var(--high-bg);     color: var(--high-text);     border: 1px solid rgba(217,119,6,0.3); }
.impact-medium   { background: var(--medium-bg);   color: var(--medium-text);   border: 1px solid rgba(59,130,246,0.3); }

.finding-body {
    color: var(--fg-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.finding-lift {
    margin-top: 8px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.finding-lift::before { content: '↑'; }

/* -------------------------------------------------------
   E-E-A-T GRID
   ------------------------------------------------------- */
.eeat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0 20px;
}

.eeat-card {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

.eeat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.eeat-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--fg);
}

.eeat-score {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.eeat-score.good { color: var(--score-good); }
.eeat-score.fair { color: var(--score-fair); }
.eeat-score.poor { color: var(--score-poor); }

.eeat-note {
    font-size: 13px;
    color: var(--fg-secondary);
    line-height: 1.5;
}

/* -------------------------------------------------------
   PRIORITY ACTION PLAN
   ------------------------------------------------------- */
.priority-section {
    margin-bottom: 32px;
}

.priority-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.priority-header.critical { background: var(--critical-bg); color: var(--critical-text); border: 1px solid rgba(229,62,62,0.2); }
.priority-header.high     { background: var(--high-bg);     color: var(--high-text);     border: 1px solid rgba(217,119,6,0.2); }
.priority-header.medium   { background: var(--medium-bg);   color: var(--medium-text);   border: 1px solid rgba(59,130,246,0.2); }
.priority-header.low      { background: var(--bg-card);     color: var(--fg-secondary);  border: 1px solid var(--border); }

.priority-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.priority-dot.critical { background: var(--critical-border); }
.priority-dot.high     { background: var(--high-border); }
.priority-dot.medium   { background: var(--medium-border); }
.priority-dot.low      { background: var(--fg-tertiary); }

.action-list { list-style: none; }

.action-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.action-item:last-child { border-bottom: none; }

.action-num {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    min-width: 28px;
    padding-top: 1px;
    flex-shrink: 0;
}

.action-content { flex: 1; min-width: 0; }

.action-title {
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 5px;
    font-size: 15px;
}

.action-desc {
    color: var(--fg-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.action-lift {
    margin-top: 7px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.action-lift::before { content: '↑'; }

/* -------------------------------------------------------
   IMPLEMENTATION ROADMAP
   ------------------------------------------------------- */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.roadmap-phase {
    border-left: 3px solid var(--accent);
    padding-left: 18px;
    margin-left: 4px;
    position: relative;
}

.roadmap-phase::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
}

.roadmap-phase-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    margin-bottom: 4px;
}

.roadmap-phase-title {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 10px;
}

.roadmap-tasks { list-style: none; padding: 0; }

.roadmap-tasks li {
    color: var(--fg-secondary);
    font-size: 13.5px;
    padding: 4px 0 4px 16px;
    position: relative;
    line-height: 1.5;
}

.roadmap-tasks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 1.5px;
    background: var(--accent);
    opacity: 0.5;
}

/* -------------------------------------------------------
   SCORE PROJECTION
   ------------------------------------------------------- */
.projection {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 16px 0 24px;
    flex-wrap: wrap;
}

.projection-score { text-align: center; }

.projection-score-num {
    font-family: 'BB Torsos Pro', sans-serif;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

.projection-score-num.current { color: var(--score-poor); }
.projection-score-num.target  { color: var(--score-good); }

.projection-score-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-tertiary);
    margin-top: 4px;
}

.projection-arrow {
    font-size: 28px;
    color: var(--border);
    flex-shrink: 0;
}

.projection-bar-wrap {
    flex: 1;
    min-width: 200px;
}

.projection-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--fg-tertiary);
    margin-bottom: 6px;
}

.projection-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.projection-bar-current {
    height: 100%;
    background: var(--score-poor);
    border-radius: 4px 0 0 4px;
}

.projection-bar-gain {
    height: 100%;
    background: var(--score-good);
    opacity: 0.4;
}

/* -------------------------------------------------------
   UTILITY
   ------------------------------------------------------- */
.divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 28px 0;
}

/* -------------------------------------------------------
   REPORT FOOTER
   ------------------------------------------------------- */
.report-end {
    background: var(--fg);
    padding: 52px 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.report-end-logo {
    width: 100px;
    opacity: 0.25;
    filter: invert(1);
}

.report-end p {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

/* -------------------------------------------------------
   PRINT FALLBACK
   ------------------------------------------------------- */
@media print {
    @page { size: A4 landscape; margin: 12mm; }

    .sidebar,
    .mobile-nav-bar,
    .mobile-drawer { display: none !important; }

    .report-main { margin-left: 0; }

    .section         { padding: 32px 0; }
    .report-hero     { min-height: auto; padding: 32px 0; }
    .hero-meta       { padding: 12px 0; }

    .finding, .action-item, .roadmap-phase { break-inside: avoid; }

    body              { font-size: 11px; }
    .section-title    { font-size: 20px; }
    h3                { font-size: 13px; }
    p, .action-desc, .finding-body { font-size: 11px; }
    table             { font-size: 10px; }

    .scores       { grid-template-columns: repeat(4, 1fr); }
    .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
    .eeat-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------- */
@media (max-width: 900px) {
    .sidebar        { display: none; }
    .report-main    { margin-left: 0; }
    .mobile-nav-bar { display: flex; }

    .report-hero { padding: 32px 24px; min-height: 260px; }
    .hero-title  { font-size: 36px; }
    .hero-score  { font-size: 52px; }
    .hero-meta   { padding: 12px 24px; gap: 24px; }
    .section     { padding: 36px 24px 32px; }

    .highlights   { grid-template-columns: repeat(2, 1fr); }
    .scores       { grid-template-columns: 1fr; }
    .eeat-grid    { grid-template-columns: 1fr; }
    .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .highlights        { grid-template-columns: 1fr; }
    .hero-inner        { gap: 20px; }
    .hero-score-block  { text-align: left; }
    .hero-title        { font-size: 28px; }
    .projection        { flex-direction: column; gap: 12px; }
    .section-header    { flex-wrap: wrap; gap: 8px; }
}
