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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    line-height: 1.6;
}

/* Screen Management */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Auth Screen */
#auth-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.login-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.logo-small {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

#auth-screen h1 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

#auth-screen p {
    color: #718096;
    margin-bottom: 2rem;
}

#auth-form input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

#auth-form input:focus {
    outline: none;
    border-color: #667eea;
}

#auth-form button {
    width: 100%;
    padding: 0.875rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#auth-form button:hover {
    background: #5a67d8;
}

.error-message {
    color: #e53e3e;
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Navbar */
.navbar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-left,
.navbar-right {
    flex: 1;
}

.navbar-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.navbar-right {
    display: flex;
    justify-content: flex-end;
}

.lea-logo {
    height: 40px;
    width: auto;
}

.customer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.customer-logo.hidden {
    display: none;
}

.navbar h2 {
    font-size: 1.25rem;
    color: #2d3748;
    text-align: center;
}

/* Target Start Date Banner */
.target-date-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.125rem;
}

.target-date-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.target-date-value {
    font-weight: 700;
    font-size: 1.25rem;
}

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

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card h4 {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.section-desc {
    color: #718096;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #5a67d8;
}

.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-danger {
    background: #e53e3e;
    color: white;
}

.btn-danger:hover {
    background: #c53030;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item label {
    display: block;
    color: #718096;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #2d3748;
    font-size: 1rem;
}

/* Input Groups */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* Pricing Section */
.pricing-subsection {
    margin-bottom: 2rem;
}

.pricing-subsection:last-child {
    margin-bottom: 0;
}

.pricing-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
    margin: 3rem 0;
}

/* LEA Pricing Overview - Simple Rate Card */
.rate-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

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

.rate-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #2d3748;
    font-weight: 500;
}

.rate-detail {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 400;
}

.rate-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
    white-space: nowrap;
}

