.customer-title{align-items:end}.data-mode{border:1px solid var(--line);background:#edf1f7;border-radius:11px;padding:3px;display:flex}.data-mode button{appearance:none;color:#768397;background:0 0;border:0;border-radius:8px;padding:.5rem .65rem;font-size:.78rem;font-weight:900}.data-mode button.active{color:#132038;background:#fff;box-shadow:0 4px 14px #12234014}.customer-kpis{grid-template-columns:repeat(4,1fr);gap:.55rem;margin:.6rem 0;display:grid}.customer-kpis article{border:1px solid var(--line);box-shadow:var(--shadow-sm);background:#fff;border-radius:15px;padding:.8rem}.customer-kpis small,.customer-kpis strong,.customer-kpis span{display:block}.customer-kpis small{color:#6a7ce1;letter-spacing:.05em;font-size:.7rem;font-weight:950}.customer-kpis strong{letter-spacing:-.05em;margin-top:.28rem;font-size:2rem}.customer-kpis span{color:#8390a2;font-size:.75rem}.customer-command{grid-template-columns:1fr 190px;gap:.45rem;margin-bottom:.55rem;padding:.55rem;display:grid}.customer-command input,.customer-command select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);font:inherit;background:#fff;border-radius:10px;padding:.55rem .7rem;font-size:.8rem}.customer-table{overflow:hidden}.customer-row{appearance:none;border:0;border-top:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;grid-template-columns:44px minmax(180px,1.4fr) minmax(130px,.9fr) 90px 105px 58px 76px 24px;align-items:center;gap:.6rem;padding:.72rem;transition:all .16s;display:grid}.customer-row:hover{background:#f7f9ff}.avatar{color:#fff;background:linear-gradient(135deg,#315cff,#7657ff);border-radius:12px;place-items:center;width:44px;height:44px;font-size:.78rem;font-weight:950;display:grid}.avatar.big{border-radius:16px;width:58px;height:58px}.customer-person strong,.customer-person small,.customer-location strong,.customer-location small,.customer-value strong,.customer-value small{display:block}.customer-person strong{font-size:.84rem}.customer-person small,.customer-location small,.customer-value small{color:#8793a5;margin-top:.08rem;font-size:.72rem}.customer-location strong,.customer-value strong{font-size:.78rem}.customer-status{color:#6c7281;background:#edf1f5;border-radius:999px;justify-content:center;padding:.28rem .4rem;font-size:.68rem;font-weight:950;display:inline-flex}.customer-status.customer,.customer-status.vip{color:#247b64;background:#e8f8f2}.customer-score{background:#eef1ff;border-radius:50%;place-items:center;width:52px;height:52px;display:grid}.customer-score b,.customer-score i{text-align:center;display:block}.customer-score b{font-size:.82rem}.customer-score i{color:#8290a3;margin-top:-9px;font-size:.54rem;font-style:normal}.customer-last{color:#8793a5;font-size:.7rem}.row-go{color:#6677df}.customer-empty{text-align:center;justify-items:center;padding:2.4rem;display:grid}.customer-empty i{color:#6678df;background:#eef1ff;border-radius:15px;place-items:center;width:52px;height:52px;font-style:normal;display:grid}.customer-empty strong{margin-top:.5rem}.customer-empty span{color:#8390a2;max-width:520px;margin-top:.12rem;font-size:.8rem;line-height:1.5}.customer-overlay,.editor-overlay{z-index:1100;opacity:0;background:#050f1c66;justify-content:flex-end;transition:all .18s;display:flex;position:fixed;inset:0}.customer-overlay.open,.editor-overlay.open{opacity:1}.customer-overlay[hidden],.editor-overlay[hidden]{display:none}.overlay-backdrop{background:0 0;border:0;position:absolute;inset:0}.customer-profile,.customer-editor{z-index:2;background:#f8faff;border-left:1px solid #11274817;width:min(600px,94vw);height:100%;padding:1rem;transition:all .18s;position:relative;overflow:auto;transform:translate(35px);box-shadow:-25px 0 80px #08182f2e}.open .customer-profile,.open .customer-editor{transform:none}.profile-head{border:1px solid var(--line);background:#fff;border-radius:18px;grid-template-columns:58px 1fr 42px;align-items:center;gap:.65rem;padding:.7rem;display:grid}.profile-head span{color:#6577df;font-size:.68rem;font-weight:950}.profile-head h2{margin:.08rem 0;font-size:1.55rem}.profile-head p{color:#8290a4;margin:0;font-size:.75rem}.profile-head>button,.customer-editor header>button{border:1px solid var(--line);background:#fff;border-radius:11px;width:42px;height:42px;font-size:1.3rem}.profile-value{grid-template-columns:1.5fr 1fr 1fr;gap:.45rem;margin-top:.55rem;display:grid}.profile-value>div{color:#fff;background:linear-gradient(135deg,#0b1b30,#315cff 72%,#7657ff);border-radius:15px;padding:.75rem}.profile-value small,.profile-value strong{display:block}.profile-value small{color:#bcc8ff;font-size:.62rem;font-weight:950}.profile-value strong{margin-top:.18rem;font-size:1.5rem}.profile-contact,.profile-section{border:1px solid var(--line);background:#fff;border-radius:16px;margin-top:.55rem;padding:.75rem}.profile-contact{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.profile-contact small,.profile-contact strong{display:block}.profile-contact small{color:#748196;font-size:.64rem;font-weight:950}.profile-contact strong{margin-top:.14rem;font-size:.76rem}.profile-contact em{color:#6173dc;background:#eef1ff;border-radius:999px;margin:2px;padding:.22rem .35rem;font-size:.65rem;font-style:normal;display:inline-block}.profile-section>header{justify-content:space-between;gap:.5rem;margin-bottom:.25rem;display:flex}.profile-section>header span,.profile-section>header b{font-size:.66rem;font-weight:950}.profile-section>header span{color:#6678df}.profile-section>header b{color:#95a0af}.history-card,.activity-row,.sync-row{border-top:1px solid var(--line);align-items:center;gap:.5rem;padding:.55rem 0;display:grid}.history-card{grid-template-columns:1fr auto}.history-card strong,.history-card small{display:block}.history-card strong{font-size:.78rem}.history-card small{color:#8995a5;margin-top:.05rem;font-size:.68rem}.history-card>b{font-size:.8rem}.history-card.payment>b{color:#27866b}.activity-row{grid-template-columns:24px 1fr}.activity-row>i{color:#238065;background:#e8f8f2;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.65rem;font-style:normal;display:grid}.activity-row strong,.activity-row small{font-size:.72rem;display:block}.activity-row small{color:#8a96a6}.sync-row{grid-template-columns:1fr auto auto}.sync-row strong,.sync-row span,.sync-row small{font-size:.7rem}.sync-row span{color:#237c63;background:#e9f8f2;border-radius:999px;padding:.2rem .35rem;font-weight:900}.sync-row small{color:#8a96a6}.empty-copy{color:#8a96a6;margin:.4rem 0;font-size:.74rem}.profile-actions{gap:.4rem;margin-top:.6rem;display:flex}.danger{color:#ad4d4d!important}.customer-editor{width:min(650px,94vw);padding:1.1rem}.customer-editor>header{justify-content:space-between;align-items:start;display:flex}.customer-editor h2{margin:.35rem 0 0;font-size:2rem}.editor-grid{grid-template-columns:1fr 1fr;gap:.55rem;margin-top:1rem;display:grid}.editor-grid label{gap:.25rem;display:grid}.editor-grid label>span{color:#68778c;font-size:.72rem;font-weight:900}.editor-grid input,.editor-grid select,.editor-grid textarea{border:1px solid var(--line);width:100%;font:inherit;background:#fff;border-radius:10px;padding:.65rem;font-size:.8rem}.span2{grid-column:1/-1}.customer-editor>footer{justify-content:flex-end;gap:.4rem;margin-top:.8rem;display:flex}@media (width<=1050px){.customer-kpis{grid-template-columns:1fr 1fr}.customer-row{grid-template-columns:44px 1.4fr .8fr 90px 58px 24px}.customer-location,.customer-last{display:none}}@media (width<=720px){.customer-kpis{grid-template-columns:1fr 1fr}.customer-command{grid-template-columns:1fr}.customer-row{grid-template-columns:42px 1fr 64px 24px;padding:.7rem}.customer-status,.customer-value{display:none}.customer-score{width:48px;height:48px}.customer-profile,.customer-editor{width:100%;max-width:none}.profile-head{grid-template-columns:52px 1fr 40px}.avatar.big{width:52px;height:52px}.profile-value{grid-template-columns:1fr 1fr 1fr}.profile-value strong{font-size:1.2rem}.profile-contact,.editor-grid{grid-template-columns:1fr}.span2{grid-column:auto}}@media (width<=480px){.customer-kpis{grid-template-columns:1fr 1fr}.customer-kpis article{padding:.65rem}.customer-kpis strong{font-size:1.55rem}.profile-value{grid-template-columns:1fr}.customer-editor>footer,.profile-actions{flex-direction:column}.customer-editor>footer .btn,.profile-actions .btn{width:100%}}
