.sold-crm-mounted{visibility:hidden!important}
#sold-clients-crm-root.scrm-portal-host{position:fixed;right:0;bottom:0;z-index:40;overflow:auto;overscroll-behavior:contain;background:#050505;padding:0 24px 24px}
html.sold-crm-scroll-locked,body.sold-crm-scroll-locked{overflow:hidden!important;overscroll-behavior:none!important}
#sold-clients-crm-root{--crm-bg:#080808;--crm-panel:#0d0d0e;--crm-panel-2:#121214;--crm-border:#27272a;--crm-muted:#77777f;--crm-text:#f5f5f5;--crm-orange:#f97316;color:var(--crm-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;min-width:0}
#sold-clients-crm-root *{box-sizing:border-box}
#sold-clients-crm-root button,#sold-clients-crm-root input,#sold-clients-crm-root select,#sold-clients-crm-root textarea{font:inherit}
#sold-clients-crm-root button,#sold-clients-crm-root a{transition:background .16s,border-color .16s,color .16s,transform .16s}
#sold-clients-crm-root button:focus-visible,#sold-clients-crm-root a:focus-visible,#sold-clients-crm-root input:focus-visible,#sold-clients-crm-root select:focus-visible,#sold-clients-crm-root textarea:focus-visible{outline:2px solid var(--crm-orange);outline-offset:2px}
.scrm-shell{display:flex;flex-direction:column;gap:14px;min-width:0;padding-bottom:28px}
.scrm-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding-bottom:16px;border-bottom:1px solid #1f1f22}
.scrm-header h1{font-size:30px;line-height:1;margin:4px 0 7px;font-weight:900;letter-spacing:-.04em}.scrm-header p{margin:0;color:#8b8b92;font-size:13px}.scrm-eyebrow{color:var(--crm-orange);font-size:9px;letter-spacing:.18em;text-transform:uppercase;font-weight:900}.scrm-header-actions{display:flex;background:#0a0a0b;border:1px solid var(--crm-border);border-radius:11px;padding:3px}.scrm-tab{border:0;background:transparent;color:#7e7e86;padding:8px 13px;border-radius:8px;font-size:11px;font-weight:800;cursor:pointer}.scrm-tab.active{background:#232326;color:#fff}
.scrm-stats{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:8px}.scrm-stat{min-height:76px;background:linear-gradient(145deg,#111113,#0b0b0c);border:1px solid #242427;border-radius:14px;padding:14px;display:flex;align-items:center;gap:11px}.scrm-stat-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid #3a2a1d;background:#1b120c;color:var(--crm-orange);border-radius:10px;font-weight:900}.scrm-stat div{min-width:0;display:flex;flex-direction:column;gap:5px}.scrm-stat strong{font:900 18px/1 ui-monospace,SFMono-Regular,monospace;white-space:nowrap}.scrm-stat div>span{color:#777780;font-size:9px;line-height:1.1;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.scrm-line{display:block;width:68px;height:16px;border-radius:5px;background:#242427;animation:scrm-pulse 1.3s infinite}
.scrm-toolbar{display:flex;align-items:center;gap:7px;padding:7px;background:#0b0b0c;border:1px solid #242427;border-radius:14px;position:relative;z-index:2}.scrm-search{position:relative;flex:1;min-width:230px}.scrm-search>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#777;font-size:20px}.scrm-search input{width:100%;height:38px;padding:0 54px 0 37px;background:#050506;border:1px solid #27272a;border-radius:10px;color:white;font-size:12px}.scrm-search input::placeholder{color:#606067}.scrm-search kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:#18181b;border:1px solid #303035;border-radius:5px;padding:3px 5px;color:#6f6f76;font-size:9px}.scrm-toolbar>select,.scrm-toolbar>button{height:38px;border:1px solid #2b2b2f;background:#121214;border-radius:10px;color:#c8c8cc;padding:0 11px;font-size:10px;font-weight:800;cursor:pointer}.scrm-toolbar>button.active{border-color:#8a4216;background:#23150c;color:#ff9b55}.scrm-view{display:flex;border:1px solid #2b2b2f;border-radius:10px;overflow:hidden;background:#0a0a0b}.scrm-view button{width:36px;height:36px;border:0;background:transparent;color:#73737b;cursor:pointer}.scrm-view button.active{background:#26262a;color:#fff}
.scrm-filter-panel{display:grid;grid-template-columns:repeat(6,minmax(135px,1fr)) auto;align-items:end;gap:10px;padding:14px;background:#101012;border:1px solid #2b2b2f;border-radius:14px;box-shadow:0 16px 50px #0008}.scrm-filter-group{display:flex;flex-direction:column;gap:6px}.scrm-filter-group label{font-size:8px;color:#76767e;text-transform:uppercase;letter-spacing:.1em;font-weight:900}.scrm-filter-group>div{display:flex;gap:5px}.scrm-filter-panel input,.scrm-filter-panel select{width:100%;min-width:0;height:34px;padding:0 8px;background:#070708;border:1px solid #2d2d31;border-radius:8px;color:#ddd;font-size:10px;color-scheme:dark}.scrm-link{border:0!important;background:transparent!important;color:#9a9aa2!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:10px!important}.scrm-bulk{display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid #744018;background:#1d120b;border-radius:11px;color:#ffb174;font-size:11px}.scrm-bulk strong{margin-right:auto}.scrm-bulk button{border:1px solid #874719;background:#f97316;color:#111;border-radius:8px;padding:7px 11px;font-size:10px;font-weight:900;cursor:pointer}
.scrm-table-wrap{overflow:hidden;border:1px solid #242427;border-radius:14px;background:#09090a}.scrm-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:auto}.scrm-table th{height:38px;padding:0 10px;background:#111113;border-bottom:1px solid #29292d;color:#707078;font-size:8px;text-align:left;text-transform:uppercase;letter-spacing:.09em;font-weight:900;white-space:nowrap}.scrm-table th[data-sort]{cursor:pointer}.scrm-table th[data-sort]:hover{color:#fff}.scrm-table th:first-child,.scrm-table td:first-child{width:36px;text-align:center}.scrm-table td{height:68px;padding:8px 10px;border-bottom:1px solid #1e1e21;font-size:10px;vertical-align:middle}.scrm-table tbody tr:last-child td{border-bottom:0}.scrm-table tbody tr{cursor:pointer;transition:background .14s}.scrm-table tbody tr:hover,.scrm-table tbody tr:focus{background:#131315}.scrm-table input[type=checkbox]{accent-color:var(--crm-orange);width:14px;height:14px}.scrm-person{display:flex;align-items:center;gap:9px;min-width:145px}.scrm-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:linear-gradient(145deg,#28282d,#171719);border:1px solid #34343a;color:#ddd;font-size:10px;font-weight:900}.scrm-avatar.large{width:46px;height:46px;flex-basis:46px;border-radius:14px;font-size:14px}.scrm-person>div{min-width:0;display:flex;flex-direction:column;gap:3px}.scrm-person strong{font-size:11px;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scrm-person span:not(.scrm-avatar){font-size:9px;color:#777780}.scrm-contacts{display:grid;grid-template-columns:repeat(3,24px);align-items:center;gap:3px;min-width:110px}.scrm-contacts a{display:grid;place-items:center;width:24px;height:24px;border:1px solid #303035;background:#151517;color:#aaa;border-radius:7px;text-decoration:none;font-size:10px;font-weight:900}.scrm-contacts a:hover{border-color:#934b19;color:#ff9a50;background:#20140d}.scrm-contacts>span{grid-column:1/-1;color:#777780;font:8px ui-monospace,monospace;max-width:116px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scrm-muted{display:block;margin-top:3px;color:#6d6d75;font-size:8px}.scrm-money{font:900 10px ui-monospace,monospace;white-space:nowrap}.scrm-secondary{color:#a2a2a8}.scrm-points{color:#f2a66f;font:900 11px ui-monospace,monospace}.scrm-segment{display:inline-flex;align-items:center;border:1px solid #444;border-radius:999px;padding:4px 7px;font-size:7px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;white-space:nowrap}.scrm-segment-vip{color:#f5c96b;border-color:#655325;background:#211b0c}.scrm-segment-regular{color:#73ddb0;border-color:#275846;background:#0d211a}.scrm-segment-new{color:#78b5ff;border-color:#294f78;background:#0d1b29}.scrm-segment-sleeping{color:#aaa;border-color:#424247;background:#171719}.scrm-segment-base{color:#9b9ba2;border-color:#37373b;background:#141416}.scrm-more{width:28px;height:28px;border:1px solid #2c2c30;background:#111113;color:#777;border-radius:8px;font-size:18px;cursor:pointer}.scrm-more:hover{border-color:#884416;color:#ff9a50}.scrm-skeleton td i{display:block;height:15px;border-radius:5px;background:#222226;animation:scrm-pulse 1.3s infinite}.scrm-state{display:flex;min-height:260px;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #252529;background:#0b0b0c;border-radius:14px;color:#777;text-align:center}.scrm-state strong{color:#ddd;font-size:14px}.scrm-state span{font-size:11px}.scrm-state button{margin-top:6px;background:#f97316;border:0;border-radius:9px;color:#111;padding:9px 14px;font-size:10px;font-weight:900;cursor:pointer}.scrm-error strong{color:#ff8b80}
.scrm-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px;color:#707078;font-size:9px}.scrm-pagination>div{display:flex;align-items:center;gap:3px}.scrm-pagination button{min-width:28px;height:28px;border:1px solid #2b2b2f;background:#101012;border-radius:7px;color:#8b8b92;font-size:9px;cursor:pointer}.scrm-pagination button[aria-current=page]{background:#f97316;border-color:#f97316;color:#111;font-weight:900}.scrm-pagination button:disabled{opacity:.3;cursor:not-allowed}.scrm-pagination label{justify-self:end}.scrm-pagination select{margin-left:5px;background:#101012;border:1px solid #2b2b2f;border-radius:7px;color:#bbb;padding:5px;color-scheme:dark}.scrm-gap{padding:0 3px}
.scrm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.scrm-card{background:#0d0d0f;border:1px solid #27272b;border-radius:14px;padding:13px;cursor:pointer}.scrm-card:hover,.scrm-card:focus{border-color:#4a4a50;background:#121214}.scrm-card header{display:flex;align-items:center;gap:9px}.scrm-card header>div{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.scrm-card header strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.scrm-card header span:not(.scrm-avatar):not(.scrm-segment){color:#777;font-size:9px}.scrm-card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:12px 0;padding:10px 0;border-top:1px solid #222226;border-bottom:1px solid #222226}.scrm-card-metrics span{display:flex;flex-direction:column;gap:3px;color:#696970;font-size:8px}.scrm-card-metrics b{color:#ddd;font:900 10px ui-monospace,monospace}
.scrm-overlay{position:fixed;inset:0;z-index:90;background:#0009;backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .2s}.scrm-overlay.open{opacity:1;pointer-events:auto}.scrm-drawer{position:fixed;right:0;top:0;bottom:0;z-index:91;width:min(520px,42vw);background:#0a0a0b;border-left:1px solid #303035;box-shadow:-30px 0 80px #000c;transform:translateX(105%);transition:transform .24s ease;display:flex;flex-direction:column;color:#eee}.scrm-drawer.open{transform:none}.scrm-drawer-head{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #26262a;background:#0d0d0f}.scrm-drawer-head>div:nth-child(2){min-width:0;flex:1}.scrm-drawer h2{margin:4px 0 7px;font-size:19px;line-height:1.1}.scrm-close{align-self:flex-start;width:32px;height:32px;border:1px solid #2e2e32;background:#171719;color:#999;border-radius:9px;font-size:20px;cursor:pointer}.scrm-drawer-body{overflow-y:auto;padding:16px 20px 30px}.scrm-quick{display:flex;gap:6px;margin-bottom:12px}.scrm-quick a,.scrm-quick button{flex:1;text-align:center;text-decoration:none;border:1px solid #343438;background:#171719;color:#ccc;border-radius:9px;padding:9px 5px;font-size:9px;font-weight:900;cursor:pointer}.scrm-quick a:hover,.scrm-quick button:hover{border-color:#854419;background:#21150e;color:#ff9d57}.scrm-detail-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.scrm-detail-metrics div{padding:11px 9px;background:#111113;border:1px solid #27272b;border-radius:10px;display:flex;flex-direction:column;gap:5px}.scrm-detail-metrics span{font-size:7px;color:#6d6d75;text-transform:uppercase;font-weight:900}.scrm-detail-metrics strong{font:900 11px ui-monospace,monospace}.scrm-detail-section{padding:17px 0;border-bottom:1px solid #202023}.scrm-detail-section h3{margin:0 0 11px;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.scrm-detail-section dl{margin:0;display:flex;flex-direction:column;gap:6px}.scrm-detail-section dl>div{display:flex;justify-content:space-between;gap:20px;padding:8px 10px;background:#111113;border-radius:8px;font-size:9px}.scrm-detail-section dt{color:#72727a}.scrm-detail-section dd{margin:0;text-align:right;color:#ccc}.scrm-brands{display:flex;flex-wrap:wrap;gap:5px}.scrm-brands span{border:1px solid #3f352d;background:#1b140f;color:#d8a57f;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800}.scrm-orders{display:flex;flex-direction:column;gap:5px}.scrm-orders button{display:flex;justify-content:space-between;align-items:center;border:1px solid #29292d;background:#111113;color:#ddd;border-radius:9px;padding:9px 10px;cursor:pointer;text-align:left}.scrm-orders button:hover{border-color:#4a4a50;background:#171719}.scrm-orders button span{display:flex;flex-direction:column;gap:3px}.scrm-orders button span:last-child{text-align:right}.scrm-orders small{color:#717179;font-size:8px}.scrm-section-title{display:flex;align-items:center;justify-content:space-between}.scrm-section-title button{border:0;background:transparent;color:#f5934e;font-size:8px;font-weight:900;cursor:pointer}.scrm-notes{display:flex;flex-direction:column;gap:6px}.scrm-notes article{padding:10px;background:#111113;border:1px solid #29292d;border-radius:9px}.scrm-notes p{margin:0 0 8px;white-space:pre-wrap;font-size:9px;line-height:1.55;color:#ccc}.scrm-notes footer{display:flex;align-items:center;gap:8px;color:#666;font-size:7px}.scrm-notes footer span{margin-right:auto}.scrm-notes button{border:0;background:transparent;color:#888;font-size:7px;cursor:pointer;padding:0}.scrm-notes button:hover{color:#f5904a}.scrm-danger{padding-top:18px}.scrm-danger button{width:100%;border:1px solid #5c2927;background:#211010;color:#e9867f;border-radius:9px;padding:10px;font-size:9px;font-weight:900;cursor:pointer}.scrm-drawer-loading{padding:20px;display:flex;flex-direction:column;gap:12px}.scrm-drawer-loading i{height:90px;background:#1b1b1e;border-radius:12px;animation:scrm-pulse 1.3s infinite}
.scrm-modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;background:#000b;backdrop-filter:blur(4px);padding:20px;color:#eee}.scrm-modal.open{display:flex}.scrm-modal-card{width:min(440px,100%);background:#0d0d0f;border:1px solid #323237;border-radius:16px;box-shadow:0 30px 100px #000;padding:17px}.scrm-modal-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.scrm-modal-card h3{margin:0;font-size:14px}.scrm-modal-card header button{border:0;background:transparent;color:#888;font-size:20px;cursor:pointer}.scrm-modal-card form{display:flex;flex-direction:column;gap:12px}.scrm-modal-card label{display:flex;flex-direction:column;gap:6px;color:#818188;font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.scrm-modal-card input,.scrm-modal-card textarea{width:100%;background:#060607;border:1px solid #303035;border-radius:9px;color:#eee;padding:10px;resize:vertical;text-transform:none;letter-spacing:0}.scrm-modal-card form>button{border:0;background:#f97316;color:#111;border-radius:9px;padding:11px;font-size:10px;font-weight:900;cursor:pointer}.scrm-form-error{min-height:13px;margin:0;color:#ef7770;font-size:9px}
@keyframes scrm-pulse{50%{opacity:.45}}
@media(max-width:1500px){.scrm-stats{grid-template-columns:repeat(5,1fr)}.scrm-stat{padding:11px}.scrm-stat-icon{display:none}.scrm-table th:nth-child(6),.scrm-table td:nth-child(6){display:none}.scrm-filter-panel{grid-template-columns:repeat(3,1fr) auto}.scrm-toolbar>select{max-width:145px}}
@media(max-width:1200px){.scrm-stats{grid-template-columns:repeat(3,1fr)}.scrm-toolbar{flex-wrap:wrap}.scrm-search{flex-basis:100%}.scrm-table th:nth-child(7),.scrm-table td:nth-child(7){display:none}.scrm-drawer{width:min(560px,70vw)}}

/* 2026-08-11 client CRM refinement */
.scrm-list-tabs{display:flex;width:max-content;background:#0a0a0b;border:1px solid var(--crm-border);border-radius:11px;padding:3px}
.scrm-stats{grid-template-columns:repeat(4,minmax(135px,1fr))}
.scrm-contacts a img{width:14px;height:14px;display:block}
.scrm-telegram-link{display:flex!important;align-items:center;justify-content:center;gap:5px}
.scrm-telegram-link img{width:14px;height:14px}
.scrm-brands{gap:7px}
.scrm-brands span{min-width:96px;height:52px;border:1px solid #303035;background:#fff;color:#111;border-radius:10px;padding:7px 10px;display:flex;align-items:center;justify-content:center;gap:7px}
.scrm-brands img{max-width:76px;max-height:30px;object-fit:contain}
.scrm-brands b{font-size:8px;font-weight:900}
.scrm-brands img+b{display:none}
.scrm-bonus-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.scrm-bonus-modes button{height:38px;border:1px solid #303035;background:#151517;color:#999;border-radius:9px;font-size:10px;font-weight:900;cursor:pointer}
.scrm-bonus-modes button.active{border-color:#f97316;background:#2a170b;color:#ffac70}
@media(max-width:1500px){.scrm-stats{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){#sold-clients-crm-root.scrm-portal-host{padding:0 10px 24px}.scrm-shell{gap:10px}.scrm-list-tabs{width:100%;box-sizing:border-box}.scrm-list-tabs .scrm-tab{flex:1}.scrm-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.scrm-stat{min-height:64px;padding:10px}.scrm-stat strong{font-size:15px}.scrm-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px}.scrm-search{grid-column:1/-1;min-width:0}.scrm-search kbd{display:none}.scrm-search input{padding-right:12px}.scrm-toolbar>select,.scrm-toolbar>button{width:100%;max-width:none}.scrm-view{grid-column:1/-1}.scrm-view button{width:50%;flex:1}.scrm-filter-panel{grid-template-columns:1fr 1fr;padding:10px}.scrm-filter-panel>.scrm-link{grid-column:1/-1}.scrm-cards{grid-template-columns:1fr}.scrm-card{padding:12px}.scrm-pagination{grid-template-columns:1fr auto;gap:8px}.scrm-pagination>span{grid-column:1/-1}.scrm-pagination label{justify-self:end}.scrm-drawer{width:100vw;max-width:none}.scrm-drawer-head{padding:14px}.scrm-drawer-body{padding:12px 14px 26px}.scrm-quick{display:grid;grid-template-columns:1fr 1fr}.scrm-detail-metrics{grid-template-columns:1fr 1fr}.scrm-modal{padding:10px}.scrm-modal-card{max-height:92vh;overflow:auto}}
