:root {
  --esign-ink:         #0f172a;
  --esign-ink-strong:  #0b1220;
  --esign-ink-soft:    #1e293b;
  --esign-muted:       #64748b;
  --esign-muted-soft:  #94a3b8;
  --esign-border:      #e6e8ee;
  --esign-border-soft: #eef0f5;
  --esign-bg:          #ffffff;  /* Forest brand: pure white app background */
  --esign-bg-warm:     #fafafa;  /* near-white for subtle surface separation */
  --esign-surface:     #ffffff;

  --esign-accent:      #15803d;  /* green-700 — Forest brand color */
  --esign-accent-hi:   #14532d;  /* green-900 — hover */
  --esign-accent-soft: #dcfce7;  /* green-100 — soft tint */
  --esign-success:     #0f7c43;
  --esign-success-soft:#e6f6ec;
  --esign-warn:        #b35900;
  --esign-warn-soft:   #fdf0e0;
  --esign-danger:      #b32424;
  --esign-danger-soft: #fcecec;
  --esign-gold:        #ffc107;  /* Standout pill on amber surfaces; matches PMS "Info/Guide" branding. */
  --esign-gold-deep:   #d4a000;

  --esign-radius-sm: 6px;
  --esign-radius:    10px;
  --esign-radius-lg: 16px;

  --esign-font:      'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --esign-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --esign-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --esign-shadow:    0 4px 12px rgba(15, 23, 42, 0.08);
  --esign-ring-accent: 0 0 0 3px rgba(21, 128, 61, 0.20);  /* forest-tinted focus ring */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--esign-font);
  color: var(--esign-ink);
  background: var(--esign-bg);
  min-height: 100vh;
}

a { color: var(--esign-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.esign-topbar {
  background: var(--esign-surface);
  border-bottom: 1px solid var(--esign-border);
}
.esign-topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
}
.esign-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--esign-ink-strong);
}
.esign-wordmark:hover { text-decoration: none; }
.esign-wordmark__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--esign-ink-strong);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.esign-wordmark__text strong {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 15px;
  line-height: 1.1;
}
.esign-wordmark__sub {
  font-family: var(--esign-font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--esign-muted);
}

/* ── GSD brand (single source of truth, see views/partials/_brand-gsd.ejs)
   One forest-green outlined pill that wraps both the icon AND the wordmark
   side by side. The icon is a green rounded square with a white compass
   needle; the wordmark is "GSD" in forest green bold. Whole thing reads as
   a single compound logo, like a stamped seal. */
.gsd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--esign-font-sans);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.gsd-brand:hover { text-decoration: none; }
.gsd-brand__chip {
  display: inline-flex;
  align-items: stretch;            /* icon spans full chip height — zero vertical gap */
  padding: 0;                       /* zero gap on every side; text gets its own padding */
  border: 2px solid var(--esign-accent);
  border-radius: 12px;
  background: transparent;
  overflow: hidden;                 /* clips icon to chip's rounded corners */
}
.gsd-brand__mark {
  background: var(--esign-accent);  /* solid forest fill — merges with the chip border */
  width: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
  /* Inner-radius = chip-radius − border-width = 12 − 2 = 10. Rounded on the
     left (where it meets the chip's left edge), square on the right (where
     it butts against the white interior). */
  border-radius: 10px 0 0 10px;
}
.gsd-brand__mark svg { display: block; width: 82%; height: 82%; }
.gsd-brand__text {
  font-family: var(--esign-font-sans);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--esign-accent);
  line-height: 1;
  padding: 8px 14px 8px 12px;
  display: inline-flex; align-items: center;
}
.gsd-brand__sub {
  font-family: var(--esign-font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--esign-muted);
}
/* Compact variant for the app topbar and signer portal header.
   Inner-radius = 10 − 1.5 = 8.5 ≈ 8 */
.gsd-brand--sm .gsd-brand__chip { border-width: 1.5px; border-radius: 10px; }
.gsd-brand--sm .gsd-brand__mark { width: 30px; border-radius: 8px 0 0 8px; }
.gsd-brand--sm .gsd-brand__text { font-size: 14px; padding: 6px 11px 6px 10px; }

/* Large hero variant for centered standalone logo (used above auth cards
   when there's no topbar). Bigger icon and text, otherwise identical. */
.gsd-brand--lg .gsd-brand__chip { border-width: 2.5px; border-radius: 14px; }
.gsd-brand--lg .gsd-brand__mark { width: 48px; border-radius: 11.5px 0 0 11.5px; }
.gsd-brand--lg .gsd-brand__text { font-size: 22px; padding: 13px 18px 13px 16px; }

/* Centered hero-logo block above the auth card (auth pages with no topbar) */
.esign-auth-logo {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}
/* The anchor wrapping the logo (clicks through to marketing home) shouldn't
   pick up default link styling — keep parent colors / strip the underline. */
.esign-auth-logo a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}
.esign-auth-logo a:hover { text-decoration: none; opacity: 0.92; }

.esign-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
}

.esign-hero { max-width: 640px; }
.esign-hero__eyebrow {
  font-family: var(--esign-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--esign-accent);
  font-weight: 700;
  margin: 0 0 16px;
}
.esign-hero__title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--esign-ink-strong);
  margin: 0 0 18px;
}
.esign-hero__copy {
  font-size: 17px;
  line-height: 1.6;
  color: var(--esign-muted);
  max-width: 56ch;
  margin: 0;
}

