
/* Atlas identity on both the original CRM layout and its public pages. */
html[data-zirix-service=crm] body #zirix-global .zg-brand {
  display:inline-flex;align-items:center;width:auto!important;min-width:0!important;gap:7px!important;
}
html[data-zirix-service=crm] body #zirix-global .zg-brand img:first-child:not(.zg-wordmark) {
  width:36px!important;height:36px!important;max-width:none!important;filter:none!important;border:0!important;outline:0!important;border-radius:0!important;
}
html[data-zirix-service=crm] body #zirix-global .zg-brand img.zg-wordmark {
  width:119px!important;min-width:119px!important;max-width:none!important;height:29px!important;max-height:29px!important;
  filter:none!important;outline:0!important;border:0!important;border-radius:0!important;object-fit:contain;
}
#app .workspace .atlas-rail-toggle {
  display:grid;place-items:center;position:relative;width:42px;height:40px;padding:1px 3px 3px;
  border:1px solid #3678a5;border-radius:7px;background:#0b407b;box-shadow:none;color:white;
}
#app .atlas-rail-toggle:hover,#app .atlas-rail-toggle:focus-visible {background:#16558b;outline:2px solid #79d3ff;outline-offset:2px}
#app .atlas-rail-toggle img {width:32px;height:32px;display:block}
#app .atlas-rail-toggle::after {content:'‹';position:absolute;right:-10px;top:13px;font:700 12px/1 Arial;color:#b2daff}
html[data-atlas-rail=compact] #app .atlas-rail-toggle::after {content:'›'}
html[data-zirix-service=crm] :is(#editor,.zx-plan-dialog){border-color:#c9ddee;color:#16325c}
html[data-zirix-service=crm] :is(#editor,.zx-plan-dialog) button.primary {background:#0872c7;color:white}
html[data-zirix-service=crm] body[data-atlas-surface=account] {background:#f1f7fc!important;color:#113456!important;min-height:100vh}
body[data-atlas-surface=account] #zx-page .zx-auth-card {border:1px solid #d2e2ee;border-radius:14px;box-shadow:0 12px 35px #1747750a}
body[data-atlas-surface=account] #zx-page button.primary {background:#056abb;color:#fff}
@media(min-width:761px) {
  html[data-atlas-rail=compact] #app .layout{grid-template-columns:64px minmax(0,1fr)}
  html[data-atlas-rail=compact] #app .sidebar{padding-inline:4px}
  html[data-atlas-rail=compact] #app .nav button{min-height:44px;gap:0}
  html[data-atlas-rail=compact] #app .nav button>span:not(.icon),html[data-atlas-rail=compact] #app .nav-label,
  html[data-atlas-rail=compact] #app .sidebar-bottom small{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
}
@media(max-width:760px) {
  html[data-zirix-service=crm] body #zirix-global .zg-brand img.zg-wordmark{width:99px!important;min-width:99px!important;height:25px!important}
  html[data-zirix-service=crm] body #zirix-global .zg-brand img:first-child:not(.zg-wordmark){width:29px!important;height:29px!important}
  #app .atlas-rail-toggle::after{display:none}
}

body[data-atlas-surface=account] {margin:0;font:16px/1.45 "Segoe UI",Arial,sans-serif}
body[data-atlas-surface=account] #zx-page :is(section,article,form,input,select,textarea,button) {box-sizing:border-box}
body[data-atlas-surface=account] .zx-auth-card a {color:#075e9f}
