/* ==========================================================================
   Kaya CRM Dashboard
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1d1d1f;
    background-color: #fafaf9;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Header ---- */
.site-header {
    background: white;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logos {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

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

.header-link {
    text-decoration: none;
    color: inherit;
}

.site-header h1 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #1a3a5c;
    margin: 0;
}

.header-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #86868b;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ---- Navigation ---- */
.header-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #86868b;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.15s;
}

.nav-link:hover {
    color: #1d1d1f;
    background: #f0f0f2;
}

/* ---- Footer ---- */
.site-footer {
    margin-top: 80px;
    padding: 24px 0;
    border-top: 1px solid #e5e5e7;
    font-size: 12px;
    color: #86868b;
    text-align: center;
    letter-spacing: 0.2px;
}

/* ---- Main ---- */
main { padding: 40px 32px; }

.page-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.page-subheading {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 32px;
}

.section-heading {
    font-size: 12px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 40px 0 16px 0;
    padding-left: 12px;
    border-left: 3px solid #1a3a5c;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sub-heading {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin: 24px 0 12px 0;
}

.back-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #86868b;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.15s;
}

.back-link:hover { color: #1d1d1f; }

.no-data {
    color: #86868b;
    font-size: 14px;
    font-style: italic;
    padding: 8px 0;
}

/* ---- Login ---- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
}

.login-card {
    background: white;
    padding: 48px 40px;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.login-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.login-logo-kaya-solo { height: 28px; width: auto; }

.login-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 13px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.login-error {
    font-size: 13px;
    color: #c53030;
    background: #fde8e8;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e5e7;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    margin-bottom: 12px;
}

.login-input:focus { border-color: #1a3a5c; }

.login-button {
    width: 100%;
    padding: 12px;
    background: #1d1d1f;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.login-button:hover { background: #333; }

/* ---- Material Grid (Overview) ---- */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.material-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.material-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.material-card .card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #c7c7cc;
    font-size: 18px;
    transition: color 0.15s;
}

