/* Briggs quote request: card-style choices on Gravity Forms markup.
   Colors and type come from the Briggs design system tokens. */
.brq-form {
  --brq-ink: #201e1e; --brq-muted: #5f5b5b; --brq-plate: #eef0f0; --brq-line: #d5d9d9;
  --brq-control: #7d8384; --brq-cyan-text: #00739a; --brq-red: #da251d;
  color: var(--brq-ink);
}
.brq-form .gfield_label { font-weight: 700; font-size: 17px; line-height: 26px; }
.brq-form .gfield_description { color: var(--brq-muted); font-size: 14px; line-height: 20px; }
.brq-form input[type=text], .brq-form input[type=email], .brq-form input[type=tel],
.brq-form input[type=number], .brq-form textarea {
  min-height: 48px; padding: 12px 16px; border: 1px solid var(--brq-control); border-radius: 3px; font-size: 17px;
}
.brq-form textarea { min-height: 132px; }
.brq-optional { color: var(--brq-muted); margin: 0; }

/* Choice cards */
.gform-theme--framework .brq-form .brq-cards .gfield_radio { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gform-theme--framework .brq-form .brq-cards .gchoice { position: relative; margin: 0; }
.gform-theme--framework .brq-form .brq-cards .gchoice input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gform-theme--framework .brq-form .brq-cards .gchoice label {
  display: block; max-width: none; height: 100%; margin: 0; padding: 16px 16px 16px 48px; cursor: pointer;
  background: #fff; border: 1px solid var(--brq-control); border-radius: 3px; font-weight: 700; position: relative;
}
.gform-theme--framework .brq-form .brq-cards .gchoice label::before {
  content: ""; position: absolute; left: 16px; top: 18px; width: 22px; height: 22px;
  border: 2px solid var(--brq-control); border-radius: 50%; box-sizing: border-box; background: #fff;
}
.gform-theme--framework .brq-form .brq-cards .gchoice label small { display: block; font-weight: 400; font-size: 14px; line-height: 20px; color: var(--brq-muted); margin-top: 4px; }
.gform-theme--framework .brq-form .brq-cards .gchoice input:checked + label { background: var(--brq-plate); border: 2px solid var(--brq-ink); padding: 15px 15px 15px 47px; }
.gform-theme--framework .brq-form .brq-cards .gchoice input:checked + label::before { border-color: var(--brq-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--brq-ink); left: 15px; top: 17px; }
.gform-theme--framework .brq-form .brq-cards .gchoice input:focus-visible + label { outline: 3px solid var(--brq-cyan-text); outline-offset: 2px; }
.gform-theme--framework .brq-form .brq-cards .gchoice_other_control { margin-top: 8px; width: 100%; }
.gform-theme--framework .brq-form .brq-products .gfield_radio { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.brq-note { margin-top: 8px; padding: 10px 14px; background: var(--brq-plate); border-left: 4px solid var(--brq-ink); font-size: 15px; }
.brq-form .gform_page_footer .button, .brq-form .gform_footer .button { min-height: 48px; padding: 12px 24px; font-weight: 700; }
.brq-sent h2 { margin-bottom: 8px; }
.brq-sent-id { font-size: 18px; }
@media (max-width: 640px) { .gform-theme--framework .brq-form .brq-cards .gfield_radio { grid-template-columns: 1fr; } }

/* "Fill in the form from this" (step 1) */
.gform-theme--framework .brq-form .brq-fill { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.gform-theme--framework .brq-form .brq-fill__btn {
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--brq-ink); border-radius: 3px;
  background: #fff !important; color: var(--brq-ink) !important; border-color: var(--brq-ink) !important;
  font: inherit; font-weight: 700; cursor: pointer; box-shadow: none !important;
}
.gform-theme--framework .brq-form .brq-fill__btn:hover { background: var(--brq-plate) !important; }
.gform-theme--framework .brq-form .brq-fill__btn:focus-visible { outline: 3px solid var(--brq-cyan-text); outline-offset: 2px; }
.gform-theme--framework .brq-form .brq-fill__btn[disabled] { cursor: progress; opacity: .7; }
.gform-theme--framework .brq-form .brq-fill__hint { color: var(--brq-muted); font-size: 14px; line-height: 20px; }
.gform-theme--framework .brq-form .brq-filled { display: grid; gap: 6px; margin-top: 12px; padding: 16px 20px; background: var(--brq-plate); border-radius: 3px; }
.gform-theme--framework .brq-form .brq-filled[hidden] { display: none; }
.gform-theme--framework .brq-form .brq-filled small { color: var(--brq-muted); font-size: 14px; }

/* "Your request" ticket beside the form */
.brq-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.brq-layout > .gform_wrapper { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.brq-side { flex: 1 1 300px; min-width: 0; display: grid; gap: 12px; position: sticky; top: 24px; color: #201e1e; }
.brq-ticket { display: grid; gap: 12px; padding: 20px 22px 22px; background: #fff; border: 1px solid #d5d9d9; box-shadow: 0 1px 0 #2020201a, 0 12px 24px -14px #20202066; }
.brq-ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid #373435; padding-bottom: 8px; }
.brq-ticket__title { font-family: "League Gothic", "Alternate Gothic No2 D", "Arial Narrow", sans-serif; font-size: 28px; line-height: 1.05; letter-spacing: .015em; }
.brq-ticket__id { font-family: "League Gothic", "Alternate Gothic No2 D", "Arial Narrow", sans-serif; font-size: 22px; letter-spacing: .03em; }
.brq-ticket__row { display: grid; grid-template-columns: 9.5em 1fr; gap: 8px; align-items: end; font-size: 14px; line-height: 20px; }
.brq-ticket__value { font-size: 16px; line-height: 22px; font-weight: 700; border-bottom: 1px solid #7d8384; min-height: 23px; padding-bottom: 1px; overflow-wrap: anywhere; }
.brq-ticket__value--new { background: #fff7c2; box-shadow: 0 0 0 3px #fff7c2; }
.brq-ticket__codes { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.brq-ticket__box { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #5f5b5b; }
.brq-ticket__box::before { content: ""; width: 14px; height: 14px; border: 1.5px solid #7d8384; background: #fff; }
.brq-ticket__box[data-on] { color: #201e1e; font-weight: 700; }
.brq-ticket__box[data-on]::before { background: #201e1e; border-color: #201e1e; }
.brq-ticket__foot { margin: 0; color: #5f5b5b; font-size: 14px; line-height: 20px; }
@media (max-width: 900px) { .brq-side { position: static; } }
