.library-toolbar{display:flex;align-items:center;gap:10px;margin:10px 0 18px;flex-wrap:wrap}.library-toolbar input{width:320px;max-width:100%}.library-toolbar select{width:240px}.library-toolbar [data-count]{color:#788391}.library-table-wrap{overflow:auto;border:1px solid #dce2e7;border-radius:10px;background:#fff}.library-table{width:100%;border-collapse:collapse;text-align:left}.library-table th{background:#f6f8fa;color:#738091;font-size:11px;font-weight:500;padding:10px 14px}.library-table td{padding:10px 14px;border-top:1px solid #edf0f3;font-size:12px}.library-table td small{display:block;color:#7a8796;margin-top:3px}.library-car-open{display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:0;text-align:left;color:inherit;max-width:360px}.library-car-open strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px}.library-car-open img,.library-no-photo{width:58px;height:44px;object-fit:cover;border-radius:6px;flex-shrink:0;background:#eff2f5}.library-no-photo{display:grid;place-items:center}.library-no-photo svg{width:22px;height:22px}.library-status{display:inline-flex;background:#edf2f5;color:#526274;padding:4px 8px;border-radius:5px;font-size:11px}.library-status[data-stage=invoice]{background:#f9eaf0}.library-status[data-stage=completed]{background:#e4f3ea}.library-status[data-stage=cancelled]{background:#f8e8e8}.library-top-link{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px;color:inherit;text-decoration:none}.library-top-link svg{width:17px;height:17px}.b24-appbar{gap:16px}.b24-quick-search{min-width:120px}
body.b24-theme dialog.vehicle-library-dialog{position:fixed;inset:12px 12px 12px auto;margin:0;width:min(1100px,calc(100vw - 24px));max-width:none;height:calc(100dvh - 24px);max-height:none;padding:0;border:1px solid #d8dfe5;border-radius:12px;overflow:hidden;box-sizing:border-box}dialog.vehicle-library-dialog[open]{display:flex!important;flex-direction:column}.vehicle-library-dialog::backdrop{background:#15283c66}.library-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 22px 14px;border-bottom:1px solid #e6eaee;flex-shrink:0}.library-heading h2{font-size:19px!important;margin:5px 0 8px!important;max-width:640px}.library-heading>div>span:first-child{font-size:11px;color:#7b8796}.library-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.library-actions button{font-size:12px!important;min-height:34px!important;padding:7px 10px!important}.library-actions svg{width:15px;height:15px;vertical-align:middle;margin-right:6px}.library-tabs{display:flex;gap:5px;padding:10px 22px;border-bottom:1px solid #e6eaee;overflow-x:auto;flex-shrink:0}.library-tabs button{white-space:nowrap;font-size:12px!important;min-height:32px!important;padding:6px 10px!important}.library-tabs .selected{background:#edf2f7!important;border-color:#bccbd9!important;color:#345675!important}.vehicle-library-dialog .library-body{min-height:0;overflow:auto;padding:20px 22px;flex:1}.library-body h3{font-size:14px;margin:8px 0 14px}.library-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;margin:0 0 24px}.library-facts>div{border-bottom:1px solid #edf0f3;padding-bottom:10px;min-width:0}.library-facts dt{font-size:11px;color:#7b8796}.library-facts dd{margin:4px 0 0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.library-pre,.library-report p,.library-message p{white-space:pre-wrap;overflow-wrap:anywhere}.library-body details{margin:12px 0}.library-files{display:grid;grid-template-columns:repeat(auto-fill,120px);gap:12px;margin-bottom:22px}.library-file{border:1px solid #dfe5eb;border-radius:8px;overflow:hidden;text-decoration:none;color:inherit;font-size:11px;display:flex;flex-direction:column}.library-file img,.library-file video,.library-file-icon{width:118px;height:86px;object-fit:cover;background:#f0f3f6}.library-file-icon{display:grid;place-items:center}.library-file-icon svg{width:26px;height:26px;color:#8191a3}.library-file>span:not(.library-file-icon),.library-file>small{padding:7px;overflow-wrap:anywhere}.library-report section{padding:12px 0;border-bottom:1px solid #e9edf1}.library-message{padding:10px 0;border-bottom:1px solid #e9edf1;font-size:12px}.library-message header{display:flex;gap:16px;justify-content:space-between;color:#667789;font-size:11px}.library-message.is-system{color:#85909d;font-size:11px}.library-message-file{display:block;color:#62768d}.library-thread-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.library-thread-tabs button{font-size:12px!important}.library-chat-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.library-chat-file{display:block;margin:8px 0}.library-export-status{padding:12px 22px;background:#f4f7fa;border-top:1px solid #dce3eb;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-shrink:0;font-size:12px}.library-export-status[hidden]{display:none}.library-export-status span{overflow-wrap:anywhere}.library-export-status button{flex-shrink:0}.library-table tbody tr:hover{background:#f9fafc}
@media(max-width:900px){.b24-appbar .b24-space{display:none}.b24-appbar{gap:10px}.library-heading{flex-wrap:wrap}.library-actions{flex-wrap:wrap}.library-facts{grid-template-columns:1fr}.library-table th:nth-child(4),.library-table td:nth-child(4){display:none}.library-toolbar input,.library-toolbar select{width:100%}.library-top-link{font-size:11px}.b24-quick-search kbd{display:none}}
