@font-face {
  font-family: "1903 Sans";
  src: url("../fonts/1903sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Public dealer registration keeps the legacy field set while presenting it as a responsive guided flow. */
.registration-page {
  margin: 0;
  min-height: 100vh;
  background: #f4f6fa;
  color: #172033;
}

.registration-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.55fr);
}

.registration-intro {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(4, 20, 45, 0.94), rgba(11, 46, 89, 0.82)),
    url('../images/backgrounds/login-bg-2.jpg') center/cover no-repeat;
}

.registration-brand-link {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 0.8rem;
}

.registration-brand {
  display: block;
  width: min(180px, 45vw);
  height: auto;
}

.registration-intro-copy {
  margin: auto 0;
  max-width: 32rem;
}

.registration-eyebrow {
  margin: 0 0 0.85rem;
  color: #a9c9ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registration-intro h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
}

.registration-intro-copy > p:not(.registration-eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.registration-access-note {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.registration-access-note strong {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
}

.registration-access-note p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.5;
}

.registration-form-panel {
  min-width: 0;
  background: #f8fafc;
}

.registration-form-wrap {
  width: min(980px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.registration-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.registration-locale-picker {
  width: min(19rem, 100%);
}

.registration-locale-picker label,
.registration-field label,
.registration-manufacturer-region label {
  display: block;
  margin-bottom: 0.4rem;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 650;
}

.registration-login-link {
  color: #475569;
  font-size: 0.88rem;
  text-decoration: none;
}

.registration-login-link strong {
  color: #0d6efd;
}

.registration-heading {
  margin-bottom: 1.5rem;
}

.registration-heading h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.registration-heading p,
.registration-section-heading p {
  margin: 0;
  color: #64748b;
}

.registration-form {
  display: grid;
  gap: 1.25rem;
}

.registration-validation:empty {
  display: none;
}

.registration-validation {
  padding: 1rem 1.2rem;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  background: #fef2f2;
  color: #991b1b;
}

.registration-validation ul {
  margin: 0;
  padding-left: 1.15rem;
}

.registration-section {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.registration-section-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.registration-section-heading > span {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f1ff;
  color: #0d6efd;
  font-weight: 750;
}

.registration-section-heading h3 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.registration-section-heading p {
  font-size: 0.85rem;
}

.registration-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.registration-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.registration-choice:has(input:checked) {
  border-color: #0d6efd;
  background: #f4f8ff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.registration-choice input {
  margin-top: 0.2rem;
}

.registration-choice strong,
.registration-choice small {
  display: block;
}

.registration-choice strong {
  color: #172033;
  font-size: 0.92rem;
}

.registration-choice small {
  margin-top: 0.35rem;
  color: #64748b;
  line-height: 1.45;
}

.registration-manufacturer-region {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.8rem;
  background: #f8fafc;
}

.registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.registration-field-wide {
  grid-column: 1 / -1;
}

.registration-field .form-control,
.registration-manufacturer-region .form-select,
.registration-locale-picker .form-select {
  min-height: 2.75rem;
  border-color: #cbd5e1;
}

.registration-field .form-control:focus,
.registration-manufacturer-region .form-select:focus,
.registration-locale-picker .form-select:focus {
  border-color: #6ea8fe;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.registration-field > span,
.registration-manufacturer-region > span,
.registration-section > .field-validation-error {
  display: block;
  margin-top: 0.35rem;
  color: #b91c1c;
  font-size: 0.78rem;
}

.registration-actions {
  position: sticky;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .registration-shell {
    display: block;
  }

  .registration-intro {
    position: static;
    height: auto;
    min-height: 24rem;
  }

  .registration-intro-copy {
    margin: 3rem 0 0;
  }
}

@media (max-width: 640px) {
  .registration-form-wrap {
    width: min(100% - 1.25rem, 980px);
    padding-top: 1rem;
  }

  .registration-topbar,
  .registration-choice-grid,
  .registration-grid {
    grid-template-columns: 1fr;
  }

  .registration-topbar {
    display: grid;
    align-items: stretch;
    margin-bottom: 2rem;
  }

  .registration-locale-picker {
    width: 100%;
  }

  .registration-field-wide {
    grid-column: auto;
  }

  .registration-section {
    padding: 1.1rem;
  }

  .registration-actions {
    bottom: 0.5rem;
  }

  .registration-actions .btn {
    flex: 1 1 0;
  }
}

@font-face {
  font-family: "1903 Sans Bold";
  src: url("../fonts/1903sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --colour-primary: #1a4688;
  --colour-secondary: #3a6ab3;
  --colour-accent: #1f7dd6;
  --colour-white: #ffffff;
  --colour-black: #000000;

  --text-colour: #0f1722;
  --colour-text-900: #0f1722;
  --colour-text-800: #27313d;
  --colour-text-700: #32485f;
  --colour-text-600: #4f6275;
  --colour-text-500: #6f8092;
  --colour-text-400: #8ea0b5;

  --colour-slate-900: #1d2939;
  --colour-slate-850: #213346;
  --colour-slate-800: #27333f;
  --colour-slate-750: #28374b;
  --colour-slate-700: #323d4c;

  --colour-surface-0: #ffffff;
  --colour-surface-50: #fbfdff;
  --colour-surface-100: #f8fbff;
  --colour-surface-150: #eef3f8;
  --colour-surface-200: #edf2f7;
  --colour-surface-250: #f7f9fc;

  --colour-border-100: #e9eef4;
  --colour-border-200: #d8e1ea;
  --colour-border-300: #dbe2ea;
  --colour-border-400: #cfd9e4;
  --colour-border-dark: #2a394c;

  --colour-success: #0f7d55;
  --colour-success-strong: #0b8a32;
  --colour-success-bg: #dbf5e8;
  --colour-warning: #97600b;
  --colour-warning-bg: #fff1d6;
  --colour-danger: #e84d5b;
  --colour-danger-strong: #c01e2d;
  --colour-danger-bg: #fde2e5;
  --colour-info: #1d5fa8;
  --colour-info-bg: #dfefff;

  --colour-teal: #16b59c;
  --colour-cyan: #16b5d4;
  --colour-purple: #8d63ff;
  --colour-magenta: #da4ddb;

  --overlay-soft: rgba(28, 40, 56, 0.12);
  --overlay-mid: rgba(8, 15, 25, 0.35);
  --overlay-strong: rgba(8, 12, 18, 0.45);
  --overlay-focus: rgba(26, 70, 136, 0.16);

  --bg: #edf1f5;
  --gradient-bg: linear-gradient(to bottom right, #ffffff, #f3f3f3);
  --surface: #ffffff;
  --line: var(--colour-border-300);
  --ink: var(--colour-text-800);
  --muted: #748192;
  --sidebar: var(--colour-slate-900);
  --sidebar-2: var(--colour-slate-850);
  --sidebar-header-bg: #0f1721;
  --sidebar-text: var(--colour-text-400);
  --sidebar-active: #2d425f;
  --topbar: var(--colour-white);
  --sidebar-width: 265px;
  --heading-color: var(--colour-text-900);
  --body-text-color: var(--colour-text-900);
  --button-font-weight: 600;
  --button-border-radius: 0.4rem;
  --button-focus-ring: var(--overlay-focus);

  --button-primary-bg: var(--colour-primary);
  --button-primary-border: var(--colour-primary);
  --button-primary-text: var(--colour-white);
  --button-primary-hover-bg: var(--colour-secondary);
  --button-primary-hover-border: var(--colour-secondary);
  --button-primary-hover-text: var(--colour-white);

  --button-secondary-bg: var(--colour-text-600);
  --button-secondary-border: var(--colour-text-600);
  --button-secondary-text: var(--colour-white);
  --button-secondary-hover-bg: var(--colour-text-700);
  --button-secondary-hover-border: var(--colour-text-700);
  --button-secondary-hover-text: var(--colour-white);

  --button-success-bg: var(--colour-success);
  --button-success-border: var(--colour-success);
  --button-success-text: var(--colour-white);
  --button-success-hover-bg: var(--colour-success-strong);
  --button-success-hover-border: var(--colour-success-strong);
  --button-success-hover-text: var(--colour-white);

  --button-info-bg: var(--colour-info);
  --button-info-border: var(--colour-info);
  --button-info-text: var(--colour-white);
  --button-info-hover-bg: var(--colour-secondary);
  --button-info-hover-border: var(--colour-secondary);
  --button-info-hover-text: var(--colour-white);

  --button-warning-bg: var(--colour-warning);
  --button-warning-border: var(--colour-warning);
  --button-warning-text: var(--colour-white);
  --button-warning-hover-bg: #7c4f08;
  --button-warning-hover-border: #7c4f08;
  --button-warning-hover-text: var(--colour-white);

  --button-danger-bg: var(--colour-danger);
  --button-danger-border: var(--colour-danger);
  --button-danger-text: var(--colour-white);
  --button-danger-hover-bg: var(--colour-danger-strong);
  --button-danger-hover-border: var(--colour-danger-strong);
  --button-danger-hover-text: var(--colour-white);

  --button-light-bg: var(--colour-surface-200);
  --button-light-border: var(--colour-border-200);
  --button-light-text: var(--colour-text-800);
  --button-light-hover-bg: var(--colour-surface-150);
  --button-light-hover-border: var(--colour-border-300);
  --button-light-hover-text: var(--colour-text-900);

  --button-dark-bg: var(--colour-slate-900);
  --button-dark-border: var(--colour-slate-900);
  --button-dark-text: var(--colour-white);
  --button-dark-hover-bg: var(--colour-slate-800);
  --button-dark-hover-border: var(--colour-slate-800);
  --button-dark-hover-text: var(--colour-white);

  --button-link-text: var(--colour-primary);
  --button-link-hover-text: var(--colour-secondary);

  /* Backward compatibility aliases */
  --btn-primary-bg: var(--button-primary-bg);
  --btn-primary-bg-hover: var(--button-primary-hover-bg);
  --accent-color: var(--colour-primary);
  --accent-color-hover: var(--colour-secondary);
  --form-label-size: 0.85rem;
  --form-label-weight: 500;
  --form-label-color: var(--colour-text-700);
  --form-control-radius: 4px;
  --form-control-text-size: 0.8rem;
}

.theme-harley {
  --colour-primary: #ff6600;
  --colour-secondary: #e65c00;
  --colour-accent: #ff6600;
  --colour-text-900: #000000;
  --colour-text-800: #151515;
  --colour-text-700: #2b2b2b;
  --colour-text-600: #444444;
  --colour-text-500: #666666;
  --colour-text-400: #a9a9a9;
  --colour-surface-50: #ffffff;
  --colour-surface-100: #f7f7f7;
  --colour-surface-150: #f0f0f0;
  --colour-surface-200: #e8e8e8;
  --colour-surface-250: #dedede;
  --colour-border-100: #ededed;
  --colour-border-200: #d7d7d7;
  --colour-border-300: #c7c7c7;
  --colour-border-400: #a8a8a8;
  --colour-border-dark: #282828;
  --colour-teal: #ff6600;
  --colour-cyan: #e65c00;
  --colour-purple: #444444;
  --colour-magenta: #222222;
  --overlay-focus: rgba(255, 102, 0, 0.2);
  --overlay-soft: rgba(0, 0, 0, 0.12);
  --bg: #f3f3f3;
  --gradient-bg: none;
  --surface: #ffffff;
  --line: #d7d7d7;
  --ink: #151515;
  --muted: #666666;
  --sidebar: #000000;
  --sidebar-2: #171717;
  --sidebar-header-bg: #000000;
  --sidebar-active: #222222;
  --sidebar-text: #ffffff;
  --topbar: #000000;
  --heading-color: #000000;
  --body-text-color: #151515;
  --button-font-weight: 700;
  --button-border-radius: 0;
  --button-primary-bg: #ff6600;
  --button-primary-border: #ff6600;
  --button-primary-text: #000000;
  --button-primary-hover-bg: #e65c00;
  --button-primary-hover-border: #e65c00;
  --button-primary-hover-text: #000000;
  --button-secondary-bg: #222222;
  --button-secondary-border: #222222;
  --button-secondary-text: #ffffff;
  --button-secondary-hover-bg: #000000;
  --button-secondary-hover-border: #000000;
  --button-secondary-hover-text: #ffffff;
  --button-dark-bg: #000000;
  --button-dark-border: #000000;
  --button-dark-text: #ffffff;
  --button-dark-hover-bg: #222222;
  --button-dark-hover-border: #222222;
  --button-dark-hover-text: #ffffff;
  --button-light-bg: #ffffff;
  --button-light-border: #000000;
  --button-light-text: #000000;
  --button-light-hover-bg: #ededed;
  --button-light-hover-border: #000000;
  --button-light-hover-text: #000000;
  --button-link-text: #ff6600;
  --button-link-hover-text: #e65c00;
  --form-label-color: #151515;
  --form-control-radius: 0;
}

.theme-harley .nav-dot {
  background: #ff6600;
}

.theme-harley .sidebar-link:hover,
.theme-harley .sidebar-link.active {
  color: #ffffff;
}

.theme-harley .sidebar-submenu-inline {
  background: #181818;
}

.theme-harley .sidebar-sublink {
  color: #d0d3d8;
}

.theme-harley .sidebar-sublink:hover,
.theme-harley .sidebar-sublink.active {
  background: #222326;
  color: #ffffff;
}

.theme-harley .topbar,
.theme-harley .topbar .user-menu-trigger,
.theme-harley .topbar .icon-btn,
.theme-harley .topbar .menu-toggle {
  color: #d5d8de;
}

.theme-harley .topbar .user-greeting {
  color: #ffffff;
}

.theme-harley .topbar .user-meta {
  color: #b4bac3;
}

.theme-harley .topbar .menu-toggle span {
  background: #c9ced6;
}

.theme-harley .topbar .icon-btn:hover,
.theme-harley .topbar .menu-toggle:hover,
.theme-harley .topbar .user-menu-trigger:hover {
  border-color: #2b2e34;
  background: #1b1d22;
}

.theme-harley .topbar .user-menu-dropdown {
  border-color: #2e3137;
  background: #17191d;
}

.theme-harley .topbar .user-menu-dropdown a {
  color: #e3e6eb;
}

.theme-harley .topbar .user-menu-dropdown a:hover {
  background: #22252b;
}

.harley-appearance-protection-logo {
  display: block;
  width: 100%;
  max-width: 235px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.harley-topbar-label,
.manufacturer-topbar-label {
  display: grid;
  gap: 0.08rem;
  margin-left: 0.35rem;
  line-height: 1.1;
}

.harley-topbar-label strong {
  color: #ffffff;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.harley-topbar-label span {
  color: #ff6600;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-manufacturer {
  --colour-primary: #2769a8;
  --colour-secondary: #1d527f;
  --colour-accent: #50a4d8;
  --overlay-focus: rgba(80, 164, 216, 0.2);
  --button-link-text: #2769a8;
  --button-link-hover-text: #1d527f;
  --sidebar: #0c2336;
  --sidebar-2: #102d45;
  --sidebar-header-bg: #0a1d2c;
  --sidebar-active: #173c59;
  --sidebar-text: #c8dceb;
}

.manufacturer-brand {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.55rem;
  width: 100%;
  color: #ffffff;
}

.manufacturer-brand-mark {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.25rem;
  color: #ffffff;
  background: #2769a8;
  font-size: 1rem;
  font-weight: 800;
}

.manufacturer-brand-name {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.05;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manufacturer-brand-tagline {
  color: #9dc8e4;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manufacturer-topbar-label strong {
  color: #0c2336;
  font-size: 0.92rem;
}

.manufacturer-topbar-label span {
  color: #2769a8;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-supreme-coat {
  --colour-primary: #1683a1;
  --colour-secondary: #0f6c87;
  --colour-accent: #8bdcf0;
  --overlay-focus: rgba(139, 220, 240, 0.28);
  --button-link-text: #1683a1;
  --button-link-hover-text: #0f6c87;
  --bg: #eaf8fc;
  --gradient-bg: linear-gradient(180deg, #f5fcfe 0%, #eaf8fc 100%);
  --sidebar: #050b12;
  --sidebar-2: #0b1720;
  --sidebar-header-bg: #050b12;
  --sidebar-active: #112430;
  --sidebar-text: #bdebf4;
  --topbar: #ffffff;
  --line: #c7e8f2;
}

.theme-supreme-coat .nav-dot {
  background: #8bdcf0;
}

.theme-supreme-coat .sidebar {
  background: linear-gradient(180deg, #050b12 0%, #0b1720 100%);
  border-right-color: #16313c;
}

.theme-supreme-coat .sidebar-header {
  border-bottom-color: #16313c;
}

.theme-supreme-coat .sidebar-link:hover,
.theme-supreme-coat .sidebar-link.active {
  color: #ffffff;
}

.theme-supreme-coat .sidebar-link.active {
  border-left-color: #8bdcf0;
}

.theme-supreme-coat .sidebar-submenu-inline {
  background: #0b1720;
}

.theme-supreme-coat .sidebar-sublink {
  color: #bdebf4;
}

.theme-supreme-coat .sidebar-sublink:hover,
.theme-supreme-coat .sidebar-sublink.active {
  background: #122c38;
  color: #ffffff;
}

.theme-supreme-coat .topbar {
  box-shadow: inset 0 -3px 0 #8bdcf0;
}

.theme-supreme-coat .topbar .user-greeting {
  color: #050b12;
}

.theme-supreme-coat .topbar .user-meta {
  color: #1683a1;
}

.theme-supreme-coat .topbar .icon-btn:hover,
.theme-supreme-coat .topbar .menu-toggle:hover,
.theme-supreme-coat .topbar .user-menu-trigger:hover {
  border-color: #c7e8f2;
  background: #f5fcfe;
}

.theme-supreme-coat .topbar .user-menu-dropdown {
  border-color: #c7e8f2;
}

.theme-supreme-coat .topbar .user-menu-dropdown a:hover {
  background: #eaf8fc;
}

.theme-supreme-coat .page-headline h1 {
  color: #050b12;
}

.theme-supreme-coat .page-headline p,
.theme-supreme-coat .hangar-intro {
  color: #374151;
}

.theme-supreme-coat .page-tab.active {
  color: #1683a1;
  border-bottom-color: #8bdcf0;
}

.theme-supreme-coat .module-card {
  border-color: #c7e8f2;
  box-shadow: 0 8px 24px rgba(5, 11, 18, 0.06);
}

.theme-supreme-coat .module-header {
  background: #f5fcfe;
  border-bottom-color: #d9f1f6;
}

.theme-supreme-coat .module-header h3 {
  color: #050b12;
}

.supreme-coat-brand {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.5rem;
  width: 100%;
  color: #ffffff;
}

.supreme-coat-brand-mark {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #8bdcf0 0%, #1683a1 75%);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
}

.supreme-coat-brand-name {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.supreme-coat-brand-name span {
  color: #8bdcf0;
}

.supreme-coat-brand-name sup {
  color: #8bdcf0;
  font-size: 0.42rem;
  vertical-align: top;
  margin-left: 0.12rem;
}

.supreme-coat-brand-tagline {
  color: #bdebf4;
  font-size: 0.48rem;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.supreme-coat-topbar-label {
  display: grid;
  gap: 0.08rem;
  margin-left: 0.35rem;
  line-height: 1.1;
}

.supreme-coat-topbar-label strong {
  color: #050b12;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.supreme-coat-topbar-label span {
  color: #1683a1;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: var(--gradient-bg)
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

p {
  color: var(--body-text-color);
}

/* Global Form Management */
.form-label,
label {
  font-size: var(--form-label-size);
  font-weight: var(--form-label-weight);
  color: var(--form-label-color);
}

.form-control,
.form-select,
.ui-control {
  width: 100%;
  height: 2.6rem;
  border: 1px solid #cfd9e4;
  border-radius: 4px;
  padding: 0 0.65rem;
  background: var(--colour-white);
  color: #1b2a3a;
  border-radius: var(--form-control-radius);
  font-size: var(--form-control-text-size);
}
.ui-control:focus {
  outline: none;
  border-color: var(--btn-primary-bg);
  box-shadow: 0 0 0 3px var(--overlay-focus);
}

/* Global Bootstrap Button Overrides */
.btn {
  --bs-btn-font-weight: var(--button-font-weight);
  --bs-btn-border-radius: var(--button-border-radius);
}

.btn:focus-visible {
  box-shadow: 0 0 0 0.25rem var(--button-focus-ring);
}

.btn-primary {
  --bs-btn-color: var(--button-primary-text);
  --bs-btn-bg: var(--button-primary-bg);
  --bs-btn-border-color: var(--button-primary-border);
  --bs-btn-hover-color: var(--button-primary-hover-text);
  --bs-btn-hover-bg: var(--button-primary-hover-bg);
  --bs-btn-hover-border-color: var(--button-primary-hover-border);
  --bs-btn-active-color: var(--button-primary-hover-text);
  --bs-btn-active-bg: var(--button-primary-hover-bg);
  --bs-btn-active-border-color: var(--button-primary-hover-border);
}

.btn-secondary {
  --bs-btn-color: var(--button-secondary-text);
  --bs-btn-bg: var(--button-secondary-bg);
  --bs-btn-border-color: var(--button-secondary-border);
  --bs-btn-hover-color: var(--button-secondary-hover-text);
  --bs-btn-hover-bg: var(--button-secondary-hover-bg);
  --bs-btn-hover-border-color: var(--button-secondary-hover-border);
  --bs-btn-active-color: var(--button-secondary-hover-text);
  --bs-btn-active-bg: var(--button-secondary-hover-bg);
  --bs-btn-active-border-color: var(--button-secondary-hover-border);
}

.btn-success {
  --bs-btn-color: var(--button-success-text);
  --bs-btn-bg: var(--button-success-bg);
  --bs-btn-border-color: var(--button-success-border);
  --bs-btn-hover-color: var(--button-success-hover-text);
  --bs-btn-hover-bg: var(--button-success-hover-bg);
  --bs-btn-hover-border-color: var(--button-success-hover-border);
}

.btn-info {
  --bs-btn-color: var(--button-info-text);
  --bs-btn-bg: var(--button-info-bg);
  --bs-btn-border-color: var(--button-info-border);
  --bs-btn-hover-color: var(--button-info-hover-text);
  --bs-btn-hover-bg: var(--button-info-hover-bg);
  --bs-btn-hover-border-color: var(--button-info-hover-border);
}

.btn-warning {
  --bs-btn-color: var(--button-warning-text);
  --bs-btn-bg: var(--button-warning-bg);
  --bs-btn-border-color: var(--button-warning-border);
  --bs-btn-hover-color: var(--button-warning-hover-text);
  --bs-btn-hover-bg: var(--button-warning-hover-bg);
  --bs-btn-hover-border-color: var(--button-warning-hover-border);
}

.btn-danger {
  --bs-btn-color: var(--button-danger-text);
  --bs-btn-bg: var(--button-danger-bg);
  --bs-btn-border-color: var(--button-danger-border);
  --bs-btn-hover-color: var(--button-danger-hover-text);
  --bs-btn-hover-bg: var(--button-danger-hover-bg);
  --bs-btn-hover-border-color: var(--button-danger-hover-border);
}

.btn-light {
  --bs-btn-color: var(--button-light-text);
  --bs-btn-bg: var(--button-light-bg);
  --bs-btn-border-color: var(--button-light-border);
  --bs-btn-hover-color: var(--button-light-hover-text);
  --bs-btn-hover-bg: var(--button-light-hover-bg);
  --bs-btn-hover-border-color: var(--button-light-hover-border);
}

.btn-dark {
  --bs-btn-color: var(--button-dark-text);
  --bs-btn-bg: var(--button-dark-bg);
  --bs-btn-border-color: var(--button-dark-border);
  --bs-btn-hover-color: var(--button-dark-hover-text);
  --bs-btn-hover-bg: var(--button-dark-hover-bg);
  --bs-btn-hover-border-color: var(--button-dark-hover-border);
}

.btn-link {
  --bs-btn-color: var(--button-link-text);
  --bs-btn-hover-color: var(--button-link-hover-text);
}

.btn-outline-primary {
  --bs-btn-color: var(--button-primary-bg);
  --bs-btn-border-color: var(--button-primary-bg);
  --bs-btn-hover-color: var(--button-primary-hover-text);
  --bs-btn-hover-bg: var(--button-primary-hover-bg);
  --bs-btn-hover-border-color: var(--button-primary-hover-border);
}

.btn-outline-secondary {
  --bs-btn-color: var(--button-secondary-bg);
  --bs-btn-border-color: var(--button-secondary-bg);
  --bs-btn-hover-color: var(--button-secondary-hover-text);
  --bs-btn-hover-bg: var(--button-secondary-hover-bg);
  --bs-btn-hover-border-color: var(--button-secondary-hover-border);
}

.btn-outline-success {
  --bs-btn-color: var(--button-success-bg);
  --bs-btn-border-color: var(--button-success-bg);
  --bs-btn-hover-color: var(--button-success-hover-text);
  --bs-btn-hover-bg: var(--button-success-hover-bg);
  --bs-btn-hover-border-color: var(--button-success-hover-border);
}

.btn-outline-info {
  --bs-btn-color: var(--button-info-bg);
  --bs-btn-border-color: var(--button-info-bg);
  --bs-btn-hover-color: var(--button-info-hover-text);
  --bs-btn-hover-bg: var(--button-info-hover-bg);
  --bs-btn-hover-border-color: var(--button-info-hover-border);
}

.btn-outline-warning {
  --bs-btn-color: var(--button-warning-bg);
  --bs-btn-border-color: var(--button-warning-bg);
  --bs-btn-hover-color: var(--button-warning-hover-text);
  --bs-btn-hover-bg: var(--button-warning-hover-bg);
  --bs-btn-hover-border-color: var(--button-warning-hover-border);
}

.btn-outline-danger {
  --bs-btn-color: var(--button-danger-bg);
  --bs-btn-border-color: var(--button-danger-bg);
  --bs-btn-hover-color: var(--button-danger-hover-text);
  --bs-btn-hover-bg: var(--button-danger-hover-bg);
  --bs-btn-hover-border-color: var(--button-danger-hover-border);
}

.btn-outline-light {
  --bs-btn-color: var(--button-light-text);
  --bs-btn-border-color: var(--button-light-border);
  --bs-btn-hover-color: var(--button-light-hover-text);
  --bs-btn-hover-bg: var(--button-light-hover-bg);
  --bs-btn-hover-border-color: var(--button-light-hover-border);
}

.btn-outline-dark {
  --bs-btn-color: var(--button-dark-bg);
  --bs-btn-border-color: var(--button-dark-bg);
  --bs-btn-hover-color: var(--button-dark-hover-text);
  --bs-btn-hover-bg: var(--button-dark-hover-bg);
  --bs-btn-hover-border-color: var(--button-dark-hover-border);
}

.app-form {
  display: grid;
  gap: 0.85rem;
}

.app-form-limit {
  max-width: 980px;
}

.app-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}

.app-form-align-end {
  align-items: end;
}

.app-form-field {
  display: grid;
  gap: 0.3rem;
}

.app-col-2 { grid-column: span 2; }
.app-col-3 { grid-column: span 3; }
.app-col-4 { grid-column: span 4; }
.app-col-8 { grid-column: span 8; }

.account-settings-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.account-settings-summary > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  background: #f3f6fa;
  border: 1px solid var(--line);
}

.account-settings-summary span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

@media (max-width: 767.98px) {
  .account-settings-summary {
    grid-template-columns: 1fr;
  }

  .account-settings-actions {
    justify-content: stretch;
  }

  .account-settings-actions .btn {
    width: 100%;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.admin-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--sidebar) 0%, #1a2635 100%);
  border-right: 1px solid var(--colour-border-dark);
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.sidebar-header {
  min-height: 62px;
  border-bottom: 1px solid var(--colour-border-dark);
  background: var(--sidebar-header-bg);
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.brand {
  color: #1e8f84;
  font-size: 1.95rem;
  font-weight: 700;
}

.brand-logo {
  display: block;
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sidebar-section-title {
  color: #5d7086;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.82rem 0.95rem 0.42rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.8rem;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item {
  position: relative;
}

.sidebar-link {
  color: var(--sidebar-text);
  font-size: 0.88rem;
  padding: 0.58rem 0.95rem;
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #61748a;
}

.sidebar-link:hover {
  background: var(--sidebar-2);
  color: #d7e1ea;
}

.sidebar-link.active {
  background: var(--sidebar-active);
  color: var(--colour-white);
  border-left-color: var(--colour-accent);
  font-weight: 600;
}

.sidebar-link.active .nav-dot {
  background: var(--colour-white);
}

.sidebar-submenu-inline {
  background: #2d425e;  
  display: grid;
  gap: 0rem;
  padding: 0 0 0.35rem 0;
}

.sidebar-sublink {
  color: var(--colour-text-400);
  font-size: 0.8rem;
  line-height: 1.3;
  display: block;
  padding: 0.55rem 0.55rem 0.55rem 2.35rem;
  border-radius: 3px;
}

.sidebar-sublink:hover {
  background: #25374b;
  color: #d7e1ea;
}

.sidebar-sublink.active {
  background: #2a3f57;
  color: var(--colour-white);
}

.sidebar-flyout {
  display: none;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--colour-border-dark);
  padding-bottom: 0.8rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  color: #9fb0c0;
  font-size: 0.84rem;
  padding: 0.32rem 0.95rem;
}

.summary-item strong {
  color: #dce5ee;
  font-weight: 600;
}

.content-shell {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.topbar {
  min-height: 62px;
  background: var(--topbar);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.menu-toggle,
.icon-btn {
  border: 1px solid transparent;
  background: transparent;
  color: #7b8996;
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #6c7a87;
  margin: 3px 0;
}

.icon-btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.icon-btn:hover,
.menu-toggle:hover {
  border-color: var(--line);
  background: var(--colour-surface-150);
}

.icon-btn.has-alert {
  position: relative;
}

.icon-btn.has-alert::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--colour-danger);
  box-shadow: 0 0 0 2px #f9fafc;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.26rem 0.5rem;
  text-align: left;
}

.user-menu-trigger:hover {
  border-color: var(--line);
  background: var(--colour-surface-150);
}

.user-summary {
  display: grid;
  gap: 0.02rem;
}

.avatar-dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #9ca9b8;
  display: inline-block;
  flex: 0 0 auto;
}

.user-greeting {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--heading-color);
}

.user-meta {
  font-size: 0.82rem;
  color: var(--body-text-color);
}

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0px);
  min-width: 170px;
  background: var(--colour-white);
  border: 1px solid #dce4ed;
  border-radius: 4px;
  box-shadow: 0 8px 24px var(--overlay-soft);
  padding: 0.3rem;
  display: none;
  z-index: 40;
}

.user-menu-dropdown a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 3px;
  font-size: 0.82rem;
  color: var(--colour-text-700);
}

.user-menu-dropdown a:hover {
  background: #edf4fb;
}

.user-menu:hover .user-menu-dropdown,
.user-menu:focus-within .user-menu-dropdown {
  display: block;
}

.page-content {
  padding: 0.9rem;
}

.page-headline {
  margin-bottom: 0.8rem;
}

.page-headline h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
}

.page-headline p {
  margin: 0.12rem 0 0;
  color: var(--body-text-color);
  font-size: 0.88rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.kpi-card {
  border-radius: 3px;
  color: var(--colour-white);
  padding: 0.82rem 0.88rem;
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
}

.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
}

.kpi-icon svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: var(--colour-white);
}

.kpi-title {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.86;
  margin-bottom: 0.22rem;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.kpi-sub {
  font-size: 0.73rem;
  opacity: 0.9;
}

.kpi-teal {
  background: var(--colour-teal);
}

.kpi-red {
  background: var(--colour-danger);
}

.kpi-blue {
  background: var(--colour-accent);
}

.kpi-navy {
  background: var(--colour-slate-750);
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0.8rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.panel-head {
  padding: 0.85rem 0.9rem 0.55rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.panel-head.stacked {
  display: block;
}

.panel-head h2 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel-head p {
  margin: 0.24rem 0 0;
  color: var(--body-text-color);
  font-size: 0.79rem;
}

.chart-legend {
  color: #8a97a7;
  font-size: 0.74rem;
  min-width: 165px;
}

.chart-legend div + div {
  margin-top: 0.24rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.38rem;
}

.dot-magenta {
  background: var(--colour-magenta);
}

.dot-purple {
  background: var(--colour-purple);
}

.chart-wrap {
  width: 100%;
  height: 300px;
  border-top: 1px solid var(--colour-surface-200);
  background-image: linear-gradient(to right, rgba(152, 167, 183, 0.14) 1px, transparent 1px), linear-gradient(to bottom, rgba(152, 167, 183, 0.14) 1px, transparent 1px);
  background-size: 63px 50px;
}

.chart-wrap svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 2.35;
}

.line-teal {
  stroke: #2eb8b3;
}

.line-blue {
  stroke: #4588e5;
}

.status-panel {
  padding-bottom: 0.55rem;
}

.status-row {
  padding: 0.12rem 0.9rem 0.5rem;
}

.status-row span {
  display: block;
  font-size: 0.75rem;
  color: #6b7988;
  margin-bottom: 0.24rem;
}

.bar {
  height: 5px;
  background: var(--colour-surface-200);
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  height: 100%;
}

.fill-teal { background: #14b8a6; }
.fill-green { background: #2dc176; }
.fill-red { background: #ef4444; }
.fill-amber { background: #f59e0b; }
.fill-cyan { background: #06b6d4; }
.fill-purple { background: #8b5cf6; }

.status-links {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 0.9rem 0.4rem;
}

.status-links a {
  color: #6f7f90;
  font-size: 0.76rem;
}

.status-links a:hover {
  color: #3f556b;
}

.bottom-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.bottom-panel {
  min-height: 136px;
}

.bottom-content {
  padding: 0 0.9rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.bottom-content p {
  margin: 0;
  color: var(--body-text-color);
  font-size: 0.8rem;
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 1180px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .content-shell {
    margin-left: 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: var(--overlay-strong);
    z-index: 20;
  }

  body.sidebar-open .sidebar-backdrop {
    display: block;
  }

  .sidebar-flyout {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .user-greeting {
    font-size: 0.86rem;
  }

  .user-meta {
    font-size: 0.76rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .kpi-value {
    font-size: 1.58rem;
  }

  .panel-head {
    flex-direction: column;
  }

  .chart-legend {
    min-width: 0;
  }

  .bottom-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Blueprint page layer */
.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
  padding-left: 0.1rem;
}

.page-tab {
    font-size: 0.82rem;
    font-weight: 500;
    color: #677688;
    text-transform: capitalize;
    letter-spacing: 0;
    padding: 0 0 0.55rem;
}

.page-tab.active {
  color: #213142;
  border-bottom: 3px solid var(--colour-accent);
  font-weight: 700;
}

body.section-content-manager .topbar {
  box-shadow: inset 0 -3px 0 #0f7d55;
}

body.section-content-manager .page-tab.active,
body.section-content-manager .content-manager-eyebrow,
body.section-content-manager .content-section-step {
  border-color: #0f7d55;
  color: #0f7d55;
}

body.section-central-marketing .topbar {
  box-shadow: inset 0 -3px 0 #c2410c;
}

body.section-central-marketing .page-tab.active,
body.section-central-marketing .content-manager-eyebrow,
body.section-central-marketing .content-section-step {
  border-color: #c2410c;
  color: #c2410c;
}

body.section-users-admin .topbar {
  box-shadow: inset 0 -3px 0 #7c3aed;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.module-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mt-section {
  margin-top: 0.8rem;
}

.module-card {
  background: var(--colour-white);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.module-header {
  border-bottom: 1px solid #e9eef4;
  padding: 0.75rem 0.85rem;
}

.module-header h3 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.module-body {
  padding: 0.85rem;
}

.metric-widget {
  color: var(--colour-white);
  border-radius: 3px;
  min-height: 116px;
  padding: 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.metric-widget span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

.metric-widget strong {
  font-size: 1.75rem;
  line-height: 1;
}

.metric-widget small {
  font-size: 0.76rem;
  opacity: 0.9;
}

.tone-teal { background: var(--colour-teal); }
.tone-blue { background: var(--colour-accent); }
.tone-navy { background: var(--colour-slate-750); }
.tone-red { background: var(--colour-danger); }

.profile-widget {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.profile-widget p {
  margin: 0.18rem 0 0;
  color: var(--body-text-color);
  font-size: 0.82rem;
}

.avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d9e7f6;
  color: #274864;
  font-weight: 700;
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0.9rem;
  display: grid;
  gap: 0.72rem;
}

.feed-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.6rem;
}

.feed-list span {
  color: #7d8a99;
  font-size: 0.76rem;
  font-weight: 600;
}

.feed-list p {
  margin: 0;
  color: var(--body-text-color);
  font-size: 0.83rem;
}

.button-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.pill.success { background: var(--colour-success-bg); color: var(--colour-success); }
.pill.warning { background: var(--colour-warning-bg); color: var(--colour-warning); }
.pill.danger { background: var(--colour-danger-bg); color: #ab2436; }
.pill.info { background: var(--colour-info-bg); color: var(--colour-info); }

.stack-gap {
  display: grid;
  gap: 0.6rem;
}

.alert-box {
  border-radius: 3px;
  font-size: 0.81rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid;
}

.alert-ok { background: #ebf9ef; border-color: #c7edcf; color: #1f6a35; }
.alert-warn { background: #fff8e7; border-color: #f6e3b7; color: #86610f; }
.alert-error { background: #ffeef0; border-color: #f7ccd2; color: #9d2636; }

details {
  border: 1px solid #e3e9f0;
  border-radius: 3px;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin: 0.45rem 0 0;
  color: var(--body-text-color);
}

.chart-shell {
  padding: 0.5rem;
}

.chart-shell svg {
  width: 100%;
  height: 180px;
  fill: none;
  stroke-width: 2.2;
}

.donut-wrap {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.donut {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--colour-magenta) 0 36%, var(--colour-purple) 36% 64%, var(--colour-cyan) 64% 85%, var(--colour-teal) 85% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: var(--colour-white);
}

.legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  color: #5f6f80;
  font-size: 0.79rem;
}

.dot-cyan { background: var(--colour-cyan); }
.dot-teal { background: var(--colour-teal); }

.bar-chart {
  display: grid;
  gap: 0.6rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  font-size: 0.79rem;
  color: #627486;
}

.bar-track {
  background: var(--colour-surface-200);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.bar-track > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--colour-accent), var(--colour-teal));
}

.form-stack {
  display: grid;
  gap: 0.65rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #5e7083;
}

.form-hint {
  font-size: 0.76rem;
  font-weight: 600;
}

.form-hint.success { color: var(--colour-success); }
.form-hint.error { color: #a22636; }

.check-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.table-tools {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.table-search {
  border: 1px solid var(--colour-border-200);
  border-radius: 4px;
  padding: 0.36rem 0.55rem;
  font-size: 0.79rem;
}

.p-0 {
  padding: 0;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.app-table th,
.app-table td {
  padding: 0.62rem 0.75rem;
  border-top: 1px solid var(--colour-surface-200);
}

.app-table th {
  text-align: left;
  color: #6a7a8d;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.71rem;
  letter-spacing: 0.03em;
}

.app-table tbody tr:hover {
  background: var(--colour-surface-100);
}

.app-table-wide {
  min-width: 1050px;
}

.finance-table-scroll {
  max-width: 100%;
}

.finance-management-table {
  min-width: 1480px;
  table-layout: fixed;
}

.finance-management-table th:nth-child(1),
.finance-management-table td:nth-child(1) {
  width: 72px;
}

.finance-management-table th:last-child,
.finance-management-table td:last-child {
  width: 132px;
}

.finance-management-table td {
  vertical-align: top;
}

.finance-id-cell,
.finance-action-cell {
  white-space: nowrap;
}

.finance-tag-input,
.finance-select {
  min-width: 180px;
}

.finance-text-value {
  min-width: 260px;
  resize: vertical;
}

.finance-code-editor,
.finance-code-value {
  font-family: var(--bs-font-monospace);
  font-size: 0.75rem;
  line-height: 1.45;
}

.finance-code-value {
  min-width: 260px;
  max-width: 420px;
  max-height: 18rem;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.finance-code-value--description {
  font-family: inherit;
}

.finance-json-launch {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.finance-json-summary {
  font-size: 0.76rem;
}

.finance-searchable-dealer {
  min-width: 180px;
}

.finance-searchable-dealer-menu {
  width: 100%;
  min-width: min(320px, calc(100vw - 2rem));
}

.finance-searchable-dealer-options {
  max-height: 18rem;
  overflow-y: auto;
}

.finance-searchable-dealer-options .dropdown-item {
  white-space: normal;
}

.finance-json-modal-help {
  color: var(--colour-text-500);
  font-size: 0.85rem;
}

.finance-json-modal-dialog {
  width: calc(100vw - 2rem);
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
}

.finance-json-editor {
  display: grid;
  gap: 1rem;
}

.finance-json-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.finance-json-fields > .finance-json-group {
  grid-column: 1 / -1;
}

.finance-json-field {
  min-width: 0;
}

.finance-json-field .form-label {
  color: var(--colour-text-700);
  font-size: 0.8rem;
  font-weight: 700;
}

.finance-json-group {
  padding: 1rem;
  border: 1px solid var(--colour-border-200);
  border-radius: 8px;
  background: var(--colour-surface-100);
}

.finance-json-group-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.finance-json-group-header,
.finance-json-array-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.finance-json-group-header {
  margin-bottom: 0.85rem;
}

.finance-json-array-item {
  padding: 1rem;
  border: 1px solid var(--colour-border-200);
  border-radius: 6px;
  background: #fff;
}

.finance-json-array-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.finance-json-array-items > .text-muted {
  grid-column: 1 / -1;
}

.finance-json-array-item > .finance-json-fields {
  grid-template-columns: minmax(0, 1fr);
}

.finance-json-array-item-header {
  margin-bottom: 0.85rem;
}

@media (max-width: 767.98px) {
  .finance-json-modal-dialog {
    width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .finance-json-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.app-table-values-right td:last-child {
  text-align: right;
  color: var(--accent-color);
  font-weight: 700;
}

.table-footer {
  border-top: 1px solid var(--colour-surface-200);
  padding: 0.65rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--colour-text-500);
  font-size: 0.76rem;
}

.pager {
  display: flex;
  gap: 0.35rem;
}

.pager button,
.pager a,
.pager span {
  border: 1px solid var(--colour-border-200);
  background: var(--colour-white);
  color: #4b5f75;
  font-size: 0.74rem;
  padding: 0.25rem 0.45rem;
  border-radius: 3px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
}

.pager button.active,
.pager span.active {
  background: var(--colour-accent);
  border-color: var(--colour-accent);
  color: var(--colour-white);
}

.pager span.disabled {
  opacity: 0.5;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.color-token {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.79rem;
  color: #5f7183;
}

.color-token span {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #d7dfe8;
}

.type-stack p {
  margin: 0;
  color: var(--body-text-color);
}

.t-xl { font-size: 1.6rem; font-weight: 700; }
.t-lg { font-size: 1.3rem; font-weight: 600; }
.t-md { font-size: 1rem; }
.t-sm { font-size: 0.8rem; color: #66788a; }

.spacing-demo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.space-box {
  border: 1px dashed #bfd0e0;
  background: #f4f9ff;
  color: #5f7285;
  text-align: center;
  border-radius: 4px;
  font-size: 0.72rem;
}

.m-xs { padding: 0.25rem; }
.m-sm { padding: 0.45rem; }
.m-md { padding: 0.7rem; }
.m-lg { padding: 1rem; }

@media (max-width: 1100px) {
  .module-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .module-grid-2,
  .donut-wrap,
  .profile-widget,
  .table-head,
  .table-footer {
    grid-template-columns: 1fr;
  }

  .table-head,
  .table-footer,
  .table-tools,
  .profile-widget {
    display: grid;
    gap: 0.6rem;
  }
}

@media (max-width: 700px) {
  .page-tabs {
    gap: 0.65rem;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .module-grid-4,
  .color-grid,
  .spacing-demo {
    grid-template-columns: 1fr;
  }
}

/* Dashboard cockpit layer */
.ops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ops-kpi {
  background: var(--colour-white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.72rem 0.75rem;
  display: grid;
  gap: 0.18rem;
}

.ops-kpi span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6f7f90;
}

.ops-kpi strong {
  font-size: 1.42rem;
  line-height: 1.1;
  color: #223246;
}

.ops-kpi small {
  font-size: 0.75rem;
  color: #758598;
}

.ops-kpi.danger {
  border-color: #f0c4ca;
  background: #fff8f8;
}

.ops-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.8rem;
}

.alert-list,
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0.9rem;
  display: grid;
  gap: 0.72rem;
}

.alert-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.6rem;
}

.alert-list p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--body-text-color);
}

.alert-list a {
  font-size: 0.78rem;
  color: var(--colour-accent);
  font-weight: 600;
}

.alert-list a:hover {
  text-decoration: underline;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.action-tile {
  border: 1px solid #d8e3ef;
  background: var(--colour-surface-100);
  color: #2f4863;
  border-radius: 4px;
  padding: 0.68rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.action-tile:hover {
  border-color: #bcd2e8;
  background: #edf5fe;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 0.62rem;
}

.timeline-list span {
  color: var(--colour-text-500);
  font-size: 0.75rem;
  font-weight: 700;
}

.timeline-list p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--body-text-color);
}

.work-item {
  border: 1px solid #e4ebf3;
  border-radius: 4px;
  padding: 0.58rem 0.64rem;
  display: grid;
  gap: 0.18rem;
}

.work-item strong {
  font-size: 0.84rem;
  color: #2c3f55;
}

.work-item small {
  font-size: 0.75rem;
  color: #77899c;
}

@media (max-width: 1220px) {
  .ops-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ops-main-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .alert-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ops-kpi-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* Users directory layer */
.table-search-wide {
  min-width: 320px;
}

.table-scroll-wrap {
  max-height: 520px;
  overflow: auto;
}

.users-directory-card {
  height: calc(100vh - 235px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.users-directory-card .table-scroll-wrap {
  flex: 1;
  min-height: 0;
  max-height: none;
}

.user-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.user-profile-grid div {
  border: 1px solid #e6ecf3;
  background: var(--colour-surface-50);
  border-radius: 4px;
  padding: 0.6rem 0.65rem;
}

.user-profile-grid span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #758699;
  margin-bottom: 0.2rem;
}

.user-profile-grid strong {
  font-size: 0.86rem;
  color: #2b3f54;
}

.action-strip {
  border-top: 1px solid #e8eef5;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.users-admin-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(260px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.users-admin-panel {
  min-height: calc(100vh - 220px);
}

.users-admin-panel--detail {
  min-width: 0;
}

.users-admin-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.users-admin-panel__head h2 {
  margin: 0 0 0.35rem;
}

.users-admin-panel__head p {
  margin: 0;
  color: #6b7280;
}

.users-admin-panel__head--detail {
  align-items: flex-start;
}

.users-admin-panel__body {
  display: grid;
  gap: 1rem;
}

.users-admin-eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
}

.users-admin-search {
  display: grid;
  gap: 0.8rem;
}

.users-admin-search__actions,
.users-admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.users-admin-check {
  margin: 0;
}

.users-admin-initials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.users-admin-initials a {
  border: 1px solid #d8e1ea;
  border-radius: 999px;
  background: #fff;
  color: #4b5f75;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.58rem;
}

.users-admin-initials a.active,
.users-admin-initials a:hover {
  border-color: #7c3aed;
  background: #f5efff;
  color: #6d28d9;
}

.users-admin-tree-wrap,
.users-admin-members,
.users-admin-permissions-tree {
  border: 1px solid #e5ebf2;
  border-radius: 0.9rem;
  background: #fbfcff;
  padding: 0.95rem 1rem;
}

.users-admin-tree-wrap {
  max-height: calc(100vh - 390px);
  overflow: auto;
}

.users-admin-tree,
.users-admin-tree ul,
.users-admin-permissions-list,
.users-admin-permissions-list ul {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
}

.users-admin-tree {
  padding-left: 0;
}

.users-admin-tree__root {
  display: inline-flex;
  margin-bottom: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #27313d;
}

.users-admin-tree__node {
  position: relative;
  margin-bottom: 0.4rem;
}

.users-admin-tree__node-row {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.2rem;
  align-items: start;
}

.users-admin-tree__toggle,
.users-admin-tree__toggle-spacer {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.42rem;
}

.users-admin-tree__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: #758699;
  cursor: pointer;
}

.users-admin-tree__toggle:hover {
  background: #eef2f7;
  color: #5b21b6;
}

.users-admin-tree__toggle:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 1px;
}

.users-admin-tree__chevron {
  width: 0.55rem;
  height: 0.8rem;
  transition: transform 0.15s ease;
}

.users-admin-tree__toggle[aria-expanded="true"] .users-admin-tree__chevron {
  transform: rotate(90deg);
}

.users-admin-tree__children {
  display: none;
}

.users-admin-tree__node.is-open > .users-admin-tree__children {
  display: block;
}

.users-admin-tree__link {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  color: #213142;
}

.users-admin-tree__link small {
  color: #758699;
}

.users-admin-tree__link:hover,
.users-admin-tree__link.is-selected {
  border-color: #d7cbff;
  background: #f5efff;
}

.users-admin-tree__link.is-selected {
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12);
}

.users-admin-members {
  display: grid;
  gap: 0.75rem;
  max-height: calc(100vh - 390px);
  overflow: auto;
}

.users-admin-member {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #e5ebf2;
  border-radius: 0.9rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.users-admin-member:hover,
.users-admin-member.is-selected {
  border-color: #cdbdff;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
}

.users-admin-member__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.users-admin-member__meta {
  display: grid;
  gap: 0.18rem;
  color: #5e7083;
  font-size: 0.8rem;
}

.users-admin-member small,
.users-admin-empty {
  color: #6b7280;
}

.users-admin-tabs {
  gap: 0.6rem;
}

.users-admin-tabs .nav-link {
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  background: #fff;
  color: #5b21b6;
  font-weight: 600;
}

.users-admin-tabs .nav-link.active {
  border-color: #7c3aed;
  background: #f5efff;
  color: #6d28d9;
}

.users-admin-tab-content {
  padding-top: 0.9rem;
}

.users-admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.users-admin-summary-grid div {
  padding: 0.9rem 1rem;
  border: 1px solid #e5ebf2;
  border-radius: 0.9rem;
  background: #faf7ff;
}

.users-admin-summary-grid span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7c3aed;
}

.users-admin-summary-grid strong {
  color: #2b3f54;
}

.users-admin-permissions-intro {
  padding: 0.85rem 1rem;
  border: 1px solid #e9ddff;
  border-radius: 0.9rem;
  background: #faf7ff;
  color: #5b21b6;
}

.users-admin-permissions-tree {
  max-height: calc(100vh - 430px);
  overflow: auto;
}

.users-admin-permissions-list {
  padding-left: 0;
}

.users-admin-permissions-list ul {
  margin-top: 0.35rem;
}

.users-admin-permission {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.28rem 0;
  color: #27313d;
}

@media (max-width: 900px) {
  .table-search-wide {
    min-width: 0;
    width: 100%;
  }

  .users-directory-card {
    height: auto;
    min-height: 0;
  }

  .users-directory-card .table-scroll-wrap {
    max-height: 60vh;
  }

  .user-profile-grid {
    grid-template-columns: 1fr;
  }

  .action-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .users-admin-shell {
    grid-template-columns: 1fr;
  }

  .users-admin-panel {
    min-height: 0;
  }

  .users-admin-tree-wrap,
  .users-admin-members,
  .users-admin-permissions-tree {
    max-height: 60vh;
  }

  .users-admin-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Typography specimen */
.type-specimen-list {
  display: grid;
  gap: 0.65rem;
}

.type-specimen {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  border: 1px solid #e7edf4;
  border-radius: 4px;
  background: var(--colour-surface-50);
  padding: 0.55rem 0.65rem;
}

.type-specimen > code {
  display: inline-block;
  border: 1px solid #d6e1ee;
  border-radius: 3px;
  background: #eef4fb;
  color: #34506d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.35rem;
  width: fit-content;
}

.type-specimen h1,
.type-specimen h2,
.type-specimen h3,
.type-specimen h4,
.type-specimen h5,
.type-specimen h6,
.type-specimen p,
.type-specimen ul,
.type-specimen ol,
.type-specimen blockquote,
.type-specimen pre {
  margin: 0;
}

.type-specimen small {
  display: block;
  margin-top: 0.2rem;
  color: #7a8c9d;
  font-size: 0.72rem;
}

.type-specimen blockquote {
  border-left: 3px solid #b9cde3;
  padding-left: 0.6rem;
  color: #4b6178;
  font-style: italic;
}

.type-specimen pre {
  border: 1px solid #d8e1ec;
  border-radius: 4px;
  background: #f4f8fc;
  padding: 0.45rem 0.55rem;
  overflow-x: auto;
}

.type-specimen pre code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.75rem;
  color: #2f4561;
}

@media (max-width: 700px) {
  .type-specimen {
    grid-template-columns: 1fr;
  }
}

/* Login screen */
.login-page {
  min-height: 100dvh;
  margin: 0;
  background: #f1f2f4;
}

.login-split {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(420px, 51%) minmax(0, 1fr);
}

.login-panel {
  padding: 2rem 2.2rem 2.2rem;
  display: grid;
  grid-template-rows: auto 0fr;
}

.login-brand-wrap {
  margin-bottom: 1.2rem;
}

.login-brand {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.login-content {
  width: min(420px, 100%);
  justify-self: center;
  align-self: center;
}

.login-locale-picker {
  margin-bottom: 1.35rem;
}

.login-locale-picker label {
  display: block;
  margin-bottom: 0.35rem;
  color: #121923;
  font-size: 0.84rem;
  font-weight: 500;
}

.login-locale-picker .form-select {
  min-height: 3.05rem;
  border-color: #d3d8e0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.login-content h1 {
    margin: 0;
    font-size: 2.4rem;
    letter-spacing: 0;
    color: var(--heading-color);
    font-weight: 700;
}

.login-sub {
  margin: 0.45rem 0 1.55rem;
  color: var(--body-text-color);
  font-size: 0.95rem;
}

.login-form {
  display: grid;
  gap: 0.95rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #121923;
}

.login-form .form-control {
  height: 3.05rem;
  border-radius: 6px;
  border-color: #d3d8e0;
  font-size: 0.95rem;
}

.login-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.login-registration-link {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
}

.login-registration-link a {
  color: #0f4c81;
  font-weight: 700;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.86rem;
  color: #1a2431;
}

.remember-me input {
  width: 1rem;
  height: 1rem;
}

.forgot-link {
  color: var(--accent-color);
  font-size: 0.86rem;
  font-weight: 500;
}

.forgot-link:hover {
  color: var(--accent-color-hover);
  text-decoration: underline;
}

.google-g {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #2f5fb9;
  background: #f2f6ff;
  border: 1px solid #d7e2f7;
}

.signup-note {
  margin: 1.35rem 0 0;
  text-align: center;
  color: var(--body-text-color);
  font-size: 0.9rem;
}

.signup-note a {
  color: var(--accent-color);
  font-weight: 500;
}

.signup-note a:hover {
  color: var(--accent-color-hover);
}

.login-visual {
  position: relative;
  background: radial-gradient(circle at 30% 30%, #7ea9e6 0%, #5f8fd4 35%, var(--colour-secondary) 75%, var(--colour-primary) 100%);
  overflow: hidden;
}

.login-bg-slides {
  position: absolute;
  inset: 0;
}

.login-bg-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: loginBgFade 18s infinite;
}

.login-bg-slides img:nth-child(1) {
  animation-delay: 0s;
}

.login-bg-slides img:nth-child(2) {
  animation-delay: 6s;
}

.login-bg-slides img:nth-child(3) {
  animation-delay: 12s;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 20% 22%, transparent 0 6px, rgba(95, 68, 176, 0.5) 7px 8px, transparent 9px),
    radial-gradient(circle at 72% 31%, transparent 0 6px, rgba(95, 68, 176, 0.45) 7px 8px, transparent 9px);
  background-size: 130px 130px, 160px 160px;
}

.visual-artwork {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 2.2rem;
}

.art-placeholder {
  width: min(520px, 92%);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

@keyframes loginBgFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  28% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}

.visual-dots {
  position: absolute;
  right: 5.2rem;
  top: 52%;
  display: flex;
  gap: 0.55rem;
}

.visual-dots span {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  opacity: 0.9;
}

.visual-dots span.active {
  background: var(--colour-white);
}

@media (max-width: 1100px) {
  .login-content h1 {
    font-size: 2.4rem;
  }

  .visual-dots {
    right: 2.2rem;
  }
}

@media (max-width: 900px) {
  .login-split {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 0px;
    order: -1;
  }

  .login-panel {
    padding: 1.2rem 1rem 1.5rem;
  }

  .login-content {
    padding-top: 0.6rem;
  }

  .visual-artwork {
    align-items: center;
  }

  .art-placeholder {
    width: min(480px, 96%);
    aspect-ratio: 3 / 1.2;
  }

  .visual-dots {
    display: none;
  }
}

/* Hangar generation */
.hangar-builder-card .module-header h3,
.hangar-result-card .module-header h3 {
  font-size: 0.92rem;
}

.hangar-builder-body {
  display: grid;
  gap: 1rem;
}

.hangar-intro {
  margin: 0;
  font-size: 0.88rem;
  color: #4f6275;
}

.hangar-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hangar-download-body {
  display: grid;
  gap: 0.85rem;
}

.hangar-download-footer {
  border-top: 1px solid #e5ebf2;
}

.hangar-download-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3f5268;
}

.hangar-template-select {
  height: 3rem;
  font-size: 0.95rem;
}

.paint-cert-body {
  display: grid;
  gap: 0.95rem;
}

@media (max-width: 1100px) {
  .app-col-3,
  .app-col-4,
  .app-col-8 {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .app-col-2,
  .app-col-3,
  .app-col-4,
  .app-col-8 {
    grid-column: span 12;
  }

  .hangar-results-grid {
    grid-template-columns: 1fr;
  }
}

/* Deal dashboard */
.status-check {
  color: var(--colour-success-strong);
  font-weight: 700;
}

.status-cross {
  color: var(--colour-danger-strong);
  font-weight: 700;
}

.js-mark-sold {
  padding: 0.25rem 0.65rem;
  background: transparent;
  cursor: pointer;
}

.js-mark-sold:hover,
.js-mark-sold:focus-visible {
  background: color-mix(in srgb, var(--colour-danger-strong) 12%, transparent);
  outline: 2px solid var(--colour-danger-strong);
  outline-offset: 2px;
}

.status-flag {
  color: #cc5a17;
}

.deal-detail-row > td {
  padding: 0;
  background: #f7f9fc;
}

.deal-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  padding: 0.85rem;
}

.deal-detail-grid p {
  margin: 0;
  font-size: 0.82rem;
  color: #2f4155;
}

.deal-summary-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.deal-summary-line {
  margin: 0.15rem 0;
}

.deal-quote-modal {
  background: #1f2530;
  color: #ecf2f8;
}

.deal-quote-modal .modal-header {
  border-bottom-color: #2f3b4a;
}

.deal-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0.9rem;
}

.deal-bike-placeholder {
  border: 1px solid #3c4656;
  border-radius: 4px;
  background: linear-gradient(145deg, #2a3442, #1f2733);
  min-height: 280px;
  display: grid;
  place-items: center;
  color: #adbbca;
  font-weight: 600;
}

.deal-quote-list {
  margin-top: 0.45rem;
  border: 1px solid var(--colour-slate-700);
}

.deal-quote-list div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-top: 1px solid var(--colour-slate-700);
}

.deal-quote-list div:first-child {
  border-top: 0;
}

.deal-quote-list span {
  color: #c9d4e0;
}

.deal-quote-panel {
  border: 1px solid #364253;
  border-top: 2px solid var(--accent-color);
  background: #131a24;
  padding: 0.7rem;
}

.deal-quote-panel h4 {
  margin: 0 0 0.5rem;
}

.deal-quote-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.deal-quote-panel li {
  display: grid;
  gap: 0.1rem;
}

.deal-quote-panel span {
  color: #c9d4e0;
  font-size: 0.8rem;
}

.deal-quote-panel strong {
  font-size: 1.02rem;
}

.deal-consent-copy {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #d1dbe5;
}

.deal-consent-actions {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.deal-consent-actions .btn {
  min-width: 0;
  line-height: 1.2;
  white-space: normal;
}

.manage-user-owner-row {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.manage-user-owner-toggle,
.manage-user-owner-name {
  border: 0;
  background: transparent;
  color: inherit;
}

.manage-user-owner-toggle {
  flex: 0 0 2.75rem;
  border-right: 1px solid #d7d7d7;
  font-size: 1.25rem;
  line-height: 1;
}

.manage-user-owner-name {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 1rem;
  text-align: left;
}

.manage-user-owner-toggle:focus-visible,
.manage-user-owner-name:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #ff6600;
  outline-offset: -2px;
}

.manage-user-children {
  padding: 0.85rem;
  border: 1px solid #d7d7d7;
  border-top: 0;
  background: #f7f7f7;
}

.manage-user-children .list-group-item {
  padding-left: 1.25rem;
}

.dashboard-search-action .btn {
  min-height: 2.75rem;
  white-space: nowrap;
}

/* Hangers */
.hangers-panel {
  background: var(--colour-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem;
}

.hangers-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}

.hangers-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #5f7183;
}

.hangers-grid label:nth-child(1) { grid-column: span 2; }
.hangers-grid label:nth-child(2) { grid-column: span 5; }
.hangers-grid label:nth-child(3) { grid-column: span 5; }

.hangers-grid.mt-2 label { grid-column: span 3; }

.hangers-grid input,
.hangers-grid select {
  height: 2.7rem;
  border: 1px solid #cfd9e4;
  border-radius: 4px;
  padding: 0 0.6rem;
}

.hangers-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hangers-quote {
  border: 1px solid var(--line);
  background: var(--colour-white);
  border-radius: 4px;
}

.hangers-quote h2 {
  margin: 0;
  padding: 0.85rem 0.9rem 0.5rem;
}

.hangers-quote ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hangers-quote li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid #e2e9f0;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
}

.hangers-quote .value {
  color: #ff6200;
  font-weight: 700;
}

.hangers-print {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
  border-top: 1px solid #e2e9f0;
}

.hangers-print select {
  height: 2.6rem;
  border: 1px solid #cfd9e4;
  border-radius: 4px;
  padding: 0 0.6rem;
}

.hangers-print-error {
  margin: 0;
  padding: 0 0.9rem 0.9rem;
  font-size: 0.86rem;
}

.hangers-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #35495c;
}

.hangers-loader-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid #d4dde7;
  border-top-color: #ff6200;
  animation: hangers-spin 0.8s linear infinite;
}

@keyframes hangers-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1200px) {
  .app-col-2,
  .app-col-3 {
    grid-column: span 4;
  }
}

@media (max-width: 900px) {
  .app-col-2,
  .app-col-3,
  .app-col-4,
  .app-col-8 {
    grid-column: span 12;
  }

  .deal-detail-grid {
    grid-template-columns: 1fr;
  }

  .deal-quote-grid {
    grid-template-columns: 1fr;
  }

  .deal-consent-actions {
    grid-template-columns: 1fr;
  }

  .hangers-grid label,
  .hangers-grid.mt-2 label {
    grid-column: span 12;
  }

  .hangers-quotes {
    grid-template-columns: 1fr;
  }
}

/* Harley Appearance Protection brand system */
body.theme-harley {
  font-family: "1903 Sans", Arial, sans-serif;
  background: #f3f3f3;
  color: #151515;
}

.theme-harley h1,
.theme-harley .h1,
.theme-harley h2,
.theme-harley .h2,
.theme-harley h3,
.theme-harley .h3,
.theme-harley h4,
.theme-harley .h4,
.theme-harley h5,
.theme-harley .h5,
.theme-harley h6,
.theme-harley .h6,
.theme-harley strong,
.theme-harley th {
  font-family: "1903 Sans Bold", Arial, sans-serif;
}

.theme-harley .sidebar {
  background: #000000;
  border-right-color: #282828;
}

.theme-harley .sidebar-header {
  min-height: 104px;
  padding: 1.15rem 0.8rem;
  border-bottom-color: #282828;
  background: #000000;
  color: #ffffff;
}

.theme-harley .sidebar-header img {
  color: #ffffff;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.25;
}

.theme-harley .sidebar .form-label {
  color: #bdbdbd !important;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-harley .sidebar .form-select {
  border-color: #4a4a4a;
  background-color: #ffffff;
  color: #000000;
}

.theme-harley .sidebar-section-title {
  color: #777777;
  font-family: "1903 Sans Bold", Arial, sans-serif;
}

.theme-harley .sidebar-link,
.theme-harley .sidebar-sublink {
  font-family: "1903 Sans Bold", Arial, sans-serif;
  letter-spacing: 0.015em;
}

.theme-harley .sidebar-link {
  color: #ffffff;
  text-transform: uppercase;
}

.theme-harley .sidebar-link:hover {
  background: #171717;
  color: #ff6600;
}

.theme-harley .sidebar-link.active {
  background: #222222;
  color: #ff6600;
  border-left-color: #ff6600;
}

.theme-harley .sidebar .nav-dot {
  display: none;
}

.theme-harley .sidebar-submenu-inline {
  background: #111111;
  border-bottom: 1px solid #282828;
}

.theme-harley .sidebar-sublink {
  border-radius: 0;
  color: #d0d0d0;
}

.theme-harley .sidebar-sublink:hover {
  background: #1b1b1b;
  color: #ffffff;
}

.theme-harley .sidebar-sublink.active {
  background: #222222;
  color: #ff6600;
}

.theme-harley .sidebar-footer {
  border-top-color: #282828;
}

.theme-harley .summary-item {
  color: #8c8c8c;
}

.theme-harley .summary-item strong {
  color: #ffffff;
}

.theme-harley .topbar {
  min-height: 64px;
  border-bottom-color: #282828;
  background: #000000;
  box-shadow: none;
}

.theme-harley .topbar .user-menu-trigger,
.theme-harley .topbar .icon-btn,
.theme-harley .topbar .menu-toggle {
  border-radius: 0;
  color: #ffffff;
}

.theme-harley .topbar .user-greeting {
  color: #ffffff;
  font-family: "1903 Sans Bold", Arial, sans-serif;
}

.theme-harley .topbar .user-meta {
  color: #a8a8a8;
}

.theme-harley .avatar-dot {
  background: #ff6600;
  box-shadow: none;
}

.theme-harley .topbar .icon-btn.has-alert::after {
  box-shadow: 0 0 0 2px #000000;
}

.theme-harley .topbar .icon-btn:hover,
.theme-harley .topbar .menu-toggle:hover,
.theme-harley .topbar .user-menu-trigger:hover {
  border-color: #4a4a4a;
  background: #222222;
}

.theme-harley .topbar .user-menu-dropdown {
  border: 1px solid #333333;
  border-radius: 0;
  background: #111111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.theme-harley .topbar .user-menu-dropdown a,
.theme-harley .topbar .user-menu-dropdown .btn-link {
  border-radius: 0;
  color: #ffffff;
}

.theme-harley .topbar .user-menu-dropdown a:hover,
.theme-harley .topbar .user-menu-dropdown .btn-link:hover {
  background: #222222;
  color: #ff6600;
}

.theme-harley .page-content {
  padding: 1.15rem;
}

.theme-harley .page-headline {
  margin-bottom: 1rem;
  padding: 0.65rem 0 0.75rem;
  border-bottom: 1px solid #cfcfcf;
}

.theme-harley .page-headline h1 {
  color: #000000;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-harley .page-headline p,
.theme-harley .hangar-intro {
  color: #333333;
}

.theme-harley .page-tabs {
  gap: 0;
  margin-bottom: 1rem;
  padding: 0 0.55rem;
  border: 0;
  background: #222222;
}

.theme-harley .page-tab {
  padding: 0.9rem 0.85rem 0.75rem;
  border-bottom: 3px solid transparent;
  color: #ffffff;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  font-weight: 700;
  text-transform: none;
}

.theme-harley .page-tab:hover {
  color: #ff6600;
}

.theme-harley .page-tab.active {
  border-bottom-color: #ff6600;
  color: #ff6600;
}

.theme-harley .module-card,
.theme-harley .card,
.theme-harley .hangars-panel,
.theme-harley .hangars-quote,
.theme-harley .work-item,
.theme-harley details {
  border-color: #d0d0d0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.theme-harley .module-header,
.theme-harley .card-header {
  border-bottom: 3px solid #ff6600;
  border-radius: 0;
  background: #222222;
  color: #ffffff;
}

.theme-harley .module-header h2,
.theme-harley .module-header h3,
.theme-harley .module-header p,
.theme-harley .card-header,
.theme-harley .card-header h2,
.theme-harley .card-header h3,
.theme-harley .card-header h4,
.theme-harley .card-header h5 {
  color: #ffffff;
}

.theme-harley .module-header h2,
.theme-harley .module-header h3,
.theme-harley .card-header {
  font-family: "1903 Sans Bold", Arial, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.theme-harley .module-body,
.theme-harley .card-body {
  background: #ffffff;
}

.theme-harley .form-label,
.theme-harley label,
.theme-harley .app-form-field label,
.theme-harley .hangers-grid label {
  color: #151515;
  font-family: "1903 Sans", Arial, sans-serif;
  font-weight: 400;
}

.theme-harley .form-control,
.theme-harley .form-select,
.theme-harley .ui-control,
.theme-harley .table-search,
.theme-harley .hangers-grid input,
.theme-harley .hangers-grid select,
.theme-harley .hangers-print select {
  min-height: 2.7rem;
  border: 1px solid #9d9d9d;
  border-radius: 0;
  background-color: #ffffff;
  color: #000000;
  font-family: "1903 Sans", Arial, sans-serif;
}

.theme-harley textarea.form-control {
  min-height: auto;
  padding-top: 0.65rem;
}

.theme-harley .form-control:focus,
.theme-harley .form-select:focus,
.theme-harley .ui-control:focus,
.theme-harley .table-search:focus,
.theme-harley .hangers-grid input:focus,
.theme-harley .hangers-grid select:focus,
.theme-harley .hangers-print select:focus {
  border-color: #ff6600;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
  outline: none;
}

.theme-harley .form-check-input {
  border-color: #767676;
  border-radius: 0;
}

.theme-harley .form-check-input:checked {
  border-color: #ff6600;
  background-color: #ff6600;
}

.theme-harley .btn {
  border-radius: 0;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-harley .btn-primary,
.theme-harley .btn-success,
.theme-harley .btn-info,
.theme-harley .btn-warning {
  border-color: #ff6600;
  background: #ff6600;
  color: #000000;
}

.theme-harley .btn-primary:hover,
.theme-harley .btn-success:hover,
.theme-harley .btn-info:hover,
.theme-harley .btn-warning:hover {
  border-color: #e65c00;
  background: #e65c00;
  color: #000000;
}

.theme-harley .btn-secondary,
.theme-harley .btn-dark {
  border-color: #222222;
  background: #222222;
  color: #ffffff;
}

.theme-harley .btn-secondary:hover,
.theme-harley .btn-dark:hover {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.theme-harley .btn-outline-primary,
.theme-harley .btn-outline-secondary,
.theme-harley .btn-outline-success,
.theme-harley .btn-outline-info,
.theme-harley .btn-outline-warning,
.theme-harley .btn-outline-dark {
  border-color: #222222;
  background: #ffffff;
  color: #000000;
}

.theme-harley .btn-outline-primary:hover,
.theme-harley .btn-outline-secondary:hover,
.theme-harley .btn-outline-success:hover,
.theme-harley .btn-outline-info:hover,
.theme-harley .btn-outline-warning:hover,
.theme-harley .btn-outline-dark:hover {
  border-color: #ff6600;
  background: #ff6600;
  color: #000000;
}

.theme-harley .btn-link {
  color: #d95700;
}

.theme-harley .btn-link:hover {
  color: #000000;
}

.theme-harley .app-table,
.theme-harley .table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #151515;
  --bs-table-border-color: #d7d7d7;
  --bs-table-hover-bg: #f2f2f2;
  color: #151515;
}

.theme-harley .app-table thead,
.theme-harley .table thead {
  background: #222222;
}

.theme-harley .app-table th,
.theme-harley .table th {
  border-color: #3c3c3c;
  background: #222222;
  color: #ffffff;
  letter-spacing: 0.025em;
}

.theme-harley .app-table td,
.theme-harley .table td {
  border-color: #e0e0e0;
}

.theme-harley .app-table tbody tr:hover,
.theme-harley .table tbody tr:hover > * {
  background: #f2f2f2;
}

.theme-harley .app-table-values-right td:last-child,
.theme-harley .hangers-quote .value {
  color: #d95700;
}

.theme-harley .ops-kpi,
.theme-harley .action-tile {
  border-color: #d0d0d0;
  border-radius: 0;
  background: #ffffff;
}

.theme-harley .ops-kpi {
  border-left: 4px solid #ff6600;
}

.theme-harley .ops-kpi strong,
.theme-harley .work-item strong {
  color: #000000;
}

.theme-harley .action-tile {
  color: #000000;
}

.theme-harley .action-tile:hover {
  border-color: #ff6600;
  background: #fff4ec;
}

.theme-harley .metric-widget,
.theme-harley .kpi-card,
.theme-harley .pill,
.theme-harley .alert,
.theme-harley .alert-box,
.theme-harley .pager button,
.theme-harley .pager a,
.theme-harley .pager span {
  border-radius: 0;
}

.theme-harley .tone-teal,
.theme-harley .tone-blue {
  background: #ff6600;
  color: #000000;
}

.theme-harley .tone-navy,
.theme-harley .tone-red {
  background: #222222;
  color: #ffffff;
}

.theme-harley .pager button.active,
.theme-harley .pager span.active {
  border-color: #ff6600;
  background: #ff6600;
  color: #000000;
}

.theme-harley .list-group-item {
  border-color: #d7d7d7;
  border-radius: 0 !important;
}

.theme-harley .list-group-item.active {
  border-color: #ff6600;
  background: #ff6600;
  color: #000000;
}

.theme-harley .modal-content {
  border: 1px solid #333333;
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.theme-harley .modal-header {
  border-bottom: 3px solid #ff6600;
  background: #000000;
  color: #ffffff;
}

.theme-harley .modal-header .modal-title {
  color: #ffffff;
  font-family: "1903 Sans Bold", Arial, sans-serif;
  text-transform: uppercase;
}

.theme-harley .modal-footer {
  border-top-color: #d7d7d7;
  background: #f3f3f3;
}

.theme-harley .promotion-builder,
.theme-harley .promotion-builder-sidebar,
.theme-harley .promotion-builder-canvas {
  border-color: #cfcfcf !important;
  border-radius: 0 !important;
}

.theme-harley .deal-quote-panel {
  border-radius: 0;
  background: #222222;
}

.theme-harley .hangars-loader {
  color: #222222;
}

.theme-harley .hangars-loader-spinner {
  border-color: #d7d7d7;
  border-top-color: #ff6600;
}

/* Supreme Coat component brand system */
.theme-supreme-coat .btn-primary,
.theme-supreme-coat .btn-success,
.theme-supreme-coat .btn-info {
  border-color: #1683a1;
  background: #1683a1;
  color: #ffffff;
}

.theme-supreme-coat .btn-primary:hover,
.theme-supreme-coat .btn-success:hover,
.theme-supreme-coat .btn-info:hover {
  border-color: #0f6c87;
  background: #0f6c87;
  color: #ffffff;
}

.theme-supreme-coat .btn-outline-primary,
.theme-supreme-coat .btn-outline-info {
  border-color: #1683a1;
  background: #ffffff;
  color: #1683a1;
}

.theme-supreme-coat .btn-outline-primary:hover,
.theme-supreme-coat .btn-outline-info:hover {
  border-color: #1683a1;
  background: #1683a1;
  color: #ffffff;
}

.theme-supreme-coat .form-control,
.theme-supreme-coat .form-select,
.theme-supreme-coat .ui-control,
.theme-supreme-coat .table-search {
  border-color: #b7dfe9;
  background: #ffffff;
  color: #10242c;
}

.theme-supreme-coat .form-control:focus,
.theme-supreme-coat .form-select:focus,
.theme-supreme-coat .ui-control:focus,
.theme-supreme-coat .table-search:focus {
  border-color: #1683a1;
  box-shadow: 0 0 0 3px rgba(139, 220, 240, 0.28);
}

.theme-supreme-coat .app-table th,
.theme-supreme-coat .table th {
  border-color: #c7e8f2;
  background: #eaf8fc;
  color: #0f6c87;
}

.theme-supreme-coat .app-table td,
.theme-supreme-coat .table td {
  border-color: #d9f1f6;
}

.theme-supreme-coat .card,
.theme-supreme-coat .modal-content,
.theme-supreme-coat .hangars-panel,
.theme-supreme-coat .hangars-quote,
.theme-supreme-coat .work-item {
  border-color: #c7e8f2;
  box-shadow: 0 8px 24px rgba(5, 11, 18, 0.06);
}

.theme-supreme-coat .card-header,
.theme-supreme-coat .modal-header {
  border-bottom-color: #8bdcf0;
  background: #f5fcfe;
  color: #050b12;
}

.theme-supreme-coat .form-check-input:checked,
.theme-supreme-coat .pager button.active,
.theme-supreme-coat .pager span.active {
  border-color: #1683a1;
  background-color: #1683a1;
}

/* Generic manufacturer pages use their neutral manufacturer palette consistently. */
.theme-manufacturer .btn-primary,
.theme-manufacturer .btn-success,
.theme-manufacturer .btn-info {
  border-color: #2769a8;
  background: #2769a8;
  color: #ffffff;
}

.theme-manufacturer .btn-primary:hover,
.theme-manufacturer .btn-success:hover,
.theme-manufacturer .btn-info:hover {
  border-color: #1d527f;
  background: #1d527f;
  color: #ffffff;
}
.translation-sync-indicator {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1080;
  width: min(26rem, calc(100vw - 3rem));
  padding: 1rem;
  border: 1px solid var(--colour-surface-200);
  border-radius: 0.5rem;
  background: var(--colour-white);
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.18);
}

.translation-sync-indicator[hidden] {
  display: none;
}

.appearance-protection-journey-selector {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #d4d9df;
  background: #ffffff;
}

.appearance-protection-journey-selector h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.appearance-protection-journey-selector > p {
  margin: 0 0 0.75rem;
  color: #56606b;
}

.appearance-protection-journey-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.appearance-protection-journey-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 4.5rem;
  padding: 0.875rem;
  border: 1px solid #aeb7c1;
  cursor: pointer;
}

.appearance-protection-journey-option:has(input:checked) {
  border-color: #ff6600;
  box-shadow: inset 0 0 0 1px #ff6600;
}

.appearance-protection-journey-option input {
  margin-top: 0.2rem;
  accent-color: #ff6600;
}

.appearance-protection-journey-option span,
.appearance-protection-journey-option strong,
.appearance-protection-journey-option small {
  display: block;
}

.appearance-protection-journey-option small {
  margin-top: 0.25rem;
  color: #56606b;
}

@media (max-width: 700px) {
  .appearance-protection-journey-options {
    grid-template-columns: 1fr;
  }
}
