.qh-broker{max-width:1140px;margin:24px auto;padding:0 15px}
.qh-broker-hero{padding:clamp(18px,3.5vw,36px);border-radius:24px}
.qh-broker h1{font-size:clamp(1.65rem,4vw,2.4rem);line-height:1.2}
/* Match the full-width blue Agent Profile heading on the public quote form only. */
body:not(.home) .qh-broker .qh-broker-public-title{
  display:block;
  box-sizing:border-box;
  width:100%!important;
  max-width:100%;
  margin:0 0 24px;
  padding:18px 20px;
  background:#4fbcfd!important;
  border-radius:18px!important;
  color:#fff!important;
  text-align:center;
  line-height:1.2;
  overflow-wrap:break-word;
}
.qh-broker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:22px 0}
.qh-broker-grid label:not(.qh-broker-honey){display:flex;flex-direction:column;gap:7px;font-weight:700;min-width:0}
.qh-broker-grid input:not([type=checkbox]),.qh-broker-grid select,.qh-broker-grid textarea,
.qh-broker-details input[type=file]{font:inherit;box-sizing:border-box;border:1px solid #abcde3;border-radius:13px;padding:13px;background:#fff;color:#123451;width:100%;max-width:100%}
.qh-broker-grid input:focus,.qh-broker-grid select:focus,.qh-broker-grid textarea:focus{outline:3px solid #4fbcfd;outline-offset:1px}
.qh-broker-wide{grid-column:1/-1}
.qh-broker-days{display:flex;flex-wrap:wrap;gap:12px;border:1px solid #abcde3;border-radius:13px;padding:12px}
.qh-broker-days legend{font-weight:800;padding:0 7px}
.qh-broker-days label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px}
/* Public quote consent: compact statement, with policy links on separate lines. */
.qh-broker-consent-block{min-width:0}
.qh-broker-grid .qh-broker-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;font-size:.94rem;cursor:pointer}
.qh-broker-consent input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:4px 0 0;min-width:18px;min-height:18px}
.qh-broker-consent span{min-width:0;overflow-wrap:break-word}
.qh-broker .qh-broker-policy-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:14px;min-width:0}
.qh-broker .qh-broker-policy-links a{display:block;max-width:100%;color:#4fbcfd;text-decoration:underline;text-underline-offset:2px;overflow-wrap:break-word;font-weight:700}
.qh-broker .qh-broker-policy-links a:hover{color:#147db9}
.qh-broker .qh-broker-policy-links a:focus-visible{outline:2px solid #147db9;outline-offset:3px;border-radius:2px}
.qh-broker-map-note{padding:12px 14px;background:#e3f6ff;border-left:4px solid #4fbcfd;border-radius:10px;font-size:.92rem;color:#17405c}
.qh-broker-honey{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden}
.qh-broker-details{border:1px solid #b9d9ee;border-radius:15px;padding:16px;margin:20px 0}
.qh-broker-details summary{cursor:pointer;font-size:1.05rem}
.qh-broker-stack{display:grid;gap:15px}
.qh-broker-request-card{padding:22px;border-radius:20px;overflow-wrap:anywhere}
.qh-broker-card-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.qh-broker-state{padding:7px 11px;background:#e3f6ff;border-radius:999px;color:#175a87;font-weight:700;text-transform:capitalize}
.qh-broker-quote{border:1px solid #b9d9ee;background:#f4fbff;border-radius:12px;padding:15px;margin:12px 0}
.qh-broker-quote p{white-space:normal}
.qh-broker .quickhop-button{margin:7px 0}
.qh-broker-native-hidden{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none}
.qh-broker-grid gmp-place-autocomplete{display:block;min-height:50px;max-width:100%;--gmpx-color-surface:#fff;--gmpx-font-family:inherit}
.qh-broker-company-route{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
.qh-broker-company-route p{margin:4px 0}
@media(max-width:650px){.qh-broker-grid{grid-template-columns:1fr}.qh-broker-grid>*,.qh-broker-wide{grid-column:1}.qh-broker-company-route{grid-template-columns:1}.qh-broker-card-heading{align-items:flex-start}}

/* JS toggles trip-specific fields; override the grid label display rule. */
.qh-broker-grid [data-qh-broker-morning][hidden],.qh-broker-grid [data-qh-broker-afternoon][hidden]{display:none!important}
