/* Role-scoped enterprise agent workbench. Presentation-only; no carrier authorization. */
.agent-enterprise{margin:12px 0;padding:15px;border:1px solid #6f8da2;border-radius:13px;background:linear-gradient(145deg,#112d44,#081b2d)}
.agent-enterprise h3{font-size:15px;color:#f5d599;margin-bottom:5px}
.agent-enterprise p{font-size:11px;color:#c2d5e5}
.agent-enterprise .ae-status{padding:9px;border-left:3px solid #dcb66b;background:#10273b;margin:8px 0 12px}
.agent-enterprise .ae-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.agent-enterprise .ae-row a,.agent-enterprise .ae-row button{display:block;text-decoration:none;text-align:center;padding:10px 6px;min-height:43px;border-radius:7px;border:1px solid #54758d;background:#173b56;color:#f3f8fd;font-size:11px;font-weight:700}
.agent-enterprise .ae-row a:hover,.agent-enterprise .ae-row button:hover{border-color:#e3ba71;background:#483822;color:#ffdda3}
.agent-enterprise details{border:1px solid #365a75;border-radius:8px;padding:10px;margin-top:11px}
.agent-enterprise summary{cursor:pointer;font-weight:750;color:#f4d69f}
.agent-enterprise label{font-size:11px}
.agent-enterprise textarea{width:100%;min-height:100px;resize:vertical;background:#071827;color:#fff;border:1px solid #567790;border-radius:7px;padding:9px}
.agent-enterprise .ae-check{display:flex;gap:8px;align-items:start}
.agent-enterprise .ae-check input{margin-top:3px}
.agent-enterprise .ae-help{font-size:11px;line-height:1.6;color:#b9cfe1}
.agent-enterprise .ae-mode{font-size:11px;font-weight:800;letter-spacing:.07em;color:#f8d8a0}
.agent-enterprise .ae-ivr{background:#0b2032;border-left:3px solid #83b7d9;padding:10px;margin-top:8px}
.agent-enterprise .ae-status[role=status]{white-space:pre-wrap}
.agent-enterprise .ae-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.agent-enterprise .ae-fields input,.agent-enterprise .ae-fields select{width:100%;min-width:0;background:#071827;color:#fff;border:1px solid #567790;border-radius:7px;padding:9px}
.agent-enterprise .ae-links{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}
.agent-enterprise .ae-links a{font-size:11px}
.agent-enterprise .ae-required{color:#f5d39d}
@media(min-width:1451px){
 .panel.left .panecontent>.enterprise-phone-pair{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;align-items:start}
 .enterprise-phone-pair .phone-top-row{display:block}
 .enterprise-phone-pair .quick-dispositions{margin-top:10px;min-height:0}
 .enterprise-phone-pair .quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .enterprise-phone-pair .manual-outcome-wrap{margin:0}
 .enterprise-phone-pair .manual-outcome-wrap form{grid-template-columns:1fr}
 .enterprise-phone-pair .phone-top-row .dpad{min-height:0}
 .workspace:has(.agent-enterprise){grid-template-columns:minmax(640px,46vw) minmax(0,1fr) minmax(260px,300px)}
}
@media(max-width:650px){.agent-enterprise .ae-row{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-enterprise .ae-fields{grid-template-columns:1fr}}


/* SIDNEY PREMIUM MICRO-CONSOLE V2: compact buttons and embedded agent/admin phone tools */
.agent-enterprise{margin:7px 0;padding:8px;border-radius:8px;gap:5px;min-width:0}
.agent-enterprise h3{font-size:12px;margin:0 0 3px}
.agent-enterprise .ae-mode{font-size:9px;letter-spacing:.05em}
.agent-enterprise p,.agent-enterprise .ae-help{font-size:10px;line-height:1.5}
.agent-enterprise .ae-status{font-size:10px;line-height:1.4;padding:6px 7px;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.agent-enterprise details{padding:6px 7px;border-radius:6px;margin-top:6px}
.agent-enterprise summary{font-size:11px;line-height:1.45;cursor:pointer}
.agent-enterprise label{font-size:10px;line-height:1.45}
.agent-enterprise .ae-fields{gap:6px}
.agent-enterprise .ae-row,.agent-enterprise .ae-compact-actions{display:flex;flex-wrap:wrap;gap:4px}
.agent-enterprise .ae-row a,.agent-enterprise .ae-row button,
.agent-enterprise #sidneyAsk,.agent-enterprise #sidneyReviewBooking,
.agent-enterprise #sidneyPrepare,.agent-enterprise #sidneyCopy{
 display:inline-flex;align-items:center;justify-content:center;
 padding:5px 7px;min-height:29px;width:auto;min-width:0;max-width:100%;
 border-radius:5px;font-size:10px;line-height:1.15;overflow-wrap:anywhere;
 border:1px solid #617a93;background:#1c4561;color:#f8f1e1;
}
.agent-enterprise .ae-row button:focus-visible,.agent-enterprise .ae-row a:focus-visible{outline:2px solid #e6c282;outline-offset:2px}
.agent-enterprise textarea{min-height:55px;padding:7px;font-size:10px}
.agent-enterprise .ae-fields input,.agent-enterprise .ae-fields select{min-height:30px;padding:5px;font-size:10px}
.agent-enterprise #sidneyAppointmentDay{width:100%;max-width:100%;min-height:33px;background:#081d2e;border:1px solid #728ca1;border-radius:5px;color:#eff8ff;padding:5px}
.agent-enterprise .ae-checklist{display:grid;grid-template-columns:1fr;gap:3px;margin:7px 0}
.agent-enterprise .ae-checklist label{display:flex;align-items:start;gap:6px;padding:3px}
.agent-enterprise .ae-checklist input{width:15px;height:15px;accent-color:#d8b57c;flex:none}
.agent-enterprise .ae-ivr{padding:7px;font-size:10px}
.sidney-right-controls{padding:8px 9px!important;border:1px solid #ba9e67!important;margin:0 0 8px;background:#132f46!important}
.sidney-right-controls h3{font-size:11px!important;line-height:1.4;color:#f2d499;margin:0 0 6px}
.sidney-right-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.sidney-right-compact button{min-height:28px;padding:4px 5px;border-radius:5px;background:#1d435c;border:1px solid #5c8098;color:#fff4dd;font-size:9px;font-weight:800;line-height:1.15;cursor:pointer}
.sidney-right-compact button:hover,.sidney-right-compact button:focus-visible{border-color:#e9c68c;background:#4c3a28;color:#fff}
.sidney-right-controls p{font-size:9px;color:#bcd6e4;line-height:1.4;margin:5px 0 0}
@media(min-width:1100px){.workspace:has(.agent-enterprise){grid-template-columns:minmax(510px,44vw) minmax(0,1fr) minmax(250px,280px)}}
@media(max-width:650px){.agent-enterprise .ae-row{grid-template-columns:none}.sidney-right-compact{grid-template-columns:1fr 1fr}}
