/* canon-install-questions.css: the install questions on a quote (js/invoices/install-questions.js,
   feature_install_questions). Measurements are the approved mockup's (mockups/studio/polish-quote.css).
   Colours are the page's own --c-* names, so this follows the theme, a chosen look and the redesign. */
#iqHost {
  --surface: var(--c-card); --ground: var(--c-bg); --text: var(--c-text); --text-2: var(--c-text-2);
  --sep: var(--c-border-2); --sep-soft: var(--c-border);
  --accent: var(--c-on-wash-accent); --accent-fill: var(--c-cta); --accent-fill-h: var(--c-cta-h); --on-accent: var(--c-cta-fg); --accent-tint: var(--c-accent-soft);
  --orange: var(--c-on-wash-warn); --orange-tint: color-mix(in srgb, var(--c-warn) 14%, transparent);
  --red: var(--c-on-wash-danger); --red-tint: var(--c-danger-soft);
  --green: var(--c-on-wash-ok); --green-tint: color-mix(in srgb, var(--c-ok) 14%, transparent);
  --fill: rgba(120, 120, 128, .12); --fill-2: rgba(120, 120, 128, .2);
  --float: 0 8px 24px rgba(0, 0, 0, .12), 0 24px 60px rgba(0, 0, 0, .16); --lift: 0 0 0 .5px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .04); --scrim: rgba(0, 0, 0, .32);
  --out: cubic-bezier(.25, .8, .25, 1); --fig: 'Inter', system-ui, sans-serif;
  font-family: 'Sora', system-ui, -apple-system, sans-serif; font-size: 14px; line-height: 1.4; color: var(--text);
}
:root[data-theme="dark"] #iqHost {
  --fill: rgba(120, 120, 128, .24); --fill-2: rgba(120, 120, 128, .36);
  --accent: color-mix(in srgb, var(--c-on-wash-accent) 86%, #fff);
  --float: 0 0 0 .5px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .6); --lift: 0 0 0 .5px rgba(255, 255, 255, .07); --scrim: rgba(0, 0, 0, .55);
}
#iqHost *, #iqHost *::before, #iqHost *::after { box-sizing: border-box; }
/* A reset with no weight at all. With #iqHost's weight it beat every .iq-* rule below and wiped their fills. */
:where(#iqHost) :where(h2, h3, p, ul) { margin: 0; padding: 0; }
:where(#iqHost) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
:where(#iqHost) :where(input, select, textarea) { font: inherit; color: inherit; }
#iqHost i.ti { font-size: 16px; }

/* The window's own controls */
.iq-card { background: var(--surface); border-radius: 16px; box-shadow: var(--lift); }
#iqHost .iq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--fill); font-weight: 500; white-space: nowrap; transition: background-color .15s linear; }
#iqHost .iq-btn:hover { background: var(--fill-2); }
#iqHost .iq-btn.iq-pri { background: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
#iqHost .iq-btn.iq-pri:hover { background: var(--accent-fill-h); }
#iqHost .iq-mini { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fill); color: var(--accent); font-weight: 600; font-size: 13px; white-space: nowrap; }
#iqHost .iq-mini:hover { background: var(--fill-2); }
#iqHost .iq-ibtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); flex: none; }
#iqHost .iq-ibtn:hover { background: var(--fill); color: var(--text); }
#iqHost .iq-ibtn-sm { width: 26px; height: 26px; }
.iq-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--fill); }
#iqHost .iq-seg button { height: 28px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
#iqHost .iq-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 2px 6px rgba(0, 0, 0, .12); }
.iq-tog { position: relative; display: block; width: 38px; height: 23px; flex: none; cursor: pointer; }
.iq-tog input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.iq-tog i { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--fill-2); transition: background-color .2s linear; }
.iq-tog i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s var(--out); }
.iq-tog input:checked + i { background: var(--accent-fill); }
.iq-tog input:checked + i::after { transform: translateX(15px); }
.iq-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--fill); color: var(--text-2); white-space: nowrap; }
.iq-chip.iq-ok-chip { background: var(--green-tint); color: var(--green); }
.iq-chip.iq-warn-chip { background: var(--orange-tint); color: var(--orange); }
.iq-n { font-family: var(--fig); font-variant-numeric: tabular-nums; }
.iq-r { text-align: right; }
.iq-t2 { color: var(--text-2); }
.iq-sm { font-size: 12.5px; }
.iq-gap { flex: 1; }
.iq-cents { font-size: .82em; color: var(--text-2); }
.iq-settings { padding: 14px 14px 40px; }
.iq-rule { margin: 0 0 14px 2px; color: var(--text); }
.iq-sec { font-size: 15px; font-weight: 600; letter-spacing: -.012em; }
.iq-parts { padding: 14px 16px; }
.iq-parts-l { margin-top: 8px; list-style: none; padding: 0; }
.iq-parts-l li { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; gap: 10px; padding: 7px 0; box-shadow: 0 .5px 0 var(--sep-soft); align-items: baseline; }
.iq-parts-l li:last-child { box-shadow: none; }
.iq-parts-l em { font-style: normal; color: var(--text-2); font-size: 12.5px; display: block; }
.iq-parts-l .iq-pn { color: var(--text-2); font-size: 12.5px; font-family: var(--fig); white-space: nowrap; }

