/*
 * Nusatera account experience.
 * Presentation only: WooCommerce, WordPress and Dokan remain authoritative.
 */

body.nusa-account-login,
body.nusa-account-dashboard {
  --nusa-account-paper: #f6f1ea;
  --nusa-account-panel: #fbf8f3;
  --nusa-account-white: #fffdf9;
  --nusa-account-ink: #1d1a17;
  --nusa-account-muted: #6f685f;
  --nusa-account-line: rgba(43, 35, 28, .16);
  --nusa-account-line-strong: rgba(43, 35, 28, .28);
  --nusa-account-red: #8a1321;
  --nusa-account-red-dark: #70101b;
  --nusa-account-shadow: 0 18px 60px rgba(55, 41, 28, .08);
  --nusa-account-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --nusa-account-sans: Inter, Arial, sans-serif;
  background: var(--nusa-account-paper);
  color: var(--nusa-account-ink);
}

body.nusa-account-login *,
body.nusa-account-login *::before,
body.nusa-account-login *::after,
body.nusa-account-dashboard *,
body.nusa-account-dashboard *::before,
body.nusa-account-dashboard *::after {
  box-sizing: border-box;
}

body.nusa-account-login main,
body.nusa-account-login .wp-site-blocks > main,
body.nusa-account-dashboard main,
body.nusa-account-dashboard .wp-site-blocks > main {
  margin: 0 !important;
  padding: 0 !important;
}

body.nusa-account-login .wp-block-post-content,
body.nusa-account-login .wp-block-post-content.is-layout-constrained,
body.nusa-account-login .wp-block-post-content > .woocommerce,
body.nusa-account-dashboard .wp-block-post-content,
body.nusa-account-dashboard .wp-block-post-content.is-layout-constrained,
body.nusa-account-dashboard .wp-block-post-content > .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.nusa-account-login .woocommerce {
  display: grid;
  grid-template-columns: minmax(360px, 44%) minmax(500px, 56%);
  min-height: 100svh;
  background: var(--nusa-account-panel);
}

body.nusa-account-login .nusa-account-hero {
  grid-column: 1;
  grid-row: 1 / span 6;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #211b17;
}

body.nusa-account-login .nusa-account-brand {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  padding: clamp(30px, 3.5vw, 58px);
  isolation: isolate;
  color: #fffaf2;
}

body.nusa-account-login .nusa-account-brand--register {
  display: none;
}

body.nusa-account-login[data-account-view="register"] .nusa-account-brand--login {
  display: none;
}

body.nusa-account-login[data-account-view="register"] .nusa-account-brand--register {
  display: grid;
}

body.nusa-account-login .nusa-account-brand__image,
body.nusa-account-login .nusa-account-brand__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.nusa-account-login .nusa-account-brand__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

body.nusa-account-login .nusa-account-brand__veil {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 13, 10, .34), rgba(18, 13, 10, .12) 34%, rgba(18, 13, 10, .72)),
    linear-gradient(90deg, rgba(18, 13, 10, .26), transparent 60%);
}

body.nusa-account-login .nusa-account-brand--register .nusa-account-brand__veil {
  background:
    linear-gradient(180deg, rgba(26, 31, 28, .22), rgba(22, 27, 24, .18) 38%, rgba(18, 21, 19, .68)),
    linear-gradient(90deg, rgba(16, 18, 16, .18), transparent 58%);
}

body.nusa-account-login .nusa-account-brand__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

body.nusa-account-login .nusa-account-wordmark {
  font: 500 17px/1 var(--nusa-account-serif);
  letter-spacing: .05em;
}

body.nusa-account-login .nusa-account-brand__kicker {
  max-width: 210px;
  font: 500 11px/1.5 var(--nusa-account-sans);
  letter-spacing: .04em;
  text-align: right;
  opacity: .88;
}

body.nusa-account-login .nusa-account-brand__main {
  align-self: center;
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding-block: 48px;
}

body.nusa-account-login .nusa-account-brand__main h1,
body.nusa-account-login .nusa-account-brand__main h2 {
  max-width: 9.5ch;
  margin: 0;
  color: inherit;
  font: 500 clamp(42px, 4.2vw, 68px)/.98 var(--nusa-account-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}

body.nusa-account-login .nusa-account-brand__main p {
  max-width: 360px;
  margin: 28px 0 0;
  color: inherit;
  font: 450 clamp(13px, 1vw, 16px)/1.62 var(--nusa-account-sans);
  opacity: .94;
}

body.nusa-account-login .nusa-account-brand__foot {
  position: relative;
  z-index: 1;
}

body.nusa-account-login .nusa-account-brand__foot > span {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 22px;
  background: currentColor;
  opacity: .84;
}

body.nusa-account-login .nusa-account-brand__foot p {
  margin: 0;
  font: 500 16px/1.35 var(--nusa-account-serif);
}

body.nusa-account-login .nusa-account-tabs {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

body.nusa-account-login #customer_login.u-columns {
  grid-column: 2;
  width: min(100%, 700px) !important;
  max-width: none !important;
  margin: auto !important;
  padding: clamp(48px, 6vh, 80px) clamp(32px, 5.2vw, 82px) !important;
}

body.nusa-account-login #customer_login.u-columns > .u-column1,
body.nusa-account-login #customer_login.u-columns > .u-column2 {
  float: none !important;
  width: 100% !important;
  max-width: 560px;
  margin: 0 auto !important;
}

body.nusa-account-login #customer_login.u-columns > [hidden] {
  display: none !important;
}

body.nusa-account-login .woocommerce form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.nusa-account-login .nusa-account-form-head,
body.nusa-account-login .nusa-account-register-intent,
body.nusa-account-login .nusa-account-register-details {
  width: 100%;
}

