/* The sign-in page: WordPress's wp-login.php dressed as CORE's login window. The window holds the form alone, in the
   light tone in both themes (fw-scheme-light, boss 2026-11-10), over the blurred page. Measures are declared here
   once; colours, corners and shadows are CORE's own tokens from core.css. */

html.fwx-login-page {
  --fwx-vh: calc(100dvh / var(--fw-zoom, 1));
  --fwx-login-w: min(468px, calc(100vw - 24px));
  --fwx-login-max-h: calc(var(--fwx-vh) * 0.9);
  --fwx-login-phone-w: 94vw;
  --fwx-login-pad-x: 40px;
  --fwx-login-pad-y: 32px;
  --fwx-login-field-h: 48px;
  --fwx-login-gap: 12px;
  --fwx-login-wordmark-h: 30px;
  --fwx-login-mark: 22px;
  --fwx-login-ink: #0a0a0a;
  --fwx-login-paper: #ececeb;
  --fwx-login-ink-fade: rgba(10, 10, 10, 0.7);
  --fwx-login-on-ink: #fff;
  --fwx-login-on-ink-soft: rgba(255, 255, 255, 0.8);
  --fwx-login-on-ink-faint: rgba(255, 255, 255, 0.45);
  --fwx-login-track: rgba(255, 255, 255, 0.25);
  --fwx-login-veil: rgba(0, 0, 0, 0.3);
  --fwx-login-blur: 6px;
  --fwx-login-z: 10;
  background: var(--fw-bg);
}
html.fwx-login-page body.login {
  min-height: 100dvh;
  margin: 0;
  background: var(--fw-bg);
  color: var(--fw-text);
}

/* ---------- the page behind the window ---------- */
#fw-core .fwx-login-backdrop,
#fw-core .fwx-login-veil { position: fixed; inset: 0; }
#fw-core .fwx-login-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(var(--fwx-login-blur));
  transform: scale(1.04);
}
#fw-core .fwx-login-veil { background: var(--fwx-login-veil); }

/* ---------- the window ---------- */
#fw-core .fwx-login {
  position: fixed;
  z-index: var(--fwx-login-z);
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  width: var(--fwx-login-w);
  max-height: var(--fwx-login-max-h);
  overflow: hidden;
  border-radius: var(--fw-corner);
  background: var(--fw-surface);
  box-shadow: var(--fw-seam), var(--fw-over);
}
#fw-core .fwx-login__bar { display: flex; flex: none; justify-content: flex-end; padding: 14px 20px 6px; }
#fw-core .fwx-login__close {
  font-family: var(--font-jetbrains), monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fw-text-subtle);
  text-decoration: none;
}
#fw-core .fwx-login__close:hover { color: var(--fw-text); }
#fw-core .fwx-login__body { display: flex; flex: 1; min-height: 0; }

/* ---------- the form side ---------- */
#fw-core .fwx-login__side {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: safe center;
  min-width: 0;
  overflow-y: auto;
  padding: var(--fwx-login-pad-y) var(--fwx-login-pad-x);
  background: var(--fw-surface);
}
#fw-core .fwx-login__brand { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; text-align: center; }
#fw-core .fwx-login__mark { width: var(--fwx-login-mark); height: var(--fwx-login-mark); margin: 0 auto 4px; color: var(--fw-accent); }
#fw-core .fwx-login__wordmark { height: var(--fwx-login-wordmark-h); width: auto; margin: 0 auto; color: var(--fw-text); }
#fw-core .fwx-login__brand p { max-width: 32ch; margin: 0 auto; font-family: var(--font-jetbrains), monospace; font-size: 12px; line-height: 1.625; color: var(--fw-text-subtle); }
#fw-core .fwx-login__note { margin-top: var(--fwx-login-gap); text-align: center; font-family: var(--font-jetbrains), monospace; font-size: 10px; color: var(--fw-text-subtle); }

