/* SOURCE-EXACT CSS EXTRACTED FROM THE ORIGINAL STANDALONE RENDERER.
   Preserve property values and selectors; edit content in route HTML files only when approved. */

    .sc-placeholder{background:rgba(255,255,255,.3);border:1px solid rgba(0,0,0,.5);
      border-radius:2px;box-sizing:border-box;overflow:hidden}
    @keyframes sc-shine{0%{background-position:100% 50%}100%{background-position:0% 50%}}
    html.sc-dc-streaming .sc-placeholder,
    html.sc-dc-streaming .sc-interp.sc-missing{position:relative;
      background:color-mix(in srgb,currentColor 5%,transparent);
      border-color:transparent}
    html.sc-dc-streaming .sc-placeholder::before,
    html.sc-dc-streaming .sc-interp.sc-missing::before{content:'';
      position:absolute;inset:0;pointer-events:none;
      background:linear-gradient(90deg,rgba(217,119,87,0) 25%,rgba(247,225,211,.95) 37%,rgba(217,119,87,0) 63%);
      background-size:400% 100%;animation:sc-shine 1.4s ease infinite}
    html.sc-dc-streaming .sc-placeholder:nth-child(n+9 of .sc-placeholder)::before,
    html.sc-dc-streaming .sc-interp.sc-missing:nth-child(n+9 of .sc-interp.sc-missing)::before{animation:none;
      background:color-mix(in srgb,currentColor 8%,transparent)}
    .sc-placeholder-error{padding:4px 8px;font:11px/1.4 ui-monospace,monospace;
      color:rgba(0,0,0,.7);word-break:break-word}
    .sc-interp.sc-missing{display:inline-block;width:2em;height:1em;overflow:hidden;
      vertical-align:text-bottom;background:rgba(255,255,255,.3);border:1px solid rgba(0,0,0,.5);
      border-radius:2px;box-sizing:border-box;color:transparent;
      user-select:none}
    .sc-interp.sc-unresolved{font-family:ui-monospace,monospace;font-size:.85em;
      color:rgba(0,0,0,.5);background:rgba(0,0,0,.05);border-radius:3px;
      padding:0 3px}
    .sc-host.sc-has-error{position:relative}
    .sc-logic-error{position:absolute;top:8px;left:8px;z-index:2147483647;max-width:60ch;
      padding:6px 10px;background:#b00020;color:#fff;font:12px/1.4 ui-monospace,monospace;
      border-radius:4px;white-space:pre-wrap;pointer-events:none}
    /* Mirrors PRINT_BASELINE_CSS in apps/web deck-stage-export.ts — keep both
       in sync until dc-runtime regains a build step. */
    @media print {
      @page { margin: 0.5cm; }
      section, article, figure, table { break-inside: avoid; }
      *, *::before, *::after {
        print-color-adjust: exact; -webkit-print-color-adjust: exact;
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        animation-delay: -99s !important; animation-duration: .001s !important;
        animation-iteration-count: 1 !important; animation-fill-mode: both !important;
        animation-play-state: running !important; transition-duration: 0s !important;
      }
    }

html,body{height:100%;margin:0}#dc-root,#dc-root>.sc-host{height:100%}

/* ============================================================
   Public Opinion — Webfonts
   Somar: integrated Arabic–Latin family, four weights.
   Official brand typeface (from the identity guide).
   ============================================================ */
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Somar-Light.otf") format("opentype");
}
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Somar-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Somar-Medium.otf") format("opentype");
}
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Somar-Bold.otf") format("opentype");
}


/* ============================================================
   Public Opinion — Color Tokens
   Official palette from the brand identity guide (2024):
     Primary Blue  #4398a9  · clarity · wisdom · integrity
     Orange        #f15922  · creativity · energy · vitality (accent)
     Dark          #2a2828  · depth · rootedness
     Cream         #f1eee8  · warmth · calm (background)
     White         #ffffff  · purity · clarity
   Brand rule: the primary blue is fixed — never substitute it.
   ============================================================ */
