/* === 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/components.css === */
/**
 * Modern Venture Fintech Components
 */
.card {
  background: var(--color-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Category Filter Bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.filter-btn.active {
  background: rgba(201,164,92, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan-light);
  box-shadow: 0 0 15px rgba(201,164,92, 0.3);
}
/* Digital Shareholder Certificate */
.certificate-preview {
  background: linear-gradient(135deg, #0c1220 0%, #080c16 100%);
  border: 1px solid rgba(201,164,92, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-card);
}
.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.cert-serial {
  font-family: monospace;
  font-size: var(--text-sm);
  color: var(--color-cyan-light);
  letter-spacing: 1px;
}
.cert-body h4 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.cert-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}
/* Modern Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan) 0%, #b8933f 100%);
  color: #1a1407;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201,164,92, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e3c57e 0%, var(--color-cyan) 100%);
  box-shadow: 0 6px 28px rgba(201,164,92, 0.6);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
/* The quiet third button, kept beside the other two. Two places already referenced
   .btn-subtle — the partner portal's logout and the link that closes the registration
   success panel — while no rule defined it, so each drew as a raw browser button. */
.btn-subtle{display:inline-flex;align-items:center;padding:8px 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:transparent;color:var(--color-text-muted);font-family:var(--font-main);font-size:var(--text-sm);font-weight:700;text-decoration:none;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.btn-subtle:hover{background:rgba(255,255,255,.06);border-color:var(--color-border-strong);color:var(--color-text)}
/* Closes the registration flow on the home page: the step after the form is submitted. */
.success-card{margin-top:18px;padding:22px;border:1px solid var(--color-border-green);border-radius:var(--radius-md);background:rgba(16,185,129,.08);text-align:right}
.success-card strong{display:block;margin-bottom:8px;color:var(--color-green);font-size:var(--text-md)}
.success-card p{margin:0 0 8px;color:var(--color-text-muted);font-size:var(--text-sm);line-height:1.8}
.success-card .btn-subtle{margin-top:6px}
/* Form Controls */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: var(--text-base);
  color: #cbd5e1;
  margin-bottom: 6px;
  font-weight: 700;
}
/* Both of this field's edges, measured. Resting: rgba(255,255,255,.12) over a 1.01:1 fill was
   1.36:1 against the page, where SC 1.4.11 asks 3:1; .4 gives 3.83:1 base / 3.58:1 card. Focus:
   the ring is global.css's 5.92:1 outline, which this pair used to beat with a 2.01:1 glow — the
   glow went with `outline:none`, since dropping only the outline stacks two rings on one field. */
.form-control {
  width: 100%;
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-size: var(--text-base);
  font-family: var(--font-main);
  direction: rtl;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-control:focus { border-color: var(--color-cyan); }
/* The one line under a field that explains it: what the choice means, or why the number is asked
   for. Below the control and dimmer than the label, so it reads as guidance and not as a second
   label competing with the first. */
.field-note {
  display: block;
  margin-top: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  line-height: 1.75;
}
/* Notification card */
.form-message {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
}
.form-message.success-state {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--color-success);
  color: #34d399;
}
.form-message.error-state {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--color-danger);
  color: #f87171;
}

/* === css/carousel_deck.css === */
/**
 * Dynamic Carousel Deck Styles
 * Luxury Dark Glassmorphism with Smooth Horizontal Track
 */
.carousel-deck-wrapper {
  position: relative; width: 100%; min-width: 0; max-width: 100%;
  overflow: hidden; margin-bottom: 24px;
}
.carousel-controls-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding: 0 4px;
}
.carousel-live-counter {
  font-size: var(--text-base); color: var(--color-text-muted); display: flex; align-items: center; gap: 8px;
}
.pulse-indicator {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-green);
  box-shadow: 0 0 10px var(--color-green); animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.carousel-nav-arrows { display: flex; gap: 8px; }
.btn-carousel-nav {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff; font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.btn-carousel-nav:hover {
  background: rgba(201,164,92, 0.2); border-color: var(--color-green); color: var(--color-green);
  box-shadow: 0 0 14px var(--color-border-green); transform: translateY(-2px);
}
.carousel-track-container {
  width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding: 8px 4px 16px;
}
.carousel-track-container::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 16px; width: max-content; }
/* The phones stand on the section now, not inside cards. The box, its blur, its border and its 16px of
   padding are gone, and the gradient bar that lay across the top went with them — there is no card edge
   left for a bar to sit on. What says which phone is current is the phone itself. */
