.customer-stage-trigger{cursor:pointer;border:1px solid #0000;align-items:center;gap:4px;display:inline-flex}.customer-stage-trigger>span{opacity:.6;font-size:10px}.customer-stage-trigger:hover{border-color:currentColor}.customer-stage-trigger:focus-visible,.customer-avatar:focus-visible{outline-offset:3px;outline:2px solid #087f70}.customer-stage-popup{z-index:200;background:#fff;border:1px solid #dce6e5;border-radius:10px;width:320px;max-width:calc(100vw - 16px);padding:6px;position:fixed;overflow:auto;box-shadow:0 6px 24px #193e3b24}.customer-stage-popup>small{color:#74878a;font-size:12px}.customer-stage-options{gap:4px;display:flex}.customer-stage-options>button{border-radius:6px;flex:1;justify-content:center;align-items:center;min-width:0;padding:0;display:flex}.customer-stage-options>button:hover,.customer-stage-options>button:focus-visible{background:#f0f7f5;outline:1px solid #a5cdc5}.customer-quick-error{color:#b63434;overflow-wrap:anywhere;margin-top:8px;font-size:12px}.customer-quick-error button{color:#087f70;padding:5px 0;display:block}.customer-list-page .customer-avatar{color:#087f70;background:#edf6f2;border:1px solid #dce9e5;border-radius:12px;flex:0 0 64px;justify-content:center;align-items:center;width:64px;height:64px;padding:0;font-size:26px;font-weight:600;display:flex;position:relative;overflow:hidden}.customer-avatar img{object-fit:cover;width:100%;height:100%}.customer-avatar-edit{color:#087f70;opacity:0;background:#fffdf0;border-top-left-radius:6px;width:16px;height:16px;font-size:12px;line-height:16px;position:absolute;bottom:0;right:0}.customer-avatar:hover .customer-avatar-edit,.customer-avatar:focus-visible .customer-avatar-edit{opacity:1}.customer-avatar-editor{max-width:420px!important}.customer-avatar-preview{color:#087f70;background:#edf6f2;border:1px solid #dce9e5;border-radius:20px;justify-content:center;align-items:center;width:160px;height:160px;margin:8px auto;font-size:56px;display:flex;overflow:hidden}.customer-avatar-preview img{object-fit:cover;width:100%;height:100%}.customer-avatar-upload{gap:8px;font-size:13px;display:grid}.customer-avatar-upload input{width:100%;font-size:12px}.customer-list-page .customer-identity{min-width:296px}.customer-list-page .customer-identity:has(.customer-avatar){min-width:296px}.customer-stage-options>button .status{white-space:nowrap;text-align:center;border:1px solid #0000;border-radius:5px;width:100%;padding:5px 3px;font-size:12px;line-height:18px}.customer-stage-options>button[aria-checked=true] .status{border-color:currentColor;font-weight:600}.customer-stage-popup>small[role=status]{margin-top:5px;display:block}.customer-advanced-filters{flex-basis:100%;min-width:0}@media (width<=700px),(width<=1000px) and (height<=500px){body .customer-list-page{flex-direction:column;gap:10px;min-width:0;display:flex}body .customer-list-page>.customer-filter-bar{display:contents!important}body .customer-list-page .customer-search{order:0;gap:4px;display:grid;margin:0!important}body .customer-list-page>.customer-task-bar{order:1;gap:6px;margin:0!important}body .customer-list-page .mobile-filter-group{order:3;margin:0!important}body .customer-list-page>.customer-list-tools{flex-wrap:wrap;order:2;align-items:center;gap:6px;display:flex;margin:0!important}body .customer-list-page>.customer-filter-chips{order:4;margin:0!important}body .customer-list-page>.customer-filter-chips:empty{display:none}body .customer-list-page>.data-grid{order:5;min-width:0}body .customer-list-page .sales-list-toolbar{flex:100%;justify-content:space-between;align-items:center;gap:8px;display:flex;margin:0!important}body .customer-list-page .sales-list-toolbar>span{white-space:nowrap;flex:1;font-size:13px}body .customer-list-page .sales-list-toolbar>label{align-items:center;gap:6px;margin:0;font-size:12px;display:flex;width:auto!important}body .customer-list-page .sales-list-toolbar select{min-width:0;width:142px!important}body .customer-list-page .customer-batch-toggle{flex:none}body .customer-list-page .customer-batch-bar{background:#edf6f3;border-radius:8px;flex-wrap:wrap;flex:100%;order:3;margin:0;padding:8px;display:flex}body .customer-list-page .customer-list-management{min-width:0;margin-left:auto}body .customer-list-page .customer-list-management>summary{cursor:pointer;color:#617b80;justify-content:center;align-items:center;min-height:44px;padding:0 10px;font-size:13px;display:flex}body .customer-list-page .customer-list-management>summary:after{content:" ▾";margin-left:6px}body .customer-list-page .customer-list-management[open]{flex-basis:100%;margin-left:0}body .customer-list-page .customer-list-management>div{flex-wrap:wrap;gap:6px;display:flex}body .customer-list-page .customer-advanced-filters{grid-column:1/-1;width:100%}body .customer-list-page .data-grid-cards{gap:10px;display:grid}body .cm-card{color:#203b40;background:#fff;border:1px solid #dce7e7;border-radius:12px;min-width:0;padding:12px;font-size:14px;line-height:1.5}body .cm-card.is-selected{border-color:#087f72;box-shadow:inset 3px 0 #087f72}body .cm-card *{box-sizing:border-box;min-width:0}body .cm-card p{margin:0}body .cm-identity{grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:10px;display:grid;position:relative}body .cm-identity .customer-avatar{border-radius:10px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;font-size:22px!important}body .cm-name>button{text-align:left;color:#087f72;overflow-wrap:anywhere;width:100%;min-height:44px;padding:0;font-size:16px;font-weight:650;line-height:1.35;display:block}body .cm-name>p{color:#617b80;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}body .cm-stage{max-width:86px;padding-top:0}body .cm-stage button{white-space:normal;min-height:44px!important;padding:6px 8px!important;font-size:12px!important}body .cm-select{color:#617b80;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex;margin:0!important}body .cm-select input{margin:0;width:20px!important;height:20px!important;min-height:20px!important}body .cm-contact-state{border-top:1px solid #edf1f1;border-bottom:1px solid #edf1f1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin:10px 0;padding:7px 0;font-size:13px;display:flex}body .cm-contact-state small,body .cm-owner{color:#617b80;overflow-wrap:anywhere;font-size:12px}body .cm-owner{max-width:100%}body .cm-followup{margin-top:8px}body .cm-followup.is-empty{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:6px;display:grid}body .cm-name>button>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}body .cm-section-label{color:#617b80;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 8px;font-size:12px;display:flex}body .cm-section-label time{font-variant-numeric:tabular-nums;font-size:11px}body .cm-card .cm-preview,body .cm-card .cm-empty{text-align:left;align-items:center;width:100%;min-height:44px;padding:4px 0;font-size:14px;line-height:1.5;display:flex}body .cm-preview>span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}body .cm-empty{color:#829599}body .cm-due{font-variant-numeric:tabular-nums;font-size:12px}body .cm-due.is-today{color:#087f72;font-weight:600}body .cm-due.is-overdue{color:#b64035;font-weight:600}body .cm-card .cm-other-plans{color:#087f72;text-align:left;min-height:44px;padding:4px 0;font-size:12px}body .cm-actions{border-top:1px solid #edf1f1;align-items:center;gap:8px;margin-top:4px;padding-top:10px;display:flex}body .cm-actions>button:not(.row-more-trigger){flex:1;min-height:44px;font-size:14px;padding:8px!important}body .cm-actions>.row-more-trigger{flex:0 0 44px;width:44px;height:44px}body .cm-more{margin-top:4px}body .cm-more>summary{cursor:pointer;color:#617b80;justify-content:center;align-items:center;min-height:44px;font-size:12px;list-style:none;display:flex}body .cm-more>summary::-webkit-details-marker{display:none}body .cm-more .cm-collapse-label,body .cm-more[open] .cm-expand-label{display:none}body .cm-more[open] .cm-collapse-label{display:inline}body .cm-more-content{overflow-wrap:anywhere;border-top:1px solid #edf1f1;gap:12px;padding-top:10px;display:grid}body .cm-more-content p{white-space:pre-wrap}body .cm-facts{grid-template-columns:1fr 1fr;gap:10px;display:grid}body .cm-facts>div{align-content:start;gap:6px;display:grid}body .cm-business{gap:4px;display:grid}body .cm-business button{text-align:left;overflow-wrap:anywhere;color:#087f72;min-height:44px;font-size:13px}}.customer-detail-compact{gap:12px!important;width:min(1180px,100% - 24px)!important;max-width:calc(100% - 24px)!important;padding:20px!important}.customer-detail-compact>[data-slot=dialog-header]{padding-bottom:12px;gap:5px!important}.customer-detail-compact [data-slot=dialog-title]{overflow-wrap:anywhere;padding-right:35px;font-size:22px;line-height:1.35}.customer-detail-compact [data-slot=dialog-description]{font-size:13px;line-height:1.5}.customer-detail-compact .customer-detail-actions{background:0 0;gap:8px;margin:6px 0 0;padding:0;display:flex;position:static}.customer-detail-compact button{min-height:30px}.customer-detail-compact .customer-detail-actions>button,.customer-detail-compact nav button{height:34px;padding:0 10px;font-size:13px}.customer-detail-compact .supplier-tabs{flex-wrap:wrap;gap:4px;margin:0;padding:0 0 8px;display:flex}.customer-detail-labels{flex-wrap:wrap;gap:5px;display:flex}.customer-detail-labels:empty{display:none}.customer-detail-labels>span{color:#537077;font-size:12px}.customer-detail-subnav{flex-wrap:wrap;gap:6px;display:flex}.customer-summary-metrics{color:#74878a;border-bottom:1px solid #dce6e5;flex-wrap:wrap;gap:10px 24px;padding:10px 0;font-size:12px;display:flex}.customer-summary-metrics strong{color:#203e45;margin-left:6px;font-size:14px}.customer-summary-grid{grid-template-columns:minmax(0,1.85fr) minmax(240px,1fr);gap:20px;display:grid}.customer-summary-grid h3{margin:0 0 8px;font-size:14px;line-height:1.5}.customer-summary-main>section{border-bottom:1px solid #e5edeb;padding:12px 0}.customer-summary-grid p{white-space:pre-wrap;overflow-wrap:anywhere;color:#36545a;font-size:13px;line-height:1.6}.customer-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0;display:grid}.customer-contact-grid dt,.customer-summary-meta dt{color:#74878a;font-size:12px}.customer-contact-grid dd,.customer-summary-meta dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:13px}.customer-contact-grid button{height:24px;min-height:24px;margin-left:4px;padding:0 6px;font-size:11px}.customer-summary-text .clamped{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.customer-summary-text button{height:26px;padding:0 4px;font-size:12px}.customer-summary-next,.customer-summary-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-summary-next>div{min-width:0}.customer-summary-next button{flex-shrink:0}.customer-summary-next small{color:#74878a;font-size:12px}.customer-summary-heading button{height:30px;padding:0 6px;font-size:12px}.customer-summary-heading>div{flex-wrap:wrap;gap:4px;display:flex}.customer-summary-business h3 small{color:#74878a;font-size:12px;font-weight:400}.customer-summary-business>div{gap:4px;display:grid}.customer-summary-business>div>button{text-align:left;cursor:pointer;background:#f8fbfa;border:1px solid #dce9e6;border-radius:6px;grid-template-columns:minmax(115px,1fr) minmax(110px,1fr) auto;align-items:center;gap:8px;width:100%;min-height:36px;padding:5px 8px;display:grid}.customer-summary-business>div>button span{color:#126e62;font-size:12px;font-weight:600}.customer-summary-business>div>button strong{text-overflow:ellipsis;white-space:nowrap;color:#27464e;min-width:0;font-size:12px;overflow:hidden}.customer-summary-business>div>button small,.customer-summary-business>small{color:#72858a;font-size:11px}.customer-summary-business>div>button:hover{background:#f2f9f7;border-color:#8cbdb5}.customer-summary-business>div>button:focus-visible{outline-offset:2px;outline:2px solid #087f70}.customer-summary-aside{border-left:1px solid #e5edeb;min-width:0;padding:12px 0 0 18px}.customer-summary-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 12px;display:grid}.customer-summary-images figure{min-width:0;margin:0}.customer-summary-images img{object-fit:contain;background:#f4f7f7;border:1px solid #e3ebeb;border-radius:7px;width:100%;height:112px}.customer-summary-images figcaption{color:#74878a;overflow-wrap:anywhere;margin-top:4px;font-size:11px;line-height:1.5}.customer-summary-images .product-image-trigger{display:block}.customer-summary-empty{padding:12px 0}.customer-summary-meta{border-top:1px solid #e5edeb;gap:10px;margin:16px 0 0;padding-top:12px;display:grid}.customer-detail-compact .customer-inquiry-compact{border:0;border-top:1px solid #dce6e5;border-radius:0;padding:8px 0}.customer-inquiry-compact .oc-toolbar{gap:8px;margin:0}.customer-inquiry-compact h3{font-size:13px}.customer-inquiry-compact button{height:30px;padding:0 8px;font-size:12px}@media (width<=700px){.customer-detail-compact{padding:14px!important}.customer-summary-grid{grid-template-columns:1fr;gap:8px}.customer-summary-aside{border-top:1px solid #e5edeb;border-left:0;padding:12px 0}.customer-summary-images{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-summary-images img{height:90px}.customer-contact-grid{grid-template-columns:1fr}.customer-detail-compact [data-slot=dialog-title]{font-size:19px}}@media (width<=420px){.customer-summary-images{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.customer-summary-business>div>button{grid-template-columns:1fr auto}.customer-summary-business>div>button strong{grid-column:1}.customer-summary-business>div>button small{grid-area:1/2/3}}.customer-files>.product-image-trigger{border:1px solid #e3eae7;border-radius:8px;gap:6px;width:110px;padding:6px;display:grid}.customer-files>.product-image-trigger small{overflow-wrap:anywhere;white-space:normal}.customer-contact-grid a{color:#087f70;text-underline-offset:3px;text-decoration:underline}.customer-detail-drawer.customer-detail-compact{--dialog-inset:20px}.customer-detail-drawer.customer-detail-compact h3{margin:0 0 8px;font-size:14px}.customer-detail-drawer.customer-detail-compact .customer-inquiry-compact h3{margin:0;font-size:13px}@media (width<=700px){.customer-detail-drawer.customer-detail-compact{--dialog-inset:14px}}