:root {
  /* ---- Brand base (exact) ---- */
  --po-blue: #4398a9;
  --po-orange: #f15922;
  --po-dark: #2a2828;
  --po-cream: #f1eee8;
  --po-white: #ffffff;

  /* ---- Primary blue scale (hue ~189) ---- */
  --blue-50:  #eff7f8;
  --blue-100: #d8eef1;
  --blue-200: #b0dbe1;
  --blue-300: #82c5cf;
  --blue-400: #5aabb8;
  --blue-500: #4398a9; /* brand primary */
  --blue-600: #357a88;
  --blue-700: #2a606d;
  --blue-800: #1f4953;
  --blue-900: #143138;

  /* ---- Accent orange scale (hue ~14) ---- */
  --orange-50:  #fef2ec;
  --orange-100: #fcdccf;
  --orange-200: #f9bda3;
  --orange-300: #f59873;
  --orange-400: #f37748;
  --orange-500: #f15922; /* brand accent */
  --orange-600: #d84510;
  --orange-700: #b1380d;
  --orange-800: #8a2d0c;
  --orange-900: #5e2009;

  /* ---- Warm neutral / ink scale (cream → brand dark) ---- */
  --ink-0:   #ffffff;
  --ink-50:  #faf8f4;
  --ink-100: #f1eee8; /* brand cream */
  --ink-200: #e4ded4;
  --ink-300: #cfc8bd;
  --ink-400: #aaa49b;
  --ink-500: #847f78;
  --ink-600: #635f5a;
  --ink-700: #494645;
  --ink-800: #363433;
  --ink-900: #2a2828; /* brand dark */

  /* ---- Semantic / status (kept brand-adjacent) ---- */
  --green-500:  #1f8a6d;
  --green-50:   #e8f5f0;
  --amber-500:  #e8a317;
  --amber-50:   #fdf4e1;
  --red-500:    #d23b2e;
  --red-50:     #fbeae8;

  /* ---- Data-visualisation categorical palette ---- */
  --chart-1: #4398a9; /* blue */
  --chart-2: #f15922; /* orange */
  --chart-3: #1f4953; /* deep teal */
  --chart-4: #e8a317; /* gold */
  --chart-5: #847f78; /* warm gray */
  --chart-6: #82c5cf; /* light blue */
  --chart-7: #b1380d; /* burnt orange */

  /* ============================================================
     Semantic aliases — reference these in components, not raw scales
     ============================================================ */
  --color-primary: var(--blue-500);
  --color-primary-hover: var(--blue-600);
  --color-primary-active: var(--blue-700);
  --color-primary-subtle: var(--blue-50);
  --color-primary-border: var(--blue-200);

  --color-accent: var(--orange-500);
  --color-accent-hover: var(--orange-600);
  --color-accent-active: var(--orange-700);
  --color-accent-subtle: var(--orange-50);

  /* Text */
  --text-strong: var(--ink-900);
  --text-body: var(--ink-800);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-500);
  --text-on-primary: var(--po-white);
  --text-on-dark: var(--ink-100);
  --text-link: var(--blue-600);

  /* Surfaces */
  --surface-page: var(--ink-100);   /* cream — default page background */
  --surface-card: var(--po-white);
  --surface-raised: var(--po-white);
  --surface-sunken: var(--ink-50);
  --surface-inverse: var(--ink-900);
  --surface-brand: var(--blue-500);
  --surface-brand-soft: var(--blue-50);

  /* Borders & dividers */
  --border-subtle: var(--ink-200);
  --border-default: var(--ink-300);
  --border-strong: var(--ink-400);
  --border-brand: var(--blue-500);

  /* Status */
  --color-success: var(--green-500);
  --color-success-subtle: var(--green-50);
  --color-warning: var(--amber-500);
  --color-warning-subtle: var(--amber-50);
  --color-danger: var(--red-500);
  --color-danger-subtle: var(--red-50);

  /* Focus ring */
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--blue-500) 35%, transparent);
}


/* ============================================================
   Public Opinion — Typography Tokens
   Typeface: Somar (Light 300 · Regular 400 · Medium 500 · Bold 700)
   Bilingual Arabic / Latin. Arabic content is RTL.
   ============================================================ */
:root {
  /* Families */
  --font-sans: "Somar", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Somar", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Weights */
  --fw-light: 300;   /* @kind font */
  --fw-regular: 400; /* @kind font */
  --fw-medium: 500;  /* @kind font */
  --fw-bold: 700;    /* @kind font */

  /* Display + body type scale (1.250 major-third) */
  --fs-display: 4rem;    /* @kind font */
  --fs-h1: 2.75rem;      /* @kind font */
  --fs-h2: 2rem;         /* @kind font */
  --fs-h3: 1.5rem;       /* @kind font */
  --fs-h4: 1.25rem;      /* @kind font */
  --fs-title: 1.125rem;  /* @kind font */
  --fs-body-lg: 1.125rem;/* @kind font */
  --fs-body: 1rem;       /* @kind font */
  --fs-body-sm: 0.9375rem;/* @kind font */
  --fs-caption: 0.8125rem;/* @kind font */
  --fs-overline: 0.75rem;/* @kind font */

  /* Line heights */
  --lh-tight: 1.1;     /* @kind font */
  --lh-snug: 1.25;     /* @kind font */
  --lh-normal: 1.5;    /* @kind font */
  --lh-relaxed: 1.7;   /* @kind font */

  /* Letter spacing (Latin only — never track Arabic) */
  --ls-tight: -0.02em; /* @kind font */
  --ls-normal: 0;      /* @kind font */
  --ls-overline: 0.12em;/* @kind font */
}

