#modal:has(.one-c-import){width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#16283e}
#modal:has(.one-c-import) .modal-heading{padding:20px 24px 12px}
#modal:has(.one-c-import) .modal-heading h2{font-size:20px}
#modal:has(.one-c-import) .modal-body{padding:0 24px 18px}
.one-c-import{font-size:14px;line-height:1.4}
.one-c-intro{margin:0 0 16px;color:#687b90}
.one-c-search{display:flex;align-items:center;gap:9px;border:1px solid #d6e0ea;border-radius:7px;padding:0 11px;background:#f8fafc;margin:12px 0}
.one-c-search>.icon{color:#71849a;width:18px;height:18px;flex:none}
.one-c-search input{background:transparent;border:0!important;box-shadow:none!important;outline:none;min-width:0;width:100%;padding:10px 0;font:inherit;color:inherit}
.one-c-search:focus-within{border-color:#7c9ab6}
.one-c-list{max-height:min(350px,43dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e0e7ef;border-radius:8px}
.one-c-client{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid #e7edf3;background:#fff;color:#20364c;padding:12px 14px;text-align:left;font:inherit;cursor:pointer}
.one-c-client:last-child,.one-c-vehicle:last-child{border-bottom:0}
.one-c-client:hover{background:#eef5fa}
.one-c-client small,.one-c-vehicle small{display:block;color:#77869a;font-size:12px;margin-top:3px}
.one-c-client .icon{width:16px;flex:none;color:#6385a3}
.one-c-back{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;color:#426988;font:inherit;cursor:pointer}
.one-c-back .icon{width:16px;height:16px}
.one-c-client-name{font-size:16px;line-height:1.35;margin:10px 0 8px;font-weight:600;overflow-wrap:anywhere}
.one-c-target{display:block;color:#687b90;font-size:13px;margin:8px 0}
.one-c-target select{display:block;width:100%;margin-top:6px;font:inherit;background:#fff;border:1px solid #d6e0ea;border-radius:6px;padding:8px;color:#20364c}
.one-c-selection{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;font-size:13px;color:#50677e}
.one-c-selection label{display:flex;align-items:center;gap:8px}
.one-c-import input[type=checkbox]{appearance:auto;accent-color:#426988;width:16px;height:16px;flex:none;margin:0}
.one-c-vehicle{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #e7edf3;cursor:pointer;background:#fff}
.one-c-vehicle strong{font-size:14px;font-weight:600;letter-spacing:.015em}
.one-c-vehicle:has(input:checked){background:#edf5fb}
.one-c-vehicle.is-unavailable{background:#f8fafc;cursor:default;color:#718195}
.one-c-status{font-size:12px;color:#6b7f91;margin-left:auto;text-align:right}
.one-c-empty{padding:26px 16px;text-align:center;color:#6e8093}
.one-c-import .form-error:empty{display:none}
.one-c-import .import-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:16px;margin-top:16px;border-top:1px solid #e1e7ef}
.one-c-import .import-footer>span{font-size:12px;color:#718197;max-width:290px}
.one-c-import .import-footer-buttons{display:flex;gap:8px;flex:none}
.one-c-import .btn{font-size:13px;min-height:32px;padding:7px 12px;font-weight:400}
@media(max-width:600px){#modal:has(.one-c-import) .modal-body{padding:0 16px 16px}#modal:has(.one-c-import) .modal-heading{padding:16px}.one-c-import .import-footer{flex-direction:column;align-items:stretch}.one-c-import .import-footer>span{max-width:none}.one-c-import .import-footer-buttons{justify-content:flex-end}.one-c-selection{font-size:12px}.one-c-vehicle{gap:8px;padding:10px}}

.one-c-client{padding:0;cursor:default;gap:6px}
.one-c-client-choice{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:12px 0 12px 14px;cursor:pointer}
.one-c-client-choice>span{min-width:0;overflow-wrap:anywhere}
.one-c-client:has(input:checked){background:#edf5fb}
.one-c-client-cars{display:flex;align-items:center;gap:3px;flex:none;border:0;background:transparent;color:#426988;padding:12px 10px;font:inherit;font-size:12px;cursor:pointer}
.one-c-client-cars:hover{background:#e3edf7}.one-c-client-cars:disabled{opacity:.55;cursor:wait}
.one-c-client-choice:has(input:disabled){cursor:wait}
@media(max-width:400px){.one-c-selection{flex-wrap:wrap;gap:5px}.one-c-client-choice{padding-left:10px;gap:7px}.one-c-client-cars{font-size:11px;padding-inline:5px}}
