
.tcc-customer-phone-auth-active .woocommerce > .u-columns,
.tcc-customer-phone-auth-active .woocommerce > form.woocommerce-form-login,
.tcc-customer-phone-auth-active .woocommerce > .woocommerce-form-login{display:none}
.tcc-customer-phone-auth-active.tcc-customer-legacy-login-visible .woocommerce > .u-columns,
.tcc-customer-phone-auth-active.tcc-customer-legacy-login-visible .woocommerce > form.woocommerce-form-login,
.tcc-customer-phone-auth-active.tcc-customer-legacy-login-visible .woocommerce > .woocommerce-form-login{display:block}
.tcc-customer-auth{max-width:560px;margin:32px auto;padding:32px;border:1px solid rgba(31,55,44,.14);border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(20,35,28,.07)}
.tcc-customer-auth h2{margin:0 0 10px;line-height:1.2;color:#18372c}
.tcc-customer-auth__intro{margin:0 0 24px;color:#68736e;line-height:1.65}
.tcc-customer-auth label{display:block;margin-bottom:8px;font-weight:700;color:#233d33}
.tcc-customer-auth__phone-row{display:grid;grid-template-columns:auto 1fr;border:1px solid #d8dfdc;border-radius:12px;overflow:hidden;background:#fff}
.tcc-customer-auth__country{display:flex;align-items:center;padding:0 14px;border-right:1px solid #e3e8e5;background:#f7f9f8;font-weight:700;color:#334b41}
.tcc-customer-auth input{width:100%;min-height:50px;border:0!important;box-shadow:none!important;padding:0 14px!important;font-size:16px!important}
.tcc-customer-auth__otp{border:1px solid #d8dfdc!important;border-radius:12px!important;text-align:center;letter-spacing:.45em;font-size:22px!important;font-weight:700}
.tcc-customer-auth__primary{width:100%;margin-top:14px;min-height:48px;border-radius:12px!important}
.tcc-customer-auth__sent{font-size:14px;color:#68736e}
.tcc-customer-auth__back,.tcc-customer-auth__resend,.tcc-customer-auth__legacy-toggle{border:0;background:transparent;padding:0;color:#315f4c;cursor:pointer;font-weight:600}
.tcc-customer-auth__back{margin-bottom:18px}
.tcc-customer-auth__resend{margin-top:14px}
.tcc-customer-auth__resend:disabled{opacity:.55;cursor:default}
.tcc-customer-auth__legacy-toggle{display:block;margin:24px auto 0}
.tcc-customer-auth__status{min-height:22px;margin-top:14px;font-size:14px}
.tcc-customer-auth__status.is-error{color:#b42318}
.tcc-customer-auth__status.is-success{color:#217a52}
.tcc-customer-auth__dev{margin-top:14px;padding:10px 12px;border-radius:9px;background:#fff7e7;color:#7b551d;font-family:monospace;font-weight:700}
@media(max-width:640px){.tcc-customer-auth{margin:20px 14px;padding:22px;border-radius:14px}}


/* RC43.668 — Guest Customer Auth physical-audit fix.
 * Only the logged-out phone/OTP surface is reopened; logged-in My Account stays untouched.
 */
body.tcc-customer-phone-auth-active .woocommerce{
  display:block!important;
  width:min(760px,calc(100% - 40px))!important;
  max-width:760px!important;
  margin-inline:auto!important;
}
body.tcc-customer-phone-auth-active .woocommerce::before,
body.tcc-customer-phone-auth-active .woocommerce::after{content:none!important;display:none!important}
body.tcc-customer-phone-auth-active .tcc-customer-auth{
  box-sizing:border-box;
  width:min(620px,100%)!important;
  max-width:620px!important;
  margin:28px auto 42px!important;
  padding:28px 30px!important;
}
body.tcc-customer-phone-auth-active .tcc-customer-auth h2{
  max-width:none!important;
  margin-bottom:10px!important;
  font-size:26px!important;
  line-height:1.2!important;
}
body.tcc-customer-phone-auth-active .tcc-customer-auth__intro{
  max-width:540px;
  margin-bottom:22px;
  font-size:15px!important;
  line-height:1.55!important;
}
@media(max-width:640px){
  body.tcc-customer-phone-auth-active .woocommerce{width:min(100% - 28px,760px)!important}
  body.tcc-customer-phone-auth-active .tcc-customer-auth{
    width:100%!important;
    margin:18px auto 30px!important;
    padding:22px 20px!important;
  }
  body.tcc-customer-phone-auth-active .tcc-customer-auth h2{font-size:24px!important}
}


/* RC43.669 — canonical guest-account layout after removing logged-in grid authority. */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .woocommerce{
  display:block!important;
  box-sizing:border-box!important;
  width:min(760px,calc(100% - 40px))!important;
  max-width:760px!important;
  margin-inline:auto!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth{
  display:block!important;
  box-sizing:border-box!important;
  width:min(620px,100%)!important;
  min-width:0!important;
  max-width:620px!important;
  margin:30px auto 44px!important;
}

/* RC43.671 — Guest Customer Auth title typography sync.
 * Scope: logged-out Customer Identity only. Uses compact account-card title scale; no layout/OTP/member changes.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth h2{
  font-size:26px!important;
  line-height:1.2!important;
}
@media(max-width:640px){
  body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth h2{font-size:24px!important}
}

/* RC43.672 — OTP state spacing authority.
 * Physical audit fix only: preserve RC43.671 guest auth layout/title and OTP behavior.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"]:not([hidden]){
  display:grid!important;
  gap:14px!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__back{
  justify-self:start;
  margin:0 0 8px!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] label{
  margin:0!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__otp{
  margin:0!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__sent{
  margin:0!important;
  font-size:14px!important;
  line-height:1.45!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__primary,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__resend,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__dev{
  margin-top:0!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="otp"] .tcc-customer-auth__resend{
  justify-self:start;
}


/* RC43.680 — SAFE isolated onboarding.
 * IMPORTANT: no card shell here. Existing Woo My Account content surface remains
 * the single visual card, so LOCK/FROZEN global card authorities are untouched.
 */
body.tcc-customer-safe-onboarding .woocommerce-MyAccount-navigation{display:none!important}
body.tcc-customer-safe-onboarding .woocommerce-MyAccount-content{
  float:none!important;
  width:100%!important;
  max-width:none!important;
}
body.tcc-customer-safe-onboarding .tcc-customer-safe-profile{
  box-sizing:border-box;
  width:min(680px,100%);
  margin:0 auto;
  padding:10px 10px 14px;
}
body.tcc-customer-safe-onboarding .tcc-customer-safe-profile h2{
  margin:18px 0 10px!important;
  color:#18372c!important;
  font-size:26px!important;
  line-height:1.18!important;
}
.tcc-customer-safe-profile__intro{
  margin:0 0 24px;
  color:#68736e;
  font-size:15px!important;
  line-height:1.55!important;
}
.tcc-customer-safe-profile__form{display:grid;gap:9px}
.tcc-customer-safe-profile__form label{
  margin-top:8px;
  color:#233d33;
  font-weight:700;
}
.tcc-customer-safe-profile__form label small{font-weight:500;color:#74807b}
.tcc-customer-safe-profile__form input{
  width:100%!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 13px!important;
  border:1px solid #d8dfdc!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.tcc-customer-safe-profile__verified{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
}
.tcc-customer-safe-profile__verified span{
  white-space:nowrap;
  color:#217a52;
  font-size:13px;
  font-weight:750;
}
.tcc-customer-safe-profile__verified input{background:#f7f9f8!important;color:#53615c!important}
.tcc-customer-safe-profile__note{
  margin:8px 0 2px;
  color:#74807b;
  font-size:13px!important;
  line-height:1.5!important;
}
.tcc-customer-safe-profile__submit{
  width:100%;
  min-height:48px!important;
  margin-top:10px!important;
  border-radius:12px!important;
}
@media(max-width:640px){
  body.tcc-customer-safe-onboarding .tcc-customer-safe-profile{padding:4px 0 10px}
  body.tcc-customer-safe-onboarding .tcc-customer-safe-profile h2{font-size:24px!important}
  .tcc-customer-safe-profile__verified{grid-template-columns:1fr}
  .tcc-customer-safe-profile__verified span{margin-top:-4px}
}


/* RC43.683 — Membership Account Foundation.
 * Content-only composition inside the existing Woo My Account content surface.
 * No additional outer card shell.
 */
.tcc-member-hub{display:grid;gap:20px}
.tcc-member-hub__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.tcc-member-hub__head h2{
  margin:14px 0 6px!important;
  color:#18372c!important;
  font-size:24px!important;
  line-height:1.18!important;
}
.tcc-member-hub__head p{margin:0;color:#68736e;font-size:14px!important;line-height:1.55!important}
.tcc-member-hub__tier{
  flex:0 0 auto;
  padding:7px 12px;
  border:1px solid rgba(185,130,50,.22);
  border-radius:999px;
  background:#fff8eb;
  color:#8a5c1e;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.tcc-member-hub__summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.tcc-member-hub__summary article{
  display:grid;
  gap:7px;
  min-width:0;
  padding:17px 18px;
  border:1px solid rgba(23,52,43,.11);
  border-radius:14px;
  background:#fbfcfb;
}
.tcc-member-hub__summary small,
.tcc-member-hub__identity small{
  color:#7a8580;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.08em;
}
.tcc-member-hub__summary strong{
  overflow-wrap:anywhere;
  color:#17342b;
  font-size:18px;
  line-height:1.2;
}
.tcc-member-hub__identity{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border-top:1px solid rgba(23,52,43,.1);
  border-bottom:1px solid rgba(23,52,43,.1);
}
.tcc-member-hub__identity>div{display:grid;gap:3px}
.tcc-member-hub__identity strong{color:#17342b;font-size:15px}
.tcc-member-hub__identity span{color:#69756f;font-size:13px}
.tcc-member-hub__identity .button{margin:0!important;white-space:nowrap}
.tcc-member-hub__status{
  padding:16px 18px;
  border-radius:14px;
  background:#f5f8f6;
}
.tcc-member-hub__status h3{margin:0 0 7px!important;color:#17342b!important;font-size:16px!important}
.tcc-member-hub__status p{margin:0;color:#69756f;font-size:13px!important;line-height:1.55!important}
.tcc-member-hub__status .tcc-member-hub__pending{margin-top:8px;color:#8a6b3a}
@media(max-width:700px){
  .tcc-member-hub__head,.tcc-member-hub__identity{align-items:stretch;flex-direction:column}
  .tcc-member-hub__summary{grid-template-columns:1fr}
  .tcc-member-hub__identity .button{width:100%;text-align:center}
}


/* RC43.684 — Onboarding raw page-title runtime isolation.
 * The TCC theme outputs the Account page title as:
 * main.content-area.container > article.page > h1
 * (raw H1; no entry-title class).
 * Scope this only to the open onboarding route; global/LOCKED title authorities
 * remain untouched.
 */
body.tcc-customer-safe-onboarding :is(
  main.content-area.container > article.page > h1,
  main.content-area > article.page > h1,
  #primary > article.page > h1,
  article.page > .entry-header > h1,
  article.page > .entry-title,
  .page-title,
  .wp-block-post-title
){
  box-sizing:border-box!important;
  width:min(1120px,calc(100% - 40px))!important;
  max-width:1120px!important;
  margin:0 auto 22px!important;
  color:#07523d!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:26px!important;
  font-weight:700!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
}
@media(max-width:1024px){
  body.tcc-customer-safe-onboarding :is(
    main.content-area.container > article.page > h1,
    main.content-area > article.page > h1,
    #primary > article.page > h1,
    article.page > .entry-header > h1,
    article.page > .entry-title,
    .page-title,
    .wp-block-post-title
  ){font-size:24px!important}
}
@media(max-width:640px){
  body.tcc-customer-safe-onboarding :is(
    main.content-area.container > article.page > h1,
    main.content-area > article.page > h1,
    #primary > article.page > h1,
    article.page > .entry-header > h1,
    article.page > .entry-title,
    .page-title,
    .wp-block-post-title
  ){
    width:calc(100% - 24px)!important;
    font-size:22px!important;
    margin-bottom:17px!important;
  }
}


/* RC43.685 — Onboarding layout-language sync.
 * One focused shell: page title + Woo account content share the same left edge
 * and width. This removes the "free-floating card" feeling without touching any
 * global/LOCKED layout authority.
 */
body.tcc-customer-safe-onboarding{
  --tcc-customer-onboarding-shell:760px;
}

body.tcc-customer-safe-onboarding :is(
  main.content-area.container > article.page > h1,
  main.content-area > article.page > h1,
  #primary > article.page > h1,
  article.page > .entry-header > h1,
  article.page > .entry-title,
  .page-title,
  .wp-block-post-title
){
  width:min(var(--tcc-customer-onboarding-shell),calc(100% - 40px))!important;
  max-width:var(--tcc-customer-onboarding-shell)!important;
  margin:0 auto 18px!important;
}

body.tcc-customer-safe-onboarding .woocommerce{
  display:block!important;
  box-sizing:border-box!important;
  width:min(var(--tcc-customer-onboarding-shell),calc(100% - 40px))!important;
  max-width:var(--tcc-customer-onboarding-shell)!important;
  margin:0 auto!important;
}

body.tcc-customer-safe-onboarding .woocommerce-MyAccount-content{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

body.tcc-customer-safe-onboarding .tcc-customer-safe-profile{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:12px 12px 16px!important;
}

@media(max-width:640px){
  body.tcc-customer-safe-onboarding :is(
    main.content-area.container > article.page > h1,
    main.content-area > article.page > h1,
    #primary > article.page > h1,
    article.page > .entry-header > h1,
    article.page > .entry-title,
    .page-title,
    .wp-block-post-title
  ),
  body.tcc-customer-safe-onboarding .woocommerce{
    width:calc(100% - 24px)!important;
  }
}


/* RC43.687 Dashboard-only glue.
 * All primary visual authority is inherited from the existing .tcc-member-hub*
 * rules above. No new card/design system.
 */
body.tcc-dashboard-member-hub .woocommerce-MyAccount-content > p:not(.woocommerce-message):not(.woocommerce-info):not(.woocommerce-error),
body.tcc-dashboard-member-hub .tcc-account-quick-order{display:none!important}
body.tcc-dashboard-member-hub .woocommerce-MyAccount-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before,
body.tcc-dashboard-member-hub .woocommerce-MyAccount-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::after{
  content:none!important;display:none!important
}
body.tcc-dashboard-member-hub .woocommerce-MyAccount-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){
  padding-left:16px!important
}
.tcc-member-hub--dashboard .tcc-member-hub__summary article{min-height:92px}
.tcc-dashboard-recent__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}
.tcc-dashboard-recent__head small{color:#7a8580;font-size:10.5px;font-weight:800;letter-spacing:.08em}
.tcc-dashboard-recent__head h3{margin:4px 0 0!important}
.tcc-dashboard-recent__head>a{color:#0b6246;text-decoration:none;font-size:12px;font-weight:700}
.tcc-dashboard-recent__list{display:grid}
.tcc-dashboard-recent__list>a{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid rgba(23,52,43,.09);text-decoration:none}
.tcc-dashboard-recent__list>a>span{display:grid;gap:2px;color:#69756f;font-size:11px}
.tcc-dashboard-recent__list>a>span:last-child{text-align:right}
.tcc-dashboard-recent__list strong{color:#17342b;font-size:12.5px}


/* RC43.688 — Unified My Account tabs.
 * Dashboard RC43.687 is the reference authority.
 * Scope: top-level My Account tabs only; excludes View Order + Onboarding.
 */
body.tcc-customer-account-unified{
  --tcc-unified-account-shell:1120px;
}

/* One page-title language across Dashboard / Orders / Downloads / Address /
 * Account Details / Membership. The theme renders this as a raw article H1.
 */
body.tcc-customer-account-unified :is(
  main.content-area.container > article.page > h1,
  main.content-area > article.page > h1,
  #primary > article.page > h1,
  article.page > .entry-header > h1,
  article.page > .entry-title,
  .page-title,
  .wp-block-post-title
){
  box-sizing:border-box!important;
  width:min(var(--tcc-unified-account-shell),calc(100% - 40px))!important;
  max-width:var(--tcc-unified-account-shell)!important;
  margin:0 auto 22px!important;
  color:#07523d!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:26px!important;
  font-weight:700!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
}

/* One shell/grid language. This intentionally supersedes the historical
 * Orders-only 1352px authority so every top-level tab aligns with Dashboard.
 */
body.tcc-customer-account-unified.tcc-wcs-account-enabled .woocommerce{
  box-sizing:border-box!important;
  display:grid!important;
  width:min(var(--tcc-unified-account-shell),calc(100% - 40px))!important;
  max-width:var(--tcc-unified-account-shell)!important;
  margin:0 auto!important;
  grid-template-columns:minmax(220px,248px) minmax(0,1fr)!important;
  gap:20px!important;
  align-items:start!important;
}
body.tcc-customer-account-unified .woocommerce-MyAccount-navigation{
  grid-column:1!important;
  grid-row:1!important;
  width:auto!important;
  margin:0!important;
}
body.tcc-customer-account-unified .woocommerce-MyAccount-content{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

/* Keep the approved Dashboard density for the account shell itself. */
body.tcc-customer-account-unified .woocommerce-MyAccount-navigation,
body.tcc-customer-account-unified .woocommerce-MyAccount-content{
  border-radius:16px!important;
}

/* Text-only account notices everywhere in the unified tabs. */
body.tcc-customer-account-unified .woocommerce-MyAccount-content > :is(
  .woocommerce-info,.woocommerce-message,.woocommerce-error,ul.woocommerce-error
)::before,
body.tcc-customer-account-unified .woocommerce-MyAccount-content > :is(
  .woocommerce-info,.woocommerce-message,.woocommerce-error,ul.woocommerce-error
)::after{
  content:none!important;
  display:none!important;
}

@media(max-width:980px){
  body.tcc-customer-account-unified.tcc-wcs-account-enabled .woocommerce{
    grid-template-columns:190px minmax(0,1fr)!important;
    gap:18px!important;
  }
}
@media(max-width:760px){
  body.tcc-customer-account-unified :is(
    main.content-area.container > article.page > h1,
    main.content-area > article.page > h1,
    #primary > article.page > h1,
    article.page > .entry-header > h1,
    article.page > .entry-title,
    .page-title,
    .wp-block-post-title
  ),
  body.tcc-customer-account-unified.tcc-wcs-account-enabled .woocommerce{
    width:calc(100% - 28px)!important;
  }
  body.tcc-customer-account-unified.tcc-wcs-account-enabled .woocommerce{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.tcc-customer-account-unified .woocommerce-MyAccount-navigation,
  body.tcc-customer-account-unified .woocommerce-MyAccount-content{
    grid-column:1!important;
    grid-row:auto!important;
  }
}
@media(max-width:680px){
  body.tcc-customer-account-unified :is(
    main.content-area.container > article.page > h1,
    main.content-area > article.page > h1,
    #primary > article.page > h1,
    article.page > .entry-header > h1,
    article.page > .entry-title,
    .page-title,
    .wp-block-post-title
  ){
    font-size:22px!important;
    margin-bottom:17px!important;
  }
}


/* RC43.689 — Membership width + metric sync.
 * Reference authority: unified My Account shell (RC43.688).
 * Scope: Membership endpoint only.
 */
body.tcc-customer-account-unified.woocommerce-account .woocommerce-MyAccount-content .tcc-member-hub{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.tcc-customer-account-unified.woocommerce-account .woocommerce-MyAccount-content .tcc-member-hub__head,
body.tcc-customer-account-unified.woocommerce-account .woocommerce-MyAccount-content .tcc-member-hub__summary,
body.tcc-customer-account-unified.woocommerce-account .woocommerce-MyAccount-content .tcc-member-hub__identity,
body.tcc-customer-account-unified.woocommerce-account .woocommerce-MyAccount-content .tcc-member-hub__status{
  width:100%!important;
  max-width:none!important;
}

/* Keep the three membership metrics on one visual language and one line where possible. */
body.tcc-customer-account-unified .tcc-member-hub__summary{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.tcc-customer-account-unified .tcc-member-hub__summary article{
  min-width:0!important;
  padding:15px 16px!important;
}
body.tcc-customer-account-unified .tcc-member-hub__summary small{
  font-size:10px!important;
  line-height:1.25!important;
  letter-spacing:.07em!important;
}
body.tcc-customer-account-unified .tcc-member-hub__summary strong{
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:750!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:760px){
  body.tcc-customer-account-unified .tcc-member-hub__summary{
    grid-template-columns:1fr!important;
  }
  body.tcc-customer-account-unified .tcc-member-hub__summary strong{
    white-space:normal!important;
  }
}


/* RC43.690 — Customer-facing Membership benefits block.
 * Keep the approved Member Hub visual language; remove implementation jargon.
 */
.tcc-member-hub__benefits{
  display:grid;
  gap:5px;
  padding:15px 17px!important;
}
.tcc-member-hub__benefits-kicker{
  color:#a06d25;
  font-size:9.5px;
  font-weight:850;
  letter-spacing:.09em;
}
.tcc-member-hub__benefits h3{
  margin:0!important;
  font-size:15px!important;
  line-height:1.3!important;
}
.tcc-member-hub__benefits p{
  max-width:720px;
}
.tcc-member-hub__benefits .tcc-member-hub__pending{
  margin-top:3px!important;
  color:#6f7b75!important;
}


/* RC43.691 — Membership physical-width authority
 * Physical audit against Dashboard showed Member Hub still shrink-wrapping inside the
 * already-correct unified My Account content track. Keep shared shell immutable and
 * make only the Membership root consume the full available track.
 */
body.tcc-customer-account-unified.woocommerce-account .woocommerce-MyAccount-content > .tcc-member-hub{
  box-sizing:border-box!important;
  display:block!important;
  inline-size:100%!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin-inline:0!important;
  flex:1 1 100%!important;
  align-self:stretch!important;
  justify-self:stretch!important;
}


/* RC43.693 — Membership inherits Dashboard shell.
 * Dashboard's existing `.tcc-account-premium-route` rules are the authority.
 * This block only normalizes the Member Hub inside that inherited content track.
 */
body.tcc-membership-inherit-dashboard-shell .woocommerce-MyAccount-content > .tcc-member-hub{
  box-sizing:border-box!important;
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.tcc-membership-inherit-dashboard-shell .tcc-member-hub__summary{
  width:100%!important;
  max-width:none!important;
}


/* RC43.695 — Header Customer Account Entry.
 * Reuses the existing .tcc-platform-icon-button geometry.
 */
.tcc-customer-account-entry svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.tcc-customer-account-entry:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}

/* RC43.739 — phone-first password/recovery UX. Scope: logged-out Customer Identity card only. */
body.tcc-customer-phone-auth-active .tcc-customer-auth__step[data-step="password"]:not([hidden]),
body.tcc-customer-phone-auth-active .tcc-customer-auth__step[data-step="reset"]:not([hidden]){
  display:grid!important;
  gap:12px!important;
}
body.tcc-customer-phone-auth-active .tcc-customer-auth__password{
  border:1px solid #d8dfdc!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.tcc-customer-phone-auth-active .tcc-customer-auth__identity{
  margin:0 0 4px!important;
  color:#68736e!important;
  font-size:14px!important;
  line-height:1.5!important;
}
body.tcc-customer-phone-auth-active .tcc-customer-auth__forgot{
  justify-self:center;
  border:0!important;
  background:transparent!important;
  padding:2px 0!important;
  color:#315f4c!important;
  font-weight:700!important;
  cursor:pointer;
}
body.tcc-customer-phone-auth-active .tcc-customer-auth__forgot:hover{text-decoration:underline}
body.tcc-customer-phone-auth-active .tcc-customer-auth__step[data-step="password"] .tcc-customer-auth__back,
body.tcc-customer-phone-auth-active .tcc-customer-auth__step[data-step="reset"] .tcc-customer-auth__back{
  justify-self:start;
  margin:0 0 6px!important;
}

/* RC43.740 — Guest phone entry control spacing.
 * Scope: phone-entry state only. Keep input/button sizing, typography and auth behavior unchanged.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="phone"] .tcc-customer-auth__phone-row + .tcc-customer-auth__primary{
  margin-top:12px!important;
}

/* RC43.741 — Customer verification clarity + premium secondary action.
 * Scope: logged-out customer auth only; no logged-in My Account changes.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__hint{
  margin:8px 0 0!important;
  color:#68736e!important;
  font-size:13px!important;
  line-height:1.55!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__email,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__password{
  border:1px solid #d8dfdc!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle{
  position:relative;
  transition:color .18s ease,transform .18s ease!important;
  text-decoration:none!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle::after{
  content:"";
  position:absolute;
  left:50%;
  right:50%;
  bottom:-3px;
  height:1px;
  background:currentColor;
  transition:left .18s ease,right .18s ease!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle:hover,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle:focus-visible{
  color:#173f31!important;
  transform:translateY(-1px);
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle:hover::after,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle:focus-visible::after{
  left:0;
  right:0;
}


/* RC43.742 — Customer Account presentation refinement + header CTA parity.
 * Reference Authority First:
 * - Guest Account header mirrors the approved Drink Ordering/Web Retail CTA rhythm.
 * - Email verification input uses the existing Account control geometry with a subtle focus state.
 * - Secondary email/password action keeps hover affordance while tightening underline proximity.
 * Auth state machine, verification delivery, customer identity and WooCommerce logic are unchanged.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__email:focus,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__email:focus-visible{
  outline:none!important;
  border-color:#8fb2a2!important;
  box-shadow:0 0 0 2px rgba(11,103,75,.08)!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__step[data-step="email"] .tcc-customer-auth__hint + .tcc-customer-auth__primary{
  margin-top:18px!important;
}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__legacy-toggle::after{
  bottom:-1px!important;
}
/* RC43.821 — Guest Account exact Homepage Header Authority.
 * Remove the legacy Account-only primary CTA right margin from RC43.742.
 * The canonical public header already owns Menu → Explore → Buy now → Cart
 * spacing; keeping a route-only 68px reserve steals horizontal room and can
 * collapse the Contact → Explore rhythm on narrower desktop viewports.
 */


/* RC43.743 — Verification submit state.
 * Make an in-flight email request unmistakable without changing the Account CTA authority.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__primary.is-processing,
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__primary:disabled{
  cursor:wait!important;
  background:#d9dfdc!important;
  border-color:#d9dfdc!important;
  color:#66716c!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
}


/* RC43.746 — Shared customer password visibility control.
 * Reference Authority First: one accessible reveal/hide pattern for onboarding,
 * phone/password login and recovery. No authentication behavior changes.
 */
.tcc-customer-password-field{
  position:relative;
  width:100%;
}
.tcc-customer-password-field > input{
  width:100%!important;
  padding-right:52px!important;
}
.tcc-customer-password-toggle{
  position:absolute;
  top:50%;
  right:12px;
  width:36px;
  height:36px;
  padding:0!important;
  margin:0!important;
  transform:translateY(-50%);
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#315f4c!important;
  cursor:pointer;
  display:grid!important;
  place-items:center;
  box-shadow:none!important;
  z-index:2;
  transition:background .16s ease,color .16s ease!important;
}
.tcc-customer-password-toggle::before{
  content:"";
  width:20px;
  height:20px;
  display:block;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.8' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.8' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tcc-customer-password-toggle[aria-pressed="true"]::after{
  content:"";
  position:absolute;
  width:22px;
  height:2px;
  background:currentColor;
  transform:rotate(-45deg);
  border-radius:2px;
}
.tcc-customer-password-toggle:hover{
  background:#f2f7f4!important;
  color:#0b6748!important;
}
.tcc-customer-password-toggle:focus-visible{
  outline:2px solid #0b6748!important;
  outline-offset:2px!important;
}


/* RC43.820 — Customer registration consent presentation.
 * Scope: guest Account registration email step only. No logged-in My Account or global surface changes.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consents{margin:14px 0 0;display:grid;gap:10px}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consent{position:relative!important;display:block!important;margin:0!important;padding:0 0 0 26px!important;color:#4f5d57!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important;cursor:pointer}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consent input{position:absolute!important;float:none!important;transform:none!important;display:block!important;left:0!important;top:2px!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;min-height:17px!important;max-height:17px!important;margin:0!important;padding:0!important;accent-color:#0b674b}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consent span{display:block!important;min-width:0;margin:0!important;padding:0!important}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consent a{color:#0b674b!important;text-decoration:underline;text-underline-offset:2px}
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consents + .tcc-customer-auth__primary{margin-top:18px!important}


/* RC43.824 — Registration consent checkbox native-dimension authority.
 * Root cause: the shared auth input rule applies min-height:50px to every input, including checkbox controls.
 * Reset checkbox min/max height at the consent control authority so the native 17px checkbox aligns to the first text line.
 */
body.tcc-customer-phone-auth-active.tcc-wcs-account-guest-auth .tcc-customer-auth__consent input[type="checkbox"]{
  width:17px!important;
  min-width:17px!important;
  max-width:17px!important;
  height:17px!important;
  min-height:17px!important;
  max-height:17px!important;
  top:2px!important;
}

/* RC43.993 — actionable legacy-account recovery support state. */
.tcc-customer-auth__status.is-recovery-support{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tcc-customer-auth__support-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border-radius:12px;background:#0f654e;color:#fff!important;font-weight:800;text-decoration:none}
.tcc-customer-auth__support-link:hover,.tcc-customer-auth__support-link:focus{filter:brightness(.95);text-decoration:none}