/* Base element defaults */
:root {
  font-family: var(--font-sans);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ============================================================
   Public Opinion — Spacing, Radii, Sizing
   8px base grid. Speech-bubble mark inspires soft, rounded forms.
   ============================================================ */
:root {
  /* Spacing scale (8px base; 2/4 for fine control) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 2.5rem;   /* 40 */
  --space-8: 3rem;     /* 48 */
  --space-9: 4rem;     /* 64 */
  --space-10: 5rem;    /* 80 */
  --space-12: 6rem;    /* 96 */

  /* Radii — rounded, friendly (echoes the bubble mark) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* Container widths */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1280px;
  --container-gutter: clamp(1rem, 4vw, 4rem); /* @kind spacing */

  /* Control sizing */
  --control-h-sm: 36px;
  --control-h-md: 44px;   /* default; meets 44px touch target */
  --control-h-lg: 52px;
}


/* ============================================================
   Public Opinion — Elevation, Shadows, Motion
   Soft, warm-tinted shadows. Calm, confident motion — fades and
   gentle eases, no bounces (institutional, trustworthy tone).
   ============================================================ */
:root {
  /* Shadows — tinted with the warm ink, never pure black */
  --shadow-xs: 0 1px 2px rgba(42, 40, 40, 0.06);
  --shadow-sm: 0 1px 3px rgba(42, 40, 40, 0.08), 0 1px 2px rgba(42, 40, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(42, 40, 40, 0.08), 0 2px 4px rgba(42, 40, 40, 0.04);
  --shadow-lg: 0 12px 28px rgba(42, 40, 40, 0.10), 0 4px 8px rgba(42, 40, 40, 0.05);
  --shadow-xl: 0 24px 48px rgba(42, 40, 40, 0.14), 0 8px 16px rgba(42, 40, 40, 0.06);

  /* Brand-tinted glow (use sparingly, e.g. primary CTA hover) */
  --shadow-brand: 0 8px 24px color-mix(in srgb, var(--blue-500) 28%, transparent);

  /* Rings */
  --ring-brand: 0 0 0 3px color-mix(in srgb, var(--blue-500) 35%, transparent);
  --ring-accent: 0 0 0 3px color-mix(in srgb, var(--orange-500) 32%, transparent);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);       /* @kind other */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);           /* @kind other */
  --dur-fast: 120ms;  /* @kind other */
  --dur-base: 200ms;  /* @kind other */
  --dur-slow: 320ms;  /* @kind other */

  /* Layering */
  --z-base: 0;        /* @kind other */
  --z-sticky: 100;    /* @kind other */
  --z-overlay: 1000;  /* @kind other */
  --z-modal: 1100;    /* @kind other */
  --z-toast: 1200;    /* @kind other */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;  /* @kind other */
    --dur-base: 0ms;  /* @kind other */
    --dur-slow: 0ms;  /* @kind other */
  }
}


/* ============================================================
   Public Opinion — Base element defaults & helpers
   Lightweight reset + brand defaults. Bilingual (LTR/RTL) aware.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
}

/* Arabic / RTL: prefer relaxed leading for legibility */
[dir="rtl"] { line-height: var(--lh-relaxed); }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-strong);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--color-primary-active); }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }

/* Utility: brand overline label */
.po-overline {
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--color-primary);
}
[dir="rtl"] .po-overline { letter-spacing: normal; text-transform: none; }


/* ============================================================
   Public Opinion — Component styles
   Classes consumed by the React component library. Shipped in the
   global style closure so both the bundle and the cards render.
   ============================================================ */

/* ---------- Button ---------- */
.po-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans); font-weight: var(--fw-medium);
  font-size: var(--fs-body); line-height: 1;
  height: var(--control-h-md); padding: 0 var(--space-5);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: background var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.po-btn:focus-visible { outline: none; box-shadow: var(--ring-brand); }
.po-btn:active { transform: translateY(1px); }
.po-btn[disabled], .po-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

.po-btn--sm { height: var(--control-h-sm); padding: 0 var(--space-4); font-size: var(--fs-body-sm); }
.po-btn--lg { height: var(--control-h-lg); padding: 0 var(--space-6); font-size: var(--fs-body-lg); }
.po-btn--block { width: 100%; }

