/* NEWAY ONE v8.0.667 — Customer Profile / CRM canonical styles. */
#customers .customer-hierarchy-head-8378{align-items:center;margin-top:0;}
#customers .customer-title-row-8378{margin:0;width:100%;}
#customers .customer-sync-btn-8378{flex:0 0 auto;}
#customers .customer-search-card{padding:14px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);margin-bottom:14px;}
#customers .customer-search-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;}
#customers .customer-search-row input{min-height:48px;font-size:16px;}
#customers .customer-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 6px;}
#customers .customer-filter-btn{min-height:34px;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--text);font-size:13px;font-weight:600;line-height:1.2;}
#customers .customer-filter-btn.active{background:#1e98ff;color:#fff;border-color:#1e98ff;}
#customers .customer-custom-range{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-top:8px;}
#customers .customer-custom-range.hidden{display:none;}
#customers .customer-page-summary{font-size:12.5px;color:var(--muted);margin:8px 0 10px;font-weight:400;line-height:1.45;}
#customers .customer-more-wrap{margin-top:12px;display:flex;justify-content:center;}
#customers .customer-lazy-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:grid;gap:10px;margin-bottom:14px;}
#customers .customer-lazy-card h2{margin:0;font-size:18px;font-weight:600;line-height:1.3;}
#customers .customer-lazy-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5;font-weight:400;}
#customers :is(.customer-toolbar.hidden,.customer-results.hidden,.customer-page-summary.hidden,.customer-more-wrap.hidden,.customer-detail.hidden){display:none!important;}
#customers .customer-results{display:grid;gap:10px;}
#customers .customer-card{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:18px;padding:14px;display:grid;gap:8px;}
#customers .customer-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
#customers .customer-card h3{margin:0;font-size:17px;line-height:1.25;font-weight:700;}
#customers .customer-phone{font-size:14px;color:var(--muted);margin-top:3px;font-weight:400;line-height:1.35;}
#customers .customer-badges{display:flex;flex-wrap:wrap;gap:6px;}
#customers .customer-badge{font-size:12px;border-radius:999px;padding:4px 8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:var(--text);font-weight:600;line-height:1.2;}
#customers .customer-list-tags{display:flex;flex-wrap:wrap;gap:6px;}
#customers .customer-list-tags span{font-size:12px;line-height:1.2;padding:4px 8px;border-radius:999px;background:rgba(214,48,118,.13);border:1px solid rgba(214,48,118,.35);color:#ff77ad;font-weight:650;}
#customers .customer-note-line{color:var(--muted);margin-top:4px;word-break:break-word;}

#customers .customer-detail{margin-top:14px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:14px;display:grid;gap:14px;}
#customers .customer-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
#customers .customer-detail-head h2{margin:0;font-size:21px;font-weight:750;line-height:1.25;}
#customers .customer-detail-head p{margin:4px 0 0;}
#customers .customer-detail-identity-8821{display:flex;align-items:center;gap:12px;min-width:0;}
#customers .customer-detail-identity-8821>div{min-width:0;}
#customers .customer-avatar-8821{flex:0 0 auto;width:58px;height:58px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);box-shadow:0 4px 14px rgba(0,0,0,.16);color:#fff;-webkit-text-fill-color:#fff;font-size:20px;font-weight:700;line-height:1;}
#customers .customer-avatar-8821 img{width:100%;height:100%;display:block;object-fit:cover;}
#customers .customer-avatar-fallback-8821{background:linear-gradient(145deg,#d63076,#8f4fd0);}
#customers .customer-avatar-head-8821{width:58px;height:58px;}
#customers .customer-avatar-editor-8821{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.04);}
#customers .customer-avatar-edit-8821{width:88px;height:88px;font-size:28px;}
#customers .customer-avatar-editor-copy-8821{min-width:0;display:grid;gap:6px;}
#customers .customer-avatar-editor-copy-8821>strong{font-size:15px;}
#customers .customer-avatar-editor-copy-8821>span{font-size:12px;color:var(--muted);line-height:1.45;}
#customers .customer-avatar-editor-actions-8821{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:2px;}
#customers .customer-avatar-file-8821{display:none!important;}
#customers .customer-avatar-delete-8821{color:#f08b8b!important;-webkit-text-fill-color:#f08b8b!important;}
#customers .customer-detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
#customers .customer-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);}
#customers .customer-detail-tab{min-height:40px;padding:8px 10px;border-radius:10px;border:0;background:transparent;color:var(--muted);font-weight:700;font-size:13px;line-height:1.2;}
#customers .customer-detail-tab span{font-size:11px;opacity:.72;margin-left:3px;}
#customers .customer-detail-tab.active{background:#ca2f78;color:#fff;box-shadow:0 5px 14px rgba(202,47,120,.2);}
#customers .customer-detail-pane{display:grid;gap:14px;}
#customers .customer-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
#customers .customer-stat{min-height:82px;border-radius:15px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.12);padding:12px;display:flex;flex-direction:column;justify-content:center;gap:4px;}
#customers .customer-stat strong{font-size:23px;line-height:1;font-weight:800;color:#fff;}
#customers .customer-stat span{font-size:12px;color:var(--muted);font-weight:600;}
#customers .customer-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
#customers .customer-profile-field{border-radius:14px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);padding:11px 12px;display:grid;gap:4px;}
#customers .customer-profile-field span{font-size:12px;color:var(--muted);}
#customers .customer-profile-field b{font-size:14px;line-height:1.35;word-break:break-word;}
#customers .customer-profile-section{border-top:1px solid rgba(255,255,255,.09);padding-top:13px;display:grid;gap:8px;}
#customers .customer-profile-section h3{font-size:15px;margin:0;font-weight:700;}
#customers .customer-section-head{display:flex;justify-content:space-between;gap:10px;align-items:center;}
#customers .customer-profile-tags,#customers .customer-alias-list{display:flex;flex-wrap:wrap;gap:7px;}
#customers .customer-profile-tag,#customers .customer-alias-list span{font-size:12px;line-height:1.2;padding:6px 9px;border-radius:999px;background:rgba(214,48,118,.14);border:1px solid rgba(214,48,118,.38);color:#ff8ab7;font-weight:650;}
#customers .customer-alias-list span{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:var(--text);}
#customers .customer-profile-note{min-height:52px;border-radius:14px;background:rgba(0,0,0,.12);border:1px solid rgba(255,255,255,.08);padding:11px 12px;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word;}
#customers .customer-empty-inline{color:var(--muted);font-size:13px;font-weight:400;}
#customers .customer-profile-id{font-size:11px;color:var(--muted);text-align:right;letter-spacing:.02em;}
#customers .customer-history-list{display:grid;gap:8px;}
#customers .customer-history-row{background:rgba(0,0,0,.15);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px;font-size:13px;line-height:1.5;font-weight:400;}
#customers .customer-history-row b{font-size:14px;font-weight:650;line-height:1.35;}

