/* Shared message desk and the focused phone workspace. */
#horizon-booking-demo .hm-message-button{display:none}
#horizon-booking-demo .hm-message-inbox{max-height:90dvh;overflow:auto;width:min(620px,calc(100vw - 24px));background:var(--hd-bg);padding:22px}
#horizon-booking-demo .hm-inbox-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
#horizon-booking-demo .hm-inbox-heading h2{margin:3px 0}
#horizon-booking-demo .hm-inbox-heading>button{width:48px;font-size:26px}
#horizon-booking-demo .hm-message-inbox button{min-height:48px;border:1px solid var(--hd-line);border-radius:12px;padding:10px 15px;background:var(--hd-soft);color:var(--hd-fg);font:600 15px/1.3 system-ui;cursor:pointer}
#horizon-booking-demo .hm-message-inbox p{font-size:14px;line-height:1.55}
#horizon-booking-demo .hm-inbox-tools{display:flex;align-items:center;gap:15px;margin:20px 0;font-size:13px}
#horizon-booking-demo .hm-inbox-tools label{display:flex;align-items:center;gap:9px}
#horizon-booking-demo .hm-message-inbox input[type=checkbox]{width:22px;height:22px;accent-color:var(--hd-action)}
#horizon-booking-demo .hm-message-compose{border:1px solid var(--hd-line);padding:15px;border-radius:14px;margin-bottom:20px}
#horizon-booking-demo .hm-message-compose summary{font-size:16px;font-weight:700;cursor:pointer;min-height:28px}
#horizon-booking-demo .hm-message-compose form{display:grid;gap:14px;margin-top:18px}
#horizon-booking-demo .hm-message-compose label{display:grid;gap:6px;font-size:14px;font-weight:600}
#horizon-booking-demo .hm-message-compose label:has([type=checkbox]){display:flex;align-items:center}
#horizon-booking-demo .hm-message-compose :is(input:not([type=checkbox]),textarea,select){box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid var(--hd-line);border-radius:9px;padding:10px;background:var(--hd-bg);color:var(--hd-fg);font:16px system-ui}
#horizon-booking-demo .hm-message-compose button[type=submit]{background:var(--hd-action);color:var(--hd-actiontext)}
#horizon-booking-demo .hm-message-card{border:1px solid var(--hd-line);border-left:4px solid #5274b9;border-radius:16px;padding:18px;margin:14px 0;background:var(--hd-soft)}
#horizon-booking-demo .hm-message-card[data-urgent=true]{border-left-color:#d53c64}
#horizon-booking-demo .hm-message-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px}
#horizon-booking-demo .hm-message-meta>span{background:var(--hd-bg);border-radius:12px;padding:3px 8px}
#horizon-booking-demo .hm-message-card h3{font-size:19px;margin:14px 0 8px}
#horizon-booking-demo .hm-message-body{white-space:pre-wrap;overflow-wrap:anywhere}
#horizon-booking-demo .hm-message-card>a{display:block;padding:12px 0;font-size:16px;color:var(--hd-action)}
#horizon-booking-demo .hm-message-card>small{display:block;color:var(--hd-secondary);font-size:12px}
#horizon-booking-demo .hm-message-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
#horizon-booking-demo .hm-message-error{color:#cd375c}
#horizon-booking-demo .hm-message-notice{font-weight:600}
#horizon-booking-demo .hm-inbox-empty{padding:20px 0;text-align:center}
.hm-landscape-planner[hidden]{display:none!important}
.hm-bubble-pop{position:fixed;z-index:2147483647;pointer-events:none;width:27px;height:27px;border-radius:50%;background:url('/bubble-iridescent-v2.png') center/contain no-repeat}
@media(max-width:760px), (max-width:1100px) and (max-height:600px){
 html:has([data-phone-workspace=true]),body:has([data-phone-workspace=true]){touch-action:pan-x pan-y}
 #horizon-booking-demo[data-phone-workspace=true][data-phone-appearance=light]{--hm-canvas:#bfc4ce;--hd-bg:#fff!important;--hm-card:#fff;--hd-secondary:#484d5c!important;--hd-line:#bbc2cf!important}
 body:has([data-phone-appearance=light]){background:#bfc4ce}
 #horizon-booking-demo[data-phone-workspace=true] .hm-phone-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(126px,40%);min-height:126px;gap:12px;padding:calc(18px + env(safe-area-inset-top)) 18px 18px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-phone-header .hm-brand{display:flex;justify-content:center;align-items:center;min-width:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-phone-header .hm-company{display:block;color:#fff;font:650 clamp(18px,5.3vw,25px)/1.2 system-ui;text-align:center;overflow-wrap:anywhere;text-wrap:balance}
 #horizon-booking-demo[data-phone-workspace=true] .hm-phone-header .hm-brand-mark{width:100%;max-width:220px;height:72px;object-position:center}
 #horizon-booking-demo[data-phone-workspace=true] .hm-header-account{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-header-account small{margin:0;text-align:center;overflow-wrap:anywhere;font-size:12px!important}
 #horizon-booking-demo[data-phone-workspace=true] .hm-header-identity{display:flex;align-items:center;justify-content:flex-end;gap:7px;width:100%;min-width:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-header-identity small{flex:1;min-width:0;text-align:right;line-height:1.35!important}
 #horizon-booking-demo[data-phone-workspace=true] .hm-phone-signout{flex:none;min-width:61px;min-height:44px;padding:8px!important;background:#25252e!important;color:#fff!important;border:1px solid #66616d;border-radius:10px;font-size:11px!important;font-weight:650;line-height:1.2}
 #horizon-booking-demo[data-phone-workspace=true] .hm-phone-signout:focus-visible{outline:3px solid #ed1770;outline-offset:3px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-settings-toggle{display:flex;align-items:center;justify-content:center;gap:6px;width:94px;min-height:46px;padding:8px!important;border:1px solid #53535e;border-radius:13px;background:#25252e!important;color:white;font-size:12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-settings-toggle svg{width:20px;height:20px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-message-button{display:flex;align-items:center;gap:9px;width:calc(100% - 28px);box-sizing:border-box;min-height:52px;margin:14px 14px 0;padding:12px 15px;border:1px solid #aeb8ca;border-radius:14px;background:#edf1fa;color:#283952;text-align:left;font:600 13px/1.3 system-ui}
 #horizon-booking-demo[data-phone-workspace=true] .hm-message-button strong{display:grid;place-items:center;margin-left:auto;min-width:25px;height:25px;border-radius:50%;background:#d4deef}
 #horizon-booking-demo[data-phone-workspace=true] .hm-message-button small{font-size:10px;white-space:nowrap}
 #horizon-booking-demo[data-phone-workspace=true] .hm-message-button[data-unread=true]{background:#fff0d1;border-color:#b67c21;color:#5d3a07}
 #horizon-booking-demo[data-phone-workspace=true] .hm-message-button[data-unread=true] strong{background:#8a5408;color:white}
 #horizon-booking-demo[data-phone-workspace=true] .hm-desktop-messages{display:none}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap{background:#d4eee6;border:1px solid #8bbeb0;border-left:4px solid #397b69;color:#355d53}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap strong{color:#214e41;font-size:12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap small{font-size:11px}
 /* Content-sized journey cards: a short visit keeps all of its information. */
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row{grid-template-columns:40px minmax(0,1fr);gap:10px;margin-bottom:16px;align-items:stretch}
 #horizon-booking-demo[data-phone-workspace=true] .hm-time-rail{display:flex;flex-direction:column;align-items:center;position:relative;padding:0;min-width:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-visit-node{display:grid;place-items:center;position:relative;z-index:1;box-sizing:border-box;width:34px;height:34px;flex:none;margin-top:14px;border:2px solid var(--hm-canvas);border-radius:50%;background:var(--hd-action);color:var(--hd-actiontext);font-size:15px;font-weight:750}
 #horizon-booking-demo[data-phone-workspace=true] .hm-time-rail strong{position:relative;z-index:1;background:var(--hm-canvas);font-size:10px;line-height:1.4;padding:3px 0;font-variant-numeric:tabular-nums;white-space:nowrap}
 #horizon-booking-demo[data-phone-workspace=true] .hm-rail-start{margin-top:7px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-rail-end{margin-top:auto;margin-bottom:12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-time-rail:after{left:19px;right:auto;top:48px;bottom:-17px;width:2px;background:var(--hd-line)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-lane>.hm-timeline-row:last-child .hm-time-rail:after{bottom:20px;opacity:1}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap{margin-left:50px;padding:13px 14px;border-left-width:1px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap-line{left:-31px;top:-17px;bottom:-17px;border-left:2px dashed var(--hd-line)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap:before{content:'';position:absolute;left:-37px;top:calc(50% - 6px);width:10px;height:10px;border:2px solid var(--hm-canvas);border-radius:50%;background:var(--hd-secondary);z-index:1}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-job-card{height:auto;min-height:0;overflow:visible}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-open-job{height:auto;overflow:visible;border-radius:17px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-description{font-size:13px;line-height:1.55;margin-top:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--hd-fg)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-arrival{font-size:12px;line-height:1.5;margin-top:13px;padding-top:12px;border-top:1px solid var(--hd-line);color:var(--hd-fg);overflow-wrap:anywhere}
 #horizon-booking-demo[data-phone-workspace=true] :is(.hm-card-description,.hm-card-arrival)>small{display:block;font-size:10px;line-height:1.4;color:var(--hd-secondary);font-weight:600;margin-bottom:4px}
 #horizon-booking-demo[data-phone-appearance=dark] .hm-gap{background:#203b37;border-color:#49786c;color:#b6d7cf}
 #horizon-booking-demo[data-phone-appearance=dark] .hm-gap strong{color:#e1f2ed}
 #horizon-booking-demo[data-phone-workspace=true] :is(input,select,textarea){font-size:16px!important}
 #horizon-booking-demo[data-phone-workspace=true] .hm-appearance{grid-template-columns:1fr 1fr;gap:10px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-appearance button:last-child{grid-column:1/-1}
 #horizon-booking-demo[data-phone-workspace=true] .hm-day-cycle{grid-template-columns:minmax(62px,1fr) 62px minmax(62px,1fr);gap:4px;margin-left:3px;padding:3px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-day-cycle>button{min-width:62px;min-height:52px;background:var(--hm-tint);border:1px solid var(--hd-line);border-radius:11px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-day-cycle>button svg{width:28px;height:28px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-day-picker{width:62px;max-width:62px;min-height:44px;font-size:11px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-day-picker input[type=date]{inset:4px 0;width:62px;height:44px}
 @media(max-width:380px){
  #horizon-booking-demo[data-phone-workspace=true] .hm-day-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  #horizon-booking-demo[data-phone-workspace=true] .hm-day-controls>button{width:100%;background:var(--hm-card)}
  #horizon-booking-demo[data-phone-workspace=true] .hm-day-controls>button[aria-pressed=true]{background:var(--hd-fg)}
  #horizon-booking-demo[data-phone-workspace=true] .hm-day-cycle{grid-column:1/-1;margin:0;grid-template-columns:minmax(62px,1fr) 62px minmax(62px,1fr)}
 }
 #horizon-booking-demo[data-phone-workspace=true][data-phone-appearance=bubbles]{--hm-canvas:#bfc9de;--hm-card:#fff;--hm-tint:#efebff;--hd-action:#7052ba!important;--hd-actiontext:#fff!important;--hd-line:#b7b8d0!important;background:radial-gradient(circle at 10% 15%,#edf5ff88,transparent 35%),radial-gradient(circle at 95% 55%,#ecc9e88a,transparent 35%),var(--hm-canvas)!important}
 #horizon-booking-demo[data-phone-appearance=bubbles] .hm-day-hero{background:radial-gradient(ellipse at 90% 0,#9475d566,transparent 65%),linear-gradient(145deg,#383454,#17182a)}
 #horizon-booking-demo[data-phone-appearance=bubbles] .hm-job-card{border-radius:25px;box-shadow:0 6px 17px #3a355a13!important}
 #horizon-booking-demo[data-phone-appearance=bubbles] .hm-phone-header{background:radial-gradient(circle at 20% 20%,#494368,#13131d 80%)!important}
 #horizon-booking-demo[data-phone-appearance=bubbles][data-phone-motion=true] .hm-day-total{animation:hm-float 4s ease-in-out infinite}
 @keyframes hm-float{50%{transform:translateY(-4px)}}
 body.hm-planner-open{overflow:hidden}
 #horizon-booking-demo[data-phone-planner=true]>:not(.hm-landscape-planner):not(style):not(script){display:none!important}
 #horizon-booking-demo .hm-landscape-planner{position:fixed;inset:0;z-index:900;background:var(--hm-canvas);color:var(--hd-fg);font:14px/1.4 system-ui}
 #horizon-booking-demo .hm-rotate{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;padding:28px}
 #horizon-booking-demo .hm-rotate>span{font-size:70px;color:var(--hd-action)}
 #horizon-booking-demo .hm-rotate h1{font-size:25px;line-height:1.2;margin:16px 0}
 #horizon-booking-demo .hm-rotate p{max-width:28em;font-size:15px}
 #horizon-booking-demo .hm-landscape-planner button{min-width:46px;min-height:44px;border:1px solid var(--hd-line);border-radius:10px;background:var(--hm-card);color:var(--hd-fg);padding:8px 12px;font:600 14px system-ui}
 #horizon-booking-demo .hm-rotate button{margin-top:18px}
 #horizon-booking-demo .hm-planner-screen{display:none;height:100%;box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
 #horizon-booking-demo .hm-planner-screen>header{display:flex;align-items:center;gap:12px;padding:7px 12px;background:#16161e;color:white;border-bottom:2px solid #ed1770}
 #horizon-booking-demo .hm-planner-screen>header>strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
 #horizon-booking-demo .hm-planner-date{display:flex;gap:5px;align-items:center}
 #horizon-booking-demo .hm-planner-date input{min-width:0;width:145px;height:44px;border:0;border-radius:8px;padding:4px;background:#fff;color:#20212a;box-sizing:border-box}
 #horizon-booking-demo .hm-planner-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(210px,1fr);gap:8px;flex:1;min-height:0;padding:8px}
 #horizon-booking-demo .hm-planner-timeline{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid var(--hd-line);border-radius:13px;background:var(--hm-card)}
 #horizon-booking-demo .hm-planner-hint{padding:10px 12px;font-size:11px;color:var(--hd-secondary);border-bottom:1px solid var(--hd-line)}
 #horizon-booking-demo .hm-planner-scroll{flex:1;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;padding:0 12px 12px}
 #horizon-booking-demo .hm-planner-rail{min-width:100%;background:repeating-linear-gradient(90deg,transparent 0 71px,var(--hd-line) 71px 72px)}
 #horizon-booking-demo .hm-planner-ruler{height:34px;position:sticky;top:0;background:var(--hm-card);z-index:2;border-bottom:1px solid var(--hd-line)}
 #horizon-booking-demo .hm-planner-ruler>span{position:absolute;font-size:11px;top:8px;padding-left:4px}
 #horizon-booking-demo .hm-planner-lane{position:relative;border-bottom:1px solid var(--hd-line)}
 #horizon-booking-demo .hm-planner-lane h2{position:sticky;left:0;width:fit-content;max-width:220px;margin:0;padding:8px 6px;font-size:12px;background:var(--hm-card)}
 #horizon-booking-demo .hm-planner-lane .hm-planner-visit{position:absolute;min-width:0;height:82px;padding:9px;text-align:left;border:1px solid #d6a9bd;border-left:4px solid #d52872;border-radius:10px;background:#fceaf2;color:#342333;overflow:hidden}
 #horizon-booking-demo .hm-planner-visit :is(strong,span,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
 #horizon-booking-demo .hm-planner-visit>span{font-size:13px;margin:4px 0}
 #horizon-booking-demo .hm-planner-block{position:absolute;box-sizing:border-box;height:54px;padding:7px 9px;overflow:hidden;border:1px dashed #8c8997;border-radius:8px;background:repeating-linear-gradient(135deg,#e5e3ec,#e5e3ec 8px,#f2f1f6 8px,#f2f1f6 16px);color:#444051}
 #horizon-booking-demo .hm-planner-block :is(strong,span){display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #horizon-booking-demo .hm-planner-empty{position:sticky;left:0;width:260px;margin:20px;font-size:14px}
 #horizon-booking-demo .hm-planner-map-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-radius:13px;background:var(--hm-card);border:1px solid var(--hd-line)}
 #horizon-booking-demo .hm-planner-map-panel>div:first-child{display:flex;align-items:center;gap:5px;justify-content:space-between;padding:5px 8px;font-size:11px}
 #horizon-booking-demo .hm-planner-map-panel button{min-width:50px;font-size:11px;padding:6px}
 #horizon-booking-demo .hm-planner-map{flex:1;min-height:0;position:relative}
 #horizon-booking-demo .hm-planner-map .maplibregl-ctrl-attrib{font-size:8px;line-height:12px}
}
@media(orientation:landscape) and (max-width:1100px) and (max-height:760px){
 #horizon-booking-demo .hm-landscape-planner .hm-rotate{display:none}
 #horizon-booking-demo .hm-landscape-planner .hm-planner-screen{display:flex;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){#horizon-booking-demo[data-phone-workspace=true] .hm-day-total{animation:none!important}}

/* A single job page: three tabs, with work tools expanded in place. */
@media(max-width:760px),(max-width:1100px) and (max-height:600px){
 #horizon-booking-demo[data-phone-workspace=true] .hm-simple-tabs{display:grid;position:sticky;top:0;z-index:40;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0 20px;padding:5px;border-radius:16px;background:var(--hm-card);border:1px solid var(--hd-line)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-simple-tabs button{min-height:66px;border:0;border-radius:11px;padding:10px 4px;font-size:13px;background:transparent;gap:5px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-simple-tabs button[aria-selected=true]{color:var(--hd-action);background:var(--hm-tint);box-shadow:inset 0 -3px var(--hd-action)}
 #horizon-booking-demo .hm-job-section{border:1px solid var(--hd-line);border-radius:18px;background:var(--hm-card);margin:12px 0;overflow:hidden}
 #horizon-booking-demo .hm-job-section>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;padding:15px 18px;box-sizing:border-box;cursor:pointer;list-style:none}
 #horizon-booking-demo .hm-job-section>summary::-webkit-details-marker{display:none}
 #horizon-booking-demo .hm-job-section>summary strong{display:block;font-size:17px;line-height:1.35}
 #horizon-booking-demo .hm-job-section>summary small{display:block;font-size:12px;line-height:1.5;color:var(--hd-secondary);margin-top:4px}
 #horizon-booking-demo .hm-section-chevron{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--hm-tint);color:var(--hd-action);font-size:25px;transition:transform .15s}
 #horizon-booking-demo .hm-job-section[open] .hm-section-chevron{transform:rotate(45deg)}
 #horizon-booking-demo .hm-job-section[open]>summary{border-bottom:1px solid var(--hd-line)}
 #horizon-booking-demo .hm-inline-work{padding:0 16px 18px;min-width:0}
 #horizon-booking-demo .hm-job-section[data-job-section=quote] .hm-inline-work{padding-top:16px}
 #horizon-booking-demo .hm-inline-work .hm-quote-saved-actions{margin-top:16px}
 #horizon-booking-demo .hm-inline-work :is(form,label){display:grid;gap:8px;min-width:0}
 #horizon-booking-demo .hm-inline-work form{gap:16px;margin:14px 0}
 #horizon-booking-demo .hm-inline-work :is(input,select,textarea){box-sizing:border-box;width:100%;max-width:100%;min-width:0;font-size:16px}
 #horizon-booking-demo .hm-inline-work :is(input:not([type=checkbox]),select){min-height:48px}
 #horizon-booking-demo .hm-inline-work textarea{min-height:110px;resize:vertical}
 #horizon-booking-demo .hm-inline-work :is(button,a.hd-secondary){display:flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;border:1px solid var(--hd-line);border-radius:11px;background:var(--hd-soft);color:var(--hd-fg);padding:12px;font:600 15px/1.35 system-ui;text-decoration:none;white-space:normal}
 #horizon-booking-demo .hm-inline-work button[type=submit]{width:100%}
 #horizon-booking-demo .hm-inline-work :is(h3,h4){font-size:17px;line-height:1.4;margin:18px 0 12px}
 #horizon-booking-demo .hm-inline-work :is(p,pre){font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
 #horizon-booking-demo .hm-inline-work :is(.hwk-grid,.hwk-actions){display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 #horizon-booking-demo .hm-inline-work .hwk-line{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;padding:16px 0}
 #horizon-booking-demo .hm-inline-work .hwk-line>.hwk-check{grid-column:1/-1}
 #horizon-booking-demo .hm-inline-work .hwk-line>button{grid-column:1/-1;justify-self:end;font-size:13px;min-height:44px}
 #horizon-booking-demo .hm-inline-work .hwk-check{display:flex;align-items:center;gap:10px}
 #horizon-booking-demo .hm-inline-work .hwk-check input{width:22px;height:22px;flex:none}
 #horizon-booking-demo .hm-audience{font-size:12px!important;font-weight:600;color:var(--hd-secondary);line-height:1.5;margin:8px 0 15px}
 #horizon-booking-demo .hm-work-description h2 small{font-size:12px;color:var(--hd-secondary);font-weight:500}
 #horizon-booking-demo .hm-quote-total{padding:14px;border-radius:12px;background:var(--hm-tint);color:var(--hd-fg)}
 #horizon-booking-demo .hwk-inline-status:empty{display:none}
 #horizon-booking-demo .hwk-inline-status.is-error{color:var(--hd-action);font-weight:650}
 #horizon-booking-demo .hm-finish-action{padding:12px 0 20px}
 #horizon-booking-demo .hm-finish-action p,.hm-pane-help{font-size:14px;line-height:1.55;color:var(--hd-secondary)}
 #horizon-booking-demo .hm-inline-work .hm-photo-choices{display:grid;gap:12px}
 #horizon-booking-demo .hm-inline-work .hwk-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Catalogue suggestions stay beside the description, with comfortable touch targets. */
#horizon-booking-demo .hwk-item-suggestions{display:grid;gap:3px;max-height:280px;overflow:auto;padding:5px;border:1px solid var(--hd-line);border-radius:12px;background:var(--hd-bg);box-shadow:0 8px 24px #0002}
#horizon-booking-demo .hwk-item-suggestions[hidden]{display:none}
#horizon-booking-demo .hwk-item-suggestions button{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:12px;text-align:left;border:0;border-radius:8px;color:var(--hd-fg);background:transparent;font:inherit;white-space:normal}
#horizon-booking-demo .hwk-item-suggestions button:is(:hover,[aria-selected=true]){background:var(--hd-soft);box-shadow:inset 3px 0 var(--hd-action)}
#horizon-booking-demo .hwk-item-suggestions strong{flex:none;font-size:14px}
#horizon-booking-demo .hwk-item-suggestions small{display:block;font-size:11px;font-weight:400;color:var(--hd-secondary)}
#horizon-booking-demo .hwk-catalogue-hint{font-size:13px;color:var(--hd-secondary)}
/* Status shares the existing bottom metadata row, keeping the card text fixed. */
#horizon-booking-demo .hd-job[data-visit-status] .hd-job-meta{gap:4px}
#horizon-booking-demo .hd-job[data-visit-status] .hd-job-arrival{flex:1 1 auto}
#horizon-booking-demo .hd-job[data-visit-status]{container-type:inline-size}
#horizon-booking-demo .hd-job .hd-visit-status{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:0;max-width:100%;height:14px;box-sizing:border-box;overflow:hidden;white-space:nowrap;border-radius:3px;background:var(--hd-action);color:var(--hd-actiontext);padding:0 4px;font:700 9px/14px system-ui;margin:0 0 0 auto}
#horizon-booking-demo .hd-job .hd-visit-status-label{font:inherit;color:inherit;opacity:1}
#horizon-booking-demo .hd-job .hd-visit-status svg{display:none;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@container (max-width:210px){
 #horizon-booking-demo .hd-job .hd-visit-status{width:14px;padding:0}
 #horizon-booking-demo .hd-job .hd-visit-status-label{display:none}
 #horizon-booking-demo .hd-job .hd-visit-status svg{display:block}
}
@container (max-width:90px){
 #horizon-booking-demo .hd-job .hd-visit-status{position:absolute;right:9px;bottom:6px;max-width:none}
 html body #horizon-booking-demo .hd-job[data-visit-status] .hd-job-kind{display:none!important}
 #horizon-booking-demo .hd-job[data-visit-status] .hd-job-meta{padding-right:18px;box-sizing:border-box}
}
#horizon-booking-demo .hd-job[data-visit-status]{box-shadow:inset 0 0 0 2px var(--hd-action)}
#horizon-booking-demo .hd-office-progress{margin-top:12px;padding:10px 13px;border-radius:9px;background:color-mix(in srgb,var(--hd-action) 12%,var(--hd-bg));color:var(--hd-action);font:700 14px/1.4 system-ui;border:1px solid var(--hd-action)}
@media(max-width:760px),(max-width:1100px) and (max-height:600px){
 #horizon-booking-demo.hm-job-open>:is(.hm-phone-header,.hm-message-button,.hz-onboarding-banner,.hm-connection){display:none!important}
 #horizon-booking-demo.hm-job-open .hm-phone-jobs{padding-top:0;scroll-margin-top:0}
 #horizon-booking-demo .hm-customer-header{position:sticky;top:0;z-index:70;display:flex;align-items:center;gap:12px;margin:0 -16px 20px;padding:calc(14px + env(safe-area-inset-top)) 16px 16px;background:var(--hm-card,var(--hd-bg));border-bottom:3px solid var(--hd-action);box-shadow:0 6px 20px #0002}
 #horizon-booking-demo .hm-customer-heading{flex:1;min-width:0}
 #horizon-booking-demo .hm-customer-heading small{display:block;color:var(--hd-secondary);font:650 11px/1.4 system-ui;letter-spacing:1.1px;margin-top:5px}
 #horizon-booking-demo .hm-customer-heading h1{font:750 21px/1.2 system-ui;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
 #horizon-booking-demo .hm-customer-header .hm-back{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;flex:none;min-width:84px;min-height:62px;border:1px solid var(--hd-line);border-radius:13px;background:var(--hm-tint);color:var(--hd-action);font:700 12px/1.2 system-ui;padding:8px}
 #horizon-booking-demo .hm-customer-header .hm-back svg{width:22px;height:22px}
 #horizon-booking-demo.hm-job-open .hm-simple-tabs{position:relative;top:auto;z-index:auto}
 #horizon-booking-demo .hm-detail-title{padding:0 3px}
 #horizon-booking-demo .hm-detail-title .hm-detail-address{margin:12px 0 20px;font-size:15px;line-height:1.5}
 #horizon-booking-demo .hm-customer-notes .hn-notes-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}
 #horizon-booking-demo .hm-customer-notes .hn-notes-heading h3{flex:1;font-size:19px;margin:0;line-height:1.3}
 #horizon-booking-demo .hm-customer-notes .hn-note-header-actions{flex:none}
 #horizon-booking-demo .hm-customer-notes .hn-note-header-actions button{min-width:44px;min-height:44px}
 #horizon-booking-demo .hm-customer-notes .hn-note-tabs{min-width:0;gap:7px}
 #horizon-booking-demo .hm-customer-notes .hn-note-tab{min-height:48px;max-width:190px;font-size:14px;padding:10px 14px}
 #horizon-booking-demo .hm-customer-notes .hn-note-form{display:grid;gap:12px;min-width:0}
 #horizon-booking-demo .hm-customer-notes .hn-note-form textarea{min-height:150px;font-size:16px;line-height:1.5}
 #horizon-booking-demo .hm-customer-notes .hn-note-name-label{display:grid;gap:6px;font-size:13px;color:var(--hd-secondary)!important}
 #horizon-booking-demo .hm-customer-notes .hn-note-actions{display:flex;gap:10px}
 #horizon-booking-demo .hm-customer-notes .hn-note-actions[hidden]{display:none}
 #horizon-booking-demo .hm-customer-notes .hn-note-actions button{flex:1}
 #horizon-booking-demo .hm-progress-hint{font-size:12px;line-height:1.5;color:var(--hd-secondary);text-align:center;padding:0 14px}
}
/* Clear phone visit hierarchy and an hour-by-hour ruler within each slot. */
@media(max-width:760px),(max-width:1100px) and (max-height:600px){
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row{grid-template-columns:46px minmax(0,1fr);gap:9px;margin-bottom:20px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-time-rail{display:block;position:relative;padding:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-time-rail:after{display:none}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-ruler{position:absolute;inset:22px 0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-ruler:before{content:'';position:absolute;right:1px;top:0;bottom:0;width:1px;background:color-mix(in srgb,var(--hd-secondary) 45%,transparent)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-tick{position:absolute;top:var(--hm-tick-position);left:0;right:0;display:flex;align-items:center;justify-content:flex-end;transform:translateY(-50%);height:18px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-tick>span{position:relative;z-index:1;font:650 10px/1.3 system-ui;font-variant-numeric:tabular-nums;color:var(--hd-fg);padding:3px 9px 3px 0;white-space:nowrap}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-tick.is-endpoint>span{color:var(--hd-secondary);font-weight:550}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-tick i{position:absolute;top:50%;right:-2px;transform:translateY(-50%);width:7px;height:2px;border:0;border-radius:1px;background:var(--hd-secondary);box-shadow:none;box-sizing:border-box}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-tick.is-minor i{width:4px;right:-1px;opacity:.55}
 #horizon-booking-demo[data-phone-workspace=true] .hm-slot-tick.is-endpoint i{width:6px;height:6px;right:-1.5px;border-radius:50%;background:var(--hd-action)}
 /* Content-sized visits: short appointments retain the same readable details. */
 #horizon-booking-demo[data-phone-workspace=true]{--hm-visit-accent:var(--hd-action);--hm-visit-accent-text:var(--hd-actiontext);--hm-visit-tint:var(--hm-tint);--hm-visit-ink:var(--hd-action);--hm-jobtype-bg:var(--hd-soft);--hm-visit-line:var(--hd-line)}
 #horizon-booking-demo[data-phone-workspace=true][data-phone-appearance=light]{--hm-visit-accent:#9d5f77;--hm-visit-accent-text:#fff;--hm-visit-tint:#f1e5ea;--hm-visit-ink:#784358;--hm-jobtype-bg:#eceef2;--hm-visit-line:#d8dce3}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-job-card{height:auto;min-height:0;min-width:0;margin:0;border:1px solid var(--hm-visit-line);border-radius:17px;overflow:hidden;background:var(--hm-card)!important;box-shadow:0 3px 12px #18112808!important}
 #horizon-booking-demo[data-phone-workspace=true] .hm-visit-summary{padding:13px 12px 0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-heading{display:grid;grid-template-columns:22px minmax(0,1fr) 88px;align-items:start;gap:7px;margin:0 0 12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-visit-label{display:grid;place-items:center;width:22px;height:22px;margin-top:2px;border-radius:50%;background:var(--hm-jobtype-bg);color:var(--hd-secondary);font:650 11px/1 system-ui;letter-spacing:0;text-transform:none}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-card-customer-block{display:grid;gap:3px;min-width:0;margin:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-job-customer{display:block;position:static;margin:0;padding:0;font:750 18px/1.3 system-ui;letter-spacing:-.3px;color:var(--hd-fg);overflow:visible;white-space:normal;overflow-wrap:anywhere}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-job-time{display:block;margin:0;font:500 13px/1.4 system-ui;font-variant-numeric:tabular-nums;letter-spacing:0;white-space:nowrap;color:var(--hd-fg)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-open-job.hm-details-button{display:flex;position:static;align-items:center;justify-content:center;gap:5px;width:100%;min-height:46px;height:auto;box-sizing:border-box;padding:8px 7px;border:1px solid var(--hm-visit-accent);border-radius:9px;background:var(--hm-visit-accent);color:var(--hm-visit-accent-text);font:650 12px/1.25 system-ui;text-align:left;white-space:normal;cursor:pointer}
 #horizon-booking-demo[data-phone-workspace=true] .hm-details-button>span{display:block;min-width:0}
 #horizon-booking-demo[data-phone-workspace=true] .hm-details-button>svg{display:block;width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 #horizon-booking-demo[data-phone-workspace=true] .hm-details-button:focus-visible{outline:3px solid var(--hm-visit-ink);outline-offset:3px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-card-address{display:grid!important;grid-template-columns:17px minmax(0,1fr);align-items:start;gap:8px;margin:0 0 11px;padding:0;border:0;font:400 13px/1.45 system-ui;color:var(--hd-fg)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-card-address>svg{width:17px;height:17px;margin-top:2px;color:var(--hd-secondary)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-address>div{display:grid;gap:1px;min-width:0;overflow-wrap:anywhere}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-postcode{color:var(--hd-secondary);font-size:12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-jobtype{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;border-radius:8px;background:var(--hm-jobtype-bg);color:var(--hd-fg)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-jobtype>svg{width:21px;height:21px;flex:none;fill:none;stroke:var(--hm-visit-accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 #horizon-booking-demo[data-phone-workspace=true] .hm-card-jobtype>strong{font:650 14px/1.4 system-ui;overflow-wrap:anywhere}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-card-arrival{display:block!important;margin:9px 0 0;padding:0 0 11px;border:0;font:400 12px/1.5 system-ui;color:var(--hd-secondary);overflow-wrap:anywhere}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-card-arrival>span{display:inline}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-card-arrival>strong{font-weight:500;color:var(--hd-fg)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-contact-actions :is(a,button){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;min-width:0;min-height:48px;border:1px solid var(--hd-line);border-radius:10px;padding:10px 7px;background:var(--hm-card);color:var(--hd-fg);font:650 12px/1.35 system-ui;text-decoration:none;cursor:pointer}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-contact-actions{margin:0 12px;padding:10px 0 12px;gap:8px;border-top:1px solid var(--hm-visit-line)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-contact-actions :is(a,button){flex-direction:row;min-height:46px;padding:10px 7px;border-color:var(--hm-visit-line);color:var(--hm-visit-ink);font-size:12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-contact-actions a{background:var(--hm-visit-tint);border-color:var(--hm-visit-tint)}
 #horizon-booking-demo[data-phone-workspace=true] .hm-contact-actions :is(a,button) svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap{margin-left:55px;background:#e0ebe4;border-color:#b7ccbf;border-left-width:1px}
 #horizon-booking-demo[data-phone-workspace=true][data-phone-appearance=dark] .hm-gap{background:#203b37;border-color:#49786c}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap-line{left:-11px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-gap:before{left:-16px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-between-visits{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:9px;margin:0 0 18px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-between-visits .hm-gap{grid-column:2;margin:0;padding:11px 12px}
 #horizon-booking-demo[data-phone-workspace=true] .hm-between-visits .hm-gap:before,#horizon-booking-demo[data-phone-workspace=true] .hm-between-visits .hm-gap-line{display:none}
 #horizon-booking-demo[data-phone-workspace=true] .hm-travel-estimate{display:grid;justify-items:center;gap:2px;min-width:0;padding:4px 0;color:var(--hd-secondary);font:500 10px/1.3 system-ui;text-align:center;font-variant-numeric:tabular-nums}
 #horizon-booking-demo[data-phone-workspace=true] .hm-travel-estimate>svg{width:18px;height:18px;fill:none;stroke:var(--hm-visit-accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 #horizon-booking-demo[data-phone-workspace=true] .hm-travel-estimate>strong{font-size:11px;color:var(--hd-fg);font-weight:650;overflow-wrap:anywhere}
 #horizon-booking-demo[data-phone-workspace=true] .hm-travel-estimate>strong>span{font-size:9px;font-weight:500}
 #horizon-booking-demo[data-phone-workspace=true] .hm-travel-estimate>small{font-size:9px}
 @media(max-width:350px){
  #horizon-booking-demo[data-phone-workspace=true] .hm-between-visits{grid-template-columns:39px minmax(0,1fr);gap:7px}
  #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row{grid-template-columns:39px minmax(0,1fr);gap:7px}
  #horizon-booking-demo[data-phone-workspace=true] .hm-card-heading{grid-template-columns:minmax(0,1fr) 81px;gap:7px}
  #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-visit-label{display:none}
  #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-job-customer{font-size:17px}
  #horizon-booking-demo[data-phone-workspace=true] .hm-timeline-row .hm-open-job.hm-details-button{padding:8px 6px;font-size:11px}
 }
}
#horizon-booking-demo .hm-call-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid var(--hd-line);border-radius:22px;background:var(--hm-card,var(--hd-bg));color:var(--hd-fg);font:14px/1.5 system-ui;box-shadow:0 20px 80px #0005}
#horizon-booking-demo .hm-call-dialog::backdrop{background:#17132488;backdrop-filter:blur(4px)}
#horizon-booking-demo .hm-call-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#horizon-booking-demo .hm-call-dialog h2{font-size:24px;line-height:1.2;letter-spacing:-.5px;margin:4px 0 0}
#horizon-booking-demo .hm-call-dialog header small{font-size:11px;color:var(--hd-secondary)}
#horizon-booking-demo .hm-call-dialog header button{border:1px solid var(--hd-line);border-radius:50%;width:40px;height:40px;background:var(--hm-tint,var(--hd-soft));color:var(--hd-fg);font:22px system-ui;cursor:pointer}
#horizon-booking-demo .hm-call-dialog p{font-size:13px;color:var(--hd-secondary);overflow-wrap:anywhere}
#horizon-booking-demo .hm-call-dialog .hm-call-customer{font-size:18px;color:var(--hd-fg);font-weight:650;margin:20px 0 3px;line-height:1.4}
#horizon-booking-demo .hm-call-dialog .hm-call-number{font-size:24px;color:var(--hd-action);font-weight:700;letter-spacing:.4px;margin:10px 0}
#horizon-booking-demo .hm-phone-choices{display:grid;gap:10px;margin:20px 0}
#horizon-booking-demo .hm-call-dialog .hm-phone-choice{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px;border:1px solid var(--hd-line);border-radius:14px;background:var(--hm-tint,var(--hd-soft));color:var(--hd-fg);text-align:left;cursor:pointer}
#horizon-booking-demo .hm-phone-choice>span{flex:1;min-width:0}
#horizon-booking-demo .hm-phone-choice small{display:block;font-size:11px;color:var(--hd-secondary);margin-bottom:4px}
#horizon-booking-demo .hm-phone-choice strong{display:block;font-size:17px;font-weight:650;overflow-wrap:anywhere}
#horizon-booking-demo .hm-call-dialog svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#horizon-booking-demo .hm-call-dialog .hm-call-actions{display:grid;gap:10px;margin-top:22px}
#horizon-booking-demo .hm-call-dialog :is(.hd-primary,.hd-secondary){display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;box-sizing:border-box;padding:12px 15px;border-radius:12px;font:650 14px/1.4 system-ui;text-decoration:none;cursor:pointer}
#horizon-booking-demo .hm-call-dialog .hd-primary{background:var(--hd-action);color:var(--hd-actiontext);border:1px solid var(--hd-action)}
#horizon-booking-demo .hm-call-dialog .hd-secondary{background:var(--hm-card,var(--hd-bg));color:var(--hd-fg);border:1px solid var(--hd-line);width:100%}

/* The in-app phone header uses the customer's company identity, not the HQ launcher. */
@media(max-width:760px), (max-width:1100px) and (max-height:600px){
 #horizon-booking-demo[data-phone-workspace=true] .hm-brand :is(.hm-company,.hm-brand-mark)[hidden]{display:none!important}
 #horizon-booking-demo[data-phone-workspace=true] .hm-brand .hm-brand-mark{display:block;width:100%;height:72px;object-fit:contain;filter:none;border:0;background:none}
 #horizon-booking-demo[data-phone-workspace=true] .hm-settings-toggle{align-self:flex-end}
}

/* Clear office-to-engineer inbox and explicit progress. */
#horizon-booking-demo .hm-message-inbox [hidden]{display:none!important}
#horizon-booking-demo .hm-inbox-tools{flex-wrap:wrap;align-items:end}
#horizon-booking-demo .hm-inbox-tools label{display:grid;gap:6px;flex:1 1 180px}
#horizon-booking-demo .hm-inbox-tools select{width:100%;min-height:44px;box-sizing:border-box}
#horizon-booking-demo .hm-message-views{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
#horizon-booking-demo .hm-message-views button{flex:1 1 160px}
#horizon-booking-demo .hm-message-views button[aria-pressed=true]{border-color:var(--hd-action);box-shadow:inset 0 -3px var(--hd-action)}
#horizon-booking-demo .hm-message-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#horizon-booking-demo .hm-message-urgent{border:1px solid currentColor;border-radius:5px;padding:3px 7px;font-weight:700}
#horizon-booking-demo .hm-message-history{display:grid;gap:5px;margin:12px 0;font-size:13px;line-height:1.5}
#horizon-booking-demo .hm-alert-settings{margin-top:22px;border-top:1px solid var(--hd-line);padding-top:15px}
#horizon-booking-demo .hm-alert-settings summary{cursor:pointer;font-weight:600;padding:10px 0;min-height:24px}
#horizon-booking-demo .hm-message-alert-result:empty,#horizon-booking-demo .hm-draft-context:empty{display:none}
#horizon-booking-demo .hm-message-inbox :is(select,input,textarea){max-width:100%}
#horizon-booking-demo .hm-message-body{white-space:pre-wrap;overflow-wrap:anywhere}

html body #horizon-booking-demo .hm-message-inbox .hm-message-card .hm-message-call{color:#fff}
html body #horizon-booking-demo .hm-message-inbox .hm-message-call :is(span,small,svg){color:inherit}

/* The pending count carries the highlight, keeping the button in its theme. */
#horizon-booking-demo .hm-desktop-messages{display:flex;align-items:center;justify-content:center;gap:9px}
html body #horizon-booking-demo .hd-session-bar .hm-desktop-messages .hm-pending-count{display:inline-grid;place-items:center;min-width:23px;height:23px;box-sizing:border-box;padding:0 5px;border:1.5px solid #ed91b9;border-radius:50%;background:#2c2030;color:#ffacd0!important;font:750 12px/1 system-ui;font-variant-numeric:tabular-nums;flex:none}
#horizon-booking-demo .hm-desktop-messages .hm-pending-count[hidden]{display:none!important}
#horizon-booking-demo .hm-inbox-heading-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
#horizon-booking-demo .hm-inbox-heading-actions [data-close]{width:48px;font-size:26px}
@media(max-width:600px){#horizon-booking-demo .hm-inbox-heading{flex-wrap:wrap;gap:12px}#horizon-booking-demo .hm-inbox-heading-actions{width:100%;justify-content:space-between}#horizon-booking-demo .hm-inbox-heading-actions [data-new]{flex:1}}

#horizon-booking-demo .hm-message-delete-confirm{padding:12px;margin-top:12px;border:1px solid var(--hd-line);border-radius:10px;background:var(--hd-bg)}
html body #horizon-booking-demo .hm-message-inbox [data-action=delete]{color:#b42332;background:#fff0f0;border-color:#d98c94}

/* Customer context stays readable in the composer and both inbox layouts. */
#horizon-booking-demo .hm-message-inbox{width:min(740px,calc(100vw - 24px));border:1px solid var(--hd-line);border-radius:20px;padding:25px;color:var(--hd-fg);box-sizing:border-box}
#horizon-booking-demo .hm-message-compose{border:0;padding:0;margin:24px 0 30px}
#horizon-booking-demo .hm-message-compose>h3{font-size:25px;letter-spacing:-.5px;margin:0 0 20px}
#horizon-booking-demo .hm-message-compose form{margin:0;gap:20px}
#horizon-booking-demo .hm-compose-customer{border:1px solid color-mix(in srgb,var(--hd-action) 35%,var(--hd-line));border-radius:14px;background:color-mix(in srgb,var(--hd-soft) 96%,var(--hd-action));overflow:visible}
#horizon-booking-demo .hm-customer-context-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;padding:8px 18px;background:color-mix(in srgb,var(--hd-soft) 90%,var(--hd-action));border-bottom:1px solid var(--hd-line);border-radius:13px 13px 0 0}
#horizon-booking-demo .hm-customer-context-header>div{display:flex;align-items:center;gap:14px}
#horizon-booking-demo .hm-customer-context-header .hm-draft-context{margin:0;color:var(--hd-secondary);font-size:12px}
html body #horizon-booking-demo .hm-message-inbox .hm-customer-context-header button{border:0;background:none;color:var(--hd-fg);padding:8px 0;min-height:36px;font-size:12px;border-radius:4px}
#horizon-booking-demo .hm-linked-customer{padding:20px}
#horizon-booking-demo .hm-linked-name{display:flex;align-items:center;gap:12px;margin-bottom:18px}
#horizon-booking-demo .hm-customer-monogram{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:color-mix(in srgb,var(--hd-action) 18%,var(--hd-soft));border:1px solid color-mix(in srgb,var(--hd-action) 35%,var(--hd-line));border-radius:10px;font-size:14px;font-weight:650}
#horizon-booking-demo .hm-linked-name h4{margin:0 0 3px;font-size:21px;line-height:1.3}
#horizon-booking-demo .hm-linked-name small{color:var(--hd-secondary);font-size:12px}
#horizon-booking-demo .hm-linked-phone{margin-bottom:17px;display:grid;gap:5px}
#horizon-booking-demo .hm-linked-phone>span,#horizon-booking-demo .hm-message-address>span{font-size:12px;color:var(--hd-secondary)}
#horizon-booking-demo .hm-linked-phone strong{font-size:15px;font-weight:500}
#horizon-booking-demo .hm-message-address address{font-style:normal;font-size:16px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere;margin-top:5px;max-width:none}
#horizon-booking-demo .hm-message-customer-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}
html body #horizon-booking-demo .hm-message-inbox .hm-message-customer-links :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--hd-action) 38%,var(--hd-line));padding:10px 14px;border-radius:9px;background:color-mix(in srgb,var(--hd-soft) 87%,var(--hd-action));font:600 13px/1.4 system-ui;color:var(--hd-fg);text-decoration:none}
#horizon-booking-demo .hm-message-customer-fields{padding:20px;display:grid;gap:16px}
#horizon-booking-demo .hm-compose-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px;min-width:0}
#horizon-booking-demo .hm-compose-routing{grid-template-columns:1.4fr 1fr}
#horizon-booking-demo .hm-message-customer-picker{padding:18px 20px;border-bottom:1px solid var(--hd-line);display:grid;gap:10px}
#horizon-booking-demo .hm-message-customer-picker .hc-search-list{z-index:50;max-height:280px}
#horizon-booking-demo .hm-compose-footer{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center}
#horizon-booking-demo .hm-compose-footer>span{font-size:12px;color:var(--hd-secondary)}
html body #horizon-booking-demo .hm-message-inbox .hm-compose-footer button{padding:12px 20px;border-radius:10px}
#horizon-booking-demo .hm-message-draft-tools{display:flex;gap:16px;align-items:center}
html body #horizon-booking-demo .hm-message-inbox .hm-message-draft-tools button{min-height:40px;padding:7px 0;border:0;background:none;color:var(--hd-secondary);font-size:12px;flex-shrink:0}
#horizon-booking-demo .hm-message-draft-tools small{font-size:12px;color:var(--hd-secondary);line-height:1.5}
#horizon-booking-demo .hm-message-card{padding:22px;border-left-width:1px;border-radius:15px}
#horizon-booking-demo .hm-message-card[data-unread=true]{border-color:color-mix(in srgb,var(--hd-action) 45%,var(--hd-line))}
#horizon-booking-demo .hm-message-body{font-size:17px;line-height:1.65;margin:18px 0 24px}
#horizon-booking-demo .hm-message-customer-summary{border-block:1px solid var(--hd-line);padding:20px 0}
#horizon-booking-demo .hm-message-customer-summary h3{margin:6px 0 17px;font-size:21px}
#horizon-booking-demo .hm-message-customer-summary .hm-message-call{margin-top:16px}
html body #horizon-booking-demo .hm-message-inbox .hm-message-card .hm-message-call{display:inline-flex;align-items:center;gap:10px;box-sizing:border-box;min-height:48px;max-width:100%;border:1px solid var(--hd-action);border-radius:10px;padding:10px 14px;background:var(--hd-action);color:var(--hd-actiontext);font:600 14px/1.4 system-ui;text-decoration:none}
#horizon-booking-demo .hm-message-call>svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7}
#horizon-booking-demo .hm-message-call>span{display:grid;gap:3px;text-align:left;overflow-wrap:anywhere}
#horizon-booking-demo .hm-message-call small{font-size:12px;font-weight:400}
html body #horizon-booking-demo .hm-message-inbox .hm-message-card .hm-message-call:disabled{color:var(--hd-secondary);background:var(--hd-bg);border-color:var(--hd-line)}
#horizon-booking-demo .hm-message-card[data-urgent=true]{border-color:#d53c64}
#horizon-booking-demo .hm-message-inbox[data-composing=true] .hm-inbox-content>p:not(.hm-message-error){display:none}
#horizon-booking-demo .hm-message-inbox[data-composing=true] :is(.hm-inbox-tools,.hm-message-views,.hm-message-list,.hm-alert-settings){display:none}
#horizon-booking-demo .hm-message-inbox[data-composing=true] .hm-message-compose{margin:8px 0 0}
#horizon-booking-demo .hm-message-inbox[data-composing=true] .hm-message-compose>h3{display:none}
html body #horizon-booking-demo .hm-message-inbox [data-back-inbox]{border:0;background:none;font-size:12px;color:var(--hd-secondary);padding:6px 0;min-height:36px;margin:0 0 12px}
@media(min-width:761px){
 #horizon-booking-demo .hm-linked-customer{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:20px}
 #horizon-booking-demo .hm-linked-name,#horizon-booking-demo .hm-linked-customer>.hm-message-customer-links{grid-column:1/-1}
 #horizon-booking-demo .hm-linked-phone{align-content:start}
}
@media(max-width:760px){
 #horizon-booking-demo .hm-message-inbox{width:calc(100vw - 20px);padding:18px;border-radius:16px}
 #horizon-booking-demo .hm-compose-pair{grid-template-columns:1fr}
 #horizon-booking-demo .hm-compose-routing{grid-template-columns:1fr 1fr;gap:10px}
 #horizon-booking-demo .hm-customer-context-header{padding:10px 14px}
 #horizon-booking-demo .hm-customer-context-header>div{width:100%;justify-content:space-between}
 #horizon-booking-demo .hm-linked-customer,#horizon-booking-demo .hm-message-customer-fields{padding:18px 14px}
 #horizon-booking-demo .hm-message-card{padding:18px 15px}
 #horizon-booking-demo .hm-message-customer-links{flex-direction:column;align-items:stretch}
 #horizon-booking-demo .hm-message-customer-links .hm-open-phone{display:none!important}
 #horizon-booking-demo .hm-compose-footer{align-items:stretch;flex-direction:column}
 #horizon-booking-demo .hm-message-draft-tools{align-items:flex-start;flex-direction:column;gap:6px}
 #horizon-booking-demo .hm-inbox-heading h2{font-size:21px}
}

/* Keep the message layout consistent while inheriting the active workspace palette.
   Phone colours follow its independent Light, Dark or Bubble Mode appearance. */
html body #horizon-booking-demo .hm-message-inbox{
 --msg-bg:var(--hd-bg);--msg-panel:var(--hd-soft);--msg-ink:var(--hd-fg);--msg-muted:var(--hd-secondary);--msg-line:var(--hd-line);--msg-action:var(--hd-action);--msg-action-ink:var(--hd-actiontext);
 --msg-field:var(--hd-bg);--msg-button:color-mix(in srgb,var(--hd-action) 10%,var(--hd-soft));--msg-tint:color-mix(in srgb,var(--hd-action) 8%,var(--hd-soft));--msg-hover:color-mix(in srgb,var(--hd-action) 16%,var(--hd-soft));--msg-danger:var(--ws-error,light-dark(#a5264c,#ffb8c0));
 background:var(--msg-bg)!important;color:var(--msg-ink)!important;border-color:var(--msg-line)!important;color-scheme:inherit;
}
/* HQ and HQ Classic retain the approved purple message design. */
@media (min-width:761px) and (min-height:601px), (min-width:1101px){
 html body #horizon-booking-demo:is([data-horizon-theme=hq-test],[data-horizon-theme=hq]) .hm-message-inbox{
  --msg-bg:#211d2b;--msg-panel:#2b2437;--msg-ink:#f3eef5;--msg-muted:#bfb2c8;--msg-line:#66506f;--msg-action:#e8c790;--msg-action-ink:#322438;--msg-field:#211e2b;--msg-button:#43324f;--msg-tint:#392c44;--msg-hover:#372b43;--msg-danger:#ffb8c0;color-scheme:dark;
 }
}
html body #horizon-booking-demo #hm-engineer-message-inbox{background:var(--msg-bg)!important;color:var(--msg-ink)!important;border-color:var(--msg-line)!important}
html body #horizon-booking-demo #hm-engineer-message-inbox{font:14px/1.5 'Segoe UI',system-ui,sans-serif!important;border-radius:20px!important}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(h2,h3,h4,button,input,select,textarea){font-family:'Segoe UI',system-ui,sans-serif!important}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(h2,h3,h4){font-weight:600!important}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(button,input,select,textarea){border-radius:9px!important}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-deleted-card{border-radius:11px!important}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-compose-customer{border-radius:14px!important}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-card{border-radius:15px!important}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(.hm-compose-footer button,[data-action=restore]){background:var(--msg-action)!important;color:var(--msg-action-ink)!important;border-color:var(--msg-action)!important}
html body #horizon-booking-demo .hm-message-inbox :is(h2,h3,h4){color:var(--msg-ink)}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(h2,h3,h4){color:var(--msg-ink)!important}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(input,textarea,select){border-color:var(--msg-line)!important}
html body #horizon-booking-demo .hm-message-inbox p{color:inherit}
html body #horizon-booking-demo .hm-message-inbox :is(button,select,input,textarea,a){box-sizing:border-box}
html body #horizon-booking-demo .hm-message-inbox button{background:var(--msg-button);color:var(--msg-ink);border-color:var(--msg-line);box-shadow:none}
html body #horizon-booking-demo .hm-message-inbox :is(input,textarea,select){background:var(--msg-field)!important;color:var(--msg-ink)!important;border:1px solid var(--msg-line);border-radius:9px;font:400 16px/1.5 system-ui}
html body #horizon-booking-demo .hm-message-inbox :is(input,textarea,select)::placeholder{color:var(--msg-muted);opacity:1}
html body #horizon-booking-demo .hm-message-inbox :is(label,.hm-eyebrow){color:var(--msg-muted)}
html body #horizon-booking-demo .hm-message-inbox .hm-eyebrow{font-size:10px;letter-spacing:1.5px}
html body #horizon-booking-demo .hm-message-inbox .hm-message-brand{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 25px;margin:-25px -25px 26px;background:var(--msg-tint);border-bottom:1px solid var(--msg-line)}
#horizon-booking-demo .hm-message-logo{display:flex;align-items:center;gap:15px;font:30px/1 Georgia,serif;letter-spacing:-1.5px;color:var(--msg-action)}
#horizon-booking-demo .hm-message-logo small{font:600 10px/1.5 system-ui;letter-spacing:1.8px;color:var(--msg-muted);border-left:1px solid var(--msg-line);padding-left:15px}
#horizon-booking-demo .hm-message-brand-count{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--msg-muted)}
#horizon-booking-demo .hm-message-brand-count[data-pending=true]{color:var(--msg-danger)}
#horizon-booking-demo .hm-message-brand-count b{background:color-mix(in srgb,var(--msg-danger) 15%,var(--msg-bg));color:var(--msg-danger);font-size:11px;padding:2px 7px;border-radius:5px}
html body #horizon-booking-demo .hm-message-inbox .hm-inbox-heading h2{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin:6px 0 0}
html body #horizon-booking-demo .hm-message-inbox .hm-inbox-heading>button{background:var(--msg-tint);border-color:var(--msg-line)}
html body #horizon-booking-demo .hm-message-inbox .hm-compose-customer{background:var(--msg-panel);border-color:var(--msg-line)}
html body #horizon-booking-demo .hm-message-inbox .hm-customer-context-header{background:var(--msg-tint);border-color:var(--msg-line)}
#horizon-booking-demo .hm-linked-customer{display:block}
#horizon-booking-demo .hm-message-glyph{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--msg-muted)}
#horizon-booking-demo .hm-message-inbox .hm-draft-context{display:inline-flex;align-items:center;gap:7px}
#horizon-booking-demo .hm-message-inbox .hm-linked-phone{display:flex;align-items:flex-start;gap:12px}
#horizon-booking-demo .hm-linked-phone>.hm-message-glyph{margin-top:3px}
#horizon-booking-demo .hm-linked-phone>div{display:grid;gap:5px}
#horizon-booking-demo .hm-linked-phone>div>span{font-size:12px;color:var(--msg-muted)}
#horizon-booking-demo .hm-message-inbox .hm-message-address{display:grid;grid-template-columns:16px minmax(0,1fr);gap:5px 12px}
#horizon-booking-demo .hm-message-address>.hm-message-glyph{grid-column:1;grid-row:1/3;margin-top:3px}
#horizon-booking-demo .hm-message-address>span,#horizon-booking-demo .hm-message-address>address{grid-column:2}
#horizon-booking-demo .hm-message-address>address{margin-top:0}
#horizon-booking-demo .hm-message-customer-links :is(button,a){gap:8px}
html body #horizon-booking-demo .hm-message-inbox .hm-customer-monogram{background:var(--msg-button);border-color:var(--msg-line);color:var(--msg-ink)}
html body #horizon-booking-demo .hm-message-inbox .hm-message-customer-links :is(button,a){color:var(--msg-ink);background:var(--msg-button);border-color:var(--msg-line)}
html body #horizon-booking-demo .hm-message-inbox :is(.hm-customer-context-header button,[data-back-inbox],.hm-message-draft-tools button){background:none;color:var(--msg-muted);border:0}
html body #horizon-booking-demo .hm-message-inbox :is(.hm-compose-footer button,[data-action=resolve],[data-action=restore]){background:var(--msg-action);color:var(--msg-action-ink);border-color:var(--msg-action)}
html body #horizon-booking-demo .hm-message-inbox .hm-message-card{background:var(--msg-panel);border-color:var(--msg-line)}
html body #horizon-booking-demo .hm-message-inbox .hm-message-meta>span{background:var(--msg-tint);color:var(--msg-ink);border:1px solid var(--msg-line);border-radius:7px}
html body #horizon-booking-demo .hm-message-inbox [data-delete]{background:none;color:var(--msg-danger);border-color:transparent}
html body #horizon-booking-demo .hm-message-inbox .hm-message-customer-summary{border-color:var(--msg-line)}
html body #horizon-booking-demo .hm-message-inbox .hm-message-call{background:var(--msg-button);border-color:var(--msg-line);color:var(--msg-ink)}
html body #horizon-booking-demo .hm-message-inbox .hm-alert-settings{border-color:var(--msg-line)}
#horizon-booking-demo .hm-deleted-tools{display:grid;gap:9px;margin:18px 0}
#horizon-booking-demo .hm-deleted-tools label{display:grid;gap:8px;font-size:12px;font-weight:600}
#horizon-booking-demo .hm-deleted-tools input{width:100%;min-height:46px;padding:11px 13px}
#horizon-booking-demo [data-deleted-count]{color:var(--msg-muted);font-size:12px}
html body #horizon-booking-demo .hm-message-inbox .hm-deleted-card{display:grid;gap:4px;width:100%;min-height:0;margin:8px 0;padding:13px 16px;text-align:left;background:var(--msg-panel);border:1px solid var(--msg-line);border-radius:11px;color:var(--msg-ink);overflow:hidden}
html body #horizon-booking-demo .hm-message-inbox .hm-deleted-card:hover{background:var(--msg-hover);border-color:var(--msg-action)}
#horizon-booking-demo .hm-deleted-card-top{display:flex;justify-content:space-between;align-items:baseline;gap:15px;min-width:0}
#horizon-booking-demo .hm-deleted-card-top strong{font-size:15px;font-weight:600;min-width:0;overflow-wrap:anywhere}
#horizon-booking-demo .hm-deleted-card-top small{color:var(--msg-muted);font-size:11px;flex-shrink:0;font-weight:400}
#horizon-booking-demo .hm-deleted-card-for{font-size:11px;color:var(--msg-muted);font-weight:400}
#horizon-booking-demo .hm-deleted-card-preview{font-size:13px;color:var(--msg-muted);font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
html body #horizon-booking-demo .hm-message-inbox .hm-deleted-back{background:none;border:0;color:var(--msg-action);padding:8px 0;font-size:13px;min-height:44px;text-align:left}
#horizon-booking-demo .hm-deleted-pages{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px;font-size:12px;color:var(--msg-muted)}
#horizon-booking-demo .hm-deleted-pages>span{margin-right:auto}
#horizon-booking-demo .hm-message-inbox[data-deleted-detail=true] :is(.hm-inbox-tools,.hm-message-views,.hm-deleted-tools,.hm-alert-settings){display:none}
#horizon-booking-demo .hm-message-inbox[data-deleted-detail=true] .hm-inbox-content>p:first-child{display:none}
#horizon-booking-demo .hm-message-inbox[data-composing=true] .hm-deleted-tools{display:none}
@media(max-width:760px){
 html body #horizon-booking-demo .hm-message-inbox .hm-message-brand{margin:-18px -18px 22px;padding:18px}
 #horizon-booking-demo .hm-message-logo{font-size:28px;gap:11px}
 #horizon-booking-demo .hm-message-logo small{font-size:9px;letter-spacing:1px;padding-left:11px}
 #horizon-booking-demo .hm-deleted-card-top{flex-wrap:wrap;gap:2px 12px}
}

/* Explicit colours also protect the message surface from general phone/dialog rules. */
html body #horizon-booking-demo #hm-engineer-message-inbox :is(.hm-linked-name small,.hm-linked-phone>div>span,.hm-message-address>span,.hm-draft-context,.hm-compose-footer>span,.hm-message-draft-tools small){color:var(--msg-muted)}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(.hm-message-card,.hm-compose-customer,.hm-deleted-card){background:var(--msg-panel);color:var(--msg-ink);border-color:var(--msg-line)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-deleted-card:hover{background:var(--msg-hover);border-color:var(--msg-action)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-views button[aria-pressed=true]{border-color:var(--msg-action);box-shadow:inset 0 -3px var(--msg-action)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-history small{color:var(--msg-muted)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-error{color:var(--msg-danger)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-call{background:var(--msg-action);color:var(--msg-action-ink);border-color:var(--msg-action)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-call:disabled{background:var(--msg-bg);color:var(--msg-muted);border-color:var(--msg-line)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-card[data-urgent=true]{border-color:var(--msg-danger)}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-card[data-unread=true]:not([data-urgent=true]){border-color:var(--msg-action)}
html body #horizon-booking-demo #hm-engineer-message-inbox [data-action=resolve]{background:var(--msg-action);color:var(--msg-action-ink);border-color:var(--msg-action)}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--msg-action);outline-offset:3px}
html body #horizon-booking-demo #hm-engineer-message-inbox :is(select,input,textarea){color-scheme:inherit!important}

/* Quiet, readable branding and send action alongside each theme's message colours. */
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-message-logo{color:color-mix(in srgb,var(--msg-ink) 75%,var(--msg-panel))!important;text-shadow:none!important}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-compose-footer button{background:#596171!important;color:#fff!important;border-color:#8590a1!important;text-shadow:none!important}
html body #horizon-booking-demo #hm-engineer-message-inbox .hm-compose-footer button:not(:disabled):hover{background:#687283!important;border-color:#a1abba!important}
#horizon-booking-demo .hm-message-inbox[data-composing=true] .hm-inbox-heading-actions [data-new]{display:none}
