/* Edition identities: the shared semantic shell takes a different editorial shape
   in every theme. Content grids, advertising placements and SEO remain shared.
   Palette/type inherit each desk's tokens; widths and navigation are intentional. */
body { --shell-width: 1344px; --shell-gutter: clamp(18px, 3vw, 48px); }
body[class] .site-shell { max-width: var(--shell-width); padding-inline: var(--shell-gutter); }
.masthead { position: relative; isolation: isolate; z-index: 5; }
.masthead .brand-row { min-width: 0; }
.masthead .wordmark { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.header-links { display: flex; gap: 16px; flex-shrink: 0; font-size: 11px; }
.main-nav { overflow: visible; flex-wrap: wrap; gap: 4px 24px; }
.main-nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a { white-space: nowrap; }
.main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-sections { margin-inline-start: auto; }
.nav-sections summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; min-height: 44px; }
.nav-sections summary::-webkit-details-marker { display: none; }
.nav-sections[open] summary svg { transform: rotate(180deg); }
.nav-directory { position: absolute; inset-inline: 0; top: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; background: var(--paper); color: var(--ink); padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: 0 18px 28px #00000012; }
.main-nav .nav-directory a { padding: 10px 8px; min-width: 0; white-space: normal; }
.nav-directory a:hover { background: var(--wash); }
summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
body .site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px 60px; margin-top: 64px; padding-block: 40px 28px; }
.footer-identity { min-width: 0; }
.footer-brand { display: inline-block; overflow-wrap: anywhere; font-size: 34px; line-height: 1.2; }
.site-footer .footer-identity p { margin-top: 16px; max-width: 36ch; line-height: 1.8; font-size: 12px; }
.footer-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.footer-topics a { overflow-wrap: anywhere; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; gap: 10px; }
.back-top { margin-inline-start: auto; }
/* Journal: a restrained, centred newspaper, narrow enough to read at a desk. */
.theme-journal { --shell-width: 1240px; }
.theme-journal .brand-row { padding: 38px 0 30px; }
.theme-journal .wordmark { font-size: clamp(48px, 6vw, 82px); }
.theme-journal .header-links { display: none; }
.theme-journal .main-nav { justify-content: center; border-top: 4px double var(--ink); border-bottom: 1px solid var(--ink); padding: 3px 0; }
.theme-journal .nav-sections { margin-inline-start: 0; }
.theme-journal .site-footer { border-top: 4px double var(--ink); grid-template-columns: 1fr; text-align: center; }
.theme-journal .footer-identity p { margin-inline: auto; }
.theme-journal .footer-topics { display: flex; justify-content: center; flex-wrap: wrap; }
.theme-journal .footer-links { justify-content: center; }
.theme-journal .back-top { margin-inline-start: 0; }
/* Pulse: stadium signage, full-width, condensed and deliberately high energy. */
.theme-pulse { --shell-width: none; }
.theme-pulse .masthead { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 2fr); align-items: center; background: var(--ink); color: #fff; margin-inline: calc(-1 * var(--shell-gutter)); padding-inline: var(--shell-gutter); border-bottom: 6px solid var(--accent); }
.theme-pulse .brand-row { padding: 22px 24px 22px 0; }
.theme-pulse .wordmark { color: #fff; font-size: clamp(44px, 5vw, 78px); font-style: italic; }
.theme-pulse .header-links { display: none; }
.theme-pulse .main-nav { border: 0; background: none; padding: 12px 0; gap: 4px 20px; }
.theme-pulse .main-nav > a[aria-current] { color: #fff; text-decoration-color: #ff8878; }
.theme-pulse .site-footer { background: var(--ink); color: #fff; border-top: 8px solid var(--accent); padding: 36px var(--shell-gutter); margin-inline: calc(-1 * var(--shell-gutter)); }
.theme-pulse .footer-brand { font: italic 800 56px/1 'Barlow Condensed', var(--sans); }
.theme-pulse .footer-identity p { color: #c6cace; }
.theme-pulse .footer-links { border-color: #505459; }
/* Atlas: a compact navy nameplate beside an open geographic desk. */
.theme-atlas { --shell-width: 1480px; }
.theme-atlas .masthead { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 2fr); gap: 0 36px; border-bottom: 1px solid var(--line); padding-block: 24px; }
.theme-atlas .brand-row { margin: 0; padding: 26px; align-items: start; flex-direction: column; gap: 18px; }
.theme-atlas .wordmark { font-size: 46px; }
.theme-atlas .header-links { color: #d5e5ed; }
.theme-atlas .main-nav { align-content: center; border: 0; padding: 0; gap: 4px 28px; }
.theme-atlas .nav-sections { margin-inline-start: 0; }
.theme-atlas .site-footer { border-top: 0; border-inline-start: 10px solid var(--accent); background: var(--wash); padding: 34px; }
.theme-atlas .footer-brand { font-family: var(--sans); }
/* Dispatch: navigation becomes a true editorial rail at wide viewports. */
.theme-dispatch { --shell-width: 1640px; }
.theme-dispatch .brand-row { padding: 28px 0; flex-direction: column; align-items: start; }
.theme-dispatch .wordmark { font-size: 44px; }
.theme-dispatch .header-links { gap: 14px; }
.theme-dispatch .main-nav { border-top: 3px solid var(--accent); border-bottom: 0; }
.theme-dispatch .site-footer { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-inline-start: 3px solid var(--accent); padding-inline-start: 28px; }
.theme-dispatch .footer-identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; }
.theme-dispatch .footer-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1101px) {
  .theme-dispatch .site-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 0 44px; margin-inline-start: 0; }
  .theme-dispatch .masthead { grid-column: 1; grid-row: 1 / 6; border-inline-end: 1px solid var(--line); padding-inline-end: 24px; }
  .theme-dispatch .masthead .main-nav { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .theme-dispatch .main-nav a { border-bottom: 1px solid var(--line); white-space: normal; }
  .theme-dispatch .site-shell > :not(.masthead) { grid-column: 2; min-width: 0; }
  .theme-dispatch main { padding-top: 36px; }
}
/* Frame: the name is the cover, navigation sits quietly underneath. */
.theme-frame { --shell-width: none; --shell-gutter: clamp(18px, 4vw, 72px); }
.theme-frame .brand-row { display: block; padding: 42px 0 30px; }
.theme-frame .wordmark { font: 500 clamp(68px, 8vw, 136px)/.95 var(--serif); letter-spacing: -.055em; }
.theme-frame .header-links { display: none; }
.theme-frame .main-nav { border-top: 0; border-bottom: 1px solid var(--line); gap: 4px 34px; padding: 0 0 12px; font-weight: 500; }
.theme-frame .site-footer { grid-template-columns: 1.4fr 1fr; border-top: 0; background: #dfebe5; margin-inline: calc(-1 * var(--shell-gutter)); padding: 56px var(--shell-gutter) 24px; }
.theme-frame .footer-brand { font: 500 clamp(40px, 5vw, 80px)/1 var(--serif); letter-spacing: -.04em; }
/* Signal: outsized blue type, offset navigation and four quiet market tiles. */
.theme-signal { --shell-width: 1500px; }
.theme-signal .site-shell { margin-left: 0; }
.theme-signal .masthead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; padding: 36px 0 26px; border-bottom: 1px solid var(--line); }
.theme-signal .brand-row { padding: 0; align-items: start; flex-direction: column; gap: 22px; }
.theme-signal .wordmark { font-size: clamp(50px, 7vw, 100px); letter-spacing: -.075em; }
.theme-signal .header-links { color: var(--muted); }
.theme-signal .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 0; border: 0; align-self: center; }
.theme-signal .main-nav > a { border-bottom: 1px solid var(--line); white-space: normal; }
.theme-signal .nav-sections { margin: 0; }
.theme-signal .site-footer { border-top: 6px solid var(--accent); grid-template-columns: 1.2fr 1fr; }
.theme-signal .footer-brand { font: 800 clamp(34px, 4.5vw, 68px)/1.1 var(--sans); letter-spacing: -.06em; color: var(--accent); }
.theme-signal .footer-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Meridian: an intimate magazine; asymmetrical title and a vertical contents rule. */
.theme-meridian { --shell-width: 1180px; }
.theme-meridian .masthead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding-block: 40px 30px; border-bottom: 1px solid var(--ink); }
.theme-meridian .brand-row { border: 0; align-items: start; flex-direction: column; padding: 0; gap: 24px; }
.theme-meridian .wordmark { font-size: clamp(50px, 6vw, 78px); letter-spacing: -.05em; font-style: italic; }
.theme-meridian .header-links { font-family: var(--sans); color: var(--muted); }
.theme-meridian .main-nav { justify-content: start; align-content: center; border: 0; border-inline-start: 1px solid var(--line); padding: 0; padding-inline-start: 30px; gap: 0 24px; font-weight: 500; }
.theme-meridian .nav-sections { margin: 0; }
.theme-meridian .site-footer { border-top: 1px solid var(--ink); grid-template-columns: 1fr 1fr; }
.theme-meridian .footer-brand { font: italic 500 48px/1 var(--serif); }
.theme-meridian .footer-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-meridian .footer-links { font-size: 10px; }
/* Exchange: a full-width market terminal; compact header, seven-column price board. */
.theme-exchange { --shell-width: none; --shell-gutter: clamp(16px, 2.5vw, 48px); }
.theme-exchange .masthead { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr); align-items: center; gap: 30px; padding: 14px var(--shell-gutter); margin-inline: calc(-1 * var(--shell-gutter)); background: #193442; color: #fff; }
.theme-exchange .brand-row { padding: 0; }
.theme-exchange .wordmark { font-size: clamp(25px, 2.6vw, 38px); letter-spacing: -.045em; line-height: 1.1; max-width: 11ch; }
.theme-exchange .header-links { display: none; }
.theme-exchange .main-nav { border: 0; padding: 0; gap: 0 22px; font-size: 11px; }
.theme-exchange .main-nav > a[aria-current] { color: #a3e1ec; }
.theme-exchange .site-footer { background: var(--wash); border-top: 1px solid var(--line); margin-inline: calc(-1 * var(--shell-gutter)); padding-inline: var(--shell-gutter); grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; }
.theme-exchange .footer-brand { font: 800 28px/1.15 var(--sans); max-width: 12ch; letter-spacing: -.04em; }
.theme-exchange .footer-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Metro: a red vertical nameplate anchors a broad, left-aligned city desk. */
.theme-metro { --shell-width: 1680px; }
.theme-metro .site-shell { margin-left: 0; }
.theme-metro .masthead { display: grid; grid-template-columns: minmax(200px, .6fr) minmax(0, 2fr); gap: 30px; border-bottom: 1px solid var(--line); }
.theme-metro .brand-row { background: var(--accent); padding: 26px 22px; }
.theme-metro .wordmark { color: #fff; font-size: clamp(34px, 4vw, 58px); letter-spacing: -.06em; }
.theme-metro .header-links { display: none; }
.theme-metro .main-nav { border: 0; padding-block: 20px; align-content: center; }
.theme-metro .site-footer { border: 0; padding-inline-start: 28px; border-inline-start: 12px solid var(--accent); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.theme-metro .footer-brand { color: var(--accent); font: 800 44px/1.1 var(--sans); letter-spacing: -.06em; }
/* Horizon: a green, open regional title with a separate soft navigation shelf. */
.theme-horizon { --shell-width: 1280px; }
.theme-horizon .brand-row { background: transparent; color: var(--ink); margin: 0; padding: 32px 0 24px; border-bottom: 0; }
.theme-horizon .wordmark { font-size: 60px; font-weight: 500; letter-spacing: -.04em; }
.theme-horizon .header-links { color: var(--accent); }
.theme-horizon .main-nav { background: var(--wash); border: 0; padding: 3px 22px; border-radius: 0 24px 0 24px; gap: 2px 26px; }
.theme-horizon .site-footer { background: #193d40; color: #fff; border: 0; border-radius: 0 50px 0 0; padding: 36px; }
.theme-horizon .footer-identity p { color: #c4deda; }
.theme-horizon .footer-links { border-color: #527174; }
/* Mizan: the sapphire title block balances a white editorial navigation panel. */
.theme-mizan { --shell-width: 1540px; }
.theme-mizan .masthead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); background: transparent; color: var(--ink); padding: 24px 0 0; gap: 0 32px; border-bottom: 3px solid #b08b40; }
.theme-mizan .brand-row { background: #183348; color: #fff; padding: 22px 28px; align-items: start; flex-direction: column; gap: 10px; }
.theme-mizan .wordmark { font-size: clamp(35px, 4.3vw, 62px); line-height: 1.5; }
.theme-mizan .header-links { color: #c6d9e3; font-size: 10px; }
.theme-mizan .main-nav { border: 0; padding: 14px 0; align-content: center; gap: 0 26px; font-size: 13px; }
.theme-mizan .main-nav a[aria-current] { color: var(--accent); box-shadow: none; padding-bottom: 0; }
.theme-mizan .nav-sections { margin-inline-start: 0; }
.theme-mizan .service-strip { padding-block: 18px; margin-bottom: 22px; }
.theme-mizan .site-footer { background: #183348; color: #fff; border-top: 3px solid #b08b40; padding: 36px; }
.theme-mizan .footer-brand { font-size: 38px; }
.theme-mizan .footer-identity p { color: #c6d9e3; }
.theme-mizan .footer-links { border-color: #476171; }
/* Barq: a red flash of type above a dark, compact navigation ribbon. */
.theme-barq { --shell-width: 1460px; }
.theme-barq .masthead { display: block; border: 0; }
.theme-barq .brand-row { padding: 26px 0 18px; justify-content: space-between; }
.theme-barq .wordmark { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.5; }
.theme-barq .header-links { color: var(--muted); }
.theme-barq .main-nav { background: #192b39; color: #fff; padding: 2px 22px; gap: 0 28px; border-inline-start: 6px solid var(--accent); }
.theme-barq .main-nav > a[aria-current] { color: #fff; text-decoration-color: #ff8991; }
.theme-barq .site-footer { border-top: 6px solid var(--accent); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.theme-barq .footer-brand { color: var(--accent); font-weight: 800; }
.theme-barq .footer-links { background: var(--wash); padding: 14px 20px; border: 0; }
/* Diwan: a literary, narrow canvas and an expressive Naskh masthead. */
.theme-diwan { --shell-width: 1160px; }
.theme-diwan .brand-row { justify-content: space-between; align-items: center; padding: 40px 0 22px; }
.theme-diwan .wordmark { font: 600 clamp(44px, 6vw, 78px)/1.3 var(--display); max-width: 80%; }
.theme-diwan .header-links { flex-direction: column; border-inline-start: 1px solid var(--line); padding-inline-start: 20px; gap: 10px; }
.theme-diwan .main-nav { border: 0; border-block: 1px solid var(--line); padding: 0; justify-content: start; font-weight: 500; gap: 0 24px; }
.theme-diwan .main-nav > a[aria-current] { background: var(--wash); padding-inline: 14px; text-decoration: none; }
.theme-diwan .site-footer { border-top: 1px solid var(--accent); grid-template-columns: 1fr; text-align: center; gap: 28px; }
.theme-diwan .footer-brand { font: 600 58px/1.3 var(--display); }
.theme-diwan .footer-identity p { margin-inline: auto; }
.theme-diwan .footer-topics { display: flex; flex-wrap: wrap; justify-content: center; max-width: 650px; margin-inline: auto; }
.theme-diwan .footer-links { justify-content: center; border-block: 1px solid var(--line); padding-block: 14px; }
.theme-diwan .back-top { margin-inline-start: 0; }
/* Wasl: a connected regional portal; a single white band and blue tab navigation. */
.theme-wasl { --shell-width: 1420px; }
.theme-wasl .masthead { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 2fr); align-items: center; gap: 28px; background: #fff; padding: 18px 24px; margin-top: 24px; border-top: 4px solid #278175; border-bottom: 1px solid var(--line); }
.theme-wasl .brand-row { padding: 0; }
.theme-wasl .wordmark { font-size: 46px; line-height: 1.5; }
.theme-wasl .wordmark::after { width: 8px; height: 8px; margin-inline-start: 8px; }
.theme-wasl .header-links { display: none; }
.theme-wasl .main-nav { border: 0; border-radius: 0; padding: 0; gap: 4px 20px; }
.theme-wasl .main-nav > a[aria-current] { padding: 6px 12px; border-radius: 0; text-decoration: none; }
.theme-wasl .site-footer { background: #e2ece9; border: 0; border-bottom: 5px solid #278175; padding: 32px; }
.theme-wasl .footer-brand { font-size: 38px; }
.theme-wasl .footer-links { border-color: #b7d2c8; }
/* Bureau: a compact business desk with a green index edge, full available width. */
.theme-bureau { --shell-width: none; --shell-gutter: clamp(16px, 2.5vw, 48px); }
.theme-bureau .masthead { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(0, 2fr); align-items: center; gap: 32px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.theme-bureau .brand-row { border: 0; padding: 0; }
.theme-bureau .wordmark { font-size: 36px; letter-spacing: 0; }
.theme-bureau .header-links { display: none; }
.theme-bureau .main-nav { border: 0; border-inline-start: 1px solid var(--line); padding: 0; padding-inline-start: 28px; gap: 0 26px; }
.theme-bureau .site-footer { border-top: 3px solid #008b75; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); background: #f1f6f5; padding: 30px; }
.theme-bureau .footer-brand { font-size: 30px; }
.theme-bureau .footer-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Shared quote cache, distinct market presentations. The number of actual quotes
   drives the grid, including during the transition from the old five-coin cache. */
.crypto-coins { grid-template-columns: repeat(var(--coin-count, 5), minmax(0, 1fr)); }
.crypto-coins li { padding: 8px 0; }
.theme-signal .crypto-strip { padding: 22px 0 16px; }
.theme-signal .crypto-coins { gap: 12px; }
.theme-signal .crypto-coins li { background: var(--wash); border: 0; padding: 16px 20px; grid-template-columns: 1fr auto; }
.theme-signal .crypto-price { grid-column: 1; font-size: 23px; letter-spacing: -.04em; }
.theme-signal .crypto-change { grid-column: 2; grid-row: 2; }
.theme-signal .crypto-coins b { font-size: 10px; }
.theme-exchange .crypto-strip { background: var(--wash); margin-inline: calc(-1 * var(--shell-gutter)); padding: 12px var(--shell-gutter) 8px; }
.theme-exchange .crypto-caption { margin-bottom: 2px; font-size: 11px; }
.theme-exchange .crypto-coins { gap: 12px; }
.theme-exchange .crypto-coins li { grid-template-columns: 1fr; gap: 3px; }
.theme-exchange .crypto-change { grid-column: 1; }
.theme-exchange .crypto-price { font-size: 18px; }
.theme-barq .crypto-strip { padding-block: 16px 10px; }
.theme-barq .crypto-coins li { border: 0; border-top: 2px solid var(--line); padding: 10px 0; }
.theme-barq .crypto-price { font-size: 17px; }
.theme-diwan .crypto-strip { padding-block: 22px 12px; }
.theme-diwan .crypto-caption { justify-content: center; font-weight: 400; }
.theme-diwan .crypto-coins li { grid-template-columns: 1fr; text-align: center; padding: 8px 12px; gap: 3px; }
.theme-diwan .crypto-price { font: 600 23px/1.4 var(--sans); justify-self: center; }
.theme-diwan .crypto-change { grid-column: 1; justify-self: center; }
/* Wide canvases do not widen the measure of article text. */
.article-body { max-width: 72ch; }
[lang='ar'] .masthead .wordmark,
[lang='ar'] .footer-brand { letter-spacing: 0; }
[lang='ar'] .theme-frame .wordmark { font-family: 'Noto Naskh Arabic', var(--serif); line-height: 1.35; }
[lang='ar'] .theme-pulse .wordmark,
[lang='ar'] .theme-pulse .footer-brand { font-family: var(--sans); font-style: normal; }
@media (min-width: 1900px) {
  .theme-frame .frame-front { grid-template-columns: minmax(0, 1fr) 360px; }
  .theme-pulse .lead h2 { font-size: 60px; max-width: 25ch; }
}
@media (max-width: 1100px) {
  .masthead .wordmark { font-size: clamp(32px, 5vw, 60px); }
  .theme-frame .wordmark { font-size: 76px; }
  .theme-signal .wordmark { font-size: 68px; }
  .theme-meridian .masthead { gap: 26px; }
  .theme-exchange .masthead, .theme-wasl .masthead, .theme-bureau .masthead { grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 22px; }
  .theme-exchange .wordmark { font-size: 28px; }
  .main-nav { font-size: 11px; }
  .crypto-coins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crypto-coins li + li { border-inline-start: 0; padding-inline-start: 0; }
  .theme-signal .crypto-coins { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-signal .crypto-coins li { padding: 14px; }
  .theme-signal .crypto-price { font-size: 18px; }
  .theme-signal .crypto-change { grid-column: 1; grid-row: 3; }
  .theme-diwan .crypto-coins { grid-template-columns: repeat(var(--coin-count, 5), minmax(0, 1fr)); }
  .theme-diwan .crypto-price { font-size: 17px; }
  .theme-exchange .crypto-coins { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { --shell-gutter: 18px; }
  body[class] .site-shell { padding-inline: var(--shell-gutter); }
  body[class] .masthead { display: block; }
  .site-shell > .masthead { padding: 0; margin-top: 0; }
  .masthead .brand-row { padding: 24px 0 18px; margin: 0; border: 0; }
  .masthead .wordmark { font-size: clamp(30px, 7.6vw, 48px); line-height: 1.25; }
  .header-links { font-size: 10px; gap: 12px; }
  .masthead .main-nav { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 6px 0; border-inline: 0; justify-content: start; font-size: 11px; }
  .main-nav > a { min-height: 40px; }
  .main-nav .nav-sections { margin-inline-start: 0; }
  .nav-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 0 8px; max-height: 65vh; overflow-y: auto; }
  .nav-directory a { min-height: 44px; }
  .theme-journal .brand-row { text-align: center; }
  .theme-journal .wordmark { font-size: 48px; }
  .theme-journal .main-nav { justify-content: center; }
  .theme-pulse .masthead, .theme-exchange .masthead { padding-inline: var(--shell-gutter); }
  .theme-pulse .brand-row { padding-bottom: 8px; }
  .theme-pulse .wordmark { font-size: 52px; }
  .theme-atlas .brand-row { padding: 20px; flex-direction: row; align-items: center; }
  .theme-atlas .header-links { flex-direction: column; }
  .theme-dispatch .brand-row { flex-direction: row; align-items: center; }
  .theme-dispatch .header-links { flex-direction: column; }
  .theme-dispatch .masthead .main-nav { position: static; }
  .theme-frame .brand-row { padding-top: 30px; }
  .theme-frame .wordmark { font-size: clamp(48px, 11vw, 78px); }
  .theme-signal .brand-row { gap: 14px; }
  .theme-signal .wordmark { font-size: clamp(48px, 13vw, 76px); }
  .theme-signal .main-nav { margin-top: 8px; border-top: 1px solid var(--line); }
  .theme-signal .main-nav > a { border: 0; }
  .theme-meridian .brand-row { gap: 14px; }
  .theme-meridian .wordmark { font-size: 54px; }
  .theme-meridian .main-nav { border-top: 1px solid var(--line); }
  .theme-exchange .wordmark { font-size: 29px; max-width: none; }
  .theme-exchange .brand-row { padding: 20px 0 12px; }
  .theme-exchange .main-nav { border-top: 1px solid #476171; font-size: 10px; gap: 0 16px; }
  .theme-metro .brand-row { padding: 24px 20px; }
  .theme-metro .wordmark { font-size: 46px; }
  .theme-horizon .main-nav { padding-inline: 16px; }
  .theme-horizon .header-links { flex-direction: column; }
  .theme-mizan .brand-row { padding: 20px; gap: 10px; }
  .theme-mizan .wordmark { font-size: 38px; line-height: 1.6; }
  .theme-mizan .main-nav { font-size: 12px; gap: 0 20px; }
  .theme-barq .brand-row { gap: 16px; }
  .theme-barq .header-links { flex-direction: column; }
  .theme-barq .main-nav { padding-inline: 16px; }
  .theme-diwan .wordmark { font-size: 44px; max-width: 100%; }
  .theme-diwan .header-links { display: none; }
  .theme-diwan .main-nav { gap: 0 16px; }
  .theme-wasl .masthead { padding: 0 16px; }
  .theme-wasl .main-nav { border-top: 1px solid var(--line); padding-block: 10px; }
  .theme-bureau .main-nav { border-top: 1px solid var(--line); }
  body[class] .site-footer { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 28px 22px; margin-top: 42px; }
  .site-footer .footer-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .site-footer .footer-links { gap: 8px 22px; }
  .site-footer .footer-brand { font-size: 34px; letter-spacing: -.025em; }
  .site-footer .back-top { margin-inline-start: 0; }
  .theme-frame .footer-brand { font-size: 48px; }
  .theme-pulse .footer-brand { font-size: 46px; }
  .theme-atlas .site-footer, .theme-mizan .site-footer, .theme-wasl .site-footer,
  .theme-bureau .site-footer, .theme-horizon .site-footer { padding-inline: 22px; }
  .theme-metro .site-footer, .theme-dispatch .site-footer { padding-inline-start: 20px; }
  .theme-journal .footer-topics, .theme-diwan .footer-topics { gap: 12px 20px; }
  .crypto-coins, .theme-diwan .crypto-coins, .theme-exchange .crypto-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
  .crypto-coins li:last-child { grid-column: auto; max-width: none; }
  .theme-signal .crypto-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .theme-signal .crypto-price { font-size: 21px; }
  .theme-signal .crypto-coins li { padding: 14px; }
  .theme-diwan .crypto-coins li { text-align: start; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .theme-diwan .crypto-price, .theme-diwan .crypto-change { justify-self: start; }
  .theme-diwan .crypto-caption { justify-content: start; }
  .theme-exchange .crypto-coins li { grid-template-columns: auto 1fr; gap: 3px 8px; }
  .theme-exchange .crypto-price { font-size: 15px; }
  .theme-exchange .crypto-change { grid-column: 2; }
  .preview-bar { padding-inline: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
