.cp-page{color:#2b3c51}.cp-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:26px}.cp-heading h1{font-size:25px;font-weight:650;margin:3px 0 6px;overflow-wrap:anywhere}.cp-heading p{font-size:13px;color:#8a99aa;margin:0}.cp-heading>button{flex:none;font-size:13px;padding:10px 17px}.cp-eyebrow{font-size:11px;letter-spacing:.6px;color:#8295ab}.cp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:23px}.cp-stats>div{background:#fff;border:1px solid #e4ebf3;border-radius:9px;padding:20px 24px}.cp-stats span{display:block;color:#899aaf;font-size:12px;margin-bottom:10px}.cp-stats strong{font-size:26px;font-weight:600;color:#465f7a;font-variant-numeric:tabular-nums}.cp-stats small{font-size:12px;font-weight:400;color:#98a7b8}.cp-panel{overflow:hidden}.cp-search{display:flex;align-items:flex-end;gap:13px;padding:23px}.cp-search>label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;font-size:12px;color:#7f90a4}.cp-search input{width:100%;font-size:13px;min-height:40px}.cp-search>button{font-size:13px;min-height:40px;white-space:nowrap}.cp-list-title{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 23px;border-top:1px solid #edf1f6;background:#fcfdff}.cp-list-title strong{font-size:13px;font-weight:500}.cp-list-title>span{font-size:12px;color:#94a3b5;text-align:right}.cp-table-wrap{overflow-x:auto;width:100%}.cp-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.cp-table th{padding:13px 16px;background:#f7f9fc;color:#8393a6;font-weight:500;white-space:nowrap;border-bottom:1px solid #edf1f6}.cp-table td{padding:20px 16px;color:#5b7087;border-bottom:1px solid #edf1f6;vertical-align:middle}.cp-table th:first-child,.cp-table td:first-child{padding-left:23px}.cp-table th:last-child,.cp-table td:last-child{padding-right:23px}.cp-table tr:last-child td{border-bottom:0}.cp-table button.link{font-size:12px;white-space:nowrap}.cp-table .cp-customer-name{font-size:14px;font-weight:600;color:#3f6d9f;white-space:normal;text-align:left;overflow-wrap:anywhere;padding:0}.cp-customer-table{min-width:900px}.cp-customer-table th:first-child{width:21%}.cp-customer-table th:nth-child(2){width:11%}.cp-customer-table th:nth-child(3){width:16%}.cp-customer-table th:nth-child(4){width:10%}.cp-customer-table th:nth-child(5){width:27%}.cp-customer-table th:last-child{width:15%}.cp-phone{font-variant-numeric:tabular-nums;white-space:nowrap}.cp-type{font-size:11px;color:#7189a4;background:#f1f5fa;border-radius:4px;padding:4px 8px;white-space:nowrap}.cp-car-count{font-size:15px;font-weight:600;color:#4e7097;font-variant-numeric:tabular-nums}.cp-plate-chips{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.cp-plate-chip{font-size:11px;color:#71869c;background:#f5f8fc;border:1px solid #e6ecf4;border-radius:4px;padding:3px 6px;letter-spacing:.2px;white-space:nowrap}.cp-plate-chip.matched{border-color:#c2d7f8;background:#f0f6ff;color:#3975c8}.cp-more,.cp-muted{font-size:11px;color:#a0adbc}.cp-match-note{font-size:10px;color:#7794b9;display:block;margin-top:7px;line-height:1.6}.cp-empty{text-align:center!important;color:#9aa9bb!important;padding:45px 22px!important;line-height:1.8}.cp-profile-card{display:flex;gap:35px;align-items:center;flex-wrap:wrap;padding:25px;margin-bottom:22px}.cp-profile-identity{display:flex;align-items:center;gap:14px;min-width:230px;flex:1}.cp-avatar{width:50px;height:50px;flex:none;display:grid;place-items:center;font-size:20px;border-radius:12px;background:#edf4ff;color:#5489cd;font-weight:500}.cp-profile-identity strong{display:block;font-size:17px;font-weight:600;color:#3d5773;overflow-wrap:anywhere}.cp-profile-identity span{display:block;color:#92a1b3;font-size:11px;margin-top:4px}.cp-profile-card dl{margin:0;min-width:100px;padding-left:26px;border-left:1px solid #e7edf5}.cp-profile-card dt{font-size:11px;color:#96a5b8;margin-bottom:5px}.cp-profile-card dd{font-size:15px;color:#526e8a;margin:0;overflow-wrap:anywhere}.cp-profile-card dd b{font-size:20px;font-weight:600}.cp-profile-card>button{font-size:12px;white-space:nowrap}.cp-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 23px;border-bottom:1px solid #e9eff6}.cp-section-heading h2{font-size:16px;font-weight:600;margin:0 0 5px}.cp-section-heading h2 small{font-size:12px;font-weight:400;color:#8da0b5;margin-left:7px}.cp-section-heading p{font-size:11px;color:#99a8bb;margin:0}.cp-section-heading>button{font-size:12px;white-space:nowrap}.cp-vehicle-search{padding-top:18px;padding-bottom:18px}.cp-vehicle-table{min-width:730px}.cp-vehicle-table th:first-child{width:23%}.cp-vehicle-table th:nth-child(2){width:21%}.cp-vehicle-table th:nth-child(3){width:26%}.cp-vehicle-table th:nth-child(4){width:19%}.cp-plate{font-size:15px;letter-spacing:.5px;color:#435f7f;font-weight:600;white-space:nowrap}.cp-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cp-search-origin{padding:11px 23px;background:#f4f8ff;color:#6c8db8;font-size:11px;border-bottom:1px solid #e6effc}.cp-matched-row{background:#f9fbff}.cp-match-tag{display:inline-block;margin-left:9px;font-size:10px;font-weight:400;color:#5386ca;background:#edf4ff;border-radius:4px;padding:3px 6px}.cp-form-note{font-size:12px;line-height:1.8;color:#8397af;padding:12px 14px;background:#f5f8fd;border-radius:7px;margin:0 0 22px}.cp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.cp-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#657b95;min-width:0}.cp-field i{font-style:normal;color:#dc7278}.cp-field input,.cp-field select{width:100%;font-size:13px}.cp-field small{font-size:10px;color:#99a9bd;line-height:1.7}.cp-parent-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f5f8fd;border:1px solid #e5edf7;padding:13px 15px;border-radius:7px;margin-bottom:24px}.cp-parent-note span{font-size:11px;color:#9aacc1}.cp-parent-note strong{font-size:13px;font-weight:500;color:#597594;overflow-wrap:anywhere}.cp-parent-note small{font-size:11px;color:#95a5b9}.cp-form [hidden]{display:none!important}.cp-page .empty-state>button{margin-top:20px}
@media(max-width:1200px){.cp-profile-card{gap:23px}.cp-profile-identity{min-width:200px}.cp-profile-card dl{padding-left:20px}.cp-customer-table{min-width:850px}.cp-customer-table td,.cp-customer-table th{padding-left:13px;padding-right:13px}}
@media(max-width:750px){.cp-heading{align-items:flex-start;gap:14px}.cp-heading h1{font-size:22px}.cp-heading>button{font-size:12px;padding:8px 10px}.cp-heading p{font-size:12px}.cp-stats{gap:10px}.cp-stats>div{padding:16px}.cp-stats strong{font-size:23px}.cp-search{flex-wrap:wrap;padding:18px;gap:10px}.cp-search>label{flex-basis:100%}.cp-search>button{min-height:36px;padding:7px 12px}.cp-list-title{padding:14px 18px}.cp-list-title>span{font-size:10px}.cp-profile-card{padding:20px;gap:20px}.cp-profile-identity{flex-basis:100%}.cp-profile-card dl{border:0;padding:0;flex:1}.cp-profile-card>button{margin-left:auto}.cp-section-heading{padding:18px}.cp-section-heading p{max-width:230px}.cp-search-origin{padding:11px 18px}.cp-form-grid{gap:17px}.cp-match-tag{display:block;width:max-content;margin:5px 0 0}}
@media(max-width:460px){.cp-stats>div{padding:13px 10px}.cp-stats span{font-size:10px;margin-bottom:7px}.cp-stats strong{font-size:21px}.cp-stats small{font-size:10px}.cp-form-grid{grid-template-columns:1fr}.cp-heading>button{max-width:125px}.cp-profile-card>button{width:100%}.cp-section-heading h2{font-size:15px}.cp-section-heading p{font-size:10px}.cp-avatar{width:44px;height:44px}.cp-profile-identity strong{font-size:16px}}

.cp-table .cp-vehicle-link{font-size:15px;font-weight:600;letter-spacing:.5px;color:#3f75b1;padding:0}.cp-vehicle-table{min-width:930px}.cp-vehicle-table th:first-child{width:19%}.cp-vehicle-table th:nth-child(2){width:17%}.cp-vehicle-table th:nth-child(3){width:25%}.cp-vehicle-table th:nth-child(4){width:18%}.cp-vehicle-table th:last-child{width:21%}.cp-vehicle-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.cp-vehicle-actions .link{padding:2px 0}.cp-history-panel,.cp-repairs-panel{margin-top:23px}.cp-history-types{display:flex;gap:8px;flex-wrap:wrap;padding:17px 23px 0}.cp-history-types button{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:6px;background:#f5f7fb;color:#8295ad;font-size:12px;padding:7px 12px}.cp-history-types button span{font-size:10px;min-width:18px;text-align:center;font-variant-numeric:tabular-nums}.cp-history-types button.selected{border-color:#c9dcf7;background:#edf4ff;color:#3779cb}.cp-history-types button.selected span{color:#4d84c8;background:#deebfd;border-radius:3px}.cp-history-search{padding-top:16px;padding-bottom:18px}.cp-history-table{min-width:960px}.cp-history-table th:first-child{width:14%}.cp-history-table th:nth-child(2){width:10%}.cp-history-table th:nth-child(3){width:18%}.cp-history-table th:nth-child(4){width:13%}.cp-history-table th:nth-child(5){width:25%}.cp-history-table th:nth-child(6){width:12%}.cp-history-table th:last-child{width:8%}.cp-history-table td{padding-top:17px;padding-bottom:17px}.cp-history-date{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.cp-order-type{display:inline-block;white-space:nowrap;font-size:10px;border-radius:4px;padding:4px 7px;color:#6084b0;background:#edf4fd}.cp-order-type.sales{background:#eff7f4;color:#69968b}.cp-history-plate{font-size:11px;white-space:nowrap;color:#60768f}.cp-history-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#7b8fa7;font-size:11px;line-height:1.7;word-break:break-word}.cp-history-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500;color:#536d8c!important}.cp-history-note{font-size:10px;line-height:1.8;color:#97a7bb;background:#fcfdff;padding:12px 23px;border-top:1px solid #edf1f6}.cp-vehicle-overview{overflow:hidden;margin-bottom:0}.cp-vehicle-facts{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.4fr;gap:24px;padding:23px}.cp-vehicle-facts dl{margin:0;min-width:0}.cp-vehicle-facts dt{font-size:11px;color:#97a6b9;margin-bottom:8px}.cp-vehicle-facts dd{margin:0;font-size:13px;color:#58738f;overflow-wrap:anywhere}.cp-repair-timeline{padding:0 23px}.cp-repair-record{position:relative;border-bottom:1px solid #edf1f6}.cp-repair-record:last-child{border-bottom:0}.cp-repair-record:not(:last-child):before{content:'';position:absolute;width:1px;left:5px;top:37px;bottom:-20px;background:#e0eaf6}.cp-repair-record>summary{display:grid;grid-template-columns:12px 155px minmax(0,1fr) 16px;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:21px 0;position:relative}.cp-repair-record>summary::-webkit-details-marker{display:none}.cp-timeline-dot{width:11px;height:11px;border-radius:50%;border:2px solid #8cafe0;background:#fff;z-index:1}.cp-repair-record[open] .cp-timeline-dot{border-color:#4b87d8;background:#e8f1ff}.cp-repair-date{font-size:12px;font-weight:500;color:#6a85a5;font-variant-numeric:tabular-nums}.cp-repair-date small{display:block;font-size:10px;font-weight:400;color:#a0afc0;margin-top:5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.cp-repair-summary{min-width:0}.cp-repair-summary strong{display:block;font-size:13px;font-weight:500;color:#5b7695;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-repair-summary small{display:block;margin-top:5px;font-size:11px;color:#98a9bd}.cp-record-chevron{color:#93a8c2;font-size:17px;line-height:1;transform:rotate(-90deg);transition:transform .15s}.cp-repair-record[open] .cp-record-chevron{transform:rotate(0)}.cp-repair-body{margin:0 0 23px 26px;border:1px solid #e7edf5;border-radius:8px;background:#fff;padding:17px 19px;position:relative}.cp-repair-facts{display:flex;align-items:center;gap:12px 25px;flex-wrap:wrap;font-size:10px;color:#96a8bd;margin-bottom:15px}.cp-repair-facts b{font-size:11px;font-weight:400;color:#7189a3;margin-left:6px}.cp-repair-facts button.link{font-size:11px;margin-left:auto;white-space:nowrap}.cp-repair-fault{background:#f8fafd;border-radius:5px;padding:11px 13px}.cp-repair-fault>span{font-size:10px;color:#98aabe}.cp-repair-fault p{font-size:12px;color:#627e9e;margin:5px 0 0;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.cp-repair-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:18px}.cp-repair-columns>div{min-width:0}.cp-repair-columns h3{font-size:12px;font-weight:500;color:#6481a2;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid #edf1f7}.cp-repair-items{list-style:none;padding:0;margin:0}.cp-repair-items li{padding:11px 0;border-bottom:1px solid #f0f3f8}.cp-repair-items li:first-child{padding-top:0}.cp-repair-items li:last-child{border-bottom:0;padding-bottom:0}.cp-repair-items li>div{display:flex;align-items:baseline;gap:12px;justify-content:space-between}.cp-repair-items strong{font-size:12px;font-weight:500;color:#587597;overflow-wrap:anywhere}.cp-repair-items .cp-code{font-size:10px;color:#9aacc2}.cp-repair-items p{font-size:11px;line-height:1.8;color:#8c9fb6;margin:4px 0 0;overflow-wrap:anywhere}.cp-repair-items .cp-record-note{white-space:pre-wrap}.cp-part-quantity{font-size:11px;color:#7895b6;white-space:nowrap;font-weight:500}.cp-record-empty{font-size:11px;color:#a1afbf;margin:0;padding:0 0 8px}
@media(max-width:1100px){.cp-vehicle-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-repair-record>summary{grid-template-columns:12px 135px minmax(0,1fr) 16px;gap:11px}.cp-repair-facts{gap:10px 17px}.cp-repair-facts button.link{margin-left:0}.cp-repair-columns{gap:20px}}
@media(max-width:750px){.cp-history-types{padding:16px 18px 0;gap:6px}.cp-history-types button{padding:6px 10px;font-size:11px}.cp-history-note{padding:11px 18px}.cp-vehicle-facts{padding:20px 18px;gap:20px}.cp-repair-timeline{padding:0 18px}.cp-repair-record>summary{grid-template-columns:10px minmax(0,1fr) 16px;gap:10px;padding:18px 0}.cp-repair-date{grid-column:2;grid-row:1}.cp-repair-date small{display:inline-block;margin:0 0 0 10px}.cp-timeline-dot{grid-column:1;grid-row:1}.cp-repair-summary{grid-column:2;grid-row:2}.cp-record-chevron{grid-column:3;grid-row:1/3}.cp-repair-record:not(:last-child):before{left:5px;top:31px}.cp-repair-body{margin-left:20px;padding:15px 13px}.cp-repair-columns{grid-template-columns:1fr;gap:22px}.cp-history-panel,.cp-repairs-panel{margin-top:20px}.cp-repair-summary strong{font-size:12px}}
@media(max-width:460px){.cp-vehicle-facts{grid-template-columns:1fr}.cp-repair-date small{display:block;margin:4px 0 0}.cp-repair-facts{display:grid;grid-template-columns:1fr;gap:7px}.cp-repair-facts button.link{justify-self:start}.cp-repair-items li>div{align-items:flex-start}.cp-history-types button{padding:6px 8px}.cp-history-types button span{min-width:14px}}

/* Keep history actions reachable while wide tables scroll. */
.cp-history-table th:last-child,.cp-history-table td:last-child,.cp-vehicle-table th:last-child,.cp-vehicle-table td:last-child{position:sticky;right:0;z-index:1;box-shadow:-5px 0 9px -7px #9aabc2}.cp-history-table td:last-child,.cp-vehicle-table td:last-child{background:#fff}.cp-history-table th:last-child,.cp-vehicle-table th:last-child{background:#f7f9fc}.cp-vehicle-table .cp-matched-row td:last-child{background:#f9fbff}
