/* ==========================================================================
   My Account — a transcription of Scan/MyAccount.dc.html (+ Account.dc.html).

   Lengths are the supplied values: the 1240px shell, the 220px nav rail with
   its 40px gutter, 28px screen stacks, 4px cards on #e6e6e6, 999px status
   pills and the 26px progress markers. Salient keeps the page's header and
   footer here — the portal is page content, not a standalone screen.
   ========================================================================== */

.se-acct {
  --mwa-ink: var(--se-ink, #202020);
  --mwa-body: #4a4f56;
  --mwa-muted: #6b7077;
  --mwa-line: #e6e6e6;
  --mwa-line-soft: #eeeeee;
  --mwa-input: #cccccc;
  --mwa-sand: var(--se-sand, #f6f6f6);
  --mwa-teal: var(--se-teal, #0073aa);
  --mwa-teal-text: var(--se-teal-text, #0073aa);
  --mwa-teal-tint: #e5f1f8;
  --mwa-warn: #fff6e5;
  --mwa-error: #8c1d18;
  --mwa-display: var(--se-font-display, 'Open Sans', Helvetica, Arial, sans-serif);
  --mwa-font: var(--se-font-body, 'Manrope', system-ui, sans-serif);

  width: 100%;
  font-family: var(--mwa-font);
  color: var(--mwa-ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.se-acct *, .se-acct *::before, .se-acct *::after { box-sizing: border-box; }
.se-acct a { color: var(--mwa-teal-text); text-decoration: none; }
.se-acct a:hover { color: var(--mwa-ink); }
.se-acct img { display: block; max-width: 100%; }
.se-acct h1, .se-acct h2 { margin: 0; }
.se-acct ul, .se-acct ol { margin: 0; padding: 0; list-style: none !important; }
.se-acct li { margin: 0; list-style: none !important; }
.se-acct :focus-visible { outline: 2px solid var(--mwa-teal-text); outline-offset: 2px; }

/* Salient wraps page content in an 880px container; the portal is a 1240px
   screen of its own, so the wrapper is widened for account pages only. */
body.woocommerce-account .container-wrap { padding-left: 0 !important; padding-right: 0 !important; }
body.woocommerce-account .container.main-content { width: 100% !important; max-width: none !important; padding: 0 !important; }
body.woocommerce-account .container.main-content > .row { margin: 0 !important; }
body.woocommerce-account .container.main-content > .row > .woocommerce { width: 100%; min-width: 0; }

.se-acct__inner {
  /* Line up with Salient's own header container (1425px, 24px gutters) so the
     portal's right edge sits under the header's, instead of stopping short. */
  max-width: 1425px;
  margin: 0 auto;
  padding: 36px 24px 96px;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Nav rail ---------------------------------------------------------------- */
/* WooCommerce's stock myaccount CSS floats this rail and gives it a
   percentage width; inside our grid that collapsed it to ~66px. */
.se-acct__nav {
  position: sticky;
  top: 96px;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.admin-bar .se-acct__nav { top: 128px; }
/* The name is a heading for the menu, not a menu item: a rule separates the
   two, and the sign-out link gets one above it for the same reason. */
.se-acct__who {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 0 14px 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--mwa-line);
}
/* Initials rather than a gravatar: it is always available, always on-brand,
   and never a network request to a third party. */
.se-acct__avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mwa-teal-tint);
  color: var(--mwa-teal-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}
.se-acct__who-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.se-acct__who b { font-size: 15px; font-weight: 800; line-height: 1.3; }
.se-acct__who span { font-size: 12.5px; color: var(--mwa-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Salient styles the account nav itself: FontAwesome glyphs on ::before, a
   rule under every row and its own padding. The rail is ours. */
/* WooCommerce rules the top of this list; the name block already carries a
   separator, so two lines stacked up under the customer's name. */
.se-acct__nav ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; border: 0 !important; }
.se-acct__nav li { border: 0 !important; margin: 0 !important; padding: 0 !important; }
.se-acct__nav li a::before,
.se-acct__nav li a::after { content: none !important; display: none !important; }
.se-acct__nav li a {
  min-height: 44px;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 0 !important;
  border-radius: 4px;
  background: none;
  color: var(--mwa-ink) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none !important;
  opacity: 1 !important;
}
.se-acct__nav li a:hover { background: var(--mwa-sand); }
.se-acct__nav li.is-active a { background: var(--mwa-sand); font-weight: 800; }
.se-acct__nav-icon { flex: none; color: var(--mwa-muted); }
.se-acct__nav li.is-active .se-acct__nav-icon { color: var(--mwa-teal-text); }
.se-acct__nav li a:hover .se-acct__nav-icon { color: var(--mwa-ink); }
.se-acct__nav li.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--mwa-line) !important;
}
.se-acct__nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--mwa-body) !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Screens ----------------------------------------------------------------- */
/* WooCommerce's stock myaccount CSS floats the content at 68%; inside our
   grid that left a third of the row empty on every screen. */
.se-acct__content { min-width: 0; width: 100% !important; float: none !important; margin: 0 !important; }
/* Forms read badly at full width; the lists and order detail use all of it. */
.se-acct__content .se-acct__form { max-width: 860px; }
.se-acct__screen { display: flex; flex-direction: column; gap: 28px; }
.se-acct__head { display: flex; flex-direction: column; gap: 6px; }
.se-acct__head h1 {
  font-family: var(--mwa-display);
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
}
.se-acct__head p { margin: 0; font-size: 15px; color: var(--mwa-body); }

.se-acct__note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 4px;
  background: var(--mwa-teal-tint);
  font-size: 14px;
  line-height: 1.55;
}
.se-acct__note--warn { background: var(--mwa-warn); }
.se-acct__note--plain { display: block; margin: 16px 0 0; background: var(--mwa-sand); color: var(--mwa-body); }
.se-acct__note--plain b { display: block; color: var(--mwa-ink); }
.se-acct__note svg { color: var(--mwa-teal-text); margin-top: 1px; }
.se-acct__note > span { display: flex; flex-direction: column; gap: 2px; }
.se-acct__note > span > span { color: var(--mwa-body); }
.se-acct__note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.se-acct__block { display: flex; flex-direction: column; gap: 12px; }
.se-acct__block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.se-acct__block-head h2 { font-size: 19px; font-weight: 800; }
.se-acct__block-head a { color: var(--mwa-ink) !important; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Order rows -------------------------------------------------------------- */
.se-acct__rows { border-top: 1px solid var(--mwa-line); }
.se-acct__row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto 128px;
  gap: 20px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--mwa-line);
  color: var(--mwa-ink) !important;
}
.se-acct__row:hover { background: #fafafa; }
.se-acct__row[hidden] { display: none !important; }
.se-acct__row img { width: 52px; height: 52px; border-radius: 4px; background: var(--mwa-sand); object-fit: contain; }
.se-acct__row-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.se-acct__row-copy b { font-size: 15px; font-weight: 700; }
.se-acct__row-copy span { font-size: 13px; color: var(--mwa-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-acct__row-date { font-size: 14px; color: var(--mwa-body); white-space: nowrap; }
.se-acct__row-total { font-size: 14px; font-weight: 700; text-align: right; white-space: nowrap; }

.se-acct__pill {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--mwa-ink);
}

.se-acct__empty {
  border: 1px solid var(--mwa-line);
  border-radius: 4px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.se-acct__empty b { font-size: 17px; font-weight: 800; }
.se-acct__empty span { max-width: 360px; font-size: 14px; color: var(--mwa-body); line-height: 1.6; }
.se-acct__none { margin: 0; padding: 28px 0; font-size: 15px; color: var(--mwa-body); text-align: center; }

.se-acct__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.se-acct__tile {
  padding: 18px 20px;
  border: 1px solid var(--mwa-line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--mwa-ink) !important;
}
.se-acct__tile:hover { border-color: var(--mwa-ink); }
.se-acct__tile b { font-size: 15px; font-weight: 800; }
.se-acct__tile span { font-size: 13px; line-height: 1.5; color: var(--mwa-body); }

/* Orders: filters + search ------------------------------------------------ */
.se-acct__tools { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.se-acct__filters { display: flex; gap: 6px; flex-wrap: wrap; }
.se-acct__filter {
  font: inherit;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--mwa-line);
  border-radius: 999px !important;
  background: #fff;
  color: var(--mwa-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.se-acct__filter.is-on { border-color: var(--mwa-ink); background: var(--mwa-ink); color: #fff; }
/* The portal ships its own copy: se-checkout.css (where this utility also
   lives) does not load on account pages. */
.se-acct .se-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.se-acct__search { display: flex; }
.se-acct__search input {
  height: 40px;
  width: 260px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid var(--mwa-input);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 14px;
}

/* Order detail ------------------------------------------------------------ */
.se-acct__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--mwa-ink) !important;
  font-size: 14px;
  font-weight: 700;
}
.se-acct__order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.se-acct__order-title { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.se-acct__order-title h1 {
  font-family: var(--mwa-display);
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.05;
}
.se-acct__order-sub { font-size: 14px; color: var(--mwa-body); }
.se-acct__order-acts { display: flex; gap: 8px; flex-wrap: wrap; }

.se-acct__order-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.se-acct__order-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.se-acct__order-side { flex: 1 1 260px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }

.se-acct__panel { border: 1px solid var(--mwa-line); border-radius: 4px; padding: 20px; }
.se-acct__panel h2 { margin: 0 0 16px; font-size: 17px; font-weight: 800; }
.se-acct__panel-note { margin: -8px 0 16px; font-size: 13px; color: var(--mwa-body); }
.se-acct__track { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.se-acct__track > span { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.se-acct__track > span > span { display: flex; flex-direction: column; gap: 2px; }
.se-acct__track b { font-size: 15px; font-weight: 800; }
.se-acct__track span span span { font-size: 13px; color: var(--mwa-body); }

.se-acct__steps { display: flex; flex-direction: column; }
.se-acct__step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.se-acct__step-rail { display: flex; flex-direction: column; align-items: center; }
.se-acct__step-mark {
  width: 26px;
  height: 26px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--mwa-body);
  font-size: 11px;
  font-weight: 800;
}
.se-acct__step.is-done .se-acct__step-mark { background: var(--mwa-teal-text); color: #fff; }
.se-acct__step.is-now .se-acct__step-mark { background: var(--mwa-ink); color: #fff; }
.se-acct__step.is-next .se-acct__step-mark { border: 1.5px solid var(--mwa-input); }
.se-acct__step-line { flex: 1; width: 2px; min-height: 14px; background: var(--mwa-line); }
.se-acct__step.is-done .se-acct__step-line { background: var(--mwa-teal-text); }
.se-acct__step.is-last .se-acct__step-line { display: none; }
.se-acct__step-body { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 3px 0 16px; }
.se-acct__step-body b { font-size: 14px; font-weight: 700; }
.se-acct__step.is-next .se-acct__step-body b { font-weight: 600; color: var(--mwa-body); }
.se-acct__step-body span { font-size: 13px; color: var(--mwa-body); }

.se-acct__items { display: flex; flex-direction: column; gap: 16px; }
.se-acct__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--mwa-line-soft); }
.se-acct__item-img { width: 72px; height: 72px; border-radius: 4px; background: var(--mwa-sand); overflow: hidden; }
.se-acct__item-img img { width: 100%; height: 100%; object-fit: contain; }
.se-acct__item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.se-acct__item-body b { font-size: 15px; font-weight: 700; }
.se-acct__item-qty { font-size: 13px; color: var(--mwa-body); }
.se-acct__item-total { font-size: 15px; font-weight: 700; white-space: nowrap; }
.se-acct__item .wc-item-meta, .se-acct__item .wc-item-meta li { margin: 0; padding: 0; font-size: 13px; color: var(--mwa-body); }
.se-acct__item .wc-item-meta p { margin: 0; display: inline; }

.se-acct__totals { margin: 16px 0 0; margin-left: auto; width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.se-acct__totals > div { display: flex; justify-content: space-between; gap: 16px; }
.se-acct__totals dt { margin: 0; color: var(--mwa-body); }
.se-acct__totals dd { margin: 0; font-weight: 700; text-align: right; }
.se-acct__totals-grand { border-top: 1px solid var(--mwa-line); padding-top: 10px; align-items: baseline; }
.se-acct__totals-grand dt { color: var(--mwa-ink); font-weight: 700; }
.se-acct__totals-grand dd { font-size: 18px; }

.se-acct__aside-card { background: var(--mwa-sand); border-radius: 4px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; }
.se-acct__aside-card b { font-weight: 800; }
.se-acct__aside-card span, .se-acct__aside-card address { color: var(--mwa-body); }
.se-acct__aside-card address { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-style: normal; }
.se-acct__aside-card a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Addresses --------------------------------------------------------------- */
.se-acct__addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.se-acct__address { border: 1px solid var(--mwa-line); border-radius: 4px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.se-acct__address.is-empty { border-style: dashed; }
.se-acct__address-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.se-acct__address-head b { font-size: 15px; font-weight: 800; }
.se-acct__address-text { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 14px; line-height: 1.6; color: var(--mwa-body); font-style: normal; }
.se-acct__link { margin-top: auto; align-self: flex-start; color: var(--mwa-ink) !important; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Forms ------------------------------------------------------------------- */
.se-acct__form { display: flex; flex-direction: column; gap: 20px; }
/* Two columns, and only the name pair shares a row: auto-fit made a third
   column at this width, so every field stopped two thirds of the way across
   its own card. */
.se-acct__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.se-acct__fields > .form-row { grid-column: 1 / -1; }
.se-acct__fields > #billing_first_name_field,
.se-acct__fields > #billing_last_name_field,
.se-acct__fields > #shipping_first_name_field,
.se-acct__fields > #shipping_last_name_field,
.se-acct__fields > .form-row-first,
.se-acct__fields > .form-row-last { grid-column: span 1; }
.se-acct__fields input,
.se-acct__fields select,
.se-acct__fields textarea,
.se-acct__fields .select2-container { width: 100% !important; max-width: none !important; }
.se-acct__fields .form-row { margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; display: flex; flex-direction: column; gap: 6px; }
.se-acct__fields .form-row-wide, .se-acct__field--wide { grid-column: 1 / -1 !important; }
.se-acct__fields label { font-size: 13px; font-weight: 700; }
.se-acct__fields .required { color: var(--mwa-error); text-decoration: none; }
.se-acct__fields input.input-text,
.se-acct__fields input[type='text'],
.se-acct__fields input[type='email'],
.se-acct__fields input[type='tel'],
.se-acct__fields input[type='password'],
.se-acct__fields select,
.se-acct__fields .select2-container .select2-selection--single {
  height: 46px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--mwa-input);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
}
.se-acct__fields span em, .se-acct__fields .description { font-size: 12px; font-style: normal; font-weight: 500; color: var(--mwa-body); }
.se-acct__form-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.se-acct__btn {
  font: inherit;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--mwa-ink) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
}
.se-acct__btn:hover { background: #000 !important; color: #fff !important; }
.se-acct__btn--ghost { border: 1px solid var(--mwa-input) !important; background: #fff !important; color: var(--mwa-ink) !important; }
.se-acct__btn--ghost:hover { background: var(--mwa-sand) !important; color: var(--mwa-ink) !important; }
.se-acct__btn--danger { border: 1px solid var(--mwa-input) !important; background: #fff !important; color: var(--mwa-error) !important; }
.se-acct__btn--teal { background: var(--mwa-teal) !important; color: var(--mwa-ink) !important; letter-spacing: 1.5px; text-transform: uppercase; min-height: 52px; }
.se-acct__btn--teal:hover { background: var(--se-teal-dark, #005f8c) !important; color: var(--mwa-ink) !important; }

.se-acct__pager { display: flex; gap: 8px; flex-wrap: wrap; }

/* Login / join ------------------------------------------------------------ */
/* One column, centred. The perks list beside it was selling an account to
   someone already signing in. */
.se-acct--login .se-acct__login {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.se-acct__brand { display: flex; justify-content: center; }
.se-acct__brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none !important;
}

.se-acct__brand-logo {
  width: auto !important;
  max-width: 150px !important;
  height: auto !important;
  margin: 0 !important;
  display: block;
}

/* Standing in for the logo, so it carries the weight a logo would. */
.se-acct__brand-name {
  font-family: var(--mwa-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--mwa-ink);
}

.se-acct__login-card {
  border: 1px solid var(--mwa-line-soft);
  border-radius: 4px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.se-acct__login-head { display: flex; flex-direction: column; gap: 6px; }
.se-acct__login-card h1 {
  margin: 0 !important;
  font-family: var(--mwa-display);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 30px;
  line-height: 1.15;
  color: var(--mwa-ink);
}
.se-acct__login-head p { margin: 0 !important; font-size: 14px; line-height: 1.6; color: var(--mwa-copy); }

/* Segmented control rather than a pair of buttons: it reads as one choice. */
.se-acct__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--mwa-line-soft);
  border-radius: 4px;
  background: var(--mwa-sand, #f6f6f6);
}
.se-acct__tab {
  font: inherit;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background: none;
  color: var(--mwa-copy);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.se-acct__tab.is-on { background: #fff; color: var(--mwa-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }

.se-acct__login-card [data-se-auth-panel] { display: flex; flex-direction: column; gap: 14px; }
.se-acct__login-card [data-se-auth-panel][hidden] { display: none !important; }
/* Themes margin forms and buttons generously — 30px around the form and 50px
   above the submit here — which on a card this size reads as a layout fault.
   The card's own gaps are the spacing. */
.se-acct__login-card .se-acct__form { margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.se-acct__login-card .se-acct__form > p,
.se-acct__login-card .se-acct__form > div,
.se-acct__login-card .se-acct__btn { margin: 0 !important; }
.se-acct__login-card .form-row {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.se-acct__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.se-acct__login-card label {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mwa-ink);
}
.se-acct__login-card input[type='text'],
.se-acct__login-card input[type='email'],
.se-acct__login-card input[type='password'] {
  width: 100%;
  height: 48px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid var(--mwa-input);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--mwa-ink);
  box-shadow: none;
}
.se-acct__login-card input:focus { border-color: var(--mwa-ink); outline: none; }

/* Password reveal: typing a password you cannot see is how people end up
   locked out of an account they just made. */
.se-acct__pw { position: relative; display: block; }
.se-acct__pw input { padding-right: 44px !important; }
.se-acct__pw-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--mwa-muted);
  cursor: pointer;
}
.se-acct__pw-toggle:hover { color: var(--mwa-ink); }
.se-acct__pw-toggle.is-on { color: var(--mwa-teal-text); }

.se-acct__hint { margin: 0 !important; font-size: 12.5px; color: var(--mwa-muted); }
.se-acct__login-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 13.5px; }
.se-acct__login-card .se-acct__btn { width: 100%; }

.se-acct__alt { margin: 0 !important; font-size: 13.5px; line-height: 1.6; color: var(--mwa-copy); text-align: center; }
.se-acct__textbtn {
  font: inherit;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mwa-teal-text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.se-acct__secure {
  margin: 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--mwa-line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--mwa-muted);
}

/* Spacing, stated outright.
 *
 * Themes set margins on forms, paragraphs, labels and submit buttons from
 * several directions, and every one of them lands inside this card. Rather
 * than chase each rule, the card declares its own geometry once and loudly:
 * the flex gaps are the spacing, and nothing inside contributes a margin. */
html body .se-acct__login-card {
  padding: 24px !important;
  gap: 14px !important;
}

html body .se-acct__login-card [data-se-auth-panel] { gap: 14px !important; }
html body .se-acct__login-card .se-acct__login-head { gap: 4px !important; }
html body .se-acct__login-card .se-acct__form { gap: 10px !important; }
html body .se-acct__login-card .se-acct__form > *,
html body .se-acct__login-card .se-acct__login-head > *,
html body .se-acct__login-card .se-acct__pair > * { margin: 0 !important; }
html body .se-acct__login-card .form-row { gap: 0 !important; }
html body .se-acct__login-card .form-row > label { margin: 0 0 5px !important; }
html body .se-acct__login-card .se-acct__login-head p { padding: 0 !important; }

/* WooCommerce and its add-ons print empty paragraphs and wrappers into these
   forms — honeypots, privacy-text slots, hook leftovers — and an empty block
   with the theme's padding on it still occupies a strip of card. If it has
   nothing in it, it takes no room. Inputs and buttons are void elements and
   match :empty too, hence naming the containers rather than using *. */
html body .se-acct__login-card p:empty,
html body .se-acct__login-card div:empty,
html body .se-acct__login-card span:empty,
html body .se-acct__login-card fieldset:empty { display: none !important; }
html body .se-acct__login-card .se-acct__pair { gap: 12px !important; margin: 0 !important; }
html body .se-acct__login-card .se-acct__hint { margin: 2px 0 0 !important; padding: 0 !important; }
html body .se-acct__login-card .se-acct__login-row { margin: 2px 0 !important; }
html body .se-acct__login-card .se-acct__alt { margin: 0 !important; padding: 0 !important; }
html body .se-acct__login-card .se-acct__secure { margin: 2px 0 0 !important; padding-top: 14px !important; }
html body .se-acct__login-card .se-acct__btn { margin: 2px 0 0 !important; min-height: 50px; }
html body .se-acct__login-card h1 { margin: 0 !important; }
html body .se-acct__login-card label { margin: 0 !important; }
html body .se-acct__login-card p { margin: 0 !important; }
html body .se-acct__login-card input { margin: 0 !important; }


@media (max-width: 880px) {
  .se-acct--login .se-acct__login { padding: 32px 18px 64px; gap: 16px; }
  .se-acct__pair { grid-template-columns: minmax(0, 1fr); }
}

