@media (min-width:761px) and (min-height:601px), (min-width:1101px) {
/* Theme-matched working surfaces. Forest, Dark Mode and Bubble Mode keep their palettes.
   Variables live on the desktop workspace, so login artwork and phone skins are independent. */
html[data-hq-theme] body #horizon-booking-demo[data-horizon-theme=hq-test]{
 --ws-canvas:#cbc8d2;--ws-panel:#d8d4df;--ws-field:#faf9fc;--ws-inset:#eeebf2;--ws-line:#797383;--ws-ink:#282432;--ws-muted:#494352;--ws-accent:#503e63;--ws-error:#782635;
}
html[data-hq-theme] body #horizon-booking-demo[data-horizon-theme=hq]{
 --ws-canvas:#cecacb;--ws-panel:#ddd7db;--ws-field:#fcfafb;--ws-inset:#eee9ed;--ws-line:#7f747f;--ws-ink:#2c2630;--ws-muted:#4b414f;--ws-accent:#594057;--ws-error:#782635;
}
html[data-hq-theme] body #horizon-booking-demo[data-horizon-theme=evergreen]{
 --ws-canvas:#c5d0c7;--ws-panel:#d6e1d8;--ws-field:#f8fbf9;--ws-inset:#e8f0e9;--ws-line:#647b6a;--ws-ink:#20382a;--ws-muted:#354c3c;--ws-accent:#244c38;--ws-error:#842e39;
}
html[data-hq-theme] body #horizon-booking-demo[data-horizon-theme=midnight]{
 --ws-canvas:#c1ceda;--ws-panel:#d3dfea;--ws-field:#f8fafc;--ws-inset:#e7eef5;--ws-line:#637a91;--ws-ink:#20364a;--ws-muted:#354b60;--ws-accent:#244963;--ws-error:#782635;
}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]){--ha-paper:var(--ws-canvas);--ha-white:var(--ws-panel);--ha-soft:var(--ws-panel);--ha-wash:var(--ws-canvas);--ha-ink:var(--ws-ink);--ha-muted:var(--ws-muted);--ha-line:var(--ws-line);--ha-edge:var(--ws-line);--ha-accent:var(--ws-accent);--hd-bg:var(--ws-canvas);--hd-soft:var(--ws-panel);--hd-fg:var(--ws-ink);--hd-secondary:var(--ws-muted);--hd-line:var(--ws-line);--hd-action:var(--ws-accent);--hd-actiontext:#fff;background:var(--ws-canvas);color:var(--ws-ink)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-management,.hs-page,.hd-planner-sticky,.hd-location,.hq-quotes-page){background:var(--ws-canvas);color:var(--ws-ink)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-postcode-booking,.hd-map-column,.hd-details,.hd-overview-panel,.hd-customer-profile,.hi-editor,.hd-invoice-editor,.hs-card,.hd-metric,.hd-report-stat,.hr-charts,.hd-service-card,.hd-email-card,.hf-card,.hs-team-user,.hd-inline-editor,.hd-dialog,.hc-notes-card,.hc-records,.hd-profile-section,.hz-access-step){background:linear-gradient(145deg,color-mix(in srgb,var(--ws-panel) 88%,var(--ws-field)),var(--ws-panel));color:var(--ws-ink);border-color:var(--ws-line);box-shadow:inset 0 1px #ffffff38,0 3px 12px #12203012}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hc-contact-row,.hd-notes,.hd-customer-job-card,.hd-customer-invoice-card,.hn-note-tab,.hc-record-tabs,.hd-note-panel,.hi-invoice-row,.hi-calendar,.hd-booking-customer-summary,.hd-booking-customer-details,.hd-arrival-fields,.hd-customer-fields,.hd-booking-new-fields,.hd-booking-confirmation,.hd-booking-confirmation>.hd-dialog-actions,.hs-save-bar){background:var(--ws-panel);color:var(--ws-ink);border-color:var(--ws-line)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog,.hd-postcode-booking) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea,.hd-field,.hd-postcode-input){background:var(--ws-field);color:var(--ws-ink);border-color:var(--ws-line);box-shadow:inset 0 1px 3px #17203112;color-scheme:light}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is(select option,optgroup){background:var(--ws-field);color:var(--ws-ink)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) ::placeholder{color:var(--ws-muted);opacity:1}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is(label,.hd-label,legend,dt,.hd-meta,.hs-note,small){color:var(--ws-muted)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is(h1,h2,h3,h4,dd,.hc-booking-details dd){color:var(--ws-ink)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is(.hd-secondary,.hd-record-tabs button,.hd-profile-tab,.hs-preset,.hq-overview-tools button){background:var(--ws-field);color:var(--ws-ink);border-color:var(--ws-line);text-shadow:none}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is(.hd-primary,.hd-find-slot,.hd-book){background:linear-gradient(130deg,color-mix(in srgb,var(--ws-accent) 84%,#273747),var(--ws-accent));border-color:var(--ws-accent);color:#fff;text-shadow:none}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is(input,select,textarea,button):focus-visible{outline-color:var(--ws-accent);border-color:var(--ws-accent)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hq-quotes-page{--q-surface:var(--ws-panel);--q-field:var(--ws-field)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hz-access-flow{--hz-surface:var(--ws-panel)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) #hd-page-settings.hs-grouped .hs-group-tabs>button{background:var(--ws-panel);color:var(--ws-ink);border-color:var(--ws-line);box-shadow:inset 0 1px #ffffff30}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) #hd-page-settings.hs-grouped .hs-group-tabs>button[aria-selected=true]{background:var(--ws-accent);color:#fff;border-color:var(--ws-accent);box-shadow:none}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) #hd-page-settings.hs-grouped .hs-group-tabs>button[aria-selected=true] :is(span,small,strong){color:inherit}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hi-filters,.hi-scope,.hz-tabs,.hz-steps) :is([aria-pressed=true],[aria-selected=true]){background:var(--ws-accent);color:#fff;border-color:var(--ws-accent)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-sched-head,.hd-times,.hd-eng-label,.hd-engineer){background:var(--ws-panel);color:var(--ws-ink);border-color:var(--ws-line)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-track{--hd-line:color-mix(in srgb,var(--ws-line) 45%,var(--ws-canvas));background-color:var(--ws-field);border-color:var(--ws-line)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-lane:nth-child(odd) .hd-track{background-color:color-mix(in srgb,var(--ws-field) 65%,var(--ws-canvas))}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-draft-preview{background:color-mix(in srgb,var(--ws-accent) 14%,var(--ws-field));border-color:var(--ws-accent);color:var(--ws-ink)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-draft-resize::after{background:var(--ws-accent)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hd-page,.hd-dialog) :is([role=alert],.is-error,.hd-booking-error,.hd-draft-status.is-error,.hd-timeline-error,.hc-field-missing,.hc-detail-missing,.hc-missing-contact,.hd-required-empty){color:var(--ws-error)!important}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hz-onboarding-banner{background:var(--ws-panel);color:var(--ws-error);border-color:var(--ws-line)}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-page .hd-travel-leg-label{color:var(--ws-accent)}

html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hd-page :is(.hi-filters,.hi-scope,.hz-tabs,.hz-steps,.hd-record-tabs,.hc-record-tabs) button:is([aria-pressed=true],[aria-selected=true]){background:var(--ws-accent);color:#fff;border-color:var(--ws-accent);box-shadow:none}
/* Reading rows and inner groups sit one step above the containing card. */
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) :is(.hc-contact-row,.hc-notes-card,.hc-records,.hc-customer-records,.hd-profile-section,.hd-notes,.hd-booking-customer-summary,.hd-arrival-fields,.hd-booking-confirmation,.hi-invoice-row,.hi-parts>.hi-part-row){background:var(--ws-inset);border-color:var(--ws-line);box-shadow:inset 0 1px #ffffff90}
html[data-hq-theme] body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]) .hq-quotes-page{--q-surface:var(--ws-panel);--q-field:var(--ws-field)}
}

/* Edit entry points keep their theme's normal button surface; only the text is pink. */
html body #horizon-booking-demo{--hq-edit-ink:#ff91bd}
html body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq],[data-horizon-theme=hq-soft],[data-horizon-theme=evergreen],[data-horizon-theme=midnight]){--hq-edit-ink:#b01961}
html body #horizon-booking-demo :is(button,a,[role=button]).hq-edit-action{
 color:var(--hq-edit-ink)!important;text-shadow:none!important;font-weight:650;
}
html body #horizon-booking-demo .hq-edit-action :is(span,strong,small,svg){color:inherit!important}
html body #horizon-booking-demo :is(button,a,[role=button]).hq-edit-action:focus-visible{outline:3px solid var(--hq-edit-ink)!important;outline-offset:3px}

html body #horizon-booking-demo .hpg-general>summary b{color:#dc0b70!important;font-weight:750}
