/* The event header launches one private conversation. Closed chats take no room. */
#evView[data-page="event"] .ev-head{gap:10px}
#evView[data-page="event"] .ev-head-copy{flex:1;min-width:0}
#evView[data-page="event"] .ev-head-copy h1{font-size:clamp(19px,4.8vw,30px);overflow-wrap:anywhere}
#evView .ev-head-actions{display:flex;align-items:center;gap:8px;flex:none;margin-left:auto}
#evView .ev-head-actions .es-launch{margin-left:0}
:is(#evView,#maintenanceView) .ev-chat-launch{display:grid;place-items:center;width:48px;height:48px;padding:10px;flex:none;border-radius:15px;color:var(--ev-muted)}
:is(#evView,#maintenanceView) .ev-chat-launch svg,:is(#evView,#maintenanceView) .ev-chat svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
html.hc-event-chat-open,html.hc-event-chat-open body{overflow:hidden;overscroll-behavior:none}
/* The native top layer traps focus. visualViewport keeps the input above the keyboard. */
:is(#evView,#maintenanceView) dialog.ev-chat{position:fixed;inset:auto;top:var(--ec-viewport-top,0px);left:var(--ec-viewport-left,0px);width:var(--ec-viewport-width,100vw);height:var(--ec-viewport-height,100dvh);max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0b1416;color:var(--text,#eef4f2);font:17px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden;overscroll-behavior:none;box-sizing:border-box}
:is(#evView,#maintenanceView) .ev-chat:not([open]),:is(#evView,#maintenanceView) .ev-chat[hidden],:is(#evView,#maintenanceView) .ev-chat [hidden]{display:none!important}
:is(#evView,#maintenanceView) .ev-chat[open]{display:block}
:is(#evView,#maintenanceView) .ev-chat::backdrop{background:#081011}
:is(#evView,#maintenanceView) .ev-chat[data-ec-animate="true"]{animation:ev-chat-open .24s ease-out both}
:is(#evView,#maintenanceView) .ev-chat-screen{display:flex;flex-direction:column;width:100%;max-width:960px;height:100%;min-height:0;margin:0 auto;background:#10191b;isolation:isolate}
:is(#evView,#maintenanceView) .ev-chat-header{display:flex;align-items:flex-start;gap:12px;flex:none;max-height:36%;overflow:auto;padding:calc(14px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 14px max(12px,env(safe-area-inset-left,0px));border-bottom:1px solid #304440;background:#172725;scrollbar-width:thin}
:is(#evView,#maintenanceView) .ev-chat-back{display:grid;place-items:center;width:46px;height:46px;min-height:46px;flex:none;padding:10px;border-radius:50%}
:is(#evView,#maintenanceView) .ev-chat-heading{min-width:0;flex:1}
:is(#evView,#maintenanceView) .ev-chat-kicker{display:block;font-size:12px;line-height:1.4;font-weight:650;letter-spacing:.045em;color:#9cd2c5;margin-bottom:4px}
:is(#evView,#maintenanceView) .ev-chat-heading h2{font-size:18px;font-weight:750;line-height:1.4;letter-spacing:0;margin:0;overflow-wrap:anywhere;white-space:normal}
:is(#evView,#maintenanceView) .ev-chat-context{font-size:13px;line-height:1.5;color:#b3cbc5;margin:5px 0 0;overflow-wrap:anywhere}
:is(#evView,#maintenanceView) .ev-chat-history{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:0 max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));background:radial-gradient(ellipse at 20% 10%,#1b322c50,transparent 60%),#10191b}
:is(#evView,#maintenanceView) .ev-chat-log{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#39534d transparent;padding:20px 2px 18px;scroll-padding:16px}
:is(#evView,#maintenanceView) .ev-chat-empty{width:min(100%,440px);margin:auto;align-self:center;text-align:center;color:#b8ccc6;padding:24px 12px;font-size:17px;line-height:1.55;overflow-wrap:anywhere}
:is(#evView,#maintenanceView) .ev-chat-empty>svg{width:44px;height:44px;margin:0 auto 16px;color:#8ccdbd}
:is(#evView,#maintenanceView) .ev-chat-empty strong{display:block;color:#edf5f1;font-size:20px;line-height:1.35;font-weight:700}
:is(#evView,#maintenanceView) .ev-chat-empty p{margin:12px 0;font-size:17px;line-height:1.55}
:is(#evView,#maintenanceView) .ev-chat-empty small{display:block;font-size:13px;line-height:1.55;color:#9cb9b0}
:is(#evView,#maintenanceView) .ev-chat-message{align-self:flex-start;max-width:90%;min-width:0;border:1px solid #32443e;border-radius:4px 18px 18px 18px;padding:13px 15px;background:#202e2a;color:#f2f6f3;overflow-wrap:anywhere;box-shadow:0 2px 5px #0002}
:is(#evView,#maintenanceView) .ev-chat-user{align-self:flex-end;border-color:#356658;border-radius:18px 4px 18px 18px;background:#17493d}
:is(#evView,#maintenanceView) .ev-chat-message-heading{display:flex;gap:10px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;margin-bottom:9px;font-size:13px;line-height:1.45;color:#a9c9bd}
:is(#evView,#maintenanceView) .ev-chat-message-heading strong{font-size:13px;font-weight:650}
:is(#evView,#maintenanceView) .ev-chat-message-heading time{font-size:12px;color:#c0d2ca}
:is(#evView,#maintenanceView) .ev-chat-message-text{font-size:17px;line-height:1.6;overflow-wrap:anywhere;white-space:normal}
:is(#evView,#maintenanceView) .ev-chat-user .ev-chat-message-text{white-space:pre-wrap}
:is(#evView,#maintenanceView) .ev-chat-message-text p{font-size:17px;line-height:1.6;margin:0 0 .85em}
:is(#evView,#maintenanceView) .ev-chat-message-text p:last-child{margin-bottom:0}
:is(#evView,#maintenanceView) .ev-chat-message-text strong{font-weight:750;color:inherit}
:is(#evView,#maintenanceView) .ev-chat-message-text ol,:is(#evView,#maintenanceView) .ev-chat-message-text ul{font-size:17px;line-height:1.6;margin:.45em 0 .85em;padding-left:1.55em}
:is(#evView,#maintenanceView) .ev-chat-message-text li{padding-left:.15em;margin:.4em 0}
:is(#evView,#maintenanceView) .ev-chat-message-text :is(ol,ul):last-child{margin-bottom:0}
:is(#evView,#maintenanceView) .ev-chat-message-text code{font:inherit;background:#ffffff0b;border-radius:4px;padding:1px 4px}
:is(#evView,#maintenanceView) .ev-chat-message-text .ev-chat-text-heading{margin-top:.9em;margin-bottom:.35em}
:is(#evView,#maintenanceView) .ev-chat-message-text .ev-chat-text-heading:first-child{margin-top:0}
:is(#evView,#maintenanceView) .ev-chat-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:10px;border-top:1px solid #adcabc24}
:is(#evView,#maintenanceView) .ev-chat-sources .ev-btn{font-size:13px;line-height:1.45;text-align:left;padding:9px 11px;min-height:44px;max-width:100%;overflow-wrap:anywhere;border-radius:10px}
:is(#evView,#maintenanceView) .ev-chat-earlier{align-self:center;flex:none;font-size:13px;line-height:1.4;padding:9px 14px;min-height:44px;margin:10px 0 0;border-radius:22px}
:is(#evView,#maintenanceView) .ev-chat-coverage{font-size:13px;line-height:1.5;max-height:20%;flex:none;overflow:auto;color:#c1d5cd;background:#1a2a24;border-radius:10px;padding:8px 10px;margin:0 0 8px}
/* Long recording/error details scroll above the composer, keeping Send visible. */
:is(#evView,#maintenanceView) .ev-chat-composer{display:flex;flex-direction:column;flex:none;max-height:55%;min-height:0;margin:0;border-top:1px solid #30443d;background:#17231f;padding:10px max(12px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}
:is(#evView,#maintenanceView) .ev-chat-feedback{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
:is(#evView,#maintenanceView) .ev-chat-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
:is(#evView,#maintenanceView) .ev-chat-input-row{display:flex;align-items:flex-end;gap:8px;flex:none;min-width:0}
:is(#evView,#maintenanceView) .ev-chat textarea{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:48px;max-height:160px;resize:none;border:1px solid #4a6257;border-radius:23px;padding:10px 14px;font:inherit;font-size:17px;line-height:1.55;background:#23372e;color:#f2f6f3;scrollbar-width:thin;overscroll-behavior:contain}
:is(#evView,#maintenanceView) .ev-chat-input-row textarea{flex:1}
:is(#evView,#maintenanceView) .ev-chat textarea::placeholder{color:#b8cbc2;opacity:1}
:is(#evView,#maintenanceView) .ev-chat textarea:focus-visible,:is(#evView,#maintenanceView) .ev-chat button:focus-visible{outline:3px solid #8bd6be;outline-offset:2px}
:is(#evView,#maintenanceView) .ev-chat-input-row .ev-btn{display:grid;place-items:center;flex:none;width:48px;height:48px;min-height:48px;padding:11px;border-radius:50%}
:is(#evView,#maintenanceView) .ev-chat-input-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex:none;line-height:1.45;margin-top:5px;padding:0 8px;color:#b1c3b9}
:is(#evView,#maintenanceView) .ev-chat-input-meta small{font-size:11px}
#evView [data-ec-count]{white-space:nowrap}
:is(#evView,#maintenanceView) .ev-chat-recording-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
:is(#evView,#maintenanceView) .ev-chat-recording-actions .ev-btn{margin-bottom:9px;font-size:14px;line-height:1.5}
:is(#evView,#maintenanceView) .ev-chat-status{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.55;color:#b8decd;padding:2px 2px 9px;overflow-wrap:anywhere}
:is(#evView,#maintenanceView) .ev-chat-thinking{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
:is(#evView,#maintenanceView) .ev-chat-thinking i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:ev-chat-think 1.25s infinite ease-in-out}
:is(#evView,#maintenanceView) .ev-chat-thinking i:nth-child(2){animation-delay:.15s}
:is(#evView,#maintenanceView) .ev-chat-thinking i:nth-child(3){animation-delay:.3s}
:is(#evView,#maintenanceView) .ev-chat-error,:is(#evView,#maintenanceView) .ev-chat-audio{border:1px solid #4b6558;border-radius:12px;padding:11px 12px;margin:0 0 10px;font-size:14px;line-height:1.55}
:is(#evView,#maintenanceView) .ev-chat-error{border-color:#a68565;color:#f3dbc1}
:is(#evView,#maintenanceView) .ev-chat-error p,:is(#evView,#maintenanceView) .ev-chat-audio p{font-size:14px;line-height:1.55;margin:0 0 8px;overflow-wrap:anywhere}
:is(#evView,#maintenanceView) .ev-chat-error .ev-btn,:is(#evView,#maintenanceView) .ev-chat-audio .ev-btn{font-size:14px;line-height:1.5;margin:4px 6px 0 0}
#evView textarea.ev-chat-transcript{font-size:17px;line-height:1.55;min-height:100px;max-height:160px;border-radius:12px;margin:8px 0}
:is(#evView,#maintenanceView) .ev-chat-failed{font-size:14px;line-height:1.55;color:#e7c6a9}
:is(#evView,#maintenanceView) .ev-chat button:disabled{cursor:default}
@keyframes ev-chat-open{from{clip-path:circle(24px at var(--ec-origin-x,50%) var(--ec-origin-y,80px));opacity:.6}to{clip-path:circle(150vmax at var(--ec-origin-x,50%) var(--ec-origin-y,80px));opacity:1}}
@keyframes ev-chat-think{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(min-width:768px){:is(#evView,#maintenanceView) .ev-chat-screen{border-left:1px solid #283e35;border-right:1px solid #283e35}:is(#evView,#maintenanceView) .ev-chat-header{padding-left:24px;padding-right:24px}:is(#evView,#maintenanceView) .ev-chat-history{padding-left:26px;padding-right:26px}:is(#evView,#maintenanceView) .ev-chat-composer{padding-left:26px;padding-right:26px}:is(#evView,#maintenanceView) .ev-chat-heading h2{font-size:20px}:is(#evView,#maintenanceView) .ev-chat-message{max-width:82%}}
@media(max-width:450px){#evView .ev-head-actions .es-launch{width:48px;height:48px;padding:10px;justify-content:center}:is(#evView,#maintenanceView) .ev-chat-header{gap:9px;padding-left:max(9px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}:is(#evView,#maintenanceView) .ev-chat-message{max-width:94%;padding:12px 13px}:is(#evView,#maintenanceView) .ev-chat-input-row{gap:6px}:is(#evView,#maintenanceView) .ev-chat-composer{padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}}
@media(max-width:360px){#evView[data-page="event"] .ev-head{gap:7px}#evView .ev-head-actions{gap:5px}#evView .ev-head-actions .ev-btn{width:44px;height:44px;padding:9px}:is(#evView,#maintenanceView) .ev-chat-history{padding-left:8px;padding-right:8px}:is(#evView,#maintenanceView) .ev-chat-message{max-width:96%}:is(#evView,#maintenanceView) .ev-chat-input-row .ev-btn{width:44px;height:48px;padding:10px}}
@media(max-height:550px){:is(#evView,#maintenanceView) .ev-chat-header{padding-top:max(8px,env(safe-area-inset-top,0px));padding-bottom:8px;max-height:32%}:is(#evView,#maintenanceView) .ev-chat-kicker{display:none}:is(#evView,#maintenanceView) .ev-chat-context{margin-top:3px}:is(#evView,#maintenanceView) .ev-chat-log{padding-top:12px;padding-bottom:12px}:is(#evView,#maintenanceView) .ev-chat-composer{padding-top:7px}}
@media(prefers-reduced-motion:reduce){:is(#evView,#maintenanceView) .ev-chat[data-ec-animate="true"]{animation:none}:is(#evView,#maintenanceView) .ev-chat-thinking i{animation:none;opacity:.7}}


#maintenanceView .hc-maintenance-hub .hc-hotel-chat-core{grid-column:1/-1;justify-self:center;align-self:center;display:grid;place-items:center;width:clamp(64px,17vw,86px);height:clamp(64px,17vw,86px);border:1.5px solid #83d1c7;border-radius:50%;background:radial-gradient(circle at 35% 20%,#367f74,#174e48 60%,#122e2c);color:#edfff9;padding:15px;box-shadow:0 3px 12px #0005;cursor:pointer}
#maintenanceView .hc-hotel-chat-core svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#maintenanceView .hc-hotel-chat-core:focus-visible{outline:3px solid #8af2df;outline-offset:3px}
#maintenanceView .hc-maintenance-hub :is(.hc-entry-measures,.hc-entry-checklist){min-height:clamp(142px,24dvh,215px)}
.hc-chat-date{align-self:center;font-size:12px;color:#c8e1da;background:#263a35;border-radius:14px;padding:3px 12px}
.hc-hotel-source{max-width:min(540px,93vw);max-height:86dvh;overflow:auto;background:#142422;color:#e5f1ed;border:1px solid #527269;border-radius:18px;padding:20px;overflow-wrap:anywhere}
.hc-hotel-source::backdrop{background:#06100ed9}.hc-hotel-source button,.hc-chat-return{background:#21554c;color:#ecfff7;border:1px solid #68968c;border-radius:10px;padding:9px 12px;font-size:14px;cursor:pointer}
.hc-hotel-source h2{font-size:21px;line-height:1.3}.hc-source-field{display:grid;gap:3px;margin:10px 0}.hc-source-field strong{color:#9cd1c1;font-size:13px}.hc-source-field p{margin:0}
.hc-chat-return{position:fixed;bottom:calc(76px + env(safe-area-inset-bottom));right:12px;z-index:15000}

#hotelChatDialog .ev-chat-screen{box-sizing:border-box}
#hotelChatDialog .ev-chat-header{min-height:0;padding:8px max(12px,env(safe-area-inset-right,0px)) 8px max(8px,env(safe-area-inset-left,0px));gap:8px;align-items:center}
#hotelChatDialog .ev-chat-heading h2{margin:0;font-size:18px;line-height:1.25}
#hotelChatDialog .ev-chat-context{margin-top:2px}
#hotelChatDialog .ev-chat-back{width:44px;min-height:44px;background:transparent;border:1px solid transparent;color:#c6e6da;box-shadow:none}
#hotelChatDialog .ev-chat-kicker{font-size:12px;letter-spacing:.03em}
#hotelChatDialog .ev-chat-context:empty,#hotelChatDialog .ev-chat-input-meta{display:none}
#hotelChatDialog .hc-report-presets{display:flex;flex-wrap:wrap;gap:8px}
#hotelChatDialog .hc-report-presets button,#hotelChatDialog .hc-record-link{background:#203e36;color:#ccf2e1;border:1px solid #49685a;border-radius:12px;padding:7px 11px;min-height:38px;font:600 14px/1.3 system-ui;cursor:pointer}
#hotelChatDialog .hc-report-presets button:disabled{opacity:.5}
#hotelChatDialog .hc-maintenance-answer{width:min(100%,560px);max-width:100%;padding:14px 15px;box-sizing:border-box}
#hotelChatDialog .hc-report-range{font-size:12px;color:#b6c9c1;margin-bottom:5px}
#hotelChatDialog .hc-report-metric{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 0 13px;font-size:19px;line-height:1.25}
#hotelChatDialog .hc-report-metric b{font-size:clamp(30px,7vw,42px);color:#a0e8c7;font-variant-numeric:tabular-nums}
#hotelChatDialog .hc-chat-fold{border-top:1px solid #40534b;margin:0;color:#e4efe8}
#hotelChatDialog .hc-chat-fold summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;min-height:46px;font-size:16px;font-weight:650;line-height:1.35}
#hotelChatDialog .hc-chat-fold summary::-webkit-details-marker{display:none}
#hotelChatDialog .hc-chat-fold summary:before{content:'';width:7px;height:7px;flex:none;border:solid #a6d8bf;border-width:0 2px 2px 0;transform:rotate(-45deg);margin:0 3px}
#hotelChatDialog .hc-chat-fold[open]>summary:before{transform:rotate(45deg)}
#hotelChatDialog .hc-fold-count{margin-left:auto;color:#b2d5c2;font-size:14px;font-variant-numeric:tabular-nums}
#hotelChatDialog .hc-fold-body{margin:0 0 10px 8px;padding:0 0 0 12px;border-left:2px solid #436456}
#hotelChatDialog .hc-report-items{padding:0;margin:0;list-style:none}
#hotelChatDialog .hc-report-items>li{padding:5px 0;line-height:1.4}
#hotelChatDialog .hc-report-items strong{display:block;font-size:15px}
#hotelChatDialog .hc-report-items small,#hotelChatDialog .hc-fold-body>p{display:block;font-size:14px;line-height:1.45;color:#bdd1c5;margin:3px 0}
#hotelChatDialog .hc-report-fields{padding-left:19px;margin:5px 0 8px}
#hotelChatDialog .hc-report-fields li{margin:3px 0;font-size:14px}
#hotelChatDialog .hc-chat-fold .hc-chat-fold{border-top:0}
#hotelChatDialog .hc-chat-fold .hc-chat-fold summary{font-size:14px;min-height:44px}
#hotelChatDialog .hc-chat-fold:has(>.hc-fold-body>.hc-chat-fold){margin-top:8px}
#hotelChatDialog .hc-chat-fold:has(>.hc-fold-body>.hc-chat-fold)>summary{font-size:13px;color:#c4ded3}
#hotelChatDialog .hc-record-link{font-size:13px;margin:4px 5px 4px 0;min-height:34px}
#hotelChatDialog .ev-chat-coverage{display:none}

/* Five fitted panels share the same circular clearance around the chat button. */
#maintenanceView .hc-maintenance-hub.hc-hub-fitted{display:block;position:relative;isolation:isolate;width:100%;max-width:580px;aspect-ratio:360/330;container-type:inline-size;margin:0 auto;box-sizing:border-box}
.hc-hub-fitted .hc-hub-defs{position:absolute;pointer-events:none}
#maintenanceView .hc-maintenance-hub.hc-hub-fitted .maintenance-folder{display:block;position:absolute;margin:0;padding:0;min-width:0;min-height:0;box-sizing:border-box;border:0!important;border-radius:0;background:transparent!important;box-shadow:none;transition:none;color:#eef5f2;text-align:center}
#maintenanceView .hc-maintenance-hub.hc-hub-fitted .maintenance-folder>.hc-hub-face{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hc-hub-fitted .hc-hub-face{fill:url(#hc-hub-surface);stroke:#48605d;stroke-width:1.15}
.hc-hub-fitted .hc-hub-face use{vector-effect:non-scaling-stroke}
#maintenanceView .hc-hub-fitted .maintenance-folder:active{transform:none}
#maintenanceView .hc-hub-fitted .maintenance-folder:active .hc-hub-face{fill:#243d3b;stroke:#82c7b8}
#maintenanceView .hc-hub-fitted .maintenance-folder:focus-visible .hc-hub-face{stroke:#a9ead7;stroke-width:3}
#maintenanceView .hc-hub-fitted .hc-hub-label{position:absolute;inset:6% 6% 8%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(5px,1.75cqw,10px);pointer-events:none}
#maintenanceView .hc-hub-fitted .hc-entry-measures .hc-hub-label{inset:4% 12% 12% 5%}
#maintenanceView .hc-hub-fitted .hc-entry-checklist .hc-hub-label{inset:4% 5% 12% 12%}
#maintenanceView .hc-hub-fitted .hc-entry-incidents .hc-hub-label{inset:9% 30% 4% 1%}
#maintenanceView .hc-hub-fitted .hc-entry-library .hc-hub-label{inset:9% 1% 4% 30%}
#maintenanceView .hc-hub-fitted .hc-entry-sensors .hc-hub-label{inset:26% 3% 4%}
#maintenanceView .hc-hub-fitted .hc-hub-label .maintenance-folder-icon{display:grid;place-items:center;flex:none;width:clamp(29px,9.2cqw,46px);height:clamp(29px,9.2cqw,46px);margin:0;background:transparent;border:0;border-radius:0;color:#85d7c5}
#maintenanceView .hc-maintenance-hub.hc-hub-fitted .hc-hub-label .maintenance-folder-icon svg{width:100%;height:100%}
#maintenanceView .hc-hub-fitted .hc-hub-label .maintenance-folder-copy{display:flex;flex-direction:column;gap:4px;margin:0;max-width:100%;text-align:center}
#maintenanceView .hc-hub-fitted .hc-hub-label .maintenance-folder-copy strong{font-size:clamp(.94rem,4.65cqw,1.45rem);font-weight:650;line-height:1.12;text-wrap:balance}
#maintenanceView .hc-hub-fitted .hc-hub-label .maintenance-folder-copy small{font-size:clamp(.66rem,3.1cqw,.88rem);line-height:1.25;color:#afc0bc;text-wrap:balance}
#maintenanceView .hc-hub-fitted :is(.hc-entry-incidents,.hc-entry-library,.hc-entry-sensors) .maintenance-folder-copy strong{font-size:clamp(.77rem,3.8cqw,1.12rem)}
#maintenanceView .hc-hub-fitted .hc-hub-label .maintenance-folder-arrow{display:none}
#maintenanceView .hc-maintenance-hub.hc-hub-fitted .hc-hotel-chat-core{position:absolute;z-index:1;left:50%;top:47.8788%;transform:translate(-50%,-50%);box-sizing:border-box;width:18%;height:auto;aspect-ratio:1;padding:3.9%;margin:0;border:1.5px solid #9bdac9;border-radius:50%;background:linear-gradient(145deg,#34786f,#20534e 58%,#153b39);box-shadow:inset 0 1px 2px #d3ffee26,0 3px 8px #0004;color:#edf9f4}
@media(forced-colors:active){.hc-hub-fitted .hc-hub-face{fill:ButtonFace;stroke:ButtonText}#maintenanceView .hc-hub-fitted .maintenance-folder:focus-visible .hc-hub-face{stroke:Highlight}}

@media (orientation:landscape) and (max-height:760px){#maintenanceView .hc-maintenance-hub.hc-hub-fitted{max-width:clamp(285px,calc(100dvh - 254px),540px)}}

#hotelChatDialog .ev-chat-kicker:empty{display:none}
#hotelChatDialog .hc-chat-tools{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 12px;flex:none;
  padding:0 max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));
  background:#172725;border-bottom:1px solid #304440;font-size:13px
}
#hotelChatDialog .hc-chat-tools>details[open]{width:100%}
#hotelChatDialog .hc-chat-tools>details:not([open])>.hc-chat-tool-body{display:none}
#hotelChatDialog .hc-chat-tool-body{max-height:min(26dvh,215px);overflow:auto;overscroll-behavior:contain;padding:0 2px 10px}
#hotelChatDialog :is(.hc-chat-tools>details,[data-hc-chat-models])>summary{
  display:flex;align-items:center;gap:7px;min-height:44px;color:#d9ece4;cursor:pointer;list-style:none
}
#hotelChatDialog :is(.hc-chat-tools>details,[data-hc-chat-models])>summary::-webkit-details-marker{display:none}
#hotelChatDialog :is(.hc-chat-tools>details,[data-hc-chat-models])>summary::after{
  content:'';width:6px;height:6px;flex:none;border:solid #a6d8bf;border-width:0 1.5px 1.5px 0;
  transform:translateY(-2px) rotate(45deg);margin-inline:3px
}
#hotelChatDialog :is(.hc-chat-tools>details,[data-hc-chat-models])[open]>summary::after{transform:translateY(2px) rotate(225deg)}
#hotelChatDialog .hc-chat-credit strong{color:#a9ead7;white-space:nowrap;font-variant-numeric:tabular-nums}
#hotelChatDialog [data-hc-credit-value]:empty{display:none}
#hotelChatDialog .hc-chat-credit meter{width:100%;height:8px;display:block;border:0}
#hotelChatDialog meter::-webkit-meter-bar{background:#304440;border:0}
#hotelChatDialog meter::-webkit-meter-optimum-value{background:#91d9c5}
#hotelChatDialog meter::-moz-meter-bar{background:#91d9c5}
#hotelChatDialog .hc-chat-credit small{display:block;color:#bed4cc;margin:4px 0}
#hotelChatDialog .hc-chat-credit small:empty{display:none}
#hotelChatDialog .hc-chat-credit a,#hotelChatDialog .hc-maintenance-answer a{color:#a9ead7}
#hotelChatDialog [data-hc-credit-form]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;margin:6px 0 2px}
#hotelChatDialog [data-hc-credit-form] button{min-height:42px}
#hotelChatDialog [data-hc-credit-form] input,#hotelChatDialog [data-hc-web-query]{display:block;width:100%;min-width:0;box-sizing:border-box;background:#202f2b;color:#f2f6f3;border:1px solid #537166;border-radius:8px;padding:7px;font:inherit;font-size:16px}
#hotelChatDialog .hc-chat-model-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 5px;color:#a9ead7;font-size:13px}
#hotelChatDialog [data-hc-chat-models]{width:auto;max-width:100%;min-width:0}
#hotelChatDialog [data-hc-chat-models][open]{width:100%}
#hotelChatDialog [data-hc-chat-models]>summary{width:max-content;max-width:100%;box-sizing:border-box;border-radius:8px;padding:0 8px;background:#223831;color:#edf9f4}
#hotelChatDialog [data-hc-chat-models] fieldset{min-width:0;margin:3px 0;padding:3px 8px 7px;max-height:clamp(85px,31dvh,240px);overflow:auto;border:1px solid #537166;border-radius:10px;background:#243a33;color:#edf9f4}
#hotelChatDialog [data-hc-chat-models] label{display:flex;align-items:center;gap:8px;min-height:42px}
#hotelChatDialog [data-hc-chat-models] label>span{min-width:0;flex:1}
#hotelChatDialog [data-hc-chat-models] input:not([type=text]){accent-color:#8bd6be}
#hotelChatDialog [data-hc-chat-models] small,#hotelChatDialog .hc-chat-engine{display:block;color:#bed4cc;font-size:12px}
#hotelChatDialog .hc-chat-engine{margin:0 0 6px;color:#a9ead7;font-weight:650}
#hotelChatDialog .ev-chat-input-row .ev-chat-mic{background:#233730;border:1px solid #4a6257;color:#d9ece4;box-shadow:none}
#hotelChatDialog .ev-chat-input-row .ev-chat-send{background:#28574b;border:1px solid #4a7468;color:#eff9f4;box-shadow:none}
#hotelChatDialog .ev-chat-input-row .ev-chat-send:disabled{opacity:.45}
#hotelChatDialog summary:focus-visible{outline:2px solid #8bd6be;outline-offset:-2px}
#hotelChatDialog [hidden]{display:none!important}

.hc-setup-question { margin-top: .7rem; padding-top: .65rem; border-top: 1px solid currentColor; }
.hc-setup-question p { margin: 0 0 .4rem; }
.hc-setup-question .ev-btn { min-width: 4rem; min-height: 44px; margin: .4rem .45rem 0 0; }

.hc-setup-match + .hc-setup-match { margin-top: .7rem; }
.hc-setup-match .hc-chat-fold { margin-top: .25rem; }
.hc-setup-match .hc-fold-body p { margin: .25rem 0; }
.hc-setup-vote { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.hc-setup-vote .ev-btn { min-height: 44px; min-width: 44px; }

#hotelChatDialog .hc-train{background:transparent;color:#d1e4dc;border:1px solid #41594e;border-radius:9px;padding:5px 9px;font:600 13px/1.25 system-ui;min-height:34px;cursor:pointer}
#hotelChatDialog .hc-train:disabled{opacity:.5}
#hotelChatDialog .hc-report-mounts>div{margin:.55em 0}
#hotelChatDialog .hc-report-mounts ul{padding-inline-start:1.15em;margin:.25em 0}
#hotelChatDialog .hc-setup-question>small,#hotelChatDialog .hc-setup-question>span{display:block;margin:.3em 0}
dialog.hc-original-viewer[open]{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#172520;color:#fff;display:flex;flex-direction:column}
.hc-original-viewer header,.hc-original-viewer footer{display:flex;align-items:center;gap:10px;padding:8px;justify-content:space-between}.hc-original-viewer button,.hc-report-action{color:inherit;background:#254439;border:1px solid #527267;border-radius:8px;padding:8px;cursor:pointer}
.hc-pdf-scroll{overflow:auto;flex:1;min-height:0;background:#434945;touch-action:none;overscroll-behavior:contain}.hc-pdf-scroll canvas{display:block;height:auto;margin:4px auto;max-width:none}
.hc-report-actions{display:flex;flex-wrap:wrap;gap:6px;margin:.3em 0}.hc-report-actions input,.hc-report-actions textarea{width:100%;box-sizing:border-box}
