:root {
    --primary-color: #4680a1;
    --accent-color: #fef272;
    --text-color: #2D3748;
    --text-muted: #718096;
    --background-color: #ffffff;
    --light-gray: #f4f5f7;
    --font-family: Satoshi, sans-serif;
    --border-color: rgba(45, 55, 72, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

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

@font-face {
    font-family: 'Satoshi';
    font-display: swap;
    src: local('Satoshi');
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== Password Gate ===== */

.password-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--light-gray);
}

.password-container {
    background: var(--background-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

.gate-logo {
    height: 32px;
    margin-bottom: 2rem;
}

.password-container h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.gate-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.password-form {
    display: flex;
    gap: 0.5rem;
}

.password-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--background-color);
    transition: border-color 0.2s;
}

.password-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.password-submit {
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.password-submit:hover {
    background-color: #3a6d8a;
}

.password-error {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 1rem;
    min-height: 1.2em;
}

/* ===== Header / Navigation ===== */

header {
    border-bottom: 1px solid var(--border-color);
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-header .logo-link {
    display: flex;
    align-items: center;
}

.nav-header img {
    height: 28px;
}

.nav-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile menu button */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.mobile-menu-btn:hover {
    border-color: var(--primary-color);
}

.menu-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation drawer */

.mobile-nav {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.open {
    max-height: 400px;
}

.mobile-nav-item {
    display: block;
    padding: 0.75rem 2rem;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s, color 0.15s;
}

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

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary-color);
    background: var(--light-gray);
}

/* ===== Layout ===== */

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

/* ===== Pages ===== */

.page {
    display: none;
}

.page.active {
    display: block;
}

/* ===== Home / Dashboard ===== */

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Stats Bar ===== */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Navigation Cards ===== */

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.nav-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.nav-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.nav-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.nav-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.nav-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    align-self: flex-start;
    margin-top: 0.25rem;
}

.nav-card-tag.interactive {
    background: #38a169;
}

.nav-card-tag.download {
    background: #805ad5;
}

/* ===== Page Navigation (breadcrumb-style) ===== */

.page-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.page-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 0.85rem;
    padding: 0.35rem 0;
    transition: color 0.2s;
}

.page-nav-back:hover {
    color: #3a6d8a;
}

/* ===== Component Containers ===== */

.component-container {
    background: var(--light-gray);
    border-radius: var(--radius);
    min-height: 400px;
}

.placeholder-message {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 4rem 2rem;
}

/* ===== Downloads ===== */

.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.download-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.download-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem;
}

.download-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.download-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== Operations Flow ===== */

.flow-section {
    margin-bottom: 3rem;
}

.flow-section-header {
    margin-bottom: 2rem;
}

.flow-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.flow-section-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Legend */

.flow-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

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

