/* Custom Styling for AWR Revelation Seminar Campaign Dashboard */

:root {
    /* Color Palette */
    --primary-bg: #050b14;
    --navy-deep: #0b132b;
    --navy-medium: #1c2541;
    --navy-light: #3a506b;
    --slate-gray: #64748b;
    --slate-light: #cbd5e1;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gold Accents */
    --gold-color: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #b89020;
    --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #b89020 100%);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.3);
    
    /* Glassmorphism & Borders */
    --card-bg: rgba(28, 37, 65, 0.5);
    --card-border: rgba(212, 175, 55, 0.15);
    --card-border-hover: rgba(212, 175, 55, 0.4);
    
    /* Status Colors */
    --status-todo: #475569;
    --status-pending: #d97706;
    --status-planned: #2563eb;
    --status-progress: #0284c7;
    --status-completed: #16a34a;

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

strong {
    color: var(--text-white);
}

/* Grid & Layout Utilities */
.dashboard-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px; /* Space for sticky header */
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Interactive Status Hub (Sticky Header) */
.status-hub {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 12px 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hub-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hub-metric {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    height: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.progress-bar {
    background: var(--gold-gradient);
    height: 100%;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--gold-glow);
}

.progress-percent {
    position: absolute;
    right: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hub-metrics-grid {
    display: flex;
    align-items: center;
    gap: 32px;
}

.mini-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mini-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.mini-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-color);
    font-family: var(--font-heading);
}

/* Button & Toggle Styles */
.currency-toggle-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.currency-toggle-btn:hover {
    background: var(--gold-color);
    color: var(--navy-deep);
    box-shadow: var(--gold-glow);
}

/* 1. HERO HEADER SECTION */
.hero-section {
    position: relative;
    padding: 60px 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, #0c1938 100%);
    border: 1px solid var(--card-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 85%, rgba(58, 80, 107, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge-gold {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.accent-gold {
    color: var(--gold-color);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 16px;
    border-left: 3px solid var(--gold-color);
    padding-left: 12px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

/* Button UI Components */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--navy-deep);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold-color);
    color: var(--gold-color);
    transform: translateY(-2px);
}

/* Section Header Standards */
.section-header-centered {
    text-align: center;
    margin-bottom: 48px;
}

.section-pretitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-color);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.accent-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

/* Glass Card Global Styles */
.detail-card, .timeline-content, .channel-card, .strategy-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.detail-card:hover .card-glow, 
.channel-card:hover .card-glow, 
.strategy-card:hover .card-glow {
    opacity: 1;
}

.detail-card:hover, .channel-card:hover, .strategy-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 2. EVENT CORE DETAILS CARD */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.detail-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.svg-icon-gold {
    width: 24px;
    height: 24px;
    color: var(--gold-color);
}

.detail-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.detail-val {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.detail-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.detail-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Speaker Component */
.speaker-card {
    grid-column: span 1;
}

.speakers-container {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.speaker-profile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.speaker-avatar {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    border-radius: 50%;
}

.avatar-svg {
    width: 100%;
    height: 100%;
}

.speaker-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
}

.speaker-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Seminar Features list */
.features-card {
    grid-column: span 1;
}

.features-list {
    list-style: none;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-deep);
    background: var(--gold-color);
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

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

/* 3. THE TIMELINE & RUN SHEET (Vertical Timeline) */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 175, 55, 0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 14px;
    top: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy-deep);
    border: 2px solid var(--slate-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition-smooth);
}

.marker-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-light);
}

.timeline-content {
    padding: 24px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-phase-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-task-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-task-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 18px;
}

.timeline-task-list li::before {
    content: "•";
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* Timeline Interactive / Completion Styles */
.timeline-item.completed .timeline-marker {
    background: var(--gold-color);
    border-color: var(--gold-color);
    box-shadow: var(--gold-glow);
}

.timeline-item.completed .marker-number {
    color: var(--navy-deep);
}

.timeline-item.completed .timeline-content {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(28, 37, 65, 0.3);
}

.timeline-item.completed .timeline-phase-title {
    color: var(--gold-color);
}

.timeline-item.completed .timeline-desc {
    color: var(--text-white);
}

/* Custom Checkbox Design */
.completion-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    user-select: none;
    transition: var(--transition-smooth);
}