/* The sheet */
.iq-scrim { position: fixed; inset: 0; z-index: 1200; background: var(--scrim); animation: iqFade .2s linear; }
.iq-sheet { position: fixed; z-index: 1201; inset: 16px 24px; max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; background: var(--ground); border-radius: 18px; box-shadow: var(--float); overflow: hidden; animation: iqRise .32s var(--out); }
@keyframes iqFade { from { opacity: 0; } }
@keyframes iqRise { from { opacity: 0; transform: translateY(14px) scale(.99); } }
.iq-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 20px; background: var(--surface); box-shadow: 0 .5px 0 var(--sep); flex: none; }
.iq-top h2 { font-size: 16px; font-weight: 600; letter-spacing: -.014em; white-space: nowrap; }
.iq-tabs { display: flex; gap: 4px; margin-left: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.iq-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; color: var(--text-2); font-weight: 500; font-size: 13px; white-space: nowrap; }
.iq-tabs button svg.i { width: 14px; height: 14px; }
.iq-tabs button:hover { background: var(--fill); }
.iq-tabs button[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.iq-tabs button[aria-pressed="true"] .t2 { color: var(--accent); }
.iq-body { flex: 1; min-height: 0; overflow-y: auto; }
.iq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 14px; padding: 14px 14px 56px; align-items: start; }
.iq-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.iq-run { padding: 16px; position: sticky; top: 14px; display: flex; flex-direction: column; gap: 10px; }
.iq-lab { color: var(--text-2); font-weight: 500; }
.iq-big { margin: 0; font-family: var(--fig); font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.iq-big small { font-size: .56em; color: var(--text-2); font-weight: 500; }
.iq-run-lines { max-height: 330px; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.iq-run-sys { font-weight: 600; font-size: 13px; padding: 9px 0 3px; }
.iq-run-ln { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 6px 0; box-shadow: 0 .5px 0 var(--sep-soft); font-size: 13px; }
.iq-run-ln em { font-style: normal; color: var(--text-2); font-size: 12px; display: block; }
.iq-run-ln b { font-weight: 500; }
.iq-txt { min-width: 0; }
.iq-amt { display: inline-flex; align-items: flex-start; justify-content: flex-end; gap: 2px; }
.iq-pin-w { display: inline-flex; align-items: center; font-family: var(--fig); font-weight: 500; }
.iq-pin-w i { font-style: normal; }
.iq-pin-w:has(.iq-unset) i { display: none; }
.iq-pin { width: 82px; height: 26px; padding: 0 5px; border: 0; border-radius: 7px; background: none; color: var(--text); text-align: right; font-family: var(--fig); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 13px; transition: background-color .15s linear; -moz-appearance: textfield; appearance: textfield; }
.iq-pin::-webkit-inner-spin-button, .iq-field[type="number"]::-webkit-inner-spin-button, .iq-rate input::-webkit-inner-spin-button, .iq-inc input::-webkit-inner-spin-button, .iq-step input::-webkit-inner-spin-button { display: none; }
.iq-pin:hover { background: var(--fill); }
.iq-pin:focus { background: var(--fill); outline: 2px solid var(--accent); outline-offset: -1px; }
.iq-pin.iq-sm { width: 60px; height: 22px; font-size: 12px; }
.iq-pin.iq-unset { background: var(--orange-tint); color: var(--orange); width: 104px !important; }
.iq-pin.iq-unset::placeholder { color: var(--orange); font-weight: 500; opacity: 1; }
.iq-pin.iq-x-d { width: 100%; text-align: left; background: var(--fill); }
.iq-changed .iq-pin { color: var(--accent); font-weight: 600; }
.iq-acts { display: none; gap: 12px; margin-top: 2px; }
.iq-changed .iq-acts { display: flex; flex-wrap: wrap; }
.iq-act { font-size: 12px; font-weight: 600; color: var(--accent); }
.iq-act:hover { text-decoration: underline; }
.iq-run-add { align-self: flex-start; }
.iq-tbl .iq-pin { font-size: inherit; }
.iq-tbl .iq-pin.iq-unset { width: 84px !important; }
.iq-man { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.iq-man > label { font-weight: 500; }
.iq-man-in { display: inline-flex; align-items: center; gap: 4px; font-family: var(--fig); font-weight: 600; }
.iq-man input { width: 124px; text-align: right; font-family: var(--fig); font-weight: 600; }
.iq-man.iq-set input { color: var(--accent); }
.iq-man-note { flex: 0 0 100%; color: var(--text-2); font-size: 12.5px; }
.iq-man-note .iq-act { margin-left: 6px; }
.iq-warn { display: flex; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--orange-tint); color: var(--orange); font-size: 13px; font-weight: 500; }
.iq-warn.iq-red { background: var(--red-tint); color: var(--red); }
#iqRunWarn:empty { display: none; }
#iqRunWarn { display: flex; flex-direction: column; gap: 6px; }
.iq-rows { background: var(--ground); border-radius: 12px; }
.iq-rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 13px; box-shadow: 0 .5px 0 var(--sep-soft); }
.iq-rows > div:last-child { box-shadow: none; }
.iq-rows > div > span:first-child { color: var(--text-2); }
.iq-rows > div.iq-tot > span { color: var(--text); font-weight: 600; }

/* All on one page */
.iq-field { height: 38px; padding: 0 11px; border: 0; border-radius: 10px; background: var(--fill); color: var(--text); width: 100%; min-width: 0; }
.iq-field[type="number"], .iq-rate input, .iq-inc input, .iq-step input { -moz-appearance: textfield; appearance: textfield; }
.iq-field::placeholder { color: var(--text-2); }
textarea.iq-field { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; display: block; }
.iq-say { display: flex; gap: 8px; padding: 12px; align-items: center; }
.iq-say svg { color: var(--text-2); margin-left: 4px; flex: none; }
.iq-say .iq-field { flex: 1; }
.iq-qsec { padding: 2px 0 4px; }
.iq-qsec > h3 { font-size: 15px; font-weight: 600; letter-spacing: -.012em; padding: 12px 16px 6px; }
.iq-qrow { display: grid; grid-template-columns: 186px minmax(0, 1fr); gap: 14px; padding: 10px 16px; align-items: start; box-shadow: inset 0 -.5px 0 var(--sep-soft); }
.iq-qsec .iq-qrow:last-child { box-shadow: none; }
.iq-ql { padding-top: 9px; font-weight: 500; }
.iq-flash { animation: iqFlash 1.4s linear; }
@keyframes iqFlash { 0%, 50% { background: var(--accent-tint); } 100% { background: transparent; } }
.iq-opts { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.iq-opt { display: inline-flex; flex-direction: column; justify-content: center; min-height: 38px; padding: 4px 13px; border-radius: 10px; background: var(--fill); font-weight: 500; text-align: left; line-height: 1.22; transition: background-color .12s linear, transform .12s var(--out); }
.iq-opt:hover { background: var(--fill-2); }
.iq-opt:active { transform: scale(.97); }
.iq-opt small { font-size: 11.5px; font-weight: 400; color: var(--text-2); font-family: var(--fig); }
.iq-opt small.iq-nd, .iq-tile small.iq-nd { color: var(--orange); font-weight: 500; font-family: inherit; }
.iq-opt[aria-pressed="true"] { background: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.iq-opt[aria-pressed="true"] small, .iq-opt[aria-pressed="true"] small.iq-nd { color: var(--on-accent); }
.iq-step { display: inline-flex; align-items: center; background: var(--fill); border-radius: 10px; height: 38px; }
.iq-step button { width: 38px; height: 38px; display: grid; place-items: center; color: var(--accent); font-size: 18px; font-weight: 500; border-radius: 10px; }
.iq-step button:hover { background: var(--fill-2); }
.iq-step input { width: 46px; border: 0; background: none; color: var(--text); text-align: right; font-family: var(--fig); font-weight: 600; }
.iq-step i { font-style: normal; color: var(--text-2); padding-right: 2px; margin-left: 3px; }
.iq-note { width: 100%; color: var(--text-2); font-size: 12.5px; padding-top: 3px; font-family: var(--fig); }
.iq-note.iq-over { color: var(--red); font-weight: 500; }
.iq-unit { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 3px; }
.iq-unit label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.iq-unit label .iq-field { color: var(--text); font-size: 14px; }
.iq-unit .iq-seg { justify-self: start; max-width: 100%; }
.iq-unit-is { font-size: 13px; color: var(--text-2); font-family: var(--fig); overflow-wrap: anywhere; }
.iq-unit-is b { color: var(--text); font-weight: 600; }
#rbtModal { z-index: 1300; }
.iq-rb { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; font-size: 14px; }
.iq-rb-d { min-width: 0; overflow-wrap: anywhere; }
.iq-rb-d em { display: block; font-style: normal; font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.iq-rb-a { grid-column: 1 / -1; display: flex; gap: 12px; }
.iq-rb-rows { margin-top: 10px; }
.iq-unit-money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.iq-unit-money .iq-man-in { color: var(--text); font-weight: 500; min-width: 0; }
.iq-money { font-family: var(--fig); text-align: right; }

/* One at a time */
.iq-one { padding: 18px 16px; display: flex; flex-direction: column; }
.iq-prog { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 13px; }
.iq-bar { flex: 1; height: 4px; background: var(--fill); border-radius: 99px; overflow: hidden; }
.iq-bar i { display: block; height: 100%; background: var(--accent-fill); border-radius: 99px; transition: width .3s var(--out); }
.iq-one h3 { font-size: 22px; font-weight: 600; letter-spacing: -.024em; line-height: 1.15; margin-top: 16px; }
.iq-help { color: var(--text-2); margin-top: 5px; }
.iq-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.iq-tile { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 13px; border-radius: 14px; background: var(--fill); text-align: left; font-weight: 600; font-size: 15px; transition: background-color .12s linear, transform .12s var(--out); }
.iq-tile:hover { background: var(--fill-2); }
.iq-tile:active { transform: scale(.98); }
.iq-tile small { font-size: 12.5px; font-weight: 400; color: var(--text-2); font-family: var(--fig); }
.iq-art { width: 100%; max-width: 124px; height: 66px; margin-bottom: 6px; color: var(--text-2); }
.iq-tile[aria-pressed="true"] { background: var(--accent-fill); color: var(--on-accent); }
.iq-tile[aria-pressed="true"] small, .iq-tile[aria-pressed="true"] small.iq-nd, .iq-tile[aria-pressed="true"] .iq-art { color: var(--on-accent); }
.iq-acc { stroke: var(--accent); }
.iq-tile[aria-pressed="true"] .iq-acc { stroke: var(--on-accent); }
.iq-one-body { margin-top: 20px; }
.iq-one-foot { display: flex; align-items: center; gap: 8px; padding-top: 24px; }
.iq-crumbs { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 14px; }
.iq-crumbs button { height: 26px; padding: 0 10px; border-radius: 999px; background: var(--fill); font-size: 12.5px; color: var(--text-2); }
.iq-crumbs button:hover { background: var(--fill-2); }
.iq-crumbs button b { color: var(--text); font-weight: 600; }

/* Review */
.iq-rev { padding: 14px 16px 16px; }
.iq-rev-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.iq-rev-h h3 { font-size: 15px; font-weight: 600; margin-right: auto; }
.iq-tbl { display: grid; grid-template-columns: minmax(0, 1fr) 56px 88px 92px; gap: 0 10px; font-size: 13.5px; }
.iq-tbl > * { padding: 7px 0; box-shadow: 0 .5px 0 var(--sep-soft); }
.iq-h { font-size: 12px; font-weight: 500; color: var(--text-2); padding-top: 0; }
.iq-tog-c { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.iq-tog-c div { flex: 1; min-width: 0; }
.iq-tog-c b { font-weight: 500; display: block; }
.iq-foot { display: none; }

/* Install rates and questions */
.iq-rule { margin: 0 0 14px; color: var(--text); }
.iq-set-sec { margin-bottom: 14px; overflow: hidden; }
.iq-set-sec > header { padding: 13px 16px 9px; }
.iq-set-sec > header p { color: var(--text-2); font-size: 13px; margin-top: 2px; max-width: 760px; }
.iq-rate-h, .iq-rate { display: grid; grid-template-columns: minmax(0, 1.5fr) 150px 88px 108px 96px; gap: 10px; padding: 0 16px; align-items: center; }
.iq-rate-h { height: 28px; font-size: 12px; font-weight: 500; color: var(--text-2); box-shadow: 0 .5px 0 var(--sep-soft), 0 -.5px 0 var(--sep-soft); }
.iq-rate { min-height: 48px; box-shadow: 0 .5px 0 var(--sep-soft); }
.iq-rate:last-child { box-shadow: none; }
.iq-nm { font-weight: 500; min-width: 0; }
.iq-nm em { display: block; font-style: normal; font-weight: 400; color: var(--text-2); font-size: 12.5px; }
.iq-rate input { height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: var(--fill); color: var(--text); width: 100%; text-align: right; font-family: var(--fig); }
.iq-rate input.iq-unset { background: var(--orange-tint); }
.iq-rate input::placeholder { color: var(--orange); }
.iq-rl { display: none; }
.iq-covered { display: block; text-align: right; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.iq-rate-tog { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.iq-rate .iq-tog input { width: 100%; height: 100%; padding: 0; }
.iq-inc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; background: var(--accent-tint); }
.iq-inc input { width: 62px; height: 32px; border: 0; border-radius: 8px; background: var(--surface); color: var(--text); text-align: right; padding: 0 8px; font-family: var(--fig); }
/* Customising: moving things, usual answers, presets, wording, the quote page */
.iq-rule b { font-weight: 600; }
.iq-sec-h { display: flex; align-items: center; gap: 8px; padding: 9px 12px 9px 8px; box-shadow: 0 .5px 0 var(--sep-soft); }
.iq-sec-h input { flex: 1; min-width: 0; height: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: none; font-size: 15px; font-weight: 600; color: var(--text); }
.iq-sec-h input:hover, .iq-sec-h input:focus { background: var(--fill); }
.iq-qr { display: grid; grid-template-columns: auto 42px minmax(0, 1fr) 216px; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; box-shadow: 0 .5px 0 var(--sep-soft); transition: background-color .3s linear; }
.iq-qr:last-child { box-shadow: none; }
.iq-qr.iq-child { grid-template-columns: 42px minmax(0, 1fr) 216px; padding-left: 44px; background: color-mix(in srgb, var(--fill) 45%, transparent); }
.iq-moved { background-color: var(--accent-tint); }
.iq-drop { box-shadow: inset 0 2px 0 var(--accent); }
.iq-mv { display: inline-flex; align-items: center; color: var(--text-2); flex: none; }
.iq-grip { width: 20px; height: 30px; display: grid; place-items: center; cursor: grab; font-size: 15px; letter-spacing: -2px; user-select: none; }
#iqHost .iq-mvb { width: 28px; height: 30px; border-radius: 7px; font-size: 11px; color: var(--text-2); }
#iqHost .iq-mvb:hover:not(:disabled) { background: var(--fill-2); color: var(--text); }
#iqHost .iq-mvb:disabled { opacity: .3; cursor: default; }
.iq-wd { min-width: 0; }
.iq-off { opacity: .55; }
.iq-link-t { display: block; font-size: 12px; color: var(--text-2); padding: 1px 0 0 2px; }
.iq-asked { color: var(--text-2); font-size: 12.5px; }
.iq-empty { display: block; padding: 12px 16px; }
.iq-usualc { height: 32px; font-size: 13px; padding: 0 8px; }
.iq-usualn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.iq-usualn .iq-field { width: 68px; height: 32px; text-align: right; font-family: var(--fig); font-size: 13px; }
.iq-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.iq-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 2px 16px 14px; }
.iq-chipx { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 3px 6px 3px 11px; border-radius: 9px; background: var(--fill); font-size: 13px; font-weight: 500; }
#iqHost .iq-chipx button { color: var(--text-2); display: grid; place-items: center; width: 20px; height: 20px; }
#iqHost .iq-chipx button i.ti { font-size: 13px; }
.iq-lrs { padding: 0 16px 6px; }
.iq-lr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; box-shadow: 0 .5px 0 var(--sep-soft); }
.iq-lr:last-child { box-shadow: none; }
.iq-lr b { display: block; font-weight: 500; }
.iq-lr small { display: block; color: var(--text-2); font-size: 12.5px; }
.iq-lr-l { display: flex; align-items: center; gap: 6px; min-width: 0; }
.iq-lr-r { display: inline-flex; align-items: center; gap: 12px; }
.iq-lr-g { flex: 1; min-width: 0; }
.iq-del { color: var(--red); }
.iq-nq { padding: 0 16px 16px; }
.iq-lab { display: block; font-size: 12.5px; color: var(--text-2); margin: 10px 0 3px; }
.iq-nqrow { display: grid; grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr) 26px; gap: 6px; align-items: center; margin-top: 8px; }
.iq-presetbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 14px; }
.iq-preset { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 14px 12px 8px; box-shadow: 0 .5px 0 var(--sep-soft); }
.iq-preset:last-child { box-shadow: none; }
.iq-preset-m input { width: 100%; height: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: none; font-weight: 600; color: var(--text); }
.iq-preset-m input:hover, .iq-preset-m input:focus { background: var(--fill); }
.iq-preset-m p { padding: 2px 6px 0; font-size: 12.5px; color: var(--text-2); }
.iq-preset-a { display: flex; gap: 12px; padding-top: 6px; }
.iq-ins { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
#iqHost .iq-ins button { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--accent-tint); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.iq-pv { white-space: pre-wrap; padding: 12px 14px; border-radius: 12px; background: var(--ground); line-height: 1.5; }
.iq-pv-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.iq-remember { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); }
.iq-remember .iq-tog { display: block; }

@media (max-width: 1120px) {
  .iq-qrow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .iq-ql { padding-top: 0; }
  .iq-rate-h, .iq-rate { grid-template-columns: minmax(0, 1fr) 140px 76px 96px 90px; }
}
@media (max-width: 820px) {
  .iq-sheet { inset: 0; border-radius: 0; }
  .iq-top { padding-left: 14px; flex-wrap: wrap; }
  .iq-tabs { margin-left: 0; }
  .iq-top .iconbtn { margin-left: auto; }
  .iq-grid { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .iq-grid > .iq-run { display: none; }
  .iq-grid.iq-rev-grid > .iq-run { display: flex; position: static; }
  .iq-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -.5px 0 var(--sep); flex: none; }
  .iq-foot .iq-big { font-size: 24px; }
  .iq-foot .iq-big small { font-size: 14px; }
  .iq-foot p { font-size: 12px; color: var(--text-2); margin: 0; }
  .iq-opt { min-height: 44px; }
  .iq-step, .iq-step button { height: 44px; }
  .iq-step button { width: 44px; }
  .iq-field { height: 44px; font-size: 16px; }
  .iq-step input, .iq-pin, .iq-rate input, .iq-inc input { font-size: 16px; }
  .iq-pin.iq-sm { font-size: 16px; height: 26px; }
  .iq-tbl { grid-template-columns: minmax(0, 1fr) auto auto; }
  .iq-c-q { display: none; }
  .iq-say { flex-wrap: wrap; }
  .iq-say > svg { display: none; }
  .iq-say .iq-field { flex: 1 1 100%; }
  .iq-rate-h { display: none; }
  .iq-rate { grid-template-columns: minmax(0, 1fr) 1fr; padding-top: 11px; padding-bottom: 11px; gap: 8px 10px; }
  .iq-nm { grid-column: 1 / -1; }
  .iq-rl { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 2px; text-align: left; }
  .iq-rate-tog .iq-rl { margin-bottom: 0; flex: 1; }
  .iq-rate > div:has(> .iq-covered), .iq-rate:has(.iq-covered) > div:empty { display: none; }
  .iq-rate > .iq-r:last-child:has(.iq-rate-tog) { grid-column: 1 / -1; }
  /* Every switch in one place, on the right, and big enough for a thumb. Approved in mockups/quote-customise. */
  .iq-tog { width: 46px; height: 28px; }
  .iq-tog i::after { width: 24px; height: 24px; }
  .iq-tog input:checked + i::after { transform: translateX(18px); }
  .iq-grip { display: none; }
  .iq-settop > h2 { display: none; }
  .iq-settop > .iq-mini { margin-right: auto; }
  #iqHost .iq-mvb { width: 36px; height: 40px; }
  .iq-qr, .iq-qr.iq-child { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'w t' 'u m'; padding: 10px 12px; }
  .iq-qr.iq-child { grid-template-areas: 'w t' 'u u'; }
  .iq-qr > .iq-wd { grid-area: w; }
  .iq-qr > .iq-tog { grid-area: t; align-self: start; justify-self: end; margin-top: 8px; }
  .iq-qr > .iq-usualc, .iq-qr > .iq-usualn, .iq-qr > .iq-asked { grid-area: u; }
  .iq-qr > .iq-mv { grid-area: m; justify-self: end; }
  .iq-usualc { height: 44px; font-size: 16px; }
  .iq-usualn .iq-field { height: 44px; font-size: 16px; }
  .iq-two { grid-template-columns: minmax(0, 1fr); }
  .iq-nqrow { grid-template-columns: minmax(0, 1fr) 90px 26px; }
  .iq-nqrow .iq-w { grid-column: 1 / -1; grid-row: 2; }
  .iq-preset { grid-template-columns: minmax(0, 1fr) auto; }
  .iq-preset > .iq-mv { grid-column: 2; grid-row: 1; }
  .iq-preset-m { grid-column: 1; grid-row: 1; }
  .iq-preset-a { grid-column: 1 / -1; padding: 0 6px; }
  .iq-tabs { order: 3; flex: 0 0 100%; }
}
@media (prefers-reduced-motion: reduce) { .iq-scrim, .iq-sheet, .iq-flash { animation: none; } .iq-opt, .iq-tile, .iq-bar i { transition: none; } }

/* The way in, beside the add-line search on the quote */
:root.canon-v5 .v3-addline { position: relative; }
:root.canon-v5 .v3-addline .iq-entry { display: inline-flex; align-items: center; gap: 5px; flex: none; height: 30px; margin-left: 8px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--c-cta); color: var(--c-cta-fg); font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
:root.canon-v5 .v3-addline .iq-entry:hover { background: var(--c-cta-h); }
:root.canon-v5 .v3-addline .iq-entry i { font-size: 15px; color: inherit; }
:root.canon-v5 .v3-addline .iq-entry.iq-alt { background: var(--c-bg-2, rgba(120, 120, 128, .13)); color: var(--c-on-wash-accent); }
:root.canon-v5 .v3-addline .iq-entry.iq-alt:hover { background: rgba(120, 120, 128, .23); }
:root.canon-v5 #editorView.is-v3 .v3-addline:has(.iq-entry) { flex-wrap: wrap; row-gap: 6px; }
:root.canon-v5 #editorView.is-v3 .v3-addline:has(.iq-entry) input#v3AddIn { flex: 1 1 200px; min-width: 0; }
:root.canon-v5 #editorView.is-v3 .v3-user-off { display: none !important; }
:root.canon-v5 #editorView.is-v3 .v3-customise { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 4px 2px; border: 0; background: none; color: var(--c-text-2); font: inherit; font-size: 13px; cursor: pointer; }
:root.canon-v5 #editorView.is-v3 .v3-customise:hover { color: var(--c-on-wash-accent); }
:root.canon-v5 #editorView.is-v3 .v3-tplbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
:root.canon-v5 #editorView.is-v3 .v3-tplbar__l { color: var(--c-text-2); font-size: 13px; }
:root.canon-v5 #editorView.is-v3 .v3-tplbar__gap { flex: 1; }
:root.canon-v5 #editorView.is-v3 .v3-tplbar__b { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(120, 120, 128, .13); color: var(--c-on-wash-accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
:root.canon-v5 #editorView.is-v3 .v3-tplbar__b:hover { background: rgba(120, 120, 128, .23); }
:root.canon-v5 #editorView.is-v3 .v3-tplbar__in { flex: 1 1 200px; min-width: 0; }

/* What other tradies charge (feature_quote_market_check), under the Check and add rail */
.iq-mc { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 14px; box-shadow: 0 -.5px 0 var(--sep-soft); }
.iq-mc-h { font-size: 13.5px; font-weight: 600; color: var(--text); }
.iq-mc .iq-btn .ti { margin-right: 6px; }
.iq-mc-area { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-2); }
.iq-mc-area .iq-field { color: var(--text); font-size: 14px; }
.iq-mc-busy { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); }
.iq-mc-busy .ti { animation: iq-mc-spin 1s linear infinite; flex: none; margin-top: 1px; }
@keyframes iq-mc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .iq-mc-busy .ti { animation: none; } }
.iq-mc-say { font-size: 14px; font-weight: 600; color: var(--text); }
.iq-mc-say.iq-mc-low, .iq-mc-say.iq-mc-high { color: var(--orange); }
.iq-mc-bar { position: relative; height: 10px; border-radius: 5px; background: var(--fill); margin: 6px 0 2px; }
.iq-mc-bar i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--accent-tint); }
.iq-mc-bar b { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.iq-mc-bar b.iq-mc-low, .iq-mc-bar b.iq-mc-high { background: var(--orange); }
.iq-mc-ends { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--text-2); font-family: var(--fig); padding: 0 calc(15% - 22px); }
.iq-mc-notes { margin: 0; padding-left: 16px; list-style: disc; font-size: 12.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }
.iq-mc-links { color: var(--text-2); overflow-wrap: anywhere; }
.iq-mc-links a { color: var(--accent); }
