/* ═══════════════════════════════════════════
   CGS — Global Design System
   ═══════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #2d5a7b;
    --navy-dark: #1f3f52;
    --navy-light: #3a6d94;
    --navy-pale: #e8f0f6;
    --accent: #27a96f;
    --accent-dark: #1d8457;
    --warn: #e5820a;
    --danger: #d93526;
    --text: #1a1a1a;
    --text-muted: #666;
    --text-light: #999;
    --border: #eee;
    --bg: #f9f9f9;
    --white: #ffffff;
    --radius: 8px;
    --radius-sm: 4px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --sidebar-w: 240px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* ── SKIP LINK ── */
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--navy); color: white; padding: 8px;
    z-index: 200; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── HEADER ── */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}

header .container { padding-top: 0; padding-bottom: 0; }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 20px; font-weight: 800;
    color: var(--navy); letter-spacing: -0.5px;
}

.nav-links {
    display: flex; align-items: center; gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-badge {
    background: var(--navy-pale);
    color: var(--navy) !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.nav-badge--architect {
    background: linear-gradient(135deg, #1a1a2e, #2d5a7b);
    color: white !important;
}
.nav-link-subtle {
    color: var(--text-light) !important;
    font-size: 13px !important;
}

/* ── FLASH MESSAGES ── */
.flash-container {
    position: fixed; top: 68px; right: 20px;
    z-index: 500; display: flex; flex-direction: column; gap: 8px;
    max-width: 420px;
}
.flash {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 14px; font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.flash--success { background: #ecfdf5; color: #1d8457; border-left: 3px solid var(--accent); }
.flash--error   { background: #fef2f2; color: var(--danger); border-left: 3px solid var(--danger); }
.flash--info    { background: var(--navy-pale); color: var(--navy); border-left: 3px solid var(--navy); }
.flash--warning { background: #fffbeb; color: var(--warn); border-left: 3px solid var(--warn); }
.flash-close { background: none; border: none; cursor: pointer; font-size: 18px; line-height: 1; opacity: 0.5; }
.flash-close:hover { opacity: 1; }

/* ── BUTTONS ── */
.cta-primary {
    display: inline-block;
    background: var(--navy); color: white;
    padding: 14px 40px;
    border-radius: var(--radius); font-weight: 600; font-size: 15px;
    border: 2px solid var(--navy); cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(45,90,123,0.2);
    text-align: center;
}
.cta-primary:hover {
    background: var(--navy-dark); border-color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(45,90,123,0.3);
    transform: translateY(-1px);
}
.cta-secondary {
    display: inline-block;
    background: transparent; color: var(--navy);
    padding: 14px 40px;
    border: 2px solid var(--navy);
    border-radius: var(--radius); font-weight: 600; font-size: 15px;
    cursor: pointer; transition: all 0.25s ease;
    text-align: center;
}
.cta-secondary:hover {
    background: var(--navy); color: white;
    box-shadow: 0 4px 16px rgba(45,90,123,0.25);
    transform: translateY(-1px);
}
.cta-sm { padding: 8px 20px; font-size: 13px; }
.cta-card { width: 100%; display: block; margin-top: 20px; }
.btn-outline {
    display: inline-block;
    border: 1.5px solid var(--border);
    color: var(--text-muted); background: white;
    padding: 8px 18px; border-radius: var(--radius);
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline--featured { border-color: var(--navy); color: var(--navy); }
.btn-link { color: var(--navy); font-size: 13px; font-weight: 600; white-space: nowrap; }
.btn-link:hover { text-decoration: underline; }
.btn-icon {
    background: none; border: none; cursor: pointer;
    font-size: 18px; width: 28px; height: 28px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    opacity: 0.4; transition: all 0.2s;
}
.btn-icon:hover { opacity: 1; background: var(--bg); }
.btn-icon--delete:hover { background: #fef2f2; color: var(--danger); opacity: 1; }

/* ── SECTIONS ── */
section { padding: 80px 0; }
section.hero { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 120px 0; text-align: center; }
section.alt { background: white; }
section.light { background: var(--bg); }
.section-cta-footer { padding: 100px 0; }

.hero-title { font-size: clamp(32px,8vw,56px); font-weight: 800; color: var(--text); margin-bottom: 12px; line-height: 1.2; }
.hero-subtitle { font-size: clamp(18px,4vw,28px); color: var(--navy); margin-bottom: 24px; font-weight: 600; }
.hero-tagline { font-size: 20px; color: var(--text); max-width: 800px; margin: 0 auto 24px; font-weight: 500; line-height: 1.7; }
.hero-description { font-size: 16px; color: #444; max-width: 900px; margin: 24px auto 40px; line-height: 1.8; }

.section-heading { font-size: clamp(26px,6vw,38px); font-weight: 700; color: var(--text); margin-bottom: 12px; text-align: center; line-height: 1.2; }
.section-subheading { font-size: clamp(16px,4vw,22px); color: var(--navy); text-align: center; margin-bottom: 16px; font-weight: 600; }
.section-description { font-size: 16px; color: var(--text-muted); text-align: center; margin-bottom: 48px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.7; }

.cta-group { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.support-text { font-size: 13px; color: var(--text-light); margin-top: 12px; font-weight: 500; }

/* ── CARDS ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; margin-bottom: 40px;
}
.cards-grid.grid-6 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
    background: white; padding: 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card--bordered { border-left: 4px solid var(--navy); }
.card--featured { border-left-color: var(--accent); background: #f0fdf7; }

.card-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.card-description { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; flex-grow: 1; }
.card-cta { color: var(--navy); font-weight: 600; font-size: 14px; transition: all 0.2s; align-self: flex-start; }
.card-cta:hover { color: var(--navy-dark); transform: translateX(3px); }
.card-price { font-size: 26px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.card-price-mo { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.card-price-subtext { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.card-tier-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.card-features { list-style: none; font-size: 14px; color: var(--text-muted); line-height: 2.2; margin-bottom: 8px; }
.card-features li { padding-left: 20px; position: relative; }
.card-features li:before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.card--featured .card-features li:before { color: var(--accent); }

.tier-badge {
    font-size: 11px; color: var(--navy); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px;
}
.tier-badge--featured { color: var(--accent); }
.step-number { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }

.list-items { max-width: 800px; margin: 40px auto; text-align: left; }
.list-items ul { list-style: none; }
.list-items li {
    padding: 12px 0; border-bottom: 1px solid var(--border);
    color: var(--text-muted); font-size: 15px; font-weight: 500;
}
.list-items li:before { content: "✓ "; color: var(--navy); font-weight: 700; margin-right: 8px; }

/* ── TESTIMONIALS ── */
.testimonial-card {
    border-left: 4px solid var(--navy);
    background: white;
}
.testimonial-quote {
    font-size: 15px; color: var(--text); line-height: 1.8;
    font-style: italic; margin-bottom: 16px; flex-grow: 1;
}
.testimonial-attr {
    font-size: 13px; color: var(--text-light); font-weight: 600;
}

/* ── PATHWAY ROUTE CARDS ── */
.pathway-route-card { border-top: 3px solid var(--navy); }
.pathway-route-card--capture { border-top-color: var(--accent); }
.pathway-route-label {
    font-size: 14px; font-weight: 700; color: var(--navy);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}
.pathway-route-card--capture .pathway-route-label { color: var(--accent-dark); }

/* ── PROJECT PRICING CARDS ── */
.cards-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.project-card { border-top: 3px solid var(--navy); border-left: none; }
.project-card.card--featured { border-top-color: var(--accent); background: #f0fdf7; }
.project-card-label {
    font-size: 14px; font-weight: 700; color: var(--text);
    margin-bottom: 8px; line-height: 1.3;
}
.project-card-price {
    font-size: 20px; font-weight: 700; color: var(--navy);
    margin-bottom: 14px;
}
.project-card.card--featured .project-card-price { color: var(--accent-dark); }

/* ── FOOTER ── */
footer { background: #1a1a1a; color: white; padding: 56px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: #888; }
.footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #666; margin-bottom: 12px; }
footer a { display: block; font-size: 13px; color: #aaa; margin-bottom: 8px; transition: color 0.2s; }
footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid #333; padding-top: 24px; text-align: center; font-size: 13px; color: #666; }

/* ═══════════════════════════════════════════
   ASSESSMENT WIZARD
   ═══════════════════════════════════════════ */
.page-assessment body, .assessment-wrapper { min-height: 100vh; }

.assessment-wrapper {
    max-width: 760px; margin: 0 auto;
    padding: 32px 24px 80px;
}

.assessment-header {
    display: flex; align-items: center; gap: 20px; margin-bottom: 40px;
}
.back-link { font-size: 13px; color: var(--text-light); white-space: nowrap; }
.back-link:hover { color: var(--navy); }
.progress-bar-wrapper {
    flex: 1; height: 6px; background: var(--border);
    border-radius: 3px; overflow: hidden;
}
.progress-bar { height: 100%; background: var(--navy); border-radius: 3px; transition: width 0.4s ease; }
.progress-label { font-size: 12px; color: var(--text-light); white-space: nowrap; }

.assessment-step { display: none; }
.assessment-step.active { display: flex; flex-direction: column; gap: 0; }

.assessment-step-inner { flex: 1; }

.step-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--navy); margin-bottom: 12px; }
.assessment-title { font-size: clamp(22px,5vw,32px); font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.assessment-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }

/* Pathway cards */
.pathway-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pathway-card {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 20px;
    border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: all 0.2s; background: white;
}
.pathway-card:hover { border-color: var(--navy-light); background: var(--navy-pale); }
.pathway-card.selected { border-color: var(--navy); background: var(--navy-pale); }
.pathway-card input[type="radio"] { display: none; }
.pathway-card-icon { font-size: 24px; margin-bottom: 4px; }
.pathway-card-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.pathway-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Option list */
.option-list { display: flex; flex-direction: column; gap: 12px; }
.option-list--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option-item {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: all 0.2s; background: white;
}
.option-item:hover { border-color: var(--navy-light); background: var(--navy-pale); }
.option-item.selected, .option-item:has(input:checked) { border-color: var(--navy); background: var(--navy-pale); }
.option-item input[type="radio"] { display: none; }
.option-title { font-size: 15px; font-weight: 600; color: var(--text); }
.option-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Textarea */
.assessment-textarea {
    width: 100%; padding: 16px;
    border: 2px solid var(--border); border-radius: var(--radius);
    font-family: inherit; font-size: 15px; line-height: 1.6;
    resize: vertical; transition: border-color 0.2s;
}
.assessment-textarea:focus { outline: none; border-color: var(--navy); }
.char-count { font-size: 12px; color: var(--text-light); margin-top: 6px; text-align: right; }

/* Checkbox grid */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-item {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px;
    border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; font-size: 14px; font-weight: 500;
    background: white; transition: all 0.2s;
}
.checkbox-item:hover { border-color: var(--navy-light); background: var(--navy-pale); }
.checkbox-item input:checked + * { color: var(--navy); }
.checkbox-item:has(input:checked) { border-color: var(--navy); background: var(--navy-pale); }

/* Step navigation */
.step-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
}
.btn-next, .btn-back, .btn-submit {
    padding: 13px 32px; border-radius: var(--radius);
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: all 0.25s; border: 2px solid;
}
.btn-next, .btn-submit {
    background: var(--navy); color: white; border-color: var(--navy);
    box-shadow: 0 2px 8px rgba(45,90,123,0.2);
}
.btn-next:hover, .btn-submit:hover:not(:disabled) {
    background: var(--navy-dark); border-color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(45,90,123,0.3); transform: translateY(-1px);
}
.btn-back { background: white; color: var(--text-muted); border-color: var(--border); }
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ═══════════════════════════════════════════
   RESULTS PAGE
   ═══════════════════════════════════════════ */
.results-wrapper {}

.results-header {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--navy) 100%);
    color: white; padding: 40px 0;
}
.results-header-inner {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.results-badge {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: rgba(255,255,255,0.6); margin-bottom: 10px;
}
.results-title { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.results-meta { font-size: 14px; color: rgba(255,255,255,0.6); }
.results-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.results-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: white; }
.results-actions .btn-outline:hover { background: rgba(255,255,255,0.1); }

.results-body { padding: 40px 24px 80px; }

.results-section { margin-bottom: 40px; }
.results-section--bluf {
    background: white; border-radius: var(--radius);
    padding: 28px 32px; box-shadow: var(--shadow);
    border-left: 4px solid var(--navy);
}
.results-section-label {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 16px;
}
.label-tag {
    background: var(--navy); color: white;
    padding: 3px 8px; border-radius: 3px; font-size: 10px;
}
.label-tag--orange { background: var(--warn); }
.label-tag--green { background: var(--accent); }
.label-tag--blue { background: var(--navy-light); }
.label-tag--purple { background: #7c3aed; }

.bluf-text { font-size: 16px; line-height: 1.8; color: var(--text); }

.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }

.results-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.results-list-item {
    padding: 12px 16px;
    background: white; border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text-muted);
    border-left: 3px solid var(--warn);
    box-shadow: var(--shadow-sm);
}

.results-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: steps; }
.results-step {
    padding: 12px 16px 12px 50px;
    background: white; border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text-muted);
    box-shadow: var(--shadow-sm); position: relative;
    counter-increment: steps;
}
.results-step:before {
    content: counter(steps);
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; background: var(--accent);
    color: white; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
    line-height: 22px; text-align: center;
}

.poam-table-wrapper { overflow-x: auto; }
.poam-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.poam-table th {
    background: var(--navy); color: white; padding: 12px 16px;
    text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.poam-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.poam-table tr:nth-child(even) td { background: var(--bg); }
.poam-title { font-weight: 600; color: var(--text); }
.poam-desc { color: var(--text-muted); font-size: 13px; }

.support-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.support-channel-item {
    padding: 12px 16px; background: white; border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text-muted); box-shadow: var(--shadow-sm);
}

.results-cta-section { margin-top: 40px; }
.results-cta-box {
    background: white; border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow);
}
.results-cta-box--save { border: 2px solid var(--navy-pale); }
.results-cta-icon { font-size: 28px; margin-bottom: 8px; }
.results-cta-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.results-cta-box p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Badges */
.priority-badge {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    padding: 3px 8px; border-radius: 10px; letter-spacing: 0.3px;
}
.priority-badge--high { background: #fef2f2; color: var(--danger); }
.priority-badge--medium { background: #fffbeb; color: var(--warn); }
.priority-badge--low { background: #f0fdf4; color: var(--accent-dark); }

.status-badge { font-size: 11px; padding: 3px 8px; border-radius: 10px; font-weight: 600; }
.status-badge--not_started { background: var(--bg); color: var(--text-light); }
.status-badge--in_progress { background: #eff6ff; color: #2563eb; }
.status-badge--blocked { background: #fef2f2; color: var(--danger); }
.status-badge--complete { background: #f0fdf4; color: var(--accent-dark); }

/* ═══════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════ */
.page-auth main { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); padding: 40px 24px; }
.auth-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; }
.auth-card {
    background: white; padding: 48px;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    width: 100%; max-width: 460px;
}
.auth-card--register { max-width: 500px; }
.auth-logo { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.5; }

.tier-highlight {
    display: inline-block; background: var(--navy-pale); color: var(--navy);
    font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.tier-highlight--architect { background: #1a1a2e; color: white; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 14px; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--navy);
}
.auth-submit { width: 100%; margin-top: 4px; }
.auth-divider { text-align: center; color: var(--text-light); font-size: 13px; margin: 20px 0 16px; }
.auth-links { display: flex; gap: 12px; }
.auth-links .btn-outline { flex: 1; text-align: center; }
.auth-free-link { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 14px; }
.auth-free-link a { color: var(--navy); }

.register-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin: 4px 0; padding: 16px;
    background: var(--bg); border-radius: var(--radius-sm);
}
.reg-feature { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ═══════════════════════════════════════════
   WORKSPACE (DASHBOARD + ARCHITECT)
   ═══════════════════════════════════════════ */
.page-workspace main { padding: 0; }

.workspace-layout {
    display: flex; min-height: calc(100vh - 60px);
}

/* SIDEBAR */
.workspace-sidebar {
    width: var(--sidebar-w); flex-shrink: 0;
    background: white; border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: sticky; top: 60px; height: calc(100vh - 60px);
    overflow-y: auto;
}
.workspace-sidebar--architect {
    background: #0f1b2e;
}

.sidebar-user {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 16px; border-bottom: 1px solid var(--border);
}
.workspace-sidebar--architect .sidebar-user { border-bottom-color: rgba(255,255,255,0.08); }

.sidebar-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.sidebar-avatar--architect { background: linear-gradient(135deg, var(--navy), var(--accent)); }
.sidebar-name { font-size: 13px; font-weight: 700; color: var(--text); }
.workspace-sidebar--architect .sidebar-name { color: white; }
.sidebar-tier { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.sidebar-tier--architect { color: var(--accent); }

.sidebar-nav { padding: 12px 8px; flex: 1; }
.sidebar-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 10px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    transition: all 0.2s; cursor: pointer; margin-bottom: 2px;
    position: relative;
}
.workspace-sidebar--architect .sidebar-link { color: rgba(255,255,255,0.5); }
.sidebar-link:hover { background: var(--bg); color: var(--text); }
.workspace-sidebar--architect .sidebar-link:hover { background: rgba(255,255,255,0.05); color: white; }
.sidebar-link.active { background: var(--navy-pale); color: var(--navy); font-weight: 600; }
.workspace-sidebar--architect .sidebar-link.active { background: rgba(45,90,123,0.3); color: white; }
.sidebar-icon { font-size: 15px; }
.sidebar-badge {
    margin-left: auto; background: var(--navy); color: white;
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px;
}
.sidebar-badge--urgent { background: var(--danger); }

.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }
.workspace-sidebar--architect .sidebar-footer { border-top-color: rgba(255,255,255,0.08); }
.sidebar-action {
    display: block; text-align: center;
    padding: 9px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
    color: var(--navy); transition: all 0.2s; margin-bottom: 8px;
}
.sidebar-action:hover { background: var(--navy); color: white; border-color: var(--navy); }
.sidebar-upgrade {
    display: block; text-align: center;
    font-size: 12px; color: var(--text-light); padding: 4px;
}
.sidebar-upgrade:hover { color: var(--navy); }

/* MAIN */
.workspace-main { flex: 1; padding: 32px 36px; overflow-y: auto; max-width: calc(100% - var(--sidebar-w)); }
.workspace-tab { display: none; }
.workspace-tab.active { display: block; }
.workspace-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px; gap: 16px;
}
.workspace-title { font-size: 22px; font-weight: 700; color: var(--text); }
.architect-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); margin-bottom: 4px; }

/* Stats */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-bottom: 32px;
}
.stats-grid--architect { grid-template-columns: repeat(5, 1fr); }
.stat-card {
    background: white; padding: 20px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    border-top: 3px solid var(--border);
}
.stat-card--architect { border-top-color: var(--navy); }
.stat-card--active { border-top-color: var(--warn); }
.stat-card--progress { border-top-color: #2563eb; }
.stat-card--success { border-top-color: var(--accent); }
.stat-value { font-size: 32px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Empty state */
.empty-state {
    text-align: center; padding: 60px 24px;
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.empty-state--sm { padding: 28px 16px; }
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

/* Section blocks */
.section-block { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.section-block-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-block-title { font-size: 15px; font-weight: 700; color: var(--text); }
.section-block-link { font-size: 13px; color: var(--navy); font-weight: 600; cursor: pointer; }
.section-block-link:hover { text-decoration: underline; }

/* POAM rows */
.poam-list { display: flex; flex-direction: column; gap: 10px; }
.poam-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; background: var(--bg);
    border-radius: var(--radius-sm); gap: 12px;
}
.poam-row--complete { opacity: 0.55; }
.poam-row-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.poam-row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.poam-row-title { font-size: 14px; font-weight: 600; color: var(--text); }
.poam-row-desc { font-size: 12px; color: var(--text-light); }

.poam-status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dot--not_started { background: var(--border); border: 2px solid #ccc; }
.status-dot--in_progress { background: #2563eb; }
.status-dot--blocked { background: var(--danger); }
.status-dot--complete { background: var(--accent); }

.status-select {
    padding: 4px 8px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 12px; font-weight: 600;
    background: white; cursor: pointer; color: var(--text-muted);
}

/* Full POAM list */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-btn {
    padding: 6px 14px; border: 1.5px solid var(--border);
    border-radius: 20px; font-size: 12px; font-weight: 600;
    background: white; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

.poam-full-list { display: flex; flex-direction: column; gap: 12px; }
.poam-full-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; background: white;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.poam-full-check { padding-top: 3px; }
.poam-full-content { flex: 1; min-width: 0; }
.poam-full-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.poam-full-title.strikethrough { text-decoration: line-through; opacity: 0.5; }
.poam-full-desc { font-size: 13px; color: var(--text-muted); }
.poam-full-notes { font-size: 12px; color: var(--navy); margin-top: 4px; }
.poam-full-due { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.poam-full-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Assessment rows */
.assessment-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; background: var(--bg);
    border-radius: var(--radius-sm); margin-bottom: 8px;
}
.assessment-row--architect { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.assessment-row-pathway { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.assessment-row-bluf { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.assessment-row-date { font-size: 12px; color: var(--text-light); }

/* Vault */
.vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.vault-card {
    background: white; padding: 20px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    border-top: 3px solid var(--border);
}
.vault-card--architect { border-top-color: var(--navy); }
.vault-card-type {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--text-light); margin-bottom: 8px;
}
.vault-type--document { color: var(--navy); }
.vault-type--brief { color: var(--accent-dark); }
.vault-type--playbook { color: #7c3aed; }
.vault-type--execution_step { color: var(--navy-light); }
.vault-card-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.vault-card-content { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.vault-card-date { font-size: 11px; color: var(--text-light); }

/* Assessment history */
.assessment-history { display: flex; flex-direction: column; gap: 12px; }
.assessment-history-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 20px; background: white;
    border-radius: var(--radius); box-shadow: var(--shadow-sm); gap: 16px;
}
.assessment-history-main { flex: 1; }
.assessment-history-pathway { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.assessment-history-preview { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.5; }
.assessment-history-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-light); }

/* Scorecard */
.scorecard { margin-bottom: 20px; }
.scorecard-bar-wrapper { height: 8px; background: var(--border); border-radius: 4px; margin-bottom: 8px; overflow: hidden; }
.scorecard-bar { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.5s ease; }
.scorecard-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* Governance */
.governance-wrapper { max-width: 720px; }
.governance-checklist { display: flex; flex-direction: column; gap: 24px; }
.governance-section {}
.governance-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy); margin-bottom: 12px; }
.governance-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px; background: white;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
    cursor: pointer; font-size: 14px; color: var(--text-muted);
    margin-bottom: 8px; transition: all 0.2s;
}
.governance-item:hover { background: var(--navy-pale); }
.governance-item:has(.governance-check:checked) { background: #f0fdf4; color: var(--text); text-decoration: line-through; opacity: 0.7; }
.governance-check { margin-top: 2px; accent-color: var(--accent); }
.governance-score { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--text-muted); }

/* Messages */
.messages-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.messages-send, .messages-history {}
.messages-send-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.messages-send-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.message-form { display: flex; flex-direction: column; gap: 16px; }
.messages-history-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.message-item {
    padding: 16px; border-radius: var(--radius);
    margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.message-item--outbound { background: var(--navy-pale); border-left: 3px solid var(--navy); }
.message-item--inbound { background: #f0fdf4; border-left: 3px solid var(--accent); }
.message-meta { display: flex; justify-content: space-between; margin-bottom: 6px; }
.message-author { font-size: 12px; font-weight: 700; color: var(--text); }
.message-date { font-size: 11px; color: var(--text-light); }
.message-subject { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.message-body { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Modals */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 200; display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.modal {
    background: white; border-radius: var(--radius);
    width: 100%; max-width: 500px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-height: 90vh; overflow-y: auto;
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 17px; font-weight: 700; }
.modal-close {
    background: none; border: none; font-size: 22px;
    cursor: pointer; color: var(--text-light); line-height: 1;
}
.modal-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.modal-body { padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Sidebar extras */
.sidebar-divider { height: 1px; background: var(--border); margin: 12px 0; }
.workspace-sidebar--architect .sidebar-divider { background: rgba(255,255,255,0.1); }
.sidebar-locked-label { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-light); padding: 4px 16px; }
.workspace-sidebar--architect .sidebar-locked-label { color: rgba(255,255,255,0.3); }
.sidebar-link--locked { opacity: 0.45; cursor: default; pointer-events: auto; }
.sidebar-link--locked:hover { background: transparent; color: inherit; }
.lock-icon { font-size: 11px; margin-left: auto; opacity: 0.7; }
.sidebar-link--enterprise { opacity: 0.35; cursor: default; }
.enterprise-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: auto; flex-shrink: 0; }

/* ── Workspace eyebrows */
.workspace-eyebrow, .architect-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--text-light); margin-bottom: 4px;
}
.architect-eyebrow { color: var(--navy-light); }

/* ── Progress track */
.progress-track { margin-top: 12px; }
.progress-track-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-track-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.4s ease; }
.progress-track-fill--architect { background: var(--navy); }
.progress-track-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ── Pathway BLUF */
.pathway-bluf { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.pathway-summary-row { margin-bottom: 12px; }

/* ── Execution Tracker */
.execution-header-block {
    background: white; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 24px; margin-bottom: 24px;
}
.execution-pathway-label { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.execution-pathway-meta { font-size: 12px; color: var(--text-muted); }
.execution-steps { display: flex; flex-direction: column; gap: 12px; }
.execution-step {
    display: flex; gap: 16px; background: white; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 20px 24px;
    border-left: 4px solid var(--border); transition: border-color 0.2s;
}
.execution-step--done { border-left-color: var(--accent); opacity: 0.65; }
.execution-step-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--navy-pale);
    color: var(--navy); font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.execution-step-num--architect { background: var(--navy); color: white; }
.execution-step-body { flex: 1; }
.execution-step-text { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 10px; }
.execution-step-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.step-check-label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--text-muted); }
.step-check-label input[type="checkbox"] { accent-color: var(--accent); }
.step-advisor-note {
    margin-top: 10px; padding: 10px 12px; background: #fffbeb;
    border-radius: var(--radius-sm); font-size: 12px; color: #92400e;
}
.advisor-note-tag {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    background: #fef3c7; color: #92400e; padding: 2px 6px; border-radius: 3px; margin-right: 6px;
}
.section-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Resources */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.resource-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.resource-card--architect { border-color: var(--navy-pale); }
.resource-type {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 3px 8px; border-radius: 10px; display: inline-block; width: fit-content;
}
.resource-type--checklist { background: #f0fdf4; color: var(--accent-dark); }
.resource-type--template { background: var(--navy-pale); color: var(--navy); }
.resource-type--playbook { background: #fef3c7; color: #92400e; }
.resource-type--worksheet { background: #eff6ff; color: #2563eb; }
.resource-type--guide { background: #f5f3ff; color: #6d28d9; }
.resource-title { font-size: 14px; font-weight: 700; color: var(--text); }
.resource-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.resource-btn { margin-top: 8px; }
.resource-modal-type { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; letter-spacing: 0.5px; }
.resource-modal-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── Support orgs */
.support-org-list { display: flex; flex-direction: column; gap: 10px; }
.support-org-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.support-org-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); flex-shrink: 0; }

/* ── Tier locked block (member → architect) */
.tier-locked-block {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 24px; background: var(--bg);
}
.tier-locked-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tier-locked-icon { font-size: 28px; flex-shrink: 0; }
.tier-locked-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tier-locked-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; max-width: 480px; }

/* ── Enterprise locked block (architect → enterprise) */
.enterprise-locked-block {
    border: 2px dashed rgba(45,90,123,0.3); border-radius: var(--radius);
    padding: 20px; background: linear-gradient(135deg, #f8fafc, #f0f4f8);
}
.enterprise-locked-inner { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.enterprise-badge-label {
    display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.6px;
    text-transform: uppercase; padding: 3px 8px; border-radius: 10px;
    background: var(--navy); color: white; white-space: nowrap; flex-shrink: 0;
}

/* ── Enterprise preview block (on command dashboard) */
.enterprise-preview-block {
    background: linear-gradient(135deg, #0f1b2e, #1f3f52); border-radius: var(--radius);
    padding: 32px; margin-top: 32px; color: white;
}
.enterprise-preview-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.enterprise-preview-title { font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.9); }
.enterprise-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.enterprise-preview-item {
    background: rgba(255,255,255,0.07); border-radius: var(--radius); padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.enterprise-item-icon { font-size: 24px; margin-bottom: 10px; }
.enterprise-item-title { font-size: 13px; font-weight: 700; color: white; margin-bottom: 6px; }
.enterprise-item-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.enterprise-preview-footer { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }

/* ── Upgrade prompt (member workspace) */
.upgrade-prompt {
    background: linear-gradient(135deg, #1f3f52, #2d5a7b);
    border-radius: var(--radius); padding: 24px; margin-top: 8px;
}
.upgrade-prompt-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.upgrade-prompt-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
.upgrade-prompt-desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; max-width: 480px; }

/* ── Governance grade */
.governance-grade {
    margin-top: 12px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
}
.governance-grade--pass { background: #f0fdf4; color: var(--accent-dark); }
.governance-grade--near { background: #fffbeb; color: #92400e; }
.section-description { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.strikethrough { text-decoration: line-through; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid--architect { grid-template-columns: repeat(3, 1fr); }
    .results-grid { grid-template-columns: 1fr; }
    .messages-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .workspace-layout { flex-direction: column; }
    .workspace-sidebar {
        position: static; height: auto; width: 100%;
        flex-direction: row; overflow-x: auto;
    }
    .workspace-sidebar--architect { background: #0f1b2e; }
    .sidebar-user { display: none; }
    .sidebar-nav { display: flex; flex-direction: row; padding: 8px; gap: 4px; overflow-x: auto; }
    .sidebar-link { white-space: nowrap; }
    .sidebar-footer { display: none; }
    .workspace-main { padding: 20px 16px; max-width: 100%; }
    .pathway-cards { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .option-list--2col { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid--architect { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 16px; }
    .nav-links a:first-child, .nav-links a:nth-child(2), .nav-links a:nth-child(3) { display: none; }
    .cards-grid { grid-template-columns: 1fr; }
    .results-header-inner { flex-direction: column; }
    .results-actions { flex-direction: row; }
    .footer-grid { grid-template-columns: 1fr; }
    .poam-full-row { flex-wrap: wrap; }
    .auth-card { padding: 32px 24px; }
    .register-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .assessment-wrapper { padding: 20px 16px 60px; }
    .stats-grid, .stats-grid--architect { grid-template-columns: 1fr 1fr; }
    .workspace-main { padding: 16px; }
}

/* Accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--navy); outline-offset: 2px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
