/* === css/variables.css === */
/**
 * Haplic — Unified Design Tokens
 * Gold: #c9a45c | Gold light: #d8b76a | Navy: #0b1120
 */
:root {
  /* Tells the browser this is a dark UI: native scrollbars, <select> dropdowns,
     date pickers and autofill stop rendering as light panels over the dark theme. */
  color-scheme: dark;

  /* Backgrounds */
  --color-bg-base: #060911;
  --color-bg-surface: #0b1120;
  --color-bg-card: rgba(14, 22, 39, 0.75);

  /* Brand Colors */
  --color-primary: #c9a45c;
  --color-primary-glow: rgba(201,164,92, 0.4);
  --color-brand-azure: #c9a45c;
  --color-green: #c9a45c;
  --color-green-glow: rgba(201,164,92, 0.4);
  --color-cyan: #d8b76a;
  --color-cyan-light: #e3c57e;
  --color-cyan-glow: rgba(201,164,92, 0.35);
  --color-gold: #c9a45c;
  --color-gold-light: #e3c57e;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #c9a45c;
  --color-success: #10b981;
  /* Promoted out of the legacy `emerald` aliases, which were the only place these two
     values lived. three_d.css is their one remaining user. */
  --color-success-dark: #047857;
  --color-success-glow: rgba(16, 185, 129, 0.35);

  /* Text */
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  /* Was #64748b, which failed AA on all three surfaces (4.18 base / 3.96 surface /
     3.80 card). #7a879c is the least visual shift that clears 4.5:1 on the card too
     (5.47 / 5.18 / 4.97). It is only ever used as a text colour, never a background
     or border, so raising it cannot weaken contrast anywhere else. */
  --color-text-dim: #7a879c;
  --color-text-strong: #e2e8f0;

  /* Borders & Glass */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  /* The boundary of a CONTROL, against the boundary of a SURFACE. WCAG 2.2 SC 1.4.11 asks 3:1 of
     the former and says nothing about the latter: a card's edge is decoration, but an input's edge
     is the only thing that says an input is there. Composited on the base background this is
     rgb(106,112,121) = 3.79:1, where --color-border measures 1.21:1 and --color-border-strong
     1.47:1 — both under the threshold, which is why those two stay on surfaces only.
     This token exists because six input rules in the console were setting their own border back to
     --color-border OVER a .form-control rule that already met the standard, which put those fields
     at 1.2-1.5:1 again. Same specificity collision that was silently defeating the focus ring. */
  --color-border-control: rgba(255, 255, 255, 0.4);
  /* The brand green at a quieter alpha. Used as written for hairline edges and soft
     glows — both are the same intent: the green as a hairline, not as a highlight. */
  --color-border-green: rgba(201,164,92, 0.3);

  /* Named after measuring 849 literal colour uses across css/: 113 hexes had no token, and five of
     them were repeated across many files — a de-facto palette the design system did not know it
     had. #75bbe9 alone appeared 13 times in 7 files and was the main reason the portal, the console
     and the landing page read as three slightly different products. Naming them changes no pixel:
     the value here is byte-identical to every literal it replaced, and the pass that swapped them
     ran before this block existed so it could not rewrite its own definitions. */
  --color-cyan-muted: #b8933f;
  --color-on-brand: #1a1407;
  --color-danger-soft: #fca5a5;
  --color-cyan-strong: #b8933f;
  --color-gold-soft: #fcd34d;

  /* Typography Scale — 9 steps.
     `2xs` and `3xl` were added after measuring the real usage: tiny badges and meta labels
     cluster at ~9.9px, and the display numerals at 38.4px, so both had been hand-written
     because the scale simply had no name for them. */
  --text-2xs: 0.62rem;
  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-base: 0.92rem;
  --text-md: 1.05rem;
  --text-lg: 1.25rem;
  --text-xl: 1.55rem;
  --text-2xl: 1.85rem;
  --text-3xl: 2.4rem;
  /* The scale stopped at 38.4px, so the landing H1 (--text-2xl, 29.6px) was SMALLER than
     its own 600px override (2rem = 32px) and tied with a mid-page section heading — an
     inverted scale with no display step. `4xl` is that missing step: the hero headline is
     the largest type on the page at every width. */
  --text-4xl: 3rem;

  /* Section headings. The page had one step (--text-2xl) doing three jobs: hero, section
     title and sub-heading all resolved to the same 29.6px, so nothing read as a hierarchy.
     These two name the middle steps so the ladder is 48 / 28 / 20. */
  --text-h2: 1.75rem;
  --text-h3: 1.25rem;

  /* Weight ladder. Measured across the built bundles: 700x47, 800x40, 900x31 against
     400x3 — nearly every string on the site was bold, so weight carried no meaning and
     hierarchy fell to size alone. Four named rungs, used consistently:
     body copy → label/metadata → card & section titles → hero and display numerals. */
  --weight-body: 500;
  --weight-label: 600;
  --weight-title: 700;
  --weight-display: 900;

  /* Font */
  --font-main: 'Readex Pro', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Latin runs (the tagline, `REQ_…` ids, unit counts) render in Cairo's Latin glyphs,
     which are cramped. This stack is the fallback for those runs only. */
  --font-latin: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;

  /* Radius — 3 sizes only */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  /* Was hand-written ~15 times as 4/6/9/11px for icon tiles and chips. */
  --radius-xs: 6px;

  /* Shadows — the raised step the cards were missing (they only had the flat card drop). */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-raised: 0 18px 44px -14px rgba(0, 0, 0, 0.78);

  /* Glow — three intents instead of the eight ad-hoc green glows in the stylesheets.
     The design direction for this product is minimal glow: the accent earns attention
     because it is rare, so only the primary CTA and keyboard focus may use it. */
  --glow-soft: 0 0 16px rgba(201,164,92, 0.18);
  --glow-cta: 0 0 22px rgba(201,164,92, 0.32);
  /* Was rgba(0,144,240,.22), which composites over the base to #052742 = 1.30:1 — under the 3:1
     SC 1.4.11 asks of a non-text indicator, on the five controls where this ring is the only one.
     A translucent ring's contrast is a function of whatever sits behind it, so no alpha makes it a
     guarantee: the opaque brand green is the one value that holds on every surface this product
     draws — 5.92:1 base / 5.60:1 surface / 5.53:1 card. Same ring global.css already owns. */
  --glow-focus: 0 0 0 3px var(--color-green);

  /* Spacing — 8px rhythm. Section padding had been written by hand at 12/34/45/36/8/4px
     with no relationship between them; these five rungs cover the same ranges. */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

/* === css/base.css === */
/* Cairo is loaded by a <link> in each page head, not from here: an @import counts only while it
   precedes every rule, and variables.css always comes before base.css in every bundle, so the
   import was silently dropped and the declared font never applied. */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-family: var(--font-main);
  background-color: var(--color-bg-base);
  color: var(--color-text);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  scroll-behavior: smooth;
}

