:root {
    --leidos-purple: #5c2d91;
    --leidos-purple-dark: #3b1464;
    --leidos-purple-light: #7b42b5;
    --leidos-purple-accent: #8b5cf6;
    --leidos-purple-bg: rgba(92, 45, 145, 0.09);
    --cbp-navy: #002855;
    --cbp-navy-dark: #001733;
    --cbp-blue-light: #00458f;
    --cbp-accent-cyan: #0284c7;
    --slate-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-subtle: #cbd5e1;
    --text-primary: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --emerald-green: #059669;
    --amber-warning: #d97706;
}

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

/* Base Presentation Adaptive Font Sizing */
html {
    font-size: clamp(16px, 1.15vw, 21px);
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--slate-bg);
    min-height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Individual Slide File Mode (inside iframe or opened standalone) */
body:not(.presentation-app) {
    height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding: clamp(14px, 1.8vh, 24px) clamp(24px, 3.2vw, 56px) 120px;
    box-sizing: border-box;
}

body:not(.presentation-app)::after {
    content: "";
    display: block;
    height: 40px;
    width: 100%;
}

/* Presentation App Host Shell (index.html) */
body.presentation-app {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* ==========================================================================
   LEFT SIDEBAR (PRESENTATION-READY, HIGH CONTRAST)
   ========================================================================== */
.sidebar {
    width: clamp(340px, 24vw, 440px);
    background-color: var(--cbp-navy-dark);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    border-right: 4px solid var(--leidos-purple);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 20;
    flex-shrink: 0;
}

.sidebar-header {
    padding: clamp(18px, 2vh, 26px) clamp(18px, 1.5vw, 24px);
    background: linear-gradient(160deg, #090e1a 0%, var(--cbp-navy-dark) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.leidos-logo {
    height: clamp(32px, 3.5vh, 42px);
    width: auto;
}

.cbp-tag {
    background-color: rgba(2, 132, 199, 0.25);
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgba(125, 211, 252, 0.5);
}

.sidebar-header h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.sidebar-header .subtitle {
    font-size: clamp(0.85rem, 1vw, 1.05rem);
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

.nav-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.nav-container::-webkit-scrollbar {
    width: 6px;
}
.nav-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.nav-section-group {
    margin-bottom: 18px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px clamp(18px, 1.5vw, 26px);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
    background-color: rgba(0, 40, 85, 0.85);
    border-left: 4px solid transparent;
}

.section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--leidos-purple);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.nav-sub-list {
    list-style: none;
    padding: 4px 0;
}

.nav-sub-list li {
    padding: 12px clamp(18px, 1.5vw, 24px) 12px clamp(24px, 2vw, 36px);
    font-size: clamp(1.0rem, 1.15vw, 1.25rem); /* LARGE PRESENTATION FONT */
    color: #e2e8f0;
    cursor: pointer;
    border-left: 5px solid transparent;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.nav-sub-list li:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding-left: clamp(28px, 2.3vw, 42px);
}

.nav-sub-list li.active {
    background-color: rgba(92, 45, 145, 0.55);
    color: #ffffff;
    border-left: 5px solid var(--leidos-purple-accent);
    font-weight: 800;
}

.sub-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 800;
}

.nav-sub-list li.active .sub-num {
    color: #e9d5ff;
}

.nav-sub-list li.highlight-item {
    color: #38bdf8;
    font-weight: 800;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.88rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #080d1a;
    font-weight: 700;
}

.status-indicator {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--emerald-green);
    box-shadow: 0 0 12px var(--emerald-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* ==========================================================================
   MAIN CONTENT PANE (ADAPTIVE & EXPANSIVE)
   ========================================================================== */
.content-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--slate-bg);
    overflow: hidden;
    position: relative;
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    min-width: 0;
}

