/* Entry experience and requested workspace controls. Existing map panels keep their geometry. */
body.portal-mode19 > :not(#portal19):not(script):not(style):not(link) {
  visibility: hidden !important;
  pointer-events: none !important;
}
#portal19[hidden] {
  display: none !important;
}
#portal19 {
  position: fixed;
  inset: 0;
  z-index: 12000;
  overflow: auto;
  overscroll-behavior: contain;
  background: #101e19;
  color: #f5f3e9;
  font-family: "IBM Plex Sans Arabic", "Manrope Variable", sans-serif;
  scroll-behavior: smooth;
  line-height: 1.7;
}
#portal19 * {
  box-sizing: border-box;
}
#portal19 button,
#portal19 a {
  font: inherit;
}
#portal19 button {
  cursor: pointer;
}
#portal19 h1,
#portal19 h2,
#portal19 h3,
#portal19 p {
  margin: 0;
}
#portal19 button:focus-visible,
#portal19 a:focus-visible {
  outline: 2px solid #dfbf7c;
  outline-offset: 5px;
}
.p19-hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 24px 4vw 22px;
  overflow: hidden;
}
.p19-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -3;
}
.p19-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(270deg, rgba(5, 21, 16, 0.85), rgba(9, 24, 20, 0.2) 80%),
    linear-gradient(0deg, #07120fe8, transparent 50%, #071b1680);
}
.p19-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.15;
  background-image:
    linear-gradient(#d2c09a33 1px, transparent 1px),
    linear-gradient(90deg, #d2c09a33 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: linear-gradient(0deg, #000, transparent);
}
.p19-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.p19-logo {
  width: 270px;
  height: 65px;
  object-fit: contain;
}
.p19-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.p19-header nav a {
  color: #f5f3e9;
  text-decoration: none;
  font-size: 13px;
  margin-inline: 8px;
}
.p19-partner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline-start: 14px;
  border-inline-start: 1px solid #ffffff30;
}
.p19-partner img {
  width: 34px;
  height: 36px;
  object-fit: contain;
}
.p19-partner span {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1.5;
}
.p19-partner small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #d6ddd6;
}
.p19-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 9px 23px;
  background: #d8b56e;
  color: #15291e;
  border: 1px solid #d8b56e;
  border-radius: 30px;
  font-size: 13px !important;
  text-decoration: none;
  font-weight: 600 !important;
  transition:
    background 0.18s,
    transform 0.18s;
}
.p19-button:hover {
  background: #ebcc8b;
  transform: translateY(-1px);
}
.p19-button.secondary {
  background: #0a221837;
  color: #f4f3e7;
  border-color: #ffffff55;
  backdrop-filter: blur(6px);
}
.p19-button.secondary:hover {
  background: #ffffff13;
}
.p19-button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.p19-copy {
  max-width: 700px;
  width: 55%;
  margin-block: auto;
  padding-block: 12vh 8vh;
}
.p19-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #e3c383;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px !important;
}
.p19-eyebrow:before {
  content: "";
  width: 34px;
  height: 1px;
  background: #d8b56e;
}
.p19-copy h1 {
  font-size: clamp(38px, 4.4vw, 76px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 20px !important;
}
.p19-copy h1 span {
  display: block;
}
.p19-copy h1 em {
  font-style: normal;
  color: #e6c47e;
}
.p19-copy > p:not(.p19-eyebrow) {
  font-size: clamp(14px, 1.12vw, 18px);
  max-width: 640px;
  color: #e2e6df;
  line-height: 1.95;
}
.p19-tags {
  font-family: "Manrope Variable", sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 2;
  color: #d4dbd3;
  margin: 20px 0 26px;
  direction: ltr;
  text-align: start;
}
.p19-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.p19-actions .p19-button {
  min-width: 165px;
}
.p19-region {
  position: absolute;
  left: 6vw;
  top: 29%;
  width: 25%;
  max-width: 360px;
  color: #e3c383;
  opacity: 0.75;
  pointer-events: none;
}
.p19-region img {
  width: 100%;
  max-height: 300px;
  filter: drop-shadow(0 2px 12px #0005);
}
.p19-region figcaption {
  font-size: 10px;
  text-align: center;
  letter-spacing: 1px;
  margin-top: 10px;
}
.p19-footline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: #c8d2c7;
  border-top: 1px solid #ffffff21;
  padding-top: 16px;
}
.p19-scroll {
  color: #dfc182;
  text-decoration: none;
  font-size: 12px;
}
.p19-caption {
  max-width: 50%;
  font-size: 9px;
}
.p19-story {
  background: #10231b;
  padding: 90px 7vw 70px;
}
.p19-section-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  margin-bottom: 52px;
}
.p19-section-title h2 {
  font-size: clamp(25px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.5;
}
.p19-section-title p {
  font-size: 15px;
  color: #bfcec0;
  max-width: 580px;
}
.p19-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.p19-story-grid article {
  border-top: 1px solid #cfb47966;
  padding-top: 26px;
}
.p19-story-grid .number {
  font:
    500 12px "Manrope Variable",
    sans-serif;
  color: #d6b97b;
  letter-spacing: 2px;
}
.p19-story-grid h3 {
  font-size: 21px;
  font-weight: 500;
  margin: 16px 0 12px !important;
}
.p19-story-grid p {
  font-size: 13px;
  color: #bdcfc0;
  line-height: 1.95;
}
.p19-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 34px;
  margin-top: 60px;
  background: #19372a;
  border: 1px solid #849c632e;
  border-radius: 12px;
}
.p19-cta h3 {
  font-size: 23px;
  font-weight: 400;
}
.p19-cta p {
  font-size: 12px;
  color: #becdbb;
  margin-top: 6px !important;
}
.p19-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 7vw;
  background: #0a1a13;
  color: #a9b9ac;
  font-size: 10px;
}
.p19-footer a {
  color: #c9b278;
}
.p19-credit {
  max-width: 520px;
  font-size: 9px;
}
#entryLogin19 {
  width: min(430px, calc(100vw - 32px));
  border: 1px solid #baa77745;
  border-radius: 18px;
  padding: 30px;
  background: #122a20;
  color: #f4f3e9;
  box-shadow: 0 24px 100px #0008;
  text-align: start;
  overflow: auto;
  max-height: 90dvh;
  position: fixed;
  inset: 0;
  margin: auto;
  font:
    14px "IBM Plex Sans Arabic",
    sans-serif;
}
#entryLogin19::backdrop {
  background: #02120bc4;
  backdrop-filter: blur(8px);
}
#entryLogin19 .p19-login-logo {
  width: 100%;
  height: 74px;
  object-fit: contain;
  margin: 4px 0 23px;
}
#entryLogin19 h2 {
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 6px;
}
#entryLogin19 p {
  font-size: 12px;
  color: #bdcdbc;
}
#entryLogin19 label {
  display: block;
  margin-top: 18px;
  font-size: 12px;
}
#entryLogin19 input {
  display: block;
  width: 100%;
  font:
    14px "Manrope Variable",
    sans-serif;
  padding: 12px;
  border: 1px solid #bdcfa739;
  border-radius: 8px;
  background: #081b13;
  color: #f4f3e9;
  margin-top: 6px;
  direction: ltr;
}
#entryLogin19 .p19-button {
  width: 100%;
  margin-top: 24px;
}
#entryLogin19 .p19-login-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #c9d8cc;
  background: #ffffff0d;
  font-size: 23px;
}
#entryLogin19 #entryError19 {
  color: #efafa3;
  margin-top: 13px;
}
#entryLogin19 .p19-login-note {
  font-size: 10px;
  text-align: center;
  margin-top: 18px;
  color: #9daf9d;
}
#platformActions19 {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 2200;
  display: flex;
  align-items: center;
  gap: 5px;
  direction: ltr;
  padding: 4px;
  border-radius: 12px;
}
#platformActions19 button,
#platformActions19 #themeToggle14 {
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  box-shadow: none;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-size: 11px;
}
#platformActions19 button:hover {
  background: #a4c18c22;
}
#platformActions19 .icon {
  width: 18px;
  height: 18px;
}
#platformActions19 #opsAlerts17 sup {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 13px;
  line-height: 13px;
  height: 13px;
  font-size: 8px;
  background: #c96351;
  color: #fff;
  border-radius: 10px;
}
body:not(.portal-mode19) .topbar {
  left: 282px;
}
#layersBtn {
  display: none !important;
}
#zoomArea19.active {
  background: #c9ad7040;
  color: #e7c78d;
}
#mapAreaOverlay19 {
  position: fixed;
  inset: 0;
  z-index: 680;
  cursor: crosshair;
  touch-action: none;
  background: transparent;
}
#mapAreaOverlay19[hidden] {
  display: none;
}
.extent19-box {
  position: absolute;
  border: 1px solid #f1cf86;
  background: #cbb57920;
  pointer-events: none;
  box-shadow: 0 0 0 1px #18291b80;
}
.extent19-hint {
  position: absolute;
  top: 170px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 85%;
  padding: 8px 15px;
  background: #14291eed;
  border: 1px solid #cfb67a55;
  color: #ecdfc4;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  text-align: center;
}
#map .leaflet-tile-container {
  backface-visibility: hidden;
}
#map .leaflet-tile {
  image-rendering: auto;
}
#sdiAdmin15:not([hidden]) {
  animation: sdiEnter19 0.16s ease-out;
  background: #10251b;
}
#sdiAdmin15[data-theme="light"] {
  background: #f2f5f0;
}
@keyframes sdiEnter19 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea {
  font-family: "Manrope Variable", "IBM Plex Sans Arabic", sans-serif;
}
html[lang="en"] .sidebar-body,
html[lang="en"] .panel-head,
html[lang="en"] .layer-copy,
html[lang="en"] .detail,
html[lang="en"] .assistant-panel,
html[lang="en"] #analysisBoard,
html[lang="en"] .work-panel {
  text-align: left;
}
html[lang="en"] .layer-row,
html[lang="en"] .layer-family,
html[lang="en"] .legend-body {
  direction: ltr;
}
html[lang="en"] .metric {
  text-align: center;
}
html[lang="en"] .metric-label {
  font-size: 8px;
}
html[lang="en"] .topbar {
  direction: rtl;
}
html[lang="en"] .topbar .heading,
html[lang="en"] .search-box {
  direction: ltr;
}
html[lang="en"] .heading {
  display: none;
}
html[lang="en"] .p19-header {
  flex-direction: row-reverse;
}
html[lang="en"] .p19-copy {
  margin-inline-start: auto;
}
html[lang="en"] .p19-shade {
  background:
    linear-gradient(270deg, rgba(5, 21, 16, 0.85), rgba(9, 24, 20, 0.2) 80%),
    linear-gradient(0deg, #07120fe8, transparent 50%, #071b1680);
}
html[lang="en"] .p19-copy h1 {
  font-size: clamp(35px, 4vw, 66px);
  line-height: 1.25;
}
@media (max-width: 1200px) {
  body:not(.portal-mode19) .heading {
    display: none;
  }
  .p19-copy {
    width: 61%;
  }
  .p19-header nav a {
    display: none;
  }
  .p19-partner {
    display: none;
  }
}
@media (max-width: 800px) {
  .p19-hero {
    padding: 18px 24px 20px;
  }
  .p19-logo {
    width: 210px;
    height: 52px;
  }
  .p19-header {
    gap: 12px;
  }
  .p19-header nav {
    gap: 6px;
  }
  .p19-header nav .p19-button {
    padding: 7px 13px;
    min-height: 36px;
    font-size: 11px !important;
  }
  .p19-copy {
    width: 100%;
    max-width: 600px;
    padding-block: 100px 65px;
  }
  .p19-copy h1 {
    font-size: 44px;
  }
  .p19-region {
    display: none;
  }
  .p19-shade {
    background: linear-gradient(0deg, #07140fee, #0b1c1699 85%);
  }
  .p19-tags {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .p19-story {
    padding: 50px 24px;
  }
  .p19-section-title {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }
  .p19-story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .p19-cta {
    padding: 24px;
    flex-direction: column;
    align-items: start;
  }
  .p19-footer {
    padding: 24px;
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .p19-footline {
    font-size: 8px;
  }
  .p19-caption {
    display: none;
  }
  #platformActions19 {
    left: 10px;
    top: 11px;
    gap: 2px;
  }
  #platformActions19 button,
  #platformActions19 #themeToggle14 {
    width: 30px;
    height: 32px;
  }
  body:not(.portal-mode19) .topbar {
    left: 220px;
    right: 14px;
  }
  .topbar .search-box {
    min-width: 150px;
  }
  .topbar .brand {
    display: none;
  }
  .extent19-hint {
    top: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #portal19 {
    scroll-behavior: auto;
  }
  .p19-button,
  #sdiAdmin15 {
    animation: none !important;
    transition: none !important;
  }
}
.fac19-context {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.7;
}
.fac19-context label {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
}
.fac19-context select {
  width: 100%;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px;
  font: inherit;
}
.fac19-context small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 6px;
}
.fac19-context h4 {
  margin: 0 0 6px;
  color: var(--gold);
}
.fac19-context p {
  margin: 3px 0;
}