html[dir="ltr"], body[dir="ltr"] { direction:ltr; text-align:left; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-base);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(201,164,92, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(201,164,92, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(201,164,92, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* privacy.html, terms.html and withdrawal.html all declare .legal-page and no rule
   defined it, so the global reset left their headings at browser defaults with no
   spacing above or below. This is the page shell only — each page styles its own body. */
.legal-page { padding-block: 36px 56px; }
.legal-page h1 {
  margin-bottom: 16px;
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.4px;
}
.legal-page h2 { margin: 26px 0 10px; font-size: var(--text-lg); font-weight: 800; }
.legal-page p {
  max-width: 900px;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.9;
}
.legal-page .section-eyebrow { display: block; margin-bottom: 8px; }

/* Haplic Bold Topbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-base);
  border-bottom: 1px solid rgba(201,164,92, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-green) 0%, #b8933f 60%, var(--color-cyan-light) 100%);
}
/* The sticky header sat on the heading of every in-page link («المشاريع» landed at 4px,
   «كيف نعمل» at 46px). scroll-padding insets the scrollport, so hash links, the modal's
   scrollIntoView and focus scrolling all clear it. 70px bar + air, and 20px more because a
   section still waiting for its reveal is measured 20px lower, landing that much higher. */
html:has(.site-header) { scroll-padding-top: 100px; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.brand-title {
  font-size: var(--text-lg);
  font-weight: 900;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  direction: ltr;
}
.brand-dz { color: var(--color-green); }
.brand-vest { color: #f6f2e7; }

/* On a phone the wordmark was squeezed to 68px and broke onto two lines inside a
   70px header. Keep it on one line; the size steps below live in dzpartner.css, which
   owns .brand-ar and loads after this file. */
@media (max-width: 640px) {
  .brand-logo { gap: 7px; }
  .brand-ar { white-space: nowrap; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-links a.active {
  color: var(--color-on-brand);
  background: linear-gradient(135deg, var(--color-green) 0%, #b8933f 100%);
  box-shadow: 0 4px 14px var(--color-green-glow);
}
.partner-link-text svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.btn-nav-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-green) 0%, #b8933f 100%);
  color: var(--color-on-brand) !important;
  font-weight: 800 !important;
  font-size: var(--text-base);
  text-decoration: none;
  border-radius: var(--radius-full) !important;
  padding: 10px 22px !important;
  box-shadow: 0 6px 20px var(--color-green-glow);
  white-space: nowrap;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.btn-nav-join:hover {
  box-shadow: 0 8px 26px rgba(201,164,92, 0.6);
  transform: translateY(-1px);
}

.brand-partner{font-size:.74em;letter-spacing:-1px}.brand-logo .brand-title{gap:1px}.brand-logo .brand-partner{font-size:.66em;letter-spacing:-1.2px}.brand-ar{color:#f6f2e7;font-size:var(--text-lg)}
/* The skip link, one line because this file is at its ceiling: `.sr-only` hides it and this rule — one class plus `:focus`, so it outranks `.sr-only` wherever the two land in a bundle — brings it back, undoing each property `.sr-only` hides with. `fixed`, not `static`, so revealing it shifts no page. */ .skip-link:focus{position:fixed;top:.6rem;inset-inline-start:.6rem;width:auto;height:auto;margin:0;padding:.55rem 1rem;overflow:visible;clip-path:none;background:var(--color-bg-base);color:var(--color-text);border:1px solid var(--color-green);border-radius:var(--radius-full);z-index:2000;font-size:var(--text-sm)}

/* === css/global.css === */
/**
 * Haplic — Cross-cutting rules
 * Behaviour every page needs regardless of which components it uses: the overflow
 * guard, the `hidden` guard, the focus ring and placeholder tone. Loaded immediately
 * after base.css in every bundle, so page-specific files still win ties.
 */

/* Decorative layers (orbits, the carousel track, fixed bars) are wider than a phone.
   Nothing clips them, so the document grew to 424px inside a 390px viewport and the
   whole body sat 33px off-origin, cutting the left edge. `clip` rather than `hidden`:
   it stops the overflow without creating a scroll container, so sticky still works. */
html, body {
  overflow-x: clip;
}

/* The `hidden` attribute is a UA rule, so any author `display` outranks it. That is how
   three unconfigured social buttons in the footer kept rendering as dead 34x34 boxes.
   One global guard beats a per-component fix; the sole rule that outranks it by
   specificity is .social-links a in dzpartner.css, handled there. */
[hidden] {
  display: none !important;
}

/* The estimator announces each committed result through a live region, and a live region has to
   be in the accessibility tree without being on screen. The admin bundle carried the only copy of
   this rule (admin_premium.css) and the home bundle never loaded it. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keyboard focus was only ever styled inside the admin workspace, so the public pages
   fell back to the UA ring — nearly invisible on this palette. Fields that ship their
   own indicator (.form-control, the admin form controls) still override this. */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* Nothing styled placeholders outside the admin command palette, so the UA default
   (#757575, ~4.3:1) set the tone and — since only some fields have placeholders —
   empty inputs read as pre-filled. Dimmer than a real value, still AA. */
::placeholder {
  color: var(--color-text-dim);
  opacity: 1; /* Firefox dims placeholders by default; the token is the intent. */
}

/* Frosted glass sticky header across all application pages */
.site-header {
  background: rgba(9, 15, 28, 0.84) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.22);
}

button, a, summary, select { touch-action: manipulation; }
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size:16px !important; }
  button, select, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]) { min-height:44px; }
  /* Icon-only buttons keep their look but gain the full 44px touch width. */
  button { min-width:44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto !important; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; transition-delay:0s !important; }
}

/* === css/partner_auth_fonts.css === */
/* Same approved Readex Pro, served locally; OFL and provenance: assets/fonts/. */
@font-face {
  font-family:'Readex Pro';
  src:url('/assets/fonts/ReadexPro-variable.ttf') format('truetype');
  font-weight:160 700;
  font-style:normal;
  font-display:swap;
}

/* === css/contact_fab.css === */
/* Shared public-contact affordance; no account or request information is included. */
#floating-contact {
  --contact-bottom:16px;
  position:fixed; z-index:90;
  inset-inline-end:16px; inset-block-end:calc(var(--contact-bottom) + env(safe-area-inset-bottom,0px));
  display:flex; flex-direction:column; align-items:flex-end; gap:10px;
  max-width:calc(100vw - 32px); font-family:var(--font-main,'Readex Pro',Arial,sans-serif);
}
#floating-contact .floating-contact-toggle {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:12px 20px; border:0; border-radius:999px;
  background:#086de8; color:#fff; font:inherit; font-size:15px; font-weight:600;
  cursor:pointer; box-shadow:0 8px 22px #086de829; backdrop-filter:none;
  transition:background 160ms ease,transform 160ms ease;
}
#floating-contact .floating-contact-toggle:hover {background:#0059c6}
#floating-contact .floating-contact-toggle:active {transform:scale(.97)}
#floating-contact .contact-toggle-icon {width:24px;height:24px;filter:brightness(0) invert(1)}
#floating-contact .floating-contact-actions {
  order:-1; display:grid; gap:6px; width:min(260px,calc(100vw - 32px)); padding:8px;
  max-height:min(240px,calc(100dvh - var(--contact-bottom) - 88px)); overflow:auto;
  border:1px solid #cfdef1; border-radius:12px; background:#fff; color:#0d1725;
  box-shadow:none; backdrop-filter:none; animation:contactReveal 160ms ease-out;
}
#floating-contact .floating-contact-actions[hidden] {display:none}
#floating-contact .floating-contact-action {
  display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 12px;
  border:0;border-radius:8px;background:#fff;color:#0d1725;text-decoration:none;
}
#floating-contact .floating-contact-action:hover {background:#edf5ff;color:#0059c6;transform:none;box-shadow:none}
#floating-contact .floating-contact-action[hidden] {display:none}
#floating-contact .contact-action-icon {width:24px;height:24px;flex:none;object-fit:contain}
#floating-contact .contact-action-text {display:grid;gap:3px;text-align:start;min-width:0}
#floating-contact .contact-action-text strong {font-size:15px;font-weight:600;line-height:1.5}
#floating-contact .contact-action-text small {font-size:13px;line-height:1.6;color:#485a72;overflow-wrap:anywhere}
#floating-contact :is(button,a):focus-visible {outline:3px solid #086de8;outline-offset:3px}
@keyframes contactReveal {from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* The app's modal focus and scroll lock take precedence over this non-modal popover. */
body[style*="overflow: hidden"] #floating-contact {visibility:hidden;pointer-events:none}
body:has(dialog[open],.modal-overlay:not([inert]),.palette-overlay:not([inert])) #floating-contact {visibility:hidden;pointer-events:none}
@media(max-width:1100px) {
  body:has(#admin-main-section:not([hidden]) .admin-mobile-nav) #floating-contact {--contact-bottom:88px}
}
@media(max-width:720px) {
  #floating-contact {inset-inline-end:12px;max-width:calc(100vw - 24px)}
  #floating-contact .floating-contact-toggle {width:52px;height:52px;padding:0}
  #floating-contact .floating-contact-label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body:has(.mobile-cta) #floating-contact {--contact-bottom:88px}
  body:has(#floating-contact) :is(.public-site-footer,.site-footer,.auth-footer,.privacy-measurement) {padding-block-end:88px}
}
@media(prefers-reduced-motion:reduce) {
  #floating-contact *,#floating-contact *::after {animation:none!important;transition:none!important}
}
@media print {#floating-contact {display:none!important}}
/* Give the keyboard and final application review priority over optional contact. */
@media screen and (max-width:720px) {
  body:has(#partner-auth-section:not([hidden])):has(input:focus,textarea:focus,select:focus) #floating-contact,
  body:has(#partner-auth-section:not([hidden])):has(#signup-review:not([hidden])) #floating-contact {visibility:hidden;pointer-events:none}
}

/* === css/type_scale.css === */
/**
 * Haplic — Type scale & weight ladder
 *
 * Loaded LAST in every bundle (after dzpartner.css) because it exists to overrule the
 * values those files set. Two measured problems it fixes:
 *
 * 1. No display step. The scale stopped at --text-3xl but nothing used it for headings:
 *    the hero H1 and a mid-page section title both resolved to 29.6px, and the hero's own
 *    600px override (2rem = 32px) made the phone headline LARGER than the desktop one.
 *    The ladder is now 48 / 28 / 20 and the hero is the biggest type at every width.
 *
 * 2. No weight contrast. Across both bundles: 700x47, 800x40, 900x31 against 400x3 —
 *    nearly everything was bold, so weight carried no meaning and hierarchy fell to size
 *    alone. 900 is now reserved for the page's display line and its display numerals;
 *    titles sit at 700 and labels at 600. See variables.css for the named rungs.
 */

/* ---- The ladder ----
   The disclosure band and the register card are callouts rather than page sections: their
   headings are set with their own surface in landing_polish.css. */
.section-divider-title h2,
.estimator-intro h2,
.faq-section h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-title);
  line-height: 1.28;
  color: #fff;
}
/* The supporting line under a section title is context, not a heading. */
.section-divider-title p,
.estimator-intro p,
.register-copy > p {
  font-weight: 400;
}

/* ---- Titles: card and panel headings step down from 800/900 to 700 ---- */
.trust-pillar-title,
.card-app-name,
.card-price-value,
.startup-title,
.overview-projects b,
.toast-body b,
.sheet-head strong,
.empty-state b,
.admin-side-brand b,
.modal-head h3,
.panel-heading h2,
.legal-page h2 { font-weight: var(--weight-title); }

/* Page titles inside a workspace are not display type — the display weight is spent on
   the numbers those pages exist to show. */
.admin-topbar h1,
.dashboard-header h1,
.pv-title,
.partner-identity h2 { font-weight: var(--weight-title); }

/* ---- Labels: pills, eyebrows and metadata drop to 600 so they read as annotations ---- */
.hero-badge-text,
.section-eyebrow,
.value-grid span,
.wd-eyebrow,
.wd-facts span,
.estimator-head span { font-weight: var(--weight-label); }

/* ---- Display numerals: the one place 900 still earns its keep ---- */
.overview-stat strong,
.capital-meter strong,
.stat-number,
.detail-amount,
.partner-figures strong,
.result-card strong { font-weight: var(--weight-display); }

/* Digits must not reflow while the estimator updates them, and must line up in columns.
   Home and portal already had this on the elements they animate; tables never did. */
.data-table td,
.audit-table td,
.capital-meter strong,
.partner-figures strong,
.numeric-value,
.result-card strong,
.detail-amount,
.modal-fact b {
  font-variant-numeric: tabular-nums;
}

/* ---- Narrative & body copy reading rhythm ---- */
p, li {
  line-height: 1.68;
}

/* ---- Latin runs ----
   The taglines and the request ids are Latin text rendered in Cairo's Latin glyphs, which
   are cramped and were set with 1.5-2px of letter-spacing to compensate. This stack is for
   those runs only, so no second Arabic family is introduced and no extra font is
   downloaded: 'IBM Plex Sans' is used when the machine already has it, otherwise the
   system UI font — both roomier than the fallback they replace. */
.footer-tagline-en,
.hero-tagline-en,
.kpi-pill strong,
[dir="ltr"].req-id {
  font-family: var(--font-latin);
}
.footer-tagline-en { letter-spacing: 0.6px; }

/* ---- Long Arabic headings ----
   `text-wrap: balance` stops a 2-line heading from leaving one word on the second line.
   Progressive enhancement: browsers without it keep the current wrapping. */
.section-divider-title h2,
.estimator-intro h2,
.register-copy h2,
.faq-section h2,
.welcome-title { text-wrap: balance; }

/* === css/company_shell.css === */
:root {
  color-scheme: dark;
  --font-main: "Readex Pro", sans-serif;
  --color-bg-base: #040e1d;
  --color-text: #f6f8ff;
  --color-text-muted: #b6c9e2;
  --color-green: #167bff;
  --color-cyan: #43b9ff;
  --color-on-brand: #fff;
}
body.company-home { background: #040e1d; background-image: none; }
.company-home a { color: inherit; text-decoration: none; }
.company-home button, .company-home summary { font: inherit; }
.company-container { width: min(100%,1487px); margin-inline: auto; padding-inline: 52px; }
.company-header { position: sticky; top: 0; z-index: 50; background: #040e1df2; border-bottom: 1px solid #168dff; backdrop-filter: blur(18px); }
.company-nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; transition: min-height .2s ease; }
.company-header.is-scrolled .company-nav { min-height: 70px; }
.company-brand { direction: ltr; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.company-brand img { width: 42px; height: 46px; object-fit: contain; }
.company-brand span { font: 800 36px/1.2 Arial,sans-serif; letter-spacing: -1px; }
.company-links { list-style: none; display: flex; gap: 46px; align-items: center; }
.company-links a { font-size: 16px; font-weight: 500; padding-block: 16px; }
.company-links a:hover, .company-links a[aria-current] { color: #65c7ff; }
.company-actions { display: flex; gap: 24px; align-items: center; }
.company-primary, .company-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 12px 27px; border-radius: 8px; font-weight: 500; font-size: 18px; border: 1px solid #168dff; transition: background .18s ease, transform .18s ease; }
.company-home .company-primary { background: #086ee8; color: #fff; }
.company-primary:hover { background: #0066db; transform: translateY(-2px); }
.company-secondary:hover { background: #102846; }
.company-actions .company-primary { min-width: 148px; min-height: 54px; font-size: 16px; padding-inline: 28px; }
.company-login { position: relative; }
.company-login summary { cursor: pointer; padding: 12px 8px; white-space: nowrap; min-height: 48px; }
.company-login[open] summary { color: #65c7ff; }
.company-login-menu { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; width: 245px; padding: 8px; background: #0b1a30; border: 1px solid #2d4e77; border-radius: 10px; box-shadow: 0 15px 40px #0006; }
.company-login-menu a { display: block; padding: 15px 12px; border-radius: 5px; font-size: 15px; }
.company-login-menu a:hover { background: #173657; }
.company-menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid #385472; border-radius: 6px; padding: 10px 12px; min-height: 44px; cursor: pointer; }
.company-footer { margin-top: 80px; padding-block: 50px 24px; border-top: 1px solid #1e3552; }
.company-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 50px; }
.company-footer p { color: #b6c9e2; font-size: 14px; max-width: 32ch; margin-block: 16px; }
.company-footer h3 { font-size: 16px; margin-bottom: 15px; }
.company-footer-grid > div > a:not(.company-brand) { display: block; width: fit-content; font-size: 14px; padding-block: 6px; color: #b6c9e2; }
.company-footer-grid > div > a:hover { color: #65c7ff; }
.company-copyright { text-align: center; color: #8ca7c8; font-size: 12px; margin-top: 36px; }
.company-home :focus-visible { outline: 3px solid #76cdff; outline-offset: 5px; }
html:has(.company-header) { scroll-padding-top: 104px; }
@media(max-width:1100px) {
  .company-container { padding-inline: 32px; }
  .company-links { gap: 22px; }
  .company-brand span { font-size: 30px; }
  .company-nav { gap: 20px; }
  .company-actions { gap: 12px; }
}
@media(max-width:900px) {
  .company-nav { min-height: 76px; position: relative; }
  .company-menu-toggle { display: inline-flex; }
  .company-actions > .company-login { display: none; }
  .company-navigation { display: none; position: absolute; top: 100%; inset-inline: 0; background: #0b1a30; padding: 18px 24px; border-bottom: 1px solid #385472; }
  .company-navigation.open { display: block; }
  .company-links { align-items: stretch; flex-direction: column; gap: 0; }
  .company-links a { display: block; padding: 12px 0; }
  .company-mobile-logins { display: block; border-top: 1px solid #385472; margin-top: 12px; padding-top: 12px; }
  .company-mobile-logins a { display: block; padding: 12px 0; }
  .company-footer-grid { grid-template-columns: repeat(2,1fr); gap: 30px; }
}
@media(min-width:901px) { .company-mobile-logins { display: none; } }
@media(max-width:600px) {
  .company-container { padding-inline: 20px; }
  .company-nav, .company-header.is-scrolled .company-nav { min-height: 72px; gap: 12px; }
  .company-brand { gap: 6px; }
  .company-brand img { width: 29px; height: 34px; }
  .company-brand span { font-size: 25px; }
  .company-actions { gap: 8px; }
  .company-actions .company-primary { min-width: 0; font-size: 13px; min-height: 44px; padding: 8px 12px; }
  .company-menu-toggle { font-size: 12px; padding: 8px; }
  .company-footer { margin-top: 48px; }
  .company-footer-grid { column-gap: 20px; }
  .company-footer-grid > div:first-child { grid-column: 1/-1; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  .company-home *, .company-home *::before, .company-home *::after { animation: none !important; transition: none !important; }
}

.company-home .network-notice { background: #143858; color: #fff; padding: 12px 20px; font-size: 14px; }
.company-home .company-footer { padding-bottom: 100px; }

/* Contact remains available on this surface. */

/* === css/premium_shell.css === */
html:has(.premium-home) { background: #f7faff; color-scheme: light; scroll-padding-top: 112px; }
body.company-home.premium-home {
  --color-text: #0d1725; --color-text-muted: #485a72; --color-bg-base: #f7faff;
  --color-green: #086de8; --color-cyan: #0066c7; --color-on-brand: #fff;
  --ease-out: cubic-bezier(.23,1,.32,1);
  background: #f7faff; background-image: none; color: #0d1725;
}
.premium-home ::selection { color: #06182b; background: #c4eaff; }
.premium-home .company-container { width: min(100%,1440px); padding-inline: clamp(24px,4.6vw,66px); }
.premium-home .company-header { background: #f7faffed; border: 0; box-shadow: none; }
.premium-home .company-nav, .premium-home .company-header.is-scrolled .company-nav { min-height: 104px; gap: 30px; }
.premium-home .company-brand { gap: 9px; color: #101827; }
.premium-home .company-brand img { width: 34px; height: 38px; }
.premium-home .company-brand span { font-size: 30px; }
.premium-home .company-links { gap: 40px; }
.premium-home .company-links a { font-size: 15px; font-weight: 400; color: #19273c; }
.premium-home .company-links a:hover { color: #0067d7; }
.premium-home .company-actions { gap: 20px; }
.premium-home .company-actions .company-primary { min-width: 132px; min-height: 44px; padding: 10px 20px; font-size: 14px; }
.premium-home .company-primary { background: #086de8; color: #fff; border-color: #086de8; }
.premium-home .company-primary:hover { background: #0059c6; }
.premium-home .company-login summary { padding-inline: 4px; font-size: 14px; color: #19273c; }
.premium-home .company-login[open] summary { color: #0067d7; }
.premium-home .company-login-menu { background: #fff; border-color: #c6d9ee; color: #14243c; box-shadow: 0 12px 30px #0d25461a; }
.premium-home .company-login-menu a:hover { background: #eaf3ff; }
.premium-home .company-menu-toggle { color: #123050; border-color: #9bb8d7; }
.premium-home .mobile-label { display: none; }
.premium-home :focus-visible { outline: 3px solid #0062cf; outline-offset: 5px; }
.premium-home .premium-project-details:focus-visible, .premium-home .premium-project-partner:focus-visible { outline-color: #65d9ff; }
.premium-home .network-notice { color: #fff; background: #123b64; }
.premium-home .premium-footer { margin-top: 68px; padding-block: 28px 40px; }
.premium-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-top: 34px; border-top: 1px solid #cfdef1; }
.premium-footer-brand { display: flex; align-items: center; gap: 22px; }
.premium-footer-brand p { color: #485a72; font-size: 12px; }
.premium-footer-links { display: flex; align-items: center; gap: 26px; }
.premium-footer-links a { color: #485a72; font-size: 12px; padding: 12px 0; }
.premium-footer-links a:hover { color: #0067d7; }
.premium-contact-details { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 24px; margin-top: 24px; color: #485a72; font-size: 13px; }
.premium-contact-details a { padding-block: 8px; }
.premium-contact-details a:hover { color: #0067d7; }
.premium-home .public-company-profile { margin-top: 60px; padding: 30px 0; border-top: 1px solid #cfdef1; color: #0d1725; }
.premium-home .public-company-profile p { color: #485a72; }
.premium-home .public-company-profile .section-eyebrow { display: none; }
.premium-home .public-company-profile h2 { font-size: 30px; }
.premium-home .company-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 24px; }
.premium-home .company-team { display: flex; flex-wrap: wrap; gap: 24px; }
.premium-home .team-member { display: flex; gap: 12px; align-items: center; }
.premium-home .team-member img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; }
@media(max-width:1100px) { .premium-home .company-links { gap: 34px; } .premium-home .company-nav { gap: 24px; } }
@media(max-width:900px) {
  .premium-home .company-nav, .premium-home .company-header.is-scrolled .company-nav { min-height: 78px; }
  .premium-home .company-navigation { background: #f7faff; border-color: #cfdef1; box-shadow: 0 10px 20px #12305012; }
  .premium-home .company-links { gap: 0; }
  .premium-home .company-mobile-logins { border-color: #cfdef1; }
  .premium-home .company-mobile-logins a { color: #19273c; }
}
@media(max-width:600px) {
  .premium-home .company-container { padding-inline: 20px; }
  .premium-home .company-nav, .premium-home .company-header.is-scrolled .company-nav { min-height: 74px; gap: 10px; }
  .premium-home .company-brand img { width: 28px; height: 32px; }
  .premium-home .company-brand span { font-size: 25px; }
  .premium-home .company-actions { gap: 8px; }
  .premium-home .company-actions .company-primary { min-width: 0; min-height: 44px; padding: 10px 13px; font-size: 12px; }
  .premium-home .full-label { display: none; } .premium-home .mobile-label { display: inline; }
  .premium-home .premium-footer { margin-top: 42px; padding-block: 24px; }
  .premium-footer-top { flex-direction: column; align-items: stretch; gap: 24px; }
  .premium-footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .premium-footer-links { justify-content: space-between; gap: 18px; }
  .premium-home .company-profile-grid { grid-template-columns: 1fr; }
}
@media (hover:none), (pointer:coarse) {
  .premium-home .company-primary:hover { transform: none; background: #086de8; }
  .premium-home .company-secondary:hover { transform: none; }
}

/* === css/premium_sections.css === */
.premium-main { position: relative; }
.premium-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,2.3fr) minmax(0,.9fr); gap: 6vw; align-items: center; min-height: 416px; padding-block: 24px 54px; }
.premium-ambient { position: absolute; z-index: -2; inset: -104px -66px 0; width: calc(100% + 132px); height: calc(100% + 104px); object-fit: fill; pointer-events: none; }
.premium-route { position: absolute; z-index: -1; width: calc(100% + 132px); max-width: none; height: auto; inset-inline-end: -20px; top: -52px; pointer-events: none; }
.premium-hero h1 { color: #0d1725; font-size: clamp(54px,6.6vw,96px); line-height: 1.35; letter-spacing: -.035em; font-weight: 700; margin: 0; }
.premium-hero h1 span { display: block; }
.premium-hero-description { margin-top: 30px; font-size: clamp(16px,1.8vw,22px); color: #1b2d43; line-height: 1.9; max-width: 60ch; }
.premium-hero-actions { margin-top: 30px; }
.premium-hero-actions .company-primary { min-height: 48px; min-width: 180px; font-size: 15px; padding: 12px 22px; }
.premium-arrow { width: 22px; height: 22px; object-fit: contain; }
.premium-hero-actions .premium-arrow { filter: brightness(0) invert(1); }
.premium-hero-callout { display: flex; flex-direction: column; align-items: flex-end; border-inline-end: 2px solid #087bff; padding-inline-end: 20px; justify-self: end; text-align: left; gap: 14px; width: fit-content; max-width: 100%; }
.premium-hero-callout span { color: #485a72; font-size: 14px; line-height: 1.7; max-width: 26ch; }
.premium-hero-callout strong { color: #0d1725; font-size: clamp(30px,4vw,48px); font-weight: 600; line-height: 1.4; }
.premium-hero-callout .premium-link-arrow { margin-top: 0; width: 22px; height: 22px; }
.premium-callout-category { font-size: 18px !important; color: #182c44 !important; }
.premium-callout-link { display: flex; align-items: center; gap: 12px; color: #005cc2 !important; margin-top: 16px; }
.premium-featured { width: min(100%,1440px); margin: 0 auto; border-radius: 12px; overflow: hidden; background: #0b2343; }
.premium-featured-project { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1fr); min-height: clamp(480px,53vw,600px); color: #fff; }
.premium-project-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px,5vw,72px) clamp(30px,4.6vw,66px); align-self: stretch; }
.premium-project-category { color: #bed4ee; font-size: 14px; margin-bottom: 20px; }
.premium-project-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.premium-featured-icon { width: 38px; height: 38px; border-radius: 7px; object-fit: contain; flex-shrink: 0; }
.premium-project-title { font-size: clamp(46px,6.4vw,72px); line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.premium-launch-state { color: #55d4ec; font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.premium-project-tagline { color: #fff; font-size: clamp(18px,2.3vw,25px); line-height: 1.6; font-weight: 500; margin-bottom: 24px; }
.premium-project-description { color: #bed4ee; font-size: 15px; line-height: 1.9; margin-bottom: 34px; }
.premium-project-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.premium-project-details { display: inline-flex; align-items: center; gap: 15px; min-height: 48px; min-width: 180px; border-radius: 6px; background: #fff; color: #12243b !important; padding: 13px 20px; font-size: 15px; }
.premium-project-details:hover { background: #e0f2ff; }
.premium-project-partner { display: inline-flex; gap: 12px; align-items: center; color: #50d9f0 !important; font-size: 14px; min-height: 44px; }
.premium-project-partner:hover { text-decoration: underline; text-underline-offset: 6px; }
.premium-project-partner .premium-link-arrow { filter: invert(83%) sepia(43%) saturate(798%) hue-rotate(137deg); }
.premium-partnership-state { color: #bed4ee; font-size: 12px; margin-top: 14px; }
.premium-project-art { position: relative; align-self: stretch; overflow: hidden; margin: 0; }
.premium-feature-photo { height: 100%; min-height: 480px; overflow: hidden; display: grid; place-items: center; background: #091c34; }
.premium-feature-photo img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.premium-feature-photo img.is-cms { object-fit: contain; }
.premium-project-art-caption { position: absolute; inset-inline-start: 20px; bottom: 14px; color: #fff; background: #07182dd9; font-size: 11px; padding: 6px 9px; border-radius: 4px; }
.premium-image-unavailable { color: #bed4ee; padding: 30px; }
.premium-company { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: center; gap: 70px; margin-top: 66px; }
.premium-company h2 { color: #0d1725; font-size: clamp(30px,4.1vw,48px); line-height: 1.4; letter-spacing: -.025em; font-weight: 700; }
.premium-company h2 span { display: block; }
.premium-company > p { color: #485a72; font-size: clamp(17px,2vw,23px); line-height: 1.8; white-space: pre-line; }
.premium-secondary-projects { margin-top: 46px; }
.premium-project-rows { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.premium-project-row { padding: 0 30px; text-align: center; border-inline-end: 1px solid #cfdef1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.premium-project-row:last-child { border-inline-end: 0; }
.premium-row-icon { width: 66px; height: 66px; border-radius: 50%; background: #eaf3ff; display: grid; place-items: center; margin-bottom: 12px; }
.premium-row-icon img { object-fit: contain; width: 34px; height: 34px; }
.premium-row-copy h3 { color: #0d1725; font-size: 19px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.premium-row-copy p { color: #485a72; font-size: 13px; margin-top: 8px; }
.premium-row-state { color: #485a72; font-size: 11px; margin-top: 10px; }
.premium-row-link { color: #0067d7 !important; font-size: 13px; display: flex; gap: 10px; align-items: center; min-height: 44px; margin-top: 10px; }
.premium-row-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.premium-row-link .premium-link-arrow { width: 17px; height: 17px; filter: invert(29%) sepia(91%) saturate(1612%) hue-rotate(193deg); }
.premium-link-arrow { object-fit: contain; flex-shrink: 0; }
.premium-project-empty, .premium-project-load-error { padding: 40px; line-height: 1.9; }
.premium-project-empty p, .premium-project-load-error p { color: #bed4ee; margin-block: 14px; }
.premium-project-load-error button { font: inherit; cursor: pointer; padding: 10px 20px; border: 1px solid #a2cef2; color: #fff; background: #12395c; border-radius: 6px; }
.premium-home .premium-project-rows .premium-project-empty { color: #485a72; }
@media(max-width:1100px) {
  .premium-hero { gap: 5vw; }
  .premium-project-copy { padding: 38px 32px; }
  .premium-project-description { font-size: 14px; margin-bottom: 26px; }
  .premium-featured-project { grid-template-columns: minmax(0,.62fr) minmax(0,1fr); }
  .premium-company { gap: 50px; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); }
  .premium-company h2 { font-size: clamp(30px,3.5vw,40px); }
  .premium-project-row { padding-inline: 18px; }
}
@media(max-width:900px) {
  .premium-hero { min-height: 420px; padding-block: 35px 44px; }
  .premium-hero h1 { font-size: clamp(42px,6.6vw,66px); }
  .premium-featured-project { min-height: 480px; }
  .premium-project-copy { padding: 30px 24px; }
  .premium-project-title { font-size: 44px; }
  .premium-project-tagline { font-size: 19px; }
  .premium-company { gap: 30px; }
  .premium-company h2 { font-size: 32px; }
}
@media(max-width:650px) {
  .premium-hero { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding-block: 35px 40px; overflow: clip; }
  .premium-hero h1 { font-size: clamp(32px,9.7vw,61px); letter-spacing: -.025em; line-height: 1.45; }
  .premium-hero-description { margin-top: 24px; font-size: 15px; }
  .premium-hero-actions { margin-top: 24px; }
  .premium-hero-actions .company-primary { min-height: 48px; min-width: 170px; }
  .premium-hero-callout { gap: 8px; padding-inline-end: 15px; justify-self: start; }
  .premium-hero-callout strong { font-size: 29px; }
  .premium-hero-callout span { font-size: 12px; }
  .premium-hero-callout .premium-link-arrow { display: none; }
  .premium-callout-link { font-size: 13px; margin-top: 6px; }
  .premium-ambient { inset-inline: -20px; width: calc(100% + 40px); }
  .premium-route { width: 200%; inset-inline-end: -12%; top: 0; opacity: .35; }
  .premium-featured { width: calc(100% - 40px); border-radius: 10px; }
  .premium-featured-project { grid-template-columns: 1fr; }
  .premium-project-copy { padding: 32px 24px; }
  .premium-project-title { font-size: 42px; }
  .premium-project-description { font-size: 14px; margin-bottom: 24px; }
  .premium-feature-photo { min-height: 300px; max-height: 400px; }
  .premium-feature-photo img { min-height: 300px; max-height: 400px; }
  .premium-company { margin-top: 46px; grid-template-columns: 1fr; gap: 24px; }
  .premium-company h2 { font-size: 30px; }
  .premium-company > p { font-size: 17px; }
  .premium-secondary-projects { margin-top: 38px; }
  .premium-project-rows { grid-template-columns: 1fr; gap: 24px; }
  .premium-project-row { border-inline-end: 0; padding: 20px 0; border-top: 1px solid #cfdef1; }
}

.premium-featured { color: #fff; }
.premium-feature-surface { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.premium-project-category { display: none; }
.premium-launch-state { order: -1; }
.premium-hero { isolation: auto; }
.premium-home { position: relative; isolation: isolate; }
.premium-ambient { inset: 0; width: 100%; height: min(58vw,720px); opacity: .62; z-index: -1; }
.premium-home .company-header:not(.is-scrolled) { background: transparent; }

/* === css/premium_motion.css === */
.company-home.premium-home :is(.company-primary,.company-secondary,.premium-primary,.premium-secondary,.premium-project-details) {
  transition: transform 160ms var(--ease-out), background-color 160ms ease,
    border-color 160ms ease, color 160ms ease;
}
.company-home.premium-home :is(.company-primary,.company-secondary,.premium-primary,.premium-secondary,.premium-project-details):active:not(:focus-visible) {
  transform: scale(.97);
}
.company-home.premium-home :is(.premium-arrow,.premium-link-arrow) {
  display: inline-block;
  transition: transform 160ms var(--ease-out);
}
.company-home.premium-home .premium-feature-photo img {
  transition: transform 160ms var(--ease-out);
}
.company-home.premium-home :is(a,button):focus-visible,
.company-home.premium-home :is(a,button):focus-visible :is(.premium-arrow,.premium-link-arrow) {
  transition-duration: 0ms;
}
@media (hover:hover) and (pointer:fine) {
  .company-home.premium-home :is(.company-primary,.company-secondary,.premium-primary,.premium-secondary,.premium-project-details):hover:not(:focus-visible) {
    transform: translateY(-1px);
  }
  .company-home.premium-home a:hover:not(:focus-visible) :is(.premium-arrow,.premium-link-arrow) {
    transform: translateX(-4px);
  }
}
@media (prefers-reduced-motion:reduce) {
  .company-home.premium-home :is(.company-primary,.company-secondary,.premium-primary,.premium-secondary,.premium-project-details),
  .company-home.premium-home :is(.premium-arrow,.premium-link-arrow),
  .company-home.premium-home .premium-feature-photo img {
    transition-duration: 0ms;
    transform: none !important;
  }
}

/* === css/marketing_context.css === */
/* Shared public decision context; CMS facts keep their own content authority. */
.premium-home .marketing-partnership {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:64px;align-items:start;border-block:1px solid #cfdef1;padding-block:40px;margin-top:44px}
.premium-home .marketing-partnership h2 {font-size:clamp(25px,3vw,36px);line-height:1.5;font-weight:600;letter-spacing:-.02em;max-width:24ch;color:#0d1725}
.premium-home .marketing-partnership p {font-size:16px;line-height:1.9;color:#485a72;max-width:65ch;margin-top:14px}
.premium-home .marketing-next-step > p {margin-top:0}
.premium-home .marketing-actions {display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;margin-top:22px}
.premium-home .marketing-actions .company-primary {min-height:48px;padding:12px 20px}
.premium-home .marketing-text-link,.premium-home .marketing-discuss {color:#005cc2;font-size:15px;line-height:1.7;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:underline;text-underline-offset:5px;padding-block:8px}
.premium-home .marketing-text-link:hover,.premium-home .marketing-discuss:hover {color:#003f89}
.premium-home .marketing-projects-heading {font-size:26px;font-weight:600;line-height:1.6;margin-bottom:8px}
.premium-home .marketing-projects-note {font-size:15px;line-height:1.8;color:#485a72;margin-bottom:28px}
.premium-home .marketing-feature-use {margin-block:-10px 24px;max-width:55ch}
.premium-home .marketing-feature-use h4 {font-size:15px;line-height:1.8;color:#fff;font-weight:600}
.premium-home .marketing-feature-use p {font-size:14px;line-height:1.9;color:#bed4ee;white-space:pre-line;overflow-wrap:anywhere;margin-top:6px}
.premium-home .marketing-store-link {color:#bed4ee;font-size:13px;line-height:1.8;display:inline-flex;gap:10px;align-items:center;min-height:44px}
.premium-home .marketing-store-link:hover {text-decoration:underline;text-underline-offset:5px}
.premium-home .marketing-store-link .premium-link-arrow {filter:brightness(0) invert(1)}
.premium-home .marketing-context {position:relative;border-bottom:1px solid #cfdef1;padding-block:12px}
.premium-home .marketing-context-heading,.premium-home .marketing-process p,.premium-home .marketing-context-note {display:none}
.premium-home .marketing-process {list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;align-items:center}
.premium-home .marketing-process li {display:flex;gap:10px;align-items:center;min-width:0}
.premium-home .marketing-process li > span {color:#005cc2;background:#e6f1ff;width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:50%;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
.premium-home .marketing-process h3 {font-size:14px;line-height:1.4;font-weight:600;color:#0d1725;margin:0}
.estimator-home .marketing-discuss {margin-top:2px}
.estimator-home .estimator-extra:not([open]) {display:block}
.premium-home .marketing-partnership,.premium-home .marketing-context,.premium-home .marketing-process li {overflow-wrap:anywhere}
@media(max-width:1000px) {
  .premium-home .marketing-partnership {gap:36px}
  .premium-home .marketing-context-heading {display:block}
  .premium-home .marketing-context-heading > p {margin-top:8px}
  .premium-home .marketing-process {gap:16px}
}
@media(max-width:700px) {
  .premium-home .marketing-partnership {grid-template-columns:1fr;gap:24px;margin-top:32px;padding-block:28px}
  .premium-home .marketing-partnership h2 {font-size:25px}
  .premium-home .marketing-partnership p {font-size:15px}
  .premium-home .marketing-actions {gap:12px 20px;margin-top:16px}
  .premium-home .marketing-context {padding-block:18px}
  .premium-home .marketing-context h2 {font-size:18px}
  .premium-home .marketing-process {grid-template-columns:1fr;gap:12px;margin-top:16px}
  .premium-home .marketing-process h3 {font-size:14px}
  .premium-home .marketing-process p {font-size:12px}
  .premium-home .marketing-context-note {font-size:12px;margin-top:12px}
  .premium-home .marketing-projects-heading {font-size:23px}
}
@media print {
  .marketing-context,.marketing-partnership,.marketing-discuss,.marketing-feature-use,.marketing-store-link,.public-company-profile {display:none!important}
}

/* === css/exhibition_home.css === */
html:has(.exhibition-home) { background: #fff; color-scheme: light; scroll-padding-top: 96px; }
body.company-home.exhibition-home {
  --color-bg-base: #fff; --color-text: #0b101c; --color-text-muted: #485a72;
  --color-green: #075df5; --color-cyan: #00bfd9; --color-on-brand: #fff;
  --ease-out: cubic-bezier(.23,1,.32,1);
  background: #fff; color: #0b101c; font-family: "Readex Pro", Arial, sans-serif;
}
.exhibition-home ::selection { color: #07192f; background: #c4eaff; }
.exhibition-home[dir="ltr"] { direction: ltr; text-align: left; }
.exhibition-main { overflow: clip; }
.exhibition-container { width: min(100%,1440px); padding-inline: 52px; margin-inline: auto; }
.exhibition-intro { position: relative; isolation: isolate; }
.exhibition-intro-layout { min-height: 184px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: 8%; padding-block: 16px; }
.exhibition-heading { position: relative; z-index: 1; }
.exhibition-company-type { color: #075df5; margin: 0 0 8px; font-size: 17px; font-weight: 500; }
.exhibition-heading h1 { margin: 0; font-size: clamp(34px,3.4vw,46px); line-height: 1.26; font-weight: 700; letter-spacing: -.024em; }
.exhibition-heading h1 span { display: block; }
.exhibition-company-intro { position: relative; z-index: 1; justify-self: end; max-width: 470px; padding-inline-end: 24px; border-inline-end: 2px solid #075df5; }
.exhibition-company-intro:has(.exhibition-company-more[open]) { max-width: 500px; }
.exhibition-company-intro > p { margin: 0 0 10px; font-size: 17px; line-height: 1.72; font-weight: 500; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.exhibition-company-more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #075df5; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.exhibition-company-more summary::-webkit-details-marker { display: none; }
.exhibition-company-more[open] > summary { margin-block-end: 8px; }
.exhibition-company-body { padding: 14px 16px; font-size: 14.5px; line-height: 1.75; background: rgba(255,255,255,.94); border: 1px solid #d4e4f7; border-radius: 12px; box-shadow: 0 10px 26px rgba(11,16,28,.05); }
.exhibition-company-body p { margin-block: 0; }
#company-story-copy:has(+ .exhibition-company-profile:not([hidden])) { display: none; }
.exhibition-company-profile dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; margin-block: 0 10px; padding: 10px 12px; background: #f8fbff; border: 1px solid #e2ecf9; border-radius: 8px; }
.exhibition-company-profile dt { font-size: 12px; color: #485a72; grid-row: 1; }
.exhibition-company-profile dd { margin: 0; font-size: 13.5px; font-weight: 600; grid-row: 2; }
.exhibition-company-profile > h3 { margin: 10px 0 6px; font-size: 13.5px; color: #485a72; }
.exhibition-company-team { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.exhibition-company-team article { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: #f8fbff; border: 1px solid #e2ecf9; border-radius: 8px; }
.exhibition-company-team img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; }
.exhibition-company-team h3 { margin: 0; font-size: 14px; }
.exhibition-company-team p { margin: 0; font-size: 12.5px; color: #485a72; }
.exhibition-ambient { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.exhibition-route { position: absolute; width: 604px; height: auto; inset-block-start: 0; inset-inline-end: 40%; opacity: 1; z-index: -1; pointer-events: none; }
.exhibition-catalog { border-block: 1px solid #d9e9ff; }
.exhibition-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px,1fr); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #aac7ec transparent; background: #fff; }
.exhibition-tab { position: relative; min-width: 0; min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 18px 8px; border: 0; border-block-end: 3px solid transparent; background: transparent; color: #24324b; font: inherit; text-align: start; cursor: pointer; }
.exhibition-tab[data-group="upcoming"] { background: #f7faff; }
.exhibition-tab[data-group="open"] + .exhibition-tab[data-group="upcoming"] { border-inline-start: 2px solid #b7d2f1; }
.exhibition-tab + .exhibition-tab { border-inline-start: 1px solid #d9e9ff; }
.exhibition-tab img { object-fit: contain; flex: 0 0 36px; }
.exhibition-tab strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.4; }
.exhibition-tab small { display: block; color: #647994; font-size: 13px; line-height: 1.45; margin-block-start: 2px; max-width: 205px; }
.exhibition-tab[aria-selected="true"] { color: #075df5; border-block-end-color: #075df5; }
.exhibition-tab[aria-selected="true"] small { color: #075df5; }
.exhibition-project-panel { min-height: 432px; width: min(100%,1440px); margin-inline: auto; display: grid; grid-template-columns: minmax(320px,.94fr) minmax(0,2.1fr); align-items: stretch; }
.exhibition-project-copy { align-self: center; position: relative; z-index: 2; padding: 32px 52px 32px 24px; }
.exhibition-project-copy h2 { font-size: clamp(68px,7.2vw,104px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 14px; overflow-wrap: anywhere; }
.exhibition-project-copy h2:has(+.exhibition-project-subtitle) { text-wrap: balance; }
.exhibition-project-copy.is-long-title h2 { font-size: clamp(42px,4.5vw,60px); line-height: 1.18; }
.exhibition-project-subtitle { color: #075df5; font-size: 24px; line-height: 1.48; font-weight: 500; margin: 0 0 14px; }
.exhibition-project-description { color: #162744; font-size: 19px; line-height: 1.6; margin: 0; max-width: 34ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; white-space: pre-line; }
.exhibition-project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-block-start: 22px; }
.exhibition-home .exhibition-primary,.exhibition-home .exhibition-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; padding: 12px 24px; border-radius: 8px; font: inherit; font-size: 19.5px; font-weight: 500; line-height: 1.4; text-align: center; cursor: pointer; }
.exhibition-home .exhibition-primary { background: #075df5; border: 1px solid #075df5; color: #fff; }
.exhibition-home .exhibition-secondary { border: 1px solid #075df5; color: #075df5; background: #fff; }
.exhibition-home .exhibition-store { font-size: 15px; color: #075df5; text-decoration: underline; text-underline-offset: 3px; }
.exhibition-arrow { flex-shrink: 0; width: 23px; height: 23px; }
.exhibition-primary .exhibition-arrow { filter: brightness(0) invert(1); }
.exhibition-art { position: relative; margin: 0; min-width: 0; min-height: 432px; display: grid; place-items: center; background: #f4faff; overflow: hidden; }
.exhibition-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.exhibition-art figcaption { position: absolute; inset-inline-end: 26px; inset-block-end: 12px; padding: 2px 8px; background: #f4faffed; color: #435f81; font-size: 12px; line-height: 1.5; }
.exhibition-art:has(img) figcaption { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.exhibition-art.is-cms { background: #edf7ff; }
.exhibition-art.is-cms > img { object-fit: contain; }
.exhibition-art.is-secondary { background: radial-gradient(circle at 50% 50%,#dcebff 0%,#f4faff 72%); }
.exhibition-art.is-secondary > img { width: min(100%,370px); height: 370px; object-fit: cover; border-radius: 20px; border: 1px solid #c7dfff; box-shadow: 0 20px 48px rgba(7,25,47,.16); }
.exhibition-art.is-symbol > img { width: 160px; height: 160px; border-radius: 0; }
.exhibition-art.is-secondary > img,.exhibition-art.is-symbol > img { inset: 50% auto auto 50%; transform: translate(-50%,-50%); }
.exhibition-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 60px 24px; text-align: center; min-height: 432px; }
.exhibition-state p { margin: 0; font-size: 19px; line-height: 1.7; }
.exhibition-partnership { position: relative; isolation: isolate; border-block-end: 1px solid #d9e9ff; background: linear-gradient(90deg,#f2f8ff 0%,#ffffff 100%); }
.exhibition-partnership-layout { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 22px; }
body:has(#floating-contact) .exhibition-partnership-layout { padding-inline-end: 52px; }
.exhibition-partnership h2 { font-size: clamp(22px,2.2vw,27px); font-weight: 700; letter-spacing: -.015em; margin: 0 0 6px; line-height: 1.38; }
.exhibition-partnership p { color: #435f81; font-size: 16px; line-height: 1.65; margin: 0; max-width: 68ch; }
.exhibition-partnership .exhibition-secondary { flex-shrink: 0; font-size: 17.5px; font-weight: 600; min-width: 244px; background: #075df5; color: #fff; border-color: #075df5; box-shadow: 0 10px 24px rgba(7,93,245,.2); }
.exhibition-partnership .exhibition-secondary .exhibition-arrow { filter: brightness(0) invert(1); }
.exhibition-partnership .exhibition-secondary:hover { background: #004ecc; }
.exhibition-partnership-route { position: absolute; inset-inline-end: 30%; inset-block-end: -63px; width: 800px; height: 345px; object-fit: contain; transform: rotate(153deg); opacity: .45; z-index: -1; pointer-events: none; }
.exhibition-home .public-site-footer { margin-top: 0; }
.exhibition-home :is(.exhibition-tab,.exhibition-primary,.exhibition-secondary,.exhibition-company-more summary):focus-visible { outline: 3px solid #075df5; outline-offset: 4px; }
.exhibition-home[dir="ltr"] .exhibition-arrow,html[dir="ltr"] .exhibition-home .exhibition-arrow { transform: rotate(180deg); }
html[dir="ltr"] .exhibition-home .exhibition-heading h1 { font-size: clamp(42px,4.15vw,60px); }
html[dir="ltr"] .exhibition-home .exhibition-project-copy { padding: 42px 24px 40px 52px; }
html[dir="ltr"] .exhibition-home .exhibition-project-copy h2 { font-size: clamp(60px,6.4vw,92px); }
@media (hover:hover) and (pointer:fine) {
  .exhibition-tab:hover { background: #f4faff; }
  .exhibition-home .exhibition-primary:hover { background: #0055d9; }
  .exhibition-home .exhibition-secondary:hover { background: #f1f7ff; }
}
@media (max-width: 1100px) {
  .exhibition-container { padding-inline: 34px; }
  .exhibition-intro-layout { gap: 8%; }
  .exhibition-heading h1 { font-size: 56px; }
  .exhibition-project-panel { grid-template-columns: minmax(300px,1fr) minmax(0,1.6fr); min-height: 430px; }
  .exhibition-project-copy { padding-inline: 34px 20px; }
  html[dir="ltr"] .exhibition-home .exhibition-project-copy { padding-inline: 34px 20px; }
  .exhibition-project-copy h2 { font-size: 86px; }
  .exhibition-project-subtitle { font-size: 22px; }
  .exhibition-art { min-height: 430px; }
}
@media (max-width: 760px) {
  .exhibition-container { padding-inline: 22px; }
  .exhibition-intro-layout { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
  .exhibition-company-type { font-size: 15px; margin-block-end: 8px; }
  .exhibition-heading h1,html[dir="ltr"] .exhibition-home .exhibition-heading h1 { font-size: clamp(34px,8vw,52px); line-height: 1.28; }
  .exhibition-company-intro { justify-self: stretch; max-width: 100%; padding-inline-end: 16px; }
  .exhibition-company-intro > p { font-size: 16px; margin-block-end: 6px; line-height: 1.7; }
  .exhibition-company-more summary { font-size: 16px; }
  .exhibition-route { display: none; }
  .exhibition-tabs { padding-inline: 0; grid-auto-columns: minmax(146px,1fr); }
  .exhibition-tab { min-height: 74px; gap: 10px; padding-inline: 12px; }
  .exhibition-tab img { width: 28px; height: 28px; flex-basis: 28px; }
  .exhibition-tab strong { font-size: 16px; }
  .exhibition-tab small { font-size: 12px; }
  .exhibition-project-panel { grid-template-columns: 1fr; min-height: 0; }
  .exhibition-project-copy,html[dir="ltr"] .exhibition-home .exhibition-project-copy { padding: 28px 22px 22px; }
  .exhibition-project-copy h2,html[dir="ltr"] .exhibition-home .exhibition-project-copy h2 { font-size: clamp(50px,14vw,74px); margin-block-end: 12px; }
  .exhibition-project-subtitle { font-size: 21px; margin-block-end: 10px; }
  .exhibition-project-description { font-size: 17px; line-height: 1.7; }
  .exhibition-project-actions { margin-block-start: 20px; }
  .exhibition-home .exhibition-primary,.exhibition-home .exhibition-secondary { min-height: 52px; font-size: 18px; gap: 16px; padding: 12px 20px; }
  .exhibition-art { min-height: 0; height: clamp(210px,56vw,400px); }
  .exhibition-art > img { object-fit: contain; }
  .exhibition-art.is-cms > img { max-height: 100%; }
  .exhibition-art.is-secondary > img { width: 190px; height: 190px; }
  .exhibition-art.is-symbol > img { width: 112px; height: 112px; }
  .exhibition-art figcaption { font-size: 11px; inset-inline-end: 14px; inset-block-end: 8px; }
  .exhibition-state { min-height: 300px; }
  .exhibition-partnership-layout,body:has(#floating-contact) .exhibition-partnership-layout { min-height: 0; flex-direction: column; align-items: stretch; gap: 18px; padding-block: 25px; padding-inline-end: 22px; }
  .exhibition-company-profile dl,.exhibition-company-team { grid-template-columns: 1fr; }
  .exhibition-company-profile dt,.exhibition-company-profile dd { grid-row: auto; }
  .exhibition-partnership h2 { font-size: 25px; }
  .exhibition-partnership p { font-size: 16px; }
  .exhibition-partnership .exhibition-secondary { min-width: 0; align-self: flex-start; }
  .exhibition-partnership-route { opacity: .2; }
}
@media (prefers-reduced-motion:reduce) { .exhibition-home { scroll-behavior: auto; } }

/* The published app screenshot stays visible, while the editorial CORSA art gives
   the project its intended visual scale in the public exhibition. */
.exhibition-project-copy h2 { font-size: clamp(46px,4.8vw,68px); }
.exhibition-project-copy.is-long-title h2 { font-size: clamp(36px,3.8vw,52px); }
.exhibition-project-subtitle { font-size: clamp(18px,1.6vw,21px); }
.exhibition-project-description { font-size: 16.5px; line-height: 1.72; max-width: 48ch; -webkit-line-clamp: 4; }
.exhibition-art.is-corsa { background: #eaf6ff url('/assets/company/corsa-hero-journey-v2.webp') center / cover no-repeat; }
.exhibition-art.is-corsa.is-cms > img { opacity: 0; pointer-events: none; width: 1px; height: 1px; }
@media (max-width:760px) {
  .exhibition-project-copy h2 { font-size: clamp(42px,11vw,58px); }
}
.exhibition-steps { padding-block: 16px 36px; }
.exhibition-steps-heading { margin: 0 0 20px; font-size: clamp(22px,2.2vw,28px); font-weight: 800; color: #0b162c; letter-spacing: -.015em; }
.exhibition-steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.exhibition-step-card { position: relative; padding: 24px 26px; border: 1px solid #d4e4f7; border-radius: 20px; background: linear-gradient(180deg,#ffffff 0%,#f7fbff 100%); box-shadow: 0 12px 30px rgba(7,25,47,.04); }
.exhibition-step-num { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; padding-inline: 10px; margin-bottom: 12px; border-radius: 999px; background: #e8f2ff; color: #075df5; font: 800 13px/1 Arial,sans-serif; letter-spacing: .04em; }
.exhibition-step-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #0b162c; line-height: 1.4; }
.exhibition-step-card p { margin: 0; font-size: 14.5px; color: #475b78; line-height: 1.72; }
html[data-theme=dark] .exhibition-steps-heading,html[data-theme=dark] .exhibition-step-card h3 { color: #f0f6ff; }
html[data-theme=dark] .exhibition-step-card { border-color: rgba(120,165,230,.22); background: linear-gradient(180deg,#122038 0%,#0e192b 100%); }
html[data-theme=dark] .exhibition-step-num { background: rgba(7,93,245,.24); color: #7eb8ff; }
html[data-theme=dark] .exhibition-step-card p { color: #b4c6de; }
@media (max-width:860px) { .exhibition-steps-grid { grid-template-columns: 1fr; gap: 12px; } }



/* === css/exhibition_preview.css === */
/* NovaWave & Moonvest inspired homepage: framed hero canvas, two-tone headline,
   metrics bar, 3-pillar spotlight cards, and bento project showcase. */
body.company-home.exhibition-home { background: #f2f7ff; }
.exhibition-route,.exhibition-partnership-route,.exhibition-ambient,.exhibition-hero-preview { display: none !important; }
.exhibition-intro { padding-block: 18px 14px; }
.exhibition-intro-layout { width: min(calc(100% - 64px),1376px); min-height: 360px; margin-inline: auto; padding: 38px 44px; grid-template-columns: minmax(0,1.18fr) minmax(380px,1fr); gap: clamp(28px,3.6vw,52px); border-radius: 28px; background: linear-gradient(135deg,#ffffff 0%,#f3f8ff 58%,#e3efff 100%); border: 1px solid #cfe1fb; box-shadow: 0 22px 54px rgba(11,30,66,.07); }
.exhibition-company-type { display: inline-flex; align-items: center; padding: 6px 15px; border-radius: 999px; background: #e6f0ff; border: 1px solid #bfd7fc; color: #075df5; font-size: 13.5px; font-weight: 700; margin: 0 0 14px; letter-spacing: .01em; }
.exhibition-heading h1 { font-size: clamp(34px,3.5vw,48px); max-width: 19ch; line-height: 1.22; margin: 0 0 14px; color: #0b101c; }
.exhibition-heading h1 [data-exhibition-copy="titleSecond"] { color: #075df5; }
.exhibition-hero-lead { margin: 0; font-size: 16.5px; line-height: 1.75; color: #3b4f6b; max-width: 52ch; }
.exhibition-hero-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-block-start: 26px; padding-block-start: 20px; border-block-start: 1px solid #d5e4f8; }
.exhibition-stat-item { display: grid; gap: 4px; padding-inline-start: 16px; border-inline-start: 2px solid #b9d3f8; text-align: start; }
.exhibition-stat-item:first-child { padding-inline-start: 0; border-inline-start: 0; }
.exhibition-stat-item strong { font-size: clamp(22px,2.1vw,27px); font-weight: 800; color: #0b101c; line-height: 1.25; unicode-bidi: isolate; }
.exhibition-stat-item span { font-size: 13px; font-weight: 600; color: #485a72; line-height: 1.4; }
.exhibition-company-intro { display: grid; align-content: center; gap: 16px; justify-self: stretch; max-width: 100%; padding: 26px 24px; border: 1px solid #cfe1fb; border-radius: 24px; background: #ffffff; box-shadow: 0 18px 42px rgba(7,93,245,.08); }
.exhibition-trust-heading { margin: 0; font-size: 16px; font-weight: 700; color: #0b101c; text-align: center; }
.exhibition-trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.exhibition-trust-list li { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px 12px; border-radius: 16px; background: #f5f9ff; border: 1px solid #d8e6f8; font-size: 13.5px; font-weight: 600; line-height: 1.55; color: #133058; text-align: center; }
.exhibition-trust-list li:nth-child(2) { background: #e8f2ff; border-color: #84b4f9; box-shadow: 0 12px 28px rgba(7,93,245,.15); transform: translateY(-3px); }
.exhibition-trust-list li::before { content: "✓"; width: 32px; height: 32px; margin-inline: auto; border-radius: 50%; background: #075df5; color: #ffffff; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(7,93,245,.28); }
.exhibition-company-more { border-block-start: 1px solid #dce8f8; padding-block-start: 12px; }
.exhibition-company-more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14.5px; }
.exhibition-catalog { width: min(calc(100% - 64px),1376px); margin: 14px auto 24px; padding: 28px; border-radius: 28px; background: #ffffff; border: 1px solid #cfe1fb; box-shadow: 0 20px 48px rgba(11,30,66,.06); }
.exhibition-tabs { width: 100%; padding: 8px; gap: 10px; border-radius: 18px; background: #eef5ff; border: 1px solid #d4e4f8; margin-bottom: 22px; }
.exhibition-tab { min-height: 70px; padding: 10px 16px; gap: 12px; justify-content: flex-start; border: 1px solid transparent !important; border-radius: 14px; background: transparent; transition: all 180ms ease; }
.exhibition-tab[data-group="upcoming"] { background: transparent; }
.exhibition-tab img { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
.exhibition-tab strong { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.exhibition-tab small { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; margin-block-start: 4px; background: #dbe7f6; color: #364b68; }
.exhibition-tab[data-group="open"] small { background: #d8f3e5; color: #0c6b3d; }
.exhibition-tab[aria-selected="true"] { background: #ffffff; border-color: #9dc2f7 !important; color: #075df5; box-shadow: 0 8px 22px rgba(7,93,245,.12); }
.exhibition-project-panel { width: 100%; min-height: 400px; padding: 20px; gap: 24px; grid-template-columns: minmax(420px,1.15fr) minmax(0,1.35fr); border-radius: 22px; border: 1px solid #dce8f8 !important; background: #f8fbff; }
.exhibition-project-copy { padding: 18px 20px !important; display: grid; align-content: center; gap: 12px; }
.exhibition-project-badge { justify-self: start; display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #eef4fc; color: #364b68; border: 1px solid #d4e4f7; }
.exhibition-project-badge[data-group="open"] { background: #d8f3e5; color: #0c6b3d; border-color: #a7e3c5; }
.exhibition-project-copy h2 { font-size: clamp(36px,3.8vw,52px) !important; margin: 0; }
.exhibition-project-copy.is-long-title h2 { font-size: clamp(30px,3.2vw,42px) !important; }
.exhibition-project-subtitle { font-size: clamp(17px,1.5vw,20px); margin: 0; color: #075df5; font-weight: 600; }
.exhibition-project-description { font-size: 16px; line-height: 1.75; color: #334763; max-width: 48ch; }
.exhibition-project-actions { margin-block-start: 8px; gap: 10px; }
.exhibition-project-actions :is(.exhibition-primary,.exhibition-secondary) { min-height: 48px; padding: 10px 18px; font-size: 15px; font-weight: 600; border-radius: 12px; gap: 10px; }
.exhibition-art { min-height: 368px; border-radius: 18px; border: 1px solid #cfe1fb; overflow: hidden; box-shadow: 0 14px 32px rgba(7,25,47,.1); }
.exhibition-partnership { padding-block: 8px 32px; background: transparent; border: 0; }
.exhibition-partnership-layout,body:has(#floating-contact) .exhibition-partnership-layout { width: min(calc(100% - 64px),1376px); min-height: 0; margin-inline: auto; padding: 28px 38px; border-radius: 24px; border: 1px solid #b9d3f8; background: linear-gradient(135deg,#e3efff 0%,#f4f9ff 55%,#ffffff 100%); box-shadow: 0 16px 38px rgba(7,93,245,.08); }
.exhibition-partnership .exhibition-secondary { border-radius: 12px; min-height: 52px; padding: 12px 26px; font-size: 16.5px; }
@media (max-width:1024px) {
  .exhibition-intro-layout,.exhibition-project-panel { grid-template-columns: 1fr; }
}
@media (max-width:760px) {
  .exhibition-intro-layout,.exhibition-catalog,.exhibition-partnership-layout,body:has(#floating-contact) .exhibition-partnership-layout { width: calc(100% - 28px); padding: 20px 18px; border-radius: 20px; }
  .exhibition-hero-stats,.exhibition-trust-list { grid-template-columns: 1fr; gap: 10px; }
  .exhibition-stat-item { padding-inline-start: 0; border-inline-start: 0; border-block-start: 1px solid #d5e4f8; padding-block-start: 8px; }
  .exhibition-stat-item:first-child { border-block-start: 0; padding-block-start: 0; }
  .exhibition-trust-list li { display: flex; align-items: center; text-align: start; padding: 12px 14px; transform: none !important; }
  .exhibition-trust-list li::before { margin-inline: 0; flex-shrink: 0; }
  .exhibition-project-panel { padding: 12px; gap: 14px; }
  .exhibition-project-copy { padding: 8px 6px !important; }
  .exhibition-art { min-height: 220px; }
}

/* === css/public_navigation.css === */
.public-site-header,.public-site-footer {
  --public-ink:#101a2b;--public-muted:#475b78;--public-line:#d4e2f5;
  --public-primary:#0863ef;--public-hover:#0053d1;--public-surface:#f8fbff;
  color:var(--public-ink);font-family:var(--font-main,"Readex Pro",Arial,sans-serif);line-height:1.65;
}
body:has([data-public-header])[dir=ltr] {direction:ltr;text-align:left}
.public-site-header {position:sticky;top:0;z-index:70;background:rgba(248, 251, 255, 0.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(204, 222, 246, 0.85);box-shadow:0 8px 24px rgba(11, 26, 51, 0.04)}
.public-chrome-container {width:min(100%,1487px);margin-inline:auto;padding-inline:clamp(20px,3.6vw,52px)}
.public-header-row {min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.public-site-header a,.public-site-footer a {color:var(--public-ink);text-decoration:none}
.public-brand {direction:ltr;display:inline-flex;align-items:center;gap:10px;flex-shrink:0}
.public-brand img {width:34px;height:38px;object-fit:contain}
.public-brand span {font:800 30px/1.15 'Readex Pro', 'IBM Plex Sans', system-ui, sans-serif;letter-spacing:-0.03em}
.public-navigation {min-width:0}
.public-main-links {display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.public-main-links>li>a {display:inline-flex;align-items:center;min-height:48px;padding-block:12px;font-size:14px;font-weight:500;white-space:nowrap}
.public-main-links a[aria-current],.public-main-links a:hover {color:var(--public-primary)}
.public-main-links>li>a[aria-current] {box-shadow:inset 0 -2px var(--public-primary)}
.public-header-actions,.public-desktop-tools {display:flex;align-items:center;gap:18px;flex-shrink:0}
.public-language {display:inline-flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
.public-language button {border:0;background:transparent;color:var(--public-ink);font:inherit;padding:10px 0;min-height:44px;cursor:pointer}
.public-language button[aria-pressed=true] {color:var(--public-primary);font-weight:600}
.public-language span {color:#7890b2}
.public-disclosure {position:relative}
.public-disclosure summary {display:inline-flex;align-items:center;gap:6px;min-height:48px;cursor:pointer;font-size:14px;font-weight:500;list-style:none;white-space:nowrap}
.public-disclosure summary::-webkit-details-marker {display:none}
.public-chevron {width:16px;height:16px;transition:transform 160ms ease}
.public-disclosure[open] .public-chevron {transform:rotate(180deg)}
.public-dropdown {position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:230px;max-width:min(320px,calc(100vw - 40px));padding:8px;background:#fff;border-radius:10px;box-shadow:0 12px 28px #142e4e22}
.public-dropdown a {display:block;min-height:44px;padding:10px 12px;border-radius:6px;font-size:14px;overflow-wrap:anywhere}
.public-dropdown a:hover,.public-dropdown a[aria-current] {background:#eaf3ff;color:var(--public-primary)}
.public-site-header .public-partnership {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:46px;padding:10px 18px;border-radius:10px;background:var(--public-primary);color:#fff;font-size:14px;font-weight:600;white-space:nowrap;box-shadow:0 6px 18px rgba(8, 99, 239, 0.22);transition:background-color 160ms ease,transform 160ms ease,box-shadow 160ms ease}
.public-site-header .public-partnership:hover {background:var(--public-hover);transform:translateY(-1px);box-shadow:0 8px 22px rgba(8, 99, 239, 0.28)}
.public-menu-toggle {display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #9cb9dc;border-radius:8px;background:transparent;color:var(--public-ink);cursor:pointer}
.public-menu-toggle img {width:22px;height:22px}
.public-mobile-tools {display:none}
.public-site-header [hidden],.public-site-footer [hidden] {display:none!important}
.public-site-header :focus-visible,.public-site-footer :focus-visible {outline:3px solid var(--public-primary);outline-offset:4px}
.public-site-header a,.public-site-header button,.public-site-footer a {transition:color 160ms ease,background 160ms ease}
html:has([data-public-header]) {scroll-padding-top:104px}
.numeric-value,[data-teaser-payout],.exhibition-stat-item strong,.exhibition-teaser-kpi strong {font-variant-numeric:tabular-nums}
.public-site-footer {margin-top:48px;border-top:1px solid var(--public-line);background:var(--public-surface);padding-block:26px 12px}
.public-footer-grid {display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:0;align-items:stretch}
.public-footer-grid>section {padding-inline-start:var(--public-footer-column-pad,32px);border-inline-start:1px solid var(--public-line)}
.public-footer-contact {--public-footer-column-pad:76px}
.public-site-footer h2 {display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;margin:0 0 6px;line-height:1.7;min-height:28px}
.public-footer-brand .public-brand span {font-size:36px}
.public-footer-brand .public-brand img {width:38px;height:42px}
.public-footer-brand p {font-size:14px;color:var(--public-muted);margin:8px 0 10px;max-width:34ch}
.public-footer-socials {display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.public-footer-socials:not(:has(a:not([hidden]))) {display:none}
.public-site-footer .public-social-link {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;background:#eaf1fc;border-radius:50%;color:var(--public-ink)}
.public-site-footer .public-social-link:hover {background:#dceaff}
.public-contact-icon {width:20px;height:20px;object-fit:contain;flex:none}
.public-footer-links {display:flex;flex-wrap:wrap;gap:4px 16px}
.public-footer-links a {display:block;min-height:36px;width:fit-content;font-size:14px;padding-block:6px;overflow-wrap:anywhere}
.public-site-footer .public-contact-row {display:flex;align-items:center;gap:14px;min-height:32px;width:fit-content;max-width:100%;font-size:14px;padding-block:3px;overflow-wrap:anywhere}
.public-site-footer .public-contact-row>bdi,.public-site-footer .public-contact-row>span {min-width:0;overflow-wrap:anywhere}
[dir=rtl] .public-site-footer .public-contact-row {flex-direction:row-reverse}
.public-footer-contact-list {display:grid;width:max-content;max-width:100%}
.public-site-footer .public-footer-contact-list .public-contact-row {display:grid;grid-template-columns:20px minmax(0,1fr);direction:ltr;width:100%;text-align:start}
[dir=ltr] .public-site-footer .public-admin-chevron {transform:rotate(180deg)}
.public-site-footer a:hover {color:var(--public-primary)}
.public-site-footer a[aria-current] {color:var(--public-primary);font-weight:600}
.public-footer-contact [data-company-phones]:not([hidden])~[data-company-phone] {display:none}
.public-footer-address {font-size:13px;color:var(--public-muted);margin:6px 0;max-width:32ch;overflow-wrap:anywhere}
.public-footer-information [data-company-map] {color:var(--public-primary)}
.public-footer-information .public-footer-admin {color:var(--public-primary);margin-top:12px;padding-top:12px;border-top:1px solid var(--public-line);width:100%;max-width:280px}
.public-footer-map .public-contact-icon,.public-footer-admin .public-contact-icon {filter:invert(31%) sepia(91%) saturate(2555%) hue-rotate(209deg) brightness(94%) contrast(105%)}
.public-footer-contact:not(:has([data-company-phones]:not([hidden]),[data-company-phone]:not([hidden]),[data-company-email]:not([hidden]),[data-company-whatsapp]:not([hidden]),[data-company-instagram]:not([hidden]),[data-company-facebook]:not([hidden]),[data-company-linkedin]:not([hidden]))) {display:none}
.public-footer-bottom {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding-top:10px;border-top:1px solid var(--public-line);font-size:12px;color:var(--public-muted)}
.public-footer-bottom p {margin:0}
.public-footer-bottom>div {display:flex;flex-wrap:wrap;gap:16px}
.public-footer-bottom a {font-size:12px;color:var(--public-muted)}
.public-footer-bottom a+a {border-inline-start:1px solid var(--public-line);padding-inline-start:16px}
.public-fallback {display:flex;flex-wrap:wrap;gap:12px 20px;padding-block:18px}
.public-fallback a {font-size:14px;color:var(--public-ink);padding:6px 0}
@media(max-width:1300px) {.public-main-links {gap:16px}.public-header-actions,.public-desktop-tools {gap:12px}.public-header-row {gap:20px}.public-brand span {font-size:28px}}
@media(max-width:1100px) {
  .public-header-row {min-height:76px;position:relative;gap:16px}
  .public-desktop-tools {display:none}
  .public-menu-toggle {display:inline-flex}
  .public-navigation {position:absolute;top:100%;inset-inline:20px;background:#fff;padding:16px 20px 20px;border-radius:10px;box-shadow:0 12px 26px #142e4e1c;max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}
  .public-main-links {display:flex;align-items:stretch;flex-direction:column;gap:0}
  .public-main-links>li>a {display:flex;min-height:44px;padding-block:10px;white-space:normal;font-size:16px}
  .public-main-links>li>a[aria-current] {box-shadow:none}
  .public-main-links .public-disclosure summary {display:flex;justify-content:space-between;font-size:16px}
  .public-dropdown {position:static;min-width:0;max-width:none;padding:0 12px 8px;box-shadow:none;background:#f2f7fe}
  .public-dropdown a {font-size:15px}
  .public-mobile-tools {display:flex;align-items:flex-start;flex-direction:column;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--public-line)}
  .public-mobile-logins {display:flex;flex-direction:column;gap:0}
  .public-mobile-logins a {display:block;font-size:15px;min-height:44px;padding-block:10px}
  .public-footer-grid {gap:24px;grid-template-columns:1fr 1fr}
  .public-footer-brand {grid-column:1/-1}
  .public-footer-grid>section {padding-inline-start:0;border-inline-start:0}
}
@media(max-width:480px) {
  .public-header-row {min-height:72px;gap:10px}
  .public-brand {gap:7px}.public-brand span {font-size:24px}.public-brand img {width:28px;height:32px}
  .public-header-actions {gap:8px}
  .public-site-header .public-partnership {font-size:11px;min-height:44px;padding:9px 10px;max-width:126px;white-space:normal;text-align:center;line-height:1.5}
  .public-site-footer {margin-top:32px;padding-top:26px}
  .public-footer-grid {grid-template-columns:1fr;gap:20px}
  .public-footer-brand {grid-column:auto}
  .public-footer-brand .public-brand span {font-size:30px}
  .public-site-footer .public-contact-row {min-height:44px;padding-block:6px}
  .public-footer-grid>section {border-top:1px solid var(--public-line);padding-top:20px}
  .public-footer-bottom {align-items:flex-start;flex-direction:column;gap:12px}
}
@media(prefers-reduced-motion:reduce) {.public-site-header *,.public-site-footer * {transition:none!important}.public-site-header .public-partnership:hover {transform:none}}
@media print {.public-site-header,.public-site-footer {display:none!important}}
@media screen and (max-width:700px) {
  .public-site-footer .public-social-link {width:44px;height:44px}
  .public-site-footer :is(.public-contact-row,.public-footer-links a) {min-height:44px}
  .public-language button {min-height:44px;min-width:44px}
}

/* === css/advisor_call_modal.css === */
.advisor-call-overlay[hidden], .advisor-call-overlay.is-leaving { display: none !important; }
#corsa-simulation .csp-advisor-call-btn { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding-block: 10px; padding-inline: 16px; border: 1px solid #086de8; border-radius: 12px; background: #eef6ff; color: #0055bf; font-size: 14px; font-weight: 700; line-height: 1.6; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
#corsa-simulation .csp-advisor-call-btn:hover { background: #dcebff; }
html[data-theme=dark] #corsa-simulation .csp-advisor-call-btn { border-color: #4b96f3; background: #142844; color: #8cc2ff; }
html[data-theme=dark] #corsa-simulation .csp-advisor-call-btn:hover { background: #1b3558; }

.advisor-call-overlay { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(9, 19, 36, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.acm-dialog { width: min(100%, 560px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(18px, 3vw, 26px); border: 1px solid #cfdef1; border-radius: 18px; background: #ffffff; color: #0d1725; box-shadow: 0 24px 60px rgba(7, 22, 46, 0.28); text-align: start; }
.acm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acm-badge { display: inline-block; padding-block: 3px; padding-inline: 10px; border-radius: 999px; background: #e9f3ff; color: #0055bf; font-size: 12px; font-weight: 700; line-height: 1.6; }
.acm-head h3 { margin: 6px 0 0; font-size: clamp(19px, 2.2vw, 22px); font-weight: 700; line-height: 1.45; color: #0d1725; }
.acm-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #cfdef1; border-radius: 10px; background: #f7fbff; color: #14243c; font-size: 22px; line-height: 1; cursor: pointer; }
.acm-lead { margin: 10px 0 14px; color: #485a72; font-size: 14.5px; line-height: 1.8; }

.acm-sim-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 14px; border: 1px solid #d5e6fb; border-radius: 12px; background: #f2f8ff; margin-bottom: 16px; }
.acm-sim-summary span { display: block; font-size: 12px; color: #485a72; line-height: 1.6; }
.acm-sim-summary strong { display: block; font-size: 16px; font-weight: 700; color: #0055bf; line-height: 1.5; }

.acm-slots { margin: 0 0 14px; padding: 0; border: 0; }
.acm-slots legend { margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: #14243c; }
.acm-slots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acm-slot-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 8px 10px; border: 1px solid #cfdef1; border-radius: 12px; background: #ffffff; color: #14243c; cursor: pointer; text-align: center; }
.acm-slot-btn strong { font-size: 13px; line-height: 1.5; }
.acm-slot-btn bdi { font-size: 12px; color: #485a72; }
.acm-slot-btn[aria-pressed=true] { border-color: #086de8; background: #086de8; color: #ffffff; }
.acm-slot-btn[aria-pressed=true] bdi { color: #e9f3ff; }

.acm-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.acm-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #14243c; line-height: 1.6; }
.acm-field select, .acm-field input { width: 100%; min-height: 44px; padding-block: 8px; padding-inline: 12px; border: 1px solid #b8cde6; border-radius: 10px; background: #ffffff; color: #0d1725; font-size: 14px; box-sizing: border-box; }

.acm-preview-wrap { margin-bottom: 14px; }
.acm-preview-label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #485a72; }
.acm-preview { margin: 0; padding: 10px 12px; border: 1px solid #cfdef1; border-radius: 10px; background: #f7fbff; color: #14243c; font-family: inherit; font-size: 12.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }

.acm-actions { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; }
.acm-wa-btn, .acm-copy-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding-block: 10px; padding-inline: 14px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.acm-wa-btn { border: 1px solid #15803d; background: #15803d; color: #ffffff; }
.acm-copy-btn { border: 1px solid #cfdef1; background: #f7fbff; color: #14243c; }
.acm-status { margin: 8px 0 0; min-height: 20px; color: #15803d; font-size: 13px; font-weight: 600; }
.acm-privacy { margin: 4px 0 0; color: #485a72; font-size: 12px; line-height: 1.7; }

html[data-theme=dark] .acm-dialog { border-color: #334862; background: #111d30; color: #edf4ff; }
html[data-theme=dark] .acm-head h3 { color: #edf4ff; }
html[data-theme=dark] .acm-badge { background: #172b47; color: #8cc2ff; }
html[data-theme=dark] .acm-close, html[data-theme=dark] .acm-copy-btn, html[data-theme=dark] .acm-preview { border-color: #334862; background: #16263e; color: #edf4ff; }
html[data-theme=dark] .acm-lead, html[data-theme=dark] .acm-sim-summary span, html[data-theme=dark] .acm-preview-label, html[data-theme=dark] .acm-privacy { color: #b5c6dc; }
html[data-theme=dark] .acm-sim-summary { border-color: #2c4362; background: #16263e; }
html[data-theme=dark] .acm-sim-summary strong { color: #8cc2ff; }
html[data-theme=dark] .acm-slots legend, html[data-theme=dark] .acm-field label { color: #dce8f8; }
html[data-theme=dark] .acm-slot-btn, html[data-theme=dark] .acm-field select, html[data-theme=dark] .acm-field input { border-color: #334862; background: #15243b; color: #edf4ff; }
html[data-theme=dark] .acm-slot-btn bdi { color: #b5c6dc; }
html[data-theme=dark] .acm-slot-btn[aria-pressed=true] { border-color: #086de8; background: #086de8; color: #ffffff; }
html[data-theme=dark] .acm-status { color: #86efac; }
@media (max-width: 620px) { .acm-slots-grid, .acm-fields, .acm-actions, .acm-sim-summary { grid-template-columns: 1fr; } }

/* === css/exhibition_upgrades.css === */
/* Homepage 6-upgrade styles: hero actions, visible legal profile, interactive teaser,
   ventures availability meter, partner portal preview, and contractual FAQ accordion. */
.company-discovery-actions :is(.exhibition-hero-sim-btn, .exhibition-hero-advisor-btn) { font: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.4; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.company-discovery-actions .exhibition-hero-sim-btn { background: #eef5ff; border-color: #93bef8; color: #075df5; }
.company-discovery-actions .exhibition-hero-sim-btn:hover { background: #dcebff; border-color: #075df5; }
.company-discovery-actions .exhibition-hero-advisor-btn { background: #ffffff; border-color: #bfd6f6; color: #16325c; }
.company-discovery-actions .exhibition-hero-advisor-btn:hover { background: #f0f7ff; border-color: #075df5; color: #075df5; }
#company-story-copy:has(+ .exhibition-company-profile:not([hidden])) { display: block; margin-block-end: 10px; }
.exhibition-company-profile dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.exhibition-company-profile dt, .exhibition-company-profile dd { grid-row: auto; }
.exhibition-company-profile .exhibition-governance-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 12px; font-weight: 700; line-height: 1.45; }

#exhibition-teaser .exhibition-teaser-card[data-scenario-theme="conservative"] { border-top: 3px solid #64748b; }
#exhibition-teaser .exhibition-teaser-card[data-scenario-theme="base"] { border-top: 3px solid #075df5; }
#exhibition-teaser .exhibition-teaser-card[data-scenario-theme="fast"] { border-top: 3px solid #00bfd9; }
#exhibition-teaser .exhibition-teaser-scenarios { display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: min(100%, 560px); padding: 5px; margin-bottom: 16px; border-radius: 14px; background: #e9f2ff; border: 1px solid #cfe1fb; }
#exhibition-teaser .exhibition-teaser-scenarios button { min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #243b5a; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
#exhibition-teaser .exhibition-teaser-scenarios button[aria-pressed="true"] { background: #075df5; border-color: #075df5; color: #ffffff; box-shadow: 0 6px 16px rgba(7, 93, 245, 0.22); }
#exhibition-teaser .exhibition-teaser-slider { display: grid; gap: 10px; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; background: #f8fbff; border: 1px solid #d4e4f7; }
#exhibition-teaser .exhibition-teaser-slider-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
#exhibition-teaser .exhibition-teaser-slider label { font-size: 13.5px; font-weight: 700; color: #16325c; }
#exhibition-teaser .exhibition-teaser-slider :is(output, strong, .exhibition-teaser-slider-pill) { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #e6f0ff; border: 1px solid #bfd7fc; color: #075df5; font-size: 13px; font-weight: 800; }
#exhibition-teaser .exhibition-teaser-slider input[type="range"] { width: 100%; height: 8px; margin: 0; accent-color: #075df5; cursor: pointer; }
#exhibition-teaser .exhibition-teaser-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#exhibition-teaser .exhibition-teaser-advisor { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid #075df5; border-radius: 10px; background: #eef5ff; color: #075df5; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
#exhibition-teaser .exhibition-teaser-advisor:hover { background: #dcebff; }

.exhibition-tab .exhibition-tab-avail { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 6px; margin-block-start: 4px; padding: 2px 8px; border-radius: 999px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-style: normal; font-size: 11px; font-weight: 700; }
.exhibition-avail-card { display: grid; gap: 8px; max-width: 440px; padding: 12px 14px; border-radius: 14px; background: #ffffff; border: 1px solid #cfe1fb; }
.exhibition-avail-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: #334763; }
.exhibition-avail-meta strong { font-size: 14.5px; font-weight: 800; color: #065f46; }
.exhibition-avail-bar { height: 10px; border-radius: 999px; background: #e2ecf9; overflow: hidden; }
.exhibition-avail-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #075df5 0%, #10b981 100%); transition: width 240ms ease; }
.pim-dialog [data-pim-submit-portal] { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 10px 16px; border: 1px solid #075df5; border-radius: 12px; background: #075df5; color: #ffffff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pim-signup-link { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin-top: 10px; padding: 8px 14px; border: 1px dashed #60a5fa; border-radius: 10px; background: #f0f7ff; color: #075df5; font-size: 13.5px; font-weight: 700; text-decoration: none; box-sizing: border-box; }

.exhibition-portal-preview, .exhibition-faq { padding-block: 12px 32px; }
.exhibition-section-head { max-width: 76ch; margin-bottom: 22px; }
.exhibition-section-badge { display: inline-flex; align-items: center; padding: 5px 13px; margin-bottom: 10px; border-radius: 999px; background: #e6f0ff; border: 1px solid #bfd7fc; color: #075df5; font-size: 12.5px; font-weight: 700; }
:is(.exhibition-portal-preview, .exhibition-faq) h2 { margin: 0 0 8px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; color: #0b162c; line-height: 1.32; letter-spacing: -0.015em; }
.exhibition-section-lead { margin: 0; font-size: 15.5px; line-height: 1.75; color: #475b78; }
.exhibition-portal-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr); gap: 22px; align-items: start; }
.eps-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eps-card { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: 18px; background: #ffffff; border: 1px solid #d4e4f7; box-shadow: 0 12px 28px rgba(11, 30, 66, 0.05); }
.eps-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.eps-card-badge { padding: 3px 10px; border-radius: 999px; background: #eef5ff; color: #075df5; font-size: 11.5px; font-weight: 700; }
.eps-card-metric { padding: 3px 9px; border-radius: 8px; background: #ecfdf5; color: #065f46; font-size: 12.5px; font-weight: 800; }
.eps-card h3 { margin: 0; font-size: 16.5px; font-weight: 700; color: #0b162c; line-height: 1.4; }
.eps-card p { margin: 0; font-size: 13.8px; line-height: 1.68; color: #475b78; }
.eps-preview-col { display: grid; gap: 14px; }
.eps-mock-window { padding: 20px; border-radius: 20px; background: linear-gradient(160deg, #0d1f3c 0%, #132f5c 100%); border: 1px solid #294b82; color: #f0f6ff; box-shadow: 0 18px 42px rgba(7, 25, 47, 0.18); }
.eps-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(191, 215, 252, 0.22); }
.eps-mock-title { font-size: 13.5px; font-weight: 700; color: #e2eeff; }
.eps-mock-pill { padding: 3px 10px; border-radius: 999px; background: rgba(16, 185, 129, 0.22); border: 1px solid rgba(110, 231, 183, 0.45); color: #6ee7b7; font-size: 11.5px; font-weight: 700; }
.eps-mock-rows { display: grid; gap: 10px; }
.eps-mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 12px; background: rgba(28, 62, 112, 0.58); border: 1px solid rgba(191, 215, 252, 0.18); }
.eps-mock-row strong { display: block; font-size: 13.5px; font-weight: 700; color: #ffffff; }
.eps-mock-row small { display: block; margin-top: 2px; font-size: 12px; color: #bfd7fc; }
.eps-mock-tag { flex-shrink: 0; padding: 4px 9px; border-radius: 8px; background: rgba(7, 93, 245, 0.42); color: #dbeafe; font-size: 12px; font-weight: 700; }
.eps-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.eps-actions :is(.exhibition-primary, .exhibition-secondary) { flex: 1 1 180px; min-height: 48px; padding: 10px 18px; font-size: 15px; font-weight: 700; border-radius: 12px; text-decoration: none; }

.exhibition-faq-list { display: grid; gap: 12px; }
.exhibition-faq-item { border: 1px solid #d4e4f7; border-radius: 16px; background: #ffffff; box-shadow: 0 8px 22px rgba(11, 30, 66, 0.04); overflow: hidden; }
.exhibition-faq-item[open] { border-color: #93bef8; box-shadow: 0 12px 28px rgba(7, 93, 245, 0.09); }
.exhibition-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 16px 20px; color: #0b162c; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.exhibition-faq-item summary::-webkit-details-marker { display: none; }
.exhibition-faq-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #eef5ff; color: #075df5; font-style: normal; font-size: 19px; font-weight: 700; line-height: 1; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
details[open] .exhibition-faq-icon { transform: rotate(45deg); background: #075df5; color: #ffffff; }
.exhibition-faq-answer { padding: 0 20px 18px; border-top: 1px solid #eef4fc; }
.exhibition-faq-answer p { margin: 12px 0 0; font-size: 15px; line-height: 1.8; color: #3b4f6b; max-width: 82ch; }
.exhibition-faq-cta { display: flex; align-items: center; justify-content: flex-start; margin-top: 18px; }
.exhibition-faq-cta .exhibition-secondary { min-height: 48px; padding: 10px 22px; font-size: 15px; font-weight: 700; border-radius: 12px; }
@media (max-width: 1024px) {
  #exhibition-teaser .exhibition-teaser-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exhibition-portal-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #exhibition-teaser .exhibition-teaser-kpis, .eps-cards, .exhibition-company-profile dl { grid-template-columns: 1fr; }
  #exhibition-teaser .exhibition-teaser-scenarios { width: 100%; }
  .exhibition-faq-item summary { padding: 14px 16px; font-size: 15px; }
  .exhibition-faq-answer { padding: 0 16px 16px; }
}

/* === css/partnership_incentives.css === */
/* Strategic Partnership Suite (Initiatives 1–6): Tiers, Tranches, Contract Preview, Public Briefing, Basket, Co-Partner & Ambassador. */
@media screen {
#partnership-incentives[hidden],#partnership-executive-actions[hidden],#partnership-advanced-tools[hidden],
#signup-referral-badge[hidden],:is(.icd-overlay,.pbb-overlay,.pah-panel)[hidden],:is(.icd-overlay,.pbb-overlay).is-leaving{display:none!important}
#partnership-incentives{margin-top:18px;text-align:start}
.pi-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px;align-items:stretch}
.pi-tier-card,.pi-tranche-card{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:1px solid #cfe1f8;border-top:3px solid #086de8;border-radius:16px;background:#fff;color:#0d1725;box-shadow:0 10px 26px rgba(11,30,66,0.05);font-variant-numeric:tabular-nums}
.pi-tier-card[data-tier-id=active]{border-top-color:#0284c7}
.pi-tier-card[data-tier-id=strategic]{border-top-color:#059669}
.pi-tier-card[data-tier-id=founder]{border-top-color:#0f4c9c;background:linear-gradient(180deg,#f5f9ff 0%,#fff 100%)}
.pi-eyebrow{display:inline-block;color:#0055bf;font-size:12px;font-weight:700}
.pi-tier-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}
.pi-tier-badge,:is(.icd-dialog,.icd-terms-banner) .acm-badge{display:inline-block;padding:3px 10px;border:1px solid #bfd7f6;border-radius:999px;background:#eaf3ff;color:#0055bf;font-size:12px;font-weight:700}
.pi-tier-title,.pi-tranche-title,.mvb-title,.cpp-title{margin:0;color:#0b162c;font-size:17.5px;font-weight:800;line-height:1.45}
.pi-tranche-sub,.pi-perks-heading,.mvb-sub,.cpp-sub,.mvb-budget-line,.mvb-note,.cpp-note{margin:2px 0 0;color:#3b4f6b;font-size:12.8px;font-weight:600;line-height:1.65}
.pi-perks{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.pi-perk-item{padding:8px 12px;border:1px solid #dce8f7;border-inline-start:3px solid #086de8;border-radius:10px;background:#f8fbff;color:#162b48;font-size:13px;font-weight:600;line-height:1.6}
.pi-tier-progress{margin-top:auto;padding-top:10px;border-top:1px solid #e2ecf9;display:grid;gap:8px}
.pi-progress-track{height:9px;border-radius:999px;background:#e2ecf9;overflow:hidden}
.pi-progress-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#086de8 0%,#10b981 100%);transition:width 220ms ease}
.pi-progress-note{margin:0;color:#334763;font-size:12.5px;line-height:1.6}
.pi-progress-note strong{color:#0055bf;font-weight:800}
.pi-founder-badge{margin:0;padding:6px 12px;border:1px solid #a7f3d0;border-radius:10px;background:#ecfdf5;color:#065f46;font-size:12.5px;font-weight:700}
.pi-tranche-tabs,.icd-controls,.icd-actions,.pbb-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
:is(.pi-tranche-tab,.pah-tab,.mvb-preset-pill,.cpp-toggle-btn,.cpp-equalize-btn,.mvb-copy-btn,.cpp-copy-btn){min-height:42px;padding:7px 11px;border:1px solid #c4d8f2;border-radius:10px;background:#fff;color:#162b48;font:inherit;font-size:12.8px;font-weight:700;cursor:pointer;transition:background-color 150ms ease,border-color 150ms ease}
.pi-tranche-tab:hover:not(.is-active){border-color:#6ea8f5;background:#eaf3ff;color:#0055bf}
.pi-tranche-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}
.pi-tranche-item{display:flex;flex-direction:column;gap:5px;padding:12px 13px;border:1px solid #d4e4f7;border-radius:12px;background:#f8fbff}
.pi-tranche-top,.mvb-card-top,.mvb-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.pi-tranche-label{color:#334763;font-size:12px;font-weight:700}
.pi-tranche-ratio{padding:2px 8px;border-radius:999px;background:#e6f0ff;color:#0055bf;font-size:11.5px;font-weight:800}
.pi-tranche-amount{color:#0b162c;font-size:16.5px;font-weight:800}
.pi-tranche-amount span,.pi-tranche-milestone{margin:0;color:#3b4f6b;font-size:12px;line-height:1.55}
.pi-tranche-foot{margin-top:auto;padding-top:10px;border-top:1px solid #e2ecf9;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.pi-total-summary{color:#334763;font-size:13px}
.pi-total-summary strong{color:#0b162c;font-weight:800}
:is(.pi-wa-link,.mvb-wa-link,.cpp-wa-link,.icd-wa-btn,.icd-print-btn,.icd-apply-btn,.exec-action-btn){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:11px;font:inherit;font-size:13.5px;font-weight:700;text-decoration:none;text-align:center;cursor:pointer}
:is(.pi-wa-link,.mvb-wa-link,.cpp-wa-link,.icd-wa-btn){border:1px solid #15803d;background:#15803d;color:#fff!important}

.company-discovery-actions .exhibition-hero-book-btn{font:inherit;font-size:15px;font-weight:700;border:1px solid #8bb8f8;background:#f2f8ff;color:#0055bf;cursor:pointer;transition:background-color 160ms ease,border-color 160ms ease}
.company-discovery-actions .exhibition-hero-book-btn:hover{border-color:#075df5;background:#e0edff;color:#054ac7}
.icd-overlay,.pbb-overlay{position:fixed;inset:0;z-index:1220;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(9,19,36,0.64);backdrop-filter:blur(6px);overflow-y:auto}
.icd-dialog{width:min(100%,780px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:clamp(18px,2.8vw,26px);border:1px solid #cfdef1;border-radius:18px;background:#fff;color:#0d1725;box-shadow:0 24px 60px rgba(7,22,46,0.28);text-align:start;font-variant-numeric:tabular-nums}
.pbb-dialog{width:min(100%,640px);font-variant-numeric:tabular-nums}
.icd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.icd-head h3{margin:6px 0 0;color:#0d1725;font-size:20px;font-weight:800;line-height:1.45}
.icd-dialog .acm-close{flex-shrink:0;width:42px;height:42px;border:1px solid #cfdef1;border-radius:10px;background:#f7fbff;color:#14243c;font-size:22px;cursor:pointer}
.icd-dialog > .acm-lead{margin:8px 0 14px;color:#3b4f6b;font-size:14px;line-height:1.75}
.icd-controls{margin-bottom:14px}
.icd-controls .acm-field label{display:block;margin-bottom:5px;color:#14243c;font-size:12.5px;font-weight:700}
.icd-controls :is(input,select),.cpp-input,.mvb-weight-select{width:100%;min-height:42px;padding:7px 11px;border:1px solid #b8cde6;border-radius:10px;background:#fff;color:#0d1725;font:inherit;font-size:13.5px;box-sizing:border-box}
.icd-paper{padding:20px 22px;border:1px solid #bfd7f6;border-top:4px solid #0f4c9c;border-radius:14px;background:#fbfdff;color:#0b162c}
.icd-watermark{display:inline-block;margin-bottom:10px;padding:3px 10px;border:1px dashed #7ea9e8;border-radius:6px;background:#eef5ff;color:#0055bf;font-size:11.5px;font-weight:800}
.icd-paper-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:14px;border-bottom:2px solid #cfe1f8}
.icd-brand{display:inline-flex;align-items:center;gap:9px;color:#0b162c;font-size:16px;font-weight:800}
.icd-meta h4{margin:0 0 3px;color:#0b162c;font-size:15px;font-weight:800}
.icd-meta span{color:#3b4f6b;font-size:12.5px;font-weight:600}
.icd-clauses{display:grid;gap:11px}
.icd-clause{padding:11px 14px;border:1px solid #dde9f8;border-radius:10px;background:#fff}
.icd-clause h5{margin:0 0 5px;color:#0055bf;font-size:13.5px;font-weight:800}
.icd-clause p{margin:0;color:#1e3350;font-size:13.2px;line-height:1.75}
:is(.icd-tranche-table,.cpp-table){width:100%;margin-top:9px;border-collapse:collapse;font-size:12.8px;font-variant-numeric:tabular-nums}
:is(.icd-tranche-table,.cpp-table) :is(th,td){padding:8px 10px;border:1px solid #cfe1f8;text-align:start;color:#0d1725}
:is(.icd-tranche-table,.cpp-table) :is(thead,tfoot) th{background:#eef5ff;color:#0b2548;font-weight:800}
.icd-actions{margin-top:14px}
.icd-print-btn{border:1px solid #b8cde6;background:#f7fbff;color:#14243c}
.icd-apply-btn{border:1px solid #086de8;background:#086de8;color:#fff!important}
.icd-terms-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border:1px solid #bfd7f6;border-inline-start:4px solid #086de8;border-radius:16px;background:linear-gradient(135deg,#f2f8ff 0%,#fff 100%)}
.icd-terms-banner-body{flex:1 1 320px}
.icd-terms-banner-body h2{margin:6px 0 4px;color:#0d1725;font-size:19px;font-weight:800}
.icd-terms-banner-body p{margin:0;color:#3b4f6b;font-size:14px;line-height:1.7}
.pbb-dialog [data-pbb-mode]{min-height:54px;padding:8px 10px;border:1px solid #c7daf2;border-radius:12px;background:#f8fbff;color:#14243c;font:inherit;font-size:12.8px;cursor:pointer}
.pbb-dialog .acm-actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

.partnership-exec-actions{margin-top:14px;display:grid;gap:10px}
.partnership-exec-btns,.pah-tabs,.mvb-action-btns,.cpp-action-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.exec-action-btn{border:1px solid #93bef8;background:#f0f7ff;color:#0055bf;transition:background-color 150ms ease,border-color 150ms ease}
.exec-action-btn:hover{border-color:#086de8;background:#dfeeff}
.partnership-advanced-tools{margin-top:16px;border:1px solid #cfe1f8;border-radius:16px;background:#f8fbff;color:#0d1725;text-align:start;overflow:hidden}
.pah-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;background:#eef5ff;color:#0b162c;font-size:15px;font-weight:800;cursor:pointer;list-style:none}
.pah-summary::-webkit-details-marker{display:none}
.pah-body{padding:16px 20px 20px;display:grid;gap:14px}
:is(.pi-tranche-tab,.pbb-dialog [data-pbb-mode])[aria-pressed=true],
:is(.pi-tranche-tab,.pah-tab,.mvb-preset-pill,.cpp-toggle-btn,.pbb-dialog [data-pbb-mode]).is-active{border-color:#086de8;background:#086de8;color:#fff;box-shadow:0 6px 16px rgba(8,109,232,0.22)}
.mvb-wrap,.cpp-wrap{display:grid;gap:12px;font-variant-numeric:tabular-nums}
.mvb-presets,.cpp-toolbar,.cpp-count-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cpp-toolbar{justify-content:space-between}
.mvb-grid,.cpp-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:11px}
.mvb-card,.cpp-partner-card{display:grid;gap:9px;padding:14px;border:1px solid #d4e4f7;border-radius:13px;background:#fff}
:is(.mvb-row span,.mvb-field label,.cpp-field label){color:#3b4f6b;font-size:12.5px;font-weight:600;display:block;margin-bottom:4px}
.mvb-mode-badge{padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:700;border:1px solid #93c5fd;background:#eff6ff;color:#0055bf}
.mvb-mode-badge.is-immediate{border-color:#a7f3d0;background:#ecfdf5;color:#065f46}
.cpp-table-wrap{overflow-x:auto}
:is(.mvb-copy-btn,.cpp-copy-btn,.partner-referral-btn).is-copied{border-color:#15803d;background:#f0fdf4;color:#166534}
.amb-code-pill,.ref-welcome-pill{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;padding:7px 13px;border:1px solid #93bef8;border-radius:999px;background:#eef6ff;color:#073980;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.amb-code-pill{margin-bottom:8px}
#signup-referral-badge{margin-bottom:14px;width:100%;box-sizing:border-box;border-radius:12px}
.amb-code-val,.ref-welcome-pill bdi{padding:2px 8px;border-radius:7px;background:#fff;border:1px solid #bfd7f6;color:#0055bf;font-weight:800}

html[data-theme=dark] :is(.pi-tier-card,.pi-tranche-card,.icd-dialog,.partnership-advanced-tools){border-color:#2c4362;background:#101d31;color:#edf4ff;box-shadow:0 14px 34px rgba(2,8,20,0.45)}
html[data-theme=dark] .pi-tier-card[data-tier-id=founder]{background:linear-gradient(180deg,#152844 0%,#101d31 100%);border-top-color:#60a5fa}
html[data-theme=dark] :is(.pi-tier-title,.pi-tranche-title,.pi-tranche-amount,.pi-total-summary strong,.icd-head h3,.icd-brand,.icd-meta h4,.icd-terms-banner-body h2,.mvb-title,.cpp-title,.pah-summary){color:#f1f6ff}
html[data-theme=dark] :is(.pi-eyebrow,.pi-progress-note strong,.icd-clause h5){color:#8cc2ff}
html[data-theme=dark] :is(.pi-tranche-sub,.pi-perks-heading,.pi-progress-note,.pi-tranche-label,.pi-tranche-milestone,.pi-total-summary,.icd-dialog > .acm-lead,.icd-meta span,.icd-terms-banner-body p,.mvb-sub,.cpp-sub,.mvb-budget-line,.mvb-note,.cpp-note,.mvb-row span,.mvb-field label,.cpp-field label,.icd-controls .acm-field label){color:#bfd0e6}
html[data-theme=dark] :is(.pi-perk-item,.pi-tranche-item,.mvb-card,.cpp-partner-card,.icd-clause){border-color:#2a415f;background:#15263f;color:#edf4ff}
html[data-theme=dark] .icd-clause p{color:#dce8f8}
html[data-theme=dark] :is(.pi-tier-badge,.pi-tranche-ratio,.icd-watermark,.mvb-mode-badge,.icd-terms-banner,.exec-action-btn,.company-discovery-actions .exhibition-hero-book-btn,.amb-code-pill,.ref-welcome-pill),html[data-theme=dark] :is(.icd-dialog,.icd-terms-banner) .acm-badge{border-color:#3b6ca8;background:#183050;color:#93c5fd}
html[data-theme=dark] :is(.pi-founder-badge,.mvb-mode-badge.is-immediate),html[data-theme=dark] :is(.mvb-copy-btn,.cpp-copy-btn,.partner-referral-btn).is-copied{border-color:#34d399;background:#0f2f2a;color:#6ee7b7}
html[data-theme=dark] :is(.pi-tier-progress,.pi-tranche-foot,.icd-paper-head){border-color:#29405e}
html[data-theme=dark] .pi-progress-track{background:#1c3150}
html[data-theme=dark] :is(.pi-tranche-tab,.pah-tab,.mvb-preset-pill,.cpp-toggle-btn,.cpp-equalize-btn,.mvb-copy-btn,.cpp-copy-btn,.icd-print-btn,.icd-dialog .acm-close,.pbb-dialog [data-pbb-mode]){border-color:#355075;background:#162842;color:#dce8f8}
html[data-theme=dark] :is(.pi-tranche-tab,.pbb-dialog [data-pbb-mode])[aria-pressed=true],html[data-theme=dark] :is(.pi-tranche-tab,.pah-tab,.mvb-preset-pill,.cpp-toggle-btn,.pbb-dialog [data-pbb-mode]).is-active{border-color:#3b82f6;background:#086de8;color:#fff}
html[data-theme=dark] :is(.icd-controls input,.icd-controls select,.cpp-input,.mvb-weight-select){border-color:#3b5984;background:#0d1829;color:#f1f6ff;color-scheme:dark}
html[data-theme=dark] .icd-paper{border-color:#355075;border-top-color:#60a5fa;background:#122137;color:#edf4ff}
html[data-theme=dark] :is(.icd-tranche-table,.cpp-table) :is(th,td){border-color:#2c4362;color:#edf4ff}
html[data-theme=dark] :is(.icd-tranche-table,.cpp-table) :is(thead,tfoot) th,html[data-theme=dark] .pah-summary{background:#172b47;color:#93c5fd}
html[data-theme=dark] :is(.amb-code-val,.ref-welcome-pill bdi){border-color:#4f86c6;background:#0d1829;color:#cce4ff}

@media (max-width:860px){.pi-wrap,.pi-tranche-tabs,.icd-controls,.icd-actions,.pbb-modes,.partnership-exec-btns,.pah-tabs,.mvb-action-btns,.cpp-action-btns{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.pi-progress-fill,.pi-tranche-tab,.exec-action-btn,.company-discovery-actions .exhibition-hero-book-btn{transition:none}}
}

@media print {
#partnership-incentives,#partnership-executive-actions,#partnership-advanced-tools,.icd-terms-banner,.pbb-overlay,
body:not(.contract-draft-print-active) .icd-overlay{display:none!important}
body.contract-draft-print-active{background:#fff!important;color:#000!important}
body.contract-draft-print-active > :not(.icd-overlay),
body.contract-draft-print-active :is(.icd-head,.icd-dialog > .acm-lead,.icd-controls,.icd-actions){display:none!important}
body.contract-draft-print-active > .icd-overlay{position:static!important;display:block!important;padding:0!important;background:#fff!important;backdrop-filter:none!important;overflow:visible!important}
body.contract-draft-print-active :is(.icd-dialog,.icd-paper){width:100%!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;background:#fff!important;color:#000!important;box-shadow:none!important;overflow:visible!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
body.contract-draft-print-active .icd-watermark{border:1pt solid #0f294a!important;background:#eef4fb!important;color:#0f294a!important}
body.contract-draft-print-active .icd-paper-head{border-bottom:1.5pt solid #0f294a!important}
body.contract-draft-print-active :is(.icd-brand,.icd-meta h4,.icd-meta span,.icd-clause h5,.icd-clause p,.icd-tranche-table th,.icd-tranche-table td){color:#000!important}
body.contract-draft-print-active :is(.icd-clause,.icd-tranche-table th,.icd-tranche-table td){border-color:#94a8c4!important;background:#fff!important;break-inside:avoid}
body.contract-draft-print-active .icd-tranche-table thead th{background:#eef4fb!important;color:#0f294a!important}
}

/* === css/pwa_install.css === */
/* Installable PWA prompt pill & partner session bar inline banner (screen-only). */
@media screen {
  .pwa-install-bar[hidden] { display: none !important; }
  .partner-session-bar:has(.pwa-install-bar) { flex-wrap: wrap; gap: 10px 14px; }

  .pwa-install-bar {
    position: fixed; z-index: 88;
    inset-inline-start: 16px; inset-block-end: calc(16px + env(safe-area-inset-bottom, 0px));
    display: inline-flex; align-items: center; gap: 12px;
    max-width: min(460px, calc(100vw - 96px)); padding: 10px 14px;
    border: 1px solid #bfd7fc; border-radius: 14px;
    background: #f7faff; color: #0b162c;
    box-shadow: 0 12px 30px rgba(11, 22, 44, 0.14);
    font-family: var(--font-main, 'Readex Pro', Arial, sans-serif);
    box-sizing: border-box;
  }

  .partner-session-bar .pwa-install-bar,
  .pwa-install-bar.pwa-install-bar--inline {
    position: static; inset: auto; z-index: auto;
    max-width: 100%; padding: 6px 10px;
    border-radius: 10px; background: #eef5ff; box-shadow: none;
  }

  .pwa-install-text { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #0b162c; }
  .pwa-install-actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }

  .pwa-install-btn,
  .pwa-dismiss-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 38px; padding: 6px 13px; border-radius: 9px;
    font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4;
    cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }

  .pwa-install-btn { border: 1px solid #075df5; background: #075df5; color: #ffffff; }
  .pwa-install-btn:hover { border-color: #054ac7; background: #054ac7; }
  .pwa-dismiss-btn { border: 1px solid #93bef8; background: #ffffff; color: #142847; }
  .pwa-dismiss-btn:hover { border-color: #075df5; background: #e8f1ff; color: #075df5; }
  .pwa-install-bar :is(button):focus-visible { outline: 3px solid #075df5; outline-offset: 2px; }

  body[style*="overflow: hidden"] > .pwa-install-bar,
  body:has(dialog[open], .advisor-call-overlay:not([hidden]), .modal-overlay:not([inert])) > .pwa-install-bar {
    visibility: hidden; pointer-events: none;
  }

  html[data-theme=dark] .pwa-install-bar { border-color: #2b4363; background: #101e33; color: #edf4ff; box-shadow: 0 14px 34px rgba(2, 8, 20, 0.52); }
  html[data-theme=dark] .partner-session-bar .pwa-install-bar,
  html[data-theme=dark] .pwa-install-bar.pwa-install-bar--inline { background: #14263e; box-shadow: none; }
  html[data-theme=dark] .pwa-install-text { color: #edf4ff; }
  html[data-theme=dark] .pwa-install-btn { border-color: #3b82f6; background: #075df5; color: #ffffff; }
  html[data-theme=dark] .pwa-install-btn:hover { border-color: #60a5fa; background: #054ac7; }
  html[data-theme=dark] .pwa-dismiss-btn { border-color: #355075; background: #172a45; color: #dce8f8; }
  html[data-theme=dark] .pwa-dismiss-btn:hover { border-color: #60a5fa; background: #1e3556; color: #ffffff; }

  @media (max-width: 720px) {
    .pwa-install-bar { inset-inline-start: 12px; max-width: calc(100vw - 84px); flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; }
    body:has(.mobile-cta, #admin-main-section:not([hidden]) .admin-mobile-nav) > .pwa-install-bar { inset-block-end: calc(88px + env(safe-area-inset-bottom, 0px)); }
    .pwa-install-btn, .pwa-dismiss-btn { min-height: 44px; }
  }
  @media (prefers-reduced-motion: reduce) { .pwa-install-btn, .pwa-dismiss-btn { transition: none; } }
}

