/* Clean UAE 2026 Impact Dashboard.
   Laid out in the proposal mock-up's own pixels (a 682 px frame, 640 px of
   content) and scaled as a whole with `zoom` on wider screens, so the page
   keeps the mock-up's exact proportions. Phones get a stacked layout. */

:root {
  --navy: #0f172a;
  --card: #1b2438;
  --blue: #4f6ef7;
  --blue-soft: #8fa4ff;
  --ink: #0f172a;
  --ink-2: #3f4a60;
  --muted: #6b7488;
  --hero-muted: #aeb7cc;
  --kpi-label: #93a0bb;
  --ghost-text: #c6cddd;
  --ghost-line: #3a4560;
  --track: #eef0f7;
  --green: #1f7a5c;
  --amber: #b07d1a;
  --amber-soft: #c9a24a;
  --slate: #64748b;
  --band: #f7f8fc;
  --line: #eceef5;
  --seg-1: #4f6ef7;
  --seg-2: #7c92fa;
  --seg-3: #a9b8fc;
  --seg-4: #d3dafd;
  --seg-5: #3a55d6;
  --seg-6: #bcc6f7;
  --car-1: #0f172a;
  --car-2: #3d4a67;
  --car-3: #68748e;
  --car-4: #8a93a8;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.dash { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 11px; line-height: 1.45; }
h1, h2, h3, h4, p, ul { margin: 0; }
button { font: inherit; }
.mq { text-transform: none; direction: ltr; unicode-bidi: isolate; }
.mq sup { font-size: .62em; line-height: 0; vertical-align: .62em; }

.wrap { width: 640px; margin: 0 auto; }

/* Preview strip: same words and colour as the mock-up's EXAMPLE FIGURES tag */
.xstrip { background: #eef0f7; color: var(--blue); text-align: center; font-weight: 700; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; padding: 6px 0 5px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; padding: 18px 0 18px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.eyebrow { color: var(--blue-soft); font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; line-height: 12px; }
.title { font-family: var(--serif); font-weight: 400; font-size: 26.7px; line-height: 1.12; letter-spacing: 0; margin-top: 0.7px; color: #fff; }
.powered { color: var(--hero-muted); font-size: 11.5px; line-height: 14px; margin-top: 6px; }
.hero-actions { display: flex; gap: 8px; margin-top: 0; flex: none; }
.btn { height: 24px; padding: 0 9.5px; border-radius: 5px; font-size: 10.5px; line-height: 22px; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); font-weight: 700; }
.btn-ghost { background: transparent; color: var(--ghost-text); border: 1px solid var(--ghost-line); }
.btn:focus-visible, .scope-menu li:focus-visible, .bars-emirates .row-btn:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; }
.scope { position: relative; }
.scope-menu { position: absolute; z-index: 5; top: 28px; inset-inline-start: 0; min-width: 150px; list-style: none; padding: 4px; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); }
.scope-menu li { padding: 6px 8px; border-radius: 4px; color: var(--ink-2); cursor: pointer; font-size: 11px; }
.scope-menu li:hover, .scope-menu li[aria-selected="true"] { background: var(--track); color: var(--ink); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16.3px; }
.kpi { background: var(--card); border-radius: 7px; padding: 10.7px 12px 0; height: 75px; }
.kpi-l { color: var(--kpi-label); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 12px; white-space: nowrap; }
.kpi-v { color: #fff; font-size: 22.8px; font-weight: 700; line-height: 26px; margin-top: 1.1px; white-space: nowrap; }
.kpi-s { color: var(--blue-soft); font-size: 9.5px; line-height: 12px; margin-top: 2.6px; white-space: nowrap; }
.kpi-s.is-est { color: var(--amber-soft); }

/* ---------- sections ---------- */
.sl { color: var(--blue); font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; line-height: 12px; }
.big { font-size: 19.2px; font-weight: 700; color: var(--ink); line-height: 23px; }
.bigline { display: flex; align-items: baseline; gap: 8px; }
.aside { color: var(--muted); font-size: 11px; }
.note { color: var(--muted); font-size: 10.5px; line-height: 16px; }

.row { display: grid; column-gap: 16px; }
.row-a { grid-template-columns: 342px 283px; column-gap: 15px; padding: 18px 0 15px; }
.row-b { grid-template-columns: 1fr 1fr; padding: 18px 0 19px; }

.s1 .trio { display: flex; gap: 18px; margin-top: 5.7px; padding-bottom: 8.4px; border-bottom: 1px solid var(--line); }
.trio div { display: flex; flex-direction: column; }
.trio b { font-size: 19.2px; line-height: 23px; color: var(--ink); }
.trio span { color: var(--muted); font-size: 10.5px; line-height: 13px; }

.bars { display: grid; align-items: center; column-gap: 8px; }
.bars .lbl { color: var(--ink-2); font-size: 11px; line-height: 1.1; }
.bars .val { color: var(--muted); font-size: 11px; line-height: 1.1; text-align: end; white-space: nowrap; }
.track { height: 9px; background: var(--track); border-radius: 99px; overflow: hidden; }
.track > i { display: block; height: 100%; border-radius: 99px; background: var(--blue); }
.bars-sector { grid-template-columns: 82px 1fr 33px; row-gap: 6px; margin-top: 10.9px; }
.bars-sector .track { position: relative; top: -0.6px; }
.bars-sector .lbl { min-height: 12px; }

.s2 .big { margin-top: 6.1px; }
.seg { display: flex; height: 13px; border-radius: 99px; overflow: hidden; background: var(--track); margin-top: 8px; }
.seg > i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; column-gap: 14px; margin-top: 7px; }
.legend .li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 10.5px; line-height: 16px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; flex: none; }