.esign-result-card {
  max-width: 520px;
  margin: 56px auto;
  padding: 40px 36px;
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius-lg);
  text-align: center;
  box-shadow: var(--esign-shadow);
}
.esign-result-card__art {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: var(--esign-accent-soft);
  color: var(--esign-accent);
}
.esign-result-card__art--warn {
  background: var(--esign-warn-soft);
  color: var(--esign-warn);
}
.esign-result-card__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--esign-ink-strong);
}
.esign-result-card__copy {
  color: var(--esign-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.esign-link {
  color: var(--esign-accent);
  font-weight: 600;
}

.esign-footer {
  border-top: 1px solid var(--esign-border);
  background: var(--esign-surface);
  text-align: center;
  padding: 18px;
  color: var(--esign-muted);
  font-size: 12px;
}

/* ───── Auth forms (signup, login, reset) ──────────────────────────── */

.esign-auth-card {
  max-width: 460px;
  margin: 48px auto;
  padding: 40px 36px 32px;
  background: var(--esign-surface);
  border: 3px solid #9F1239;
  border-radius: var(--esign-radius-lg);
  /* Layered raised + glowing card. Glow now on BOTH sides of the border —
     burgundy radiates outward into the forest stage AND inward into the
     card edges, creating a "rim light" effect like the frame is emitting
     color in both directions.
     1. inset white highlight on the inner top edge → "raised paper" feel
     2. inset burgundy haze → inside glow along the perimeter
     3. close ambient shadow → anchors the card to the page
     4. mid-elevation drop shadow → physical lift from the forest stage
     5. tight outer burgundy halo close to the border → visible outside glow
     6. wide outer burgundy atmosphere → soft outer aura into the forest */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 24px rgba(159, 18, 57, 0.20),
    0 2px 6px rgba(15, 23, 42, 0.08),
    0 18px 40px -12px rgba(15, 23, 42, 0.28),
    0 0 22px rgba(159, 18, 57, 0.45),
    0 0 60px rgba(159, 18, 57, 0.22);
}
.esign-auth-card__eyebrow {
  font-family: var(--esign-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--esign-accent);
  font-weight: 700;
  margin: 0 0 14px;
}
.esign-auth-card__eyebrow--ok  { color: var(--esign-success); }
.esign-auth-card__eyebrow--err { color: var(--esign-danger); }
.esign-auth-card__title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--esign-ink-strong);
}
.esign-auth-card__copy {
  color: var(--esign-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
}
/* Value-prop callout variant — burgundy signature-ink for offer lines
   like "7-day free trial. No card required." Modifier so the standard copy
   tone (muted gray) stays default everywhere else. */
.esign-auth-card__copy--accent {
  color: #9F1239;
  font-weight: 600;
}
.esign-auth-card__footer {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--esign-muted);
}
/* On the wide landscape variant the footer also gets a top hairline so it
   reads as its own bottom section that spans both columns above. */
.esign-auth-card--wide .esign-auth-card__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--esign-border);
}

/* ── Deep-forest auth-page background ─────────────────────────────────────
   Applied to body via bodyClass="esign-auth-bg" from auth views. The base
   is a deep linear gradient (green-950 → green-900 → green-800), plus two
   radial highlights for atmosphere and a diagonal "blade" overlay with hard
   color stops — recreates the catchy multi-shade forest band the user
   referenced. Backgrounds use position:fixed so they fill the viewport and
   don't scroll. Auth card + chrome get z-index:1 so they sit above. */