/* WordPress's #login, read as GateSteps */
#fw-core #login { width: 100%; padding: 0; margin: 0; }
#fw-core #login > h1,
#fw-core #login > h1.screen-reader-text,
#fw-core #backtoblog,
#fw-core .privacy-policy-page-link,
#fw-core #login .forgetmenot + br { display: none; }
#fw-core #login form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; display: flex; flex-direction: column; gap: var(--fwx-login-gap); }
#fw-core #login form p { margin: 0; }
#fw-core .screen-reader-text,
#fw-core #login label:not([for="rememberme"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#fw-core #login input[type="text"],
#fw-core #login input[type="email"],
#fw-core #login input[type="password"],
#fw-core #login input[type="tel"],
#fw-core #login input[type="number"] {
  width: 100%;
  height: var(--fwx-login-field-h);
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--fw-border);
  border-radius: var(--fw-radius);
  background: transparent;
  box-shadow: none;
  font-family: var(--font-jetbrains), monospace;
  font-size: 14px;
  color: var(--fw-text);
  outline: none;
}
#fw-core #login input::placeholder { color: var(--fw-text-subtle); }
#fw-core #login input:focus { border-color: var(--fw-text); }
#fw-core #login .wp-pwd { position: relative; }
#fw-core #login .wp-pwd input { padding-right: 48px; }
#fw-core #login .wp-hide-pw {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--fwx-login-field-h);
  height: var(--fwx-login-field-h);
  border: 0;
  background: none;
  color: var(--fw-text-subtle);
  cursor: pointer;
}
#fw-core #login .wp-hide-pw:hover { color: var(--fw-text); }
#fw-core #login .forgetmenot { display: flex; align-items: center; gap: 8px; }
#fw-core #login .forgetmenot label { font-family: var(--font-jetbrains), monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fw-text-subtle); }
#fw-core #login .forgetmenot input { accent-color: var(--fw-text); }
#fw-core #login [hidden],
#fw-core #login .wp-tooltip { display: none; }
/* WordPress's caps-lock notice: hidden until its own script shows it, then one quiet line */
#fw-core #login .caps-warning { display: none; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--font-jetbrains), monospace; font-size: 10px; color: var(--fw-text-muted); }
#fw-core #login .caps-warning svg,
#fw-core #login .caps-icon svg { width: 12px; height: 12px; flex: none; }
#fw-core #login .submit { order: 9; }
#fw-core #login input[type="submit"],
#fw-core #login .button-primary {
  width: 100%;
  height: var(--fwx-login-field-h);
  border: 0;
  border-radius: var(--fw-radius);
  background: var(--fw-inverse);
  font-family: var(--font-oswald), sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-bg);
  cursor: pointer;
}
#fw-core #login input[type="submit"]:hover { opacity: 0.8; }

/* Site Kit's button, then "or email" above the fields, as in CORE */
/* Site Kit writes max-inline-size: 320px on this holder (inline, 11/2026): only !important lifts it, so the button stays centred in
   the column instead of sitting at the left of a 320px box. */
#fw-core #login .googlesitekit-sign-in-with-google__frontend-output-button { display: flex; justify-content: center; width: 100%; max-width: none; max-inline-size: none !important; margin-inline: auto; margin-bottom: var(--fwx-login-gap); }
#fw-core #login:has(.googlesitekit-sign-in-with-google__frontend-output-button) #loginform::before {
  content: "or email";
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-jetbrains), monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fw-text-subtle);
  background: linear-gradient(var(--fw-border), var(--fw-border)) left center / calc(50% - 44px) 1px no-repeat,
    linear-gradient(var(--fw-border), var(--fw-border)) right center / calc(50% - 44px) 1px no-repeat;
  justify-content: center;
}

/* links under the form */
#fw-core #nav { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: var(--fwx-login-gap) 0 0; font-size: 0; }
#fw-core #nav a,
#fw-core .fwx-login a.wp-login-register,
#fw-core .fwx-login a.wp-login-lost-password {
  font-family: var(--font-jetbrains), monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-text-subtle);
  text-decoration: none;
}
#fw-core #nav a:hover { opacity: 0.7; }