.s3 { border-top: 1px solid var(--line); margin-top: 11.9px; padding-top: 11.9px; }
.s3 .bigline { margin-top: 4.3px; }
.track-lg { height: 13px; margin-top: 6.4px; }
.fill-green { background: var(--green) !important; }

.s4 .bigline { margin-top: 5.1px; }
.bars-travel { grid-template-columns: 96px 1fr; row-gap: 6px; margin-top: 9px; }
.bars-travel .lbl { min-height: 12px; }
.bars-travel .track { position: relative; top: 1.2px; }
.s4 .note { margin-top: 8px; }

.bars-emirates { grid-template-columns: 74px 1fr 52px; row-gap: 5px; margin-top: 6.1px; }
.bars-emirates .track { height: 11px; }
.bars-emirates .row-btn { display: contents; cursor: pointer; }
.bars-emirates .is-dim { opacity: .35; }
.s5 .note { margin-top: 6.9px; }

/* ---------- reliability band ---------- */
.band { background: var(--band); border-top: 1px solid var(--line); padding: 16.7px 0 19px; }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.band-right { color: var(--muted); font-size: 10.5px; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10.4px; }
.rel-card { background: #fff; border: 1px solid #e3e7f0; border-left-width: 3px; border-radius: 7px; padding: 6.7px 12px 8.3px; }
.rel-card h3 { font-size: 11.5px; font-weight: 700; line-height: 16px; }
.rel-card p { color: var(--ink-2); font-size: 11px; line-height: 16px; margin-top: 1.1px; }
.rel-v { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.rel-v b { color: var(--ink); font-size: 16px; }
.is-conf { border-left-color: var(--green); } .is-conf h3 { color: var(--green); }
.is-rep { border-left-color: var(--amber); } .is-rep h3 { color: var(--amber); }
.is-est { border-left-color: var(--slate); } .is-est h3 { color: var(--slate); }

/* ---------- holding + footer (below the mock-up's two screens) ---------- */
.holding { padding: 28px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.foot { border-top: 1px solid var(--line); padding: 18px 0 28px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1fr 170px; gap: 24px; }
.foot h4 { color: var(--ink-2); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; line-height: 14px; }
.foot-list { padding: 0; list-style: none; margin-top: 6px; }
.foot-list li { font-size: 10px; line-height: 15px; margin-top: 4px; }
.foot-side { font-size: 10px; line-height: 15px; }
.foot-credit { margin-top: 6px; }
.lang { display: inline-block; color: var(--blue); font-weight: 700; font-size: 12px; text-decoration: none; border: 1px solid #d6dcf5; border-radius: 5px; padding: 2px 10px; }
.lang:hover { background: var(--track); }

[hidden] { display: none !important; }

/* ---------- Arabic ---------- */
html[dir="rtl"] body.dash { font-family: "Noto Sans Arabic", Arial, Tahoma, sans-serif; }
html[dir="rtl"] .title { font-family: "Noto Naskh Arabic", "Times New Roman", serif; font-weight: 600; font-size: 24px; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .sl, html[dir="rtl"] .kpi-l, html[dir="rtl"] .xstrip, html[dir="rtl"] .foot h4 { letter-spacing: 0; }
html[dir="rtl"] .rel-card { border-left-width: 1px; border-right-width: 3px; }
html[dir="rtl"] .is-conf { border-right-color: var(--green); border-left-color: #e3e7f0; }
html[dir="rtl"] .is-rep { border-right-color: var(--amber); border-left-color: #e3e7f0; }
html[dir="rtl"] .is-est { border-right-color: var(--slate); border-left-color: #e3e7f0; }
html[dir="rtl"] .num { direction: ltr; unicode-bidi: isolate; }

/* ---------- phones ---------- */
@media (max-width: 719px) {
  .wrap { width: auto; padding-left: 16px; padding-right: 16px; }
  .hero { padding: 18px 0 18px; }
  .hero-top { flex-direction: column; gap: 12px; }
  .title { font-size: 25px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .row-a, .row-b { grid-template-columns: 1fr; row-gap: 22px; }
  .rel { grid-template-columns: 1fr; }
  .band-head { flex-direction: column; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
}
