/* The access page is independent of the authenticated app's layout and color mode. */
html.pra-auth-pending body { display:block; margin:0; overflow:auto; background:#0c1d2c; }
html.pra-auth-pending body > :not(#pra-auth-root):not(script):not(link) { display:none !important; }
/* Brand colors from aerospacetechnical.com/pra/, scoped to access only. */
.pra-access,.pra-access-error { --access-ground:#0c1d2c; --access-panel:#102735; --access-ink:#e7f1f1; --access-muted:#a7bac6; --access-mint:#8de0c8; --access-mint-hover:#adebd9; --access-border:#38515e; --access-line:#b1d0dc25; --access-coral:#ee927f; color-scheme:dark; }
.pra-access { font-family:Inter,Arial,sans-serif; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(430px,1fr); min-height:100svh; color:var(--access-ink); background:var(--access-ground); text-align:left; }
.pra-access *, .pra-access *::before, .pra-access *::after { box-sizing:border-box; }
.pra-access button,.pra-access input,.pra-access select { font:inherit; }
.pra-access button { cursor:pointer; }
.pra-access button:focus-visible,.pra-access a:focus-visible { outline:3px solid var(--access-mint); outline-offset:4px; }
.pra-access button:disabled { cursor:default; opacity:.55; }
.access-visual { min-height:800px; height:100svh; position:sticky; top:0; isolation:isolate; overflow:hidden; color:var(--access-ink); background:radial-gradient(ellipse at 52% 58%,#173846 0%,var(--access-ground) 72%); }
.access-brand { position:absolute; left:8%; top:35px; right:8%; display:flex; align-items:center; gap:22px; }
.access-brand img { width:115px; height:auto; display:block; }
.access-brand-divider { width:1px; height:30px; background:var(--access-line); }
.access-brand > span:last-child { font-size:17px; font-weight:600; letter-spacing:2px; }
.access-brand > span:last-child span { display:block; max-width:150px; margin-top:5px; font-size:10px; line-height:1.5; font-weight:400; letter-spacing:.1px; color:var(--access-muted); }
.access-intro { position:absolute; z-index:2; top:132px; left:8%; right:8%; pointer-events:none; }
.access-eyebrow { margin:0 0 19px; font-size:10px; font-weight:600; letter-spacing:2.1px; text-transform:uppercase; color:var(--access-mint); }
.access-intro h1 { margin:0; font-weight:500; font-size:clamp(36px,3.7vw,54px); line-height:1.06; letter-spacing:-1.8px; color:var(--access-ink); }
.access-lead { margin:18px 0 0; font-size:13px; line-height:1.75; font-weight:400; color:var(--access-muted); }
.access-model { position:absolute; top:335px; bottom:95px; left:0; right:0; outline:none; overflow:hidden; mask-image:linear-gradient(to bottom,transparent,#000 9%,#000 89%,transparent); }
.access-model canvas { display:block; width:100%; height:100%; touch-action:pan-y; opacity:0; transition:opacity .7s cubic-bezier(.22,1,.36,1); }
.access-model-poster { position:absolute; inset:0; display:block; pointer-events:none; opacity:.82; transition:opacity .7s cubic-bezier(.22,1,.36,1); }
/* A deliberately defocused first image suppresses thin-wire aliasing and JPEG noise;
   do not sharpen or enlarge it as an imitation of the full-quality live canvas. */
.access-model-poster img { display:block; width:100%; height:100%; object-fit:cover; filter:blur(3.5px) saturate(.88); transform:scale(1.018); }
.access-model[data-loaded=true] canvas { opacity:1; }
.access-model[data-loaded=true] .access-model-poster { opacity:0; }
.access-model:not([data-loaded=true]) .network-label { opacity:0; }
.access-model .network-label { position:absolute; transform:translate(-50%,-50%); pointer-events:none; white-space:nowrap; padding:6px 8px; background:#0c1d2ce6; border-left:1px solid #67cbb4; line-height:1.5; transition:opacity .7s ease; }
.access-model .network-label strong { display:block; color:var(--access-ink); font-size:10px; font-weight:500; }
.access-model .network-label span { display:block; color:var(--access-muted); font-size:8px; }
.access-model .network-label[hidden] { display:none; }
.access-model[data-capture-still=true] .network-label { display:none; }
/* Keep the original light form distinct from the landing-inspired dark visual. */
.access-panel { --access-ground:#fff; --access-panel:#f8fafb; --access-ink:#153548; --access-muted:#607382; --access-mint:#086a9e; --access-mint-hover:#064e75; --access-border:#ccd9e1; --access-line:#d9e2e7; --access-coral:#b14743; color-scheme:light; color:var(--access-ink); min-height:100svh; display:flex; flex-direction:column; padding:35px 10% 27px; background:var(--access-panel); box-shadow:inset 1px 0 var(--access-line); }
.access-panel-top { display:flex; justify-content:space-between; align-items:center; gap:16px; color:var(--access-muted); font-size:10px; letter-spacing:.1px; white-space:nowrap; }
.access-panel-top a { display:flex; gap:7px; align-items:center; color:var(--access-mint); text-decoration:none; }
.access-panel-top svg { width:13px; height:13px; stroke:currentColor; stroke-width:1.5; }
.access-form-wrap { width:100%; max-width:390px; margin:auto; padding:55px 0 40px; }
.access-product { display:flex; align-items:center; gap:13px; margin:0 0 30px; font-size:11px; line-height:1.45; font-weight:500; letter-spacing:.15px; color:var(--access-muted); }
.access-product-mark { font-size:27px; letter-spacing:-1px; font-weight:700; color:var(--access-ink); padding-right:13px; border-right:1px solid var(--access-border); line-height:1.05; }
.access-tabs { border-bottom:1px solid var(--access-border); display:flex; gap:29px; margin-bottom:30px; }
.access-tabs button { border:0; border-radius:0; border-bottom:2px solid transparent; margin-bottom:-1px; padding:0 0 12px; background:transparent; color:var(--access-muted); font-size:12px; font-weight:500; }
.access-tabs button[aria-pressed=true] { color:var(--access-mint); border-bottom-color:var(--access-mint); }
.access-form-content h2 { font-size:30px; font-weight:550; letter-spacing:-.8px; line-height:1.2; margin:0 0 10px; color:var(--access-ink); }
.access-form-content h2:focus { outline:none; }
.access-description { font-size:12px; line-height:1.7; margin:0 0 27px; color:var(--access-muted); }
.access-form fieldset { padding:0; margin:0; min-width:0; border:0; }
.access-field { margin-bottom:19px; }
.access-field label { display:block; margin:0 0 8px; font-size:11px; color:var(--access-ink); font-weight:600; }
.access-input-wrap { position:relative; }
.access-field input,.access-field select { width:100%; height:46px; min-width:0; margin:0; padding:0 13px; font-size:12px; font-weight:400; color:var(--access-ink); background:var(--access-ground); border:1px solid var(--access-border); border-radius:5px; box-shadow:0 1px 2px #00000010; outline:none; caret-color:var(--access-mint); }
.access-input-wrap:has(.access-reveal) input { padding-right:62px; }
.access-field input::placeholder { color:var(--access-muted); opacity:1; }
.access-field input:focus,.access-field select:focus { border-color:var(--access-mint); box-shadow:0 0 0 3px #1484b516; }
.access-reveal { position:absolute; right:9px; top:8px; height:30px; padding:0 6px; color:var(--access-mint); background:transparent; border:0; font-size:10px!important; }
.access-forgot,.access-back,.access-resend { display:block; margin:0 0 20px auto; padding:0; background:transparent; border:0; font-size:11px!important; line-height:1.5; color:var(--access-mint); }
.access-submit { width:100%; height:47px; display:flex; align-items:center; justify-content:space-between; margin:8px 0 0; padding:0 17px; color:var(--access-ground); background:var(--access-mint); border:1px solid var(--access-mint); border-radius:5px; font-size:12px!important; font-weight:600!important; box-shadow:0 3px 7px #00000018; transition:background .16s; }
.access-submit:hover:not(:disabled) { background:var(--access-mint-hover); border-color:var(--access-mint-hover); }
.access-submit svg { height:17px; width:17px; stroke:currentColor; stroke-width:1.5; }
.access-policy { margin:-6px 0 20px; font-size:10px; line-height:1.7; color:var(--access-muted); }
.access-message { border-left:2px solid var(--access-mint); padding:10px 12px; margin:0 0 18px; font-size:11px; line-height:1.65; color:#24566d; background:#eaf3f7; }
.access-message-error { border-color:var(--access-coral); color:#8b332f; background:#fbedeb; }
.access-message[hidden] { display:none; }
/* invitation-only sign-up: the person to ask for an account */
.access-invite { display:flex; align-items:center; justify-content:space-between; height:44px; margin:-8px 0 18px; padding:0 15px; color:var(--access-mint); border:1px solid var(--access-mint); border-radius:5px; font-size:12px; font-weight:600; text-decoration:none; }
.access-invite:hover { background:#1484b50f; }
.access-invite svg { height:16px; width:16px; stroke:currentColor; stroke-width:1.5; }
.access-security { display:flex; gap:10px; align-items:flex-start; margin-top:24px; padding-top:21px; border-top:1px solid var(--access-line); color:var(--access-muted); }
.access-security svg { flex:0 0 14px; width:14px; height:15px; stroke:currentColor; stroke-width:1.6; margin-top:2px; }
.access-security p { margin:0; font-size:10px; line-height:1.7; }
.access-back,.access-resend { margin:17px auto 0; }
.access-preview { font-size:10px; line-height:1.7; color:var(--access-muted); margin-top:14px; }
.access-preview a { color:var(--access-mint); }
.access-panel-foot { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:auto; color:var(--access-muted); font-size:9px; line-height:1.6; }
.pra-access-error { font-family:Inter,Arial,sans-serif; color:var(--access-ink); padding:15vh 8vw; max-width:700px; margin:auto; }
.pra-access-error button { background:var(--access-mint); color:var(--access-ground); border:0; padding:14px 20px; border-radius:5px; cursor:pointer; }
@media(min-width:1550px) and (min-height:900px) { .access-intro { top:14%; } .access-model { top:36%; bottom:11%; } .access-panel { padding-left:15%; padding-right:15%; } }
@media(max-height:800px) and (min-width:801px) { .access-form-wrap { padding-top:35px; padding-bottom:30px; } .access-intro { top:119px; } .access-intro h1 { font-size:43px; } .access-model { top:310px; } }
@media(max-width:1050px) { .pra-access { grid-template-columns:minmax(0,1fr) minmax(380px,.9fr); } .access-panel { padding-left:8%; padding-right:8%; } .access-brand { gap:14px; } .access-intro h1 { font-size:40px; } .access-lead br { display:none; } }
/* Mobile retains a compact model above the form without the desktop introduction. */
@media(max-width:800px) {
  .pra-access { display:flex; flex-direction:column; }
  .access-visual { display:contents; }
  .access-brand { position:static; order:0; width:100%; min-height:64px; padding:10px 24px; gap:18px; background:var(--access-ground); }
  .access-brand img { width:85px; }
  .access-brand > span:last-child { font-size:15px; }
  .access-brand > span:last-child span { max-width:none; margin-top:3px; font-size:9px; }
  .access-intro,.access-product { display:none; }
  .access-panel { order:2; min-height:0; padding:16px 24px 20px; }
  .access-form-wrap { width:100%; max-width:440px; padding:0; margin:0 auto; }
  .access-tabs { margin-bottom:18px; gap:28px; }
  .access-tabs button { min-height:44px; padding:8px 0 12px; font-size:14px; }
  .access-form-content h2 { font-size:26px; margin-bottom:8px; }
  .access-description { font-size:13px; line-height:1.5; margin-bottom:20px; }
  .pra-access[data-access-mode="signin"] .access-description,
  .pra-access[data-access-mode="signup"] .access-description { display:none; }
  .pra-access[data-access-mode="signin"] .access-form-content h2,
  .pra-access[data-access-mode="signup"] .access-form-content h2 { margin-bottom:18px; }
  .access-field { margin-bottom:16px; }
  .access-field label { font-size:12px; }
  .access-field input,.access-field select { height:48px; font-size:16px; }
  .access-reveal { top:2px; right:3px; min-width:44px; height:44px; font-size:11px!important; }
  .access-policy { margin:-4px 0 16px; font-size:11px; line-height:1.5; }
  .access-submit { height:48px; font-size:14px!important; }
  .access-forgot,.access-back,.access-resend { min-height:44px; margin-bottom:8px; padding:12px 0; font-size:12px!important; }
  .access-security { margin-top:18px; padding-top:16px; }
  .access-panel-top { order:2; width:100%; max-width:440px; margin:18px auto 0; justify-content:flex-start; font-size:10px; }
  .access-panel-top > span { display:none; }
  .access-panel-top a { min-height:44px; }
  .access-panel-foot { order:3; width:100%; max-width:440px; margin:8px auto 0; font-size:9px; }
  .access-panel-foot > span:last-child { display:none; }
  .access-model { order:1; position:relative; inset:auto; flex:none; width:100%; height:clamp(160px,23svh,210px); background:radial-gradient(ellipse at 52% 58%,#173846 0%,var(--access-ground) 78%); }
}
@media(max-width:450px) { .access-model .network-label span { display:none; } .access-model .network-label strong { font-size:9px; } .access-model .network-label { padding:4px 5px; } }
@media(prefers-reduced-motion:reduce) { .pra-access * { scroll-behavior:auto!important; transition:none!important; } }
