/**
 * Halloway Bank & Trust — Global Design System
 * WCAG 2.2 AA contrast | Mobile-first | Shared tokens & components
 */

:root {
  --hbt-navy: #2E456B;
  --hbt-navy-dark: #1a2744;
  --hbt-grey: #F5F3EF;
  --hbt-grey-warm: #E8E4DC;
  --hbt-gold: #C9A84C;
  --hbt-gold-light: #D4AF37;
  --hbt-gold-hover: #b8943f;
  --hbt-text: #2A2C2E;
  --hbt-text-muted: #5C6370;
  --hbt-white: #FFFFFF;
  --hbt-success: #2d6a4f;
  --hbt-error: #9b2226;
  --hbt-link: #1e3a5f;
  --hbt-link-hover: #152a45;
  --hbt-radius: 16px;
  --hbt-radius-sm: 12px;
  --hbt-shadow: 0 4px 24px rgba(46, 69, 107, 0.08);
  --hbt-shadow-hover: 0 8px 32px rgba(46, 69, 107, 0.14);
  --hbt-space-xs: 8px;
  --hbt-space-sm: 12px;
  --hbt-space-md: 20px;
  --hbt-space-lg: 28px;
  --hbt-space-xl: 44px;
  --hbt-space-2xl: 56px;
  --hbt-focus-ring: 2px solid var(--hbt-gold);
  --hbt-focus-offset: 2px;
  --hbt-font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hbt-font-heading: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hbt-font-size-base: 16px;
  --hbt-font-size-sm: 0.9375rem;
  --hbt-font-size-xs: 0.875rem;
  --hbt-font-size-meta: 0.8125rem;
  --hbt-line-height: 1.6;
  --hbt-line-height-tight: 1.25;
  --hbt-letter-spacing-tight: -0.02em;
  --hbt-max-width: 1280px;
}

/* ── Global portal typography ── */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
body .wrapper,
body .wrapper-body,
.wrapper-body .page-copy,
.navbar,
.footer,
.dropdown-menu,
.crmEntityFormView,
.crmEntityFormView label,
.crmEntityFormView input,
.crmEntityFormView select,
.crmEntityFormView textarea,
.crmEntityFormView button {
  font-family: var(--hbt-font) !important;
}

body {
  font-size: var(--hbt-font-size-base);
  line-height: var(--hbt-line-height);
  color: var(--hbt-text);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.page-heading h1,
.page-heading .page-header h1 {
  font-family: var(--hbt-font-heading) !important;
  font-weight: 700;
  line-height: var(--hbt-line-height-tight);
  letter-spacing: var(--hbt-letter-spacing-tight);
}

p,
li,
label,
input,
select,
textarea,
button {
  font-family: inherit;
}

/* ── Base & reset helpers ── */
.hbt,
.hbt-home,
.hbt-about,
.hbt-help,
.hbt-complaints,
.hbt-contact,
.hbt-page {
  font-family: var(--hbt-font);
  color: var(--hbt-text);
  line-height: var(--hbt-line-height);
}

.hbt *,
.hbt-home *,
.hbt-about *,
.hbt-help *,
.hbt-complaints *,
.hbt-contact * {
  box-sizing: border-box;
}

.hbt a:not(.hbt-btn):not([class*="btn"]):not(.hbt-home-hero__track),
.hbt-home a:not(.hbt-btn):not([class*="btn"]):not(.hbt-home-hero__track),
.hbt-about a:not(.hbt-btn):not([class*="btn"]),
.hbt-help a:not(.hbt-btn):not([class*="btn"]),
.hbt-complaints a:not(.hbt-btn):not([class*="btn"]),
.hbt-contact a:not(.hbt-btn):not([class*="btn"]) {
  color: var(--hbt-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hbt a:not(.hbt-btn):not([class*="btn"]):not(.hbt-home-hero__track):hover,
.hbt-home a:not(.hbt-btn):not([class*="btn"]):not(.hbt-home-hero__track):hover,
.hbt-about a:not(.hbt-btn):not([class*="btn"]):hover,
.hbt-help a:not(.hbt-btn):not([class*="btn"]):hover,
.hbt-complaints a:not(.hbt-btn):not([class*="btn"]):hover,
.hbt-contact a:not(.hbt-btn):not([class*="btn"]):hover {
  color: var(--hbt-link-hover);
}

/* ── Focus (WCAG 2.2) ── */
:focus-visible {
  outline: var(--hbt-focus-ring);
  outline-offset: var(--hbt-focus-offset);
}

.hbt-btn:focus-visible,
.hbt-help-btn:focus-visible,
.hbt-complaints-btn:focus-visible,
.hbt-contact-btn:focus-visible,
.navbar-inverse .navbar-nav > li > a:focus-visible,
.hbt-footer a:focus-visible,
.hbt-header__brand:focus-visible {
  outline: var(--hbt-focus-ring);
  outline-offset: var(--hbt-focus-offset);
}

/* ── Layout ── */
.hbt-container {
  width: 100%;
  max-width: var(--hbt-max-width);
  margin: 0 auto;
  padding: 0 var(--hbt-space-md);
}

.hbt-section {
  padding: var(--hbt-space-xl) 0;
}

.hbt-section--grey,
.hbt-help-section--grey,
.hbt-complaints-section--grey,
.hbt-contact-section--grey {
  background: var(--hbt-grey);
}

.hbt-section--white,
.hbt-help-section--white,
.hbt-complaints-section--white,
.hbt-contact-section--white {
  background: var(--hbt-white);
}

.hbt-section__head,
.hbt-help-section__head,
.hbt-complaints-section__head,
.hbt-contact-section__head {
  margin-bottom: var(--hbt-space-lg);
}

.hbt-section__head--center,
.hbt-help-section__head--center,
.hbt-complaints-section__head--center,
.hbt-contact-section__head--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hbt-section__head h2,
.hbt-help-section__head h2,
.hbt-complaints-section__head h2,
.hbt-contact-section__head h2 {
  color: var(--hbt-navy) !important;
  font-family: var(--hbt-font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: var(--hbt-letter-spacing-tight);
}

.hbt-section__head p,
.hbt-help-section__head p,
.hbt-complaints-section__head p,
.hbt-contact-section__head p {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  margin: 0;
  line-height: var(--hbt-line-height);
}

/* ── Buttons (unified) ── */
.hbt-btn,
.hbt-help-btn,
.hbt-complaints-btn,
.hbt-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hbt-space-xs);
  padding: 12px 24px;
  min-height: 46px;
  border-radius: var(--hbt-radius-sm);
  font-size: var(--hbt-font-size-sm);
  font-weight: 700;
  font-family: var(--hbt-font);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}

.hbt-btn:hover,
.hbt-help-btn:hover,
.hbt-complaints-btn:hover,
.hbt-contact-btn:hover {
  transform: translateY(-1px);
}

.hbt-btn--primary,
.hbt-help-btn--primary,
.hbt-complaints-btn--primary,
.hbt-contact-btn--primary {
  background: var(--hbt-gold);
  color: var(--hbt-navy-dark) !important;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.hbt-btn--primary:hover,
.hbt-help-btn--primary:hover,
.hbt-complaints-btn--primary:hover,
.hbt-contact-btn--primary:hover {
  background: var(--hbt-gold-hover);
}

.hbt-btn--outline,
.hbt-help-btn--outline,
.hbt-complaints-btn--outline,
.hbt-contact-btn--outline,
.hbt-btn--outline-dark,
.hbt-help-btn--outline-dark,
.hbt-complaints-btn--outline-dark,
.hbt-contact-btn--outline-dark {
  background: transparent !important;
  border: 2px solid var(--hbt-navy) !important;
  color: var(--hbt-navy) !important;
  -webkit-text-fill-color: var(--hbt-navy) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hbt-btn--outline:link,
.hbt-btn--outline:visited,
.hbt-help-btn--outline:link,
.hbt-help-btn--outline:visited,
.hbt-complaints-btn--outline:link,
.hbt-complaints-btn--outline:visited,
.hbt-contact-btn--outline:link,
.hbt-contact-btn--outline:visited,
.hbt-btn--outline-dark:link,
.hbt-btn--outline-dark:visited,
.hbt-help-btn--outline-dark:link,
.hbt-help-btn--outline-dark:visited,
.hbt-complaints-btn--outline-dark:link,
.hbt-complaints-btn--outline-dark:visited,
.hbt-contact-btn--outline-dark:link,
.hbt-contact-btn--outline-dark:visited {
  color: var(--hbt-navy) !important;
  -webkit-text-fill-color: var(--hbt-navy) !important;
}

.hbt-btn--outline:hover,
.hbt-help-btn--outline:hover,
.hbt-complaints-btn--outline:hover,
.hbt-contact-btn--outline:hover,
.hbt-btn--outline:focus,
.hbt-help-btn--outline:focus,
.hbt-complaints-btn--outline:focus,
.hbt-contact-btn--outline:focus,
.hbt-btn--outline-dark:hover,
.hbt-help-btn--outline-dark:hover,
.hbt-complaints-btn--outline-dark:hover,
.hbt-contact-btn--outline-dark:hover,
.hbt-btn--outline-dark:focus,
.hbt-help-btn--outline-dark:focus,
.hbt-complaints-btn--outline-dark:focus,
.hbt-contact-btn--outline-dark:focus {
  background: rgba(46, 69, 107, 0.06) !important;
  border-color: var(--hbt-navy-dark) !important;
  color: var(--hbt-navy-dark) !important;
  -webkit-text-fill-color: var(--hbt-navy-dark) !important;
}

.hbt-btn--navy {
  background: var(--hbt-navy);
  color: var(--hbt-white) !important;
  border-color: var(--hbt-navy);
}

.hbt-btn--navy:hover {
  background: var(--hbt-navy-dark);
  color: var(--hbt-white) !important;
}

.hbt-btn--disabled,
.hbt-contact-btn--disabled {
  background: var(--hbt-grey-warm);
  color: var(--hbt-text-muted) !important;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ── Cards ── */
.hbt-card,
.hbt-help-card,
.hbt-contact-card,
.hbt-complaints-step,
.hbt-quick-card {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  box-shadow: var(--hbt-shadow);
}

.hbt-complaints-step {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.hbt-complaints-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hbt-navy);
  color: var(--hbt-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.hbt-complaints-step h3 {
  font-family: var(--hbt-font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hbt-navy) !important;
  margin: 0;
  line-height: 1.3;
}

.hbt-complaints-step p {
  font-size: var(--hbt-font-size-sm);
  color: var(--hbt-text-muted);
  line-height: 1.6;
  margin: 0;
}

.hbt-cards,
.hbt-help-cards,
.hbt-contact-cards,
.hbt-complaints-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hbt-space-md);
}

@media (min-width: 640px) {
  .hbt-cards--2,
  .hbt-contact-cards--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .hbt-cards--3,
  .hbt-contact-cards--3,
  .hbt-complaints-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hbt-cards--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .hbt-complaints-steps { grid-template-columns: repeat(5, 1fr); }
}

/* ── Hero base ── */
.hbt-hero,
.hbt-help-hero,
.hbt-complaints-hero,
.hbt-contact-hero {
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  padding: var(--hbt-space-xl) 0 calc(var(--hbt-space-xl) + 8px);
}

.hbt-hero h1,
.hbt-help-hero h1,
.hbt-complaints-hero h1,
.hbt-contact-hero h1 {
  color: var(--hbt-white) !important;
  font-family: var(--hbt-font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--hbt-letter-spacing-tight);
  margin: 0 0 14px;
}

.hbt-hero__inner,
.hbt-help-hero__inner,
.hbt-complaints-hero__inner,
.hbt-contact-hero__inner {
  max-width: 640px;
}

.hbt-hero p,
.hbt-help-hero p,
.hbt-complaints-hero p,
.hbt-contact-hero p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 620px;
}

.hbt-complaints-hero__actions,
.hbt-help-hero__actions,
.hbt-contact-hero__actions,
.hbt-contact-hero__links,
.hbt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
  align-items: center;
}

/* ── Entity forms (shared) ── */
.hbt .crmEntityFormView,
.hbt-home .crmEntityFormView,
.hbt-help .crmEntityFormView,
.hbt-complaints .crmEntityFormView,
.hbt-contact .crmEntityFormView {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.hbt .crmEntityFormView table td,
.hbt-home .crmEntityFormView table td,
.hbt-complaints .crmEntityFormView table td,
.hbt-contact .crmEntityFormView table td {
  padding: 10px 0 !important;
  display: block;
  width: 100% !important;
}

.hbt .crmEntityFormView label,
.hbt .crmEntityFormView .field-label,
.hbt-home .crmEntityFormView label,
.hbt-complaints .crmEntityFormView label,
.hbt-contact .crmEntityFormView label {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--hbt-navy) !important;
  margin-bottom: 6px !important;
  display: block;
}

.hbt .crmEntityFormView input[type="text"],
.hbt .crmEntityFormView textarea,
.hbt .crmEntityFormView select,
.hbt-home .crmEntityFormView input[type="text"],
.hbt-home .crmEntityFormView textarea,
.hbt-complaints .crmEntityFormView input[type="text"],
.hbt-complaints .crmEntityFormView textarea,
.hbt-contact .crmEntityFormView input[type="text"],
.hbt-contact .crmEntityFormView textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  border: 1px solid var(--hbt-grey-warm) !important;
  border-radius: var(--hbt-radius-sm) !important;
  background: var(--hbt-white) !important;
  color: var(--hbt-text) !important;
}

.hbt .crmEntityFormView input:focus,
.hbt .crmEntityFormView textarea:focus,
.hbt .crmEntityFormView select:focus,
.hbt-complaints .crmEntityFormView input:focus,
.hbt-complaints .crmEntityFormView textarea:focus,
.hbt-contact .crmEntityFormView input:focus,
.hbt-contact .crmEntityFormView textarea:focus {
  outline: var(--hbt-focus-ring) !important;
  outline-offset: var(--hbt-focus-offset) !important;
  border-color: var(--hbt-gold) !important;
}

.hbt .crmEntityFormView input[type="submit"],
.hbt .crmEntityFormView button[type="submit"],
.hbt .crmEntityFormView .btn-primary,
.hbt-complaints .crmEntityFormView input[type="submit"],
.hbt-contact .crmEntityFormView input[type="submit"] {
  background: var(--hbt-gold) !important;
  border-color: var(--hbt-gold) !important;
  color: var(--hbt-navy-dark) !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: var(--hbt-radius-sm) !important;
  font-size: 15px !important;
  min-height: 48px;
}

/* ── Tables ── */
.hbt-table,
.hbt-complaints-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hbt-table th,
.hbt-table td,
.hbt-complaints-table th,
.hbt-complaints-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hbt-grey-warm);
}

.hbt-table th,
.hbt-complaints-table th {
  background: var(--hbt-grey);
  color: var(--hbt-navy);
  font-weight: 700;
  font-size: 13px;
}

.hbt-entityform-bridge {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 900px;
  height: 900px;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  z-index: -1;
}