body.esign-auth-bg {
  background:
    linear-gradient(165deg, #052E16 0%, #14532D 50%, #166534 100%);
  min-height: 100vh;
  position: relative;
}
body.esign-auth-bg::before,
body.esign-auth-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body.esign-auth-bg::before {
  /* Atmospheric radials: upper-right brighter highlight + lower-left deeper pool */
  background:
    radial-gradient(55% 45% at 78% 18%, color-mix(in oklab, #22C55E 22%, transparent) 0%, transparent 65%),
    radial-gradient(50% 45% at 12% 92%, color-mix(in oklab, #052E16 80%, transparent) 0%, transparent 60%);
}
body.esign-auth-bg::after {
  /* Diagonal blade — hard color stops create a visible "ribbon" of brighter
     forest sweeping from upper-left toward lower-right. Tilted around 115°
     so the long edge runs diagonally across the viewport. */
  background: linear-gradient(
    115deg,
    transparent 28%,
    color-mix(in oklab, #15803D 42%, transparent) 33%,
    color-mix(in oklab, #166534 55%, transparent) 50%,
    color-mix(in oklab, #15803D 42%, transparent) 67%,
    transparent 72%
  );
}
body.esign-auth-bg > * { position: relative; z-index: 1; }
body.esign-auth-bg .esign-topbar {
  /* Transparent topbar so the GSD chip sits directly on the forest stage —
     no white chrome rectangle interrupting the immersive background. */
  background: transparent;
  border-bottom: 1px solid color-mix(in oklab, #FFFFFF 12%, transparent);
}
/* Footer matches the topbar treatment on auth-bg — transparent so the
   forest stage continues uninterrupted. The default white footer bg was
   leaving a visible white horizontal stripe between content and viewport
   edge on short-content pages. */
body.esign-auth-bg .esign-footer {
  background: transparent;
  border-top: 1px solid color-mix(in oklab, #FFFFFF 12%, transparent);
}
body.esign-auth-bg .esign-footer small {
  color: color-mix(in oklab, #FFFFFF 65%, transparent);
}
/* GSD chip on dark forest bg flips border + wordmark to white-translucent.
   Icon block stays green so the chip keeps its layered, "stamped" depth. */
body.esign-auth-bg .gsd-brand__chip {
  border-color: rgba(255, 255, 255, 0.45);
}
body.esign-auth-bg .gsd-brand__text {
  color: #FFFFFF;
}
/* When there's a centered hero logo above the card, pull the card up so
   the two read as a single composition (otherwise the default 48px margin
   plus the 56px logo padding leaves an awkward gap between them). */
body.esign-auth-bg .esign-auth-card {
  margin-top: 24px;
}

/* ── Wide / landscape auth-card variant (signup, multi-provider screens) ──
   Two columns side by side: OAuth providers on the left, email form on the
   right, with a hairline divider between them. Collapses to single column
   on narrow viewports. */
.esign-auth-card--wide {
  max-width: 880px;
  padding: 44px 48px 36px;
}
/* Top header (eyebrow + title + copy) and bottom footer are common to both
   columns, so center them across the full card width — visually anchors
   them to the whole card, not the left column. */
.esign-auth-card--wide .esign-auth-card__eyebrow,
.esign-auth-card--wide .esign-auth-card__title,
.esign-auth-card--wide .esign-auth-card__copy {
  text-align: center;
}
.esign-auth-card--wide .esign-auth-card__copy {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.esign-auth-card__split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--esign-border);
  position: relative;
}
/* Vertical hairline divider between the two columns */
.esign-auth-card__split::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  left: calc((100% / 2.3) + 4px);
  width: 1px;
  background: var(--esign-border);
}
.esign-auth-card__col { display: flex; flex-direction: column; gap: 10px; }
/* OAuth column is shorter than the form column — center it vertically so
   equal whitespace sits above and below the button stack. */
.esign-auth-card__col--oauth { justify-content: center; }
.esign-auth-card__col--form { padding-left: 20px; }
.esign-auth-card__coltitle {
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--esign-muted);
  font-weight: 700;
  margin: 0 0 12px;
}
.esign-auth-card__colhint {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--esign-muted);
}

/* Collapse to single column on narrow screens */
@media (max-width: 720px) {
  .esign-auth-card--wide {
    max-width: 460px;
    padding: 40px 28px 32px;
  }
  .esign-auth-card__split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .esign-auth-card__split::before {
    top: auto; bottom: auto;
    left: 0; right: 0;
    width: auto; height: 1px;
    /* Pseudo-divider becomes horizontal at the midpoint between the two
       stacked sections. The flex gap handles the visual space; we hide the
       line on mobile since the gap already separates them. */
    display: none;
  }
  .esign-auth-card__col--form { padding-left: 0; }
}
/* Cross-page auth link (Create an account / Log in) gets the burgundy
   signature-ink accent — small, single-place application of the accent
   color inside an otherwise forest-framed card. */
.esign-auth-card__footer .esign-link {
  color: #9F1239;
  font-weight: 600;
}
.esign-auth-card__footer .esign-link:hover {
  color: #881337;
  text-decoration: underline;
}

/* Step-2 login identity strip: shows the email user just typed + a "Not you?" escape hatch */
.esign-auth-card__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 0 20px;
  background: var(--esign-bg);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius-sm);
  font-size: 13px;
}
.esign-auth-card__identity i {
  color: var(--esign-muted);
  font-size: 16px;
}
.esign-auth-card__identity-email {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--esign-ink-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.esign-auth-card__identity-switch {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--esign-accent);
  text-decoration: none;
}
.esign-auth-card__identity-switch:hover { text-decoration: underline; }

.esign-form { display: flex; flex-direction: column; gap: 18px; }

/* ── Standard label-above field (app pages) ─────────────────────────────── */
.esign-field { display: block; margin-bottom: 20px; }
.esign-field:last-child { margin-bottom: 0; }
.esign-field__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--esign-ink-strong);
  letter-spacing: -0.005em;
  margin-bottom: 7px;
}
.esign-field__optional { color: var(--esign-muted); font-weight: 400; }
.esign-input {
  width: 100%;
  padding: 10px 13px;
  font-size: 13.5px;
  font-family: var(--esign-font);
  font-weight: 500;
  color: var(--esign-ink);
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius-sm);
  transition: border-color 140ms, box-shadow 140ms;
}
.esign-input::placeholder { color: var(--esign-muted-soft); font-weight: 400; }
.esign-input:focus {
  outline: none;
  border-color: var(--esign-accent);
  box-shadow: var(--esign-ring-accent);
}
.esign-input:disabled {
  background: var(--esign-bg);
  color: var(--esign-muted);
  cursor: not-allowed;
}
.esign-field__hint {
  display: block;
  font-size: 12px;
  color: var(--esign-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Floating label — auth pages only (.esign-auth-card context) ─────────── */
.esign-auth-card .esign-field { position: relative; margin-bottom: 0; }
.esign-auth-card .esign-input {
  padding: 22px 14px 8px;
  font-size: 15px;
  font-weight: 400;
  background: #F8FAFC;
  transition: background 140ms, border-color 140ms, box-shadow 140ms;
}
.esign-auth-card .esign-input:focus { background: var(--esign-surface); }
.esign-auth-card .esign-input::placeholder { color: transparent; }
.esign-auth-card .esign-field__label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: var(--esign-muted);
  margin-bottom: 0;
  letter-spacing: 0;
  pointer-events: none;
  transition: all 160ms cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}
.esign-auth-card .esign-field:focus-within .esign-field__label,
.esign-auth-card .esign-field:has(.esign-input:not(:placeholder-shown)) .esign-field__label {
  top: 11px;
  transform: translateY(0);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--esign-accent);
}

.esign-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--esign-font);
  border: 1px solid transparent;
  border-radius: var(--esign-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 140ms, border-color 140ms, color 140ms, box-shadow 140ms;
}
.esign-btn--primary {
  background: var(--esign-accent);
  border-color: var(--esign-accent);
  color: #fff;
}
.esign-btn--primary:hover {
  background: var(--esign-accent-hi);
  border-color: var(--esign-accent-hi);
}
.esign-btn--ghost {
  background: transparent;
  border-color: var(--esign-border);
  color: var(--esign-ink-strong);
}
.esign-btn--ghost:hover {
  border-color: var(--esign-muted);
  background: var(--esign-bg);
}
.esign-btn--block { width: 100%; }
.esign-btn:focus-visible { outline: none; box-shadow: var(--esign-ring-accent); }

/* Modal close button — replaces Bootstrap's btn-close on pages without Bootstrap CSS */
.esign-modal-close {
  background: none;
  border: none;
  padding: 6px;
  line-height: 1;
  font-size: 16px;
  color: var(--esign-muted);
  cursor: pointer;
  border-radius: var(--esign-radius-sm);
  transition: color 140ms, background 140ms;
  margin-left: auto;
}
.esign-modal-close:hover { color: var(--esign-ink); background: var(--esign-bg); }

/* OAuth provider buttons — neutral surface, brand glyph keeps its colors.
   Single rule covers Google / Microsoft / LinkedIn; per-provider classes are
   reserved for future tweaks (e.g., LinkedIn-blue variant). */
.esign-btn--oauth {
  background: var(--esign-surface);
  border-color: var(--esign-border);
  color: var(--esign-ink-strong);
  font-weight: 600;
}
.esign-btn--oauth:hover {
  background: var(--esign-bg);
  border-color: var(--esign-muted);
}
.esign-oauth-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Stacks the three OAuth buttons vertically with a small gap. */
.esign-oauth-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* "or" divider between Google button and email form. */
.esign-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--esign-muted);
}
.esign-or::before,
.esign-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--esign-border);
}

.esign-flash {
  padding: 10px 14px;
  border-radius: var(--esign-radius-sm);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.esign-flash--err {
  background: var(--esign-danger-soft);
  color: var(--esign-danger);
  border: 1px solid color-mix(in srgb, var(--esign-danger) 22%, transparent);
}
.esign-flash--ok {
  background: var(--esign-success-soft);
  color: var(--esign-success);
  border: 1px solid color-mix(in srgb, var(--esign-success) 22%, transparent);
}

/* ───── App nav (logged-in chrome) ─────────────────────────────────── */

.esign-appnav {
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--esign-border);
  background: var(--esign-surface);
}
.esign-appnav__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--esign-radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--esign-ink-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--esign-font);
  transition: background 140ms, color 140ms;
}
.esign-appnav__item i { font-size: 14px; opacity: 0.85; }
.esign-appnav__item:hover { background: var(--esign-bg); color: var(--esign-ink-strong); text-decoration: none; }
.esign-app .esign-appnav__item.is-active {
  background: var(--esign-accent-soft) !important;
  color: var(--esign-accent) !important;
  font-weight: 600;
}
.esign-app .esign-appnav__item.is-active i { opacity: 1; }
.esign-appnav__spacer { flex: 1; }
.esign-appnav__logout { display: inline-flex; margin: 0; }
.esign-appnav__item--logout:hover { color: var(--esign-danger); }

