.guided-v2 .registration-account{display:flex;gap:18px;align-items:center}.registration-account label{display:flex;align-items:center;gap:8px;color:#fff}.registration-account select{width:145px}.guided-v2 .brand .mt-vector{width:var(--brand-size);height:var(--brand-size)}.guided-v2 .intro h1{margin-bottom:24px}.guided-v2 .intro-art .mt-vector{width:256px;height:256px}.guided-v2 .steps button{white-space:normal}.guided-v2 .legal-links{display:flex;flex-wrap:wrap;gap:8px}.guided-v2 .legal-fallback{padding:12px 0;color:#ffdb92;font-size:15px}.guided-v2 .reg-error{color:#ff8995}.guided-v2 dialog{max-height:85dvh;overflow:auto;max-width:min(640px,calc(100vw - 24px))}.guided-v2 dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.5 system-ui}.guided-v2 input[aria-invalid=true]{border:2px solid #a61b30}.guided-v2 #suggestions button{width:100%;white-space:normal}.guided-v2 .statebar{flex-wrap:wrap}.guided-v2 .submitrow{gap:12px}.guided-v2 .formwrap{min-width:0}.guided-v2 .sitehead{box-shadow:none}.guided-v2 .intro{background:none}.guided-v2 .brand{background:none!important}
@media(max-width:700px){.guided-v2 .sitehead{flex-wrap:wrap}.guided-v2 .registration-account{width:100%;justify-content:space-between;gap:10px;flex-wrap:wrap}.guided-v2 .registration-account button{font-size:14px}.guided-v2 .registration-account label{font-size:14px}.guided-v2 .intro-art .mt-vector{width:192px;height:192px}.guided-v2 .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.guided-v2 .steps button{font-size:14px;padding:8px;min-height:44px}.guided-v2 .sitehead{position:sticky}.guided-v2 .registration-account select{width:125px}}
@media(max-width:700px){.guided-v2 .registration-account{display:grid;grid-template-columns:1fr 1fr;align-items:end}.guided-v2 .registration-account label{display:flex;flex-direction:column;align-items:flex-start}.guided-v2 .registration-account select{width:100%}.guided-v2 .registration-account button{white-space:normal;min-height:44px}}

/* Phase 1 form accessibility: errors, transitions, dialogs and touch targets. */
.guided-v2 .sitehead{position:relative}
.guided-v2 #registration-status:empty{display:none}
.guided-v2 :is(input,select,button){min-height:44px;max-width:100%;min-width:0}
.guided-v2 .grid>*{min-width:0}
.guided-v2 .check{min-height:44px;align-items:center;gap:10px}
.guided-v2 .check input{min-height:22px;width:22px;flex:0 0 22px}
.guided-v2 :is(button,input,select,[tabindex]):focus-visible{outline:3px solid #80caff;outline-offset:3px}
.guided-v2 dialog{padding:24px;scroll-padding:12px;overflow-wrap:anywhere}
.guided-v2 #sms-code{display:block;width:100%;margin:12px 0}
.guided-v2 [aria-invalid=true]{outline:2px solid #ff8995;outline-offset:2px}
.guided-v2 #registration-status{overflow-wrap:anywhere}
.guided-v2 #sms-code{background:#182a35;color:#f4f7f8}
/* White dialogs need darker warning text and keyboard focus indicators. */
.guided-v2 dialog .legal-fallback{color:#795000}
.guided-v2 dialog :is(button,input,select,[tabindex]):focus-visible{outline:3px solid #1469a5;outline-offset:3px}
/* Constrain the actual top-layer dialog to its containing viewport, including
   classic scrollbar space. Keep overflow visible at document level. */
.guided-v2 dialog{
  box-sizing:border-box;
  position:fixed;
  inset:16px;
  margin:auto;
  inline-size:min(640px,calc(100% - 32px));
  min-inline-size:0;
  max-inline-size:calc(100% - 32px);
  max-block-size:calc(100% - 32px);
  padding:clamp(16px,4vw,24px);
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scroll-padding:12px;
}
.guided-v2 dialog :is(#dialog-content,pre,h2,p,button){
  min-inline-size:0;
  max-inline-size:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.guided-v2 dialog pre{white-space:pre-wrap}
.guided-v2 dialog button{white-space:normal}
.guided-v2 dialog :is(button,input,select,[tabindex]){scroll-margin:8px}

.registration-account #signin{font-family:Arial,sans-serif;font-weight:700;color:#f4f8fc;width:auto;min-width:88px;min-height:44px;padding:10px 18px}

/* OWNER login only: retain the dark field surface and existing focus/layout. */
.guided-v2 dialog #dialog-content input:is([autocomplete="username"],[autocomplete="current-password"]){
  background-color:#10243c;
  color:#f4f8fc;
  -webkit-text-fill-color:#f4f8fc;
  caret-color:#f4f8fc;
}
.guided-v2 dialog #dialog-content input:is([autocomplete="username"],[autocomplete="current-password"])::placeholder{
  color:#b8c8da;
  -webkit-text-fill-color:#b8c8da;
  opacity:1;
}
.guided-v2 dialog #dialog-content input:is([autocomplete="username"],[autocomplete="current-password"]):is(:autofill,:-webkit-autofill){
  color:#f4f8fc;
  -webkit-text-fill-color:#f4f8fc;
  caret-color:#f4f8fc;
  box-shadow:0 0 0 1000px #10243c inset;
}