.po-btn--primary { background: var(--color-primary); color: var(--text-on-primary); }
.po-btn--primary:hover:not([disabled]) { background: var(--color-primary-hover); box-shadow: var(--shadow-brand); }
.po-btn--primary:active:not([disabled]) { background: var(--color-primary-active); }

.po-btn--accent { background: var(--color-accent); color: #fff; }
.po-btn--accent:hover:not([disabled]) { background: var(--color-accent-hover); }
.po-btn--accent:active:not([disabled]) { background: var(--color-accent-active); }
.po-btn--accent:focus-visible { box-shadow: var(--ring-accent); }

.po-btn--secondary { background: var(--surface-brand-soft); color: var(--color-primary-active); }
.po-btn--secondary:hover:not([disabled]) { background: var(--blue-100); }

.po-btn--outline { background: transparent; color: var(--color-primary-active); border-color: var(--border-default); }
.po-btn--outline:hover:not([disabled]) { border-color: var(--color-primary); background: var(--surface-brand-soft); }

.po-btn--ghost { background: transparent; color: var(--text-body); }
.po-btn--ghost:hover:not([disabled]) { background: var(--ink-100); }

.po-btn__icon { display: inline-flex; width: 1.15em; height: 1.15em; }
.po-btn__icon svg, .po-btn__icon img { width: 100%; height: 100%; display: block; }

/* ---------- Badge ---------- */
.po-badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-family: var(--font-sans); font-weight: var(--fw-medium);
  font-size: var(--fs-caption); line-height: 1;
  padding: 5px 10px; border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.po-badge--solid-blue { background: var(--color-primary); color: #fff; }
.po-badge--solid-orange { background: var(--color-accent); color: #fff; }
.po-badge--blue { background: var(--blue-50); color: var(--blue-700); }
.po-badge--orange { background: var(--orange-50); color: var(--orange-700); }
.po-badge--neutral { background: var(--ink-100); color: var(--ink-700); }
.po-badge--success { background: var(--color-success-subtle); color: var(--green-500); }
.po-badge--warning { background: var(--color-warning-subtle); color: var(--amber-500); }
.po-badge--danger { background: var(--color-danger-subtle); color: var(--red-500); }
.po-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Card ---------- */
.po-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.po-card--raised { box-shadow: var(--shadow-md); border-color: transparent; }
.po-card--flat { box-shadow: none; }
.po-card--interactive { cursor: pointer; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.po-card--interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.po-card__media { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.po-card__body { padding: var(--space-5); }
.po-card__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--text-strong); margin-bottom: var(--space-2); }
.po-card__text { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: var(--lh-normal); }

/* ---------- Avatar ---------- */
.po-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--blue-100); color: var(--blue-700);
  font-family: var(--font-sans); font-weight: var(--fw-bold);
  overflow: hidden; flex: none;
}
.po-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Form fields ---------- */
.po-field { display: flex; flex-direction: column; gap: var(--space-2); }
.po-label { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--text-strong); }
.po-label__req { color: var(--color-accent); margin-inline-start: 2px; }
.po-input, .po-select {
  font-family: var(--font-sans); font-size: var(--fs-body); color: var(--text-strong);
  height: var(--control-h-md); padding: 0 var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); width: 100%;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.po-input::placeholder { color: var(--text-faint); }
.po-input:focus, .po-select:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--ring-brand); }
.po-input[aria-invalid="true"] { border-color: var(--color-danger); }
.po-input:disabled, .po-select:disabled { background: var(--ink-50); color: var(--text-faint); cursor: not-allowed; }
.po-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' sc-camel-view-box='0 0 24 24' fill='none' stroke='%23635F5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-3) center; padding-inline-end: var(--space-8); }
[dir="rtl"] .po-select { background-position: left var(--space-3) center; }
.po-hint { font-size: var(--fs-caption); color: var(--text-muted); }
.po-hint--error { color: var(--color-danger); }

/* ---------- Checkbox ---------- */
.po-check { display: inline-flex; align-items: center; gap: var(--space-3); cursor: pointer; font-size: var(--fs-body); color: var(--text-body); }
.po-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.po-check__box {
  width: 20px; height: 20px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-strong); background: var(--surface-card);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.po-check__box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; opacity: 0; }
.po-check input:checked + .po-check__box { background: var(--color-primary); border-color: var(--color-primary); }
.po-check input:checked + .po-check__box svg { opacity: 1; }
.po-check input:focus-visible + .po-check__box { box-shadow: var(--ring-brand); }

