.pw-client-crm,.pw-crm-dialog{--crm-panel:#fff;--crm-soft:#f6f8fb;--crm-line:#e5eaf0;--crm-ink:#152032;--crm-muted:#637186;--crm-accent:#bd3f08;--crm-selected:#fff3eb;--crm-shadow:0 3px 14px #12273e04;color:var(--crm-ink)}html[data-web-theme=dark] .pw-client-crm,html[data-web-theme=dark] .pw-crm-dialog{--crm-panel:#121b23;--crm-soft:#18222d;--crm-line:#283440;--crm-ink:#edf2f8;--crm-muted:#aebbc9;--crm-accent:#ffab7c;--crm-selected:#32241e;--crm-shadow:0 4px 20px #00000012}html[data-web-theme=dark] .pw-workspace[data-screen=clients]{--pw-background:#0c131b}.pw-client-crm{flex-direction:column;gap:22px;padding-bottom:10px;display:flex}.pw-client-crm .pw-page-heading{align-items:center;margin-bottom:0}.pw-client-crm .pw-page-heading h1{letter-spacing:-1px;font-size:32px}.pw-client-crm .pw-page-heading p{color:var(--crm-muted);margin-top:6px;font-size:13px}.pw-client-crm .pw-button,.pw-client-crm .pw-icon-button{border-radius:12px}.pw-crm-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.pw-crm-metrics>button{text-align:left;background:linear-gradient(115deg, var(--crm-soft), var(--crm-panel));border:1px solid var(--crm-line);min-height:112px;color:var(--crm-ink);box-shadow:var(--crm-shadow);border-radius:17px;align-items:center;gap:16px;padding:18px;transition:border-color .15s,transform .15s;display:flex}.pw-crm-metrics>button:hover{border-color:var(--crm-muted);transform:translateY(-1px)}.pw-crm-metrics>button[aria-pressed=true]{border-color:#ff722c}.pw-crm-metrics>button>span:nth-child(2){flex:1;gap:5px;min-width:0;display:grid}.pw-crm-metrics small{color:var(--crm-muted);font-size:12px}.pw-crm-metrics strong{align-items:center;gap:9px;font-size:28px;line-height:1.1;display:flex}.pw-crm-metrics em{color:var(--crm-muted);font-size:11px;font-style:normal;line-height:1.4}.pw-crm-metrics strong em{background:var(--crm-soft);border-radius:12px;padding:5px 7px}.pw-crm-stat-icon{border-radius:16px;flex-shrink:0;place-items:center;width:52px;height:56px;display:grid}.pw-crm-stat-icon.orange{color:var(--crm-accent);background:#ff681318}.pw-crm-stat-icon.purple{color:var(--web-purple,#7b43b9);background:#a46aff1c}.pw-crm-stat-icon.green{color:var(--web-green,#087c54);background:#13b87d1a}.pw-crm-stat-icon.blue{color:var(--web-blue,#086f9b);background:#20b7ee18}.pw-crm-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.pw-crm-tabs,.pw-crm-tools,.pw-crm-view{align-items:center;gap:8px;display:flex}.pw-crm-tools{flex-wrap:wrap}.pw-crm-tabs button{min-height:40px;color:var(--crm-muted);border:1px solid var(--crm-line);background:var(--crm-panel);border-radius:18px;align-items:center;gap:8px;padding:8px 13px;font-size:12px;display:inline-flex}.pw-crm-tabs button b{background:var(--crm-soft);border-radius:50%;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:11px;display:grid}.pw-crm-tabs button[aria-pressed=true]{color:var(--crm-accent);background:var(--crm-selected);border-color:#ff782f}.pw-crm-tabs button[aria-pressed=true] b{color:inherit;background:#f9782622}.pw-crm-tools .pw-button{gap:7px;min-height:40px;padding:8px 12px;font-size:12px}.pw-crm-tools .pw-icon-button{width:40px;height:40px}.pw-crm-tools select,.pw-crm-footer select{border:1px solid var(--crm-line);background:var(--crm-panel);color:var(--crm-ink);border-radius:12px;min-height:40px;padding:9px 26px 9px 11px;font-size:12px}.pw-crm-search{border:1px solid var(--crm-line);background:var(--crm-panel);color:var(--crm-muted);border-radius:12px;align-items:center;gap:9px;padding:0 12px;display:flex}.pw-crm-search:focus-within{outline-offset:2px;outline:2px solid #ff975d}.pw-crm-search input{width:168px;min-height:39px;color:var(--crm-ink);background:0 0;border:0;padding:8px 0;font-size:12px;outline:none!important}.pw-crm-search input::placeholder{color:var(--crm-muted)}.pw-crm-view{border:1px solid var(--crm-line);background:var(--crm-panel);border-radius:12px;gap:2px;padding:3px}.pw-crm-view button{width:32px;height:32px;color:var(--crm-muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.pw-crm-view button[aria-pressed=true]{background:var(--crm-soft);color:var(--crm-accent)}.pw-crm-directory{border:1px solid var(--crm-line);background:var(--crm-panel);box-shadow:var(--crm-shadow);border-radius:18px}.pw-crm-table-scroll{scrollbar-width:thin;scrollbar-color:var(--crm-line) transparent;border-radius:18px 18px 0 0;overflow-x:auto}.pw-crm-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;min-width:1080px}.pw-crm-table col.check{width:42px}.pw-crm-table col.identity{width:21%}.pw-crm-table col.type{width:120px}.pw-crm-table col.contact{width:20%}.pw-crm-table col.count{width:76px}.pw-crm-table col.activity{width:151px}.pw-crm-table col.status{width:137px}.pw-crm-table col.actions{width:62px}.pw-crm-table th{color:var(--crm-muted);background:var(--crm-soft);white-space:nowrap;padding:14px 10px;font-size:11px;font-weight:500}.pw-crm-table td{border-top:1px solid var(--crm-line);height:83px;padding:14px 10px;font-size:12px}.pw-crm-table th:first-child,.pw-crm-table td:first-child{padding-left:18px}.pw-crm-table tr:hover td{background:color-mix(in srgb, var(--crm-soft) 65%, transparent)}.pw-crm-table tr.is-selected td{background:var(--crm-selected)}.pw-client-crm input[type=checkbox],.pw-crm-dialog input[type=checkbox]{accent-color:#e65c1d;cursor:pointer;flex-shrink:0;width:17px;height:17px;margin:0}.pw-crm-identity{color:var(--crm-ink);text-align:left;background:0 0;border:0;align-items:center;gap:11px;width:100%;min-width:0;padding:0;display:flex}.pw-crm-identity>span:last-child{gap:7px;min-width:0;display:grid}.pw-crm-identity strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.pw-crm-identity small{color:var(--crm-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.pw-crm-identity:hover strong{color:var(--crm-accent)}.pw-crm-avatar{width:41px;height:41px;color:var(--crm-accent);background:linear-gradient(140deg,#ff9e5135,#e9783422);border-radius:50%;flex:0 0 41px;place-items:center;font-size:13px;font-weight:600;display:grid}html[data-web-theme=dark] .pw-crm-avatar{color:#ffceb0;background:linear-gradient(140deg,#5b3629,#755040)}.pw-crm-contact{gap:7px;min-width:0;display:grid}.pw-crm-contact a{min-width:0;color:var(--crm-ink);align-items:center;gap:8px;font-size:12px;text-decoration:none;display:flex}.pw-crm-contact a span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pw-crm-contact a:hover{color:var(--crm-accent);text-decoration:underline}.pw-crm-contact .pw-glyph{color:var(--crm-muted)}.pw-crm-muted{color:var(--crm-muted);font-size:12px}.pw-crm-status{white-space:nowrap;border-radius:99px;align-items:center;padding:7px 10px;font-size:10px;font-weight:600;line-height:1.2;display:inline-flex}.pw-crm-status.orange{color:var(--crm-accent);background:#ff6b1816}.pw-crm-status.purple{color:var(--web-purple,#7040a6);background:#a76aff1d}.pw-crm-status.blue{color:var(--web-blue,#07648a);background:#22b9ff17}.pw-crm-status.green{color:var(--web-green,#057848);background:#14b87c1a}.pw-crm-status.amber{color:#8b5b00;background:#f9b32322}html[data-web-theme=dark] .pw-crm-status.amber{color:#ffcd6d}.pw-crm-status.red{color:var(--web-red,#b62939);background:#f44e5920}.pw-crm-status.muted{background:var(--crm-soft);color:var(--crm-muted)}.pw-crm-count{min-height:34px;color:var(--crm-ink);background:0 0;border:0;align-items:center;gap:6px;padding:0 2px;font-size:12px;display:inline-flex}.pw-crm-count:enabled:hover{color:var(--crm-accent)}.pw-crm-activity{text-align:left;color:var(--crm-ink);background:0 0;border:0;gap:7px;padding:2px 0;font-size:12px;display:grid}.pw-crm-activity small{color:var(--crm-muted);font-size:11px}.pw-crm-activity:hover>span{color:var(--crm-accent)}.pw-crm-table .pw-icon-button{width:34px;height:34px;color:var(--crm-muted);background:0 0;border:0}.pw-crm-table .pw-icon-button:hover{color:var(--crm-accent);background:var(--crm-selected)}.pw-crm-footer{border-top:1px solid var(--crm-line);color:var(--crm-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;font-size:12px;display:flex}.pw-crm-footer>div{align-items:center;gap:10px;display:flex}.pw-crm-footer .pw-icon-button{width:32px;height:32px}.pw-crm-footer select{min-height:32px;padding-top:6px;padding-bottom:6px;font-size:11px}.pw-crm-selection{color:var(--crm-muted);flex-wrap:wrap;align-items:center;gap:14px;margin-top:-8px;font-size:12px;display:flex}.pw-crm-selection button:not(.pw-button){color:var(--crm-accent);background:0 0;border:0;align-items:center;gap:6px;padding:4px;display:inline-flex}.pw-crm-selection .pw-button{min-height:32px;font-size:12px}.pw-crm-cards{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px;padding:18px;display:grid}.pw-crm-cards article{border:1px solid var(--crm-line);background:var(--crm-panel);border-radius:15px;gap:18px;padding:18px;display:grid}.pw-crm-cards header,.pw-crm-cards footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.pw-crm-cards header .pw-icon-button{border:0;flex-shrink:0;width:30px;height:30px}.pw-crm-card-badges{flex-wrap:wrap;gap:8px;display:flex}.pw-crm-card-links{border-block:1px solid var(--crm-line);gap:24px;padding-block:10px;display:flex}.pw-crm-card-links>span{color:var(--crm-muted);align-items:center;gap:8px;font-size:11px;display:flex}.pw-crm-dialog{border:1px solid var(--crm-line);background:var(--crm-panel);border-radius:20px;width:min(620px,100vw - 32px);max-height:min(80dvh,760px);padding:0;box-shadow:0 24px 90px #0005}.pw-crm-dialog::backdrop{backdrop-filter:blur(7px);background:#07101a99}.pw-crm-dialog>div>header{border-bottom:1px solid var(--crm-line);justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;display:flex}.pw-crm-dialog h2{overflow-wrap:anywhere;font-size:17px;line-height:1.5}.pw-crm-dialog header .pw-icon-button{flex-shrink:0}.pw-crm-dialog-list{padding:10px 14px;display:grid}.pw-crm-dialog-list .pw-button{min-height:52px;color:var(--crm-ink);justify-content:flex-start;font-size:13px}.pw-crm-dialog-list .pw-button>.pw-glyph:last-child{margin-left:auto}.pw-crm-linked{text-align:left;color:var(--crm-ink);background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:16px 10px;display:flex}.pw-crm-linked:hover,.pw-crm-dialog-list .pw-button:hover{background:var(--crm-soft)}.pw-crm-linked>span:nth-child(2){flex:1;gap:7px;min-width:0;display:grid}.pw-crm-linked strong{overflow-wrap:anywhere;font-size:13px}.pw-crm-linked small{color:var(--crm-muted);font-size:11px}.pw-crm-filter-form{gap:22px;padding:24px;display:grid}.pw-crm-filter-form label{gap:10px;font-size:13px;display:grid}.pw-crm-filter-form input:not([type=checkbox]),.pw-crm-filter-form select{border:1px solid var(--crm-line);background:var(--crm-soft);color:var(--crm-ink);border-radius:10px;width:100%;padding:12px}.pw-crm-filter-form .pw-crm-check{align-items:center;gap:12px;display:flex}.pw-crm-filter-form footer{border-top:1px solid var(--crm-line);justify-content:flex-end;gap:10px;padding-top:20px;display:flex}@container workspace (width<=1150px){.pw-crm-metrics>button{gap:10px;padding:14px}.pw-crm-stat-icon{border-radius:13px;width:42px;height:48px}.pw-crm-metrics>button>.pw-glyph:last-child{display:none}}@container workspace (width<=820px){.pw-crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pw-crm-tools{width:100%}.pw-crm-search{flex:1}.pw-crm-search input{width:100%}}@media (prefers-reduced-motion:reduce){.pw-crm-metrics>button{transition:none;transform:none!important}}