/* Quote-only companion to the invoice parts editor. Invoice selectors stay untouched. */
html body #horizon-booking-demo .hqp-draft-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:12px;padding:22px;border:1px solid var(--hd-line);border-radius:12px;background:var(--q-surface,var(--hd-soft));color:var(--hd-fg)}
html body #horizon-booking-demo .hqp-draft-footer aside{min-width:0;padding:16px;border:1px solid var(--hd-line);border-radius:9px;background:var(--q-field,var(--hd-bg))}
html body #horizon-booking-demo .hqp-draft-footer h4{margin:0 0 10px;font-size:15px;color:inherit}
html body #horizon-booking-demo .hqp-draft-footer aside>strong{display:block;font-size:18px;margin-bottom:14px;overflow-wrap:anywhere}
html body #horizon-booking-demo .hqp-draft-footer dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;font-size:13px}
html body #horizon-booking-demo .hqp-draft-footer dl>div:first-child{grid-column:1/-1}
html body #horizon-booking-demo .hqp-draft-footer dt{color:var(--hd-secondary);font-size:12px;margin-bottom:4px}
html body #horizon-booking-demo .hqp-draft-footer dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
html body #horizon-booking-demo .hqp-draft-actions{display:flex;flex-direction:column;align-self:center;min-width:0}
html body #horizon-booking-demo .hqp-draft-actions p{color:var(--hd-secondary);line-height:1.5;margin:0 0 18px}
html body #horizon-booking-demo .hqp-draft-actions .hwk-actions{display:flex;gap:10px;flex-wrap:wrap}
html body #horizon-booking-demo .hqp-draft-actions button{min-height:44px;font-weight:700}
html body #horizon-booking-demo .hqp-send-preview{box-sizing:border-box;width:min(1100px,96vw);max-width:1100px;height:92dvh;max-height:92dvh;padding:20px;background:var(--hd-bg);color:var(--hd-fg);border:1px solid var(--hd-line);border-radius:14px}
html body #horizon-booking-demo .hqp-send-preview[open]{display:flex;flex-direction:column;gap:14px}
html body #horizon-booking-demo .hqp-send-preview::backdrop{background:#080e18b8}
html body #horizon-booking-demo .hqp-send-preview header{display:flex;align-items:center;justify-content:space-between;gap:16px}
html body #horizon-booking-demo .hqp-send-preview h3,html body #horizon-booking-demo .hqp-send-preview p{margin:0}
html body #horizon-booking-demo .hqp-send-preview iframe{width:100%;flex:1;min-height:220px;border:1px solid var(--hd-line);background:#fff;border-radius:8px}
html body #horizon-booking-demo .hqp-preview-actions{display:flex;gap:16px;align-items:end;justify-content:space-between;flex-wrap:wrap}
html body #horizon-booking-demo .hqp-preview-actions label{display:grid;gap:6px;flex:1;min-width:180px}
html body #horizon-booking-demo .hqp-preview-note{font-size:12px;color:var(--hd-secondary)}
@media(max-width:760px){html body #horizon-booking-demo .hqp-draft-footer{grid-template-columns:1fr;padding:14px;gap:18px}html body #horizon-booking-demo .hqp-draft-actions button{flex:1}html body #horizon-booking-demo .hqp-draft-footer dl{grid-template-columns:1fr}}
html body #horizon-booking-demo .hqp-parts-section{
 --hi-field:var(--ws-field,var(--hd-bg,#172131));--hi-accent:var(--ws-accent,var(--hd-line,#53617a));--hi-panel:var(--ws-panel,var(--hd-soft,#202c3d));
 --hi-ink:var(--hd-fg,#eaf1ff);--hi-muted:var(--hd-secondary,#b6c3d8);--hi-edge:var(--ws-line,var(--hd-line,#53617a));
 --hi-part-odd:color-mix(in srgb,var(--hi-field) 88%,var(--hi-accent));--hi-part-even:color-mix(in srgb,var(--hi-field) 72%,var(--hi-accent));--hi-pink:var(--hq-edit-ink,#ff91bd);
 --hi-remove-bg:#f8dde4;--hi-remove-ink:#81273e;--hi-remove-edge:#a44c66;
 box-sizing:border-box;min-width:0;margin:0;padding:20px;border:1px solid var(--hi-edge);border-radius:12px;background:var(--hi-section-parts,var(--hi-panel));color:var(--hi-ink);box-shadow:inset 0 1px #ffffff16,0 3px 9px #0000000c;
}
html body #horizon-booking-demo .hqp-parts-section .hi-section-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid var(--hi-edge)}
html body #horizon-booking-demo .hqp-parts-section .hi-section-heading h4{font-size:17px;font-weight:700;line-height:1.4;color:var(--hi-ink);margin:0}
html body #horizon-booking-demo .hqp-parts-section .hi-section-step{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;width:29px;height:29px;border:1px solid var(--hi-edge);border-radius:9px;background:var(--hi-field);color:var(--hi-ink);font-size:12px;font-weight:750}
html body #horizon-booking-demo .hqp-parts-section label{display:grid;gap:5px;font-size:14px;font-weight:550;line-height:1.5;color:var(--hi-ink)!important;min-width:0}
html body #horizon-booking-demo .hqp-parts-section .hd-field{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:14px;line-height:1.45;background:var(--hi-field)!important;color:var(--hi-input-ink,var(--hi-ink))!important;border:1px solid var(--hi-edge)!important}
html body #horizon-booking-demo .hqp-parts-section .hi-section-help,html body #horizon-booking-demo .hqp-parts-section .hi-parts-empty{font-size:13px;line-height:1.55;color:var(--hi-muted)}
html body #horizon-booking-demo .hqp-parts-section .hi-section-help{margin:0 0 12px}
html body #horizon-booking-demo .hqp-parts-section .hi-add-part{margin:0 0 16px;min-width:0}
html body #horizon-booking-demo .hqp-parts-section .hi-category-squares{gap:7px}
html body #horizon-booking-demo .hqp-parts-section .hi-category-square.hd-secondary{box-sizing:border-box;width:54px;min-width:54px;height:56px;min-height:56px;padding:5px;font-size:10px;line-height:1.1}
html body #horizon-booking-demo .hqp-parts-section .hi-category-square span{overflow-wrap:normal}
html body #horizon-booking-demo .hqp-parts-section .hi-parts{display:grid;gap:14px;min-width:0}
html body #horizon-booking-demo .hqp-parts-section .hi-parts>.hi-part-row{display:grid;grid-template-columns:minmax(65px,.6fr) minmax(120px,1fr) auto;padding:16px;margin:0;gap:12px;align-items:end;border:1px solid var(--hi-edge);border-radius:10px;background:var(--hi-part-odd)!important;color:var(--hi-ink);box-shadow:inset 0 1px #ffffff12}
html body #horizon-booking-demo .hqp-parts-section .hi-parts>.hi-part-row:nth-child(even){background:var(--hi-part-even)!important}
html body #horizon-booking-demo .hqp-parts-section .hi-part-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--hi-edge);font-size:14px;line-height:1.4}
html body #horizon-booking-demo .hqp-parts-section .hi-part-choice{grid-column:1/-1;position:relative}
html body #horizon-booking-demo .hqp-parts-section .hi-line-total{font-size:13px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums}
html body #horizon-booking-demo .hqp-parts-section .hqp-part-meta{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
html body #horizon-booking-demo .hqp-parts-section .hqp-part-meta label{font-size:12px;font-weight:400}
html body #horizon-booking-demo .hqp-parts-section .hi-part-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;min-width:0}
html body #horizon-booking-demo .hqp-parts-section .hi-part-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 12px;font-size:13px;font-weight:700;white-space:nowrap;grid-column:auto;justify-self:auto}
html body #horizon-booking-demo .hqp-parts-section .hi-add-part-button.hd-secondary{margin-left:auto;padding:9px 15px;min-height:40px;font-size:14px;font-weight:750;color:var(--hi-pink)!important;white-space:nowrap}
html body #horizon-booking-demo .hqp-parts-section .hi-add-next-part{color:var(--hi-pink)!important}
html body #horizon-booking-demo .hqp-parts-section .hi-remove-part{background:var(--hi-remove-bg)!important;background-image:none!important;color:var(--hi-remove-ink)!important;border:1px solid var(--hi-remove-edge)!important;box-shadow:inset 0 1px #ffffff26}
html body #horizon-booking-demo .hqp-parts-section .hi-part-actions button:focus-visible{outline:3px solid var(--hi-edge);outline-offset:3px}
html body #horizon-booking-demo .hqp-parts-section .hi-parts-empty{margin:0;padding:18px;border:1px dashed var(--hi-edge);border-radius:9px;background:var(--hi-field)}
html body #horizon-booking-demo .hqp-parts-section [hidden]{display:none!important}
@media (min-width:761px) and (min-height:601px), (min-width:1101px){
 html body #horizon-booking-demo:is([data-horizon-theme=horizon],[data-horizon-theme=bubbles]) .hqp-parts-section{--hi-ink:#f1f5fc;--hi-muted:#d2ddeb;--hi-edge:#8c9bb0;--hi-section-parts:#25303f;--hi-part-odd:#465365;--hi-part-even:#3e4a5b;--hi-remove-bg:#633545;--hi-remove-ink:#fff1f3;--hi-remove-edge:#d9a0b1}
 html body #horizon-booking-demo[data-horizon-theme=evergreen] .hqp-parts-section{--hi-ink:#20382a;--hi-muted:#354c3c;--hi-edge:#607965;--hi-section-parts:#a6c2ac;--hi-part-odd:#e8f0e8;--hi-part-even:#dae7db}
 html body #horizon-booking-demo[data-horizon-theme=midnight] .hqp-parts-section{--hi-ink:#20364a;--hi-muted:#2e455b;--hi-edge:#607891;--hi-section-parts:#9cb9d1;--hi-part-odd:#e8f0f7;--hi-part-even:#dae6f1}
 html body #horizon-booking-demo[data-horizon-theme=hq-test] .hqp-parts-section{--hi-ink:#30233f;--hi-muted:#584665;--hi-edge:#8d78a2;--hi-section-parts:#bfa5d4}
 html body #horizon-booking-demo[data-horizon-theme=hq] .hqp-parts-section{--hi-ink:#35263b;--hi-muted:#5b4563;--hi-edge:#90759a;--hi-section-parts:#c1a5cb}
 html body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq]) .hqp-parts-section :is(.hi-part-row,.hi-section-step,.hi-parts-empty){--hi-ink:var(--ws-ink);--hi-muted:var(--ws-muted);--hi-edge:var(--ws-line)}
 html body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq]) .hqp-parts-section .hi-part-row{box-shadow:inset 0 1px #ffffff80,0 2px 5px #21132826}
 html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hqp-parts-section{--hi-ink:#243c2d;--hi-muted:#4d604f;--hi-edge:#9aaa94;--hi-field:#fff;--hi-accent:#28533c;--hi-section-parts:#dce8d3;--hi-part-odd:#f2f3f2;--hi-part-even:#d7dbd9;border-color:#8b9e84;box-shadow:0 3px 8px #172f2420}
 html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hqp-parts-section .hi-section-heading{margin:0 0 20px;padding:0;border:0}
 html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hqp-parts-section .hi-section-step{background:#fffdf6;color:#28533c;border-color:#9aaa94}
 html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hqp-parts-section :is(.hi-add-part-button,.hi-add-next-part){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;background:#fffdf6!important;background-image:none!important;color:#b01961!important;border:1px solid #b57993!important;border-radius:9px;box-shadow:none!important;font-weight:700;text-shadow:none}
 html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hqp-parts-section :is(.hi-add-part-button,.hi-add-next-part):hover{background:#fff0f5!important;border-color:#b01961!important}
}
@media(max-width:1100px){html body #horizon-booking-demo .hqp-parts-section .hi-part-actions{grid-column:1/-1}}
@media(max-width:760px), (max-width:1100px) and (max-height:600px){
 html body #horizon-booking-demo .hqp-parts-section{padding:14px;--hi-field:var(--pf-field,var(--hd-bg));--hi-panel:var(--pf-panel,var(--hd-soft));--hi-edge:var(--hd-line);--hi-ink:var(--hd-fg);--hi-muted:var(--hd-secondary);--hi-accent:var(--hd-line)}
 html body #horizon-booking-demo .hqp-parts-section .hi-parts>.hi-part-row{grid-template-columns:minmax(50px,.55fr) minmax(90px,1fr);padding:12px}
 html body #horizon-booking-demo .hqp-parts-section .hi-part-heading{align-items:flex-start}
 html body #horizon-booking-demo .hqp-parts-section .hqp-part-meta{gap:5px;flex-direction:column;align-items:flex-end}
}
