.eac-support-room{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;min-height:0!important;overflow:hidden;isolation:isolate;background:#141b23;color:#f8ecd1;font-family:Inter,sans-serif;display:block!important}
.eac-support-room .eac-book{top:0!important}
.eac-support-room *{box-sizing:border-box}
.es-scene,.es-overlay{position:absolute}
.es-scene{z-index:-1;pointer-events:none}
.es-media-layer{position:absolute;inset:0;opacity:0;transition:opacity .45s ease-in-out;pointer-events:none}
.es-media-layer.is-visible{opacity:1}
.es-media-layer>img,.es-media-layer>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.es-media-layer>video{opacity:0}
.es-media-layer.is-ready>video{opacity:1}
.es-heading{position:absolute;top:7%;left:25%;width:50%;text-align:center;color:#fff1d2;text-shadow:0 3px 12px #000,0 1px 2px #000}
.es-heading small{font-size:clamp(12px,1vw,18px);letter-spacing:.3em}
.es-heading h1{font:500 clamp(30px,3vw,58px)/1.12 'Cormorant Garamond',Georgia,serif!important;margin:12px 0;color:inherit!important}
.es-overlay{pointer-events:none}
.es-plaque{position:absolute;left:45.5%;top:52%;width:9.5%;height:3.5%;margin:0;display:flex;align-items:center;justify-content:center;color:#372918;font:500 clamp(10px,.75vw,15px)/1 Georgia,serif;text-align:center}
.es-desk-action{position:absolute;left:39%;top:65%;width:23%;height:16%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;pointer-events:auto}
.es-desk-action h2{color:#f2d58e!important;font:500 clamp(22px,2.1vw,42px)/1 'Cormorant Garamond',Georgia,serif;margin:0}
.es-desk-action button{width:90%;min-height:44px;padding:12px 18px;border-radius:30px;border:2px solid #b48c44;background:linear-gradient(#fff2ca,#dcc28a);box-shadow:inset 0 0 0 3px #f4dfad,0 4px 9px #0007;color:#182734;font:600 clamp(17px,1.6vw,30px)/1 'Cormorant Garamond',Georgia,serif;cursor:pointer}
.es-desk-action button:hover{filter:brightness(1.1);box-shadow:inset 0 0 0 3px #f4dfad,0 0 16px #e7c87466}
.es-desk-action p{font-size:clamp(10px,.75vw,14px);margin:0;color:#e8ddc7}
.es-dialog-backdrop{position:absolute;inset:0;z-index:40;background:#08121bb8;backdrop-filter:blur(7px);padding:clamp(95px,10vh,125px) 4vw 110px max(160px,9vw)}
.es-dialog{height:100%;display:flex;flex-direction:column;border:1px solid #d3b86c;border-radius:22px;box-shadow:0 0 0 4px #172b35,0 0 0 6px #ad8a46,0 24px 80px #0009;background:linear-gradient(135deg,#253844,#0f1c26);overflow:hidden;color:#f3e9d1}
.es-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 30px;border-bottom:1px solid #b396514f;flex-shrink:0}
.es-dialog-head small{font-size:11px;letter-spacing:.22em;color:#d6bb73}
.es-dialog-head h2{font:500 clamp(28px,2.5vw,45px)/1.1 'Cormorant Garamond',Georgia,serif;margin:5px 0 0;color:#fff2d9!important}
.es-dialog button{cursor:pointer}
.es-dialog-head>button,.es-empty button,.es-sectors>div>button{border:1px solid #bba56b;border-radius:22px;background:#101e29;color:#efd99f;padding:10px 18px;font-size:14px}
.es-chat-layout{display:grid;grid-template-columns:minmax(280px,29%) minmax(0,1fr);min-height:0;flex:1}
.es-sectors{padding:24px 18px;display:flex;flex-direction:column;gap:12px;border-right:1px solid #b3965155;overflow:auto}
.es-sectors>p{font-size:13px;color:#cbbd9e;margin:0 8px 8px}
.es-sectors>button{display:flex;align-items:center;gap:12px;text-align:left;padding:17px 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#efe4ca;min-height:90px}
.es-sectors>button[aria-pressed=true]{border-color:#c9ad6c;background:linear-gradient(120deg,#4b4d42,#263b47);box-shadow:inset 0 0 20px #d9b87412}
.es-sectors>button:hover{background-color:#ffffff0a}
.es-sector-icon{flex-shrink:0;border:1px solid #b89a56;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;color:#e3c77b;font-size:13px}
.es-sectors strong{font:600 clamp(19px,1.4vw,25px)/1.1 'Cormorant Garamond',Georgia,serif;display:block}
.es-sectors small{font-size:12px;display:block;margin-top:7px;color:#c6c3b7;line-height:1.45}
.es-sectors b{margin-left:auto;border-radius:50%;background:#e4ca89;color:#152733;padding:4px 8px;font-size:12px}
.es-sectors footer{margin-top:auto;padding:20px 8px 0;font-size:11px;line-height:1.7;color:#b9b7ac}
.es-conversation{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f3eee3;color:#24333d}
.es-conversation-head{padding:19px 26px;border-bottom:1px solid #c0aa7955;background:#f9f4e9;flex-shrink:0}
.es-conversation-head h3{margin:0;font:600 28px/1.1 'Cormorant Garamond',Georgia,serif;color:#20313d!important}
.es-conversation-head p{font-size:12px;margin:7px 0 0;color:#756c59}
.es-empty{margin:auto;max-width:580px;text-align:center;padding:32px;line-height:1.7}
.es-empty>span{font-size:45px;color:#a68643}.es-empty h3{font:600 36px/1.1 'Cormorant Garamond',Georgia,serif;color:#233743!important}.es-empty p{font-size:16px}.es-empty small{color:#716956}
.es-conversation .right-suporte{font-family:Inter,sans-serif!important;flex:1;min-height:0}
.es-conversation .pane-scroll{background:#f3eee3!important}.es-conversation .msg-bubble--me{background:#263e4b!important;color:#fff3d4!important}.es-conversation .msg-bubble--you{background:#fffdf7!important;color:#23333b!important}.es-conversation .right-suporte>footer{background:#fffbf2!important}
.es-conversation #anexo-grava,.es-conversation #audio-grava{width:auto;padding:0 9px;color:#66532b;font-size:13px}.es-conversation #sendButton{width:auto;min-width:90px;padding:0 15px;background:#253e4c;border:1px solid #bb9852;color:#f6dfa4;font-size:14px}.es-conversation .composer-input{background:#f7f1e3!important;border-color:#c3ab75!important;color:#21313d!important}.es-send-error{font-size:13px;color:#863b20;margin:0 0 8px}
.es-conversation .pane-scroll>div.mx-auto>span{background:#213845!important;color:#dfc78d!important;border:1px solid #c0a15d}.es-conversation .pane-scroll>div.mx-auto p{color:#233642!important}.es-conversation .pane-scroll>div.mx-auto p:first-child{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px}
.eac-support-room button:focus-visible{outline:3px solid #d8b96c;outline-offset:4px}
.es-panel-enter-active,.es-panel-leave-active{transition:opacity .25s}.es-panel-enter,.es-panel-leave-to{opacity:0}
@media(max-height:800px){.es-dialog-backdrop{padding-top:85px;padding-bottom:85px}.es-dialog-head{padding:14px 24px}.es-sectors{gap:6px;padding:15px 12px}.es-sectors>button{padding:10px;min-height:72px}.es-sectors footer{padding-top:12px}.es-desk-action{gap:6px}}
@media(prefers-reduced-motion:reduce){.es-panel-enter-active,.es-panel-leave-active,.es-media-layer{transition:none}}
/* Course-only shortcut must not sit underneath Concierge on the support page. */
body:has(.eac-support-room) #student-course-entry106{display:none!important}
body:has(.eac-support-room) #eac-system-chrome .eac-concierge{display:none!important}

/* Student support: isolated from the legacy chat and the approved reception. */
.es-dialog-backdrop{padding:clamp(94px,10vh,118px) 3.6vw 28px max(150px,8.7vw)}
.es-dialog-head{padding:18px 28px}.es-dialog-head h2{font-size:clamp(28px,2.25vw,43px)}
.es-chat-layout{grid-template-columns:minmax(275px,27%) minmax(0,1fr)}
.es-sectors{gap:8px;padding:20px 16px;background:radial-gradient(ellipse at 0 0,#334754 0,transparent 60%),#192a35}
.es-sectors>button{min-height:86px;padding:15px 12px;position:relative;transition:background .2s,border-color .2s}
.es-sectors>button[aria-pressed=true]{background:linear-gradient(100deg,#594f35a8,#334852);box-shadow:inset 3px 0 #ddbf75}
.es-sector-icon{position:relative;width:52px;height:52px;padding:3px;background:#273c49;box-shadow:0 2px 8px #0003}
.es-sector-icon img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 24%}
.es-sector-icon em{position:absolute;bottom:-4px;right:-5px;background:#dcc284;border:2px solid #243844;color:#182c39;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font:normal 12px Georgia}
.es-sector-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 8px 7px;font-size:12px;color:#dcc891}
.es-sector-summary b{margin:0;border-radius:20px;padding:4px 8px}.es-sectors small{line-height:1.35}
.es-sectors footer{font-size:10px;color:#c1c8c9;border-top:1px solid #d5bb791f;margin-top:auto}
.es-conversation-head{padding:16px 25px;display:flex;align-items:center;gap:15px;background:#faf7ef}
.es-conversation-head .es-sector-icon{width:43px;height:43px}.es-conversation-head h3{font-size:29px}.es-conversation-head p{margin:4px 0 0}
.ec-chat{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;position:relative;font-family:Inter,Arial,sans-serif;font-size:14px;color:#243642;background:#f4f0e6}
.ec-chat button,.ec-chat textarea{font:inherit}.ec-chat button{min-height:36px}.ec-chat button:disabled{cursor:not-allowed;opacity:.5}
.ec-chat a{color:inherit}.ec-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}
.ec-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;background:#ede9df;padding:8px 25px;border-bottom:1px solid #a991591f}
.ec-tools button{display:flex;align-items:center;gap:7px;padding:6px 12px;border:1px solid #bda874;border-radius:20px;background:#fffaf0;font-size:12px;color:#4c4d3e}
.ec-tools .ec-icon{width:17px;height:17px}.ec-sync{font-size:11px;color:#657165;display:flex;gap:7px;align-items:center}.ec-sync i{width:6px;height:6px;border-radius:50%;background:#68877a}.ec-sync i.has-error{background:#b58b37}
.ec-history{flex:1;min-height:80px;padding:24px 28px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b99d62 #ede6d8;background-image:radial-gradient(ellipse at top,#fffaf1 0,transparent 80%)}
.ec-history::-webkit-scrollbar,.es-sectors::-webkit-scrollbar{width:7px}.ec-history::-webkit-scrollbar-thumb,.es-sectors::-webkit-scrollbar-thumb{background:#bca36f;border:2px solid transparent;border-radius:8px;background-clip:padding-box}
.ec-older{display:block;margin:0 auto 18px;border:1px solid #c3b286;border-radius:18px;padding:6px 15px;background:#fffcf3;color:#5d583f;font-size:12px!important}
.ec-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;gap:12px;max-width:510px;margin:auto}
.ec-empty-emblem{width:80px;height:80px;display:grid;place-items:center;background:linear-gradient(140deg,#344c5b,#182d3b);border:1px solid #cfb472;border-radius:26px;box-shadow:0 7px 20px #53615a20;color:#e8c77c}.ec-empty-emblem .ec-icon{width:37px;height:37px}
.ec-empty small{font-size:10px;letter-spacing:.2em;color:#92753d;margin-top:8px}.ec-empty h3{font:500 clamp(26px,2vw,37px)/1.15 Georgia,serif;color:#273c48!important;margin:0}.ec-empty p{font-size:14px;line-height:1.8;color:#67706b;margin:0}.ec-empty>span:last-child{font-size:11px;color:#7d806f}
.ec-day{display:flex;justify-content:center;margin:14px 0 22px}.ec-day span{font-size:10px;letter-spacing:.02em;background:#ebe4d4;border:1px solid #d7c9a548;padding:6px 14px;border-radius:20px;color:#766745;box-shadow:0 1px 4px #87765b0a}
.ec-message{display:flex;margin-bottom:16px;min-width:0}.ec-message.is-mine{justify-content:flex-end}
.ec-bubble{max-width:78%;min-width:145px;background:#fffdf7;border:1px solid #d9cfb582;border-radius:3px 17px 17px 17px;padding:14px 17px 9px;box-shadow:0 3px 10px #39433308;overflow-wrap:anywhere}
.is-mine .ec-bubble{color:#f6efdf;background:linear-gradient(130deg,#314c5d,#223a49);border-color:#526d7560;border-radius:17px 3px 17px 17px}
.ec-author{font-size:11px;color:#9a793c;display:block;margin-bottom:7px;font-weight:600}.ec-message-text{white-space:pre-wrap;font-size:14px;line-height:1.65;margin:0}
.ec-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:7px;font-size:10px;color:#7d827d}.is-mine .ec-bubble footer{color:#c4cfd1}
.ec-receipt{display:flex;align-items:center;gap:3px}.ec-receipt .ec-icon{width:17px;height:17px}.ec-receipt.is-read{color:#b6e4e0}.ec-receipt span{font-size:9px}
.ec-media{margin-top:9px;max-width:460px}.ec-media img{max-width:100%;max-height:320px;object-fit:contain;border-radius:9px;display:block}.ec-media audio{display:block;width:320px;max-width:100%;height:44px}.ec-media video{width:100%;max-height:300px;border-radius:9px;background:#162b37}
.ec-document{display:flex;align-items:center;gap:12px;padding:12px;background:#a4a38615;border:1px solid #bea8794d;border-radius:10px;text-decoration:none!important;min-width:220px}.ec-document span{flex:1;font-size:13px}.ec-document small{display:block;margin-top:5px;opacity:.7;font-size:10px}.ec-media-failure{font-size:11px;padding:8px;display:block}.ec-media-failure[hidden]{display:none}
.ec-composer{flex-shrink:0;padding:14px 21px 11px;background:#fffcf5;border-top:1px solid #d9ccb0;box-shadow:0 -6px 22px #29425105;position:relative;z-index:2}
.ec-compose-row{display:flex;gap:10px;align-items:center}.ec-compose-row textarea{flex:1;resize:none;min-width:0;min-height:64px;max-height:144px;line-height:1.55;font-size:14px;padding:17px 18px;border:1px solid #d0bb86;background:#f7f3e9;border-radius:15px;color:#233946;box-shadow:inset 0 2px 4px #46351a04;outline:none;scrollbar-width:thin}
.ec-compose-row textarea:focus{border-color:#a98a48;box-shadow:0 0 0 3px #d4b56c26}.ec-compose-row textarea::placeholder{color:#91968d}
.ec-icon-button{height:43px;width:43px;border:1px solid #cabb934d;background:#eee8d7;border-radius:14px;color:#736139;display:grid;place-items:center;flex-shrink:0}.ec-icon-button:hover{background:#e5d9bb}
.ec-send{display:flex;align-items:center;justify-content:center;gap:8px;height:55px;min-width:95px;padding:0 15px;border:1px solid #b4964e;border-radius:15px;background:linear-gradient(130deg,#364f5f,#182e3d);color:#f0d495;box-shadow:0 3px 8px #172d3820}.ec-send:hover:not(:disabled){filter:brightness(1.1)}
.ec-compose-hint{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:9px;line-height:1.4;color:#827b66;padding-left:107px}.ec-attach-wrap{position:relative}.ec-attach-menu{position:absolute;bottom:54px;left:0;min-width:215px;padding:8px;background:#fffaf0;border:1px solid #cab781;border-radius:16px;box-shadow:0 10px 40px #13263333;z-index:8}.ec-attach-menu button{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;background:none;border-radius:9px;color:#314957;text-align:left;font-size:13px}.ec-attach-menu button:hover{background:#ece3cc}
.ec-preview{display:flex;align-items:center;gap:15px;padding:12px 16px;margin-bottom:12px;background:#f1ead9;border:1px solid #d2bd83;border-radius:14px}.ec-preview>img,.ec-preview>video{max-width:110px;height:65px;object-fit:contain;border-radius:7px}.ec-preview audio{width:250px;height:42px}.ec-preview>div{flex:1;min-width:0}.ec-preview strong{font-size:12px;display:block;overflow-wrap:anywhere}.ec-preview small{display:block;font-size:10px;margin-top:6px;color:#807451}.ec-preview button,.ec-recording button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;border:1px solid #bba775;border-radius:10px;background:#fffcf4;color:#5d5339;font-size:12px}
.ec-recording{display:flex;align-items:center;gap:12px;min-height:70px;padding:10px 8px}.ec-recording strong{font-size:12px}.ec-record-dot{height:9px;width:9px;background:#b54e44;box-shadow:0 0 0 5px #d6745917;border-radius:50%}.ec-recording time{font-variant-numeric:tabular-nums;color:#98773c}.ec-wave{flex:1;display:flex;justify-content:center;align-items:center;gap:4px;height:35px}.ec-wave i{width:3px;height:18px;background:#bda060;border-radius:3px;animation:ecWave .8s ease-in-out infinite alternate;animation-delay:calc(var(--n)*-.09s)}@keyframes ecWave{to{transform:scaleY(.3);opacity:.55}}
.ec-error{margin:0;padding:8px 15px;font-size:12px;line-height:1.5;background:#fff0e4;color:#8b4b31}.ec-error button{background:none;border:0;text-decoration:underline;color:inherit;min-height:25px}.ec-new{position:absolute;bottom:145px;left:50%;transform:translateX(-50%);border:1px solid #bca467;border-radius:20px;background:#213f50;color:#f4dca3;padding:7px 15px;box-shadow:0 4px 15px #16314025;font-size:12px!important}
.ec-drop{position:absolute;inset:10px;z-index:6;background:#fff9ecf5;border:2px dashed #baa064;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#334b56;pointer-events:none}.ec-drop .ec-icon{width:50px;height:50px}
.ec-assist-help{padding:18px 25px;background:#eae3d0;border-bottom:1px solid #c2ac72;font-size:12px;line-height:1.6;position:absolute;top:53px;left:0;right:0;z-index:5;max-height:190px;overflow:auto;box-shadow:0 8px 18px #243b4326}.ec-assist-help strong{font:500 21px Georgia}.ec-assist-help p{margin:8px 0;max-width:750px}.ec-assist-help button,.ec-invite button,.ec-meet{border:1px solid #b39b62;border-radius:12px;padding:8px 12px;background:#203c4c;color:#f4dfaf;display:inline-flex;align-items:center;gap:10px}.ec-assist-help .ec-dismiss{position:absolute;top:7px;right:9px;background:none;color:#745f36;border:0;font-size:20px}.ec-invite{display:flex;flex-direction:column;gap:10px;max-width:370px}.ec-invite strong{font:500 23px Georgia}.ec-invite p{font-size:12px;line-height:1.6;margin:0}.ec-invite button{align-self:flex-start}.ec-meet{margin:10px 0;text-decoration:none!important;font-size:12px}
.ec-skeleton{width:180px;height:14px;border-radius:20px;background:linear-gradient(90deg,#e9e2d1,#fdf9ef,#e9e2d1);background-size:200%;animation:ecLoading 1.5s infinite}@keyframes ecLoading{to{background-position:200%}}
@media(max-width:1500px){.es-dialog-backdrop{padding-left:max(115px,8.5vw);padding-right:2.5vw}.es-sectors>button{min-height:74px;padding:12px 8px}.es-sectors strong{font-size:20px}.es-sector-icon{width:44px;height:44px}.es-sectors small{font-size:11px}.es-chat-layout{grid-template-columns:minmax(255px,27%) minmax(0,1fr)}.ec-history{padding:17px 20px}.ec-bubble{max-width:85%}.ec-tools{padding:7px 20px}.ec-compose-hint{font-size:8px}.ec-preview audio{width:210px}}
@media(max-height:800px){.es-dialog-backdrop{padding-top:83px;padding-bottom:19px}.es-dialog-head{padding:12px 22px}.es-dialog-head h2{font-size:30px}.es-conversation-head{padding:11px 22px}.es-conversation-head h3{font-size:25px}.es-sectors{padding:14px 12px;gap:4px}.es-sectors>button{min-height:68px;padding:10px 8px}.es-sectors footer{padding-top:10px;line-height:1.5}.ec-composer{padding:10px 14px 8px}.ec-compose-row textarea{min-height:58px;padding:12px 15px}.ec-compose-hint{margin-top:5px}.ec-tools button{min-height:28px;padding:4px 10px}.ec-assist-help{padding:12px 20px;top:43px}.ec-empty{gap:10px;padding:8px}.ec-empty-emblem{width:60px;height:60px;border-radius:19px}.ec-empty p{font-size:12px}.ec-empty h3{font-size:29px}}
@media(min-width:1600px){.ec-message-text,.ec-compose-row textarea{font-size:16px}.ec-day span,.ec-bubble footer{font-size:11px}.ec-receipt span{font-size:10px}.ec-compose-hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ec-wave i,.ec-skeleton{animation:none}}

/* Refinement v4: centered stage, balanced navigation and EAC media controls. */
.eac-support-room .es-dialog-backdrop{padding:clamp(83px,10vh,118px) max(24px,4vw) 24px;display:flex;justify-content:center}
.es-dialog-backdrop .es-dialog{width:100%;max-width:2100px;margin:0 auto}
.es-sectors>button{flex:1 0 74px;max-height:142px;padding:18px 14px;gap:16px}
.es-sectors .es-sector-icon{width:58px;height:58px}
.es-sectors strong{line-height:1.16;font-size:clamp(21px,1.5vw,29px)}
.es-sectors small{font-size:clamp(11px,.85vw,14px);line-height:1.5}
.es-sectors footer{flex-shrink:0;margin-top:16px;padding-top:15px}
.ec-tools button{min-height:36px;padding:8px 15px;background:linear-gradient(135deg,#334b5a,#192e3b);color:#edd69b;border:1px solid #b29658;box-shadow:inset 0 1px 0 #e7cc8529,0 3px 7px #172b351c;border-radius:11px;font-weight:600}
.ec-tools button:hover{background:linear-gradient(135deg,#3e5b6b,#243f50)}
.ec-history,.es-sectors,.ec-compose-row textarea,.ec-assist-help{scrollbar-width:auto;scrollbar-color:#bda166 #eee8da}
.ec-history::-webkit-scrollbar,.es-sectors::-webkit-scrollbar,.ec-compose-row textarea::-webkit-scrollbar,.ec-assist-help::-webkit-scrollbar{width:9px;height:9px}
.ec-history::-webkit-scrollbar-track,.es-sectors::-webkit-scrollbar-track,.ec-compose-row textarea::-webkit-scrollbar-track,.ec-assist-help::-webkit-scrollbar-track{background:#c5b47f12;border-radius:12px;margin:12px 0}
.ec-history::-webkit-scrollbar-thumb,.es-sectors::-webkit-scrollbar-thumb,.ec-compose-row textarea::-webkit-scrollbar-thumb,.ec-assist-help::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#9b7c3d,#d7bd7d,#a48a4c);border:2px solid #f1ecdf;border-radius:12px;background-clip:padding-box;min-height:35px}
.ec-history::-webkit-scrollbar-button,.es-sectors::-webkit-scrollbar-button,.ec-compose-row textarea::-webkit-scrollbar-button,.ec-assist-help::-webkit-scrollbar-button{display:none;width:0;height:0}
.es-sectors::-webkit-scrollbar-thumb{border-color:#263b48}
@supports selector(::-webkit-scrollbar){.ec-history,.es-sectors,.ec-compose-row textarea,.ec-assist-help{scrollbar-color:auto}}
.ec-recording{display:grid;grid-template-columns:auto minmax(80px,1fr) auto auto auto;gap:18px;min-height:92px;margin:2px 0;padding:19px 20px;border:1px solid #b59b60;border-radius:18px;background:radial-gradient(ellipse at 20% 0,#3a5262,transparent 80%),#192e3d;color:#f8ebca;box-shadow:inset 0 1px 0 #f7dd9b26,0 4px 12px #182f3e16}
.ec-record-status{display:flex;align-items:center;gap:13px}.ec-record-status strong{font-size:14px;letter-spacing:.01em}.ec-record-status small{display:block;font-size:11px;color:#c1c9c8;margin-top:5px}
.ec-record-dot{background:#e48373;box-shadow:0 0 0 5px #e483731a;flex-shrink:0}
.ec-recording .ec-wave{height:40px;gap:4px;overflow:hidden}.ec-recording .ec-wave i{animation:none;transition:height .08s ease-out;flex:0 1 4px;background:linear-gradient(#f2d994,#bc9451);min-height:4px;border-radius:4px}
.ec-recording time{font:500 21px/1 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;color:#eed49b}
.ec-recording .ec-record-review{padding:12px 17px;min-height:46px;background:linear-gradient(#f9e9bd,#d5b974);border:1px solid #e5c580;border-radius:13px;color:#20333f;box-shadow:inset 0 0 0 2px #f4dfb14d,0 3px 8px #0003;font-weight:600;font-size:13px;white-space:nowrap}
.ec-recording .ec-record-review:hover{filter:brightness(1.07)}.ec-record-review .ec-icon{width:17px;height:17px;fill:currentColor;stroke-width:0}
.ec-recording .ec-record-delete,.ec-preview .ec-preview-delete{width:42px;height:42px;min-width:42px;padding:0;display:grid;place-items:center;background:#fff6e609;color:#dcc799;border:1px solid #d1ba8055;border-radius:12px;flex:0 0 auto}
.ec-recording .ec-record-delete:hover,.ec-preview .ec-preview-delete:hover{background:#ad5c4326;color:#f3b6a3;border-color:#d48f7477}
.ec-preview.is-audio{padding:14px 17px;gap:20px;background:linear-gradient(120deg,#304b5d,#192f3e);color:#f7e7c0;border:1px solid #b49a60;box-shadow:inset 0 1px 0 #f4db9926}
.ec-preview.is-audio .ec-preview-label{flex:1;min-width:100px}.ec-preview.is-audio .ec-preview-label strong{font-family:Georgia,serif;font-size:19px;font-weight:400}.ec-preview.is-audio .ec-preview-label small{font-size:11px;color:#c5cdc9;line-height:1.5}
.ec-audio-player{display:flex;align-items:center;gap:13px;min-width:230px;width:330px;max-width:100%;padding:12px 14px;border:1px solid #cbb27550;border-radius:15px;background:linear-gradient(120deg,#233e50,#152b3a);color:#efdaad;box-shadow:inset 0 1px 0 #fff1bf12}
.ec-audio-player audio{display:none!important}.ec-preview.is-audio>.ec-audio-player{flex:1.25;max-width:460px}
.ec-audio-player .ec-audio-play{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;min-height:43px;padding:0;border-radius:50%;border:1px solid #ebd59a;background:linear-gradient(#f4e3b5,#c5a665);color:#17303e;box-shadow:0 2px 7px #0003,inset 0 0 0 2px #ffe9ad5c}
.ec-audio-play .ec-icon{width:20px;height:20px}.ec-audio-play:hover{filter:brightness(1.1)}
.ec-audio-track{flex:1;min-width:70px}.ec-audio-times{display:flex;justify-content:space-between;font-size:10px;line-height:1.5;color:#d3c9b2;font-variant-numeric:tabular-nums;margin-top:5px}
.ec-audio-track input{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;margin:7px 0;border:0;border-radius:10px;outline:none;background:linear-gradient(to right,#e1c27b var(--played),#65757c66 var(--played));cursor:pointer;accent-color:#d9bc7c}
.ec-audio-track input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#f4dfad;border:2px solid #c4a166;border-radius:50%;box-shadow:0 0 0 3px #e2c57b16}
.ec-audio-track input::-moz-range-thumb{width:9px;height:9px;background:#f4dfad;border:2px solid #c4a166;border-radius:50%}.ec-audio-track input:focus-visible{outline:2px solid #e0c480;outline-offset:6px}
.ec-audio-player .ec-audio-speed{min-width:37px;min-height:30px;padding:4px 5px;border:1px solid #b9a16c66;border-radius:9px;background:#f4dd9810;color:#e5cca0;font-size:11px;font-weight:600}
.ec-media .ec-audio-player{width:330px}.ec-image-open{display:block;position:relative;max-width:100%;padding:0;border:0;border-radius:10px;overflow:hidden;background:#172d3b}
.ec-image-open>span{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:20px 10px 10px;background:linear-gradient(transparent,#0c1f2ee6);color:#fff0ca;font-size:11px;opacity:0;transition:opacity .2s}.ec-image-open:hover>span,.ec-image-open:focus-visible>span{opacity:1}
.ec-image-open .ec-icon{width:16px;height:16px}
.ec-image-viewer{position:fixed;inset:clamp(83px,10vh,118px) max(24px,4vw) 24px;z-index:90;display:flex;flex-direction:column;border:1px solid #c3a15c;border-radius:20px;background:#101f2bf7;box-shadow:0 0 0 4px #172b35,0 0 0 6px #ad8a46,0 25px 70px #0008;color:#f2ddb0;overflow:hidden}
.ec-image-viewer>header{padding:15px 21px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #bda16755;background:#263c4b}
.ec-image-viewer header>div{min-width:0}.ec-image-viewer small{font-size:9px;letter-spacing:.18em;display:block;color:#d1b575;margin-bottom:5px}.ec-image-viewer strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45vw}
.ec-image-viewer nav{display:flex;align-items:center;gap:8px}.ec-image-viewer nav button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:40px;padding:8px 11px;border:1px solid #bca06788;border-radius:11px;background:#122c3b;color:#efdaa8;font-size:12px;white-space:nowrap}.ec-image-viewer nav button:hover{background:#375266}.ec-image-viewer nav .ec-viewer-download{background:linear-gradient(#ead8a5,#c2a565);color:#17323e;border-color:#dfc88e}.ec-image-viewer output{font-size:12px;min-width:45px;text-align:center;font-variant-numeric:tabular-nums}
.ec-image-canvas{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:22px;touch-action:none;background:radial-gradient(ellipse,#314754 0,#111f2b 80%)}.ec-image-canvas img{max-width:100%;max-height:100%;object-fit:contain;display:block;user-select:none;box-shadow:0 10px 30px #0005;transform-origin:center}.ec-image-canvas.is-zoomed{cursor:grab}.ec-image-canvas.is-zoomed:active{cursor:grabbing}
.ec-image-viewer>footer{display:flex;justify-content:space-between;gap:20px;padding:12px 20px;font-size:11px;color:#c8c6b7;background:#1b303e;border-top:1px solid #bda16733}
@media(max-width:1500px){.es-sectors>button{min-height:70px;padding:14px 10px;gap:13px}.es-sectors .es-sector-icon{width:48px;height:48px}.es-sectors strong{font-size:22px}.ec-recording{gap:12px;padding:16px}.ec-record-status small{max-width:165px}.ec-preview.is-audio{gap:14px}.ec-preview.is-audio .ec-preview-label strong{font-size:17px}}
@media(max-height:800px){.es-sectors>button{min-height:66px;padding:10px 9px}.es-sectors footer{margin-top:9px;padding-top:10px}.es-sectors .es-sector-icon{width:45px;height:45px}.ec-recording{min-height:78px;padding:13px}.ec-preview.is-audio{padding:10px 13px;margin-bottom:9px}.ec-audio-player{padding:9px 11px}.ec-tools button{min-height:32px;padding:6px 12px}}
@media(max-width:1150px){.ec-record-status small{display:none}.ec-recording{gap:9px}.ec-recording .ec-record-review{padding:10px;font-size:12px}.ec-record-status strong{font-size:12px}.ec-preview.is-audio .ec-preview-label small{font-size:10px}.ec-image-viewer nav button span{display:none}}

/* v5: reserve space for the archive action; fit every sector without scrolling. */
.eac-support-room .es-sectors{min-height:0;overflow:hidden;gap:6px;padding:16px 16px 12px}
.eac-support-room .es-sector-summary{flex:0 0 auto;margin:0 8px 4px;min-height:24px}
.eac-support-room .es-sectors>button:not(.es-archive-entry){flex:1 1 0;min-height:0;max-height:142px;padding:8px 12px;gap:14px}
.eac-support-room .es-sectors>button.es-archive-entry{flex:0 0 38px;height:38px;min-height:38px!important;max-height:38px;padding:7px 12px!important;margin:4px 4px 0!important;font-size:12px!important;border-radius:10px!important;box-shadow:0 2px 5px #0002}
.eac-support-room .es-sectors footer{flex:0 0 auto;margin-top:6px;padding:10px 8px 0;font-size:10px;line-height:1.5}
@media(max-height:800px){
 .eac-support-room .es-sectors{gap:4px;padding:10px 12px}
 .eac-support-room .es-sectors>button:not(.es-archive-entry){padding:5px 8px;gap:10px}
 .eac-support-room .es-sectors .es-sector-icon{width:40px;height:40px;flex-shrink:0}
 .eac-support-room .es-sectors strong{font-size:20px;line-height:1.1}
 .eac-support-room .es-sectors small{font-size:11px;line-height:1.25;margin-top:4px}
 .eac-support-room .es-sectors footer{margin-top:3px;padding-top:7px;font-size:9px;line-height:1.35}
}
@media(max-height:650px){
 .eac-support-room .es-sectors{gap:3px;padding:7px 10px}
 .eac-support-room .es-sectors .es-sector-icon{width:30px;height:30px}
 .eac-support-room .es-sectors strong{font-size:17px}
 .eac-support-room .es-sectors small{font-size:10px;margin-top:2px}
 .eac-support-room .es-sector-summary{font-size:10px;min-height:20px;margin-bottom:0}
 .eac-support-room .es-sectors>button.es-archive-entry{height:32px;flex-basis:32px;min-height:32px!important;max-height:32px;font-size:11px!important;padding:5px 8px!important}
}