/* ───── Page header (eyebrow + title + sub) ────────────────────────── */

.esign-page-eyebrow {
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--esign-accent);
  font-weight: 700;
  margin: 0 0 12px;
}
.esign-page-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--esign-ink-strong);
}
.esign-page-sub {
  color: var(--esign-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 64ch;
}

/* ───── Settings + cards (settings page, team page) ────────────────── */

.esign-settings { max-width: 760px; margin: 0 auto; }
.esign-settings__head { margin-bottom: 28px; }

.esign-settings-card {
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius);
  padding: 28px 30px;
  margin-bottom: 22px;
  box-shadow: var(--esign-shadow-sm);
}
.esign-settings-card__head { margin-bottom: 18px; }
.esign-settings-card__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--esign-ink-strong);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.esign-settings-card__count {
  font-family: var(--esign-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--esign-muted);
  background: var(--esign-bg);
  padding: 2px 8px;
  border-radius: 999px;
}
.esign-settings-card__copy {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--esign-muted);
}

/* ── IP Allow-list ───────────────────────────────────────────────────────── */
.esign-ip-list {
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}
.esign-ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--esign-border-soft);
  font-size: 0.9rem;
  font-family: var(--esign-font-mono);
}
.esign-ip-row:last-child { border-bottom: none; }
.esign-ip-row__addr { color: var(--esign-ink); }
.esign-ip-list__empty {
  padding: 14px;
  font-size: 0.875rem;
  color: var(--esign-muted);
  font-style: italic;
}
.esign-ip-add { margin-top: 4px; }
.esign-ip-add__form {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.esign-ip-add__input { flex: 1; max-width: 280px; font-family: var(--esign-font-mono); }
.esign-ip-detect {
  background: none;
  border: none;
  color: var(--esign-muted);
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.esign-ip-detect:hover { color: var(--esign-ink); }
.esign-iconbtn--sm { width: 28px; height: 28px; font-size: 12px; }

.esign-form__row-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

/* ───── Team list (members + invites) ──────────────────────────────── */

.esign-team-invite {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 14px;
}
.esign-team-invite .esign-form__row-end {
  grid-column: 1 / -1;
}
@media (max-width: 540px) {
  .esign-team-invite { grid-template-columns: 1fr; }
}

.esign-team-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.esign-team-list__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--esign-border-soft);
}
.esign-team-list__item:last-child { border-bottom: none; }
.esign-team-list__main { min-width: 0; }
.esign-team-list__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--esign-ink-strong);
  margin-bottom: 2px;
}
.esign-team-list__sub {
  font-size: 12.5px;
  color: var(--esign-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.esign-team-list__role-select {
  font-size: 13px;
  padding: 6px 10px;
  min-width: 110px;
}

/* ───── Pills (status chips next to names) ─────────────────────────── */

.esign-pill {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--esign-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--esign-bg);
  color: var(--esign-muted);
}
.esign-pill--accent  { background: var(--esign-accent-soft); color: var(--esign-accent); }
.esign-pill--muted   { background: var(--esign-bg); color: var(--esign-muted); }
.esign-pill--warn    { background: var(--esign-warn-soft); color: var(--esign-warn); }

/* ───── Misc utilities ─────────────────────────────────────────────── */

.esign-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--esign-radius-sm);
  border: 1px solid var(--esign-border);
  background: var(--esign-surface);
  color: var(--esign-muted);
  cursor: pointer;
  transition: color 140ms, background 140ms, border-color 140ms;
}
.esign-iconbtn:hover {
  color: var(--esign-danger);
  background: var(--esign-danger-soft);
  border-color: color-mix(in srgb, var(--esign-danger) 22%, transparent);
}
.esign-btn--small {
  padding: 7px 14px;
  font-size: 13px;
}
.esign-empty-line {
  font-size: 13px;
  color: var(--esign-muted);
  text-align: center;
  padding: 12px 0;
  margin: 0;
}

/* ───── Marketing landing — chrome, hero, features, CTA band, footer ─ */

.esign-mhead {
  background:
    radial-gradient(800px 220px at 50% -120px, rgba(21, 128, 61, 0.07), transparent 70%),
    var(--esign-surface);
  border-bottom: 1px solid var(--esign-border);
}
.esign-mhead__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.esign-mhead__nav { display: flex; align-items: center; gap: 6px; }
.esign-mhead__link {
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--esign-ink-soft);
  border-radius: var(--esign-radius-sm);
}
.esign-mhead__link:hover { background: var(--esign-bg); color: var(--esign-ink-strong); text-decoration: none; }
.esign-mhead__link.is-active {
  color: var(--esign-ink-strong);
  background: var(--esign-accent-soft);
}
.esign-mhead__cta {
  margin-left: 6px;
  padding: 9px 18px;
  background: var(--esign-ink-strong);
  color: #fff;
  border-radius: var(--esign-radius-sm);
  font-size: 13.5px;
  font-weight: 600;
}
.esign-mhead__cta:hover { background: #000; color: #fff; text-decoration: none; }

.esign-landing { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* Hero */
.esign-hero-m {
  padding: 96px 0 80px;
  max-width: 800px;
}
.esign-hero-m__eyebrow {
  font-family: var(--esign-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--esign-accent);
  margin: 0 0 22px;
}
.esign-hero-m__title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--esign-ink-strong);
  margin: 0 0 22px;
}
.esign-hero-m__copy {
  font-size: 18px;
  line-height: 1.65;
  color: var(--esign-muted);
  margin: 0 0 32px;
  max-width: 64ch;
}
.esign-hero-m__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.esign-hero-m__fineprint {
  font-size: 12.5px;
  color: var(--esign-muted-soft);
  margin: 0;
}

.esign-btn--lg {
  padding: 14px 24px;
  font-size: 15px;
}

/* ── How it works (3 horizontal cards, scroll-triggered reveal) ────── */
.esign-how {
  padding: 72px 0 96px;
  border-top: 1px solid var(--esign-border-soft);
}
.esign-how__lead {
  max-width: 640px;
  margin-bottom: 40px;
}
.esign-how__eyebrow {
  font-family: var(--esign-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-accent);
  margin: 0 0 12px;
}
.esign-how__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--esign-ink-strong);
  margin: 0;
}

.esign-how__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Each card. Resting state is offset + faded; .is-visible (added by the
   IntersectionObserver inline in landing.ejs) drops it into place.
   The --idx custom property gives the staggered entrance.
   Per-card themes (--red, --blue, --green) override --step-accent and
   --step-tint, which the rules below consume. Single inheritance point
   keeps each modifier to ~4 lines. */