.hbt-complaints-form-section {
  background: linear-gradient(180deg, var(--hbt-grey) 0%, var(--hbt-white) 55%);
}

/* My complaints list page only — do not apply to main complaints landing (.hbt-page) */
.hbt-complaints:not(.hbt-page) .hbt-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px var(--hbt-space-md) 64px;
}

.hbt-complaints.hbt-page .hbt-container {
  max-width: var(--hbt-max-width);
  padding-top: 0;
  padding-bottom: 0;
}

.hbt-complaints-breadcrumb {
  font-size: var(--hbt-font-size-sm);
  margin-bottom: 24px;
  color: var(--hbt-text-muted);
}

.hbt-complaints-breadcrumb a {
  color: var(--hbt-navy) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.hbt-complaints-page-head {
  margin-bottom: 32px;
}

.hbt-complaints-page-head h1 {
  color: var(--hbt-navy) !important;
  font-family: var(--hbt-font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: var(--hbt-letter-spacing-tight);
}

.hbt-complaints-page-head p {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  margin: 0;
  line-height: 1.6;
}

.hbt-complaints-panel {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 28px 24px;
  box-shadow: var(--hbt-shadow);
  margin-bottom: 24px;
}

.hbt-complaints-empty,
.hbt-complaints-signin {
  text-align: center;
  color: var(--hbt-text-muted);
  padding: 32px 16px;
  font-size: var(--hbt-font-size-sm);
  line-height: 1.6;
}

.hbt-complaints-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hbt-complaints-table-wrap {
  overflow-x: auto;
}

.hbt-complaints-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 69, 107, 0.08);
  color: var(--hbt-navy);
  font-size: var(--hbt-font-size-xs);
  font-weight: 600;
}

.hbt-complaints-status--active {
  background: rgba(46, 69, 107, 0.12);
  color: var(--hbt-navy);
}

.hbt-complaints-status--hold {
  background: rgba(120, 90, 40, 0.12);
  color: #7a5a1f;
}

.hbt-complaints-status--waiting {
  background: rgba(201, 168, 76, 0.18);
  color: #6b5718;
}

.hbt-complaints-status--resolved {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
}

.hbt-complaints-status--closed {
  background: rgba(120, 120, 120, 0.12);
  color: #555;
}

.hbt-complaints-table-hint {
  margin: 0 0 12px;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-xs);
}

.hbt-complaints-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.hbt-complaints-row:hover,
.hbt-complaints-row.is-open {
  background: rgba(46, 69, 107, 0.04);
}

.hbt-complaints-row:focus-visible {
  outline: 2px solid var(--hbt-gold);
  outline-offset: -2px;
}

.hbt-complaints-detail td {
  background: var(--hbt-grey);
  border-bottom: 1px solid var(--hbt-grey-warm);
}

.hbt-complaints-detail-panel {
  padding: 8px 4px 12px;
}

.hbt-complaints-detail-panel p {
  margin: 0 0 8px;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  line-height: 1.55;
}

.hbt-complaints-detail-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hbt-btn--sm {
  min-height: 38px !important;
  padding: 8px 16px !important;
  font-size: var(--hbt-font-size-xs) !important;
}

.hbt-signin-gate {
  text-align: center;
  padding: 36px 24px;
}

.hbt-signin-gate__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(46, 69, 107, 0.08);
  color: var(--hbt-navy);
  font-size: var(--hbt-font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hbt-signin-gate h3 {
  color: var(--hbt-navy) !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.hbt-signin-gate p {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 20px;
}

.hbt-signin-gate__note {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: var(--hbt-font-size-xs) !important;
}

.hbt-signin-gate__note a {
  color: var(--hbt-navy);
  font-weight: 600;
}

.hbt-copy-ref-btn {
  margin-top: 16px;
}

.hbt-contact-ref,
.hbt-complaints-ref {
  text-align: center;
}

@media (max-width: 640px) {
  .hbt-complaints-table thead {
    display: none;
  }

  .hbt-complaints-table,
  .hbt-complaints-table tbody,
  .hbt-complaints-table tr.hbt-complaints-row,
  .hbt-complaints-table tr.hbt-complaints-detail {
    display: block;
    width: 100%;
  }

  .hbt-complaints-table tr.hbt-complaints-row {
    border: 1px solid var(--hbt-grey-warm);
    border-radius: var(--hbt-radius-sm);
    margin-bottom: 10px;
    background: var(--hbt-white);
  }

  .hbt-complaints-table tr.hbt-complaints-row td,
  .hbt-complaints-table tr.hbt-complaints-detail td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--hbt-grey-warm);
  }

  .hbt-complaints-table tr.hbt-complaints-row td:last-child {
    border-bottom: 0;
  }

  .hbt-complaints-table tr.hbt-complaints-row td::before {
    content: attr(data-label);
    color: var(--hbt-navy);
    font-weight: 700;
    font-size: var(--hbt-font-size-xs);
  }

  .hbt-complaints-table tr.hbt-complaints-detail td {
    display: block;
    border: 0;
    padding-top: 0;
  }
}

.hbt-complaints-form-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.hbt-complaints-form-wrap__header {
  text-align: center;
  margin-bottom: 20px;
}

.hbt-complaints-form-wrap__header h2 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}

.hbt-complaints-form-wrap__header p {
  color: var(--hbt-text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.hbt-complaints-form-wrap__card {
  position: relative;
  width: 100%;
  background: var(--hbt-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.08);
  border: 1px solid var(--hbt-grey-warm);
  overflow: hidden;
  padding: 0;
}

.hbt-complaints-form-wrap__card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--hbt-navy-dark), var(--hbt-gold), var(--hbt-navy-dark));
}

.hbt-complaints-form-wrap__card .crmEntityFormView,
.hbt-complaints-form-wrap__card .entity-form {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 28px 32px 24px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.hbt-complaints-form-wrap__note {
  text-align: center;
  font-size: 13px;
  color: var(--hbt-text-muted);
  margin: 14px 0 0;
  line-height: 1.5;
}

/* Native complaints form (no CRM entity form markup) */
.hbt-native-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hbt-native-form .hbt-form-field {
  display: block;
  width: 100%;
}

.hbt-native-form .hbt-field-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--hbt-navy);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.hbt-native-form .hbt-required-field > .hbt-field-label::after {
  content: ' *';
  color: #b42a2a;
  font-weight: 700;
}

.hbt-native-form .hbt-field-label__optional {
  font-weight: 500;
  color: var(--hbt-grey-mid, #6b7280);
  font-size: 0.92em;
}

.hbt-native-form input[type="text"],
.hbt-native-form select,
.hbt-native-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--hbt-grey-warm);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
  background: #fafaf8;
  color: var(--hbt-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hbt-native-form select {
  min-height: 50px;
  appearance: auto;
}

.hbt-native-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.hbt-native-form input:focus,
.hbt-native-form select:focus,
.hbt-native-form textarea:focus {
  outline: none;
  border-color: var(--hbt-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22);
  background: var(--hbt-white);
}

.hbt-native-form .hbt-date-field input[readonly] {
  max-width: 220px;
  background: var(--hbt-grey, #f4f5f7);
  cursor: default;
}

.hbt-native-form .hbt-form-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--hbt-text-muted);
  line-height: 1.5;
}

.hbt-native-form .hbt-form-hint--error {
  color: #8b1a1a;
}

.hbt-form-field--error input[type="text"],
.hbt-form-field--error input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
.hbt-form-field--error select,
.hbt-form-field--error textarea {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.hbt-field-error {
  color: #c62828;
  font-size: var(--hbt-font-size-xs);
  line-height: 1.45;
  margin: 6px 0 0;
}

.hbt-field-error[hidden] {
  display: none !important;
}

.hbt-char-count {
  margin: 6px 0 0;
  text-align: right;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-xs);
  line-height: 1.4;
}

.hbt-char-count--limit {
  color: #c62828;
  font-weight: 700;
}

.hbt-native-form .hbt-form-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: var(--hbt-space-sm);
}

.hbt-native-form .hbt-form-submit {
  width: auto;
  min-width: 220px;
  min-height: 46px;
  border: none;
  cursor: pointer;
}

.hbt-native-form .hbt-form-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.hbt-native-form .hbt-form-alert-slot:not(.hbt-form-alert-empty) {
  margin-bottom: 4px;
}

.hbt-native-form .alert {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.hbt-native-form .alert-danger {
  background: #fdecec;
  border: 1px solid #efb4b4;
  color: #8b1a1a;
}

.hbt-native-form .alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.hbt-native-form .hbt-form-alert-empty {
  display: none;
}

.hbt-complaints-form-wrap__card .hbt-native-form {
  padding: 28px 32px 24px;
}

.hbt-form-step-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46, 69, 107, 0.08);
  color: var(--hbt-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hbt-account-map {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(46, 69, 107, 0.12);
  background: linear-gradient(180deg, rgba(245, 243, 239, 0.95), rgba(255, 255, 255, 0.98));
}

.hbt-account-map__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hbt-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hbt-account-map__list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.hbt-account-map__list div {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 8px;
  align-items: start;
}

.hbt-account-map__list dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--hbt-text-muted);
}

.hbt-account-map__list dd {
  margin: 0;
  font-size: 14px;
  color: var(--hbt-text);
  line-height: 1.45;
}

.hbt-account-map__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--hbt-text-muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hbt-complaints-form-wrap__card .hbt-native-form {
    padding: 22px 18px 20px;
  }

  .hbt-account-map__list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Complaint form layout — compact stacked fields */
