/* Focused customer entry and account layouts. Shared header and footer remain independent. */
body.auth-shell-page #site-main .auth-entry {
  padding-block: clamp(20px, 4vw, 56px);
  background: linear-gradient(150deg, var(--sot-surface-2), var(--sot-canvas) 65%);
}
body.auth-shell-page #authView .auth-layout--centered {
  display: block;
  inline-size: min(100%, 448px);
  margin-inline: auto;
  perspective: none;
}
body.auth-shell-page #authView .auth-panel {
  padding: clamp(17px, 4vw, 32px);
  border: 1px solid var(--sot-line);
  border-block-start: 3px solid var(--sot-cyan-500);
  border-radius: 12px;
  box-shadow: none;
}
body.auth-shell-page #authView .auth-panel::before { display: none; }
body.auth-shell-page #authView .auth-brand-lockup {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 20px;
  text-align: center;
}
body.auth-shell-page #authView .auth-brand-lockup .hl-auth-logo {
  width: 68px;
  height: auto;
  max-width: 100%;
  margin: 0 auto 5px;
}
body.auth-shell-page #authView .auth-title {
  margin: 0;
  font-size: 14pt !important;
  line-height: 1.3;
  letter-spacing: 0;
}
body.auth-shell-page #authView .auth-intro-copy {
  margin: 0;
  font-size: 10pt;
  line-height: 1.5;
}
body.auth-shell-page #authView .auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--sot-line);
  border-radius: 8px;
  background: var(--sot-surface-2);
}
body.auth-shell-page #authView .auth-tab {
  min-width: 0;
  min-height: 42px;
  padding-inline: 5px;
  border-radius: 5px;
}
body.auth-shell-page #authView .auth-tab[aria-pressed="true"] {
  color: var(--sot-link) !important;
  background: var(--sot-surface) !important;
  box-shadow: inset 0 -2px var(--sot-cyan-500);
}
body.auth-shell-page #authView .auth-form {
  padding-top: 14px;
}
body.auth-shell-page #authView .auth-form .form-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
body.auth-shell-page #authView .auth-form .field input { min-height: 42px; }
body.auth-shell-page #authView .auth-form .form-actions { margin-top: 14px; }
body.auth-shell-page #authView .auth-form button[type="submit"] { width: 100%; min-height: 42px; }
body.auth-shell-page #authView .auth-message:empty { display: none; }
body.auth-shell-page #authView .auth-message:not(:empty) { margin-block: 10px 0; }
body.auth-shell-page #authView .auth-entry-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-block-start: 17px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--sot-line);
}
body.auth-shell-page #authView .auth-entry-links a { color: var(--sot-link); text-decoration: underline; text-underline-offset: 3px; }
body.auth-shell-page #authView input[type="email"] { direction: ltr; text-align: start; }
body.account-shell-page #accountView > .page-intro-band { min-height: 0 !important; }
body.account-shell-page #accountView .account-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding-block: 19px !important;
  gap: 16px;
  align-items: center;
}
body.account-shell-page #accountView .account-intro .section-title { font-size: 14pt !important; }
body.account-shell-page #accountView .account-intro .section-subtitle { font-size: 10pt !important; line-height: 1.5 !important; }
body.account-shell-page #accountView .account-toolbar {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}
body.account-shell-page #accountView .account-stat-panel {
  display: grid;
  align-content: center;
  min-height: 65px !important;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}
body.account-shell-page #accountView .account-stat-panel span { font-size: 10pt !important; }
body.account-shell-page #accountView .account-main-section { padding-block: 18px 36px !important; }
body.account-shell-page #accountView .account-layout {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(10px, 1.75vw, 23px);
}
body.account-shell-page #accountView .account-content {
  display: grid;
  min-width: 0;
  gap: clamp(10px, 1.75vw, 23px);
}
body.account-shell-page #accountView :is(.account-products-shell, .account-orders-shell, .account-user-card) {
  display: block;
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 2vw, 19px) !important;
  border: 1px solid var(--sot-line);
  border-radius: 10px;
  background: var(--sot-surface) !important;
}
body.account-shell-page #accountView .section-head h2 { font-size: 12pt !important; line-height: 1.36 !important; }
body.account-shell-page #accountView .section-head p { font-size: 10pt !important; }
body.account-shell-page #accountView .profile-item strong { overflow-wrap: anywhere; }
body.account-shell-page #accountView .account-library-controls { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: end; }
body.account-shell-page #accountView .products-section-bar { gap: 10px; }
@media (max-width: 760px) {
  body.account-shell-page #accountView .account-intro,
  body.account-shell-page #accountView .account-layout { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 460px) {
  body.account-shell-page #accountView .account-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.account-shell-page #accountView .account-toolbar .account-stat-panel:last-child { grid-column: 1 / -1; }
  body.account-shell-page #accountView .account-library-controls { grid-template-columns: minmax(0,1fr); }
}