.material-card:hover .card-arrow { color: #1a3a5c; }

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

.material-symbol {
    width: 44px;
    height: 44px;
    background: #1a3a5c;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.material-name {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

.material-category {
    font-size: 12px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.material-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
}

.price-source {
    font-size: 11px;
    color: #86868b;
}

/* ---- Category headings ---- */
.category-heading {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e5e7;
}

.category-heading:first-of-type {
    margin-top: 8px;
}

.category-count {
    font-size: 13px;
    font-weight: 400;
    color: #86868b;
    margin-left: 6px;
}

/* ---- Dominance bars ---- */
.material-dominance {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dominance-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dominance-label {
    font-size: 11px;
    color: #86868b;
    width: 110px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dominance-bar-container {
    flex: 1;
    height: 8px;
    background: #f0f0f2;
    border-radius: 4px;
    overflow: hidden;
}

.dominance-bar {
    height: 100%;
    background: #c53030;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.dominance-bar.processing {
    background: #b33a00;
}

.dominance-bar.china {
    background: #c53030;
}

.dominance-value {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    width: 40px;
    text-align: right;
}

/* ---- Project stage dots (overview cards) ---- */
.material-projects {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.projects-total {
    font-size: 12px;
    color: #86868b;
}

.projects-stages {
    display: flex;
    gap: 4px;
}

.stage-dot {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    color: white;
}

.stage-dot.stage-announcement { background: #86868b; }
.stage-dot.stage-feasibility { background: #b8860b; }
.stage-dot.stage-permitting { background: #2d6a4f; }
.stage-dot.stage-construction { background: #1a3a5c; }
.stage-dot.stage-production { background: #2d5f8a; }

/* ---- Material Detail Header ---- */
.material-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e7;
}

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

.material-symbol-lg {
    width: 56px;
    height: 56px;
    background: #1a3a5c;
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.material-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.4px;
}

.material-category-lg {
    font-size: 13px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.material-price-lg {
    text-align: right;
}

.price-value-lg {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
}

.price-unit-lg {
    font-size: 16px;
    font-weight: 400;
    color: #86868b;
}

.price-source-lg {
    font-size: 12px;
    color: #86868b;
    margin-top: 4px;
}

.uses-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.uses-label {
    font-size: 12px;
    color: #86868b;
    font-weight: 500;
}

.use-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f0f0f2;
    color: #555;
}

.material-description {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ---- Dominance Grid (Detail) ---- */
.dominance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dominance-panel {
    background: white;
    padding: 20px 24px;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
}

.dominance-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dominance-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.dominance-country {
    font-size: 13px;
    color: #1d1d1f;
    width: 100px;
    flex-shrink: 0;
}

.dominance-pct {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    width: 40px;
    text-align: right;
}

/* ---- Charts ---- */
.chart-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
    margin-bottom: 24px;
}

.chart-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 4px;
}

/* ---- Data Tables ---- */
.data-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e5e7;
}

.data-table thead {
    background: #f8f8fa;
}

.data-table th {
    font-size: 11px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e7;
}

.data-table th.num,
.data-table td.num {
    text-align: right;
}

.data-table td {
    font-size: 13px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f2;
    color: #333;
}

.data-table tbody tr:hover {
    background: #fafaf9;
}

.data-table a {
    color: #1a3a5c;
    text-decoration: none;
}

.data-table a:hover { text-decoration: underline; }

.table-link {
    font-size: 11px;
    margin-left: 4px;
}

.china-flag {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    background: #fde8e8;
    color: #c53030;
}

/* ---- Stage Badges ---- */
.stage-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    color: white;
}

.stage-badge.stage-announcement { background: #86868b; }
.stage-badge.stage-feasibility { background: #b8860b; }
.stage-badge.stage-permitting { background: #2d6a4f; }
.stage-badge.stage-construction { background: #1a3a5c; }
.stage-badge.stage-production { background: #2d5f8a; }
.stage-badge.stage-ongoing { background: #5a5a5a; }

.tag-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    cursor: help;
}
.tag-badge.tag-crma {
    background: #003399;
    color: #ffcc00;
}

/* ---- Stage Summary (Projects page) ---- */
.stage-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stage-summary-item {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
    text-align: center;
    min-width: 100px;
}

.stage-summary-count {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    display: block;
}

.stage-summary-label {
    font-size: 11px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ---- Filters ---- */
.filter-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1.5px solid #e5e5e7;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: white;
    outline: none;
    cursor: pointer;
}

.filter-select:focus { border-color: #1a3a5c; }

.filter-button {
    padding: 8px 20px;
    background: #1d1d1f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.filter-button:hover { background: #333; }

.filter-clear {
    font-size: 13px;
    color: #86868b;
    text-decoration: none;
}

.filter-clear:hover { color: #c53030; }

/* ---- Pipeline Kanban ---- */
.pipeline-kanban {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.pipeline-column {
    min-width: 180px;
}

.pipeline-column-header {
    font-size: 12px;
    font-weight: 600;
    color: white;
    padding: 8px 12px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pipeline-column-header.stage-announcement { background: #86868b; }
.pipeline-column-header.stage-feasibility { background: #b8860b; }
.pipeline-column-header.stage-permitting { background: #2d6a4f; }
.pipeline-column-header.stage-construction { background: #1a3a5c; }
.pipeline-column-header.stage-production { background: #2d5f8a; }

.pipeline-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.pipeline-cards {
    background: #f8f8fa;
    border: 1px solid #e5e5e7;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 8px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pipeline-card {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e5e7;
}

.pipeline-project-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.pipeline-company {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 6px;
}

.pipeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #555;
}

.pipeline-meta span {
    background: #f0f0f2;
    padding: 2px 6px;
    border-radius: 4px;
}

.pipeline-description {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
    line-height: 1.5;
}

.pipeline-source {
    font-size: 11px;
    color: #1a3a5c;
    text-decoration: none;
    margin-top: 6px;
    display: inline-block;
}

.pipeline-empty {
    font-size: 12px;
    color: #86868b;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* ---- News ---- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
}

.news-category-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a3a5c;
    background: #e8f0f8;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-title a {
    color: #1a3a5c;
    text-decoration: none;
}

.news-title a:hover { color: #2d5f8a; }

.news-summary {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 4px;
}

.news-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #86868b;
}

/* ---- Admin ---- */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
    text-align: center;
}

.admin-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5c;
}

.admin-stat-label {
    font-size: 12px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.admin-form-card {
    background: white;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e5e5e7;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.form-input:focus { border-color: #1a3a5c; }

.form-textarea { resize: vertical; }

.form-submit {
    padding: 10px 24px;
    background: #1a3a5c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.form-submit:hover { background: #2d5f8a; }

.form-help {
    font-size: 13px;
    color: #555;
    margin-bottom: 16px;
}

.csv-help {
    margin-top: 16px;
    font-size: 12px;
    color: #86868b;
}

.csv-help summary {
    cursor: pointer;
    font-weight: 600;
    color: #555;
}

.csv-formats {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csv-formats code {
    font-size: 11px;
    background: #f0f0f2;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
    word-break: break-all;
}

.upload-result {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.upload-result.success {
    background: #e6f9e6;
    color: #2d6a4f;
    border: 1px solid #b7e1c8;
}

.upload-result.error {
    background: #fde8e8;
    color: #c53030;
    border: 1px solid #f5c6c6;
}

/* ---- Maps ---- */
.map-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
}

.map-tab {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    background: #f0f0f2;
    color: #555;
    border: 1px solid #e5e5e7;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.map-tab.active {
    background: white;
    color: #1d1d1f;
    border-bottom-color: white;
}

.map-tab:hover:not(.active) {
    background: #e5e5e7;
}

.map-container {
    border: 1px solid #e5e5e7;
    border-radius: 0 10px 10px 10px;
    overflow: hidden;
    margin-bottom: 24px;
    background: white;
}

.map-frame {
    width: 100%;
    height: 450px;
    border: none;
    display: none;
}

.map-frame.active {
    display: block;
}

/* ---- Trade flows ---- */
.trade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.trade-panel {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
    overflow: hidden;
}

.trade-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e7;
    margin: 0;
}

.data-table.compact td,
.data-table.compact th {
    padding: 7px 12px;
    font-size: 12px;
}

.flow-arrow {
    color: #86868b;
    text-align: center;
    width: 30px;
    font-size: 14px;
}

.section-note {
    font-size: 12px;
    color: #86868b;
    margin: -8px 0 16px;
}

/* ---- Trend indicators ---- */
.trend-up {
    color: #2d6a4f;
    font-weight: 600;
}

.trend-down {
    color: #c53030;
    font-weight: 600;
}

/* ---- Charts grid ---- */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.chart-container {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e5e7;
    padding: 16px;
    text-align: center;
}

.chart-img {
    max-width: 100%;
    height: auto;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    main { padding: 24px 16px; }
    .material-grid { grid-template-columns: 1fr; }
    .pipeline-kanban { grid-template-columns: 1fr; }
    .dominance-grid { grid-template-columns: 1fr; }
    .trade-grid { grid-template-columns: 1fr; }
    .charts-grid { grid-template-columns: 1fr; }
    .material-header { flex-direction: column; gap: 16px; }
    .material-price-lg { text-align: left; }
    .header-inner { flex-wrap: wrap; gap: 12px; }
    .map-frame { height: 300px; }
    .data-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---- Print ---- */
@media print {
    .site-header, .site-footer, .header-nav, .back-link,
    .pipeline-source, .map-tabs, .map-container, .filter-bar { display: none; }

    body { background: white; font-size: 11px; }
    main { padding: 0; }
    .container { max-width: 100%; padding: 0; }

    .section-heading {
        margin-top: 24px;
        break-after: avoid;
    }

    .data-table { break-inside: avoid; }
    .chart-img { max-height: 300px; }
    .pipeline-kanban { grid-template-columns: repeat(5, 1fr); font-size: 10px; }
    .material-card { break-inside: avoid; }
}
