.login-card input,.admin-edit input,.admin-edit select,.account-password input{width:100%;display:block;min-height:44px;margin:8px 0 18px;padding:11px 13px;border:1px solid #cbd9ed;border-radius:8px;font:inherit;color:#203145;background:white}.admin-edit label,.account-password label{display:block;font-size:13px;color:#466184}.admin-edit{max-width:560px}.admin-edit h2{font-size:21px}.sidefoot small{display:block;font-size:11px;margin-top:5px;color:#c5cedb}.sidefoot button{display:block;margin-top:10px}.admin-workspace{padding-top:20px}.admin-tabs{flex-wrap:wrap;max-width:100%;margin-bottom:18px}.admin-feedback{min-height:20px;font-size:13px;color:#3d6e9c;margin:12px 0}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.admin-stats article{padding:20px;border:1px solid #d6e0ef;border-radius:12px;background:white;display:flex;flex-direction:column;gap:12px}.admin-stats span{font-size:12px;color:#7288a7}.admin-stats strong{font-size:30px;line-height:1;font-variant-numeric:tabular-nums}.admin-explainer{padding:24px;line-height:1.8}.admin-explainer h2{font-size:20px;margin-bottom:14px}.admin-explainer p{font-size:14px;color:#58708d;margin-bottom:12px;max-width:80ch}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.admin-toolbar input{height:44px;max-width:420px;width:100%;border:1px solid #cad8ec;padding:12px;border-radius:8px;font:inherit}.admin-table-wrap{overflow:auto;background:white;border:1px solid #d8e2f0;border-radius:12px}.admin-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.admin-table td,.admin-table th{padding:16px;border-bottom:1px solid #e6ecf5;vertical-align:middle}.admin-table th{font-size:12px;font-weight:600;color:#6c82a1;background:#f8faff}.admin-table small{display:block;font-size:11px;color:#7d91ad;margin-top:6px}.admin-table select{height:40px;min-width:150px;max-width:250px;border:1px solid #cbd9ed;border-radius:7px;padding:8px;background:white;font:inherit}.admin-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-row-actions button,.admin-table button{font-size:12px;white-space:nowrap}.admin-status{display:inline-block;background:#e5f4ed;color:#287754;border-radius:6px;padding:5px 8px;font-size:11px}.admin-status.is-blocked{background:#fbe7e9;color:#a23f4c}.admin-companies{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.admin-company{padding:22px}.admin-company header{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.admin-company h2{font-size:18px}.admin-company small,.admin-help{font-size:12px;color:#7388a5;line-height:1.7}.admin-help{margin:0 0 18px}.admin-company p{font-size:13px;margin-bottom:14px}.admin-check{display:flex;gap:10px;align-items:center;padding:10px 0;font-size:13px}.admin-check input{accent-color:#2862dd}.admin-check small{margin-left:auto}.admin-audit{background:white;border:1px solid #d8e2f0;border-radius:12px;padding:4px 20px}.admin-audit article{padding:16px 0;border-bottom:1px solid #e6ecf5}.admin-audit article>div{display:flex;justify-content:space-between;font-size:13px;gap:12px}.admin-audit time{font-size:11px;color:#8192aa}.admin-audit p{margin-top:8px;color:#607796;font-size:13px}.team-view-switch{margin-left:auto;flex:none}.pagehead{flex-wrap:wrap}.chat-nav-badge{float:right;margin-left:10px;font-size:10px;font-weight:700;background:#ed3a57;color:white;border-radius:12px;padding:2px 6px}.chat-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100dvh - 140px);min-height:450px;background:white;border:1px solid #d4dfef;border-radius:14px;overflow:hidden;margin-top:18px}.chat-sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e0e7f1;background:#fbfcfe}.chat-search{padding:14px;display:grid;gap:9px;border-bottom:1px solid #e0e7f1}.chat-search input,.chat-search select{width:100%;min-width:0;border:1px solid #d8e2ef;border-radius:8px;background:white;padding:11px;font:inherit;font-size:12px}.chat-thread-list{overflow:auto;min-height:0;flex:1}.chat-thread{display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid #edf1f7;background:transparent;width:100%;padding:16px 12px;cursor:pointer;color:#24394e}.chat-thread.is-active{background:#e8f0fc}.chat-thread:hover{background:#eef4fd}.chat-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:#dfeafa;color:#4e79b1;font-size:14px;font-weight:600}.chat-thread-text{min-width:0;display:flex;flex-direction:column;gap:5px}.chat-thread-text strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread-text small{font-size:10px;color:#6581a4}.chat-thread-text>span{font-size:11px;color:#8192a8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.chat-count{margin-left:auto;flex:none;border-radius:12px;background:#2862dd;color:white;padding:3px 7px;font-size:10px}.chat-list-empty{padding:20px;font-size:12px;line-height:1.8;color:#8091a8}.chat-conversation{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:#f0f4f8}.chat-conversation.is-dragover{outline:3px dashed #3d75ce;outline-offset:-8px}.chat-welcome{margin:auto;text-align:center;color:#627a99;padding:24px}.chat-welcome strong{font-size:18px;color:#3d5878}.chat-welcome p{font-size:13px;line-height:1.7;margin-top:12px}.chat-conversation-head{display:flex;align-items:center;gap:10px;background:white;padding:14px 18px;border-bottom:1px solid #dfe7f0;flex:none}.chat-conversation-head>div{min-width:0;margin-right:auto}.chat-conversation-head strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5}.chat-conversation-head small{display:block;font-size:11px;color:#7a90ad;margin-top:3px}.chat-conversation-head button{font-size:11px;flex:none;padding:8px 10px;min-height:36px;height:auto}.chat-back{display:none;border:0;background:none;font-size:20px;color:#416894}.chat-messages{flex:1;min-height:0;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:12px;scrollbar-gutter:stable}.chat-message{max-width:82%;min-width:170px;background:white;border:1px solid #e1e7ee;border-radius:12px;padding:12px 14px;align-self:flex-start;overflow-wrap:anywhere}.chat-message.is-own{align-self:flex-end;background:#e5f1ff;border-color:#d1e3fa}.chat-message>strong{font-size:11px;color:#4979b3}.chat-message p{font-size:14px;line-height:1.65;white-space:pre-wrap;margin:6px 0}.chat-message a{color:#2862dd;overflow-wrap:anywhere}.chat-message footer{display:flex;align-items:center;gap:7px;justify-content:flex-end;font-size:10px;color:#899bb2;margin-top:8px}.chat-message footer button{margin-right:auto;border:0;background:none;padding:0;font:inherit;color:#6b8caf;cursor:pointer}.chat-system{align-self:center;text-align:center;font-size:10px;color:#7d90a9;max-width:85%;line-height:1.7;margin:5px 0}.chat-system span{display:block}.chat-system time{font-size:9px}.chat-photo,.chat-video{display:block;max-width:100%;width:auto;max-height:300px;border-radius:8px;margin-top:8px}.chat-document{display:flex;align-items:center;gap:10px;min-height:55px;font-size:12px;text-decoration:none;padding:8px 0}.chat-document>span:first-child{font-size:22px}.chat-document small{display:block;color:#7e91a8;font-size:10px;margin-top:4px}.chat-reply-quote{font-size:11px;line-height:1.5;color:#6b85a4;padding:7px 10px;background:#f3f6fb;border-radius:6px;margin-top:8px}.chat-composer{flex:none;background:white;padding:12px 16px;border-top:1px solid #dfe7f0}.chat-compose-row{display:flex;gap:10px;align-items:flex-end}.chat-compose-row textarea{flex:1;min-width:0;max-height:150px;min-height:48px;resize:vertical;border:1px solid #d9e2ee;border-radius:8px;padding:12px;font:inherit;font-size:13px;line-height:1.5}.chat-attach{flex:none;border:1px solid #d7e1ee;border-radius:8px;background:#f8faff;color:#5279aa;width:40px;height:44px;font-size:24px;cursor:pointer}.chat-compose-row>.primary{height:44px;padding:10px 14px}.chat-compose-meta{display:flex;flex-wrap:wrap;gap:6px}.chat-compose-meta>div{background:#edf3fc;color:#547498;padding:7px 9px;font-size:11px;max-width:100%;overflow-wrap:anywhere;border-radius:6px;margin-bottom:7px}.chat-compose-meta button{border:0;background:none;color:#7a8fa8;font-size:14px;margin-left:8px;cursor:pointer}.chat-error{font-size:11px;color:#ad4b54;line-height:1.5;margin-bottom:8px}.chat-error:empty{display:none}.chat-composer input[hidden]{display:none!important}.account-password{max-width:450px}.account-password .primary{width:100%;margin-top:10px}
@media(max-width:1000px){.chat-workspace{grid-template-columns:260px minmax(0,1fr)}.chat-conversation-head{flex-wrap:wrap}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-table{min-width:760px}.admin-tabs button{font-size:12px;padding:10px}}
@media(max-width:700px){.chat-workspace{display:block;height:calc(100dvh - 175px);min-height:420px}.chat-sidebar,.chat-conversation{height:100%}.chat-workspace:not(.has-conversation) .chat-conversation{display:none}.chat-workspace.has-conversation .chat-sidebar{display:none}.chat-back{display:block}.chat-conversation-head{padding:10px;gap:8px}.chat-messages{padding:14px 10px}.chat-message{max-width:92%}.chat-composer{padding:10px}.chat-compose-row{gap:6px;flex-wrap:wrap}.chat-compose-row textarea{flex-basis:calc(100% - 50px)}.chat-compose-row>.primary{margin-left:auto;min-width:110px}.chat-conversation-head>div{flex:1}.admin-companies{grid-template-columns:1fr}.admin-toolbar{flex-wrap:wrap}.team-view-switch{margin:8px 0 0}.admin-explainer{padding:16px}.admin-stats article{padding:16px}.admin-edit{padding:20px}.admin-audit article>div{flex-wrap:wrap}.pagehead .notification-bell{margin-left:auto}}

@media(max-width:700px){body:has(.chat-workspace.has-conversation){overflow:hidden}body:has(.chat-workspace.has-conversation) .sidebar,body:has(.chat-workspace.has-conversation) .pagehead{display:none}body:has(.chat-workspace.has-conversation) .workspace{padding:0;margin:0}.chat-workspace.has-conversation{height:100dvh;min-height:0;margin:0;border:0;border-radius:0}.chat-workspace.has-conversation .chat-conversation{height:100%}.chat-load-older{align-self:center;font-size:11px;padding:8px}}

.chat-conversation.is-internal .chat-conversation-head{background:#fff5df;border-bottom-color:#e5d3a8}.chat-conversation.is-internal .chat-conversation-head small{color:#916c2c}

.chat-type-tabs{display:flex;width:100%;margin:0}.chat-type-tabs button{flex:1;min-width:0;font-size:12px;padding:10px 8px;display:flex;align-items:center;justify-content:center;gap:6px}.chat-type-unread{display:inline-flex;align-items:center;justify-content:center;background:#e83c58;color:white;border-radius:10px;min-width:17px;height:17px;font-size:9px;padding:0 4px}.global-chat-launcher{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;background:#2862dd;color:white;border:1px solid #2862dd;border-radius:9px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.pagehead>.global-chat-launcher{margin-left:auto;margin-right:12px;align-self:flex-start}.pagehead>.team-view-switch~.global-chat-launcher{margin-left:12px}.global-chat-launcher:hover{background:#2056c9}.global-chat-launcher .chat-nav-badge{float:none;margin:0;background:#ed3a57}.dialog-top-actions{display:flex;align-items:center;gap:14px;flex:none}.dialog-top-actions .global-chat-launcher{font-size:12px;min-height:40px}.dialog-top-actions .close{flex:none}
@media(max-width:700px){.pagehead>.global-chat-launcher{margin:14px 10px 0 0;display:inline-flex}.dialog-top-actions{gap:8px}.dialog-top-actions .global-chat-launcher{font-size:11px;padding:8px 10px}.vehicle-workspace>.dialog-head{gap:10px}.vehicle-workspace>.dialog-head h2{font-size:17px}.request-details-dialog>.dialog-head{flex-wrap:wrap;gap:12px}.chat-type-tabs button{font-size:12px}}

/* Shared controls and form rhythm; application cards retain their existing geometry. */
button.primary,button.secondary,a.secondary{min-height:42px;border-radius:8px;font-size:13px;line-height:1.35;font-weight:500}button.primary{font-weight:600}button.secondary{border-color:#cad8ec;color:#315784;background:#fff}button.secondary:hover{background:#f2f6fc;border-color:#96b3dc}button:disabled{cursor:default}.request-dialog .close{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:8px;font-size:24px;border:1px solid #d5dfec;background:white;color:#6380a5;display:inline-grid;place-items:center;padding:0}.request-dialog .close:hover{background:#f1f5fb;border-color:#a5bddf}.request-dialog .form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:16px;margin-top:16px;border-top:1px solid #e2e9f3}.request-dialog :is(input:not([type=checkbox]):not([type=file]),select,textarea){border:1px solid #cbd9ed;border-radius:8px;padding:11px 12px;color:#2b405a;background:white;font:inherit;font-size:13px;line-height:1.5}.request-dialog input:not([type=checkbox]):not([type=file]),.request-dialog select{min-height:42px}.request-dialog textarea{resize:vertical}.request-dialog label{font-size:13px;line-height:1.6}.request-dialog .form-error{font-size:12px;line-height:1.65;color:#ae3d50}.request-dialog .form-error:empty{min-height:0;margin:0}.request-dialog .deal-drop,.request-dialog .vehicle-file-drop,.publication-cover-picker{border:2px dashed #b4c9e7;background:#f5f9ff;border-radius:10px;color:#5b7da7}.request-dialog .deal-drop.is-over,.request-dialog .vehicle-file-drop.is-over,.publication-cover-picker.is-over{border-color:#2862dd;background:#e9f1ff}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #80a7ed;outline-offset:3px}.dialog-head>h2,.dialog-head>div>h2{line-height:1.4}.deal-workspace-dialog[open]{display:flex;flex-direction:column;height:min(920px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:hidden}.deal-workspace-dialog .deal-heading{flex:none}.deal-workspace-dialog .deal-layout{flex:1;min-height:0;overflow:hidden}.deal-workspace-dialog .deal-section-nav,.deal-workspace-dialog .deal-content{min-height:0;overflow:auto}.deal-workspace-dialog .deal-content{padding-right:8px}.deal-workspace-dialog .deal-heading h2{font-size:21px}.deal-workspace-dialog .deal-error{flex:none}.deal-form-dialog form>.form-actions,.deal-upload-dialog form>.form-actions,.admin-edit form>.form-actions{position:sticky;bottom:-24px;background:white;padding-bottom:8px;z-index:2}.deal-stage{font-size:12px}.admin-table .quiet-archive{font-size:11px}.chat-type-tabs button{min-height:38px}
@media(max-width:700px){.deal-workspace-dialog[open]{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:16px}.deal-workspace-dialog .deal-heading{gap:12px;flex-wrap:wrap;padding-bottom:16px}.deal-workspace-dialog .deal-heading h2{font-size:18px}.deal-workspace-dialog .deal-layout{display:flex;flex-direction:column;gap:14px;margin-top:14px}.deal-workspace-dialog .deal-section-nav{flex:none;max-height:116px;display:flex;flex-direction:row;flex-wrap:wrap;overflow:auto}.deal-workspace-dialog .deal-section-nav button{flex:none;padding:8px;font-size:11px}.deal-workspace-dialog .deal-content{flex:1}.request-dialog .form-actions{flex-wrap:wrap}.dialog-top-actions{margin-left:auto}.request-dialog .deal-fields{gap:14px}}

.compact-vehicle-card button.secondary{min-height:40px;height:40px;font-size:12px}.compact-vehicle-card .vehicle-option-actions{gap:8px}

.sidebar nav a:has(.section-notification-count){display:flex;align-items:center;gap:8px}.section-notification-count{margin-left:auto;display:inline-flex;align-items:center}.section-notification-count:empty{display:none}.section-notification-count .unread-badge{position:static;margin:0;min-width:19px;height:19px;line-height:19px;box-shadow:none}