/* messages and errors */
#fw-core #login_error,
#fw-core #login .message,
#fw-core #login .notice,
#fw-core #login .success {
  margin: 0 0 var(--fwx-login-gap);
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-family: var(--font-jetbrains), monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fw-text-muted);
}
#fw-core #login_error a { color: var(--fw-text); }
#fw-core #reg_passmail,
#fw-core #login .description,
#fw-core #login .indicator-hint { font-family: var(--font-jetbrains), monospace; font-size: 10px; line-height: 1.5; color: var(--fw-text-subtle); }
/* WordPress still needs a username on sign-up; it is made from the email, so the field stays out of sight */
#fw-core #registerform p:has(#user_login) { display: none; }

/* ---------- phone ---------- */
@media (max-width: 767px) {
  #fw-core .fwx-login { width: var(--fwx-login-phone-w); }
  #fw-core .fwx-login__side { padding: 32px; }
}
/* A window holding a box that grows with its text (the profile's message) hangs from a fixed top and grows
   downward: centred, it lifted the field being typed in by half of every new line (steady-fields-live.mjs). */
#fw-core .fwx-login__side:has(textarea) { justify-content: flex-start; }
@media (max-width: 767px) {
  #fw-core .fwx-login:has(textarea) { top: calc((var(--fwx-vh) - var(--fwx-login-max-h)) / 2); translate: -50% 0; }
}

/* The join page: the plan above the title, Google alone (the email form is for accounts that exist,
   reached from "Sign in"), then what the account receives and the empty box for offers. */
#fw-core .fwx-login__brand .fwx-login__kicker { margin: 10px auto 6px; font-family: var(--font-jetbrains), monospace; font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fw-text-subtle); }
#fw-core .fwx-login__title { margin: 0; font-family: var(--font-oswald), sans-serif; font-size: 30px; font-weight: 700; line-height: 0.95; text-transform: uppercase; color: var(--fw-text); }
#fw-core .fwx-login--join #loginform,
#fw-core .fwx-login--join #nav { display: none; }
#fw-core .fwx-login__consent { margin: var(--fwx-login-gap) 0 0; font-family: var(--font-jetbrains), monospace; font-size: 10px; line-height: 1.55; color: var(--fw-text-subtle); text-align: center; }
#fw-core .fwx-login__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#fw-core .fwx-login__consent.is-fixed { padding: 10px 12px; border-radius: var(--fw-radius); background: var(--fw-surface-2); color: var(--fw-text-muted); text-align: left; font-size: 11px; }
#fw-core .fwx-login__offers { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; font-family: var(--font-jetbrains), monospace; font-size: 11px; line-height: 1.45; color: var(--fw-text); cursor: pointer; }
#fw-core .fwx-login__offers input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--fw-text); }
#fw-core .fwx-login__back { margin: 14px 0 0; text-align: center; font-family: var(--font-jetbrains), monospace; font-size: 11px; color: var(--fw-text-muted); }
#fw-core .fwx-login__back a { margin-left: 6px; font-family: var(--font-oswald), sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fw-accent); text-decoration: none; }

/* As in the frame: a line that fits stays one line, a break never leaves one word alone. */
#fw-core .fwx-login :is(h1, h2, p) { text-wrap: balance; }

/* The code form: email, then six digits, in the fields' and the button's own look. On the sign-in page
   the password form waits behind "Sign in with a password" (.is-password), for staff and passwords set. */
