:root{--wa-primary: #25d366;--wa-primary-dark: #128c7e;--wa-secondary: #075e54;--wa-background: #e9edef;--wa-surface: #ffffff;--wa-muted: #54656f;--wa-text: #0b141a}body.customers-page .form-control{display:block;width:100%;padding:8px 12px;font-size:.95rem;line-height:1.5;color:var(--wa-text);background:#fff;border:1px solid #ced4da;border-radius:8px;transition:border-color .15s ease-in-out;box-sizing:border-box}body.customers-page .form-control:focus{border-color:var(--wa-primary);outline:0;box-shadow:0 0 0 2px #25d36626}body.customers-page .form-control:disabled{background:#e9ecef;opacity:.7}body.customers-page textarea.form-control{resize:vertical}body.customers-page .btn-outline-secondary{background:transparent;color:var(--wa-muted);border:1px solid #ced4da}body.customers-page .btn-outline-secondary:hover:not(:disabled){background:#f1f3f5;border-color:#adb5bd}body.customers-page .btn-outline-success{background:transparent;color:var(--wa-primary-dark);border:1px solid var(--wa-primary)}body.customers-page .btn-outline-success:hover:not(:disabled){background:#25d36614}body.customers-page .field-error{color:#dc3545;font-size:.85rem;margin-top:8px}body.customers-page .tab-pane-label{color:var(--wa-muted);font-size:.85rem;margin-bottom:8px}body.customers-page .tab-pane-label--caps{text-transform:uppercase}body.customers-page .customer-field-block,body.customers-page .customer-notes-block{margin-bottom:16px}body.customers-page .customer-field-actions{display:flex;justify-content:flex-end}body.customers-page .customer-detail-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}body.customers-page .customer-edit-actions{display:flex;gap:8px}body.customers-page .customer-dialog{border:none;border-radius:20px;padding:0;max-width:720px;width:92%;max-height:90vh;overflow-y:auto;background:#fff;box-shadow:0 12px 40px #075e542e}body.customers-page .customer-dialog::backdrop{background:#00000073;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body.customers-page .customer-dialog .dialog-close{background:none;border:none;font-size:1.3rem;cursor:pointer;padding:4px 8px;line-height:1;color:inherit;opacity:.8}body.customers-page .customer-dialog .dialog-close:hover{opacity:1}body.customers-page .customer-dialog--detail{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2000;display:none;flex-direction:column;max-height:90vh;overflow:hidden}body.customers-page .customer-dialog--detail[open]{display:flex}body.customers-page .customer-dialog--detail .modal-header{flex-shrink:0}body.customers-page .customer-dialog--detail .modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}body.customers-page .customer-dialog--detail .modal-footer{flex-shrink:0}body.customers-page .customer-dialog-backdrop{display:none;position:fixed;inset:0;z-index:1999;background:#00000073;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body.customers-page .customer-dialog-backdrop.active{display:block}@media(max-width:575.98px){body.customers-page .customer-dialog--detail{width:100%;max-width:100%;max-height:100%;height:100%;border-radius:0;background:#f5f6f7;top:0;left:0;transform:none}}body.customers-page{background:#f5f6f7;color:var(--wa-text);min-height:100vh;font-feature-settings:"cv02","cv03","cv04";display:block}body.customers-page .layout-root{min-height:100vh;display:flex;flex-direction:column}body.customers-page .layout-shell{max-width:1100px;margin:0 auto;padding:24px clamp(16px,4vw,32px) 72px;display:flex;flex-direction:column;gap:28px;overflow-x:clip}body.customers-page .customers-hero{background:transparent;box-shadow:none;border:none;padding:0}body.customers-page .customers-hero .hero-main{display:flex;flex-direction:column;gap:2px;min-width:0}body.customers-page .customers-hero .hero-header--actions-only{justify-content:flex-end}body.customers-page .customers-hero .hero-pill-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 16px;border-radius:999px;border:1px solid rgba(7,94,84,.15);background:#fff;color:var(--wa-secondary);font-weight:600;font-size:.85rem;cursor:pointer;transition:background .15s ease}body.customers-page .customers-hero .hero-pill-btn:hover{background:#f1f3f5}body.customers-page .customers-hero .customers-search-toggle{padding:8px 12px;font-size:.95rem;line-height:1}body.customers-page .customers-hero .customers-search-toggle[aria-expanded=true]{background:#f1f3f5}body.customers-page .customers-dashboard{display:flex;flex-direction:column;gap:24px}body.customers-page .customer-list-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px}body.customers-page .customers-hero .customers-search{flex:1;display:flex;align-items:center;gap:8px;padding:0 14px;height:38px;border-radius:10px;border:1px solid rgba(7,94,84,.15);background:#fff;margin-top:8px}body.customers-page .customers-hero .customers-search:focus-within{border-color:var(--wa-primary)}body.customers-page .customers-hero .customers-search .search-icon{position:static;color:var(--wa-muted);font-size:1rem;opacity:1}body.customers-page .customers-hero .customers-search .search-input{border:none;background:transparent;outline:none;width:100%;font-size:.9rem;color:var(--wa-text)}body.customers-page .customers-hero .customers-search .search-input::placeholder{color:var(--wa-muted)}.customer-contact-panel,.customer-contact-grid{display:flex;flex-direction:column;gap:16px}.customer-field{display:flex;flex-direction:column;gap:4px}.customer-field-label{font-size:.85rem;font-weight:600;color:var(--wa-muted)}.customer-field-view{min-height:38px;display:flex;align-items:center;padding:4px 0;font-weight:500;color:var(--wa-text);word-break:break-word}.customer-field-input{font-size:.95rem}.customer-notes-field textarea{min-height:80px}.customer-notes-field .customer-field-view{white-space:pre-wrap}.customer-modal[data-mode=edit] .customer-field-view{display:none}.customer-modal[data-mode=view] .customer-field-input,.customer-modal[data-mode=view] .customer-edit-actions{display:none!important}.customer-modal[data-mode=edit] #editCustomerBtn{display:none}body.customers-page .customers-dashboard .page-sections{display:flex;flex-direction:column;gap:24px}body.customers-page .section-card{background:#fff;border-radius:18px;border:1px solid rgba(7,94,84,.08);box-shadow:none;padding:clamp(16px,3vw,22px);display:flex;flex-direction:column;gap:18px}.data-warning-banner{display:none;margin:0 0 1rem;padding:.85rem 1rem;border-radius:14px;background:#f871711f;border:1px solid rgba(185,28,28,.22);color:#7f1d1d;font-weight:600}.data-warning-banner.visible{display:block}body.customers-page .section-head{display:flex;flex-direction:column;gap:6px}body.customers-page .section-head h2{margin:0;font-size:1.12rem;font-weight:700;letter-spacing:-.005em;color:var(--wa-secondary)}body.customers-page .section-head p{margin:0;font-size:.95rem;color:var(--wa-muted)}body.customers-page .customers-kpis{display:flex;flex-direction:column;gap:12px}body.customers-page .segment-filters{padding:12px 0 0;border-top:1px solid rgba(7,94,84,.08)}body.customers-page .segment-filters-label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#54656fcc;font-weight:600}body.customers-page .customer-modal-kpis{margin-top:18px}body.customers-page .customers-kpis .kpi-row{display:flex;gap:10px;overflow-x:auto;padding:4px 0;scroll-snap-type:x proximity}body.customers-page .customers-kpis .kpi-row::-webkit-scrollbar{display:none}body.customers-page .customers-kpis .kpi-card{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;flex:0 0 auto;border-radius:999px;border:1px solid rgba(7,94,84,.12);background:#fff;color:var(--wa-secondary);box-shadow:none;transition:background .15s ease,border-color .15s ease,color .15s ease;scroll-snap-align:start}body.customers-page .customers-kpis .kpi-card .stat-label{font-size:.92rem;font-weight:600;color:inherit}body.customers-page .customers-kpis .kpi-card .stat-value{font-size:.82rem;font-weight:500;color:#54656fcc}body.customers-page .customers-kpis .kpi-card.active{background:var(--wa-secondary);border-color:var(--wa-secondary);color:#fff;box-shadow:none}body.customers-page .customers-kpis .kpi-card.active .stat-value{color:#ffffffd9}body.customers-page .customers-list-panel{display:flex;flex-direction:column;gap:22px}body.customers-page .customers-list{display:flex;flex-direction:column;gap:8px;padding:4px 0 8px}body.customers-page .customers-list .message{padding:32px 0;border-radius:14px;background:#075e540a;border:1px dashed rgba(7,94,84,.18);text-align:center;color:var(--wa-muted);font-weight:500}body.customers-page .customer-card{border-radius:14px;border:1px solid rgba(7,94,84,.08);background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:8px;transition:background .15s ease,border-color .15s ease}body.customers-page .customer-card:hover{cursor:pointer;background:#fafbfb;border-color:#075e542e}body.customers-page .customer-card .card-head{display:flex;align-items:center;gap:12px}body.customers-page .customer-card .customer-identity-text{flex:1;min-width:0}body.customers-page .customer-card .customer-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}body.customers-page .customer-card .customer-name{font-size:1rem;font-weight:600;color:var(--wa-secondary);letter-spacing:-.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.customers-page .customer-card .customer-phone{font-size:.82rem;color:#54656fbf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.customers-page .reachability-pill{display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;line-height:1;padding:2px 4px;border-radius:6px;cursor:help}body.customers-page .reachability-pill--installed{background:#10b9811a}body.customers-page .reachability-pill--no-push{background:#f59e0b1f;opacity:.85}body.customers-page .attention-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;background:#54656f1f;color:#54656fd9;white-space:nowrap;flex-shrink:0}body.customers-page .attention-badge.overdue{background:#fab0052e;color:#b45309}body.customers-page .attention-badge.inactive{background:#075e541a;color:var(--wa-secondary)}body.customers-page .attention-badge.top{background:#25d3662e;color:var(--wa-secondary)}body.customers-page .segment-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 12px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:#25d36626;color:var(--wa-secondary);white-space:nowrap}body.customers-page .segment-pill.top{background:#25d36638}body.customers-page .segment-pill.owing{background:#fab0052e;color:#b45309}body.customers-page .segment-pill.inactive{background:#54656f24;color:#54656fe6}body.customers-page .customer-card .customer-avatar{width:36px;height:36px;border-radius:10px;background:var(--wa-secondary);color:#fff;font-weight:700;font-size:.9rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:none}body.customers-page .customer-card .card-stats{display:flex;align-items:center;gap:6px;flex-wrap:wrap}body.customers-page .last-activity{font-size:.85rem;color:var(--wa-secondary)}body.customers-page .last-activity.inactive{color:#b45309}body.customers-page .stat-sep{color:#54656f66;font-size:.85rem}body.customers-page a.card-credit{text-decoration:none}body.customers-page a.card-credit:hover{filter:brightness(.96)}body.customers-page .card-credit{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 10px;border-radius:8px;background:#fab00514;border-left:3px solid rgba(250,176,5,.45)}body.customers-page .card-credit.card-credit--overdue{background:#dc26260f;border-left-color:#dc262680}body.customers-page .credit-outstanding{font-size:.82rem;font-weight:600;color:#92400e}body.customers-page .card-credit--overdue .credit-outstanding{color:#b91c1c}body.customers-page .credit-overdue{font-size:.75rem;font-weight:700;color:#dc2626;background:#dc26261f;padding:1px 6px;border-radius:4px}body.customers-page .credit-due{font-size:.78rem;color:#54656fa6;margin-left:auto}body.customers-page .credit-due.credit-due--late{color:#b91c1c}body.customers-page dialog.customer-modal{border-radius:20px;border:none;background:#fff;box-shadow:0 12px 40px #075e542e}body.customers-page dialog.customer-modal .modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:none;border-radius:20px 20px 0 0;background:var(--wa-secondary);color:#fff;position:sticky;top:0;z-index:10}@media(max-width:575.98px){body.customers-page dialog.customer-modal{border-radius:0;background:#f5f6f7}body.customers-page dialog.customer-modal .modal-header{border-radius:0}}body.customers-page .modal-header-identity{display:flex;align-items:center;gap:14px;min-width:0}body.customers-page .modal-header-avatar{width:44px;height:44px;border-radius:14px;background:#ffffff38;color:#fff;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}body.customers-page dialog.customer-modal .modal-header .modal-title{font-size:1.05rem;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}body.customers-page dialog.customer-modal .modal-header .dialog-close{opacity:.8;flex-shrink:0;color:#fff}body.customers-page dialog.customer-modal .modal-footer{border:none;padding:18px 28px;background:transparent}body.customers-page dialog.customer-modal .modal-body{padding:0 24px 28px}body.customers-page .customer-modal-overview{display:flex;flex-direction:column;gap:10px;padding:10px 4px 8px}body.customers-page .modal-overview-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px}body.customers-page .modal-meta-stats{font-size:.9rem;font-weight:600;color:var(--wa-secondary)}body.customers-page .modal-meta-last{font-size:.85rem;color:var(--wa-muted)}body.customers-page .modal-credit-alert{display:flex;align-items:center;gap:6px;padding:10px 16px;border-radius:12px;background:#fab00524;border:1px solid rgba(250,176,5,.4);color:#92400e;font-size:.9rem;font-weight:500}body.customers-page .modal-credit-alert #modalCreditAmount{font-weight:700}body.customers-page .customer-priority-actions{display:flex;gap:10px}body.customers-page .customer-priority-actions .btn{flex:1;border-radius:14px;font-weight:600;padding:10px 0}body.customers-page .customer-tabs{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid rgba(7,94,84,.1);background:#fff;position:sticky;top:0;z-index:2}body.customers-page .customer-tabs .tab{flex:1;padding:8px 0;font-size:.95rem;font-weight:500;background:none;border:none;color:var(--wa-muted);border-bottom:2px solid transparent;transition:color .2s ease,border-color .2s ease}body.customers-page .customer-tabs .tab.active{color:var(--wa-secondary);border-bottom-color:var(--wa-primary);font-weight:600}body.customers-page .todays-opportunities{max-width:1100px;margin:0 auto;padding:20px clamp(16px,4vw,32px) 0}body.customers-page .todays-opportunities .section-heading{font-size:1rem;font-weight:700;color:var(--wa-secondary);margin:0 0 4px}body.customers-page .todays-opportunities .section-subheading{font-size:.88rem;color:var(--wa-muted);margin:0 0 14px}body.customers-page .todays-opportunities.is-empty{padding-top:0;padding-bottom:0}body.customers-page .todays-opportunities.is-empty .section-heading{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:500;color:var(--wa-muted);margin:0}body.customers-page .todays-opportunities.is-empty .section-heading:before{content:"✓";color:var(--wa-primary);font-weight:700}body.customers-page .todays-opportunities.is-empty .section-subheading{display:none}body.customers-page .opportunities-list{display:flex;flex-direction:column;gap:12px}body.customers-page .opportunity-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-radius:14px;border:1px solid rgba(7,94,84,.08);border-left:3px solid var(--wa-primary);background:#fff;cursor:pointer;transition:background .15s ease,border-color .15s ease}body.customers-page .opportunity-card:hover{background:#fafbfb;border-color:#075e542e;border-left-color:var(--wa-primary)}body.customers-page .opportunity-identity{display:flex;align-items:center;gap:12px;min-width:0}body.customers-page .opportunity-reason{font-size:.82rem;color:var(--wa-muted);margin-top:2px}body.customers-page .opportunities-empty{font-size:.88rem;color:var(--wa-muted);margin:0;padding:10px 2px}body.customers-page .opportunity-wa-btn{flex-shrink:0;border-radius:12px;font-weight:600;font-size:.82rem;padding:6px 14px}body.customers-page .customer-marketing-tools{max-width:1100px;margin:0 auto;padding:16px clamp(16px,4vw,32px) 0}body.customers-page .customer-marketing-tools .section-heading{font-size:1rem;font-weight:700;color:var(--wa-secondary);margin:0 0 4px}body.customers-page .customer-marketing-tools .section-subheading{font-size:.88rem;color:var(--wa-muted);margin:0 0 12px}body.customers-page .reengage-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}body.customers-page .reengage-count{font-size:.85rem;color:var(--wa-muted);font-weight:500}body.customers-page .reengage-toggle-btn{border-radius:12px;font-weight:600;font-size:.82rem}body.customers-page .promo-queue{margin-top:14px;display:flex;flex-direction:column;gap:10px}body.customers-page .promo-queue-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:14px;border:1px solid rgba(7,94,84,.1);background:#fffffff5}body.customers-page .promo-queue-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1}body.customers-page .promo-queue-identity .customer-avatar{flex-shrink:0}body.customers-page .promo-queue-name{font-size:.9rem;font-weight:600;color:var(--wa-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.customers-page .promo-queue-meta{font-size:.78rem;color:var(--wa-muted);margin-top:2px}body.customers-page .promo-queue-actions{flex-shrink:0}body.customers-page .promo-queue-actions .btn{border-radius:12px;font-weight:600;font-size:.82rem;padding:6px 14px}body.customers-page .promo-queue-footer{font-size:.82rem;color:var(--wa-muted);text-align:center;padding:4px 0}body.customers-page .promo-queue-empty{font-size:.85rem;color:var(--wa-muted);padding:14px 0}body.customers-page .card-actions{display:flex;gap:8px;padding-top:10px;border-top:1px solid rgba(7,94,84,.06)}body.customers-page .card-action-btn{font-size:.82rem;padding:4px 12px;border-radius:10px;border:1px solid rgba(7,94,84,.15);background:transparent;cursor:pointer;font-weight:500;color:var(--wa-secondary);transition:background .15s}body.customers-page .card-action-btn:hover{background:#075e540f}body.customers-page .card-action-btn.wa-btn{background:var(--grad-cta-whatsapp, var(--wa-primary, #25d366));color:#fff;border-color:transparent;font-weight:700}body.customers-page .card-action-btn.wa-btn:hover{background:var(--wa-primary-dark, #128c7e)}body.customers-page .card-action-btn.note-btn{border-color:transparent;background:transparent;color:var(--wa-muted, #64748b);padding:4px 6px}body.customers-page .card-action-btn.note-btn:hover{background:transparent;color:var(--wa-secondary, #0f172a);text-decoration:underline}body.customers-page .segment-pill.new{background:#25d3662e;color:var(--wa-secondary)}body.customers-page .segment-pill.label{background:#6366f124;color:#4338ca}body.customers-page .segment-pill.followup{background:#fab0052e;color:#b45309}body.customers-page .modal-tab-content{display:flex;flex-direction:column;gap:16px}body.customers-page .tab-pane{display:none}body.customers-page .tab-pane.active{display:block}body.customers-page .tab-pane-card{border:1px solid rgba(7,94,84,.08);border-radius:18px;padding:12px 14px;background:#fffffff2;box-shadow:inset 0 1px #075e540a}body.customers-page .tab-pane-card h6{font-size:.95rem;font-weight:600;color:var(--wa-secondary);margin-bottom:12px}body.customers-page .customer-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}body.customers-page .customer-info-card{border:1px solid rgba(7,94,84,.08);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;background:#075e5405}body.customers-page .customer-info-label{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:#54656fd9;font-weight:600}body.customers-page .customer-info-value{font-size:.95rem;color:var(--wa-secondary);word-break:break-word}body.customers-page .customer-info-value a{color:var(--wa-primary-dark);text-decoration:none}body.customers-page .customer-info-value a:hover{text-decoration:underline}body.customers-page .timeline-list,body.customers-page .marketing-list,body.customers-page .credit-list,body.customers-page .delivery-list{display:flex;flex-direction:column;gap:0}body.customers-page .marketing-list .list-group-item,body.customers-page .credit-list .list-group-item,body.customers-page .delivery-list .list-group-item{border:1px solid rgba(7,94,84,.08);border-radius:14px;padding:10px 12px;background:#fffffff2}body.customers-page .timeline-card{padding:10px 0;border-bottom:1px solid rgba(7,94,84,.07)}body.customers-page .timeline-card:last-child{border-bottom:none}body.customers-page .timeline-card.clickable{cursor:pointer}body.customers-page .timeline-card.clickable:hover .timeline-title-text{color:var(--wa-primary-dark);text-decoration:underline}body.customers-page .timeline-row{display:flex;gap:10px;align-items:flex-start}body.customers-page .timeline-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}body.customers-page .timeline-main{display:flex;justify-content:space-between;align-items:baseline;gap:8px}body.customers-page .timeline-title-text{font-size:.9rem;font-weight:600;color:var(--wa-secondary)}body.customers-page .timeline-time{font-size:.78rem;color:#54656fa6;white-space:nowrap;flex-shrink:0}body.customers-page .timeline-secondary{font-size:.82rem;color:#54656fd9}body.customers-page .timeline-info-line{font-size:.8rem;color:#54656fb3}body.customers-page .timeline-note{font-size:.82rem;color:#54656fbf;font-style:italic}body.customers-page .timeline-items{list-style:none;padding-left:0;margin:4px 0 0;display:flex;flex-direction:column;gap:2px;font-size:.82rem;color:#54656fd9}body.customers-page .timeline-items li{display:flex;justify-content:space-between}body.customers-page .timeline-items-more{color:#54656f99;font-style:italic}body.customers-page .timeline-entry{border-left:3px solid rgba(7,94,84,.2);padding-left:12px}body.customers-page .timeline-entry .title{font-weight:600;color:var(--wa-secondary)}body.customers-page .timeline-entry .meta{font-size:.85rem;color:#54656fcc}body.customers-page dialog.customer-modal .modal-footer{border-top:1px solid rgba(7,94,84,.08)}body.customers-page dialog.customer-modal .modal-footer .btn{border-radius:16px;padding-inline:18px}@media(max-width:900px){body.customers-page .layout-shell{padding:22px 22px 80px}}@media(max-width:700px){body.customers-page .layout-shell{padding:18px 16px 80px}body.customers-page .customers-dashboard .page-sections{gap:20px}body.customers-page .customer-list-tools{flex-direction:column;align-items:stretch}body.customers-page .customers-search{width:100%}body.customers-page .customers-kpis .kpi-row{gap:8px;padding:0}body.customers-page dialog.customer-modal{border-radius:24px 24px 0 0;min-height:92vh}body.customers-page dialog.customer-modal .modal-header{padding:14px 18px;position:sticky;top:0;z-index:10;border-radius:24px 24px 0 0}body.customers-page dialog.customer-modal .modal-footer{padding:12px 18px;background:#fffffff2;position:sticky;bottom:0;border-top:1px solid rgba(7,94,84,.08);z-index:10}body.customers-page dialog.customer-modal .modal-body{padding:12px 16px 16px}}@media(max-width:520px){body.customers-page .layout-shell{padding:16px 14px 80px;gap:22px}body.customers-page .customers-kpis .kpi-card .stat-label{font-size:.88rem}body.customers-page .customers-kpis .kpi-card .stat-value{font-size:.78rem}body.customers-page .section-card{padding:18px 16px;gap:18px}body.customers-page .customer-card{padding:12px 14px;gap:8px}}body.customers-page .smart-segments{max-width:1100px;margin:0 auto;padding:20px clamp(16px,4vw,32px) 0}body.customers-page .smart-segments-inner{display:flex;flex-direction:column;gap:20px}body.customers-page .segment-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}body.customers-page .segment-section-title{font-size:1rem;font-weight:700;color:var(--wa-secondary);margin:0}body.customers-page .segment-view-all{background:none;border:none;color:var(--wa-primary-dark);font-size:.88rem;font-weight:600;cursor:pointer;padding:4px 8px;border-radius:8px;transition:background .15s ease}body.customers-page .segment-view-all:hover{background:#075e5414}body.customers-page .segment-scroll{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 0 8px;-webkit-overflow-scrolling:touch}body.customers-page .segment-scroll::-webkit-scrollbar{display:none}body.customers-page .segment-mini-card{flex:0 0 auto;width:160px;border-radius:16px;border:1px solid rgba(7,94,84,.1);background:#fffffff5;padding:14px;display:flex;flex-direction:column;gap:8px;cursor:pointer;scroll-snap-align:start;transition:transform .15s ease,box-shadow .15s ease}body.customers-page .segment-mini-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #075e5426}body.customers-page .segment-mini-card .mini-avatar{width:36px;height:36px;border-radius:10px;background:var(--wa-secondary);color:#fff;font-weight:700;font-size:.9rem;display:flex;align-items:center;justify-content:center}body.customers-page .segment-mini-card .mini-name{font-size:.88rem;font-weight:600;color:var(--wa-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.customers-page .segment-mini-card .mini-detail{font-size:.78rem;color:var(--wa-muted)}body.customers-page .customer-lifetime-sales{font-size:.85rem;font-weight:600;color:var(--wa-secondary)}body.customers-page .timeline-event-icon{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0}body.customers-page .timeline-event-icon.sale{background:#25d36626}body.customers-page .timeline-event-icon.order{background:#3b82f626}body.customers-page .timeline-event-icon.payment{background:#10b98126}body.customers-page .timeline-event-icon.interaction{background:#6366f126}body.customers-page .timeline-event-icon.wa{background:#25d3661f;display:flex;align-items:center;justify-content:center}body.customers-page .timeline-wa-icon{width:20px;height:20px;flex-shrink:0}body.customers-page .timeline-wa-preview{font-size:.84rem;color:var(--wa-secondary, #333);line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}body.customers-page .wa-card.expandable{cursor:pointer}body.customers-page .timeline-wa-full{font-size:.84rem;color:var(--wa-secondary, #333);line-height:1.5;white-space:pre-wrap;word-break:break-word}body.customers-page .wa-card.unsent{border-left:3px solid #f59e0b;background:#f59e0b0a}body.customers-page .timeline-event-icon.wa.unsent svg{fill:#9ca3af}body.customers-page .wa-unsent-badge{font-size:.7rem;font-weight:600;color:#f59e0b;background:#f59e0b1f;padding:1px 7px;border-radius:8px;white-space:nowrap}body.customers-page .wa-send-now-btn{display:inline-block;margin-top:6px;padding:4px 14px;font-size:.78rem;font-weight:600;color:#fff;background:#25d366;border:none;border-radius:8px;cursor:pointer}body.customers-page .wa-send-now-btn:disabled{background:#9ca3af;cursor:default}body.customers-page .timeline-card .timeline-title{display:flex;align-items:flex-start;gap:10px}@media(max-width:520px){body.customers-page .segment-mini-card{width:140px;padding:12px}}
