/* THE SIGN-IN FRAME OF THE PLANTX ACCOUNT (08-11) - every screen a person sees before they are signed in: Sign In, Open A PlantX Account,
   Set Your Password, back from Google or Microsoft, and the Platform Console's own sign-in.
   ★ COPIED, NEVER REDRAWN: the frame is the app's own (steel-reporting core/signin-shell.js + public/css/app.css §46 THE SIGN-IN FRAME,
     approved 08-11). The section between the two rules below is §46 as the app has it - only scoped to html.px-si (the account's pages
     carry the website's own data-ground, so the frame's tokens must never reach a signed-in page) and its fonts named for this file.
     A change to the frame is made in app.css first and copied here; the account's own additions are after it, marked.
   ★ The account is its own service: the fonts and pictures are its own copies (public/fonts, public/img), nothing loaded from the app.
   ★ html.px-si is set by the door pages (lib/pages.js) and by public/js/ls.js when a page finds nobody signed in - and taken off again
     when they sign in, so the page's own look comes back untouched. */
@font-face { font-family: 'PXSI Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-var-latin.woff2') format('woff2'); }
@font-face { font-family: 'PXSI Sora'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/sora-var-latin.woff2') format('woff2'); }   /* OFL - fonts/sora-OFL.txt */

/* what app.css gives every page underneath the frame - the font, and controls that take it */
html.px-si body.si-body { font-family: 'PXSI Inter', 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.px-si #si input, html.px-si #si button, html.px-si #si select, html.px-si #si textarea { font-family: inherit; }
html.px-si #si .btn { cursor: pointer; line-height: 1.2; }
/* drawn in place over a page of the account: the page's own parts stand aside (a toast stays) */
html.px-si body.si-body > :not(#si):not(.toast) { display: none !important; }

/* ═══ app.css §46, as the app has it (scoped html.px-si) ═══ the app's own heading follows ═══════════════════════════════════════ */
/* ═══ §46 THE SIGN-IN FRAME (08-11, core/signin-shell.js) ═══════════════════════════════════════════════════════════════════
   Every door before a person is signed in. Outside the appearance system on purpose: nobody has a theme yet, so the frame states
   its own look - the brand's (ink, crimson, gold) on the person's ground, html.px-si[data-ground] light|dark, which ONLY a sign-in page
   carries, so nothing here reaches a signed-in page. It re-dresses the routes' own .form-group / .form-control / .btn inside #si. */


html.px-si[data-ground] {
  --si-crimson: #e11d48; --si-crimson-d: #9f1239; --si-gold: #f59e0b;
  --si-display: 'PXSI Sora', 'Sora', 'PXSI Inter', 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --si-page: #e9e9f1; --si-frame: rgba(255,255,255,.62); --si-frame-edge: rgba(255,255,255,.95); --si-pane: #fbfbfd;
  --si-ink: #0f172a; --si-muted: #5b6476; --si-hint: #7c8597; --si-field: #f2f3f7; --si-field-edge: #e2e5ec;
  --si-grid: rgba(225,29,72,.035); --si-shadow: 0 50px 100px -30px rgba(30,20,60,.35); --si-raise: #fff; --si-fact: #fde7ee;
  --si-glow-a: .38; --si-glow-b: .35; --si-glow-c: .30; --si-glow-d: .25;
}
html.px-si[data-ground="dark"] {
  --si-page: #05080d; --si-frame: rgba(17,24,39,.55); --si-frame-edge: rgba(255,255,255,.09); --si-pane: #0b111c;
  --si-ink: #eef1f8; --si-muted: #a3abbe; --si-hint: #8b94a8; --si-field: #131b2a; --si-field-edge: #233047;
  --si-grid: rgba(255,255,255,.025); --si-shadow: 0 50px 120px -30px rgba(0,0,0,.8); --si-raise: #111a29; --si-fact: rgba(225,29,72,.14);
  --si-glow-a: .30; --si-glow-b: .16; --si-glow-c: .14; --si-glow-d: .12;
}

/* the browser's own controls (a checkbox, a dropdown) follow the page's ground, never the device's */
html.px-si[data-ground="light"] { color-scheme: light; }
html.px-si[data-ground="dark"] { color-scheme: dark; }
html.px-si[data-ground], body.si-body { margin: 0; min-height: 100%; }
body.si-body {
  background: var(--si-page); color: var(--si-ink); min-height: 100vh; display: grid; place-items: center;
  padding: 40px; box-sizing: border-box; position: relative; overflow-x: hidden;
}
body.si-body::before {
  content: ""; position: fixed; inset: -10%; z-index: 0; filter: blur(80px); pointer-events: none;
  background:
    radial-gradient(40% 50% at 12% 10%, rgba(225,29,72,var(--si-glow-a)), transparent 70%),
    radial-gradient(35% 45% at 90% 0%, rgba(251,113,133,var(--si-glow-b)), transparent 70%),
    radial-gradient(40% 50% at 85% 100%, rgba(245,158,11,var(--si-glow-c)), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(99,102,241,var(--si-glow-d)), transparent 70%);
}
#si, #si * { box-sizing: border-box; }
#si {
  position: relative; z-index: 1; width: min(1360px, 100%); display: grid; grid-template-columns: 1.08fr 1fr; gap: 16px; padding: 16px;
  border-radius: 40px; background: var(--si-frame); border: 1px solid var(--si-frame-edge); box-shadow: var(--si-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
}

/* ── the brand panel - the tagline as the hero, the lotus rising out of frosted water ── */
#si .si-brand {
  position: relative; overflow: hidden; border-radius: 28px; min-height: 790px; color: #fff;
  background: radial-gradient(70% 60% at 12% 8%, #e11d48, transparent 70%), radial-gradient(60% 55% at 95% 20%, #fb7185, transparent 70%),
    radial-gradient(60% 50% at 85% 100%, #fbbf24, transparent 70%), radial-gradient(55% 60% at 0% 95%, #818cf8, transparent 72%), #fde2e8;
}
html.px-si[data-ground="dark"] #si .si-brand {
  background: radial-gradient(70% 60% at 15% 10%, #be123c, transparent 70%), radial-gradient(60% 55% at 95% 25%, #7f1d1d, transparent 70%),
    radial-gradient(60% 50% at 80% 100%, rgba(245,158,11,.55), transparent 70%), radial-gradient(50% 60% at 0% 90%, #312e81, transparent 70%), #0a0f18;
}
#si .si-mark { position: absolute; top: 34px; left: 38px; z-index: 4; display: flex; align-items: center; gap: 16px; }
#si .si-lotus { width: 84px; height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
#si .si-word { height: 40px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.25)); }
#si .si-chip {
  position: absolute; top: 44px; right: 38px; z-index: 4; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px;
  background: rgba(15,23,42,.28); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* a form taller than the panel's 790px (a sign-up) moves the word, the lotus and the water down by a third of what it adds (at most 160px) - the band under the lotus never left empty */
#si .si-hero { position: absolute; left: 44px; right: 24px; top: calc(178px + clamp(0px, (100% - 790px) / 3, 160px)); z-index: 1; }
#si .si-hero p { margin: 0; }
#si .si-lead { font-family: var(--si-display); font-weight: 700; font-size: 22px; letter-spacing: .42em; margin: 0 0 14px 8px !important; text-shadow: 0 2px 14px rgba(120,0,30,.35); }
#si .si-big { font-family: var(--si-display); font-weight: 800; font-size: 178px; line-height: .82; letter-spacing: -.065em; text-shadow: 0 20px 60px rgba(120,0,30,.25); }
#si .si-small { font-family: var(--si-display); font-weight: 700; font-size: 34px; letter-spacing: .2em; margin: 20px 0 0 6px !important; text-shadow: 0 4px 20px rgba(120,0,30,.3); }
#si .si-orb { position: absolute; right: -28px; top: calc(236px + clamp(0px, (100% - 790px) / 3, 160px)); width: 310px; z-index: 2; filter: drop-shadow(0 30px 40px rgba(80,0,20,.35)) saturate(1.15); }
#si .si-reflect { position: absolute; right: -28px; top: calc(500px + clamp(0px, (100% - 790px) / 3, 160px)); width: 310px; transform: scaleY(-.55); transform-origin: top; opacity: .55; z-index: 2; filter: blur(3px); }
#si .si-water {
  position: absolute; left: 0; right: 0; top: calc(500px + clamp(0px, (100% - 790px) / 3, 160px)); bottom: 0; z-index: 3;
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.28) 40%, rgba(255,255,255,.42));
}
html.px-si[data-ground="dark"] #si .si-water { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.06) 40%, rgba(10,15,24,.55)); }
#si .si-story { position: absolute; left: 44px; right: 44px; bottom: 44px; z-index: 4; color: var(--si-ink); }
html.px-si[data-ground="dark"] #si .si-story { color: #fff; }
#si .si-tag { font-family: var(--si-display); font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9f1239; margin: 0 0 12px; }
html.px-si[data-ground="dark"] #si .si-tag { color: #fcd34d; }
#si .si-story h2 { font-family: var(--si-display); font-size: 40px; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 700; color: inherit; }
#si .si-story p:last-child { font-size: 18px; line-height: 1.55; margin: 0; max-width: 560px; color: #334155; }
html.px-si[data-ground="dark"] #si .si-story p:last-child { color: rgba(255,255,255,.8); }

/* ── the form panel ── */
#si .si-side { display: grid; grid-template-rows: 1fr auto; gap: 16px; min-width: 0; }
#si.no-facts .si-side { grid-template-rows: 1fr; }
#si .si-pane {
  position: relative; border-radius: 28px; padding: 60px 40px 32px; display: grid; place-items: center; overflow: hidden;
  background-color: var(--si-pane);
  background-image: linear-gradient(var(--si-grid) 1px, transparent 1px), linear-gradient(90deg, var(--si-grid) 1px, transparent 1px);
  background-size: 44px 44px;
}
#si .si-ground { position: absolute; top: 22px; right: 22px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--si-field); border: 1px solid var(--si-field-edge); }
#si .si-ground button { width: 34px; height: 30px; border-radius: 999px; border: 0; background: transparent; display: grid; place-items: center; color: var(--si-hint); cursor: pointer; padding: 0; }
#si .si-ground button[aria-pressed="true"] { background: var(--si-pane); color: var(--si-crimson); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
#si .si-ground button:focus-visible { outline: 2px solid var(--si-crimson); outline-offset: 2px; }
#si .si-box { width: 100%; max-width: 440px; }
#si .si-tile { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; background: var(--si-raise); border: 1px solid var(--si-field-edge); box-shadow: 0 14px 30px -10px rgba(159,18,57,.35); }
#si .si-tile img { width: 52px; height: auto; }
#si .si-co { text-align: center; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--si-field-edge); }
#si .si-co-logo { width: 68px; height: 68px; margin: 0 auto 10px; border-radius: 22px; display: grid; place-items: center; background: #fff; border: 1px solid var(--si-field-edge); box-shadow: 0 14px 30px -12px rgba(15,23,42,.3); padding: 12px; }
#si .si-co-logo.own { padding: 10px 8px; }
#si .si-co-logo img { max-width: 100%; max-height: 100%; }
#si .si-co-name { font-family: var(--si-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 0 0 6px; overflow-wrap: anywhere; }
#si .si-co-prem { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--si-muted); font-size: 14px; margin: 0; }
#si .si-co-prem svg { color: var(--si-crimson); flex: none; }
#si .si-box h1 { font-family: var(--si-display); font-size: 40px; letter-spacing: -.035em; margin: 0 0 8px; text-align: center; font-weight: 700; color: var(--si-ink); }
#si .si-box.tight h1 { font-size: 34px; }
#si .si-sub { text-align: center; color: var(--si-muted); margin: 0 0 28px; font-size: 16px; }
#si .si-box.tight .si-sub { margin: 0 0 20px; }
#si .si-box.tight .form-group { margin: 0 0 14px; }
#si .si-box.tight .si-fld, #si .si-box.tight .form-control { height: 52px; }
#si .si-box.tight .si-fld .form-control { height: 100%; }
#si .si-box.tight .btn { height: 54px; }
#si .si-box.tight .si-or { margin: 18px 0; }
#si .si-box.tight .si-alt { height: 50px; }
#si .si-box.tight .si-new { margin: 16px 0 0; }
#si .si-box.tight .si-row { margin: -2px 0 14px; }
#si .si-box.tight + .si-legal, #si .si-box.tight .si-legal { margin-top: 14px; }
#si .si-error { background: rgba(225,29,72,.10); border: 1px solid rgba(225,29,72,.35); color: #be123c; border-radius: 14px; padding: 12px 14px; font-size: 14px; margin: 0 0 18px; }
html.px-si[data-ground="dark"] #si .si-error { color: #fda4af; }

/* the routes' own form markup, dressed */
#si .si-form .form-group { margin: 0 0 18px; }
#si .si-form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; color: var(--si-ink); }
#si .si-form .form-control {
  width: 100%; height: 56px; border-radius: 16px; background: var(--si-field); border: 1px solid var(--si-field-edge); padding: 0 16px;
  font-size: 16px; color: var(--si-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
#si .si-form .form-control::placeholder { color: var(--si-hint); }
#si .si-form .form-control:focus { outline: none; border-color: var(--si-crimson); box-shadow: 0 0 0 4px rgba(225,29,72,.14); }
#si .si-form select.form-control { height: 52px; }
/* a field with its icon (signin-shell's script wraps it) */
#si .si-fld {
  display: flex; align-items: center; gap: 10px; height: 56px; border-radius: 16px; background: var(--si-field); border: 1px solid var(--si-field-edge);
  padding: 0 14px 0 16px; transition: border-color .15s, box-shadow .15s;
}
#si .si-fld:focus-within { border-color: var(--si-crimson); box-shadow: 0 0 0 4px rgba(225,29,72,.14); }
#si .si-fld .form-control { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0; box-shadow: none !important; }
#si .si-fi { color: var(--si-hint); display: flex; flex: none; }
#si .si-pre { color: var(--si-muted); font-size: 15px; font-weight: 600; white-space: nowrap; padding-right: 10px; border-right: 1px solid var(--si-field-edge); flex: none; }
#si .si-eye { border: 0; background: transparent; color: var(--si-hint); display: flex; padding: 4px; cursor: pointer; border-radius: 8px; flex: none; }
#si .si-eye:hover { color: var(--si-ink); }
#si .si-form .btn { border-radius: 999px; font-weight: 700; font-size: 17px; height: 58px; display: flex; align-items: center; justify-content: center; text-decoration: none; width: 100%; margin: 0; }
#si .si-form .btn-primary {
  border: 0; color: #fff; background: linear-gradient(135deg, var(--si-crimson), var(--si-crimson-d));
  box-shadow: 0 18px 30px -12px rgba(225,29,72,.6), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .15s, box-shadow .15s;
}
#si .si-form .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 22px 36px -12px rgba(225,29,72,.7), inset 0 1px 0 rgba(255,255,255,.25); }
#si .si-form .btn-secondary { background: var(--si-raise); color: var(--si-ink); border: 1px solid var(--si-field-edge); box-shadow: none; }
#si .si-form .btn-secondary:hover { border-color: var(--si-hint); }
#si .si-form .btn:focus-visible { outline: 3px solid rgba(225,29,72,.45); outline-offset: 3px; }
#si .si-form a { color: var(--si-crimson); font-weight: 600; text-decoration: none; }
#si .si-form a:hover { text-decoration: underline; }
#si .si-form a.btn:hover { text-decoration: none; }
#si .si-form p, #si .si-note { color: var(--si-muted); }
#si .si-note { font-size: 13px; margin: 8px 0 0; }
#si .si-or { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--si-hint); font-size: 14px; }
#si .si-or::before, #si .si-or::after { content: ""; flex: 1; height: 1px; background: var(--si-field-edge); }
#si .si-alt { width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--si-field-edge); background: var(--si-raise); font-size: 16px; font-weight: 600;
  color: var(--si-ink) !important; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none !important; }