#fw-core .fwx-login:not(.is-password) #loginform,
#fw-core .fwx-login:not(.is-password) #nav,
#fw-core .fwx-login.is-password .fwx-code,
#fw-core .fwx-login:not(.is-password) .fwx-code__switch--back { display: none; }
#fw-core .fwx-code { display: flex; flex-direction: column; gap: 10px; }
#fw-core .fwx-login:has(.googlesitekit-sign-in-with-google__frontend-output-button) .fwx-code::before {
  content: "or email"; display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
  font-family: var(--font-jetbrains), monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fw-text-subtle);
  background: linear-gradient(var(--fw-border), var(--fw-border)) left center / calc(50% - 44px) 1px no-repeat,
    linear-gradient(var(--fw-border), var(--fw-border)) right center / calc(50% - 44px) 1px no-repeat;
}
#fw-core .fwx-code [data-code-step] { display: flex; flex-direction: column; gap: 10px; }
#fw-core .fwx-code [data-code-step][hidden] { display: none; }
#fw-core .fwx-code input[type="email"],
#fw-core .fwx-code input[type="text"] {
  width: 100%; height: var(--fwx-login-field-h); margin: 0; padding: 0 16px; border: 1px solid var(--fw-border); border-radius: var(--fw-radius);
  background: transparent; box-shadow: none; font-family: var(--font-jetbrains), monospace; font-size: 14px; color: var(--fw-text); outline: none;
}
#fw-core .fwx-code #fw-code-digits { letter-spacing: 0.4em; text-align: center; font-size: 18px; }
#fw-core .fwx-code input::placeholder { color: var(--fw-text-subtle); letter-spacing: 0.1em; font-size: 13px; }
#fw-core .fwx-code input:focus { border-color: var(--fw-text); }
#fw-core .fwx-code .fwx-code__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#fw-core .fwx-code [data-code="send"],
#fw-core .fwx-code [data-code="verify"] {
  width: 100%; height: var(--fwx-login-field-h); border: 0; border-radius: var(--fw-radius); background: var(--fw-inverse); color: var(--fw-bg);
  font-family: var(--font-oswald), sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
#fw-core .fwx-code [data-code="send"]:disabled,
#fw-core .fwx-code [data-code="verify"]:disabled { opacity: 0.5; cursor: default; }
#fw-core .fwx-code__sent { margin: 0; font-family: var(--font-jetbrains), monospace; font-size: 11px; line-height: 1.55; color: var(--fw-text-muted); text-align: center; }
#fw-core .fwx-code__sent b { color: var(--fw-text); font-weight: 500; }
#fw-core .fwx-code__more, #fw-core .fwx-code__switch { margin: 2px 0 0; text-align: center; font-family: var(--font-jetbrains), monospace; font-size: 10px; color: var(--fw-text-subtle); }
#fw-core .fwx-code__more button, #fw-core .fwx-code__switch button {
  border: 0; background: none; padding: 0; cursor: pointer; font-family: var(--font-jetbrains), monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fw-text-muted);
}
#fw-core .fwx-code__more button:hover, #fw-core .fwx-code__switch button:hover { color: var(--fw-text); }
#fw-core .fwx-code__error { margin: 0; min-height: 0; font-family: var(--font-jetbrains), monospace; font-size: 11px; color: var(--fw-accent); text-align: center; }
#fw-core .fwx-code__error:empty { display: none; }
#fw-core .fwx-code__switch--back { margin-top: 12px; }

/* About you, on the join page: the role and the Instagram handle, both optional. */
#fw-core .fwx-login__about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 12px 0 0; }
#fw-core .fwx-login__about-label { grid-column: 1 / -1; margin: 0; font-family: var(--font-jetbrains), monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fw-text-subtle); }
#fw-core .fwx-login__about input {
  width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--fw-border); border-radius: var(--fw-radius); background: transparent;
  font-family: var(--font-jetbrains), monospace; font-size: 12px; color: var(--fw-text); outline: none;
}
#fw-core .fwx-login__about input::placeholder { color: var(--fw-text-subtle); }
#fw-core .fwx-login__about input:focus { border-color: var(--fw-text); }
#fw-core .fwx-code .cf-turnstile { margin-top: 4px; }

/* Your work, on the profile join (join-channels.php): the links and the message come first, and Google and
   the email code wait, dimmed, until one link is there (login.js marks the page is-needs-work). */