.content-header {
    height: clamp(52px, 6.2vh, 66px);
    background-color: #ffffff;
    border-bottom: 2px solid var(--border-subtle);
    padding: 0 clamp(20px, 2.5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.breadcrumb-badge {
    font-size: clamp(0.82rem, 0.9vw, 1.0rem);
    font-weight: 800;
    color: var(--leidos-purple);
    background-color: var(--leidos-purple-bg);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(92, 45, 145, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 1.0rem;
    font-weight: 700;
}

.breadcrumb-current {
    font-size: clamp(1.05rem, 1.25vw, 1.45rem);
    font-weight: 800;
    color: var(--cbp-navy);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.progress-indicator {
    font-family: ui-monospace, monospace;
    font-size: clamp(0.85rem, 0.95vw, 1.05rem);
    color: var(--text-secondary);
    background-color: #f1f5f9;
    padding: 5px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    font-weight: 800;
}

.ctrl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(34px, 4vh, 42px);
    height: clamp(34px, 4vh, 42px);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background-color: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.ctrl-btn:hover {
    background-color: var(--cbp-navy);
    color: #ffffff;
    border-color: var(--cbp-navy);
}

.ctrl-btn svg {
    width: clamp(18px, 2vh, 24px);
    height: clamp(18px, 2vh, 24px);
}

.progress-bar-track {
    height: 4px;
    background-color: #e2e8f0;
    width: 100%;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--leidos-purple) 0%, var(--cbp-accent-cyan) 100%);
    width: 6.25%;
    transition: width 0.25s ease;
}

/* Content Body */
.content-body {
    flex: 1 1 0%;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: clamp(14px, 1.8vh, 24px) clamp(24px, 3.2vw, 56px) 120px;
    max-width: 1750px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.content-body:not(.iframe-mode)::after {
    content: "";
    display: block;
    height: 40px;
    width: 100%;
}

.content-body.iframe-mode {
    padding: 0 !important;
    overflow: hidden !important;
    max-width: none !important;
}

.content-body.iframe-mode iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: transparent;
}

/* ==========================================================================
   HIGH-VISIBILITY TYPOGRAPHY FOR PRESENTATION SCREENS
   ========================================================================== */
.content-body h1, body:not(.presentation-app) h1 {
    color: var(--cbp-navy);
    font-size: clamp(1.65rem, 2.2vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: clamp(10px, 1.2vh, 16px);
    padding-bottom: clamp(6px, 0.8vh, 10px);
    border-bottom: 3px solid var(--leidos-purple);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-body h2, body:not(.presentation-app) h2 {
    color: var(--leidos-purple);
    font-size: clamp(1.25rem, 1.6vw, 1.85rem);
    font-weight: 800;
    margin-top: clamp(14px, 1.8vh, 24px);
    margin-bottom: clamp(8px, 1.0vh, 14px);
}

.content-body h3, body:not(.presentation-app) h3 {
    color: var(--cbp-navy);
    font-size: clamp(1.2rem, 1.5vw, 1.65rem);
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 14px;
}

.content-body p, body:not(.presentation-app) p {
    font-size: clamp(1.05rem, 1.2vw, 1.35rem);
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 450;
}

.content-body ul, body:not(.presentation-app) ul, .content-body ol, body:not(.presentation-app) ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.content-body li, body:not(.presentation-app) li {
    font-size: clamp(1.02rem, 1.15vw, 1.3rem);
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.content-body strong, body:not(.presentation-app) strong {
    color: var(--text-primary);
    font-weight: 800;
}

/* Action / Notice Banner */
.note-box {
    background-color: #fffbeb;
    border-left: 6px solid var(--amber-warning);
    padding: 18px 24px;
    border-radius: 0 10px 10px 0;
    margin: 24px 0;
    border: 1px solid #fef3c7;
    border-left-width: 6px;
}

.note-box-title {
    font-weight: 900;
    color: #92400e;
    font-size: clamp(1.0rem, 1.1vw, 1.2rem);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.note-box p {
    color: #78350f;
    font-size: clamp(0.95rem, 1.05vw, 1.15rem);
    margin-bottom: 0;
    font-weight: 500;
}

/* ==========================================================================
   CONNECTED 10-STEP WORKFLOW DIAGRAM (SECTION 2.1)
   ========================================================================== */
.workflow-pipeline {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.workflow-phase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 8px;
    border-left: 5px solid var(--leidos-purple);
    margin-bottom: -6px;
}

.phase-title {
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
    font-weight: 800;
    color: var(--cbp-navy);
}

.phase-tag {
    font-size: 0.8rem;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    padding: 3px 8px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #334155;
}

.workflow-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.wf-step-card {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 5px solid var(--cbp-navy);
}

.wf-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.wf-step-card.purple-wf {
    border-top-color: var(--leidos-purple);
}

.wf-step-card.green-wf {
    border-top-color: var(--emerald-green);
    background: #f0fdf4;
}

/* Step 8 Loop Card */
.wf-step-card.loop-card {
    border: 2px solid #7c3aed;
    border-top: 6px solid #7c3aed;
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.15);
}

.loop-pulse-badge {
    background: #7c3aed;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.loop-mini-flow {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #d8b4fe;
    font-size: 0.72rem;
    font-weight: 800;
    color: #6d28d9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wf-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--leidos-purple);
    font-size: 1.1rem;
    font-weight: 900;
    padding: 0 2px;
    user-select: none;
}

.wf-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.wf-step-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    color: #ffffff;
    background-color: var(--cbp-navy);
}

.wf-step-badge.purple-bg { background-color: var(--leidos-purple); }
.wf-step-badge.green-bg { background-color: var(--emerald-green); }
.wf-step-badge.loop-bg { background-color: #7c3aed; }

.wf-step-time {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--text-secondary);
}

.wf-step-title {
    font-size: clamp(0.9rem, 1.0vw, 1.12rem);
    font-weight: 800;
    color: var(--cbp-navy);
    margin-bottom: 6px;
    line-height: 1.25;
}

.wf-step-desc {
    font-size: clamp(0.78rem, 0.88vw, 0.96rem);
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
}

/* Downward bridge connector between row 1 and row 2 */
.workflow-bridge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #f8fafc 0%, #ede9fe 50%, #f8fafc 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: var(--leidos-purple);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bridge-arrow {
    font-size: 1.2rem;
    font-weight: 900;
    animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* ==========================================================================
   TEAM HEADSHOT & BIO GRID (5 IN THE ROOM)
   ========================================================================== */
.team-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0;
    width: 100%;
}

.team-row-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-left: 6px solid var(--leidos-purple);
    border-radius: 12px;
    padding: 14px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-row-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.team-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 320px;
    max-width: 350px;
    flex-shrink: 0;
    gap: 4px;
}

.team-desc {
    flex: 1;
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.45;
    font-weight: 500;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.team-deck {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
    max-width: 1350px;
    width: 100%;
}

.team-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.team-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
    max-width: 1350px;
}

.team-card {
    background: #ffffff;
    border: 2px solid var(--border-subtle);
    border-radius: 14px;
    padding: 22px 20px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 6px solid var(--leidos-purple);
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.avatar-frame {
    width: 76px;
    height: 76px;
    max-width: 76px;
    max-height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--leidos-purple) 0%, var(--cbp-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 40, 85, 0.2);
    border: 3px solid #ffffff;
    overflow: hidden !important;
    position: relative;
    flex-shrink: 0;
}

.avatar-frame img,
.team-card .avatar-frame img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important;
    display: block !important;
    border-radius: 50% !important;
}

.team-name {
    font-size: clamp(1.22rem, 1.4vw, 1.48rem);
    font-weight: 900;
    color: var(--cbp-navy);
    margin-bottom: 6px;
    white-space: nowrap;
}

.team-role {
    font-size: clamp(0.82rem, 0.90vw, 0.96rem);
    font-weight: 800;
    color: var(--leidos-purple);
    background-color: var(--leidos-purple-bg);
    padding: 4px 14px;
    border-radius: 14px;
    margin-bottom: 12px;
    display: inline-block;
    border: 1px solid rgba(92, 45, 145, 0.2);
    white-space: nowrap;
}

.team-overview {
    font-size: clamp(0.92rem, 1.0vw, 1.06rem);
    color: var(--text-secondary);
    line-height: 1.48;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.team-bullets {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.team-bullets li {
    font-size: clamp(0.92rem, 1.05vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.45;
    position: relative;
    padding-left: 16px;
    font-weight: 500;
    overflow-wrap: break-word;
    word-break: break-word;
}

.team-bullets li::before {
    content: "•";
    color: var(--leidos-purple);
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
}

/* ==========================================================================
   BUBBLE CONTAINERS (ADAPTIVE & READABLE)
   ========================================================================== */
.bubble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    margin: clamp(12px, 1.6vh, 20px) 0;
}

.bubble-card {
    background: #ffffff;
    border-radius: 14px;
    padding: clamp(14px, 1.6vh, 22px) clamp(16px, 1.5vw, 24px);
    border: 2px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
}

.bubble-card.purple-bubble { border-top: 6px solid var(--leidos-purple); }
.bubble-card.blue-bubble   { border-top: 6px solid var(--cbp-blue-light); }
.bubble-card.cyan-bubble   { border-top: 6px solid var(--cbp-accent-cyan); }
.bubble-card.navy-bubble   { border-top: 6px solid var(--cbp-navy); }
.bubble-card.green-bubble  { border-top: 6px solid var(--emerald-green); }

.bubble-badge {
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.8rem, 0.92vw, 1.1rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: clamp(8px, 1.0vh, 12px);
    align-self: flex-start;
}

.purple-badge { background-color: var(--leidos-purple-bg); color: var(--leidos-purple); border: 1.5px solid rgba(92, 45, 145, 0.35); }
.blue-badge { background-color: rgba(0, 40, 85, 0.12); color: var(--cbp-navy); border: 1.5px solid rgba(0, 40, 85, 0.3); }
.cyan-badge { background-color: rgba(2, 132, 199, 0.15); color: #0369a1; border: 1.5px solid rgba(2, 132, 199, 0.35); }
.navy-badge-pill { background-color: rgba(0, 40, 85, 0.12); color: var(--cbp-navy); border: 1.5px solid rgba(0, 40, 85, 0.3); }
.green-badge-pill { background-color: rgba(5, 150, 105, 0.15); color: #047857; border: 1.5px solid rgba(5, 150, 105, 0.35); }

.bubble-title {
    font-size: clamp(1.15rem, 1.4vw, 1.7rem);
    font-weight: 900;
    color: var(--cbp-navy);
    margin-bottom: clamp(8px, 1.0vh, 12px);
    line-height: 1.25;
}

.bubble-card ul {
    margin: 4px 0 0;
    padding-left: 20px;
}

.bubble-card li {
    font-size: clamp(0.88rem, 0.98vw, 1.15rem);
    color: #334155;
    margin-bottom: clamp(6px, 0.7vh, 10px);
    line-height: 1.45;
    font-weight: 450;
}

.bubble-card li:last-child {
    margin-bottom: 0;
}

.bubble-card li strong {
    color: #0f172a;
    font-weight: 800;
}

/* ==========================================================================
   DIAGRAM CONTAINERS & PRESENTATION SVG
   ========================================================================== */
.diagram-container {
    background: #ffffff;
    border: 2px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px 14px;
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.diagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-subtle);
}

.diagram-title {
    font-size: clamp(1.3rem, 1.6vw, 1.9rem);
    font-weight: 900;
    color: var(--cbp-navy);
}

.diagram-tag {
    font-size: clamp(0.9rem, 1.05vw, 1.15rem);
    font-weight: 800;
    color: var(--leidos-purple);
    background: var(--leidos-purple-bg);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1.5px solid rgba(92, 45, 145, 0.3);
}

.diagram-svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CONFERENCE-ROOM READY 5-STEP OPERATIONAL FLOW (SECTION 3.3)
   ========================================================================== */
.adjudication-flow-canvas {
    background: #090d1a;
    border-radius: 12px;
    padding: 16px 12px 14px 12px;
    border: 1px solid #1e293b;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.adjudication-flow-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
}

.adj-step-card {
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adj-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

/* Step 1 */
.adj-card-1 {
    background: #0d1b33;
    border: 2px solid #0284c7;
}
.adj-header-1 {
    background: linear-gradient(135deg, #002855 0%, #0284c7 100%);
}
.adj-num-1 {
    background: #0284c7;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.6);
}
.adj-title-1 {
    color: #38bdf8;
}
.adj-pill-1 {
    background: #1e293b;
    border: 1.5px solid rgba(74, 222, 128, 0.4);
    color: #4ade80;
}

/* Step 2 */
.adj-card-2 {
    background: #151030;
    border: 2px solid #4f46e5;
}
.adj-header-2 {
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
}
.adj-num-2 {
    background: #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.6);
}
.adj-title-2 {
    color: #a5b4fc;
}
.adj-pill-2 {
    background: #1e1b4b;
    border: 1.5px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

/* Step 3 */
.adj-card-3 {
    background: #190d2e;
    border: 2px solid #8b5cf6;
}
.adj-header-3 {
    background: linear-gradient(135deg, #5c2d91 0%, #8b5cf6 100%);
}
.adj-num-3 {
    background: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}
.adj-title-3 {
    color: #c084fc;
}
.adj-pill-3 {
    background: #2e1065;
    border: 1.5px solid rgba(192, 132, 252, 0.4);
    color: #e9d5ff;
}

/* Step 4 */
.adj-card-4 {
    background: #071f18;
    border: 2px solid #10b981;
}
.adj-header-4 {
    background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
}
.adj-num-4 {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}
.adj-title-4 {
    color: #34d399;
}
.adj-pill-4 {
    background: #064e3b;
    border: 1.5px solid rgba(110, 231, 183, 0.4);
    color: #6ee7b7;
}

/* Step 5 */
.adj-card-5 {
    background: #0f172a;
    border: 2px solid #64748b;
}
.adj-header-5 {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
}
.adj-num-5 {
    background: #64748b;
    box-shadow: 0 0 10px rgba(100, 116, 139, 0.6);
}
.adj-title-5 {
    color: #93c5fd;
}
.adj-pill-5 {
    background: #1e293b;
    border: 1.5px solid rgba(147, 197, 253, 0.4);
    color: #93c5fd;
}

/* Card Header */
.adj-card-header {
    padding: 8px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
}
.adj-header-step {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    opacity: 0.88;
    text-transform: uppercase;
    color: #ffffff;
}
.adj-header-name {
    font-size: clamp(0.72rem, 0.78vw, 0.88rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
    color: #ffffff;
    white-space: normal;
}

/* Card Body */
.adj-card-body {
    padding: 10px 6px 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    flex: 1;
}

.adj-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.adj-feature-title {
    font-size: clamp(0.85rem, 0.92vw, 1.05rem);
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.adj-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adj-bullets li {
    font-size: clamp(0.72rem, 0.76vw, 0.85rem);
    font-weight: 600;
    line-height: 1.22;
    color: #cbd5e1;
}

.adj-metric-pill {
    margin-top: auto;
    width: 100%;
    padding: 5px 4px;
    border-radius: 6px;
    font-size: clamp(0.70rem, 0.74vw, 0.82rem);
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Connectors */
.adj-arrow-col {
    width: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Timeline Banner */
.adj-timeline-banner {
    background: #1e1b4b;
    border: 1.5px solid rgba(165, 180, 252, 0.35);
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    color: #c7d2fe;
    font-size: clamp(0.88rem, 0.98vw, 1.15rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(30, 27, 75, 0.5);
}

@media (max-width: 992px) {
    .adjudication-flow-row {
        flex-direction: column;
        gap: 12px;
    }
    .adj-arrow-col {
        width: 100%;
        transform: rotate(90deg);
        padding: 2px 0;
    }
}

/* ==========================================================================
   INTERACTIVE IFRAME CONTAINER (FOR LIVE APPS & MISSION GRAPH)
   ========================================================================== */
.embed-frame-container {
    background: #ffffff;
    border: 2px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    margin: 24px 0 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.embed-frame-header {
    background: #f8fafc;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-subtle);
}

.embed-frame-title {
    font-size: clamp(1.05rem, 1.2vw, 1.35rem);
    font-weight: 800;
    color: var(--cbp-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.embed-frame-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-open-ext {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--leidos-purple);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-open-ext:hover {
    background: var(--cbp-navy);
    transform: translateY(-1px);
}

.live-embed-iframe {
    width: 100%;
    height: clamp(520px, 64vh, 760px);
    border: none;
    display: block;
    background: #ffffff;
}

/* ==========================================================================
   TABLES & KPI METRIC TILES
   ========================================================================== */
table, .content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 28px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

th, .content-body th {
    background-color: var(--cbp-navy);
    color: #ffffff;
    font-weight: 900;
    text-align: left;
    padding: 14px 18px;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    letter-spacing: 0.02em;
}

td, .content-body td {
    padding: 14px 18px;
    border-top: 1px solid var(--border-subtle);
    font-size: clamp(0.92rem, 1.05vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

tr:nth-child(even) td, .content-body tr:nth-child(even) td {
    background-color: #f8fafc;
}

tr:hover td, .content-body tr:hover td {
    background-color: #f1f5f9;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.3vw, 20px);
    margin: clamp(10px, 1.4vh, 18px) 0;
}

.kpi-card {
    background: #ffffff;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    padding: clamp(12px, 1.4vh, 18px) clamp(14px, 1.2vw, 20px);
    border-left: 6px solid var(--leidos-purple);
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.kpi-label {
    font-size: clamp(0.72rem, 0.82vw, 0.95rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--leidos-purple);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    line-height: 1.25;
}

.kpi-num {
    font-size: clamp(1.35rem, 1.85vw, 2.2rem);
    font-weight: 900;
    color: var(--cbp-navy);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.kpi-desc {
    font-size: clamp(0.75rem, 0.82vw, 0.92rem);
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: auto;
}

/* ==========================================================================
   4.3 OUTSMART. OUTDO. (NO-SCROLL VALUE PROPOSITION MATRIX)
   ========================================================================== */
.vp-offer-banner {
    background: linear-gradient(135deg, #fdf4ff 0%, #f0fdf4 100%);
    border: 1.5px solid #e9d5ff;
    border-left: 5px solid var(--leidos-purple);
    border-radius: 8px;
    padding: clamp(6px, 0.7vh, 10px) clamp(12px, 1.2vw, 18px);
    margin: 4px 0 8px;
    box-shadow: 0 2px 8px rgba(92, 45, 145, 0.05);
}

.vp-offer-text {
    font-size: clamp(0.82rem, 0.9vw, 1.05rem);
    line-height: 1.35;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.highlight-purple { color: #5c2d91; font-weight: 800; }
.highlight-purple-light { color: #7c3aed; font-weight: 800; }
.highlight-blue { color: #0284c7; font-weight: 800; }
.highlight-red { color: #b91c1c; font-weight: 800; }
.highlight-green { color: #059669; font-weight: 800; }

.vp-matrix-container {
    border: 2px solid #5c2d91;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    margin: 4px 0 6px;
}

.vp-matrix-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.vp-matrix-table thead th {
    background: #f8f4fc;
    color: var(--cbp-navy);
    font-size: clamp(0.82rem, 0.9vw, 1.02rem);
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
    padding: clamp(4px, 0.5vh, 7px) clamp(10px, 1vw, 14px);
    border-bottom: 2px solid #e9d5ff;
    text-align: left;
}

.vp-matrix-table thead th:first-child {
    text-align: center;
}

.vp-matrix-table td {
    padding: clamp(3px, 0.45vh, 6px) clamp(10px, 1vw, 14px);
    border-top: 1px solid #f1f5f9;
    vertical-align: middle;
}

.vp-pillar-cell {
    text-align: center;
    border-right: 1px solid #f1f5f9;
    background-color: #fafbfc;
    padding: clamp(3px, 0.4vh, 6px) 8px !important;
}

.vp-pillar-title {
    font-size: clamp(0.92rem, 1.05vw, 1.18rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2px;
}

.vp-title-agility { color: #5c2d91; }
.vp-title-modern { color: #0284c7; }
.vp-title-resilience { color: #b91c1c; }
.vp-title-commit { color: #059669; }

.vp-pillar-icon {
    font-size: clamp(0.95rem, 1.15vw, 1.35rem);
    line-height: 1;
}

.vp-cell-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vp-cell-list li {
    font-size: clamp(0.78rem, 0.86vw, 0.98rem);
    color: var(--text-secondary);
    margin-bottom: 2px;
    line-height: 1.25;
    position: relative;
    padding-left: 12px;
    font-weight: 500;
}

.vp-cell-list li:last-child {
    margin-bottom: 0;
}

.vp-cell-list li::before {
    content: "•";
    color: var(--leidos-purple);
    font-weight: 900;
    position: absolute;
    left: 0;
}

.vp-outcome-list li {
    padding-left: 0;
}

.vp-outcome-list li::before {
    content: "";
}

.vp-outcome-lead {
    font-weight: 800;
}

.vp-purple-outcome strong { color: #5c2d91; }
.vp-blue-outcome strong { color: #0284c7; }
.vp-red-outcome strong { color: #b91c1c; }
.vp-green-outcome strong { color: #059669; }

/* ==========================================================================
   DIAGRAM PLACEHOLDER STYLING (CLEAN & PROFESSIONAL)
   ========================================================================== */
.placeholder-diagram-body {
    padding: clamp(28px, 4.5vh, 56px) 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.placeholder-icon {
    font-size: clamp(2.2rem, 3.2vw, 3.6rem);
    margin-bottom: 12px;
}

.placeholder-heading {
    font-size: clamp(1.15rem, 1.35vw, 1.5rem);
    font-weight: 800;
    color: var(--cbp-navy);
    margin-bottom: 8px;
}

.placeholder-instructions {
    max-width: 780px;
    font-size: clamp(0.9rem, 1.0vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   PASSWORD SECURITY MODAL GATE
   ========================================================================== */
.password-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.password-modal-overlay.authenticated {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.password-modal-card {
    background: #0f172a;
    border: 1.5px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 36px 32px;
    width: 100%;
    max-width: 460px;
    text-align: center;
    animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.password-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-leidos-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.modal-badge {
    background: rgba(92, 45, 145, 0.3);
    color: #c4b5fd;
    border: 1px solid #7c3aed;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.modal-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.4;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    text-align: left;
}

.input-label {
    display: block;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.password-input {
    width: 100%;
    background: #1e293b;
    border: 1.5px solid #475569;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 1rem;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.password-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
    background: #0f172a;
}

.password-error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    animation: errorShake 0.3s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.unlock-btn {
    background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.unlock-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.unlock-btn:active {
    transform: translateY(0);
}

.modal-footer-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.75rem;
}





