body.crm-workspace .main>.content{max-width:none;padding:0;margin:0}
body.crm-workspace .main>.content>.session-bar{margin:0;padding:6px 16px;min-height:46px}
#erp-crm.crm-integrated{display:flex;flex-direction:column;background:var(--bg,#f7f8f8);margin:0;padding:0;width:100%;height:calc(100dvh - 128px);min-height:500px;border:0;border-radius:0}
#erp-crm .crm-toolbar{display:flex;align-items:center;gap:16px;flex:none;padding:6px 12px;border-bottom:1px solid var(--line);background:white;min-height:48px}
#erp-crm a.ghost{text-decoration:none;white-space:nowrap}
#erp-crm .crm-help{margin-left:auto;position:relative;font-size:.85rem}
#erp-crm .crm-help summary{cursor:pointer;padding:8px}
#erp-crm .crm-help-panel{position:absolute;right:0;top:100%;z-index:1;width:min(440px,calc(100vw - 24px));max-height:70dvh;overflow:auto;padding:18px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #193e7030}
#erp-crm .crm-session-note,#crm-status{font-size:.85rem;color:var(--muted);line-height:1.5}
#crm-frame-host{flex:1;min-height:0;min-width:0}
#crm-frame-host iframe{display:block;width:100%;height:100%;border:0;background:white}
@media(max-width:550px){#erp-crm .crm-toolbar{gap:6px;padding:6px}#erp-crm .crm-toolbar>strong{display:none}#erp-crm .crm-help{font-size:.78rem}}