#fw-core .fwx-login__work { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 var(--fwx-login-gap); }
#fw-core .fwx-login__work-label { margin-top: 6px; }
#fw-core .fwx-login__work-hint { margin: 0; font-family: var(--font-jetbrains), monospace; font-size: 11px; line-height: 1.5; color: var(--fw-text-muted); }
#fw-core .fwx-login__work-links { display: grid; gap: 8px; }
#fw-core .fwx-login__work :is(input, textarea) {
  width: 100%; margin: 0; padding: 0 12px; border: 1px solid var(--fw-border); border-radius: var(--fw-radius); background: transparent;
  font-family: var(--font-jetbrains), monospace; font-size: 12px; color: var(--fw-text); outline: none;
}
#fw-core .fwx-login__work input { height: 40px; }
#fw-core .fwx-login__work textarea { min-height: 84px; padding-block: 10px; line-height: 1.5; resize: vertical; }
#fw-core .fwx-login__work :is(input, textarea)::placeholder { color: var(--fw-text-subtle); }
#fw-core .fwx-login__work :is(input, textarea):focus { border-color: var(--fw-text); }
#fw-core .fwx-login__work-add { justify-self: start; padding: 0; border: 0; background: none; font-family: var(--font-jetbrains), monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fw-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#fw-core .fwx-login__work-add[hidden] { display: none; }
#fw-core .fwx-login__work-need { display: none; margin: 0; font-family: var(--font-jetbrains), monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fw-accent); }
#fw-core .fwx-login.is-needs-work .fwx-login__work-need { display: block; }
#fw-core .fwx-login.is-needs-work :is(.googlesitekit-sign-in-with-google__frontend-output-button, [data-code="send"]) { opacity: 0.35; pointer-events: none; }
/* The network's box on a profile's join: required, and until it is ticked Google and the code wait, dimmed. */
#fw-core .fwx-login__network { color: var(--fw-text); }
#fw-core .fwx-login__network-need { display: none; margin: 4px 0 0; font-family: var(--font-jetbrains), monospace; font-size: 11px; line-height: 1.45; color: var(--fw-text-muted); }
#fw-core .fwx-login.is-needs-network .fwx-login__network-need { display: block; }
#fw-core .fwx-login.is-needs-network :is(.googlesitekit-sign-in-with-google__frontend-output-button, [data-code="send"]) { opacity: 0.35; pointer-events: none; }

/* Every scroller here wears the frame's thin bar (core.css .fw-thin-scroll), never the system's. */
html.fwx-login-page,
#fw-core .fwx-login__side { scrollbar-width: thin; scrollbar-color: var(--fw-line) transparent; }
html.fwx-login-page::-webkit-scrollbar,
#fw-core .fwx-login__side::-webkit-scrollbar { width: 10px; }
html.fwx-login-page::-webkit-scrollbar-track,
#fw-core .fwx-login__side::-webkit-scrollbar-track { background: transparent; }
html.fwx-login-page::-webkit-scrollbar-thumb,
#fw-core .fwx-login__side::-webkit-scrollbar-thumb { background-color: var(--fw-line); background-clip: padding-box; border: 3px solid transparent; border-radius: 999px; }
html.fwx-login-page::-webkit-scrollbar-thumb:hover,
#fw-core .fwx-login__side::-webkit-scrollbar-thumb:hover { background-color: var(--fw-text-subtle); }

/* After Google answers (login.js googleWait): the form gives way to one state, centered in the panel.
   Each line carries the states it belongs to in data-on. */
