.customer-board .card-head small,.customer-detail .card-head small{color:#8491a8;margin-top:5px;display:block}.customer-guides{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:18px 20px;display:grid}.customer-guides button{text-align:left;color:#63738e;cursor:pointer;background:#f7faff;border:1px solid #e4ebf6;border-radius:12px;padding:15px}.customer-guides strong{color:#142b58;margin-top:8px;font-size:25px;display:block}.customer-guides button.active{background:#edf3ff;border-color:#4475ff}.customer-toolbar{flex-wrap:wrap;gap:10px;padding:0 20px 18px;display:flex}.customer-toolbar input{flex:1;min-width:200px}.customer-toolbar input,.customer-toolbar select,.customer-timeline-tools input,.customer-timeline-tools select{color:#526581;background:#fff;border:1px solid #dce5f4;border-radius:9px;padding:10px 12px}.customer-follow-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 20px 20px;display:grid}.customer-follow-card{background:linear-gradient(155deg,#fff,#fafcff);border:1px solid #e3eaf5;border-radius:13px;min-width:0;padding:18px}.customer-card-heading,.customer-card-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-card-heading small{color:#8491a8;margin-top:5px;font-size:11px;display:block}.customer-follow-card .register-tags{margin:12px 0}.customer-contact-line{color:#667994;overflow-wrap:anywhere;font-size:11px}.customer-last-follow{background:#f4f7fc;border-radius:9px;min-height:94px;margin:12px 0;padding:12px}.customer-last-follow small{color:#8996aa;font-size:10px;display:block}.customer-last-follow strong{margin:7px 0;font-size:13px;display:block}.customer-last-follow p{color:#62718a;white-space:pre-wrap;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;display:-webkit-box;overflow:hidden}.customer-card-footer b,.customer-card-footer small{margin-top:4px;font-size:11px;display:block}.customer-card-footer small{color:#8a99af}.overdue-text{color:#eb5e71}.customer-board-note{padding:0 20px 18px}.customer-import{font-size:12px;position:relative}.customer-import summary{cursor:pointer}.customer-import[open]{gap:10px;display:grid}.customer-progress-summary{background:#f7faff;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:18px 22px;display:grid}.customer-progress-summary small,.customer-progress-summary span{color:#8190a6;font-size:11px;display:block}.customer-progress-summary strong{overflow-wrap:anywhere;margin:8px 0;font-size:14px;display:block}.customer-tabs{border-bottom:1px solid #e7edf6;gap:20px;padding:12px 20px 0;display:flex}.customer-tabs button{color:#7b8aa5;cursor:pointer;background:0 0;border:0;padding:10px 3px 13px}.customer-tabs button.active{color:#2f68ee;border-bottom:2px solid #3c70f4}.customer-follow-hub{grid-template-columns:minmax(0,1.2fr) minmax(300px,.85fr);gap:28px;padding:22px;display:grid}.customer-timeline-tools{gap:10px;margin-bottom:20px;display:flex}.customer-timeline-tools input{flex:1;min-width:0}.customer-timeline{border-left:2px solid #e2ebfc;max-height:650px;padding-left:14px;overflow-y:auto}.customer-timeline article{padding:0 12px 24px 16px;position:relative}.customer-timeline article:before{content:"";background:#6389ee;border:3px solid #eef3ff;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;left:-20px}.customer-timeline small{color:#8a99af;font-size:11px}.customer-timeline h3{margin:8px 0;font-size:14px}.customer-timeline p{white-space:pre-wrap;color:#586c8c;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.customer-follow-form{background:#f7faff;border-radius:12px;align-content:start;gap:13px;padding:18px;display:grid}.customer-follow-form h3{margin:0 0 5px;font-size:14px}.customer-follow-form label{color:#5d7294;gap:6px;font-size:12px;display:grid}.customer-follow-form input,.customer-follow-form select,.customer-follow-form textarea{color:#203d69;background:#fff;border:1px solid #dce5f4;border-radius:8px;width:100%;min-width:0;padding:10px 12px}.customer-follow-form summary{color:#7390b6;cursor:pointer;font-size:12px}.customer-follow-form details[open]{gap:12px;display:grid}.customer-linked-order{border-bottom:1px solid #edf2fa;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.customer-linked-order small{color:#8997ab;margin-top:6px;font-size:11px;display:block}@media (max-width:900px){.customer-guides{gap:7px;padding:15px}.customer-guides button{padding:10px}.customer-follow-list,.customer-follow-hub{grid-template-columns:1fr}.customer-progress-summary{grid-template-columns:1fr 1fr}.customer-toolbar{padding:0 15px 15px}}@media (max-width:550px){.customer-guides{grid-template-columns:repeat(3,1fr)}.customer-follow-list{padding:0 12px 12px}.customer-progress-summary{grid-template-columns:1fr}.customer-board .card-head{flex-direction:column;align-items:flex-start;gap:12px}.customer-follow-hub{padding:14px}}.customer-toolbar{grid-template-columns:minmax(190px,1.6fr) repeat(6,minmax(95px,1fr));align-items:center;gap:10px;display:grid}.customer-toolbar input,.customer-toolbar select{width:100%;min-width:0;height:40px;font-size:14px}.customer-toolbar input::placeholder{color:#7a8ba4}.customer-toolbar select{padding-right:28px}.customer-toolbar input:focus,.customer-toolbar select:focus{outline-offset:1px;border-color:#6e96ed;outline:2px solid #b7ccff}@media (max-width:1200px){.customer-toolbar{grid-template-columns:repeat(6,minmax(0,1fr))}.customer-toolbar>input{grid-column:1/-1}}@media (max-width:1050px){.customer-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:650px){.customer-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:420px){.customer-toolbar{grid-template-columns:1fr}}.customer-card-heading small,.customer-card-footer small,.customer-progress-summary small,.customer-progress-summary span,.customer-timeline small,.customer-linked-order small,.customer-last-follow small{color:var(--muted);font-size:13px}.customer-contact-line,.customer-last-follow p,.customer-timeline p,.customer-card-footer b{color:#526987;font-size:14px}.customer-follow-form label{font-size:14px}.customer-follow-form summary,.customer-import{font-size:13px}.customer-detail{overflow:visible}.customer-follow-form{align-self:start;gap:10px;padding:16px 16px 6px;position:relative;overflow:visible;container:customer-follow-panel/inline-size}.customer-follow-form>h3{border-top:1px solid #e2eaf6;margin:3px 0 0;padding-top:11px;font-size:16px;line-height:1.5}.customer-follow-form label{gap:5px;min-width:0;margin:0;line-height:1.5}.customer-follow-form>.form-grid{gap:10px;margin:0}.customer-follow-form textarea{resize:vertical;scroll-margin-bottom:96px;line-height:1.6}.customer-follow-form input,.customer-follow-form select{min-height:40px;scroll-margin-bottom:96px}.customer-follow-needs textarea{min-height:74px}.customer-follow-needs textarea:read-only{color:#738199;background:#f1f4f9}.customer-follow-next{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;display:grid}.customer-follow-next>.form-note{grid-column:1/-1;margin:0;padding:8px 10px;font-size:12px;line-height:1.5}.customer-follow-extra{margin:0;padding:2px 0}.customer-follow-extra>summary{padding:5px 0;line-height:1.5}.customer-follow-extra[open]{gap:9px!important}.customer-follow-actions{z-index:2;padding:10px 0 max(8px,env(safe-area-inset-bottom));background:#f7faff;border-top:1px solid #e2eaf6;align-items:center;gap:6px;margin:1px 0 0;display:grid;position:sticky;bottom:0;box-shadow:0 -6px 10px #f7faff}.customer-follow-actions>small{color:#8190a6;font-size:12px;line-height:1.4}.customer-follow-actions>.primary-button{width:100%;min-height:42px;font-size:14px}@container customer-follow-panel (min-width:430px){.customer-follow-next{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}@media (max-width:550px){.customer-follow-form{gap:9px;padding:13px 13px 4px}.customer-follow-form>.form-grid{gap:9px}.customer-follow-actions{padding-top:9px}.customer-follow-actions>small{font-size:12px}}.customer-grade-badge{color:#4c6894;white-space:nowrap;vertical-align:middle;background:#edf3fd;border:1px solid #cedcf4;border-radius:8px;justify-content:center;align-items:center;gap:4px;min-height:30px;padding:4px 9px;line-height:1.3;display:inline-flex}.customer-grade-badge b{font-size:16px;font-weight:800}.customer-grade-badge>span{font-size:12px}.customer-grade-badge.grade-a{color:#966414;background:linear-gradient(135deg,#fff8db,#ffedbf);border-color:#e7bb63;box-shadow:0 2px 7px #bd842215}.customer-grade-badge.grade-a b{font-size:19px;font-weight:900}.customer-grade-badge.grade-a .customer-grade-star{color:#c68a14;font-size:16px}.customer-grade-badge.grade-c{color:#718198;background:#f3f6fa;border-color:#dce3ed}.customer-card-tags{align-items:center;gap:7px!important}.customer-card-tags .customer-grade-badge{margin-right:3px}.customer-overview-profile{min-width:0}.customer-overview-tags{flex-wrap:wrap;gap:6px;margin:8px 0 10px;display:flex}.customer-overview-tags .badge{white-space:normal;line-height:1.4;font-size:13px!important}.customer-progress-summary .customer-grade-badge{margin:0;display:inline-flex}.customer-progress-summary .customer-grade-badge>span{color:inherit;font-size:12px;display:inline}.customer-progress-summary .customer-grade-badge .customer-grade-star{font-size:16px}.customer-overview-grade{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.customer-overview-grade>small{font-size:13px}.customer-source-empty{color:#8a99af;font-size:13px}.customer-entry-form .customer-grade-preview{flex-wrap:wrap;align-items:center;gap:8px;min-height:40px;display:flex}.customer-grade-preview>small{color:#7b8da7;font-size:12px;line-height:1.5}.customer-entry-form{grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:18px;min-width:0;display:grid}.customer-entry-main,.customer-entry-side{align-content:start;gap:12px;min-width:0;display:grid}.customer-entry-side{background:#f8faff;border:1px solid #e2e9f3;border-radius:10px;padding:14px}.customer-entry-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;display:grid}.customer-entry-form .customer-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px 16px;margin:0}.customer-entry-form .customer-entry-main>.customer-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-entry-form label{align-self:start;gap:6px;min-width:0;margin:0}.customer-entry-form .customer-entry-grid>label{flex-direction:column;justify-content:flex-start;display:flex}.customer-entry-form input:not([type=checkbox]),.customer-entry-form select{width:100%;min-width:0;height:40px;min-height:40px;padding:8px 11px;line-height:1.5}.customer-entry-form label>small{color:var(--muted);margin:-2px 0 0;font-size:13px;line-height:1.45;display:block}.customer-entry-main>.simple-more{margin:0}.customer-entry-main>.simple-more>summary{padding:4px 0}.customer-entry-main>.simple-more[open]>label{margin-top:7px}.customer-entry-main>.form-note{margin:0;padding:8px 10px;font-size:12px;line-height:1.55}.customer-entry-side>.register-types{border:0;border-bottom:1px solid #e2e9f3;border-radius:0;gap:7px 9px;min-width:0;margin:0;padding:6px 0 10px}.customer-entry-side>.register-types legend{padding:0;font-weight:600;line-height:1.5}.customer-entry-form .register-types label{align-self:center;gap:5px}.customer-entry-form .register-types .inline-actions{flex:100%;gap:8px;min-width:0;margin-top:2px}.customer-entry-form .register-types .inline-actions>input{flex:1;min-width:0}.customer-entry-form textarea{resize:vertical;min-height:64px;padding:8px 11px;line-height:1.5}.customer-entry-form>.error-banner{grid-column:1/-1;margin:0}.modal.business-modal.customer-entry-modal{flex-direction:column;width:1180px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);display:flex;overflow:hidden}.customer-entry-modal>.modal-head{flex-shrink:0;margin:0;padding:16px 20px;position:relative;top:auto}.customer-entry-modal>form{overscroll-behavior:contain;min-height:0;padding:16px 20px 0;scroll-padding-bottom:90px;overflow-y:auto}.customer-entry-modal>form>.check-label{margin:12px 0}.customer-entry-modal>form>.form-actions{z-index:11;background:#fff;border-top:1px solid #e2e9f3;margin:12px 0 0;padding:12px 0 16px;position:sticky;bottom:0;box-shadow:0 -10px 16px #fff}@media (max-width:1000px){.customer-entry-form{grid-template-columns:minmax(0,1fr)}.customer-entry-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.customer-entry-side>.customer-entry-grid{grid-column:1/-1}.customer-entry-side>.register-types{border-bottom:0;padding-bottom:0}}@media (max-width:700px){.customer-entry-form .customer-entry-main>.customer-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal.business-modal.customer-entry-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.customer-entry-modal>.modal-head{padding:14px 16px}.customer-entry-modal>form{padding:14px 16px 0}}@media (max-width:550px){.customer-entry-form,.customer-entry-main,.customer-entry-side{gap:11px}.customer-entry-form .customer-entry-grid,.customer-entry-form .customer-entry-main>.customer-entry-grid,.customer-entry-notes,.customer-entry-side{grid-template-columns:minmax(0,1fr);gap:10px}.customer-entry-side>.register-types{border-bottom:1px solid #e2e9f3;padding:6px 0 10px}.customer-entry-modal>form>.form-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}}.customer-date-filters{grid-template-columns:minmax(0,1fr) minmax(380px,1fr);align-items:end;gap:14px;padding:0 20px 14px;display:grid}.customer-date-shortcuts{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.customer-date-shortcuts>span{color:var(--muted);flex:100%;font-size:13px;line-height:1.5}.customer-date-shortcuts .date-presets{flex-wrap:wrap;gap:6px;display:flex}.customer-date-shortcuts button{white-space:nowrap;min-height:34px;padding:6px 10px;font-size:13px}.customer-date-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.customer-date-inputs label{color:#526581;gap:5px;min-width:0;margin:0;font-size:13px;display:grid}.customer-date-inputs input{color:#294768;width:100%;min-width:0;height:40px;font:inherit;background:#fff;border:1px solid #dce5f4;border-radius:9px;padding:8px 10px}.customer-date-inputs input:focus{outline-offset:1px;border-color:#6e96ed;outline:2px solid #b7ccff}@media (max-width:1000px){.customer-date-filters{grid-template-columns:minmax(0,1fr);gap:10px}.customer-date-shortcuts>span{flex:none;margin-right:4px}}@media (max-width:900px){.customer-date-filters{padding:0 15px 14px}}@media (max-width:550px){.customer-date-shortcuts>span{flex-basis:100%}.customer-date-inputs{grid-template-columns:minmax(0,1fr)}}.customer-toolbar{grid-template-columns:minmax(190px,1.6fr) repeat(7,minmax(95px,1fr));align-items:end}.customer-toolbar .customer-grade-filter{color:#526581;gap:5px;min-width:0;margin:0;font-size:13px;display:grid}.customer-card-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.customer-card-status .badge{white-space:normal}@media (max-width:1200px){.customer-toolbar{grid-template-columns:repeat(5,minmax(0,1fr))}.customer-toolbar>input{grid-column:span 3}}@media (max-width:1050px){.customer-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-toolbar>input{grid-column:span 2}}@media (max-width:650px){.customer-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-toolbar>input{grid-column:1/-1}}@media (max-width:420px){.customer-toolbar{grid-template-columns:1fr}.customer-toolbar>input{grid-column:auto}}.customer-date-filters{grid-template-columns:minmax(0,1fr)}.customer-date-top{grid-template-columns:minmax(0,1fr) minmax(230px,320px);align-items:end;gap:14px;min-width:0;display:grid}.customer-whatsapp-filter{color:#526581;gap:5px;min-width:0;margin:0;font-size:13px;display:grid}.customer-whatsapp-filter select{color:#294768;width:100%;min-width:0;height:40px;font:inherit;text-overflow:ellipsis;background:#fff;border:1px solid #dce5f4;border-radius:9px;padding:8px 28px 8px 10px}.customer-whatsapp-filter select:focus{outline-offset:1px;border-color:#6e96ed;outline:2px solid #b7ccff}@media (max-width:720px){.customer-date-top{grid-template-columns:minmax(0,1fr);gap:10px}}.customer-board-rows .card-head{padding:16px 20px}.customer-board-rows .customer-guides{flex-wrap:wrap;gap:8px;padding:14px 20px;display:flex}.customer-board-rows .customer-guides button{background:#fff;border-radius:8px;flex:140px;align-items:center;gap:10px;min-height:44px;padding:9px 13px;display:flex}.customer-board-rows .customer-guides button small{white-space:nowrap;font-size:13px}.customer-board-rows .customer-guides strong{font-variant-numeric:tabular-nums;margin:0 0 0 auto;font-size:21px;line-height:1.2;display:inline}.customer-board-rows .customer-guides button.active{background:#edf3ff}.customer-board-rows .customer-follow-list{border:1px solid #e3eaf5;border-radius:10px;margin:0 20px 16px;padding:0;display:block;overflow:hidden}.customer-list-heading,.customer-board-rows .customer-follow-card{grid-template-columns:minmax(175px,1.25fr) minmax(135px,.95fr) minmax(205px,1.6fr) minmax(130px,.9fr) 96px;align-items:center;column-gap:16px;display:grid}.customer-list-heading{color:#70809a;background:#f6f8fc;border-bottom:1px solid #e3eaf5;padding:11px 14px;font-size:13px;font-weight:600}.customer-list-heading>span:last-child{text-align:right}.customer-board-rows .customer-follow-card{background:#fff;border:0;border-bottom:1px solid #e8edf5;border-radius:0;min-width:0;padding:13px 14px}.customer-board-rows .customer-follow-card:last-child{border-bottom:0}.customer-board-rows .customer-follow-card:hover{background:#f9fbff}.customer-board-rows .customer-card-heading{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:7px;min-width:0;display:flex}.customer-board-rows .customer-card-heading>div{min-width:0;max-width:100%}.customer-board-rows .customer-card-heading .register-code{-webkit-line-clamp:2;text-align:left;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:15px;font-weight:700;line-height:1.5;display:-webkit-box;overflow:hidden}.customer-board-rows .customer-card-heading small{overflow-wrap:anywhere;margin-top:3px;font-size:13px;line-height:1.4}.customer-board-rows .customer-card-status{justify-content:flex-start}.customer-board-rows .customer-card-status .badge{font-size:12px;line-height:1.4}.customer-board-rows .customer-follow-card .customer-card-tags{place-content:center flex-start;min-width:0;margin:0;gap:5px!important}.customer-board-rows .customer-card-tags .badge{white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.customer-board-rows .customer-card-tags .customer-grade-badge{margin-right:2px}.customer-board-rows .customer-last-follow{background:0 0;border-radius:0;min-width:0;min-height:0;margin:0;padding:0}.customer-board-rows .customer-last-follow small{font-size:12px;line-height:1.5}.customer-board-rows .customer-last-follow strong{color:#253e62;overflow-wrap:anywhere;margin:3px 0;font-size:14px;line-height:1.5}.customer-board-rows .customer-last-follow p{color:#6a7c95;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.customer-board-rows .customer-card-footer{display:contents}.customer-board-rows .customer-card-footer>div{min-width:0}.customer-board-rows .customer-card-footer>div>small:first-child{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.customer-board-rows .customer-card-footer b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.5}.customer-board-rows .customer-card-footer b.overdue-text{color:#d34c60}.customer-board-rows .customer-card-footer small{overflow-wrap:anywhere;font-size:12px;line-height:1.5}.customer-board-rows .customer-card-footer>.primary-button{white-space:nowrap;justify-self:end;min-height:36px;padding:8px 11px;font-size:13px}.customer-board-rows .customer-board-note{margin-top:0;padding-bottom:14px;font-size:12px}@media (min-width:1450px){.customer-board-rows .customer-date-filters{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.customer-board-rows .customer-date-top{grid-template-columns:minmax(0,1fr) minmax(180px,220px);gap:10px}}@media (max-width:1200px){.customer-board-rows .customer-follow-list{overflow:visible}.customer-list-heading{display:none}.customer-board-rows .customer-follow-card{grid-template-columns:minmax(160px,1.1fr) minmax(190px,1.5fr) minmax(140px,.9fr);gap:8px 16px}.customer-board-rows .customer-card-heading{grid-area:1/1}.customer-board-rows .customer-card-tags{grid-area:2/1}.customer-board-rows .customer-last-follow{grid-area:1/2/3}.customer-board-rows .customer-card-footer>div{grid-area:1/3}.customer-board-rows .customer-card-footer>div>small:first-child{clip-path:none;white-space:normal;width:auto;height:auto;margin:0 0 3px;position:static;overflow:visible}.customer-board-rows .customer-card-footer>.primary-button{grid-area:2/3;justify-self:start}}@media (max-width:850px){.customer-board-rows .customer-guides{gap:6px;padding:12px 14px}.customer-board-rows .customer-guides button{flex:125px;min-height:40px;padding:8px 10px}.customer-board-rows .customer-guides strong{font-size:19px}.customer-board-rows .customer-follow-list{margin:0 14px 14px}.customer-board-rows .customer-follow-card{grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:14px}.customer-board-rows .customer-card-heading{grid-area:1/1}.customer-board-rows .customer-card-tags{grid-area:2/1/auto/-1}.customer-board-rows .customer-last-follow{grid-area:3/1/auto/-1}.customer-board-rows .customer-card-footer>div{flex-wrap:wrap;grid-area:4/1/auto/-1;align-items:baseline;gap:8px;display:flex}.customer-board-rows .customer-card-footer>div>small:first-child{margin:0}.customer-board-rows .customer-card-footer>.primary-button{grid-area:1/2;justify-self:end}}main:has(>.customer-detail-workspace){padding-top:12px}main:has(>.customer-detail-workspace)>.page-heading{display:none}.customer-detail-workspace{gap:0}.customer-detail-workspace>.back-button{min-height:24px;margin:0 0 8px;padding:4px 0}.customer-detail-compact{box-shadow:none;background:0 0;border:0;min-width:0}.customer-detail-header{background:#fff;border:1px solid #dfe7f4;border-radius:11px;grid-template-columns:minmax(0,1fr) minmax(170px,220px);align-items:center;gap:18px;margin-bottom:12px;padding:13px 16px;display:grid}.customer-detail-identity{gap:7px;min-width:0;display:grid}.customer-detail-title,.customer-detail-meta{align-items:center;gap:9px;min-width:0;display:flex}.customer-detail-title h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:19px;font-weight:750;line-height:1.4;overflow:hidden}.customer-detail-title .badge{white-space:nowrap;flex-shrink:0}.customer-detail-title>.text-button{white-space:nowrap;margin-left:auto;padding:0;font-size:12px}.customer-detail-meta{color:#7284a0;flex-wrap:wrap;gap:6px 12px;font-size:12px}.customer-detail-meta>.customer-overview-profile,.customer-detail-meta .customer-overview-tags,.customer-detail-meta .customer-overview-grade{flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.customer-detail-meta .customer-overview-profile>small,.customer-detail-meta .customer-overview-grade>small{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.customer-detail-meta .customer-grade-badge{border-radius:5px;gap:3px;min-height:23px;padding:2px 6px}.customer-detail-meta .customer-grade-badge b,.customer-detail-meta .customer-grade-badge.grade-a b{font-size:14px}.customer-detail-meta .customer-grade-badge>span,.customer-detail-meta .customer-grade-badge.grade-a .customer-grade-star{font-size:12px}.customer-detail-meta .customer-overview-tags .badge{font-size:12px!important}.customer-detail-next{border-left:1px solid #e1e9f4;min-width:0;padding-left:16px}.customer-detail-next>div{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.customer-detail-next small,.customer-detail-next .text-button{color:#7588a6;font-size:12px}.customer-detail-next .text-button{color:#3269e8;padding:0}.customer-detail-next strong{overflow-wrap:anywhere;font-size:14px;line-height:1.4}.customer-detail-columns{grid-template-columns:minmax(0,1fr) minmax(410px,1.05fr);align-items:start;gap:14px;display:grid}.customer-detail-columns.customer-detail-readonly{grid-template-columns:minmax(0,1fr)}.customer-detail-left{background:#fff;border:1px solid #dfe7f4;border-radius:11px;flex-direction:column;min-width:0;height:clamp(435px,100dvh - 240px,680px);display:flex;overflow:hidden}.customer-detail-needs{border-bottom:1px solid #e5ecf6;padding:13px 14px 10px}.customer-detail-needs label{color:#294467;gap:6px;margin:0;font-size:13px;font-weight:600;display:grid}.customer-detail-needs textarea{resize:vertical;background:#fafcff;height:56px;min-height:56px;max-height:115px;padding:7px 9px;font-size:13px;font-weight:400;line-height:1.5}.customer-detail-needs p{white-space:pre-wrap;max-height:90px;font-size:13px;font-weight:400;line-height:1.5;overflow:auto}.customer-detail-left>.customer-tabs{flex-shrink:0;gap:14px;padding:0 12px;overflow-x:auto}.customer-detail-left>.customer-tabs button{white-space:nowrap;padding:11px 0 10px;font-size:12px}.customer-detail-tab-content{flex:1;min-height:0;padding:12px 14px;overflow:auto}.customer-detail-tab-content .detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0}.customer-detail-tab-content .detail-facts strong{overflow-wrap:anywhere}.customer-detail-tab-content .customer-linked-order{flex-wrap:wrap;gap:10px;padding:12px 0}.customer-detail-tab-content .detail-note{padding:12px 0}.customer-history-panel,.customer-history-slot{flex-direction:column;flex:1;min-height:0;display:flex}.customer-history-slot[hidden]{display:none}.customer-history-panel>.customer-timeline-tools{flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:10px 14px}.customer-history-panel .customer-timeline-tools label{white-space:nowrap;flex-direction:row;align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.customer-history-panel .customer-timeline-tools select{width:auto;min-width:110px;height:32px;padding:6px 25px 6px 9px;font-size:12px}.customer-history-panel .customer-timeline-tools>span{color:#8091a8;white-space:nowrap;font-size:12px}.customer-history-panel>.customer-timeline{overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:auto;border:0;flex:1;min-height:0;max-height:none;margin:0 14px;padding:0;overflow:auto}.customer-history-panel .customer-timeline article{border-top:1px solid #edf1f7;padding:10px 0}.customer-history-panel .customer-timeline article:first-child{border-top:0;padding-top:0}.customer-history-panel .customer-timeline article:before{display:none}.customer-history-panel .customer-timeline h3{margin:4px 0;font-size:13px}.customer-history-panel .customer-timeline small{font-size:12px}.customer-history-panel .customer-timeline p{margin:4px 0;font-size:13px;line-height:1.5}.customer-history-panel>.error-banner{margin:0 12px 6px;padding:8px 10px;font-size:12px}.customer-history-empty{text-align:center;color:#526987;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;min-height:150px;padding:16px;display:flex}.customer-history-empty strong{color:#253e62;font-size:14px}.customer-history-empty p{font-size:12px;line-height:1.5}.customer-history-scroll-status{color:#7284a0;border-top:1px solid #e8edf6;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.customer-history-scroll-status>span:last-child{text-align:right}.customer-history-panel>.customer-timeline:focus-visible{outline-offset:-2px;border-radius:4px;outline:2px solid #90b4ff}.customer-detail-compact .customer-follow-form{background:#fff;border:1px solid #dfe7f4;border-radius:11px;gap:8px;padding:14px;container-type:normal}.customer-detail-compact .customer-follow-form>h3{border:0;margin:0 0 3px;padding:0;font-size:15px;line-height:1.4}.customer-follow-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;display:grid}.customer-detail-compact .customer-follow-form label{gap:4px;font-size:13px;line-height:1.4}.customer-detail-compact .customer-follow-form input,.customer-detail-compact .customer-follow-form select{height:36px;min-height:36px;padding:7px 9px;scroll-margin-bottom:14px;font-size:13px}.customer-detail-compact .customer-follow-form textarea{padding:8px 9px;scroll-margin-bottom:14px;font-size:13px;line-height:1.5}.customer-detail-compact .customer-follow-form>label>textarea{height:76px;min-height:76px;max-height:160px}.customer-detail-compact .customer-follow-next{grid-template-columns:minmax(0,1fr);gap:6px}.customer-detail-compact .customer-follow-next .form-note{padding:6px 8px;font-size:12px}.customer-detail-compact .customer-follow-extra{max-height:175px;padding:0;overflow:auto}.customer-detail-compact .customer-follow-extra>summary{padding:5px 0;font-size:12px}.customer-detail-compact .customer-follow-extra[open]{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.customer-detail-compact .customer-follow-extra>summary{grid-column:1/-1}.customer-detail-compact .customer-follow-extra textarea{min-height:50px}.customer-detail-compact .customer-follow-actions{box-shadow:none;background:#fff;gap:6px;margin:2px 0 0;padding:8px 0 0;position:static}.customer-detail-compact .customer-follow-actions>.primary-button{min-height:38px;padding:8px 12px;font-size:14px}.customer-detail-compact .customer-follow-actions>small{font-size:12px}.customer-detail-compact .customer-follow-form>.error-banner,.customer-detail-compact .customer-follow-form>.business-success{margin:0;padding:7px 9px;font-size:12px;line-height:1.4}.customer-required{color:#e35c67;font-weight:400}@media (max-width:1050px){.customer-detail-columns{grid-template-columns:minmax(0,.9fr) minmax(350px,1.1fr);gap:10px}.customer-detail-header{grid-template-columns:minmax(0,1fr) 170px;gap:12px}.customer-detail-left>.customer-tabs{gap:10px;padding:0 10px}.customer-detail-needs{padding:12px}.customer-history-scroll-status{padding:9px 10px}.customer-follow-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-follow-fields>label:last-child{grid-column:1/-1}}@media (max-width:850px){.customer-detail-columns{grid-template-columns:minmax(0,1fr)}.customer-detail-columns>.customer-follow-form{grid-row:1}.customer-detail-left{height:500px}.customer-follow-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-follow-fields>label:last-child{grid-column:auto}}@media (max-width:550px){.customer-detail-header{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}.customer-detail-title h2{font-size:17px}.customer-detail-title{flex-wrap:wrap}.customer-detail-title h2{max-width:100%}.customer-detail-next{border-top:1px solid #e5ecf6;border-left:0;justify-content:space-between;align-items:center;gap:10px;padding:9px 0 0;display:flex}.customer-detail-next>div{gap:10px;margin:0}.customer-detail-next strong{font-size:13px}.customer-detail-compact .customer-follow-form{padding:12px}.customer-follow-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-follow-fields>label:last-child{grid-column:1/-1}.customer-detail-meta{gap:6px}.customer-history-scroll-status{flex-wrap:wrap}}
.purchase-assets{margin:16px 0}.purchase-assets td small,.purchase-assets td strong,.purchase-history article small{display:block}.purchase-assets td small{color:var(--muted,#657184);margin-top:5px;font-size:12px}.purchase-assets td{vertical-align:top;min-width:100px}.purchase-assets-note{padding:0 22px}.purchase-pagination{justify-content:flex-end;align-items:center;gap:12px;padding:18px;display:flex}.purchase-history{padding:22px}.purchase-history article{border-top:1px solid var(--border,#e4e8ef);padding:15px 0}.purchase-history article>div{flex-wrap:wrap;gap:15px;display:flex}.purchase-import{border:1px solid var(--border,#dfe5ec);background:var(--surface,#fff);border-radius:14px;margin:0 20px 20px;padding:20px}.purchase-import fieldset{border:0;gap:14px;min-width:0;padding:0;display:grid}.purchase-import-batch,.purchase-preview{border-top:1px solid var(--border,#e4e8ef);margin-top:22px;padding-top:18px}.purchase-preview>.primary-button{margin-top:16px}.purchase-import h3,.purchase-import h4{margin:0 0 12px}.purchase-import .check-label{margin:12px 0}.purchase-assets-tabs{margin:14px 0}.purchase-assets .customer-toolbar{padding:12px 22px}@media (max-width:700px){.purchase-import{margin:0 10px 12px;padding:12px}.purchase-pagination{flex-wrap:wrap}.purchase-assets>.card-head{flex-direction:column;align-items:flex-start;gap:12px}}
.order-save-progress{color:#17365d;background:#f7faff;border:1px solid #d8e4f4;border-radius:12px;margin:14px 0;padding:16px}.order-save-progress>strong{font-size:16px}.order-save-progress p,.order-save-progress>small{color:#5b718c;font-size:13px;line-height:1.6}.order-save-progress ul{max-height:230px;margin:10px 0;padding:0;list-style:none;overflow:auto}.order-save-progress li{border-bottom:1px solid #e4ecf5;grid-template-columns:minmax(0,1fr) auto;gap:5px 16px;padding:8px 0;font-size:14px;display:grid}.order-save-progress li>span{overflow-wrap:anywhere}.order-save-progress li>small{color:#ac3a2c;grid-column:1/-1;font-size:13px}.save-status{white-space:nowrap;font-size:13px}.save-status.succeeded{color:#16836a}.save-status.failed{color:#b94b25}.save-status.pending{color:#6f7e91}.save-status.running{color:#245fdb}