.hbt-complaints-form-wrap .crmEntityFormView fieldset,
.hbt-complaints-form-wrap .crmEntityFormView .tab-content,
.hbt-complaints-form-wrap .crmEntityFormView .tab-pane {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView table,
.hbt-complaints-form-wrap .crmEntityFormView table table,
.hbt-complaints-form-wrap .crmEntityFormView tbody,
.hbt-complaints-form-wrap .crmEntityFormView tr {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.hbt-complaints-form-wrap .crmEntityFormView table td,
.hbt-complaints-form-wrap .crmEntityFormView .cell {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 0 14px !important;
  margin: 0 !important;
  border: none !important;
  float: none !important;
  box-sizing: border-box;
}

.hbt-complaints-form-wrap .crmEntityFormView fieldset > div,
.hbt-complaints-form-wrap .crmEntityFormView .tab,
.hbt-complaints-form-wrap .crmEntityFormView [class*="tab-column"],
.hbt-complaints-form-wrap .crmEntityFormView .section,
.hbt-complaints-form-wrap .crmEntityFormView .info,
.hbt-complaints-form-wrap .crmEntityFormView .control {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-hidden,
.hbt-complaints-form-wrap .crmEntityFormView tr.hbt-form-hidden,
.hbt-complaints-form-wrap .crmEntityFormView .cell.hbt-form-hidden,
.hbt-complaints-form-wrap .crmEntityFormView fieldset.hbt-form-hidden,
.hbt-complaints-form-wrap .crmEntityFormView .tab-pane.hbt-form-hidden {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .tab-pane:not(.hbt-form-hidden),
.hbt-complaints-form-wrap .crmEntityFormView fieldset:not(.hbt-form-hidden) {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

.hbt-complaints-form-wrap .crmEntityFormView legend,
.hbt-complaints-form-wrap .crmEntityFormView .section-title,
.hbt-complaints-form-wrap .crmEntityFormView .tab-heading,
.hbt-complaints-form-wrap .crmEntityFormView .tab-title,
.hbt-complaints-form-wrap .crmEntityFormView .form-tab-header,
.hbt-complaints-form-wrap .crmEntityFormView .nav-tabs,
.hbt-complaints-form-wrap .crmEntityFormView ul.nav-tabs,
.hbt-complaints-form-wrap .crmEntityFormView .progress,
.hbt-complaints-form-wrap .crmEntityFormView .instructions,
.hbt-complaints-form-wrap .crmEntityFormView fieldset[aria-label*="Timeline"],
.hbt-complaints-form-wrap .crmEntityFormView .notes,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-chrome-hidden {
  display: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView label,
.hbt-complaints-form-wrap .crmEntityFormView .field-label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--hbt-navy) !important;
  margin: 0 0 6px !important;
  letter-spacing: 0.01em;
  display: block !important;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="text"],
.hbt-complaints-form-wrap .crmEntityFormView input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
.hbt-complaints-form-wrap .crmEntityFormView textarea,
.hbt-complaints-form-wrap .crmEntityFormView input[style],
.hbt-complaints-form-wrap .crmEntityFormView textarea[style] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  border: 1.5px solid var(--hbt-grey-warm) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  background: #fafaf8 !important;
  color: var(--hbt-text) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hbt-complaints-form-wrap .crmEntityFormView .control,
.hbt-complaints-form-wrap .crmEntityFormView [class*="ControlContainer"],
.hbt-complaints-form-wrap .crmEntityFormView [id*="ControlContainer"],
.hbt-complaints-form-wrap .crmEntityFormView .cell > div,
.hbt-complaints-form-wrap .crmEntityFormView td > div,
.hbt-complaints-form-wrap .crmEntityFormView [class*="col-sm"],
.hbt-complaints-form-wrap .crmEntityFormView [class*="col-md"],
.hbt-complaints-form-wrap .crmEntityFormView [class*="col-lg"] {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="text"]::placeholder,
.hbt-complaints-form-wrap .crmEntityFormView textarea::placeholder {
  color: #9aa3b0;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="text"]:focus,
.hbt-complaints-form-wrap .crmEntityFormView textarea:focus {
  outline: none !important;
  border-color: var(--hbt-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22) !important;
  background: var(--hbt-white) !important;
}

.hbt-complaints-form-wrap .crmEntityFormView textarea {
  min-height: 7.5rem;
  height: 7.5rem;
  max-height: 14rem;
  resize: vertical;
}

/* Flat field container built by script from the CRM table layout */
.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.hbt-complaints-form-wrap .hbt-cform__field {
  width: 100%;
  max-width: 100%;
  margin: 0 0 22px;
}

.hbt-complaints-form-wrap .hbt-cform__field > *,
.hbt-complaints-form-wrap .hbt-cform__field .info,
.hbt-complaints-form-wrap .hbt-cform__field .control {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.hbt-complaints-form-wrap .hbt-cform label,
.hbt-complaints-form-wrap .hbt-cform .field-label {
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--hbt-navy) !important;
  margin: 0 0 8px !important;
}

.hbt-complaints-form-wrap .hbt-cform .validators,
.hbt-complaints-form-wrap .hbt-cform .validator-text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-alert-slot {
  margin: 0 0 16px;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-alert-slot:empty,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-alert-slot.hbt-form-chrome-hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView [id*="Subgrid"],
.hbt-complaints-form-wrap .crmEntityFormView [id*="subgrid"],
.hbt-complaints-form-wrap .crmEntityFormView .entity-grid-container,
.hbt-complaints-form-wrap .crmEntityFormView .view-empty,
.hbt-complaints-form-wrap .crmEntityFormView .grid-empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  border: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order .hbt-complaint-row,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order tr.hbt-complaint-row {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order .hbt-complaint-row > td,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order .hbt-complaint-field {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-label--injected {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--hbt-navy) !important;
  margin: 0 0 8px !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .attach,
.hbt-complaints-form-wrap .crmEntityFormView .file-upload,
.hbt-complaints-form-wrap .crmEntityFormView [class*="attach"] {
  margin-top: 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--hbt-grey-warm);
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-layout-empty,
.hbt-complaints-form-wrap .crmEntityFormView table.hbt-layout-empty,
.hbt-complaints-form-wrap .crmEntityFormView tbody.hbt-layout-empty,
.hbt-complaints-form-wrap .crmEntityFormView .tab-content.hbt-layout-empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .tab-content.hbt-layout-collapsed {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .tab-content,
.hbt-complaints-form-wrap .crmEntityFormView .tab-pane {
  margin-top: 0 !important;
  padding-top: 0 !important;
  min-height: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order .hbt-complaint-field {
  padding-bottom: 18px !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-required-field > label:after,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-required-field label.field-label:after {
  content: ' *';
  color: #b42a2a;
  font-weight: 700;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-required-field .required,
.hbt-complaints-form-wrap .crmEntityFormView .info.required label:after,
.hbt-complaints-form-wrap .crmEntityFormView .cell div.info.required label:after {
  display: none !important;
  content: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView table td,
.hbt-complaints-form-wrap .crmEntityFormView .cell,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-complaint-field {
  padding: 0 0 20px !important;
  margin: 0 0 4px !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-date-field input.hbt-date-display {
  max-width: 220px;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-date-field input:not(.hbt-date-display):not([type="hidden"]) {
  display: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-date-field .control,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-date-field .input-group {
  max-width: 220px;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-label {
  display: block !important;
  margin: 0 0 8px !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-chrome-hidden {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-cell,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-cform-order .hbt-complaint-row {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-field .control,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-field .lookup,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-field input:not([type="hidden"]),
.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-field button,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-field select:not(.hbt-branch-select),
.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-field textarea {
  display: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-ui {
  width: 100%;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-branch-ui select.hbt-branch-select {
  display: block !important;
  width: 100% !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-date-field .hbt-field-locked {
  background: var(--hbt-grey, #f4f5f7) !important;
}

/* Rich text / editor area for description */
.hbt-complaints-form-wrap .crmEntityFormView .cke,
.hbt-complaints-form-wrap .crmEntityFormView .cke_inner,
.hbt-complaints-form-wrap .crmEntityFormView iframe.cke_wysiwyg_frame {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .cke_contents {
  min-height: 160px !important;
}

/* Lookup row: unified input group with compact clear + search actions */
.hbt-complaints-form-wrap .crmEntityFormView .lookup .control,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-cell .lookup .control {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100%;
  border: 1.5px solid var(--hbt-grey-warm, #E8E4DC);
  border-radius: 10px;
  overflow: hidden;
  background: #fafaf8;
}

.hbt-complaints-form-wrap .crmEntityFormView .lookup input[type="text"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .lookup .btn,
.hbt-complaints-form-wrap .crmEntityFormView .lookup button,
.hbt-complaints-form-wrap .crmEntityFormView .lookup a.btn,
.hbt-complaints-form-wrap .crmEntityFormView .lookup .launchentitylookup,
.hbt-complaints-form-wrap .crmEntityFormView .lookup .clearlookupfield {
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-left: 1px solid var(--hbt-grey-warm, #E8E4DC) !important;
  border-radius: 0 !important;
  background: var(--hbt-white, #fff) !important;
  color: var(--hbt-navy, #2E456B) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .lookup .clearlookupfield,
.hbt-complaints-form-wrap .crmEntityFormView .lookup a[title="Clear"],
.hbt-complaints-form-wrap .crmEntityFormView .lookup button[title="Clear"] {
  color: var(--hbt-text-muted, #5C6370) !important;
  font-weight: 400 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-alert-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 0 !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-hidden,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-alert-dup,
.hbt-complaints-form-wrap .crmEntityFormView .hbt-form-alert-empty {
  display: none !important;
}

/* Branch renders as a dropdown; match the text inputs */
.hbt-complaints-form-wrap .crmEntityFormView select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 50px;
  display: block !important;
  box-sizing: border-box !important;
  border: 1.5px solid var(--hbt-grey-warm) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  background: #fafaf8 !important;
  color: var(--hbt-text) !important;
}

.hbt-complaints-form-wrap .crmEntityFormView select:focus {
  outline: none !important;
  border-color: var(--hbt-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22) !important;
  background: var(--hbt-white) !important;
}

/* Complaint date is prefilled and read-only */
.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-locked {
  background: var(--hbt-grey) !important;
  color: var(--hbt-text-muted) !important;
  cursor: default !important;
}

/* Financial Account lookup picker button */
.hbt-complaints-form-wrap .crmEntityFormView .btn-default,
.hbt-complaints-form-wrap .crmEntityFormView .launchentitylookup {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  margin-top: 10px !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  border: 2px solid var(--hbt-navy) !important;
  background: transparent !important;
  color: var(--hbt-navy) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  min-height: 0 !important;
}

/* Document upload control */
.hbt-complaints-form-wrap .crmEntityFormView input[type="file"] {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  padding: 16px 14px !important;
  border: 1.5px dashed var(--hbt-grey-warm) !important;
  border-radius: 10px !important;
  background: #fafaf8 !important;
  font-size: 14px !important;
  min-height: 0 !important;
  cursor: pointer;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="file"]:focus {
  outline: none !important;
  border-color: var(--hbt-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22) !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .validation-summary,
.hbt-complaints-form-wrap .crmEntityFormView .validation-summary-errors,
.hbt-complaints-form-wrap .crmEntityFormView .alert-danger {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(176, 42, 42, 0.25);
  background: #fff5f5;
  color: #8b1a1a;
  font-size: 14px;
  line-height: 1.5;
}

.hbt-complaints-form-wrap .crmEntityFormView .validation-summary.hbt-form-alert-empty,
.hbt-complaints-form-wrap .crmEntityFormView .validation-summary-errors.hbt-form-alert-empty,
.hbt-complaints-form-wrap .crmEntityFormView .alert-danger.hbt-form-alert-empty,
.hbt-complaints-form-wrap .crmEntityFormView .alert.hbt-form-alert-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: none !important;
  background: transparent !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-field-cell .lookup {
  width: 100% !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .hbt-title-field input.form-control {
  width: 100% !important;
}

.hbt-complaints-form-wrap .crmEntityFormView .validators,
.hbt-complaints-form-wrap .crmEntityFormView .validator-text {
  display: block !important;
  visibility: visible !important;
  color: #8b1a1a;
  font-size: 13px;
  margin-top: 6px;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="text"],
.hbt-complaints-form-wrap .crmEntityFormView input:not([type="submit"]):not([type="button"]):not([type="hidden"]) {
  min-height: 50px;
}

.hbt-complaints-form-wrap .crmEntityFormView .form-custom-actions,
.hbt-complaints-form-wrap .crmEntityFormView .actions,
.hbt-complaints-form-wrap .crmEntityFormView .entity-action-buttons {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both;
  margin: 0 !important;
  padding: 8px 0 0 !important;
  border-top: 1px solid var(--hbt-grey-warm);
  box-sizing: border-box !important;
  text-align: center;
}

.hbt-complaints-form-wrap .crmEntityFormView .entity-form-attach,
.hbt-complaints-form-wrap .crmEntityFormView .notes-control,
.hbt-complaints-form-wrap .crmEntityFormView .attach + .form-custom-actions,
.hbt-complaints-form-wrap .crmEntityFormView .attach + .actions {
  margin-top: 0 !important;
  padding-top: 8px !important;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="submit"],
.hbt-complaints-form-wrap .crmEntityFormView button[type="submit"],
.hbt-complaints-form-wrap .crmEntityFormView .btn-primary {
  display: block !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--hbt-gold) 0%, var(--hbt-gold-hover) 100%) !important;
  color: var(--hbt-navy-dark) !important;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hbt-complaints-form-wrap .crmEntityFormView input[type="submit"]:hover,
.hbt-complaints-form-wrap .crmEntityFormView button[type="submit"]:hover,
.hbt-complaints-form-wrap .crmEntityFormView .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45) !important;
  background: linear-gradient(135deg, var(--hbt-gold-light) 0%, var(--hbt-gold) 100%) !important;
}

@media (max-width: 640px) {
  .hbt-complaints-form-section {
    padding: 32px 0 40px;
  }

  .hbt-complaints-form-wrap {
    max-width: 100%;
  }

  .hbt-complaints-form-wrap__card .crmEntityFormView,
  .hbt-complaints-form-wrap__card .entity-form {
    padding: 16px 16px 12px !important;
  }

  .hbt-complaints-form-wrap .crmEntityFormView textarea {
    min-height: 6.5rem;
    height: 6.5rem;
  }
}

@media (min-width: 768px) {
  .hbt-complaints-form-wrap {
    max-width: 720px;
  }
}

/* Upload documents step (edit form — attach only) */
.hbt-complaints-upload .hbt-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.hbt-complaints-upload__header {
  text-align: center;
  margin-bottom: 28px;
}

.hbt-complaints-upload__step {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(46, 69, 107, 0.08);
  color: var(--hbt-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hbt-complaints-upload__header h1 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.hbt-complaints-upload__lead {
  color: var(--hbt-text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 auto 12px;
  max-width: 560px;
}

.hbt-complaints-upload__ref {
  color: var(--hbt-navy);
  font-size: 15px;
  margin: 0;
}

.hbt-complaints-upload__skip {
  text-align: center;
  margin: 16px 0 0;
  font-size: 14px;
}

.hbt-complaints-upload__skip a {
  color: var(--hbt-navy);
  font-weight: 700;
  text-decoration: underline !important;
}

.hbt-complaints-upload__missing {
  text-align: center;
  background: var(--hbt-grey);
  border-radius: var(--hbt-radius);
  padding: 32px 24px;
}

.hbt-complaints-upload__choice-card {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--hbt-shadow);
}

.hbt-complaints-upload__choice-title {
  color: var(--hbt-navy) !important;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.hbt-upload-choice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  margin: 0;
}

.hbt-upload-choice input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  flex: 0 0 20px;
  accent-color: var(--hbt-navy);
  cursor: pointer;
}

.hbt-upload-choice__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hbt-upload-choice__label {
  color: var(--hbt-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.hbt-upload-choice__hint {
  color: var(--hbt-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hbt-upload-default-actions {
  text-align: center;
  margin: 0 0 8px;
}

.hbt-upload-form-panel.is-collapsed {
  display: none !important;
}

.hbt-upload-form-panel.is-visible {
  display: block !important;
  margin-top: 8px;
}

.hbt-upload-dropzone {
  border: 2px dashed var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  background: rgba(46, 69, 107, 0.03);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hbt-upload-dropzone.is-dragover {
  border-color: var(--hbt-gold);
  background: rgba(201, 168, 76, 0.08);
}

.hbt-upload-dropzone__label {
  display: block;
  cursor: pointer;
  margin: 0;
}

.hbt-upload-dropzone__title {
  display: block;
  color: var(--hbt-navy);
  font-size: var(--hbt-font-size-base);
  font-weight: 700;
  margin-bottom: 6px;
}

.hbt-upload-dropzone__hint {
  display: block;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-xs);
  line-height: 1.5;
}

.hbt-upload-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hbt-upload-file-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hbt-upload-file-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius-sm);
  background: var(--hbt-white);
}

.hbt-upload-file-item__name {
  color: var(--hbt-navy);
  font-size: var(--hbt-font-size-sm);
  font-weight: 600;
  word-break: break-word;
}

.hbt-upload-file-item__meta {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-xs);
  white-space: nowrap;
}

.hbt-upload-progress {
  margin: 12px 0 0;
  color: var(--hbt-navy);
  font-size: var(--hbt-font-size-sm);
  font-weight: 600;
}

.hbt-upload-form .hbt-form-actions {
  margin-top: 20px;
}

.hbt-native-form .alert-success {
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.25);
  color: #1b5e20;
}

.hbt-complaints-upload-wrap .crmEntityFormView .tab-content,
.hbt-complaints-upload-wrap .crmEntityFormView .tab-pane,
.hbt-complaints-upload-wrap .crmEntityFormView .nav-tabs,
.hbt-complaints-upload-wrap .crmEntityFormView .progress,
.hbt-complaints-upload-wrap .crmEntityFormView table,
.hbt-complaints-upload-wrap .crmEntityFormView fieldset:not(:has(.attach)):not(:has(.entity-form-attach)) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hbt-complaints-upload-wrap .crmEntityFormView .entity-form-attach,
.hbt-complaints-upload-wrap .crmEntityFormView .attach,
.hbt-complaints-upload-wrap .crmEntityFormView [class*="attach"] {
  display: block !important;
  margin-top: 0 !important;
}

.hbt-complaints-upload-wrap .crmEntityFormView .form-custom-actions,
.hbt-complaints-upload-wrap .crmEntityFormView .actions {
  margin-top: 8px !important;
  padding-top: 12px !important;
}

/* ── Site header ── */
.hbt-header.navbar {
  background: var(--hbt-white) !important;
  border-bottom: 1px solid var(--hbt-grey-warm) !important;
  box-shadow: var(--hbt-shadow) !important;
  margin-bottom: 0 !important;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.hbt-header .navbar-brand,
.hbt-header .hbt-header__brand {
  display: flex !important;
  align-items: center;
  gap: var(--hbt-space-sm);
  padding: var(--hbt-space-sm) 0 !important;
  text-decoration: none !important;
}

.hbt-header .hbt-header__logo,
.hbt-header .hbt-header__logo-mark {
  width: 44px;
  height: 44px;
  max-height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hbt-header .hbt-header__logo-mark svg {
  display: block;
  width: 44px;
  height: 44px;
}

.hbt-header .hbt-header__title {
  color: var(--hbt-navy) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.2;
  font-family: var(--hbt-font) !important;
}

.hbt-header .navbar-inverse .navbar-nav > li > a,
.hbt-header.navbar-inverse .navbar-nav > li > a {
  color: var(--hbt-navy) !important;
  font-family: var(--hbt-font) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em;
  padding: 14px 16px !important;
  border-radius: var(--hbt-radius-sm);
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.hbt-header .navbar-nav > li > a:hover,
.hbt-header .navbar-nav > li > a:focus {
  background: var(--hbt-grey) !important;
  color: var(--hbt-navy-dark) !important;
}

.hbt-header .navbar-nav > li.active > a,
.hbt-header .navbar-nav > li.active > a:hover,
.hbt-header .navbar-nav > li.active > a:focus,
.hbt-header.navbar-inverse .navbar-nav > li.active > a,
.hbt-header.navbar-inverse .navbar-nav > li.active > a:hover,
.hbt-header.navbar-inverse .navbar-nav > li.active > a:focus,
.hbt-header .navbar-nav > li > a[aria-current="page"],
.hbt-header .navbar-nav > li > a[aria-current="page"]:hover,
.hbt-header .navbar-nav > li > a[aria-current="page"]:focus {
  background: transparent !important;
  color: var(--hbt-navy) !important;
  font-weight: 700 !important;
}

.hbt-header .navbar-nav > li.active > a::after,
.hbt-header .navbar-nav > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hbt-gold), var(--hbt-gold-light));
}

.hbt-header .navbar-nav > li > a {
  position: relative;
}

.hbt-header .navbar-nav > li:not(.active) > a:not([aria-current="page"]):hover {
  background: rgba(245, 243, 239, 0.85) !important;
}

.hbt-header .navbar-nav > li.hbt-nav__signin > a {
  margin-left: var(--hbt-space-sm);
  padding: 10px 20px !important;
  border: 2px solid var(--hbt-navy) !important;
  border-radius: var(--hbt-radius-sm) !important;
  background: transparent !important;
  color: var(--hbt-navy) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.hbt-header .navbar-nav > li.hbt-nav__signin > a:hover,
.hbt-header .navbar-nav > li.hbt-nav__signin > a:focus {
  background: var(--hbt-grey) !important;
  color: var(--hbt-navy-dark) !important;
  border-color: var(--hbt-navy-dark) !important;
}

.hbt-header .navbar-nav > li.hbt-nav__signin > a::after {
  display: none !important;
}

/* ── Platform chrome (private site / session banners) ── */
body > .alert,
.wrapper-body > .alert,
.wrapper-body > .container-fluid > .alert,
.navbar-static-top ~ .alert,
.hbt-platform-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.hbt-header .profile-dropdown .username,
.hbt-header .nav-profile .username {
  font-weight: 600;
}

.hbt-header .navbar-toggle {
  border: 2px solid var(--hbt-navy) !important;
  border-radius: var(--hbt-radius-sm) !important;
  margin-top: 14px;
  margin-right: 0;
  padding: 10px 12px;
}

.hbt-header .navbar-toggle .icon-bar {
  background-color: var(--hbt-navy) !important;
}

.hbt-header .navbar-toggle:hover,
.hbt-header .navbar-toggle:focus {
  background: var(--hbt-grey) !important;
}

.hbt-header .divider-vertical {
  display: none !important;
}

.hbt-header .navbar-collapse {
  border-top: none !important;
  box-shadow: none !important;
}

@media (max-width: 1199px) {
  .hbt-header .navbar-collapse.in,
  .hbt-header .navbar-collapse.collapsing {
    background: var(--hbt-white);
    border-top: 1px solid var(--hbt-grey-warm);
    padding: var(--hbt-space-sm) 0 var(--hbt-space-md);
    margin-top: var(--hbt-space-sm);
    border-radius: var(--hbt-radius-sm);
  }

  .hbt-header .navbar-nav > li > a {
    padding: 14px var(--hbt-space-md) !important;
    border-radius: 0;
  }
}

@media (min-width: 1200px) {
  .hbt-header .menu-bar {
    display: flex;
    align-items: center;
  }
}

/* Skip link */
.hbt-header .skip-to-content a {
  padding: 10px 20px;
  position: absolute;
  top: -48px;
  left: var(--hbt-space-md);
  color: var(--hbt-white);
  background: var(--hbt-navy);
  border-radius: var(--hbt-radius-sm);
  text-decoration: none !important;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.15s ease;
}

.hbt-header .skip-to-content a:focus {
  top: var(--hbt-space-sm);
  outline: var(--hbt-focus-ring);
  outline-offset: var(--hbt-focus-offset);
}

/* ── Site footer ── */
.hbt-footer {
  background: var(--hbt-navy-dark);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
}

.hbt-footer__top {
  padding: var(--hbt-space-xl) 0 var(--hbt-space-lg);
}

.hbt-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hbt-space-lg);
}

@media (min-width: 640px) {
  .hbt-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .hbt-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

.hbt-footer__brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.65;
  margin: var(--hbt-space-sm) 0 0;
  max-width: 320px;
}

.hbt-footer__heading {
  color: var(--hbt-gold-light) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--hbt-space-sm) !important;
}

.hbt-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hbt-footer__links li {
  margin-bottom: 10px;
}

.hbt-footer__links a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
}

.hbt-footer__links a:hover {
  color: var(--hbt-gold-light) !important;
  text-decoration: underline !important;
}

.hbt-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--hbt-space-md) 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.hbt-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-sm);
}

@media (min-width: 640px) {
  .hbt-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.hbt-footer__legal a {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: underline !important;
  margin-left: var(--hbt-space-md);
}

.hbt-footer__legal a:first-child {
  margin-left: 0;
}

/* ── Portal overrides ── */
.wrapper {
  text-align: left;
}

.wrapper-body,
.page-copy,
.hbt,
.hbt-home,
.hbt-about,
.hbt-help,
.hbt-complaints,
.hbt-contact {
  width: 100%;
  max-width: none;
  text-align: left;
}

.page-copy {
  margin: 0;
  padding: 0;
}

/* Full-bleed heroes — span the content column (no vw offset; that caused center squeeze) */
.hbt-home-hero,
.hbt-hero,
.hbt-help-hero,
.hbt-complaints-hero,
.hbt-contact-hero,
.hbt-page-hero {
  display: block;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  left: auto;
  right: auto;
  text-align: left;
  border-radius: 0;
  box-sizing: border-box;
}

.hbt-home-hero__copy,
.hbt-home-hero__content-inner,
.hbt-home-hero__actions {
  text-align: left;
  align-items: flex-start;
}

.wrapper-body {
  min-height: calc(100vh - 72px - 280px);
}

footer.footer .footer-bottom {
  background: transparent !important;
  min-height: 0 !important;
  padding: 0 !important;
}

footer.footer .footer-bottom .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

footer.footer .footer-bottom .row {
  margin: 0;
}

footer.footer .footer-bottom .col-md-9,
footer.footer .footer-bottom .col-md-3 {
  width: 100%;
  padding: 0;
  float: none;
}

.navbar-inverse .navbar-nav > li > a {
  text-decoration: none !important;
}

a:not(.btn):not(.hbt-btn):not([class*="btn"]) {
  color: var(--hbt-link);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hbt-btn:hover,
  .hbt-help-btn:hover,
  .hbt-complaints-btn:hover,
  .hbt-contact-btn:hover {
    transform: none;
  }
}

/* ── Utility / system pages ── */
.hbt-page-hero {
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  padding: var(--hbt-space-xl) 0 var(--hbt-space-2xl);
}

.hbt-page-hero__inner {
  max-width: 640px;
}

.hbt-page-hero h1 {
  color: var(--hbt-white) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 14px;
}

.hbt-page-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--hbt-font-size-sm);
  margin: 0 0 24px;
  line-height: var(--hbt-line-height);
}

.hbt-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
}

.hbt-page-card {
  display: block;
  padding: 28px 24px;
  height: 100%;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.hbt-page-card:hover {
  box-shadow: var(--hbt-shadow-hover);
  transform: translateY(-2px);
}

.hbt-page-card h2,
.hbt-page-card h3 {
  color: var(--hbt-navy) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.hbt-page-card p {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  margin: 0;
  line-height: var(--hbt-line-height);
}

.hbt-page-banner {
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-md);
  align-items: flex-start;
  background: var(--hbt-grey);
  border-radius: var(--hbt-radius);
  padding: var(--hbt-space-lg) 28px;
}

@media (min-width: 640px) {
  .hbt-page-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hbt-page-banner h2 {
  color: var(--hbt-navy) !important;
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.hbt-page-banner p {
  color: var(--hbt-text-muted);
  font-size: 15px;
  margin: 0;
}

.hbt-page-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--hbt-gold-light);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hbt-page-hero__code {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 700;
  color: rgba(201, 168, 76, 0.35);
  margin: 0 0 8px;
  line-height: 1;
}

.hbt-page-hero--404 {
  text-align: center;
}

.hbt-page-hero--404 .hbt-page-hero__inner,
.hbt-page-hero--center .hbt-page-hero__inner {
  margin: 0 auto;
}

.hbt-page-hero--center {
  text-align: center;
}

.hbt-page-hero--center .hbt-page-hero__actions {
  justify-content: center;
}

.hbt-page-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hbt-space-lg);
  align-items: start;
}

@media (min-width: 900px) {
  .hbt-page-split { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}

.hbt-page-split h2 {
  color: var(--hbt-navy) !important;
  font-size: 1.5rem;
  margin: 0 0 14px;
}

.hbt-page-split > div > p {
  color: var(--hbt-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.hbt-page-list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--hbt-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hbt-page-callout {
  background: var(--hbt-grey);
  border: 2px solid var(--hbt-gold);
  border-radius: var(--hbt-radius);
  padding: 28px 24px;
}

.hbt-page-callout__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hbt-text-muted);
  margin: 0 0 8px;
}

.hbt-page-callout__phone {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hbt-navy) !important;
  text-decoration: none !important;
  margin-bottom: 12px;
}

.hbt-page-callout p:last-child {
  color: var(--hbt-text-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

.hbt-page-card--static {
  cursor: default;
}

/* ── Authentication pages (Sign in / Register) ── */
body:has(#local-login-heading),
body:has(#local-register-heading),
body.hbt-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(201, 168, 76, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(46, 69, 107, 0.06), transparent 40%),
    linear-gradient(180deg, #e8ecf2 0%, var(--hbt-grey) 38%, #faf9f7 100%);
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .wrapper-body .container,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .wrapper-body .container .row,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .wrapper-body .container .col-lg-12,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .wrapper-body .container .col-md-12 {
  max-width: 960px;
  float: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.hbt-auth-page .hbt-header.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 69, 107, 0.08);
  box-shadow: none;
}

body.hbt-auth-page .hbt-header .container {
  max-width: min(1280px, 100%) !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

body.hbt-auth-page .hbt-header .navbar-nav.weblinks > li.weblink {
  display: none !important;
}

body.hbt-auth-page .hbt-header .hbt-nav__signin {
  display: none !important;
}

.hbt-auth-split__brand {
  display: none;
}

.hbt-auth-split__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--hbt-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hbt-auth-split__brand-inner {
  max-width: 420px;
}

.hbt-auth-split__brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.hbt-auth-split__brand-logo svg {
  width: 40px;
  height: 40px;
}

.hbt-auth-split__brand h1 {
  color: var(--hbt-white) !important;
  font-family: var(--hbt-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hbt-auth-split__brand-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 32px;
}

.hbt-auth-split__brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hbt-auth-split__brand-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.5;
}

.hbt-auth-split__brand-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--hbt-gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.hbt-auth-split__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.hbt-auth-split__home:hover {
  color: var(--hbt-gold-light) !important;
}

.hbt-auth-split__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hbt-auth-split__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hbt-auth-split__stat strong {
  color: var(--hbt-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.hbt-auth-split__stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

@media (min-width: 960px) {
  body:has(#local-login-heading),
  body:has(#local-register-heading),
  body.hbt-auth-page {
    background: var(--hbt-navy-dark);
  }

  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .wrapper-body .container {
    max-width: none;
    width: 100%;
    padding: 0;
  }

  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-heading {
    display: none;
  }

  .hbt-auth-split {
    display: grid !important;
    grid-template-columns: minmax(380px, 1fr) minmax(420px, 1fr);
    min-height: calc(100vh - 72px);
    align-items: stretch;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  .hbt-auth-split::before,
  .hbt-auth-split::after {
    display: none !important;
    content: none !important;
  }

  .hbt-auth-split > * {
    float: none !important;
    min-height: 0;
  }

  .hbt-auth-split__brand {
    display: flex;
    align-items: center;
    padding: 56px 48px 56px 56px;
    background:
      radial-gradient(circle at 20% 20%, rgba(201, 168, 76, 0.16), transparent 45%),
      linear-gradient(160deg, var(--hbt-navy-dark) 0%, var(--hbt-navy) 55%, #243a5c 100%);
    position: relative;
    overflow: hidden;
  }

  .hbt-auth-split__brand::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hbt-auth-split__form-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    width: 100% !important;
    max-width: none !important;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.1), transparent 55%),
      linear-gradient(180deg, #e8ecf2 0%, var(--hbt-grey) 45%, #faf9f7 100%);
  }

  .hbt-auth-split__form-col > [class*="col-"] {
    width: 100% !important;
    max-width: 520px !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 auto;
  }

  .hbt-auth-split__form-col .page-copy,
  .hbt-auth-split__form-col .hbt-auth-card {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
  }

  .hbt-auth-split .hbt-auth-pagecopy__banner,
  .hbt-auth-split .hbt-auth-trust-chips,
  .hbt-auth-split .hbt-auth-pagecopy__lead {
    display: none;
  }

  .hbt-auth-split .hbt-auth-pagecopy__lead {
    padding-top: 12px;
  }
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-heading {
  display: none !important;
  background: transparent;
  border-bottom: none;
  padding: 0;
  text-align: center;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-heading .breadcrumb {
  display: none;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-heading h1,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-heading .page-header h1 {
  display: none;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy {
  position: relative;
  max-width: 440px;
  margin: 40px auto 72px;
  padding: 0;
  background: var(--hbt-white);
  border-radius: 20px;
  box-shadow:
    0 24px 64px rgba(26, 39, 68, 0.14),
    0 0 0 1px rgba(46, 69, 107, 0.06);
  overflow: hidden;
}

body.hbt-auth-page .hbt-auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 24px auto 48px;
  padding: 0;
  background: var(--hbt-white);
  border-radius: 20px;
  box-shadow:
    0 24px 64px rgba(26, 39, 68, 0.14),
    0 0 0 1px rgba(46, 69, 107, 0.06);
  overflow: hidden;
}

body:not(.hbt-auth-page) .hbt-auth-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body:not(.hbt-auth-page) .hbt-auth-card::before {
  display: none !important;
}

.hbt-auth-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--hbt-gold), var(--hbt-gold-light) 50%, var(--hbt-gold));
}

.hbt-auth-card .page-copy {
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
}

.hbt-auth-card .page-copy::before {
  display: none !important;
}

.hbt-auth-pagecopy {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--hbt-gold), var(--hbt-gold-light) 50%, var(--hbt-gold));
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy > .row,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .tab-content,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .tab-content > .tab-pane,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .tab-content .row {
  max-width: none;
  margin: 0;
  float: none;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .row {
  display: block;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .row::before,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .row::after {
  display: none;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card > .row,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .tab-content,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .tab-content > .tab-pane,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .tab-content .row,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .row > .col-sm-6,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .row > .col-md-6 {
  max-width: none;
  margin: 0;
  float: none;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0;
  padding-right: 0;
}

.hbt-auth-pagecopy__banner {
  background: linear-gradient(145deg, var(--hbt-navy-dark) 0%, var(--hbt-navy) 55%, #243a5c 100%);
  color: var(--hbt-white);
  border-radius: 0;
  padding: 32px 28px 26px;
  box-shadow: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hbt-auth-pagecopy__banner::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hbt-auth-pagecopy__banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hbt-auth-pagecopy__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hbt-auth-pagecopy__logo svg {
  width: 34px;
  height: 34px;
}

.hbt-auth-pagecopy__banner h2 {
  color: var(--hbt-white) !important;
  font-family: var(--hbt-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.hbt-auth-pagecopy__eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--hbt-gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hbt-auth-pagecopy__banner p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.hbt-auth-pagecopy__lead {
  color: var(--hbt-text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  padding: 20px 28px;
  text-align: left;
  background: var(--hbt-white);
  width: 100%;
  box-sizing: border-box;
}

.hbt-auth-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 28px 0;
  background: var(--hbt-white);
}

.hbt-auth-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--hbt-grey);
  border: 1px solid var(--hbt-grey-warm);
  color: var(--hbt-navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.hbt-auth-form-head {
  padding: 24px 28px 8px;
  text-align: center;
  background: var(--hbt-white);
  border-bottom: 1px solid var(--hbt-grey-warm);
}

.hbt-auth-form-head__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(46, 69, 107, 0.08);
  color: var(--hbt-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hbt-auth-form-head h2 {
  margin: 0 0 8px;
  color: var(--hbt-navy) !important;
  font-family: var(--hbt-font-heading);
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.hbt-auth-form-head p {
  margin: 0;
  color: var(--hbt-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.hbt-auth-pagecopy__note {
  font-size: 13px;
  color: var(--hbt-text-muted);
  text-align: center;
  margin: 20px 28px 0;
  padding: 14px 16px;
  background: var(--hbt-grey);
  border-radius: var(--hbt-radius-sm);
  border: 1px solid var(--hbt-grey-warm);
  border-left: 3px solid var(--hbt-gold);
}

.hbt-auth-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px 22px;
  margin-top: 4px;
  border-top: 1px solid var(--hbt-grey-warm);
  font-size: 12px;
  font-weight: 500;
  color: var(--hbt-text-muted);
  background: rgba(245, 243, 239, 0.55);
  letter-spacing: 0.01em;
}

.hbt-auth-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--hbt-success);
}

.hbt-auth-pagecopy__note a {
  color: var(--hbt-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.hbt-auth-pagecopy__note a:hover {
  text-decoration: underline !important;
}

body.hbt-auth-page .hbt-auth-card .nav-tabs,
body.hbt-auth-page .hbt-auth-split__form-col .nav-tabs,
body.hbt-auth-page .wrapper-body .nav-tabs {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: none !important;
  margin: 0 !important;
  padding: 20px 24px 4px !important;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  background: var(--hbt-white);
}

body.hbt-auth-page .hbt-auth-card > .nav-tabs {
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid var(--hbt-grey-warm) !important;
}

body.hbt-auth-page .wrapper-body .nav-tabs > li {
  float: none !important;
  margin: 0 !important;
}

body.hbt-auth-page .wrapper-body .nav-tabs > li > a {
  display: inline-block;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  border: 1.5px solid var(--hbt-grey-warm) !important;
  color: var(--hbt-navy) !important;
  background: var(--hbt-white) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin: 0 !important;
  min-width: 108px;
  text-align: center;
}

body.hbt-auth-page .wrapper-body .nav-tabs > li.active > a,
body.hbt-auth-page .wrapper-body .nav-tabs > li.active > a:hover,
body.hbt-auth-page .wrapper-body .nav-tabs > li.active > a:focus {
  background: var(--hbt-navy) !important;
  color: var(--hbt-white) !important;
  border-color: var(--hbt-navy) !important;
}

body.hbt-auth-page .wrapper-body .nav-tabs > li > a:hover,
body.hbt-auth-page .wrapper-body .nav-tabs > li > a:focus {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--hbt-navy) !important;
}

.page-copy .nav-tabs > li > a[href*="External"],
.page-copy .nav-tabs > li > a[href*="Invitation"],
.page-copy .nav-tabs > li > a[href="#externalLogin"],
.page-copy .nav-tabs > li > a[href="#externalRegister"],
.page-copy .nav-tabs > li > a[href="#invitationLogin"],
.page-copy .nav-tabs > li > a[href="#invitationRegister"] {
  display: none !important;
}

.page-copy .nav-tabs > li:has(> a[href*="External"]),
.page-copy .nav-tabs > li:has(> a[href*="Invitation"]),
.page-copy .nav-tabs > li:has(> a[href="#externalLogin"]),
.page-copy .nav-tabs > li:has(> a[href="#externalRegister"]) {
  display: none !important;
}

.page-copy .tab-content > .tab-pane {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.page-copy .hbt-auth-hidden,
body:has(#local-login-heading) #external-login-heading,
body:has(#local-login-heading) #external-login-heading ~ *,
body:has(#local-login-heading) .external-login,
body:has(#local-login-heading) .login-external,
body:has(#local-login-heading) hr.auth-divider,
body:has(#local-login-heading) hr.divider-or,
body:has(#local-register-heading) #external-register-heading,
body:has(#local-register-heading) #external-register-heading ~ *,
body:has(#local-register-heading) .external-login,
body:has(#local-register-heading) .register-external,
body:has(#local-register-heading) fieldset[aria-labelledby="external-register-heading"],
body:has(#local-register-heading) fieldset[aria-labelledby*="external"],
body:has(#local-register-heading) .page-copy h4:not(#local-register-heading):not(#local-login-heading) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.page-copy fieldset[aria-labelledby="external-login-heading"],
.page-copy #external-login-heading,
.page-copy #external-register-heading,
.page-copy #external-login-heading ~ *,
.page-copy #external-register-heading ~ *,
.page-copy .row > .col-sm-6:has(#external-login-heading),
.page-copy .row > .col-md-6:has(#external-login-heading),
.page-copy .row > .col-sm-6:has(#external-register-heading),
.page-copy .row > .col-md-6:has(#external-register-heading),
.page-copy .row > .col-sm-6:has(#AzureADExchange),
.page-copy .row > .col-md-6:has(#AzureADExchange),
.page-copy .row > .col-sm-6:has(.external-login),
.page-copy .row > .col-md-6:has(.external-login),
.page-copy .row > .col-sm-6:has(.login-external),
.page-copy .row > .col-md-6:has(.login-external),
.page-copy .local-login + .external-login,
.page-copy #local-register-heading + .external-login,
.page-copy .external-login,
.page-copy .divider-or,
.page-copy fieldset[aria-labelledby="invitation-login-heading"],
.page-copy fieldset[aria-labelledby="invitation-register-heading"],
.page-copy #invitation-login-heading,
.page-copy #invitation-register-heading,
.page-copy .invitation-login,
.page-copy a[href*="InvitationCode"],
.page-copy a[href*="invitation"],
.page-copy a[href*="Redeem"],
.page-copy .identity-provider,
.page-copy .social-auth,
.page-copy #AzureADExchange,
.page-copy .btn-microsoft,
.page-copy hr.auth-divider,
.page-copy #externalLogin,
.page-copy #externalRegister,
.page-copy #invitationLogin,
.page-copy #invitationRegister,
.page-copy .openidconnect,
.page-copy .register-external,
.page-copy .login-external,
.page-copy .hbt-auth-hidden {
  display: none !important;
}

body:has(#local-login-heading) .page-copy input[type="submit"][value="Azure AD"],
body:has(#local-login-heading) .page-copy input[type="submit"][value*="Azure"],
body:has(#local-login-heading) .page-copy a.btn-primary[href*="openid"],
body:has(#local-register-heading) .page-copy input[type="submit"][value="Azure AD"],
body:has(#local-register-heading) .page-copy input[type="submit"][value*="Azure"] {
  display: none !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset[aria-labelledby="local-login-heading"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset[aria-labelledby="local-register-heading"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card fieldset[aria-labelledby="local-login-heading"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card fieldset[aria-labelledby="local-register-heading"] {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 8px 28px 28px;
  border: none;
  border-radius: 0;
  background: var(--hbt-white);
  box-shadow: none;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy #local-login-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy h4#local-login-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy #local-register-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy h4#local-register-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card #local-login-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card h4#local-login-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card #local-register-heading,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card h4#local-register-heading {
  display: block !important;
  color: var(--hbt-navy) !important;
  font-family: var(--hbt-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  padding: 4px 28px 14px;
  text-align: center;
  border-bottom: 1px solid var(--hbt-grey-warm);
  text-transform: none;
  letter-spacing: normal;
}

body.hbt-auth-page .page-copy:has(.hbt-auth-pagecopy) #local-login-heading,
body.hbt-auth-page .page-copy:has(.hbt-auth-pagecopy) #local-register-heading,
body.hbt-auth-page .page-copy:has(.hbt-auth-pagecopy) h4#local-login-heading,
body.hbt-auth-page .page-copy:has(.hbt-auth-pagecopy) h4#local-register-heading,
body.hbt-auth-page .hbt-auth-card:has(.hbt-auth-pagecopy) #local-login-heading,
body.hbt-auth-page .hbt-auth-card:has(.hbt-auth-pagecopy) #local-register-heading {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .form-group,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal .form-group {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .form-group::before,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .form-group::after,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal .form-group::before,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal .form-group::after {
  display: none !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset .form-group > [class*="col-"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal [class*="col-sm"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal [class*="col-md"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal [class*="col-lg"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card fieldset .form-group > [class*="col-"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal [class*="col-sm"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal [class*="col-md"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal [class*="col-lg"] {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .control-label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset .form-group > label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal .control-label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card fieldset .form-group > label {
  float: none !important;
  width: 100% !important;
  text-align: left !important;
  padding: 0 !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .control-label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy label:not(.checkbox label),
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal .control-label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal label,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card label:not(.checkbox label) {
  color: var(--hbt-navy) !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .form-control,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy input[type="text"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy input[type="email"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy input[type="password"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .form-horizontal .form-control,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card input[type="text"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card input[type="email"],
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card input[type="password"] {
  min-height: 50px;
  border: 1.5px solid var(--hbt-grey-warm) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  background: #fafaf8 !important;
  box-shadow: inset 0 1px 2px rgba(26, 39, 68, 0.04) !important;
  width: 100% !important;
  color: var(--hbt-text) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-horizontal .form-control:focus,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy input:focus {
  border-color: var(--hbt-gold) !important;
  outline: var(--hbt-focus-ring) !important;
  outline-offset: var(--hbt-focus-offset) !important;
  background: var(--hbt-white) !important;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12) !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .btn-primary,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy input[type="submit"].btn-primary,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy button[type="submit"] {
  background: linear-gradient(135deg, var(--hbt-gold) 0%, var(--hbt-gold-hover) 100%) !important;
  border: none !important;
  color: var(--hbt-navy-dark) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em;
  min-height: 50px;
  width: 100%;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.38);
  margin-top: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .btn-primary:hover,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .btn-primary:focus,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy input[type="submit"]:hover {
  background: var(--hbt-gold-hover) !important;
  color: var(--hbt-navy-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.42);
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .btn-default,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card .btn-default,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy a.btn-default,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card a.btn-default {
  border: none !important;
  color: var(--hbt-link) !important;
  background: transparent !important;
  min-height: auto;
  width: 100%;
  border-radius: 0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-top: 8px;
  padding: 10px 8px !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .btn-default:hover,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .btn-default:focus {
  color: var(--hbt-link-hover) !important;
  background: transparent !important;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .checkbox {
  margin: 4px 0 12px;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .checkbox label {
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--hbt-text-muted) !important;
  text-transform: none;
  letter-spacing: normal;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .checkbox input[type="checkbox"] {
  accent-color: var(--hbt-navy);
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .form-group {
  margin-bottom: 18px;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset .form-group:has(.btn-primary),
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset .form-group:has(.btn-default) {
  margin-bottom: 0;
}

:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .row > .col-sm-6,
:is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy .row > .col-md-6 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 959px) {
  body:has(#local-login-heading),
  body:has(#local-register-heading),
  body.hbt-auth-page {
    background: var(--hbt-navy-dark) !important;
  }

  .hbt-auth-split {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    min-height: calc(100vh - 72px);
  }

  .hbt-auth-split__brand {
    display: flex !important;
    padding: 28px 24px 24px;
    min-height: auto;
  }

  .hbt-auth-split__brand-list {
    display: none;
  }

  .hbt-auth-split__stats {
    margin-top: 20px;
    padding-top: 18px;
  }

  .hbt-auth-split__home {
    display: none;
  }

  .hbt-auth-split__form-col {
    display: block !important;
    flex: 1;
    padding: 0 16px 32px !important;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.1), transparent 55%),
      linear-gradient(180deg, #e8ecf2 0%, var(--hbt-grey) 45%, #faf9f7 100%) !important;
    border-radius: 24px 24px 0 0;
    margin-top: -12px;
  }

  .hbt-auth-split .hbt-auth-pagecopy__banner,
  .hbt-auth-split .hbt-auth-trust-chips,
  .hbt-auth-split .hbt-auth-pagecopy__lead {
    display: none !important;
  }

  .hbt-auth-split__form-col > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.hbt-auth-page .hbt-auth-card,
  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy {
    margin: 20px auto 0;
  }
}

@media (max-width: 520px) {
  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy,
  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .hbt-auth-card {
    margin: 24px 16px 48px;
    border-radius: 16px;
  }

  .hbt-auth-pagecopy__banner {
    padding: 26px 22px 22px;
  }

  .hbt-auth-pagecopy__lead,
  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset[aria-labelledby="local-login-heading"],
  :is(body:has(#local-login-heading), body:has(#local-register-heading), body.hbt-auth-page) .page-copy fieldset[aria-labelledby="local-register-heading"] {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hbt-auth-pagecopy__note {
    margin-left: 22px;
    margin-right: 22px;
  }
}

/* ── Home page ── */
.hbt-home-hero {
  background: linear-gradient(135deg, var(--hbt-navy-dark) 0%, var(--hbt-navy) 100%);
  overflow: hidden;
}

.hbt-home-hero__shell {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .hbt-home-hero__shell {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .hbt-home-hero__shell {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.hbt-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  min-height: clamp(480px, 72vh, 620px);
}

@media (min-width: 768px) {
  .hbt-home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 32px;
    min-height: 560px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.hbt-home-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: var(--hbt-space-xl) 0;
  min-width: 0;
}

@media (min-width: 768px) {
  .hbt-home-hero__copy {
    grid-column: 1 / span 6;
    padding: 0;
  }
}

.hbt-home-hero__content-inner {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hbt-home-hero h1 {
  color: var(--hbt-white) !important;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  width: 100%;
  text-align: left;
}

.hbt-home-hero__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  margin: 0 0 28px;
  width: 100%;
  max-width: 520px;
  text-align: left;
}

.hbt-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hbt-space-sm);
  margin: 0 0 16px;
  width: 100%;
}

.hbt-home-hero .hbt-btn {
  border-radius: var(--hbt-radius-sm);
  min-height: 48px;
  min-width: 168px;
  padding: 13px 26px;
  border-width: 2px;
  border-style: solid;
  justify-content: center;
}

.hbt-home-hero .hbt-btn--primary {
  border-color: transparent;
}

.hbt-home-hero .hbt-btn--outline {
  border-color: rgba(255, 255, 255, 0.9) !important;
}

.hbt-home-hero__track {
  display: inline-flex;
  align-items: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 1 !important;
  visibility: visible !important;
  padding: 6px 0;
}

.hbt-home-hero__track:link,
.hbt-home-hero__track:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hbt-home-hero__track:hover,
.hbt-home-hero__track:focus {
  color: var(--hbt-gold-light) !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: underline !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.hbt-home-hero__media {
  position: relative;
  min-height: 240px;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
}

@media (min-width: 768px) {
  .hbt-home-hero__media {
    grid-column: 7 / span 6;
    min-height: 420px;
    max-height: 520px;
    align-self: center;
    border-radius: var(--hbt-radius);
  }
}

@media (max-width: 767px) {
  .hbt-home-hero__grid {
    grid-template-rows: auto 1fr;
  }

  .hbt-home-hero__media {
    order: -1;
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-height: 280px;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .hbt-home-hero__media {
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
  }
}

.hbt-home-hero__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

.hbt-home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 50%, rgba(26, 39, 68, 0.5) 100%);
}

@media (min-width: 768px) {
  .hbt-home-hero__media::after {
    background: linear-gradient(
      105deg,
      rgba(26, 39, 68, 0.28) 0%,
      rgba(26, 39, 68, 0.1) 24%,
      transparent 48%
    );
  }
}

/* ── Dark-surface contrast (heroes, navy banners) ── */
.hbt-home-hero a,
.hbt-page-hero a,
.hbt-complaints-hero a,
.hbt-contact-hero a,
.hbt-help-hero a,
.hbt-home-support__banner a,
.hbt-help-support-bar a,
.hbt-complaints-track a {
  text-decoration: none !important;
}

.hbt-home-hero .hbt-btn--outline,
.hbt-page-hero .hbt-btn--outline,
.hbt-about-hero .hbt-btn--outline,
.hbt-complaints-hero .hbt-btn--outline,
.hbt-contact-hero .hbt-btn--outline,
.hbt-help-hero .hbt-btn--outline,
.hbt-home-support__banner .hbt-btn--outline,
.hbt-support-banner__inner .hbt-btn--outline,
.hbt-help-support-bar .hbt-btn--outline {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hbt-home-hero .hbt-btn--outline:link,
.hbt-home-hero .hbt-btn--outline:visited,
.hbt-page-hero .hbt-btn--outline:link,
.hbt-page-hero .hbt-btn--outline:visited,
.hbt-about-hero .hbt-btn--outline:link,
.hbt-about-hero .hbt-btn--outline:visited,
.hbt-complaints-hero .hbt-btn--outline:link,
.hbt-complaints-hero .hbt-btn--outline:visited,
.hbt-contact-hero .hbt-btn--outline:link,
.hbt-contact-hero .hbt-btn--outline:visited,
.hbt-home-support__banner .hbt-btn--outline:link,
.hbt-home-support__banner .hbt-btn--outline:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hbt-home-hero .hbt-btn--outline:hover,
.hbt-page-hero .hbt-btn--outline:hover,
.hbt-about-hero .hbt-btn--outline:hover,
.hbt-complaints-hero .hbt-btn--outline:hover,
.hbt-contact-hero .hbt-btn--outline:hover,
.hbt-help-hero .hbt-btn--outline:hover,
.hbt-home-support__banner .hbt-btn--outline:hover,
.hbt-support-banner__inner .hbt-btn--outline:hover,
.hbt-help-support-bar .hbt-btn--outline:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

.hbt-home-hero .hbt-btn--primary,
.hbt-page-hero .hbt-btn--primary,
.hbt-about-hero .hbt-btn--primary,
.hbt-complaints-hero .hbt-btn--primary,
.hbt-contact-hero .hbt-btn--primary,
.hbt-home-support__banner .hbt-btn--primary,
.hbt-help-support-bar .hbt-btn--primary {
  color: var(--hbt-navy-dark) !important;
}

.hbt-home-hero__track,
.hbt-page-hero a:not([class*="btn"]),
.hbt-complaints-hero a:not([class*="btn"]),
.hbt-contact-hero a:not([class*="btn"]) {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hbt-home-hero__track:hover,
.hbt-page-hero a:not([class*="btn"]):hover,
.hbt-complaints-hero a:not([class*="btn"]):hover,
.hbt-contact-hero a:not([class*="btn"]):hover {
  color: var(--hbt-gold-light) !important;
}

.hbt-home-quick {
  margin-top: -48px;
  position: relative;
  z-index: 3;
  padding-bottom: var(--hbt-space-xl);
}

.hbt-home-quick__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hbt-space-sm);
}

@media (min-width: 640px) {
  .hbt-home-quick__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hbt-home-quick__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hbt-home-quick__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  box-shadow: var(--hbt-shadow);
  color: var(--hbt-navy) !important;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hbt-home-quick__card:hover,
.hbt-home-quick__card:focus-visible {
  box-shadow: var(--hbt-shadow-hover);
  transform: translateY(-2px);
  border-color: var(--hbt-gold);
}

.hbt-home-quick__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--hbt-grey);
  color: var(--hbt-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.hbt-home-quick__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hbt-home-search-section {
  padding: var(--hbt-space-xl) 0;
  background: var(--hbt-grey);
}

.hbt-home-search-section h2 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 var(--hbt-space-lg);
}

.hbt-home-search {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-sm);
}

@media (min-width: 640px) {
  .hbt-home-search {
    flex-direction: row;
    align-items: stretch;
  }
}

.hbt-home-search__field {
  flex: 1;
  position: relative;
}

.hbt-home-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hbt-text-muted);
  font-size: 18px;
  pointer-events: none;
}

.hbt-home-search input[type="search"] {
  width: 100%;
  min-height: 56px;
  padding: 0 18px 0 48px;
  font-size: 16px;
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius-sm);
  background: var(--hbt-white);
  color: var(--hbt-text);
}

.hbt-home-search input[type="search"]:focus {
  outline: var(--hbt-focus-ring);
  outline-offset: var(--hbt-focus-offset);
  border-color: var(--hbt-gold);
}

.hbt-home-search button {
  min-height: 56px;
  padding: 0 32px;
  background: var(--hbt-navy);
  color: var(--hbt-white);
  border: none;
  border-radius: var(--hbt-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hbt-home-search button:hover,
.hbt-home-search button:focus-visible {
  background: var(--hbt-navy-dark);
}

.hbt-home-categories {
  padding: var(--hbt-space-xl) 0;
  background: var(--hbt-white);
}

.hbt-home-categories__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--hbt-space-lg);
}

.hbt-home-categories__head h2 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 8px;
}

.hbt-home-categories__head p {
  color: var(--hbt-text-muted);
  font-size: 15px;
  margin: 0;
}

.hbt-home-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hbt-space-sm);
}

@media (min-width: 640px) {
  .hbt-home-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hbt-home-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hbt-home-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--hbt-grey);
  border: 1px solid transparent;
  border-radius: var(--hbt-radius-sm);
  color: var(--hbt-navy) !important;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hbt-home-category:hover,
.hbt-home-category:focus-visible {
  background: var(--hbt-white);
  border-color: var(--hbt-grey-warm);
  box-shadow: var(--hbt-shadow);
}

.hbt-home-category__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hbt-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hbt-home-category__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.hbt-home-trust {
  padding: var(--hbt-space-xl) 0;
  background: var(--hbt-grey);
  border-top: 1px solid var(--hbt-grey-warm);
  border-bottom: 1px solid var(--hbt-grey-warm);
}

.hbt-home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hbt-space-lg);
}

@media (min-width: 640px) {
  .hbt-home-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hbt-home-trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hbt-space-md);
  }
}

.hbt-home-trust__item {
  text-align: center;
  padding: 0 var(--hbt-space-sm);
}

.hbt-home-trust__value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--hbt-navy);
  margin-bottom: 6px;
}

.hbt-home-trust__label {
  font-size: 14px;
  color: var(--hbt-text-muted);
  line-height: 1.5;
  margin: 0;
}

.hbt-home-support {
  padding: var(--hbt-space-xl) 0 calc(var(--hbt-space-xl) + 16px);
  background: var(--hbt-white);
}

.hbt-home-support__banner {
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  border-radius: var(--hbt-radius);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-lg);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hbt-home-support__banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 48px 56px;
  }
}

.hbt-home-support__banner h2 {
  color: var(--hbt-white) !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 8px;
}

.hbt-home-support__banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0;
  max-width: 420px;
  line-height: 1.55;
}

.hbt-home-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
}

.hbt-footer__regulatory {
  margin-top: var(--hbt-space-md);
  padding-top: var(--hbt-space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.hbt-footer__regulatory p {
  margin: 0 0 8px;
}

.hbt-footer__placeholder {
  font-style: italic;
  opacity: 0.85;
}

@media (min-width: 960px) {
  .hbt-footer__grid {
    grid-template-columns: 1.2fr repeat(4, 1fr);
  }
}

/* ── Global link contrast overrides (beat portal theme defaults) ── */
.hbt a.hbt-btn,
.hbt-home a.hbt-btn,
.hbt-help a[class*="btn"],
.hbt-complaints a[class*="btn"],
.hbt-contact a[class*="btn"],
.hbt-page a.hbt-btn {
  text-decoration: none !important;
}

/* ── Page heading & breadcrumbs ── */
.page-heading {
  background: linear-gradient(180deg, var(--hbt-grey) 0%, rgba(245, 243, 239, 0.35) 100%);
  border-bottom: 1px solid var(--hbt-grey-warm);
  padding: 14px 0 10px;
  margin-bottom: 0;
}

.page-heading h1,
.page-heading .page-header h1 {
  font-family: var(--hbt-font-heading);
  color: var(--hbt-navy) !important;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  font-weight: 700;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}

.hbt-breadcrumb,
.page-heading .breadcrumb,
.pagesBreadcrumb {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.5;
}

.hbt-breadcrumb > li,
.page-heading .breadcrumb > li,
.pagesBreadcrumb > li,
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.hbt-breadcrumb > li a,
.page-heading .breadcrumb > li a,
.pagesBreadcrumb a,
.breadcrumb-item a {
  color: var(--hbt-text-muted) !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 4px 2px;
  transition: color 0.15s ease;
}

.hbt-breadcrumb > li a:hover,
.page-heading .breadcrumb > li a:hover,
.pagesBreadcrumb a:hover,
.breadcrumb-item a:hover {
  color: var(--hbt-navy) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.hbt-breadcrumb > li.active,
.page-heading .breadcrumb > li.active,
.pagesBreadcrumb > li.active,
.breadcrumb-item.active {
  color: var(--hbt-navy) !important;
  font-weight: 700 !important;
  background: var(--hbt-white);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--hbt-grey-warm);
  box-shadow: 0 2px 8px rgba(46, 69, 107, 0.06);
}

.hbt-breadcrumb > li + li::before,
.page-heading .breadcrumb > li + li::before,
.pagesBreadcrumb > li + li::before,
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--hbt-text-muted) !important;
  opacity: 0.55;
  padding: 0 10px;
}

.hbt-home h1,
.hbt-complaints-hero h1,
.hbt-help-hero h1,
.hbt-contact-hero h1,
.hbt-section__head h2,
.hbt-complaints-section__head h2 {
  font-family: var(--hbt-font-heading);
  letter-spacing: -0.02em;
}

/* Complaints form card & guidance */
.hbt-complaints-form-wrap__header h2 {
  font-family: var(--hbt-font-heading);
}

.hbt-complaints-tips {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hbt-complaints-tips {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.hbt-complaints-tip {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius-sm);
  padding: 20px 18px;
  box-shadow: var(--hbt-shadow);
}

.hbt-complaints-tip h3 {
  color: var(--hbt-navy) !important;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hbt-complaints-tip p,
.hbt-complaints-tip li {
  color: var(--hbt-text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.hbt-complaints-tip ul {
  margin: 0;
  padding-left: 18px;
}

.hbt-complaints-form-wrap .hbt-field-label--injected {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--hbt-navy) !important;
  margin-bottom: 8px !important;
}

/* HBT layout — desktop width (beats Bootstrap columns + Studio canvas wrappers) */
html,
body,
.wrapper,
.wrapper-body,
.wrapper-body > .container,
.wrapper-body > .container > .row,
#mainContent,
.page-copy,
.page-copy > .container,
.page-copy > .row,
.page-copy [class*="col-md"],
.page-copy [class*="col-lg"],
.page-copy [class*="col-sm"],
.page-copy .columnBlockLayout,
.hbt,
.hbt-home,
.hbt-about,
.hbt-help,
.hbt-complaints,
.hbt-contact {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.page-copy .row.sectionBlockLayout,
.page-copy .row.sectionBlockLayout[style] {
  display: block !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

.page-copy .row.sectionBlockLayout > .container,
.wrapper-body > .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hbt-container,
.hbt-home-hero__shell {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.hbt-home-hero,
.hbt-hero,
.hbt-help-hero,
.hbt-complaints-hero,
.hbt-contact-hero {
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
}

.hbt-home-hero__grid {
  width: 100% !important;
}

.hbt-home-hero h1,
.hbt-home-hero__lead,
.hbt-home-hero__copy,
.hbt-home-hero__content-inner,
.hbt-complaints-hero h1,
.hbt-complaints-hero p,
.hbt-contact-hero h1,
.hbt-contact-hero p {
  text-align: left !important;
}

body:not(.hbt-auth-page) .hbt-auth-card,
body:not(.hbt-auth-page) .hbt-auth-card .page-copy {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Auth pages — full-width shell, card-only constraint */
body.hbt-auth-page,
body.hbt-auth-page .wrapper,
body.hbt-auth-page .wrapper-body,
body.hbt-auth-page .hbt-auth-split {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.hbt-auth-page .page-copy,
body.hbt-auth-page .hbt-auth-card {
  width: 100% !important;
  max-width: 440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.hbt-auth-page .hbt-auth-split__form-col .page-copy,
body.hbt-auth-page .hbt-auth-split__form-col .hbt-auth-card {
  max-width: 460px !important;
}

/* ── Unified page topology (Home reference) ── */
.hbt-page .hbt-section,
.hbt-help .hbt-help-section,
.hbt-contact .hbt-contact-section,
.hbt-complaints .hbt-complaints-section {
  padding: var(--hbt-space-xl) 0;
}

.hbt-support-banner,
.hbt-home-support {
  padding: var(--hbt-space-xl) 0;
  background: var(--hbt-white);
}

.hbt-support-banner__inner,
.hbt-home-support__banner {
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-md);
  align-items: flex-start;
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  border-radius: var(--hbt-radius);
  padding: clamp(28px, 4vw, 40px);
  color: var(--hbt-white);
}

@media (min-width: 768px) {
  .hbt-support-banner__inner,
  .hbt-home-support__banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hbt-support-banner__inner h2,
.hbt-home-support__banner h2 {
  color: var(--hbt-white) !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 8px;
}

.hbt-support-banner__inner p,
.hbt-home-support__banner p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  font-size: var(--hbt-font-size-sm);
  line-height: 1.6;
  max-width: 520px;
}

.hbt-support-banner__actions,
.hbt-home-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
  align-items: center;
}

/* Complaints landing — track CTA row */
.hbt-complaints-track {
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-md);
  align-items: flex-start;
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--hbt-shadow);
}

@media (min-width: 768px) {
  .hbt-complaints-track {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--hbt-space-lg);
  }
}

.hbt-complaints-track h2 {
  color: var(--hbt-navy) !important;
  font-family: var(--hbt-font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: var(--hbt-letter-spacing-tight);
}

.hbt-complaints-track p {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  margin: 0;
  line-height: 1.6;
  max-width: 560px;
}

.hbt-complaints-track .hbt-btn {
  flex-shrink: 0;
  align-self: stretch;
}

@media (min-width: 768px) {
  .hbt-complaints-track .hbt-btn {
    align-self: center;
  }
}

.hbt-ai-search-section {
  padding: var(--hbt-space-xl) 0;
  background: var(--hbt-grey);
}

.hbt-ai-search-section--compact,
.hbt-complaints-hero + .hbt-ai-search-section,
.hbt-contact-hero + .hbt-ai-search-section,
.hbt-page-hero + .hbt-ai-search-section,
.hbt-help-hero + .hbt-ai-search-section {
  padding-top: var(--hbt-space-lg);
  padding-bottom: var(--hbt-space-xl);
}

.hbt-ai-search-section--hero {
  background: transparent;
  padding-top: 0;
  margin-top: -8px;
}

.hbt-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;
}

/* ── AI-guided search ── */
.hbt-ai-search {
  max-width: 760px;
  margin: 0 auto;
}

.hbt-ai-search--compact {
  max-width: none;
  margin: 0;
}

.hbt-ai-search__intro {
  text-align: center;
  margin-bottom: var(--hbt-space-md);
}

.hbt-ai-search__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--hbt-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hbt-help-hero .hbt-ai-search__badge,
.hbt-page-hero .hbt-ai-search__badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--hbt-white);
}

.hbt-ai-search__sparkle {
  font-size: 14px;
  line-height: 1;
}

.hbt-ai-search__lead {
  margin: 0;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  line-height: 1.6;
}

.hbt-help-hero .hbt-ai-search__lead,
.hbt-page-hero .hbt-ai-search__lead {
  color: rgba(255, 255, 255, 0.88);
}

.hbt-ai-search__form {
  display: flex;
  flex-direction: column;
  gap: var(--hbt-space-sm);
}

@media (min-width: 640px) {
  .hbt-ai-search__form {
    flex-direction: row;
    align-items: stretch;
  }
}

.hbt-ai-search__field {
  flex: 1;
  position: relative;
}

.hbt-ai-search__field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hbt-gold);
  font-size: 16px;
  pointer-events: none;
}

.hbt-ai-search__input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px 0 44px;
  border: 1.5px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius-sm);
  background: var(--hbt-white);
  font-size: 16px;
  color: var(--hbt-text);
  box-shadow: var(--hbt-shadow);
}

.hbt-ai-search__input:focus {
  outline: var(--hbt-focus-ring);
  outline-offset: var(--hbt-focus-offset);
  border-color: var(--hbt-gold);
}

.hbt-ai-search__submit {
  min-height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: var(--hbt-radius-sm);
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  color: var(--hbt-white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hbt-ai-search__submit:hover,
.hbt-ai-search__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--hbt-shadow-hover);
}

.hbt-ai-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: var(--hbt-space-sm);
}

.hbt-ai-search__chip {
  border: 1px solid var(--hbt-grey-warm);
  background: var(--hbt-white);
  color: var(--hbt-navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hbt-ai-search__chip:hover,
.hbt-ai-search__chip:focus-visible {
  background: var(--hbt-navy);
  border-color: var(--hbt-navy);
  color: var(--hbt-white);
}

.hbt-ai-search__panel {
  margin-top: var(--hbt-space-md);
  padding: var(--hbt-space-md);
  border-radius: var(--hbt-radius);
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  box-shadow: var(--hbt-shadow);
}

.hbt-ai-search__panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: var(--hbt-space-sm);
}

.hbt-ai-search__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hbt-gold);
  margin-top: 6px;
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.5);
  animation: hbt-ai-pulse 2s infinite;
}

@keyframes hbt-ai-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}

.hbt-ai-search__panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hbt-navy);
}

.hbt-ai-search__panel-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--hbt-text-muted);
}

.hbt-ai-search__results {
  display: grid;
  gap: 12px;
}

.hbt-ai-result {
  display: block;
  padding: 18px 20px;
  border-radius: var(--hbt-radius-sm);
  border: 1px solid var(--hbt-grey-warm);
  background: linear-gradient(180deg, var(--hbt-white) 0%, rgba(245, 243, 239, 0.55) 100%);
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hbt-ai-result:hover,
.hbt-ai-result:focus-visible {
  border-color: var(--hbt-gold);
  box-shadow: var(--hbt-shadow);
  transform: translateY(-1px);
}

.hbt-ai-result__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hbt-ai-result__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hbt-gold);
}

.hbt-ai-result__score {
  font-size: 12px;
  font-weight: 700;
  color: var(--hbt-navy);
  background: rgba(46, 69, 107, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.hbt-ai-result__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hbt-navy) !important;
  line-height: 1.35;
}

.hbt-ai-result__desc {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--hbt-text-muted);
  line-height: 1.55;
}

.hbt-ai-result__cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--hbt-navy);
}

.hbt-ai-search__empty {
  margin: var(--hbt-space-sm) 0 0;
  text-align: center;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
}

.hbt-ai-search--compact .hbt-ai-search__form {
  flex-direction: row;
}

.hbt-ai-search--compact .hbt-ai-search__input {
  min-height: 44px;
  font-size: 14px;
}

.hbt-ai-search--compact .hbt-ai-search__submit {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

.hbt-header .dropdown-search {
  padding: 20px !important;
  min-width: min(520px, 94vw);
  max-width: 560px;
  max-height: min(85vh, 720px);
  overflow-y: auto;
  border: none !important;
  border-radius: var(--hbt-radius) !important;
  box-shadow: var(--hbt-shadow-hover) !important;
}

.hbt-header .dropdown-search .hbt-ai-search {
  max-width: none;
  margin: 0;
}

.hbt-header .dropdown-search .hbt-ai-search__intro {
  text-align: left;
  margin-bottom: var(--hbt-space-sm);
}

.hbt-header .dropdown-search .hbt-ai-search__chips {
  justify-content: flex-start;
}

.hbt-header .dropdown-search .hbt-ai-search__panel {
  margin-top: var(--hbt-space-sm);
}

/* Help center layout (shared topology) */
.hbt-help .hbt-help-section--dimmed {
  opacity: 0.45;
  pointer-events: none;
}

.hbt-help-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hbt-help-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: 999px;
  color: var(--hbt-text) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.hbt-help-cat:hover,
.hbt-help-cat.is-active {
  background: var(--hbt-navy);
  border-color: var(--hbt-navy);
  color: var(--hbt-white) !important;
}

.hbt-help-popular {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) { .hbt-help-popular { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hbt-help-popular { grid-template-columns: repeat(3, 1fr); } }

.hbt-help-popular__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--hbt-white);
  border-radius: var(--hbt-radius-sm);
  border: 1px solid var(--hbt-grey-warm);
  color: var(--hbt-text) !important;
  position: relative;
  text-decoration: none !important;
  transition: box-shadow 0.2s, transform 0.2s;
}

.hbt-help-popular__item:hover {
  box-shadow: var(--hbt-shadow);
  transform: translateY(-2px);
  color: var(--hbt-navy) !important;
}

.hbt-help-popular__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hbt-gold);
}

.hbt-help-popular__title { font-size: 15px; font-weight: 700; color: var(--hbt-navy); }
.hbt-help-popular__desc { font-size: 13px; color: var(--hbt-text-muted); line-height: 1.45; }
.hbt-help-popular__item.is-hidden,
.hbt-help-card.is-hidden { display: none; }

.hbt-help-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .hbt-help-articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hbt-help-articles { grid-template-columns: repeat(3, 1fr); } }

.hbt-help-card {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hbt-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hbt-help-card:hover { transform: translateY(-3px); box-shadow: var(--hbt-shadow-hover); }

.hbt-help-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hbt-gold);
  margin-bottom: 8px;
}

.hbt-help-card__title { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.hbt-help-card__title a { color: var(--hbt-navy) !important; text-decoration: none !important; }
.hbt-help-card__desc { font-size: 14px; color: var(--hbt-text-muted); line-height: 1.55; margin: 0 0 16px; flex: 1; }

.hbt-help-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--hbt-grey-warm);
  gap: 12px;
}

.hbt-help-card__id { font-size: 12px; color: var(--hbt-text-muted); font-weight: 600; }
.hbt-help-card__link { font-size: 13px; font-weight: 700; color: var(--hbt-navy) !important; text-decoration: none !important; }

.hbt-help-support-bar {
  background: var(--hbt-navy);
  border-radius: var(--hbt-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hbt-help-support-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

.hbt-help-support-bar p { color: rgba(255,255,255,0.88); margin: 0; font-size: 15px; }
.hbt-help-support-bar strong { color: var(--hbt-white); display: block; font-size: 17px; margin-bottom: 4px; }

/* Search results — AI cards */
.wrapper-body .search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.wrapper-body .search-results > li {
  margin: 0;
  padding: 0;
  border: none;
}

.wrapper-body .search-results .hbt-ai-result {
  padding: 20px 22px;
}

.wrapper-body .search-results h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.wrapper-body .search-results h4 a {
  color: var(--hbt-navy) !important;
  text-decoration: none !important;
  font-weight: 700;
}

.wrapper-body .search-results .fragment {
  margin: 0;
  color: var(--hbt-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.wrapper-body .result-count {
  font-size: 14px;
  color: var(--hbt-text-muted);
  margin-bottom: var(--hbt-space-md);
}

.hbt-search-results__head {
  margin-bottom: var(--hbt-space-md);
}

.hbt-search-results__empty {
  padding: var(--hbt-space-lg);
  text-align: center;
  background: var(--hbt-grey);
  border-radius: var(--hbt-radius);
}

/* Contact page layout */
.hbt-contact-hero {
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  padding: var(--hbt-space-xl) 0 calc(var(--hbt-space-xl) + 8px);
}

.hbt-contact-hero__inner { max-width: 640px; }

.hbt-contact-hero h1 {
  color: var(--hbt-white) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.15;
}

.hbt-contact-hero p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.65;
  margin: 0 0 24px;
}

.hbt-contact-hero__links { display: flex; flex-wrap: wrap; gap: 12px; }

.hbt-contact-section__head { margin-bottom: 32px; }
.hbt-contact-section__head--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }

.hbt-contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .hbt-contact-cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hbt-contact-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.hbt-contact-card {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 28px 24px;
  box-shadow: var(--hbt-shadow);
  height: 100%;
}

.hbt-contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(46, 69, 107, 0.08);
  color: var(--hbt-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.hbt-contact-card h3 { color: var(--hbt-navy) !important; font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.hbt-contact-card p, .hbt-contact-card address { color: var(--hbt-text-muted); font-size: 15px; line-height: 1.6; margin: 0; font-style: normal; }
.hbt-contact-card ul { list-style: none; margin: 0; padding: 0; }
.hbt-contact-card li { padding: 10px 0; border-bottom: 1px solid var(--hbt-grey-warm); font-size: 15px; line-height: 1.5; }
.hbt-contact-card li:last-child { border-bottom: none; padding-bottom: 0; }
.hbt-contact-card__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--hbt-navy); margin-bottom: 4px; }
.hbt-contact-card a[href^="tel:"] { color: var(--hbt-navy) !important; font-weight: 700; font-size: 16px; }
.hbt-contact-card__note { margin-top: 14px !important; font-size: 13px !important; color: var(--hbt-text-muted) !important; }

.hbt-contact-locator {
  background: linear-gradient(135deg, rgba(46, 69, 107, 0.04), rgba(201, 168, 76, 0.08));
  border: 2px dashed var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 40px 28px;
  text-align: center;
}

.hbt-contact-locator__icon { font-size: 40px; margin-bottom: 16px; line-height: 1; }
.hbt-contact-locator h3 { color: var(--hbt-navy) !important; font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; }
.hbt-contact-locator p { color: var(--hbt-text-muted); font-size: 15px; line-height: 1.6; max-width: 480px; margin: 0 auto 20px; }
.hbt-contact-locator__badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(46, 69, 107, 0.08); color: var(--hbt-navy); font-size: 13px; font-weight: 600; margin-bottom: 16px; }

.hbt-branch-locator-grid {
  margin: 0 auto 24px;
  max-width: 960px;
}

.hbt-branch-locator-card {
  text-align: left;
}

.hbt-branch-locator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.hbt-support-banner--compact .hbt-support-banner__inner {
  padding: 28px 24px;
}

.hbt-support-banner--compact .hbt-support-banner__inner h2 {
  font-size: 1.25rem;
}

.hbt-contact-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 960px) { .hbt-contact-layout { grid-template-columns: 1fr 1.1fr; gap: 40px; } }

.hbt-contact-form-wrap {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 32px 28px;
  box-shadow: var(--hbt-shadow);
}

.hbt-contact-form-wrap h2 { color: var(--hbt-navy) !important; font-size: 1.35rem; font-weight: 700; margin: 0 0 8px; }
.hbt-contact-form-wrap > p { color: var(--hbt-text-muted); font-size: 15px; margin: 0 0 24px; line-height: 1.55; }
.hbt-contact-form-wrap .hbt-native-form { margin-top: 0; }
.hbt-contact-form-wrap .hbt-form-response-note {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-xs);
  line-height: 1.55;
  margin: 0 0 20px;
}
.hbt-contact-form-wrap .hbt-form-response-note a { color: var(--hbt-navy); font-weight: 600; }
.hbt-contact .crmEntityFormView .description { font-size: var(--hbt-font-size-xs) !important; color: var(--hbt-text-muted) !important; margin-top: 6px !important; }

/* ── UI consistency pass v13 ── */
.hbt,
.hbt-home,
.hbt-about,
.hbt-help,
.hbt-complaints,
.hbt-contact,
.hbt-page {
  font-size: var(--hbt-font-size-base);
}

.hbt p,
.hbt li,
.hbt-home p,
.hbt-home li,
.hbt-about p,
.hbt-about li,
.hbt-help p,
.hbt-help li,
.hbt-complaints p,
.hbt-complaints li,
.hbt-contact p,
.hbt-contact li {
  font-size: inherit;
  line-height: var(--hbt-line-height);
}

.hbt-complaints-form-section,
.hbt-complaints .hbt-complaints-form-section {
  padding: var(--hbt-space-lg) 0 var(--hbt-space-xl) !important;
}

.hbt-complaints.hbt-page .hbt-complaints-section {
  padding: var(--hbt-space-lg) 0;
}

.hbt-complaints.hbt-page .hbt-complaints-hero {
  padding: var(--hbt-space-lg) 0 var(--hbt-space-md);
}

.hbt-complaints.hbt-page .hbt-complaints-hero .hbt-container {
  padding-top: 0;
  padding-bottom: 0;
}

.hbt-native-form .hbt-field-label,
.hbt-complaints-form-wrap .crmEntityFormView label,
.hbt-complaints-form-wrap .crmEntityFormView .field-label {
  font-size: var(--hbt-font-size-sm) !important;
  font-weight: 600 !important;
}

.hbt-form-hint,
.hbt-form-step-badge,
.hbt-complaints-tip p,
.hbt-account-map__note {
  font-size: var(--hbt-font-size-xs) !important;
  line-height: 1.5 !important;
}

.hbt-native-form .hbt-form-submit,
.hbt-complaints-form-wrap .crmEntityFormView .btn-primary,
.hbt-complaints-form-wrap .crmEntityFormView input[type="submit"],
.hbt-complaints-form-wrap .crmEntityFormView button[type="submit"] {
  min-height: 46px !important;
  padding: 12px 24px !important;
  font-size: var(--hbt-font-size-sm) !important;
  font-weight: 700 !important;
  border-radius: var(--hbt-radius-sm) !important;
  background: var(--hbt-gold) !important;
  color: var(--hbt-navy-dark) !important;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35) !important;
}

.hbt-complaints-hero__actions,
.hbt-contact-hero__actions,
.hbt-help-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
  align-items: center;
}

.hbt-header .hbt-nav__signin > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--hbt-radius-sm);
  font-size: var(--hbt-font-size-sm);
  font-weight: 700;
}

.hbt-contact-aside h2 { color: var(--hbt-navy) !important; font-size: 1.2rem; font-weight: 700; margin: 0 0 16px; }
.hbt-contact-aside__links { display: flex; flex-direction: column; gap: 12px; }
.hbt-contact-aside__link { display: block; padding: 16px 18px; background: var(--hbt-grey); border-radius: var(--hbt-radius-sm); border: 1px solid var(--hbt-grey-warm); color: var(--hbt-navy) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.hbt-contact-aside__link span { display: block; font-weight: 400; font-size: 13px; color: var(--hbt-text-muted); margin-top: 4px; }


/* ── About Us page (v14) ── */
/* Hero */
.hbt-about-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hbt-navy-dark) 0%, var(--hbt-navy) 60%, #3d5a80 100%);
  overflow: hidden;
}

.hbt-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://cdn.hubblecontent.osi.office.net/m365content/publish/b9613cfc-3d9b-464f-8d7b-a1b33302e6d3/thumbnails/xxlarge.jpg") center / cover no-repeat;
  opacity: 0.2;
}

.hbt-about-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to top, var(--hbt-grey), transparent);
}

.hbt-about-hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--hbt-space-xl) 0 calc(var(--hbt-space-xl) + 8px);
  width: 100%;
}

.hbt-about-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--hbt-gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hbt-about-hero h1 {
  color: var(--hbt-white) !important;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 680px;
}

.hbt-about-hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}

/* Sections */
.hbt-about-section {
  padding: var(--hbt-space-xl) 0;
}

.hbt-about-section--grey { background: var(--hbt-grey); }
.hbt-about-section--white { background: var(--hbt-white); }
.hbt-about-section--navy { background: var(--hbt-navy); }

.hbt-about-header {
  margin-bottom: var(--hbt-space-lg);
}

.hbt-about-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hbt-about-header h2 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.hbt-about-section--navy .hbt-about-header h2 {
  color: var(--hbt-white) !important;
}

.hbt-about-header p {
  color: var(--hbt-text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.hbt-about-section--navy .hbt-about-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* History */
.hbt-about-history {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .hbt-about-history {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hbt-about-history__intro h2 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 16px;
}

.hbt-about-history__intro p {
  color: var(--hbt-text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.hbt-about-history__intro .hbt-about-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 20px;
  background: var(--hbt-white);
  border-radius: var(--hbt-radius-sm);
  border-left: 4px solid var(--hbt-gold);
  box-shadow: var(--hbt-shadow);
}

.hbt-about-stat__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--hbt-navy);
  line-height: 1;
}

.hbt-about-stat__label {
  font-size: 14px;
  color: var(--hbt-text-muted);
  font-weight: 600;
}

.hbt-about-timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--hbt-grey-warm);
}

.hbt-about-timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.hbt-about-timeline__item:last-child {
  padding-bottom: 0;
}

.hbt-about-timeline__item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hbt-gold);
  border: 3px solid var(--hbt-white);
  box-shadow: 0 0 0 2px var(--hbt-gold);
}

.hbt-about-timeline__year {
  font-size: 14px;
  font-weight: 700;
  color: var(--hbt-gold);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hbt-about-timeline__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hbt-navy);
  margin: 0 0 4px;
}

.hbt-about-timeline__desc {
  font-size: 14px;
  color: var(--hbt-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Branches */
.hbt-about-branches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .hbt-about-branches {
    grid-template-columns: 1fr 1.2fr;
  }
}

.hbt-about-branches__highlight {
  background: linear-gradient(135deg, var(--hbt-navy-dark) 0%, var(--hbt-navy) 100%);
  border-radius: var(--hbt-radius);
  padding: 40px 32px;
  color: var(--hbt-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hbt-about-branches__highlight .hbt-about-branches__count {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--hbt-gold-light);
  line-height: 1;
  margin: 0 0 8px;
}

.hbt-about-branches__highlight h3 {
  color: var(--hbt-white) !important;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.hbt-about-branches__highlight p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.hbt-about-region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .hbt-about-region-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hbt-about-region {
  background: var(--hbt-white);
  border-radius: var(--hbt-radius);
  padding: 28px 24px;
  border: 1px solid var(--hbt-grey-warm);
  box-shadow: var(--hbt-shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hbt-about-region:hover {
  transform: translateY(-3px);
  box-shadow: var(--hbt-shadow-hover);
}

.hbt-about-region__count {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--hbt-navy);
  line-height: 1;
  margin-bottom: 6px;
}

.hbt-about-region__state {
  font-size: 16px;
  font-weight: 700;
  color: var(--hbt-navy);
  margin: 0 0 6px;
}

.hbt-about-region__cities {
  font-size: 13px;
  color: var(--hbt-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Leadership */
.hbt-about-leaders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .hbt-about-leaders {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hbt-about-leaders {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hbt-about-leader {
  background: var(--hbt-white);
  border-radius: var(--hbt-radius);
  overflow: hidden;
  box-shadow: var(--hbt-shadow);
  border: 1px solid var(--hbt-grey-warm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hbt-about-leader:hover {
  box-shadow: var(--hbt-shadow-hover);
  transform: translateY(-4px);
}

.hbt-about-leader__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.hbt-about-leader__body {
  padding: 22px 20px 24px;
}

.hbt-about-leader__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--hbt-navy);
  margin: 0 0 4px;
}

.hbt-about-leader__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hbt-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.hbt-about-leader__bio {
  font-size: 14px;
  color: var(--hbt-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Community */
.hbt-about-community {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .hbt-about-community {
    grid-template-columns: 1fr 1fr;
  }
}

.hbt-about-community__image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--hbt-radius);
  box-shadow: var(--hbt-shadow);
}

.hbt-about-community__content h2 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 16px;
}

.hbt-about-community__content > p {
  color: var(--hbt-text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.hbt-about-community__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.hbt-about-community__stat {
  padding: 18px 16px;
  background: var(--hbt-grey);
  border-radius: var(--hbt-radius-sm);
  border: 1px solid var(--hbt-grey-warm);
}

.hbt-about-community__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hbt-navy);
  margin: 0 0 4px;
}

.hbt-about-community__stat-label {
  font-size: 13px;
  color: var(--hbt-text-muted);
  margin: 0;
  line-height: 1.4;
}

.hbt-about-initiatives {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hbt-about-initiatives li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--hbt-text);
  border-bottom: 1px solid var(--hbt-grey-warm);
}

.hbt-about-initiatives li:last-child {
  border-bottom: none;
}

.hbt-about-initiatives li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  color: var(--hbt-gold);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Service Promise */
.hbt-about-promise {
  background: linear-gradient(135deg, var(--hbt-navy-dark) 0%, var(--hbt-navy) 100%);
  border-radius: var(--hbt-radius);
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hbt-about-promise {
    padding: 56px 48px;
  }
}

.hbt-about-promise::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
}

.hbt-about-promise__header {
  text-align: center;
  margin-bottom: var(--hbt-space-lg);
  position: relative;
  z-index: 1;
}

.hbt-about-promise__header h2 {
  color: var(--hbt-white) !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.hbt-about-promise__header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.hbt-about-promise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .hbt-about-promise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hbt-about-promise__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hbt-about-promise__item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hbt-radius-sm);
  padding: 24px 22px;
  transition: background 0.2s ease;
}

.hbt-about-promise__item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hbt-about-promise__icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.hbt-about-promise__item h3 {
  color: var(--hbt-gold-light) !important;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hbt-about-promise__item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ── Confirmation pages (v14) ── */
.hbt-contact.hbt-page-confirm .hbt-container,
.hbt-complaints.hbt-page-confirm .hbt-container {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--hbt-space-xl) var(--hbt-space-md);
  text-align: center;
}

.hbt-contact-confirm__icon,
.hbt-complaints-confirm__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.12);
  color: var(--hbt-success, #2d6a4f);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.hbt-contact-confirm h1,
.hbt-complaints-confirm h1 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.hbt-contact-confirm__lead,
.hbt-complaints-confirm__lead {
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-base);
  line-height: 1.6;
  margin: 0 0 28px;
}

.hbt-contact-ref,
.hbt-complaints-ref {
  background: var(--hbt-grey);
  border: 2px solid var(--hbt-gold);
  border-radius: var(--hbt-radius);
  padding: 28px 24px;
  margin-bottom: 28px;
}

.hbt-contact-ref__label,
.hbt-complaints-ref__label {
  font-size: var(--hbt-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hbt-text-muted);
  margin: 0 0 8px;
}

.hbt-contact-ref__number,
.hbt-complaints-ref__number {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--hbt-navy);
  margin: 0;
  word-break: break-all;
}

.hbt-contact-next,
.hbt-complaints-next {
  text-align: left;
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius-sm);
  padding: 24px;
  margin-bottom: 28px;
}

.hbt-contact-next h2,
.hbt-complaints-next h2 {
  color: var(--hbt-navy) !important;
  font-size: var(--hbt-font-size-base);
  font-weight: 700;
  margin: 0 0 12px;
}

.hbt-contact-next ol,
.hbt-complaints-next ol {
  margin: 0;
  padding-left: 20px;
  color: var(--hbt-text-muted);
  font-size: var(--hbt-font-size-sm);
  line-height: 1.65;
}

.hbt-contact-actions,
.hbt-complaints-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
  justify-content: center;
}

/* ── Help article detail page (v14) ── */
.hbt-help.hbt-page-article .hbt-container {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--hbt-space-lg) var(--hbt-space-md) var(--hbt-space-xl);
}

.hbt-help-breadcrumb {
  font-size: var(--hbt-font-size-sm);
  margin-bottom: 24px;
  color: var(--hbt-text-muted);
}

.hbt-help-breadcrumb a {
  color: var(--hbt-navy) !important;
  font-weight: 600;
}

.hbt-help-breadcrumb span {
  margin: 0 8px;
}

.hbt-help-detail__header {
  margin-bottom: 32px;
}

.hbt-help-detail__id {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--hbt-gold);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.hbt-help-detail__header h1 {
  color: var(--hbt-navy) !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hbt-help-detail__summary {
  font-size: 17px;
  color: var(--hbt-text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.hbt-help-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hbt-help-detail__tag {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--hbt-grey);
  border-radius: 999px;
  color: var(--hbt-navy);
  font-weight: 600;
}

.hbt-help-detail__content {
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  border-radius: var(--hbt-radius);
  padding: 32px;
  line-height: 1.7;
  font-size: var(--hbt-font-size-base);
  margin-bottom: 32px;
  box-shadow: var(--hbt-shadow);
}

.hbt-help-detail__content h2,
.hbt-help-detail__content h3 {
  color: var(--hbt-navy) !important;
  margin-top: 1.5em;
}

.hbt-help-detail__content p {
  margin-bottom: 1em;
}

.hbt-help-detail__content ul,
.hbt-help-detail__content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.hbt-help-detail__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hbt-space-sm);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hbt-grey-warm);
  margin-bottom: 40px;
}

.hbt-help-empty {
  text-align: center;
  padding: 48px 20px;
}

.hbt-help-empty h1 {
  color: var(--hbt-navy) !important;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.hbt-help-empty p {
  color: var(--hbt-text-muted);
  margin-bottom: 20px;
}

.hbt-help-related {
  padding-top: 8px;
}

.hbt-help-related h2 {
  color: var(--hbt-navy) !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.hbt-help-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .hbt-help-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hbt-help-related__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--hbt-grey);
  border-radius: var(--hbt-radius-sm);
  border: 1px solid var(--hbt-grey-warm);
  color: var(--hbt-text) !important;
  transition: border-color 0.2s;
}

.hbt-help-related__card:hover {
  border-color: var(--hbt-gold);
}

.hbt-help-related__title {
  font-size: var(--hbt-font-size-sm);
  font-weight: 700;
  color: var(--hbt-navy);
}

.hbt-help-related__desc {
  font-size: 13px;
  color: var(--hbt-text-muted);
}

/* ── Live chat placeholder (swap for PVA / real chat next sprint) ── */
.hbt-live-chat {
  position: fixed;
  right: clamp(16px, 3vw, 24px);
  bottom: clamp(16px, 3vw, 24px);
  z-index: 9998;
}

body.hbt-auth-page .hbt-live-chat {
  display: none;
}

.hbt-live-chat__launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hbt-navy-dark), var(--hbt-navy));
  color: var(--hbt-white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--hbt-shadow-hover);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hbt-live-chat__launcher:hover,
.hbt-live-chat__launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 39, 68, 0.28);
}

.hbt-live-chat__launcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hbt-live-chat__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  border-radius: var(--hbt-radius);
  background: var(--hbt-white);
  border: 1px solid var(--hbt-grey-warm);
  box-shadow: var(--hbt-shadow-hover);
}

.hbt-live-chat__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hbt-live-chat__panel-head h2 {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hbt-navy);
}

.hbt-live-chat__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--hbt-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hbt-live-chat__close {
  border: none;
  background: transparent;
  color: var(--hbt-text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.hbt-live-chat__close:hover,
.hbt-live-chat__close:focus-visible {
  color: var(--hbt-navy);
}

.hbt-live-chat__lead {
  margin: 0 0 16px;
  font-size: var(--hbt-font-size-sm);
  line-height: 1.6;
  color: var(--hbt-text-muted);
}

.hbt-live-chat__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 480px) {
  .hbt-live-chat__launcher-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hbt-live-chat__launcher {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
