.breadcrumbs{display:flex;align-items:center;gap:10px;border-bottom:1px solid #c8c8c8;margin:-12px -18px 18px;padding:14px 18px;background:#fff;color:#20272b;font-size:12px}
.breadcrumbs a{color:#607888}.breadcrumbs span{font-size:20px;line-height:16px;color:#607888}
.page-title{border:0}.page-title h1{font-size:18px;margin:0 0 14px}
.customer-tabs{margin:0 -18px;padding:0 18px;border-bottom:1px solid #d4d6d8}
.customer-tabs button{padding:9px 10px;font-size:12px;background:#f7f7f7;border-color:#d4d6d8;margin-right:3px}
.customer-tabs button.active{box-shadow:none;border-bottom-color:#fff;background:#fff;margin-bottom:-1px}
.clients-workbench{max-width:1260px;margin:20px 0 18px;border-radius:3px;padding:20px;font-size:12px}
.clients-workbench .action-links{grid-template-columns:230px 1fr;grid-template-rows:24px 24px;gap:4px 20px;margin:0 0 18px}
.action-links button{color:#20272b;display:flex;align-items:center;gap:6px;text-align:left;justify-self:start;font-size:12px}
.action-links #addClientButton{grid-column:1;grid-row:1}.action-links #importButton{grid-column:1;grid-row:2}
.action-links #exportButton{grid-column:2;grid-row:1}.action-links #exportApiButton{grid-column:2;grid-row:2}
.registry-filter-body{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}
.clients-workbench .registration-filter{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;flex-wrap:nowrap;margin:0}
.registration-filter label{display:flex;align-items:center;gap:4px;white-space:nowrap;line-height:17px}
.registration-filter label:has(input:checked){font-weight:bold}
.registration-filter input{margin:0 5px 0 0;width:16px;height:16px;accent-color:#2d86b6}
.clients-workbench .filter-panel{display:grid;grid-template-columns:1fr 1fr;gap:5px 30px;align-content:start}
.clients-workbench .filter-panel>label,.clients-workbench .filter-panel>.filter-dates{display:grid;grid-template-columns:minmax(125px,.9fr) minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.clients-workbench .filter-panel label>span{font-weight:normal;color:#20272b;line-height:16px}
.clients-workbench .filter-panel input,.clients-workbench .filter-panel select{height:25px;min-height:25px;padding:2px 7px;border:1px solid #c5c8ca;border-radius:2px;font-size:12px}
.clients-workbench .filter-panel select{background:linear-gradient(#fff,#f5f8fa);padding-right:2px}
.clients-workbench .filter-checkbox input{width:16px;height:16px;min-height:16px;padding:0;margin:0;accent-color:#2d86b6}
.filter-dates>div{display:flex;gap:4px;align-items:center;min-width:0}
.filter-dates input{min-width:0;flex:1;width:0}
.registry-filter-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:26px}
.registry-filter-actions>span{background:#e8ebed;padding:8px 10px;border-radius:2px;font-size:13px}
.registry-filter-actions button{min-height:30px;padding:5px 10px;font-size:13px}
.list-summary{justify-content:flex-start;padding:0;margin:0 0 24px}
.numbered-pagination{margin:0;max-width:100%;overflow:auto}
.numbered-pagination button{height:29px;width:32px;flex-shrink:0;font-size:12px}
.numbered-pagination button:disabled{color:#98a4ab;cursor:default}
.clients-table{min-width:1580px;font-size:12px}
.clients-table th{font-size:12px;padding:6px 5px;white-space:normal;vertical-align:top;background:#e8eaed;border-color:#d0d2d5}
.clients-table td{padding:7px 5px;color:#20272b}
.clients-table .status{display:inline;padding:0;border-radius:0;background:none;color:inherit;white-space:nowrap}
.clients-table .client-link{color:inherit;font-size:12px}.clients-table a,.sort-client{color:#1379a9;text-decoration:underline}
.sort-client{border:0;padding:0;background:none;cursor:pointer;font-weight:bold;text-align:left}
.sort-client[data-direction="asc"]::after{content:" ▴"}.sort-client[data-direction="desc"]::after{content:" ▾"}
.clients-table .table-action{border:0;background:none;color:#177eac;padding:0;width:23px;height:20px;font-size:17px;border-radius:0}
.table-action svg,.action-links svg{width:16px;height:16px;vertical-align:middle;flex-shrink:0}.action-links svg{color:#168451}
.garage-actions{padding:10px 0}.garage-table-wrap{overflow-x:auto}.garage-table-wrap table{width:100%;min-width:540px}.legacy-car-fields{margin-top:16px}.legacy-car-fields summary{cursor:pointer;color:#1379a9;margin-bottom:12px}
.car-form-dialog{width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.car-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.car-dialog-heading button{border:0;background:none;font-size:24px;cursor:pointer;line-height:24px}
.car-form-dialog .customer-form-grid label{grid-template-columns:1fr;gap:6px}.car-form-dialog .customer-form-grid{gap:14px 18px}
.car-form-dialog .car-id-mode{grid-column:1/-1;display:flex;gap:22px;margin:0;padding:8px 12px}
.car-form-dialog .car-id-mode label{display:flex;align-items:center;gap:6px}.car-form-dialog .car-id-mode input{width:16px;min-height:16px;height:16px;margin:0}
.car-form-dialog .customer-form-actions{flex-wrap:wrap}.car-form-dialog #carFormStatus{flex:1;min-width:140px;color:#af352a}
.garage-row-actions{display:flex;gap:6px;margin-top:8px;clear:both}.garage-row-actions button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:5px;border:1px solid #c5cdd2;border-radius:3px;background:#fff;color:#357b9f;cursor:pointer}.garage-row-actions svg{width:16px;height:16px}.garage-row-actions button[data-car-delete]{color:#ac3737}.garage-row-actions button:disabled{opacity:.5;cursor:wait}[data-order-car-cell] label{display:flex;align-items:center;gap:8px;white-space:normal}[data-order-car-cell] select{min-width:0;width:100%;max-width:250px;flex:1;padding:4px;border:1px solid #c5cdd2;background:white}
.car-picker{min-width:0;grid-column:1/-1}.car-picker-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.car-picker-field{min-width:0}.car-picker-field>label{display:block!important;margin-bottom:6px}.car-combobox{position:relative;min-width:0}.car-combobox>input{width:100%;box-sizing:border-box;padding-right:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236b7b85' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}
.car-options{position:absolute;z-index:12;top:100%;left:0;right:0;max-height:260px;overflow-y:auto;background:white;border:1px solid #b7c2cc;border-radius:3px;box-shadow:0 3px 8px #0002}.car-options[hidden],.car-picker-preview[hidden]{display:none!important}.car-options button{display:flex;align-items:center;gap:8px;min-height:34px;width:100%;border:0!important;border-radius:0!important;background:#fff!important;color:#26323d!important;text-align:left;padding:6px 8px!important;font-size:13px!important;line-height:1.35;white-space:normal!important;cursor:pointer}.car-options button:hover,.car-options button.active{background:#e5f1f9!important}.car-options button img{width:64px;height:40px;object-fit:contain;flex:none}.car-options button span{min-width:0;overflow-wrap:anywhere}.car-options-empty{display:block;padding:10px;color:#677784}
.car-picker-preview{margin:12px 0 0;text-align:center}.car-picker-preview img{width:220px;height:130px;max-width:100%;object-fit:contain}.car-picker-preview figcaption{font-size:12px;color:#657783;overflow-wrap:anywhere}.car-picker-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:12px}.car-picker-footer label{display:flex!important;align-items:center;gap:6px!important}.car-picker-footer input{width:15px!important;height:15px!important;min-height:15px!important;margin:0}.car-picker-footer [data-car-status]{color:#af352a;flex:1;min-width:100px}.car-picker-footer button{font-size:12px}.garage-car-image{width:96px;height:60px;object-fit:contain;float:left;margin-right:10px}.customer-create-dialog .car-picker-fields{grid-template-columns:1fr}.customer-create-dialog .car-options{max-height:180px}
@media(max-width:540px){.car-picker-fields{grid-template-columns:1fr}.car-options{max-height:190px}.car-picker-preview img{height:100px}.car-picker-preview{margin-top:8px}}
.clients-table .group-operations th{padding:5px;background:#e8eaed}
.group-operations th>div{display:flex;align-items:center;gap:20px;min-height:30px}
.group-operations select{width:370px;max-width:100%;height:29px;border:1px solid #c5c8ca;background:linear-gradient(#fff,#f5f8fa);border-radius:2px;padding:4px 8px;font-weight:normal}
.customer-create-dialog{width:min(400px,calc(100vw - 24px))}
.customer-create-dialog .customer-form{padding:15px}
.customer-create-dialog h2{font-size:15px;padding:0 0 13px;border-bottom:1px solid #d5d9dc;margin:0 0 12px}
.customer-create-dialog .customer-form-grid{grid-template-columns:1fr;gap:15px}
.customer-create-dialog .customer-form-grid label{grid-template-columns:1fr;gap:7px}
.customer-create-dialog .customer-form-grid label:has(input[type="checkbox"]){display:flex;align-items:center;gap:8px}
.customer-create-dialog .customer-form-grid input[type="checkbox"]{width:16px;min-height:16px;height:16px;margin:0}
.customer-create-dialog .customer-form-checks{flex-direction:column;gap:14px;margin:15px 0}
.customer-create-dialog .customer-form-actions{border-top:1px solid #d5d9dc;padding-top:12px;margin-top:15px}
.customer-create-dialog .dialog-close{font-size:20px;padding:10px;position:absolute;right:0;top:0}
#customerEditView{padding-top:18px}
#customerEditContent{margin-top:14px;border:1px solid #d0d3d5;background:#fff;border-radius:3px}
#customerEditContent .customer-form-extended{padding:15px 18px}
#customerEditContent h2{font-size:15px;margin:0 0 15px;font-weight:normal}
#customerEditContent .customer-subtabs{margin:0 -18px 18px;padding:0 18px;background:#f7f7f7;border-bottom:1px solid #d4d6d8;gap:3px}
#customerEditContent .customer-subtab{font-size:12px;font-weight:normal;color:#444;padding:9px 10px;border:1px solid #d4d6d8;border-radius:2px 2px 0 0;background:#f7f7f7}
#customerEditContent .customer-subtab.active{background:#fff;color:#20272b;border-bottom-color:#fff;margin-bottom:-1px}
#customerEditContent .customer-form-grid{max-width:800px;grid-template-columns:1fr;gap:0;border-top:1px solid #d2d5d8}
#customerEditContent .customer-form-grid label{grid-template-columns:230px minmax(0,1fr);gap:0;border:1px solid #d2d5d8;border-top:0;min-height:36px;padding:5px 10px 5px 0;background:linear-gradient(to right,#e8ebee 229px,#d2d5d8 229px,#d2d5d8 230px,#fff 230px)}
#customerEditContent .customer-form-grid label>span{padding:0 10px;font-weight:bold;align-self:start;line-height:25px}
#customerEditContent .customer-form-grid label>input,#customerEditContent .customer-form-grid label>select,#customerEditContent .customer-form-grid label>textarea{margin-left:10px;width:calc(100% - 10px);min-height:29px;padding:4px 8px}
#customerEditContent .customer-form-actions{position:static;justify-content:flex-start}
@media(max-width:720px){#customerEditContent .customer-form-grid label{grid-template-columns:1fr;background:#fff;padding:8px;gap:6px}#customerEditContent .customer-form-grid label>span{padding:0;line-height:18px}#customerEditContent .customer-form-grid label>input,#customerEditContent .customer-form-grid label>select,#customerEditContent .customer-form-grid label>textarea{margin:0;width:100%}}
@media(max-width:1450px){.registry-filter-body{grid-template-columns:210px minmax(0,1fr);gap:14px}.clients-workbench .filter-panel{gap:7px 16px}.clients-workbench .filter-panel>label,.clients-workbench .filter-panel>.filter-dates{grid-template-columns:1fr;gap:4px}.clients-workbench .filter-checkbox{grid-template-columns:1fr 20px!important}.filter-limit>span{display:none}}
@media(max-width:850px){.registry-filter-body{grid-template-columns:1fr}.clients-workbench .registration-filter{flex-direction:row;flex-wrap:wrap;gap:12px}.clients-workbench .action-links{grid-template-columns:1fr;grid-template-rows:none;gap:10px}.action-links #addClientButton,.action-links #importButton,.action-links #exportButton,.action-links #exportApiButton{grid-column:auto;grid-row:auto}.registry-filter-actions{margin-top:18px}.cp-top-actions{flex-wrap:wrap;white-space:normal}.numbered-pagination{order:initial;width:auto;margin:0}.clients-workbench{padding:14px}}
@media(max-width:520px){.clients-workbench .filter-panel{grid-template-columns:1fr}.customer-tabs{margin:0 -10px;padding:0 10px}.breadcrumbs{margin:-10px -10px 15px;padding:12px 10px}.registry-filter-actions{flex-wrap:wrap}.filter-limit{grid-column:1}.customer-create-dialog .customer-form-actions{flex-wrap:wrap}}
