/* ONEX production presentation: shared shell, login and content spacing. */
body[data-crm-shell="unified"]:has(.login-shell){height:auto;min-height:100dvh;background:#edf2f8}
body[data-crm-shell="unified"] #app.app-shell:has(>.login-shell){display:block!important;width:100%;height:auto;min-height:100dvh}
body[data-crm-shell="unified"] #app>.login-shell{display:grid!important;place-items:center;min-height:100dvh;width:100%;padding:32px 20px;box-sizing:border-box;background:linear-gradient(145deg,#edf2f8,#f8fafc)}
body[data-crm-shell="unified"] .login-shell .login-card{width:min(100%,440px);max-width:440px;min-width:0;padding:30px;box-sizing:border-box;border:1px solid #ccd8e6;border-radius:12px;box-shadow:0 12px 40px #09244912;text-align:left;margin:0}
.login-shell .login-mark{display:none}.login-shell .login-brand{margin-bottom:18px}.login-shell .login-brand small{font-size:19px;font-weight:750;letter-spacing:2px;color:#092449}.login-shell .login-brand h1{font-size:25px;line-height:1.25;margin-top:9px;color:#12365c}.login-shell .login-card p{font-size:13px;line-height:1.5;margin-bottom:20px}.login-shell .login-fields{gap:16px}.login-shell .login-fields input{height:44px;min-width:0;border-radius:6px}.login-shell .login-note{display:block;margin-top:16px;font-size:11px;line-height:1.5}.login-shell [data-portal-return]{display:inline-flex;margin:18px 0 0!important;font-size:12px}.login-shell .login-loading{box-shadow:none;border:0;background:transparent;text-align:center}
body[data-crm-shell="unified"]{--crm-top:60px;--crm-footer:28px}
body[data-crm-shell="unified"] #app>.app-top{display:flex!important;align-items:center;gap:14px;height:var(--crm-top);min-height:var(--crm-top);padding:0 18px!important;margin:0;position:relative;top:auto;min-width:0;width:100%;border-bottom:1px solid #cbd8e5;background:#fff;box-shadow:0 2px 8px #09244906;line-height:1.3}
body[data-crm-shell="unified"] .pilot-brand{display:flex;align-items:center;gap:16px;flex:0 0 auto;min-width:0;margin:0}.pilot-brand .pilot-logo{font:750 23px/1 'Segoe UI',Arial,sans-serif;letter-spacing:1.5px;color:#092449;white-space:nowrap}.pilot-brand .pilot-logo small{display:block;font:600 8px/1.2 'Segoe UI',Arial,sans-serif;letter-spacing:3px;margin-top:5px}.pilot-brand .pilot-product{font:600 13px/1.3 'Segoe UI',Arial,sans-serif;padding-left:16px;border-left:1px solid #d4deea;color:#425e7d}.pilot-brand .pilot-toggle{display:grid;place-items:center;width:32px;min-width:32px;height:34px;min-height:34px;padding:0;border:0;background:transparent;color:#1a3a5f;border-radius:5px;font-size:18px}
body[data-crm-shell="unified"] .app-top>.top-icons{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;flex:1;min-width:0;margin:0;padding:0;border:0}.app-top .top-icons>.profile{display:flex;align-items:center;gap:8px;min-width:0;max-width:240px;margin:0 auto 0 0;padding:0 8px 0 16px;border-left:1px solid #d7e2ed}.app-top .profile>span:first-child{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12px/1.4 'Segoe UI',Arial,sans-serif;color:#173858}.app-top .profile small{display:block;font-size:10px;font-weight:400;color:#64758a}.app-top .profile .avatar{flex:none;width:30px;height:30px;font-size:11px}.app-top .top-icons>button{height:32px;min-height:32px;min-width:32px;padding:5px 9px;white-space:nowrap;margin:0;font:500 12px/20px 'Segoe UI',Arial,sans-serif}.app-top .crm-create-action{padding:5px 11px!important}.app-top .crm-product-return{display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0!important;min-height:32px;height:32px;padding:5px 10px!important;box-sizing:border-box;white-space:nowrap;border:1px solid #c3d2e3;border-radius:5px;background:#f7faff;color:#123d69;font:600 12px/20px 'Segoe UI',Arial,sans-serif;text-decoration:none}
body[data-crm-shell="unified"] #app>.workspace{padding:14px 20px!important;min-width:0;box-sizing:border-box}.workspace>.content-card{padding:14px!important;box-sizing:border-box;min-width:0;max-width:100%}.workspace>.content-card:has(.board){padding:8px!important}.workspace .crm-commandbar{margin-bottom:12px!important}.workspace :is(.mk-shell,.mk-index,.mk-editor,.exec-commercial,.exec-report,.settings-card){min-width:0;max-width:100%;box-sizing:border-box}.workspace .content-card>.mk-shell,.workspace .content-card>.mk-editor{margin:0}.workspace .content-card :is(.mk-toolbar,.exec-report-filters,.exec-section-head){padding-left:0;padding-right:0}.workspace :is(.table-wrap,.exec-table-wrap,.report-table-card){max-width:100%;overflow:auto}.crm-pilot-footer{display:flex;align-items:center;justify-content:flex-end;border-top:1px solid #d6e0eb;background:#f4f7fb;color:#738297}.workspace [data-production-note]{display:none}
@media(max-width:1100px){.app-top .top-icons>.profile{max-width:180px;padding-left:10px}.app-top .profile .avatar{display:none}body[data-crm-shell="unified"] #app>.app-top{gap:10px;padding:0 12px!important}.pilot-brand{gap:10px!important}.pilot-brand .pilot-product{padding-left:10px}}
@media(max-width:760px){body[data-crm-shell="unified"]{--crm-top:102px}body[data-crm-shell="unified"] #app>.app-top{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 44px;gap:0 8px;padding:5px 12px!important}.app-top .pilot-brand{grid-column:1;grid-row:1}.app-top .crm-product-return{grid-column:2;grid-row:1;font-size:11px}.app-top .top-icons{grid-column:1/-1;grid-row:2;gap:5px!important;width:100%}.app-top .top-icons>.profile{padding:0 4px 0 0;border:0;max-width:120px;flex:1}.app-top .profile>span:first-child{font-size:11px}.app-top .top-icons>button{font-size:11px;padding:4px 7px;min-width:28px}.app-top .crm-create-action{font-size:11px;padding:4px 7px!important}.pilot-brand .pilot-logo{font-size:21px}.pilot-brand .pilot-product{font-size:12px}.pilot-brand .pilot-toggle{width:28px;min-width:28px}body[data-crm-shell="unified"] #app>.workspace{padding:12px!important}.workspace>.content-card{padding:12px!important}body[data-crm-shell="unified"] .login-shell .login-card{padding:25px}.app-top .top-icons>.profile{max-width:100px}}
@media(prefers-reduced-motion:reduce){.app-top *,.login-shell *{transition:none!important;animation:none!important}}

body[data-crm-shell="unified"] .app-top [data-action="help"]{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:32px;height:32px;}

.crm-users-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.crm-users-toolbar label{margin-left:auto}.crm-users-toolbar input{width:260px;max-width:100%}.crm-users-table{overflow:auto}.crm-users-table table{width:100%;border-collapse:collapse}.crm-users-table th,.crm-users-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line,#dde5ed);font-size:12px}.crm-users-actions{white-space:nowrap}.crm-users-actions button{margin:2px}.crm-users-table tr[hidden]{display:none}@media(max-width:700px){.crm-users-toolbar label{margin-left:0;flex:1}.crm-users-toolbar input{width:100%}}

.crm-users-table table{table-layout:fixed;min-width:0!important}.crm-users-table td,.crm-users-table th{white-space:normal!important;overflow-wrap:anywhere}.crm-users-table th:nth-child(1){width:18%}.crm-users-table th:nth-child(2){width:23%}.crm-users-table th:nth-child(3){width:12%}.crm-users-table th:nth-child(4){width:13%}.crm-users-table th:nth-child(5){width:14%}.crm-users-table th:nth-child(6){width:20%}.crm-users-actions button{padding:5px 7px;min-height:28px;font-size:11px}.crm-users-page .settings-table{min-width:0}.legacy-commands [data-user-search]{width:220px;min-width:140px}.crm-users-table [hidden]{display:none!important}@media(max-width:700px){.crm-users-table table{min-width:700px!important}}