.legend-dot-orlando { background: #3182ce; }
.legend-dot-nutrition { background: #d69e2e; }
.legend-dot-facilities { background: #805ad5; }
.legend-dot-site { background: #38a169; }
.legend-dot-it { background: #e53e3e; }
.legend-dot-parents { background: #ed8936; }
.legend-dot-district { background: #718096; }

/* Timeline */

.flow-timeline {
    position: relative;
    padding-left: 0;
}

.flow-step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 0;
    padding-bottom: 2rem;
}

.flow-step-last {
    padding-bottom: 0;
}

.flow-step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 36px;
}

.flow-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.flow-step-line {
    width: 2px;
    flex: 1;
    background: var(--border-color);
    margin-top: 4px;
}

.flow-step-content {
    flex: 1;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.flow-step-time {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.flow-step-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.flow-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    color: #fff;
}

.flow-badge-orlando { background: #3182ce; }
.flow-badge-nutrition { background: #d69e2e; }
.flow-badge-facilities { background: #805ad5; }
.flow-badge-site { background: #38a169; }
.flow-badge-it { background: #e53e3e; }
.flow-badge-parents { background: #ed8936; }
.flow-badge-district { background: #718096; }

.flow-step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.flow-step-content > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Pain Points */

.flow-pain-point {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #c53030;
    line-height: 1.5;
}

.flow-pain-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* Insights */

.flow-insights {
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.flow-insights h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.insight-card {
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.insight-card.insight-bottleneck {
    background: #fff5f5;
    border-color: #fed7d7;
}

.insight-card.insight-opportunity {
    background: #f0fff4;
    border-color: #c6f6d5;
}

.insight-icon {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.insight-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.insight-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Future State Comparison */

.flow-future {
    padding-top: 1rem;
}

.flow-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-comparison-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--background-color);
}

.comparison-before {
    padding-right: 1rem;
}

.comparison-after {
    padding-left: 1rem;
}

.comparison-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    margin-bottom: 0.4rem;
}

.comparison-before .comparison-label {
    background: #fed7d7;
    color: #c53030;
}

.comparison-after .comparison-label {
    background: #c6f6d5;
    color: #276749;
}

.comparison-before p,
.comparison-after p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.comparison-arrow {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Stakeholder Cost Map ===== */

.cost-map-section {
    padding-top: 1rem;
}

/* Total banner */

.cost-map-total {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.cost-map-total-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cost-total-amount {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cost-total-range {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.cost-total-sublabel {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cost-total-context p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.cost-total-context strong {
    color: var(--text-color);
}

/* Cost bar visual */

.cost-bar-visual {
    margin-bottom: 2rem;
}

.cost-bar-container {
    display: flex;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.cost-bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    transition: flex 0.3s;
}

.cost-bar-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
}

.cost-bar-lead { background: #805ad5; }
.cost-bar-teachers { background: #3182ce; }
.cost-bar-support { background: #d69e2e; }

.cost-bar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cost-bar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.cost-bar-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.cost-bar-dot-lead { background: #805ad5; }
.cost-bar-dot-teachers { background: #3182ce; }
.cost-bar-dot-support { background: #d69e2e; }

/* Two-column layout */

.cost-map-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cost-map-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cost-column-header {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
}

.cost-column-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cost-column-header p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.cost-column-visible {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
}

.cost-column-visible h3 { color: #2b6cb0; }
.cost-column-visible p { color: #4a90bf; }

.cost-column-hidden {
    background: #fffaf0;
    border: 1px solid #feebc8;
}

.cost-column-hidden h3 { color: #c05621; }
.cost-column-hidden p { color: #b7791f; font-style: italic; }

/* Role cards */

.cost-role-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.cost-role-card.cost-role-highlight {
    border-color: #3182ce;
    border-width: 2px;
}

.cost-role-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.cost-role-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.cost-role-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cost-role-calc {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.cost-formula {
    font-size: 0.72rem;
    font-family: 'DM Mono', monospace;
    color: var(--text-muted);
    background: var(--light-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    display: inline-block;
    align-self: flex-start;
}

.cost-rate {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cost-role-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Range visualization */

.cost-role-range {
    margin: 0.5rem 0;
}

.cost-range-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    position: relative;
    margin-bottom: 0.35rem;
}

.cost-range-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(to right, #63b3ed, #2b6cb0, #c53030);
}

.cost-range-labels {
    display: flex;
    justify-content: space-between;
}

.cost-range-end {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.cost-range-end-right {
    text-align: right;
}

.cost-range-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cost-range-amount {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Conditional cost display */

.cost-role-conditional {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.cost-condition {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.cost-condition-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.cost-condition-amount {
    font-weight: 600;
    font-size: 0.85rem;
}

.cost-condition-free {
    background: #f0fff4;
}

.cost-condition-free .cost-condition-amount {
    color: #38a169;
}

.cost-condition-cost {
    background: #fff5f5;
}

.cost-condition-cost .cost-condition-amount {
    color: #c53030;
}

/* Role note */

.cost-role-note {
    font-size: 0.75rem;
    color: #c05621;
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fffaf0;
    border-radius: 4px;
    line-height: 1.4;
}

/* Subtotals */

.cost-column-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    background: #ebf8ff;
    color: #2b6cb0;
    border: 1px solid #bee3f8;
}

.cost-column-subtotal-hidden {
    background: #fffaf0;
    color: #c05621;
    border-color: #feebc8;
}

/* Insight callout */

.cost-map-insight {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.cost-map-insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.cost-map-insight-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #276749;
    margin-bottom: 0.3rem;
}

.cost-map-insight-text p {
    font-size: 0.85rem;
    color: #2f855a;
    line-height: 1.6;
    margin: 0;
}

/* Warning callout */

.cost-map-warning {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fffaf0;
    border: 1px solid #feebc8;
    border-radius: var(--radius);
}

.cost-map-warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.cost-map-warning-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c05621;
    margin-bottom: 0.3rem;
}

.cost-map-warning-text p {
    font-size: 0.85rem;
    color: #b7791f;
    line-height: 1.6;
    margin: 0;
}

.cost-map-warning-text strong {
    color: #c53030;
}

/* ===== Banking Visualization ===== */

.banking-section {
    margin-bottom: 3rem;
}

/* Metrics row */

.banking-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.banking-metric {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.banking-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.banking-metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Chart container */

.banking-chart {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.banking-chart-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.banking-chart-area {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.banking-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 0.25rem;
    min-width: 50px;
    flex-shrink: 0;
}

.banking-y-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-muted);
}

.banking-y-label-bottom {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #c53030;
}

.banking-y-zero {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Chart body */

.banking-chart-body {
    flex: 1;
    display: flex;
    gap: 2px;
    align-items: center;
    position: relative;
    min-height: 220px;
    padding: 10px 0;
}

.banking-zero-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

/* Individual phases */

.banking-phase {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banking-bar {
    width: 100%;
    max-width: 72px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    transition: height 0.3s;
}

.banking-bar-value {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.banking-bar-deposit {
    background: linear-gradient(180deg, #48bb78 0%, #38a169 100%);
    margin-bottom: 2px;
    align-self: center;
}

.banking-bar-absence {
    background: linear-gradient(180deg, #fc8181 0%, #e53e3e 100%);
    margin-top: 0;
    align-self: center;
}

.banking-bar-pending {
    background: linear-gradient(180deg, #d69e2e 0%, #b7791f 100%);
    align-self: center;
}

.banking-bar-money {
    background: linear-gradient(180deg, #4680a1 0%, #3a6d8a 100%);
    align-self: center;
}

.banking-phase-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 0.5rem;
    text-align: center;
}

.banking-phase-desc {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

/* Cutoff marker */

.banking-phase-cutoff .banking-phase-label {
    color: #c53030;
    position: relative;
}

.banking-phase-cutoff .banking-phase-label::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: #c53030;
}

/* Payout phase */

.banking-phase-payout .banking-phase-label {
    color: var(--primary-color);
    font-weight: 700;
}

/* Gap phase */

.banking-phase-gap {
    opacity: 0.7;
}

/* Legend */

.banking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.banking-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.banking-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.banking-legend-deposit { background: #38a169; }
.banking-legend-absence { background: #e53e3e; }
.banking-legend-pending { background: #d69e2e; }
.banking-legend-money { background: #4680a1; }

/* Banking flow steps */

.banking-flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.banking-flow-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.banking-flow-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.banking-flow-icon-deposit { background: #38a169; }
.banking-flow-icon-school { background: #3182ce; }
.banking-flow-icon-submit { background: #d69e2e; }
.banking-flow-icon-money { background: var(--primary-color); }

.banking-flow-detail {
    flex: 1;
}

.banking-flow-detail h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.banking-flow-detail p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.banking-flow-quote {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-left: 3px solid var(--primary-color);
    background: #f7fafc;
    border-radius: 0 4px 4px 0;
}

.banking-flow-highlight {
    font-size: 0.8rem;
    color: #276749;
    padding: 0.5rem 0.75rem;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 4px;
}

.banking-flow-highlight-label {
    font-weight: 700;
}

/* Math block */

.banking-flow-math {
    background: var(--light-gray);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

.banking-math-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.banking-math-total {
    border-top: 2px solid var(--border-color);
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

.banking-math-label {
    font-weight: 500;
}

.banking-math-total .banking-math-label {
    font-weight: 700;
    color: var(--text-color);
}

.banking-math-value {
    font-family: 'DM Mono', monospace;
    font-weight: 600;
}

.banking-math-total .banking-math-value {
    font-size: 1rem;
    color: var(--primary-color);
}

.banking-math-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    font-style: italic;
}

/* Callout */

.banking-callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: var(--radius);
}

.banking-callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.banking-callout-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 0.3rem;
}

.banking-callout-text p {
    font-size: 0.85rem;
    color: #2c5282;
    line-height: 1.6;
    margin: 0;
}

/* ===== Communication Timeline ===== */

.comm-timeline-section {
    padding-top: 1rem;
}

/* Legend */

.comm-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comm-legend-deadline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #c53030;
    white-space: nowrap;
}

.comm-legend-deadline::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c53030;
    flex-shrink: 0;
}

/* Countdown timeline */

.comm-countdown {
    position: relative;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.comm-day {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
}

/* Day marker */

.comm-day-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 56px;
}

.comm-day-number {
    width: 56px;
    height: 44px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.comm-day-unit {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.comm-day-line {
    width: 2px;
    flex: 1;
    background: var(--border-color);
    margin-top: 4px;
    min-height: 16px;
}

/* Deadline day styling */

.comm-day-deadline .comm-day-number {
    background: #c53030;
}

/* Saturday styling */

.comm-day-number-saturday {
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: #38a169;
}

.comm-day-saturday .comm-day-number {
    background: #38a169;
}

/* Post-Saturday styling */

.comm-day-number-post {
    background: #718096;
}

.comm-day-post .comm-day-number {
    background: #718096;
}

/* Day content */

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

.comm-day-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.comm-day-deadline .comm-day-label {
    color: #c53030;
}

.comm-day-saturday .comm-day-label {
    color: #38a169;
}

.comm-day-post .comm-day-label {
    color: #718096;
}

/* Tasks within a day */

.comm-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comm-task {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.comm-task-critical {
    border-color: #fed7d7;
    border-width: 2px;
}

.comm-task-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.comm-task-type {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    margin-left: auto;
}

.comm-task-type-data {
    background: #e2e8f0;
    color: #4a5568;
}

.comm-task-type-comm {
    background: #bee3f8;
    color: #2b6cb0;
}

.comm-task-type-deadline {
    background: #fed7d7;
    color: #c53030;
}

.comm-task-type-action {
    background: #c6f6d5;
    color: #276749;
}

.comm-task h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.comm-task p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.comm-pain {
    font-size: 0.78rem;
    color: #c53030;
    padding: 0.6rem 0.75rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    line-height: 1.5;
    margin-top: 0.6rem;
}

/* Orlando's burden */

.comm-burden {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.comm-burden-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 1rem;
    text-align: center;
}

.comm-burden-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.comm-burden-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.comm-burden-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b6cb0;
    line-height: 1.2;
}

.comm-burden-label {
    font-size: 0.75rem;
    color: #4a90bf;
    font-weight: 500;
}

.comm-burden-note {
    font-size: 0.8rem;
    color: #2c5282;
    line-height: 1.6;
    text-align: center;
}

/* With Attendly — automated timeline */

.comm-attendly {
    margin-bottom: 2rem;
}

.comm-attendly-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comm-auto-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: var(--background-color);
    border: 1px solid #c6f6d5;
    border-radius: var(--radius);
}

.comm-auto-step-deadline {
    border-color: #bee3f8;
}

.comm-auto-day {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 60px;
    padding-top: 0.15rem;
    flex-shrink: 0;
}

.comm-auto-detail {
    flex: 1;
}

.comm-auto-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    background: #c6f6d5;
    color: #276749;
    margin-bottom: 0.35rem;
}

.comm-auto-badge-notify {
    background: #bee3f8;
    color: #2b6cb0;
}

.comm-auto-badge-digital {
    background: #e9d8fd;
    color: #6b46c1;
}

.comm-auto-detail h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.comm-auto-detail p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Key takeaway */

.comm-takeaway {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: var(--radius);
}

.comm-takeaway-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.comm-takeaway-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #276749;
    margin-bottom: 0.3rem;
}

.comm-takeaway-text p {
    font-size: 0.85rem;
    color: #2f855a;
    line-height: 1.6;
    margin: 0;
}

/* ===== Negotiation Brief ===== */

.negotiation-section {
    margin-top: 3rem;
    padding-top: 1rem;
}

/* Numbered blocks */

.neg-block {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.neg-block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.neg-block-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.neg-block-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.neg-block-problem { background: #fff5f5; border-bottom: 1px solid #fed7d7; }
.neg-block-problem h3 { color: #c53030; }
.neg-block-problem .neg-block-number { background: #c53030; }

.neg-block-data { background: #ebf8ff; border-bottom: 1px solid #bee3f8; }
.neg-block-data h3 { color: #2b6cb0; }
.neg-block-data .neg-block-number { background: #3182ce; }

.neg-block-proposal { background: #f0fff4; border-bottom: 1px solid #c6f6d5; }
.neg-block-proposal h3 { color: #276749; }
.neg-block-proposal .neg-block-number { background: #38a169; }

.neg-block-legal { background: #faf5ff; border-bottom: 1px solid #e9d8fd; }
.neg-block-legal h3 { color: #6b46c1; }
.neg-block-legal .neg-block-number { background: #805ad5; }

.neg-block-board { background: var(--light-gray); border-bottom: 1px solid var(--border-color); }
.neg-block-board h3 { color: var(--primary-color); }
.neg-block-board .neg-block-number { background: var(--primary-color); }

.neg-block-body {
    padding: 1.25rem 1.5rem;
}

.neg-block-body > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

/* Formula box */

.neg-formula-box {
    background: var(--light-gray);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.neg-formula {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.neg-formula-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.neg-formula-calc {
    font-size: 0.78rem;
    font-family: 'DM Mono', monospace;
    color: var(--primary-color);
    background: var(--background-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* Consequence callout */

.neg-consequence {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #9b2c2c;
    line-height: 1.6;
    margin-top: 1rem;
}

.neg-consequence-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1;
}

/* Data grid */

.neg-data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.neg-data-card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.neg-data-card-highlight {
    background: #fff5f5;
    border: 1px solid #fed7d7;
}

.neg-data-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.neg-data-card-highlight .neg-data-value {
    color: #c53030;
}

.neg-data-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.neg-data-note {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.15rem;
}

/* Gap analysis */

.neg-gap-analysis {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.neg-gap-analysis h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    padding: 0.75rem 1.25rem;
    background: var(--light-gray);
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.neg-gap-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.neg-gap-col {
    padding: 1rem 1.25rem;
}

.neg-gap-elem {
    border-right: 1px solid var(--border-color);
}

.neg-gap-heading {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.neg-gap-elem .neg-gap-heading { color: #c53030; }
.neg-gap-secondary .neg-gap-heading { color: #276749; }

.neg-gap-col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.neg-gap-col li {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding-left: 0.75rem;
    position: relative;
}

.neg-gap-col li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.neg-gap-col li strong {
    color: var(--text-color);
}

.neg-gap-verdict {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    text-align: center;
}

.neg-gap-verdict-red {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #fed7d7;
}

.neg-gap-verdict-green {
    background: #f0fff4;
    color: #276749;
    border: 1px solid #c6f6d5;
}

/* Comparison table */

.neg-comparison-table {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.neg-compare-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.neg-compare-row:last-child {
    border-bottom: none;
}

.neg-compare-header {
    background: var(--light-gray);
}

.neg-compare-header .neg-compare-cell {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.neg-compare-cell {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.neg-compare-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.neg-compare-green {
    color: #276749;
    font-weight: 600;
}

.neg-compare-red {
    color: #c53030;
    font-weight: 600;
}

.neg-compare-highlight {
    background: #fffaf0;
}

.neg-compare-total {
    background: var(--light-gray);
    border-top: 2px solid var(--border-color);
}

.neg-compare-total .neg-compare-cell {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Savings callout */

.neg-savings-callout {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.neg-savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.neg-savings-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #276749;
}

.neg-savings-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #276749;
}

.neg-savings-note {
    font-size: 0.78rem;
    color: #2f855a;
    line-height: 1.5;
    margin: 0;
}

/* Legal points */

.neg-legal-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.neg-legal-point {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #faf5ff;
    border: 1px solid #e9d8fd;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.neg-legal-point strong {
    color: #553c9a;
}

.neg-legal-bullet {
    color: #805ad5;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1.4;
}

/* Talking points */

.neg-talking-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.neg-talking-point {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.neg-tp-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.neg-talking-point h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.neg-talking-point p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Bottom CTA */

.neg-cta {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-top: 2rem;
}

.neg-cta-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.neg-cta-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.neg-cta-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.neg-cta-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.neg-cta-link:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */

.site-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-confidential {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

.footer-brand {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ===== Focus & Accessibility ===== */

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.password-form input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 0;
}

/* ===== Page Transitions ===== */

.page {
    animation: none;
}

.page.active {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Loading Pulse ===== */

.placeholder-message {
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .nav-cards {
        grid-template-columns: 1fr;
    }

    .nav-header {
        padding: 0.75rem 1rem;
    }

    .nav-label {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .password-container {
        padding: 2rem 1.5rem;
    }

    .download-item {
        flex-wrap: wrap;
    }

    .download-action {
        width: 100%;
        text-align: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .flow-comparison-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    .comparison-before {
        padding-right: 0;
    }

    .comparison-after {
        padding-left: 0;
    }

    .flow-legend {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .flow-step-content {
        padding: 1rem;
    }

    .flow-step-badges {
        flex-wrap: wrap;
    }

    .cost-map-columns {
        grid-template-columns: 1fr;
    }

    .cost-map-total-inner {
        flex-direction: column;
        text-align: center;
    }

    .cost-total-range {
        font-size: 1.4rem;
    }

    .cost-bar-legend {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .cost-role-header {
        flex-direction: column;
        gap: 0.15rem;
    }

    .cost-condition {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .banking-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .banking-metric {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
    }

    .banking-metric-value {
        font-size: 1.25rem;
    }

    .banking-chart {
        padding: 1rem;
        overflow-x: auto;
    }

    .banking-chart-body {
        min-height: 180px;
        min-width: 400px;
        gap: 1px;
    }

    .banking-bar {
        max-width: 48px;
    }

    .banking-bar-value {
        font-size: 0.55rem;
    }

    .banking-phase-label {
        font-size: 0.6rem;
    }

    .banking-phase-desc {
        font-size: 0.55rem;
    }

    .banking-y-axis {
        min-width: 35px;
    }

    .banking-legend {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .banking-flow-step {
        flex-direction: column;
        gap: 0.75rem;
    }

    .banking-flow-icon {
        align-self: flex-start;
    }

    .banking-callout {
        flex-direction: column;
        gap: 0.75rem;
    }

    .comm-legend {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .comm-day-marker {
        width: 44px;
    }

    .comm-day-number {
        width: 44px;
        height: 36px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .comm-burden-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .comm-burden-value {
        font-size: 1.4rem;
    }

    .comm-auto-step {
        flex-direction: column;
        gap: 0.5rem;
    }

    .comm-auto-day {
        min-width: unset;
    }

    .comm-takeaway {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cost-map-insight {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cost-map-warning {
        flex-direction: column;
        gap: 0.75rem;
    }

    .neg-data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .neg-gap-columns {
        grid-template-columns: 1fr;
    }

    .neg-gap-elem {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .neg-formula {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .neg-compare-row {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .neg-compare-cell {
        padding: 0.5rem 0.6rem;
        font-size: 0.78rem;
    }

    .neg-savings-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .neg-talking-point {
        flex-direction: column;
        gap: 0.5rem;
    }

    .neg-consequence {
        flex-direction: column;
        gap: 0.5rem;
    }

    .neg-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .neg-legal-point {
        flex-direction: column;
        gap: 0.35rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .site-footer {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .password-form {
        flex-direction: column;
    }

    .password-submit {
        width: 100%;
    }

    .page-header h1 {
        font-size: 1.25rem;
    }

    .page-intro {
        font-size: 0.9rem;
    }

    .flow-section-header h2 {
        font-size: 1.25rem;
    }

    .flow-step {
        gap: 0.75rem;
    }

    .flow-step-marker {
        width: 28px;
    }

    .flow-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .flow-step-content h3 {
        font-size: 0.9rem;
    }

    .neg-data-grid {
        grid-template-columns: 1fr;
    }

    .neg-data-value {
        font-size: 1.2rem;
    }

    .neg-block-header {
        padding: 0.75rem 1rem;
    }

    .neg-block-body {
        padding: 1rem;
    }

    .comm-day {
        gap: 0.75rem;
    }

    .comm-day-marker {
        width: 36px;
    }

    .comm-day-number {
        width: 36px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: 5px;
    }

    .comm-day-number-saturday {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .comm-burden-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .banking-chart-area {
        gap: 0.35rem;
    }
}
