/* v41: consistent touch targets, notifications, transport, chat and trips. */
.hin .brand-label-v29{color:#fff!important;display:block;font-size:clamp(13px,2.7vw,17px);font-weight:850;line-height:1.1}
.hin .brand-label-v29 span{color:#f04a53!important}
.hin .brand{display:flex;flex-direction:column;justify-content:center;gap:3px;max-width:min(47vw,280px);min-width:0}
.fleet-brand-caption41{font-size:clamp(7px,1.8vw,10px);color:#b8c1d0;line-height:1.16;font-weight:550;letter-spacing:0;white-space:nowrap}
#toast{z-index:210!important;bottom:calc(90px + env(safe-area-inset-bottom))!important;
 max-width:min(580px,calc(100vw - 30px));font-size:13px;line-height:1.5;
 pointer-events:none;text-align:center;box-shadow:0 10px 30px #0007}
body:has(#fleetMsgText35:focus) #toast{bottom:calc(16px + env(safe-area-inset-bottom))!important}
@media(min-width:900px){#toast{bottom:25px!important}}
#quickBar:not(.hidden){z-index:70}
#content{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.fleet-home-layout{padding-bottom:16px}
.fleet-driver-multi41{display:grid;gap:10px}
.fleet-driver-multi-head41{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.fleet-driver-multi-head41 label{font-weight:750}
.fleet-driver-multi-head41 small{font-size:11px;color:var(--muted)}
.fleet-driver-multi-options41{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}
.fleet-driver-multi-option41{min-width:0;background:var(--shade);border-radius:12px;padding:11px;
 display:flex!important;gap:9px;align-items:center;font-size:12px;cursor:pointer}
.fleet-driver-multi-option41:has(input:checked){background:#f2f3f5;color:#9d1622}
.fleet-driver-multi-option41 input{width:19px;height:19px;accent-color:#c51d2b;flex-shrink:0;min-height:19px}
.fleet-driver-multi-option41 span{display:flex;gap:6px;align-items:center;min-width:0;overflow-wrap:anywhere}
.fleet-driver-multi-option41 svg{width:17px;height:17px;flex-shrink:0}
.fleet-driver-cars41{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:5px 0}
.fleet-driver-cars41>strong,.fleet-driver-cars41>span{font-size:11px;color:var(--muted)}
.fleet-vehicle-tag41{display:inline-flex;align-items:center;gap:5px;padding:5px 9px!important;
 border-radius:11px!important;background:var(--shade)!important;color:inherit!important;
 font-weight:700!important;font-size:11px!important;min-height:32px!important;white-space:nowrap}
.fleet-vehicle-tag41 svg{width:16px;height:16px;color:#c12a37}
.fleet-quick-settings41{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 10px}
.fleet-quick-settings41 button,.fleet-notice-setting-shortcut41 button{
 display:inline-flex;align-items:center;gap:6px;background:var(--shade);border-radius:12px;
 font-size:11px;min-height:35px;padding:8px 11px;color:inherit}
.fleet-quick-settings41 svg,.fleet-notice-setting-shortcut41 svg{width:16px;height:16px;color:#ba2331}
.fleet-notice-setting-shortcut41{display:flex;justify-content:flex-end;margin:0 0 10px}
.notice-card .notice-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.fleet-notice-status41{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;max-width:52%;
 border-radius:10px!important;white-space:normal!important;padding:5px 8px!important;
 line-height:1.25;font-weight:800;font-size:10px!important}
.fleet-notice-status41 svg{height:15px;width:15px;flex-shrink:0}
.fleet-notice-status41.is-overdue{background:#ffe6e7;color:#9b1d2b}
.fleet-notice-status41.is-important{background:#fff0dd;color:#865209}
.fleet-notice-status41.is-read{background:var(--shade);color:var(--muted)}
.notice-actions{gap:5px!important;margin-top:9px!important}
.notice-actions button{font-size:10px!important;min-height:31px!important;
 padding:6px 9px!important;border-radius:10px!important}
.notice-main .notice-vehicle-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.notice-main .notice-vehicle-links button{border-radius:11px!important}
.fleet-notice-status41.is-important svg{animation:fleetAttention41 2.5s ease-in-out infinite}
.fleet-notice-status41.is-overdue svg{animation:fleetOverdue41 1.7s ease-in-out infinite}
@keyframes fleetAttention41{0%,85%,100%{transform:scale(1)}90%{transform:scale(1.22)}}
@keyframes fleetOverdue41{0%,100%{transform:scale(1)}48%{transform:scale(1.18)}}
.fleet-notice-sounds41,.fleet-notice-sounds41 *{min-width:0}
.fleet-notice-sounds41{padding:14px;margin-top:14px;background:var(--shade);border-radius:13px;display:grid;gap:10px}
.fleet-notice-sounds41 h3{font-size:15px;margin:0}
.fleet-notice-sounds41>label{font-size:12px;font-weight:750}
.fleet-notice-sounds41 input[type=file]{width:100%;font-size:11px;max-width:100%;white-space:normal}
.fleet-notice-sounds41 input[type=range]{accent-color:#c51d2b;width:100%}
.fleet-notice-sounds41 small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.fleet-msg-folders-tools41{display:flex;gap:7px;flex-wrap:wrap}
.fleet-msg-folders-tools41 button{display:inline-flex;align-items:center;gap:6px;min-height:36px;
 padding:7px 9px;font-size:11px;border-radius:11px;background:var(--shade);color:inherit}
.fleet-msg-folders-tools41 svg{width:15px;height:15px;color:#bb2431}
.fleet-message-panel{gap:9px;min-width:0;overflow:visible;padding-bottom:90px!important}
.fleet-message-feed{height:clamp(125px,19dvh,175px)!important;min-height:125px!important;max-height:175px!important}
.fleet-message-compose{position:sticky!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;
 z-index:72!important;background:var(--surface);padding:9px!important;
 border-radius:15px;box-shadow:0 -5px 20px #10182020;
 margin-bottom:0;scroll-margin-bottom:calc(90px + env(safe-area-inset-bottom))}
.fleet-message-compose textarea{min-height:58px!important;max-height:115px!important}
.fleet-message-toolbar{display:flex!important;flex-wrap:nowrap!important;gap:5px}
.fleet-message-sendbtn{font-size:12px!important;min-height:38px}
.fleet-message-attachment,.fleet-message-mic{flex:0 0 40px;width:40px}
.fleet-message-filetip{flex:1 1 auto;min-width:40px;font-size:10px}
.fleet-message-day41{display:flex;align-items:center;gap:8px;text-align:center;margin:5px 0;color:var(--muted);font-size:10px}
.fleet-message-day41:before,.fleet-message-day41:after{content:"";height:1px;background:var(--line);flex:1}
.fleet-message-day41 span{padding:3px 6px;background:var(--surface);border-radius:9px}
.fleet-msg-edit-actions41{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;margin-top:7px}
.fleet-msg-edit-actions41 button{background:var(--shade);border-radius:9px;display:inline-flex;
 gap:4px;align-items:center;padding:5px 7px;min-height:30px;font-size:10px;color:inherit}
.fleet-msg-edit-actions41 svg{width:12px;height:12px}
.fleet-msg-edited41,.fleet-msg-pending41{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.fleet-msg-deleted41{opacity:.65}
.fleet-msg-deleted41 p{display:flex;gap:6px;align-items:center}
.fleet-msg-deleted41 svg{width:14px;height:14px}
.fleet-chat-action41{display:grid;gap:9px}
.fleet-chat-action41 textarea,.fleet-chat-action41 input,.fleet-chat-action41 select{width:100%;min-height:42px}
.fleet-chat-action41 label{display:grid;gap:5px;font-size:12px}
.fleet-chat-permission41{display:flex!important;align-items:center;gap:8px!important}
.fleet-chat-permission41 input{width:18px;height:18px;min-height:18px}
.fleet-chat-folders41{display:grid;gap:7px;margin:11px 0}
.fleet-chat-folders41 button{display:flex;gap:8px;align-items:center;text-align:left;
 background:var(--shade);border-radius:11px;padding:10px;color:inherit;min-height:44px}
.fleet-chat-folders41 button>span{display:grid;gap:3px;flex:1}
.fleet-chat-folders41 small{font-size:10px;color:var(--muted)}
.fleet-chat-folders41 svg{width:18px;height:18px;color:#ba2534}
.fleet-chat-folder-messages41{display:grid;gap:8px;max-height:48dvh;overflow-y:auto;padding:8px}
.fleet-chat-folder-messages41 article{padding:10px;border-radius:11px;background:var(--shade);display:grid;gap:4px}
.fleet-chat-folder-messages41 strong{font-size:11px}
.fleet-chat-folder-messages41 small{font-size:10px;color:var(--muted)}
.fleet-chat-folder-messages41 p{font-size:12px;line-height:1.5;white-space:pre-wrap}
.fleet-trips-screen41{display:grid;gap:12px}
.fleet-trips-head41{display:flex;gap:12px;align-items:flex-start}
.fleet-trips-head41>svg{width:30px;height:30px;flex-shrink:0;color:#bb2432}
.fleet-trips-head41 h2{margin:0 0 5px;font-size:18px}
.fleet-trips-head41 p{font-size:12px;margin:0;color:var(--muted)}
.fleet-trips-toolbar41{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.fleet-trips-toolbar41 label{display:grid;gap:4px;font-size:11px;font-weight:750}
.fleet-trips-toolbar41 input{max-width:170px}
.fleet-trips-toolbar41 button{min-height:42px;display:flex;align-items:center;gap:6px;font-size:12px}
.fleet-trips-toolbar41 svg{width:16px;height:16px}
.fleet-trips-stats41{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.fleet-trips-stats41>div{display:grid;gap:5px;background:var(--shade);padding:10px;border-radius:12px}
.fleet-trips-stats41 strong{font-size:19px}
.fleet-trips-stats41 small{font-size:10px;color:var(--muted)}
.fleet-trip-analytics41{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:9px}
.fleet-trip-analytics41>div{background:var(--shade);padding:12px;border-radius:13px}
.fleet-trip-analytics41 strong{font-size:13px}
.fleet-trip-analytics41 p{font-size:11px;line-height:1.5}
.fleet-trips-items41{display:grid;gap:9px}
.fleet-trip-card41{display:grid;gap:8px;padding:12px;border-radius:13px;background:var(--shade)}
.fleet-trip-title41{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px}
.fleet-trip-title41 strong{font-size:13px;flex:1}
.fleet-trip-state41{font-size:10px;font-weight:800;background:var(--surface);border-radius:8px;padding:5px 7px}
.fleet-trip-state41.is-ongoing{color:#bd7217}
.fleet-trip-state41.is-completed{color:#1d7344}
.fleet-trip-state41.is-rejected{color:#b71f32}
.fleet-trip-card41>small{font-size:11px;color:var(--muted)}
.fleet-trip-distance41{font-size:14px;color:#b82735}
.fleet-trip-oil41{display:flex;align-items:center;gap:6px;color:#a72331!important;font-weight:750}
.fleet-trip-oil41 svg{width:16px;height:16px}
.fleet-trip-actions41{display:flex;flex-wrap:wrap;gap:7px}
.fleet-trip-actions41 button{font-size:11px;min-height:37px;border-radius:11px;padding:8px 11px}
.fleet-trip-form41{display:grid;gap:10px}
.fleet-trip-form41 label{display:grid;gap:5px;font-size:12px;font-weight:750}
.fleet-trip-form41 input,.fleet-trip-form41 select,.fleet-trip-form41 textarea{width:100%;min-width:0;min-height:43px}
.fleet-trip-vehicle-link41 button{display:flex;gap:8px;align-items:center;width:100%;min-height:43px}
.fleet-trip-vehicle-link41 svg{width:18px;height:18px}
@media(max-width:600px){
 .fleet-trips-stats41 strong{font-size:15px}
 .fleet-trips-stats41>div{padding:8px}
 .fleet-driver-multi-options41{grid-template-columns:1fr}
 .fleet-notice-status41{max-width:47%}
 .fleet-message-panel{padding-bottom:105px!important}
 .fleet-message-feed{height:clamp(105px,16dvh,145px)!important;min-height:105px!important;max-height:145px!important}
 .fleet-message-compose{bottom:calc(83px + env(safe-area-inset-bottom))!important}
}
@media(max-height:720px){
 .fleet-message-feed{height:100px!important;min-height:100px!important}
 .fleet-message-panel{gap:6px}
}
@media(prefers-reduced-motion:reduce){
 .fleet-notice-status41 svg{animation:none!important}
}

body:has(#fleetMsgText35:focus) #quickBar:not(.hidden){display:none!important}
@media(max-width:600px){
 .fleet-message-compose{bottom:calc(99px + env(safe-area-inset-bottom))!important}
 body:has(#fleetMsgText35:focus) .fleet-message-compose{bottom:12px!important}
}

.fleet-archived-file41{display:inline-flex;gap:6px;align-items:center;font-size:11px;color:#b52533;padding:6px 0;overflow-wrap:anywhere}.fleet-archived-file41 svg{width:15px;height:15px}
