/* Shared HQ density. Keep warning buttons below the job and phone cards independent. */

html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-lane.hd-has-protocol-controls,html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-has-protocol-controls .hd-track,html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-has-protocol-controls .hd-engineer{height:96px!important;min-height:96px!important}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-has-protocol-controls .hd-job{bottom:36px!important}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-protocol-controls{position:absolute;top:66px;z-index:7;max-width:132px;padding:3px 9px;min-height:24px;font-size:11px;line-height:16px;white-space:nowrap;border-color:#e3c04c;color:#ffe48a;background:#252311;box-shadow:0 2px 5px #0004}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-lane:not(.hd-vacant-lane),html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-lane:not(.hd-vacant-lane) .hd-track,html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-lane:not(.hd-vacant-lane) .hd-engineer{min-height:66px;height:66px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job{display:block;top:6px;bottom:6px;text-align:left;padding:5px 9px;overflow:hidden;border-radius:7px;box-shadow:inset 0 1px 0 #ffffff50,0 1px 3px #00000015}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-customer{display:block;font-size:13px;font-weight:750;letter-spacing:-.15px;line-height:15px;height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-location{display:block;font-size:11px;font-weight:500;line-height:12px;height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;height:14px;line-height:14px;color:inherit;opacity:1}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-arrival{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:14px;font-weight:500;font-variant-numeric:tabular-nums;color:inherit;opacity:1}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-kind{display:flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:14px;color:inherit;opacity:.95}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-kind svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job.hd-protocol-override{padding:4px 8px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job.hd-protocol-override .hd-job-customer{padding-right:21px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-customer{margin-bottom:0}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job .hd-job-meta{margin-top:0}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-postcode-booking{margin:0;padding:8px 16px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-heading{padding:7px 16px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-heading h2{margin-bottom:0}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-location{padding:0;gap:0;border-width:0}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) :is(.hd-map-column,.hd-details){margin:12px 8px;padding:16px;border-radius:17px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-schedule{border-radius:12px}
html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic]) .hd-job{border-radius:9px}

html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic])[data-density=compact] .hd-lane:not(.hd-vacant-lane),html body #horizon-booking-demo:is([data-horizon-theme=evergreen],[data-horizon-theme=midnight],[data-horizon-theme=hq-classic])[data-density=compact] .hd-lane:not(.hd-vacant-lane) :is(.hd-track,.hd-engineer){height:66px;min-height:66px}

/* Forest: warm white working surfaces within the deep green frame. */
html body #horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-postcode-booking,.hd-map-column,.hd-details){
 --ha-paper:#f1f3e9;--ha-white:#fffef8;--ha-soft:#e8ede1;--ha-ink:#243c2d;--ha-muted:#536451;--ha-line:#c3cdb9;
 --hd-fg:#243c2d;--hd-secondary:#536451;--hd-bg:#fffef8;--hd-soft:#edf1e6;--hd-line:#c3cdb9;
 background:linear-gradient(140deg,#fffef9,#f2f4eb);color:#243c2d;border-color:#bbc8ae;box-shadow:inset 0 1px #fff,0 5px 16px #04100833;
}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hd-details :is(.hd-customer-record,.hc-contact-row,.hc-notes-card,.hc-records,.hn-note-tab,.hc-record-tabs,.hd-note-panel,.hd-profile-section){background:#f0f3e9;color:#243c2d;border-color:#c3cdb9;box-shadow:none}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hd-details .hd-customer-record{background:transparent}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea,.hd-field,.hd-postcode-input){background:#fffdf4;color:#243c2d;border-color:#9fab92;box-shadow:inset 0 1px 3px #18342616;color-scheme:light}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] :is(select option,optgroup){background:#fffdf4;color:#243c2d}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] ::placeholder{color:#65745f}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hd-engineer{background:linear-gradient(125deg,#f3f2e6,#dfe7d5);color:#2c4431}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hd-engineer .hd-avatar{background:#35563d;color:#fffdf4}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hd-map-column .hmp-map{--ha-ink:#f0ead6;--ha-muted:#c0c8b1}
html body #horizon-booking-demo[data-horizon-theme=hq-classic] .hd-details :is([role=alert],.is-error,.hd-contact-attention,.hd-required-empty){color:#a52837}
