/* Shared, compact chat-first shell for the four PCG Agents Island interfaces. */
html[data-island-theme="dark"]{color-scheme:dark}
html[data-island-theme="light"]{color-scheme:light}
body.island-admin,body.island-hr,body.island-finance,body.island-bd{transition:background-color .18s,color .18s}
body.island-admin #nebula,body.island-admin #spotlight,body.island-admin .grain,body.island-bd:before{display:none!important}
body.island-admin .glass,body.island-admin .card,body.island-hr .card,body.island-finance .card,body.island-bd .glass,body.island-bd .card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
body.island-admin .card:hover,body.island-admin .glass:hover,body.island-hr .card:hover,body.island-finance .card:hover,body.island-bd .card:hover{transform:none!important;box-shadow:none!important}
body.island-admin .sidebar,body.island-hr .sidebar,body.island-finance .side,body.island-bd .sidebar{border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.island-admin .nav-btn,body.island-hr .nav-btn,body.island-finance .nav,body.island-bd .nav{border-radius:8px!important;box-shadow:none!important}
body.island-admin .nav-btn.active,body.island-hr .nav-btn.active,body.island-finance .nav.active,body.island-bd .nav.active{background:rgba(148,141,132,.17)!important;color:inherit!important;box-shadow:none!important}
body.island-admin .fm,body.island-admin .fleet-card{box-shadow:none!important}
body.island-admin .fleet-grid{display:block!important}
body.island-admin .fleet-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.island-admin .fleet-flow,body.island-admin .cap-flow,body.island-admin .cap-flow-caption{display:none!important}
body.island-admin .chat,body.island-hr .chat,body.island-finance .chat,body.island-bd .chat-shell{max-width:920px;margin-inline:auto}
body.island-admin #adminChatDock{box-shadow:0 20px 60px rgba(0,0,0,.26)!important}
body.island-hr .chat-empty img,body.island-finance .chat-empty img,body.island-bd .chat-empty img{display:none!important}
.island-theme-switch{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;opacity:.85}
.island-theme-switch:hover,.island-theme-switch:focus-visible{opacity:1;outline:2px solid rgba(238,54,38,.45);outline-offset:2px}

/* Dark mode matches the provided compact reference without changing workflows. */
html[data-island-theme="dark"] body.island-admin{--bg1:#151515;--bg2:#202020;--ink:#f1eee9;--silver:#d7d3cc;--muted:#aaa59e;--meta:#aaa59e;--meta-2:#89857f;--line:#363636;--card:#202020;--side:#181818;background:#151515!important;color:#f1eee9!important}
html[data-island-theme="dark"] body.island-hr{--bg:#151515;--sidebar:#181818;--card:#202020;--line:#363636;--line2:#303030;--text:#f1eee9;--muted:#aaa59e;--faint:#87827c;background:#151515!important;color:#f1eee9!important}
html[data-island-theme="dark"] body.island-finance{--ink:#f1eee9;--muted:#aaa59e;--line:#363636;background:#151515!important;color:#f1eee9!important}
html[data-island-theme="dark"] body.island-bd{--bg:#151515;--panel:#202020;--side:#181818;--ink:#f1eee9;--muted:#aaa59e;--line:#363636;background:#151515!important;color:#f1eee9!important}
html[data-island-theme="dark"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.sidebar,.side){background:#181818!important;border-color:#303030!important;color:#f1eee9!important}
html[data-island-theme="dark"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.card,.glass,.fm,.chat-shell,.chat,.chat-head,.composer){background-color:#202020!important;border-color:#363636!important;color:#f1eee9!important}
html[data-island-theme="dark"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(input,textarea,select,pre){background:#292929!important;border-color:#424242!important;color:#f1eee9!important}
html[data-island-theme="dark"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.btn:not(.red),.mini-btn,.icon-btn,.lang,.langbtn,.nav-btn,.nav){background-color:transparent!important;color:#e7e3dd!important;border-color:#424242!important}
html[data-island-theme="dark"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.fm-v,.card-head h2,.chat-head h2,.head h1,.top h1,#title,#pageTitle){color:#f1eee9!important}
html[data-island-theme="dark"] body.island-finance :is(.app,main){background:#151515!important}
html[data-island-theme="dark"] body.island-finance :is(.brand-face,.stat,.table,.chat-actions){background:#202020!important;color:#f1eee9!important}
html[data-island-theme="dark"] body.island-finance :is(.table td,.table th){border-color:#363636!important;color:#e2ddd6!important}
html[data-island-theme="dark"] body.island-hr :is(.main,.head,.side-foot,.nav-group-static){background-color:transparent!important}
html[data-island-theme="dark"] body.island-hr .chat-empty{color:#f1eee9!important}

/* Light mode keeps the same layout and department controls. */
html[data-island-theme="light"] body.island-admin{--bg1:#f8f7f4;--bg2:#fff;--ink:#25231f;--silver:#403d38;--muted:#706c65;--meta:#706c65;--meta-2:#88837c;--line:#e2ded7;--card:#fff;--side:#f2f0ec;background:#f8f7f4!important;color:#25231f!important}
html[data-island-theme="light"] body.island-hr{--bg:#f8f7f4;--sidebar:#f2f0ec;--card:#fff;--line:#e2ded7;--line2:#eeece8;--text:#25231f;--muted:#706c65;background:#f8f7f4!important;color:#25231f!important}
html[data-island-theme="light"] body.island-finance{--ink:#25231f;--muted:#706c65;--line:#e2ded7;background:#f8f7f4!important;color:#25231f!important}
html[data-island-theme="light"] body.island-bd{--bg:#f8f7f4;--panel:#fff;--side:#f2f0ec;--ink:#25231f;--muted:#706c65;--line:#e2ded7;background:#f8f7f4!important;color:#25231f!important}
html[data-island-theme="light"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.sidebar,.side){background:#f2f0ec!important;border-color:#e2ded7!important;color:#25231f!important}
html[data-island-theme="light"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.card,.glass,.fm,.chat-shell,.chat,.chat-head,.composer){background-color:#fff!important;border-color:#e2ded7!important;color:#25231f!important}
html[data-island-theme="light"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(input,textarea,select,pre){background:#fff!important;border-color:#d9d5ce!important;color:#25231f!important}
html[data-island-theme="light"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.btn:not(.red),.mini-btn,.icon-btn,.lang,.langbtn,.nav-btn,.nav){background:transparent!important;color:#403d38!important;border-color:#d9d5ce!important}
html[data-island-theme="light"] body:is(.island-admin,.island-hr,.island-finance,.island-bd) :is(.fm-v,.card-head h2,.chat-head h2,.head h1,.top h1,#title,#pageTitle){color:#25231f!important}
html[data-island-theme="light"] body.island-admin b[style*="color:#fff"],html[data-island-theme="light"] body.island-admin h2[style*="color:#fff"]{color:#25231f!important}
html[data-island-theme="light"] body.island-finance :is(.app,main){background:#f8f7f4!important}
html[data-island-theme="light"] body.island-bd :is(.top,.side-foot,.brand){color:#25231f!important}
@media(max-width:820px){body.island-admin .fleet-metrics{grid-template-columns:1fr!important}body.island-admin .chat,body.island-hr .chat,body.island-finance .chat,body.island-bd .chat-shell{max-width:100%}}
.island-profile-dialog{width:min(440px,calc(100vw - 30px));border:1px solid #454545;border-radius:14px;padding:24px;background:#242424;color:#f5f2ec;box-shadow:0 24px 80px #0009}
.island-profile-dialog::backdrop{background:#0009}
.island-profile-dialog h2{margin:0 0 18px;font-size:20px}
.island-profile-dialog label{display:block;margin:12px 0;color:#d0cbc4;font-size:13px}
.island-profile-dialog input{display:block;width:100%;margin-top:6px;border:1px solid #595959;border-radius:8px;padding:10px;background:#303030;color:#fff;font:inherit}
.island-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.island-profile-actions button{border:1px solid #69645f;border-radius:8px;padding:9px 12px;background:#35322f;color:#fff;cursor:pointer}
.island-profile-actions button:last-child{background:#cb654c;border-color:#cb654c}
.island-profile-status{min-height:20px;color:#d0cbc4;font-size:12px}
/* The admin page has late legacy glass rules; these scoped selectors keep dark mode legible. */
html[data-island-theme="dark"] body.island-admin #topHeader,
html[data-island-theme="dark"] body.island-admin :is(.glass,.card,.kpi,.resource-chart-card,.telemetry,.empty-state,.integration-card,#adminChatDock,#noticePanel){background:#202020!important;background-image:none!important;background-clip:border-box!important;border-color:#363636!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;color:#f1eee9!important}
html[data-island-theme="dark"] body.island-admin :is(h1,h2,h3,.pagehead h1,.kpi .kv,.metric b,.topbrand b){color:#f1eee9!important;-webkit-text-fill-color:#f1eee9!important}
html[data-island-theme="dark"] body.island-admin :is(.small,.muted,.kl,.topbrand small,.nav-grp-label){color:#aaa59e!important}
html[data-island-theme="dark"] body.island-admin :is(.btn:not(.red),.btn.ghost,.langbtn,.topscope,#sidebarToggleBtn){background:#2a2a2a!important;color:#e7e3dd!important;border-color:#454545!important;box-shadow:none!important}
html[data-island-theme="dark"] body.island-admin :is(input,select,textarea){background:#292929!important;color:#f1eee9!important;border-color:#424242!important;color-scheme:dark!important}
html[data-island-theme="dark"] body.island-admin :is(.msg,.msg .md-code,.msg .md-pre){background:#292929!important;color:#f1eee9!important}
html[data-island-theme="dark"] body.island-admin :is(.msg .md-h,.msg h3,.msg h4){color:#f1eee9!important;-webkit-text-fill-color:#f1eee9!important}
html[data-island-theme="dark"] body.island-admin .msg.me{background:#a83c30!important;color:#fff!important}
html[data-island-theme="dark"] body.island-admin .island-theme-switch{color:#f1eee9!important}
html[data-island-theme="light"] .island-profile-dialog{background:#fff;color:#25231f;border-color:#ded8d0}
html[data-island-theme="light"] .island-profile-dialog label,html[data-island-theme="light"] .island-profile-status{color:#514d47}
html[data-island-theme="light"] .island-profile-dialog input{background:#fff;color:#25231f;border-color:#d9d5ce}
/* Compact Claude-style admin chrome: one brand row and collapsible sidebar tools. */
body.island-admin #topHeader{min-height:54px!important;height:auto!important;margin:0!important;padding:7px 20px!important;border-radius:0!important;flex-wrap:nowrap!important;box-shadow:none!important}
body.island-admin #topHeader .topbrand{gap:9px!important}
body.island-admin #topHeader .topbrand .logo{width:36px!important;height:36px!important;min-width:36px!important;border-radius:8px!important;padding:0!important;box-shadow:none!important}
body.island-admin #topHeader .topbrand b{font-size:15px!important;line-height:1.2!important}
body.island-admin #topHeader .topbrand small{display:none!important}
body.island-admin #topHeader .toprighttools{display:none!important}
body.island-admin .shell{padding:0!important;gap:0!important}
body.island-admin #sidebar{top:0!important;border-radius:0!important;border-inline-end:1px solid var(--line)!important;padding-top:12px!important}
body.island-admin #main{padding:18px 26px 30px!important;max-width:none!important}
body.island-admin .pcg-command-launcher,body.island-admin #fleetSearch{display:none!important}
.island-utility-drawer{margin:36px 6px 14px;border-bottom:1px solid var(--line);color:inherit}
.island-utility-drawer>summary{cursor:pointer;padding:10px 8px;font-size:13px;font-weight:650;list-style:none;display:flex;align-items:center;justify-content:space-between}
.island-utility-drawer>summary::after{content:'⌄';font-size:17px;transition:transform .2s}
.island-utility-drawer[open]>summary::after{transform:rotate(180deg)}
.island-utility-content{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:4px 5px 12px}
.island-utility-content>*{width:100%!important;max-width:100%!important;box-sizing:border-box!important;justify-content:flex-start!important;text-align:start!important}
.island-utility-content #online{font-size:11px;white-space:normal}
.island-utility-content #pcgCommandBtn{display:flex!important}
body.island-admin .sidebar.collapsed .island-utility-drawer>summary{font-size:0;justify-content:center}
body.island-admin .sidebar.collapsed .island-utility-drawer>summary::before{content:'⚙';font-size:18px}
body.island-admin .sidebar.collapsed .island-utility-drawer>summary::after,body.island-admin .sidebar.collapsed .island-utility-content{display:none}
body.island-admin .sidebar.collapsed .island-utility-drawer{margin-inline:0}
/* Essential chat controls stay visible; secondary actions open from More. */
.island-more{position:relative;flex:none;align-self:center}
.island-more>summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:9px 11px;white-space:nowrap;color:inherit;background:transparent;font-size:12px}
.island-more>summary::-webkit-details-marker{display:none}
.island-more-panel{position:absolute;inset-inline-start:0;bottom:calc(100% + 8px);z-index:80;width:min(290px,calc(100vw - 40px));max-height:55vh;overflow:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#282828;color:#f1eee9;box-shadow:0 12px 32px #0008}
.island-more:not([open]) .island-more-panel{display:none}
.island-more-panel select,.island-more-panel button{max-width:100%;font-size:12px}
html[data-island-theme="light"] .island-more-panel{background:#fff;color:#25231f;box-shadow:0 12px 32px #0002}
body.island-admin .admin-agents-chat-layout{display:block!important;max-width:900px;margin:0 auto!important}
body.island-admin #main:has(#chat)>.pagehead{display:none!important}
body.island-admin #main:has(#chat)>.admin-agents-chat-layout{min-height:calc(100vh - 90px)!important}
body.island-admin .admin-agents-chat-layout>.card{min-height:calc(100vh - 210px);display:flex;flex-direction:column;justify-content:flex-end;border:0!important;background:transparent!important;padding:0!important}
body.island-admin .admin-agents-chat-layout>.card>h2{display:none!important}
body.island-admin .admin-agents-chat-layout #chat{flex:1;max-height:none!important;min-height:0!important;width:100%;overflow:auto;padding:18px 0}
body.island-admin .admin-agents-chat-layout #chat:empty::before{content:'How can I help?';display:block;margin:clamp(48px,12vh,130px) auto 0;text-align:center;font-family:inherit;font-size:clamp(22px,2.2vw,28px);font-weight:620;letter-spacing:-.015em;color:var(--ink)}
body.island-admin .admin-agents-chat-layout .toolbar{border:1px solid var(--line);border-radius:14px;padding:10px;background:var(--card);gap:8px}
body.island-admin .admin-agents-chat-layout #chatInput{min-width:180px}
body.island-admin .admin-agents-chat-layout .toolbar #chatAgent{width:170px!important;max-width:23%;flex:none}
body.island-admin .admin-agents-chat-layout .toolbar #chatProvider{width:170px!important;max-width:23%;flex:none}
.island-workspace-controls{max-width:900px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:5px 0 12px;flex-wrap:wrap}
.island-workspace-controls select{width:auto!important;max-width:250px;min-width:150px}
.island-workspace-controls button{white-space:nowrap}
body.island-admin .admin-agents-chat-layout .toolbar{max-width:900px;width:100%}
body.island-admin .admin-agents-chat-layout #chat .msg:not(.me){background:transparent!important;border:0!important;box-shadow:none!important;padding:14px 0!important;max-width:100%!important}
body.island-admin .admin-agents-chat-layout #chat .msg.me{max-width:75%!important;align-self:flex-end;border-radius:14px!important;padding:12px 16px!important}
html[data-island-theme] body.island-admin #main .admin-agents-chat-layout>.card.admin-chat-parity,
html[data-island-theme] body.island-admin #main .admin-agents-chat-layout #chat{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
html[data-island-theme] body.island-admin #main .admin-agents-chat-layout #chat{height:auto!important;min-height:0!important;max-height:none!important;flex:1!important}
html[data-island-theme="dark"] body.island-admin #main .admin-chat-composer{background:#242424!important;border:1px solid #424242!important;box-shadow:none!important}
html[data-island-theme="dark"] body.island-admin #main .admin-chat-composer>.admin-chat-icon{background:#303030!important;color:#eee!important;border-color:#424242!important}
html[data-island-theme="light"] body.island-admin #main .admin-chat-composer{background:#fff!important;border:1px solid #ded8d0!important;box-shadow:none!important}
.island-workspace-more{position:relative;flex:none}
.island-workspace-more>summary{list-style:none;cursor:pointer;padding:9px 11px;border:1px solid var(--line);border-radius:8px;font-size:12px;color:inherit}
.island-workspace-more>summary::-webkit-details-marker{display:none}
.island-workspace-more>.admin-chat-top{position:absolute;z-index:90;inset-inline-end:0;top:calc(100% + 6px);width:260px;display:flex!important;flex-direction:column;align-items:stretch;gap:7px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#282828;box-shadow:0 12px 30px #0006}
.island-workspace-more:not([open])>.admin-chat-top{display:none!important}
.island-workspace-more>.admin-chat-top>*{width:100%!important;max-width:100%!important}
html[data-island-theme="light"] .island-workspace-more>.admin-chat-top{background:#fff}
body.island-admin #main:has(#chat)>.admin-agents-chat-layout{height:calc(100dvh - 145px)!important;min-height:430px!important}
body.island-admin #main:has(#chat)>.admin-agents-chat-layout>.card{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important}
body.island-admin #main:has(#chat)>.admin-agents-chat-layout .admin-chat-composer{margin-top:auto!important;width:100%!important;flex:none!important}
body.island-admin #main:has(#chat)>.admin-agents-chat-layout .island-more-panel{width:240px!important;max-height:45vh!important}
body.island-admin .island-utility-content .admin-chat-top{display:block!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.island-admin .island-utility-content .admin-chat-top select{width:100%!important;max-width:100%!important}
body.island-admin .island-utility-content .admin-chat-top button{display:none!important}
html[data-island-theme] body.island-admin #main .admin-agents-chat-layout .admin-chat-composer{display:grid!important;grid-template-columns:36px 36px minmax(0,1fr) auto!important;grid-template-rows:54px 34px!important;align-items:center!important;gap:5px 8px!important;padding:9px 12px!important;border-radius:14px!important}
body.island-admin #main .admin-agents-chat-layout .admin-chat-composer #chatInput{grid-column:1/-1!important;grid-row:1!important;min-height:48px!important;height:48px!important;padding:10px!important;border:0!important;background:transparent!important}
body.island-admin #main .admin-agents-chat-layout .admin-chat-composer>[data-action="attach"]{grid-column:1!important;grid-row:2!important;background:transparent!important;border:0!important;width:32px!important;height:32px!important}
body.island-admin #main .admin-agents-chat-layout .admin-chat-composer>.island-more{grid-column:2!important;grid-row:2!important}
body.island-admin #main .admin-agents-chat-layout .admin-chat-composer>.island-more>summary{border:0!important;padding:5px!important;font-size:20px!important;line-height:22px!important;text-align:center}
body.island-admin #main .admin-agents-chat-layout .admin-chat-composer>.btn.red{grid-column:4!important;grid-row:2!important;min-height:31px!important;padding:5px 14px!important;border-radius:8px!important}
/* One composer pattern across Admin, HR, Finance, and BD. */
html[data-island-theme] body:is(.island-admin,.island-hr,.island-finance,.island-bd) .island-unified-composer{display:grid!important;grid-template-columns:34px 34px minmax(0,1fr) minmax(125px,190px) auto!important;grid-template-rows:minmax(48px,auto) 36px!important;gap:6px 8px!important;align-items:center!important;padding:9px 12px!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:none!important}
.island-unified-composer>input:not([type="file"]),.island-unified-composer>textarea{grid-column:1/-1!important;grid-row:1!important;min-height:46px!important;width:100%!important;max-height:145px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;resize:vertical}
.island-unified-composer>.island-more{grid-column:2!important;grid-row:2!important;justify-self:start}
.island-unified-composer>.island-more>summary{font-size:20px!important;line-height:22px!important;padding:5px!important;border:0!important}
.island-unified-composer>.island-composer-provider{grid-column:4!important;grid-row:2!important;width:100%!important;max-width:100%!important;min-width:0!important;height:34px!important;padding:5px 9px!important;font-size:12px!important}
.island-unified-composer>.island-new-chat{grid-column:5!important;grid-row:2!important;min-height:32px!important;white-space:nowrap!important;font-size:12px!important;padding:5px 9px!important}
.island-unified-composer>button[aria-label="Send message"],.island-unified-composer>#send,.island-unified-composer>.btn.red{grid-column:3!important;grid-row:2!important;justify-self:end!important;min-height:32px!important;height:32px!important;padding:5px 10px!important}
.island-unified-composer>button[aria-label="Choose attachment source"],.island-unified-composer>button[aria-label="Attach financial document"],.island-unified-composer>label[aria-label="Attach files"],.island-unified-composer>button[data-action="attach"]{grid-column:1!important;grid-row:2!important;width:32px!important;height:32px!important;border:0!important;background:transparent!important}
@media(max-width:650px){html[data-island-theme] body:is(.island-admin,.island-hr,.island-finance,.island-bd) .island-unified-composer{grid-template-columns:32px 32px minmax(0,1fr) minmax(105px,140px) auto!important}.island-unified-composer>.island-composer-provider{grid-column:4!important}.island-unified-composer>.island-new-chat{font-size:0!important;padding:5px!important}.island-unified-composer>.island-new-chat::before{content:'+';font-size:20px}}
html[data-island-theme] body.island-hr #hrTopHeader{min-height:54px!important;margin:0!important;padding:7px 18px!important;border-radius:0!important;background:#202020!important;background-image:none!important;box-shadow:none!important;border-color:#363636!important;flex-wrap:nowrap!important}
html[data-island-theme="light"] body.island-hr #hrTopHeader{background:#fff!important;border-color:#e2ded7!important}
body.island-hr #hrTopHeader .brand .mark{height:28px!important}
body.island-hr #hrTopHeader .brand .bs{display:none!important}
body.island-hr #pcgWorkbar{display:none!important}
body.island-hr .app{padding-top:0!important}
body.island-hr .sec[data-sec="chat"].hr-chat-dock{height:calc(100dvh - 100px)!important;max-width:920px!important}
html[data-island-theme="dark"] body.island-finance #financeChatWindow{background:#151515!important;border:0!important}
html[data-island-theme="dark"] body.island-finance #financeChatWindow .compose{background:#202020!important;margin:0!important}
html[data-island-theme="light"] body.island-finance #financeChatWindow{background:#f8f7f4!important;border:0!important}
html[data-island-theme="light"] body.island-finance #financeChatWindow .compose{background:#fff!important;margin:0!important}
html[data-island-theme] body.island-admin #main .admin-agents-chat-layout .admin-chat-composer>.btn.red{grid-column:3!important;grid-row:2!important;justify-self:end!important;position:relative!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;z-index:2!important;background:#ee3626!important;color:#fff!important}
body.island-bd .section[data-page="chat"] .chat-head{display:none!important}
html[data-island-theme] body.island-bd .section[data-page="chat"] .chat-shell{background:transparent!important;border:0!important}
html[data-island-theme="dark"] body.island-hr #hrTopHeader .brand .bt{color:#f1eee9!important}
html[data-island-theme="light"] body.island-hr #hrTopHeader .brand .bt{color:#25231f!important}
body.island-hr .sec[data-sec="chat"].hr-chat-dock .chat{width:100%!important;max-width:920px!important;margin:0 auto!important;background:transparent!important;border:0!important}
html[data-island-theme] body.island-hr .sec[data-sec="chat"].hr-chat-dock .msgs{width:100%!important;background:transparent!important}
html[data-island-theme] body.island-hr .sec[data-sec="chat"] .chat-empty>div:first-of-type{font-family:inherit!important;font-size:clamp(22px,2.2vw,28px)!important;font-weight:620!important;letter-spacing:-.015em!important;color:var(--text)!important;margin-bottom:6px!important}
html[data-island-theme="dark"] body.island-finance #financeChatWindow .messages,
html[data-island-theme="dark"] body.island-bd .section[data-page="chat"] .messages{background:transparent!important}
html[data-island-theme="light"] body.island-finance #financeChatWindow .messages,
html[data-island-theme="light"] body.island-bd .section[data-page="chat"] .messages{background:transparent!important}
@media(max-width:800px){body.island-admin #main{padding:12px!important}body.island-admin .admin-agents-chat-layout>.card{min-height:calc(100vh - 200px)}}
/* Department chat surfaces use the same quiet, centered workspace. */
body.island-finance .section[data-section="chat"] .chat,
body.island-bd .section[data-page="chat"] .chat-shell{max-width:920px;margin-inline:auto;border:0!important;border-radius:0!important;box-shadow:none!important}
body.island-finance .section[data-section="chat"] .chat-head,
body.island-bd .section[data-page="chat"] .chat-head{border-bottom:0!important}
body.island-finance .section[data-section="chat"] .messages,
body.island-bd .section[data-page="chat"] .messages{background:transparent!important}
body.island-finance .section[data-section="chat"] .compose,
body.island-bd .section[data-page="chat"] .chat-compose{border:1px solid var(--line)!important;border-radius:14px!important;margin:12px!important;align-items:center!important}
body.island-finance .section[data-section="chat"] .empty,
body.island-bd .section[data-page="chat"] .chat-empty b{font-family:inherit;font-size:clamp(22px,2.2vw,28px);font-weight:620;letter-spacing:-.015em;color:var(--ink)!important}
html[data-island-theme="dark"] body.island-finance :is(.messages,.compose,.bubble.ai,.icon,.chat-head),
html[data-island-theme="dark"] body.island-bd :is(.messages,.chat-compose,.message.agent,.chat-icon,.chat-head){background:#202020!important;color:#f1eee9!important;border-color:#363636!important}
html[data-island-theme="dark"] body.island-finance .section[data-section="chat"] .empty,
html[data-island-theme="dark"] body.island-bd .section[data-page="chat"] .chat-empty b{color:#f1eee9!important}
html[data-island-theme="light"] body.island-finance :is(.messages,.compose,.bubble.ai,.icon,.chat-head),
html[data-island-theme="light"] body.island-bd :is(.messages,.chat-compose,.message.agent,.chat-icon,.chat-head){background:#fff!important;color:#25231f!important;border-color:#e2ded7!important}
body.island-hr .sec[data-sec="chat"].hr-chat-dock{position:relative!important;inset:auto!important;bottom:auto!important;width:min(920px,100%)!important;height:calc(100vh - 150px)!important;min-height:520px!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.island-hr .sec[data-sec="chat"].hr-chat-dock>.head{margin:0 0 10px!important}
body.island-hr .sec[data-sec="chat"] .chat{flex:1;min-height:0;height:auto!important}
body.island-hr .sec[data-sec="chat"] .composer{margin-bottom:10px!important}
body.island-hr .sec[data-sec="chat"]>.head,
body.island-finance .section[data-section="chat"] .chat-head,
body.island-bd .section[data-page="chat"] .chat-head{max-width:920px;width:100%;margin-inline:auto;min-height:52px;align-items:center}
/* Use one workspace title; remove the legacy outer heading and inset frame. */
body.island-bd .app{padding:0!important;gap:0!important}
body.island-bd .sidebar{top:0!important;margin:0!important;height:100vh!important;border-radius:0!important;border-inline-end:1px solid var(--line)!important}
body.island-bd main{padding:10px 24px 24px!important;max-width:none!important}
body.island-bd:has(.section[data-page="chat"].active) .top{max-width:920px;margin:0 auto 8px!important;min-height:38px;justify-content:flex-end}
body.island-bd:has(.section[data-page="chat"].active) .top>div:first-child{display:none!important}
body.island-bd .section[data-page="chat"] .chat-shell{height:calc(100vh - 70px)!important;min-height:480px!important}
body.island-bd .section[data-page="chat"] .chat-empty b{color:var(--ink)!important}
body.island-finance .app{gap:0!important}
body.island-finance .side{top:0!important;margin:0!important;height:100vh!important;border-radius:0!important;border-inline-end:1px solid var(--line)!important}
body.island-finance main{padding:10px 24px 24px!important;max-width:none!important}
body.island-finance:has(.section[data-section="chat"].active) .head{max-width:920px;margin:0 auto 8px!important;min-height:38px;justify-content:flex-end}
body.island-finance:has(.section[data-section="chat"].active) .head>div:first-child{display:none!important}
body.island-finance .section[data-section="chat"] .chat{height:calc(100vh - 70px)!important;min-height:480px!important}
body.island-hr .sidebar{top:0!important;margin:0!important;height:100vh!important;border-radius:0!important}
body.island-hr .main{padding-top:10px!important}
body.island-hr #provPill[hidden],body.island-hr #provPill:empty{display:none!important}
@media(max-width:800px){body.island-bd main,body.island-finance main{padding:10px!important}body.island-bd .sidebar,body.island-finance .side,body.island-hr .sidebar{height:auto!important}}
