.operations-dashboard { display: grid; gap: 22px; min-width: 0; }
.dashboard-header { margin-bottom: 0; }
.dashboard-controls { justify-content: flex-end; }
.dashboard-controls select, .dashboard-chart-controls select { border: 1px solid #dce3ef; background: #fff; color: #53647f; border-radius: 8px; padding: 9px 30px 9px 12px; min-height: 40px; font-size: 14px; max-width: 240px; }
.dashboard-range-line { display: flex; justify-content: space-between; gap: 12px; color: #76849b; font-size: 14px; margin-top: -8px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.dashboard-metric { display: flex; flex-direction: column; align-items: stretch; text-align: left; background: #fff; border: 1px solid #e3e9f3; border-radius: 13px; padding: 21px 23px 17px; box-shadow: 0 3px 14px #23355204; color: #33415b; min-width: 0; transition: transform .15s,box-shadow .15s,border-color .15s; }
.dashboard-metric:hover { border-color: #a9c1fa; transform: translateY(-2px); box-shadow: 0 8px 24px #23355209; }
.dashboard-metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; }
.dashboard-metric-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #3466e9; background: #edf2ff; font-size: 23px; font-weight: 500; }
.metric-cyan .dashboard-metric-icon { color: #0e9b9a; background: #e8f7f5; }
.metric-violet .dashboard-metric-icon { color: #8662d8; background: #f2edfd; }
.metric-orange .dashboard-metric-icon { color: #c48633; background: #fcf4e8; }
.dashboard-metric-value { font-size: 37px; font-weight: 680; letter-spacing: -1px; line-height: 1.2; color: #1f2c45; margin: 15px 0 11px; font-variant-numeric: tabular-nums; }
.dashboard-metric-note { font-size: 14px; color: #7a88a1; min-height: 23px; }
.dashboard-metric-link { font-size: 14px; color: #5274c8; border-top: 1px solid #edf1f7; margin-top: 15px; padding-top: 12px; }
.dashboard-today-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; padding: 1px 4px; margin-top: -7px; color: #74829a; font-size: 14px; }
.dashboard-today-strip > span { display: inline-flex; align-items: center; gap: 5px; }
.dashboard-today-strip strong { color: #2c3e5e; font-weight: 650; }
.dashboard-today-strip > .button { margin-left: auto; }
.dashboard-today-dot { width: 6px; height: 6px; border-radius: 50%; background: #3466e9; display: inline-block; margin-right: 3px; }
.dashboard-map-card { overflow: hidden; border-radius: 16px; border: 1px solid #273e62; background: #14213a; box-shadow: 0 12px 28px #1d2b4410; }
.dashboard-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 28px 0; }
.dashboard-map-heading h2 { font-size: 21px; color: #f4f7ff; margin-top: 5px; }
.dashboard-eyebrow { color: #8ba2ca; font-size: 12px; font-weight: 600; letter-spacing: 1.3px; }
.dashboard-live-label { border: 1px solid #344a6b; color: #9bb4db; background: #20314b; padding: 5px 11px; border-radius: 6px; font-size: 13px; }
.dashboard-map-canvas { position: relative; min-height: 280px; padding: 12px 22px 0; }
.dashboard-world-map { display: block; width: 100%; height: auto; max-height: 480px; min-height: 260px; }
.dashboard-map-graticule line { stroke: #243550; stroke-width: .6; stroke-dasharray: 2 5; }
.dashboard-map-country { fill: #2b3e5d; stroke: #14213a; stroke-width: .6; stroke-linejoin: round; transition: fill .16s; cursor: pointer; }
.dashboard-map-country:hover, .dashboard-map-country:focus { fill: #4d648b; outline: none; stroke: #97b5e8; stroke-width: 1.1; }
.dashboard-map-country.is-active { fill: #4d87ee; stroke: #1f406c; stroke-width: .8; }
.dashboard-map-country.is-active:hover, .dashboard-map-country.is-selected { fill: #77b0ff; stroke: #c0dcff; stroke-width: 1.2; }
.dashboard-map-pin { cursor: pointer; }
.dashboard-map-halo { fill: #69b4ff; opacity: .18; stroke: #8bcbff; stroke-width: .8; }
.dashboard-map-center { fill: #d4edff; stroke: #4d87ee; stroke-width: 2; }
.dashboard-map-pin:hover .dashboard-map-halo, .dashboard-map-pin:focus .dashboard-map-halo { opacity: .5; }
.dashboard-map-pin:focus { outline: none; }
.dashboard-map-tooltip { position: absolute; bottom: 12px; left: 28px; font-size: 13px; color: #c2d4ee; max-width: 58%; pointer-events: none; }
.dashboard-map-legend { position: absolute; right: 28px; bottom: 12px; display: flex; gap: 17px; color: #9eb1ce; font-size: 12px; pointer-events: none; }
.dashboard-map-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #538def; margin-right: 6px; }
.dashboard-map-legend span + span::before { background: #3b4f71; }
.dashboard-map-summary { padding: 21px 28px; border-top: 1px solid #2a3b58; background: #192943; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dashboard-map-summary h3 { color: #f1f6ff; font-size: 20px; margin: 3px 0 4px; }
.dashboard-map-summary p { color: #9cafce; font-size: 14px; }
.dashboard-map-actions { display: flex; align-items: center; gap: 8px; }
.dashboard-map-card .button { color: #cbdefd; background: #263d60; border-color: #3c567c; }
.dashboard-map-card .button:hover { color: #fff; background: #324e78; border-color: #709bdb; }
.dashboard-map-card .button.ghost { background: transparent; border-color: transparent; color: #9cafce; }
.dashboard-region-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 17px 28px 0; color: #9fb2d1; font-size: 14px; }
.dashboard-map-card .dashboard-region-chip { background: #1d304d; color: #9db8df; border-color: #304765; font-size: 13px; padding: 6px 10px; min-height: 32px; }
.dashboard-map-card .dashboard-region-chip.selected { color: #e0edff; background: #315b95; border-color: #6d9ee2; }
.dashboard-map-credit { padding: 15px 28px 20px; color: #7088ac; font-size: 12px; }
.dashboard-map-credit a { color: #a3bbdf; }
.dashboard-map-loading { min-height: 320px; display: grid; place-items: center; color: #a9bfdf; padding: 32px; text-align: center; }
.dashboard-chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.dashboard-chart-card { background: #fff; border: 1px solid #e3e9f3; border-radius: 13px; overflow: hidden; padding: 23px 24px 16px; min-width: 0; }
.dashboard-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.dashboard-section-head h2 { font-size: 18px; }
.dashboard-section-head p { color: #8290a6; font-size: 14px; margin-top: 6px; }
.dashboard-chart-controls { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-chart-controls select { padding: 6px 25px 6px 9px; min-height: 33px; font-size: 14px; width: auto; max-width: 150px; }
.dashboard-chart { width: 100%; height: auto; min-height: 190px; display: block; overflow: visible; }
.dashboard-grid-line { stroke: #edf1f7; stroke-width: 1; stroke-dasharray: 4 4; }
.dashboard-axis { fill: #8a97ab; font-family: inherit; font-size: 22px; }
.dashboard-chart-footnote { color: #8290a6; font-size: 13px; margin-top: 8px; line-height: 1.65; }
.dashboard-distribution { max-height: 435px; overflow-y: auto; scrollbar-width: thin; }
.dashboard-country-row { border: 0; border-bottom: 1px solid #eff2f7; background: #fff; width: 100%; padding: 14px 5px; display: grid; grid-template-columns: 27px minmax(96px,1.2fr) minmax(60px,3fr) 55px 65px; align-items: center; gap: 16px; text-align: left; color: #425472; }
.dashboard-country-row:hover { background: #f7faff; }
.dashboard-country-row:last-child { border-bottom: 0; }
.dashboard-country-rank { color: #a1acc0; font-size: 13px; font-variant-numeric: tabular-nums; }
.dashboard-country-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.dashboard-country-title strong { font-weight: 550; }
.dashboard-country-title small { color: #9aa7bb; font-size: 12px; }
.dashboard-country-track { height: 7px; border-radius: 5px; background: #f0f4fb; overflow: hidden; }
.dashboard-country-track > span { display: block; height: 100%; background: linear-gradient(90deg,#6c9af5,#3466e9); border-radius: inherit; }
.dashboard-country-row > strong { text-align: right; font-size: 15px; font-weight: 650; }
.dashboard-country-share { text-align: right; font-size: 14px; color: #8492a8; font-variant-numeric: tabular-nums; }
.dashboard-summary-note { font-size: 13px; color: #8b98ad; line-height: 1.7; padding: 0 3px; }
.dashboard-placeholder { padding: 90px 24px; text-align: center; border-radius: 14px; border: 1px solid #e2e9f4; background: #fff; color: #7b8aa3; }
.dashboard-empty { padding: 50px 24px; text-align: center; color: #8b99af; font-size: 15px; }
.dashboard-detail-dialog { border: 1px solid #e0e6ef; border-radius: 14px; padding: 0; width: min(1080px,calc(100vw - 40px)); max-width: 1080px; max-height: 90dvh; color: #3e4e69; box-shadow: 0 26px 90px #14213b30; }
.dashboard-detail-dialog::backdrop { background: #16243c66; backdrop-filter: blur(3px); }
.dashboard-detail-body { padding: 23px 26px; }
.dashboard-detail-definition { font-size: 15px; color: #5d6f8b; margin-bottom: 7px; }
.dashboard-detail-limit { font-size: 13px; color: #8a98ae; margin-bottom: 19px; }
.dashboard-table-scroll { max-height: 55dvh; overflow: auto; border: 1px solid #e6ecf5; border-radius: 9px; }
.dashboard-detail-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.dashboard-detail-table th { color: #71819c; font-size: 13px; background: #f7f9fd; position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.dashboard-detail-table th, .dashboard-detail-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #eaf0f7; min-width: 90px; max-width: 330px; overflow-wrap: anywhere; }
.dashboard-detail-table td strong { font-weight: 600; }
.dashboard-subtext { display: block; font-size: 13px; color: #8b9ab2; margin-top: 4px; }
.dashboard-detail-table .dashboard-empty-cell { padding: 45px 18px; text-align: center; color: #8a99b0; }
@media (min-width: 1600px) { .dashboard-map-canvas { padding-left: 60px; padding-right: 60px; } }
@media (max-width: 1200px) { .dashboard-metric { padding: 18px 17px 15px; } .dashboard-chart-grid { grid-template-columns: 1fr; } .dashboard-chart { min-height: 240px; max-height: 310px; } }
@media (max-width: 900px) { .dashboard-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-header { align-items: flex-start; } .dashboard-controls { max-width: 250px; } .dashboard-map-heading { padding: 21px 22px 0; } .dashboard-map-canvas { padding: 10px 10px 0; } .dashboard-map-summary { padding: 20px 22px; } .dashboard-region-chips { padding-left: 22px; padding-right: 22px; } .dashboard-map-credit { padding-left: 22px; padding-right: 22px; } }
@media (max-width: 600px) {
  .operations-dashboard { gap: 18px; }
  .dashboard-header { flex-direction: column; gap: 16px; }
  .dashboard-header h1 { font-size: 28px; }
  .dashboard-controls { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
  .dashboard-controls select { width: 100%; max-width: none; }
  .dashboard-range-line { flex-direction: column; gap: 3px; margin-top: -3px; font-size: 12px; }
  .dashboard-metrics { gap: 10px; }
  .dashboard-metric { padding: 14px 12px 12px; border-radius: 11px; }
  .dashboard-metric-top { font-size: 14px; gap: 4px; }
  .dashboard-metric-icon { width: 27px; height: 29px; border-radius: 8px; font-size: 19px; }
  .dashboard-metric-value { font-size: 30px; margin: 12px 0 9px; }
  .dashboard-metric-note { font-size: 12px; min-height: 36px; line-height: 1.5; }
  .dashboard-metric-link { font-size: 12px; padding-top: 9px; margin-top: 9px; }
  .dashboard-today-strip { gap: 9px 16px; font-size: 12px; }
  .dashboard-today-strip > .button { margin-left: 0; padding-left: 0; font-size: 12px; }
  .dashboard-map-heading { padding: 20px 17px 0; align-items: flex-start; }
  .dashboard-eyebrow { font-size: 10px; letter-spacing: .9px; }
  .dashboard-map-heading h2 { font-size: 18px; }
  .dashboard-live-label { font-size: 10px; padding: 3px 6px; max-width: 100px; text-align: center; }
  .dashboard-map-canvas { min-height: 215px; padding: 20px 3px 26px; }
  .dashboard-world-map { min-height: 160px; max-height: 230px; }
  .dashboard-map-tooltip { left: 16px; bottom: 11px; max-width: 95%; font-size: 11px; }
  .dashboard-map-legend { display: none; }
  .dashboard-map-summary { flex-direction: column; align-items: flex-start; padding: 17px; gap: 13px; }
  .dashboard-map-summary h3 { font-size: 18px; }
  .dashboard-map-summary p { font-size: 12px; }
  .dashboard-map-actions .button { font-size: 12px; min-height: 32px; }
  .dashboard-region-chips { padding: 15px 17px 0; }
  .dashboard-map-card .dashboard-region-chip { font-size: 11px; padding: 4px 8px; }
  .dashboard-map-credit { padding: 12px 17px 17px; font-size: 10px; }
  .dashboard-chart-card { padding: 19px 15px 14px; }
  .dashboard-section-head { flex-wrap: wrap; gap: 11px; margin-bottom: 8px; }
  .dashboard-section-head h2 { font-size: 17px; }
  .dashboard-section-head p { font-size: 12px; }
  .dashboard-section-head .button { font-size: 12px; }
  .dashboard-chart-controls { justify-content: flex-start; }
  .dashboard-chart-controls select { font-size: 14px; }
  .dashboard-chart { min-height: 160px; }
  .dashboard-chart-footnote { font-size: 11px; }
  .dashboard-country-row { grid-template-columns: 19px minmax(80px,1fr) minmax(40px,1fr) 30px 49px; gap: 8px; padding: 13px 0; }
  .dashboard-country-title { font-size: 14px; gap: 5px; }
  .dashboard-country-title small { display: none; }
  .dashboard-country-share, .dashboard-country-rank { font-size: 11px; }
  .dashboard-country-row > strong { font-size: 13px; }
  .dashboard-summary-note { font-size: 11px; }
  .dashboard-detail-dialog { width: calc(100vw - 20px); max-height: 94dvh; }
  .dashboard-detail-dialog .modal-header { padding: 17px; }
  .dashboard-detail-dialog .modal-header h2 { font-size: 17px; }
  .dashboard-detail-body { padding: 16px; }
  .dashboard-detail-definition { font-size: 13px; }
  .dashboard-detail-limit { font-size: 11px; }
  .dashboard-detail-dialog .modal-footer { padding: 15px 17px; }
}
