/*
 * HelloQuoto Dashboard — Wide Layout v1.2
 * Desktop-first, full-width, responsive refresh.
 * Only targets the existing [helloquoto_dashboard] output (.hqd).
 * No PHP, account, request, or routing changes.
 */
.hqd {
  --hq-orange: #db9933;        /* sampled from the existing HelloQuoto header */
  --hq-orange-hover: #c88520;
  --hq-orange-pale: #fff6e8;
  --hq-orange-light: #ffe7bc;
  --hq-ink: #242424;
  --hq-muted: #656565;
  --hq-border: #e9dfcf;
  --hq-background: #ffffff;
  --hq-panel: #ffffff;
  --hq-sidebar: #fff8ed;
  --hq-shadow: 0 18px 45px rgba(72, 49, 24, 0.08);
  color: var(--hq-ink);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.55;
  box-sizing: border-box;
  /* Break out of Elementor's default, narrow page/column content wrapper. */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 2800px);
  max-width: none;
  margin: 26px 0 70px;
}
.hqd *, .hqd *::before, .hqd *::after { box-sizing: border-box; }
.hqd a { text-decoration: none; }
.hqd :focus-visible { outline: 3px solid var(--hq-orange); outline-offset: 3px; }
.hqd-shell {
  display: grid;
  grid-template-columns: clamp(285px, 17vw, 360px) minmax(0, 1fr);
  min-height: 810px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--hq-border);
  border-radius: 18px;
  background: var(--hq-background);
  box-shadow: var(--hq-shadow);
}
.hqd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 36px 25px;
  background: var(--hq-sidebar);
  color: var(--hq-ink);
  border-right: 1px solid var(--hq-border);
}
.hqd-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 13px;
  font-size: 28px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.7px;
  color: var(--hq-ink);
}
.hqd-brand > span:last-child > span { color: #bc7517; }
.hqd-brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 49px;
  height: 49px;
  border-radius: 11px;
  background: var(--hq-orange);
  color: #202020;
  font-size: 26px;
  font-weight: 900;
}
.hqd-sidebar-label {
  padding: 0 15px;
  color: #966728;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.hqd-menu { display: grid; gap: 7px; }
.hqd-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 57px;
  padding: 13px 15px;
  border-radius: 11px;
  color: #35302a;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  transition: background .15s ease, color .15s ease;
}
.hqd-menu a:hover { background: #f5e7d1; color: #28221a; }
.hqd-menu a.is-active, .hqd-menu a[aria-current="page"] {
  background: var(--hq-orange);
  color: #222;
  box-shadow: 0 4px 10px rgba(219,153,51,.15);
}
.hqd-nav-symbol { display: inline-block; width: 25px; font-size: 22px; line-height: 1; text-align: center; }
.hqd-sidebar-bottom { display: grid; gap: 15px; margin-top: auto; padding: 14px 12px 0; }
.hqd-switch {
  display: block;
  padding: 12px 13px;
  border: 1px solid #e3c99d;
  border-radius: 9px;
  background: #fff;
  color: #4c3b22 !important;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}
.hqd-signed { overflow-wrap: anywhere; color: #746852; font-size: 13px; }
.hqd-signed strong { display: block; margin-top: 3px; color: #292929; font-weight: 600; }
.hqd-main { min-width: 0; padding: clamp(38px, 3vw, 70px) clamp(34px, 3vw, 74px) 45px; background: #fff; }
.hqd-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.hqd-eyebrow { margin: 0 0 10px !important; color: #b36d12 !important; font-size: 12px !important; font-weight: 800; letter-spacing: 1.45px; }
.hqd-topline h2 { margin: 0 0 10px !important; color: var(--hq-ink) !important; font-size: clamp(34px, 2.2vw, 44px) !important; line-height: 1.22 !important; font-weight: 800 !important; letter-spacing: -.65px; }
.hqd-intro { margin: 0 !important; color: var(--hq-muted) !important; font-size: 16px !important; }
.hqd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid #cf8b27;
  border-radius: 9px;
  background: var(--hq-orange);
  color: #232323 !important;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 3px 9px rgba(219,153,51,.13);
}
.hqd-button:hover { background: var(--hq-orange-hover); color: #161616 !important; }
.hqd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.hqd-stats--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hqd-stats a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 167px;
  padding: 24px;
  border: 1px solid var(--hq-border);
  border-radius: 13px;
  background: #fffcf7;
  color: var(--hq-ink) !important;
  transition: border-color .15s ease, transform .15s ease;
}
.hqd-stats a:hover { border-color: #daa75c; transform: translateY(-2px); }
.hqd-stats strong { color: #222 !important; font-size: 45px; line-height: 1.06; font-weight: 850; }
.hqd-stats span { color: #675a46; font-size: 17px; line-height: 1.4; }
.hqd-panel { min-width: 0; margin-bottom: 26px; padding: 34px 38px; border: 1px solid var(--hq-border); border-radius: 13px; background: var(--hq-panel); }
.hqd-panel > h3, .hqd-panel-head > h3 { margin: 0 0 16px !important; color: var(--hq-ink) !important; font-size: 24px !important; font-weight: 800 !important; line-height: 1.3; }
.hqd-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 14px; }
.hqd-panel-head > h3 { margin: 0 !important; }
.hqd-panel-head > a, .hqd-text-link { color: #a3650e !important; font-size: 17px; font-weight: 750; }
.hqd-panel-head > a:hover, .hqd-text-link:hover { text-decoration: underline; }
.hqd-list-card { display: flex; align-items: center; justify-content: space-between; gap: 19px; padding: 23px 2px; border-top: 1px solid #eee5d7; }
.hqd-list-body { flex: 1; min-width: 0; }
.hqd-list-body h3 { margin: 0 0 6px !important; overflow-wrap: anywhere; color: var(--hq-ink) !important; font-size: 18px !important; font-weight: 750 !important; }
.hqd-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hqd-list-body p { margin: 7px 0 !important; color: #5e5c59; font-size: 17px; }
.hqd-muted, .hqd-list-body p.hqd-muted { color: var(--hq-muted) !important; font-size: 14px !important; }
.hqd-status { display: inline-flex; align-items: center; border: 1px solid #f3d7aa; border-radius: 50px; background: #fff3df; padding: 5px 11px; color: #99601d; font-size: 13px; font-weight: 800; white-space: nowrap; }
.hqd-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 13px; }
.hqd-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 41px; padding: 10px 15px; border: 1px solid #d9c8ad; border-radius: 9px; color: #3b3024 !important; font-size: 14px; font-weight: 750; white-space: nowrap; }
.hqd-outline:hover { background: var(--hq-orange-pale); border-color: var(--hq-orange); }
.hqd-panel-note { margin: 5px 0 13px !important; }
.hqd-empty { padding: 92px 20px; color: var(--hq-muted); text-align: center; }
.hqd-empty h3 { margin: 0 0 12px !important; color: var(--hq-ink) !important; font-size: 20px !important; }
.hqd-empty p { margin: 0; color: var(--hq-muted); font-size: 18px; }
.hqd-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hqd-quick > a { display: flex; flex-direction: column; gap: 9px; padding: 27px; border: 1px solid var(--hq-border); border-radius: 12px; background: #fffcf7; color: var(--hq-ink) !important; }
.hqd-quick > a:hover { border-color: var(--hq-orange); }
.hqd-quick strong { font-size: 18px; }
.hqd-quick span { color: var(--hq-muted); font-size: 17px; }
.hqd-panel > p { color: #555; font-size: 18px; }
.hqd-footnote { margin: 40px 0 0; color: #8d8376; font-size: 13px; text-align: center; }
.hqd-login { width: min(640px, calc(100vw - 32px)); padding: 45px; border: 1px solid var(--hq-border); border-radius: 14px; text-align: center; }
.hqd-login h2 { color: var(--hq-ink); }

/* On large monitors use the available horizontal space, without stretching text indefinitely. */
@media (min-width: 1700px) {
  .hqd-stats { gap: 24px; margin-bottom: 34px; }
  .hqd-stats a { padding: 28px 32px; }
  .hqd-panel { margin-bottom: 32px; }
  .hqd-empty { min-height: 275px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
}
@media (max-width: 1150px) {
  .hqd { width: calc(100vw - 36px); }
  .hqd-shell { grid-template-columns: 245px minmax(0,1fr); min-height: 0; }
  .hqd-sidebar { padding: 24px 14px; }
  .hqd-menu a { min-height: 48px; padding: 12px; font-size: 14px; }
  .hqd-main { padding: 32px 28px; }
  .hqd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .hqd-stats a { min-height: 112px; padding: 19px; }
  .hqd-stats strong { font-size: 33px; }
}
@media (max-width: 700px) {
  .hqd { width: calc(100vw - 24px); margin: 16px 0 35px; }
  .hqd-shell { grid-template-columns: 1fr; min-height: 0; border-radius: 12px; }
  .hqd-sidebar { gap: 10px; padding: 16px; border-right: 0; border-bottom: 1px solid var(--hq-border); }
  .hqd-brand { padding: 0; font-size: 20px; }
  .hqd-brand-mark { width: 35px; height: 35px; font-size: 19px; }
  .hqd-sidebar-label, .hqd-sidebar-bottom { display: none; }
  .hqd-menu { display: flex; gap: 6px; overflow-x: auto; padding: 5px 0; -webkit-overflow-scrolling: touch; }
  .hqd-menu a { flex-shrink: 0; min-height: 42px; padding: 10px 12px; font-size: 13px; white-space: nowrap; }
  .hqd-nav-symbol { display: none; }
  .hqd-main { padding: 26px 18px; }
  .hqd-topline { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .hqd-topline h2 { font-size: 27px !important; }
  .hqd-intro { font-size: 14px !important; }
  .hqd-button { min-height: 49px; }
  .hqd-stats { gap: 10px; }
  .hqd-stats a { min-height: 103px; padding: 14px; }
  .hqd-stats strong { font-size: 29px; }
  .hqd-stats span { font-size: 13px; }
  .hqd-panel { padding: 19px 17px; }
  .hqd-panel > h3, .hqd-panel-head > h3 { font-size: 18px !important; }
  .hqd-panel-head { align-items: flex-start; }
  .hqd-list-card { align-items: stretch; flex-direction: column; }
  .hqd-card-actions { justify-content: flex-start; }
  .hqd-quick { grid-template-columns: 1fr; }
  .hqd-empty { padding: 42px 8px; }
  .hqd-footnote { font-size: 13px; }
}
@media (max-width: 360px) {
  .hqd-stats { grid-template-columns: 1fr; }
}

/* HelloQuoto Dashboard v1.6: homeowner job management */
.hqd .hqd-manage-panel { background: #fffdf9; }
.hqd .hqd-manage-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; border-bottom: 1px solid var(--hq-border); padding-bottom: 18px; }
.hqd .hqd-manage-tabs a { border: 1px solid var(--hq-border); padding: 10px 18px; border-radius: 9px; color: #3b3329; font-size: 16px; font-weight: 650; }
.hqd .hqd-manage-tabs a[aria-current="page"] { background: var(--hq-orange); border-color: var(--hq-orange); color: #28221a; }
.hqd .hqd-job-form { display: grid; gap: 14px; max-width: 850px; margin-top: 18px; }
.hqd .hqd-job-form > label, .hqd .hqd-job-form legend { font-size: 16px; font-weight: 750; }
.hqd .hqd-job-form input[type="text"], .hqd .hqd-job-form textarea { width: 100%; border: 1px solid #d7cbb9; border-radius: 9px; padding: 13px 16px; background: #fff; font: inherit; color: var(--hq-ink); }
.hqd .hqd-job-form fieldset { border: 1px solid var(--hq-border); border-radius: 12px; padding: 18px; min-width: 0; }
.hqd .hqd-job-form legend { padding: 0 6px; }
.hqd .hqd-radio { display: flex; align-items: flex-start; gap: 10px; padding: 10px 6px; cursor: pointer; font-size: 16px; }
.hqd .hqd-radio input { margin-top: 6px; accent-color: var(--hq-orange); }
.hqd .hqd-job-form > .hqd-button { justify-self: start; cursor: pointer; }
.hqd .hqd-job-form .hqd-button--warning { background: #a94525; color: #fff !important; border-color: #92371c; }
.hqd .hqd-card-actions .hqd-job-form { display: inline-flex; margin: 0; }
.hqd .hqd-job-form button.hqd-outline { background: #fff; cursor: pointer; }
.hqd .hqd-job-notice { margin: 14px 0 20px; padding: 18px 20px; border-radius: 9px; border: 1px solid #e1bf8d; background: #fff7e9; color: #44341e; font-size: 16px; }
@media(max-width:700px) { .hqd .hqd-manage-tabs a { flex: 1 1 auto; text-align: center; font-size: 14px; } .hqd .hqd-job-form .hqd-button { width: 100%; } }

/* v1.7: instant tabs and in-place job updates */
.hqd .hqd-tab-panel[hidden], .hqd .hqd-ajax-notice[hidden] { display: none !important; }
.hqd .hqd-manage-tabs a[aria-selected="true"] { background: var(--hq-orange); border-color: var(--hq-orange); color: #28221a; }
.hqd .hqd-manage-tabs a:focus-visible { outline: 3px solid #a96b1d; outline-offset: 3px; }
.hqd .hqd-ajax-notice { margin: 14px 0 20px; padding: 16px 20px; border-radius: 9px; border: 1px solid #b9d6b6; background: #f2f9f0; color: #22582a; font-size: 16px; }
.hqd .hqd-ajax-notice.is-error { background: #fff1ec; border-color: #edb7a5; color: #8b2f16; }
.hqd .hqd-job-form[aria-busy="true"] { opacity: .65; }
.hqd .hqd-manager-slot:empty { display: none; }

/* v1.8: seamless sidebar navigation; styling remains otherwise unchanged. */
.hqd.hqd-navigating .hqd-main { opacity: .68; pointer-events: none; transition: opacity .12s ease; }
.hqd .hqd-topline h2:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .hqd.hqd-navigating .hqd-main { transition: none; }
}

/* v2.0 expanded job editor */
.hqd .hqd-job-form { max-width: 1120px; }
.hqd .hqd-edit-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 24px; }
.hqd .hqd-edit-grid > div { min-width: 0; }
.hqd .hqd-edit-wide { grid-column: 1 / -1; }
.hqd .hqd-edit-grid label { display:block; font-weight:700; margin-bottom:9px; font-size:15px; }
.hqd .hqd-edit-grid select,.hqd .hqd-edit-grid input[type=text],.hqd .hqd-edit-grid textarea { width:100%; min-width:0; box-sizing:border-box; border:1px solid #d7cbb9; border-radius:9px; padding:13px 16px; color:#222; background:white; font:inherit; }
.hqd .hqd-edit-grid input[type=file] { display:block; width:100%; margin-top:12px; }
.hqd .hqd-location-hint { padding:16px; background:#fff8eb; border:1px solid #f3e1c1; border-radius:10px; }
.hqd .hqd-location-hint p { margin:8px 0 0; }
.hqd .hqd-photo-section { border:1px solid #eee1cd; border-radius:12px; padding:16px; }
.hqd .hqd-photo-grid { display:flex; flex-wrap:wrap; gap:12px; margin:10px 0 14px; }
.hqd .hqd-photo { border:1px solid #e3d7c5; border-radius:9px; overflow:hidden; padding:8px; width:128px; cursor:pointer; }
.hqd .hqd-photo span { display:block; aspect-ratio:1; }
.hqd .hqd-photo img { height:100%; width:100%; object-fit:cover; border-radius:5px; }
.hqd .hqd-photo input { accent-color:#dc9a35; }
@media(max-width:760px){.hqd .hqd-edit-grid { grid-template-columns:1fr; }}


/* v2.3: full account settings panel, using the existing dashboard palette. */
.hqd .hqd-account-settings { display: grid; gap: 5px; }
.hqd .hqd-account-settings .hqd-panel { margin-bottom: 20px; }
.hqd .hqd-settings-help { margin: 0 0 22px; max-width: 850px; color: var(--hq-muted); font-size: 16px; }
.hqd .hqd-settings-help strong { color: var(--hq-ink); }
.hqd .hqd-settings-form { display: grid; gap: 22px; max-width: 1080px; }
.hqd .hqd-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 26px; }
.hqd .hqd-settings-grid label { display: grid; gap: 8px; min-width: 0; font-size: 16px; font-weight: 700; }
.hqd .hqd-settings-grid .hqd-settings-wide { grid-column: 1 / -1; }
.hqd .hqd-settings-grid input { display: block; min-width: 0; width: 100%; border: 1px solid #d7cbb9; border-radius: 9px; background: #fff; padding: 13px 16px; font: inherit; font-size: 17px; color: var(--hq-ink); }
.hqd .hqd-settings-form .hqd-button { justify-self: start; cursor: pointer; }
.hqd .hqd-settings-form[aria-busy="true"] { opacity: .72; }
.hqd .hqd-settings-feedback, .hqd .hqd-account-banner { margin: 0; padding: 15px 18px; border-radius: 9px; border: 1px solid #b9d6b6; background: #f2f9f0; color: #22582a; font-size: 16px; }
.hqd .hqd-settings-feedback.is-error, .hqd .hqd-account-banner.is-error { border-color: #edb7a5; background: #fff1ec; color: #8b2f16; }
.hqd .hqd-settings-feedback[hidden] { display: none !important; }
.hqd .hqd-account-banner { margin: 0 0 22px; background: var(--hq-orange-pale); color: #69491e; border-color: var(--hq-border); }
.hqd .hqd-settings-native { margin: 0 0 15px; font-size: 15px; color: var(--hq-muted); }
.hqd .hqd-settings-native a { color: #9f650d; text-decoration: underline; }
@media(max-width:760px) {
  .hqd .hqd-settings-grid { grid-template-columns: 1fr; }
  .hqd .hqd-account-settings .hqd-panel { padding: 20px; }
  .hqd .hqd-settings-form .hqd-button { width: 100%; }
}

/* v2.4: tradesperson account sections; inherits the existing HelloQuoto palette. */
.hqd .hqd-stats--four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.hqd .hqd-stats strong.hqd-stat-word { font-size: clamp(26px, 2vw, 38px); }
.hqd .hqd-vendor-note { margin: 0 0 25px; padding: 19px 24px; border: 1px solid #ebcf9b; border-radius: 12px; background: #fff7e8; color: #4b3821; }
.hqd .hqd-vendor-note strong { font-size: 18px; }
.hqd .hqd-vendor-note p { margin: 5px 0 0; font-size: 15px; }
.hqd .hqd-profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
@media (max-width: 1150px) { .hqd .hqd-stats--four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 650px) { .hqd .hqd-stats--four { grid-template-columns: repeat(2, minmax(0,1fr)); } .hqd .hqd-profile-actions > * { width:100%; } }

/* v2.5 — tradesperson jobs, lead filters, business profile and performance */
.hqd .hqd-stats .hqd-metric {
  display:flex; flex-direction:column; justify-content:center; gap:7px; min-width:0;
  min-height:167px; padding:24px; border:1px solid var(--hq-border);
  border-radius:13px; background:#fffcf7;
}
.hqd .hqd-stats .hqd-metric strong { color:#222; font-size:clamp(27px,2.4vw,45px); line-height:1.07; font-weight:850; }
.hqd .hqd-stats .hqd-metric span { color:#675a46; font-size:16px; }
.hqd .hqd-filters { display:grid; grid-template-columns:minmax(180px,2fr) minmax(150px,1fr); gap:18px; margin:22px 0 18px; }
.hqd .hqd-filters label { display:grid; gap:7px; font-size:15px; font-weight:750; color:#544536; }
.hqd .hqd-filters input, .hqd .hqd-filters select { width:100%; min-width:0; min-height:48px; border:1px solid #d7cbb9; border-radius:9px; padding:11px 13px; background:#fff; font:inherit; font-size:16px; color:#242424; }
.hqd [data-hqd-item][hidden], .hqd .hqd-filter-empty[hidden] { display:none !important; }
.hqd .hqd-filter-empty { padding:35px 10px; text-align:center; color:#675a46; }
.hqd .hqd-vendor-profile-form { display:grid; gap:19px; margin-top:24px; max-width:980px; }
.hqd .hqd-vendor-profile-form label { display:grid; gap:8px; font-size:16px; font-weight:750; }
.hqd .hqd-vendor-profile-form input, .hqd .hqd-vendor-profile-form textarea { width:100%; min-width:0; border:1px solid #d7cbb9; border-radius:9px; padding:13px 16px; font:inherit; font-size:16px; color:#242424; background:#fff; }
.hqd .hqd-vendor-profile-form textarea { resize:vertical; }
.hqd .hqd-vendor-profile-form button { justify-self:start; cursor:pointer; }
.hqd .hqd-vendor-profile-form[aria-busy="true"] { opacity:.72; }
.hqd .hqd-performance-reasons { max-width:850px; list-style:none; margin:18px 0 !important; padding:0 !important; }
.hqd .hqd-performance-reasons li { display:flex; justify-content:space-between; gap:15px; padding:13px 0; border-bottom:1px solid #eee5d7; }
.hqd .hqd-performance-reasons li strong { color:#8e5c13; }
@media(max-width:1150px){.hqd .hqd-stats .hqd-metric{min-height:115px; padding:18px;}}
@media(max-width:700px){.hqd .hqd-filters{grid-template-columns:1fr;} .hqd .hqd-vendor-profile-form button{width:100%;} .hqd .hqd-stats .hqd-metric{min-height:100px; padding:13px;} .hqd .hqd-stats .hqd-metric span{font-size:13px;} }

/* v2.6 — Business Profile reflects the public HivePress vendor template. */
.hqd .hqd-vendor-editor { max-width: none; }
.hqd .hqd-vendor-profile-form { max-width: none; gap: 24px; }
.hqd .hqd-vendor-section { min-width:0; padding: 24px; background: #fffcf7; border: 1px solid #eadcc6; border-radius: 13px; }
.hqd .hqd-vendor-section h4 { margin:0 0 13px !important; color:var(--hq-ink); font-size:21px; font-weight:800; }
.hqd .hqd-vendor-section p { margin:0 0 15px; font-size:15px; color:#675a46; }
.hqd .hqd-vendor-logo-row { display:flex; flex-wrap:wrap; align-items:center; gap:26px; }
.hqd .hqd-vendor-logo-preview { flex: none; width:116px; height:116px; border-radius:15px; background:#f4e9d6; border:1px solid #e3d0b1; display:grid; place-items:center; overflow:hidden; color:#7d4a00; font-size:29px; font-weight:850; }
.hqd .hqd-vendor-logo-preview img { width:100%; height:100%; object-fit:cover; }
.hqd .hqd-vendor-upload { display:grid; flex: 1 1 220px; gap:8px; }
.hqd .hqd-vendor-upload input[type=file] { font-size:15px; background:#fff; }
.hqd .hqd-vendor-field-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 22px; }
.hqd .hqd-vendor-field { display:grid; align-content:start; gap:8px; min-width:0; font-size:16px; font-weight:750; }
.hqd .hqd-vendor-field--wide { grid-column: 1 / -1; }
.hqd .hqd-vendor-field select, .hqd .hqd-vendor-field input:not([type=checkbox]), .hqd .hqd-vendor-field textarea { width:100%; min-width:0; border:1px solid #d7cbb9; border-radius:9px; background:#fff; padding:13px 16px; font:inherit; font-size:16px; color:#242424; }
.hqd .hqd-vendor-field small, .hqd .hqd-vendor-upload small { color:#756958; font-size:13px; font-weight:400; }
.hqd .hqd-vendor-checkbox { display:flex; align-items:center; gap:9px; }
.hqd .hqd-vendor-checkbox input { width:auto !important; }
.hqd .hqd-vendor-profile-form .hqd-button { min-width:210px; }
.hqd .hqd-vendor-readonly-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:24px; }
.hqd .hqd-vendor-readonly-grid .hqd-vendor-section { padding:21px; }
.hqd .hqd-vendor-readonly-grid p { line-height:1.5; }
.hqd .hqd-vendor-readonly-grid code { overflow-wrap:anywhere; }
@media(max-width:1050px) { .hqd .hqd-vendor-readonly-grid { grid-template-columns:1fr; } }
@media(max-width:700px) { .hqd .hqd-vendor-field-grid { grid-template-columns:1fr; } .hqd .hqd-vendor-field--wide { grid-column:auto; } .hqd .hqd-vendor-section { padding:18px; } }


/* v2.9.1 — searchable, multi-choice controls for Additional Trades and Skills. */
.hqd .hqd-vendor-field select.hqd-multi-native {
    position:absolute !important;width:1px !important;height:1px !important;
    padding:0 !important;border:0 !important;opacity:0 !important;
    overflow:hidden !important;clip-path:inset(50%);pointer-events:none;
}
.hqd .hqd-multi-picker { position:relative; width:100%; min-width:0; font-weight:400; }
.hqd .hqd-multi-trigger {
    width:100%; min-height:52px; display:flex; justify-content:space-between;
    align-items:center; gap:12px; padding:12px 15px; text-align:left;
    border:1px solid #d7cbb9; border-radius:9px; background:#fff;
    font:inherit; font-size:16px; color:#6d6255; cursor:pointer;
}
.hqd .hqd-multi-trigger.has-values {color:#242424;}
.hqd .hqd-multi-trigger:focus-visible, .hqd .hqd-multi-done:focus-visible,
.hqd .hqd-multi-option:focus-within {outline:2px solid #d9982f;outline-offset:2px;}
.hqd .hqd-multi-trigger-text {display:block; min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hqd .hqd-multi-chevron {font-size:23px;line-height:1;color:#8c6b35;}
.hqd .hqd-multi-picker.is-open .hqd-multi-trigger {border-color:#d9982f;box-shadow:0 0 0 3px #e6a43923;}
.hqd .hqd-multi-panel {position:absolute; z-index:45;top:calc(100% + 5px);left:0;right:0;
    border:1px solid #e2cfaf; border-radius:12px;background:#fff;
    box-shadow:0 14px 35px #2e261522; padding:11px; }
.hqd .hqd-multi-panel[hidden] {display:none !important;}
.hqd .hqd-multi-search {width:100%; min-width:0; box-sizing:border-box; border:1px solid #e1d5c3 !important;
    border-radius:8px; padding:11px 13px !important; font:inherit; font-size:15px !important;}
.hqd .hqd-multi-options {max-height:250px; overflow:auto; padding:5px 1px;overscroll-behavior:contain;}
.hqd .hqd-multi-option {display:flex !important; flex-direction:row !important;align-items:center; gap:11px !important;
    padding:10px 8px; border-radius:7px; margin:0 !important; font:inherit !important;
    font-size:15px !important; font-weight:500 !important; cursor:pointer;}
.hqd .hqd-multi-option:hover {background:#fff4df;}
.hqd .hqd-multi-option input[type=checkbox] {flex:none; margin:0; width:17px !important;
    height:17px !important; accent-color:#dd9930;}
.hqd .hqd-multi-empty {margin:13px 6px !important;font-size:14px; color:#6b6256;}
.hqd .hqd-multi-empty[hidden] {display:none !important;}
.hqd .hqd-multi-footer {display:flex; align-items:center; justify-content:space-between;gap:10px;
    border-top:1px solid #f0e6d6; padding:10px 4px 0; font-size:13px; color:#665b4b;}
.hqd .hqd-multi-done {width:auto !important; padding:8px 15px; border:1px solid #c58a2d; border-radius:7px;
    background:#dc9a32; color:#211b12;font-size:14px;font-weight:700;cursor:pointer;}
@media (max-width:700px) {
    .hqd .hqd-multi-panel {position:relative;top:5px;}
    .hqd .hqd-multi-options {max-height:240px;}
}

/* v3.0 — Previous Work public portfolio; never used for private documents. */
.hqd .hqd-portfolio-section { margin-top:24px; }
.hqd .hqd-vendor-portfolio-form { display:grid; gap:18px; }
.hqd .hqd-portfolio-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:15px; }
.hqd .hqd-portfolio-card { display:grid; gap:9px; padding:9px; border:1px solid #e2d5bf; border-radius:10px; background:#fff; cursor:pointer; }
.hqd .hqd-portfolio-image { display:block; width:100%; aspect-ratio: 4 / 3; overflow:hidden; border-radius:7px; background:#f2eee8; }
.hqd .hqd-portfolio-image img { display:block; width:100%; height:100%; object-fit:cover; }
.hqd .hqd-portfolio-remove { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:650; color:#4e4538; }
.hqd .hqd-portfolio-remove input[type=checkbox] { width:17px; height:17px; accent-color:#d99731; }
.hqd .hqd-portfolio-upload { display:grid; gap:7px; font-weight:750; font-size:16px; }
.hqd .hqd-portfolio-upload input[type=file] { max-width:100%; width:100%; background:#fff; padding:14px; border:1px solid #d7cbb9; border-radius:9px; }
.hqd .hqd-portfolio-upload small { font-weight:400; font-size:13px; color:#71614d; }
.hqd .hqd-portfolio-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.hqd .hqd-vendor-portfolio-form[aria-busy=true] { opacity:.70; }
@media(max-width:650px) { .hqd .hqd-portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hqd .hqd-portfolio-actions>* { width:100%; text-align:center; } }

/* Verified review invitation controls / public review presentation. */
.hqd-review-state {font-size:.85rem;color:#846321;background:#fff8e8;border:1px solid #ecd5a6;padding:8px 12px;border-radius:8px;white-space:nowrap}
.hqri-page {max-width:850px;margin:40px auto 60px}
.hqri-panel {padding:32px!important}
.hqri-review-form {display:grid;gap:12px;margin-top:24px}
.hqri-review-form label {font-weight:700;margin-top:6px}
.hqri-review-form select,.hqri-review-form textarea{display:block;width:100%;border:1px solid #dfc8a5;border-radius:8px;padding:12px;font:inherit;color:#272727;background:#fff}
.hqri-review-form [data-hqri-review-fields]{display:grid;gap:12px}
.hqri-review-form [data-hqri-review-fields][hidden],.hqri-review-form [hidden]{display:none!important}
.hqri-review-form .hqd-button{justify-self:start}
.hqri-public-reviews .hqri-review{border-top:1px solid #eee1d2;padding:16px 0}
.hqri-review-average{font-size:1.1rem;margin-bottom:12px}
.hqri-review strong{color:#d9952c}


/* v3.2 — public customer review photos and tradesperson replies. */
.hqri-review-photos {display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 14px;}
.hqri-review-photos a {display:block;width:112px;height:112px;border:1px solid #e2d3c0;border-radius:9px;overflow:hidden;background:#f9f3e8;}
.hqri-review-photos img {display:block;width:100%;height:100%;object-fit:cover;}
.hqri-review-form input[type=file] {width:100%;max-width:100%;border:1px solid #dfc8a5;border-radius:8px;padding:13px;background:#fff;}
.hqri-vendor-reply {margin:14px 0 5px;padding:14px 16px;border-left:3px solid #d9952c;background:#fff9ef;border-radius:7px;}
.hqri-vendor-reply strong {color:#48321a;}
.hqri-vendor-reply p {margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;}
.hqri-reply-form {display:grid;gap:9px;margin:16px 0 6px;padding:14px;border:1px solid #e6d7c3;border-radius:10px;background:#fffcf6;}
.hqri-reply-form label {font-weight:650;display:grid;gap:7px;}
.hqri-reply-form textarea {font:inherit;width:100%;min-height:92px;padding:10px;border:1px solid #d7cbb9;border-radius:8px;}
.hqri-reply-form .hqd-button {justify-self:start;}
.hqri-reply-result {color:#a33022;font-size:14px;margin:0;}
@media(max-width:560px){.hqri-review-photos a{width:88px;height:88px;}}

/* v3.2.1 — invitation page breaks out of the narrow account content column. */
body.hqri-review-landing .hp-page__sidebar {display:none!important;}
body.hqri-review-landing .hp-page__content {flex:1 1 100%!important;max-width:100%!important;width:100%!important;}
body.hqri-review-landing .hqd.hqri-page {
  width:min(760px,calc(100vw - 36px))!important;
  max-width:760px!important; min-width:0!important;
  left:auto!important; margin:48px auto 65px!important;
  transform:none; position:relative;
}
body.hqri-review-landing .hqri-panel {padding:clamp(22px,3vw,38px)!important;}
body.hqri-review-landing {overflow-x:clip;}

/* Full-size review image viewer — scoped to verified review galleries only. */
.hqri-review-photos a {cursor:zoom-in;}
.hqri-lightbox {position:fixed;inset:0;margin:auto; width:min(1100px,96vw);max-width:96vw;
  max-height:94vh;overflow:hidden; background:#161616;border:1px solid #5f5240;border-radius:12px;
  box-shadow:0 18px 70px #0008;padding:46px 52px 20px;color:#fff;}
.hqri-lightbox::backdrop {background:rgba(0,0,0,.85);}
.hqri-lightbox figure {margin:0; display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;}
.hqri-lightbox figure img {max-width:100%;max-height:calc(94vh - 125px);width:auto;height:auto;object-fit:contain;border-radius:4px;}
.hqri-lightbox figcaption {color:#e9e1d6;font-size:14px;text-align:center;}
.hqri-lightbox button {position:absolute;cursor:pointer;border:0;background:#fff2;color:#fff;border-radius:100px;
  font-size:32px;width:42px;height:42px;display:grid;place-items:center;line-height:1;}
.hqri-lightbox button:hover {background:#fff5;}
.hqri-lightbox .hqri-lightbox-close {right:10px;top:8px;}
.hqri-lightbox .hqri-lightbox-prev {left:5px;top:50%;transform:translateY(-50%);}
.hqri-lightbox .hqri-lightbox-next {right:5px;top:50%;transform:translateY(-50%);}
.hqri-lightbox button[hidden] {display:none;}
@media(max-width:600px) {.hqri-lightbox {padding:52px 32px 18px;}.hqri-lightbox button {width:32px;height:38px;font-size:27px;}}


/* v3.2.2 — horizontal native-review carousel on the public vendor profile. */
.hq-vendor-reviews .hqri-carousel-controls {
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; margin:0 0 13px; padding:0 2px;
}
.hq-vendor-reviews .hqri-carousel-controls[hidden] {display:none!important;}
.hq-vendor-reviews .hqri-carousel-count {font-size:13px; color:#746b61; font-weight:600;}
.hq-vendor-reviews .hqri-carousel-arrows {display:flex; align-items:center; gap:8px;}
.hq-vendor-reviews .hqri-carousel-arrow {
    display:grid; place-items:center; padding:0!important;
    width:38px!important; height:38px!important; flex:none;
    border:1px solid #e0c9a7!important; border-radius:50%!important;
    background:#fff!important; color:#a3661b!important;
    font:700 31px/1 Arial,sans-serif!important; cursor:pointer;
}
.hq-vendor-reviews .hqri-carousel-arrow:hover:not(:disabled) {background:#fff2da!important;border-color:#d9982f!important;}
.hq-vendor-reviews .hqri-carousel-arrow:focus-visible {outline:3px solid #d9982f;outline-offset:2px;}
.hq-vendor-reviews .hqri-carousel-arrow:disabled {opacity:.35;cursor:not-allowed;}
.hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track {
    display:flex!important; flex-wrap:nowrap!important; align-items:stretch!important;
    gap:16px!important; overflow-x:auto!important; overflow-y:hidden!important;
    scroll-snap-type:x mandatory; scroll-behavior:smooth; scroll-padding-inline:1px;
    padding:3px 2px 14px!important; margin:0!important;
    scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-inline:contain;
}
.hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track::-webkit-scrollbar {display:none;}
.hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track > .hp-grid__item {
    box-sizing:border-box!important; flex:0 0 calc((100% - 16px) / 2)!important;
    width:calc((100% - 16px) / 2)!important; max-width:calc((100% - 16px) / 2)!important;
    min-width:0!important; padding:0!important; margin:0!important;
    scroll-snap-align:start;
}
.hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track > .hp-grid__item > .hp-review {height:100%;}
@media (max-width:720px) {
    .hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track > .hp-grid__item {
        flex-basis:calc(100% - 36px)!important; width:calc(100% - 36px)!important;
        max-width:calc(100% - 36px)!important;
    }
}
@media (prefers-reduced-motion:reduce) {
    .hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track {scroll-behavior:auto;}
}

/* v3.3 — Private tradesperson lead tracker. No other dashboard sections affected. */
.hqd [data-hqd-filter-list="leads"] .hqd-list-card { flex-wrap:wrap; align-items:flex-start; }
.hqd [data-hqd-filter-list="leads"] .hqd-progress-wrap { flex:1 1 100%; width:100%; min-width:0; padding:18px 18px 16px; border:1px solid var(--hq-border); border-radius:10px; background:#fffcf8; }
.hqd .hqd-lead-facts { display:flex; flex-wrap:wrap; gap:12px 28px; font-size:14px; margin-bottom:16px; }
.hqd .hqd-lead-facts small { color:var(--hq-muted); }
.hqd .hqd-lead-progress-form { display:grid; grid-template-columns:minmax(160px,220px) minmax(220px,1fr) auto; align-items:end; gap:12px; margin:0; }
.hqd .hqd-lead-progress-form label { display:grid; gap:6px; min-width:0; font-size:14px; font-weight:700; }
.hqd .hqd-lead-progress-form select, .hqd .hqd-lead-progress-form textarea { width:100%; min-width:0; min-height:45px; border:1px solid #dccbb2; border-radius:7px; background:#fff; color:#242424; padding:10px 12px; font:inherit; font-size:15px; }
.hqd .hqd-lead-progress-form textarea { resize:vertical; }
.hqd .hqd-lead-progress-form .hqd-button { min-height:45px; padding:10px 16px; font-size:15px; }
.hqd .hqd-progress-hint { margin:12px 0 0 !important; font-size:13px !important; }
.hqd .hqd-progress-result { display:block; grid-column:1/-1; padding:10px 12px; border:1px solid #b9d6b6; border-radius:7px; background:#f2f9f0; color:#22582a; font-size:14px; }
.hqd .hqd-progress-result.is-error { background:#fff1ec; border-color:#edb7a5; color:#8b2f16; }
.hqd .hqd-progress-result[hidden] { display:none !important; }
.hqd [data-hqd-filters="leads"] { grid-template-columns:minmax(170px,2fr) repeat(2,minmax(150px,1fr)); }
@media(max-width:1050px){.hqd .hqd-lead-progress-form{grid-template-columns:1fr 1fr}.hqd .hqd-lead-progress-form .hqd-button{width:100%}.hqd [data-hqd-filters="leads"]{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.hqd .hqd-lead-progress-form,.hqd [data-hqd-filters="leads"]{grid-template-columns:1fr}.hqd .hqd-lead-facts{display:grid;gap:8px}}

/* v3.3.4 — cleaner Business Profile editor without affecting My Leads or My Jobs. */
.hqd .hqd-vendor-editor { background:#fff; }
.hqd .hqd-vendor-editor > .hqd-muted { max-width:850px; margin:2px 0 0; line-height:1.6; }
.hqd .hqd-vendor-profile-form {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch; gap:18px; margin-top:24px;
}
.hqd .hqd-vendor-profile-form .hqd-vendor-section {
    margin:0; padding:24px; background:#fff; border:1px solid #e9e2d7;
    border-radius:14px; box-shadow:0 3px 15px rgba(40,30,20,.025);
}
.hqd .hqd-vendor-profile-form .hqd-vendor-section h4 {
    display:flex; align-items:center; gap:9px; margin:0 0 10px !important;
    font-size:19px !important; line-height:1.35; letter-spacing:-.02em;
}
.hqd .hqd-vendor-profile-form .hqd-vendor-section h4::before {
    content:''; display:block; flex:0 0 4px; align-self:stretch;
    min-height:20px; border-radius:5px; background:#e49b2a;
}
.hqd .hqd-vendor-profile-form .hqd-vendor-section p.hqd-muted { margin:0 0 19px; font-size:14px; line-height:1.55; }
.hqd .hqd-vendor-profile-form .hqd-vendor-field-grid { gap:16px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-field { gap:7px; font-size:14px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-field > span:first-child { line-height:1.3; }
.hqd .hqd-vendor-profile-form .hqd-vendor-field input:not([type=checkbox]),
.hqd .hqd-vendor-profile-form .hqd-vendor-field select,
.hqd .hqd-vendor-profile-form .hqd-vendor-field textarea {
    min-height:45px; padding:10px 12px; font-size:15px; border-radius:9px;
}
.hqd .hqd-vendor-profile-form .hqd-vendor-field textarea { min-height:100px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-field small { font-size:12px; line-height:1.5; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--photo .hqd-vendor-logo-preview {
    width:90px; height:90px; border-radius:14px;
}
.hqd .hqd-vendor-profile-form .hqd-vendor-section--photo .hqd-vendor-logo-row { gap:20px; align-items:center; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--photo .hqd-vendor-upload { font-size:14px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--photo .hqd-vendor-upload input[type=file] { padding:10px; font-size:13px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--intro textarea { min-height:135px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--intro .hqd-vendor-field-grid { grid-template-columns:1fr; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--intro .hqd-vendor-field--wide { grid-column:1; }
.hqd .hqd-vendor-profile-form .hqd-vendor-section--service .hqd-vendor-field-grid { margin-top:17px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-location-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:start; gap:16px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-map-card { position:relative; min-width:0; overflow:hidden; border:1px solid #e7d9c5; background:#f8f5f0; border-radius:12px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-map { width:100%; min-height:145px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-map-fallback { display:block; padding:8px 11px; color:#76583b; font-size:12px; font-weight:650; text-align:center; }
.hqd .hqd-vendor-profile-form .hqd-vendor-map:empty { display:none; }
.hqd .hqd-vendor-profile-form .hqd-vendor-map-card .mapboxgl-map { min-height:145px; }
.hqd .hqd-vendor-profile-form .hqd-insurance-upload {
    margin-top:19px; padding:17px; background:#fffaf1; border:1px dashed #d6a95b; border-radius:11px;
}
.hqd .hqd-vendor-profile-form .hqd-insurance-upload[hidden] { display:none !important; }
.hqd .hqd-vendor-profile-form .hqd-insurance-status { margin:10px 0 0; color:#76572d; font-size:13px; }
.hqd .hqd-vendor-profile-form .hqd-vendor-save-bar {
    grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center;
    justify-content:space-between; gap:12px; padding:18px 0 0;
    border-top:1px solid #eee8df; font-size:14px; color:#766a5e;
}
.hqd .hqd-vendor-profile-form .hqd-vendor-save-bar .hqd-button { min-width:210px; }
.hqd .hqd-vendor-profile-form .hqd-profile-top-message {
    grid-column:1/-1; margin:0 !important; scroll-margin-top:125px;
    padding:16px 18px; border-radius:11px;
}
.hqd .hqd-vendor-profile-form .hqd-profile-top-message[hidden] { display:none !important; }
.hqd .hqd-vendor-profile-form .hqd-profile-top-message:focus { outline:2px solid transparent; }
.hqd .hqd-vendor-editor > .hqd-vendor-section { margin-top:20px; background:#fff; border-color:#e9e2d7; }
@media(max-width:1260px) {
    .hqd .hqd-vendor-profile-form { grid-template-columns:1fr; }
    .hqd .hqd-vendor-profile-form .hqd-vendor-field-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
    .hqd .hqd-vendor-profile-form .hqd-vendor-section { padding:17px; }
    .hqd .hqd-vendor-profile-form .hqd-vendor-field-grid,
    .hqd .hqd-vendor-profile-form .hqd-vendor-location-grid { grid-template-columns:1fr; }
    .hqd .hqd-vendor-profile-form .hqd-vendor-field--wide { grid-column:auto; }
    .hqd .hqd-vendor-profile-form .hqd-vendor-save-bar { align-items:stretch; }
    .hqd .hqd-vendor-profile-form .hqd-vendor-save-bar .hqd-button { width:100%; }
}

/* v3.3.6 — Available Jobs driving-time sorting. */
.hqd [data-hqd-filters="available"] {grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(150px,1fr));gap:12px;align-items:end}
.hqd .hqd-drive-status {margin:2px 0 7px !important;color:var(--hq-muted);font-size:13px !important;line-height:1.5}
.hqd .hqd-drive-meta {display:inline-flex;gap:6px;align-items:center;font-size:14px !important;font-weight:700;color:#80602e !important;margin:8px 0 0 !important}
@media(max-width:1150px){.hqd [data-hqd-filters="available"]{grid-template-columns:repeat(2,minmax(180px,1fr))}}
@media(max-width:700px){.hqd [data-hqd-filters="available"]{grid-template-columns:1fr}}


/* v3.4.0: full public job details + native secure purchase in Available Jobs. */
.hqd .hqd-available-open {min-width:154px;text-align:center}
.hqd .hqd-available-detail-slot {border-top:1px solid var(--hq-border);padding:22px 24px 26px;background:#fffcf8;margin:0 0 16px;border-radius:0 0 12px 12px}
.hqd .hqd-available-detail-slot[hidden] {display:none!important}
.hqd .hqd-available-detail-head {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}
.hqd .hqd-available-detail h4 {font-size:18px!important;line-height:1.35!important;color:var(--hq-ink)!important;margin:0 0 12px!important}
.hqd .hqd-available-detail-head h4 {margin:0!important}
.hqd .hqd-available-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px}
.hqd .hqd-available-facts > div {display:flex;flex-direction:column;gap:3px;padding:12px 14px;background:#fff;border:1px solid var(--hq-border);border-radius:9px;overflow-wrap:anywhere;font-size:15px}
.hqd .hqd-available-facts strong {color:#795c32;font-size:12px}
.hqd .hqd-available-facts span {color:var(--hq-ink)}
.hqd .hqd-available-description {margin:18px 0 23px;overflow-wrap:anywhere}
.hqd .hqd-available-description p {margin:0 0 12px!important;font-size:15px!important;line-height:1.65!important}
.hqd .hqd-available-photos {margin:22px 0}
.hqd .hqd-available-gallery {display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}
.hqd .hqd-available-gallery a {display:block;aspect-ratio:4/3;border:1px solid var(--hq-border);border-radius:10px;overflow:hidden;background:#f4f0eb}
.hqd .hqd-available-gallery img {display:block;width:100%;height:100%;object-fit:cover}
.hqd .hqd-available-gallery a:focus-visible {outline:3px solid var(--hq-orange)}
.hqd .hqd-available-purchase {border-top:1px solid var(--hq-border);padding-top:20px;margin-top:22px}
.hqd .hqd-available-purchase .hq-contact-card {display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:18px;align-items:center;background:white;border:1px solid var(--hq-border);border-radius:12px;padding:20px;margin:0 0 12px}
.hqd .hq-contact-card .hq-contact-heading {font-size:15px!important;margin:0 0 12px!important}
.hqd .hq-contact-card .hq-contact-list {display:grid;gap:8px;list-style:none;padding:0;margin:0}
.hqd .hq-contact-card .hq-contact-list li {display:flex;gap:12px;align-items:baseline;margin:0!important;font-size:14px;overflow-wrap:anywhere}
.hqd .hq-contact-card .hq-contact-value {color:#624b2b}
.hqd .hq-contact-card .hq-contact-icon {color:var(--hq-orange-hover)}
.hqd .hq-contact-card .hq-contact-message {border:1px solid var(--hq-border);border-radius:9px;background:#faf6ef;color:#594c39;padding:12px 13px;font-size:13px;line-height:1.45;margin:0 0 12px}
.hqd .hq-contact-card .hq-contact-unlocked {background:#f2f9f2;border-color:#cfe4d1}
.hqd .hq-contact-card .hq-contact-button {display:block;box-sizing:border-box;width:100%;text-align:center;background:var(--hq-orange)!important;border:0;border-radius:9px;color:#242424!important;min-height:48px;font-size:15px;font-weight:800;padding:12px 17px!important;cursor:pointer;line-height:1.4}
.hqd .hq-contact-card form {margin:0;padding:0}
.hqd .hqd-purchase-note {font-size:13px!important;margin:8px 0 0!important}
.hqd .hqd-already-purchased {display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;border:1px solid #cddfcd;border-radius:10px;padding:16px;background:#f6fbf6}
.hqd .hqd-already-purchased span {flex:1;min-width:170px;font-size:14px}
.hqd .hqd-available-error {margin:0!important;background:#fff0ee;border:1px solid #e8c6c0;border-radius:9px;padding:14px;color:#8b2620}
@media(max-width:750px){
  .hqd .hqd-available-detail-slot {padding:18px 14px}
  .hqd .hqd-available-facts {grid-template-columns:1fr}
  .hqd .hqd-available-purchase .hq-contact-card {grid-template-columns:1fr}
  .hqd .hqd-available-gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
  .hqd .hqd-already-purchased .hqd-button {width:100%}
}

/* ============================================================
   HelloQuoto Dashboard v3.4.1 — phone & tablet usability pass.
   Presentation only: no request, permissions, checkout or AJAX changes.
   ============================================================ */
.hqd, .hqd .hqd-shell, .hqd .hqd-main, .hqd .hqd-panel,
.hqd .hqd-available-detail-slot, .hqd .hqd-progress-wrap { min-width:0; }
.hqd img, .hqd video, .hqd iframe { max-width:100%; height:auto; }
.hqd :is(.hqd-list-body,.hqd-panel-head,.hqd-available-description,.hqd-vendor-section,.hqd-closed-lead-contact) {overflow-wrap:anywhere;}
.hqd :is(input,select,textarea) {max-width:100%;box-sizing:border-box;}
.hqd :is(.hqd-panel-head,.hqd-card-actions,.hqd-profile-actions,.hqd-portfolio-actions) {min-width:0;}

/* Collapse the left rail earlier for tablets. The old 245px sidebar
   otherwise squeezes job filters between 701px and about 900px. */
@media (max-width:980px) {
  .hqd .hqd-shell {grid-template-columns:minmax(0,1fr);}
  .hqd .hqd-sidebar {
    min-width:0; padding:20px 24px; gap:12px;
    border-right:0; border-bottom:1px solid var(--hq-border);
  }
  .hqd .hqd-sidebar-label {display:none;}
  .hqd .hqd-menu {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    overflow:visible; gap:8px; padding:0;
  }
  .hqd .hqd-menu a {
    display:flex; justify-content:center; align-items:center; min-width:0;
    min-height:48px; padding:10px 9px; text-align:center;
    font-size:14px; line-height:1.3; white-space:normal; overflow-wrap:anywhere;
  }
  .hqd .hqd-nav-symbol {display:none;}
  .hqd .hqd-sidebar-bottom {
    display:flex; align-items:center; justify-content:flex-start;
    margin:0; padding:0; min-width:0; gap:10px;
  }
  .hqd .hqd-switch {min-height:44px;display:flex;align-items:center;justify-content:center;}
  .hqd .hqd-signed {display:none;}
  .hqd .hqd-main {min-width:0;padding:28px 26px;}
  .hqd .hqd-stats--four {grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:680px) {
  .hqd {width:calc(100vw - 20px);max-width:none;}
  .hqd .hqd-sidebar {padding:15px 14px;}
  .hqd .hqd-menu {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  .hqd .hqd-menu a {min-height:48px;font-size:13px;padding:11px 7px;}
  .hqd .hqd-brand {font-size:22px;}
  .hqd .hqd-sidebar-bottom .hqd-switch {width:100%;}
  .hqd .hqd-main {padding:22px 13px 28px;}
  .hqd .hqd-topline {gap:13px;}
  .hqd .hqd-topline > div {min-width:0;width:100%;}
  .hqd .hqd-topline .hqd-button {display:flex;width:100%;white-space:normal;}
  .hqd .hqd-topline h2 {font-size:27px!important;overflow-wrap:anywhere;}
  .hqd .hqd-panel {padding:18px 13px;}
  .hqd .hqd-panel-head {flex-direction:column;align-items:stretch;gap:11px;}
  .hqd .hqd-panel-head > :is(a,.hqd-outline,.hqd-button) {min-height:44px;width:100%;text-align:center;justify-content:center;}
  .hqd .hqd-list-card {gap:12px;padding:20px 0;}
  .hqd .hqd-card-actions {width:100%;justify-content:stretch;gap:9px;}
  .hqd .hqd-card-actions > :is(a,button,form) {width:100%;min-width:0;}
  .hqd .hqd-card-actions form :is(button,a) {width:100%;}
  .hqd .hqd-outline, .hqd .hqd-button {
    min-height:46px;max-width:100%;white-space:normal;text-align:center;
    overflow-wrap:anywhere;
  }
  .hqd .hqd-title-line {gap:8px;}
  .hqd .hqd-available-detail-slot {padding:16px 10px 18px;}
  .hqd .hqd-available-facts {grid-template-columns:minmax(0,1fr);gap:9px;}
  .hqd .hqd-available-facts > div {padding:11px 12px;}
  .hqd .hqd-available-purchase .hq-contact-card {
    grid-template-columns:minmax(0,1fr);padding:14px;gap:14px;
  }
  .hqd .hq-contact-card .hq-contact-button {min-height:50px;white-space:normal;}
  .hqd .hqd-available-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .hqd .hqd-available-detail-head {flex-wrap:wrap;}
  .hqd .hqd-filters, .hqd [data-hqd-filters="available"],
  .hqd [data-hqd-filters="leads"] {grid-template-columns:minmax(0,1fr);gap:12px;}
  .hqd .hqd-lead-progress-form {grid-template-columns:minmax(0,1fr);}
  .hqd [data-hqd-filter-list="leads"] .hqd-progress-wrap {padding:14px 11px;}
  .hqd .hqd-lead-progress-form .hqd-button {width:100%;}
  .hqd .hqd-vendor-profile-form .hqd-vendor-section {padding:16px 12px;}
  .hqd .hqd-vendor-profile-form .hqd-vendor-location-grid,
  .hqd .hqd-vendor-profile-form .hqd-vendor-field-grid,
  .hqd .hqd-settings-grid, .hqd .hqd-edit-grid {grid-template-columns:minmax(0,1fr);}
  .hqd .hqd-vendor-profile-form .hqd-vendor-save-bar,
  .hqd .hqd-portfolio-actions {flex-direction:column;align-items:stretch;}
  .hqd .hqd-vendor-profile-form .hqd-vendor-save-bar .hqd-button,
  .hqd .hqd-portfolio-actions > :is(a,button) {width:100%;}
  .hqd .hqd-multi-panel {position:relative;top:5px;max-width:100%;}
  .hqd .hqd-multi-options {max-height:min(42vh,260px);}
  .hqd .hqd-closed-lead .hqd-closed-lead-facts {grid-template-columns:minmax(0,1fr);}
  .hqd .hqd-closed-lead .hqd-closed-lead-photos {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .hqd .hqd-performance-reasons li {flex-wrap:wrap;}
  /* 16px input text prevents mobile Safari zooming into a field. */
  .hqd :is(input:not([type="checkbox"]),select,textarea),
  .hqd .hqd-vendor-profile-form .hqd-vendor-field :is(input,select,textarea),
  .hqd .hqd-lead-progress-form :is(select,textarea),
  .hqd .hqd-multi-search {font-size:16px!important;}
  .hqd .hqd-vendor-checkbox, .hqd .hqd-radio,
  .hqd .hqd-multi-option {min-height:44px;}
  .hqd .hqd-vendor-checkbox input[type="checkbox"],
  .hqd .hqd-multi-option input[type="checkbox"] {min-width:18px;min-height:18px;}
}

@media (max-width:380px) {
  .hqd .hqd-main {padding:18px 10px 24px;}
  .hqd .hqd-panel {padding:15px 10px;}
  .hqd .hqd-stats, .hqd .hqd-stats--four {grid-template-columns:minmax(0,1fr);}
  .hqd .hqd-stats a, .hqd .hqd-stats .hqd-metric {min-height:90px;}
  .hqd .hqd-available-detail-slot {padding:14px 8px;}
}

/* The public review invitation is a standalone page and needs its own
   compact treatment, without changes to any review permissions. */
@media (max-width:680px) {
  body.hqri-review-landing .hqd.hqri-page {
    width:calc(100vw - 20px)!important;margin:20px auto 35px!important;
  }
  body.hqri-review-landing .hqri-panel {padding:17px 13px!important;}
  .hqri-review-form :is(select,textarea,input[type="file"]) {font-size:16px!important;}
  .hqri-review-form .hqd-button,.hqri-reply-form .hqd-button {width:100%;}
  .hqri-review-photos a {width:calc(33.333% - 7px);height:auto;aspect-ratio:1;}
  .hqri-lightbox {width:98vw;max-width:98vw;max-height:95dvh;padding:48px 35px 20px;}
  .hqri-lightbox figure img {max-height:calc(95dvh - 130px);}
  .hq-vendor-reviews .hp-reviews > .hp-row.hqri-carousel-track > .hp-grid__item {
    flex-basis:calc(100% - 18px)!important;
    width:calc(100% - 18px)!important;
    max-width:calc(100% - 18px)!important;
  }
}


/* HelloQuoto memberships v3.5.0 — contained, mobile responsive. */
.hqd .hqd-membership-panel{min-width:0;}
.hqd .hqd-membership-notice,.hqd .hqd-membership-current,.hqd .hqd-membership-warning{
  border:1px solid #ecd6ad;border-radius:11px;background:#fff9ed;color:#5d451e;
  padding:13px 16px;margin:16px 0 20px;font-size:15px;line-height:1.5;
}
.hqd .hqd-membership-current{border-color:#c8dec8;background:#f4fbf4;color:#254b2b;}
.hqd .hqd-membership-warning{border-color:#efc8c8;background:#fff5f5;color:#78302b;}
.hqd .hqd-membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch;}
.hqd .hqd-membership-card{display:flex;flex-direction:column;gap:12px;min-width:0;border:1px solid var(--hq-border);border-radius:15px;padding:24px;background:#fff;}
.hqd .hqd-membership-card.is-popular{border:2px solid #daa14c;background:#fffdfa;padding:23px;}
.hqd .hqd-membership-card-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;align-items:center;}
.hqd .hqd-membership-card h4{font-size:23px!important;margin:0!important;color:#26211b!important;font-weight:800;}
.hqd .hqd-membership-popular{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:#fbe6c1;color:#80500d;padding:5px 9px;font-size:12px;font-weight:800;}
.hqd .hqd-membership-price{font-size:35px!important;color:#28231e!important;line-height:1.15!important;letter-spacing:-1px;font-weight:800;margin:2px 0!important;}
.hqd .hqd-membership-price span{font-size:14px;font-weight:500;color:#71675c;letter-spacing:0;}
.hqd .hqd-membership-desc{font-size:15px!important;line-height:1.5;margin:0!important;color:#6b6054!important;min-height:66px;}
.hqd .hqd-membership-leads{padding:13px 12px!important;margin:0!important;border-radius:9px;background:#fff6e8;font-size:15px!important;color:#584124;}
.hqd .hqd-membership-leads strong{font-size:22px;}
.hqd .hqd-membership-features{margin:1px 0 7px!important;padding:0!important;list-style:none!important;display:grid;gap:11px;}
.hqd .hqd-membership-features li{position:relative;padding-left:25px;margin:0;font-size:14px;line-height:1.5;color:#42392f;}
.hqd .hqd-membership-features li:before{content:'✓';color:#9d671d;position:absolute;left:4px;font-weight:800;}
.hqd .hqd-membership-subscription{margin:auto 0 0!important;font-size:13px!important;color:#68502c;}
.hqd .hqd-membership-unavailable{display:block;margin-top:auto;background:#eeeae4;color:#6c6257;cursor:not-allowed;border-radius:8px;text-align:center;padding:13px 12px;min-height:48px;font-size:15px;font-weight:800;}
.hqd .hqd-membership-admin{font-size:12px!important;margin:0!important;color:#8c5940!important;overflow-wrap:anywhere;}
.hqd .hqd-membership-admin a{text-decoration:underline;}
.hqd .hqd-membership-payg{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px;border:1px solid var(--hq-border);border-radius:12px;padding:20px 23px;background:#fffdfa;}
.hqd .hqd-membership-payg strong{font-size:18px;}
.hqd .hqd-membership-payg p{margin:6px 0 0!important;font-size:14px!important;color:#695b4d;}
.hqd .hqd-membership-footnote{margin:21px 0 0!important;font-size:13px!important;}
@media(max-width:1280px){.hqd .hqd-membership-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){.hqd .hqd-membership-grid{grid-template-columns:minmax(0,1fr);gap:13px;}.hqd .hqd-membership-desc{min-height:0;}.hqd .hqd-membership-payg{flex-direction:column;align-items:stretch;}.hqd .hqd-membership-payg .hqd-outline{width:100%;}.hqd .hqd-membership-card{padding:21px 17px!important;}}

/* HelloQuoto Dashboard v3.5.2: consistent, full-width membership plan CTAs.
   Presentation only; subscription checkout and product mapping are unchanged. */
.hqd .hqd-membership-card > form.hqm-join-form {
  width: 100%;
  display: block;
  margin-top: auto;
  margin-bottom: 0;
}
.hqd .hqd-membership-card > form.hqm-join-form > button.hqm-join {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
  cursor: pointer;
}
@media (max-width: 700px) {
  .hqd .hqd-membership-card > form.hqm-join-form > button.hqm-join {
    min-height: 50px;
    font-size: 16px;
  }
}