#customers .customer-profile-form{display:grid;gap:13px;}
#customers .customer-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#customers .customer-profile-form label,#customers .customer-birthday-field{display:grid;gap:6px;font-size:12px;color:var(--muted);font-weight:650;}
#customers .customer-profile-form input,#customers .customer-profile-form select,#customers .customer-profile-form textarea{width:100%;min-height:46px;border-radius:11px;border:1px solid rgba(255,255,255,.13);background:rgba(0,0,0,.13);color:var(--text);padding:10px 12px;font:inherit;box-sizing:border-box;}
#customers .customer-profile-form textarea{resize:vertical;min-height:96px;line-height:1.5;}
#customers .customer-profile-form :is(input,select,textarea):focus{outline:none;border-color:#df3d85;box-shadow:0 0 0 2px rgba(223,61,133,.14);}
#customers .customer-profile-form :is(input,select,textarea):disabled{opacity:.62;cursor:not-allowed;}
#customers .customer-form-wide{grid-column:1/-1;}
#customers .customer-form-wide small{font-size:11px;color:var(--muted);font-weight:400;}
#customers .customer-birthday-inputs{display:grid;grid-template-columns:90px 90px minmax(150px,1fr);gap:8px;}
#customers .customer-phone-warning{padding:10px 12px;border-radius:12px;background:rgba(230,155,28,.12);border:1px solid rgba(230,155,28,.28);font-size:12px;line-height:1.5;color:#f4c46a;}
#customers .customer-form-actions{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(220px,1fr);gap:10px;margin-top:2px;}
#customers .customer-form-actions button{min-height:46px;}