.completion-checkbox-label:hover {
    color: var(--gold-color);
}

.completion-checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--slate-gray);
    border-radius: 4px;
    position: relative;
    background: transparent;
    transition: var(--transition-smooth);
}

.completion-checkbox-label input:checked + .custom-checkbox {
    border-color: var(--gold-color);
    background: var(--gold-color);
}

.completion-checkbox-label input:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--navy-deep);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.completion-checkbox-label input:checked ~ .checkbox-text {
    color: var(--gold-color);
}

/* 4. MARKETING CHANNELS CHECKLIST */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.channel-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 3px solid var(--navy-light);
}

.channel-card:hover {
    border-top-color: var(--gold-color);
}

.channel-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.channel-icon-bg {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-title-meta h3 {
    font-size: 1.05rem;
}

.channel-progress {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.channel-progress-mini-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.channel-progress-fill {
    height: 100%;
    background: var(--gold-color);
    width: 0%;
    transition: width 0.4s ease;
}

.checklist-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    user-select: none;
}

.item-checkbox-label input {
    display: none;
}

.item-checkbox-label .custom-checkbox {
    margin-top: 3px;
    flex-shrink: 0;
}

.item-checkbox-label input:checked + .custom-checkbox {
    border-color: var(--gold-color);
    background: var(--gold-color);
}

.item-checkbox-label input:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid var(--navy-deep);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.item-checkbox-label input:checked ~ .item-text {
    color: var(--text-white);
}

/* 5. LOGISTICS & PROCUREMENT BUDGET TRACKER */
.budget-table-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.budget-table th, .budget-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.budget-table th {
    background: rgba(11, 19, 43, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--gold-color);
}

.item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
}

.item-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.col-status {
    width: 170px;
}

.col-cost {
    width: 150px;
}

.text-right {
    text-align: right;
}

/* Editable Cost Field */
.editable-cost {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-white);
    outline: none;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.editable-cost:hover {
    background: rgba(212, 175, 55, 0.08);
}

.editable-cost:focus {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-color);
    box-shadow: var(--gold-glow);
}

/* Styled Status Dropdown Select */
.status-select {
    background: var(--navy-deep);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

.status-select:hover {
    border-color: var(--gold-color);
}

.status-select option {
    background: var(--navy-deep);
    color: var(--text-white);
}

/* Dynamic status classes applied in script or styling matching state values */
.status-todo-badge { background: var(--status-todo); }
.status-pending-badge { background: var(--status-pending); }
.status-planned-badge { background: var(--status-planned); }
.status-progress-badge { background: var(--status-progress); }
.status-completed-badge { background: var(--status-completed); }

.status-badge-inline {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Total row */
.total-row {
    background: rgba(11, 19, 43, 0.6);
}

.total-row td {
    border-bottom: none;
    font-size: 1.05rem;
    color: var(--text-white);
}

.budget-summary-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--status-pending);
    color: white;
}