.rate-section-header {
    padding: 0.75rem 1.5rem;
    background: #edf2f7;
    color: #2d3748;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

/* Price Quote */
.volume-inputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quote-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.quote-header h5 {
    color: #667eea;
    font-size: 1.25rem;
    margin: 0;
}

/* Pricing Display */
.pricing-display {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.pricing-notes {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff8e1;
    border-left: 4px solid #ffa000;
    border-radius: 4px;
}

.pricing-notes-label {
    font-weight: 700;
    color: #e65100;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-notes-text {
    color: #5d4037;
    line-height: 1.6;
    white-space: pre-wrap;
}

.pricing-breakdown {
    margin-top: 1rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.pricing-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #cbd5e0;
}

.pricing-row.grand-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 3px solid #667eea;
    color: #667eea;
    font-size: 1.125rem;
}

/* Stakeholders Table */
.table-container {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.stakeholders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.stakeholders-table thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

.stakeholders-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stakeholders-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.stakeholders-table tbody tr:hover {
    background: #f7fafc;
}

.stakeholders-table tbody tr:last-child {
    border-bottom: none;
}

.stakeholders-table td {
    padding: 1rem;
    color: #2d3748;
    font-size: 0.938rem;
}

.stakeholders-table .actions-cell {
    display: flex;
    gap: 0.5rem;
}

.stakeholders-table .btn-icon {
    padding: 0.375rem 0.75rem;
    font-size: 0.813rem;
    border-radius: 6px;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}

.empty-state p {
    margin: 0;
    font-size: 1rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Project Plan */
.project-section {
    margin-bottom: 2rem;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-section h4 {
    color: #2d3748;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.timeline-date {
    font-weight: 700;
    color: #667eea;
    min-width: 100px;
    font-size: 0.875rem;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.timeline-desc {
    color: #718096;
    font-size: 0.875rem;
}

.workload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.workload-stat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.project-table thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

.project-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.project-table tbody tr:hover {
    background: #f7fafc;
}

.project-table td {
    padding: 1rem;
    color: #2d3748;
    font-size: 0.938rem;
}

/* MSA Sign-Off */
.msa-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.msa-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.msa-checkbox-item:hover {
    border-color: #667eea;
    background: #edf2f7;
}

.msa-checkbox-item.checked {
    background: #f0fff4;
    border-color: #48bb78;
}

.msa-checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.msa-checkbox-content {
    flex: 1;
}

.msa-checkbox-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.msa-checkbox-desc {
    color: #718096;
    font-size: 0.875rem;
    line-height: 1.5;
}

.msa-complete-message {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #48bb78;
    border-radius: 12px;
    text-align: center;
}

.msa-complete-message h4 {
    color: #22543d;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.msa-complete-message p {
    color: #2f855a;
    font-size: 1rem;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.document-card:hover {
    border-color: #667eea;
    background: #edf2f7;
    transform: translateY(-2px);
}

.doc-icon {
    font-size: 2rem;
}

.doc-info h4 {
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.doc-info p {
    color: #718096;
    font-size: 0.875rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-actions button {
    flex: 1;
}

/* POC Readiness Progress Bar */
.progress-container {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.progress-percentage {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
    min-width: 50px;
}

.readiness-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.checklist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}

.checklist-item.completed {
    background: #f0fff4;
    border-color: #48bb78;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:disabled {
    cursor: default;
}

.checkbox-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #4a5568;
}

.status-badge.completed {
    background: #48bb78;
    color: white;
}

.poc-ready-message {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #48bb78;
    border-radius: 12px;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    color: #48bb78;
    margin-bottom: 0.5rem;
}

.poc-ready-message h4 {
    color: #22543d;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.poc-ready-message p {
    color: #2f855a;
    font-size: 1rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

    .card {
        padding: 1.5rem;
    }

    .navbar {
        padding: 1rem;
    }

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

    .stakeholders-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .auth-container {
        padding: 2rem;
    }
}

/* Hide number input spinner arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Ensure consistent height for all calculator inputs */
select,
input[type="number"],
input[type="text"] {
    height: 2.5rem;
    line-height: 2.5rem;
    box-sizing: border-box;
}

/* ==================== INVESTMENT SUMMARY STYLES ==================== */

.coming-soon-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.investment-coming-soon {
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    text-align: center;
    margin-top: 1rem;
}

.coming-soon-content {
    max-width: 500px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.investment-coming-soon h4 {
    color: #2d3748;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.investment-coming-soon p {
    color: #4a5568;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.investment-coming-soon ul {
    text-align: left;
    color: #4a5568;
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
}

.investment-coming-soon li {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

/* Investment Overview - Side by Side */
.investment-overview {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
}

.investment-column {
    flex: 1;
    padding: 1.5rem;
    border-radius: 12px;
}

.investment-cost {
    background: #fff5f5;
    border: 2px solid #feb2b2;
}

.investment-return {
    background: #f0fff4;
    border: 2px solid #9ae6b4;
}

.investment-column h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.investment-cost h4 {
    color: #c53030;
}

.investment-return h4 {
    color: #276749;
}

.investment-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #a0aec0;
    padding: 0 0.5rem;
}

.investment-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.investment-item.total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid rgba(0,0,0,0.2);
    border-bottom: none;
}

.investment-label {
    color: #4a5568;
    font-size: 0.875rem;
}

.investment-value {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1a1a1a;
}

.investment-value.positive {
    color: #276749;
}

.investment-item.total .investment-label,
.investment-item.total .investment-value {
    font-weight: 700;
    font-size: 1rem;
}

/* Investment Metrics */
.investment-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.investment-metric {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.investment-metric.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.investment-metric.highlight .investment-metric-value,
.investment-metric.highlight .investment-metric-label {
    color: white;
}

.investment-metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.investment-metric-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Value Statement */
.investment-value-statement {
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    border: 2px solid #81e6d9;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.investment-value-statement p {
    margin: 0;
    font-size: 1.125rem;
    color: #234e52;
}

.investment-value-statement strong {
    color: #285e61;
}

/* Strategic Value */
.investment-strategic {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.investment-strategic h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.investment-strategic .section-header {
    margin-bottom: 0;
}

#strategic-content {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.roi-strategic-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.roi-strategic-col h5 {
    margin: 0 0 0.75rem 0;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 600;
}

.roi-strategic-col ul {
    margin: 0;
    padding-left: 1.25rem;
}

.roi-strategic-col li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .investment-overview {
        flex-direction: column;
    }

    .investment-arrow {
        transform: rotate(90deg);
        justify-content: center;
        padding: 0.5rem 0;
    }

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

    .roi-strategic-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Investment Summary Headline */
.investment-headline {
    text-align: center;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
}

.investment-headline h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Primary Metrics - Large, prominent display */
.investment-primary-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.investment-metric.primary {
    flex: 1;
    max-width: 250px;
    padding: 1.5rem;
}

.investment-metric.primary .investment-metric-value {
    font-size: 2.5rem;
}

.investment-metric.primary .investment-metric-label {
    font-size: 0.8rem;
}

/* FTE highlight - blue when FTE model selected */
.investment-metric.fte-highlight {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    border-color: transparent;
}

.investment-metric.fte-highlight .investment-metric-value,
.investment-metric.fte-highlight .investment-metric-label {
    color: white;
}

/* Context line showing calculation inputs */
.investment-context {
    display: inline-block;
    width: fit-content;
    margin: 0 auto 1.5rem auto;
    padding: 0.5rem 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
    text-align: center;
}

/* Center the context line container */
#investment-content {
    text-align: center;
}

#investment-content > *:not(.investment-context) {
    text-align: left;
}

.investment-context p {
    margin: 0;
    font-size: 0.875rem;
    color: #2d3748;
    font-style: italic;
    white-space: nowrap;
}

/* Secondary section wrapper */
.investment-secondary {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.investment-secondary .investment-overview {
    margin-bottom: 1.5rem;
}

.investment-secondary .investment-metrics.secondary {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
}

/* Strategic Benefits - shown by default */
.investment-strategic {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.investment-strategic h4 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.investment-strategic ul {
    margin: 0;
    padding-left: 1.25rem;
}

.investment-strategic li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .investment-primary-metrics {
        flex-direction: column;
        align-items: center;
    }

    .investment-metric.primary {
        max-width: 100%;
        width: 100%;
    }

    .investment-secondary .investment-metrics.secondary {
        grid-template-columns: 1fr;
    }
}