body.nusa-account-login .nusa-account-context {
  margin: 0 0 clamp(38px, 5vh, 64px);
  color: var(--nusa-account-muted);
  font: 500 10px/1.4 var(--nusa-account-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: right;
}

body.nusa-account-login .nusa-account-panel-title {
  margin: 0;
  color: var(--nusa-account-ink);
  font: 500 clamp(34px, 3.2vw, 52px)/1.06 var(--nusa-account-serif);
  letter-spacing: -.035em;
}

body.nusa-account-login .nusa-account-form-intro {
  margin: 10px 0 28px;
  color: #4b453e;
  font: 450 14px/1.55 var(--nusa-account-sans);
}

body.nusa-account-login .woocommerce form .form-row {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body.nusa-account-login .woocommerce form label {
  display: block;
  margin: 0 0 7px;
  color: var(--nusa-account-ink);
  font: 650 12px/1.4 var(--nusa-account-sans);
}

body.nusa-account-login .woocommerce form input.input-text,
body.nusa-account-login .woocommerce form input[type="text"],
body.nusa-account-login .woocommerce form input[type="email"],
body.nusa-account-login .woocommerce form input[type="password"],
body.nusa-account-login .woocommerce form input[type="tel"],
body.nusa-account-login .woocommerce form select,
body.nusa-account-login .woocommerce form textarea {
  width: 100% !important;
  min-height: 48px;
  padding: 12px 13px !important;
  border: 1px solid var(--nusa-account-line-strong) !important;
  border-radius: 3px !important;
  outline: none;
  background: var(--nusa-account-white) !important;
  color: var(--nusa-account-ink) !important;
  box-shadow: none !important;
  font: 450 13px/1.4 var(--nusa-account-sans) !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}

body.nusa-account-login .woocommerce form input:focus,
body.nusa-account-login .woocommerce form select:focus,
body.nusa-account-login .woocommerce form textarea:focus {
  border-color: var(--nusa-account-red) !important;
  box-shadow: 0 0 0 2px rgba(138, 19, 33, .08) !important;
}

body.nusa-account-login .nusa-password-field {
  position: relative;
  display: block;
}

body.nusa-account-login .woocommerce form .show-password-input {
  top: 50% !important;
  right: 10px !important;
  transform: translateY(-50%);
}

body.nusa-account-login .woocommerce-form-login > .form-row:not(.form-row-wide) {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 2px !important;
}

body.nusa-account-login .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: #4e4943;
  font-size: 12px !important;
  font-weight: 500 !important;
}

body.nusa-account-login .woocommerce-form-login__rememberme input {
  width: 14px;
  height: 14px;
  accent-color: var(--nusa-account-red);
}

body.nusa-account-login .woocommerce-LostPassword {
  margin: 0 !important;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

body.nusa-account-login .woocommerce-LostPassword a {
  color: var(--nusa-account-red);
  font: 500 12px/1.4 var(--nusa-account-sans);
  text-underline-offset: 3px;
}

body.nusa-account-login .woocommerce-form-login__submit,
body.nusa-account-login .woocommerce-form-register__submit,
body.nusa-account-login .nusa-account-continue,
body.nusa-account-login .woocommerce button.button {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0 !important;
  padding: 0 22px !important;
  border: 1px solid var(--nusa-account-red) !important;
  border-radius: 3px !important;
  background: var(--nusa-account-red) !important;
  color: #fff !important;
  box-shadow: none !important;
  font: 650 13px/1 var(--nusa-account-sans) !important;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

body.nusa-account-login .woocommerce-form-login__submit:hover,
body.nusa-account-login .woocommerce-form-register__submit:hover,
body.nusa-account-login .nusa-account-continue:hover,
body.nusa-account-login .woocommerce button.button:hover {
  background: var(--nusa-account-red-dark) !important;
  border-color: var(--nusa-account-red-dark) !important;
  transform: translateY(-1px);
}

body.nusa-account-login .nusa-account-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 28px 0 14px;
  color: var(--nusa-account-muted);
  font: 500 10px/1 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-divider::before,
body.nusa-account-login .nusa-account-divider::after {
  content: "";
  height: 1px;
  background: var(--nusa-account-line);
}

body.nusa-account-login .nusa-account-existing {
  margin: 0 !important;
  text-align: center;
  color: var(--nusa-account-muted);
  font: 450 12px/1.5 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-existing a {
  color: var(--nusa-account-red);
  font-weight: 650;
}

body.nusa-account-login .nusa-account-secondary-action {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nusa-account-red);
  border-radius: 3px;
  text-decoration: none;
}

body.nusa-account-login .nusa-account-social {
  margin-top: 28px;
}

body.nusa-account-login .nusa-account-social__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.nusa-account-login .nusa-account-social__options button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--nusa-account-line-strong);
  border-radius: 3px;
  background: var(--nusa-account-white);
  color: #2e2925;
  font: 550 12px/1 var(--nusa-account-sans);
  opacity: .72;
}

body.nusa-account-login .nusa-account-social__options button small {
  position: absolute;
  top: 3px;
  right: 5px;
  color: var(--nusa-account-muted);
  font-size: 8px;
  letter-spacing: .02em;
}

body.nusa-account-login .nusa-account-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 42px;
  color: var(--nusa-account-muted);
  font: 500 11px/1.4 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-back {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nusa-account-ink);
  font: 550 11px/1.4 var(--nusa-account-sans);
  cursor: pointer;
}

body.nusa-account-login .nusa-account-back:hover {
  color: var(--nusa-account-red);
}

body.nusa-account-login .nusa-account-role-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