#si .si-alt:hover { border-color: var(--si-hint); }
#si .si-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px 0 22px; font-size: 14px; }
#si .si-new { text-align: center; color: var(--si-muted); font-size: 15px; margin: 22px 0 0; }
#si .si-legal { text-align: center; font-size: 12px; color: var(--si-hint); margin: 22px 0 0; line-height: 1.8; }
#si .si-legal a { color: var(--si-hint); text-decoration: none; margin: 0 6px; font-weight: 500; }
#si .si-legal a:hover { color: var(--si-ink); }
#si .si-aup { display: block; text-align: center; font-size: 12px; color: var(--si-hint); margin: 18px 0 0; line-height: 1.6; }
#si .si-aup a { color: var(--si-muted); font-weight: 600; }
/* the development picker (SHOW_DEMO_LOGIN only) keeps working, dressed quietly */
#si .demo-creds { margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--si-field); border: 1px dashed var(--si-field-edge); color: var(--si-muted); max-height: 300px; overflow: auto; font-size: 13px; }
#si .demo-creds .cred-value { background: var(--si-raise); border: 1px solid var(--si-field-edge); color: var(--si-ink); border-radius: 8px; padding: 1px 7px; cursor: pointer; }

/* the browser check (core/cap, drawn only where the guard is armed) takes the frame's ground */
#si cap-widget {
  --cap-background: var(--si-field); --cap-border-color: var(--si-field-edge); --cap-border-radius: 16px; --cap-color: var(--si-ink);
  --cap-checkbox-background: var(--si-raise); --cap-checkbox-border: 1px solid var(--si-field-edge); --cap-checkbox-border-radius: 6px;
  --cap-spinner-color: var(--si-crimson); --cap-focus-ring: rgba(225,29,72,.35); --cap-widget-width: 100%; --cap-widget-height: 52px; --cap-troubleshoot-color: var(--si-hint);
  display: block; width: 100%;
}