/* 6. CORE VALUE ADD STRATEGIES */
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.strategy-card {
    border-left: 4px solid var(--gold-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.strategy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.strategy-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strategy-card h3 {
    font-size: 1.2rem;
    color: var(--text-white);
}

.strategy-highlight-title {
    color: var(--gold-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.strategy-body p {
    color: var(--slate-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.strategy-reason {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(5, 11, 20, 0.4);
    padding: 14px;
    border-radius: 6px;
    border-left: 2px solid var(--slate-gray);
}

/* 7. FOOTER SECTION */
.footer-section {
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    background: var(--navy-deep);
    padding: 60px 40px 40px 40px;
    border-radius: 16px 16px 0 0;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-color);
    letter-spacing: 0.02em;
}

.footer-brand-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.svg-icon-inline {
    width: 16px;
    height: 16px;
    color: inherit;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
}

.footer-link-item {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link-item:hover {
    color: var(--gold-color);
}

.link-separator {
    color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--slate-gray);
    margin-top: 10px;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    background: var(--gold-gradient);
    color: var(--navy-deep);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .status-hub {
        padding: 10px 14px;
    }
    
    .hub-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hub-metrics-grid {
        justify-content: space-between;
        gap: 16px;
    }
    
    .dashboard-wrapper {
        padding-top: 130px;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero-section {
        padding: 32px 24px;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-outline {
        justify-content: center;
    }
    
    .speakers-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-line {
        left: 18px;
    }
    
    .timeline-item {
        padding-left: 48px;
    }
    
    .timeline-marker {
        left: 3px;
        top: 24px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .timeline-status-container {
        align-self: flex-end;
    }
    
    .budget-table th, .budget-table td {
        padding: 12px 14px;
    }
    
    .budget-table th {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .budget-table-container {
        overflow-x: auto;
    }
    
    .budget-table {
        min-width: 500px;
    }
}

/* Launch Gate Banner styles */
.launch-gate-card {
    background: rgba(217, 119, 6, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    margin-bottom: 24px;
}

.launch-gate-card.unlocked {
    background: rgba(22, 163, 74, 0.05);
    border-color: rgba(22, 163, 74, 0.3);
}

.gate-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.gate-info {
    flex: 1;
    min-width: 280px;
}

.gate-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--status-pending);
    color: white;
    margin-bottom: 12px;
}

.launch-gate-card.unlocked .gate-status-badge {
    background: var(--status-completed);
}

.gate-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-white);
}

.gate-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gate-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* iOS Toggle Switch */
.switch-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--slate-gray);
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.switch-container input:checked + .switch-slider {
    background-color: var(--status-completed);
}

.switch-container input:checked + .switch-slider:before {
    transform: translateX(26px);
}

.switch-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.launch-gate-card.unlocked #gateSwitchLabel {
    color: var(--status-completed);
}

/* Gate Lock visual dependencies */
body.gate-locked .timeline-item:not(#phase-1-card),
body.gate-locked .channel-card:not(#channel-card-print) {
    /* Kept active, bright, and interactive even when locked/on-hold */
}

body.gate-locked .timeline-item:not(#phase-1-card) .timeline-content,
body.gate-locked .channel-card:not(#channel-card-print) {
    border-color: rgba(217, 119, 6, 0.15) !important;
    background: rgba(15, 23, 42, 0.3) !important;
}

body.gate-locked .timeline-item:not(#phase-1-card) .timeline-content::before,
body.gate-locked .channel-card:not(#channel-card-print) .channel-card-header::before {
    content: "🔒 ON HOLD: Landing Page Offline";
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold-color);
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

/* Campaign Coverage Map Styles */
.map-container-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.map-container-card:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.map-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-deep);
    background: var(--gold-color);
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.map-info h3 {
    font-size: 1.5rem;
    color: var(--text-white);
}

.map-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.map-towns-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.map-towns-list li {
    font-size: 0.85rem;
    color: var(--slate-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Radar towns list item pulse */
.town-bullet {
    width: 8px;
    height: 8px;
    background: var(--gold-color);
    border-radius: 50%;
    box-shadow: var(--gold-glow);
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    margin-right: 4px;
}

.town-bullet::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-color);
    animation: list-pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    opacity: 0;
}

@keyframes list-pulse-ring {
    0% {
        transform: scale(0.3);
        opacity: 0.8;
    }
    80%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.map-frame-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    background: #050b14; /* Match dark theme */
}

/* Custom Leaflet Map styling */
#leafletMap {
    width: 100%;
    height: 100%;
    background: #050b14 !important;
}

.custom-map-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.leaflet-marker-icon.custom-map-icon {
    background: none !important;
    border: none !important;
}

.leaflet-marker-shadow {
    display: none !important;
}

.map-pin-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.map-pin-dot.venue {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid var(--gold-color);
    box-shadow: var(--gold-glow);
}

.map-pin-dot.town {
    background: var(--gold-color);
}

.map-pin-dot.ad-node {
    background: #e5c158;
    box-shadow: 0 0 8px #e5c158;
}

.map-pin-pulse {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-color);
    animation: map-pulse-ring 1.8s ease-out infinite;
    opacity: 0;
    pointer-events: none;
}

.map-pin-pulse.ad-node {
    width: 22px;
    height: 22px;
    border-color: #e5c158;
}

@keyframes map-pulse-ring {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }
    80%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Custom Leaflet Map Label Tooltips to match outreach radar labels */
.map-label-tooltip {
    background: rgba(11, 19, 43, 0.85) !important;
    border: 1.2px solid var(--gold-color) !important;
    color: var(--text-white) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-tooltip-left.map-label-tooltip::before {
    border-left-color: var(--gold-color) !important;
}
.leaflet-tooltip-right.map-label-tooltip::before {
    border-right-color: var(--gold-color) !important;
}
.leaflet-tooltip-top.map-label-tooltip::before {
    border-top-color: var(--gold-color) !important;
}
.leaflet-tooltip-bottom.map-label-tooltip::before {
    border-bottom-color: var(--gold-color) !important;
}

@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .map-frame-wrapper {
        height: 250px;
    }
    
    .radar-container {
        height: 300px;
    }
}

/* Radar Tab System styles */
.map-visual-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.map-toggle-bar {
    display: flex;
    background: rgba(11, 19, 43, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 4px;
    align-self: flex-start;
}

.map-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    outline: none;
}

.map-tab-btn.active {
    background: var(--gold-color);
    color: var(--navy-deep);
    box-shadow: var(--gold-glow);
}

.map-tab-content {
    display: none;
    width: 100%;
}

.map-tab-content.active {
    display: block;
}

/* Radar Container & Screen */
.radar-container {
    width: 100%;
    height: 450px;
    background: radial-gradient(circle, rgba(11, 19, 43, 0.95) 0%, rgba(5, 11, 20, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.9), 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Concentric Distance Rings */
.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.radar-ring.ring-1 { width: 90px; height: 90px; }
.radar-ring.ring-2 { width: 190px; height: 190px; }
.radar-ring.ring-45km {
    width: 280px;
    height: 280px;
    border: 1.5px dashed var(--gold-color) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}
.radar-ring.ring-3 { width: 330px; height: 330px; }

.radar-ring::after {
    content: attr(data-dist);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

.radar-ring.ring-45km::after {
    color: var(--gold-color) !important;
    font-weight: 800 !important;
}

/* Overlapping Geofenced Meta Ad Zones on Radar Map */
.radar-zone {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.2px dashed rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.02);
    pointer-events: none;
    z-index: 4;
    transition: var(--transition-smooth);
}

.radar-zone.zone-selfoss {
    width: 124px;
    height: 124px;
}

.radar-zone.zone-hella {
    width: 124px;
    height: 124px;
    border-color: rgba(229, 193, 88, 0.35);
    background: rgba(229, 193, 88, 0.02);
}

.radar-zone.zone-thorlakshofn {
    width: 90px;
    height: 90px;
    border-color: rgba(229, 193, 88, 0.35);
    background: rgba(229, 193, 88, 0.02);
}

/* Highlight zone boundaries on hovering respective pins */
.radar-center:hover ~ .radar-zone.zone-selfoss,
.radar-pin[data-town="Hella"]:hover ~ .radar-zone.zone-hella,
.radar-pin[data-town="Hvolsvöllur"]:hover ~ .radar-zone.zone-hella,
.radar-pin[data-town="Þorlákshöfn"]:hover ~ .radar-zone.zone-thorlakshofn {
    border-style: solid;
    border-color: var(--gold-color);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Radar Center (Venue Location) */
.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
}

.radar-center-dot {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 2.5px solid var(--gold-color);
    border-radius: 50%;
    box-shadow: 0 0 12px #ffffff;
}

.radar-center:hover .radar-tooltip {
    opacity: 1;
    transform: translate(-50%, -28px);
}

/* Sweeper Beam */
.radar-sweep {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(212, 175, 55, 0.08) 0deg, transparent 75deg);
    border-radius: 50%;
    pointer-events: none;
    transform-origin: center;
    animation: radar-sweep-rot 6s linear infinite;
}

@keyframes radar-sweep-rot {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Radar Target Pins */
.radar-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 8;
    transform: translate(-50%, -50%);
    transition: var(--transition-smooth);
}

/* Local outreach radius circle around each town pin on radar */
.radar-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.04);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.radar-pin:hover::before {
    border-color: var(--gold-color);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* Specific styling for towns acting as Meta geofencing ad nodes */
.radar-pin.ad-node {
    background: #e5c158;
    box-shadow: 0 0 8px #e5c158;
}

.radar-pin.ad-node::before {
    border-color: #e5c158;
    background: rgba(229, 193, 88, 0.08);
    width: 32px;
    height: 32px;
}

.radar-pin.ad-node:hover::before {
    background: rgba(229, 193, 88, 0.2);
    box-shadow: 0 0 12px rgba(229, 193, 88, 0.4);
}

/* Static labeled annotations on radar map */
.radar-pin-label {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.95);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.radar-pin:hover .radar-pin-label {
    opacity: 1;
    color: var(--gold-light);
}

/* Radar label positions offsets based on alignment tags */
.radar-pin.label-left .radar-pin-label {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.radar-pin.label-right .radar-pin-label {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.radar-pin.label-top .radar-pin-label {
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
}

.radar-pin.label-bottom .radar-pin-label {
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
}

.pin-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gold-color);
    animation: pin-pulse-ring 1.8s ease-out infinite;
    opacity: 0;
}

@keyframes pin-pulse-ring {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }
    80%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Pin Hover Info Box */
.radar-pin::after {
    content: attr(data-town) " (" attr(data-dist) ", " attr(data-time) ")";
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    background: rgba(11, 19, 43, 0.95);
    border: 1px solid var(--gold-color);
    color: var(--text-white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.radar-pin:hover::after {
    opacity: 1;
    bottom: 20px;
}

/* Regional Demographics Card & Grid */
.demographics-card {
    margin-top: 32px;
}

.demographics-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.demo-subheading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.demographics-table-container {
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(11, 19, 43, 0.4);
}

.demographics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.demographics-table th {
    background: rgba(11, 19, 43, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--gold-color);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: left;
}

.demographics-table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--slate-light);
}

.demographics-table tr:last-child td {
    border-bottom: none;
}

.demographics-table tr.demo-total-row td {
    background: rgba(212, 175, 55, 0.08);
    border-top: 1.5px solid rgba(212, 175, 55, 0.25);
    color: var(--text-white);
}

/* Nationality Bars styling */
.demo-source {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 20px;
    font-style: italic;
}

.nationality-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nat-bar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nat-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}

.nat-name {
    color: var(--text-white);
}

.nat-pct {
    color: var(--gold-color);
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* Demographic Polish callout card */
.demographic-callout {
    background: rgba(217, 119, 6, 0.04);
    border-left: 3px solid #c1272d;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 24px;
    border-top: 1px solid rgba(217, 119, 6, 0.1);
    border-right: 1px solid rgba(217, 119, 6, 0.1);
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.demographic-callout h5 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

@media (max-width: 992px) {
    .demographics-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================
   PRINT MEDIA STYLES
   Optimizes dashboard into a high-quality PDF 
   ========================================== */
@media print {
    /* Hide gate control in print */
    .gate-action {
        display: none !important;
    }
    
    .launch-gate-card {
        page-break-inside: avoid;
    }
    
    .launch-gate-card.unlocked {
        background: #f0fdf4 !important;
        border-color: #16a34a !important;
    }
    
    .launch-gate-card:not(.unlocked) {
        background: #fffbeb !important;
        border-color: #d97706 !important;
    }
    /* Base setups */
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt;
    }
    
    .dashboard-wrapper {
        padding-top: 0;
        max-width: 100%;
    }
    
    .main-content {
        gap: 30px;
    }
    
    /* Hide interactive elements not needed in printout */
    .status-hub,
    .hero-cta-group,
    .timeline-status-container,
    .footer-actions,
    .toast,
    .card-glow,
    .map-toggle-bar,
    #tabRadar {
        display: none !important;
    }
    
    /* Format cards to look clean on white paper */
    .hero-section,
    .detail-card,
    .timeline-content,
    .channel-card,
    .strategy-card,
    .budget-table-container {
        background: transparent !important;
        border: 1px solid #cccccc !important;
        color: #000000 !important;
        box-shadow: none !important;
        border-radius: 4px !important;
        margin-bottom: 15px !important;
        padding: 15px !important;
        page-break-inside: avoid;
    }
    
    /* Text improvements for high contrast printing */
    .hero-section {
        background: #f1f5f9 !important;
        border-color: #94a3b8 !important;
    }
    
    .hero-title, .hero-title span {
        color: #0b132b !important;
        -webkit-text-fill-color: initial !important;
        background: none !important;
    }
    
    h1, h2, h3, h4, h5, h6, strong {
        color: #0f172a !important;
    }
    
    p, .detail-sub, .timeline-task-list li, .item-sub, .strategy-body p {
        color: #334155 !important;
    }
    
    .accent-gold, .detail-link, .timeline-date, .section-pretitle, .strategy-highlight-title {
        color: #b89020 !important;
        -webkit-text-fill-color: initial !important;
        background: none !important;
        font-weight: 700 !important;
    }
    
    /* Avatar coloring print-friendly */
    .avatar-svg circle {
        fill: #f1f5f9 !important;
        stroke: #b89020 !important;
    }
    
    .avatar-svg path {
        fill: #334155 !important;
    }
    
    /* Checkbox Print State representation */
    .custom-checkbox {
        border: 1px solid #000000 !important;
    }
    
    .item-checkbox-label input:checked + .custom-checkbox {
        background: #b89020 !important;
        border-color: #b89020 !important;
    }
    
    .item-checkbox-label input:checked + .custom-checkbox::after {
        border-color: #ffffff !important;
    }
    
    /* Table modifications */
    .budget-table th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        border-bottom: 2px solid #000000 !important;
    }
    
    .budget-table td {
        border-bottom: 1px solid #e2e8f0 !important;
    }
    
    .editable-cost {
        background: transparent !important;
        border: none !important;
    }
    
    /* Custom status indicators for printing instead of dropdown inputs */
    .status-select {
        border: none !important;
        background: transparent !important;
        color: #000000 !important;
        appearance: none;
        -webkit-appearance: none;
        font-weight: 700;
        padding: 0;
    }
    
    .total-row {
        background: #f8fafc !important;
        border-top: 2px solid #000000 !important;
    }
    
    #tableTotalValue {
        color: #000000 !important;
    }
    
    .budget-summary-badge {
        background: #cccccc !important;
        color: #000000 !important;
        border: 1px solid #94a3b8 !important;
    }
    
    /* Page break strategies */
    .details-section, .timeline-section, .checklist-section, .budget-section, .strategies-section {
        page-break-after: always;
        page-break-inside: avoid;
    }
    
    .details-section {
        margin-top: 20px;
    }
    
    /* Map Print Rules */
    .map-container-card {
        page-break-inside: avoid;
        border: 1px solid #cccccc !important;
        background: transparent !important;
        margin-top: 15px !important;
    }
    
    #leafletMap {
        filter: invert(100%) hue-rotate(180deg) brightness(1.2) !important; /* Convert dark mode tiles to ink-friendly light mode */
        height: 280px !important;
        border: 1px solid #cccccc !important;
    }

    /* Demographics Print styles */
    .demographics-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .demographics-table-container {
        border: 1px solid #cccccc !important;
        background: transparent !important;
    }
    
    .demographics-table th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        border-bottom: 2px solid #000000 !important;
    }
    
    .demographics-table td {
        color: #334155 !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    
    .demographics-table tr.demo-total-row td {
        background: #f8fafc !important;
        border-top: 2px solid #000000 !important;
        color: #000000 !important;
    }
    
    .demographics-sidebar {
        page-break-inside: avoid;
        margin-top: 15px;
    }
    
    .nationality-bars {
        gap: 8px !important;
    }
    
    .progress-bar-bg {
        background: #e2e8f0 !important;
        border: 1.2px solid #cbd5e1 !important;
    }
    
    .demographic-callout {
        background: #fffbeb !important;
        border: 1px solid #cbd5e1 !important;
        border-left: 3px solid #cbd5e1 !important;
    }
    
    .demographic-callout h5 {
        color: #0f172a !important;
    }
    
    .demographic-callout p {
        color: #334155 !important;
    }
}