/* ---------- Tabs ---------- */
.po-tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--border-subtle); }
.po-tab {
  font-family: var(--font-sans); font-size: var(--fs-body); font-weight: var(--fw-medium);
  color: var(--text-muted); background: none; border: none; cursor: pointer;
  padding: var(--space-3) var(--space-4); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.po-tab:hover { color: var(--text-strong); }
.po-tab--active { color: var(--color-primary); border-bottom-color: var(--color-primary); font-weight: var(--fw-bold); }

/* ---------- Stat / KPI ---------- */
.po-stat { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); }
.po-stat__label { font-size: var(--fs-body-sm); color: var(--text-muted); font-weight: var(--fw-medium); }
.po-stat__value { font-size: 2.25rem; font-weight: var(--fw-bold); color: var(--text-strong); line-height: 1; font-variant-numeric: tabular-nums; }
.po-stat__delta { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); font-weight: var(--fw-medium); }
.po-stat__delta--up { color: var(--green-500); }
.po-stat__delta--down { color: var(--red-500); }
.po-stat__delta--flat { color: var(--text-faint); }

/* ---------- Survey result bar ---------- */
.po-result { display: flex; flex-direction: column; gap: var(--space-2); }
.po-result__head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-body-sm); }
.po-result__label { color: var(--text-body); font-weight: var(--fw-medium); }
.po-result__pct { color: var(--text-strong); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.po-result__track { height: 10px; background: var(--ink-100); border-radius: var(--radius-pill); overflow: hidden; }
.po-result__fill { height: 100%; border-radius: var(--radius-pill); background: var(--color-primary); transition: width var(--dur-slow) var(--ease-out); }


/* ============================================================
   Public Opinion — Design System
   Global stylesheet entry point. Consumers link THIS file only.
   Import order: fonts → tokens → base.
   ============================================================ */
/* ============================================================
   Public Opinion — Webfonts
   Somar: integrated Arabic–Latin family, four weights.
   Official brand typeface (from the identity guide).
   ============================================================ */
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Somar-Light.otf") format("opentype");
}
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Somar-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Somar-Medium.otf") format("opentype");
}
@font-face {
  font-family: "Somar";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Somar-Bold.otf") format("opentype");
}

/* ============================================================
   Public Opinion — Color Tokens
   Official palette from the brand identity guide (2024):
     Primary Blue  #4398a9  · clarity · wisdom · integrity
     Orange        #f15922  · creativity · energy · vitality (accent)
     Dark          #2a2828  · depth · rootedness
     Cream         #f1eee8  · warmth · calm (background)
     White         #ffffff  · purity · clarity
   Brand rule: the primary blue is fixed — never substitute it.
   ============================================================ */
:root {
  /* ---- Brand base (exact) ---- */
  --po-blue: #4398a9;
  --po-orange: #f15922;
  --po-dark: #2a2828;
  --po-cream: #f1eee8;
  --po-white: #ffffff;

  /* ---- Primary blue scale (hue ~189) ---- */
  --blue-50:  #eff7f8;
  --blue-100: #d8eef1;
  --blue-200: #b0dbe1;
  --blue-300: #82c5cf;
  --blue-400: #5aabb8;
  --blue-500: #4398a9; /* brand primary */
  --blue-600: #357a88;
  --blue-700: #2a606d;
  --blue-800: #1f4953;
  --blue-900: #143138;

  /* ---- Accent orange scale (hue ~14) ---- */
  --orange-50:  #fef2ec;
  --orange-100: #fcdccf;
  --orange-200: #f9bda3;
  --orange-300: #f59873;
  --orange-400: #f37748;
  --orange-500: #f15922; /* brand accent */
  --orange-600: #d84510;
  --orange-700: #b1380d;
  --orange-800: #8a2d0c;
  --orange-900: #5e2009;

  /* ---- Warm neutral / ink scale (cream → brand dark) ---- */
  --ink-0:   #ffffff;
  --ink-50:  #faf8f4;
  --ink-100: #f1eee8; /* brand cream */
  --ink-200: #e4ded4;
  --ink-300: #cfc8bd;
  --ink-400: #aaa49b;
  --ink-500: #847f78;
  --ink-600: #635f5a;
  --ink-700: #494645;
  --ink-800: #363433;
  --ink-900: #2a2828; /* brand dark */

  /* ---- Semantic / status (kept brand-adjacent) ---- */
  --green-500:  #1f8a6d;
  --green-50:   #e8f5f0;
  --amber-500:  #e8a317;
  --amber-50:   #fdf4e1;
  --red-500:    #d23b2e;
  --red-50:     #fbeae8;

  /* ---- Data-visualisation categorical palette ---- */
  --chart-1: #4398a9; /* blue */
  --chart-2: #f15922; /* orange */
  --chart-3: #1f4953; /* deep teal */
  --chart-4: #e8a317; /* gold */
  --chart-5: #847f78; /* warm gray */
  --chart-6: #82c5cf; /* light blue */
  --chart-7: #b1380d; /* burnt orange */

  /* ============================================================
     Semantic aliases — reference these in components, not raw scales
     ============================================================ */
  --color-primary: var(--blue-500);
  --color-primary-hover: var(--blue-600);
  --color-primary-active: var(--blue-700);
  --color-primary-subtle: var(--blue-50);
  --color-primary-border: var(--blue-200);

  --color-accent: var(--orange-500);
  --color-accent-hover: var(--orange-600);
  --color-accent-active: var(--orange-700);
  --color-accent-subtle: var(--orange-50);

  /* Text */
  --text-strong: var(--ink-900);
  --text-body: var(--ink-800);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-500);
  --text-on-primary: var(--po-white);
  --text-on-dark: var(--ink-100);
  --text-link: var(--blue-600);

  /* Surfaces */
  --surface-page: var(--ink-100);   /* cream — default page background */
  --surface-card: var(--po-white);
  --surface-raised: var(--po-white);
  --surface-sunken: var(--ink-50);
  --surface-inverse: var(--ink-900);
  --surface-brand: var(--blue-500);
  --surface-brand-soft: var(--blue-50);

  /* Borders & dividers */
  --border-subtle: var(--ink-200);
  --border-default: var(--ink-300);
  --border-strong: var(--ink-400);
  --border-brand: var(--blue-500);

  /* Status */
  --color-success: var(--green-500);
  --color-success-subtle: var(--green-50);
  --color-warning: var(--amber-500);
  --color-warning-subtle: var(--amber-50);
  --color-danger: var(--red-500);
  --color-danger-subtle: var(--red-50);

  /* Focus ring */
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--blue-500) 35%, transparent);
}

