/* HQ – Classic: forest plaster, shaded joinery and warm lamplight. */
.hqc-login-help{display:none}
html[data-hq-theme=hq-classic]{
 --ha-deep:#0c1c14;--ha-frame:#183426;--ha-mid:#35563d;--ha-paper:#172d21;--ha-white:#213c2c;
 --ha-soft:#263e2c;--ha-wash:#344a30;--ha-ink:#f0ead6;--ha-muted:#c0c8b1;--ha-line:#526348;
 --ha-accent:#dec38a;--ha-edge:#9d996b;--ha-gold:#d6b975;--ha-shadow:#040e0a5c;--ha-serif:Georgia,'Times New Roman',serif;
 --hqc-panel:radial-gradient(ellipse at 8% 0%,#d7bc6a0c,transparent 62%),linear-gradient(140deg,#2b4430 0%,#203b2a 40%,#162d20 100%);
 --hqc-inset:linear-gradient(145deg,#10251a,#1b3323 72%,#263d29);color-scheme:dark;background:#0c1c14;
}
html[data-hq-theme=hq-classic] body{background:radial-gradient(ellipse at 20% 0%,#7d71372b,transparent 55%),linear-gradient(120deg,#0b1912,#1b3323 60%,#101f16);color:var(--ha-ink)}
html[data-hq-theme=hq-classic] :focus-visible{outline-color:#e4c985}
#horizon-booking-demo[data-horizon-theme=hq-classic]{color-scheme:dark;background:linear-gradient(135deg,#263c29,#172d20 42%,#11241a);border-color:#69714d80;box-shadow:0 25px 85px #0007,inset 0 1px #ede1b626}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-top{background:radial-gradient(ellipse at 68% -10%,#d8be7647,transparent 50%),linear-gradient(112deg,#193728,#25432e 45%,#0e2519);border-bottom-color:#9f8953;box-shadow:inset 0 1px #e9d6a333,inset 0 -14px 24px #07150b4d,0 8px 22px #0003}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-top::before{background:radial-gradient(ellipse at 67% 100%,#dfbb5833,transparent 36%);box-shadow:inset 0 -1px #e5c77f40}
#horizon-booking-demo[data-horizon-theme=hq-classic] .ha-brand-monogram{color:#eee5c6;text-shadow:0 3px 4px #0008,0 -1px #fff9}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-top .hd-nav button[aria-selected=true]{background:linear-gradient(130deg,#eed8a1,#c6ab6b);color:#20301e;border-color:#d8c18a;box-shadow:0 4px 12px #0004,inset 0 1px #fff8}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-top .hd-nav button[aria-selected=true]::after{background:#816c38}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-top .hq-account-card{background:linear-gradient(135deg,#12271c90,#29443170);border-color:#b6a7734f;box-shadow:inset 0 1px #e3d3a019,0 4px 14px #0002}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-page,.hd-management,.hs-page,.hd-planner-sticky){background:linear-gradient(130deg,#223b28,#172d21 65%,#14281c)}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-heading{background:radial-gradient(ellipse at 5% 0,#c5a45213,transparent 70%)}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-location{background:linear-gradient(155deg,#1c3424,#10251a);border-color:#64704a70}
/* Raised surfaces catch a little warm light; inset fields stay quiet. */
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-postcode-booking,.hd-map-panel,.hd-overview-panel,.hd-customer-profile,.hd-customer-record,.hs-card,.hd-metric,.hd-invoice-editor,.hd-driver-job,.hd-booking-dialog,.hd-job-dialog,.hd-customer-dialog,.hd-driver-dialog,.hd-email-card,.hf-card,.hs-team-user,.hd-service-card,.hi-editor,.hi-invoice-row,.hd-report-stat,.hd-source-report>div,.hd-settings-grid>form,.hd-zone-settings,.hd-service-settings,.hd-driver-preview,.hd-map-column,.hd-details){background:var(--hqc-panel);border-color:#6f785248;box-shadow:inset 0 1px 0 #ede2ab24,inset 1px 0 #e5d2a009,0 7px 20px #04100855;border-radius:10px}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-postcode-booking{border-top-color:#b8a46680;box-shadow:inset 0 1px #e7d49426,0 6px 18px #0003}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-overview-panel .hd-customer-record{background:transparent;border:0;box-shadow:none}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-primary,.hd-find-slot,.hd-book){background:linear-gradient(130deg,#efdaa5,#d6bd80 50%,#b59a5c);color:#1b2d1c;border-color:#e2cc93;box-shadow:inset 0 1px #fff9,0 3px 8px #06110a66;text-shadow:0 1px #fff3}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-secondary,.hd-record-tabs button,.hd-profile-tab,.hs-preset,.hq-overview-tools button){background:linear-gradient(145deg,#354f36,#203925);border-color:#69734f;color:#ebe5ce;box-shadow:inset 0 1px #d9d1a51f,0 2px 5px #0003}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-secondary,.hd-record-tabs button,.hs-preset):hover{background:linear-gradient(145deg,#49603e,#2c472d);border-color:#c1ac72}
#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:var(--hqc-inset);color:#f0ead6;border-color:#6b7958;box-shadow:inset 0 2px 5px #0004,0 1px #e8d7990c;color-scheme:dark}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(select option,optgroup){background:#203b29;color:#f0ead6}
#horizon-booking-demo[data-horizon-theme=hq-classic] ::placeholder{color:#b4bea3}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-arrival-fields,.hd-booking-customer-details,.hd-arrival-window,.hc-contact-row,.hc-notes-card,.hc-records,.hc-directory-pages,.hn-note-tab,.hc-record-tabs,.hd-note-panel,.hd-profile-section,.hd-customer-empty,.hs-price-boundary,.hs-preview-jobs,.hd-wheel-reference){background:linear-gradient(135deg,#193221,#243b27);border-color:#61704d;box-shadow:inset 0 1px #dfd4a517,0 2px 6px #0002}
#horizon-booking-demo[data-horizon-theme=hq-classic] fieldset.hd-arrival-fields{background:var(--hqc-inset);box-shadow:inset 0 1px 4px #0003}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hs-price-boundary .hd-field,.hs-price-boundary [data-hs-band],.hs-map-shortcuts button,.hd-map-shortcuts button,.hc-search-list,.hc-search-option){background:linear-gradient(145deg,#2b452f,#192f20);color:var(--ha-ink);border-color:#78835f}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hs-save-bar,.hs-profiles,.hs-boundary-card,.hs-team-card,.hs-readiness-item,.hd-booking-customer-summary,.hd-rec-result){background:var(--hqc-panel);border-color:#6c7651;box-shadow:0 5px 14px #0004,inset 0 1px #e4d29a20}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-report-stat){border-top-color:#c1a86e}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-sched-head,.hd-times,.hd-eng-label,.hd-engineer){background:linear-gradient(150deg,#314a30,#223b26);border-color:#64734d;color:#d8dcc3}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-schedule{background:#12271b;border-color:#73815a;box-shadow:0 7px 20px #0005,inset 0 1px #ead49b33}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-track{background-color:#193322;--hd-line:#49613e;box-shadow:inset 0 10px 20px #08170c45}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-lane:nth-child(odd) .hd-track{background-color:#1e3926}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-job{background:linear-gradient(145deg,#fff4c72e,transparent 48%,#18200e1c),var(--job-color);border:1px solid color-mix(in srgb,var(--job-color) 65%,#f6e4ae);border-left:4px solid color-mix(in srgb,var(--job-color) 65%,#1f301a);box-shadow:inset 0 1px #fff6,0 4px 8px #0005;border-radius:7px}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-job:hover{box-shadow:inset 0 1px #fff8,0 6px 12px #0007;border-color:#f1dca6}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-job[aria-pressed=true]{outline-color:#e7cb85;box-shadow:0 0 0 4px #14291c,0 0 16px #d1ad4930}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-job.hd-outside{background:linear-gradient(135deg,#384432,#17241a);color:#f0e9d4}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-job.hd-striped{background:repeating-linear-gradient(135deg,var(--job-color) 0 5px,#1b2922 5px 10px) left/7px 100% no-repeat,linear-gradient(145deg,#fff4c726,transparent 55%,#14231026),var(--job-color)}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-leave{background:linear-gradient(135deg,#555a3a,#3a432c);color:#f3ebcf;border-color:#b2a276}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hd-draft-preview{background:#46613ac9;color:#f5ecd1;border-color:#e8cf91}
/* A dark woodland map with legible place names and the complete original wheel. */
#horizon-booking-demo[data-horizon-theme=hq-classic] .hmp-map{background:#1b3526;border-color:#8b8d61;box-shadow:0 4px 12px #0004}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hmp-pin-label{background:linear-gradient(140deg,#334a30f7,#182e20f7);color:#f5ecd5;border-right-color:#8a9362;border-top-color:#8a9362;border-bottom-color:#8a9362;box-shadow:0 3px 7px #0007}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hmp-pin[aria-pressed=true] .hmp-pin-label{background:linear-gradient(135deg,#ead39d,#c4aa70);color:#1a2e1e;border-color:#f3dfab}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hmp-count,.hmp-mixed-cluster .hmp-day,.hmp-multiple-dates .hmp-day){background:linear-gradient(145deg,#e7d19c,#c2a86b);color:#172a1c!important;border-color:#e7d8ad}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.maplibregl-ctrl-group,.maplibregl-popup-content,.hmp-map-status,.hd-map-hint,.hd-map-empty){background:linear-gradient(140deg,#334b31,#183120);color:var(--ha-ink);border-color:#8a9065}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.maplibregl-ctrl-icon,.maplibregl-ctrl-attrib-button){filter:invert(.9) sepia(.35)}
#horizon-booking-demo[data-horizon-theme=hq-classic] .maplibregl-ctrl-attrib{background:#183020ed;color:#d8dcc2}
#horizon-booking-demo[data-horizon-theme=hq-classic] .maplibregl-popup-tip{border-top-color:#233d29}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hmp-crosshair svg{stroke:#f0d595;filter:drop-shadow(0 1px 2px #000)}
/* Readable transient states, including errors and protocol warnings. */
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(dialog,.hd-dialog,.hb-settings-dialog,.hd-calendar-popover,.hd-context-menu,.hd-time-menu,.hd-search-results,.hd-customer-suggestions,.hd-date-popover){background:radial-gradient(ellipse at 12% 0,#d3b26d1a,transparent 65%),linear-gradient(145deg,#2e462f,#172f20);border-color:#999a6c;box-shadow:0 24px 70px #0008,inset 0 1px #e4d5a336}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is([role=alert],.is-error,.hd-record-error,.hd-new-customer-error,.hd-booking-error,.hd-contact-attention,.hd-required-empty,.hi-editor-notice,.hi-preview-error,.hr-error,#hs-error,.hn-note-status[role=alert]){color:#ffb4a0}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-live-notice,.hd-confirmation-delivery,.hz-message,.hr-status){color:#c7dfaa}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hz-message.is-error{color:#ffb4a0}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-protocol-warning,.hd-protocol-status,.hd-warning,.hd-arrival-override){color:#f3daa0;background:linear-gradient(135deg,#5a512a,#3d3f24);border-color:#c5a966}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hz-check-state{color:#f0dca5;background:#4e4b2c;border-color:#ac945e}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hz-check-state.is-ready{color:#d2e8b5;background:#304e30;border-color:#91a56c}
#horizon-booking-demo[data-horizon-theme=hq-classic] :is(.hd-price-guide-head,.hd-price-guide-area,.hd-price-guide-card){background:var(--hqc-panel)}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hha-arch-light{background:linear-gradient(100deg,transparent,#e9c75a33,transparent)}
#horizon-booking-demo[data-horizon-theme=hq-classic] .hha-arch-edge{background:linear-gradient(100deg,transparent 48%,#f4d79077 49.5%,transparent 51%)}
html[data-hq-theme=hq-classic] .hw-dialog{background:linear-gradient(135deg,#30472e,#192f20);border-color:#8c9061;color:var(--ha-ink)}
html[data-hq-theme=hq-classic] .hw-company{background:linear-gradient(135deg,#3a5034,#243d29)}
html[data-hq-theme=hq-classic] .hw-status{color:#ffb4a0}
/* Original composition: the full artwork is fitted, never stretched or cropped on desktop.
   The working form occupies the original cream panel (61.5% across); the doorway stays clear. */
html[data-hq-theme=hq-classic] body:has(#horizon-login:not([hidden])){padding:0;min-height:100svh;display:grid;place-items:center;background:#0e2017}
html[data-hq-theme=hq-classic] #horizon-login{display:block;position:relative;container-type:inline-size;width:min(100vw,160svh);height:auto;aspect-ratio:1.6;min-height:0;max-width:none;padding:0;margin:0 auto;border:0;background:url('/hq-classic-entry.png') center/100% 100% no-repeat;overflow:visible;color-scheme:light}
html[data-hq-theme=hq-classic] #horizon-login[hidden]{display:none}
html[data-hq-theme=hq-classic] .ha-login-art,html[data-hq-theme=hq-classic] .ha-login-identity{display:none}
html[data-hq-theme=hq-classic] .ha-login-card{position:absolute;left:61.5%;top:15.2%;width:34.5%;height:70.45%;max-width:none;padding:7.9% 3.7% 4%;background:transparent;border:0;border-radius:0;box-shadow:none;color:#20382a;box-sizing:border-box}
html[data-hq-theme=hq-classic] #horizon-login h1{font:400 clamp(28px,3.25cqw,52px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-1.5px;color:#20382a;margin:0 0 3.5cqw;white-space:nowrap}
html[data-hq-theme=hq-classic] #horizon-login form{margin:0}
html[data-hq-theme=hq-classic] #horizon-login label{display:block;font:400 clamp(13px,1.2cqw,19px)/1.3 Georgia,serif;color:#294333;margin:0 0 1.9cqw}
html[data-hq-theme=hq-classic] #horizon-login label[hidden]{display:none}
html[data-hq-theme=hq-classic] #horizon-login input{display:block;box-sizing:border-box;width:100%;margin-top:.5cqw;height:3.35cqw;min-height:36px;padding:8px 12px;font:16px/1.2 'Segoe UI',sans-serif;color:#223d2b;background:#eeeade45;border:1px solid #9ead9b;box-shadow:inset 0 1px 3px #1c31200a;border-radius:4px;color-scheme:light}
html[data-hq-theme=hq-classic] #horizon-login input:focus{outline:2px solid #897448;outline-offset:3px}
html[data-hq-theme=hq-classic] #horizon-login button[type=submit]{height:4.4cqw;min-height:40px;margin:.9cqw 0 0;padding:9px;width:100%;font:400 clamp(16px,1.5cqw,24px)/1.2 Georgia,serif;background:linear-gradient(135deg,#2c4635,#193024);color:#f3eddc;border:1px solid #304636;box-shadow:inset 0 1px #d4dbc126,0 3px 7px #24371d17;border-radius:4px}
html[data-hq-theme=hq-classic] #horizon-login button[type=submit]:hover{background:linear-gradient(135deg,#3b5640,#243e2c)}
html[data-hq-theme=hq-classic] #horizon-login [role=alert]{color:#8d2d22;font-size:13px;line-height:1.35;margin:8px 0 0}
html[data-hq-theme=hq-classic] #horizon-login [role=alert]:empty{display:none}
html[data-hq-theme=hq-classic] .hqc-login-help{display:block;margin:1.8cqw 0 0;color:#526954;font:400 clamp(12px,1.1cqw,17px)/1.35 Georgia,serif}
html[data-hq-theme=hq-classic] .hqc-login-help summary{list-style:none;text-decoration:underline;text-underline-offset:3px;cursor:pointer;width:fit-content}
html[data-hq-theme=hq-classic] .hqc-login-help summary::-webkit-details-marker{display:none}
html[data-hq-theme=hq-classic] .hqc-login-help p{position:absolute;left:9%;right:9%;padding:12px;background:#eee9d8;border:1px solid #b9baa3;border-radius:4px;color:#324b34;font:13px/1.5 'Segoe UI',sans-serif;box-shadow:0 5px 15px #0002;z-index:2}
html[data-hq-theme=hq-classic] #horizon-login.hqc-setup .ha-login-card{padding-top:3.7%}
html[data-hq-theme=hq-classic] #horizon-login.hqc-setup h1{white-space:normal;font-size:2.5cqw;margin-bottom:2cqw}
html[data-hq-theme=hq-classic] #horizon-login .hw-shared-login{display:block;color:#274633;margin-bottom:12px}
@media(min-width:761px) and (max-height:560px){html[data-hq-theme=hq-classic] #horizon-login{width:min(100vw,1200px)}html[data-hq-theme=hq-classic] body:has(#horizon-login:not([hidden])){align-items:start}}
@media(max-width:760px){
 html[data-hq-theme=hq-classic] #horizon-login{width:100%;height:auto;aspect-ratio:auto;min-height:100svh;padding:230px 20px 40px;background-size:800px 500px;background-position:calc(50% + 170px) top;background-color:#11271b}
 html[data-hq-theme=hq-classic] .ha-login-card{position:relative;left:auto;top:auto;height:auto;width:100%;max-width:390px;margin:auto;padding:38px 28px 32px;background:radial-gradient(ellipse at 0 0,#fffbed,#e9e3d2);border-radius:5px;box-shadow:0 12px 40px #0007,inset 0 1px #fff9}
 html[data-hq-theme=hq-classic] #horizon-login h1{font-size:34px;margin-bottom:32px;letter-spacing:-1px;white-space:normal}
 html[data-hq-theme=hq-classic] #horizon-login label{font-size:15px;margin-bottom:22px}
 html[data-hq-theme=hq-classic] #horizon-login input{height:45px;margin-top:7px}
 html[data-hq-theme=hq-classic] #horizon-login button[type=submit]{height:47px;margin-top:6px;font-size:18px}
 html[data-hq-theme=hq-classic] .hqc-login-help{font-size:14px;margin-top:22px}
 html[data-hq-theme=hq-classic] #horizon-login.hqc-setup .ha-login-card{padding:32px 26px}
 html[data-hq-theme=hq-classic] #horizon-login.hqc-setup h1{font-size:28px;margin-bottom:26px}
}