.esign-step {
  --step-accent: var(--esign-accent);
  --step-tint:   var(--esign-accent-soft);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 0;
  background: var(--step-tint);
  border: 1px solid color-mix(in srgb, var(--step-accent) 18%, transparent);
  border-radius: var(--esign-radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 280ms ease;
  transition-delay: calc(var(--idx, 0) * 120ms);
}
.esign-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.esign-step:hover {
  border-color: var(--step-accent);
  box-shadow: 0 20px 48px -24px color-mix(in srgb, var(--step-accent) 60%, transparent);
}

/* Per-card themes — bind the two CSS vars and the rest follows. */
.esign-step--red   { --step-accent: var(--esign-danger);  --step-tint: var(--esign-danger-soft);  }
.esign-step--blue  { --step-accent: var(--esign-accent);  --step-tint: var(--esign-accent-soft);  }
.esign-step--green { --step-accent: var(--esign-success); --step-tint: var(--esign-success-soft); }

.esign-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-family: var(--esign-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--step-accent);
  color: #fff;
  border: 2px solid var(--step-accent);
  flex-shrink: 0;
  align-self: flex-start;
  margin-bottom: 4px;
  box-shadow: 0 6px 16px -8px var(--step-accent);
}

.esign-step__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--esign-ink-strong);
  margin: 0;
}
.esign-step__copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--esign-muted);
  margin: 0;
}

.esign-step__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 11px 5px 9px;
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  margin-top: 2px;
}
.esign-step__pill i { font-size: 11px; }
/* Solid gold instead of soft tint, dark text for contrast, deeper
   amber border + drop shadow for visual lift. Used on all three
   cards now so they read as one consistent badge family. */
.esign-step__pill--gold {
  color: var(--esign-ink-strong);
  background: var(--esign-gold);
  border: 1px solid var(--esign-gold-deep);
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--esign-gold) 70%, transparent);
}

/* The <figure> is the positioning context for the straddling pill.
   overflow:visible lets the pill extend above the figure into the
   card body. The inner __media-frame keeps overflow:hidden so the
   image's hover scale still clips at the figure boundary.

   All three illustrations were processed to have pure white backgrounds
   (sharp threshold wash from cream paper to #fff), so the image area
   uses solid white across every card — no per-card override needed, no
   multiply blend. The card's tinted body still shows above the image
   via the title/copy section. */
.esign-step__media {
  position: relative;
  margin: 18px -27px -1px;
  margin-top: auto;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: visible;
}
.esign-step__media-frame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--step-accent) 14%, transparent);
}
.esign-step__media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-step:hover .esign-step__media-frame img {
  transform: scale(1.045);
}

/* Pill straddles the seam: its vertical center sits exactly on the
   figure's top edge, so half is above (in the card body) and half
   is below (overlapping the figure). align-self override is needed
   because the base pill rule uses align-self: flex-start. */
.esign-step__media > .esign-step__pill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  align-self: auto;
  margin-top: 0;
  z-index: 2;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .esign-how__grid { grid-template-columns: 1fr; gap: 20px; }
  .esign-step__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .esign-how { padding: 56px 0 64px; }
  .esign-how__title { font-size: 28px; }
  .esign-step { padding: 24px 22px 0; }
  .esign-step__media { margin: 16px -23px -1px; }
}

@media (prefers-reduced-motion: reduce) {
  .esign-step {
    opacity: 1;
    transform: none;
    transition: border-color 220ms ease, box-shadow 220ms ease;
    transition-delay: 0ms;
  }
  .esign-step__media img { transition: none; }
}

/* Promise band */
.esign-promise {
  padding: 56px 0 80px;
  max-width: 800px;
  border-top: 1px solid var(--esign-border-soft);
}
.esign-promise__eyebrow {
  font-family: var(--esign-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--esign-accent);
  font-weight: 700;
  margin: 0 0 18px;
}
.esign-promise__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.esign-promise__list li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--esign-ink);
  padding-left: 28px;
  position: relative;
}
.esign-promise__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 2px;
  background: var(--esign-accent);
}
.esign-promise__list strong { color: var(--esign-ink-strong); font-weight: 700; }

/* CTA band */
.esign-cta-band {
  margin: 16px 0 80px;
  padding: 56px 40px;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(21, 128, 61, 0.06), transparent 70%),
    var(--esign-ink-strong);
  color: #fff;
  border-radius: var(--esign-radius-lg);
  text-align: center;
}
.esign-cta-band__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: #fff;
}
.esign-cta-band__copy {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
}
.esign-cta-band .esign-btn--primary {
  background: #fff;
  color: var(--esign-ink-strong);
  border-color: #fff;
}
.esign-cta-band .esign-btn--primary:hover {
  background: var(--esign-accent);
  color: #fff;
  border-color: var(--esign-accent);
}

.esign-mfoot {
  border-top: 1px solid var(--esign-border);
  background: var(--esign-surface);
}
.esign-mfoot__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--esign-muted);
}
.esign-mfoot__links { display: flex; gap: 16px; }
.esign-mfoot__links a { color: var(--esign-muted); font-weight: 500; }
.esign-mfoot__links a:hover { color: var(--esign-ink-strong); text-decoration: none; }

@media (max-width: 700px) {
  .esign-hero-m { padding: 56px 0 48px; }
  .esign-hero-m__title { font-size: 38px; }
  .esign-hero-m__copy { font-size: 16px; }
  .esign-cta-band { padding: 40px 24px; }
  .esign-cta-band__title { font-size: 26px; }
}

/* ───── Billing — current plan + plan grid ────────────────────────── */

.esign-billing-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.esign-billing-current__main { flex: 1; min-width: 0; }
.esign-billing-current__label {
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--esign-muted);
  font-weight: 700;
  margin: 0 0 6px;
}
.esign-billing-current__plan {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--esign-ink-strong);
  margin: 0 0 8px;
}
.esign-billing-current__status {
  font-size: 13px;
  color: var(--esign-muted);
  margin: 0;
}
.esign-billing-current__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--esign-muted);
  margin: 0;
}

.esign-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 6px;
}
.esign-plan-card {
  padding: 22px 22px 20px;
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius);
  display: flex;
  flex-direction: column;
}
.esign-plan-card.is-current {
  border-color: var(--esign-accent);
  box-shadow: 0 0 0 3px var(--esign-accent-soft);
}
.esign-plan-card__head { margin-bottom: 14px; }
.esign-plan-card__name {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--esign-ink-strong);
}
.esign-plan-card__price {
  font-family: var(--esign-font-mono);
  font-size: 12px;
  color: var(--esign-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}
.esign-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--esign-ink);
  flex: 1;
}
.esign-plan-card__features li {
  padding: 5px 0;
  border-bottom: 1px solid var(--esign-border-soft);
}
.esign-plan-card__features li:last-child { border-bottom: none; }

