@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@600;700&display=swap");

:root{--blue:#0754ac;--deep:#063f86;--navy:#0b3474;--light:#edf5ff;--line:#d9e5f4;--ink:#18345a;--muted:#667d99}
*{box-sizing:border-box}html{min-height:100%}body{font:15px system-ui,-apple-system,'Segoe UI',sans-serif;margin:0;background:#f4f8fe;color:var(--ink)}
header{background:white;color:var(--navy);padding:12px 22px;border-bottom:1px solid var(--line);box-shadow:0 2px 10px #0838750a}
header>div{max-width:1300px;margin:auto;display:flex;align-items:center;gap:17px}header img{width:90px;height:64px;object-fit:contain}h1{font-size:clamp(20px,2.3vw,30px);margin:0;color:var(--navy);letter-spacing:-.4px}header small{color:#70849d}
main{max-width:1300px;margin:auto;padding:22px 16px 80px}h2{color:var(--navy);font-size:22px;margin:0 0 13px}h3{color:var(--navy)}
.card{background:#fff;padding:22px;border:1px solid var(--line);border-radius:14px;margin-bottom:16px;box-shadow:0 3px 12px #1a4e8a09}
label{display:block;font-weight:650;font-size:13px;margin:13px 0 6px;color:#244368}
input,select,textarea{width:100%;padding:12px;border:1px solid #c9d9ed;border-radius:8px;font:inherit;background:#fff;color:#18345a;min-width:0}
input:focus,select:focus,textarea:focus{outline:2px solid #80b8f4;outline-offset:1px}
button{padding:11px 16px;background:var(--blue);color:white;border:0;border-radius:8px;font-weight:650;cursor:pointer;font:inherit;font-weight:650}button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:not-allowed}button.alt{background:#e7f1fd;color:var(--navy)}button.danger{background:#bc4250}
#app{display:grid;grid-template-columns:208px minmax(0,1fr);column-gap:20px;align-items:start}#app>.actions{grid-column:2;grid-row:1;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin-bottom:12px}#app>nav{grid-column:1;grid-row:1/span 2;display:flex;flex-direction:column;gap:6px;background:linear-gradient(160deg,#0860b7,#063b81);padding:14px;border-radius:13px;position:sticky;top:12px;min-height:490px}#app>nav button{background:transparent;color:#fff;text-align:left;white-space:normal;padding:13px 14px}#app>nav button.active{background:#cde6ff;color:#083b7d}#app>#screen{grid-column:2;grid-row:2;min-width:0}
#auth{max-width:440px;margin:45px auto;padding:30px}#auth:before{content:'';display:block;background:url('desktop-logo-transparent.png') center/contain no-repeat;height:120px;margin-bottom:12px}#auth h2{text-align:center}#login button{width:100%;margin-top:8px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.driver-group{padding:12px 15px;margin:14px 0;border:1px solid var(--line);border-radius:10px;background:#f9fcff}.driver-group h3{margin:5px 0}.item{border-bottom:1px solid #e3edf8;padding:13px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}.actions select{width:auto;min-width:110px}.muted,small{color:var(--muted)}#notice{margin-bottom:10px;color:#b42d45;font-weight:600}#app[hidden],#auth[hidden]{display:none!important}
@media(max-width:750px){header{padding:9px 14px}header img{width:65px;height:47px}header>div{gap:9px}main{padding:14px 10px 70px}#app{display:flex;flex-direction:column;gap:12px}#app>.actions{width:100%;margin:0}#app>nav{position:static;min-height:0;width:100%;display:flex;flex-direction:row;overflow-x:auto;gap:5px;padding:8px;border-radius:10px}#app>nav button{white-space:nowrap;font-size:13px;padding:10px 12px}#app>#screen{width:100%}.card{padding:17px}.grid{grid-template-columns:1fr}#auth{margin:18px auto;padding:22px}}

.leave-summary{max-height:330px;overflow-y:auto;border:1px solid var(--line);border-radius:10px;padding:0 12px}.leave-summary .item{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.leave-summary .item small{width:100%}.right{margin-left:auto;font-weight:700;color:var(--blue)}textarea{resize:vertical}

#nav button[data-tab='notifications']{font-weight:700}

/* HST FleetHub visual refresh — no application logic changes */
:root{--blue:#0754ac;--deep:#053d84;--navy:#102f63;--light:#f1f6ff;--line:#dce6f3;--ink:#1d3555;--muted:#667994;--red:#d82d43}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;background:linear-gradient(180deg,#edf4ff 0,#f8fbff 260px,#f6f9fe 100%);font-size:14px}
header{border-bottom:3px solid var(--red);box-shadow:0 5px 22px #123e780c;padding:13px 22px}
header img{width:78px;height:59px}
header h1{font-family:'Inter',sans-serif;font-size:clamp(21px,2.4vw,29px);line-height:1.12;letter-spacing:-.8px}
.brand-hst{font-family:'Rajdhani',Impact,sans-serif;font-size:1.22em;font-weight:700;letter-spacing:.4px;color:var(--blue)}
.brand-fleet{font-weight:800;color:var(--navy)}
.tagline{display:block;margin-top:4px;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;font-weight:700;color:#7287a3}
main{padding-top:26px}
h2{font-weight:800;letter-spacing:-.65px}h3{font-weight:700}
.card{border:1px solid #e0e9f5;border-radius:17px;box-shadow:0 7px 24px #123d780b;padding:24px}
button{border-radius:10px;font-family:'Inter',system-ui,sans-serif;font-size:13px;font-weight:700;transition:filter .15s,transform .15s}
button:active{transform:translateY(1px)}button.danger{background:var(--red)}button.alt{background:#eaf2ff;color:var(--deep)}
input,select,textarea{border-radius:10px;border-color:#cddbee;background:#fcfdff;font-size:14px}
input:focus,select:focus,textarea:focus{outline:2px solid #8eb9f0}
#app>nav{background:linear-gradient(160deg,#095bb7 0%,#0b458e 68%,#08366f 100%);border-radius:16px;box-shadow:0 10px 24px #08457c22;gap:7px;padding:13px}
#app>nav button{font-weight:650;border-radius:10px}
#app>nav button.active{background:white;color:var(--blue);box-shadow:inset 3px 0 var(--red)}
#app>.actions{border-radius:14px;padding:12px 16px;box-shadow:0 5px 18px #123d7808}
#auth{border-top:4px solid var(--red);max-width:455px;margin-top:48px;padding:32px}
#auth:before{height:105px;margin-bottom:19px}
#auth h2{font-size:25px;margin-bottom:5px}
.auth-subtitle{text-align:center;color:var(--muted);font-size:12px;margin:0 0 22px}
#login button{padding:14px;font-size:14px}
.item{border-color:#e8eef8}
@media(max-width:750px){header{padding:9px 13px}header img{width:59px;height:48px}header h1{font-size:22px}.tagline{font-size:9px;letter-spacing:.7px}main{padding:15px 11px 72px}#app>nav{border-radius:12px;padding:8px;box-shadow:none}#app>nav button.active{box-shadow:inset 0 -3px var(--red)}#app>nav button{font-size:12px;padding:11px 12px}.card{padding:19px;border-radius:14px}#auth{margin-top:20px;padding:24px}}

/* HST Connect login experience: no payroll, auth or push logic changed */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body:has(#auth:not([hidden])){background:linear-gradient(180deg,rgba(252,196,96,.17) 0%,rgba(255,192,91,.09) 45%,rgba(2,22,54,.70) 100%),url('login-trucks.jpg') center center/cover fixed no-repeat;min-height:100dvh}
body:has(#auth:not([hidden])) header{display:none}
body:has(#auth:not([hidden])) main{max-width:600px;min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-end;padding:30px 20px max(30px,env(safe-area-inset-bottom))}
body:has(#auth:not([hidden])) #notice{background:#fffdf4e8;border-radius:10px;padding:0 10px;z-index:1}
body:has(#auth:not([hidden])) #notice:empty{display:none}
#auth{border:0;background:transparent;box-shadow:none;max-width:100%;width:100%;padding:0!important;margin:0 auto!important}
#auth:before{display:none}
.login-brand{position:fixed;top:clamp(65px,12vh,175px);left:0;width:100%;text-align:center;pointer-events:none}
.login-brand img{width:min(49vw,270px);height:auto;mix-blend-mode:multiply}
.login-brand h2{font-family:'Rajdhani','Inter',sans-serif;font-size:clamp(35px,8vw,57px);font-weight:700;color:#092c87;letter-spacing:-.5px;margin:12px 0 0;text-shadow:0 1px 9px #fff9}
#login{display:flex;flex-direction:column;gap:9px}
#login input{height:65px;border:0;border-radius:17px;background:#fffffff2;padding:15px 22px;font-size:17px;box-shadow:0 5px 18px #07162d2b}
#login input::placeholder{color:#8b909c}
#login p{margin:8px 0 0}
#login button{height:64px;border-radius:17px;font-size:23px;font-weight:800;background:linear-gradient(145deg,#0878e8,#003c9e);border:1px solid #6ab3ff;box-shadow:0 8px 24px #001d4d50}
.login-features{display:grid;grid-template-columns:repeat(3,1fr);margin:26px 0 4px;color:white;text-align:center;text-shadow:0 2px 5px #001a40;font-size:29px}
.login-features>div{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 8px}
.login-features>div+div{border-left:1px solid #ffffff9a}
.login-features span{font-size:12px;font-weight:600;line-height:1.35}
@media(max-width:750px){body:has(#auth:not([hidden])) main{padding:20px 18px max(28px,env(safe-area-inset-bottom))}.login-brand{top:clamp(70px,13vh,155px)}.login-brand img{width:45vw}}
@media(max-height:700px){.login-brand{top:35px}.login-brand img{width:130px}.login-brand h2{font-size:29px}.login-features{margin-top:13px}}

/* Approved second login design, full-height portrait ratio. The artwork is visual only; inputs and sign-in remain real HTML controls. */
body:has(#auth:not([hidden])){background:#071e41!important;min-height:100dvh}
body:has(#auth:not([hidden])) main{position:relative;width:min(100%,600px);max-width:600px;height:100dvh;min-height:620px;margin:auto;padding:0!important;background:url('login-final.png') center center/100% 100% no-repeat;display:block;overflow:hidden}
body:has(#auth:not([hidden])) #notice{position:absolute;top:57%;left:7%;width:86%;z-index:4;background:#fff9!important;padding:8px!important}
#auth{position:absolute;inset:0!important;max-width:none!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;pointer-events:none}
#auth #login{position:absolute;top:63.25%;left:6.2%;width:87.6%;height:18.1%;display:block;pointer-events:auto}
#auth #login .login-field{position:absolute;left:0;width:100%;height:29.3%;display:flex;align-items:center;background:#fff;border-radius:19px;box-shadow:0 2px 8px #0a173125}
#auth #login .login-field:nth-child(1){top:0}
#auth #login .login-field:nth-child(2){top:32.2%}
#auth #login .login-field svg{width:27px;height:27px;stroke:#0343a5;fill:none;stroke-width:1.9;flex:none;margin-left:5.5%}
#auth #login input{flex:1;width:0;min-width:0;height:100%;font-size:clamp(15px,3.7vw,23px);font-family:Inter,system-ui,sans-serif;color:#122f56;padding:0 16px!important;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;border-radius:19px}
#auth #login input::placeholder{color:#8b909c}
#auth #login .password-toggle{background:transparent!important;color:#9599a4!important;border:0;box-shadow:none!important;width:42px;height:100%;font-size:22px;padding:0;margin:0 12px 0 0}
#auth #login .login-submit{position:absolute;top:67.9%;left:0;width:100%;height:29.3%;margin:0!important;padding:0!important;border:1px solid #3b94ff;border-radius:18px;background:linear-gradient(135deg,#087be8,#003d9e);box-shadow:0 5px 12px #00112d55;font-family:Inter,system-ui,sans-serif;font-size:clamp(21px,5vw,30px);font-weight:800;color:white}
#auth #login .login-submit span{font-size:1.3em;margin-left:9px;font-weight:400}
@media(min-width:650px){body:has(#auth:not([hidden])) main{box-shadow:0 0 30px #0005}#auth #login input{font-size:21px}}

/* Fix: overlay actual inputs directly on the same-sized controls in approved artwork */
#auth #login{top:65%;height:18.5%}
#auth #login .login-field{height:30%;border-radius:19px}
#auth #login .login-field:nth-child(2){top:32%}
#auth #login .login-submit{top:69%;height:30%;border-radius:18px}

.trip-done{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:8px;background:#dcfce7;color:#166534;font-weight:800;border:1px solid #86efac;min-height:42px}
input[readonly]{background:#f1f5f9;color:#64748b}

/* Desktop full-width fleet image; original mobile login remains unchanged. */
@media (min-width:900px){
body:has(#auth:not([hidden])){background:#071e41 url('desktop-trucks.jpg') center/cover no-repeat fixed!important;min-height:100dvh}
body:has(#auth:not([hidden])) main{width:100%!important;max-width:none!important;min-height:100dvh!important;height:100dvh!important;margin:0!important;background:linear-gradient(180deg,#03133544,#03133511 44%,#03133566)!important;box-shadow:none!important;overflow:hidden}
body:has(#auth:not([hidden])) main::before{content:'';position:absolute;z-index:1;top:6%;left:50%;transform:translateX(-50%);width:260px;height:145px;background:url('desktop-logo-transparent.png') center/contain no-repeat;filter:drop-shadow(0 2px 12px #ffffffbb);pointer-events:none}
body:has(#auth:not([hidden])) main::after{content:'HST Connect';position:absolute;z-index:1;top:calc(6% + 145px);left:50%;transform:translateX(-50%);font-family:'Rajdhani','Inter',sans-serif;font-size:clamp(42px,4.4vw,63px);font-weight:900;font-style:italic;white-space:nowrap;color:#062c94;text-shadow:0 1px 12px white,0 1px 3px white;pointer-events:none}
body:has(#auth:not([hidden])) #auth{inset:0!important;background:transparent!important}
body:has(#auth:not([hidden])) #auth #login{top:35%!important;bottom:auto!important;left:50%!important;transform:translateX(-50%);width:min(440px,90vw)!important;height:174px!important;padding:10px!important;background:#05193f55;border:1px solid #ffffff77;border-radius:22px;box-shadow:0 12px 40px #00112c66;backdrop-filter:blur(10px)}
body:has(#auth:not([hidden])) #auth #login .login-field{left:3%!important;width:94%!important;height:40px!important;border-radius:11px!important}
body:has(#auth:not([hidden])) #auth #login .login-field:nth-child(1){top:9px!important}
body:has(#auth:not([hidden])) #auth #login .login-field:nth-child(2){top:56px!important}
body:has(#auth:not([hidden])) #auth #login .login-submit{top:105px!important;left:3%!important;width:94%!important;height:51px!important;border-radius:11px!important}
body:has(#auth:not([hidden])) #notice{top:calc(35% - 55px)!important;bottom:auto!important;left:50%!important;transform:translateX(-50%);width:min(440px,90vw)!important}
}

/* Top-right notification bell, aligned with the HST Connect header title. */
header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#headerNotification{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:7px 11px;border-radius:12px;background:#eef5ff;border:1px solid #bfd6f5;color:#0754ac;font-size:21px;font-weight:700;cursor:pointer;box-shadow:0 2px 6px #052a6515}
#headerNotification[hidden]{display:none!important}
#headerNotification.active{background:#0754ac;color:white;border-color:#0754ac}
#headerNotification:hover{background:#dbeafe}
#headerNotification.active:hover{background:#053d84}
@media(max-width:750px){#headerNotification{min-width:42px;min-height:42px;font-size:19px;padding:6px 8px}header{gap:8px}}

/* Keep the signed-in HST Connect header and notification bell visible on scroll. */
body:not(:has(#auth:not([hidden]))) > header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}
/* Ensure the sticky sidebar never hides beneath the pinned header. */
body:not(:has(#auth:not([hidden]))) #app > nav { top: 92px; }
@media (max-width: 750px) {
  body:not(:has(#auth:not([hidden]))) #app > nav { top: 76px; }
}

/* Align the pinned header contents with the desktop app/sidebar content edges. */
@media (min-width: 751px) {
  body:not(:has(#auth:not([hidden]))) > header {
    padding-left: max(22px, calc((100% - 1150px) / 2));
    padding-right: max(22px, calc((100% - 1150px) / 2));
  }
  body:not(:has(#auth:not([hidden]))) > header > div {
    margin: 0;
    max-width: none;
  }
}

/* Home link: entire HST logo/title is clickable only after sign-in. */
body:not(:has(#auth:not([hidden]))) #brandHome{cursor:pointer;border-radius:8px}
body:not(:has(#auth:not([hidden]))) #brandHome:focus-visible{outline:3px solid #4b9af6;outline-offset:4px}
#hstHomeEmpty{min-height:65vh}
/* Mobile: left-align brand independently; notification bell remains on right. */
@media(max-width:750px){
 body:not(:has(#auth:not([hidden]))) > header{justify-content:space-between!important;padding-left:12px!important;padding-right:12px!important}
 body:not(:has(#auth:not([hidden]))) > header > #brandHome{margin:0!important;max-width:none!important;min-width:0;flex:0 1 auto;justify-content:flex-start!important;text-align:left!important;gap:7px!important}
 body:not(:has(#auth:not([hidden]))) > header > #brandHome img{width:58px;height:48px;flex-shrink:0}
 body:not(:has(#auth:not([hidden]))) > header > #brandHome section{text-align:left!important;min-width:0}
 body:not(:has(#auth:not([hidden]))) > header > #brandHome h1{font-size:clamp(18px,4.8vw,24px);white-space:nowrap}
 body:not(:has(#auth:not([hidden]))) > header > #brandHome small{font-size:8px;letter-spacing:.35px}
 body:not(:has(#auth:not([hidden]))) > header > #headerNotification{margin-left:auto!important;flex-shrink:0}
}

/* Responsive Operations Dashboard */
.dash-home{display:grid;gap:16px;padding:0 0 22px;color:#10356c}.dash-hero{position:relative;min-height:205px;border-radius:16px;overflow:hidden;background:linear-gradient(90deg,rgba(3,37,94,.8),rgba(4,54,116,.12)),url('desktop-trucks.jpg') center 58%/cover;display:flex;align-items:flex-start;justify-content:space-between;padding:24px;color:white;gap:12px}.dash-hero-copy span{font-size:17px}.dash-hero h2{font-size:clamp(27px,3vw,40px);margin:3px 0;font-weight:800;color:white}.dash-hero p{margin:0;font-size:16px;color:white}.dash-date{background:#ffffffdd;color:#163e75;padding:11px 14px;border-radius:10px;font-weight:700;font-size:12px}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dash-kpi,.dash-panel{background:white;border:1px solid #dbe7f8;border-radius:14px;box-shadow:0 3px 14px #0d3b7810}.dash-kpi{display:flex;gap:12px;align-items:center;padding:18px 14px}.dash-icon{display:grid;place-items:center;flex:none;background:#e7f1ff;color:#0755b8;border-radius:12px;width:48px;height:48px;font-size:25px;font-weight:700}.dash-kpi div{display:grid;gap:4px;min-width:0}.dash-kpi small{font-size:12px;color:#5b7399}.dash-kpi strong{font-size:27px;color:#0c3473}.dash-kpi div>span{font-size:11px;color:#6b81a0}.dash-panels{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}.dash-panel{padding:17px;min-width:0}.dash-panel h3{margin:0 0 12px;font-size:17px;color:#0d3675}.dash-legend{display:flex;gap:18px;color:#1670d9;font-size:12px}.dash-legend span+span{color:#9dc7f3}.dash-chart{height:180px;display:flex;align-items:flex-end;justify-content:space-around;gap:9px;border-bottom:1px solid #e2eaf5;padding-top:12px}.dash-bar-col{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;gap:7px}.dash-bar-track{height:145px;max-width:46px;width:80%;display:flex;flex-direction:column-reverse;justify-content:flex-start;background:#f1f6fd;border-radius:5px 5px 0 0;overflow:hidden}.dash-bar-approved{background:#1670d9;min-height:0}.dash-bar-pending{background:#a9cff5;min-height:0}.dash-bar-col small{white-space:nowrap;color:#617da3;font-size:10px}.dash-footnote,.dash-muted{font-size:12px;color:#7185a4;margin:10px 0 0}.dash-today{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dash-today div{padding:15px 10px;border-radius:10px;background:#f0f6ff;text-align:center;display:grid;gap:8px}.dash-today b{font-size:26px;color:#0954ad}.dash-today span{font-size:12px;color:#6680a4}.dash-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.dash-panel-heading h3{margin-bottom:12px}.dash-link{background:#e9f2ff!important;color:#0754ad!important;border:0!important;font-size:12px!important;padding:7px 10px!important;border-radius:8px!important}.dash-table-wrap{overflow:auto}.dash-table{width:100%;border-collapse:collapse;font-size:12px}.dash-table th{background:#eaf3ff;text-align:left;color:#0e3978;padding:9px 7px}.dash-table td{padding:10px 7px;border-bottom:1px solid #e8eef8;white-space:nowrap}.dash-status{display:inline-block;padding:4px 8px;border-radius:6px;font-weight:700}.is-approved{background:#d9f8e3;color:#087a35}.is-pending{background:#fff1cb;color:#9b6600}.dash-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dash-shortcuts button{background:#f6faff!important;border:1px solid #dfebfa!important;color:#10407f!important;border-radius:10px!important;min-height:85px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.dash-shortcuts button span{font-size:25px;color:#1265d1}.dash-shortcuts button strong{font-size:12px}
@media(max-width:850px){.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-panels{grid-template-columns:1fr}.dash-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-hero{min-height:175px;padding:16px}.dash-date{font-size:10px;padding:8px}.dash-kpi{padding:13px 10px}.dash-kpi strong{font-size:23px}.dash-icon{width:39px;height:39px;font-size:21px}}
@media(max-width:480px){.dash-home{gap:12px}.dash-hero{min-height:142px}.dash-hero h2{font-size:24px}.dash-hero-copy span,.dash-hero p{font-size:12px}.dash-date{max-width:105px;text-align:center}.dash-kpi{gap:7px}.dash-kpi small{font-size:10px}.dash-kpi div>span{font-size:9px}.dash-panel{padding:12px}.dash-shortcuts{gap:7px}.dash-shortcuts button{min-height:72px}.dash-shortcuts button strong{font-size:10px}}

/* Office Fleet truck-number editor */
.fleet-vehicle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fleet-vehicle-info{flex:1;min-width:0}.fleet-edit-btn{flex-shrink:0}.fleet-edit-form{width:100%;display:grid;gap:9px}.fleet-edit-form input{width:100%;max-width:460px}.fleet-edit-actions{display:flex;gap:8px;align-items:center}.fleet-edit-actions button{min-width:75px}

/* Fleet expandable vehicle details */
.fleet-dimension-item{display:block;padding:0!important}.fleet-expand{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px 12px;background:transparent;color:#143c7a;border:0;text-align:left;cursor:pointer;font-size:15px}.fleet-chevron{font-size:23px}.fleet-expand[aria-expanded="true"] .fleet-chevron{transform:rotate(180deg)}.fleet-details{padding:10px 12px 18px;border-top:1px solid #e4ebf6}.fleet-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.fleet-info>div{background:#f3f7fd;border-radius:9px;padding:10px;display:flex;flex-direction:column;gap:5px}.fleet-info span{color:#61748f;font-size:12px}.fleet-info strong{font-size:14px;overflow-wrap:anywhere}.fleet-wide{grid-column:1/-1}.fleet-details-form{margin-top:14px;display:grid;gap:12px}.fleet-details-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600}.fleet-details-form input,.fleet-details-form select{width:100%;padding:10px;border:1px solid #b7cce9;border-radius:8px}.fleet-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}@media(max-width:650px){.fleet-info{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-edit-grid{grid-template-columns:1fr}}

/* Automatically fade transient save/status notifications after a few seconds. */
#notice{opacity:1;transition:opacity 2.2s ease;min-height:0}
#notice.notice-fading{opacity:0}
#notice:empty{display:none}