/* a page read right to left (Employee Self-Service in Arabic or Urdu) mirrors the frame, never the brand's own English words */
html[dir="rtl"] #si .si-brand { direction: ltr; }

/* the facts strip - under the company finder only */
#si .si-facts { border-radius: 24px; background: var(--si-pane); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 20px; gap: 14px; }
#si .si-fact { display: flex; align-items: center; gap: 12px; min-width: 0; }
#si .si-fx { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: var(--si-crimson); background: var(--si-fact); flex: none; }
#si .si-fact b { display: block; font-size: 14px; line-height: 1.25; white-space: nowrap; color: var(--si-ink); }
#si .si-fact small { display: block; color: var(--si-muted); font-size: 12.5px; margin-top: 3px; white-space: nowrap; }

#si .si-facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#si .si-facts-2 .si-fact { align-items: flex-start; }
#si .si-facts-2 .si-fact b, #si .si-facts-2 .si-fact small { white-space: normal; }
/* a page drawn with the shared .ds-btn (page-head) takes the frame's pills too */
#si .si-form .ds-btn { border-radius: 999px; font-weight: 700; font-size: 17px; height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; border: 0;
  color: #fff; background: linear-gradient(135deg, var(--si-crimson), var(--si-crimson-d)); box-shadow: 0 18px 30px -12px rgba(225,29,72,.6); text-decoration: none; cursor: pointer; }