/* ───── Dashboard — 4-tile entry grid + verify banner ──────────────── */

.esign-dashboard { max-width: 900px; margin: 0 auto; }
.esign-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.esign-dashboard__tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms, transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms;
}
.esign-dashboard__tile:hover {
  border-color: color-mix(in srgb, var(--esign-accent) 35%, var(--esign-border));
  transform: translateY(-2px);
  box-shadow: var(--esign-shadow);
  text-decoration: none;
}
.esign-dashboard__tile--primary {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(21, 128, 61, 0.10), transparent 70%),
    var(--esign-ink-strong);
  border-color: var(--esign-ink-strong);
  color: #fff;
}
.esign-dashboard__tile--primary:hover {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(21, 128, 61, 0.16), transparent 70%),
    #000;
  border-color: #000;
}
.esign-dashboard__tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--esign-accent-soft);
  color: var(--esign-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 6px;
}
.esign-dashboard__tile--primary .esign-dashboard__tile-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.esign-dashboard__tile-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--esign-ink-strong);
}
.esign-dashboard__tile--primary .esign-dashboard__tile-title { color: #fff; }
.esign-dashboard__tile-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--esign-muted);
}
.esign-dashboard__tile--primary .esign-dashboard__tile-copy { color: rgba(255, 255, 255, 0.78); }

.esign-dashboard__verify {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 14px 18px;
  background: var(--esign-warn-soft);
  border: 1px solid color-mix(in srgb, var(--esign-warn) 22%, transparent);
  color: var(--esign-warn);
  border-radius: var(--esign-radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
}
.esign-dashboard__verify i { font-size: 18px; flex-shrink: 0; }
.esign-dashboard__verify strong { color: var(--esign-ink-strong); display: block; margin-bottom: 2px; }
.esign-dashboard__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 28px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius);
}
.esign-dashboard__meta-label {
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--esign-muted);
  font-weight: 700;
  margin: 0 0 4px;
}
.esign-dashboard__meta-value {
  font-size: 14px;
  color: var(--esign-ink-strong);
  margin: 0;
}
.esign-dashboard__meta-value code {
  font-family: var(--esign-font-mono);
  font-size: 12.5px;
  background: var(--esign-bg);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--esign-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   Pricing page — Architectural Blueprint
   ─────────────────────────────────────────────────────────────────────── */

/* The pricing page reuses the brand tokens (Manrope, JetBrains Mono,
   #15803d accent, #0b1220 ink, cream warm bg) but inverts the radius
   convention: blueprints are drawn with straight rules and sharp angles,
   so corner radii drop to 0–2px on this surface only. The .esign-pp
   namespace prefix scopes everything below; nothing here leaks to the
   landing page or any other surface. */

.esign-pp {
  --pp-grid: rgba(21, 128, 61, 0.06);
  --pp-line: rgba(11, 18, 32, 0.16);
  --pp-line-soft: rgba(11, 18, 32, 0.08);
  --pp-radius: 2px;
  background-color: var(--esign-bg-warm);
  background-image:
    linear-gradient(to right,  var(--pp-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--pp-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  position: relative;
}

/* Sheet labels — coordinate-style mono caps that anchor each section
   the way a sheet number anchors a drafting page. */
.esign-pp-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--esign-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-accent);
}
.esign-pp-label::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--esign-accent);
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.esign-pp-hero {
  padding: 88px 0 64px;
  max-width: 920px;
}
.esign-pp-hero__title {
  font-size: clamp(48px, 7.4vw, 96px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--esign-ink-strong);
  margin: 28px 0 18px;
}
.esign-pp-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--esign-muted);
  letter-spacing: -0.025em;
  display: inline-block;
  margin-left: 0.18em;
}
/* Drafting rule with a notch — like a dimension marker beneath the title */
.esign-pp-rule {
  display: flex;
  align-items: center;
  margin: 22px 0 26px;
  height: 12px;
}
.esign-pp-rule__notch {
  width: 1px;
  height: 12px;
  background: var(--esign-ink-strong);
}
.esign-pp-rule__line {
  flex: 1;
  height: 1px;
  background: var(--pp-line);
}
.esign-pp-hero__copy {
  font-size: 18px;
  line-height: 1.65;
  color: var(--esign-ink);
  margin: 0;
  max-width: 60ch;
}

/* ── Plan cards ────────────────────────────────────────────────────── */

.esign-pp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 0 96px;
  position: relative;
  /* Cards share borders so they read as one technical drawing rather than
     three separate panels. The outer border + a shared inner column rule
     produce the seamless engineering-table feel. */
  border: 1px solid var(--esign-ink-strong);
  border-radius: var(--pp-radius, 2px);
  background: var(--esign-surface);
}
.esign-pp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px 30px;
  border-right: 1px solid var(--pp-line);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    background 240ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--idx, 0) * 110ms);
}
.esign-pp-plan:last-child { border-right: none; }
.esign-pp-plan.is-visible { opacity: 1; transform: translateY(0); }
.esign-pp-plan:hover { background: rgba(21, 128, 61, 0.025); }

/* L-shaped drafting brackets at each corner of every card */
.esign-pp-plan__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-style: solid;
  border-color: var(--esign-ink-strong);
  border-width: 0;
}
.esign-pp-plan__corner--tl { top: 8px;  left: 8px;  border-top-width: 2px; border-left-width: 2px; }
.esign-pp-plan__corner--tr { top: 8px;  right: 8px; border-top-width: 2px; border-right-width: 2px; }
.esign-pp-plan__corner--bl { bottom: 8px; left: 8px;  border-bottom-width: 2px; border-left-width: 2px; }
.esign-pp-plan__corner--br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.esign-pp-plan--featured {
  background: linear-gradient(180deg, rgba(21, 128, 61, 0.055) 0%, transparent 78%);
}
.esign-pp-plan--featured .esign-pp-plan__corner { border-color: var(--esign-accent); }

.esign-pp-plan__num {
  font-family: var(--esign-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-muted);
  margin: 0;
}
.esign-pp-plan--featured .esign-pp-plan__num { color: var(--esign-accent); }
.esign-pp-plan__num em {
  font-style: normal;
  margin-left: 8px;
  color: var(--esign-accent);
}

.esign-pp-plan__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--esign-ink-strong);
  margin: 0;
}