html[data-neway-theme="light"] body #customers{color:#202027;}
html[data-neway-theme="light"] body #customers :is(h1,h2,h3){color:#202027;-webkit-text-fill-color:#202027;}
html[data-neway-theme="light"] body #customers :is(.customer-lazy-card,.customer-card,.customer-detail){background:#fff;border-color:rgba(31,31,40,.10);box-shadow:0 6px 20px rgba(24,24,34,.045);}
html[data-neway-theme="light"] body #customers .customer-toolbar{background:#fff;border-color:rgba(31,31,40,.10);color:#202027;box-shadow:0 5px 18px rgba(24,24,34,.035);}
html[data-neway-theme="light"] body #customers .customer-filter-btn:not(.active){background:var(--lt-surface);color:var(--lt-text-2);-webkit-text-fill-color:var(--lt-text-2);border-color:var(--lt-border);}
html[data-neway-theme="light"] body #customers .customer-search-card{background:var(--lt-surface);border-color:var(--lt-border);color:var(--lt-text);box-shadow:0 6px 20px rgba(24,24,34,.045);}
html[data-neway-theme="light"] body #customers .customer-history-row{background:var(--lt352-soft);border-color:var(--lt352-line);color:var(--lt352-ink);box-shadow:none;}
html[data-neway-theme="light"] body #customers .customer-history-row :is(b,strong){color:var(--lt352-ink);}
html[data-neway-theme="light"] body #customers .customer-badge{background:#f5f6f8;border-color:#d9dee5;color:#303640;}
html[data-neway-theme="light"] body #customers :is(.customer-phone,.customer-note-line,.customer-page-summary,.customer-lazy-card p,.customer-empty-inline,.customer-profile-id){color:#48515c;}
html[data-neway-theme="light"] body #customers .customer-list-tags span,
html[data-neway-theme="light"] body #customers .customer-profile-tag{background:#fff0f6;border-color:#ef9abe;color:#a91f5d;}
html[data-neway-theme="light"] body #customers .customer-detail-tabs{background:#f4f5f7;border-color:#e0e3e7;}
html[data-neway-theme="light"] body #customers .customer-detail-tab{color:#59616c;}
html[data-neway-theme="light"] body #customers .customer-detail-tab.active{background:#ca2f78;color:#fff;-webkit-text-fill-color:#fff;}
html[data-neway-theme="light"] body #customers .customer-stat{background:#f7f8fa;border-color:#e0e3e8;}
html[data-neway-theme="light"] body #customers .customer-stat strong{color:#202027;}
html[data-neway-theme="light"] body #customers .customer-stat span{color:#59616c;}
html[data-neway-theme="light"] body #customers .customer-profile-field{background:#fafbfc;border-color:#e2e5e9;}
html[data-neway-theme="light"] body #customers .customer-profile-field span{color:#59616c;}
html[data-neway-theme="light"] body #customers .customer-profile-section{border-color:#e5e7eb;}
html[data-neway-theme="light"] body #customers .customer-avatar-8821{border-color:#d7dce4;box-shadow:0 4px 12px rgba(24,24,34,.08);}
html[data-neway-theme="light"] body #customers .customer-avatar-editor-8821{background:#fafbfc;border-color:#e1e5ea;}
html[data-neway-theme="light"] body #customers .customer-avatar-editor-copy-8821>span{color:#59616c;-webkit-text-fill-color:#59616c;}
html[data-neway-theme="light"] body #customers .customer-profile-note{background:#f8f9fb;border-color:#e1e4e8;color:#2b3037;}
html[data-neway-theme="light"] body #customers .customer-alias-list span{background:#f5f6f8;border-color:#d9dee5;color:#303640;}
html[data-neway-theme="light"] body #customers .customer-profile-form input,
html[data-neway-theme="light"] body #customers .customer-profile-form select,
html[data-neway-theme="light"] body #customers .customer-profile-form textarea{background:#fff;border-color:#d8dde4;color:#202027;-webkit-text-fill-color:#202027;}
html[data-neway-theme="light"] body #customers .customer-profile-form :is(input,select,textarea):disabled{background:#f2f4f7;color:#6d7580;-webkit-text-fill-color:#6d7580;}
html[data-neway-theme="light"] body #customers .customer-phone-warning{background:#fff8e8;border-color:#ebcc84;color:#74510a;}

@media (max-width:700px){
  #customers .customer-hierarchy-head-8378{align-items:flex-start;}
  #customers .customer-title-row-8378{align-items:flex-start;gap:10px;}
  #customers .customer-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  #customers .customer-profile-grid,#customers .customer-form-grid{grid-template-columns:1fr;}
  #customers .customer-birthday-inputs{grid-template-columns:74px 74px minmax(0,1fr);}
}

@media (max-width:520px){
  #customers .customer-detail-identity-8821{gap:9px;}
  #customers .customer-avatar-head-8821{width:48px;height:48px;font-size:17px;}
  #customers .customer-avatar-editor-8821{align-items:flex-start;gap:11px;padding:11px;}
  #customers .customer-avatar-edit-8821{width:72px;height:72px;font-size:23px;}
  #customers .customer-avatar-editor-actions-8821{gap:6px;}
  #customers .customer-search-row{grid-template-columns:1fr;}
  #customers .customer-search-row button{width:100%;}
  #customers .customer-custom-range{grid-template-columns:1fr;}
  #customers .customer-card h3{font-size:17px;}
  #customers .customer-detail{padding:12px;border-radius:17px;}
  #customers .customer-detail-head{align-items:flex-start;}
  #customers .customer-detail-actions{gap:6px;}
  #customers .customer-detail-tabs{gap:4px;padding:3px;}
  #customers .customer-detail-tab{font-size:12px;padding:7px 5px;}
  #customers .customer-stat{min-height:72px;padding:10px;}
  #customers .customer-stat strong{font-size:21px;}
  #customers .customer-birthday-inputs{grid-template-columns:1fr 1fr;}
  #customers .customer-birthday-inputs input{grid-column:1/-1;}
  #customers .customer-form-actions{grid-template-columns:1fr 1.45fr;}
}
