/* Egyptian passport worldwide hub, scoped to .ew-page. */
.ew-page {
  --ew-ink: #17352f;
  --ew-muted: #58706a;
  --ew-paper: #f7fbf8;
  --ew-white: #fff;
  --ew-line: #d7e4df;
  --ew-green: #147a52;
  --ew-green-soft: #dff3e9;
  --ew-amber: #a76408;
  --ew-amber-soft: #fff0cf;
  --ew-sky: #236b8b;
  --ew-sky-soft: #dceff7;
  --ew-violet: #67569b;
  --ew-violet-soft: #ece8f7;
  --ew-coral: #b84339;
  --ew-coral-soft: #fae5e1;
  --ew-restricted: #782f3a;
  --ew-restricted-soft: #f4e3e6;
  --ew-gray: #59646b;
  --ew-gray-soft: #ebeff1;
  background: var(--ew-paper);
  color: var(--ew-ink);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.75;
  min-height: 100vh;
  overflow: clip;
}

.ew-page *,
.ew-page *::before,
.ew-page *::after { box-sizing: border-box; }
.ew-page a { color: inherit; }
.ew-page button,
.ew-page input,
.ew-page select { font: inherit; letter-spacing: 0; }
.ew-page button { cursor: pointer; }
.ew-page [hidden] { display: none !important; }
.ew-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ew-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.ew-hero {
  position: relative;
  min-height: 620px;
  padding: 88px 0 14px;
  background: #eaf6f1;
  border-bottom: 1px solid #cfe0da;
  overflow: hidden;
}
.ew-hero-inner { position: relative; z-index: 1; width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.ew-hero-copy { position: relative; z-index: 3; width: min(820px, 100%); margin-inline: auto; text-align: center; }
.ew-parent-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 5px 11px;
  border: 1px solid #b9d4ca;
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
  color: #245b4e;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}
.ew-parent-link:hover,
.ew-parent-link:focus-visible { border-color: #147a52; color: #0f6644; background: #fff; }
.ew-parent-link:focus-visible { outline: 3px solid rgba(20, 122, 82, .22); outline-offset: 2px; }
.ew-kicker,
.ew-section-label {
  margin: 0 0 8px;
  color: #176a55;
  font-size: .78rem;
  font-weight: 800;
}
.ew-kicker span {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 23px;
  margin-inline-end: 6px;
  border-radius: 4px;
  background: #c72c35;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: .7rem;
}
.ew-hero h1 {
  margin: 0;
  color: #123d34;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}
.ew-lead { max-width: 73ch; margin: 9px auto 0; color: #405e56; font-size: .98rem; }
.ew-hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.ew-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ew-button:hover { transform: translateY(-1px); }
.ew-button-primary { background: #176a55; border-color: #176a55; color: #fff !important; box-shadow: 0 8px 18px rgba(23, 106, 85, .18); }
.ew-button-primary:hover { background: #115946; border-color: #115946; }
.ew-button-secondary { background: rgba(255,255,255,.9); border-color: #b8cec6; color: #173f35 !important; }
.ew-button-secondary:hover { background: #fff; border-color: #6f9b8d; }
.ew-scope { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 24px; margin: 10px 0 0; padding: 0; color: #4e6b63; font-size: .76rem; list-style: none; }
.ew-scope li { position: relative; padding-inline-start: 15px; }
.ew-scope li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: #cf8b24; }

.ew-map-stage { position: relative; width: min(1120px, 100%); height: 270px; margin: 5px auto 0; }
.ew-map-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ew-map-ocean { fill: #dceff0; stroke: #c4dddc; stroke-width: 1; }
.ew-map-graticule path { fill: none; stroke: #bcd6d4; stroke-width: 1; stroke-dasharray: 3 7; }
.ew-map-country { stroke: #f7fbf8; stroke-width: .8; vector-effect: non-scaling-stroke; cursor: pointer; transition: opacity .18s ease, filter .18s ease, stroke-width .18s ease; }
.ew-map-country:hover,
.ew-map-country.is-selected { filter: brightness(1.08); stroke: #17352f; stroke-width: 2; }
.ew-map-country.is-muted,
.ew-map-marker.is-muted { opacity: .12; }
.ew-map-status-visa_free { fill: var(--ew-green); }
.ew-map-status-visa_on_arrival { fill: #d58b1c; }
.ew-map-status-evisa { fill: #2d7898; }
.ew-map-status-eta { fill: #7867a8; }
.ew-map-status-visa_required { fill: #cf6257; }
.ew-map-status-conditional { fill: #667177; }
.ew-map-status-restricted { fill: var(--ew-restricted); }
.ew-map-status-origin { fill: #f2c14f; stroke: #17352f; stroke-width: 2; cursor: default; }
.ew-map-status-unavailable { fill: #d6e0dc; cursor: default; }
.ew-map-marker { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; cursor: pointer; }
.ew-map-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 220px;
  padding: 7px 10px;
  border: 1px solid #b8cec6;
  border-radius: 6px;
  background: #fff;
  color: #17352f;
  box-shadow: 0 9px 24px rgba(23, 53, 47, .15);
  font-size: .76rem;
  font-weight: 800;
  pointer-events: none;
}
.ew-map-legend {
  position: absolute;
  left: 50%;
  bottom: 3px;
  display: flex;
  width: max-content;
  max-width: calc(100% - 24px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 13px;
  padding: 6px 10px;
  border: 1px solid rgba(184, 206, 198, .9);
  border-radius: 7px;
  background: rgba(255, 255, 255, .92);
  color: #49655d;
  font-size: .68rem;
  transform: translateX(-50%);
  box-shadow: 0 5px 16px rgba(23, 53, 47, .08);
}
.ew-map-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ew-swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; flex: 0 0 auto; }
.ew-swatch-visa_free { background: var(--ew-green); }
.ew-swatch-visa_on_arrival { background: #d58b1c; }
.ew-swatch-evisa { background: #2d7898; }
.ew-swatch-eta { background: #7867a8; }
.ew-swatch-visa_required { background: #cf6257; }
.ew-swatch-conditional { background: #667177; }
.ew-swatch-restricted { background: var(--ew-restricted); }

.ew-summary { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--ew-line); box-shadow: 0 8px 25px rgba(23, 53, 47, .055); }
.ew-summary-inner { display: grid; width: min(1180px, calc(100% - 40px)); min-height: 86px; grid-template-columns: repeat(7, 1fr); margin-inline: auto; }
.ew-summary-item { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; border-inline-end: 1px solid #e1e9e6; }
.ew-summary-item:last-child { border-inline-end: 0; }
.ew-summary-item::before { content: ""; width: 7px; height: 28px; border-radius: 2px; background: currentColor; opacity: .8; }
.ew-summary-item strong { color: #17352f; font-family: "DM Sans", "Cairo", sans-serif; font-size: 1.45rem; line-height: 1; }
.ew-summary-item span { color: #5b6f69; font-size: .74rem; font-weight: 700; }
.ew-summary-free { color: var(--ew-green); }
.ew-summary-arrival { color: #d58b1c; }
.ew-summary-evisa { color: #2d7898; }
.ew-summary-eta { color: #7867a8; }
.ew-summary-required { color: #cf6257; }
.ew-summary-conditional { color: #667177; }
.ew-summary-restricted { color: var(--ew-restricted); }

.ew-explorer { padding: 68px 0 78px; background: var(--ew-paper); }
.ew-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.ew-section-head h2,
.ew-method h2,
.ew-verification h2,
.ew-faq h2 { margin: 0; color: #173b33; font-size: 2rem; line-height: 1.3; letter-spacing: 0; }
.ew-section-head > p { max-width: 54ch; margin: 0 0 4px; color: var(--ew-muted); font-size: .9rem; }

.ew-toolbar {
  position: sticky;
  z-index: 10;
  top: 72px;
  margin-inline: calc((100vw - 100%) / -2);
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-block: 1px solid var(--ew-line);
  background: rgba(247, 251, 248, .97);
  box-shadow: 0 8px 20px rgba(23, 53, 47, .06);
  backdrop-filter: blur(10px);
}
.ew-search { position: relative; display: flex; align-items: center; width: 100%; }
.ew-search > .ew-icon { position: absolute; inset-inline-start: 15px; color: #547068; pointer-events: none; }
.ew-search input {
  width: 100%;
  height: 50px;
  padding: 9px 48px;
  border: 1px solid #bdd0c9;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ew-ink);
  box-shadow: inset 0 1px 2px rgba(23, 53, 47, .035);
}
.ew-search input:focus { border-color: #176a55; box-shadow: 0 0 0 3px rgba(23, 106, 85, .13); }
.ew-search input::placeholder { color: #788c86; }
.ew-clear-search { position: absolute; inset-inline-end: 9px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 6px; background: #edf3f0; color: #4e655f; }
.ew-filter-row { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.ew-segments { display: flex; min-width: 0; flex: 1; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.ew-segments button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #cbdad5;
  border-radius: 6px;
  background: #fff;
  color: #48615a;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}
.ew-segments button:hover { border-color: #78a395; background: #eff7f3; }
.ew-segments button.is-active { border-color: #176a55; background: #176a55; color: #fff; }
.ew-segments button.is-active .ew-swatch { outline: 1px solid rgba(255,255,255,.85); }
.ew-select-wrap { position: relative; display: flex; flex: 0 0 160px; align-items: center; }
.ew-select-wrap > .ew-icon { position: absolute; z-index: 1; inset-inline-start: 11px; width: 16px; color: #547068; pointer-events: none; }
.ew-select-wrap select { width: 100%; height: 38px; padding: 5px 34px 5px 28px; border: 1px solid #cbdad5; border-radius: 6px; outline: none; background: #fff; color: #405a53; font-size: .74rem; font-weight: 700; }
.ew-select-wrap select:focus { border-color: #176a55; box-shadow: 0 0 0 3px rgba(23, 106, 85, .12); }
.ew-results-meta { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 16px; }
.ew-results-meta p { margin: 0; color: #61756f; font-size: .8rem; }
.ew-results-meta strong { color: #173b33; font-family: "DM Sans", "Cairo", sans-serif; font-size: 1.1rem; }
.ew-results-meta b { color: #405c54; font-family: "DM Sans", "Cairo", sans-serif; }
.ew-text-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border: 0; background: transparent; color: #176a55; font-size: .76rem; font-weight: 800; }
.ew-country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ew-country-card {
  position: relative;
  min-width: 0;
  border: 1px solid #d4e1dc;
  border-inline-start: 4px solid var(--ew-card-accent, #667177);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23, 53, 47, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ew-country-card:hover { border-color: #b8ccc5; box-shadow: 0 9px 24px rgba(23, 53, 47, .08); transform: translateY(-1px); }
.ew-country-card[data-status="visa_free"] { --ew-card-accent: var(--ew-green); }
.ew-country-card[data-status="visa_on_arrival"] { --ew-card-accent: #d58b1c; }
.ew-country-card[data-status="evisa"] { --ew-card-accent: #2d7898; }
.ew-country-card[data-status="eta"] { --ew-card-accent: #7867a8; }
.ew-country-card[data-status="visa_required"] { --ew-card-accent: #cf6257; }
.ew-country-card[data-status="conditional"] { --ew-card-accent: #667177; }
.ew-country-card[data-status="restricted"] { --ew-card-accent: var(--ew-restricted); }
.ew-country-main { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 48px 8px 14px; }
.ew-flag { display: grid; width: 42px; height: 34px; place-items: center; border: 1px solid #e0e8e5; border-radius: 5px; background: #f8faf9; font-size: 1.45rem; line-height: 1; }
.ew-country-name { min-width: 0; }
.ew-country-name h3 { margin: 0; overflow-wrap: anywhere; color: #183b33; font-size: .98rem; line-height: 1.35; }
.ew-country-name p { margin: 3px 0 0; overflow: hidden; color: #71827d; font-family: "DM Sans", "Segoe UI", sans-serif; font-size: .69rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.ew-country-name p span { display: inline-block; margin-inline-start: 5px; padding-inline-start: 6px; border-inline-start: 1px solid #cbd7d3; color: #8b9995; }
.ew-status { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid currentColor; border-radius: 5px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.ew-status-visa_free { background: var(--ew-green-soft); color: #0d6844; }
.ew-status-visa_on_arrival { background: var(--ew-amber-soft); color: #865304; }
.ew-status-evisa { background: var(--ew-sky-soft); color: #1c5a74; }
.ew-status-eta { background: var(--ew-violet-soft); color: #59488a; }
.ew-status-visa_required { background: var(--ew-coral-soft); color: #9c342d; }
.ew-status-conditional { background: var(--ew-gray-soft); color: #48545a; }
.ew-status-restricted { background: var(--ew-restricted-soft); color: #672532; }
.ew-country-facts { display: flex; flex-wrap: wrap; gap: 7px 18px; padding: 0 48px 7px 14px; color: #5d736d; font-size: .7rem; }
.ew-country-facts > span { display: inline-flex; align-items: center; gap: 5px; }
.ew-country-facts .ew-icon { width: 14px; height: 14px; }
.ew-confidence-verified { color: #176a55; }
.ew-confidence-corroborated { color: #506b63; }
.ew-confidence-caution { color: #a15422; font-weight: 800; }
.ew-country-summary { margin: 0; padding: 0 48px 12px 14px; color: #506760; font-size: .76rem; line-height: 1.7; }
.ew-country-details { border-top: 1px solid #e3ebe8; }
.ew-country-details summary { display: flex; min-height: 39px; align-items: center; justify-content: space-between; padding: 7px 14px; color: #31584d; font-size: .72rem; font-weight: 800; list-style: none; cursor: pointer; }
.ew-country-details summary::-webkit-details-marker { display: none; }
.ew-country-details summary .ew-icon { width: 15px; height: 15px; transition: transform .18s ease; }
.ew-country-details[open] summary .ew-icon { transform: rotate(-90deg); }
.ew-country-detail-copy { padding: 2px 14px 14px; color: #536c65; font-size: .73rem; }
.ew-country-detail-copy p { margin: 7px 0; }
.ew-condition { padding: 9px 10px; border-inline-start: 3px solid #d58b1c; background: #fff8e9; color: #684d20; }
.ew-source-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding-top: 8px; border-top: 1px solid #edf1ef; }
.ew-source-line a,
.ew-route-link { display: inline-flex; align-items: center; gap: 5px; color: #176a55; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ew-source-line .ew-icon,
.ew-route-link .ew-icon { width: 14px; height: 14px; }
.ew-route-link { margin-top: 7px; }
.ew-open-country { position: absolute; inset-inline-start: 9px; top: 14px; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #d4e0dc; border-radius: 6px; background: #f4f8f6; color: #49665e; }
.ew-open-country:hover { border-color: #7ba395; background: #e8f3ee; color: #176a55; }
.ew-empty { padding: 54px 20px; border-block: 1px solid var(--ew-line); text-align: center; }
.ew-empty .ew-icon { width: 34px; height: 34px; color: #789087; }
.ew-empty h3 { margin: 10px 0 4px; font-size: 1.1rem; }
.ew-empty p,
.ew-noscript { margin: 0; color: var(--ew-muted); font-size: .82rem; }
.ew-noscript { padding: 10px 12px; border: 1px solid #e7cf9b; background: #fff7e6; }
.ew-load-more-wrap { display: flex; justify-content: center; padding-top: 24px; }
.ew-load-more-wrap .ew-button { min-width: 190px; }

.ew-method { padding: 76px 0; border-block: 1px solid #d1e1dc; background: #eef7f3; }
.ew-method-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.ew-method-copy { position: sticky; top: 168px; }
.ew-method-copy > p:not(.ew-section-label) { margin: 14px 0 19px; color: var(--ew-muted); font-size: .9rem; }
.ew-inline-link { display: inline-flex; align-items: center; gap: 7px; color: #176a55 !important; font-size: .82rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.ew-definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.ew-definition { min-height: 145px; padding: 18px; border: 1px solid #d1dfda; border-top: 4px solid var(--ew-def-accent, #667177); border-radius: 8px; background: #fff; }
.ew-definition-visa_free { --ew-def-accent: var(--ew-green); }
.ew-definition-visa_on_arrival { --ew-def-accent: #d58b1c; }
.ew-definition-evisa { --ew-def-accent: #2d7898; }
.ew-definition-eta { --ew-def-accent: #7867a8; }
.ew-definition-visa_required { --ew-def-accent: #cf6257; }
.ew-definition-conditional { --ew-def-accent: #667177; }
.ew-definition-restricted { --ew-def-accent: var(--ew-restricted); }
.ew-definition h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: #1d4037; font-size: .9rem; }
.ew-definition p { margin: 8px 0 0; color: #5b706a; font-size: .76rem; }

.ew-verification { padding: 78px 0; background: #fff; }
.ew-verification-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: 28px 64px; align-items: start; }
.ew-verification-inner > div:first-child > p:not(.ew-section-label) { max-width: 66ch; margin: 13px 0 0; color: var(--ew-muted); font-size: .88rem; }
.ew-checklist { grid-row: span 2; margin: 0; padding: 0; list-style: none; }
.ew-checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e1e9e6; }
.ew-checklist li:first-child { padding-top: 0; }
.ew-checklist li > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 6px; background: #f2c963; color: #17352f; font-family: "DM Sans", sans-serif; font-weight: 800; }
.ew-checklist p { margin: 0; color: #5c716b; font-size: .78rem; }
.ew-checklist strong { color: #25483f; }
.ew-verify-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.ew-faq { padding: 74px 0; border-top: 1px solid var(--ew-line); background: var(--ew-paper); }
.ew-faq-inner { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 54px; }
.ew-faq-list { border-top: 1px solid #cad9d4; }
.ew-faq-list details { border-bottom: 1px solid #cad9d4; }
.ew-faq-list summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 18px; color: #24483e; font-size: .86rem; font-weight: 800; list-style: none; cursor: pointer; }
.ew-faq-list summary::-webkit-details-marker { display: none; }
.ew-faq-list summary .ew-icon { transition: transform .18s ease; }
.ew-faq-list details[open] summary .ew-icon { transform: rotate(180deg); }
.ew-faq-list p { margin: -4px 0 19px; color: #5a7069; font-size: .8rem; }

.ew-data-note { padding: 22px 0; border-top: 1px solid #cbdad5; background: #173f36; color: #fff; }
.ew-data-note-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ew-data-note strong { font-size: .82rem; }
.ew-data-note p { margin: 4px 0 0; color: #c8ddd6; font-size: .71rem; }
.ew-data-rights { display: flex; max-width: 520px; align-items: flex-start; gap: 10px; }
.ew-data-rights > .ew-icon { width: 19px; height: 19px; margin-top: 3px; flex: 0 0 auto; color: #8fc2b3; }
.ew-data-rights p { margin: 0; }
.ew-data-rights strong { display: block; margin-bottom: 3px; color: #fff; }
.ew-data-rights span { display: inline; }
.ew-data-rights a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ew-data-rights a:hover { color: #b9e4d7; }

.ew-dialog { inset: 0; width: min(650px, calc(100% - 30px)); max-height: min(760px, calc(100dvh - 30px)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #bdcec8; border-radius: 8px; background: #fff; color: var(--ew-ink); box-shadow: 0 28px 80px rgba(15, 41, 34, .28); }
.ew-dialog::backdrop { background: rgba(18, 43, 36, .58); backdrop-filter: blur(4px); }
.ew-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid #dce6e2; }
.ew-dialog-title-wrap { display: flex; min-width: 0; align-items: center; gap: 12px; }
.ew-dialog-flag { font-size: 2rem; }
.ew-dialog h2 { margin: 0; color: #183c33; font-size: 1.25rem; }
.ew-dialog-title-wrap p { margin: 2px 0 0; color: #6b7e78; font: .76rem/1.3 "DM Sans", sans-serif; }
.ew-dialog-close { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d4e0dc; border-radius: 6px; background: #f3f7f5; color: #4c655e; }
.ew-dialog-content { max-height: 540px; padding: 19px 20px; overflow-y: auto; color: #4e6860; font-size: .82rem; }
.ew-dialog-content .ew-status { margin-bottom: 10px; }
.ew-dialog-content .ew-country-facts { padding: 0 0 10px; }
.ew-dialog-content .ew-country-summary { padding: 0 0 9px; font-size: .82rem; }
.ew-dialog-content .ew-country-detail-copy { padding: 0; font-size: .8rem; }
.ew-dialog-actions { display: flex; padding: 13px 20px; border-top: 1px solid #dce6e2; background: #f6f9f7; }

@media (max-width: 1040px) {
  .ew-hero h1 { font-size: 2.3rem; }
  .ew-summary-inner { grid-template-columns: repeat(3, 1fr); }
  .ew-summary-item { min-height: 64px; border-bottom: 1px solid #e1e9e6; }
  .ew-summary-item:nth-child(3) { border-inline-end: 0; }
  .ew-summary-item:nth-child(n+4) { border-bottom: 0; }
  .ew-filter-row { flex-wrap: wrap; }
  .ew-segments { flex-basis: 100%; order: 2; }
  .ew-select-wrap { flex: 1 1 180px; }
  .ew-country-main { grid-template-columns: 42px minmax(0, 1fr); }
  .ew-status { grid-column: 2; width: max-content; }
}

@media (max-width: 780px) {
  .ew-container { width: min(100% - 28px, 680px); }
  .ew-hero { min-height: 0; padding: 92px 0 18px; }
  .ew-hero-inner { width: calc(100% - 18px); }
  .ew-hero h1 { font-size: 2rem; line-height: 1.32; }
  .ew-lead { max-width: 58ch; font-size: .9rem; }
  .ew-scope { display: grid; justify-content: start; width: min(510px, 100%); margin: 14px auto 0; text-align: start; }
  .ew-map-stage { height: 280px; margin-top: 5px; }
  .ew-map-legend { gap: 4px 8px; font-size: .6rem; }
  .ew-explorer { padding: 50px 0 60px; }
  .ew-section-head { display: block; }
  .ew-section-head h2,
  .ew-method h2,
  .ew-verification h2,
  .ew-faq h2 { font-size: 1.6rem; }
  .ew-section-head > p { margin-top: 9px; }
  .ew-toolbar { position: static; margin-inline: -14px; padding: 12px 14px; backdrop-filter: none; }
  .ew-country-grid { grid-template-columns: 1fr; }
  .ew-method-grid,
  .ew-verification-inner,
  .ew-faq-inner { grid-template-columns: 1fr; gap: 30px; }
  .ew-method-copy { position: static; }
  .ew-definition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ew-verification-inner { gap: 28px; }
  .ew-checklist { grid-row: auto; }
  .ew-data-note-inner { align-items: flex-start; }
}

@media (max-width: 520px) {
  .ew-container { width: calc(100% - 22px); }
  .ew-hero { padding-top: 82px; }
  .ew-hero h1 { font-size: 1.72rem; }
  .ew-kicker { font-size: .7rem; }
  .ew-lead { font-size: .82rem; line-height: 1.72; }
  .ew-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .ew-button { min-height: 42px; padding: 8px 10px; font-size: .72rem; }
  .ew-map-stage { height: 220px; }
  .ew-map-legend { bottom: -3px; max-width: calc(100% - 8px); padding: 4px 6px; }
  .ew-map-legend span { font-size: .55rem; }
  .ew-summary-inner { width: calc(100% - 12px); grid-template-columns: repeat(2, 1fr); }
  .ew-summary-item:nth-child(odd) { border-inline-end: 1px solid #e1e9e6; }
  .ew-summary-item:nth-child(even) { border-inline-end: 0; }
  .ew-summary-item:nth-child(n+4) { border-bottom: 1px solid #e1e9e6; }
  .ew-summary-item:nth-child(n+5) { border-bottom: 0; }
  .ew-summary-item strong { font-size: 1.25rem; }
  .ew-summary-item span { font-size: .65rem; }
  .ew-filter-row { display: grid; grid-template-columns: 1fr 1fr; }
  .ew-segments { grid-column: 1 / -1; width: 100%; }
  .ew-select-wrap { min-width: 0; }
  .ew-select-wrap select { padding-inline: 32px 18px; font-size: .68rem; }
  .ew-country-main { padding: 12px 43px 7px 10px; gap: 8px; }
  .ew-country-facts,
  .ew-country-summary { padding-inline: 43px 10px; }
  .ew-country-summary { font-size: .72rem; }
  .ew-open-country { inset-inline-start: 7px; top: 11px; width: 30px; height: 30px; }
  .ew-definition-grid { grid-template-columns: 1fr; }
  .ew-definition { min-height: 0; }
  .ew-verify-actions { display: grid; }
  .ew-data-note-inner { display: block; }
  .ew-data-rights { margin-top: 14px; }
  .ew-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .ew-dialog-head,
  .ew-dialog-content,
  .ew-dialog-actions { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ew-page *,
  .ew-page *::before,
  .ew-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .ew-hero-actions,
  .ew-toolbar,
  .ew-open-country,
  .ew-dialog,
  .ew-verify-actions { display: none !important; }
  .ew-hero { min-height: 0; padding-top: 20px; }
  .ew-country-grid { grid-template-columns: repeat(2, 1fr); }
  .ew-country-card { break-inside: avoid; box-shadow: none; }
  .ew-country-details { display: block; }
}

/* Algerian passport hub: shared explorer, expanded analysis layer. */
.aw-page {
  --ew-ink: #183a34;
  --ew-muted: #536f68;
  --ew-paper: #f6faf8;
  --ew-line: #d1e1dc;
  --ew-green: #0d7a5d;
  --ew-green-soft: #dff3ea;
}
.aw-page .ew-hero { background: #edf7f4; border-bottom-color: #c9dfd7; }
.aw-page .ew-kicker span { background: #16704f; box-shadow: inset -5px 0 #d42f42; }
.aw-page .ew-button-primary { background: #126f57; border-color: #126f57; box-shadow: 0 8px 18px rgba(18, 111, 87, .18); }
.aw-page .ew-button-primary:hover { background: #0b5d48; border-color: #0b5d48; }
.aw-page .ew-map-ocean { fill: #deedf0; }

/* Moroccan passport hub: flag-led accents on the shared, neutral explorer. */
.mw-page {
  --ew-ink: #263a3c;
  --ew-muted: #5c6d70;
  --ew-paper: #f7f9f8;
  --ew-line: #d7e0de;
  --ew-green: #11745a;
  --ew-green-soft: #e0f1eb;
}
.mw-page .ew-hero { background: #f2f6f5; border-bottom-color: #d3dfdc; }
.mw-page .ew-kicker span { background: #ae2535; box-shadow: inset -5px 0 #13745b; }
.mw-page .ew-button-primary { background: #a92032; border-color: #a92032; box-shadow: 0 8px 18px rgba(169, 32, 50, .17); }
.mw-page .ew-button-primary:hover { background: #8e1828; border-color: #8e1828; }
.mw-page .ew-map-ocean { fill: #e0edf0; }
.mw-page .aw-score-track i { background: #a92032; }
.mw-page .aw-planning { border-bottom-color: #d9dfdd; background: #f2f5f4; }
.mw-page .aw-planning-grid { border-block-color: #d1dad7; }
.mw-page .aw-planning-grid article { border-inline-end-color: #d1dad7; }
.mw-page .aw-planning-grid article > span { color: #a92032; }

.aw-intelligence { padding: 72px 0 78px; border-bottom: 1px solid var(--ew-line); background: #fff; }
.aw-analysis-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 48px; align-items: stretch; }
.aw-access-score { padding-inline-end: 44px; border-inline-end: 1px solid #d9e5e1; }
.aw-score-label { margin: 0; color: #54716a; font-size: .76rem; font-weight: 800; }
.aw-score-number { display: flex; align-items: end; gap: 10px; margin-top: 7px; }
.aw-score-number strong { color: #123f34; font-family: "DM Sans", "Cairo", sans-serif; font-size: 4rem; line-height: 1; }
.aw-score-number span { margin-bottom: 6px; color: #71847f; font-size: .82rem; font-weight: 700; }
.aw-score-track { height: 9px; margin-top: 19px; overflow: hidden; border-radius: 3px; background: #e5ece9; }
.aw-score-track i { display: block; height: 100%; border-radius: inherit; background: #168268; }
.aw-access-score > p:last-child { margin: 13px 0 0; color: #5c736d; font-size: .78rem; }
.aw-region-table { display: grid; align-content: center; }
.aw-region-row { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(120px, 1fr) 44px; align-items: center; gap: 18px; min-height: 57px; border-bottom: 1px solid #e2e9e6; }
.aw-region-row:last-child { border-bottom: 0; }
.aw-region-row > div:first-child { display: grid; }
.aw-region-row strong { color: #264b42; font-size: .82rem; }
.aw-region-row span { color: #71847f; font-size: .66rem; }
.aw-region-row b { color: #365e54; font-family: "DM Sans", sans-serif; font-size: .76rem; text-align: end; }
.aw-region-bar { height: 6px; overflow: hidden; border-radius: 2px; background: #e5ece9; }
.aw-region-bar i { display: block; height: 100%; border-radius: inherit; background: #2a7893; }
.aw-spotlight { margin-top: 42px; padding-top: 26px; border-top: 1px solid #d9e5e1; }
.aw-spotlight-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.aw-spotlight-head h3 { margin: 0; color: #20443b; font-size: 1rem; }
.aw-spotlight-head p { margin: 0; color: #72847f; font-size: .7rem; }
.aw-spotlight-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.aw-spotlight-list > a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-width: 0; min-height: 62px; padding: 9px 10px; border: 1px solid #d8e3df; border-radius: 7px; background: #f9fbfa; text-decoration: none; }
.aw-spotlight-list > a:hover { border-color: #91b5a9; background: #f1f8f5; }
.aw-spotlight-flag { font-size: 1.4rem; }
.aw-spotlight-list > a > span:nth-child(2) { display: grid; min-width: 0; }
.aw-spotlight-list strong { overflow: hidden; color: #25483f; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.aw-spotlight-list small { color: #71837e; font-size: .62rem; }
.aw-spotlight-list em { font-style: normal; }

.aw-planning { padding: 72px 0 74px; border-bottom: 1px solid #d2e0db; background: #eef5f2; }
.aw-planning header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.aw-planning h2 { margin: 0; color: #1c4037; font-size: 2rem; line-height: 1.3; }
.aw-planning-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid #cddbd6; }
.aw-planning-grid article { min-width: 0; padding: 22px; border-inline-end: 1px solid #cddbd6; }
.aw-planning-grid article:last-child { border-inline-end: 0; }
.aw-planning-grid article > span { color: #a13f45; font-family: "DM Sans", sans-serif; font-size: .68rem; font-weight: 800; }
.aw-planning-grid h3 { margin: 12px 0 7px; color: #264a41; font-size: .9rem; line-height: 1.45; }
.aw-planning-grid p { margin: 0; color: #5b726b; font-size: .74rem; }

@media (max-width: 900px) {
  .aw-analysis-grid { grid-template-columns: 1fr; gap: 30px; }
  .aw-access-score { padding: 0 0 28px; border-inline-end: 0; border-bottom: 1px solid #d9e5e1; }
  .aw-spotlight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-planning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-planning-grid article:nth-child(2) { border-inline-end: 0; }
  .aw-planning-grid article:nth-child(-n+2) { border-bottom: 1px solid #cddbd6; }
}

@media (max-width: 520px) {
  .aw-intelligence { padding: 50px 0 54px; }
  .aw-score-number strong { font-size: 3.2rem; }
  .aw-region-row { grid-template-columns: minmax(120px, .8fr) minmax(74px, 1fr) 36px; gap: 9px; }
  .aw-region-row span { font-size: .58rem; }
  .aw-spotlight-head { display: block; }
  .aw-spotlight-head p { margin-top: 5px; }
  .aw-spotlight-list { grid-template-columns: 1fr; }
  .aw-planning { padding: 50px 0 54px; }
  .aw-planning h2 { font-size: 1.55rem; }
  .aw-planning-grid { grid-template-columns: 1fr; }
  .aw-planning-grid article,
  .aw-planning-grid article:nth-child(2) { border-inline-end: 0; border-bottom: 1px solid #cddbd6; }
  .aw-planning-grid article:last-child { border-bottom: 0; }
}