/* The price IS the typographic moment — large enough to be unmistakable */
.esign-pp-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 0;
  font-family: var(--esign-font);
}
.esign-pp-plan__amt {
  font-size: clamp(72px, 7.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  color: var(--esign-ink-strong);
  font-variant-numeric: tabular-nums;
}
.esign-pp-plan--featured .esign-pp-plan__amt { color: var(--esign-accent); }
.esign-pp-plan__per {
  font-family: var(--esign-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-muted);
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 8px;
}

.esign-pp-plan__tag {
  font-size: 14px;
  line-height: 1.4;
  color: var(--esign-ink);
  margin: 6px 0 0;
}

.esign-pp-plan__list {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.esign-pp-plan__list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--esign-ink);
  padding-left: 16px;
  position: relative;
}
.esign-pp-plan__list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--esign-font-mono);
  font-weight: 700;
  color: var(--esign-accent);
}

.esign-pp-plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-family: var(--esign-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-ink-strong);
  background: transparent;
  border: 1px solid var(--esign-ink-strong);
  border-radius: var(--pp-radius);
  text-decoration: none;
  margin-top: auto;
  transition:
    background 200ms cubic-bezier(0.22, 1, 0.36, 1),
    color 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-pp-plan__cta::after {
  content: '→';
  font-family: var(--esign-font);
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 600;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-pp-plan__cta:hover {
  background: var(--esign-ink-strong);
  color: #fff;
  text-decoration: none;
}
.esign-pp-plan__cta:hover::after { transform: translateX(4px); }
.esign-pp-plan--featured .esign-pp-plan__cta {
  background: var(--esign-accent);
  border-color: var(--esign-accent);
  color: #fff;
}
.esign-pp-plan--featured .esign-pp-plan__cta:hover {
  background: var(--esign-accent-hi);
  border-color: var(--esign-accent-hi);
}

.esign-pp-plan__foot {
  font-family: var(--esign-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-muted);
  margin: 4px 0 0;
  text-align: center;
}

/* ── Estimate sheet (BOM-style calculator) ────────────────────────── */

.esign-pp-est {
  padding: 0 0 96px;
}
.esign-pp-est__lead {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 32px;
}
.esign-pp-est__title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--esign-ink-strong);
  margin: 4px 0 0;
  line-height: 1.04;
}
.esign-pp-est__copy {
  font-size: 16px;
  line-height: 1.55;
  color: var(--esign-muted);
  margin: 0;
  max-width: 56ch;
}

.esign-pp-bom {
  background: var(--esign-surface);
  border: 1px solid var(--esign-ink-strong);
  border-radius: var(--pp-radius);
}
.esign-pp-bom__head {
  display: grid;
  grid-template-columns: 56px 1.6fr 110px 1fr 120px;
  gap: 18px;
  padding: 14px 24px;
  background: var(--esign-ink-strong);
  color: #fff;
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}
.esign-pp-bom__head span:nth-child(3),
.esign-pp-bom__head span:nth-child(5) { text-align: right; }
.esign-pp-bom__row {
  display: grid;
  grid-template-columns: 56px 1.6fr 110px 1fr 120px;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px dashed var(--pp-line-soft);
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-pp-bom__row:hover { background: rgba(21, 128, 61, 0.03); }
.esign-pp-bom__row--check {
  /* SMS row: checkbox replaces the number input in the QTY slot */
}

.esign-pp-bom__item {
  font-family: var(--esign-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--esign-muted);
}
.esign-pp-bom__desc {
  font-size: 15px;
  color: var(--esign-ink-strong);
  font-weight: 600;
}
.esign-pp-bom__desc small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--esign-muted);
  margin-top: 2px;
}
.esign-pp-bom__qty {
  width: 100%;
  padding: 8px 0;
  text-align: right;
  font-family: var(--esign-font);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--esign-ink-strong);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--pp-line);
  transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-pp-bom__qty:focus {
  outline: none;
  border-bottom-color: var(--esign-accent);
}
.esign-pp-bom__check {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.esign-pp-bom__check input {
  width: 20px;
  height: 20px;
  accent-color: var(--esign-accent);
  cursor: pointer;
}
.esign-pp-bom__unit {
  font-family: var(--esign-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--esign-muted);
}
.esign-pp-bom__amt {
  text-align: right;
  font-family: var(--esign-font);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--esign-ink-strong);
}
.esign-pp-bom__row--zero .esign-pp-bom__amt { color: var(--esign-muted); }