/* ============================================================
   Public Opinion — Typography Tokens
   Typeface: Somar (Light 300 · Regular 400 · Medium 500 · Bold 700)
   Bilingual Arabic / Latin. Arabic content is RTL.
   ============================================================ */
:root {
  /* Families */
  --font-sans: "Somar", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Somar", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Weights */
  --fw-light: 300;   /* @kind font */
  --fw-regular: 400; /* @kind font */
  --fw-medium: 500;  /* @kind font */
  --fw-bold: 700;    /* @kind font */

  /* Display + body type scale (1.250 major-third) */
  --fs-display: 4rem;    /* @kind font */
  --fs-h1: 2.75rem;      /* @kind font */
  --fs-h2: 2rem;         /* @kind font */
  --fs-h3: 1.5rem;       /* @kind font */
  --fs-h4: 1.25rem;      /* @kind font */
  --fs-title: 1.125rem;  /* @kind font */
  --fs-body-lg: 1.125rem;/* @kind font */
  --fs-body: 1rem;       /* @kind font */
  --fs-body-sm: 0.9375rem;/* @kind font */
  --fs-caption: 0.8125rem;/* @kind font */
  --fs-overline: 0.75rem;/* @kind font */

  /* Line heights */
  --lh-tight: 1.1;     /* @kind font */
  --lh-snug: 1.25;     /* @kind font */
  --lh-normal: 1.5;    /* @kind font */
  --lh-relaxed: 1.7;   /* @kind font */

  /* Letter spacing (Latin only — never track Arabic) */
  --ls-tight: -0.02em; /* @kind font */
  --ls-normal: 0;      /* @kind font */
  --ls-overline: 0.12em;/* @kind font */
}

