:root{--bg:#f3f5f8;--panel:#fff;--ink:#18202b;--muted:#697386;--line:#dfe4ea;--brand:#111827;--accent:#2563eb;--danger:#b42318;--success:#067647}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}a{color:inherit}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:5}.brand{text-decoration:none;font-weight:900;letter-spacing:.08em}.brand small{font-size:.65em;color:var(--muted)}.userbox,.userbox form{display:flex;align-items:center;gap:14px}.shell{display:grid;grid-template-columns:230px 1fr;min-height:calc(100vh - 64px)}.sidebar{background:var(--brand);color:#fff;padding:24px 14px;display:flex;flex-direction:column;justify-content:space-between}.sidebar nav{display:grid;gap:5px}.sidebar a{padding:11px 14px;border-radius:9px;text-decoration:none;color:#dbe3ef}.sidebar a:hover{background:#273244;color:#fff}.version{color:#8390a3;font-size:12px;padding:14px}.content{padding:30px;max-width:1500px;width:100%}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-head h1{margin:0 0 6px;font-size:28px}.page-head p{margin:0;color:var(--muted)}.panel,.stat,.module-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 18px rgba(20,30,50,.04)}.panel{padding:22px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat{padding:20px}.stat span{display:block;color:var(--muted);font-size:13px}.stat strong{font-size:34px}.check-grid,.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.check-grid div{padding:12px;background:#f7f9fc;border-radius:9px}.details div{padding:15px;border:1px solid var(--line);border-radius:10px}.details span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.button,button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 14px;text-decoration:none;cursor:pointer;font:inherit}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.link-button{border:0;padding:0;color:var(--accent)}.alert{padding:13px 16px;border-radius:10px;margin-bottom:16px}.alert.success{background:#ecfdf3;color:var(--success)}.alert.error{background:#fef3f2;color:var(--danger)}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.table-wrap{overflow:auto}.badge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:12px;background:#eef2f7}.badge.active{background:#dcfae6;color:#067647}.badge.inactive,.badge.suspended{background:#fff4e5;color:#b54708}.inline{display:flex;gap:6px}.inline select{min-width:100px}.form-panel{max-width:900px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label{display:grid;gap:7px;font-weight:600;font-size:14px}input,select{width:100%;border:1px solid #cfd6df;border-radius:9px;padding:11px;background:#fff;font:inherit}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{padding:20px}.module-card h2{font-size:19px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:0 20px 60px rgba(20,30,50,.1)}.login-card form{display:grid;gap:16px}.login-mark{font-weight:900;letter-spacing:.12em}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:static}.sidebar nav{grid-template-columns:repeat(4,1fr)}.stats,.module-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.content{padding:18px}.topbar{padding:0 14px}.sidebar nav{grid-template-columns:repeat(2,1fr)}.stats,.module-grid,.form-grid,.check-grid,.details{grid-template-columns:1fr}.page-head{flex-direction:column}.userbox span{display:none}}
/* Alpha 3 reusable CRUD, bordered table and guided wizard components */
.bordered-table{border:1px solid var(--line);border-collapse:separate;border-spacing:0}.bordered-table th,.bordered-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.bordered-table th:last-child,.bordered-table td:last-child{border-right:0}.bordered-table tbody tr:last-child td{border-bottom:0}.bordered-table tbody tr:hover{background:#f8fafc}.check-cell{width:46px;text-align:center}.check-cell input{width:18px;height:18px}.row-actions,.head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.button.small{padding:7px 10px;font-size:13px}.subtext{font-size:12px;color:var(--muted);margin-top:3px}.empty-state{text-align:center;color:var(--muted);padding:32px!important}.bulk-toolbar{display:flex;align-items:center;gap:12px;background:#eef4ff;border:1px solid #bfd3ff;border-radius:10px;padding:12px 14px;margin-bottom:12px}.bulk-toolbar select{width:auto;min-width:180px}.bulk-toolbar button{padding:9px 14px}.danger-panel{margin-top:18px;border-color:#f0c7c3}.danger-panel h2{margin-top:0;font-size:18px}.wizard{padding:0;overflow:hidden;max-width:980px}.wizard-steps{display:grid;grid-template-columns:repeat(4,1fr);background:#f7f9fc;border-bottom:1px solid var(--line)}.wizard-step{border:0;border-radius:0;background:transparent;padding:18px 10px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:9px}.wizard-step span{width:28px;height:28px;border-radius:50%;background:#e5eaf0;display:grid;place-items:center;font-weight:800}.wizard-step em{font-style:normal;font-weight:700}.wizard-step.active{color:var(--accent);background:#fff}.wizard-step.active span,.wizard-step.complete span{background:var(--accent);color:#fff}.wizard-pane{display:none;padding:28px;min-height:250px}.wizard-pane.active{display:block}.wizard-actions{display:flex;align-items:center;padding:18px 28px;border-top:1px solid var(--line);background:#fbfcfe}.wizard-spacer{flex:1}.review-card{border:1px solid var(--line);border-radius:12px;padding:22px;background:#f8fafc}.review-card h2{margin-top:0}.review-card dl{display:grid;grid-template-columns:180px 1fr;gap:8px 14px}.review-card dt{color:var(--muted)}.review-card dd{margin:0;font-weight:700;word-break:break-word}label small{font-weight:400;color:var(--muted)}@media(max-width:700px){.wizard-steps{grid-template-columns:repeat(4,minmax(62px,1fr))}.wizard-step{display:grid;gap:5px;padding:12px 4px;font-size:11px}.wizard-step span{margin:auto}.wizard-pane{padding:20px 16px}.wizard-actions{padding:14px 16px}.review-card dl{grid-template-columns:1fr}.bulk-toolbar{align-items:stretch;flex-direction:column}.bulk-toolbar select{width:100%}}
/* Alpha 5 Core administration components */
.topbar-tools{display:flex;align-items:center;gap:16px}.language-switcher label{display:flex;align-items:center;gap:8px;font-size:12px}.language-switcher select{padding:7px;width:auto}.avatar{width:34px;height:34px;object-fit:cover;border-radius:50%;border:1px solid var(--line)}.impersonation-banner{background:#fff4ce;border-bottom:1px solid #e6c65c;padding:9px 18px;display:flex;align-items:center;justify-content:center;gap:18px}.impersonation-banner form{margin:0}.impersonation-banner button{padding:6px 10px}.cx-dialog,.session-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:22px;border:0;background:rgba(15,23,42,.62);overflow:auto;z-index:50}.dialog-card{width:min(980px,100%);margin:24px auto;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.dialog-card>header,.dialog-card>footer{display:flex;align-items:center;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line)}.dialog-card>header{justify-content:space-between}.dialog-card>header h1,.dialog-card>header h2{margin:0 0 4px}.dialog-card>header p{margin:0;color:var(--muted)}.dialog-card>footer{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end}.dialog-card>footer>span{flex:1}.dialog-card>.form-grid,.dialog-card>h2,.dialog-card>.permission-grid,.dialog-card>.alert{margin-left:22px;margin-right:22px}.dialog-card>.form-grid{padding:22px 0}.dialog-close{font-size:30px;text-decoration:none;line-height:1;padding:2px 8px}.compact-steps{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}.compact-steps button{border:0;border-radius:0;background:#f7f9fc}.compact-steps button.active{background:#fff;color:var(--accent);box-shadow:inset 0 -3px var(--accent)}[data-step-pane]{display:none;padding:0 22px}[data-step-pane].active{display:block}.upload-preview{width:110px;height:110px;border-radius:12px;object-fit:cover;border:1px solid var(--line);align-self:end}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-bottom:24px}.permission-option{display:flex;grid-template-columns:none;align-items:flex-start;gap:10px;border:1px solid var(--line);padding:12px;border-radius:10px;font-weight:400}.permission-option input{width:18px;margin-top:3px}.permission-option span{display:grid}.permission-option small{color:var(--muted)}.form-check{display:flex;align-items:center;gap:10px}.form-check-input{width:18px}.small-dialog{width:min(520px,100%);margin-top:12vh}.session-dialog:not([open]){display:none}html[dir="rtl"] .sidebar,html[dir="rtl"] th,html[dir="rtl"] td{text-align:right}@media(max-width:700px){.topbar-tools{gap:8px}.language-switcher span{display:none}.dialog-card{margin:0 auto}.permission-grid{grid-template-columns:1fr}.cx-dialog{padding:8px}.dialog-card>.form-grid{grid-template-columns:1fr}.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}}
.setup-option{margin:4px 22px 24px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.setup-option .form-check{align-items:flex-start}.setup-option .form-check-label{display:grid;gap:4px}.setup-option .form-check-label small{color:var(--muted)}.first-user-fields{padding-top:18px;margin-top:16px;border-top:1px solid var(--line)}details.advanced-settings{margin:0 22px 20px;border:1px solid var(--line);border-radius:10px;padding:12px 16px}details.advanced-settings summary{cursor:pointer;font-weight:700}

/* Creatix UI Alpha 1 */
:root{--cx-navy:#061a2c;--cx-navy-2:#0a2238;--cx-blue:#1296dc;--cx-blue-dark:#0878bb;--cx-bg:#f5f6f8;--cx-line:#d9dee5;--cx-text:#1f2933;--cx-muted:#697586;--cx-white:#fff;--cx-shadow:0 18px 55px rgba(2,18,35,.18)}
body{background:var(--cx-bg);color:var(--cx-text)}
.cx-topbar{height:78px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px 0 30px;border-bottom:1px solid #e5e7eb;box-shadow:0 2px 8px rgba(2,18,35,.08);position:sticky;top:0;z-index:40}.cx-brand{text-decoration:none;display:grid;line-height:1}.cx-brand-mark{font-size:28px;font-weight:900;letter-spacing:.04em;color:#061a2c}.cx-brand small{font-size:8px;letter-spacing:.22em;color:#64748b;margin-top:6px}.cx-top-actions{height:100%;display:flex;align-items:center;gap:12px}.cx-top-icon,.cx-signout button{border:0;background:transparent;color:#0a2238;font-size:21px;padding:12px;cursor:pointer}.cx-user-menu{border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:8px 4px 8px 12px;color:#263442}.cx-user-menu span:nth-child(2){display:grid;text-align:left;line-height:1.15}.cx-user-menu small{font-weight:400;color:#8a94a3;margin-top:4px}.cx-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#0b82c5;color:#fff;font-weight:800;overflow:hidden}.cx-avatar img{width:100%;height:100%;object-fit:cover}.cx-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 78px)}.cx-sidebar{background:var(--cx-navy);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100vh - 78px)}.cx-sidebar nav{display:grid}.cx-sidebar nav>a{display:flex;align-items:center;gap:13px;min-height:56px;padding:0 22px;text-decoration:none;color:#f1f5f9;border-bottom:1px solid rgba(255,255,255,.035);font-size:15px}.cx-sidebar nav>a>span{font-size:18px;width:22px;text-align:center}.cx-sidebar nav>a:hover{background:#0c2943}.cx-sidebar nav>a.active{background:linear-gradient(90deg,#0a8dd2,#0998dd);box-shadow:inset 4px 0 0 #40b9f0}.cx-subnav{display:grid;background:#071524;padding:4px 0}.cx-subnav span{padding:12px 24px 12px 57px;color:#e5edf5;font-size:13px}.cx-subnav .disabled{opacity:.72}.cx-sidebar-bottom{padding:20px;color:#8090a2;display:flex;justify-content:space-between;font-size:12px}.cx-content{padding:38px 34px;min-width:0}.cx-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.cx-page-head h1{font-size:29px;line-height:1;margin:0 0 8px}.cx-page-head p{margin:0;color:var(--cx-muted)}.cx-add-button{width:48px;height:38px;border-radius:4px;background:#0b94d9;color:#fff;text-decoration:none;display:grid;place-items:center;font-size:26px;box-shadow:0 2px 4px rgba(3,105,161,.2)}.cx-list-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.cx-list-toolbar>div:first-child{display:flex;gap:5px}.cx-list-toolbar button{width:38px;height:34px;padding:0;border-radius:2px;background:#0b94d9;color:#fff;border:0;font-size:18px}.cx-list-toolbar input{width:290px}.cx-table-panel{background:#fff;border:1px solid #cfd5dd;box-shadow:0 3px 9px rgba(2,18,35,.07)}.cx-table-scroll{overflow:auto}.cx-table{width:100%;border-collapse:collapse}.cx-table th{background:#f4f4f5;color:#334155;text-transform:none;letter-spacing:0;font-size:13px;font-weight:700;padding:13px 16px;border-right:1px solid #d6d9de;border-bottom:1px solid #cfd5dd}.cx-table td{padding:13px 16px;border-right:1px solid #e1e4e8;border-bottom:1px solid #d9dde2}.cx-table th:last-child,.cx-table td:last-child{border-right:0}.cx-table tbody tr:last-child td{border-bottom:0}.cx-click-row{cursor:pointer;transition:background .14s ease}.cx-click-row:hover,.cx-click-row:focus{background:#f0f8fd;outline:none}.cx-record-cell{display:flex;align-items:center;gap:12px}.cx-record-cell>span:last-child{display:grid;gap:3px}.cx-record-cell small{color:#778291}.cx-record-logo{width:36px;height:36px;border-radius:3px;object-fit:cover}.cx-initial{display:grid;place-items:center;background:#1198df;color:#fff;font-weight:800}.cx-status{display:inline-flex;align-items:center;gap:7px}.cx-status i{width:9px;height:9px;border-radius:50%;background:#94a3b8}.cx-status.active i{background:#15a25a}.cx-status.inactive i{background:#f59e0b}.cx-status.suspended i,.cx-status.deleted i{background:#d33d3d}
.cx-drawer-layer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;padding:0;border:0;background:rgba(2,18,35,.22);z-index:100;overflow:hidden}.cx-drawer-layer::backdrop{background:transparent}.cx-drawer{height:100%;width:min(560px,100vw);margin-left:auto;background:#fff;display:grid;grid-template-rows:auto minmax(0,1fr) auto;box-shadow:var(--cx-shadow);animation:cxSlide .2s ease-out}.cx-drawer-wide{width:min(920px,calc(100vw - 230px))}@keyframes cxSlide{from{transform:translateX(40px);opacity:.75}to{transform:none;opacity:1}}.cx-drawer-head{min-height:126px;background:var(--cx-navy);color:#fff;display:grid;grid-template-columns:74px minmax(0,1fr) auto 30px;align-items:center;gap:16px;padding:24px 24px 24px 28px}.cx-drawer-head h1{margin:0;font-size:25px}.cx-drawer-head p{margin:7px 0 0;color:#cbd7e3;font-size:13px}.cx-drawer-identity{width:66px;height:66px;background:#0b93d6;border-radius:3px;display:grid;place-items:center;font-size:30px;font-weight:800;cursor:pointer;overflow:hidden}.cx-drawer-identity img{width:100%;height:100%;object-fit:cover}.cx-section-dots{display:flex;gap:12px;align-items:center}.cx-section-dots button{width:18px;height:18px;padding:0;border-radius:0;border:0;background:#fff;opacity:.95}.cx-section-dots button.active{background:#0b94d9}.cx-drawer-x{font-size:31px;color:#fff;text-decoration:none;line-height:1}.cx-drawer-body{overflow:auto;padding:8px 32px 40px;scroll-behavior:smooth}.cx-drawer-body section{padding:28px 0 34px;border-bottom:1px solid #e2e6eb;scroll-margin-top:12px}.cx-drawer-body section:last-child{border-bottom:0}.cx-drawer-body h2{font-size:17px;margin:0 0 20px;color:#263442}.cx-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.cx-form-grid label{font-size:13px;color:#344150}.cx-form-grid input,.cx-form-grid select{height:42px;border-radius:3px;border:1px solid #c9cfd7;background:#fff}.cx-drawer-foot{min-height:67px;background:#fff;border-top:1px solid #d8dde4;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 24px;box-shadow:0 -4px 18px rgba(2,18,35,.05)}.cx-drawer-foot .button,.cx-drawer-foot button{border-radius:3px;min-width:98px}.cx-check-card{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:12px;border:1px solid #d6dde5;background:#f8fafc;padding:16px;margin-bottom:18px;border-radius:4px}.cx-check-card input{width:18px;height:18px;margin-top:2px}.cx-check-card span{display:grid;gap:4px}.cx-check-card small,.cx-muted{color:#697586}
.cx-select-wrap{position:relative}.cx-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.cx-select-button{width:100%;height:42px;border:1px solid #c9cfd7;border-radius:3px;background:#fff;text-align:left;padding:0 38px 0 12px;position:relative}.cx-select-button:after{content:'⌄';position:absolute;right:13px;top:9px;color:#64748b}.cx-select-menu{position:absolute;z-index:160;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid #bfc8d3;box-shadow:0 12px 28px rgba(2,18,35,.18);max-height:280px;display:grid;grid-template-rows:auto minmax(0,1fr)}.cx-select-search{border:0!important;border-bottom:1px solid #e1e6ec!important;border-radius:0!important;height:42px!important}.cx-select-options{overflow:auto}.cx-select-option{display:block;width:100%;border:0;border-radius:0;background:#fff;text-align:left;padding:10px 12px}.cx-select-option:hover,.cx-select-option.active{background:#e9f6fd;color:#075f91}.cx-select-option[hidden]{display:none}
@media(max-width:900px){.cx-shell{grid-template-columns:76px minmax(0,1fr)}.cx-sidebar nav>a{padding:0;justify-content:center;font-size:0}.cx-sidebar nav>a>span{font-size:20px}.cx-subnav{display:none}.cx-drawer-wide{width:calc(100vw - 76px)}.cx-content{padding:26px 20px}.cx-user-menu span:nth-child(2),.cx-user-menu b{display:none}}
@media(max-width:650px){.cx-topbar{height:66px;padding:0 12px}.cx-brand-mark{font-size:22px}.cx-shell{display:block}.cx-sidebar{min-height:auto;position:fixed;bottom:0;left:0;right:0;height:58px;z-index:50}.cx-sidebar nav{grid-template-columns:repeat(5,1fr)}.cx-sidebar nav>a{min-height:58px;border:0}.cx-sidebar-bottom{display:none}.cx-content{padding:22px 12px 78px}.cx-drawer-wide,.cx-drawer{width:100vw}.cx-drawer-head{grid-template-columns:58px minmax(0,1fr) 28px;padding:18px 16px}.cx-drawer-identity{width:52px;height:52px}.cx-section-dots{grid-column:1/-1;justify-content:center}.cx-drawer-x{grid-column:3;grid-row:1}.cx-form-grid{grid-template-columns:1fr}.cx-table th,.cx-table td{white-space:nowrap}.cx-page-head h1{font-size:25px}}
.cx-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.cx-view-grid>div{border:1px solid #d8dee6;background:#f8fafc;padding:14px 15px;border-radius:3px}.cx-view-grid span{display:block;color:#708090;font-size:12px;margin-bottom:5px}.cx-view-grid strong{font-size:14px;line-height:1.45}.cx-inline-actions{display:flex;justify-content:flex-end;margin-top:14px}.cx-inline-actions button{border-radius:3px;background:#0b94d9;color:#fff;border:0}.cx-ui-proof{position:fixed;right:14px;bottom:14px;background:#0b94d9;color:#fff;padding:6px 9px;border-radius:3px;font-size:11px;z-index:9999;box-shadow:0 2px 8px rgba(0,0,0,.18)}@media(max-width:650px){.cx-view-grid{grid-template-columns:1fr}}

/* Creatix Fireworks layout 1.2 */
:root{--cx-menu:#000;--cx-card:#333;--cx-active:#5aa5e7;--cx-active-deep:#5b94db;--cx-drawer:#000;--cx-field:#353535;--cx-field-border:#aeb3c2;--cx-field-text:#c3c2d0}
body{background:#fff;font-family:Arial,Helvetica,sans-serif}.cx-shell{display:grid;grid-template-columns:309px minmax(0,1fr);min-height:100vh}.cx-sidebar{position:sticky;top:0;height:100vh;min-height:100vh;background:#000;padding:26px 20px 22px 30px;display:flex;flex-direction:column;justify-content:space-between}.cx-brand{display:block;color:#fff;text-decoration:none;margin:0 0 27px 2px}.cx-brand span{display:block;font-size:25px;font-weight:400;letter-spacing:-.4px}.cx-brand small{display:block;margin-top:5px;color:#9b9aa8;font-size:10px;letter-spacing:.08em}.cx-sidebar nav{display:block}.cx-nav-block,.cx-nav-group{display:block;margin:0 0 12px;border-radius:10px;overflow:hidden;background:#333;color:#fff}.cx-nav-block{padding:17px 25px;text-decoration:none;font-size:16px}.cx-nav-block:hover{background:#3b3b3b}.cx-nav-group>a{display:block;padding:17px 25px;color:#fff;text-decoration:none;font-size:16px;background:#333}.cx-nav-group>div{display:grid;background:#5e5e5e}.cx-nav-group>div a,.cx-nav-group>div span{display:block;padding:15px 25px;color:#fff;text-decoration:none;font-size:16px}.cx-nav-group.active{background:#5b94db}.cx-nav-group.active>a{background:#59a8e8}.cx-nav-group.active>div{background:#5b94db}.cx-nav-group.active>div a,.cx-nav-group.active>div span{padding:15px 25px}.cx-sidebar-user{display:flex;align-items:center;gap:10px;color:#fff;border-top:1px solid #222;padding-top:14px;font-size:12px}.cx-sidebar-user>div:nth-child(2){display:grid;min-width:0}.cx-sidebar-user strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cx-sidebar-user small{color:#999}.cx-sidebar-user form{margin-left:auto}.cx-sidebar-user button{background:transparent;border:0;color:#fff;font-size:20px}.cx-content{padding:28px 34px;min-width:0;background:#fff}.cx-page-head{margin:0 0 39px 9px;align-items:flex-start}.cx-page-head h1{font-size:26px;font-weight:400;color:#5b9ee5;margin:0 0 2px}.cx-page-head p{font-size:17px;color:#9a98a8}.cx-breadcrumb{margin-top:18px;font-size:14px;color:#111}.cx-add-button{margin-top:4px}.cx-list-toolbar{display:none}.cx-table-panel{margin-left:0;border:1px solid #dbe0e8;box-shadow:none}.cx-table th{background:#fff;color:#647189;font-size:12px;text-transform:uppercase;padding:17px 13px}.cx-table td{padding:14px 13px}.cx-table tbody tr:hover{background:#f7fbff}.cx-record-logo{display:none}.cx-record-cell{gap:0}.cx-record-cell strong{text-decoration:underline;font-size:16px}.cx-record-cell small{font-size:12px}.cx-status{padding:6px 10px;border-radius:18px;background:#dff8e8;color:#279951;font-size:12px}.cx-status i{display:none}.cx-ui-proof{display:none}
.cx-drawer-layer{background:rgba(255,255,255,.12)}.cx-drawer{width:340px;max-width:100vw;background:#000;color:#fff;box-shadow:none;grid-template-rows:auto minmax(0,1fr) auto}.cx-drawer-head{position:relative;min-height:178px;background:#000;display:grid;grid-template-columns:1fr;align-content:start;padding:25px 32px 20px 63px}.cx-drawer-identity{position:absolute;left:-41px;top:12px;width:89px;height:88px;border-radius:10px;background:#58a8e7;border:1px solid #fff;font-size:28px}.cx-drawer-head h1{font-size:26px;font-weight:400;margin:0 0 4px}.cx-drawer-head p{font-size:16px;line-height:1.35;color:#b9b7c4;max-width:230px;margin:0}.cx-drawer-x{position:absolute;right:12px;top:8px;font-size:24px;color:#aaa}.cx-section-dots{position:absolute;left:32px;right:0;bottom:0;gap:7px}.cx-section-dots button{flex:1;height:51px;max-width:none;background:#b9b8c8;opacity:1}.cx-section-dots button.active{background:#5c9ee3}.cx-drawer-body{background:#000;padding:7px 32px 24px;overflow:auto}.cx-drawer-fieldset{border:0;padding:0;margin:0;min-width:0}.cx-drawer-body section{padding:0 0 12px;border:0}.cx-drawer-body h2{display:none}.cx-form-grid,.cx-form-stack{display:grid;grid-template-columns:1fr;gap:11px}.cx-form-grid label,.cx-form-stack label{display:block;font-size:0;color:transparent}.cx-form-grid input,.cx-form-grid select,.cx-form-stack input,.cx-form-stack select,.cx-select-button{height:47px!important;background:#353535!important;border:1px solid #aeb3c2!important;border-radius:9px!important;color:#c3c2d0!important;font-size:18px!important;padding:0 18px!important}.cx-form-grid textarea{background:#353535;border:1px solid #aeb3c2;border-radius:9px;color:#c3c2d0;font-size:18px;padding:12px 18px}.cx-form-grid input::placeholder,.cx-form-stack input::placeholder{color:#c3c2d0;opacity:1}.cx-select-button:after{color:#c3c2d0}.cx-select-menu{background:#353535;border-color:#aeb3c2}.cx-select-search{background:#222!important;color:#fff!important}.cx-select-option{background:#353535;color:#fff}.cx-select-option:hover,.cx-select-option.active{background:#5b94db;color:#fff}.cx-check-card{background:#353535;border-color:#aeb3c2;color:#fff}.cx-muted{color:#b9b7c4}.cx-drawer-foot{min-height:96px;background:#000;border:0;box-shadow:none;padding:13px 0 16px 32px;grid-template-columns:124px 1fr 124px;gap:0}.cx-drawer-foot .button,.cx-drawer-foot button{height:57px;border-radius:9px;font-size:18px;display:grid;place-items:center}.cx-cancel{background:#ffc400!important;border:1px solid #fff!important;color:#fff!important;text-decoration:none}.cx-drawer-foot .primary{background:#5b94db;border:1px solid #fff;color:#fff}.cx-access-panel{max-width:800px;margin-left:9px}.cx-access-panel form{padding:0}.cx-access-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr);align-items:center;gap:24px;padding:20px;border-bottom:1px solid #ddd}.cx-access-row div{display:grid;gap:4px}.cx-access-row small{color:#777}.cx-access-row input{height:46px}.cx-access-row.disabled{opacity:.55}.cx-access-panel footer{display:flex;justify-content:flex-end;padding:18px}.cx-access-panel footer button{background:#5b94db;color:#fff}
@media(max-width:900px){.cx-shell{grid-template-columns:250px minmax(0,1fr)}.cx-sidebar{padding-left:20px}.cx-drawer{width:340px}.cx-content{padding:24px 20px}}@media(max-width:650px){.cx-shell{display:block}.cx-sidebar{position:relative;height:auto;min-height:auto}.cx-content{padding:22px 12px}.cx-drawer{width:100vw}.cx-drawer-identity{left:14px}.cx-drawer-head{padding-left:120px}.cx-access-row{grid-template-columns:1fr}}

/* Creatix UI Alpha 1.3 — compact Plesk-inspired density */
:root{
  --cx-compact-font:13px;
  --cx-compact-small:11px;
  --cx-compact-heading:22px;
  --cx-control-height:38px;
}
body{font-size:var(--cx-compact-font);font-weight:400;line-height:1.38}
.cx-shell{grid-template-columns:274px minmax(0,1fr)}
.cx-sidebar{padding:20px 16px 18px 24px}
.cx-brand{margin-bottom:20px}
.cx-brand span{font-size:21px;font-weight:400;letter-spacing:-.2px}
.cx-brand small{font-size:9px;margin-top:3px}
.cx-nav-block,.cx-nav-group>a{padding:13px 18px;font-size:14px;font-weight:400;border-radius:8px}
.cx-nav-group>div a,.cx-nav-group>div span{padding:11px 18px;font-size:13px;font-weight:400}
.cx-nav-block,.cx-nav-group{margin-bottom:8px;border-radius:8px}
.cx-sidebar-user{font-size:11px;padding-top:11px}
.cx-sidebar-user button{font-size:17px;padding:4px}
.cx-avatar{width:30px;height:30px;font-size:11px}
.cx-content{padding:24px 28px}
.cx-page-head{margin:0 0 26px 5px}
.cx-page-head h1{font-size:23px;font-weight:400;line-height:1.15}
.cx-page-head p{font-size:13px;line-height:1.35}
.cx-breadcrumb{margin-top:12px;font-size:12px}
.cx-add-button{width:34px;height:34px;min-width:34px;font-size:20px;border-radius:5px}
.cx-table th{font-size:10px;font-weight:600;letter-spacing:.05em;padding:11px 10px}
.cx-table td{font-size:13px;padding:10px}
.cx-record-cell strong{font-size:13px;font-weight:600}
.cx-record-cell small{font-size:10px;margin-top:2px}
.cx-status{padding:4px 8px;font-size:10px}
.check-cell{width:38px}.check-cell input{width:15px;height:15px}
.bulk-toolbar{padding:8px 10px;font-size:12px}.bulk-toolbar select{min-width:145px}.bulk-toolbar button{padding:7px 10px}
button,.button{font-size:12px;padding:7px 11px;border-radius:5px;font-weight:400}
.button.small{font-size:11px;padding:5px 8px}
input,select,textarea{font-size:13px;font-weight:400}
.cx-drawer{width:330px}
.cx-drawer-head{min-height:143px;padding:20px 26px 16px 56px}
.cx-drawer-identity{left:-34px;top:10px;width:72px;height:72px;border-radius:7px;font-size:23px}
.cx-drawer-head h1{font-size:21px;font-weight:400;line-height:1.2;margin-bottom:3px}
.cx-drawer-head p{font-size:12px;line-height:1.35;max-width:215px}
.cx-drawer-x{font-size:19px;right:10px;top:7px;padding:3px 6px}
.cx-section-dots{left:26px;gap:5px}
.cx-section-dots button{height:39px}
.cx-drawer-body{padding:6px 26px 18px}
.cx-form-grid,.cx-form-stack{gap:8px}
.cx-form-grid input,.cx-form-grid select,.cx-form-stack input,.cx-form-stack select,.cx-select-button{
  height:var(--cx-control-height)!important;
  min-height:var(--cx-control-height)!important;
  border-radius:6px!important;
  font-size:13px!important;
  padding:0 13px!important;
  font-weight:400!important;
}
.cx-form-grid textarea{font-size:13px;line-height:1.4;border-radius:6px;padding:10px 13px;min-height:82px}
.cx-select-search{height:36px!important;font-size:12px!important}
.cx-select-option{font-size:12px;padding:8px 10px}
.cx-select-menu{max-height:235px}
.cx-check-card{padding:11px;gap:9px;margin-bottom:12px;font-size:12px;border-radius:6px}
.cx-check-card input{width:15px;height:15px}
.cx-muted{font-size:11px}
.cx-drawer-foot{min-height:68px;padding:9px 0 11px 26px;grid-template-columns:94px 1fr 94px}
.cx-drawer-foot .button,.cx-drawer-foot button{height:40px;min-height:40px;font-size:12px;border-radius:6px;min-width:0}
.cx-access-panel{max-width:760px;margin-left:5px}
.cx-access-row{grid-template-columns:minmax(190px,1fr) minmax(230px,1fr);gap:18px;padding:14px 16px}
.cx-access-row strong{font-size:13px}.cx-access-row small{font-size:11px}.cx-access-row input{height:38px;font-size:13px}
.cx-access-panel footer{padding:12px 16px}
.panel,.stat,.module-card{border-radius:8px}.panel{padding:16px}.stat{padding:15px}.stat span{font-size:11px}.stat strong{font-size:27px}.module-card{padding:15px}.module-card h2{font-size:16px}
.alert{font-size:12px;padding:9px 12px;border-radius:6px}
@media(max-width:900px){.cx-shell{grid-template-columns:226px minmax(0,1fr)}.cx-sidebar{padding-left:15px}.cx-content{padding:20px 16px}.cx-drawer{width:330px}}
@media(max-width:650px){.cx-page-head h1{font-size:21px}.cx-drawer{width:100vw}.cx-drawer-head{padding-left:105px}.cx-drawer-identity{left:12px}.cx-drawer-foot{padding-left:16px;grid-template-columns:88px 1fr 88px}}

/* Alpha 1.3.2 persistent parent navigation */
.cx-nav-group.active>a.current{background:#59a8e8;}
.cx-nav-group.active>div a.current{background:#69afe9;}
.cx-nav-group.active>div a.current:hover{background:#72b5ec;}
.cx-nav-group.active>div .disabled{opacity:.82;}

/* Alpha 1.3.3 active child navigation */
.cx-nav-group.active>a{background:#5b94db;}
.cx-nav-group.active>a.current{background:#69afe9;}
.cx-nav-group.active>div a.current{background:#69afe9;}

/* Creatix UI Alpha 1.3.4 confirmations, compact drawer actions and validation */
.cx-section-dots{display:none!important}
.cx-drawer-head{min-height:104px;padding-bottom:12px}
.cx-drawer-foot{min-height:56px;padding:8px 14px;display:flex;justify-content:flex-end;gap:8px}
.cx-drawer-foot>span{display:none}
.cx-drawer-foot .button,.cx-drawer-foot button{height:34px;min-height:34px;width:auto;min-width:82px;padding:0 13px;font-size:11px}
.cx-cancel{background:#343434!important;border-color:#737373!important;color:#fff!important}
.cx-confirm-dialog{border:0;padding:0;background:rgba(0,0,0,.52);width:100%;height:100%;max-width:none;max-height:none}
.cx-confirm-dialog::backdrop{background:rgba(0,0,0,.52)}
.cx-confirm-card{width:min(390px,calc(100vw - 28px));margin:16vh auto 0;background:#fff;border:1px solid #d7dce3;border-radius:7px;overflow:hidden;box-shadow:0 18px 55px rgba(0,0,0,.22)}
.cx-confirm-card header{display:grid;grid-template-columns:36px 1fr 24px;gap:11px;align-items:start;padding:17px 18px 14px;border-bottom:1px solid #e3e7ec}
.cx-confirm-card h2{margin:0 0 4px;font-size:16px;font-weight:500;color:#20252c}.cx-confirm-card p{margin:0;color:#697386;font-size:12px;line-height:1.45}
.cx-confirm-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff4e5;color:#b54708;font-weight:700}
.cx-confirm-close{border:0;background:transparent;padding:0;font-size:19px;color:#77808d}
.cx-confirm-password{display:grid;gap:6px;padding:15px 18px 2px;font-size:11px;color:#4c5563}.cx-confirm-password input{height:36px;font-size:12px}.cx-confirm-password input.is-required{border-color:#d92d20!important;box-shadow:0 0 0 1px #d92d20}
.cx-confirm-card footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 18px}.cx-confirm-card footer button{height:34px;padding:0 14px;font-size:11px}.cx-confirm-card .danger{background:#d92d20;color:#fff;border-color:#d92d20}
.cx-form-grid input:required:invalid:not(:placeholder-shown),.cx-form-stack input:required:invalid:not(:placeholder-shown),.cx-form-grid select:required:invalid{border-color:#d92d20!important}
.cx-field-attention{border-color:#f79009!important;box-shadow:0 0 0 1px #f79009!important}
.cx-status-select.status-active{border-color:#12b76a!important}.cx-status-select.status-inactive{border-color:#98a2b3!important}.cx-status-select.status-suspended{border-color:#f79009!important}.cx-status-select.status-deleted{border-color:#d92d20!important}
.cx-form-grid .is-required,.cx-form-stack .is-required{border-color:#d92d20!important;box-shadow:0 0 0 1px #d92d20!important}


/* Creatix UI Foundation 1.3.6 — refined drawer actions and validation guidance */
.cx-drawer-foot{
  border-top:1px solid #282828;
  background:#101010;
  padding:10px 18px;
  gap:9px;
  box-shadow:0 -8px 20px rgba(0,0,0,.18);
}
.cx-drawer-foot .button,.cx-drawer-foot button{
  height:33px;
  min-height:33px;
  min-width:88px;
  padding:0 15px;
  border-radius:6px;
  font-size:11px;
  font-weight:500;
  line-height:31px;
  transition:background-color .14s ease,border-color .14s ease,transform .08s ease,box-shadow .14s ease;
}
.cx-drawer-foot .button:active,.cx-drawer-foot button:active{transform:translateY(1px)}
.cx-drawer-foot .cx-cancel{
  background:#282828!important;
  border:1px solid #555!important;
  color:#e8e8e8!important;
}
.cx-drawer-foot .cx-cancel:hover{background:#343434!important;border-color:#707070!important}
.cx-drawer-foot .primary{
  background:linear-gradient(#68a9e9,#4f8fd3)!important;
  border:1px solid #76b4ef!important;
  color:#fff!important;
  box-shadow:0 1px 2px rgba(0,0,0,.28);
}
.cx-drawer-foot .primary:hover{background:linear-gradient(#73b2ee,#5999dc)!important}
.cx-drawer-foot .primary:disabled{background:#3f4852!important;border-color:#525c66!important;color:#929aa3!important;box-shadow:none;cursor:not-allowed}
.cx-field-pulse{animation:cxFieldAttention .8s ease}
@keyframes cxFieldAttention{0%,100%{box-shadow:0 0 0 1px #d92d20}45%{box-shadow:0 0 0 4px rgba(217,45,32,.23)}}
.cx-select-menu:not(:has(.cx-select-search)){padding-top:4px}

/* Creatix form refinement 1.4.0 */
.cx-drawer-head-simple{min-height:112px!important;padding-bottom:18px!important}
.cx-company-logo-row{display:flex;align-items:center;gap:13px;padding:3px 0 7px}
.cx-company-logo-row>div{display:grid;gap:3px;color:#fff}
.cx-company-logo-row strong{font-size:12px;font-weight:600}
.cx-company-logo-row small{font-size:10px;color:#aeb6c2}
.cx-company-logo-editor{--company-avatar-colour:#226db1;--company-avatar-text:#fff;position:relative;width:68px;height:68px;border-radius:16px;overflow:hidden;display:grid!important;place-items:center;flex:0 0 68px;background:var(--company-avatar-colour);border:1px solid rgba(255,255,255,.45);cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.cx-company-logo-editor img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.cx-company-logo-editor span{position:relative;z-index:2;color:var(--company-avatar-text);font-size:27px;font-weight:700;line-height:1}
.cx-company-logo-editor.readonly{cursor:default}
.cx-status-section{padding-top:10px!important;margin-top:5px;border-top:1px solid #292929!important}
.cx-field-message{display:block!important;margin:4px 3px 0!important;font-size:10px!important;line-height:1.35!important;color:#aeb6c2!important}
.cx-error-message{color:#ff7b72!important}
.cx-help-message{color:#aeb6c2!important}
.cx-select-button.is-placeholder{color:#c3c2d0!important}
.cx-select-button.is-required{border-color:#ff5d57!important;box-shadow:0 0 0 1px rgba(255,93,87,.5)!important}
.cx-field-pulse{animation:cxFieldPulse .8s ease}
@keyframes cxFieldPulse{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}50%{transform:translateX(3px)}75%{transform:translateX(-2px)}}


/* Creatix UI Foundation 1.4.1 — contextual table actions and soft status rows */
.cx-selection-bar{display:flex;align-items:center;justify-content:space-between;min-height:42px;margin:0 0 8px;padding:6px 9px;background:#f4f7fa;border:1px solid #dbe3eb;border-radius:6px;color:#44505e}
.cx-selection-bar[hidden]{display:none!important}.cx-selection-bar strong{font-size:11px;font-weight:600}.cx-selection-actions{display:flex;align-items:center;gap:5px}
.cx-square-action{width:27px;height:27px;min-width:27px;padding:0!important;border:0!important;border-radius:4px!important;display:inline-grid;place-items:center;color:#fff!important;font-size:14px!important;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 1px 2px rgba(25,35,48,.16);transition:filter .12s ease,transform .08s ease}
.cx-square-action:hover{filter:brightness(1.08)}.cx-square-action:active{transform:translateY(1px)}.cx-square-action:focus-visible{outline:2px solid #1f73b7;outline-offset:2px}.cx-square-action[hidden]{display:none!important}
.action-edit{background:#2f80c9!important}.action-delete{background:#cf3f4f!important}.action-status{background:#d79624!important}.action-print{background:#7556b8!important}.action-export{background:#2d9a67!important}
.cx-status-action-wrap{position:relative}.cx-status-action-menu{position:absolute;z-index:40;right:0;top:32px;width:142px;padding:5px;background:#fff;border:1px solid #d5dde6;border-radius:6px;box-shadow:0 10px 24px rgba(28,39,52,.18)}
.cx-status-action-menu[hidden]{display:none}.cx-status-action-menu button{width:100%;display:flex;align-items:center;gap:8px;padding:7px 8px!important;border:0;background:transparent;color:#303b48;text-align:left;font-size:11px;border-radius:4px}.cx-status-action-menu button:hover{background:#eef4f9}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.status-dot.active{background:#3aa76d}.status-dot.inactive{background:#d6535f}.status-dot.suspended{background:#e4aa31}
.cx-table tbody tr.cx-click-row{transition:background-color .12s ease,box-shadow .12s ease}.cx-table tbody tr.cx-click-row:hover{filter:none}.cx-table tbody tr.cx-row-status-active{background:rgba(60,167,109,.055)}.cx-table tbody tr.cx-row-status-active:hover{background:rgba(60,167,109,.095)}
.cx-table tbody tr.cx-row-status-inactive,.cx-table tbody tr.cx-row-status-disabled{background:rgba(214,83,95,.052)}.cx-table tbody tr.cx-row-status-inactive:hover,.cx-table tbody tr.cx-row-status-disabled:hover{background:rgba(214,83,95,.09)}
.cx-table tbody tr.cx-row-status-suspended,.cx-table tbody tr.cx-row-status-needs_attention,.cx-table tbody tr.cx-row-status-needs-attention{background:rgba(228,170,49,.07)}.cx-table tbody tr.cx-row-status-suspended:hover,.cx-table tbody tr.cx-row-status-needs_attention:hover,.cx-table tbody tr.cx-row-status-needs-attention:hover{background:rgba(228,170,49,.115)}
.cx-table tbody tr.cx-row-status-draft{background:rgba(65,137,202,.055)}.cx-table tbody tr.cx-row-status-archived,.cx-table tbody tr.cx-row-status-deleted{background:rgba(113,124,137,.055);color:#697481}.cx-table tbody tr.is-selected{box-shadow:inset 3px 0 0 #3184ca;background-color:rgba(49,132,202,.09)!important}
.cx-status.inactive i,.cx-status.disabled i{background:#d6535f}.cx-status.suspended i,.cx-status.needs_attention i,.cx-status.needs-attention i{background:#e4aa31}.cx-status.draft i{background:#4189ca}.cx-status.archived i,.cx-status.deleted i{background:#717c89}
@media print{body.cx-print-selected .cx-table tbody tr{display:none!important}body.cx-print-selected .cx-table tbody tr.cx-print-row{display:table-row!important}body.cx-print-selected .cx-sidebar,body.cx-print-selected .cx-topbar,body.cx-print-selected .cx-page-head,body.cx-print-selected .cx-list-toolbar,body.cx-print-selected .cx-selection-bar{display:none!important}}

/* UX Foundation Sprint 1.1 */
.cx-company-logo-editor.cx-drawer-identity{position:absolute;left:-34px;top:10px;display:grid;place-items:center;overflow:hidden}
.cx-company-logo-editor.cx-drawer-identity img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cx-company-logo-editor.cx-drawer-identity [data-company-live-initial]{position:relative;z-index:1;color:var(--company-avatar-text,#fff)}
.cx-company-logo-editor.cx-drawer-identity:has([data-generated-avatar]){background:var(--company-avatar-colour,#226db1)}
.cx-error-message{display:block;color:#ff9e9e!important;font-size:11px!important;margin:4px 3px 0}
.cx-drawer input.is-required,.cx-drawer select.is-required,.cx-drawer .cx-select-button.is-required{border-color:#ef5350!important;box-shadow:0 0 0 2px rgba(239,83,80,.18)!important}
@media(max-width:650px){.cx-company-logo-editor.cx-drawer-identity{left:12px}}

/* UX Foundation Sprint 1.1.1 — shared drawer identity and synchronised status badges */
.cx-company-logo-editor.cx-drawer-identity{
  position:absolute;
  left:-34px;
  top:10px;
  width:72px;
  height:72px;
  border-radius:7px;
  border:1px solid #fff;
  box-shadow:none;
  flex:none;
  display:grid!important;
  place-items:center;
  overflow:hidden;
}
.cx-company-logo-editor.cx-drawer-identity img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.cx-company-logo-editor.cx-drawer-identity span{
  font-size:23px;
}

.cx-status.active{background:#dff8e8;color:#279951}
.cx-status.inactive,.cx-status.disabled{background:#fde8ea;color:#b93242}
.cx-status.suspended,.cx-status.needs_attention,.cx-status.needs-attention{background:#fff1d6;color:#9b6810}
.cx-status.draft{background:#e5f1fb;color:#2d6fa9}
.cx-status.archived,.cx-status.deleted{background:#e9edf1;color:#5f6975}
.cx-status.active i{background:#3aa76d}
.cx-status.inactive i,.cx-status.disabled i{background:#d6535f}
.cx-status.suspended i,.cx-status.needs_attention i,.cx-status.needs-attention i{background:#e4aa31}
.cx-status.draft i{background:#4189ca}
.cx-status.archived i,.cx-status.deleted i{background:#717c89}

@media(max-width:650px){
  .cx-company-logo-editor.cx-drawer-identity{
    left:12px;
    top:10px;
    width:72px;
    height:72px;
  }
}

/* UX Foundation Sprint 1.1.2 — shared drawer header and CX.Table status source */
/* User photos and company logos now use the exact same holder and coordinates. */
.cx-drawer-head > .cx-drawer-identity{
  position:absolute!important;
  left:-34px!important;
  top:10px!important;
  width:72px!important;
  height:72px!important;
  border-radius:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
  padding:0!important;
  cursor:pointer;
}
.cx-drawer-head > .cx-drawer-identity:hover,
.cx-drawer-head > .cx-drawer-identity:focus,
.cx-drawer-head > .cx-drawer-identity:focus-visible,
.cx-drawer-head > .cx-drawer-identity:active{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.cx-drawer-head > .cx-drawer-identity img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.cx-drawer-title{min-width:0}

/* Strong tone classes prevent a red row ever receiving a green badge. */
.cx-status--success{background:#dff8e8!important;color:#279951!important}
.cx-status--danger{background:#fde8ea!important;color:#b93242!important}
.cx-status--warning{background:#fff1d6!important;color:#9b6810!important}
.cx-status--info{background:#e5f1fb!important;color:#2d6fa9!important}
.cx-status--neutral{background:#e9edf1!important;color:#5f6975!important}
.cx-status--success i{background:#3aa76d!important}
.cx-status--danger i{background:#d6535f!important}
.cx-status--warning i{background:#e4aa31!important}
.cx-status--info i{background:#4189ca!important}
.cx-status--neutral i{background:#717c89!important}
@media(max-width:650px){
  .cx-drawer-head > .cx-drawer-identity{left:12px!important;top:10px!important}
}


/* Creatix UX Foundation Sprint 1.1.3 — configurable CX.Drawer footer */
:root{
  --cx-drawer-action-height:44px;
  --cx-drawer-action-padding-x:20px;
  --cx-drawer-action-radius:5px;
  --cx-drawer-save-bg:var(--cx-active-deep,#5b94db);
  --cx-drawer-save-hover:#67a6e7;
  --cx-drawer-cancel-bg:#5e5e5e;
  --cx-drawer-cancel-hover:#6a6a6a;
  --cx-drawer-footer-bg:#101010;
  --cx-drawer-footer-border:#2b2b2b;
}
.cx-drawer-foot{
  min-height:72px!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  padding:13px 18px!important;
  background:var(--cx-drawer-footer-bg)!important;
  border-top:1px solid var(--cx-drawer-footer-border)!important;
  box-shadow:none!important;
}
.cx-drawer-foot .button,.cx-drawer-foot button{
  height:var(--cx-drawer-action-height)!important;
  min-height:var(--cx-drawer-action-height)!important;
  min-width:104px!important;
  width:auto!important;
  padding:0 var(--cx-drawer-action-padding-x)!important;
  border-radius:var(--cx-drawer-action-radius)!important;
  border:0!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:var(--cx-drawer-action-height)!important;
}
.cx-drawer-foot .cx-cancel{
  background:var(--cx-drawer-cancel-bg)!important;
  color:#fff!important;
}
.cx-drawer-foot .cx-cancel:hover{background:var(--cx-drawer-cancel-hover)!important}
.cx-drawer-foot .primary{
  background:var(--cx-drawer-save-bg)!important;
  color:#fff!important;
}
.cx-drawer-foot .primary:hover{background:var(--cx-drawer-save-hover)!important}


/* Creatix UX Foundation Sprint 1.1.5 — animated CX.Drawer dismissal */
:root{
  --cx-drawer-close-duration:240ms;
  --cx-drawer-close-easing:cubic-bezier(.4,0,.2,1);
}
.cx-drawer-layer[data-drawer]{
  transition:background-color 140ms ease var(--cx-drawer-close-duration);
}
.cx-drawer-layer[data-drawer] .cx-drawer{
  transition:transform var(--cx-drawer-close-duration) var(--cx-drawer-close-easing),opacity 180ms ease;
  will-change:transform,opacity;
}
.cx-drawer-layer[data-drawer].cx-drawer-closing{
  pointer-events:none;
  background-color:rgba(255,255,255,0)!important;
}
.cx-drawer-layer[data-drawer].cx-drawer-closing .cx-drawer{
  transform:translateX(105%)!important;
  opacity:.96;
}
html[dir="rtl"] .cx-drawer-layer[data-drawer].cx-drawer-closing .cx-drawer{
  transform:translateX(-105%)!important;
}
@media(prefers-reduced-motion:reduce){
  .cx-drawer-layer[data-drawer],
  .cx-drawer-layer[data-drawer] .cx-drawer{transition:none!important;animation:none!important}
}

/* Creatix UX Foundation Sprint 1.1.6 — smoked-glass CX.Drawer overlay */
:root{
  --cx-drawer-overlay-bg:rgba(15,20,30,.38);
  --cx-drawer-overlay-blur:2px;
  --cx-drawer-overlay-fade:180ms;
}
.cx-drawer-layer[data-drawer]{
  background:var(--cx-drawer-overlay-bg)!important;
  -webkit-backdrop-filter:blur(var(--cx-drawer-overlay-blur));
  backdrop-filter:blur(var(--cx-drawer-overlay-blur));
  transition:
    background-color var(--cx-drawer-overlay-fade) ease var(--cx-drawer-close-duration),
    -webkit-backdrop-filter var(--cx-drawer-overlay-fade) ease var(--cx-drawer-close-duration),
    backdrop-filter var(--cx-drawer-overlay-fade) ease var(--cx-drawer-close-duration);
}
.cx-drawer-layer[data-drawer].cx-drawer-closing{
  background-color:rgba(15,20,30,0)!important;
  -webkit-backdrop-filter:blur(0);
  backdrop-filter:blur(0);
}
@media(prefers-reduced-motion:reduce){
  .cx-drawer-layer[data-drawer]{
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}

/* UX Foundation Sprint 1.1.8 — CX.Help contextual field guidance */
:root{
  --cx-help-bg:#20252d;
  --cx-help-border:#3a424d;
  --cx-help-text:#e8edf4;
  --cx-help-muted:#b8c0cc;
  --cx-help-radius:6px;
  --cx-help-shadow:0 8px 22px rgba(0,0,0,.22);
}
.cx-field-help{
  display:none;
  position:relative;
  margin:6px 0 1px;
  padding:8px 10px;
  border:1px solid var(--cx-help-border);
  border-radius:var(--cx-help-radius);
  background:var(--cx-help-bg);
  color:var(--cx-help-text);
  font-size:11px;
  font-weight:400;
  line-height:1.45;
  box-shadow:var(--cx-help-shadow);
  animation:cxHelpIn 130ms ease both;
}
.cx-field-help::before{
  content:"";
  position:absolute;
  top:-5px;
  left:16px;
  width:8px;
  height:8px;
  background:var(--cx-help-bg);
  border-left:1px solid var(--cx-help-border);
  border-top:1px solid var(--cx-help-border);
  transform:rotate(45deg);
}
html[dir="rtl"] .cx-field-help::before{left:auto;right:16px}
.cx-field-help.is-visible{display:block}
.cx-field-help strong{display:block;margin-bottom:2px;color:#fff;font-size:11px}
.cx-field-help span{color:var(--cx-help-muted)}
label:has(.cx-error-message)>.cx-field-help,
label:has([data-client-error])>.cx-field-help{display:none!important}
@keyframes cxHelpIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.cx-field-help{animation:none}}

/* UX Foundation Sprint 1.1.9 — configurable quarter-page standard drawer */
:root{
  --cx-drawer-standard-width:28vw;
  --cx-drawer-standard-min:430px;
  --cx-drawer-standard-max:560px;
}
.cx-drawer:not(.cx-drawer-wide){
  width:clamp(var(--cx-drawer-standard-min),var(--cx-drawer-standard-width),var(--cx-drawer-standard-max));
}
/* Keep controls readable while giving help, labels and validation more room. */
.cx-drawer:not(.cx-drawer-wide) .cx-form-grid,
.cx-drawer:not(.cx-drawer-wide) .cx-form-stack{
  width:100%;
}
@media(max-width:900px){
  :root{--cx-drawer-standard-min:390px;--cx-drawer-standard-width:46vw}
}
@media(max-width:650px){
  .cx-drawer:not(.cx-drawer-wide){width:100vw}
}

/* UX Foundation Sprint 1.1.10 — CX.Form / CX.Grid desktop workspace */
:root{
  --cx-drawer-standard-width:42vw;
  --cx-drawer-standard-min:680px;
  --cx-drawer-standard-max:820px;
  --cx-form-column-gap:18px;
  --cx-form-row-gap:11px;
}
.cx-drawer:not(.cx-drawer-wide){
  width:clamp(var(--cx-drawer-standard-min),var(--cx-drawer-standard-width),var(--cx-drawer-standard-max));
}
.cx-drawer .cx-form-grid,
.cx-drawer .cx-form-grid-two{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:var(--cx-form-column-gap)!important;
  row-gap:var(--cx-form-row-gap)!important;
  align-items:start;
}
.cx-drawer .cx-field-full{grid-column:1 / -1}
.cx-drawer .cx-field-half{grid-column:span 1}
.cx-drawer .cx-field-third{grid-column:span 1}
.cx-drawer .cx-field-quarter{grid-column:span 1}
.cx-drawer .cx-field-help{max-width:100%}
@media(max-width:1100px){
  :root{
    --cx-drawer-standard-width:58vw;
    --cx-drawer-standard-min:620px;
    --cx-drawer-standard-max:720px;
  }
}
@media(max-width:760px){
  .cx-drawer:not(.cx-drawer-wide){width:100vw}
  .cx-drawer .cx-form-grid,
  .cx-drawer .cx-form-grid-two{
    grid-template-columns:1fr!important;
  }
  .cx-drawer .cx-field-full,
  .cx-drawer .cx-field-half,
  .cx-drawer .cx-field-third,
  .cx-drawer .cx-field-quarter{grid-column:1}
}

/* UX Foundation Sprint 1.1.11 — clean labelled dark CX.Form styling */
:root{
  --cx-drawer-standard-width:48vw;
  --cx-drawer-standard-min:640px;
  --cx-drawer-standard-max:760px;
  --cx-form-surface:#171a1f;
  --cx-form-surface-hover:#1c2026;
  --cx-form-border:#4a515b;
  --cx-form-border-focus:#6aa8e8;
  --cx-form-text:#f7f9fc;
  --cx-form-muted:#aeb7c4;
  --cx-form-label:#f0f3f7;
  --cx-form-radius:6px;
}
.cx-drawer:not(.cx-drawer-wide){
  width:clamp(var(--cx-drawer-standard-min),var(--cx-drawer-standard-width),var(--cx-drawer-standard-max));
}
.cx-drawer-body{
  padding:18px 32px 34px;
}
.cx-drawer .cx-form-grid,
.cx-drawer .cx-form-stack{
  column-gap:22px!important;
  row-gap:17px!important;
}
.cx-drawer .cx-form-grid>label,
.cx-drawer .cx-form-stack>label{
  display:grid!important;
  gap:7px!important;
  align-content:start;
  min-width:0;
  color:var(--cx-form-label)!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.25!important;
}
.cx-drawer .cx-form-grid>label>input,
.cx-drawer .cx-form-grid>label>select,
.cx-drawer .cx-form-grid>label>textarea,
.cx-drawer .cx-form-stack>label>input,
.cx-drawer .cx-form-stack>label>select,
.cx-drawer .cx-form-stack>label>textarea,
.cx-drawer .cx-select-button{
  width:100%;
  min-width:0;
  height:47px!important;
  padding:0 14px!important;
  border:1px solid var(--cx-form-border)!important;
  border-radius:var(--cx-form-radius)!important;
  background:var(--cx-form-surface)!important;
  color:var(--cx-form-text)!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.3!important;
  box-shadow:none!important;
  transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease;
}
.cx-drawer .cx-form-grid>label>textarea,
.cx-drawer .cx-form-stack>label>textarea{
  height:auto!important;
  min-height:92px;
  padding:12px 14px!important;
  resize:vertical;
}
.cx-drawer .cx-form-grid input::placeholder,
.cx-drawer .cx-form-stack input::placeholder,
.cx-drawer .cx-form-grid textarea::placeholder,
.cx-drawer .cx-form-stack textarea::placeholder{
  color:var(--cx-form-muted)!important;
  opacity:1!important;
}
.cx-drawer .cx-form-grid>label>input:hover,
.cx-drawer .cx-form-grid>label>select:hover,
.cx-drawer .cx-form-grid>label>textarea:hover,
.cx-drawer .cx-form-stack>label>input:hover,
.cx-drawer .cx-form-stack>label>select:hover,
.cx-drawer .cx-form-stack>label>textarea:hover,
.cx-drawer .cx-select-button:hover{
  background:var(--cx-form-surface-hover)!important;
  border-color:#5b6470!important;
}
.cx-drawer .cx-form-grid>label>input:focus,
.cx-drawer .cx-form-grid>label>select:focus,
.cx-drawer .cx-form-grid>label>textarea:focus,
.cx-drawer .cx-form-stack>label>input:focus,
.cx-drawer .cx-form-stack>label>select:focus,
.cx-drawer .cx-form-stack>label>textarea:focus,
.cx-drawer .cx-select-button:focus,
.cx-drawer .cx-select-button[aria-expanded="true"]{
  outline:none!important;
  border-color:var(--cx-form-border-focus)!important;
  box-shadow:0 0 0 2px rgba(90,165,231,.18)!important;
}
.cx-drawer .cx-select-button:after{color:#dce4ee!important}
.cx-drawer .cx-field-message{
  margin-top:0;
  color:#bac3cf;
  font-size:11px;
  line-height:1.35;
}
.cx-drawer .cx-error-message{color:#ff8f87!important}
.cx-drawer .cx-form-grid>label:has([required])::first-letter,
.cx-drawer .cx-form-stack>label:has([required])::first-letter{
  color:inherit;
}
.cx-drawer .cx-select-menu{
  background:#171a1f!important;
  border-color:#4a515b!important;
  color:#fff!important;
}
.cx-drawer .cx-select-option{background:#171a1f!important;color:#fff!important}
.cx-drawer .cx-select-option:hover,
.cx-drawer .cx-select-option.active{background:#2f6fba!important;color:#fff!important}
.cx-drawer .cx-select-search{background:#101318!important;color:#fff!important;border-color:#4a515b!important}
@media(max-width:1100px){
  :root{--cx-drawer-standard-width:58vw;--cx-drawer-standard-min:610px;--cx-drawer-standard-max:700px}
}
@media(max-width:760px){
  .cx-drawer-body{padding:14px 18px 28px}
}

/* UX Foundation Sprint 1.1.12 — paged CX.Form workspace, no form scrolling */
.cx-drawer[data-cx-form-wizard]{width:min(650px,calc(100vw - 280px));max-width:650px}
.cx-drawer[data-cx-form-wizard] .cx-drawer-body{overflow:hidden!important;min-height:0;padding:18px 28px 14px}
.cx-drawer[data-cx-form-wizard] .cx-drawer-fieldset{height:100%;min-height:0}
.cx-drawer[data-cx-form-wizard] [data-cx-step]{height:100%;min-height:0;overflow:hidden}
.cx-drawer[data-cx-form-wizard] [data-cx-step][hidden]{display:none!important}
.cx-drawer[data-cx-form-wizard] .cx-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-content:start}
.cx-drawer[data-cx-form-wizard] .cx-field-full{grid-column:1/-1}
.cx-drawer[data-cx-form-wizard] label{min-width:0}
.cx-wizard-foot{justify-content:space-between!important}
.cx-wizard-actions{display:flex;gap:10px;margin-left:auto}
.cx-wizard-actions .button,.cx-wizard-actions button{min-width:96px}
@media(max-width:900px){.cx-drawer[data-cx-form-wizard]{width:min(620px,calc(100vw - 40px));max-width:none}}
@media(max-width:650px){.cx-drawer[data-cx-form-wizard]{width:100vw}.cx-drawer[data-cx-form-wizard] .cx-form-grid{grid-template-columns:1fr}.cx-drawer[data-cx-form-wizard] .cx-field-half,.cx-drawer[data-cx-form-wizard] .cx-field-full{grid-column:1}.cx-drawer[data-cx-form-wizard] .cx-drawer-body{padding-inline:18px}}
@media(max-height:760px){.cx-drawer[data-cx-form-wizard] .cx-drawer-head{min-height:88px;padding-top:12px;padding-bottom:10px}.cx-drawer[data-cx-form-wizard] .cx-form-grid{gap:8px 14px}.cx-drawer[data-cx-form-wizard] .cx-drawer-body{padding-top:10px}.cx-drawer[data-cx-form-wizard] .cx-drawer-foot{min-height:58px}}


/* UX Foundation Sprint 1.1.14 — unambiguous CX.Wizard actions */
.cx-wizard-actions [hidden],
.cx-wizard-foot [hidden],
.drawer-footer [data-step-next][hidden],
.drawer-footer [data-step-finish][hidden],
.drawer-footer [data-step-back][hidden]{display:none!important}
.cx-wizard-next{
  background:#3f4752!important;
  border-color:#3f4752!important;
  color:#fff!important;
  box-shadow:none!important;
}
.cx-wizard-next:hover,.cx-wizard-next:focus{
  background:#4b5562!important;
  border-color:#4b5562!important;
  color:#fff!important;
}
.cx-wizard-back{background:#59616c!important;border-color:#59616c!important;color:#fff!important}
.cx-wizard-actions [data-cx-step-save]{background:var(--cx-primary,#2f6fba)!important;border-color:var(--cx-primary,#2f6fba)!important;color:#fff!important}


/* UX Foundation Sprint 1.1.15 — CX.Table search, status filtering and sortable headers */
.cx-table-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:14px 16px;background:#fff;border:1px solid #e3e8ef;border-radius:8px}
.cx-table-controls label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#4b5563}
.cx-table-search{flex:1 1 320px}.cx-table-filter{flex:0 0 210px}
.cx-table-controls input,.cx-table-controls select,.cx-table-controls .cx-select-button{height:42px;min-height:42px;border:1px solid #cfd6df;border-radius:6px;background:#fff;color:#1f2937;padding:0 12px}
.cx-filter-apply,.cx-filter-clear{height:42px;min-width:92px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;text-decoration:none}
.cx-filter-apply{background:var(--cx-primary,#2f6fba);border:1px solid var(--cx-primary,#2f6fba);color:#fff}
.cx-filter-clear{background:#59616c!important;border-color:#59616c!important;color:#fff!important}
.cx-sort-link{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none;font-weight:inherit}
.cx-sort-link:hover{color:var(--cx-primary,#2f6fba)}
.cx-result-count{font-size:12px;color:#64748b;font-weight:700}
.status-dot.deleted{background:#6b7280}
@media(max-width:760px){.cx-table-controls{align-items:stretch}.cx-table-search,.cx-table-filter{flex:1 1 100%}.cx-filter-apply,.cx-filter-clear{flex:1}}

/* UX Foundation Sprint 1.1.16 — themed CX.Dialog and preference inheritance */
.cx-confirm-dialog,
.cx-confirm-dialog::backdrop{
  background:rgba(15,20,30,.42)!important;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.cx-confirm-card footer{gap:10px;padding:16px 18px 18px}
.cx-confirm-card footer button{
  min-width:96px;height:42px;padding:0 18px;border-radius:6px;
  font-size:12px;font-weight:500;box-shadow:none;
}
.cx-confirm-card footer [data-confirm-cancel]{background:#59616c!important;border-color:#59616c!important;color:#fff!important}
.cx-confirm-card footer [data-confirm-cancel]:hover{background:#69727e!important;border-color:#69727e!important}
.cx-confirm-card footer [data-confirm-accept]{background:var(--cx-primary,#2f6fba)!important;border-color:var(--cx-primary,#2f6fba)!important;color:#fff!important}
.cx-confirm-card footer [data-confirm-accept]:hover{filter:brightness(1.08)}
.cx-confirm-card footer [data-confirm-accept].danger{background:#d92d20!important;border-color:#d92d20!important;color:#fff!important}

/* CX.Table compact identity columns — Sprint 1.1.18 */
.cx-table--compact .cx-media-column {
  width: 72px;
  text-align: center;
  white-space: nowrap;
}
.cx-table--compact td.cx-media-column {
  padding-inline: 12px;
}
.cx-table--compact .cx-country-column {
  width: 88px;
  text-align: center;
  white-space: nowrap;
}
.cx-table--compact .cx-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: help;
}
.cx-table--compact .cx-record-logo {
  display: inline-flex;
  margin: 0;
  vertical-align: middle;
}
@media (max-width: 720px) {
  .cx-table--compact .cx-country-column { display: none; }
  .cx-table--compact .cx-media-column { width: 54px; }
}


/* Sprint 1.1.19: compact country identity column uses the flag only. */
.cx-table .cx-country-column { text-align: center; width: 84px; font-weight: 400; }
.cx-table th.cx-country-column, .cx-table th.cx-country-column .cx-sort-link { font-weight: 500; }
.cx-country-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; font-size: 24px; line-height: 1; font-weight: 400; }


/* Sprint 1.1.21: preserve uploaded table media and align generated company avatars. */
.cx-table--compact .cx-record-logo {
  display: inline-block;
  width: 36px;
  height: 36px;
  max-width: 36px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
  background: #1b2028;
}

/* Sprint 1.1.22: CX.Flag, avatar alignment and dialog password visibility. */
.cx-confirm-password[hidden]{display:none!important}
.cx-flag{display:inline-block;width:22px;height:22px;object-fit:cover;vertical-align:middle;border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.cx-select-option,.cx-select-button{display:flex!important;align-items:center;gap:9px}
.cx-select-flag{width:18px;height:18px;border-radius:50%;object-fit:cover;flex:0 0 18px;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.cx-table--compact .cx-initial{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;text-align:center!important;padding:0!important}

/* Creatix UX Foundation Sprint 1.1.24 — mirrored RTL drawer workspace */
html[dir="rtl"] .cx-drawer-layer[data-drawer] .cx-drawer{
  margin-left:0;
  margin-right:auto;
  animation-name:cxSlideRtl;
}
@keyframes cxSlideRtl{
  from{transform:translateX(-40px);opacity:.75}
  to{transform:none;opacity:1}
}
html[dir="rtl"] .cx-drawer-head{
  direction:rtl;
}
html[dir="rtl"] .cx-drawer-identity{
  left:auto;
  right:-34px;
}
html[dir="rtl"] .cx-drawer-x{
  right:auto;
  left:10px;
}
html[dir="rtl"] .cx-drawer-foot{
  direction:rtl;
}
@media(max-width:650px){
  html[dir="rtl"] .cx-drawer-identity{
    left:auto;
    right:12px;
  }
  html[dir="rtl"] .cx-drawer-head{
    padding-left:16px;
    padding-right:105px;
  }
}

.cx-language-preview{margin:18px 14px 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}.cx-language-preview label{display:grid;gap:6px;color:#fff;font-size:12px;font-weight:600}.cx-language-preview select{width:100%;height:40px;border:1px solid #68717c;border-radius:6px;background:#fff;color:#222;padding:0 10px}.cx-table td strong[dir=auto],.cx-sidebar-user strong[dir=auto]{unicode-bidi:plaintext}.cx-drawer input[dir=auto],.cx-drawer textarea[dir=auto]{text-align:start;unicode-bidi:plaintext}html[dir=rtl] .cx-language-preview{text-align:right}

/* Creatix UX Foundation Sprint 1.1.30 — RTL drawer header identity spacing */
.cx-drawer-title h1,
.cx-drawer-title h1 [data-company-heading],
.cx-drawer-title h1 [data-user-heading]{
  unicode-bidi:plaintext;
}
html[dir="rtl"] .cx-drawer-head{
  padding-left:42px!important;
  padding-right:112px!important;
}
html[dir="rtl"] .cx-drawer-head > .cx-drawer-identity{
  left:auto!important;
  right:-34px!important;
}
html[dir="rtl"] .cx-drawer-title{
  min-width:0;
  width:100%;
  text-align:right;
  padding-inline:0;
}
html[dir="rtl"] .cx-drawer-title h1,
html[dir="rtl"] .cx-drawer-title p{
  max-width:100%;
  overflow-wrap:anywhere;
}
@media(max-width:650px){
  html[dir="rtl"] .cx-drawer-head{
    padding-left:42px!important;
    padding-right:100px!important;
  }
  html[dir="rtl"] .cx-drawer-head > .cx-drawer-identity{
    left:auto!important;
    right:12px!important;
  }
}

/* Creatix UX Foundation Sprint 1.1.31 — tighter RTL identity spacing and colour-coded wizard actions */
html[dir="rtl"] .cx-drawer-head{
  padding-right:74px!important;
}
html[dir="rtl"] .cx-drawer-title{
  padding-right:0!important;
}

/* Each wizard action has a stable colour, so users can recognise it in any language. */
.cx-wizard-foot .cx-cancel{
  background:#666666!important;
  border-color:#666666!important;
  color:#fff!important;
}
.cx-wizard-foot .cx-cancel:hover,
.cx-wizard-foot .cx-cancel:focus{
  background:#737373!important;
  border-color:#737373!important;
}
.cx-wizard-back{
  background:#7657c8!important;
  border-color:#7657c8!important;
  color:#fff!important;
}
.cx-wizard-back:hover,
.cx-wizard-back:focus{
  background:#8466d3!important;
  border-color:#8466d3!important;
}
.cx-wizard-next{
  background:#d69218!important;
  border-color:#d69218!important;
  color:#fff!important;
}
.cx-wizard-next:hover,
.cx-wizard-next:focus{
  background:#e0a02b!important;
  border-color:#e0a02b!important;
}
.cx-wizard-actions [data-cx-step-save],
.cx-wizard-foot [data-step-finish]{
  background:var(--cx-primary,#4f95db)!important;
  border-color:var(--cx-primary,#4f95db)!important;
  color:#fff!important;
}

@media(max-width:650px){
  html[dir="rtl"] .cx-drawer-head{
    padding-right:92px!important;
  }
}


/* Creatix UX Foundation Sprint 1.1.32 — breadcrumbs and linked related records */
.cx-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px 9px;font-size:13px;color:#7b8492}
.cx-breadcrumbs a{color:#4f95db;text-decoration:none}
.cx-breadcrumbs a:hover,.cx-breadcrumbs a:focus{text-decoration:underline}
.cx-breadcrumbs span[aria-current="page"]{color:#3f4854;font-weight:600}
.cx-related-record-link{display:inline-grid;place-items:center;border-radius:5px;text-decoration:none;outline-offset:3px}
.cx-related-record-link:hover .cx-record-logo,.cx-related-record-link:focus .cx-record-logo{box-shadow:0 0 0 2px var(--cx-primary,#4f95db);transform:translateY(-1px)}
.cx-related-record-link .cx-record-logo{transition:box-shadow .14s ease,transform .14s ease}
html[dir="rtl"] .cx-breadcrumbs{direction:rtl;margin-right:9px;margin-left:0}
html[dir="rtl"] .cx-breadcrumbs span[aria-hidden="true"]{transform:scaleX(-1)}

/* UX Foundation Sprint 1.1.33 — edit-mode tabs */
.cx-form-tabs{display:flex;gap:8px;padding:0 24px 12px;border-bottom:1px solid rgba(255,255,255,.08);background:#050505}
.cx-form-tab{appearance:none;border:0;border-bottom:2px solid transparent;background:transparent;color:#aeb6c2;padding:10px 14px;font:inherit;cursor:pointer}
.cx-form-tab:hover,.cx-form-tab:focus{color:#fff}
.cx-form-tab.is-active{color:#fff;border-bottom-color:var(--cx-primary,#5fa7e6)}
[dir="rtl"] .cx-form-tabs{justify-content:flex-start}
@media(max-width:720px){.cx-form-tabs{padding-inline:16px;overflow-x:auto}}


/* Creatix UX Foundation Sprint 1.1.34 — related-record subtables */
.cx-table tbody tr.is-related-expanded{box-shadow:inset 4px 0 0 var(--cx-primary,#4f95db)}
.cx-related-users-row>td{padding:0!important;background:#f7f9fc;border-bottom:1px solid #cfd8e3!important}
.cx-related-users{padding:14px 18px 18px}
.cx-related-users>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.cx-related-users h2{margin:0;font-size:14px;font-weight:700;color:#334155}
.cx-related-users>header span{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#e7eef7;color:#4d5c70;font-size:12px;font-weight:700}
.cx-related-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #dbe2ea}
.cx-related-table th{padding:9px 12px;background:#eef3f8;font-size:11px;color:#64748b;text-transform:uppercase;text-align:left;border-bottom:1px solid #dbe2ea}
.cx-related-table td{padding:9px 12px!important;border-bottom:1px solid #e5eaf0!important}
.cx-related-table tr:last-child td{border-bottom:0!important}
.cx-related-table .cx-record-logo{width:30px;height:30px}
.cx-related-empty{margin:0;padding:14px;background:#fff;border:1px solid #dbe2ea;color:#64748b}
html[dir="rtl"] .cx-table tbody tr.is-related-expanded{box-shadow:inset -4px 0 0 var(--cx-primary,#4f95db)}
html[dir="rtl"] .cx-related-table th{text-align:right}
@media(max-width:720px){.cx-related-users{padding:10px}.cx-related-table th:nth-child(3),.cx-related-table td:nth-child(3){display:none}}

/* CX.RelationshipMenu 1.0 — reusable related-record navigation. */
.cx-relationship-column{width:1%;white-space:nowrap;position:relative}
.cx-relationship-menu{position:relative;display:inline-flex;z-index:4}
.cx-relationship-menu.is-open{z-index:300}
.cx-relationship-cell-open{position:relative!important;z-index:299!important;overflow:visible!important}
.cx-relationship-row-open{position:relative!important;z-index:298!important}
.cx-relationship-row-open td{overflow:visible!important}
.cx-more-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:88px;height:36px;padding:0 14px;border:1px solid #cbd2dc;border-radius:8px;background:#fff;color:#303744;font-weight:600;cursor:pointer}
.cx-more-button:hover,.cx-more-button[aria-expanded="true"]{background:#f2f5f9;border-color:#aeb8c6}
.cx-more-button span{font-size:11px}
.cx-relationship-popover{position:absolute;z-index:301;top:calc(100% + 7px);inset-inline-end:0;min-width:220px;padding:7px;background:#fff;border:1px solid #d4dae3;border-radius:10px;box-shadow:0 14px 35px rgba(24,32,45,.24);isolation:isolate;overflow:hidden}
.cx-relationship-popover[hidden]{display:none!important}
.cx-relationship-popover a{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;padding:10px 11px;border-radius:7px;color:#252c37;text-decoration:none;font-weight:600}
.cx-relationship-popover a:hover,.cx-relationship-popover a:focus{background:#eef4fb;outline:0}
.cx-relationship-icon{display:grid;place-items:center;color:#5b75a5}
.cx-relationship-count{display:inline-grid;place-items:center;min-width:27px;height:24px;padding:0 7px;border-radius:999px;background:#e8edf4;color:#394454;font-size:12px}
html[dir="rtl"] .cx-relationship-popover{inset-inline-end:0;inset-inline-start:auto}
@media(max-width:700px){.cx-more-button{min-width:72px;padding:0 10px}.cx-relationship-popover{min-width:190px}}

/* Creatix UI Foundation 1.4.40 — clean identity and natural typography */
.cx-brand span,.cx-brand small,.cx-table th,.cx-nav-block,.cx-nav-group a,.cx-page-head h1,.button,button{text-transform:none!important}
.cx-brand span{letter-spacing:0!important}
.cx-drawer-identity{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.cx-drawer-identity img{background:transparent!important;border:0!important;box-shadow:none!important;object-fit:contain!important}
.cx-record-logo:not(.cx-initial){background:transparent!important;border:0!important;box-shadow:none!important;object-fit:contain!important}


/* CX.SessionDialog — use the same visual language as wizard actions. */
.session-dialog .dialog-card>footer{gap:12px;align-items:center}
.session-dialog .dialog-card>footer form{margin:0}
.session-dialog .cx-session-secondary,
.session-dialog .cx-session-primary{
  min-width:132px;
  height:48px;
  padding:0 18px!important;
  border-radius:6px!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:600!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.session-dialog .cx-session-secondary{background:#646c78!important;border:1px solid #646c78!important}
.session-dialog .cx-session-secondary:hover,.session-dialog .cx-session-secondary:focus{background:#555d68!important;border-color:#555d68!important}
.session-dialog .cx-session-primary{background:#2f73c8!important;border:1px solid #2f73c8!important}
.session-dialog .cx-session-primary:hover,.session-dialog .cx-session-primary:focus{background:#2865af!important;border-color:#2865af!important}
html[dir="rtl"] .session-dialog .dialog-card>footer{flex-direction:row-reverse}

/* CX.Avatar SVG fallback — transparent canvas with deterministic dark circle. */
.cx-record-logo,
.cx-drawer-identity img,
.cx-avatar img{
  display:block;
  object-fit:contain;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.cx-avatar{
  overflow:visible;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.cx-avatar img{width:100%;height:100%;border-radius:0!important}

/* Creatix Domains Module 1.0 */
.cx-domain-glyph{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#243b65;color:#fff;font-size:34px;font-weight:800;line-height:1}
.cx-domain-attention-list{display:grid;gap:0}.cx-domain-attention-item{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(150px,1fr) auto;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid var(--line,#dbe1e8);text-decoration:none;color:inherit}.cx-domain-attention-item:hover{background:rgba(59,130,246,.05)}.cx-domain-attention-item small{grid-column:1/-1;color:var(--muted,#7b8491)}
.cx-table td small{display:block;margin-top:3px;color:var(--muted,#7b8491)}
[dir="rtl"] .cx-domain-attention-item{direction:rtl}
@media(max-width:760px){.cx-domain-attention-item{grid-template-columns:1fr}.cx-domain-attention-item small{grid-column:auto}}


/* Domains workspace summary — compact counters above the standard CX table. */
.cx-domain-summary{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;margin:0 0 16px}
.cx-domain-summary article{min-height:86px;padding:15px 17px;border:1px solid var(--line,#dbe1e8);border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;box-shadow:0 2px 8px rgba(15,23,42,.035)}
.cx-domain-summary strong{font-size:25px;line-height:1;color:#1f2937}
.cx-domain-summary span{margin-top:7px;color:var(--muted,#6b7280);font-size:13px}
.cx-domain-summary--warning{border-inline-start:4px solid #d99410!important}
.cx-domain-summary--danger{border-inline-start:4px solid #d94a4a!important}
html[dir="rtl"] .cx-domain-summary--warning,html[dir="rtl"] .cx-domain-summary--danger{border-inline-start-width:4px!important}
@media(max-width:1050px){.cx-domain-summary{grid-template-columns:repeat(3,minmax(140px,1fr))}}
@media(max-width:650px){.cx-domain-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-domain-summary article{min-height:78px}}

/* Domains 1.0.4 — the table is the workspace, without an outer card. */
.cx-table-panel--flat{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.cx-table-panel--flat .cx-table-scroll{border:1px solid var(--line,#dbe0e8);overflow:auto}

/* Domains 1.0.5 — full-page table and dependent domain form */
.cx-domain-table{width:100%;margin:0;border-top:1px solid var(--line,#dbe0e8);border-left:1px solid var(--line,#dbe0e8);border-right:1px solid var(--line,#dbe0e8)}
.cx-domain-table th,.cx-domain-table td{white-space:normal}
.cx-domain-suffix{display:block;margin-top:7px;color:var(--muted,#8a94a3);direction:ltr;text-align:left}
.cx-domain-inherited-note{margin:0;padding:12px 14px;border-radius:8px;background:rgba(59,130,246,.08);color:var(--muted,#6b7280)}
html[dir="rtl"] .cx-domain-suffix{text-align:right}


/* Domains 1.0.6 — dynamic subdomain composer, full-page drawer context, Core metrics */
.cx-domain-name-composer{display:flex;align-items:stretch;direction:ltr;width:100%}
.cx-domain-name-composer input{flex:1;min-width:0;border-radius:9px 0 0 9px!important}
.cx-domain-name-composer .cx-domain-affix{display:flex;align-items:center;max-width:55%;padding:0 14px;background:#272b31;border:1px solid #aeb3c2;border-left:0;border-radius:0 9px 9px 0;color:#d7dbe2;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-domain-name-composer .cx-domain-affix[hidden]{display:none!important}
.cx-domain-name-composer .cx-domain-affix[hidden]+*{display:none}
.cx-domain-table{border-left:0!important;border-right:0!important}
.cx-domain-table,.cx-domain-table tbody,.cx-domain-table tr{overflow:visible!important}
.cx-core-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;margin:22px 0 26px}
.cx-core-summary article{min-height:112px;padding:20px;border:1px solid var(--line,#dbe1e8);border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.055);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center}
.cx-core-summary-icon{grid-row:1/3;width:44px;height:44px;border-radius:10px;background:#eef6ff;color:#1674c7;display:grid;place-items:center;font-size:21px}
.cx-core-summary strong{font-size:28px;line-height:1;color:#1f2937}
.cx-core-summary small{color:var(--muted,#6b7280);font-size:14px}
@media(max-width:900px){.cx-core-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cx-core-summary{grid-template-columns:1fr}}

/* Creatix module workspace navigation and module cards — 1.0.9 */
.cx-brand em{display:block;margin-top:9px;color:#67b6ef;font-style:normal;font-size:13px;letter-spacing:.04em}
.cx-nav-child{margin-inline-start:18px!important;position:relative;background:#292929!important}
.cx-nav-child:before{content:"";position:absolute;inset-inline-start:-9px;top:0;bottom:0;border-inline-start:1px solid #4c4c4c}
.cx-nav-child.active{background:#159ddb!important}
.cx-module-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:22px;align-items:start}
.cx-module-card{overflow:hidden;background:#fff;border:1px solid #d9dee6;border-radius:12px;box-shadow:0 8px 24px rgba(15,23,42,.07)}
.cx-module-card-image{display:block;width:100%;height:190px;object-fit:cover;background:#111827}
.cx-module-card-body{padding:20px}
.cx-module-card-body>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.cx-module-card h2{margin:4px 0 0;font-size:22px;font-weight:600}
.cx-module-kicker{font-size:11px;color:#5b9ee5;text-transform:none}
.cx-module-card-body>p{color:#697586;line-height:1.55;min-height:48px}
.cx-module-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.cx-module-card dl div{padding:12px;border-top:1px solid #e7ebf0}
.cx-module-card dt{font-size:11px;color:#7b8594}.cx-module-card dd{margin:4px 0 0;font-weight:600}
.cx-module-card footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:14px;border-top:1px solid #e7ebf0}
.cx-module-status-form{margin:0}.cx-button-warning{background:#e39a09!important;color:#fff!important;border-color:#e39a09!important}
.cx-module-settings{position:relative}.cx-module-settings summary{list-style:none}.cx-module-settings summary::-webkit-details-marker{display:none}
.cx-module-settings[open] form{position:absolute;z-index:30;inset-inline-start:0;top:calc(100% + 8px);width:300px;padding:16px;background:#fff;border:1px solid #d7dde5;border-radius:8px;box-shadow:0 18px 40px rgba(15,23,42,.18)}
.cx-module-settings form .cx-check-card{margin-bottom:12px}
@media(max-width:700px){.cx-module-card-grid{grid-template-columns:1fr}.cx-module-card-image{height:150px}}

/* Creatix navigation and compact module cards — 1.0.10 */
.cx-shell{grid-template-columns:260px minmax(0,1fr)!important}
.cx-sidebar{padding:18px 14px 18px!important}
.cx-brand{margin:0 4px 18px!important}
.cx-brand em{margin-top:6px!important;font-size:12px!important}
.cx-sidebar nav{display:grid!important;gap:7px!important}
.cx-nav-block,.cx-nav-group{margin:0!important;border-radius:8px!important;overflow:hidden!important;background:transparent!important}
.cx-nav-block,.cx-nav-group>a{min-height:48px!important;display:flex!important;align-items:center!important;padding:0 18px!important;background:#303030!important;color:#fff!important;text-decoration:none!important;font-size:15px!important}
.cx-nav-block:hover,.cx-nav-group>a:hover{background:#393939!important}
.cx-nav-block.active,.cx-nav-group.active>a.current{background:#159bd8!important;box-shadow:inset 4px 0 0 #55bce9!important}
.cx-nav-group>div{display:grid!important;background:transparent!important;padding:4px 0 0 18px!important;position:relative!important}
.cx-nav-group>div:before{content:"";position:absolute;inset-inline-start:9px;top:0;bottom:7px;border-inline-start:1px solid #3e3e3e}
.cx-nav-group>div a,.cx-nav-group>div span{min-height:38px!important;display:flex!important;align-items:center!important;padding:0 14px!important;border-radius:7px!important;background:#262626!important;color:#d9d9d9!important;text-decoration:none!important;font-size:13px!important}
.cx-nav-group>div a:hover{background:#333!important;color:#fff!important}
.cx-nav-group>div a.current{background:#4a90cf!important;color:#fff!important}
.cx-language-preview{margin:18px 8px 0!important;padding-top:16px!important;border-top:1px solid #202020!important}
.cx-content{padding:26px 28px!important}

.cx-module-card-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.cx-module-card{border-radius:10px!important;box-shadow:0 4px 14px rgba(15,23,42,.06)!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.cx-module-card-image{height:108px!important;object-fit:cover!important}
.cx-module-card-body{padding:14px!important;display:flex!important;flex-direction:column!important;flex:1!important}
.cx-module-card-body>header{gap:8px!important}
.cx-module-card h2{font-size:18px!important;margin:3px 0 0!important}
.cx-module-kicker{font-size:10px!important}
.cx-module-card-body>p{font-size:13px!important;line-height:1.4!important;min-height:54px!important;margin:10px 0!important}
.cx-module-card dl{grid-template-columns:1fr 1fr!important;gap:6px!important;margin:8px 0 12px!important}
.cx-module-card dl div{padding:7px 0!important}
.cx-module-card dd{font-size:12px!important}.cx-module-card dt{font-size:10px!important}
.cx-module-card footer{gap:7px!important;padding-top:10px!important;margin-top:auto!important}
.cx-module-card footer .button,.cx-module-card footer button{padding:8px 10px!important;font-size:12px!important;border-radius:7px!important}
.cx-module-settings[open] form{width:260px!important}
@media(max-width:1450px){.cx-module-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1120px){.cx-module-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:820px){.cx-shell{grid-template-columns:1fr!important}.cx-sidebar{position:static!important;height:auto!important;min-height:0!important}.cx-module-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){.cx-module-card-grid{grid-template-columns:1fr!important}}

/* Creatix navigation tree — 1.0.11. Supports three levels without card-like blocks. */
.cx-sidebar nav{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  padding:4px 0!important;
}
.cx-tree-link,
.cx-tree-parent{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:42px!important;
  padding:0 12px!important;
  border-radius:7px!important;
  color:#aab4c4!important;
  background:transparent!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.2!important;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease!important;
}
.cx-tree-link:hover,
.cx-tree-parent:hover{background:#20232d!important;color:#f8fafc!important}
.cx-tree-icon{
  flex:0 0 18px;
  width:18px;
  text-align:center;
  color:#8da0b9;
  font-size:15px;
}
.cx-tree-chevron{
  margin-inline-start:auto;
  color:#7c8798;
  font-size:14px;
  transform:rotate(0deg);
  transition:transform .16s ease;
}
.cx-tree-branch.open>.cx-tree-parent .cx-tree-chevron{transform:rotate(180deg)}
.cx-tree-link.active,
.cx-tree-parent.current{
  color:#fff!important;
  background:#242833!important;
  box-shadow:inset 3px 0 0 #5ea8e8!important;
}
html[dir="rtl"] .cx-tree-link.active,
html[dir="rtl"] .cx-tree-parent.current{box-shadow:inset -3px 0 0 #5ea8e8!important}
.cx-tree-children{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  gap:1px!important;
  margin:1px 0 4px 18px!important;
  padding:2px 0 2px 15px!important;
  background:transparent!important;
}
.cx-tree-children:before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:2px;
  bottom:3px;
  width:1px;
  background:#333946;
}
.cx-tree-children>.cx-tree-link{
  min-height:34px!important;
  padding:0 10px!important;
  border-radius:6px!important;
  font-size:13px!important;
  font-weight:400!important;
  color:#8f9aae!important;
}
.cx-tree-children>.cx-tree-link:before{
  content:"";
  position:absolute;
  inset-inline-start:-15px;
  top:50%;
  width:10px;
  height:1px;
  background:#333946;
}
.cx-tree-children>.cx-tree-link:hover{color:#e8edf5!important;background:#1d2028!important}
.cx-tree-children>.cx-tree-link.current{
  color:#fff!important;
  background:#252a34!important;
  box-shadow:none!important;
}
/* Third level: nest another .cx-tree-children inside a level-2 branch. */
.cx-tree-level-2 .cx-tree-children,
.cx-tree-children .cx-tree-children{
  margin-inline-start:14px!important;
  padding-inline-start:14px!important;
}
.cx-tree-level-3>.cx-tree-link,
.cx-tree-children .cx-tree-children>.cx-tree-link{
  min-height:31px!important;
  font-size:12px!important;
  color:#7f8b9e!important;
}
.cx-tree-branch{margin:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important}
/* Neutralise older card-style navigation rules. */
.cx-nav-block,.cx-nav-group,.cx-nav-group>a,.cx-nav-group>div,.cx-nav-group>div a{background:transparent!important;box-shadow:none!important}
@media(max-width:820px){
  .cx-sidebar nav{gap:1px!important}
  .cx-tree-link,.cx-tree-parent{min-height:40px!important}
}

/* Creatix navigation tree 1.0.13 — collapsed by default, active branch opens automatically. */
.cx-brand em{display:none!important}
.cx-tree-children{display:none!important}
.cx-tree-branch.open>.cx-tree-children{display:grid!important}
.cx-tree-parent{cursor:pointer!important}
.cx-tree-parent .cx-tree-chevron{margin-inline-start:auto!important;transition:transform .18s ease,opacity .18s ease!important;opacity:.78!important}
.cx-tree-branch.open>.cx-tree-parent .cx-tree-chevron{transform:rotate(180deg)!important}
.cx-tree-parent:focus-visible,.cx-tree-link:focus-visible{outline:2px solid #5ea8e8!important;outline-offset:2px!important}

/* Creatix Navigation 1.0.14 — compact, natural-case workspace tree */
.cx-brand span,
.cx-brand small,
.cx-sidebar nav,
.cx-sidebar nav a,
.cx-tree-link,
.cx-tree-parent,
.cx-tree-children a{
  text-transform:none!important;
  letter-spacing:normal!important;
}
.cx-brand span{font-size:18px!important;font-weight:700!important;line-height:1.15!important}
.cx-brand small{font-size:10px!important;font-weight:400!important;letter-spacing:.04em!important;margin-top:5px!important}
.cx-sidebar nav{gap:2px!important;margin-top:18px!important}
.cx-tree-link,
.cx-tree-parent{
  min-height:38px!important;
  padding:0 12px!important;
  border-radius:6px!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.25!important;
  background:transparent!important;
  box-shadow:none!important;
}
.cx-tree-icon{width:18px!important;font-size:14px!important;opacity:.78!important}
.cx-tree-chevron{font-size:11px!important;opacity:.68!important;margin-inline-start:auto!important}
.cx-tree-children{padding:2px 0 3px 22px!important;background:transparent!important}
[dir="rtl"] .cx-tree-children{padding:2px 22px 3px 0!important}
.cx-tree-children .cx-tree-link{
  min-height:32px!important;
  padding:0 10px!important;
  font-size:13px!important;
  font-weight:400!important;
  border-radius:5px!important;
}
.cx-tree-branch:not(.open)>.cx-tree-children{display:none!important}
.cx-tree-link:hover,.cx-tree-parent:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}
.cx-tree-link.active,.cx-tree-link.current,.cx-tree-parent.current{
  color:#45b8f0!important;
  background:rgba(18,150,220,.08)!important;
  box-shadow:inset 2px 0 0 #1296dc!important;
  font-weight:600!important;
}
[dir="rtl"] .cx-tree-link.active,[dir="rtl"] .cx-tree-link.current,[dir="rtl"] .cx-tree-parent.current{box-shadow:inset -2px 0 0 #1296dc!important}
.cx-nav-separator{height:1px;background:rgba(255,255,255,.11);margin:12px 10px!important}

/* Creatix Navigation 1.0.15 — permanent Core links, neutral active state. */
.cx-dashboard-branch>.cx-tree-children,
.cx-current-workspace>.cx-tree-children{
  display:grid!important;
}
.cx-dashboard-parent,
.cx-current-workspace>.cx-tree-parent{
  font-size:14px!important;
  font-weight:700!important;
  color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
}
.cx-dashboard-parent:hover,
.cx-current-workspace>.cx-tree-parent:hover{
  color:#fff!important;
  background:rgba(255,255,255,.045)!important;
}
.cx-tree-link,
.cx-tree-parent{
  font-size:14px!important;
  text-transform:none!important;
}
.cx-tree-link.active,
.cx-tree-link.current,
.cx-tree-parent.current{
  color:#fff!important;
  background:rgba(255,255,255,.045)!important;
  box-shadow:none!important;
  font-weight:700!important;
}
[dir="rtl"] .cx-tree-link.active,
[dir="rtl"] .cx-tree-link.current,
[dir="rtl"] .cx-tree-parent.current{
  box-shadow:none!important;
}
.cx-tree-children .cx-tree-link{
  color:#aeb7c5!important;
}
.cx-tree-children .cx-tree-link.current{
  color:#fff!important;
}
.cx-dashboard-branch{margin-bottom:5px!important}
.cx-dashboard-branch>.cx-tree-parent .cx-tree-chevron,
.cx-current-workspace>.cx-tree-parent .cx-tree-chevron{display:none!important}

/* CX.Identity — shared drawer image action */
.cx-drawer-identity-wrap{
  position:absolute!important;
  left:-34px!important;
  top:10px!important;
  width:72px!important;
  height:72px!important;
  z-index:8!important;
  overflow:visible!important;
}
.cx-drawer-identity-wrap>.cx-drawer-identity{
  position:relative!important;
  inset:auto!important;
  width:72px!important;
  height:72px!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.cx-drawer-identity-wrap>.cx-drawer-identity img{
  display:block!important;
  width:72px!important;
  height:72px!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.cx-identity-remove{
  position:absolute!important;
  top:-8px!important;
  left:78px!important;
  z-index:10!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:5px!important;
  background:#d92d20!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(0,0,0,.32)!important;
}
.cx-identity-remove:hover,.cx-identity-remove:focus-visible{background:#b42318!important;outline:2px solid rgba(255,255,255,.75)!important;outline-offset:2px!important}
.cx-identity-remove[hidden]{display:none!important}
html[dir="rtl"] .cx-drawer-identity-wrap{left:auto!important;right:-34px!important}
html[dir="rtl"] .cx-identity-remove{left:auto!important;right:78px!important}
@media(max-width:650px){
  .cx-drawer-identity-wrap{left:12px!important;right:auto!important}
  html[dir="rtl"] .cx-drawer-identity-wrap{right:12px!important;left:auto!important}
  .cx-identity-remove{left:78px!important;right:auto!important}
  html[dir="rtl"] .cx-identity-remove{right:78px!important;left:auto!important}
}

/* Creatix UI 1.0.18 — shared drawer image removal action.
   The image stays clean; the small danger action sits beside the drawer close control. */
.cx-drawer-head > .cx-identity-remove,
.cx-drawer-head > .cx-drawer-image-action{
  position:absolute!important;
  top:9px!important;
  right:43px!important;
  left:auto!important;
  z-index:20!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:5px!important;
  background:#d92d20!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(0,0,0,.28)!important;
}
.cx-drawer-head > .cx-identity-remove:hover,
.cx-drawer-head > .cx-identity-remove:focus-visible,
.cx-drawer-head > .cx-drawer-image-action:hover,
.cx-drawer-head > .cx-drawer-image-action:focus-visible{
  background:#b42318!important;
  outline:2px solid rgba(255,255,255,.72)!important;
  outline-offset:2px!important;
}
.cx-drawer-head > .cx-identity-remove[hidden],
.cx-drawer-head > .cx-drawer-image-action[hidden]{display:none!important}
html[dir="rtl"] .cx-drawer-head > .cx-identity-remove,
html[dir="rtl"] .cx-drawer-head > .cx-drawer-image-action{
  left:43px!important;
  right:auto!important;
}
@media(max-width:650px){
  .cx-drawer-head > .cx-identity-remove,
  .cx-drawer-head > .cx-drawer-image-action{top:8px!important;right:42px!important;left:auto!important}
  html[dir="rtl"] .cx-drawer-head > .cx-identity-remove,
  html[dir="rtl"] .cx-drawer-head > .cx-drawer-image-action{left:42px!important;right:auto!important}
}

/* Creatix UI 1.0.19 — CX.Identity media dialog and compact user form. */
/* Contextual field-information panels are retained in the framework but disabled for now. */
.cx-field-help,
.cx-field-help.is-visible{display:none!important}

/* Standalone image-delete controls are retired. Click the identity image to manage media. */
.cx-identity-remove,
.cx-drawer-image-action,
.cx-drawer-head>.cx-identity-remove,
.cx-drawer-head>.cx-drawer-image-action{display:none!important}
.cx-drawer-identity:not(.readonly){cursor:pointer!important;transition:opacity .14s ease,transform .14s ease}
.cx-drawer-identity:not(.readonly):hover{opacity:.9;transform:scale(.985)}
.cx-drawer-identity:not(.readonly):focus-visible{outline:2px solid rgba(94,168,232,.9)!important;outline-offset:4px!important;border-radius:50%!important}

.cx-identity-dialog{
  width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#fff;
}
.cx-identity-dialog::backdrop{background:rgba(15,20,30,.48);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.cx-identity-dialog-card{
  width:min(520px,calc(100vw - 32px));margin:clamp(28px,9vh,96px) auto 0;background:#15181e;border:1px solid #343b47;
  border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.46);overflow:hidden;animation:cxIdentityDialogIn .16s ease both;
}
.cx-identity-dialog-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid #303641}
.cx-identity-dialog-card h2{margin:0 0 5px;font-size:19px;font-weight:650;color:#fff;text-transform:none}
.cx-identity-dialog-card header p{margin:0;color:#aeb7c5;font-size:13px;line-height:1.5}
.cx-identity-dialog-x{width:30px;height:30px;min-width:30px;padding:0;border:0;border-radius:6px;background:#2b3039;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.cx-identity-dialog-x:hover{background:#39404c}
.cx-identity-dialog-body{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:stretch;padding:20px 22px}
.cx-identity-dialog-preview{display:grid;place-items:center;min-height:112px;background:#0f1116;border:1px solid #303641;border-radius:9px;overflow:hidden}
.cx-identity-dialog-preview img{display:block;width:100%;height:112px;object-fit:contain;background:transparent;border:0;box-shadow:none}
.cx-identity-dropzone{min-height:112px;padding:18px;border:1px dashed #687386;border-radius:9px;background:#20252d;color:#fff;display:grid;place-items:center;align-content:center;gap:3px;text-align:center;cursor:pointer;transition:border-color .14s ease,background .14s ease}
.cx-identity-dropzone:hover,.cx-identity-dropzone.is-dragging{background:#273241;border-color:#5ea8e8}
.cx-identity-upload-icon{font-size:25px;line-height:1;color:#5ea8e8}
.cx-identity-dropzone strong{font-size:14px;font-weight:650}
.cx-identity-dropzone small{color:#aeb7c5;font-size:12px}
.cx-identity-dialog-error,.cx-identity-dialog-status{grid-column:1/-1;margin:0;padding:9px 11px;border-radius:6px;font-size:12px;line-height:1.45}
.cx-identity-dialog-error{background:rgba(217,45,32,.14);color:#ffb4aa;border:1px solid rgba(217,45,32,.38)}
.cx-identity-dialog-status{background:rgba(18,150,220,.13);color:#b9e6ff;border:1px solid rgba(18,150,220,.34)}
.cx-identity-dialog-card>footer{display:flex;align-items:center;gap:9px;padding:14px 22px 18px;border-top:1px solid #303641;background:#111318}
.cx-identity-dialog-spacer{flex:1}
.cx-identity-dialog-card footer button{min-height:38px;padding:0 15px;border:0;border-radius:5px;font-size:13px;font-weight:600;cursor:pointer;text-transform:none}
.cx-identity-dialog-secondary{background:#373d47;color:#fff}
.cx-identity-dialog-secondary:hover{background:#454c58}
.cx-identity-dialog-primary{background:#168ed1;color:#fff}
.cx-identity-dialog-primary:hover{background:#1d9be2}
.cx-identity-remove-current{background:#8f251f;color:#fff}
.cx-identity-remove-current:hover{background:#b12d25}
html[dir="rtl"] .cx-identity-dialog-card{text-align:right}
html[dir="rtl"] .cx-identity-dialog-card>footer{direction:rtl}
@keyframes cxIdentityDialogIn{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:620px){
  .cx-identity-dialog-card{margin:14px auto 0;width:calc(100vw - 20px)}
  .cx-identity-dialog-body{grid-template-columns:1fr}
  .cx-identity-dialog-preview img{height:96px}
  .cx-identity-dialog-card>footer{flex-wrap:wrap}
  .cx-identity-dialog-spacer{display:none}
  .cx-identity-remove-current{width:100%;order:3}
}
@media(prefers-reduced-motion:reduce){.cx-identity-dialog-card{animation:none}.cx-drawer-identity{transition:none!important}}


/* Creatix UI 1.0.20 — consistent Domains and Modules table workspaces. */
.cx-module-record-cell{display:flex;align-items:center;gap:11px;min-width:0}
.cx-module-record-cell>span{display:grid;gap:2px;min-width:0}
.cx-module-record-cell strong{font-size:13px;font-weight:650;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-module-record-cell small{display:block;max-width:520px;color:#6f7885;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-module-list-image{display:block;width:38px;height:38px;min-width:38px;object-fit:cover;border:0;border-radius:6px;background:transparent;box-shadow:none}
.cx-modules-table td,.cx-modules-table th{vertical-align:middle}
.cx-module-open-button{background:#373d47!important;color:#fff!important}
.cx-module-open-button:hover{background:#454c58!important}
.cx-domain-table td small{display:block;margin-top:2px;color:#7a8491;font-size:11px;font-weight:400}
.cx-domain-table .cx-relationship-column,.cx-modules-table .check-cell{width:1%;white-space:nowrap}
@media(max-width:900px){
  .cx-modules-table th:nth-child(4),.cx-modules-table td:nth-child(4),
  .cx-modules-table th:nth-child(5),.cx-modules-table td:nth-child(5){display:none}
  .cx-module-record-cell small{max-width:280px}
}
@media(max-width:620px){
  .cx-modules-table th:nth-child(3),.cx-modules-table td:nth-child(3){display:none}
  .cx-module-record-cell small{display:none}
  .cx-module-list-image{width:32px;height:32px;min-width:32px}
}

/* Creatix UI 1.0.22 — module entitlement and settings wizard. */
.cx-module-settings-drawer{width:min(780px,calc(100vw - 250px))!important}
.cx-module-settings-drawer .cx-drawer-body{padding-inline:28px!important}
.cx-module-settings-drawer .cx-drawer-body section{padding-bottom:18px!important}
.cx-table-subtext{display:block;margin-top:2px;color:#7b8491;font-size:11px;font-weight:400}
.cx-switch-field{display:flex!important;align-items:center;justify-content:space-between;gap:18px;min-height:47px;padding:0 14px;border:1px solid #515965;border-radius:7px;background:#1c2026;color:#fff!important;font-size:13px!important}
.cx-switch-field input{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important;accent-color:#159ad6}
.cx-module-company-access-list{display:grid;gap:0;margin-top:16px;border:1px solid #343b47;border-radius:8px;overflow:hidden;background:#15181e}
.cx-module-company-access-head,.cx-module-company-access-row{display:grid;grid-template-columns:minmax(180px,1fr) 118px minmax(180px,.7fr);align-items:center;gap:12px;padding:10px 12px}
.cx-module-company-access-head{background:#20252d;color:#aeb7c5;font-size:11px;font-weight:650}
.cx-module-company-access-row{border-top:1px solid #303641;color:#fff}
.cx-module-company-access-row:first-of-type{border-top:0}
.cx-module-company-access-row strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-module-company-access-row .cx-select-wrap,.cx-module-company-access-row select{width:100%}
.cx-inline-check{display:flex!important;align-items:center;gap:8px;color:#d6dce5!important;font-size:12px!important}
.cx-inline-check input{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;accent-color:#159ad6}
.cx-module-company-access-summary{display:grid;gap:14px;align-content:start;padding:18px;border:1px solid #343b47;border-radius:8px;background:#171a20}
.cx-module-company-access-summary h3{margin:0;color:#fff;font-size:18px;font-weight:650}
.cx-module-company-access-summary p{margin:0;color:#aeb7c5;font-size:13px;line-height:1.5}
.cx-module-company-access-summary .cx-status{width:max-content}
.cx-module-activate-button,.cx-module-company-access-summary .cx-button-warning{width:max-content;min-width:180px}
.cx-module-page-matrix{border:1px solid #343b47;border-radius:8px;overflow:hidden;background:#15181e}
.cx-module-page-matrix-head,.cx-module-page-matrix-row{display:grid;grid-template-columns:minmax(180px,1fr) 150px 150px;gap:12px;align-items:center;padding:11px 13px}
.cx-module-page-matrix-head{background:#20252d;color:#aeb7c5;font-size:11px;font-weight:650}
.cx-module-page-matrix-row{border-top:1px solid #303641;color:#fff}
.cx-module-page-matrix-row strong{font-size:13px;font-weight:600}
.cx-module-role-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}
.cx-module-role-summary{padding:15px;border:1px solid #343b47;border-radius:8px;background:#171a20}
.cx-module-role-summary h3{margin:0 0 10px;color:#fff;font-size:15px}
.cx-module-role-summary ul{display:grid;gap:6px;margin:0;padding:0;list-style:none;color:#bac2ce;font-size:12px}
.cx-module-role-summary li::before{content:'✓';margin-inline-end:7px;color:#45c56c;font-weight:700}
html[dir="rtl"] .cx-module-role-summary li::before{margin-inline-end:0;margin-inline-start:7px}
@media(max-width:980px){
  .cx-module-settings-drawer{width:min(680px,100vw)!important}
  .cx-module-company-access-head,.cx-module-company-access-row{grid-template-columns:minmax(150px,1fr) 100px minmax(160px,.8fr)}
}
@media(max-width:700px){
  .cx-module-settings-drawer{width:100vw!important}
  .cx-module-company-access-head{display:none}
  .cx-module-company-access-row{grid-template-columns:1fr;gap:9px}
  .cx-module-page-matrix-head{display:none}
  .cx-module-page-matrix-row{grid-template-columns:1fr;gap:8px}
  .cx-module-role-summary-grid{grid-template-columns:1fr}
}

/* Creatix UI 1.0.24 — allow long Module Settings wizard pages to scroll. */
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer .cx-drawer-body{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  min-height:0!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:#596474 #11151b;
}
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer .cx-drawer-fieldset{
  height:auto!important;
  min-height:0!important;
}
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer [data-cx-step]{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer .cx-drawer-body::-webkit-scrollbar{
  width:9px;
}
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer .cx-drawer-body::-webkit-scrollbar-track{
  background:#11151b;
}
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer .cx-drawer-body::-webkit-scrollbar-thumb{
  background:#596474;
  border:2px solid #11151b;
  border-radius:999px;
}
.cx-drawer[data-cx-form-wizard].cx-module-settings-drawer .cx-drawer-body::-webkit-scrollbar-thumb:hover{
  background:#707c8e;
}

/* Creatix UI 1.0.25 — module company user access */
.cx-module-step-intro{
  margin:0 0 14px;
  color:#aeb7c5;
  font-size:13px;
  line-height:1.5;
}
.cx-module-user-access-list{
  display:grid;
  border:1px solid #343b47;
  border-radius:8px;
  overflow:hidden;
  background:#15181e;
}
.cx-module-user-access-head,
.cx-module-user-access-row{
  display:grid;
  grid-template-columns:minmax(260px,1.4fr) minmax(115px,.55fr) minmax(190px,.8fr);
  align-items:center;
  gap:14px;
  padding:10px 13px;
}
.cx-module-user-access-head{
  background:#20252d;
  color:#aeb7c5;
  font-size:11px;
  font-weight:650;
}
.cx-module-user-access-row{
  min-height:58px;
  border-top:1px solid #303641;
  color:#fff;
}
.cx-module-user-access-row:first-of-type{border-top:0}
.cx-module-user-identity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.cx-module-user-identity>img{
  display:block;
  width:36px;
  height:36px;
  min-width:36px;
  border:0;
  border-radius:50%;
  background:transparent;
  object-fit:cover;
  box-shadow:none;
}
.cx-module-user-identity>span{
  display:grid;
  gap:2px;
  min-width:0;
}
.cx-module-user-identity strong{
  color:#fff;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cx-module-user-identity small{
  color:#8f99a8;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cx-module-user-identity em{
  width:max-content;
  color:#e2a33b;
  font-size:10px;
  font-style:normal;
}
.cx-module-core-role{
  color:#c4ccd7;
  font-size:12px;
}
.cx-module-inherited-role{
  display:flex;
  align-items:center;
  gap:7px;
  color:#fff;
  font-size:12px;
  font-weight:600;
}
.cx-module-inherited-role small{
  padding:2px 6px;
  border-radius:10px;
  background:rgba(21,154,214,.16);
  color:#75c9ef;
  font-size:9px;
  font-weight:600;
}
.cx-module-user-access-row .cx-select-wrap,
.cx-module-user-access-row select{width:100%}
@media(max-width:780px){
  .cx-module-user-access-head{display:none}
  .cx-module-user-access-row{grid-template-columns:1fr;gap:9px;padding:12px}
  .cx-module-core-role::before{content:attr(data-label);margin-inline-end:6px;color:#8993a2}
}


/* 1.0.26: visible module configuration and Master impersonation actions. */
.cx-module-configure-button,
.cx-impersonate-button{
  min-height:34px;
  padding:7px 12px;
  border:0;
  border-radius:5px;
  background:#343a43;
  color:#fff;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
.cx-module-configure-button:hover,
.cx-impersonate-button:hover{background:#454d58;color:#fff;}

/* Creatix Core 1.0.28 — direct Modules link, cleaner module wizard and flat access list. */
.cx-tree-parent-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 30px!important;
  align-items:center!important;
  min-width:0!important;
}
.cx-tree-parent-row>.cx-tree-parent{width:100%!important;min-width:0!important}
.cx-tree-toggle{
  width:28px!important;height:30px!important;min-width:28px!important;padding:0!important;
  margin:0 2px 0 0!important;border:0!important;border-radius:5px!important;
  background:transparent!important;color:#8f9aae!important;box-shadow:none!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;
}
.cx-tree-toggle:hover,.cx-tree-toggle:focus-visible{color:#fff!important;background:rgba(255,255,255,.055)!important}
.cx-tree-toggle:focus-visible{outline:2px solid #5ea8e8!important;outline-offset:1px!important}
.cx-tree-toggle .cx-tree-chevron{margin:0!important;font-size:11px!important;opacity:.78!important;transition:transform .18s ease!important}
.cx-tree-branch.open>.cx-tree-parent-row .cx-tree-chevron{transform:rotate(180deg)!important}
html[dir="rtl"] .cx-tree-toggle{margin:0 0 0 2px!important}

/* Contextual focus help is intentionally hidden until the optional help system is redesigned. */
.cx-field-help{display:none!important}

/* One scroll surface: the Module Settings drawer body. */
.cx-module-user-access-list{
  border:0!important;border-radius:0!important;background:transparent!important;
  overflow:visible!important;box-shadow:none!important;margin:0!important;
}
.cx-module-user-access-head{
  position:relative!important;z-index:1!important;margin:0 0 2px!important;
  border:0!important;border-bottom:1px solid #343b47!important;border-radius:0!important;
  background:transparent!important;padding:8px 0!important;
}
.cx-module-user-access-row{
  position:relative!important;overflow:visible!important;min-height:64px!important;
  padding:12px 0!important;border:0!important;border-bottom:1px solid #303641!important;
  background:transparent!important;
}
.cx-module-user-access-row:last-child{border-bottom:0!important}
.cx-module-user-access-row:focus-within{z-index:8!important}
.cx-module-user-access-row .cx-select-wrap,.cx-module-user-access-row .cx-select-menu{overflow:visible!important}
.cx-module-settings-drawer .cx-drawer-body{padding-bottom:110px!important}
.cx-module-settings-drawer [data-cx-step]{overflow:visible!important}

/* Payment fields collapse cleanly when the selected type does not use them. */
.cx-module-settings-drawer [data-pricing-field][hidden]{display:none!important}
.cx-module-settings-drawer textarea[readonly]{min-height:72px!important}
@media(max-width:780px){
  .cx-module-user-access-head{display:none!important}
  .cx-module-user-access-row{padding:13px 0!important}
}

/* Creatix Core 1.0.31 — compact module settings, usable select menus and quiet disabled fields. */
.cx-select-menu{
  max-height:min(280px,calc(100vh - 24px))!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
}
.cx-select-menu.open-up{top:auto!important;bottom:calc(100% + 4px)!important}
.cx-select-options{
  min-height:0!important;
  max-height:235px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin;
  scrollbar-color:#677386 #20252d;
}
.cx-select-options::-webkit-scrollbar{width:8px}
.cx-select-options::-webkit-scrollbar-track{background:#20252d}
.cx-select-options::-webkit-scrollbar-thumb{background:#677386;border-radius:999px}
.cx-module-user-access-row .cx-select-menu,
.cx-module-settings-drawer .cx-select-menu{overflow:hidden!important;z-index:420!important}
.cx-module-user-access-row:focus-within{z-index:30!important}

.cx-module-settings-drawer .cx-form-grid input,
.cx-module-settings-drawer .cx-form-grid textarea,
.cx-module-settings-drawer .cx-select-button{
  font-size:14px!important;
  border-radius:7px!important;
}
.cx-module-settings-drawer .cx-form-grid input,
.cx-module-settings-drawer .cx-select-button{height:42px!important;min-height:42px!important}
.cx-module-settings-drawer .cx-form-grid textarea{min-height:76px!important}

.cx-module-settings-drawer input[readonly],
.cx-module-settings-drawer textarea[readonly],
.cx-module-settings-drawer input:disabled,
.cx-module-settings-drawer textarea:disabled{
  background:#000!important;
  border-color:#000!important;
  box-shadow:none!important;
  color:#aeb7c5!important;
  opacity:1!important;
}
.cx-module-settings-drawer .cx-select-button:disabled{
  background:#000!important;
  border-color:#000!important;
  box-shadow:none!important;
  color:#aeb7c5!important;
  cursor:default!important;
  opacity:1!important;
}
.cx-module-settings-drawer .cx-select-button:disabled::after{opacity:.38}
.cx-module-page-access-select{display:block!important;min-width:0;color:inherit!important;font-size:12px!important}
.cx-module-page-access-select .cx-select-wrap{width:100%}
.cx-module-page-matrix-row .cx-select-button{height:38px!important;min-height:38px!important;font-size:12px!important}

@media(max-width:700px){
  .cx-module-settings-drawer .cx-form-grid-two{grid-template-columns:1fr!important}
}


/* Creatix UI 1.0.36 — stackable colour-coded toast notifications. */
.cx-toast-stack{
  position:fixed;
  top:18px;
  right:18px;
  z-index:6500;
  width:min(380px,calc(100vw - 36px));
  display:flex;
  flex-direction:column;
  gap:9px;
  pointer-events:none;
}
.cx-toast{
  --cx-toast-bg:rgba(229,238,248,.98);
  --cx-toast-border:rgba(49,132,202,.28);
  --cx-toast-text:#264967;
  --cx-toast-icon-bg:#dcecf9;
  --cx-toast-icon-text:#2f76ad;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 26px;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:10px 10px 10px 12px;
  border:1px solid var(--cx-toast-border);
  border-radius:7px;
  background:var(--cx-toast-bg);
  color:var(--cx-toast-text);
  box-shadow:0 14px 34px rgba(15,23,42,.18);
  opacity:0;
  transform:translateY(-9px) scale(.985);
  transition:opacity .18s ease,transform .18s ease;
  pointer-events:auto;
  overflow:hidden;
}
.cx-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.cx-toast.is-leaving{opacity:0;transform:translateY(-7px) scale(.985)}
.cx-toast--success{
  --cx-toast-bg:rgba(223,248,232,.98);
  --cx-toast-border:rgba(58,167,109,.30);
  --cx-toast-text:#216c3d;
  --cx-toast-icon-bg:#c9f2d8;
  --cx-toast-icon-text:#279951;
}
.cx-toast--error{
  --cx-toast-bg:rgba(253,232,234,.98);
  --cx-toast-border:rgba(214,83,95,.30);
  --cx-toast-text:#8f2633;
  --cx-toast-icon-bg:#f9d3d8;
  --cx-toast-icon-text:#b93242;
}
.cx-toast--warning{
  --cx-toast-bg:rgba(255,246,218,.98);
  --cx-toast-border:rgba(228,170,49,.34);
  --cx-toast-text:#7a5815;
  --cx-toast-icon-bg:#f9e8b9;
  --cx-toast-icon-text:#a87916;
}
.cx-toast--info{
  --cx-toast-bg:rgba(229,238,248,.98);
  --cx-toast-border:rgba(49,132,202,.28);
  --cx-toast-text:#264967;
  --cx-toast-icon-bg:#dcecf9;
  --cx-toast-icon-text:#2f76ad;
}
.cx-toast-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--cx-toast-icon-bg);
  color:var(--cx-toast-icon-text);
  font-size:14px;
  font-weight:800;
  line-height:1;
}
.cx-toast p{
  margin:0;
  color:inherit;
  font-size:12px;
  font-weight:600;
  line-height:1.38;
  overflow-wrap:anywhere;
}
.cx-toast-close{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:5px!important;
  background:transparent!important;
  color:currentColor!important;
  font-size:18px!important;
  line-height:1!important;
  opacity:.66;
  cursor:pointer;
}
.cx-toast-close:hover,.cx-toast-close:focus-visible{
  background:rgba(255,255,255,.52)!important;
  opacity:1;
  outline:none;
}
html[dir="rtl"] .cx-toast{grid-template-columns:26px minmax(0,1fr) 30px}
html[dir="rtl"] .cx-toast-close{grid-column:1;grid-row:1}
html[dir="rtl"] .cx-toast p{grid-column:2;grid-row:1;text-align:right}
html[dir="rtl"] .cx-toast-icon{grid-column:3;grid-row:1}
@media(max-width:560px){
  .cx-toast-stack{top:10px;right:10px;width:calc(100vw - 20px)}
}
@media(prefers-reduced-motion:reduce){
  .cx-toast{transition:none!important;transform:none!important}
}
