html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .agent-manager-row.cathub-cat-row{display:grid;grid-template-columns:minmax(0,1fr) 106px 52px 52px;gap:6px;align-items:center}
html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .agent-manager-row.cathub-cat-row>.cathub-cat-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:3px;width:auto;min-width:52px;max-width:none;height:auto;min-height:44px;max-height:none;flex:0 0 auto;margin:0;padding:6px 8px;font-size:12px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .agent-manager-row.cathub-cat-row>.cathub-cat-action>.ui-line-icon{display:none}
html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .agent-manager-row.cathub-cat-row>.cathub-cat-action>span{min-width:0}
.cat-details-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:clamp(14px,3vw,24px);border:1px solid #526b82;border-radius:14px;background:#10202d;color:#e5edf6;box-shadow:0 18px 60px #0009}
.cat-details-dialog::backdrop{background:#050a10b8}
.cat-details-dialog h2{margin:0;font-size:19px}
.cat-details-identity{margin:4px 0 14px;color:#afc2d3;font-size:13px}
.cat-details-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;border-bottom:1px solid #334b60;overscroll-behavior-inline:contain}
.cat-details-tab,.cat-details-dialog>button{box-sizing:border-box;min-height:44px;flex:0 0 auto;padding:8px 12px;border:1px solid #405b72;border-radius:8px;background:#172c3d;color:inherit;font:inherit}
.cat-details-tab[aria-selected=true]{border-color:#83c8ed;background:#20445a;color:#fff}
.cat-details-tab:focus-visible,.cat-details-dialog button:focus-visible{outline:2px solid #a7e2ff;outline-offset:2px}
.cat-details-editor{min-width:0;padding:14px 0}
.cat-details-status{min-height:1.4em;margin:4px 0;color:#b8c8d7;font-size:12px}
.cat-details-readonly-field{padding:10px 0;border-bottom:1px solid #2b4153}
.cat-details-readonly-field strong{display:block;color:#aebfd0;font-size:12px}
.cat-details-readonly-field p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.cat-details-scope-note{padding:9px 11px;border-left:3px solid #7cb9d7;background:#172c3d;color:#c7d9e7;font-size:12px}
.cat-details-reopen{min-height:44px}
@media(max-width:480px){html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .agent-manager-row.cathub-cat-row{grid-template-columns:minmax(0,1fr) 88px 48px 48px;gap:4px;padding:8px}html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .agent-manager-row.cathub-cat-row>.cathub-cat-action{width:48px;min-width:48px;max-width:48px;flex-basis:48px;padding-inline:1px}.cat-details-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px}.cat-details-tab{padding-inline:10px}}

html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .cathub-cat-row>.cathub-cat-login{grid-column:2;grid-row:1;width:auto;max-width:none}
html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .cathub-cat-row>.cathub-cat-details{grid-column:3;grid-row:1}
html[data-cathub-room] .details.room-details-dialog .agent-manager-inline .cathub-cat-row>.cathub-cat-more{grid-column:4;grid-row:1}
.cat-details-editor>.ai-preferences-inline,.cat-details-editor>.cat-roles-inline{background:transparent;border:0;padding:0;margin:0}
.cat-details-editor>section>h3{display:none}
.cat-details-status:empty{display:none}
.cat-details-editor .ai-preferences-close,.cat-details-editor .cat-roles-close{display:none}

@media(max-width:480px){.cat-details-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.cat-details-tab{min-width:0;padding-inline:4px}}
.cat-details-headingbar{display:flex;align-items:center;gap:8px}.cat-details-headingbar h2{min-width:0;flex:1}.cat-details-close{display:grid;place-items:center;box-sizing:border-box;width:40px;min-width:40px;height:40px;padding:0;border:1px solid #405b72;border-radius:9px;background:#172c3d;color:inherit;font-size:24px;line-height:1}.cat-details-close:focus-visible{outline:2px solid #a7e2ff;outline-offset:2px}.cat-details-dialog>.cat-details-editor{padding-top:8px}