body.nusa-account-login .nusa-account-role {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 22px;
  min-height: 86px;
  align-items: center;
  gap: 16px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--nusa-account-line);
  border-radius: 4px;
  background: rgba(255, 253, 249, .66);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

body.nusa-account-login .nusa-account-role:hover,
body.nusa-account-login .nusa-account-role:focus-within {
  border-color: rgba(138, 19, 33, .44);
  background: var(--nusa-account-white);
}

body.nusa-account-login .nusa-account-role.is-selected {
  border-color: var(--nusa-account-red);
  background: #fffaf7;
  box-shadow: inset 3px 0 0 var(--nusa-account-red);
}

body.nusa-account-login .nusa-account-role > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.nusa-account-login .nusa-account-role img {
  width: 80px;
  height: 68px;
  object-fit: cover;
  border-radius: 2px;
}

body.nusa-account-login .nusa-account-role__text {
  min-width: 0;
}

body.nusa-account-login .nusa-account-role__text strong,
body.nusa-account-login .nusa-account-role__text small {
  display: block;
}

body.nusa-account-login .nusa-account-role__text strong {
  margin-bottom: 5px;
  color: var(--nusa-account-ink);
  font: 600 15px/1.2 var(--nusa-account-serif);
}

body.nusa-account-login .nusa-account-role__text small {
  color: var(--nusa-account-muted);
  font: 450 11px/1.45 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-role__indicator {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #8c857d;
  border-radius: 50%;
}

body.nusa-account-login .nusa-account-role.is-selected .nusa-account-role__indicator {
  border-color: var(--nusa-account-red);
}

body.nusa-account-login .nusa-account-role.is-selected .nusa-account-role__indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nusa-account-red);
}

