/* AltCRM visual system: calm graphite surfaces, ALEX DIGITAL teal navigation, semantic data accents. */
:root{--primary:#26bfa0;--primary-dark:#159b80;--primary-light:#8fe6ce;--secondary:#67c9b1;--success:#4dd8aa;--warning:#edb46a;--danger:#f37c88;--info:#84b4ff;--dark:#0d0e16;--dark-light:#15161f;--dark-lighter:#242532;--gray:#777a90;--gray-light:#a0a3b8;--gray-lighter:#d5d6e3;--white:#f2f1f9;--bg:#0d0e16;--bg-card:#171821;--border:#ffffff0f;--shadow:0 4px 22px #0000000d}
body.crm-theme{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);font-size:14px;color:var(--white);-webkit-font-smoothing:antialiased}
.crm-theme .sidebar{width:224px;background:#11121b;display:flex;flex-direction:column;border-color:#262634}
.crm-theme .sidebar-header{padding:24px 20px;gap:11px;border:0}
.crm-theme .sidebar-logo{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#47cfb0,#107760);font-size:29px;font-weight:750;letter-spacing:-5px;box-shadow:0 4px 20px #1ba78327;padding-right:5px}
.crm-theme .sidebar-logo>span{font-size:19px;align-self:flex-start;line-height:1.7;letter-spacing:-3px}
.crm-theme .sidebar-title{font-size:19px;letter-spacing:-.5px;-webkit-text-fill-color:var(--white);background:none}
.brand-caption{font-size:8px;font-weight:600;letter-spacing:1.1px;color:#818399;margin-top:1px;white-space:nowrap}
.crm-theme .sidebar-nav{padding:8px 10px;flex:1}.crm-theme .nav-section{margin-bottom:20px}.crm-theme .nav-section-title{padding:12px 11px;color:#74778c;font-size:9px;letter-spacing:1.3px}
.crm-theme .nav-item{border:1px solid transparent;border-radius:9px;padding:11px 12px;margin:3px 0;gap:11px;color:#a1a3b6;font-size:13px}
.crm-theme .nav-item:hover{background:#ffffff05;color:#ebe7fd}.crm-theme .nav-item.active{background:#20b69717;border:1px solid #45ceb033;color:#91e1cb}
.crm-theme .nav-item-icon{width:18px;height:20px;display:flex;align-items:center}.nav-item-icon svg{width:18px;height:18px}
.sidebar-account{display:flex;align-items:center;gap:9px;padding:17px 14px;border-top:1px solid #262634;color:#d8d6e9;text-decoration:none;min-width:0}
.sidebar-account>span:nth-child(2){min-width:0;flex:1}.sidebar-account strong{font-size:11px;display:block}.sidebar-account small{display:block;font-size:10px;color:#85899e;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:142px}
.sidebar-account-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#24957936;color:#9ee4d0;font-size:12px;font-weight:700;flex-shrink:0}
.crm-theme .main-wrapper{margin-left:224px;width:calc(100% - 224px);background:radial-gradient(ellipse at 15% 0%,#20b48f09,transparent 50%),var(--bg)}
.crm-theme .top-header{height:66px;padding:12px 32px;background:#101119e8;border-color:#242432}
.crm-theme .admin-header-title{font-size:11px;display:flex;align-items:center;gap:12px;color:#7f8298}.admin-header-title strong{font-weight:500;color:#ccc9df}.header-divider{color:#414254}
.crm-theme .user-avatar{width:31px;height:31px;background:#26bfa025;color:#a0e3d0;border:1px solid #55b39a3d;border-radius:10px;font-family:inherit;font-weight:600;font-size:12px;cursor:pointer}
.crm-theme .user-menu-dropdown{background:#1a1b27;border:1px solid #303043;box-shadow:0 15px 60px #0007;border-radius:12px}
.crm-theme .header-btn,.crm-theme .search-input{background:#171823;border-color:#2c2d3d;color:#a4a6ba;border-radius:9px}
.crm-theme .content-container{padding:28px 32px 40px;max-width:1820px;margin:0 auto}
.crm-theme .card{background:#171821;border:1px solid #292a39;box-shadow:0 4px 25px #0000000b;border-radius:13px}
.crm-theme h1{letter-spacing:-.75px;font-size:28px;font-weight:680;line-height:1.35}.crm-theme h2{letter-spacing:-.35px}
.crm-theme .btn{border-radius:8px;font-size:12px;font-weight:550;line-height:1.4;padding:10px 15px;transition:background .15s,border-color .15s;box-shadow:none}
.crm-theme .btn-primary{background:#147f67;border:1px solid #258b74;color:white}.crm-theme .btn-primary:hover{background:#199c7b;transform:none}
.crm-theme .btn-secondary{background:#20212e;border:1px solid #343445;color:#d6d3e7}.crm-theme .btn-secondary:hover{background:#2b293d;border-color:#427d6d}
.crm-theme .btn-danger{background:#ec647715;border:1px solid #e57b8738;color:#fda7b2}
.crm-theme .ac{max-width:1560px;margin:0 auto}
.crm-theme .ac input,.crm-theme .ac select,.crm-theme .ac textarea,.crm-theme .form-group input{background:#11121c;border-color:#353647;color:#e7e6f1;border-radius:8px;padding:10px 12px;font-size:12px}
.crm-theme .ac select option{background:#171821}.crm-theme label{color:#b5b4c7}.crm-theme .ac label{font-size:11px}
.crm-theme input::placeholder,.crm-theme textarea::placeholder{color:#757a91}.crm-theme .ac p{line-height:1.6}
.crm-theme .ac-muted{color:#9698ad;font-size:12px}.crm-theme .ac-eyebrow{color:#83cdb5;font-size:9px;letter-spacing:1.4px}
.crm-theme .ac dialog{background:#171821;border:1px solid #454053;box-shadow:0 28px 100px #0009}
.crm-theme .ac dialog::backdrop{background:#06060dbb;backdrop-filter:blur(3px)}
.crm-theme .ac-notice{background:#2495790c;border:1px solid #529b8338;color:#b6d1c5;font-size:12px}
.crm-theme .ac-badge{font-size:10px;padding:4px 8px;background:#303044;color:#bbb8ce}.crm-theme .ac-badge.active{background:#2bab8118;color:#79d5b6}.crm-theme .ac-badge.paused{background:#c0893519;color:#e0b780}
.crm-theme .ac-counts{gap:0;border:1px solid #2c2b3b;border-radius:12px;overflow:hidden;background:#171821}
.crm-theme .ac-counts article{background:transparent;border:0;border-radius:0;border-right:1px solid #2c2b3b;padding:19px 22px}.crm-theme .ac-counts article:last-child{border:0}.crm-theme .ac-counts strong{font-size:27px;font-weight:650}.crm-theme .ac-counts span{font-size:11px;color:#9293ab}
.crm-theme .ac-table th{background:#1a1a26;font-weight:550;font-size:11px;color:#9998b2;border-color:#2b2b3a}.crm-theme .ac-table td{border-color:#252633;font-size:13px}.crm-theme .ac-table tr:last-child td{border-bottom:0}.crm-theme .ac-table tbody tr:hover{background:#44b38a05}.crm-theme .ac-table small{font-size:11px;margin-top:4px;color:#8d90a6}
.crm-theme .cw-head{margin-bottom:12px}.crm-theme .cw h1{font-size:28px;margin:6px 0}.crm-theme .cw-back{font-size:11px;color:#8e86a8}.crm-theme .cw-counts{gap:18px;margin:9px 0;color:#9393ab;font-size:11px}.crm-theme .cw-counts strong{font-size:13px;color:#bcb8d0}
.crm-theme .cw-tabs{border-bottom:1px solid #2a2839;background:none;gap:22px;padding:0;margin:16px 0 24px;overflow-x:auto}
.crm-theme .cw-tabs a{border-radius:0;padding:12px 0;color:#9290a8;font-size:12px;border-bottom:2px solid transparent}
.crm-theme .cw-tabs a[aria-current=page]{background:none;color:#99dec7;border-bottom-color:#34bb96}
.crm-theme .cw .card{padding:22px}.crm-theme .cw h2{font-size:18px}.crm-theme .cw-business h3{font-size:19px}
.crm-theme .cw-business{border-left:2px solid #39b592}.crm-theme .cw-connection{background:#11121c;border-color:#2d2d3f}.crm-theme .cw-connection h4{font-size:14px}
.crm-theme .cw-details summary{color:#8cbbaa;font-size:12px}.crm-theme .cw-facts dt{color:#85859e}.crm-theme .cw-history p{border-color:#2a2a3c}
.crm-theme .cw-start{background:radial-gradient(ellipse at top,#27a37d13,transparent 60%),#15151f;border-color:#393147;padding:32px 22px!important}.crm-theme .cw-start h2{font-size:22px}.crm-theme .cw-start p{font-size:13px;color:#a9a6bb}
.crm-theme .cw-start-icon{background:#24957919;color:#8bdfbe}.crm-theme .cw-start-steps{font-size:11px;color:#8e889e}
.crm-theme .cw-setup{background:#30241744;border-color:#7a59303b;padding:13px 17px}.crm-theme .cw-setup strong{font-size:13px;color:#e7c18a}.crm-theme .cw-setup p{font-size:12px;color:#bca889}
.crm-theme .cw-connect-location{background:#11121c;border-color:#353048}.crm-theme .cw-connect-location:has(input:checked){background:#2aaa841b;border-color:#56ba98}
.crm-theme .cw-connect-steps li{border-color:#343042}.crm-theme .cw-connect-steps li:before{background:#353044}.crm-theme .cw-connect-steps .is-current{border-color:#58b69b}.crm-theme .cw-connect-steps .is-current:before{background:#188566}
.crm-theme .al-row,.crm-theme .al-save{background:#171821;border-color:#333044}.crm-theme .al-row.is-selected{border-color:#58b69b;background:#2aaa8410}.crm-theme .al-target label{color:#ada4be}
.crm-theme .ab{--ab-accent:#76c9ad;--ab-muted:#9693aa}.crm-theme .ab-kpi,.crm-theme .ab-chart-box{background:#171821;border-color:#302c40}
.crm-theme .ab-kpi.is-good{background:#2995740b;border-color:#39827142}.crm-theme .ab-kpi.is-model{background:#2fa57f10;border-color:#44ae8a4d}
.crm-theme .ab select option{background:#171821;color:#ece9f7}
.crm-theme a:focus-visible,.crm-theme button:focus-visible,.crm-theme input:focus-visible,.crm-theme select:focus-visible{outline:2px solid #90e6c9;outline-offset:3px}
.crm-theme :focus:not(:focus-visible){outline:none}
.login-monogram{font-size:36px;font-weight:700;letter-spacing:-5px}
@media(max-width:1024px){.crm-theme .content-container{padding:24px}.crm-theme .top-header{padding:12px 24px}}
@media(max-width:768px){.crm-theme .sidebar{width:224px}.crm-theme .main-wrapper{margin-left:0;width:100%}.crm-theme .content-container{padding:20px 16px}.crm-theme .top-header{padding:10px 16px;height:58px}.crm-theme .admin-header-title>span:first-child,.crm-theme .header-divider{display:none}.crm-theme .cw-tabs{gap:18px}.crm-theme .cw-head h1{font-size:25px}.crm-theme .cw .card{padding:17px}.crm-theme .sidebar-account{position:sticky;bottom:0;background:#11121b}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.crm-theme *{transition:none!important;animation:none!important}}

/* Keep the overview within a practical desktop viewport. */
.crm-theme .cw .cw-counts{display:none}
.crm-theme .cw-tabs{margin:10px 0 18px}
.crm-theme .cw .cw-head{margin-bottom:4px}

/* Agency identity and shared reading contrast. */
.crm-theme .brand-caption{color:#8ca69c;letter-spacing:1.7px}.crm-theme .sidebar-logo{color:#f0fff9}.crm-theme .ac a:not(.btn):not(.ac-badge){color:#a0dbc8}.crm-theme .al .al-intro{border-left-color:#37b895}.crm-theme .al a:not(.btn){color:#97d9c1}.crm-theme input[type=checkbox]{accent-color:#26ad88}.crm-theme .al-row input[type=checkbox]{accent-color:#26ad88}.crm-theme .al-summary span{border-color:#426b59;color:#c1decf}.crm-theme .user-avatar{min-width:36px;min-height:36px}