#si .si-form .ds-btn.sec { background: var(--si-raise); color: var(--si-ink); border: 1px solid var(--si-field-edge); box-shadow: none; height: 48px; width: auto; padding: 0 18px; font-size: 15px; }
#si .si-form h2 { font-family: var(--si-display); font-size: 32px; letter-spacing: -.03em; margin: 0 0 8px; text-align: center; font-weight: 700; color: var(--si-ink); }

/* a door whose form is drawn from an answer (the project hub's realm, /x/<company> - public/js/party/app.js): the invitation's
   own words in a quiet box, the step it is on, a press that reads as a link, the person's language, and the frame's own
   skeleton while the answer comes */
#si .si-card { background: var(--si-field); border: 1px solid var(--si-field-edge); border-radius: 16px; padding: 14px 16px; margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--si-ink); }
#si .si-card p { margin: 0; }
#si .si-card p + p { margin-top: 8px; font-size: 14px; }
#si .si-card b { color: var(--si-ink); font-weight: 700; }
#si .si-step { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
html[data-script="complex"] #si .si-step { font-size: 13px; letter-spacing: 0; text-transform: none; }
#si .si-link { border: 0; background: none; padding: 4px 2px; font: inherit; font-weight: 600; color: var(--si-crimson); cursor: pointer; border-radius: 6px; }
#si .si-link:hover { text-decoration: underline; }
#si .si-link:focus-visible { outline: 2px solid var(--si-crimson); outline-offset: 2px; }
#si .si-alt:focus-visible { outline: 3px solid rgba(225,29,72,.45); outline-offset: 3px; }
#si .si-lang { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 0; color: var(--si-hint); }
#si .si-lang select { height: 36px; max-width: 200px; border-radius: 999px; border: 1px solid var(--si-field-edge); background: var(--si-field); color: var(--si-ink); padding: 0 12px; font: inherit; font-size: 14px; }
#si .si-lang select:focus-visible { outline: 2px solid var(--si-crimson); outline-offset: 2px; }
#si .si-skel { height: 56px; border-radius: 16px; margin: 0 0 18px; background: linear-gradient(90deg, var(--si-field) 0%, var(--si-raise) 50%, var(--si-field) 100%); background-size: 200% 100%; animation: si-shimmer 1.2s infinite linear; }
#si .si-skel.short { width: 60%; height: 34px; margin: 0 auto 22px; }
@keyframes si-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── narrower screens: the brand panel becomes a band above the form ── */
@media (max-width: 1180px) {
  #si .si-big { font-size: 140px; }
  #si .si-orb, #si .si-reflect { width: 250px; }
  #si .si-orb { top: calc(250px + clamp(0px, (100% - 790px) / 3, 160px)); }
  #si .si-facts { grid-template-columns: 1fr; }
  #si .si-fact b, #si .si-fact small { white-space: normal; }
}
@media (max-width: 920px) {
  body.si-body { padding: 16px; place-items: start center; }
  #si { grid-template-columns: 1fr; border-radius: 30px; padding: 10px; gap: 10px; }
  #si .si-brand { min-height: 0; height: 300px; border-radius: 22px; }
  #si .si-mark { top: 22px; left: 22px; gap: 10px; }
  #si .si-lotus { width: 56px; }
  #si .si-word { height: 28px; }
  #si .si-chip { top: 26px; right: 20px; font-size: 12px; padding: 7px 12px; }
  #si .si-hero { left: 24px; top: 104px; }
  #si .si-lead { font-size: 14px; margin: 0 0 6px 4px !important; }
  #si .si-big { font-size: 96px; }
  #si .si-small { font-size: 20px; margin: 10px 0 0 4px !important; }
  #si .si-orb { width: 190px; top: 96px; right: -14px; }
  #si .si-reflect { width: 190px; top: 254px; right: -14px; }
  #si .si-water { top: 254px; }
  #si .si-story { display: none; }
  #si .si-pane { border-radius: 22px; padding: 56px 20px 28px; }
  #si .si-box h1 { font-size: 32px; }
}
@media (max-width: 420px) {
  #si .si-big { font-size: 76px; }
  #si .si-orb { width: 150px; top: 116px; }
  #si .si-reflect { width: 150px; }
  #si .si-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #si .si-form .btn-primary, #si .si-form .form-control, #si .si-fld { transition: none; }
  #si .si-skel { animation: none; }
}
/* ═══ end of §46 ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── THE ACCOUNT'S OWN, on the frame's tokens: what its forms carry that the app's doors do not ── */
/* the account's titles run to two lines (Open A PlantX Account, Link Google To Your PlantX Account) - set close, balanced */
#si .si-box h1 { line-height: 1.12; text-wrap: balance; }
#si .si-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
#si .si-form .btn:disabled { opacity: .65; cursor: progress; transform: none; }
#si .si-form .btn-primary { cursor: pointer; }
/* Google and Microsoft - the frame's own pill, one under the other */
#si .si-alt + .si-alt { margin-top: 12px; }
#si .si-alt svg { flex: none; }
/* a word in the page's banner (a provider that does not vouch for the address; a link made already) */
#si .banner { border-radius: 14px; padding: 12px 14px; font-size: 14px; margin: 0 0 18px; background: var(--si-field); border: 1px solid var(--si-field-edge); color: var(--si-muted); }
#si .banner b { display: block; color: var(--si-ink); }
#si .banner.bad { background: rgba(225,29,72,.10); border-color: rgba(225,29,72,.35); color: #be123c; }
html.px-si[data-ground="dark"] #si .banner.bad { color: #fda4af; }
#si .banner.warn { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.4); color: #b45309; }
html.px-si[data-ground="dark"] #si .banner.warn { color: #fcd34d; }
#si .si-sub b { color: var(--si-ink); font-weight: 600; overflow-wrap: anywhere; }
/* the page's toasts ("A code is mailed to ...") - on the frame's ground */
html.px-si .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: min(440px, calc(100vw - 32px));
  background: var(--si-ink); color: var(--si-pane); border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 1.45;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); font-family: 'PXSI Inter', 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
html.px-si .toast.error { background: linear-gradient(135deg, var(--si-crimson), var(--si-crimson-d)); color: #fff; }
@media (max-width: 480px) {
  #si .si-two { grid-template-columns: 1fr; }
}