/* Base element defaults */
:root {
  font-family: var(--font-sans);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   Public Opinion — Spacing, Radii, Sizing
   8px base grid. Speech-bubble mark inspires soft, rounded forms.
   ============================================================ */
:root {
  /* Spacing scale (8px base; 2/4 for fine control) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 2.5rem;   /* 40 */
  --space-8: 3rem;     /* 48 */
  --space-9: 4rem;     /* 64 */
  --space-10: 5rem;    /* 80 */
  --space-12: 6rem;    /* 96 */

  /* Radii — rounded, friendly (echoes the bubble mark) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* Container widths */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1280px;
  --container-gutter: clamp(1rem, 4vw, 4rem); /* @kind spacing */

  /* Control sizing */
  --control-h-sm: 36px;
  --control-h-md: 44px;   /* default; meets 44px touch target */
  --control-h-lg: 52px;
}

/* ============================================================
   Public Opinion — Elevation, Shadows, Motion
   Soft, warm-tinted shadows. Calm, confident motion — fades and
   gentle eases, no bounces (institutional, trustworthy tone).
   ============================================================ */
:root {
  /* Shadows — tinted with the warm ink, never pure black */
  --shadow-xs: 0 1px 2px rgba(42, 40, 40, 0.06);
  --shadow-sm: 0 1px 3px rgba(42, 40, 40, 0.08), 0 1px 2px rgba(42, 40, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(42, 40, 40, 0.08), 0 2px 4px rgba(42, 40, 40, 0.04);
  --shadow-lg: 0 12px 28px rgba(42, 40, 40, 0.10), 0 4px 8px rgba(42, 40, 40, 0.05);
  --shadow-xl: 0 24px 48px rgba(42, 40, 40, 0.14), 0 8px 16px rgba(42, 40, 40, 0.06);

  /* Brand-tinted glow (use sparingly, e.g. primary CTA hover) */
  --shadow-brand: 0 8px 24px color-mix(in srgb, var(--blue-500) 28%, transparent);

  /* Rings */
  --ring-brand: 0 0 0 3px color-mix(in srgb, var(--blue-500) 35%, transparent);
  --ring-accent: 0 0 0 3px color-mix(in srgb, var(--orange-500) 32%, transparent);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);       /* @kind other */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);           /* @kind other */
  --dur-fast: 120ms;  /* @kind other */
  --dur-base: 200ms;  /* @kind other */
  --dur-slow: 320ms;  /* @kind other */

  /* Layering */
  --z-base: 0;        /* @kind other */
  --z-sticky: 100;    /* @kind other */
  --z-overlay: 1000;  /* @kind other */
  --z-modal: 1100;    /* @kind other */
  --z-toast: 1200;    /* @kind other */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;  /* @kind other */
    --dur-base: 0ms;  /* @kind other */
    --dur-slow: 0ms;  /* @kind other */
  }
}

/* ============================================================
   Public Opinion — Base element defaults & helpers
   Lightweight reset + brand defaults. Bilingual (LTR/RTL) aware.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
}

/* Arabic / RTL: prefer relaxed leading for legibility */
[dir="rtl"] { line-height: var(--lh-relaxed); }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-strong);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--color-primary-active); }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }

/* Utility: brand overline label */
.po-overline {
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--color-primary);
}
[dir="rtl"] .po-overline { letter-spacing: normal; text-transform: none; }

/* ============================================================
   Public Opinion — Component styles
   Classes consumed by the React component library. Shipped in the
   global style closure so both the bundle and the cards render.
   ============================================================ */

/* ---------- Button ---------- */
.po-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans); font-weight: var(--fw-medium);
  font-size: var(--fs-body); line-height: 1;
  height: var(--control-h-md); padding: 0 var(--space-5);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: background var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.po-btn:focus-visible { outline: none; box-shadow: var(--ring-brand); }
.po-btn:active { transform: translateY(1px); }
.po-btn[disabled], .po-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

.po-btn--sm { height: var(--control-h-sm); padding: 0 var(--space-4); font-size: var(--fs-body-sm); }
.po-btn--lg { height: var(--control-h-lg); padding: 0 var(--space-6); font-size: var(--fs-body-lg); }
.po-btn--block { width: 100%; }

.po-btn--primary { background: var(--color-primary); color: var(--text-on-primary); }
.po-btn--primary:hover:not([disabled]) { background: var(--color-primary-hover); box-shadow: var(--shadow-brand); }
.po-btn--primary:active:not([disabled]) { background: var(--color-primary-active); }