#fw-core .fwx-wait { display: none; }
#fw-core .fwx-login__side.is-waiting > :not(.fwx-wait) { display: none; }
#fw-core .fwx-login__side.is-waiting > .fwx-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: fwx-wait-in 240ms ease-out; }
#fw-core .fwx-wait[data-state="signing"] [data-on]:not([data-on~="signing"]),
#fw-core .fwx-wait[data-state="opening"] [data-on]:not([data-on~="opening"]),
#fw-core .fwx-wait[data-state="stopped"] [data-on]:not([data-on~="stopped"]) { display: none; }
#fw-core .fwx-wait .fwx-login__mark { margin-bottom: 6px; }
#fw-core .fwx-wait__kicker { margin: 0; font-family: var(--font-jetbrains), monospace; font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fw-text-subtle); }
#fw-core .fwx-wait__title { margin: 0; font-family: var(--font-oswald), sans-serif; font-size: 30px; font-weight: 700; line-height: 0.95; text-transform: uppercase; color: var(--fw-text); text-wrap: balance; }
#fw-core .fwx-wait__line { max-width: 40ch; margin: 2px 0 0; font-family: var(--font-jetbrains), monospace; font-size: 11px; line-height: 1.6; color: var(--fw-text-muted); text-wrap: balance; }
#fw-core .fwx-wait__bar { position: relative; width: 160px; height: 2px; margin-top: 14px; overflow: hidden; background: var(--fw-line); }
#fw-core .fwx-wait__bar i { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--fw-accent); animation: fwx-wait-run 1.1s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
#fw-core .fwx-wait__again {
  width: 100%; max-width: 260px; height: var(--fwx-login-field-h); margin-top: 14px; border: 0; border-radius: var(--fw-radius); background: var(--fw-inverse); color: var(--fw-bg);
  font-family: var(--font-oswald), sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
@keyframes fwx-wait-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fwx-wait-run { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  #fw-core .fwx-login__side.is-waiting > .fwx-wait { animation: none; }
  #fw-core .fwx-wait__bar i { width: 100%; animation: none; opacity: 0.6; }
}
/* Our dropdown (05-select.js), for the frame and the sign-in page alike. data-fw-select="field" takes
   the look of the account window's fields (a tonal box, no line). */
:is(#fw-core, #fw-page, .fwx-scope) .fw-select { position: relative; width: 100%; min-width: 0; }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__button {
  position: relative; display: block; width: 100%; height: 40px; margin: 0; padding: 0 36px 0 12px;
  border: 1px solid var(--fw-border); border-radius: var(--fw-radius, var(--fw-corner-sm, 3px)); background: transparent;
  font-family: var(--font-jetbrains), monospace; font-size: 12px; line-height: 38px; color: var(--fw-text); text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; outline: none;
}
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__button.is-empty { color: var(--fw-text-subtle); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__button::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid var(--fw-text-muted); border-bottom: 1.5px solid var(--fw-text-muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.15s;
}
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__button[aria-expanded="true"]::after { transform: translateY(-25%) rotate(225deg); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__button:focus-visible,
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__button[aria-expanded="true"] { border-color: var(--fw-text); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 240px; overflow-y: auto; padding: 4px;
  border: 1px solid var(--fw-border); border-radius: var(--fw-radius, var(--fw-corner-sm, 3px)); background: var(--fw-surface);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__list[hidden] { display: none; }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 2px;
  font-family: var(--font-jetbrains), monospace; font-size: 12px; line-height: 1.3; color: var(--fw-text); cursor: pointer;
}
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__option.is-empty { color: var(--fw-text-subtle); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__option.is-active { background: var(--fw-surface-2); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__option[aria-selected="true"]::after { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fw-text); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select--field .fw-select__button { height: 44px; line-height: 44px; border: 0; background: var(--fw-surface); font-size: 13px; }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select--field .fw-select__button:focus-visible,
:is(#fw-core, #fw-page, .fwx-scope) .fw-select--field .fw-select__button[aria-expanded="true"] { outline: 1px solid var(--fw-text-subtle); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select.is-up .fw-select__list { top: auto; bottom: calc(100% + 4px); }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__list { scrollbar-width: thin; scrollbar-color: var(--fw-line) transparent; }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__list::-webkit-scrollbar { width: 8px; }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__list::-webkit-scrollbar-track { background: transparent; }
:is(#fw-core, #fw-page, .fwx-scope) .fw-select__list::-webkit-scrollbar-thumb { background-color: var(--fw-line); background-clip: padding-box; border: 2px solid transparent; border-radius: 999px; }