.esign-pp-bom__total {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 18px;
  align-items: baseline;
  padding: 20px 24px 24px;
  border-top: 2px solid var(--esign-ink-strong);
  background: rgba(21, 128, 61, 0.04);
}
.esign-pp-bom__total-label {
  font-family: var(--esign-font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-ink-strong);
}
.esign-pp-bom__total-amt {
  text-align: right;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--esign-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.esign-pp-est__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 28px;
  font-family: var(--esign-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--esign-accent);
  border: 1px solid var(--esign-accent);
  border-radius: var(--pp-radius);
  text-decoration: none;
  transition:
    background 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-pp-est__cta:hover {
  background: var(--esign-accent-hi);
  text-decoration: none;
}
.esign-pp-est__cta::after {
  content: '→';
  font-family: var(--esign-font);
  letter-spacing: 0;
  font-size: 16px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.esign-pp-est__cta:hover::after { transform: translateX(4px); }

.esign-pp-est__fineprint {
  font-family: var(--esign-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--esign-muted);
  margin: 14px 0 0;
}

/* ── Rate sheet ───────────────────────────────────────────────────── */

.esign-pp-rates { padding: 0 0 96px; }
.esign-pp-rates__lead {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 36px;
}
.esign-pp-rates__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--esign-ink-strong);
  margin: 4px 0 0;
  line-height: 1.08;
}
.esign-pp-rates__copy {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--esign-muted);
  margin: 0;
  max-width: 56ch;
}
.esign-pp-rates__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--esign-ink-strong);
  border-radius: var(--pp-radius);
  background: var(--esign-surface);
}
.esign-pp-rate-block {
  padding: 26px 28px;
  border-right: 1px solid var(--pp-line);
  border-bottom: 1px solid var(--pp-line);
}
.esign-pp-rate-block:nth-child(2n) { border-right: none; }
.esign-pp-rate-block:nth-last-child(-n+2) { border-bottom: none; }
.esign-pp-rate-block h3 {
  font-family: var(--esign-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--esign-accent);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--esign-ink-strong);
}
/* Dotted leader lines connecting label to amount — pure engineering doc */
.esign-pp-rate-row {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  font-size: 13.5px;
}
.esign-pp-rate-row span:first-child { color: var(--esign-ink); }
.esign-pp-rate-row span:nth-child(2) {
  height: 1px;
  background-image: radial-gradient(circle, var(--esign-muted-soft) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  background-repeat: repeat-x;
  background-position: 0 100%;
  align-self: end;
  margin-bottom: 5px;
}
.esign-pp-rate-row span:last-child {
  font-family: var(--esign-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--esign-ink-strong);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .esign-pp { background-size: 24px 24px; }
  .esign-pp-hero { padding: 60px 0 44px; }
  .esign-pp-hero__title { font-size: 44px; }
  .esign-pp-plans { grid-template-columns: 1fr; }
  .esign-pp-plan { border-right: none; border-bottom: 1px solid var(--pp-line); }
  .esign-pp-plan:last-child { border-bottom: none; }
  .esign-pp-plan__amt { font-size: 64px; }

  .esign-pp-est__title { font-size: 30px; }

  /* BOM collapses to a stacked layout on mobile: each row becomes a card */
  .esign-pp-bom__head { display: none; }
  .esign-pp-bom__row {
    grid-template-columns: 56px 1fr 110px;
    grid-template-areas:
      "item desc desc"
      "item qty  amt"
      "item unit amt";
    row-gap: 4px;
    padding: 16px 20px;
  }
  .esign-pp-bom__item { grid-area: item; align-self: start; }
  .esign-pp-bom__desc { grid-area: desc; }
  .esign-pp-bom__qty,
  .esign-pp-bom__check { grid-area: qty; justify-self: start; }
  .esign-pp-bom__unit { grid-area: unit; }
  .esign-pp-bom__amt  { grid-area: amt; align-self: center; }
  .esign-pp-bom__total { grid-template-columns: 1fr auto; padding: 18px 20px 20px; }
  .esign-pp-bom__total-amt { font-size: 28px; }

  .esign-pp-rates__title { font-size: 30px; }
  .esign-pp-rates__grid { grid-template-columns: 1fr; }
  .esign-pp-rate-block {
    border-right: none;
    border-bottom: 1px solid var(--pp-line);
  }
  .esign-pp-rate-block:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  .esign-pp-plan {
    opacity: 1;
    transform: none;
    transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0ms;
  }
  .esign-pp-plan__cta::after,
  .esign-pp-est__cta::after { transition: none; }
}

/* ── Polish addendum ────────────────────────────────────────────────
   Added during /impeccable polish pass: keyboard focus, dotted-leader
   contrast bump. Kept separate from the main blueprint block for clarity
   so the addenda is easy to spot in future polish passes. */

/* Keyboard focus rings — match the brand accent ring used elsewhere
   (auth forms etc.) so the focus language is consistent across the SaaS.
   :focus-visible (not :focus) so the rings only appear for keyboard users,
   not for click-focus which is jarring. */
.esign-pp-plan__cta:focus-visible,
.esign-pp-est__cta:focus-visible {
  outline: none;
  box-shadow: var(--esign-ring-accent), 0 0 0 1px var(--esign-accent);
}
.esign-pp-bom__qty:focus-visible {
  outline: none;
  border-bottom-color: var(--esign-accent);
  box-shadow: 0 1px 0 0 var(--esign-accent);
}
.esign-pp-bom__check input:focus-visible {
  outline: 2px solid var(--esign-accent);
  outline-offset: 3px;
}

/* Slightly lift the dotted-leader contrast on the rate sheet so it reads
   at desk-distance without straining. Decorative, but right at the edge
   of perceptible against the warm cream background before this bump. */
.esign-pp-rate-row span:nth-child(2) {
  background-image: radial-gradient(circle, var(--esign-muted) 0.6px, transparent 0.6px);
  opacity: 0.45;
}

/* ── Recipient action toggle (Task 2e) ──────────────────────────────── */
.esign-recipient-action {
  display: inline-flex;
  border: 1px solid var(--esign-border);
  border-radius: 6px;
  overflow: hidden;
}
.esign-action-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--esign-ink-soft);
  transition: background 0.15s, color 0.15s;
}
.esign-action-btn:hover {
  background: var(--esign-bg-warm);
}
.esign-action-btn--active.esign-action-btn--signs {
  background: var(--esign-accent-soft);
  color: var(--esign-accent);
}
.esign-action-btn--active.esign-action-btn--copy {
  background: #f1f5f9;
  color: var(--esign-ink-strong);
}
.esign-signer-cc-badge {
  font-size: 10px;
  font-weight: 700;
  background: #e2e8f0;
  color: #64748b;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── Auto-reminders toggle + settings section (Task 3f) ─────────────── */
.esign-reminder-settings {
  border-top: 1px solid var(--esign-border);
  padding-top: 14px;
}
.esign-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
}
.esign-toggle-row__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--esign-ink);
}
.esign-toggle-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.esign-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.esign-toggle-slider {
  display: block;
  width: 40px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 11px;
  transition: background 0.2s;
  cursor: pointer;
}
.esign-toggle-slider::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  margin-top: 3px;
  margin-left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.esign-toggle-input:checked + .esign-toggle-slider {
  background: #15803d;
}
.esign-toggle-input:checked + .esign-toggle-slider::after {
  transform: translateX(18px);
}
.esign-toggle-input:focus-visible + .esign-toggle-slider {
  outline: 2px solid var(--esign-accent);
  outline-offset: 2px;
}
.esign-reminder-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.esign-reminder-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--esign-ink-soft);
}
.esign-reminder-row__label {
  flex: 1;
}
.esign-reminder-row__num {
  width: 64px;
  text-align: center;
  padding: 4px 8px;
}
.esign-reminder-row__unit {
  color: var(--esign-muted);
  font-size: 13px;
}

/* ── Confirm modal (replaces native browser confirm() everywhere) ────────── */
.gsd-confirm-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  animation: gsd-fade-in 120ms ease;
}
@keyframes gsd-fade-in { from { opacity: 0; } to { opacity: 1; } }
.gsd-confirm-dialog {
  background: var(--esign-surface);
  border: 1px solid var(--esign-border);
  border-radius: var(--esign-radius-lg);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.16);
  padding: 28px 28px 20px;
  width: 100%;
  max-width: 400px;
  margin: 16px;
  animation: gsd-slide-up 140ms ease;
}
@keyframes gsd-slide-up {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.gsd-confirm-dialog__msg {
  font-size: 0.95rem;
  color: var(--esign-ink);
  line-height: 1.6;
  margin: 0 0 20px;
  white-space: pre-line;
}
.gsd-confirm-dialog__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