body.nusa-account-login .nusa-account-roles__note {
  margin: 14px 0 0;
  color: var(--nusa-account-muted);
  font: 450 10px/1.45 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-feedback {
  margin: 12px 0 0;
  color: var(--nusa-account-muted);
  font: 500 11px/1.45 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-selection-summary {
  margin: 24px 0;
}

body.nusa-account-login .nusa-account-selection-summary > p {
  margin: 0 0 8px;
  color: var(--nusa-account-ink);
  font: 650 11px/1.4 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-selection-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid var(--nusa-account-line);
  border-radius: 4px;
  background: rgba(255, 253, 249, .7);
}

body.nusa-account-login .nusa-account-selection-card img {
  width: 58px;
  height: 50px;
  object-fit: cover;
  border-radius: 2px;
}

body.nusa-account-login .nusa-account-selection-card span strong,
body.nusa-account-login .nusa-account-selection-card span small {
  display: block;
}

body.nusa-account-login .nusa-account-selection-card span strong {
  font: 600 13px/1.2 var(--nusa-account-serif);
}

body.nusa-account-login .nusa-account-selection-card span small {
  margin-top: 3px;
  color: var(--nusa-account-muted);
  font: 450 10px/1.35 var(--nusa-account-sans);
}

body.nusa-account-login .nusa-account-selection-card button {
  border: 0;
  background: transparent;
  color: var(--nusa-account-red);
  font: 600 10px/1 var(--nusa-account-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.nusa-account-login .woocommerce-form-register .dokan-role,
body.nusa-account-login .woocommerce-form-register .form-row:has(input[name="role"]),
body.nusa-account-login .woocommerce-form-register input[name="nusatera_publish_interest"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}



/* Intent-aware native Dokan field visibility. */
body.nusa-account-login .woocommerce-form-register:not([data-nusa-intent="seller"]) .show_if_seller {
  display: none !important;
}

body.nusa-account-login .woocommerce-notices-wrapper:empty {
  display: none !important;
}

body.nusa-account-login .woocommerce-notices-wrapper {
  grid-column: 2;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 18px 40px 0;
  align-self: end;
}

body.nusa-account-login .woocommerce .woocommerce-error,
body.nusa-account-login .woocommerce .woocommerce-message,
body.nusa-account-login .woocommerce .woocommerce-info,
body.nusa-account-dashboard .woocommerce .woocommerce-error,
body.nusa-account-dashboard .woocommerce .woocommerce-message,
body.nusa-account-dashboard .woocommerce .woocommerce-info {
  margin: 0 0 16px !important;
  padding: 13px 15px !important;
  border-top-width: 1px !important;
  border-radius: 3px !important;
  font: 500 12px/1.5 var(--nusa-account-sans) !important;
  box-shadow: none !important;
}

body.nusa-account-login .woocommerce .woocommerce-error,
body.nusa-account-dashboard .woocommerce .woocommerce-error {
  border: 1px solid #d9aaa5 !important;
  background: #fff5f3 !important;
  color: #6b322e !important;
}

body.nusa-account-login .woocommerce .woocommerce-message,
body.nusa-account-dashboard .woocommerce .woocommerce-message {
  border: 1px solid #b9cbb8 !important;
  background: #f3f7f2 !important;
  color: #35503a !important;
}

body.nusa-account-login .woocommerce .woocommerce-info,
body.nusa-account-dashboard .woocommerce .woocommerce-info {
  border: 1px solid #d7c5a5 !important;
  background: #faf5ec !important;
  color: #5b4930 !important;
}

body.nusa-account-login .woocommerce .woocommerce-error::before,
body.nusa-account-login .woocommerce .woocommerce-message::before,
body.nusa-account-login .woocommerce .woocommerce-info::before,
body.nusa-account-dashboard .woocommerce .woocommerce-error::before,
body.nusa-account-dashboard .woocommerce .woocommerce-message::before,
body.nusa-account-dashboard .woocommerce .woocommerce-info::before {
  display: none !important;
}

/* Lost password and reset-password states */
body.nusa-account-recovery .woocommerce {
  min-height: 100vh;
}

body.nusa-account-recovery .nusa-account-recovery-hero {
  grid-column: 1;
  grid-row: 1 / span 6;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #211b17;
}

body.nusa-account-recovery .nusa-account-brand--recovery {
  display: grid;
}

body.nusa-account-recovery .nusa-account-brand--recovery .nusa-account-brand__veil {
  background:
    linear-gradient(180deg, rgba(24, 22, 19, .28), rgba(18, 17, 15, .14) 35%, rgba(16, 15, 13, .72)),
    linear-gradient(90deg, rgba(15, 14, 12, .24), transparent 60%);
}

body.nusa-account-recovery .nusa-account-recovery-head,
body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword,
body.nusa-account-recovery .nusa-account-recovery-back {
  grid-column: 2;
  width: min(100%, 560px);
  margin-inline: auto;
}

body.nusa-account-recovery .nusa-account-recovery-head {
  align-self: end;
  padding: clamp(64px, 9vh, 110px) 40px 16px;
}

body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword {
  align-self: start;
  margin-top: 0;
  padding: 0 40px 12px;
}

body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword > p:first-child:not(.woocommerce-form-row) {
  display: none;
}

body.nusa-account-recovery .woocommerce-ResetPassword .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 18px !important;
}

body.nusa-account-recovery .woocommerce-ResetPassword label {
  display: block;
  margin: 0 0 8px;
  color: var(--nusa-account-ink);
  font: 600 11px/1.35 var(--nusa-account-sans);
}

body.nusa-account-recovery .woocommerce-ResetPassword input[type="text"],
body.nusa-account-recovery .woocommerce-ResetPassword input[type="password"] {
  width: 100% !important;
  min-height: 48px;
  padding: 0 14px !important;
  border: 1px solid var(--nusa-account-line-strong) !important;
  border-radius: 2px !important;
  background: var(--nusa-account-white) !important;
  color: var(--nusa-account-ink) !important;
  box-shadow: none !important;
  font: 450 13px/1.4 var(--nusa-account-sans) !important;
}

body.nusa-account-recovery .woocommerce-ResetPassword input:focus {
  outline: 2px solid rgba(138, 19, 33, .18) !important;
  outline-offset: 1px;
  border-color: var(--nusa-account-red) !important;
}

body.nusa-account-recovery .woocommerce-ResetPassword button[type="submit"] {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  border: 1px solid var(--nusa-account-red) !important;
  border-radius: 2px !important;
  background: var(--nusa-account-red) !important;
  color: #fff !important;
  font: 600 12px/1 var(--nusa-account-sans) !important;
}

body.nusa-account-recovery .woocommerce-ResetPassword button[type="submit"]:hover {
  background: var(--nusa-account-red-dark) !important;
  border-color: var(--nusa-account-red-dark) !important;
}

body.nusa-account-recovery .nusa-account-recovery-back {
  align-self: start;
  margin-top: 0;
  margin-bottom: auto;
  padding: 0 40px clamp(48px, 7vh, 84px);
}

body.nusa-account-recovery .nusa-account-recovery-back a {
  color: var(--nusa-account-red);
  font: 550 11px/1.4 var(--nusa-account-sans);
  text-underline-offset: 3px;
}

/* Logged-in My Account */
body.nusa-account-dashboard .woocommerce {
  width: min(1180px, calc(100% - 48px));
  margin: 56px auto 80px !important;
}

body.nusa-account-dashboard .woocommerce::before {
  content: "My Account";
  display: block;
  margin: 0 0 30px;
  color: var(--nusa-account-ink);
  font: 500 clamp(36px, 4vw, 54px)/1 var(--nusa-account-serif);
  letter-spacing: -.035em;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation {
  float: left !important;
  width: 30% !important;
  padding-right: 34px;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content {
  float: right !important;
  width: 70% !important;
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--nusa-account-line);
  border-radius: 5px;
  background: var(--nusa-account-white);
  box-shadow: var(--nusa-account-shadow);
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--nusa-account-line);
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  color: var(--nusa-account-ink);
  font: 550 13px/1.3 var(--nusa-account-sans);
  text-decoration: none;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation a::after {
  content: "›";
  color: #7d756d;
  font-size: 20px;
  line-height: 1;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation .is-active a {
  color: var(--nusa-account-red);
}

body.nusa-account-dashboard .woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
  font: 450 15px/1.65 var(--nusa-account-sans);
}

body.nusa-account-dashboard .woocommerce-MyAccount-content h2,
body.nusa-account-dashboard .woocommerce-MyAccount-content h3 {
  font-family: var(--nusa-account-serif);
  font-weight: 500;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content .button,
body.nusa-account-dashboard .woocommerce-MyAccount-content button {
  border-radius: 3px !important;
  background: var(--nusa-account-red) !important;
  color: #fff !important;
}


/* === Nusatera dashboard refinement === */
body.nusa-account-dashboard .woocommerce {
  position: relative;
}

body.nusa-account-dashboard .woocommerce::before {
  content: "Your Nusatera";
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation {
  padding: 18px !important;
  border: 1px solid var(--nusa-account-line);
  border-radius: 5px;
  background: rgba(255, 253, 249, .58);
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation li {
  border-bottom: 0;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation a {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 3px;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation a:hover {
  background: rgba(138, 19, 33, .055);
  color: var(--nusa-account-red);
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation .is-active a {
  background: rgba(138, 19, 33, .075);
  color: var(--nusa-account-red);
}

body.nusa-account-dashboard .woocommerce-MyAccount-content {
  line-height: 1.65;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content a:not(.button) {
  color: var(--nusa-account-red);
  text-underline-offset: 3px;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--nusa-account-line);
  background: #fffdf9;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content th,
body.nusa-account-dashboard .woocommerce-MyAccount-content td {
  padding: 13px 14px !important;
  border-bottom: 1px solid var(--nusa-account-line) !important;
  text-align: left;
  font: 450 12px/1.45 var(--nusa-account-sans);
}

body.nusa-account-dashboard .woocommerce-MyAccount-content th {
  color: var(--nusa-account-muted);
  font-weight: 650;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content input.input-text,
body.nusa-account-dashboard .woocommerce-MyAccount-content input[type="text"],
body.nusa-account-dashboard .woocommerce-MyAccount-content input[type="email"],
body.nusa-account-dashboard .woocommerce-MyAccount-content input[type="password"],
body.nusa-account-dashboard .woocommerce-MyAccount-content select,
body.nusa-account-dashboard .woocommerce-MyAccount-content textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px !important;
  border: 1px solid var(--nusa-account-line-strong) !important;
  border-radius: 2px !important;
  background: #fffdf9 !important;
  box-shadow: none !important;
}

/* Native WooCommerce headings are functionally redundant with Nusatera presentation headings. */
body.nusa-account-login #customer_login > .u-column1 > h2,
body.nusa-account-login #customer_login > .u-column2 > h2 {
  display: none !important;
}

/* Reuse the normal Nusatera mobile navigation exactly as defined in presentation.css.
 * The focused account shell hides the site header only above the native mobile breakpoint.
 */
@media (min-width: 821px) {
  body.nusa-account-login .nusatera-foundation-header.nusa-header-v2 {
    display: none !important;
  }
}


body.nusa-account-login .nusa-account-context-back {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 22px;
  color: var(--nusa-account-muted);
  font: 550 12px/1.3 var(--nusa-account-sans);
  text-decoration: none;
}

body.nusa-account-login .nusa-account-context-back:hover,
body.nusa-account-login .nusa-account-context-back:focus-visible {
  color: var(--nusa-account-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Nusatera account responsive foundation
   One structural collapse only: split >= 900px, stacked < 900px
   ============================================================ */

@media (max-width: 899px) {
  body.nusa-account-login {
    background: var(--nusa-account-panel);
  }

  body.nusa-account-login .woocommerce {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: var(--nusa-account-panel);
  }

  /* Login / registration: task first, brand story second. */
  body.nusa-account-login #customer_login.u-columns {
    order: 1;
    width: min(100%, 680px) !important;
    margin: 0 auto !important;
    padding:
      clamp(30px, 7vw, 58px)
      clamp(20px, 6vw, 46px)
      clamp(40px, 8vw, 68px) !important;
  }

  body.nusa-account-login #customer_login.u-columns::before {
    content: "NUSATERA";
    display: block;
    margin: 0 0 clamp(30px, 7vw, 50px);
    color: var(--nusa-account-ink);
    font: 500 14px/1 var(--nusa-account-serif);
    letter-spacing: .16em;
    text-align: center;
  }

  body.nusa-account-login .nusa-account-context {
    display: none;
  }

  body.nusa-account-login .nusa-account-panel-title {
    font-size: clamp(32px, 5.5vw, 42px);
  }

  body.nusa-account-login .nusa-account-form-intro {
    margin: 8px 0 clamp(22px, 4vw, 28px);
    font-size: clamp(12px, 1.8vw, 14px);
  }

  body.nusa-account-login .nusa-account-hero {
    order: 2;
    width: 100%;
    min-height: clamp(220px, 42vw, 340px);
  }

  body.nusa-account-login .nusa-account-brand {
    min-height: 100%;
    padding: clamp(22px, 5vw, 38px) clamp(20px, 6vw, 48px);
  }

  body.nusa-account-login .nusa-account-brand__top,
  body.nusa-account-login .nusa-account-brand__main > p,
  body.nusa-account-login .nusa-account-brand__foot {
    display: none;
  }

  body.nusa-account-login .nusa-account-brand__main {
    align-self: end;
    max-width: min(72vw, 560px);
    padding: 0;
  }

  body.nusa-account-login .nusa-account-brand__main h1,
body.nusa-account-login .nusa-account-brand__main h2 {
    max-width: 13ch;
    font-size: clamp(30px, 7vw, 50px);
    line-height: 1;
  }

  /* Notices belong to the task column, not the brand panel. */
  body.nusa-account-login .woocommerce-notices-wrapper {
    order: 0;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: clamp(18px, 4vw, 30px) clamp(20px, 6vw, 46px) 0;
  }

  /* Registration cards scale continuously instead of jumping at 640px. */
  body.nusa-account-login .nusa-account-role {
    grid-template-columns: clamp(60px, 10vw, 76px) minmax(0, 1fr) 18px;
    min-height: clamp(78px, 12vw, 88px);
    gap: clamp(10px, 2vw, 16px);
    padding: 8px 10px 8px 8px;
  }

  body.nusa-account-login .nusa-account-role img {
    width: 100%;
    height: clamp(60px, 9vw, 68px);
  }

  body.nusa-account-login .nusa-account-selection-card {
    grid-template-columns: clamp(48px, 8vw, 58px) minmax(0, 1fr) auto;
  }

  /* Recovery follows the exact same stacked shell. */
  body.nusa-account-recovery .nusa-account-recovery-head {
    order: 1;
    width: min(100%, 680px);
    margin: 0 auto;
    padding:
      clamp(30px, 7vw, 58px)
      clamp(20px, 6vw, 46px)
      14px;
  }

  body.nusa-account-recovery .nusa-account-recovery-head::before {
    content: "NUSATERA";
    display: block;
    margin: 0 0 clamp(30px, 7vw, 50px);
    color: var(--nusa-account-ink);
    font: 500 14px/1 var(--nusa-account-serif);
    letter-spacing: .16em;
    text-align: center;
  }

  body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword {
    order: 2;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 0 clamp(20px, 6vw, 46px) 10px;
  }

  body.nusa-account-recovery .nusa-account-recovery-back {
    order: 3;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 0 clamp(20px, 6vw, 46px) clamp(38px, 8vw, 64px);
  }

  body.nusa-account-recovery .nusa-account-recovery-hero {
    order: 4;
    width: 100%;
    min-height: clamp(220px, 42vw, 340px);
  }

  body.nusa-account-recovery .nusa-account-brand__main h1 {
    max-width: 10ch;
    font-size: clamp(30px, 7vw, 50px);
  }

  /* Logged-in My Account collapses once, using horizontal account navigation at all compact widths. */
  body.nusa-account-dashboard .woocommerce {
    width: min(100% - clamp(28px, 6vw, 48px), 820px);
    margin: clamp(28px, 6vw, 52px) auto 64px !important;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation,
  body.nusa-account-dashboard .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation {
    overflow-x: auto;
    margin: 0 0 18px !important;
    padding: 8px !important;
    scrollbar-width: none;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation::-webkit-scrollbar {
    display: none;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    gap: 4px;
    width: max-content;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation li {
    min-height: 0;
    flex: 0 0 auto;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation a {
    min-height: 40px;
    padding: 0 12px;
    white-space: nowrap;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-navigation a::after {
    display: none;
  }

  body.nusa-account-dashboard .woocommerce-MyAccount-content {
    min-height: 0;
    padding: clamp(20px, 4vw, 30px);
    box-shadow: none;
  }
}

/* Small-screen component tightening only; no structural reorder. */
@media (max-width: 520px) {
  body.nusa-account-login .nusa-account-social__options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.nusa-account-login .woocommerce-form-login > .form-row:not(.form-row-wide) {
    gap: 8px;
  }

  body.nusa-account-login .woocommerce-LostPassword a,
  body.nusa-account-login .woocommerce-form-login__rememberme {
    font-size: 10px !important;
  }

  body.nusa-account-login .nusa-account-step-row {
    margin-bottom: 28px;
    font-size: 10px;
  }

  body.nusa-account-login .nusa-account-role__text strong {
    font-size: 13px;
  }

  body.nusa-account-login .nusa-account-role__text small,
  body.nusa-account-login .nusa-account-selection-card span small {
    font-size: 9px;
  }

  body.nusa-account-dashboard .woocommerce {
    width: 100%;
    margin: 0 !important;
    padding: 28px 18px 48px;
  }

  body.nusa-account-dashboard .woocommerce::before {
    margin-bottom: 20px;
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nusa-account-login *,
  body.nusa-account-login *::before,
  body.nusa-account-login *::after,
  body.nusa-account-dashboard *,
  body.nusa-account-dashboard *::before,
  body.nusa-account-dashboard *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* === Account overflow containment + sticky split panel === */

/*
 * WordPress global padding gives direct alignfull children negative inline
 * margins. That is correct for normal content pages but makes My Account
 * wider than the viewport. Neutralize it only inside account experiences.
 */
body.nusa-account-login,
body.nusa-account-dashboard {
  max-width: 100%;
  overflow-x: clip;
}

body.nusa-account-login main.wp-block-group > .wp-block-group.alignfull,
body.nusa-account-dashboard main.wp-block-group > .wp-block-group.alignfull {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.nusa-account-login main.wp-block-group > .wp-block-group.alignfull > .wp-block-post-content,
body.nusa-account-dashboard main.wp-block-group > .wp-block-group.alignfull > .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
}

/*
 * Footer social cards are a horizontal rail. The rail itself should own that
 * overflow; its children must never widen the document.
 */
body.nusa-account-login .nusa-footer-v6__track,
body.nusa-account-dashboard .nusa-footer-v6__track {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

body.nusa-account-login .nusa-footer-v6__track::-webkit-scrollbar,
body.nusa-account-dashboard .nusa-footer-v6__track::-webkit-scrollbar {
  display: none;
}

/*
 * Split-screen account behavior: the right side drives document height while
 * the cultural panel remains pinned to the viewport. When the .woocommerce
 * account section ends, sticky containment ends naturally and the footer
 * takes over.
 */
@media (min-width: 900px) {
  body.nusa-account-login .woocommerce {
    align-items: start;
  }

  body.nusa-account-login .nusa-account-hero,
  body.nusa-account-recovery .nusa-account-recovery-hero {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    align-self: start;
    grid-row: 1 / span 6;
  }
}

/* === Full-bleed account shell + recovery alignment === */

/* Remove WordPress global inline padding only for account experiences. */
body.nusa-account-login main.wp-block-group > .wp-block-group.alignfull,
body.nusa-account-dashboard main.wp-block-group > .wp-block-group.alignfull {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Recovery uses one centered column in the split desktop layout. */
@media (min-width: 900px) {
  body.nusa-account-recovery .nusa-account-recovery-head,
  body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword,
  body.nusa-account-recovery .nusa-account-recovery-back {
    justify-self: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword {
    box-sizing: border-box !important;
    padding: 0 40px 12px !important;
  }
}

/* === Compact recovery gutter enforcement === */
@media (max-width: 899px) {
  body.nusa-account-recovery .woocommerce > form.woocommerce-ResetPassword {
    box-sizing: border-box !important;
    padding: 0 clamp(20px, 6vw, 46px) 10px !important;
  }
}

/* === Nusatera account typography hierarchy v2 === */
body.nusa-account-login,
body.nusa-account-dashboard {
  --nusa-type-display: clamp(54px, 4.8vw, 72px);
  --nusa-type-title: clamp(42px, 3.4vw, 54px);
  --nusa-type-section: clamp(24px, 2vw, 30px);
  --nusa-type-body-lg: 16px;
  --nusa-type-body: 15px;
  --nusa-type-label: 13px;
  --nusa-type-control: 15px;
  --nusa-type-meta: 12px;
  --nusa-type-micro: 11px;
}

/* Display layer */
body.nusa-account-login .nusa-account-brand__main h1,
body.nusa-account-login .nusa-account-brand__main h2 {
  font-size: var(--nusa-type-display) !important;
  line-height: .98 !important;
  font-weight: 500 !important;
  letter-spacing: -.045em !important;
}

body.nusa-account-login .nusa-account-brand__main > p {
  max-width: 34ch;
  font: 500 var(--nusa-type-body)/1.55 var(--nusa-account-sans) !important;
  letter-spacing: -.005em;
}

body.nusa-account-login .nusa-account-brand__foot p {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.nusa-account-login .nusa-account-context {
  font: 650 11px/1.4 var(--nusa-account-sans) !important;
  letter-spacing: .16em !important;
}

/* Primary task hierarchy */
body.nusa-account-login .nusa-account-panel-title {
  font-size: var(--nusa-type-title) !important;
  line-height: 1.02 !important;
  font-weight: 500 !important;
  letter-spacing: -.038em !important;
  text-wrap: balance;
}

body.nusa-account-login .nusa-account-form-intro {
  max-width: 54ch;
  margin-top: 10px !important;
  color: #514b44 !important;
  font: 450 var(--nusa-type-body)/1.55 var(--nusa-account-sans) !important;
}

/* Form controls */
body.nusa-account-login .woocommerce form label,
body.nusa-account-recovery .woocommerce-ResetPassword label {
  margin-bottom: 7px !important;
  font: 650 var(--nusa-type-label)/1.35 var(--nusa-account-sans) !important;
  letter-spacing: -.005em;
}

body.nusa-account-login .woocommerce form input.input-text,
body.nusa-account-login .woocommerce form input[type="text"],
body.nusa-account-login .woocommerce form input[type="email"],
body.nusa-account-login .woocommerce form input[type="password"],
body.nusa-account-login .woocommerce form input[type="tel"],
body.nusa-account-login .woocommerce form select,
body.nusa-account-login .woocommerce form textarea,
body.nusa-account-recovery .woocommerce-ResetPassword input[type="text"],
body.nusa-account-recovery .woocommerce-ResetPassword input[type="password"] {
  font: 450 var(--nusa-type-control)/1.4 var(--nusa-account-sans) !important;
}

body.nusa-account-login .woocommerce-form-login__rememberme,
body.nusa-account-login .woocommerce-LostPassword a,
body.nusa-account-recovery .nusa-account-recovery-back a {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

body.nusa-account-login .woocommerce-form-login__submit,
body.nusa-account-login .woocommerce-form-register__submit,
body.nusa-account-login .nusa-account-continue,
body.nusa-account-login .woocommerce button.button,
body.nusa-account-recovery .woocommerce-ResetPassword button[type="submit"],
body.nusa-account-login .nusa-account-secondary-action {
  font: 650 13px/1 var(--nusa-account-sans) !important;
  letter-spacing: -.005em;
}

/* Step / navigation / dividers */
body.nusa-account-login .nusa-account-step-row,
body.nusa-account-login .nusa-account-back {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 550 !important;
}

body.nusa-account-login .nusa-account-divider span,
body.nusa-account-login .nusa-account-existing {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.nusa-account-login .nusa-account-social__options button {
  font-size: 12.5px !important;
  font-weight: 550 !important;
}

body.nusa-account-login .nusa-account-social__options button small {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

/* Role choice hierarchy */
body.nusa-account-login .nusa-account-role__text strong {
  margin-bottom: 4px !important;
  font: 600 17px/1.2 var(--nusa-account-serif) !important;
  letter-spacing: -.015em;
}

body.nusa-account-login .nusa-account-role__text small {
  font: 450 13px/1.45 var(--nusa-account-sans) !important;
}

body.nusa-account-login .nusa-account-roles__note,
body.nusa-account-login .nusa-account-feedback {
  font: 450 12px/1.5 var(--nusa-account-sans) !important;
}

body.nusa-account-login .nusa-account-selection-summary > p {
  font: 650 12px/1.4 var(--nusa-account-sans) !important;
}

body.nusa-account-login .nusa-account-selection-card span strong {
  font: 600 14px/1.25 var(--nusa-account-serif) !important;
}

body.nusa-account-login .nusa-account-selection-card span small {
  font: 450 12px/1.4 var(--nusa-account-sans) !important;
}

body.nusa-account-login .nusa-account-selection-card button {
  font: 650 12px/1 var(--nusa-account-sans) !important;
}

/* Native WooCommerce/Dokan supporting copy */
body.nusa-account-login .nusa-account-register-fields > p:not([class]),
body.nusa-account-login .woocommerce-form-register .woocommerce-privacy-policy-text,
body.nusa-account-login .woocommerce-form-register .woocommerce-privacy-policy-text p {
  max-width: 62ch;
  color: #5c554e !important;
  font: 450 13px/1.55 var(--nusa-account-sans) !important;
}

body.nusa-account-login .woocommerce-form-register .woocommerce-privacy-policy-text a {
  font-weight: 600;
  text-underline-offset: 3px;
}

body.nusa-account-login .nusatera-publisher-interest label {
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 550 !important;
}

body.nusa-account-login .show_if_seller small,
body.nusa-account-login .show_if_seller #url-alart-mgs {
  color: var(--nusa-account-muted) !important;
  font: 450 12px/1.45 var(--nusa-account-sans) !important;
}

/* Notices */
body.nusa-account-login .woocommerce .woocommerce-error,
body.nusa-account-login .woocommerce .woocommerce-message,
body.nusa-account-login .woocommerce .woocommerce-info,
body.nusa-account-dashboard .woocommerce .woocommerce-error,
body.nusa-account-dashboard .woocommerce .woocommerce-message,
body.nusa-account-dashboard .woocommerce .woocommerce-info {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

/* Logged-in account */
body.nusa-account-dashboard .woocommerce::before {
  font-size: clamp(42px, 4vw, 54px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.038em !important;
}

body.nusa-account-dashboard .woocommerce-MyAccount-navigation a {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content {
  font: 450 15px/1.65 var(--nusa-account-sans);
}

body.nusa-account-dashboard .woocommerce-MyAccount-content h2 {
  font: 500 28px/1.15 var(--nusa-account-serif) !important;
  letter-spacing: -.025em;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content h3 {
  font: 500 22px/1.2 var(--nusa-account-serif) !important;
  letter-spacing: -.02em;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content label {
  font: 650 13px/1.35 var(--nusa-account-sans) !important;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content input.input-text,
body.nusa-account-dashboard .woocommerce-MyAccount-content input[type="text"],
body.nusa-account-dashboard .woocommerce-MyAccount-content input[type="email"],
body.nusa-account-dashboard .woocommerce-MyAccount-content input[type="password"],
body.nusa-account-dashboard .woocommerce-MyAccount-content select,
body.nusa-account-dashboard .woocommerce-MyAccount-content textarea {
  font: 450 15px/1.4 var(--nusa-account-sans) !important;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content th,
body.nusa-account-dashboard .woocommerce-MyAccount-content td {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.nusa-account-dashboard .woocommerce-MyAccount-content .button,
body.nusa-account-dashboard .woocommerce-MyAccount-content button {
  font: 650 13px/1 var(--nusa-account-sans) !important;
}

@media (max-width: 820px) {
  body.nusa-account-login #customer_login.u-columns::before {
    display: none !important;
    content: none !important;
  }

  body.nusa-account-login .nusa-account-context-back {
    margin-bottom: 18px;
  }
}

/* Compact layouts preserve hierarchy rather than shrinking microcopy below readable sizes. */
@media (max-width: 899px) {
  body.nusa-account-login .nusa-account-panel-title {
    font-size: clamp(36px, 7.2vw, 46px) !important;
  }

  body.nusa-account-login .nusa-account-brand__main h1,
body.nusa-account-login .nusa-account-brand__main h2 {
    font-size: clamp(36px, 8vw, 50px) !important;
  }

  body.nusa-account-login .nusa-account-form-intro {
    font-size: 15px !important;
  }
}

@media (max-width: 520px) {
  body.nusa-account-login .nusa-account-role__text strong {
    font-size: 16px !important;
  }

  body.nusa-account-login .nusa-account-role__text small,
  body.nusa-account-login .nusa-account-selection-card span small {
    font-size: 12px !important;
  }

  body.nusa-account-login .woocommerce-LostPassword a,
  body.nusa-account-login .woocommerce-form-login__rememberme {
    font-size: 12px !important;
  }

  body.nusa-account-login .nusa-account-step-row {
    font-size: 12px !important;
  }
}

/* === Nusatera registration intent cards v3 === */
/* Selection cards use a flush media rail: image left, copy centre, radio right. */
body.nusa-account-login .woocommerce form label.nusa-account-role {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) 18px;
  min-height: 92px;
  align-items: stretch;
  gap: 14px;
  margin: 0 !important;
  padding: 0 14px 0 0;
  overflow: hidden;
  border: 1px solid var(--nusa-account-line);
  border-radius: 6px;
  background: rgba(255, 253, 249, .72);
  color: var(--nusa-account-ink);
  cursor: pointer;
}

body.nusa-account-login .woocommerce form label.nusa-account-role.is-selected {
  border-color: var(--nusa-account-red);
  background: rgba(138, 19, 33, .025);
  box-shadow: 0 0 0 1px rgba(138, 19, 33, .035);
}

body.nusa-account-login .woocommerce form label.nusa-account-role:hover,
body.nusa-account-login .woocommerce form label.nusa-account-role:focus-within {
  border-color: rgba(138, 19, 33, .48);
  background: var(--nusa-account-white);
}

body.nusa-account-login .woocommerce form label.nusa-account-role img {
  display: block;
  width: 88px;
  height: 100%;
  min-height: 92px;
  align-self: stretch;
  border-radius: 5px 0 0 5px;
  object-fit: cover;
}

body.nusa-account-login .woocommerce form label.nusa-account-role .nusa-account-role__text {
  min-width: 0;
  align-self: center;
  padding-block: 10px;
}

body.nusa-account-login .woocommerce form label.nusa-account-role .nusa-account-role__indicator {
  justify-self: end;
  align-self: center;
  margin: 0;
}

@media (max-width: 520px) {
  body.nusa-account-login .woocommerce form label.nusa-account-role {
    grid-template-columns: 76px minmax(0, 1fr) 18px;
    min-height: 84px;
    gap: 12px;
    padding-right: 12px;
  }

  body.nusa-account-login .woocommerce form label.nusa-account-role img {
    width: 76px;
    min-height: 84px;
  }

  body.nusa-account-login .woocommerce form label.nusa-account-role .nusa-account-role__text {
    padding-block: 8px;
  }
}
