:root {
  --hd-primary: #1956d1;
  --hd-primary-dark: #123b8f;
  --hd-accent: #16a085;
  --hd-surface: #ffffff;
  --hd-canvas: #f4f7fb;
  --hd-text: #18212f;
  --hd-muted: #64748b;
  --hd-border: #dbe3ee;
}

body.hdonline-panel {
  background: var(--hd-canvas);
  color: var(--hd-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* The theme hides native controls for its label-based checkbox skin. Panel
   tables also use standalone Bootstrap controls, so keep those interactive. */
.hdonline-panel .form-check-input[type="checkbox"],
.hdonline-panel .form-check-input[type="radio"] {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  accent-color: var(--hd-primary);
  cursor: pointer;
  display: inline-block;
  height: 1.125rem;
  left: auto !important;
  margin: 0;
  opacity: 1 !important;
  position: static !important;
  vertical-align: middle;
  width: 1.125rem;
}

.hdonline-panel .form-check-input:disabled {
  cursor: not-allowed;
  opacity: 0.55 !important;
}

.hdonline-panel .main-header,
.hdonline-panel .main-sidebar,
.hdonline-panel .logo-box {
  background: #0d1b33;
}

.hdonline-panel .logo {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hdonline-panel .logo:hover,
.hdonline-panel .logo:focus {
  color: #fff;
}

body.hdonline-panel .main-header div.logo-box {
  background: linear-gradient(135deg, #0b1830 0%, #132b50 100%) !important;
  border-right: 1px solid rgb(255 255 255 / 10%);
}

body.hdonline-panel .main-header .logo-box .logo,
body.hdonline-panel .main-header .logo-box .logo-lg {
  color: #fff !important;
}

.hdonline-panel .logo-mark {
  border-radius: 0.65rem;
  display: block;
  height: 2.35rem;
  margin-right: 0.65rem;
  object-fit: contain;
  width: 2.35rem;
}

.legal-consent-row { align-items: flex-start; background: #fff; border: 1px solid #dbe3ef; border-radius: .75rem; display: flex; gap: .65rem; padding: .85rem 1rem; position: relative; transition: border-color .2s ease, background-color .2s ease; }
.legal-consent-checkbox { height: 1px; opacity: 0; position: absolute; width: 1px; }
.legal-consent-box { align-items: center; background: #fff; border: 2px solid #9caabd; border-radius: .3rem; color: transparent; display: inline-flex; flex: 0 0 1.4rem; height: 1.4rem; justify-content: center; margin-top: .05rem; padding: 0; transition: all .2s ease; width: 1.4rem; }
.legal-consent-box i { font-size: .78rem; }
.legal-consent-copy { align-items: center; display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: .5rem .75rem; justify-content: space-between; }
.legal-consent-trigger { background: none; border: 0; color: var(--hd-primary); flex: 1 1 18rem; padding: 0; text-align: left; text-decoration: underline; }
.legal-consent-badge { border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: .25rem .55rem; text-transform: uppercase; }
.legal-consent-badge.is-required { background: #fff0f0; color: #b42318; }
.legal-consent-badge.is-optional { background: #eef4ff; color: #3159a7; }
.legal-consent-row.is-accepted { background: #f1fbf5; border-color: #43a86b; }
.legal-consent-row.is-accepted .legal-consent-box { background: #218a4b; border-color: #218a4b; color: #fff; }
.legal-consent-box:focus-visible { box-shadow: 0 0 0 .22rem rgb(46 99 220 / 22%); outline: 0; }
.legal-modal[hidden] { display: none; }
.legal-modal { inset: 0; position: fixed; z-index: 9999; }
.legal-modal-backdrop { background: rgb(10 24 48 / 68%); inset: 0; position: absolute; }
.legal-modal-dialog { background: #fff; border-radius: 1rem; box-shadow: 0 1.5rem 4rem rgb(10 24 48 / 25%); display: flex; flex-direction: column; left: 50%; max-height: min(82vh, 760px); max-width: 760px; overflow: hidden; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 2rem); }
.legal-modal-header, .legal-modal-footer { align-items: center; display: flex; gap: 1rem; justify-content: space-between; padding: 1rem 1.25rem; }
.legal-modal-header { border-bottom: 1px solid var(--hd-line); }
.legal-modal-header h2 { font-size: 1.25rem; margin: 0; }
.legal-modal-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; }
.legal-modal-body { overflow-y: auto; padding: 1.25rem; }
.legal-modal-footer { border-top: 1px solid var(--hd-line); justify-content: flex-end; }
.legal-modal-open { overflow: hidden; }

.hdonline-panel .main-sidebar .sidebar-menu > li > a,
.hdonline-panel .main-sidebar .panel-sign-out-button,
.hdonline-panel .main-sidebar .user-profile,
.hdonline-panel .main-sidebar .user-profile h5 {
  color: #dce7f7;
}

.hdonline-panel .main-sidebar .sidebar-menu > li.active > a,
.hdonline-panel .main-sidebar .sidebar-menu > li > a:hover,
.hdonline-panel .main-sidebar .sidebar-menu > li > a:focus {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.hdonline-panel .panel-sign-out-item {
  border-top: 1px solid rgb(255 255 255 / 10%);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.hdonline-panel .panel-sign-out-item form {
  margin: 0;
}

.hdonline-panel .panel-sign-out-button {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  text-align: left;
  width: 100%;
}

.hdonline-panel .panel-sign-out-button::before {
  content: "\f08b";
  font-family: FontAwesome;
  margin-right: 0.85rem;
  width: 1.25rem;
}

.hdonline-panel .panel-sign-out-button:hover,
.hdonline-panel .panel-sign-out-button:focus {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.hdonline-panel .panel-context {
  color: #8da5c5;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hdonline-panel .content-wrapper {
  background: var(--hd-canvas);
}

.hdonline-panel .box,
.hdonline-panel .card {
  border: 1px solid var(--hd-border);
  box-shadow: 0 0.35rem 1.25rem rgb(15 23 42 / 5%);
}

.hdonline-panel .content-header .page-title {
  color: var(--hd-text);
  font-weight: 700;
}

/* Keep company context, page titles and actions on distinct visual lines. */
.hdonline-company-panel .content-header {
  gap: 1rem;
}

.hdonline-company-panel .content-header.d-flex {
  flex-wrap: wrap;
}

.hdonline-company-panel .content-header .page-title {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hdonline-company-panel .content-header > .text-muted:first-child,
.hdonline-company-panel .content-header > div > .text-muted:first-child,
.hdonline-company-panel .content-header > code:first-child,
.hdonline-company-panel .content-header > div > code:first-child {
  display: block;
  line-height: 1.45;
  margin-bottom: 0.45rem;
  overflow-wrap: anywhere;
}

/* Normalize CakePHP controls throughout the company workspace. */
.hdonline-company-panel .content .input {
  margin-bottom: 1rem;
  min-width: 0;
}

.hdonline-company-panel .content .input > label,
.hdonline-company-panel .content .form-label,
.hdonline-company-panel .content fieldset > legend {
  color: var(--hd-text);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.hdonline-company-panel .content .form-control,
.hdonline-company-panel .content .form-select,
.hdonline-company-panel .content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.hdonline-company-panel .content select,
.hdonline-company-panel .content textarea {
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  max-width: 100%;
  min-height: 2.75rem;
  width: 100%;
}

.hdonline-company-panel .content textarea.form-control,
.hdonline-company-panel .content textarea {
  min-height: 7rem;
  resize: vertical;
}

.hdonline-company-panel .content input[type="file"].form-control,
.hdonline-company-panel .content input[type="file"] {
  height: auto;
  line-height: 1.45;
  padding: 0.45rem;
}

.hdonline-company-panel .content .form-control:focus,
.hdonline-company-panel .content .form-select:focus,
.hdonline-company-panel .content input:focus,
.hdonline-company-panel .content select:focus,
.hdonline-company-panel .content textarea:focus {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgb(25 86 209 / 12%);
}

.hdonline-company-panel .content .error-message {
  color: #b42318;
  display: block;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.hdonline-company-panel .content form .row > [class*="col-"] {
  min-width: 0;
}

.company-verification-requirement {
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 0.8rem;
  padding: 1rem;
}

.company-verification-upload {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0.9rem;
}

.company-verification-upload .input {
  margin-bottom: 0 !important;
}

.company-document-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .hdonline-company-panel .content-header > .btn,
  .hdonline-company-panel .content-header > a.btn {
    width: 100%;
  }

  .company-verification-upload {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .company-verification-upload .btn {
    width: 100%;
  }
}

.hdonline-panel :focus-visible {
  outline: 3px solid rgb(25 86 209 / 35%);
  outline-offset: 2px;
}

.hdonline-panel .skip-link {
  background: #fff;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 10000;
}

.hdonline-panel .skip-link:focus {
  top: 1rem;
}

.hdonline-panel .auth-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem 1rem;
  width: 100%;
}

.hdonline-panel .auth-frame {
  margin: 0 auto;
  max-width: 520px;
  width: 100%;
}

.hdonline-panel .auth-frame-wide {
  max-width: 980px;
}

.hdonline-panel .auth-frame-wide .auth-card {
  overflow: hidden;
  padding: 0;
}

.hdonline-panel .login-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.hdonline-panel .login-intro {
  background:
    radial-gradient(circle at 90% 10%, rgb(255 255 255 / 14%), transparent 34%),
    linear-gradient(145deg, #12377b 0%, #1956d1 58%, #2385dc 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(2.25rem, 5vw, 4rem);
}

.hdonline-panel .login-eyebrow,
.hdonline-panel .login-form-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hdonline-panel .login-eyebrow {
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  display: inline-flex;
  margin-bottom: 1.75rem;
  padding: 0.55rem 0.8rem;
  width: fit-content;
}

.hdonline-panel .login-intro h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.hdonline-panel .login-lead {
  color: rgb(255 255 255 / 78%);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.hdonline-panel .login-benefits {
  display: grid;
  gap: 1.15rem;
}

.hdonline-panel .login-benefit {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
}

.hdonline-panel .login-benefit-icon {
  align-items: center;
  background: rgb(255 255 255 / 16%);
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 1.75rem;
  height: 1.75rem;
  justify-content: center;
  margin-top: 0.1rem;
}

.hdonline-panel .login-benefit strong,
.hdonline-panel .login-benefit span {
  display: block;
}

.hdonline-panel .login-benefit strong {
  color: #fff;
  margin-bottom: 0.15rem;
}

.hdonline-panel .login-benefit div > span {
  color: rgb(255 255 255 / 72%);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hdonline-panel .login-trust {
  border-top: 1px solid rgb(255 255 255 / 18%);
  color: rgb(255 255 255 / 68%);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  margin-top: auto;
  padding-top: 1.5rem;
}

.hdonline-panel .login-form-panel {
  align-self: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.hdonline-panel .login-form-kicker {
  color: var(--hd-primary);
  display: block;
  margin-bottom: 0.6rem;
}

.hdonline-panel .login-register {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid var(--hd-border);
  border-radius: 0.7rem;
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.85rem;
}

.hdonline-panel .login-register a {
  font-weight: 700;
}

.hdonline-panel .notification-list {
  display: grid;
}

.hdonline-panel .notification-row {
  align-items: center;
  border-bottom: 1px solid var(--hd-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1.15rem 1.25rem;
}

.hdonline-panel .notification-row:last-child {
  border-bottom: 0;
}

.hdonline-panel .notification-unread {
  background: rgb(25 86 209 / 4%);
  box-shadow: inset 3px 0 0 var(--hd-primary);
}

.hdonline-panel .notification-icon {
  align-items: center;
  background: rgb(25 86 209 / 10%);
  border-radius: 50%;
  color: var(--hd-primary);
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.hdonline-panel .notification-content {
  min-width: 0;
}

.hdonline-panel .notification-bell {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 3rem;
  min-width: 3rem;
  position: relative;
}

.hdonline-panel .notification-badge {
  align-items: center;
  background: #e11d48;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  height: 1.25rem;
  justify-content: center;
  min-width: 1.25rem;
  padding: 0 0.25rem;
  position: absolute;
  right: 0.15rem;
  top: 0.15rem;
}

.hdonline-panel .auth-card {
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgb(15 23 42 / 8%);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.hdonline-panel .auth-card .input {
  margin: 0;
}

.hdonline-panel .auth-card .input > label {
  color: var(--hd-text);
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.hdonline-panel .auth-card .form-control {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  color: var(--hd-text);
  display: block;
  font: inherit;
  height: 3rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
}

.hdonline-panel .auth-card .form-control:focus {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgb(25 86 209 / 13%);
  outline: 0;
}

.hd-flash {
  align-items: flex-start;
  background: #fff;
  border: 1px solid;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgb(15 23 42 / 12%);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 1rem auto;
  max-width: 760px;
  padding: 1rem 1.1rem;
}

.hd-flash-success {
  border-color: #9ddfc8;
  box-shadow: inset 4px 0 0 #16a085, 0 0.75rem 2rem rgb(15 23 42 / 10%);
}

.hd-flash-error {
  border-color: #fecaca;
  box-shadow: inset 4px 0 0 #dc2626, 0 0.75rem 2rem rgb(15 23 42 / 10%);
}

.hd-flash-icon {
  align-items: center;
  background: #dff7ef;
  border-radius: 50%;
  color: #08745c;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.hd-flash-error .hd-flash-icon {
  background: #fee2e2;
  color: #b91c1c;
}

.hd-flash-content strong,
.hd-flash-content span {
  display: block;
}

.hd-flash-content strong {
  color: var(--hd-text);
  margin-bottom: 0.15rem;
}

.hd-flash-content span {
  color: var(--hd-muted);
}

.hd-flash-close {
  background: transparent;
  border: 0;
  color: var(--hd-muted);
  padding: 0.25rem;
}

.request-create-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.request-kicker {
  color: var(--hd-primary);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.request-privacy-note {
  align-items: center;
  background: #eaf2ff;
  border: 1px solid #c9dcff;
  border-radius: 0.75rem;
  color: #17469f;
  display: flex;
  font-size: 0.85rem;
  gap: 0.65rem;
  max-width: 380px;
  padding: 0.8rem 1rem;
}

.request-stepper {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}
.request-wizard-hidden {
  display: none !important;
}

.request-step {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 0.75rem;
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
}

.request-step > span {
  align-items: center;
  background: #edf1f7;
  border-radius: 50%;
  color: var(--hd-muted);
  display: inline-flex;
  flex: 0 0 2.25rem;
  font-weight: 700;
  height: 2.25rem;
  justify-content: center;
}

.request-step strong,
.request-step small {
  display: block;
}

.request-step small {
  color: var(--hd-muted);
  margin-top: 0.1rem;
}

.request-step.is-active {
  border-color: #9ebeff;
  box-shadow: inset 3px 0 0 var(--hd-primary);
}

.request-step.is-active > span {
  background: var(--hd-primary);
  color: #fff;
}

.request-step.is-complete > span {
  background: #e5f7ec;
  color: #167441;
}

.request-form-card,
.request-review-card {
  border-radius: 0.8rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.request-card-header {
  align-items: center;
  border-bottom: 1px solid var(--hd-border);
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
}

.request-card-header .box-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.request-card-header p {
  color: var(--hd-muted);
  font-size: 0.85rem;
  margin: 0;
}

.request-section-icon {
  align-items: center;
  background: #eaf2ff;
  border-radius: 0.65rem;
  color: var(--hd-primary);
  display: inline-flex;
  flex: 0 0 2.6rem;
  height: 2.6rem;
  justify-content: center;
}

.request-section-icon-success {
  background: #dff7ef;
  color: #08745c;
}

.request-create-form .input {
  margin-bottom: 0;
}

.request-create-form .input > label,
.request-create-form .form-label {
  color: var(--hd-text);
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.request-create-form .form-control,
.request-create-form .form-select {
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  min-height: 2.85rem;
  width: 100%;
}

.request-create-form textarea.form-control {
  min-height: 7rem;
  resize: vertical;
}

.request-create-form .form-control:focus,
.request-create-form .form-select:focus {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgb(25 86 209 / 12%);
}

.request-detail-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.request-detail-fieldset legend {
  color: var(--hd-text);
  font-weight: 700;
  margin-bottom: 1rem;
}

.request-line-item {
  background: #f8fafc;
  border: 1px solid var(--hd-border);
  border-radius: 0.7rem;
  padding: 1rem;
}

.request-file-drop {
  align-items: center;
  background: #f8fbff;
  border: 2px dashed #abc4ee;
  border-radius: 0.8rem;
  color: var(--hd-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  min-height: 150px;
  padding: 1.5rem;
  text-align: center;
}

.request-file-drop:hover {
  background: #eef5ff;
  border-color: var(--hd-primary);
}

.request-file-drop > i {
  font-size: 2rem;
}

.request-file-drop span {
  color: var(--hd-muted);
  font-size: 0.82rem;
}

.request-file-preview {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  margin-top: 1rem;
}

.request-file-card {
  align-items: center;
  border: 1px solid var(--hd-border);
  border-radius: 0.65rem;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.65rem;
}

.request-file-remove {
  align-items: center;
  background: #fff1f2;
  border: 0;
  border-radius: 50%;
  color: #c72c41;
  display: inline-flex;
  flex: 0 0 2rem;
  height: 2rem;
  justify-content: center;
  margin-left: auto;
  transition: background-color 0.15s ease, color 0.15s ease;
  width: 2rem;
}

.request-file-remove:hover,
.request-file-remove:focus-visible {
  background: #c72c41;
  color: #fff;
}

.request-photo-selection-count {
  color: var(--hd-muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.65rem;
  text-align: right;
}

.request-file-card > img,
.request-file-card > i {
  border-radius: 0.45rem;
  flex: 0 0 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  width: 3.25rem;
}

.request-file-card > i {
  align-items: center;
  background: #eef3fa;
  color: var(--hd-primary);
  display: flex;
  font-size: 1.5rem;
  justify-content: center;
}

.request-file-card div {
  min-width: 0;
}

.request-file-card strong,
.request-file-card span {
  display: block;
}

.request-photo-cover-choice {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .35rem;
    padding: .4rem .55rem;
    border-radius: .5rem;
    background: #eef4ff;
    color: #174ea6;
    cursor: pointer;
}

.request-photo-cover-choice input {
    width: 1rem;
    height: 1rem;
    accent-color: #1956d1;
}

.request-file-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-file-card span {
  color: var(--hd-muted);
  font-size: 0.78rem;
}

.request-form-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin: 1.5rem 0;
}

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

.request-review-grid > div,
.request-review-section {
  background: #f8fafc;
  border: 1px solid var(--hd-border);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
}

.request-review-grid span,
.request-review-grid strong {
  display: block;
}

.request-review-grid span {
  color: var(--hd-muted);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.request-review-section {
  margin-top: 1rem;
}

.request-review-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.request-summary-line {
  border-bottom: 1px solid var(--hd-border);
  padding: 0.45rem 0;
}

.request-summary-line:last-child {
  border-bottom: 0;
}

.request-editor-toolbar {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-bottom: 0;
  border-radius: 0.55rem 0.55rem 0 0;
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem;
}

.request-editor-toolbar button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 0.35rem;
  color: var(--hd-text);
  display: inline-flex;
  height: 2.15rem;
  justify-content: center;
  width: 2.3rem;
}

.request-editor-toolbar button:hover,
.request-editor-toolbar button:focus {
  border-color: var(--hd-primary);
  color: var(--hd-primary);
}

.request-rich-editor {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0 0 0.55rem 0.55rem;
  line-height: 1.6;
  min-height: 180px;
  outline: 0;
  overflow-y: auto;
  padding: 0.8rem;
}

.request-rich-editor:focus {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgb(25 86 209 / 12%);
}

.request-rich-editor:empty::before {
  color: #94a3b8;
  content: attr(data-placeholder);
  pointer-events: none;
}

.request-radius-readout {
  align-items: center;
  background: #eaf2ff;
  border: 1px solid #c9dcff;
  border-radius: 0.6rem;
  display: flex;
  justify-content: space-between;
  min-height: 2.85rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
}

.request-radius-readout span {
  color: var(--hd-muted);
  font-size: 0.82rem;
}

.request-radius-readout strong,
.request-radius-readout strong span {
  color: var(--hd-primary);
  font-size: 1rem;
}

.request-map-section {
  background: #f8fafc;
  border: 1px solid var(--hd-border);
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0.75rem;
}

.request-map-search {
  margin-bottom: 0.65rem;
  min-height: 3rem;
}

.request-map-search gmp-place-autocomplete {
  width: 100%;
}

.request-location-controls {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.request-location-model-description {
  color: var(--hd-muted);
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
}

.request-location-strict {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin: 0;
}

.request-location-strict input {
  accent-color: var(--hd-primary);
  flex: 0 0 auto;
  height: 1.1rem;
  width: 1.1rem;
}

.request-location-points {
  display: grid;
  gap: 0.4rem;
}

.request-location-point {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 0.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
}

.request-location-point span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.request-radius-map {
  border-radius: 0.55rem;
  height: 430px;
  margin-bottom: 0.65rem;
  width: 100%;
}

.request-terms-confirmation {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid var(--hd-border);
  border-radius: 0.7rem;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
}

.request-terms-confirmation input[type="checkbox"].request-native-checkbox {
  -webkit-appearance: checkbox;
  accent-color: var(--hd-primary);
  appearance: auto;
  height: 1.2rem;
  left: auto;
  margin-top: 0.15rem;
  opacity: 1;
  position: static;
  flex: 0 0 1.2rem;
  width: 1.2rem;
}

.request-terms-confirmation:has(.request-native-checkbox:checked) {
  background: #effaf5;
  border-color: #1f9d68;
  box-shadow: 0 0 0 3px rgb(31 157 104 / 10%);
}

.request-terms-confirmation strong,
.request-terms-confirmation small {
  display: block;
}

.request-terms-confirmation small {
  color: var(--hd-muted);
  margin-top: 0.2rem;
}

#summary-files,
#company-summary-files {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

#company-summary-description,
#company-summary-technical,
#company-summary-items,
#company-summary-category-fields {
  overflow-wrap: anywhere;
}

.request-detail-section,
.request-attachment-section { padding-top: 0; }

.request-detail-box {
  border: 1px solid var(--hd-border);
  border-radius: 0.85rem;
  box-shadow: 0 8px 24px rgb(15 23 42 / 5%);
  overflow: hidden;
}

.request-detail-box > .box-header { background: #fbfdff; padding: 1.25rem 1.4rem; }
.request-detail-box > .box-body { padding: 1.4rem; }
.request-specification-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-category-response-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8edf5;
}

.request-category-response-section > h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.request-category-response-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
}

.request-category-response-grid > div {
    padding: .9rem 1rem;
    border: 1px solid #e8edf5;
    border-radius: .65rem;
    background: #f8faff;
}

.request-category-response-grid dt {
    margin-bottom: .25rem;
    color: #667085;
    font-size: .78rem;
    font-weight: 600;
}

.request-category-response-grid dd {
    margin: 0;
    color: #17213a;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.company-logo-preview {
  align-items: center;
  background: #f5f8ff;
  border: 1px dashed #cbd6ea;
  border-radius: 1rem;
  display: flex;
  height: 190px;
  justify-content: center;
  margin: 0 auto;
  max-width: 260px;
  overflow: hidden;
  padding: 1rem;
}

.company-logo-preview img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.company-logo-preview span {
  color: #98a2b3;
  font-size: 4rem;
}

@media (max-width: 767.98px) {
    .request-category-response-grid {
        grid-template-columns: 1fr;
    }
}

.request-specification-card {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  display: flex;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem;
}

.request-specification-icon {
  align-items: center;
  background: #eaf1ff;
  border-radius: 0.6rem;
  color: var(--hd-primary);
  display: flex;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  justify-content: center;
}

.request-specification-card h3,
.request-items-section h3,
.request-attachment-group-heading h3,
.request-update-upload h3 {
  color: var(--hd-text);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.request-specification-card p {
  color: #475569;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: anywhere;
}

.request-partial-offer-status {
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.9rem 0;
}

.request-partial-offer-status strong {
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
}

.request-partial-offer-status .is-allowed { background: #dcfce7; color: #166534; }
.request-partial-offer-status .is-disabled { background: #f1f5f9; color: #64748b; }
.request-items-section { margin-top: 1.25rem; }
.request-items-table { border: 1px solid #e2e8f0; }
.request-item-position {
  align-items: center;
  background: #eef2ff;
  border-radius: 50%;
  color: var(--hd-primary);
  display: inline-flex;
  font-weight: 700;
  height: 1.8rem;
  justify-content: center;
  width: 1.8rem;
}

.request-attachment-group + .request-attachment-group {
  border-top: 1px solid #e2e8f0;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.request-attachment-group-heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.request-attachment-group-heading p,
.request-update-upload p { color: var(--hd-muted); margin: 0; }
.request-attachment-locked {
  align-items: center;
  background: #eef2ff;
  border-radius: 999px;
  color: #4338ca;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
}

.request-attachment-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.request-attachment-image-card,
.request-attachment-file-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  min-width: 0;
  overflow: hidden;
}

.request-attachment-thumbnail { background: #f1f5f9; display: block; height: 150px; }
.request-attachment-thumbnail img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  width: 100%;
}
.request-attachment-thumbnail:hover img { transform: scale(1.025); }
.request-attachment-card-body,
.request-attachment-file-card { padding: 0.85rem; }
.request-attachment-card-body > strong,
.request-attachment-card-body > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.request-attachment-card-body > small { color: var(--hd-muted); margin-top: 0.2rem; }
.request-attachment-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.request-attachment-file-button {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #cfe0fb;
  border-radius: 0.65rem;
  color: var(--hd-text);
  display: flex;
  gap: 0.8rem;
  min-height: 76px;
  padding: 0.8rem;
  width: 100%;
}
.request-attachment-file-button:hover {
  background: #edf4ff;
  border-color: var(--hd-primary);
  color: var(--hd-primary);
}
.request-attachment-file-button > i { color: var(--hd-primary); flex: 0 0 auto; font-size: 1.8rem; }
.request-attachment-file-button span,
.request-attachment-file-button strong,
.request-attachment-file-button small { display: block; min-width: 0; }
.request-attachment-file-button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.request-attachment-file-button small { color: var(--hd-muted); margin-top: 0.25rem; }
.request-update-upload {
  background: #f8fafc;
  border: 1px dashed #b8c8dc;
  border-radius: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
}
.request-update-upload form { margin-top: 0.8rem; }
.request-empty-attachments {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 2rem;
  text-align: center;
}
.request-empty-attachments > i { color: #94a3b8; font-size: 2rem; }

.request-fixed-category {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 0.75rem;
  display: flex;
  gap: 0.9rem;
  padding: 1rem;
}

.request-fixed-category > i {
  align-items: center;
  background: #eaf1ff;
  border-radius: 0.6rem;
  color: var(--hd-primary);
  display: flex;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  justify-content: center;
}

.request-fixed-category span,
.request-fixed-category strong { display: block; }
.request-fixed-category span { color: var(--hd-muted); font-size: 0.78rem; margin-bottom: 0.15rem; }
.request-fixed-category strong { color: var(--hd-text); }

.platform-statistics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.platform-statistic {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 0.85rem;
  box-shadow: 0 8px 24px rgb(15 23 42 / 5%);
  display: flex;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.15rem;
}

.platform-statistic-icon {
  align-items: center;
  border-radius: 0.7rem;
  display: flex;
  flex: 0 0 3rem;
  font-size: 1.25rem;
  height: 3rem;
  justify-content: center;
}

.platform-statistic.is-company .platform-statistic-icon { background: #eaf1ff; color: #1956d1; }
.platform-statistic.is-request .platform-statistic-icon { background: #fff4df; color: #c77800; }
.platform-statistic.is-offer .platform-statistic-icon { background: #e8f8f0; color: #168359; }
.platform-statistic strong,
.platform-statistic span { display: block; }
.platform-statistic strong { color: var(--hd-text); font-size: 1.65rem; line-height: 1; }
.platform-statistic div > span { color: var(--hd-muted); font-size: 0.85rem; margin-top: 0.35rem; }

/* Category request form administration */
.category-form-builder {
  overflow: hidden;
}

.category-form-builder-header {
  align-items: center;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem 1.5rem;
}

.category-form-heading-icon {
  align-items: center;
  background: var(--hd-primary);
  border-radius: 0.7rem;
  color: #fff;
  display: flex;
  flex: 0 0 2.7rem;
  height: 2.7rem;
  justify-content: center;
}

.category-form-builder-body {
  padding: 1.5rem;
}

.category-form-section {
  border-bottom: 1px solid #e6edf6;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
}

.category-form-section-title {
  align-items: center;
  color: var(--hd-text);
  display: flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.category-form-section-title > span {
  align-items: center;
  background: #eaf1ff;
  border-radius: 50%;
  color: var(--hd-primary);
  display: inline-flex;
  flex: 0 0 1.75rem;
  font-size: 0.78rem;
  height: 1.75rem;
  justify-content: center;
}

.category-form-hint {
  color: var(--hd-muted);
  display: block;
  line-height: 1.45;
  margin-top: 0.45rem;
}

.category-required-control {
  height: 100%;
}

.category-required-title {
  color: #172b4c;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

body.hdonline-panel input[type="checkbox"].category-required-checkbox {
  height: 1px !important;
  left: auto !important;
  opacity: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 1px !important;
}

body.hdonline-panel .category-required-checkbox + .category-required-label {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 0.7rem;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  height: auto;
  line-height: 1.25;
  margin: 0;
  min-height: 54px;
  padding: 0.65rem 0.75rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

body.hdonline-panel .category-required-checkbox + .category-required-label::before,
body.hdonline-panel .category-required-checkbox + .category-required-label::after {
  content: none !important;
  display: none !important;
}

.category-switch-ui {
  background: #b8c4d4;
  border-radius: 999px;
  display: block;
  flex: 0 0 2.65rem;
  height: 1.5rem;
  padding: 0.2rem;
  transition: background-color 0.18s ease;
}

.category-switch-ui > span {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgb(15 23 42 / 22%);
  display: block;
  height: 1.1rem;
  transition: transform 0.18s ease;
  width: 1.1rem;
}

.category-required-label strong,
.category-required-label small {
  display: block;
}

.category-required-label strong {
  color: var(--hd-text);
  font-size: 0.82rem;
}

.category-required-label small {
  color: var(--hd-muted);
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

body.hdonline-panel .category-required-checkbox:checked + .category-required-label {
  background: #edf4ff;
  border-color: var(--hd-primary);
}

.category-required-checkbox:checked + .category-required-label .category-switch-ui {
  background: var(--hd-primary);
}

.category-required-checkbox:checked + .category-required-label .category-switch-ui > span {
  transform: translateX(1.15rem);
}

body.hdonline-panel .category-required-checkbox:focus-visible + .category-required-label {
  box-shadow: 0 0 0 3px rgb(25 86 209 / 22%);
  outline: none;
}

.category-form-builder-actions {
  align-items: center;
  border-top: 1px solid #e6edf6;
  display: flex;
  justify-content: flex-end;
  margin: 1.5rem -1.5rem -1.5rem;
  padding: 1rem 1.5rem;
}

.category-form-builder-actions .btn {
  min-width: 150px;
}

.category-configured-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 1.75rem 0 0.85rem;
}

.category-configured-heading h2 {
  color: var(--hd-text);
  font-size: 1.1rem;
  margin: 0;
}

.category-configured-heading p {
  color: var(--hd-muted);
  margin: 0.25rem 0 0;
}

.category-field-count {
  background: #e8f8f0;
  border-radius: 999px;
  color: #13714e;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
}

.category-reorder-toolbar {
  align-items: center;
  background: #f8fbff;
  border: 1px dashed #b9cae2;
  border-radius: 0.75rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}

.category-reorder-toolbar strong,
.category-reorder-toolbar small {
  display: block;
}

.category-reorder-toolbar strong {
  color: var(--hd-text);
  font-size: 0.85rem;
}

.category-reorder-toolbar small {
  color: var(--hd-muted);
  margin-top: 0.2rem;
}

.category-reorder-toolbar form {
  flex: 0 0 auto;
  margin: 0;
}

.category-form-field-card {
  overflow: hidden;
}

.category-form-field-card.is-archived {
  opacity: 0.68;
}

.category-form-field-card.is-dragging {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgb(25 86 209 / 14%);
  opacity: 0.55;
}

.category-field-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
}

.category-field-card-identity {
  align-items: flex-start;
  display: flex;
  gap: 0.8rem;
  min-width: 0;
}

.category-field-order {
  align-items: center;
  background: #eef3fa;
  border-radius: 0.55rem;
  color: #49617e;
  display: inline-flex;
  flex: 0 0 2.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  height: 2.25rem;
  justify-content: center;
}

button.category-field-order {
  border: 0;
  cursor: grab;
  padding: 0;
}

button.category-field-order:active {
  cursor: grabbing;
}

.category-field-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.category-field-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.category-field-badges code,
.category-field-badge {
  background: #f2f5f9;
  border: 1px solid #e0e7f0;
  border-radius: 999px;
  color: #53657d;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
}

.category-field-badge.is-required {
  background: #fff3e2;
  border-color: #f4d5a6;
  color: #9a5a00;
}

.category-field-badge.is-dependent {
  background: #f0ebff;
  border-color: #dcd0ff;
  color: #6941c6;
}

.category-field-edit-panel {
  background: #f8fafc;
  border-bottom: 1px solid #e2e9f2;
  padding: 1.25rem 1.35rem;
}

.category-field-edit-panel[hidden] {
  display: none !important;
}

.category-field-locked-note {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 0.65rem;
  color: var(--hd-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.8rem;
}

.category-field-locked-note > i {
  color: var(--hd-primary);
}

.category-field-locked-note code,
.category-field-locked-note strong {
  background: #eef3fa;
  border-radius: 999px;
  color: #455a75;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
}

.category-required-control-compact .category-required-label {
  min-height: 42px !important;
}

.category-field-edit-actions {
  align-items: flex-end;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  padding-bottom: 0.1rem;
}

.category-select-options {
  background: #fbfcfe;
  padding: 1.25rem 1.35rem;
}

.category-option-heading h3 {
  color: var(--hd-text);
  font-size: 0.95rem;
  margin: 0;
}

.category-option-heading p {
  color: var(--hd-muted);
  margin: 0.25rem 0 0.9rem;
}

.category-option-form {
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 0.7rem;
  margin: 0;
  padding: 1rem 0.25rem;
}

.category-option-reorder-toolbar {
  align-items: center;
  background: #f2f6fc;
  border: 1px dashed #bdcbe0;
  border-radius: 0.65rem;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.65rem 0.75rem;
}

.category-option-reorder-toolbar > small {
  color: var(--hd-muted);
}

.category-option-reorder-toolbar form {
  margin: 0;
}

.category-option-list {
  border: 1px solid #e2e9f2;
  border-radius: 0.7rem;
  overflow: hidden;
}

.category-option-item {
  background: #fff;
  border-bottom: 1px solid #e8edf4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.category-option-item:last-child {
  border-bottom: 0;
}

.category-option-item.is-archived {
  background: #f8fafc;
  opacity: 0.7;
}

.category-option-item.is-dragging {
  box-shadow: inset 0 0 0 2px var(--hd-primary);
  opacity: 0.5;
}

.category-option-item-header {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(150px, 1fr) minmax(150px, auto) auto;
  min-height: 64px;
  padding: 0.7rem 0.8rem;
}

.category-option-drag-handle,
.category-option-order {
  align-items: center;
  background: #edf2f8;
  border: 0;
  border-radius: 0.5rem;
  color: #526881;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.category-option-drag-handle {
  cursor: grab;
}

.category-option-drag-handle:active {
  cursor: grabbing;
}

.category-option-order {
  font-size: 0.72rem;
  font-weight: 700;
}

.category-option-identity {
  min-width: 0;
}

.category-option-identity strong,
.category-option-identity code {
  display: block;
}

.category-option-identity strong {
  color: var(--hd-text);
  font-size: 0.85rem;
}

.category-option-identity code {
  color: var(--hd-muted);
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

.category-option-condition {
  background: #f0ebff;
  border: 1px solid #ddd2fb;
  border-radius: 999px;
  color: #6941c6;
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
}

.category-option-actions {
  align-items: center;
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

.category-option-edit-panel {
  background: #f8fafc;
  border-top: 1px solid #e4eaf2;
  padding: 1rem;
}

.category-option-edit-panel[hidden] {
  display: none !important;
}

.category-option-value-lock {
  align-items: center;
  color: var(--hd-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.category-option-value-lock > i {
  color: var(--hd-primary);
}

.category-option-value-lock code {
  background: #e9eff7;
  border-radius: 999px;
  color: #455a75;
  padding: 0.2rem 0.5rem;
}

.category-option-edit-actions {
  display: flex;
  gap: 0.4rem;
}

.category-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.category-choice-option {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 0.65rem;
  color: var(--hd-text);
  cursor: pointer;
  display: inline-flex;
  gap: 0.5rem;
  line-height: 1.3;
  margin: 0;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
}

body.hdonline-panel .category-choice-option input[type="radio"],
body.hdonline-panel input[type="checkbox"].category-dynamic-checkbox {
  -webkit-appearance: auto !important;
  accent-color: var(--hd-primary);
  appearance: auto !important;
  flex: 0 0 1.1rem;
  height: 1.1rem !important;
  left: auto !important;
  margin: 0;
  opacity: 1 !important;
  position: static !important;
  width: 1.1rem !important;
}

.category-choice-option:has(input:checked) {
  background: #edf4ff;
  border-color: var(--hd-primary);
}

.category-form-preview {
  overflow: hidden;
}

.category-form-preview-header {
  align-items: center;
  background: linear-gradient(135deg, #0f2444 0%, #173c70 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
}

.category-form-preview-header .box-title,
.category-form-preview-header p {
  color: #fff;
}

.category-form-preview-header p {
  margin: 0.25rem 0 0;
  opacity: 0.72;
}

.category-form-preview-header > span {
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  text-transform: uppercase;
}

.category-preview-field {
  background: #fbfcfe;
  border: 1px solid #e5ebf3;
  border-radius: 0.7rem;
  padding: 0.9rem;
}

.category-preview-field .form-label > span {
  color: #dc3545;
}

.category-preview-field .form-text,
.category-preview-condition {
  display: block;
  margin-top: 0.4rem;
}

.category-preview-condition {
  color: #6941c6;
  font-size: 0.7rem;
}

.category-preview-checkbox {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin: 0;
}

.category-draft-preview {
  border-color: #9db9e5;
  box-shadow: inset 0 0 0 1px rgb(25 86 209 / 8%);
  position: relative;
}

.category-draft-preview-badge {
  background: #eaf1ff;
  border-radius: 999px;
  color: var(--hd-primary);
  float: right;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
}

.category-preview-empty {
  align-items: center;
  color: var(--hd-muted);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  min-height: 130px;
  text-align: center;
}

.category-preview-empty > i {
  color: #9aabc0;
  font-size: 1.6rem;
}

#category-specific-card select[multiple] {
  min-height: 110px;
}

.category-select-options .table-responsive {
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 0.7rem;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .category-form-builder-header,
  .category-form-builder-body,
  .category-field-card-header,
  .category-select-options {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .category-field-card-header,
  .category-configured-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .category-field-card-header .btn {
    width: 100%;
  }

  .category-field-actions,
  .category-field-edit-actions,
  .category-reorder-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .category-field-actions .badge,
  .category-field-actions .btn,
  .category-field-edit-actions .btn,
  .category-reorder-toolbar form,
  .category-reorder-toolbar .btn {
    width: 100%;
  }

  .category-field-edit-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .category-option-reorder-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .category-option-reorder-toolbar form,
  .category-option-reorder-toolbar .btn {
    width: 100%;
  }

  .category-option-item-header {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .category-option-condition,
  .category-option-actions {
    grid-column: 2;
  }

  .category-option-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-option-actions .badge,
  .category-option-actions .btn,
  .category-option-edit-actions,
  .category-option-edit-actions .btn {
    width: 100%;
  }

  .category-choice-group {
    align-items: stretch;
    flex-direction: column;
  }

  .category-choice-option {
    width: 100%;
  }

  .category-form-preview-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .category-field-count {
    align-self: flex-start;
  }

  .category-form-builder-actions {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .category-form-builder-actions .btn {
    width: 100%;
  }

  .request-create-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-privacy-note {
    max-width: none;
    width: 100%;
  }

  .request-stepper,
  .request-review-grid {
    grid-template-columns: 1fr;
  }

  .request-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .request-form-actions .btn {
    width: 100%;
  }

  .request-radius-map {
    height: 320px;
  }

  .request-specification-grid { grid-template-columns: 1fr; }
  .platform-statistics { grid-template-columns: 1fr; }
  .request-detail-box > .box-header,
  .request-detail-box > .box-body { padding: 1rem; }

  .hdonline-panel .auth-shell {
    padding: 1.5rem 0.75rem;
  }

  .hdonline-panel .login-experience {
    grid-template-columns: 1fr;
  }

  .hdonline-panel .login-intro {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .hdonline-panel .login-intro h1 {
    font-size: 2rem;
  }

  .hdonline-panel .login-benefits {
    gap: 0.85rem;
  }

  .hdonline-panel .login-trust {
    margin-top: 1.75rem;
  }

  .hdonline-panel .login-form-panel {
    padding: 2rem 1.5rem;
  }

  .hdonline-panel .notification-row {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hdonline-panel .notification-row form {
    grid-column: 2;
  }

  .hdonline-panel .content-header {
    padding-top: 1rem;
  }

  .hdonline-panel .logo-lg {
    display: none;
  }
}
.hdonline-panel .admin-summary-grid {
  margin-bottom: 1.5rem;
}

/* Restore Bootstrap percentage utilities overridden by the vendor theme's pixel helpers. */
.hdonline-panel .w-100 {
  width: 100% !important;
}

.hdonline-panel .h-100 {
  height: 100% !important;
}

.hdonline-panel .admin-basket-details {
  position: relative;
}

.hdonline-panel .admin-basket-details > summary {
  list-style: none;
}

.hdonline-panel .admin-basket-details > summary::-webkit-details-marker {
  display: none;
}

.hdonline-panel .admin-basket-popover {
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 35, 65, 0.16);
  min-width: 280px;
  padding: 1rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 20;
}

.hdonline-panel .admin-summary-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 172px;
  width: 100%;
}

.hdonline-panel .admin-summary-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
}

.hdonline-panel .catalog-language-tabs .nav-tabs {
  border-bottom: 1px solid var(--hd-border);
  gap: 0.25rem;
  scrollbar-width: thin;
}

.hdonline-panel .catalog-language-tabs .nav-link {
  border-radius: 0.6rem 0.6rem 0 0;
  color: var(--hd-muted);
  font-weight: 600;
  min-width: 7.5rem;
  white-space: nowrap;
}

.hdonline-panel .catalog-language-tabs .nav-link.active {
  color: var(--hd-primary);
}

.hdonline-panel .catalog-language-content > .tab-pane {
  background: #fff;
  min-height: 24rem;
}

.hdonline-panel .catalog-card-grid > [class*="col-"] {
  margin-bottom: 0;
}

.hdonline-panel .catalog-list-card {
  margin-bottom: 0;
  min-height: 32rem;
}

.hdonline-panel .catalog-list-card-media {
  background: #f4f7fb;
  flex: 0 0 13.75rem;
  height: 13.75rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hdonline-panel .catalog-list-card-media > img,
.hdonline-panel .catalog-list-card-placeholder {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hdonline-panel .catalog-list-card-body {
  background: #fff;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.hdonline-panel .admin-catalog-review img,
.hdonline-panel .admin-catalog-review video {
  display: block;
  max-width: 100%;
}

@media (max-width: 575.98px) {
  .hdonline-panel .catalog-language-tabs .nav-link {
    min-width: 6.5rem;
  }

  .hdonline-panel .catalog-language-content > .tab-pane {
    min-height: 0;
  }
}

.hdonline-panel .cms-language-tabs .nav-tabs {
  border-bottom: 1px solid var(--hd-border);
  gap: 0.25rem;
  scrollbar-width: thin;
}

.hdonline-panel .cms-language-tabs .nav-link {
  color: var(--hd-muted);
  font-weight: 600;
  min-width: 7.5rem;
  white-space: nowrap;
}

.hdonline-panel .cms-language-tabs .nav-link.active {
  color: var(--hd-primary);
}

.hdonline-panel .cms-language-content > .tab-pane {
  background: #fff;
  min-height: 38rem;
}

.hdonline-panel .cms-rich-editor {
  min-height: 18rem;
}

.hdonline-panel .cms-editor-toolbar button {
  min-width: 2.5rem;
}

/* Company dashboard verification journey. */
.hdonline-company-panel .company-dashboard-header {
  display: block;
}

.hdonline-company-panel .company-dashboard-header-row {
  align-items: flex-start;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
}

.hdonline-company-panel .company-dashboard-heading {
  min-width: 0;
}

.hdonline-company-panel .company-dashboard-name {
  align-items: center;
  color: var(--hd-primary);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  gap: .45rem;
  line-height: 1.4;
  margin: 0 0 .55rem;
  overflow-wrap: anywhere;
}

.hdonline-company-panel .company-dashboard-heading .page-title {
  display: block;
  line-height: 1.18;
  margin: 0 0 .4rem;
}

.hdonline-company-panel .company-verification-status {
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 700;
  padding: .5rem .8rem;
}

.hdonline-company-panel .company-verification-status.status-warning { background: #fff4d6; color: #8a5b00; }
.hdonline-company-panel .company-verification-status.status-primary { background: #eaf0ff; color: #244fa8; }
.hdonline-company-panel .company-verification-status.status-danger { background: #ffebed; color: #a62832; }
.hdonline-company-panel .company-verification-status.status-success { background: #e5f7ec; color: #167441; }

.hdonline-company-panel .company-verification-summary {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-left: .35rem solid var(--hd-primary);
  border-radius: .85rem;
  box-shadow: 0 .35rem 1.25rem rgb(15 23 42 / 5%);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
}

.hdonline-company-panel .company-verification-summary.tone-warning { border-left-color: #d99400; }
.hdonline-company-panel .company-verification-summary.tone-danger { border-left-color: #c43b47; }
.hdonline-company-panel .company-verification-summary.tone-success { border-left-color: #218a4b; }
.hdonline-company-panel .company-verification-summary-main { align-items: flex-start; display: flex; gap: 1rem; min-width: 0; }
.hdonline-company-panel .company-verification-summary-icon { align-items: center; background: #edf2ff; border-radius: 50%; color: var(--hd-primary); display: inline-flex; flex: 0 0 3rem; font-size: 1.25rem; height: 3rem; justify-content: center; }
.hdonline-company-panel .tone-warning .company-verification-summary-icon { background: #fff4d6; color: #9a6700; }
.hdonline-company-panel .tone-danger .company-verification-summary-icon { background: #ffebed; color: #b32d39; }
.hdonline-company-panel .tone-success .company-verification-summary-icon { background: #e5f7ec; color: #167441; }
.hdonline-company-panel .company-verification-eyebrow { color: var(--hd-muted); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; margin-bottom: .25rem; text-transform: uppercase; }
.hdonline-company-panel .company-verification-summary h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.hdonline-company-panel .company-verification-summary p { color: var(--hd-muted); margin: 0 0 .35rem; }
.hdonline-company-panel .company-verification-count { color: var(--hd-text) !important; font-size: .82rem; font-weight: 700; }

.hdonline-company-panel .company-verification-steps {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.hdonline-company-panel .company-verification-steps li { align-items: center; background: #fff; border: 1px solid var(--hd-border); border-radius: .7rem; display: flex; gap: .65rem; min-width: 0; padding: .8rem; }
.hdonline-company-panel .company-verification-steps li > span { align-items: center; background: #eef1f6; border-radius: 50%; color: #7b879a; display: inline-flex; flex: 0 0 2rem; height: 2rem; justify-content: center; }
.hdonline-company-panel .company-verification-steps strong,
.hdonline-company-panel .company-verification-steps small { display: block; line-height: 1.25; }
.hdonline-company-panel .company-verification-steps strong { font-size: .8rem; overflow-wrap: anywhere; }
.hdonline-company-panel .company-verification-steps small { color: var(--hd-muted); font-size: .7rem; margin-top: .15rem; }
.hdonline-company-panel .company-verification-steps .is-complete { border-color: #b9e2c8; }
.hdonline-company-panel .company-verification-steps .is-complete > span { background: #e5f7ec; color: #167441; }
.hdonline-company-panel .company-verification-steps .is-current { border-color: #9db5ee; box-shadow: inset 0 0 0 1px #dce6ff; }
.hdonline-company-panel .company-verification-steps .is-current > span { background: #eaf0ff; color: #244fa8; }
.hdonline-company-panel .company-verification-steps .has-error { border-color: #efb8bd; }
.hdonline-company-panel .company-verification-steps .has-error > span { background: #ffebed; color: #b32d39; }

@media (max-width: 991.98px) {
  .hdonline-company-panel .company-verification-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .hdonline-company-panel .company-dashboard-header-row,
  .hdonline-company-panel .company-verification-summary { align-items: stretch; flex-direction: column; }
  .hdonline-company-panel .company-verification-status { align-self: flex-start; }
  .hdonline-company-panel .company-verification-summary .btn { width: 100%; }
  .hdonline-company-panel .company-verification-steps { grid-template-columns: 1fr; }
}

.offer-chat-history {height:480px;overflow-y:auto;background:#eef3f1;padding:18px;display:flex;flex-direction:column;gap:12px;}
.offer-chat-bubble {align-self:flex-start;max-width:85%;background:white;border:1px solid #dde6e1;border-radius:14px 14px 14px 3px;padding:10px 14px;overflow-wrap:anywhere;}
.offer-chat-bubble.is-own {align-self:flex-end;background:#dff4e6;border-radius:14px 14px 3px 14px;}
.offer-chat-bubble p {margin:6px 0;white-space:normal;}
.offer-chat-compose {padding:16px;border-top:1px solid #dce5df;}
.offer-chat-image {max-width:240px;max-height:200px;object-fit:contain;border-radius:8px;}
@media(max-width:600px){.offer-chat-history{height:380px;padding:10px}.offer-chat-bubble{max-width:95%}.offer-chat-image{max-width:100%}}
.request-review-card{border:2px solid #e59b16;box-shadow:0 0 0 .25rem rgba(229,155,22,.12),0 .5rem 1.5rem rgba(15,23,42,.08)}
.request-review-modal-content{border:2px solid #e59b16;box-shadow:0 0 0 .3rem rgba(229,155,22,.15)}
.company-setup-step{border:1px solid var(--hd-border);border-radius:.75rem;padding:1rem}.company-setup-step.is-complete{border-color:#a9dbbc;background:#f4fbf7}.company-setup-step.is-active{border-color:#9db5ee;background:#f7f9ff}

/* Company category membership browser and application basket. */
.hdonline-company-panel .membership-application-progress {
  border: 1px solid #b9cdfc;
  border-left: .35rem solid var(--hd-primary);
  border-radius: .8rem;
  padding: 1rem 1.15rem;
}

.hdonline-company-panel .membership-category-tools {
  background: #f7f9fc;
  border: 1px solid var(--hd-border);
  border-radius: .75rem;
  padding: 1rem;
}

.hdonline-company-panel .membership-main-category-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hdonline-company-panel .membership-main-category {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: .75rem;
  color: var(--hd-text);
  display: grid;
  gap: .65rem;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  min-height: 5.25rem;
  padding: .8rem;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hdonline-company-panel .membership-main-category:hover,
.hdonline-company-panel .membership-main-category[aria-expanded="true"] {
  border-color: #9db5ee;
  box-shadow: 0 .35rem 1rem rgb(38 82 171 / 10%);
  color: var(--hd-primary);
  transform: translateY(-1px);
}

.hdonline-company-panel .membership-main-category-icon {
  align-items: center;
  background: #edf2ff;
  border-radius: .6rem;
  color: var(--hd-primary);
  display: inline-flex;
  font-size: 1rem;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.hdonline-company-panel .membership-main-category strong,
.hdonline-company-panel .membership-main-category small { display: block; line-height: 1.25; }
.hdonline-company-panel .membership-main-category strong { font-size: .85rem; overflow-wrap: anywhere; }
.hdonline-company-panel .membership-main-category small { color: var(--hd-muted); font-size: .7rem; margin-top: .25rem; }
.hdonline-company-panel .membership-main-category-arrow { color: var(--hd-muted); transition: transform .18s ease; }
.hdonline-company-panel .membership-main-category[aria-expanded="true"] .membership-main-category-arrow { transform: rotate(180deg); }

.hdonline-company-panel .membership-main-category.has-pending { background: #fff8e5; border-color: #dfac35; }
.hdonline-company-panel .membership-main-category.has-active { background: #eaf8ef; border-color: #57a878; }
.hdonline-company-panel .membership-main-category .membership-pending-label { color: #865a08; }
.hdonline-company-panel .membership-main-category .membership-active-label { color: #21673b; }
.hdonline-company-panel .membership-category-group { grid-column: 1 / -1; min-width: 0; }
.hdonline-company-panel .membership-main-category-grid > [hidden] { display: none !important; }
.hdonline-company-panel .membership-category-group-inner {
  background: #f9fbff;
  border: 1px solid #dce5f5;
  border-radius: .85rem;
  padding: .8rem;
}

.hdonline-company-panel .membership-subcategory-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: .7rem;
  display: flex;
  gap: .75rem;
  height: 100%;
  min-height: 0;
  padding: .65rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.hdonline-company-panel .membership-subcategory-card.is-selectable { cursor: pointer; }
.hdonline-company-panel .membership-subcategory-card.is-selectable:hover,
.hdonline-company-panel .membership-subcategory-card.is-selected {
  border-color: var(--hd-primary);
  box-shadow: inset 0 0 0 1px var(--hd-primary), 0 .3rem .9rem rgb(38 82 171 / 8%);
}

.hdonline-company-panel .membership-subcategory-check { flex: 0 0 1.25rem; }
.hdonline-company-panel .membership-subcategory-content { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.hdonline-company-panel .membership-subcategory-content > strong { font-size: .92rem; line-height: 1.35; overflow-wrap: anywhere; }
.hdonline-company-panel .membership-subcategory-price { color: var(--hd-primary); display: block; font-size: .8rem; font-weight: 700; padding-top: .3rem; }

.hdonline-company-panel .membership-selection-bar {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgb(255 255 255 / 96%);
  border: 1px solid #b9cdfc;
  border-radius: .85rem;
  bottom: 1rem;
  box-shadow: 0 .75rem 2rem rgb(15 23 42 / 18%);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: calc(18.6rem + 1.25rem);
  margin-top: 1.5rem;
  padding: .85rem 1rem;
  position: fixed;
  right: 1.25rem;
  transition: left .3s ease-in-out;
  z-index: 1030;
}

.hdonline-company-panel .membership-category-browser form { padding-bottom: 5.5rem; }
.hdonline-company-panel.sidebar-collapse .membership-selection-bar { left: calc(60px + 1.25rem); }

.hdonline-company-panel .membership-selection-total { align-items: center; display: flex; gap: 1.5rem; }
.hdonline-company-panel .membership-selection-total > span { color: var(--hd-muted); display: block; font-size: .8rem; }
.hdonline-company-panel .membership-selection-total strong { color: var(--hd-text); font-size: 1.05rem; }
.hdonline-company-panel .membership-selection-amount small { display: block; font-size: .65rem; }

@media (max-width: 1399.98px) {
  .hdonline-company-panel .membership-main-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .hdonline-company-panel .membership-main-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .hdonline-company-panel .membership-main-category-grid { grid-template-columns: 1fr; }
  .hdonline-company-panel .membership-selection-bar { align-items: stretch; flex-direction: column; }
  .hdonline-company-panel .membership-selection-bar > .d-flex { width: 100%; }
  .hdonline-company-panel .membership-selection-bar .btn { flex: 1 1 0; }
  .hdonline-company-panel .membership-selection-total { justify-content: space-between; }
}

@media (max-width: 767.98px) {
  .hdonline-company-panel .membership-selection-bar { bottom: .75rem; left: .75rem; right: .75rem; }
  .hdonline-company-panel .membership-category-browser form { padding-bottom: 8.5rem; }
}
