/* GSEIN stat cards v1: the one headline-figures component of the public pages (Coverage, Data Integrity).
   Noor, 2026-10-26: same cards everywhere, Integrity card style as the reference. Markup:
   <p class="gs-asof"><span class="gs-dot"></span>…date…</p>
   <section class="gs-stats">
     <div class="gs-stat">
       <div class="gs-stat-h"><span class="gs-stat-ico"><svg viewBox="0 0 24 24">…</svg></span><span class="gs-stat-l">Label</span></div>
       <div class="gs-stat-v [gs-gold]">38,327,642</div>   gs-gold on "GSEINs issued" only
       <div class="gs-stat-s">46.1% of imported</div>       optional
       <div class="gs-stat-d">Description</div>             optional
     </div>
   </section>
   No page adds its own card styles. */
:root{--gs-ink:#14211F;--gs-muted:#5E6B68;--gs-gold:#B07A1E;--gs-gold-dark:#8A5F12;--gs-card:#FFFFFF;
  --gs-after:48px;--gs-lede-top:40px}
@media(max-width:1199px){:root{--gs-after:40px;--gs-lede-top:32px}}
@media(max-width:639px){:root{--gs-after:32px;--gs-lede-top:24px}}

/* Spacing under the hero, the same on every page that shows the cards (main.gs-stat-page):
   hero -> one-line intro 40/32/24px, intro -> cards 12px, cards -> next section 48/40/32px.
   Noor, 2026-10-26: one short line above the cards, no paragraphs. */
html[data-page] body main.gs-stat-page>.gs-stat-under{padding-top:var(--gs-lede-top)}
html[data-page] body main.gs-stat-page .gs-asof{margin:0 0 12px!important;display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--gs-muted)!important;font-size:13px;line-height:1.5}
.gs-dot{width:8px;height:8px;border-radius:50%;flex:none;background:#E2B04A;box-shadow:0 0 0 4px rgba(226,176,74,.15)}

.gs-stats{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:0 0 var(--gs-after)}
@media(min-width:1200px){.gs-stats{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);container-type:inline-size}}
@media(min-width:640px) and (max-width:1199px){.gs-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.gs-stats{grid-template-columns:minmax(0,1fr)}}

.gs-stat{background:var(--gs-card);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:24px;box-shadow:0 1px 2px rgba(0,0,0,.04);
  display:flex;flex-direction:column;align-items:stretch;min-width:0;height:100%;box-sizing:border-box}
.gs-stat-h{display:flex;align-items:center;gap:12px;margin-bottom:16px;min-width:0}
.gs-stat-ico{width:36px;height:36px;border-radius:10px;flex:none;display:grid;place-items:center;color:var(--gs-gold);background:rgba(201,149,47,.10)}
.gs-stat-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
html[data-page] body .gs-stat .gs-stat-l{font-size:14px;font-weight:600;line-height:1.35;color:var(--gs-ink)}

/* The figure: the site's sans (IBM Plex Sans, never the mono), tabular lining digits, the same size on every card
   of every page. It never wraps or overflows: on one desktop row the size is capped so that an 11-character figure
   (100,000,000 is 5.8em) fits a card of a five-card row, whatever the page's card count (100cqi = row width). */
html[data-page][lang] body main .gs-stat .gs-stat-v{font-family:"IBM Plex Sans",system-ui,"Segoe UI",Arial,sans-serif!important;
  font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1;font-weight:600;
  font-size:clamp(28px,2.4vw,40px);line-height:1.1;letter-spacing:-.02em;color:var(--gs-ink);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;
  white-space:nowrap;direction:ltr;unicode-bidi:isolate;text-align:left}
/* Arabic and Persian: the card mirrors, the figure keeps its left-to-right digits and sits on the right. */
html[data-page][lang][dir="rtl"] body main .gs-stat .gs-stat-v{text-align:right}
html[data-page][lang] body main .gs-stat .gs-stat-v.gs-gold{color:var(--gs-gold-dark);-webkit-text-fill-color:var(--gs-gold-dark);background:none}
html[data-page] body .gs-stat .gs-stat-s{margin-top:8px;font-size:13px;font-weight:600;line-height:1.4;color:var(--gs-gold-dark);font-variant-numeric:tabular-nums}
html[data-page] body .gs-stat .gs-stat-d{margin-top:8px;font-size:13px;font-weight:400;line-height:1.5;color:var(--gs-muted)}
@media(min-width:1200px){html[data-page][lang] body main .gs-stats .gs-stat .gs-stat-v{font-size:min(clamp(28px,2.4vw,40px),calc(((100cqi - 64px)/5 - 48px)/5.8))}}