.carousel-card {
  width: 275px; scroll-snap-align: start; cursor: pointer; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
/* The scale lives on the BUTTON, not on the card, and that is load-bearing rather than tidy:
   `Tilt3DComponent` writes `card.style.transform` in line, so a transform on the card itself is
   overwritten the first time the pointer crosses it. This way the tilt and the focus compose.
   A transition and not a keyframe, so the movement happens WITH the carousel — pressing an arrow
   shrinks the phone that leaves while the phone that arrives grows, and nothing has to be kept in
   step with `selectProject`, because the class it already toggles is the entire trigger. */
.carousel-card .card-phone-button {
  transition: transform .38s cubic-bezier(.16,1,.3,1), filter .38s ease;
  transform: scale(.9); filter: brightness(.82) saturate(.92);
}
.carousel-card.active .card-phone-button { transform: scale(1); filter: none; }
/* Hovering is the phone's own answer, and it is deliberately LARGER than the difference between the
   current phone and its neighbours — the row says which one you are pointing at at least as clearly as
   it says which one you are on. It lifts, it comes to full brightness, and its edge lights up.
   The old card did all three of those and they left with the card, which is why a row of phones with
   no hover read as a picture of phones rather than as something to press. */
.carousel-card .card-phone-button:hover, .carousel-card .card-phone-button:focus-visible {
  transform: translateY(-6px) scale(.97); filter: none;
}
.carousel-card.active .card-phone-button:hover, .carousel-card.active .card-phone-button:focus-visible {
  transform: translateY(-6px) scale(1.04);
}
.carousel-card .card-phone-button:hover .phone-frame,
.carousel-card .card-phone-button:focus-visible .phone-frame,
.carousel-card.active .phone-frame {
  box-shadow: 0 22px 54px rgba(201,164,92,.3), 0 0 0 1px rgba(201,164,92,.4);
}
/* Asked-for less movement gets full size and no transition, and the current phone is still told apart
   by its lit edge — that cue is a style, not a movement, so it survives the preference. */
@media(prefers-reduced-motion:reduce) {
  .carousel-card .card-phone-button { transition: none; transform: none; filter: none; }
}
.card-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-logo-badge {
  width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
/* The mark stands on a phone's screen now, in the same phone the details window draws: `.phone-frame`
   and `.phone-speaker` come from `css/app_modal.css`, which rides in this same bundle. What is stated
   here is only what a 275px card changes about that phone — a third of the width, a smaller screen
   corner, a speaker to scale. Sized down, not redrawn: one phone, two sizes. */
.carousel-card .phone-frame { width: min(100%, 186px); margin: 0 auto; padding: 8px 8px 11px; border-radius: 22px; transition: box-shadow .3s ease; }
.carousel-card .phone-speaker { top: 16px; width: 40px; height: 5px; }
/* The card is the phone, and the phone is the button — one thing to press, so one Tab stop, and a
   button's own chrome is stripped here rather than overridden anywhere else. The badge leaves the flow
   so it rides the phone's screen instead of pushing the phone down inside the card. */
.carousel-card .card-phone-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.carousel-card .card-phone-button:focus-visible { outline: 2px solid var(--color-green); outline-offset: 4px; border-radius: 22px; }
.carousel-card .project-availability { position: absolute; z-index: 2; top: 36px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; }
/* `.deck-phone-screen` and the two badge rules that hung off it are gone with the markup they styled:
   the card no longer draws its own screen. What stands there now is `phoneScreen()`'s output — the
   uploaded picture, or `.phone-fallback` — and both are sized in `css/app_modal.css`, where the phone
   itself is defined, so the card and the window cannot drift apart into two sizes of two things. */
.card-category-tag {
  font-size: var(--text-xs); padding: 3px 8px; border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06); color: var(--color-text-muted); font-weight: 700;
}
.card-app-name { font-size: var(--text-md); font-weight: 800; color: #ffffff; margin-bottom: 2px; }
.card-app-tagline { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: 12px; min-height: 20px; }
.card-price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  background: rgba(255, 255, 255, 0.02); padding: 6px 10px; border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.card-price-label { font-size: var(--text-xs); color: var(--color-text-muted); }
.card-price-value { font-size: var(--text-base); font-weight: 800; color: var(--color-green); }
/* The bar and its fill were removed with the hand-set percentage they drew — see the card markup.
   What is left is the target, and it needs no row of two labels: it was the second half of one, and
   its first half («تقدم رأس مال المشروع N%») no longer exists. */
.card-capital { margin-bottom: 12px; font-size: var(--text-xs); color: var(--color-text-dim); }
/* The units still open, as a percentage — the figure the console prints and the approval step
   measures a request against, on the same row shape as the target above it. The percentage keeps
   its <bdi> island for the same reason every amount on the page does: a bare digit run inside an
   Arabic line is read in the wrong direction. */
.card-available {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin-bottom: 12px; font-size: var(--text-xs); color: var(--color-text-dim);
}
.card-available bdi { color: #ffffff; font-weight: 800; font-variant-numeric: tabular-nums; }
.card-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-card-preview {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1; padding: 6px 8px; border-radius: var(--radius-sm); font-size: var(--text-sm);
  font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s; text-align: center;
}
.btn-card-preview:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.btn-card-invest {
  background: rgba(201,164,92, 0.15); border: 1px solid var(--color-green-glow);
  color: var(--color-green); padding: 6px 8px; border-radius: var(--radius-sm); font-size: var(--text-sm);
  font-weight: 800; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-card-invest:hover {
  background: var(--color-green); color: #1a1407; box-shadow: 0 0 12px rgba(201,164,92, 0.5);
}
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  cursor: pointer; transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.carousel-dot.active {
  width: 22px; border-radius: 4px; background: var(--color-green); box-shadow: 0 0 8px var(--color-green);
}
/* The 7px dots are untouched visually but now carry a thumb-sized hit box. The dots sit on a
   13px pitch, so each hit box is 13px wide — exactly its own slot — and can never swallow the
   neighbouring dot's tap (a wider box would: the later dot wins the overlap). Height is 44px.
   The dots themselves cannot reach the 24px minimum without overlapping, so the 44px arrows
   are the equivalent control for that. */
.carousel-dot { position: relative; }
.carousel-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 44px; transform: translate(-50%, -50%); }
.btn-carousel-nav { position: relative; }
.btn-carousel-nav::after { content: ''; position: absolute; inset: -3px; }
/* The card's two actions are 30px tall — the row of them is already wide enough, so the shortfall
   is entirely vertical, and it is taken vertically: 7px above and below reaches 44px without
   reaching sideways into the 8px gap the two buttons share. */
.btn-card-preview, .btn-card-invest { position: relative; }
.btn-card-preview::after, .btn-card-invest::after { content: ''; position: absolute; inset: -7px 0; }
.card-status-row{display:flex;justify-content:space-between;align-items:center;margin:7px 0;color:var(--color-text-muted);font-size:var(--text-xs)}.project-stage{padding:2px 7px;border-radius:999px;background:rgba(201,164,92,.12);color:#d8b76a;font-weight:700}.card-revenue-type{margin:-2px 0 9px;color:#b6c2d2;font-size:var(--text-xs)}.card-revenue-type::before{content:'نموذج الإيرادات: ';color:#718096}
.projects-empty{padding:34px;border:1px dashed rgba(255,255,255,.18);border-radius:var(--radius-md);color:#aebacc;text-align:center}.project-availability{display:inline-flex;align-self:flex-start;margin:0 0 8px;padding:4px 9px;border-radius:999px;font-size:.67rem;font-weight:800}.project-availability.upcoming{background:rgba(251,191,36,.14);color:var(--color-gold-soft);border:1px solid rgba(251,191,36,.24)}.project-availability.open{background:rgba(201,164,92,.13);color:#d8b76a;border:1px solid rgba(201,164,92,.27)}.project-availability.full{background:rgba(148,163,184,.13);color:#c3cedb;border:1px solid rgba(148,163,184,.26)}.card-stage{display:flex;justify-content:space-between;gap:8px;margin:10px 0;padding:8px 0;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);color:#9db0c9;font-size:var(--text-2xs)}.card-stage span:last-child{text-align:left;color:#d8b76a}/* A card with no action to offer carries one button, not a grid cell left empty beside a
   dead one. */
.card-actions-row.single{grid-template-columns:1fr}

/* === css/app_modal.css === */
/**
 * Interactive App Quick Preview Modal Styles
 *
 * The dialog was a flat 600px column of six similar small blocks — three stat tiles and three
 * fact chips, all at one weight — with the buttons in normal flow, so they slid away as the body
 * scrolled. It is now a 680px sheet: a header that names the project, a 2×2 grid of facts where
 * the unit price is the one accent number, and a footer that stays put.
 *
 * The dialog is a flex column so its middle can scroll between the header and the footer.
 * `position:sticky` on the footer would not do the same job: it leaves the body's last line
 * visible behind the buttons rather than stopping the scrollable area above them.
 */
/* `visibility` is transitioned for its duration and none of its delay: a `visibility .3s` grace on
   the way out is what lets the fade be seen instead of the overlay blinking away, but on the way
   in it would leave the dialog `hidden` for the first frame — and an element inside a hidden
   subtree cannot take focus, so the dialog would open with focus still on the card behind it. */
/* Above every piece of fixed furniture on a public page — the sticky header and its mobile nav
   (1000/1001), the contact pill and the mobile action bar (1230/1200). A scrim that things can
   float on top of is not a scrim: the dialog below would be dimmed while they stayed legible. */
.app-modal-overlay{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(3,7,18,.82);backdrop-filter:blur(12px);opacity:0;visibility:hidden;transition:opacity .3s cubic-bezier(.16,1,.3,1),visibility 0s .3s}
.app-modal-overlay.open{opacity:1;visibility:visible;transition:opacity .3s cubic-bezier(.16,1,.3,1),visibility 0s}

.app-modal-dialog{display:flex;flex-direction:column;width:100%;max-width:680px;max-height:calc(100vh - 40px);overflow:hidden;border:1px solid var(--color-border-green);border-radius:var(--radius-lg);background:rgba(18,27,44,.97);box-shadow:0 20px 50px rgba(0,0,0,.6);transform:scale(.92) translateY(15px);transition:transform .3s cubic-bezier(.16,1,.3,1)}
/* The dialog takes focus on open so a screen reader reads its name first. It is a container, not
   a control, so the ring a keyboard user gets on it would point at nothing they can act on. */
.app-modal-dialog:focus{outline:none}
/* Elevation only. The green bloom that used to sit here was a fourth glow on a page whose glow
   tokens are reserved for the primary action and for keyboard focus. */
.app-modal-overlay.open .app-modal-dialog{transform:scale(1) translateY(0)}

/* ---------- Header: identity, then the one status ---------- */
.app-modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;border-bottom:1px solid var(--color-border)}
.modal-app-id{display:flex;align-items:flex-start;gap:13px;min-width:0}
.modal-app-logo{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:var(--radius-md);color:#fff;font-size:var(--text-lg);font-weight:var(--weight-display)}
.modal-app-name{min-width:0}
.modal-app-name h3{margin:0;color:#fff;font-size:var(--text-lg);font-weight:var(--weight-title);line-height:1.35}
.modal-app-sub{margin:4px 0 0;color:var(--color-green);font-size:var(--text-sm);font-weight:var(--weight-label);line-height:1.5}
/* The project's status, not one of its numbers: it belongs against the name, which is where a
   reader looks for it, and keeping it here leaves the facts grid to the four figures compared. */
.modal-app-stage{display:inline-block;margin-top:9px;padding:3px 10px;border:1px solid var(--color-border-green);border-radius:var(--radius-full);color:var(--color-text-strong);font-size:var(--text-xs);font-weight:var(--weight-label)}
/* 38px drawn, 44px reachable: the visual weight a header needs, the target a thumb needs. */
.btn-modal-close{position:relative;flex:none;display:grid;place-items:center;width:38px;height:38px;border:none;border-radius:50%;background:rgba(255,255,255,.06);color:var(--color-text-muted);font-size:1.4rem;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.btn-modal-close::after{content:'';position:absolute;inset:-3px}
.btn-modal-close:hover{background:rgba(239,68,68,.2);color:#f87171}
.btn-modal-close:focus-visible{outline:none;box-shadow:var(--glow-focus)}

/* ---------- Body: the scrollable middle ---------- */
.app-modal-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:20px 24px}
.modal-info-card{padding:15px 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:rgba(255,255,255,.03)}
.modal-info-title{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:var(--color-green);font-size:var(--text-base);font-weight:var(--weight-title)}
.modal-info-desc{margin:0;color:#cbd5e1;font-size:var(--text-base);line-height:1.75}

/* ---------- The application's own media: the icon, the phone, the launch state ---------- */
/* The application's mark: the icon the office uploaded, or the letter that stands for it. Two
   surfaces wear it — the header of this window and the badge on the home page's card — and both take
   it from `logoInner`, so the classes are named for the mark rather than for the window that used to
   be their only home. */
/* The letter is the fallback and not a second element: it is hidden as soon as the uploaded icon
   stands beside it, and `:only-child` reveals it again the moment that icon removes itself after a
   failed load. One rule, both states, no JavaScript watching the image. */
.app-mark-letter:not(:only-child){display:none}
/* `inherit` and not a radius of its own: the badge's radius is a token, and an icon cropped to a
   different corner than the badge it replaces would read as a different element. `100%` is what lets
   one rule fit both badges: 36px on a card, the window's own size in the header. */
.app-mark-icon{width:100%;height:100%;object-fit:contain;border-radius:inherit}

.modal-media{display:flex;gap:18px;align-items:flex-start}
.phone-frame{position:relative;flex:none;width:150px;margin:0;padding:9px;border:1px solid rgba(255,255,255,.14);border-radius:26px;background:linear-gradient(160deg,#1b2740,#0b1220);box-shadow:0 14px 30px rgba(0,0,0,.45)}
/* Drawn, not decorative furniture: without it the shape is a rounded rectangle, and the visitor has
   to take the phone on trust. */
.phone-speaker{position:absolute;top:15px;left:50%;transform:translateX(-50%);width:44px;height:5px;border-radius:var(--radius-full);background:rgba(255,255,255,.22)}
/* Reserve the phone shape while preserving every screenshot ratio with contain.
   The selector is the DIRECT child, and that is load-bearing: the
   fallback screen below also contains an `<img>` (the application's icon), and a bare
   `.phone-frame img` stretched that icon to a full screen's height. */
.phone-frame > img{display:block;width:100%;aspect-ratio:9/19;object-fit:contain;border-radius:18px;background:rgba(255,255,255,.04)}
/* The screen when no picture has been uploaded: the application's own mark above its name, centred.
   This is not a drawn imitation of a screen the office never sent — it is the pair the office already
   holds, and it is what every application shows until one uploads a picture. Drawn in the phone's own
   terms so the card and the window render it identically. */
.phone-fallback{display:grid;place-content:center;justify-items:center;gap:10px;width:100%;aspect-ratio:9/19;padding:14px;border-radius:18px;background:linear-gradient(180deg,#16233c,#0a1220);text-align:center}
.phone-fallback .app-mark-letter{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;font-size:1.4rem;font-weight:900;color:#fff;background:color-mix(in srgb, var(--brand, var(--color-green)) 22%, transparent);border:1px solid color-mix(in srgb, var(--brand, var(--color-green)) 40%, transparent)}
.phone-fallback .app-mark-icon{display:block;width:46px;height:46px;border-radius:12px;object-fit:contain}
.phone-fallback-name{font-size:var(--text-sm);font-weight:800;color:var(--color-text);line-height:1.6}
.modal-media-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.modal-launch{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--color-border-green);border-radius:var(--radius-md);background:rgba(201,164,92,.08)}
.modal-launch span{color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-label)}
.modal-launch strong{color:#fff;font-size:var(--text-base);font-weight:var(--weight-title);line-height:1.5}
/* 44px min-height like every other control a thumb has to hit, and the arrow is icon-decorated text
   rather than an icon button — the link says its own name. */
.btn-store{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:rgba(255,255,255,.04);color:var(--color-text-strong);font-size:var(--text-sm);font-weight:var(--weight-label);text-decoration:none;transition:border-color .2s,color .2s}
.btn-store:hover{border-color:var(--color-border-green);color:#fff}
.btn-store:focus-visible{outline:none;box-shadow:var(--glow-focus)}
.modal-media-note{margin:0;color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.7}

/* ---------- The four facts ---------- */
.modal-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.modal-fact{display:flex;flex-direction:column;gap:6px;padding:15px 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:rgba(255,255,255,.02)}
.modal-fact span{color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-label)}
.modal-fact b{color:#fff;font-size:var(--text-lg);font-weight:var(--weight-title);line-height:1.25;font-variant-numeric:tabular-nums}
/* The number the visitor is actually weighing, and the only one that gets the accent. */
.modal-fact.primary{border-color:var(--color-border-green);background:linear-gradient(145deg,rgba(201,164,92,.14),rgba(255,255,255,.02))}
.modal-fact.primary b{color:var(--color-green);font-size:var(--text-2xl);font-weight:var(--weight-display)}
/* The units still open, when the office declared a target: a percentage of the same two figures the
   console prints. Full width under the pair above it — a lone cell in the second row reads as a
   fact that went missing rather than as a third one. */
.modal-fact.availability{grid-column:1/-1}
.modal-fact.availability b{color:var(--color-green)}
/* A closed application keeps its button and loses its click, with the reason written on it. */
.app-modal-footer .btn-primary:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.5)}

.modal-risk-note{margin:0;padding:11px 14px;border-inline-start:3px solid var(--color-gold);border-radius:var(--radius-sm);background:rgba(251,191,36,.08);color:#d9c898;font-size:var(--text-sm);line-height:1.75}

/* ---------- Footer: pinned, so the two decisions are always in reach ---------- */
.app-modal-footer{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 24px;border-top:1px solid var(--color-border);background:rgba(11,18,32,.9)}
.app-modal-footer button{width:100%;min-height:48px}
/* .btn-primary is cyan system-wide, so this modal's only committing action was the only cyan
   control on the landing page. Same values as .register-submit, hover included, or the
   .btn-primary:hover that follows would put the cyan straight back. */
.app-modal-footer .btn-primary{background:linear-gradient(135deg,var(--color-green) 0%,#b8933f 100%);color:var(--color-on-brand);font-weight:var(--weight-title);box-shadow:0 6px 20px var(--color-green-glow)}
.app-modal-footer .btn-primary:hover{background:linear-gradient(135deg,var(--color-cyan-strong) 0%,#b8933f 100%);box-shadow:0 8px 26px rgba(201,164,92,.6)}

@media(max-width:520px){
  .app-modal-overlay{padding:12px}
  .app-modal-header{padding:18px 16px 14px}
  .app-modal-body{padding:16px}
  /* Two half-width cells would give a 28px figure a third of a phone line. */
  .modal-facts{grid-template-columns:1fr}
  .modal-fact.primary b{font-size:var(--text-xl)}
  /* The phone beside its text needs ~170px of the row it does not have; stacked, at a width that
     still fits a phone line, it shows the screen at a legible size. */
  .modal-media{flex-direction:column;align-items:center}
  .phone-frame{width:132px}
  .modal-media-side{width:100%}
  .app-modal-footer{grid-template-columns:1fr;padding:14px 16px}
}

.pf-image-state{display:block;font-size:.68rem;line-height:1.5;opacity:.85;margin-top:6px}

/* === 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/design_system.css === */
/* Shared palette for the public site, partner workspace and administration.
   Midnight-gold luxury: the partners' platform reads like private banking everywhere. */
:root {
  color-scheme: dark;
  --color-bg-base:#0a1022; --color-bg-surface:#101a36; --color-bg-card:#101a36;
  --color-bg-elevated:#0e1834; --color-bg-soft:#0d1730; --color-bg-navy:#070c1a;
  --color-on-navy:#f3efe4; --color-on-navy-muted:#b8b2a0;
  --color-text:#f3efe4; --color-text-strong:#f6f2e7;
  --color-text-muted:#b8b2a0; --color-text-dim:#a39c86;
  --color-primary:#c9a45c; --color-green:#c9a45c; --color-accent:#c9a45c;
  --color-cyan:#d8b76a; --color-cyan-light:#e3c57e; --color-cyan-muted:#b8933f;
  --color-cyan-strong:#b8933f; --color-on-brand:#1a1407;
  --color-success:#34d399; --color-danger:#f87171; --color-danger-soft:#f87171;
  --color-warning:#d8a940; --color-gold:#c9a45c; --color-gold-light:#e3c57e; --color-gold-soft:#d8b76a;
  --color-border:#2c3a5f; --color-border-strong:#3d4c74; --color-border-control:#64749b;
  --color-border-green:#c9a45c; --color-green-glow:rgba(201,164,92,.25); --color-cyan-glow:rgba(201,164,92,.2);
  --shadow-card:0 4px 18px rgba(0,0,0,.4); --shadow-raised:0 16px 48px rgba(0,0,0,.55);
  --text-xs:.8125rem; --text-2xs:.75rem; --text-sm:.875rem; --text-base:1rem;
  --weight-body:400; --weight-display:800;
  /* Motion tokens — the single voice every component moves with. Exact-property
     transitions only; transform/opacity keep motion on the GPU and inside the
     global reduced-motion guard. */
  --ease-out:cubic-bezier(0.23,1,0.32,1); --ease-in-out:cubic-bezier(0.77,0,0.175,1);
  --dur-press:140ms; --dur-ui:220ms;
}
.workspace-redesign {background:var(--color-bg-base);background-image:radial-gradient(circle at 85% 6%, rgba(201,164,92,.07) 0%, transparent 55%);color:var(--color-text);font-size:16px}
.workspace-redesign::before,.workspace-redesign::after {display:none}
.workspace-redesign .container {max-width:1320px;padding-inline:32px}
.workspace-redesign p {line-height:1.85}
.workspace-redesign h1,.workspace-redesign h2,.workspace-redesign h3 {color:var(--color-text);letter-spacing:0}
.workspace-redesign .site-header {background:rgba(9,14,30,.85)!important;backdrop-filter:blur(16px);border-bottom:1px solid rgba(201,164,92,.22);box-shadow:none}
.workspace-redesign .brand-logo {flex-direction:row-reverse;color:var(--color-text)}
.workspace-redesign .brand-ar {color:var(--color-text);font-size:26px;text-shadow:none}
.workspace-redesign .site-header .brand-title {display:block}
.workspace-redesign .nav-wrap {min-height:80px}
.workspace-redesign .nav-links a {color:#b8b2a0;font-size:14px}
.workspace-redesign .nav-links a.active {color:#d8b76a!important;background:rgba(201,164,92,.10);box-shadow:none}
.workspace-redesign .nav-links a.active::after {display:none}
.workspace-redesign .nav-links {background:transparent;box-shadow:none;border:0}
.workspace-redesign .btn-primary,.workspace-redesign .btn-nav-join {background:linear-gradient(160deg,#e3c57e 0%,#c9a45c 55%,#b8933f 100%)!important;color:#1a1407!important;border:1px solid #a8853a;box-shadow:0 6px 22px rgba(201,164,92,.28)!important;min-height:46px;border-radius:9px;font-weight:700}
.workspace-redesign .btn-primary:hover,.workspace-redesign .btn-nav-join:hover {background:linear-gradient(160deg,#ecd08a 0%,#d4ae66 55%,#c29a46 100%)!important;transform:none;color:#1a1407!important}
.workspace-redesign .btn-primary::after {display:none}
.workspace-redesign .btn-ghost,.workspace-redesign .btn-secondary,.workspace-redesign .btn-subtle {background:transparent;color:#e9e2d0;border:1px solid rgba(201,164,92,.45);box-shadow:none}
.workspace-redesign .form-control,.workspace-redesign textarea,.workspace-redesign select {background:#0d1730!important;color:var(--color-text)!important;border-color:var(--color-border-control)!important;border-radius:8px;box-shadow:none}
.workspace-redesign input::placeholder,.workspace-redesign textarea::placeholder {color:var(--color-text-muted);opacity:1}
.workspace-redesign input:focus,.workspace-redesign textarea:focus,.workspace-redesign select:focus {background:#0d1730!important;border-color:#c9a45c!important;outline:2px solid rgba(201,164,92,.5);outline-offset:2px;box-shadow:none!important}
.workspace-redesign label {color:var(--color-text-strong);font-weight:600}
.workspace-redesign .form-message {color:var(--color-text);background:rgba(201,164,92,.08);border-color:rgba(201,164,92,.3)}
.workspace-redesign .form-message.error-state {color:#f87171;background:rgba(248,113,113,.08);border-color:rgba(248,113,113,.4)}
.workspace-redesign .card {background:var(--color-bg-card)!important;border:1px solid rgba(201,164,92,.16);box-shadow:var(--shadow-card);transform:none}
.workspace-redesign .card::before,.workspace-redesign .card::after {display:none}
.workspace-redesign .portal-toggle {color:#d8b76a;background:#101a36;border:1px solid rgba(201,164,92,.3);box-shadow:none}
.workspace-redesign .portal-dropdown {background:#101a36;border-color:rgba(201,164,92,.25);box-shadow:var(--shadow-raised)}
.workspace-redesign .portal-dropdown a {color:var(--color-text)}
.workspace-redesign .menu-toggle {color:var(--color-text);background:#101a36;border-color:rgba(201,164,92,.3)}
.workspace-redesign .menu-toggle span {background:var(--color-text)}
.workspace-redesign .site-footer {background:#070c1a!important;border-top:1px solid rgba(201,164,92,.25);box-shadow:none}
.workspace-redesign .footer-brand-name,.workspace-redesign .site-footer h3 {color:#d8b76a}
.workspace-redesign .site-footer a,.workspace-redesign .site-footer p {color:#a39c86}
.workspace-redesign .footer-tagline-en {letter-spacing:0;font-size:12px}
.workspace-redesign .floating-contact button {background:#101a36;color:#d8b76a;border-color:rgba(201,164,92,.4);box-shadow:var(--shadow-card)}
.workspace-redesign .contact-panel {background:#101a36;color:var(--color-text);box-shadow:var(--shadow-raised)}
.workspace-redesign .legal-note,.workspace-redesign .wd-block,.workspace-redesign .wd-facts article {background:#101a36;border-color:rgba(201,164,92,.16);box-shadow:none}
.workspace-redesign .wd-hero {background:none;border:0;box-shadow:none}
.workspace-redesign .wd-hero h1 {font-size:32px}
.workspace-redesign .wd-facts strong,.workspace-redesign .wd-facts b {color:#d8b76a}
.workspace-redesign .wd-timeline,.workspace-redesign .wd-terms {background:#0d1730}
.workspace-redesign .faq-item,.workspace-redesign .faq-list details {background:#101a36;border-color:rgba(201,164,92,.16)}
.pf-body:has(>.app-mark-icon)>.app-mark-letter {display:none}
.pv-logo:has(>.app-mark-icon)>.app-mark-letter {display:none}

/* === css/home_shell.css === */
/* Public pages use the same quiet gold and navy system as the selected design. */
body.home-redesign { background: #0a1022; background-image: radial-gradient(circle at 88% 8%, rgba(201, 164, 92, 0.08) 0%, rgba(201, 164, 92, 0.03) 40%, transparent 65%), radial-gradient(circle at 10% 45%, rgba(11, 26, 56, 0.03) 0%, transparent 55%); background-attachment: fixed; color: #f3efe4; font-size: 16px; }
html:has(body.home-redesign) { scroll-padding-top: 0; }
.home-redesign .container { max-width: 1320px; padding-inline: 32px; }
.home-redesign main { flex: 1; }
.home-redesign h1, .home-redesign h2, .home-redesign h3 { color: #f6f2e7; letter-spacing: 0; }
.home-redesign h1 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 800; line-height: 1.45; }
.home-redesign h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.5; }
.home-redesign h3 { font-size: 18px; font-weight: 700; }
.home-redesign p { line-height: 1.9; color: #b8b2a0; }
.home-redesign a { color: #d8b76a; text-decoration: none; }
.home-redesign a:hover { text-decoration: underline; }
.home-redesign button, .home-redesign input { font: inherit; }
.home-redesign button { cursor: pointer; }
.home-redesign :focus-visible { outline: 3px solid #c9a45c; outline-offset: 4px; }
.home-redesign section[id] { scroll-margin-top: 102px; }
.home-redesign .site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 16, 34, 0.94) !important; border-bottom: 1px solid #e2e8f0; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 3px rgba(11, 26, 56, 0.03); }
.home-redesign .nav-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; }
.home-redesign .brand-logo { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 12px; color: #f6f2e7; font-size: 28px; font-weight: 800; }
.home-redesign .brand-logo img { width: 42px; height: 42px; object-fit: contain; }
.home-redesign .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.home-redesign .nav-links a { color: #b8b2a0; font-size: 15px; font-weight: 600; transition: color .15s; }
.home-redesign .nav-links a:hover { color: #d8b76a; }
.home-redesign .nav-actions { display: flex; align-items: center; gap: 12px; }
.home-redesign .btn-primary, .home-redesign .btn-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 11px 24px; border-radius: 10px; border: 1px solid rgba(201,164,92,.35); font-size: 16px; font-weight: 700; text-align: center; transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out), border-color .18s var(--ease-out); }
.home-redesign .btn-primary { background: #c9a45c; color: #1a1407; box-shadow: 0 4px 14px rgba(201, 164, 92, 0.22), inset 0 -1px 0 rgba(0,0,0,0.18); }
.home-redesign .btn-secondary { background: #101a36; color: #f6f2e7; border-color: #e2e8f0; box-shadow: 0 1px 3px rgba(11, 26, 56, 0.04); }
/* Press feedback: the interface confirms it heard the tap, in 140ms. This file rides
   after design_system.css in the bundle, so these win the equal-specificity hover
   rules above while the press is held. */
.home-redesign .btn-primary:active, .home-redesign .btn-secondary:active { transform: scale(0.98); transition-duration: var(--dur-press); }
@media (hover: hover) and (pointer: fine) {
  .home-redesign .btn-primary:hover { background: #b8933f; border-color: #b8933f; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201, 164, 92, 0.3); }
  .home-redesign .btn-secondary:hover { background: #0d1730; border-color: rgba(201,164,92,.35); text-decoration: none; transform: translateY(-1px); color: #d8b76a; }
}
.home-redesign .is-gated { background: #0d1730; color: #a39c86; border-color: rgba(201,164,92,.25); }
.home-redesign .is-gated:hover { background: #0e1834; }
.home-redesign .menu-toggle { display: none; padding: 8px 12px; border: 1px solid rgba(201,164,92,.3); border-radius: 8px; background: #101a36; color: #f3efe4; min-height: 44px; }
.home-intro { padding: 36px 0 28px; }
.hero-beacon { display: inline-flex; align-items: center; gap: 10px; background: rgba(201, 164, 92, 0.07); border: 1px solid rgba(201, 164, 92, 0.2); border-radius: 9999px; padding: 6px 16px; font-size: 13px; font-weight: 700; color: #d8b76a; margin-bottom: 18px; }
.beacon-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25); display: inline-block; animation: beacon-pulse 2s infinite ease-in-out; }
@keyframes beacon-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.75; } }
.home-intro h1 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; line-height: 1.35; color: #f6f2e7; }
.home-intro p { font-size: 18px; line-height: 1.85; color: #b8b2a0; max-width: 860px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.hero-btn-main { min-height: 52px; padding: 12px 28px; font-size: 16px; border-radius: 10px; }
.hero-btn-sub { min-height: 52px; padding: 12px 24px; font-size: 16px; border-radius: 10px; }
.hero-trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.trust-badge-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #101a36; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 1px 3px rgba(11, 26, 56, 0.03); transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out); }
.trust-badge-item:active { transform: scale(0.98); }
/* Entrance: the hero introduces itself once, in a short cascade — beacon, headline,
   copy, actions, then the four badges 60ms apart. `both` keeps the first frame hidden
   only while the animation exists; the reduced-motion guard below removes the
   animation entirely, so nothing ever stays invisible. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-beacon, .home-intro h1, .home-intro > p, .hero-actions, .trust-badge-item { animation: hero-rise 0.5s var(--ease-out) both; }
.home-intro h1 { animation-delay: 0.06s; }
.home-intro > p { animation-delay: 0.12s; }
.hero-actions { animation-delay: 0.18s; }
.trust-badge-item:nth-child(1) { animation-delay: 0.24s; }
.trust-badge-item:nth-child(2) { animation-delay: 0.3s; }
.trust-badge-item:nth-child(3) { animation-delay: 0.36s; }
.trust-badge-item:nth-child(4) { animation-delay: 0.42s; }
/* Hover lifts belong to precise pointers only — on touch they stick after the tap. */
@media (hover: hover) and (pointer: fine) {
  .trust-badge-item:hover { transform: translateY(-2px); border-color: rgba(201, 164, 92, 0.3); box-shadow: 0 6px 16px rgba(201, 164, 92, 0.08); }
}
.trust-icon { font-size: 20px; flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(201,164,92,.10); border-radius: 8px; border: 1px solid rgba(201,164,92,.25); color: #d8b76a; }
.trust-badge-item strong { display: block; font-size: 13px; font-weight: 700; color: #f6f2e7; line-height: 1.4; }
.trust-badge-item small { display: block; font-size: 11px; color: #b8b2a0; margin-top: 2px; }
.section-eyebrow { color: #d8b76a; font-size: 13px; font-weight: 700; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { margin: 4px 0 8px; }
.partnership-steps { padding-block: 48px; border-block: 1px solid rgba(201,164,92,.25); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; list-style: none; }
.steps-grid li { padding: 24px; background: #101a36; border-radius: 14px; border: 1px solid rgba(201,164,92,.25); box-shadow: 0 2px 8px rgba(16, 30, 66, 0.03); transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .steps-grid li:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16, 30, 66, 0.06); }
}
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(201,164,92,.10); color: #d8b76a; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.steps-grid h3 { margin: 8px 0; }
.steps-grid p { font-size: 15px; }
.steps-grid a { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.steps-note { margin-top: 24px; font-size: 13px; }
.register-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 40px; background: #0e1834; border-radius: 14px; margin-block: 56px; }
.register-copy h2 { margin: 8px 0 12px; }
.registration-summary { display: grid; gap: 12px; margin-bottom: 20px; color: #b8b2a0; }
.registration-summary strong { font-size: 23px; }
.register-submit { width: 100%; }
.register-note { font-size: 13px; margin-top: 12px; }
.risk-disclosure { padding: 28px 0; border-block: 1px solid rgba(201,164,92,.25); }
.risk-disclosure h2 { font-size: 22px; }
.risk-disclosure p { max-width: 900px; margin: 12px 0; }
.risk-disclosure a { font-size: 14px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; padding-block: 56px; }
.faq-list details { border-bottom: 1px solid rgba(201,164,92,.25); }
.faq-list summary { padding: 20px 0; cursor: pointer; font-weight: 600; color: #f3efe4; }
.faq-list p { padding-bottom: 20px; font-size: 15px; }
.home-redesign .site-footer { background: #0d1730; border-top: 1px solid rgba(201,164,92,.25); padding-block: 40px 20px; margin-top: 36px; }
.home-redesign .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.home-redesign .footer-grid h3 { margin-bottom: 14px; font-size: 15px; }
.home-redesign .footer-grid a:not(.brand-logo) { display: block; padding-block: 5px; font-size: 14px; color: #b8b2a0; }
.home-redesign .footer-brand p { font-size: 14px; max-width: 260px; margin-top: 12px; }
.home-redesign .footer-tagline-en { text-align: center; padding-top: 30px; font-size: 13px; color: #a39c86; }
.numeric-value, bdi { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.home-redesign .mobile-cta { display: none; }
.home-redesign .floating-contact-toggle { background: #101a36; color: #b8b2a0; border: 1px solid rgba(201,164,92,.25); box-shadow: 0 4px 18px #101e4210; }
.home-redesign .floating-contact-action { background: #101a36; color: #f3efe4; border-color: rgba(201,164,92,.25); }
.home-redesign .contact-pulse-dot { animation: none; background: #c9a45c; box-shadow: none; }
.home-redesign .contact-toggle-icon { color: #d8b76a; }
@media (max-width: 900px) {
  .home-redesign .container { padding-inline: 24px; }
  .home-redesign .nav-links { gap: 18px; }
  .register-section { gap: 32px; padding: 28px; }
  .hero-trust-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 700px) {
  .home-redesign .container { padding-inline: 20px; }
  .home-redesign .nav-wrap { min-height: 72px; gap: 12px; }
  .home-redesign .brand-logo { font-size: 22px; gap: 8px; }
  .home-redesign .brand-logo img { width: 32px; height: 32px; }
  .home-redesign .partner-login { min-height: 44px; font-size: 13px; padding: 8px 12px; }
  .home-redesign .menu-toggle { display: inline-flex; }
  .home-redesign #site-navigation { display: none; position: absolute; top: 72px; inset-inline: 0; padding: 20px; background: #101a36; border-bottom: 1px solid rgba(201,164,92,.25); }
  .home-redesign #site-navigation.open { display: block; }
  .home-redesign .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .home-redesign .nav-links a { display: block; padding: 12px; }
  .home-intro { padding: 22px 0 14px; }
  .home-intro p { font-size: 16px; }
  .section-heading { margin-bottom: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn-main, .hero-btn-sub { width: 100%; }
  .hero-trust-strip { grid-template-columns: 1fr; gap: 10px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid li { padding: 18px; }
  .partnership-steps { padding-block: 26px; }
  .register-section, .faq-section { grid-template-columns: 1fr; gap: 24px; }
  .register-section { padding: 20px; margin-block: 28px; }
  .faq-section { padding-block: 28px; }
  .home-redesign .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .home-redesign .site-footer { padding-bottom: 96px; }
  .home-redesign .mobile-cta { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 99; background: #101a36; border-top: 1px solid rgba(201,164,92,.25); padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); box-shadow: none; }
  .home-redesign .mobile-cta a { flex: 1; min-height: 44px; display: grid; place-items: center; font-size: 13px; }
  .home-redesign .floating-contact { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .home-redesign section[id] { scroll-margin-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-redesign *, .home-redesign *::before, .home-redesign *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* === css/home_projects.css === */
/* A single admin-owned phone, with one shared choice for details, estimates and signup. */
.project-discovery { display: grid; grid-template-columns: minmax(260px, .95fr) minmax(0, 1.15fr) minmax(260px, .9fr); gap: 32px; align-items: start; padding-block: 32px 48px; }
.project-discovery .home-intro { grid-column: 1 / -1; padding-bottom: 40px; border-bottom: 1px solid rgba(201,164,92,.25); margin-bottom: 16px; }
.project-discovery .home-intro p { font-size: 18px; }
.selector-title { font-size: 15px !important; margin-bottom: 16px; color: #b8b2a0 !important; font-weight: 600 !important; }
.app-choice-block { min-width: 0; grid-column: 1; grid-row: 2; }
.project-selector { display: grid; gap: 10px; min-width: 0; max-width: 100%; }
.project-selector .app-choice-chip { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 102px; padding: 16px; border: 1px solid rgba(201,164,92,.25); border-inline-start: 4px solid transparent; background: #101a36; text-align: right; color: #f6f2e7; border-radius: 14px; box-shadow: 0 1px 3px rgba(11, 26, 56, 0.04); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.project-selector .app-choice-chip:hover { background: #0e1834; border-color: rgba(201,164,92,.35); transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(201, 164, 92, 0.08); }
.project-selector .app-choice-chip.active { background: linear-gradient(135deg, rgba(201,164,92,.14) 0%, rgba(201,164,92,.06) 100%); border-color: #c9a45c; border-inline-start-color: #c9a45c; box-shadow: 0 8px 24px -4px rgba(201, 164, 92, 0.16); transform: translateY(-1px); }
.choice-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,164,92,.10); color: #d8b76a; overflow: hidden; font-size: 24px; font-weight: 700; border: 1px solid rgba(201, 164, 92, 0.14); box-shadow: 0 2px 6px rgba(201, 164, 92, 0.08); }
.choice-icon img { width: 100%; height: 100%; object-fit: contain; }
.app-mark-letter { display: none; }
.app-mark-letter:only-child { display: inline; }
.choice-copy { min-width: 0; display: grid; gap: 4px; }
.app-choice-name { font-size: 17px; font-weight: 700; line-height: 1.6; }
.app-choice-cat { color: #b8b2a0; font-size: 14px; }
.app-choice-state { font-size: 12px; color: #a39c86; }
.app-choice-state.open { color: #34d399; font-weight: 600; }
.project-spotlight { display: contents; }
.spotlight-copy { min-width: 0; grid-column: 2; grid-row: 2; align-self: start; }
.project-state { display: inline-flex; align-items: center; gap: 8px; color: #f6f2e7; background: rgba(201,164,92,.10); border-radius: 20px; font-size: 13px; font-weight: 700; padding: 6px 14px; border: 1px solid rgba(201, 164, 92, 0.25); }
.project-state.open { background: rgba(16, 185, 129, 0.1); color: #34d399; border-color: rgba(16, 185, 129, 0.25); }
.project-state.open::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25); }
.spotlight-copy h2 { font-size: clamp(28px, 2.8vw, 38px); margin: 16px 0 12px; color: #f6f2e7; font-weight: 800; }
.spotlight-about { font-size: 17px; line-height: 1.85; color: #b8b2a0; }
.project-launch { font-size: 13px; margin-top: 14px; }
.partnership-explanation { border-top: 1px solid rgba(201,164,92,.25); margin-top: 24px; padding-top: 20px; }
.partnership-explanation h3 { margin-bottom: 8px; font-size: 16px; color: #f6f2e7; }
.partnership-explanation p { font-size: 14px; color: #b8b2a0; }
.spotlight-copy .btn-primary { width: 100%; margin-top: 24px; font-size: 15px; box-shadow: 0 4px 14px rgba(201, 164, 92, 0.22); }
.spotlight-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 16px; font-size: 14px; }
.text-button { background: transparent; border: 0; color: #d8b76a; min-height: 44px; padding: 0; }
.text-button:hover { text-decoration: underline; }
.store-link { display: inline-block; font-size: 13px; margin-top: 12px; }
.spotlight-media { min-width: 0; text-align: center; grid-column: 3; grid-row: 2; align-self: start; }
.spotlight-media .phone-frame { width: min(100%, 310px); height: auto; aspect-ratio: 9 / 18.8; border-radius: 40px; padding: 9px; background: #0b1a38; border: 2.5px solid #334a75; box-shadow: 0 25px 50px -12px rgba(11, 26, 56, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15) inset; margin: 0 auto; position: relative; overflow: visible; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s; }
/* Hardware keys — the frame's own metal, one pseudo element with a shadow sibling. */
.spotlight-media .phone-frame::before { content: ''; position: absolute; right: -4px; top: 108px; width: 4px; height: 54px; border-radius: 3px; background: linear-gradient(180deg, #41527e, #1c2a4a); box-shadow: 0 34px 0 -1px #2a3a60; }
/* A diagonal sheen across the glass, clipped to the screen's own curve. */
.spotlight-media .phone-frame::after { content: ''; position: absolute; inset: 9px; border-radius: 30px; pointer-events: none; z-index: 3; background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, transparent 27%); }
.spotlight-media .phone-frame:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 30px 60px -12px rgba(201, 164, 92, 0.22); }
.spotlight-media .phone-speaker { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 64px; height: 12px; border-radius: 10px; background: #0b1a38; z-index: 2; }
.spotlight-media .phone-frame > img { width: 100%; height: 100%; border-radius: 30px; object-fit: contain; background: #101a36; }
.spotlight-media .phone-fallback { height: 100%; background: linear-gradient(180deg, #0d1730 0%, #101a36 100%); color: #f6f2e7; border-radius: 30px; display: flex; flex-direction: column; padding: 40px 18px 24px; text-align: center; }
.spotlight-media .pf-header { color: #b8b2a0; font-size: 13px; }
.spotlight-media .pf-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.spotlight-media .app-mark-icon { width: 76px; height: 76px; object-fit: contain; border-radius: 16px; border: 2px solid rgba(201,164,92,.35); box-shadow: 0 8px 24px rgba(16, 30, 66, 0.12); }
.spotlight-media .phone-fallback-name { font-size: 26px; font-weight: 800; color: #f6f2e7; }
.spotlight-media .pf-tagline { font-size: 14px; color: #b8b2a0; }
.spotlight-media .pf-action { padding: 12px; border: 1px solid rgba(201,164,92,.35); border-radius: 9px; color: #d8b76a; font-size: 13px; }
.spotlight-media .pf-action i { display: none; }
.phone-caption { font-size: 12px; margin-top: 16px; }
.loading-note, .project-empty { padding: 28px 0; }
.project-empty { grid-column: 1 / -1; }
.project-empty h2 { font-size: 24px; }
.project-empty p { margin: 12px 0 20px; }
.home-redesign .app-modal-dialog { background: #101a36; color: #f3efe4; border-color: rgba(201,164,92,.25); }
.home-redesign .app-modal-header, .home-redesign .app-modal-footer { background: #0d1730; border-color: rgba(201,164,92,.25); }
.home-redesign .modal-app-name h3, .home-redesign .modal-info-title, .home-redesign .modal-fact b { color: #f3efe4; }
.home-redesign .modal-info-card, .home-redesign .modal-fact { background: #0d1730; border-color: rgba(201,164,92,.25); box-shadow: none; }
.home-redesign .modal-fact.primary { background: rgba(201,164,92,.10); }
.home-redesign .modal-app-stage, .home-redesign .modal-app-state { background: #0e1834; color: #b8b2a0; }
.home-redesign .modal-app-state.open { background: rgba(52,211,153,.12); color: #34d399; }
.home-redesign .modal-risk-note { background: rgba(216,169,64,.10); color: #d8a940; border-color: rgba(216,169,64,.35); }
.home-redesign .modal-media-note { color: #b8b2a0; }
.home-redesign .modal-media .phone-fallback { background: #0d1730; color: #f3efe4; }
.home-redesign .modal-media .pf-action { color: #d8b76a; background: transparent; }
.home-redesign .modal-media .phone-fallback .app-mark-letter { color: #d8b76a; }
.home-redesign .btn-modal-close { background: #0e1834; color: #b8b2a0; }
.home-redesign .app-modal-footer .btn-primary:disabled { background: #0e1834; color: #b8b2a0; border-color: rgba(201,164,92,.25); }
@media (max-width: 1050px) {
  .project-discovery { gap: 24px; grid-template-columns: 240px minmax(0, 1fr); }
  .project-discovery .home-intro { grid-column: 1 / -1; }
  .project-spotlight { display: flex; flex-direction: column; grid-column: 2; grid-row: 2; min-width: 0; gap: 24px; }
  .spotlight-copy { order: 1; }
  .spotlight-media { order: 2; }
  .spotlight-media .phone-frame { width: 220px; }
}
@media (max-width: 700px) {
  .project-discovery { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 32px; }
  .project-discovery .home-intro { padding-bottom: 24px; margin-bottom: 8px; }
  .project-spotlight { display: flex; flex-direction: column; grid-column: 1; grid-row: 3; min-height: 0; gap: 24px; }
  .spotlight-copy { order: 1; }
  .spotlight-media { order: 2; }
  .project-selector { display: flex; overflow-x: auto; gap: 12px; padding: 4px 2px 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .project-selector .app-choice-chip { flex: 0 0 190px; min-height: 94px; padding: 12px; align-items: flex-start; gap: 10px; border-radius: 10px; }
  .project-selector .app-choice-chip.active { border-color: #c9a45c; }
  .project-selector .choice-icon { width: 36px; height: 36px; border-radius: 8px; font-size: 18px; }
  .project-selector .app-choice-name { font-size: 15px; }
  .project-selector .app-choice-cat { font-size: 12px; }
  .project-selector .app-choice-state { font-size: 11px; }
  .spotlight-media .phone-frame { width: 220px; }
  .spotlight-copy h2 { margin-block: 12px; }
  .spotlight-about { font-size: 17px; }
}

/* === css/home_simulator.css === */
/* One result, proportional yearly bars, and a short path into registration. */
.partnership-estimator { padding-block: 56px 0; }
.simulator-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.simulator-heading h2 { margin: 6px 0 12px; }
.simulator-project { display: flex; align-items: center; gap: 14px; flex: none; }
.simulator-project > div { display: grid; gap: 8px; }
.simulator-project strong { font-size: 20px; }
.simulator-project a { font-size: 13px; }
.simulator-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.6fr); gap: 32px; align-items: start; }
.estimator-control { border: 0; border-inline-end: 1px solid rgba(201,164,92,.25); padding-inline-end: 32px; min-width: 0; }
.estimator-control label, .control-label { display: block; margin-bottom: 16px; color: #f3efe4; font-size: 17px; font-weight: 700; }
.unit-input { display: flex; direction: ltr; align-items: center; min-height: 70px; border: 1.5px solid rgba(201,164,92,.25); border-radius: 14px; background: #101a36; padding: 6px 8px; gap: 8px; box-shadow: 0 2px 8px rgba(16, 30, 66, 0.04); transition: border-color .18s, box-shadow .18s; }
.unit-input:focus-within { border-color: #c9a45c; box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.16); }
.unit-input input { min-width: 0; width: 100%; border: 0; background: transparent; color: #f3efe4; text-align: center; font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; padding: 6px 0; box-shadow: none; appearance: textfield; }
.unit-input input::-webkit-inner-spin-button, .unit-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.unit-input button { flex: none; width: 46px; height: 48px; border: 0; border-radius: 8px; color: #d8b76a; background: rgba(201,164,92,.10); font-size: 24px; font-weight: 700; transition: background .15s var(--ease-out), transform var(--dur-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .unit-input button:hover:not(:disabled) { background: rgba(201,164,92,.14); color: #d8b76a; }
}
.unit-input button:active:not(:disabled) { transform: scale(0.96); }
.unit-input button:disabled { opacity: .45; cursor: not-allowed; }
.input-currency { flex: none; font-size: 15px; font-weight: 600; color: #b8b2a0; }
.amount-centimes { margin-top: 12px; text-align: center; color: #b8b2a0; font-size: 14px; font-weight: 600; }
#shares-range { display: block; width: 100%; margin: 28px 0; height: 26px; accent-color: #c9a45c; cursor: pointer; direction: ltr; }
#shares-range { appearance: none; background: transparent; }
#shares-range::-webkit-slider-runnable-track { height: 7px; border-radius: 8px; background: linear-gradient(90deg, #c9a45c var(--fill, 0%), #0e1834 var(--fill, 0%)); }
#shares-range::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; margin-top: -8.5px; border: 3px solid #fff; border-radius: 50%; background: #c9a45c; box-shadow: 0 2px 8px rgba(201, 164, 92, 0.4); }
#shares-range::-moz-range-track { height: 7px; border-radius: 8px; background: #0e1834; }
#shares-range::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #c9a45c; }
.amount-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.amount-chips button { min-height: 46px; border: 1px solid rgba(201,164,92,.25); border-radius: 10px; background: #101a36; color: #b8b2a0; font-size: 13px; font-weight: 700; transition: color .18s var(--ease-out), background .18s var(--ease-out), border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform var(--dur-press) var(--ease-out); }
.amount-chips button.active { color: #1a1407; background: #c9a45c; border-color: #c9a45c; box-shadow: 0 4px 14px rgba(201, 164, 92, 0.28); transform: translateY(-1px); }
.amount-chips button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .amount-chips button:hover { border-color: rgba(201,164,92,.35); color: #d8b76a; background: rgba(201,164,92,.08); transform: translateY(-1px); }
}
.unit-hint { margin-top: 14px; font-size: 12px; }
.unit-hint span { display: block; }
.unit-note { font-size: 13px; color: #d8a940 !important; margin-top: 8px; }
.equity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-block: 1px solid rgba(201,164,92,.25); padding: 20px 0; margin-block: 24px; color: #b8b2a0; font-size: 14px; }
.equity-row strong { color: #f3efe4; font-size: 16px; font-weight: 600; }
/* The annualized frame: the same honest figure, graspable in one glance. */
.projection-annual { margin-top: 2px; font-size: 15px; font-weight: 600; }
.projection-monthly { margin-top: 2px; font-size: 19px; font-weight: 800; }
.projection-total { margin-top: 8px; font-size: 14px; }
.projection-value { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; text-align: center; }
.equity-explain { margin: -12px 0 0; font-size: 12px; }
.scenarios-chips { display: flex; gap: 8px; }
.scenario-chip { flex: 1; min-height: 48px; border: 1px solid rgba(201,164,92,.25); border-radius: 8px; background: #101a36; color: #b8b2a0; font-size: 14px; transition: background var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.scenario-chip.active { background: rgba(201,164,92,.10); border-color: #c9a45c; color: #d8b76a; }
.scenario-chip:active:not(:disabled) { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .scenario-chip:hover:not(:disabled):not(.active) { border-color: rgba(201,164,92,.35); color: #d8b76a; }
}
.scenario-chip:disabled { opacity: .5; cursor: not-allowed; }
.simulator-result { min-width: 0; }
.projection { background: linear-gradient(180deg, #0d1730 0%, #101a36 100%); border: 1px solid rgba(201,164,92,.25); border-radius: 18px; padding: 28px 32px; box-shadow: 0 10px 30px -5px rgba(201, 164, 92, 0.07); position: relative; overflow: hidden; }
.simple-result-card { border-bottom: 1px solid rgba(201,164,92,.25); padding-bottom: 24px; }
.src-eyebrow { display: block; font-size: 16px; font-weight: 600; color: #b8b2a0; }
.src-amount { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; font-size: clamp(28px, 4.5vw, 64px); line-height: 1.6; margin-top: 12px; font-weight: 800; color: #d8b76a; }
.result-currency { font-size: .48em; font-weight: 600; }
.timeline-title { font-size: 17px; margin: 24px 0; }
.projection-chart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.projection-col { min-width: 0; position: relative; }
.projection-year-button { display: block; position: relative; width: 100%; padding: 0; background: transparent; border: 0; color: #b8b2a0; font: inherit; }
.projection-track { display: flex; align-items: flex-end; height: 200px; border-bottom: 1px solid rgba(201,164,92,.25); }
.projection-bar { display: block; width: 100%; height: var(--bar); max-height: 100%; background: linear-gradient(180deg, #e3c57e 0%, #c9a45c 100%); border-radius: 6px 6px 0 0; box-shadow: 0 -2px 8px rgba(201, 164, 92, 0.25); transition: height .28s var(--ease-out), background .16s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .projection-year-button:hover .projection-bar { background: linear-gradient(180deg, #e3c57e 0%, #d8b76a 100%); }
}
.projection-year-button:focus-visible .projection-bar { background: linear-gradient(180deg, #e3c57e 0%, #d8b76a 100%); }
.projection-axis { display: block; margin-top: 12px; font-size: 13px; }
.projection-legal-note { margin-top: 28px; font-size: 13px; }
.projection-empty { padding: 40px 28px; background: #0d1730; border-radius: 14px; }
.projection-empty h3 { font-size: 20px; }
.projection-empty p { margin: 12px 0 18px; }
.simulator-next { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; padding-top: 28px; }
.simulator-next .btn-primary { min-width: 300px; }
.simulator-next p { flex: 0 0 100%; text-align: center; font-size: 12px; }
.method-link { font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.estimator-formula { margin-top: 24px; border-bottom: 1px solid rgba(201,164,92,.25); }
.estimator-formula summary { padding: 18px 0; font-size: 14px; font-weight: 600; color: #b8b2a0; cursor: pointer; }
.estimator-formula p { font-size: 14px; margin-bottom: 16px; max-width: 900px; }
.estimator-formula h3 { margin: 12px 0; }
.assumptions-table { border-collapse: collapse; width: min(100%, 500px); margin-bottom: 20px; font-size: 14px; }
.assumptions-table th, .assumptions-table td { text-align: right; padding: 10px 16px; border-bottom: 1px solid rgba(201,164,92,.25); }
.assumptions-table th { color: #b8b2a0; font-weight: 600; }
@media (min-width: 1051px) {
  .home-redesign .simulator-heading h2 { font-size: 40px; }
  .amount-chips { grid-template-columns: repeat(4, 1fr); }
  .unit-hint span { display: inline; }
  .projection-track { height: 220px; }
}
@media (max-width: 900px) {
  .simulator-heading { align-items: flex-start; }
  .simulator-layout { grid-template-columns: 1fr 1.25fr; gap: 24px; }
  .estimator-control { padding-inline-end: 24px; }
  .projection { padding: 24px; }
  .projection-chart { gap: 12px; }
}
@media (max-width: 700px) {
  .partnership-estimator { padding-top: 36px; }
  .simulator-heading { flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .simulator-project { padding-bottom: 16px; border-bottom: 1px solid rgba(201,164,92,.25); width: 100%; }
  .simulator-project strong { font-size: 18px; }
  .simulator-layout { grid-template-columns: 1fr; gap: 28px; }
  /* The answer rides above the questions on a phone: the card sticks while the
     visitor drags the slider, so every move re-reads the figure without scrolling. */
  .simulator-result { order: -1; position: sticky; top: 72px; z-index: 6; }
  .estimator-control { border: 0; padding: 0; }
  .amount-chips { grid-template-columns: repeat(2, 1fr); }
  .unit-hint span { display: inline; }
  .equity-row { margin-block: 20px; }
  .projection { padding: 24px 20px; }
  .projection-track { height: 170px; }
  .projection-chart { gap: 10px; }
  .projection-axis { font-size: 11px; }
  .projection-value { font-size: 11px; }
  .src-amount { font-size: clamp(27px, 8vw, 38px); }
  .src-eyebrow { font-size: 14px; }
  .simulator-next { gap: 10px; }
  .simulator-next .btn-primary { width: 100%; min-width: 0; }
}

/* === css/content_updates.css === */
.content-editor,.public-company-profile,.partner-message-center,.partner-project-journal { margin-block:28px; }
.content-editor>p,.content-empty,.content-feedback,.partner-followup p { color:var(--color-text-muted); line-height:1.9; }
.content-editor .form-group { margin-block:14px; }
.content-editor textarea { min-height:110px; resize:vertical; }
.content-editor .checkbox-label { display:flex; align-items:center; gap:10px; margin-block:16px; }
.content-editor .checkbox-label input { width:18px; height:18px; accent-color:#c9a45c; }
.inline-form-actions { display:flex; flex-wrap:wrap; gap:12px; }
.content-feedback:empty { display:none; }
.media-preview.journal-media-preview { width:min(100%,320px); height:auto; max-height:300px; object-fit:contain; align-self:flex-start; }
.content-history { margin-top:24px; }
.content-record { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:22px 0; border-top:1px solid rgba(201,164,92,.25); }
.content-record>div { min-width:0; flex:1; }
.content-record h3,.partner-message h3 { font-size:18px; margin-block:10px 4px; }
.content-record small,.partner-message small { color:#b8b2a0; }
.content-record button { flex-shrink:0; }
.content-body { white-space:pre-line; overflow-wrap:anywhere; line-height:1.95; }
.content-section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.content-section-heading h2 { font-size:24px; margin:6px 0; }
.partner-followup { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; border-radius:22px; background:rgba(201,164,92,.10); border:1px solid rgba(201,164,92,.25); margin-block:24px; }
.partner-followup h2 { font-size:24px; margin:8px 0; }
.partner-followup>div { min-width:0; }
.partner-followup button { flex-shrink:0; }
.partner-message { padding:24px; background:#101a36; border:1px solid rgba(201,164,92,.25); border-radius:16px; margin-bottom:14px; }
.partner-message.unread { border-inline-start:4px solid #c9a45c; }
.project-journal { list-style:none; margin:0; padding:0; }
.project-journal li { position:relative; padding:0 30px 28px 0; border-inline-start:2px solid rgba(201,164,92,.25); margin-inline-start:8px; }
.project-journal li::before { content:""; width:12px; height:12px; background:#c9a45c; border:3px solid #101a36; border-radius:50%; position:absolute; inset-inline-start:-7px; top:6px; }
.project-journal time { color:#b8b2a0; font-size:13px; }
.project-journal h3 { margin:8px 0; font-size:20px; }
.project-journal img { display:block; max-width:100%; max-height:360px; border-radius:16px; margin-block:18px; }
.project-journal a { display:inline-block; color:#d8b76a; font-weight:700; margin-block:12px; }
.company-profile-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:48px; }
.public-company-profile { padding-block:44px; border-top:1px solid rgba(201,164,92,.25); }
.team-member { display:flex; align-items:center; gap:16px; padding:18px; border:1px solid rgba(201,164,92,.25); border-radius:16px; margin-bottom:12px; }
.team-member img,.team-avatar { width:64px; height:64px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.team-avatar { display:grid; place-items:center; background:rgba(201,164,92,.10); color:#d8b76a; }
.team-member h3 { margin:0 0 4px; font-size:18px; }
.team-member p { margin:0; color:#b8b2a0; }
.team-editor { padding:20px; border:1px solid rgba(201,164,92,.25); border-radius:16px; margin-block:16px; }
.journey-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-block:22px; }
.journey-metrics>div { padding:20px; background:#0d1730; border-radius:16px; display:grid; gap:8px; }
.journey-metrics strong { font-size:28px; color:#d8b76a; }
.journey-metrics span { font-size:13px; color:#b8b2a0; }
#company-profile-admin { margin-top:30px; }
@media(max-width:700px) {
  .company-profile-grid { grid-template-columns:1fr; gap:20px; }
  .content-record,.partner-followup { flex-direction:column; }
  .partner-followup { padding:22px; }
  .journey-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .journey-metrics>div { padding:14px; }
  .content-section-heading { align-items:flex-start; }
}
@media print { #partner-updates { display:none!important; } }

/* === css/project_page.css === */
.project-page-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px 12px; }
.project-page-top a { color: #3b5270; font-weight: 600; text-decoration: none; transition: color 160ms ease; }
.project-page-top a:hover { color: #075df5; }
.project-page-top button { font: inherit; color: #075df5; background: #ffffff; border: 1px solid #c5daf6; padding: 9px 18px; border-radius: 10px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(7, 93, 245, 0.06); }
.project-page .project-spotlight { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 60px; align-items: center; padding-block: 32px 56px; }
.project-page .spotlight-copy { grid-column: 1; grid-row: 1; }
.project-page .spotlight-media { grid-column: 2; grid-row: 1; }
.project-page .spotlight-copy h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.5; margin-block: 12px; color: #0b162c; letter-spacing: -0.025em; }
.project-page .spotlight-copy .btn-primary { width: auto; padding-inline: 32px; }
.project-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 48px; }
.project-detail-card { padding: 26px 28px; border: 1px solid #cfe1fb; border-radius: 18px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); box-shadow: 0 12px 30px rgba(11, 30, 66, 0.05); }
.project-detail-card h2 { font-size: 22px; font-weight: 700; color: #0b162c; margin: 0 0 12px; }
.project-detail-card p { color: #3d526f; line-height: 1.88; margin: 0; }
.public-project-journal { padding-block: 44px; border-top: 1px solid #cfe1fb; }
.public-project-journal .project-journal { max-width: 850px; }
.project-page-empty { min-height: 45vh; padding-block: 80px; }
.share-feedback { color: #0c6b3d; font-size: 13px; font-weight: 600; }
@media(max-width:700px) {
  .project-page-top { flex-wrap: wrap; }
  .project-page .project-spotlight { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .project-page .spotlight-media { grid-column: 1; grid-row: 2; }
  .project-page .spotlight-copy .btn-primary { width: 100%; }
  .project-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-detail-card { padding: 22px; }
}

/* === css/home_journey.css === */
.partnership-explanation h4 { margin:16px 0 6px; font-size:14px; color:#b8b2a0; }
.partnership-terms { margin-top:14px; border-top:1px solid rgba(201,164,92,.25); }
.partnership-terms summary { cursor:pointer; min-height:44px; padding-block:12px; font-size:14px; color:#d8b76a; }
.partnership-terms p { margin-block:10px; }
.project-image-open { display:block; padding:0; border:0; width:100%; height:100%; border-radius:29px; background:#101a36; cursor:zoom-in; }
.spotlight-media .project-image-open img { display:block; width:100%; height:100%; object-fit:contain; border-radius:29px; }
.project-image-dialog { max-width:min(700px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); border:1px solid rgba(201,164,92,.25); border-radius:16px; background:#101a36; color:#f3efe4; padding:20px; overflow:auto; }
.project-image-dialog::backdrop { background:#101e42b3; }
.project-image-dialog > button { display:block; margin-bottom:16px; }
.project-image-dialog img { display:block; max-width:100%; max-height:70dvh; margin:auto; object-fit:contain; }
.project-image-dialog p { margin-top:16px; font-size:13px; }
.projection-period, .projection-scenario-note { font-size:13px; margin-top:8px; color:#b8b2a0; }
.projection-years summary { min-height:44px; padding-block:16px; color:#d8b76a; cursor:pointer; font-size:14px; font-weight:600; }
.projection-years .timeline-title { margin-top:8px; }
.home-redesign .mobile-followup { display:none; }
@media(max-width:700px) {
  .home-redesign .mobile-followup { display:flex; align-items:center; gap:12px; }
  .home-redesign .mobile-followup .followup-copy { flex:1; min-width:0; display:grid; gap:3px; font-size:12px; }
  .home-redesign .mobile-followup .followup-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .home-redesign .mobile-followup .followup-action { flex:none; display:flex; min-height:44px; padding:8px 14px; border-radius:8px; color:#1a1407; background:#c9a45c; font-size:13px; }
  .home-redesign .mobile-followup[hidden] { display:none !important; }
  .home-redesign .mobile-followup.is-gated .followup-action { background:#0d1730; color:#a39c86; }
}

/* === css/operations_help.css === */
.partner-context-help { margin: 1rem 0; padding: 1rem; border: 1px solid var(--border-color, rgba(201,164,92,.25)); border-radius: 1rem; background: var(--bg-secondary, #0d1730); color: var(--text-primary, #f3efe4); }
.network-notice { padding: .75rem 1rem; background: rgba(216,169,64,.12); color: #d8a940; border-bottom: 1px solid rgba(216,169,64,.35); text-align: center; line-height: 1.8; }
.network-notice[hidden] { display: none; }
.partner-context-help summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.partner-context-help p { line-height: 1.8; }
.partner-context-help nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.partner-context-help nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-primary, #f3efe4); text-decoration: underline; }
.partner-followup [data-next-target] { margin-block-start: .75rem; }
.partner-followup [data-next-notice]:empty { display: none; }
.diagnostic-notice { position: fixed; z-index: 11000; inset-inline: 1rem; bottom: 1rem; max-width: 40rem; margin-inline: auto; padding: 1rem; border: 2px solid rgba(248,113,113,.5); border-radius: .75rem; box-shadow: 0 12px 30px #0003; background: #101a36; color: #f3efe4; }
.diagnostic-notice[hidden] { display: none; }
.diagnostic-notice p { margin: 0 0 .5rem; }
.diagnostic-notice code { display: block; direction: ltr; overflow-wrap: anywhere; font-size: .85rem; margin-bottom: .5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* --- Workspace v2 Modern Withdrawals Management --------------------------- */
body.workspace-v2.identity-page .admin-withdrawals:not([hidden]){display:flex;flex-direction:column;gap:12px}
body.workspace-v2.identity-page .admin-withdrawals>[data-withdrawal-summary]{order:1;display:flex;flex-direction:column;gap:12px;margin:0!important}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-inline-start:4px solid #3b82f6;border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.03)}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-icon{width:38px;height:38px;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe;display:grid;place-items:center;flex-shrink:0}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card.is-amber{border-inline-start-color:#d97706}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card.is-amber .wd-kpi-icon{background:#fffbeb;border-color:#fde68a}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card.is-emerald{border-inline-start-color:#059669}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card.is-emerald .wd-kpi-icon{background:#ecfdf5;border-color:#a7f3d0}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card span{display:block;font-size:12px;font-weight:600;color:#64748b;margin-bottom:2px}
body.workspace-v2.identity-page .admin-withdrawals .wd-kpi-card strong{display:block;font-size:18px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;line-height:1.2}
body.workspace-v2.identity-page .admin-withdrawals .wd-quick-bar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.02)}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip{display:inline-flex;align-items:center;gap:7px;min-height:34px!important;padding:5px 12px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#f8fafc!important;color:#334155!important;font-size:12.5px!important;font-weight:600!important;cursor:pointer}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip:not([data-wd-quick="all"])::before{content:"";width:7px;height:7px;border-radius:50%;background:#94a3b8;flex-shrink:0}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip[data-wd-quick="PENDING"]::before{background:#f59e0b}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip[data-wd-quick="IN_REVIEW"]::before{background:#3b82f6}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip[data-wd-quick="SETTLED"]::before{background:#10b981}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip[data-wd-quick="REJECTED"]::before{background:#dc2626}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip .quick-chip-count{padding:1px 7px;border-radius:999px;background:#fff!important;border:1px solid #e2e8f0;color:#334155!important;font-size:11px;font-weight:700}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip.is-active{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;box-shadow:0 2px 6px rgba(37,99,235,.22)!important}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip.is-active::before{background:#fff!important}
body.workspace-v2.identity-page .admin-withdrawals .quick-chip.is-active .quick-chip-count{background:rgba(255,255,255,.22)!important;border-color:transparent!important;color:#fff!important}
body.workspace-v2.identity-page .admin-withdrawals>#withdrawal-create-form{order:2;margin:0!important;padding:16px 18px!important;border-radius:14px!important}
body.workspace-v2.identity-page .admin-withdrawals>.request-tools{order:3;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0!important;padding:12px 16px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-bottom:1px solid #f1f5f9!important;border-radius:14px 14px 0 0!important;box-shadow:none!important}
body.workspace-v2.identity-page .admin-withdrawals .tools-search-box{position:relative;flex:0 1 360px;max-width:360px}
body.workspace-v2.identity-page .admin-withdrawals .tools-search-box .form-control{width:100%;padding-inline:36px 12px!important;background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat right 12px center!important;border:1px solid #cbd5e1!important}
body.workspace-v2.identity-page .admin-withdrawals #withdrawal-filter{min-width:160px;min-height:36px!important;padding:5px 12px!important;border-radius:8px!important;border:1px solid #cbd5e1!important;background-color:#f8fafc!important;font-size:12.5px!important;font-weight:600!important;color:#0f172a!important}
body.workspace-v2.identity-page .admin-withdrawals #withdrawal-create-toggle{min-height:36px!important;padding:5px 14px!important;border-radius:8px!important;background:#2563eb!important;border:1px solid #2563eb!important;color:#fff!important;font-size:12.5px!important;font-weight:700!important;box-shadow:0 1px 3px rgba(37,99,235,.2)!important}
body.workspace-v2.identity-page .admin-withdrawals #withdrawal-create-toggle:hover:not(:disabled){background:#1d4ed8!important}
body.workspace-v2.identity-page .admin-withdrawals #withdrawal-count{padding:5px 12px;border-radius:8px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8!important;font-size:12px!important;font-weight:700!important}
body.workspace-v2.identity-page .admin-withdrawals>.admin-panel-card.no-padding{order:4;margin-top:-12px!important;border-top:0!important;border-radius:0 0 14px 14px!important;box-shadow:0 4px 14px rgba(15,23,42,.04)!important;overflow:hidden}
body.workspace-v2.identity-page .admin-withdrawals .data-table th{background:#f1f5f9!important;color:#334155!important;font-size:12px!important;font-weight:700!important;padding:12px 16px!important;border-bottom:1px solid #e2e8f0!important}
body.workspace-v2.identity-page .admin-withdrawals .data-table td{padding:14px 16px!important;vertical-align:middle!important}
body.workspace-v2.identity-page .admin-withdrawals .data-table th:last-child,body.workspace-v2.identity-page .admin-withdrawals .data-table td:last-child{text-align:end}
body.workspace-v2.identity-page .admin-withdrawals .cell-partner{display:flex;align-items:center;gap:12px}
body.workspace-v2.identity-page .admin-withdrawals .cell-avatar{width:38px!important;height:38px!important;border-radius:10px!important;background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;border:1px solid #bfdbfe!important;color:#1d4ed8!important;font-weight:700!important;font-size:14px!important;display:grid;place-items:center;flex-shrink:0}
body.workspace-v2.identity-page .admin-withdrawals .wd-partner-info{display:flex;flex-direction:column;gap:4px;min-width:0}
body.workspace-v2.identity-page .admin-withdrawals .wd-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.workspace-v2.identity-page .admin-withdrawals .wd-name-row strong{font-size:14px!important;font-weight:700!important;color:#0f172a!important;line-height:1.3!important}
body.workspace-v2.identity-page .admin-withdrawals .wd-req-chip{padding:2px 8px!important;border-radius:6px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#475569!important;font-size:11px!important;font-weight:600!important;direction:ltr}
body.workspace-v2.identity-page .admin-withdrawals .wd-contact-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.workspace-v2.identity-page .admin-withdrawals .cell-phone-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0;color:#1e293b;font-size:12px;font-weight:700;text-decoration:none}
body.workspace-v2.identity-page .admin-withdrawals .cell-phone-chip::before{content:"";width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.58 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center/contain;flex-shrink:0}
body.workspace-v2.identity-page .admin-withdrawals .cell-phone-chip:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}
body.workspace-v2.identity-page .admin-withdrawals .wd-meta-sub{font-size:12px;color:#64748b;font-weight:500}
body.workspace-v2.identity-page .admin-withdrawals .wd-amount-pill{display:inline-flex;padding:4px 10px;border-radius:8px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
body.workspace-v2.identity-page .admin-withdrawals .wd-partner-note{font-size:12.5px;color:#334155;line-height:1.55;max-width:300px}
body.workspace-v2.identity-page .admin-withdrawals .wd-date-stack,body.workspace-v2.identity-page .admin-withdrawals .wd-status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
body.workspace-v2.identity-page .admin-withdrawals .wd-date-val{font-size:13px;font-weight:700;color:#1e293b;font-variant-numeric:tabular-nums}
body.workspace-v2.identity-page .admin-withdrawals .wd-wait-pill,body.workspace-v2.identity-page .admin-withdrawals .wd-resolved-date{display:inline-flex;padding:1px 8px;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b!important;font-size:11px!important;font-weight:600!important;line-height:1.5!important}
body.workspace-v2.identity-page .admin-withdrawals .status-badge.in-review{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important}
body.workspace-v2.identity-page .admin-withdrawals .wd-note{display:inline-flex;padding:2px 8px;border-radius:6px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af!important;font-size:11px!important;font-weight:600!important;line-height:1.5!important;max-width:220px}
body.workspace-v2.identity-page .admin-withdrawals .wd-actions-wrap{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
body.workspace-v2.identity-page .admin-withdrawals .btn-row-wa{width:32px;height:32px;border-radius:8px;background:#ecfdf5;border:1px solid #a7f3d0;display:inline-grid;place-items:center;flex-shrink:0}
body.workspace-v2.identity-page .admin-withdrawals .btn-row-wa:hover{background:#d1fae5;border-color:#6ee7b7}
body.workspace-v2.identity-page .admin-withdrawals .audit-req-link{min-height:32px!important;padding:4px 10px!important;border-radius:8px!important;background:#f8fafc!important;border:1px solid #cbd5e1!important;color:#334155!important;font-size:12px!important;font-weight:600!important;margin:0!important}
body.workspace-v2.identity-page .admin-withdrawals .audit-req-link:hover{background:#f1f5f9!important;color:#0f172a!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell{display:inline-flex;align-items:center;gap:6px;flex-wrap:nowrap}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-action{min-height:32px!important;width:auto!important;padding:4px 12px!important;border-radius:8px!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-view{background:#eff6ff!important;border:1px solid #bfdbfe!important;color:#1d4ed8!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-view:hover{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-approve{background:#ecfdf5!important;border:1px solid #a7f3d0!important;color:#047857!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-approve:hover{background:#059669!important;border-color:#059669!important;color:#fff!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-reject{background:#fef2f2!important;border:1px solid #fecaca!important;color:#b91c1c!important}
body.workspace-v2.identity-page .admin-withdrawals .action-cell .btn-reject:hover{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}
body.workspace-v2.identity-page .admin-withdrawals .wd-done-pill{display:inline-flex;padding:3px 10px;border-radius:7px;background:#f1f5f9;border:1px solid #e2e8f0;color:#475569!important;font-size:11.5px!important;font-weight:700!important}

/* === css/contrast_system.css === */
/* Screen-only contrast layer; printed agreements retain their existing palette. */
@media screen {
  .home-redesign,.workspace-redesign {background:var(--color-bg-base);color:var(--color-text)}
  .home-redesign p {color:var(--color-text-muted)}
  .home-redesign .site-header,.workspace-redesign .site-header {border-bottom-color:var(--color-border-strong);box-shadow:0 3px 14px #101e420c}
  .home-redesign .btn-secondary,.workspace-redesign .btn-secondary,.workspace-redesign .btn-ghost,.workspace-redesign .btn-subtle {border-color:var(--color-border-control)}
  .home-redesign .btn-secondary:hover,.workspace-redesign .btn-secondary:hover,.workspace-redesign .btn-ghost:hover,.workspace-redesign .btn-subtle:hover {background:rgba(201,164,92,.08);color:#d8b76a}
  .home-redesign input::placeholder {color:var(--color-text-muted);opacity:1}
  .home-redesign .menu-toggle,.workspace-redesign .menu-toggle,.workspace-redesign .portal-toggle {border-color:var(--color-border-control)}
  .workspace-redesign .portal-toggle:hover,.workspace-redesign .admin-search-trigger:hover {background:var(--color-bg-elevated);color:#d8b76a;border-color:#c9a45c}
  /* The project choice and estimator read as distinct, usable surfaces. */
  .project-selector .app-choice-chip {border:1px solid var(--color-border);border-inline-start:3px solid var(--color-border);background:#101a36}
  .project-selector .app-choice-chip:hover {background:var(--color-bg-soft);border-color:var(--color-border-control)}
  .project-selector .app-choice-chip.active {background:var(--color-bg-elevated);border-color:#c9a45c}
  .app-choice-cat,.app-choice-state,.selector-title,.phone-caption {color:var(--color-text-muted)!important}
  .partnership-explanation,.equity-row,.estimator-formula {border-color:var(--color-border)}
  .estimator-control {background:#101a36;border:1px solid var(--color-border);border-radius:14px;padding:24px}
  .unit-input {background:var(--color-bg-soft);border-color:var(--color-border-control)}
  .unit-input button {background:var(--color-bg-elevated);color:#d8b76a}
  .amount-chips button,.scenario-chip,.workspace-redesign .partner-amount-chips button {background:var(--color-bg-soft);color:var(--color-text-muted);border-color:var(--color-border-control)}
  .amount-chips button:hover,.scenario-chip:hover,.workspace-redesign .partner-amount-chips button:hover {background:var(--color-bg-elevated);color:#d8b76a;border-color:#c9a45c}
  .amount-chips button.active,.scenario-chip.active,.workspace-redesign .partner-amount-chips button.active {background:linear-gradient(160deg,#e3c57e,#b8933f);color:#1a1407;border-color:#a8853a}
  .projection {background:var(--color-bg-elevated);border:1px solid var(--color-border-strong)}
  .src-amount {color:#d8b76a}
  .projection-year-button:hover .projection-bar,.projection-year-button:focus-visible .projection-bar {background:#d8b76a}
  .projection-track,.simple-result-card {border-color:var(--color-border-strong)}
  #shares-range::-webkit-slider-runnable-track {background:var(--color-border-control)}
  #shares-range::-moz-range-track {background:var(--color-border-control)}
  .projection-empty {background:#101a36;border:1px solid var(--color-border)}
  .partnership-steps {background:var(--color-bg-elevated);border-color:var(--color-border-strong)}
  .steps-grid li {border-inline-start-color:var(--color-border-control)}
  .register-section {background:var(--color-bg-navy);border:1px solid var(--color-bg-navy)}
  .home-redesign .register-section h2,.registration-summary,.registration-summary strong {color:var(--color-on-navy)}
  .home-redesign .register-section p,.register-section .section-eyebrow {color:var(--color-on-navy-muted)}
  .register-section .btn-primary {border-color:rgba(201,164,92,.35)}
  .register-section .is-gated {background:#0e1834;color:#a39c86;border-color:rgba(201,164,92,.25)}
  .register-section .is-gated:hover {background:#0e1834;color:#a39c86}
  .risk-disclosure {border-color:var(--color-border-strong)}
  .home-redesign .faq-list details {background:#101a36;border:1px solid var(--color-border);border-radius:10px;padding-inline:18px;margin-bottom:10px}
  .team-member,.project-detail-card {background:#101a36;border-color:var(--color-border)}
  .home-redesign .project-page-top a {color:var(--color-text-muted)}
  .home-redesign #share-project {color:#d8b76a}
  .project-detail-card p,.team-member p,.project-journal time,.content-record small,.partner-message small {color:var(--color-text-muted)}
  .home-redesign .app-modal-dialog,.home-redesign .modal-info-card,.home-redesign .modal-fact {border-color:var(--color-border)}
  /* Portal tabs and guidance remain legible in default, active and hover states. */
  .workspace-redesign .section-eyebrow {color:#c9a45c}
  .workspace-redesign .partner-avatar {background:#c9a45c;color:#1a1407}
  .workspace-redesign .attention-card span {color:#d8a940}
  .workspace-redesign .auth-tabs,.workspace-redesign .partner-steps {background:var(--color-bg-soft);border-color:var(--color-border)}
  .workspace-redesign .auth-tab {color:var(--color-text-muted)}
  .workspace-redesign .auth-tab.active {background:linear-gradient(160deg,#e3c57e,#b8933f);color:#1a1407;border-color:#a8853a}
  .workspace-redesign .auth-tab:hover:not(.active) {background:var(--color-bg-elevated);color:#d8b76a}
  .workspace-redesign .auth-trust-badge,.workspace-redesign .amount-live-preview {background:var(--color-bg-soft);border-color:var(--color-border)}
  .workspace-redesign .password-strength-bar {background:var(--color-border)}
  .workspace-redesign .partner-session-bar,.partner-followup,.workspace-redesign .signup-review {background:var(--color-bg-elevated);border-color:var(--color-border-strong)}
  .workspace-redesign .partner-steps li.now b {background:#c9a45c;color:#1a1407}
  .partner-message,.workspace-redesign .wd-card,.workspace-redesign .appointment-card {border-color:var(--color-border);box-shadow:var(--shadow-card)}
  /* Navy navigation anchors the console while data stays on dark cards. */
  .workspace-redesign .admin-sidebar {background:var(--color-bg-navy);border-color:rgba(201,164,92,.25)}
  .workspace-redesign .admin-side-brand,.workspace-redesign .admin-side-footer {border-color:rgba(201,164,92,.25);color:#fff}
  .workspace-redesign .admin-side-brand small,.workspace-redesign .nav-group-title,.workspace-redesign .admin-side-footer a {color:var(--color-on-navy-muted)}
  .workspace-redesign .admin-side-nav button,.workspace-redesign .admin-side-footer button {color:var(--color-on-navy-muted);border-color:rgba(201,164,92,.25)}
  .workspace-redesign .admin-side-nav button i {opacity:1}
  .workspace-redesign .admin-side-nav button:hover,.workspace-redesign .admin-side-footer button:hover {background:rgba(201,164,92,.10);color:#d8b76a}
  .workspace-redesign .admin-side-nav button.active {background:rgba(201,164,92,.14);color:#d8b76a;box-shadow:inset -3px 0 #c9a45c}
  .workspace-redesign .side-count {background:#b42336;color:#fff}
  .workspace-redesign .admin-panel-card,.workspace-redesign .overview-stat,.admin-insights-disclosure {border-color:var(--color-border);box-shadow:var(--shadow-card)}
  .workspace-redesign .attention-card {background:var(--color-bg-elevated);border-color:var(--color-border-strong)}
  .workspace-redesign .data-table th {background:var(--color-bg-elevated);color:var(--color-text-strong);border-color:var(--color-border)}
  .workspace-redesign .data-table td {border-color:var(--color-border)}
  .workspace-redesign .data-table tbody tr:hover {background:var(--color-bg-soft)}
  .workspace-redesign .login-visual {background:var(--color-bg-navy);color:#fff}
  .workspace-redesign .login-visual h1 {color:#fff}
  .workspace-redesign .login-visual>span,.workspace-redesign .login-visual p {color:var(--color-on-navy-muted)}
  .workspace-redesign .login-visual-stat {background:rgba(201,164,92,.10);border-color:rgba(201,164,92,.35);color:var(--color-on-navy-muted)}
  .workspace-redesign .login-visual-stat b {color:#fff}
  .workspace-redesign .pv-available bdi,.workspace-redesign .unit-hint strong,.workspace-redesign .faq-list summary {color:var(--color-text)}
  .workspace-redesign .faq-list p {color:var(--color-text-muted)}
  .workspace-redesign .wd-steps p {color:var(--color-text-muted)}
  .workspace-redesign .modal-danger .modal-ok {background:#b42336;color:#fff}
  .workspace-redesign .dd-time {opacity:1}
  .workspace-redesign .admin-mobile-nav button.active {background:#c9a45c;color:#1a1407}
  /* Footer clearly ends each page, with explicit readable colors for all links. */
  .home-redesign .site-footer,.workspace-redesign .site-footer {background:var(--color-bg-navy)!important;border-top-color:rgba(201,164,92,.25)}
  .home-redesign .site-footer h3,.workspace-redesign .site-footer h3,.home-redesign .site-footer .brand-logo,.workspace-redesign .footer-brand-name {color:#fff}
  .home-redesign .site-footer p,.home-redesign .site-footer a:not(.brand-logo),.workspace-redesign .site-footer p,.workspace-redesign .site-footer a,.home-redesign .footer-tagline-en {color:var(--color-on-navy-muted)}
  .home-redesign .site-footer a:hover,.workspace-redesign .site-footer a:hover {color:#fff;text-decoration:underline}
  .site-footer .brand-logo img,.admin-side-brand img,.login-visual>img {background:#fff;border-radius:8px}
  .home-redesign .mobile-cta {border-top-color:var(--color-border-control);box-shadow:0 -3px 14px #101e4214}
  /* The pale gold ring stays visible against navy, where a dark one would vanish. */
  .workspace-redesign .admin-sidebar :focus-visible,.site-footer :focus-visible {outline:3px solid #d8b76a;outline-offset:4px}
  .workspace-redesign .admin-sidebar button.active:focus-visible {outline-color:#c9a45c;background:rgba(201,164,92,.14);box-shadow:none}
  .palette-overlay.keyboard-open,.palette-overlay.keyboard-open .palette,.admin-sheet.keyboard-open {transition:none;transform:none}
  .workspace-redesign .auth-tab:focus-visible {outline:3px solid #c9a45c;outline-offset:3px;box-shadow:none}
}

/* === css/luxury_home.css === */
/* Luxury layer — the public homepage in midnight navy and champagne gold.
   Rides last in bundle-home and scopes everything under body.home-redesign, so the
   light workspace theme, the portal and the console keep their own approved palettes.
   The partners' first screen should read like private banking, not a friendly app. */
body.home-redesign {
  color-scheme: dark;
  background: #0a1022;
  background-image:
    radial-gradient(circle at 85% 6%, rgba(201, 164, 92, 0.10) 0%, transparent 55%),
    radial-gradient(circle at 12% 42%, rgba(23, 42, 84, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, #0b1228 0%, #0a1022 45%, #080d1d 100%);
  background-attachment: fixed;
  color: #f3efe4;
}
body.home-redesign ::selection { background: rgba(201, 164, 92, 0.35); color: #fff; }

/* Typography — ivory headings over warm sand body copy. */
.home-redesign h1, .home-redesign h2, .home-redesign h3 { color: #f3efe4; }
.home-redesign p { color: #b8b2a0; }
.home-redesign a, .text-button, .spotlight-links a, .store-link { color: #d8b76a; }
.section-eyebrow { color: #c9a45c; }
.spotlight-copy h2, .register-copy h2, .home-intro h1 { color: #f6f2e7; }

/* Header — dark glass with a gold hairline. */
.home-redesign .site-header { background: rgba(9, 14, 30, 0.82) !important; border-bottom: 1px solid rgba(201, 164, 92, 0.22); box-shadow: 0 1px 0 rgba(0,0,0,0.4); }
.home-redesign .brand-logo, .home-redesign .nav-links a { color: #e9e2d0; }
.home-redesign .nav-links a:hover { color: #d8b76a; }
.home-redesign .nav-links a.active { color: #d8b76a !important; background: rgba(201, 164, 92, 0.10); }
.home-redesign .menu-toggle { background: #101a36; border-color: rgba(201, 164, 92, 0.3); color: #f3efe4; }
.home-redesign #site-navigation { background: #0d1428; border-bottom-color: rgba(201, 164, 92, 0.22); }
.home-redesign .partner-login { color: #d8b76a; border-color: rgba(201, 164, 92, 0.45); }

/* Actions — the primary button is poured gold with dark text; secondary is a gold outline. */
.home-redesign .btn-primary { background: linear-gradient(160deg, #e3c57e 0%, #c9a45c 55%, #b8933f 100%); color: #1a1407; border-color: #a8853a; box-shadow: 0 6px 22px rgba(201, 164, 92, 0.28), inset 0 1px 0 rgba(255,255,255,0.35); }
.home-redesign .btn-secondary { background: transparent; color: #e9e2d0; border-color: rgba(201, 164, 92, 0.45); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .home-redesign .btn-primary:hover { background: linear-gradient(160deg, #ecd08a 0%, #d4ae66 55%, #c29a46 100%); border-color: #b8933f; box-shadow: 0 8px 26px rgba(201, 164, 92, 0.36); color: #1a1407; }
  .home-redesign .btn-secondary:hover { background: rgba(201, 164, 92, 0.08); border-color: rgba(201, 164, 92, 0.7); color: #d8b76a; }
}
.home-redesign .is-gated { background: rgba(201, 164, 92, 0.12); color: #8f8875; border-color: rgba(201, 164, 92, 0.2); }

/* Hero beacon and trust badges — dark crystal with gold accents. */
.hero-beacon { background: rgba(201, 164, 92, 0.08); border-color: rgba(201, 164, 92, 0.35); color: #d8b76a; }
.beacon-dot { background: #c9a45c; box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.22); }
.trust-badge-item { background: #101a36; border-color: rgba(201, 164, 92, 0.18); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
@media (hover: hover) and (pointer: fine) {
  .trust-badge-item:hover { border-color: rgba(201, 164, 92, 0.45); box-shadow: 0 8px 22px rgba(201, 164, 92, 0.12); }
}
.trust-icon { background: rgba(201, 164, 92, 0.10); border-color: rgba(201, 164, 92, 0.3); color: #d8b76a; }
.trust-badge-item small { color: #a39c86; }

/* Steps — dark cards, gold numerals. */
.partnership-steps { background: rgba(13, 20, 40, 0.55); border-block-color: rgba(201, 164, 92, 0.16); }
.steps-grid li { background: #101a36; border-color: rgba(201, 164, 92, 0.14); box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
@media (hover: hover) and (pointer: fine) {
  .steps-grid li:hover { box-shadow: 0 8px 22px rgba(201, 164, 92, 0.10); }
}
.steps-grid li h3, .risk-disclosure h2, .faq-list summary, .timeline-title, .trust-badge-item strong, .step-number { background: rgba(201, 164, 92, 0.12); color: #d8b76a; }
.steps-grid a, .projection-years summary, .method-link, .equity-row strong, 
/* Project choice — dark chips, the chosen one carries a gold edge. */
.selector-title { color: #a39c86 !important; }
.project-discovery .home-intro { border-bottom-color: rgba(201, 164, 92, 0.18); }
.partnership-explanation { border-top-color: rgba(201, 164, 92, 0.18); }
.project-selector .app-choice-chip { background: #101a36; border-color: rgba(201, 164, 92, 0.14); color: #f3efe4; box-shadow: 0 2px 10px rgba(0,0,0,0.3); transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), opacity 0.2s var(--ease-out); }
.project-selector .app-choice-chip:not(.active) { opacity: 0.82; }
@media (hover: hover) and (pointer: fine) {
  .project-selector .app-choice-chip:hover { background: #131f42; border-color: rgba(201, 164, 92, 0.35); box-shadow: 0 10px 25px -5px rgba(201, 164, 92, 0.10); opacity: 1; }
}
.project-selector .app-choice-chip.active { background: linear-gradient(135deg, rgba(201, 164, 92, 0.14) 0%, #101a36 70%); border-color: rgba(201, 164, 92, 0.55); border-inline-start-color: #c9a45c; box-shadow: 0 10px 28px -4px rgba(201, 164, 92, 0.20); }
.choice-icon { background: rgba(201, 164, 92, 0.10); color: #d8b76a; border: 1px solid rgba(201, 164, 92, 0.3); box-shadow: none; }
.project-state { border-color: rgba(201, 164, 92, 0.4); color: #c4bda9; }
.project-state.open { color: #d8b76a; }
.project-launch { color: #a39c86; }
.project-launch strong { color: #f3efe4; }

/* Brand screen — until the office uploads a real screenshot, the phone wears the
   project's own identity beautifully: its brand colour deep-blended into midnight,
   the mark ringed in gold, and a poured-gold action. Honest content, dressed well. */
.spotlight-media .phone-fallback, .home-redesign .modal-media .phone-fallback { background: linear-gradient(180deg, rgba(201, 164, 92, 0.07) 0%, transparent 34%), linear-gradient(180deg, #101a36 0%, #0a1022 100%); }
.spotlight-media .pf-body .app-mark-icon, .spotlight-media .pf-body .app-mark-letter:only-child, .home-redesign .modal-media .app-mark-icon, .home-redesign .modal-media .app-mark-letter:only-child { width: 88px; height: 88px; border-radius: 22px; border: 1px solid rgba(201, 164, 92, 0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 6px rgba(201, 164, 92, 0.08); display: grid; place-items: center; font-size: 40px; }
.spotlight-media .phone-fallback-name, .home-redesign .modal-media .phone-fallback-name { color: #f6f2e7; font-size: 28px; }
.spotlight-media .pf-header, .spotlight-media .pf-tagline, .home-redesign .modal-media .pf-header, .home-redesign .modal-media .pf-tagline { color: #b8b2a0; }
.pf-cat { padding: 4px 14px; border: 1px solid rgba(201, 164, 92, 0.35); border-radius: 9999px; color: #d8b76a; font-size: 12px; font-weight: 700; }
.pf-image-state { color: #8f8875; font-size: 12px; }
.spotlight-media .pf-action, .spotlight-media .pf-action span, .spotlight-media .pf-action i, .home-redesign .modal-media .pf-action, .home-redesign .modal-media .pf-action span, .home-redesign .modal-media .pf-action i { color: #1a1407; }
.spotlight-media .pf-action, .home-redesign .modal-media .pf-action { padding: 12px; border: 0; border-radius: 10px; background: linear-gradient(160deg, #e3c57e, #b8933f); font-weight: 700; box-shadow: 0 6px 18px rgba(201, 164, 92, 0.25); }
.spotlight-media .pf-action i, .home-redesign .modal-media .pf-action i { display: inline; font-style: normal; }

/* Project switch crossfade — reuses the hero entrance curve. */
.spotlight-swap > .spotlight-copy, .spotlight-swap > .spotlight-media { animation: hero-rise 0.24s var(--ease-out) both; }
.spotlight-media .phone-frame { background: #060a18; border-color: rgba(201, 164, 92, 0.4); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7), 0 0 0 1px rgba(201, 164, 92, 0.12) inset; }
.spotlight-media .phone-frame:hover { box-shadow: 0 30px 60px -12px rgba(201, 164, 92, 0.25), 0 0 0 1px rgba(201, 164, 92, 0.15) inset; }
.spotlight-media .phone-frame > img { background: #0c142c; }
.spotlight-media { position: relative; }
.spotlight-media::before { content: ''; position: absolute; left: 50%; top: 6%; transform: translateX(-50%); width: 360px; height: 360px; background: radial-gradient(circle, rgba(201, 164, 92, 0.13) 0%, transparent 65%); pointer-events: none; }
.spotlight-media .phone-fallback { background: linear-gradient(180deg, #101a36 0%, #0c142c 100%); color: #f3efe4; }
.spotlight-media .phone-fallback-name { color: #f6f2e7; }

/* Estimator — dark controls, gold focus and active states. */
.estimator-control { background: #0e1834; border: 1px solid rgba(201, 164, 92, 0.2); border-inline-end-color: rgba(201, 164, 92, 0.2); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.estimator-control label, .control-label { color: #f3efe4; }
.unit-input { background: #0d1730; border-color: rgba(201, 164, 92, 0.28); box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.unit-input:focus-within { border-color: #c9a45c; box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.18); }
.unit-input input { color: #f6f2e7; }
.unit-input button { background: rgba(201, 164, 92, 0.12); color: #d8b76a; }
@media (hover: hover) and (pointer: fine) {
  .unit-input button:hover:not(:disabled) { background: rgba(201, 164, 92, 0.22); color: #ecd08a; }
}
#shares-range { accent-color: #c9a45c; }
#shares-range::-webkit-slider-runnable-track { background: linear-gradient(90deg, #c9a45c var(--fill, 0%), #1c2a52 var(--fill, 0%)); }
#shares-range::-webkit-slider-thumb { background: #c9a45c; box-shadow: 0 2px 8px rgba(201, 164, 92, 0.5); }
#shares-range::-moz-range-track { background: #1c2a52; }
#shares-range::-moz-range-progress { background: #c9a45c; }
#shares-range::-moz-range-thumb { background: #c9a45c; }
.amount-chips button { background: #0d1730; border-color: rgba(201, 164, 92, 0.2); color: #a39c86; }
.amount-chips button.active { color: #1a1407; background: linear-gradient(160deg, #e3c57e, #b8933f); border-color: #a8853a; box-shadow: 0 4px 14px rgba(201, 164, 92, 0.3); }
@media (hover: hover) and (pointer: fine) {
  .amount-chips button:hover { border-color: rgba(201, 164, 92, 0.55); color: #d8b76a; background: rgba(201, 164, 92, 0.08); }
}
.unit-hint, .register-note, .home-redesign .modal-media-note, .home-redesign .footer-brand p, .home-redesign .footer-tagline-en, .projection-period, .projection-scenario-note, .projection-legal-note { color: #8f8875; }
.equity-row { border-block-color: rgba(201, 164, 92, 0.16); color: #a39c86; }
.scenario-chip { background: #0d1730; border-color: rgba(201, 164, 92, 0.2); color: #a39c86; }
.scenario-chip.active { background: rgba(201, 164, 92, 0.14); border-color: #c9a45c; color: #d8b76a; }
@media (hover: hover) and (pointer: fine) {
  .scenario-chip:hover:not(:disabled):not(.active) { border-color: rgba(201, 164, 92, 0.55); color: #d8b76a; }
}

/* The result card — deep vault navy, the figure in champagne gold. */
.projection { background: linear-gradient(180deg, #0e1834 0%, #0a1226 100%); border-color: rgba(201, 164, 92, 0.3); box-shadow: 0 18px 44px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(201, 164, 92, 0.06); }
.simple-result-card { border-bottom-color: rgba(201, 164, 92, 0.2); }
.src-eyebrow { color: #c4bda9; }
.src-amount, .registration-summary strong, .home-redesign .modal-launch strong, .projection-monthly { color: #e3c57e; }
.projection-chart .projection-axis, .faq-list p, .projection-empty p, .spotlight-media .pf-header, .spotlight-media .pf-tagline, .home-redesign .footer-grid a:not(.brand-logo), .input-currency, .amount-centimes { color: #a39c86; }
.projection-track { border-bottom-color: rgba(201, 164, 92, 0.35); }
.projection-bar { background: linear-gradient(180deg, #e3c57e 0%, #a8853a 100%); box-shadow: 0 -2px 10px rgba(201, 164, 92, 0.3); }
@media (hover: hover) and (pointer: fine) {
  .projection-year-button:hover .projection-bar { background: linear-gradient(180deg, #f0d894 0%, #c9a45c 100%); }
}
.projection-year-button:focus-visible .projection-bar { background: linear-gradient(180deg, #f0d894 0%, #c9a45c 100%); }
.projection-empty { background: #101a36; }
.estimator-formula { border-bottom-color: rgba(201, 164, 92, 0.16); }
.estimator-formula summary, .assumptions-table th, .home-redesign .modal-info-desc, .home-intro p, .spotlight-about, .registration-summary, .risk-disclosure p, .home-redesign .mobile-cta a { color: #c4bda9; }
.assumptions-table th, .assumptions-table td { border-bottom-color: rgba(201, 164, 92, 0.14); }

/* Registration, disclosure, FAQ — quiet dark panels with gold hairlines. */
.register-section { background: linear-gradient(160deg, #101a36 0%, #0c142c 100%); border: 1px solid rgba(201, 164, 92, 0.25); box-shadow: 0 18px 44px -12px rgba(0,0,0,0.55); }
.home-redesign .register-section p, .home-redesign .register-section .section-eyebrow { color: #c4bda9; }
.home-redesign .register-section .section-eyebrow { color: #c9a45c; }
.risk-disclosure { border-block-color: rgba(201, 164, 92, 0.16); }
.home-redesign .faq-list details { background: #101a36; border: 1px solid rgba(201, 164, 92, 0.16); border-bottom-color: rgba(201, 164, 92, 0.16); }

/* Selector extras — the unit price in gold, the state as a quiet pill. */
.app-choice-price { color: #d8b76a; font-size: 14px; font-weight: 700; }
.app-choice-state { justify-self: start; padding: 2px 10px; border-radius: 9999px; border: 1px solid rgba(201, 164, 92, 0.25); color: #a39c86; font-size: 11px; }
.app-choice-state.open { background: rgba(201, 164, 92, 0.10); border-color: rgba(201, 164, 92, 0.45); color: #d8b76a; }

/* Idle float — the phone breathes on its pedestal; the hover lift still wins inside it. */
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.spotlight-media { animation: phone-float 7s var(--ease-in-out) infinite; }

/* Footer and mobile bar — near-black with a gold seam. */
.home-redesign .site-footer { background: #070c1a; border-top: 1px solid rgba(201, 164, 92, 0.25); }
.home-redesign .footer-grid h3, .home-redesign .footer-grid a:not(.brand-logo):hover { color: #d8b76a; }
.home-redesign .mobile-cta { background: rgba(9, 14, 30, 0.92); border-top: 1px solid rgba(201, 164, 92, 0.3); backdrop-filter: blur(14px); }
.home-redesign .mobile-cta a:last-child { color: #d8b76a; font-weight: 700; }

/* Quick-preview dialog — the same midnight vault, not a white sheet on the dark page. */
.home-redesign .app-modal-dialog { background: #101a36; color: #f3efe4; border: 1px solid rgba(201, 164, 92, 0.35); box-shadow: 0 24px 60px rgba(0,0,0,0.7); }
.home-redesign .modal-app-name h3 { color: #f6f2e7; }
.home-redesign .modal-app-sub, .home-redesign .modal-info-title { color: #d8b76a; }
.home-redesign .modal-info-card { background: rgba(201, 164, 92, 0.05); border-color: rgba(201, 164, 92, 0.18); }
.home-redesign .modal-launch { background: #0d1730; border-color: rgba(201, 164, 92, 0.25); color: #a39c86; }
.home-redesign .modal-launch strong { color: #e3c57e; }
.home-redesign .btn-modal-close { background: rgba(201, 164, 92, 0.12); color: #d8b76a; }

/* Floating contact — dark crystal with a gold seam, not a white pill. */
.home-redesign .floating-contact-toggle { background: #101a36; color: #d8b76a; border-color: rgba(201, 164, 92, 0.4); box-shadow: 0 6px 20px rgba(0,0,0,0.45); }
.home-redesign .floating-contact-action { background: #0d1730; color: #f3efe4; border-color: rgba(201, 164, 92, 0.25); }
.home-redesign .contact-toggle-icon { color: #d8b76a; }
.home-redesign .contact-pulse-dot { background: #c9a45c; }

/* === css/luxury_overlays.css === */
/* Luxury overlays — the quick-preview dialog finishes the midnight-gold reading:
   header and footer join the vault, state pills go quiet-gold, the risk note keeps
   its warning voice in the same palette, and the modal's smaller phone wears the
   brand screen at its own size (the spotlight's 88px mark would crowd 150px). */
.home-redesign .app-modal-header, .home-redesign .app-modal-footer { background: #0c142c; border-color: rgba(201, 164, 92, 0.22); }
.home-redesign .modal-app-stage, .home-redesign .modal-app-state { background: rgba(201, 164, 92, 0.08); color: #a39c86; border-color: rgba(201, 164, 92, 0.2); }
.home-redesign .modal-app-state.open { background: rgba(201, 164, 92, 0.14); color: #d8b76a; border-color: rgba(201, 164, 92, 0.4); }
.home-redesign .modal-risk-note { background: rgba(201, 164, 92, 0.07); color: #c4bda9; border-color: rgba(201, 164, 92, 0.25); }
.home-redesign .modal-fact { background: #0d1730; border-color: rgba(201, 164, 92, 0.18); }
.home-redesign .modal-fact.primary { background: rgba(201, 164, 92, 0.10); }
.home-redesign .modal-media .pf-body .app-mark-icon, .home-redesign .modal-media .pf-body .app-mark-letter:only-child { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; }
.home-redesign .modal-media .phone-fallback-name { font-size: 20px; }

/* === css/identity_shared.css === */
/* Shared screen identity; operational state gates and existing paper styles stay authoritative. */
@media screen {
  html:has(body.identity-page) { color-scheme: light; background: #f7faff; scroll-padding-top: 104px; }
  body.identity-page {
    --font-main: 'Readex Pro',Arial,sans-serif;
    --color-bg-base: #f7faff; --color-bg-surface: #fff; --color-bg-card: #fff;
    --color-bg-elevated: #fff; --color-bg-soft: #edf5ff; --color-bg-navy: #eaf3ff;
    --color-on-navy: #0d1725; --color-on-navy-muted: #485a72;
    --color-text: #0d1725; --color-text-strong: #0d1725; --color-text-muted: #485a72; --color-text-dim: #485a72;
    --color-primary: #086de8; --color-brand-azure: #086de8; --color-green: #086de8; --color-accent: #086de8;
    --color-cyan: #0066c7; --color-cyan-light: #0066c7; --color-cyan-muted: #0066c7; --color-cyan-strong: #0059c6;
    --color-gold: #086de8; --color-gold-light: #086de8; --color-gold-soft: #eaf3ff; --color-on-brand: #fff;
    --color-primary-glow: #086de81a; --color-green-glow: #086de81a; --color-cyan-glow: #00bfd91a;
    --color-success: #087443; --color-success-dark: #087443; --color-success-glow: #08744315;
    --color-warning: #8a5700; --color-danger: #b42336; --color-danger-soft: #b42336; --color-info: #005cc2;
    --color-border: #cfdef1; --color-border-strong: #b9cde5; --color-border-control: #7894b3; --color-border-green: #8ab5eb;
    --shadow-card: 0 3px 12px #17385706; --shadow-raised: 0 14px 30px #17385714;
    --text-2xs: .75rem; --text-xs: .8125rem; --text-sm: .875rem; --text-base: 1rem;
    --weight-body: 400; --weight-display: 700; --ease-out: cubic-bezier(.23,1,.32,1);
    background: #f7faff !important; background-image: none !important; color: #0d1725;
    font-family: var(--font-main); font-size: 16px; color-scheme: light;
  }
  .identity-page::before,.identity-page::after { display: none; }
  .identity-page [hidden] { display: none !important; }
  .identity-page ::selection { background: #c4eaff; color: #06182b; }
  .identity-page .container { max-width: 1360px; padding-inline: clamp(20px,3.5vw,52px); }
  .identity-page h1,.identity-page h2,.identity-page h3 { color: #0d1725; font-family: var(--font-main); letter-spacing: -.015em; }
  .identity-page h1 { font-size: clamp(30px,3.4vw,46px); line-height: 1.45; font-weight: 700; }
  .identity-page h2 { line-height: 1.5; font-weight: 600; }.identity-page h3 { line-height: 1.6; font-weight: 600; }
  .identity-page p { line-height: 1.85; }
  .identity-page a { color: #005cc2; text-underline-offset: 5px; }
  .identity-page :focus-visible { outline: 3px solid #0062cf; outline-offset: 4px; transition-duration: 0ms !important; }
  .identity-page .site-header,.identity-page .admin-header { background: #f7fafff2 !important; color: #0d1725; border-bottom: 1px solid #cfdef1; box-shadow: none !important; backdrop-filter: none; }
  .identity-page .site-header::before { display: none; }
  .identity-page .nav-wrap { min-height: 96px; gap: 24px; }
  .identity-page .brand-logo { display: inline-flex; align-items: center; gap: 9px; color: #0d1725; }
  .identity-page .brand-logo img { width: 34px; height: 38px; object-fit: contain; filter: none; }
  .identity-page .brand-logo > span,.identity-page .brand-ar { font-family: Arial,sans-serif; font-size: 32px; font-weight: 700; color: #0d1725; letter-spacing: -.03em; }
  .identity-page .brand-title { display: block; }.identity-page .brand-logo .brand-en { display: none; }
  .identity-page .nav-links a { font-weight: 500; font-size: 15px; color: #19273c; }
  .identity-page .site-header .nav-links { background: transparent !important; border-color: transparent; box-shadow: none; }
  .identity-page .site-header #site-navigation { background: transparent; border-color: transparent; }
  .identity-page .nav-links a.active,.identity-page .nav-links .partner-link-text { color: #005cc2 !important; background: #eaf3ff; border-color: #cfdef1; }
  .identity-page .portal-toggle { background: #edf5ff; color: #14243c; border-color: #b9cde5; box-shadow: none; }
  .identity-page .portal-toggle:hover { background: #dfedff; color: #0059c6; border-color: #8ab5eb; }
  .identity-page .portal-dropdown { background: #fff; color: #14243c; border-color: #cfdef1; backdrop-filter: none; box-shadow: 0 12px 26px #17385714; }
  .identity-page .portal-dropdown a { color: #14243c; border-color: #cfdef1; background: transparent; }
  .identity-page .nav-actions { gap: 14px; }
  .identity-page .btn-primary,.identity-page .btn-nav-join { background: #086de8 !important; background-image: none !important; border: 1px solid #086de8; color: #fff !important; box-shadow: none !important; border-radius: 8px; min-height: 44px; padding: 11px 20px; font-weight: 500; }
  .identity-page .btn-primary::before,.identity-page .btn-primary::after { display: none; }
  .identity-page .btn-secondary,.identity-page .btn-subtle,.identity-page .btn-ghost { background: #edf5ff; border: 1px solid #b9cde5; color: #14243c !important; box-shadow: none; border-radius: 8px; min-height: 44px; padding: 10px 18px; font-weight: 500; }
  .identity-page .btn-danger { background: #b42336; border-color: #b42336; color: #fff; }
  .identity-page button,.identity-page input,.identity-page select,.identity-page textarea { font-family: var(--font-main); }
  .identity-page :is(input:not(:is([type="checkbox"],[type="radio"],[type="range"],[type="file"])),select,textarea,.form-control) { background: #fff !important; color: #0d1725 !important; border-color: #7894b3 !important; border-radius: 8px; caret-color: #086de8; color-scheme: light; }
  .identity-page input::placeholder,.identity-page textarea::placeholder { color: #63768e; opacity: 1; }
  .identity-page input[type="checkbox"],.identity-page input[type="radio"] { accent-color: #086de8; }
  .identity-page :is(input,select,textarea):focus { border-color: #086de8 !important; box-shadow: 0 0 0 2px #086de814; }
  .identity-page :is(input,select,textarea)[aria-invalid="true"],.identity-page .form-control.is-error { border-color: #b42336 !important; box-shadow: 0 0 0 2px #b4233614; }
  .identity-page :is(input,select,textarea):disabled { background: #edf2f8 !important; color: #485a72 !important; }
  .identity-page button:disabled,.identity-page .is-gated[aria-disabled="true"] { opacity: .65; cursor: default; }
  .identity-page .numeric-value,.identity-page bdi { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
  .identity-page .site-footer { background: transparent !important; border-top: 1px solid #cfdef1; color: #485a72; box-shadow: none; }
  .identity-page .site-footer a { color: #485a72; }.identity-page .site-footer h3 { color: #0d1725; }
  .identity-page .site-footer .footer-grid a:not(.brand-logo) { color: #485a72; }
  .identity-page .footer-brand-name { color: #0d1725 !important; font-family: Arial,sans-serif; font-weight: 700; }
  .identity-page .floating-contact .floating-contact-toggle { background: #edf5ff; color: #14243c; border-color: #b9cde5; box-shadow: none; backdrop-filter: none; }
  .identity-page .contact-toggle-icon { color: #005cc2; stroke: #005cc2; }
  .identity-page .floating-contact-actions { background: #fff; color: #14243c; border-color: #cfdef1; box-shadow: 0 10px 25px #17385714; backdrop-filter: none; }
  .identity-page .floating-contact-actions a { background: #f7faff; color: #14243c; border-color: #cfdef1; }
  .identity-page .floating-contact-actions a:hover { background: #eaf3ff; color: #005cc2; box-shadow: none; }.identity-page .phone-icon { stroke: #005cc2; }
  .identity-page .menu-toggle { color: #14243c; border-color: #7894b3; background: #edf5ff; }
  .identity-page .menu-toggle span { background: #14243c; }
  .identity-page .network-notice { background: #123b64; color: #fff; }
  .identity-page .diagnostic-notice { background: #fff3e2; color: #704500; border-color: #d6b783; }
  .identity-page .error-message,.identity-page .message-error { color: #b42336; }
  .identity-page .success-message,.identity-page .message-success { color: #087443; }
  .identity-page .info-message { color: #005cc2; }
  .identity-page .btn-primary,.identity-page .btn-secondary,.identity-page .btn-subtle,.identity-page .btn-ghost { transition: background-color 160ms ease,transform 160ms var(--ease-out); }
  @media(hover:hover) and (pointer:fine) { .identity-page .btn-primary:hover { background: #0059c6 !important; color: #fff !important; transform: translateY(-1px); }.identity-page .btn-secondary:hover,.identity-page .btn-subtle:hover,.identity-page .btn-ghost:hover { background: #dfedff; } }
  @media(hover:none),(pointer:coarse) { .identity-page .btn-primary:hover,.identity-page .btn-secondary:hover,.identity-page .btn-subtle:hover,.identity-page .btn-ghost:hover { transform: none; }.identity-page .btn-primary:hover { background: #086de8 !important; color: #fff !important; }.identity-page .btn-secondary:hover,.identity-page .btn-subtle:hover,.identity-page .btn-ghost:hover { background: #edf5ff; color: #14243c !important; } }
  @media(prefers-reduced-motion:reduce) { .identity-page .btn-primary,.identity-page .btn-secondary,.identity-page .btn-subtle,.identity-page .btn-ghost { transition: none; transform: none !important; } }
  @media(max-width:900px) { .identity-page .site-header .nav-links { background: #fff !important; border-color: #cfdef1; box-shadow: 0 8px 20px #17385712; }.identity-page .site-header #site-navigation { background: #fff; border-color: #cfdef1; } }
  @media(max-width:768px) {
    html:has(body.identity-page) { scroll-padding-top: 84px; }
    .identity-page .container { padding-inline: 20px; }.identity-page .nav-wrap { min-height: 76px; gap: 12px; }
    .identity-page .brand-logo > span,.identity-page .brand-ar { font-size: 25px; }.identity-page .brand-logo img { width: 28px; height: 32px; }
    .identity-page .nav-links { background: #fff; border-color: #cfdef1; box-shadow: 0 8px 20px #17385712; }
    .identity-page .nav-actions { gap: 8px; }.identity-page .nav-actions .btn-secondary { padding: 10px 12px; font-size: 13px; }
    .identity-page .site-footer .footer-grid { gap: 24px; }.identity-page .site-footer { font-size: 14px; }
  }
}

/* === css/identity_public.css === */
/* Project details retain the CMS media, amount controls and published estimate. */
@media screen {
  body.identity-page.project-page main.container { max-width: 1340px; padding-inline: clamp(20px,4.5vw,60px); padding-bottom: 48px; }
  .identity-page.project-page main p { color: #485a72; }
  .identity-page.project-page .section-heading p,.identity-page.project-page .content-empty,.identity-page.project-page .project-faq p { color: #485a72; }
  .identity-page.project-page .project-page-top { padding-block: 24px 12px; gap: 16px; }
  .identity-page.project-page .project-page-top a { color: #485a72; font-size: 14px; }
  .identity-page.project-page .project-page-top > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
  .identity-page.project-page #share-project { font: inherit; min-height: 44px; padding: 10px 16px; border: 1px solid #cfdef1; border-radius: 8px; background: #fff; color: #086de8; }
  .identity-page.project-page .share-feedback { color: #485a72; font-size: 13px; }
  .identity-page.project-page .project-spotlight { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr); align-items: start; gap: 70px; padding-block: 26px 52px; }
  .identity-page.project-page .project-spotlight:has(.project-page-empty) { grid-template-columns: 1fr; }
  .identity-page.project-page .spotlight-copy h1 { font-size: clamp(38px,4.8vw,60px); font-weight: 700; line-height: 1.3; margin-block: 16px; color: #0d1725; }
  .identity-page.project-page .spotlight-about { color: #485a72; font-size: 19px; line-height: 1.85; }
  .identity-page.project-page .project-state { background: transparent; border: 1px solid #cfdef1; color: #485a72; font-size: 13px; font-weight: 500; border-radius: 8px; padding: 6px 10px; }
  .identity-page.project-page .project-state.open { color: #086de8; border-color: #cfdef1; background: #e9f3ff; }
  .identity-page.project-page .project-state.open::before { background: #00bfd9; box-shadow: none; }
  .identity-page.project-page .project-launch { color: #485a72; font-size: 14px; margin-top: 18px; }
  .identity-page.project-page .project-launch strong { color: #0d1725; font-weight: 500; }
  .identity-page.project-page .partnership-explanation { margin-top: 26px; padding-top: 22px; border-top: 1px solid #cfdef1; }
  .identity-page.project-page .partnership-explanation h3 { color: #0d1725; font-size: 21px; font-weight: 600; margin-bottom: 10px; }
  .identity-page.project-page .partnership-explanation h4 { color: #0d1725; font-size: 16px; font-weight: 600; margin-top: 22px; }
  .identity-page.project-page .partnership-explanation p { color: #485a72; font-size: 15px; line-height: 1.85; }
  .identity-page.project-page .partnership-terms { margin-block: 18px; border-block: 1px solid #cfdef1; }
  .identity-page.project-page .partnership-terms summary { min-height: 48px; padding-block: 14px; color: #086de8; cursor: pointer; }
  .identity-page.project-page .partnership-terms p { margin-bottom: 16px; }
  .identity-page.project-page .partnership-terms a { display: inline-block; margin-bottom: 16px; }
  .identity-page.project-page .spotlight-copy .btn-primary { margin-top: 24px; width: auto; }
  .identity-page.project-page .spotlight-links { gap: 22px; margin-top: 16px; }
  .identity-page.project-page .spotlight-links a,.identity-page.project-page .store-link { color: #086de8; min-height: 44px; display: inline-flex; align-items: center; }
  .identity-page.project-page .spotlight-media { animation: none; align-self: start; padding-top: 18px; }
  .identity-page.project-page .spotlight-media::before { display: none; }
  .identity-page.project-page .phone-frame { width: min(100%,280px); background: #fff; border: 1px solid #cfdef1; box-shadow: none; transform: none; }
  .identity-page.project-page .phone-frame::before,.identity-page.project-page .phone-frame::after { display: none; }
  .identity-page.project-page .phone-speaker { background: #0d1725; }
  .identity-page.project-page .phone-frame > img,.identity-page.project-page .project-image-open img { background: #fff; }
  .identity-page.project-page .phone-fallback { background: #e9f3ff; color: #0d1725; }
  .identity-page.project-page .phone-fallback-name { color: #0d1725; font-size: 25px; font-weight: 600; }
  .identity-page.project-page .pf-header,.identity-page.project-page .pf-tagline,.identity-page.project-page .pf-image-state { color: #485a72; }
  .identity-page.project-page .pf-cat { color: #485a72; border-color: #cfdef1; font-weight: 500; }
  .identity-page.project-page .pf-body .app-mark-icon,.identity-page.project-page .pf-body .app-mark-letter:only-child { border: 0; box-shadow: none; }
  .identity-page.project-page .pf-action { background: #fff; border: 1px solid #cfdef1; color: #086de8; box-shadow: none; font-weight: 500; }
  .identity-page.project-page .pf-action span,.identity-page.project-page .pf-action i { color: #086de8; }
  .identity-page.project-page .project-image-open { background: #fff; }
  .identity-page.project-page .project-image-dialog { background: #fff; color: #0d1725; border-color: #cfdef1; }
  .identity-page.project-page .project-image-dialog p { color: #485a72; }
  .identity-page.project-page .project-detail-grid { gap: 30px 48px; padding-bottom: 42px; }
  .identity-page.project-page .project-detail-card { background: transparent; padding: 24px 0 0; border: 0; border-top: 1px solid #cfdef1; border-radius: 0; box-shadow: none; }
  .identity-page.project-page .project-detail-card h2,.identity-page.project-page .project-faq h2 { color: #0d1725; font-size: 25px; font-weight: 600; margin-bottom: 14px; }
  .identity-page.project-page .project-detail-card p { color: #485a72; font-size: 16px; line-height: 1.95; }
  .identity-page.project-page .project-faq { grid-column: 1 / -1; padding-top: 22px; }
  .identity-page.project-page .project-faq details { padding-block: 14px; border-bottom: 1px solid #cfdef1; }
  .identity-page.project-page .project-faq summary { min-height: 44px; color: #0d1725; cursor: pointer; }
  .identity-page.project-page .public-project-journal { padding-block: 36px; border-color: #cfdef1; }
  .identity-page.project-page .section-heading h2 { color: #0d1725; font-size: 32px; font-weight: 600; }
  .identity-page.project-page .section-heading { margin-bottom: 26px; }
  .identity-page.project-page .project-journal li { border-inline-start: 1px solid #cfdef1; }
  .identity-page.project-page .project-journal li::before { background: #00bfd9; border-color: #f7faff; }
  .identity-page.project-page .project-journal time { color: #485a72; }
  .identity-page.project-page .project-journal h3 { color: #0d1725; font-weight: 600; }
  .identity-page.project-page .project-journal a { color: #086de8; }
  .identity-page.project-page .partnership-estimator { border-top: 1px solid #cfdef1; padding-top: 42px; }
  .identity-page.project-page .simulator-heading { gap: 28px; margin-bottom: 30px; }
  .identity-page.project-page .simulator-heading h2 { color: #0d1725; font-size: clamp(28px,3.2vw,40px); font-weight: 600; line-height: 1.5; }
  .identity-page.project-page .simulator-project { border-color: #cfdef1; }
  .identity-page.project-page .simulator-project strong { color: #0d1725; font-weight: 600; }
  .identity-page.project-page .choice-icon { background: transparent; border-color: #cfdef1; color: #086de8; box-shadow: none; }
  .identity-page.project-page .simulator-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 40px; }
  .identity-page.project-page #estimator-controls { padding: 0 0 0 36px; border: 0; border-inline-end: 1px solid #cfdef1; border-radius: 0; background: transparent; box-shadow: none; }
  .identity-page.project-page .estimator-control label,.identity-page.project-page .control-label { color: #0d1725; font-size: 20px; font-weight: 600; }
  .identity-page.project-page .unit-input { background: #fff; border: 1px solid #cfdef1; border-radius: 8px; box-shadow: none; min-height: 94px; }
  .identity-page.project-page .unit-input:focus-within { border-color: #086de8; outline: 2px solid #086de8; outline-offset: 3px; }
  .identity-page.project-page #shares-number { color: #0d1725; font: 700 clamp(28px,3.4vw,44px)/1.4 'Readex Pro',sans-serif; background: transparent; padding: 8px 0; }
  .identity-page.project-page .unit-input button { background: #e9f3ff; color: #086de8; border: 0; }
  .identity-page.project-page .input-currency,.identity-page.project-page .amount-centimes { color: #485a72; }
  .identity-page.project-page #shares-range { accent-color: #00bfd9; }
  .identity-page.project-page #shares-range::-webkit-slider-runnable-track { background: linear-gradient(to left,#086de8 var(--fill,0%),#d8eafe var(--fill,0%)); }
  .identity-page.project-page #shares-range::-webkit-slider-thumb { background: #00bfd9; box-shadow: 0 3px 8px #0082ba33; }
  .identity-page.project-page #shares-range::-moz-range-track { background: #d8eafe; }
  .identity-page.project-page #shares-range::-moz-range-progress { background: #086de8; }
  .identity-page.project-page #shares-range::-moz-range-thumb { background: #00bfd9; }
  .identity-page.project-page .amount-chips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .identity-page.project-page .amount-chips button,.identity-page.project-page .scenario-chip { background: #fff; color: #485a72; border: 1px solid #cfdef1; border-radius: 8px; box-shadow: none; transform: none; min-height: 46px; }
  .identity-page.project-page .amount-chips button.active,.identity-page.project-page .scenario-chip.active { background: #086de8; color: #fff; border-color: #086de8; }
  .identity-page.project-page .unit-hint,.identity-page.project-page .unit-note { color: #485a72 !important; font-size: 13px; text-align: start; }
  .identity-page.project-page .equity-row { color: #485a72; border-color: #cfdef1; }
  .identity-page.project-page .equity-row strong { color: #0d1725 !important; }
  .identity-page.project-page .projection { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; box-shadow: none; overflow: visible; }
  .identity-page.project-page .simple-result-card { padding: 0 0 26px; border: 0; border-bottom: 1px solid #cfdef1; border-radius: 0; background: transparent; box-shadow: none; gap: 12px; }
  .identity-page.project-page .src-eyebrow { color: #0d1725; font-size: 22px; font-weight: 600; text-align: start; }
  .identity-page.project-page .src-amount { color: #086de8; font-size: clamp(32px,4.4vw,62px); font-weight: 700; line-height: 1.35; }
  .identity-page.project-page .projection-monthly { color: #0d1725; font-size: 18px; font-weight: 500; }
  .identity-page.project-page .projection-period,.identity-page.project-page .projection-total,.identity-page.project-page .projection-scenario-note { color: #485a72; }
  .identity-page.project-page .projection-years summary { color: #086de8 !important; }
  .identity-page.project-page .method-link { color: #086de8 !important; }
  .identity-page.project-page .projection-timeline-wrap { padding: 0; background: transparent; border: 0; border-radius: 0; }
  .identity-page.project-page .timeline-title { color: #0d1725; background: transparent; font-size: 19px; }
  .identity-page.project-page .projection-chart { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
  .identity-page.project-page .projection-col { display: block; transform: none; }
  .identity-page.project-page .projection-year-button { color: #485a72; }
  .identity-page.project-page .projection-track { height: 180px; width: 100%; padding: 0; background: transparent; border: 0; border-bottom: 1px solid #cfdef1; border-radius: 0; }
  .identity-page.project-page .projection-bar { width: 100%; height: var(--bar,0%); min-height: 0; background: #086de8; border: 0; box-shadow: none; border-radius: 4px 4px 0 0; }
  .identity-page.project-page .projection-axis { color: #485a72; background: transparent; padding: 0; border-radius: 0; }
  .identity-page.project-page .projection-value { color: #0d1725; font-size: 11px; }
  .identity-page.project-page .projection-legal-note { color: #485a72; font-size: 13px; opacity: 1; text-align: start; }
  .identity-page.project-page .projection-empty { background: transparent; padding: 20px 0; border: 0; border-radius: 0; }
  .identity-page.project-page .simulator-next { padding-top: 36px; }
  .identity-page.project-page .simulator-next p { color: #485a72; font-size: 14px; }
  .identity-page.project-page .estimator-formula { padding: 0; border: 0; border-block: 1px solid #cfdef1; border-radius: 0; background: transparent; }
  .identity-page.project-page .estimator-formula summary { color: #086de8; font-size: 16px; padding-block: 20px; }
  .identity-page.project-page .estimator-formula p { font-size: 15px; max-width: 75ch; }
  .identity-page.project-page .assumptions-table th,.identity-page.project-page .assumptions-table td { color: #485a72; border-color: #cfdef1; }
  .identity-page.project-page .estimate-sheet { margin-top: 24px; }
  .identity-page.project-page .es-hint { color: #485a72; }
  .identity-page.project-page .mobile-followup { background: #fff; border-color: #cfdef1; box-shadow: none; }
  .identity-page.project-page .followup-copy strong { color: #0d1725; }
  .identity-page.project-page .followup-copy span { color: #485a72; }
  .identity-page.project-page .mobile-cta.mobile-followup .followup-action { background: #086de8; color: #fff; border-radius: 8px; }
  .identity-page.project-page .mobile-cta.mobile-followup.is-gated .followup-action { background: #edf5ff; color: #485a72; }
  .identity-page.project-page .mobile-cta { background: #fff; border-color: #cfdef1; backdrop-filter: none; box-shadow: none; }
  .identity-page.project-page .mobile-cta:not(.mobile-followup) a { color: #485a72; }
  .identity-page.project-page .mobile-cta:not(.mobile-followup) a:last-child { color: #005cc2; }
}
@media screen and (hover: hover) and (pointer: fine) {
  .identity-page.project-page .amount-chips button:hover:not(.active),.identity-page.project-page .scenario-chip:hover:not(.active),.identity-page.project-page .unit-input button:hover:not(:disabled) { background: #e9f3ff; color: #086de8; border-color: #086de8; transform: none; }
  .identity-page.project-page .projection-year-button:hover .projection-bar,.identity-page.project-page .projection-year-button:focus-visible .projection-bar { background: #0059c6; filter: none; box-shadow: none; }
}
@media screen and (max-width: 900px) {
  .identity-page.project-page .project-spotlight { gap: 36px; grid-template-columns: minmax(0,1.4fr) minmax(0,.7fr); }
  .identity-page.project-page .simulator-heading { align-items: flex-start; }
  .identity-page.project-page .simulator-layout { gap: 26px; }
  .identity-page.project-page #estimator-controls { padding-inline-end: 26px; }
}
@media screen and (max-width: 700px) {
  .identity-page.project-page .project-page-top { padding-block: 18px 6px; }
  .identity-page.project-page .project-spotlight { grid-template-columns: 1fr; gap: 26px; padding-block: 22px 36px; }
  .identity-page.project-page .spotlight-copy,.identity-page.project-page .spotlight-media { grid-column: 1; }
  .identity-page.project-page .spotlight-media { grid-row: 2; padding-top: 0; }
  .identity-page.project-page .spotlight-copy .btn-primary { width: 100%; padding-inline: 16px; }
  .identity-page.project-page .spotlight-about { font-size: 17px; }
  .identity-page.project-page .phone-frame { width: min(100%,240px); }
  .identity-page.project-page .project-detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .identity-page.project-page .project-detail-card h2,.identity-page.project-page .project-faq h2 { font-size: 23px; }
  .identity-page.project-page .public-project-journal { padding-block: 28px; }
  .identity-page.project-page .section-heading h2 { font-size: 28px; }
  .identity-page.project-page .partnership-estimator { padding-top: 30px; }
  .identity-page.project-page .simulator-heading { flex-direction: column; gap: 22px; }
  .identity-page.project-page .simulator-project { padding-bottom: 18px; }
  .identity-page.project-page .simulator-layout { grid-template-columns: 1fr; gap: 30px; }
  .identity-page.project-page #estimator-controls { padding: 0; border: 0; }
  .identity-page.project-page .simulator-result { order: 0; position: static; }
  .identity-page.project-page .unit-input { min-height: 82px; padding-inline: 6px; gap: 6px; }
  .identity-page.project-page .unit-input button { width: 38px; min-width: 38px; }
  .identity-page.project-page #shares-number { font-size: clamp(23px,7vw,32px); }
  .identity-page.project-page .src-amount { font-size: clamp(30px,8.4vw,42px); gap: 8px; }
  .identity-page.project-page .projection-chart { gap: 8px; }
  .identity-page.project-page .projection-track { height: 140px; }
  .identity-page.project-page .projection-value { font-size: 10px; }
  .identity-page.project-page .projection-axis { font-size: 11px; }
  .identity-page.project-page .simulator-next { gap: 16px; }
  .identity-page.project-page .simulator-next .btn-primary { min-width: 0; width: 100%; }
}

/* === 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/venture_and_withdrawal_upgrades.css === */
/* Stage-3 Pillar 2 & 3: Venture Switcher, Milestone Track & Withdrawal Timeline Calculator */
@media screen {
  /* 1. Quick Venture Switcher (project.html) */
  .project-venture-switcher { margin:4px 0 20px; padding:8px 10px; border:1px solid #d4e4f7; border-radius:14px; background:#f5f9ff; box-shadow:0 6px 18px rgba(11, 30, 66, 0.04); }
  .pvs-rail { display:flex; align-items:center; gap:8px; overflow-x:auto; scrollbar-width:thin; padding-block:2px; }
  .pvs-pill { display:inline-flex; align-items:center; gap:9px; flex:none; min-height:42px; padding:6px 14px; border:1px solid transparent; border-radius:10px; background:transparent; color:#1e3554; font-size:0.92rem; font-weight:600; text-decoration:none; transition:background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
  .pvs-pill:hover { background:#eaf3ff; border-color:#bfd7f6; color:#0055c4; }
  .pvs-pill[aria-current="page"],
  .pvs-pill.is-active { background:#ffffff; border-color:#8bb8f8; color:#0055c4; font-weight:700; box-shadow:0 4px 12px rgba(8, 109, 232, 0.10); }
  .pvs-icon { width:26px; height:26px; border-radius:7px; object-fit:cover; flex:none; background:#eaf2fd; }
  .pvs-title { white-space:nowrap; }
  .pvs-dot { width:8px; height:8px; border-radius:50%; flex:none; background:#64748b; }
  .pvs-dot.is-open { background:#059669; box-shadow:0 0 0 3px rgba(5, 150, 105, 0.18); }

  /* 2. Venture Lifecycle Milestone Track (project.html) */
  .project-milestone-track { margin:0 0 26px; padding:20px 24px; border:1px solid #d4e4f7; border-radius:16px; background:linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); box-shadow:0 10px 26px rgba(11, 30, 66, 0.04); }
  .pmt-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:16px; }
  .pmt-title { color:#0d1725; font-size:1.02rem; font-weight:700; }
  .pmt-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border:1px solid #bfd7f6; border-radius:999px; background:#eff6ff; color:#0055c4; font-size:0.84rem; font-weight:700; font-variant-numeric:tabular-nums; }
  .pmt-steps { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; list-style:none; margin:0; padding:0; }
  .pmt-step { display:flex; align-items:center; gap:11px; padding:12px 14px; border:1px solid #dce8f7; border-radius:12px; background:#ffffff; color:#425873; }
  .pmt-num { display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:50%; background:#eef4fc; color:#364e6b; font-size:0.85rem; font-weight:700; font-variant-numeric:tabular-nums; }
  .pmt-copy { min-width:0; }
  .pmt-copy strong { display:block; color:#1e3554; font-size:0.9rem; font-weight:700; line-height:1.4; }
  .pmt-copy small { display:block; color:#475d7a; font-size:0.78rem; margin-top:2px; }
  .pmt-step.is-done { border-color:#a7f3d0; background:#f0fdf4; }
  .pmt-step.is-done .pmt-num { background:#047857; color:#ffffff; }
  .pmt-step.is-done .pmt-copy :is(strong, small) { color:#065f46; }
  .pmt-step.is-active { border-color:#60a5fa; background:#eff6ff; box-shadow:0 6px 16px rgba(8, 109, 232, 0.09); }
  .pmt-step.is-active .pmt-num { background:#086de8; color:#ffffff; }
  .pmt-step.is-active .pmt-copy strong { color:#072146; }
  .pmt-step.is-active .pmt-copy small { color:#0055c4; font-weight:600; }

  /* 3. Interactive Withdrawal Eligibility & Settlement Calculator (withdrawal.html) */
  .wd-calc-card { padding:24px 26px; border:1px solid #cfe1f8; border-top:3px solid #086de8; border-radius:14px; background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); box-shadow:0 10px 28px rgba(11, 30, 66, 0.05); }
  .wd-calc-card > h2 { margin:0 0 8px !important; color:#0d1725; font-size:1.35rem; font-weight:700; }
  .wd-calc-card > p { margin:0; color:#425873; font-size:0.98rem; line-height:1.75; }
  .wd-calc-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-top:18px; }
  .wd-calc-field { display:flex; flex-direction:column; gap:7px; }
  .wd-calc-field label { color:#1e3554; font-size:0.9rem; font-weight:600; }
  .wd-calc-field :is(select, input[type="date"]) { min-height:46px; padding:10px 14px; border:1px solid #7d9bc2; border-radius:10px; background:#ffffff; color:#0d1725; font:inherit; font-size:0.96rem; font-variant-numeric:tabular-nums; }
  .wd-calc-field :is(select, input[type="date"]):focus-visible { outline:3px solid #086de8; outline-offset:2px; border-color:#086de8; }
  .wd-calc-output { margin-top:18px; padding:18px 20px; border:1px solid #d5e5f8; border-radius:12px; background:#ffffff; font-variant-numeric:tabular-nums; }
  .wd-calc-summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding-bottom:16px; border-bottom:1px solid #e2ecf9; }
  .wd-calc-badge { display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:999px; font-size:0.88rem; font-weight:700; border:1px solid transparent; }
  .wd-calc-badge.is-eligible { background:#ecfdf5; border-color:#6ee7b7; color:#065f46; }
  .wd-calc-badge.is-locked { background:#eff6ff; border-color:#93c5fd; color:#0055c4; }
  .wd-calc-kpis { display:flex; flex-wrap:wrap; gap:18px 26px; }
  .wd-calc-kpis > div { display:flex; flex-direction:column; gap:2px; }
  .wd-calc-kpis span { color:#475d7a; font-size:0.8rem; }
  .wd-calc-kpis strong { color:#0d1725; font-size:1.04rem; font-weight:700; }
  .wd-calc-milestones { list-style:none; margin:14px 0 0; padding:0; }
  .wd-calc-milestones li { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid #edf3fc; }
  .wd-calc-milestones li:last-child { border-bottom:0; padding-bottom:0; }
  .wd-calc-milestones strong { display:block; color:#1e3554; font-size:0.94rem; font-weight:600; }
  .wd-calc-milestones small { display:block; color:#475d7a; font-size:0.8rem; margin-top:2px; }
  .wd-calc-milestones b { color:#0055c4; font-size:0.95rem; font-weight:700; white-space:nowrap; }
  .wd-calc-empty { margin:0; color:#425873; font-size:0.94rem; }

  /* 4. Explicit Dark Mode Overrides (WCAG >= 4.5:1) */
  html[data-theme=dark] .project-venture-switcher { background:#0f1c30; border-color:#29405e; box-shadow:0 8px 22px rgba(2, 8, 20, 0.42); }
  html[data-theme=dark] .pvs-pill { color:#d6e4f7; }
  html[data-theme=dark] .pvs-pill:hover { background:#172a45; border-color:#3b6ca8; color:#93c5fd; }
  html[data-theme=dark] .pvs-pill[aria-current="page"],
  html[data-theme=dark] .pvs-pill.is-active { background:#182d4a; border-color:#60a5fa; color:#ffffff; box-shadow:0 4px 14px rgba(2, 8, 20, 0.45); }
  html[data-theme=dark] .pvs-icon { background:#1a2f4d; }
  html[data-theme=dark] .pvs-dot { background:#94a3b8; }
  html[data-theme=dark] .pvs-dot.is-open { background:#34d399; box-shadow:0 0 0 3px rgba(52, 211, 153, 0.22); }
  html[data-theme=dark] .project-milestone-track { border-color:#29405e; background:linear-gradient(180deg, #111f34 0%, #0d1829 100%); box-shadow:0 12px 28px rgba(2, 8, 20, 0.44); }
  html[data-theme=dark] :is(.pmt-title, .wd-calc-card > h2, .wd-calc-kpis strong, .wd-calc-milestones strong) { color:#f1f6ff; }
  html[data-theme=dark] :is(.pmt-badge, .wd-calc-badge.is-locked) { background:#162b49; border-color:#60a5fa; color:#93c5fd; }
  html[data-theme=dark] :is(.pmt-step, .wd-calc-output) { background:#132238; border-color:#29405e; color:#bfd0e6; }
  html[data-theme=dark] .pmt-num { background:#1c3150; color:#d6e4f7; }
  html[data-theme=dark] .pmt-copy strong { color:#edf4ff; }
  html[data-theme=dark] :is(.pmt-copy small, .wd-calc-kpis span, .wd-calc-milestones small) { color:#b4c7df; }
  html[data-theme=dark] :is(.pmt-step.is-done, .wd-calc-badge.is-eligible) { background:#0f2f2a; border-color:#34d399; color:#6ee7b7; }
  html[data-theme=dark] .pmt-step.is-done .pmt-num { background:#047857; color:#ffffff; }
  html[data-theme=dark] .pmt-step.is-done .pmt-copy :is(strong, small) { color:#6ee7b7; }
  html[data-theme=dark] .pmt-step.is-active { background:#162b49; border-color:#60a5fa; box-shadow:0 6px 18px rgba(2, 8, 20, 0.42); }
  html[data-theme=dark] .pmt-step.is-active .pmt-num { background:#086de8; color:#ffffff; }
  html[data-theme=dark] .pmt-step.is-active .pmt-copy strong { color:#ffffff; }
  html[data-theme=dark] .pmt-step.is-active .pmt-copy small { color:#93c5fd; }
  html[data-theme=dark] .wd-calc-card { border-color:#29405e; border-top-color:#38bdf8; background:linear-gradient(180deg, #122137 0%, #0e1a2c 100%); box-shadow:0 12px 30px rgba(2, 8, 20, 0.45); }
  html[data-theme=dark] :is(.wd-calc-card > p, .wd-calc-empty) { color:#bfd0e6; }
  html[data-theme=dark] .wd-calc-field label { color:#d6e4f7; }
  html[data-theme=dark] .wd-calc-field :is(select, input[type="date"]) { background:#0d1829; border-color:#45658c; color:#f1f6ff; color-scheme:dark; }
  html[data-theme=dark] .wd-calc-summary { border-bottom-color:#243852; }
  html[data-theme=dark] .wd-calc-milestones li { border-bottom-color:#1f334d; }
  html[data-theme=dark] .wd-calc-milestones b { color:#8ec5ff; }

  @media (max-width: 780px) {
    .pmt-steps { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .wd-calc-grid { grid-template-columns:minmax(0, 1fr); }
    .wd-calc-card { padding:20px 18px; }
    .wd-calc-milestones li { flex-direction:column; align-items:flex-start; gap:4px; }
  }
  @media (max-width: 500px) {
    .project-milestone-track { padding:16px; }
    .pmt-steps { grid-template-columns:minmax(0, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) {
    .pvs-pill { transition:none; }
  }
}

/* === 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; } }
}

/* === css/estimate_sheet.css === */
/* ==========================================================================
   Haplic — the estimate sheet (index.html)
   The paper the home page's estimator produces: the application, the amount,
   the reference percentage, and the five years as a table. The chart beside it
   already draws those five figures for the screen, so the sheet is drawn only
   on paper — `.es-paper` is display: none here and block in the print block
   below, and what the screen shows of this section is the button and the one
   sentence naming what the sheet holds.
   The colours are written for paper rather than for the dark page: this block
   is the only place on this surface that is white and black by design.
   ========================================================================== */

.estimate-sheet { margin: 18px 0 0; }
.es-paper { display: none; }
.es-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.es-hint { max-width: 640px; color: var(--color-text-dim); font-size: var(--text-sm); line-height: 1.8; }

@media (max-width: 640px) {
  .es-actions { flex-direction: column; }
  .es-hint { text-align: center; }
}

/* --- the sheet itself: read on paper, never drawn on screen --------------- */
.es-print-letterhead {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12pt;
  margin-bottom: 15pt; padding-bottom: 10pt; border-bottom: 2pt solid #0f294a;
}
.es-print-letterhead::after { content: ""; position: absolute; inset-inline: 0; bottom: -4pt; border-bottom: 0.75pt solid #0f294a; }
.es-print-brand { display: flex; align-items: center; gap: 9pt; }
.es-print-brand img { width: 26pt; height: 26pt; object-fit: contain; }
.es-print-org { display: block; color: #0f294a; font-size: 11pt; font-weight: 800; letter-spacing: 0.01em; }
.es-print-badge { display: block; margin-top: 2pt; color: #3b4f6b; font-size: 8.5pt; font-weight: 600; }
.es-print-kind {
  flex: none; padding: 2pt 7pt; border: 0.75pt solid #0f294a; border-radius: 3pt;
  background: #eef4fb; color: #0f294a; font-size: 8pt; font-weight: 800;
}

.es-head { margin-bottom: 16px; }
.es-eyebrow {
  display: block; margin-bottom: 4px; color: #0f294a;
  font-size: var(--text-xs); font-weight: 800;
}
.es-head h3 { margin: 0 0 6px; color: #000; font-size: var(--text-lg); }
.es-app { margin: 0; color: #334155; font-size: var(--text-sm); }

.es-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.es-figures > div { padding: 13px 15px; border: 1px solid #94a8c4; border-radius: var(--radius-md); background: #f8fbff; }
.es-figures span { display: block; margin-bottom: 6px; color: #334155; font-size: var(--text-xs); font-weight: 700; }
.es-figures strong { color: #000; font-size: var(--text-md); font-weight: 800; }

.es-table { width: 100%; border-collapse: collapse; }
.es-table th,
.es-table td { padding: 10px 12px; border: 1px solid #94a8c4; color: #000; font-size: var(--text-base); text-align: start; }
.es-table thead th { background: #eef4fb; color: #0f294a; font-size: var(--text-xs); font-weight: 800; }
.es-table tbody th { font-weight: 700; }
.es-table td { font-weight: 800; }

/* The method sits under the table rather than in a footnote on another page: a figure the office
   entered is an estimate, and the line that says so belongs where the figure is read. */
.es-method { margin: 12px 0 0; color: #334155; font-size: var(--text-sm); line-height: 1.9; }
.es-close { margin: 14px 0 0; color: #334155; font-size: var(--text-xs); line-height: 1.9; }
.es-print-signatures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12pt; margin-top: 16pt; break-inside: avoid; }
.es-sig-box {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 64pt;
  padding: 9pt 11pt; border: 0.85pt solid #94a8c4; border-radius: 4pt; background: #fcfdff; break-inside: avoid;
}
.es-sig-title { color: #0f294a; font-size: 9pt; font-weight: 800; }
.es-sig-line { padding-top: 6pt; border-top: 0.75pt dashed #94a8c4; color: #475569; font-size: 8pt; }
.es-figures > div,
.es-table tr { break-inside: avoid; }

/* --- print: one sheet, and nothing on it but the sheet --------------------
   Every other block of the home page, by name. The chrome is named first, then
   each top-level section of <main> — including #calculator, which holds the
   chart and the controls. A section added to index.html later is named here or
   it prints onto the paper, and the suite fails until it is named: that is why
   the list is written out rather than left to a structural rule.
   -------------------------------------------------------------------------- */
@media print {
  html, body { background: #fff; color: #000; }
  @page { margin: 14mm; }

  .site-header,
  .public-site-header,
  .company-header,
  .site-footer,
  .public-site-footer,
  .mobile-cta,
  .estimator-ambient,
  .estimator-project-row,
  #page-state,
  .estimator-legal,
  .estimator-extra,
  #estimator-status,
  #estimator-method > summary,
  .estimator-method-body > p,
  #projection-assumptions,
  #floating-contact,
  #welcome,
  #company-profile,
  #partnership-context,
  #project-summary,
  #project-journal,
  #project-details,
  .project-page-top,
  .trust-strip,
  #how-it-works,
  #disclosure,
  #ventures,
  #calculator,
  #partnership-incentives,
  #partnership-executive-actions,
  #partnership-advanced-tools,
  #register,
  #faq { display: none; }

  .container,
  .company-container,
  .estimator-main,
  .estimator-method,
  .estimator-method-body { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .estimate-sheet { margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .es-paper { display: block; }
  .es-actions { display: none; }
}

