/* Vehicle Connect usability refresh: site-scoped only. No effect on Workforce Connect 360. */
.vc-streamlined{background:#f2f7f9;color:#183a50}
.vc-streamlined main{box-sizing:border-box;width:100%!important;max-width:none!important;padding:18px clamp(14px,2vw,32px) 34px!important;margin:0 auto!important}
.vc-streamlined .wc360-site-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;padding:12px clamp(14px,2vw,32px)!important;min-height:72px;box-sizing:border-box}
/* The site's legacy wrapper rebuilds its own nav; don't show two navigations. */
.vc-streamlined .wc360-site-header>nav{display:none!important}
.vc-streamlined .wc360-site-header .brand{flex:0 0 auto;max-width:250px}
.vc-stream-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;flex:1 1 550px;min-width:0}
.vc-stream-nav>a,.vc-stream-nav .vc-more-menu>summary,.vc-stream-nav .vc-nav-logout button{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:9px;padding:11px 14px;color:#20465c;text-decoration:none;font-size:14px;font-weight:750;line-height:1.3;cursor:pointer;background:transparent;font-family:inherit;box-shadow:none}
.vc-stream-nav>a:hover,.vc-more-menu>summary:hover{background:#e5f3f1}
.vc-stream-nav>a.active,.vc-stream-nav>a[aria-current=page]{background:#e4f6f2;border-color:#a3d9d0;color:#037969}
.vc-more-menu{position:relative;z-index:30}
.vc-more-menu>summary{list-style:none;user-select:none}
.vc-more-menu>summary::-webkit-details-marker{display:none}
.vc-more-menu[open]>summary{background:#e3eef3}
.vc-more-items{position:absolute;right:0;top:calc(100% + 5px);min-width:220px;display:flex;flex-direction:column;padding:8px;background:#fff;border:1px solid #bcd2dd;box-shadow:0 12px 27px rgba(5,36,56,.16);border-radius:10px}
.vc-more-items a{padding:11px 12px;color:#254e63;text-decoration:none;font-weight:650;font-size:13px;border-radius:7px}
.vc-more-items a:hover{background:#eaf5f8}
.vc-nav-logout{margin:0!important;display:block}
.vc-stream-nav .vc-nav-logout button{border-color:#cbdce3;background:#fff;color:#365b6b}
.vc-stream-nav .vc-nav-logout button:hover{background:#e9f1f5}
.vc-streamlined .page-title-row{padding:0!important;margin:4px 0 16px!important}
.vc-streamlined .page-title-row h1{font-size:clamp(19px,1.7vw,26px)!important;letter-spacing:-.5px;margin:0!important}
.vc-simplified-page{max-width:none;width:100%;box-sizing:border-box;margin:0 auto 28px;color:#173950}
.vc-simple-hero{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;border:1px solid #c0deda;border-radius:15px;background:#e8f6f3;padding:clamp(18px,2.2vw,28px);margin:0 0 20px}
.vc-simple-hero h2{font-size:clamp(24px,2.3vw,34px);letter-spacing:-.7px;color:#173951;margin:3px 0 5px}
.vc-simple-hero p{font-size:14px;color:#4b6877;margin:3px 0;line-height:1.5;max-width:770px}
.vc-simple-hero .vc-eyebrow{font-size:10px!important;color:#007f70!important;font-weight:850;letter-spacing:1.5px!important;text-transform:uppercase!important}
.vc-simple-hero .vc-quick-actions{display:flex;flex-wrap:wrap;gap:9px}
.vc-simple-hero .button{font-size:13px;white-space:nowrap}
.vc-simple-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:17px 0 23px}
.vc-simple-metrics>a{display:flex;flex-direction:column;gap:8px;min-width:0;padding:17px 20px;border-radius:13px;background:#fff;border:1px solid #d0e1e9;text-decoration:none;color:#526e80;transition:box-shadow .2s}
.vc-simple-metrics>a:hover{box-shadow:0 7px 20px rgba(13,59,82,.12)}
.vc-simple-metrics>a b{font-size:32px;color:#075c73;line-height:1.1}
.vc-simple-metrics>a span{font-size:13px;font-weight:700}
.vc-simple-metrics>a.danger{background:#fff3f3;border-color:#dca5a8}.vc-simple-metrics>a.danger b{color:#a82930}
.vc-simple-panel{border:1px solid #d1e1e8;background:#fff;border-radius:14px;padding:clamp(16px,2vw,26px);margin:0 0 20px;min-width:0}
.vc-simple-panel h3{font-size:21px;letter-spacing:-.3px;color:#153d54;margin:0 0 10px}
.vc-simple-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.vc-simple-heading h3{margin:3px 0 2px}.vc-simple-heading p{margin:0}
.vc-simple-heading>a,.vc-home-footer a{font-weight:750;color:#05798b;text-decoration:none;font-size:13px}
.vc-attention-list{display:grid;gap:7px}
.vc-attention-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,1fr) auto;gap:12px;align-items:center;background:#f5fafb;border:1px solid #e0edf0;border-radius:9px;padding:11px 15px;text-decoration:none;color:#1c4458;font-size:13px}
.vc-attention-row strong{font-size:13px;color:#183d52}
.vc-attention-row span{color:#557286;font-size:12px;overflow-wrap:anywhere}
.vc-attention-row em{color:#087d86;font-style:normal;font-weight:750;white-space:nowrap}
.vc-attention-row.critical{background:#fff0f1;border:1px solid #d9a8ab}
.vc-attention-row.critical strong{color:#a3232c}
.vc-attention-row:hover{border-color:#78bdc5;background:#eef9f8}
.vc-status-table{overflow-x:auto;width:100%}
.vc-status-table table{width:100%;min-width:820px;border-collapse:collapse}
.vc-status-table th,.vc-status-table td{vertical-align:middle;padding:13px 12px;white-space:nowrap;font-size:13px}
.vc-status-table a{text-decoration:none}
.vc-status-pill{display:inline-block;border-radius:8px;padding:6px 9px;font-size:11px;font-weight:800;white-space:nowrap;text-decoration:none}
.vc-status-pill.good{background:#e2f5eb;color:#176445}
.vc-status-pill.warn{background:#fff1d8;color:#865511}
.vc-status-pill.stop{background:#b52a33;color:white}
.vc-home-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin:12px 0 28px}
.vc-safety-stop{border:2px solid #b82a32;border-radius:13px;background:#fff0f1;color:#76202a;padding:16px 20px;margin:15px 0 20px}
.vc-safety-stop strong{font-size:18px}
.vc-safety-stop p{font-size:13px;color:#76202a;line-height:1.5;margin:6px 0}
.vc-held-quicklist{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.vc-held-quicklist a{border:1px solid #dfaaae;background:#fff;border-radius:8px;color:#92252a;text-decoration:none;font-size:12px;font-weight:750;padding:7px 10px}
.vc-safety-note{margin:10px 0 24px;background:#fff9e9;border-left:4px solid #c18a2e;padding:12px 15px;color:#756027;line-height:1.5;font-size:13px}
.vc-issues-page .vc-issues-section{margin-top:26px}
.vc-issues-page .vc-use-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.vc-issues-page .vc-fault-item-card h5{font-size:17px;margin:11px 0;color:#173e55}
.vc-critical-label{display:inline-block;margin-left:8px;background:#ffe8e8;border:1px solid #e3afb0;border-radius:6px;padding:4px 6px;color:#9f292e;font-size:10px;vertical-align:middle}
.vc-compact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}
.vc-compact-actions>details{min-width:0;border:1px solid #d5e5ed;border-radius:9px;background:#f8fcfd;padding:11px}
.vc-compact-actions>details>summary{cursor:pointer;color:#126f7d;font-size:13px;font-weight:800;list-style:revert}
.vc-compact-actions>details:nth-child(3)>summary{color:#a65c29}
.vc-fault-item-card{position:relative;margin:0 0 14px}
.vc-anchor-target{position:absolute;top:-50px}
.vc-fault-history{margin:10px 0 0;border-top:1px solid #e1ebed;padding-top:9px;font-size:12px;color:#526c7b}
.vc-fault-history summary{cursor:pointer;font-weight:750}
.vc-fault-history ol{margin:10px 0;padding-left:20px}.vc-fault-history li{margin:7px 0}.vc-fault-history li p{margin:2px 0;color:#627d8a}
.vc-closed-archive{border:1px solid #d2e2e7;border-radius:12px;background:#fff;padding:16px 19px}
.vc-closed-archive>summary{cursor:pointer;color:#245a71;font-size:14px}
.vc-closed-line{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e6eff3;padding:11px 0}
.vc-closed-line strong{display:block;font-size:12px}.vc-closed-line small{display:block;color:#687f8b;font-size:11px;margin-top:4px}.vc-closed-line p{font-size:12px;margin:4px 0 0;color:#526d7a}
.vc-inline-restore{display:inline-block;margin-left:8px}.vc-inline-restore button{font-size:11px}
.vc-clean-workspace>.vc-workspace-heading{margin:0 0 10px;padding:16px 18px;background:#e9f5f3;border:1px solid #badbd6;border-radius:12px}
.vc-clean-workspace>.vc-workspace-heading h2{font-size:clamp(22px,2vw,29px);margin:3px 0}
.vc-subnav{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 17px}
.vc-subnav>a{padding:10px 13px;background:#fff;color:#225369;border:1px solid #cee1e6;border-radius:8px;font-size:13px;font-weight:800;text-decoration:none}
.vc-subnav>a[aria-current=page]{background:#dff5f0;color:#087564;border-color:#76c9bb}
.vc-streamlined .vc-content-checks .vehicle-priority-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;width:100%!important}
.vc-streamlined .vc-content-checks .vehicle-priority-grid>section{width:100%!important;min-width:0!important;max-width:unset!important}
.vc-streamlined .vehicle-weekly-section{box-sizing:border-box;width:100%!important;min-width:0!important}
.vc-streamlined .vehicle-week-table{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:visible}
.vc-streamlined .vehicle-week-table table{min-width:1130px!important;width:100%!important;table-layout:auto!important;white-space:normal!important}
.vc-streamlined .vehicle-week-table th,.vc-streamlined .vehicle-week-table td{font-size:12px;vertical-align:top;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;padding:12px 10px!important}
.vc-streamlined .vehicle-week-table th:last-child,.vc-streamlined .vehicle-week-table td:last-child{min-width:220px!important;max-width:370px;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.vc-streamlined .vehicle-week-table th:nth-child(7),.vc-streamlined .vehicle-week-table td:nth-child(7){min-width:120px!important;max-width:none!important;white-space:nowrap!important;word-break:normal!important}
.vc-streamlined .vc-content-checks .vehicle-attention-card{grid-column:1/-1}
.vc-streamlined .vehicle-register-card{width:100%!important;max-width:none!important}
.vc-streamlined .vehicle-register-table{width:100%!important;overflow-x:auto}
.vc-streamlined .vc-content-fleet .vehicle-register-table table{min-width:1100px;width:100%}
.vc-daily-page{max-width:1300px}
.vc-daily-form .vc-daily-first{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}
.vc-daily-form label{font-size:13px;font-weight:750;color:#255063}
.vc-daily-form select,.vc-daily-form input[type=number],.vc-daily-notes textarea{box-sizing:border-box;width:100%;display:block;margin:7px 0 0;padding:12px;border:1px solid #aecbd6;border-radius:8px;font-size:14px;background:white;color:#15384a}
.vc-daily-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}
.vc-daily-question{display:flex;align-items:center;gap:14px;border:1px solid #d5e4eb;border-radius:10px;padding:13px;background:#f8fbfc;min-width:0;flex-wrap:wrap}
.vc-daily-question legend{font-size:13px;font-weight:800;float:left;width:100%;color:#24495d;padding:0 0 5px}
.vc-daily-question label{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:650}
.vc-daily-notes{display:block;margin:16px 0}.vc-daily-notes textarea{resize:vertical}
.vc-unsafe-check{display:flex;align-items:center;gap:10px;background:#fff0f0;border:2px solid #bf4a52;padding:14px;border-radius:10px;color:#8f222d!important}
.vc-unsafe-check input{width:19px;height:19px;flex:none}
.vc-daily-policy{line-height:1.55;color:#5e7784;font-size:12px;margin:14px 0}
.vc-list-rows{display:grid;gap:6px}.vc-list-row{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:14px;padding:10px;background:#f7fbfd;border:1px solid #e2edf0;border-radius:8px;font-size:13px}
.vc-list-row small{font-size:12px;color:#698291}
.vc-streamlined .vehicle-check-main{max-width:1100px!important;margin:0 auto!important}
.vc-streamlined .vehicle-check-main .feature-card{box-sizing:border-box;max-width:none!important}
.vc-streamlined .vc-drivers{max-width:none}
@media(max-width:1150px){.vc-issues-page .vc-use-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vc-compact-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.vc-streamlined .wc360-site-header{align-items:flex-start}.vc-stream-nav{order:2;flex:1 1 100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:4px 0}.vc-stream-nav>a,.vc-stream-nav .vc-more-menu>summary,.vc-stream-nav .vc-nav-logout button{font-size:12px;padding:9px 11px;white-space:nowrap}.vc-more-menu{flex:none}.vc-simple-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.vc-attention-row{grid-template-columns:minmax(0,1fr) auto}.vc-attention-row span{grid-column:1/-1;order:3}.vc-attention-row em{grid-column:2;grid-row:1}.vc-issues-page .vc-use-grid{grid-template-columns:1fr}}
@media(max-width:620px){.vc-simple-metrics{gap:8px}.vc-simple-metrics>a{padding:13px}.vc-simple-metrics>a b{font-size:27px}.vc-simple-metrics>a span{font-size:11px}.vc-daily-form .vc-daily-first,.vc-daily-questions{grid-template-columns:1fr}.vc-simple-panel{padding:15px}.vc-compact-actions{grid-template-columns:1fr}.vc-simple-hero{padding:17px}.vc-streamlined main{padding:15px 12px!important}.vc-streamlined .wc360-site-header{padding:12px!important}}

/* 2026-10-25 · Vehicle Connect header contrast hotfix.
   Keep the established dark header but make its navigation readable.
   Scoped only to the standalone Vehicle Connect application. */
.vc-streamlined .wc360-site-header .vc-stream-nav > a,
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-more-menu > summary {
  color: #f5fbff !important;
  background: transparent;
  border-color: transparent;
}
.vc-streamlined .wc360-site-header .vc-stream-nav > a:hover,
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-more-menu > summary:hover,
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-more-menu[open] > summary {
  color: #ffffff !important;
  background: #185575 !important;
  border-color: #4087a3 !important;
}
.vc-streamlined .wc360-site-header .vc-stream-nav > a.active,
.vc-streamlined .wc360-site-header .vc-stream-nav > a[aria-current="page"] {
  color: #ffffff !important;
  background: #087867 !important;
  border-color: #28ae96 !important;
}
.vc-streamlined .wc360-site-header .vc-stream-nav > a:focus-visible,
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-more-menu > summary:focus-visible,
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-nav-logout button:focus-visible {
  outline: 3px solid #ffdf73;
  outline-offset: 3px;
}
/* More menu drops onto a WHITE panel: retain DARK lettering there. */
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-more-items a {
  color: #183d53 !important;
}
.vc-streamlined .wc360-site-header .vc-stream-nav .vc-nav-logout button {
  color: #183d53 !important;
  background: #ffffff !important;
  border-color: #b7d2df !important;
}

/* 2026-10-25 · Interactive fault-summary cards. Scoped to Faults & Vehicle Status only. */
.vc-issues-page .vc-issue-metric-nav>a{position:relative;cursor:pointer;min-height:112px;box-sizing:border-box;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.vc-issues-page .vc-issue-metric-nav>a:hover{background:#ecfbf8;border-color:#259e92;box-shadow:0 8px 22px rgba(9,92,100,.15);transform:translateY(-1px)}
.vc-issues-page .vc-issue-metric-nav>a:focus-visible{outline:3px solid #087f72;outline-offset:3px}
.vc-issues-page .vc-issue-metric-nav>a.vc-metric-selected{background:#e2f8f2;border-color:#178f83;box-shadow:inset 0 0 0 1px #178f83}
.vc-issues-page .vc-issue-metric-nav>a.vc-metric-selected.danger{background:#fff0f0;border-color:#b83240}
.vc-issues-page .vc-metric-prompt{font-size:11px;color:#05796f;font-weight:850;margin-top:auto;display:block;text-decoration:underline;text-underline-offset:2px}
.vc-issues-page .vc-focus-panel{scroll-margin-top:22px;border:2px solid #72bfb4;border-radius:14px;background:#fff;padding:clamp(16px,2vw,25px);margin:0 0 24px;box-shadow:0 7px 22px rgba(12,61,80,.07)}
.vc-issues-page .vc-focus-panel:focus{outline:none}
.vc-focus-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.vc-focus-header h3{font-size:clamp(19px,1.8vw,25px);color:#17435b;margin:3px 0 0}
.vc-focus-close{font-size:12px;font-weight:800;color:#08786f;border:1px solid #c3ddd9;background:#f3faf8;border-radius:8px;padding:9px 12px;text-decoration:none}
.vc-focus-close:hover{background:#def5ee}
.vc-focus-list{display:grid;gap:9px}
.vc-focus-empty{padding:17px;background:#f4f9fb;border-radius:9px;color:#526d7e;font-size:13px;line-height:1.6;margin:0}
.vc-focus-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 15px;background:#f3f9fa;border:1px solid #d9e9ec;border-radius:9px;color:#1b5367;text-decoration:none}
.vc-focus-row strong{font-size:13px;color:#16465c}.vc-focus-row span{font-size:12px;color:#4f7182}
.vc-focus-row:hover{border-color:#2ca69e;background:#e7f8f4}
.vc-focus-row:focus-visible,.vc-focus-close:focus-visible{outline:3px solid #127b78;outline-offset:2px}
@media(max-width:620px){.vc-issues-page .vc-issue-metric-nav>a{min-height:105px}.vc-issues-page .vc-metric-prompt{font-size:10px}.vc-focus-row{align-items:flex-start}}

/* 2026-10-26: enlarge Vehicle Connect branding; keep HD + phone layouts usable. */
.vc-streamlined .wc360-site-header .brand.wc360-header-brand {
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    width:clamp(205px,17vw,278px)!important;
    max-width:278px!important;
    min-width:0!important;
}
.vc-streamlined .wc360-site-header .brand.wc360-header-brand img {
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:278px!important;
    max-height:74px!important;
    object-fit:contain!important;
    object-position:left center!important;
}
@media(max-width:650px){
  .vc-streamlined .wc360-site-header .brand.wc360-header-brand {width:195px!important;max-width:195px!important}
  .vc-streamlined .wc360-site-header .brand.wc360-header-brand img{max-height:62px!important}
}
/* Manager-only closed entry controls; no change to the original fault record. */
.vc-issues-page .vc-closed-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.vc-issues-page .vc-closed-actions>form{margin:0}
.vc-issues-page .vc-closed-remove{min-width:180px;max-width:340px;padding:0 8px}
.vc-issues-page .vc-closed-remove>summary{cursor:pointer;color:#8e3b36;font-size:12px;font-weight:800;padding:9px 4px}
.vc-issues-page .vc-closed-remove[open]{background:#fff8f3;border:1px solid #e5c0ac;border-radius:8px;padding:8px 12px}
.vc-issues-page .vc-closed-remove .vc-use-form{margin-top:12px}
.vc-issues-page .vc-closed-archive>.muted{font-size:12px;line-height:1.6}
.vc-issues-page .vc-hidden-closed{margin-top:14px;background:#f8fafb}
.vc-issues-page .vc-closed-line>div:first-child{min-width:200px;flex:1 1 280px}
@media(max-width:660px){.vc-issues-page .vc-closed-actions{justify-content:flex-start;width:100%}}


/* Vehicle Connect: header logo contrast fix (26 October 2026).
   The original logo has dark-blue lettering, so it needs a light
   backing when the navigation header is dark navy.
   This only affects the Vehicle Connect header, not the shared 360 site. */
.vc-streamlined .wc360-site-header .brand.wc360-header-brand {
    box-sizing: border-box !important;
    width: clamp(255px, 21vw, 310px) !important;
    max-width: 310px !important;
    min-height: 64px !important;
    padding: 7px 12px !important;
    background: linear-gradient(110deg, #f9fdff 0%, #e5f5f5 100%) !important;
    border: 1px solid #c4e0e4 !important;
    border-radius: 11px !important;
    box-shadow: 0 2px 8px rgba(0, 12, 30, 0.10) !important;
    text-decoration: none !important;
}
.vc-streamlined .wc360-site-header .brand.wc360-header-brand img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 59px !important;
    object-fit: contain !important;
    object-position: left center !important;
}
@media (max-width: 650px) {
    .vc-streamlined .wc360-site-header .brand.wc360-header-brand {
        width: 238px !important;
        max-width: 238px !important;
        min-height: 55px !important;
        padding: 5px 10px !important;
    }
    .vc-streamlined .wc360-site-header .brand.wc360-header-brand img {
        max-height: 51px !important;
    }
}


/* Vehicle Connect - Fleet Register HD-width fix, 26 October 2026.
 * Scope deliberately limited to the live Fleet Register. Does not affect
 * inspections, driver forms, faults, photographs or the shared 360 system.
 * Override inherited nine-column minimum widths and four-across maintenance
 * layout that caused horizontal overflow and overlapping controls.
 */
.vc-streamlined .vc-content-fleet,
.vc-streamlined .vc-content-fleet .vehicle-register-card {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: visible !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table > table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table th,
.vc-streamlined .vc-content-fleet .vehicle-register-table td {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: none !important;
  vertical-align: middle !important;
  padding: 10px 7px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
/* 100% total: reg, description, driver, tag, tracker, dashcam,
 * maintenance, status and edit. */
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(1),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(1){width:9% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(2),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(2){width:11% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(3),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(3){width:13% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(4),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(4){width:7% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(5),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(5){width:7% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(6),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(6){width:7% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(7),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(7){width:28% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(8),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(8){width:9% !important}
.vc-streamlined .vc-content-fleet .vehicle-register-table th:nth-child(9),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(9){width:9% !important}

.vc-streamlined .vc-content-fleet .vehicle-register-table td:first-child {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  font-weight: 700;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table .vehicle-compliance-grid {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 5px 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table .vehicle-compliance-grid > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table .vehicle-compliance-grid > div > span {
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table .vehicle-compliance-grid .compliance-badge {
  box-sizing: border-box !important;
  display: inline-block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: auto !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  padding: 3px 5px !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(8),
.vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(9){
  overflow-wrap: normal !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table .vehicle-edit-details{
  display: inline-block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  vertical-align: middle !important;
}
.vc-streamlined .vc-content-fleet .vehicle-register-table .vehicle-edit-summary{
  box-sizing: border-box !important;
  min-height: 34px !important;
  padding: 7px 10px !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}
/* On narrower devices, use full-width vehicle cards instead of an
 * unreadable 9-column table or a side-scrolling table. */
@media (max-width: 1330px) {
  .vc-streamlined .vc-content-fleet .vehicle-register-table > table,
  .vc-streamlined .vc-content-fleet .vehicle-register-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table > table > tbody > tr:first-child,
  .vc-streamlined .vc-content-fleet .vehicle-register-table > table > tr:first-child {
    display: none !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table tr[id^='vehicle-row-'] {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 0 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 13px !important;
    padding: 10px 14px !important;
    border: 1px solid #d9e7ec !important;
    border-radius: 11px !important;
    background: #fff !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table tr[id^='vehicle-row-'] > td {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 7px 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 10px 5px !important;
    border-bottom: 1px solid #e6edf1 !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table tr[id^='vehicle-row-'] > td::before {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #567384 !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(1)::before{content:'Registration'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(2)::before{content:'Vehicle'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(3)::before{content:'Driver'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(4)::before{content:'Driver tag'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(5)::before{content:'Tracker'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(6)::before{content:'Dashcam'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(7)::before{content:'MOT · Tax · Service';width:100%}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(8)::before{content:'Status'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(9)::before{content:'Manage'}
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(7) {
    grid-column: 1 / -1 !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(7) .vehicle-compliance-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(8),
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(9){border-bottom:0!important}
}
@media (max-width: 640px) {
  .vc-streamlined .vc-content-fleet .vehicle-register-table tr[id^='vehicle-row-']{
    grid-template-columns: 1fr !important;
  }
  .vc-streamlined .vc-content-fleet .vehicle-register-table td:nth-child(7) .vehicle-compliance-grid{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}


/* Vehicle Connect v1.0.0 | 26 October 2026
 * Weekly inspection photos in a horizontal strip and space-saving warning styling.
 * Scoped to standalone Vehicle Connect. Genuine DO NOT USE holds remain clearly visible.
 */
.vc-streamlined .vc-content-checks .vehicle-week-table .vc-photos-inline-row > td {
  padding: 8px 12px 12px !important;
  border-top: 0 !important;
  background: #f7fafc;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
}
.vc-streamlined .vc-content-checks .vc-photos-inline-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.vc-streamlined .vc-content-checks .vc-photos-inline-title {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: #547080;
  padding-top: 8px;
  white-space: nowrap;
}
/* Keep the photographs in one horizontal strip on desktop. Small screens can
   scroll the photo strip without making the entire inspection page very wide. */
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-proof-gallery,
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-photo-gallery {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 0 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-proof-gallery > a,
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-photo-gallery > a {
  box-sizing: border-box;
  flex: 0 0 105px !important;
  width: 105px !important;
  max-width: 105px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  align-items: center !important;
  text-align: center !important;
  text-decoration: none !important;
}
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-proof-gallery img,
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-photo-gallery img {
  display: block !important;
  width: 105px !important;
  height: 68px !important;
  max-height: 68px !important;
  max-width: 105px !important;
  object-fit: cover !important;
  border: 1px solid #cbdde5 !important;
  border-radius: 7px !important;
}
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-proof-gallery small,
.vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-photo-gallery small {
  color: #466778 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}
/* Other inspection galleries (driver history and archives) can also use a
   compact, wrapping row without changing the click-to-open photo links. */
.vc-streamlined .vehicle-recent-checks .vc-proof-gallery,
.vc-streamlined .vehicle-archive-card .vc-proof-gallery {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 8px !important;
  align-items: flex-start !important;
}
.vc-streamlined .vehicle-recent-checks .vc-proof-gallery > a,
.vc-streamlined .vehicle-archive-card .vc-proof-gallery > a {
  width: 88px !important;
  min-width: 0 !important;
  flex: 0 0 88px !important;
}
.vc-streamlined .vehicle-recent-checks .vc-proof-gallery img,
.vc-streamlined .vehicle-archive-card .vc-proof-gallery img {
  width: 88px !important;
  height: 60px !important;
  object-fit: cover !important;
}
/* A genuine restriction is a safety matter. Compact, readable, not hidden. */
.vc-streamlined .vc-issues-shortcut {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px 14px !important;
  min-height: 0 !important;
  margin: 8px 0 12px !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.vc-streamlined .vc-issues-shortcut > strong {
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}
.vc-streamlined .vc-issues-shortcut > span {
  font-size: 11px !important;
  line-height: 1.35 !important;
  flex: 1 1 225px !important;
  margin: 0 !important;
}
.vc-streamlined .vc-issues-shortcut > a.button {
  font-size: 11px !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  margin: 0 !important;
}
.vc-streamlined .vc-stop-warning,
.vc-streamlined .vc-safety-stop {
  padding: 10px 13px !important;
  margin: 9px 0 !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
.vc-streamlined .vc-safety-stop strong {font-size: 13px !important;}
.vc-streamlined .vc-safety-stop p {font-size: 12px !important;}
.vc-streamlined .vc-stop-inline,
.vc-streamlined .vc-critical-label {
  font-size: 10px !important;
  line-height: 1.25 !important;
  padding: 3px 6px !important;
}
.vc-streamlined .vc-driver-stop,
.vc-streamlined .vc-unsafe-check {
  padding: 10px 12px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
@media (max-width: 700px) {
  .vc-streamlined .vc-content-checks .vc-photos-inline-inner {display: block !important;}
  .vc-streamlined .vc-content-checks .vc-photos-inline-title {display: block; padding: 0 0 7px;}
  .vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-proof-gallery > a {flex-basis: 94px !important;width:94px !important;}
  .vc-streamlined .vc-content-checks .vc-photos-inline-row .vc-proof-gallery img {width:94px !important;height:64px !important;}
}

/* Vehicle Connect v1.0.1: preview delivery optimised in PHP; existing layout preserved. */