.po-btn--accent { background: var(--color-accent); color: #fff; }
.po-btn--accent:hover:not([disabled]) { background: var(--color-accent-hover); }
.po-btn--accent:active:not([disabled]) { background: var(--color-accent-active); }
.po-btn--accent:focus-visible { box-shadow: var(--ring-accent); }

.po-btn--secondary { background: var(--surface-brand-soft); color: var(--color-primary-active); }
.po-btn--secondary:hover:not([disabled]) { background: var(--blue-100); }

.po-btn--outline { background: transparent; color: var(--color-primary-active); border-color: var(--border-default); }
.po-btn--outline:hover:not([disabled]) { border-color: var(--color-primary); background: var(--surface-brand-soft); }

.po-btn--ghost { background: transparent; color: var(--text-body); }
.po-btn--ghost:hover:not([disabled]) { background: var(--ink-100); }

.po-btn__icon { display: inline-flex; width: 1.15em; height: 1.15em; }
.po-btn__icon svg, .po-btn__icon img { width: 100%; height: 100%; display: block; }

/* ---------- Badge ---------- */
.po-badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-family: var(--font-sans); font-weight: var(--fw-medium);
  font-size: var(--fs-caption); line-height: 1;
  padding: 5px 10px; border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.po-badge--solid-blue { background: var(--color-primary); color: #fff; }
.po-badge--solid-orange { background: var(--color-accent); color: #fff; }
.po-badge--blue { background: var(--blue-50); color: var(--blue-700); }
.po-badge--orange { background: var(--orange-50); color: var(--orange-700); }
.po-badge--neutral { background: var(--ink-100); color: var(--ink-700); }
.po-badge--success { background: var(--color-success-subtle); color: var(--green-500); }
.po-badge--warning { background: var(--color-warning-subtle); color: var(--amber-500); }
.po-badge--danger { background: var(--color-danger-subtle); color: var(--red-500); }
.po-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Card ---------- */
.po-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.po-card--raised { box-shadow: var(--shadow-md); border-color: transparent; }
.po-card--flat { box-shadow: none; }
.po-card--interactive { cursor: pointer; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.po-card--interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.po-card__media { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.po-card__body { padding: var(--space-5); }
.po-card__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--text-strong); margin-bottom: var(--space-2); }
.po-card__text { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: var(--lh-normal); }

/* ---------- Avatar ---------- */
.po-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--blue-100); color: var(--blue-700);
  font-family: var(--font-sans); font-weight: var(--fw-bold);
  overflow: hidden; flex: none;
}
.po-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Form fields ---------- */
.po-field { display: flex; flex-direction: column; gap: var(--space-2); }
.po-label { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--text-strong); }
.po-label__req { color: var(--color-accent); margin-inline-start: 2px; }
.po-input, .po-select {
  font-family: var(--font-sans); font-size: var(--fs-body); color: var(--text-strong);
  height: var(--control-h-md); padding: 0 var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); width: 100%;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.po-input::placeholder { color: var(--text-faint); }
.po-input:focus, .po-select:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--ring-brand); }
.po-input[aria-invalid="true"] { border-color: var(--color-danger); }
.po-input:disabled, .po-select:disabled { background: var(--ink-50); color: var(--text-faint); cursor: not-allowed; }
.po-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' sc-camel-view-box='0 0 24 24' fill='none' stroke='%23635F5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-3) center; padding-inline-end: var(--space-8); }
[dir="rtl"] .po-select { background-position: left var(--space-3) center; }
.po-hint { font-size: var(--fs-caption); color: var(--text-muted); }
.po-hint--error { color: var(--color-danger); }

/* ---------- Checkbox ---------- */
.po-check { display: inline-flex; align-items: center; gap: var(--space-3); cursor: pointer; font-size: var(--fs-body); color: var(--text-body); }
.po-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.po-check__box {
  width: 20px; height: 20px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-strong); background: var(--surface-card);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.po-check__box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; opacity: 0; }
.po-check input:checked + .po-check__box { background: var(--color-primary); border-color: var(--color-primary); }
.po-check input:checked + .po-check__box svg { opacity: 1; }
.po-check input:focus-visible + .po-check__box { box-shadow: var(--ring-brand); }

/* ---------- Tabs ---------- */
.po-tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--border-subtle); }
.po-tab {
  font-family: var(--font-sans); font-size: var(--fs-body); font-weight: var(--fw-medium);
  color: var(--text-muted); background: none; border: none; cursor: pointer;
  padding: var(--space-3) var(--space-4); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.po-tab:hover { color: var(--text-strong); }
.po-tab--active { color: var(--color-primary); border-bottom-color: var(--color-primary); font-weight: var(--fw-bold); }

/* ---------- Stat / KPI ---------- */
.po-stat { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); }
.po-stat__label { font-size: var(--fs-body-sm); color: var(--text-muted); font-weight: var(--fw-medium); }
.po-stat__value { font-size: 2.25rem; font-weight: var(--fw-bold); color: var(--text-strong); line-height: 1; font-variant-numeric: tabular-nums; }
.po-stat__delta { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-caption); font-weight: var(--fw-medium); }
.po-stat__delta--up { color: var(--green-500); }
.po-stat__delta--down { color: var(--red-500); }
.po-stat__delta--flat { color: var(--text-faint); }

/* ---------- Survey result bar ---------- */
.po-result { display: flex; flex-direction: column; gap: var(--space-2); }
.po-result__head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-body-sm); }
.po-result__label { color: var(--text-body); font-weight: var(--fw-medium); }
.po-result__pct { color: var(--text-strong); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.po-result__track { height: 10px; background: var(--ink-100); border-radius: var(--radius-pill); overflow: hidden; }
.po-result__fill { height: 100%; border-radius: var(--radius-pill); background: var(--color-primary); transition: width var(--dur-slow) var(--ease-out); }




    html { scroll-behavior: smooth; overflow-x: hidden; }
    body { margin: 0; background: var(--surface-page, #f1eee8); overflow-x: hidden; }
    @keyframes poFadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes poFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
    @keyframes poGrowBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes poDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    @keyframes poPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65); } }
  