:root{font-family:Inter,system-ui,sans-serif;color:#112b35;background:#f5f8f9}*{box-sizing:border-box}body{margin:0}.auth{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0d596cb8,#18333eb8),url('/assets/vehicle-676-hero.png') center/cover}.card{width:min(92vw,420px);padding:36px;background:white;border-radius:18px;box-shadow:0 20px 60px #0004}h1{margin:.15rem 0 .4rem;font-size:2rem}.eyebrow{display:block;color:#087c9d;font-weight:800;letter-spacing:.13em;font-size:.76rem}.brand-logo{position:relative;display:inline-block;line-height:0}.brand-logo::before{content:"";position:absolute;inset:0 auto 0 0;width:31%;background:#fff;border-radius:10px 0 0 10px;z-index:0}.brand-logo img{position:relative;z-index:1;display:block;width:190px;height:auto}.card .brand-logo{margin-bottom:16px}.header-brand{display:flex;align-items:center;gap:10px}.header-brand .brand-logo img{width:100px}.header-brand .brand-logo::before{border-radius:5px 0 0 5px}form{display:grid;gap:14px;margin-top:24px}label{display:grid;gap:6px;font-size:.9rem;font-weight:600}input{padding:12px;border:1px solid #b9c7cb;border-radius:8px;font:inherit}button{border:0;border-radius:8px;padding:12px 16px;background:#087c9d;color:white;font:inherit;font-weight:700;cursor:pointer}.secondary{background:transparent;border:1px solid #b9c7cb;color:#18333e;padding:8px 12px}#error{color:#ad2727;margin:0;min-height:1.2em}header{height:64px;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1180px)/2));background:white;border-bottom:1px solid #dde7e9}main{max-width:1180px;margin:auto;padding:34px 24px}.intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.intro p,.muted{color:#5e727a}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}#map{height:380px;margin:0 0 16px;border:1px solid #dde7e9;border-radius:12px;overflow:hidden}article{background:#fff;border:1px solid #dde7e9;border-radius:12px;padding:20px;cursor:pointer}article:hover{border-color:#087c9d}article h2{margin:0}.muted{margin:.3rem 0 1.2rem}dl{margin:0;display:grid;gap:12px}dl div{display:flex;justify-content:space-between;gap:12px}dt{color:#5e727a}dd{margin:0;text-align:right;font-weight:600}@media(max-width:600px){main{padding:22px 16px}.intro{align-items:start;flex-direction:column}header{padding:0 16px}#map{height:300px}.header-brand .brand-logo img{width:82px}.header-brand strong{font-size:.9rem}}
.settings{max-width:900px}.panel{background:#fff;border:1px solid #dde7e9;border-radius:12px;padding:22px;margin:0 0 16px}.panel h2{margin:0 0 8px;font-size:1.2rem}.panel p{color:#5e727a}.options{display:flex;gap:10px;flex-wrap:wrap}.options button,.link-button{display:inline-flex;align-items:center;text-decoration:none;background:#fff;color:#18333e;border:1px solid #b9c7cb}.options button.active{background:#087c9d;color:#fff;border-color:#087c9d}.link-button{padding:10px 14px;border-radius:8px;font-weight:700}.management-list,.fleet-panels{display:grid;gap:10px}.management-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e6edef}.management-row:first-child{border-top:0}.management-row span{display:grid;gap:3px}.management-row small{color:#5e727a}.management-row button{padding:8px 10px;margin-left:6px;font-size:.8rem}.danger{background:#b12f35}.vehicle-form{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-form button{align-self:end}@media(max-width:600px){.vehicle-form{grid-template-columns:1fr}.management-row{align-items:flex-start;flex-direction:column}}
.header-actions{display:flex;align-items:center;gap:8px}.header-brand,.brand-home{color:inherit;text-decoration:none}.settings-gear{display:grid;place-items:center;width:40px;height:40px;margin-left:auto;color:#18333e;font-size:23px;text-decoration:none}.user-menu{position:relative}.user-menu summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b9c7cb;border-radius:50%;cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu svg{width:22px;fill:#18333e}.user-menu nav{position:absolute;right:0;top:48px;z-index:20;display:grid;min-width:180px;padding:6px;background:#fff;border:1px solid #dde7e9;border-radius:10px;box-shadow:0 12px 30px #0002}.user-menu nav a,.user-menu nav button{padding:10px 12px;color:#18333e;text-align:left;text-decoration:none;background:transparent;border:0;border-radius:6px;font:inherit;font-weight:600}.user-menu nav a:hover,.user-menu nav button:hover{background:#edf5f6}.user-menu nav button{cursor:pointer}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{margin:0}.icon-close{padding:2px 10px;background:transparent;color:#18333e;font-size:28px;font-weight:400}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.switch{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.switch input{width:auto}dialog{width:min(94vw,500px);padding:24px;border:0;border-radius:14px;box-shadow:0 22px 70px #0007}dialog::backdrop{background:#00161d99}dialog form{margin-top:0}body[data-theme="dark"]{color:#e8f0f2;background:#102128}body[data-theme="dark"] header,body[data-theme="dark"] .panel,body[data-theme="dark"] article,body[data-theme="dark"] .user-menu nav,body[data-theme="dark"] dialog{background:#152d35;border-color:#36505a}body[data-theme="dark"] input,body[data-theme="dark"] select{background:#102128;color:#e8f0f2;border-color:#526b75}body[data-theme="dark"] .secondary,body[data-theme="dark"] .link-button,body[data-theme="dark"] .options button{color:#e8f0f2;border-color:#526b75;background:#152d35}body[data-theme="dark"] .settings-gear,body[data-theme="dark"] .user-menu svg,body[data-theme="dark"] .user-menu nav a,body[data-theme="dark"] .user-menu nav button,body[data-theme="dark"] .icon-close{color:#e8f0f2;fill:#e8f0f2}body[data-theme="dark"] .muted,body[data-theme="dark"] .intro p,body[data-theme="dark"] .panel p,body[data-theme="dark"] dt,body[data-theme="dark"] .management-row small{color:#b5c7cc}
.header-actions{display:flex;align-items:center;gap:8px}.header-brand,.brand-home{color:inherit;text-decoration:none}.settings-gear{display:grid;place-items:center;width:40px;height:40px;margin-left:auto;color:#18333e;font-size:23px;text-decoration:none}.user-menu{position:relative}.user-menu summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b9c7cb;border-radius:50%;cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu svg{width:22px;fill:#18333e}.user-menu nav{position:absolute;right:0;top:48px;z-index:20;display:grid;min-width:180px;padding:6px;background:#fff;border:1px solid #dde7e9;border-radius:10px;box-shadow:0 12px 30px #0002}.user-menu nav a,.user-menu nav button{padding:10px 12px;color:#18333e;text-align:left;text-decoration:none;background:transparent;border:0;border-radius:6px;font:inherit;font-weight:600}.user-menu nav a:hover,.user-menu nav button:hover{background:#edf5f6}.user-menu nav button{cursor:pointer}.fleet-chooser{display:flex;align-items:center;gap:8px;font-weight:700}.fleet-chooser select{padding:8px}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{margin:0}.icon-close{padding:2px 10px;background:transparent;color:#18333e;font-size:28px;font-weight:400}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.switch{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.switch input{width:auto}dialog{width:min(94vw,500px);padding:24px;border:0;border-radius:14px;box-shadow:0 22px 70px #0007}dialog::backdrop{background:#00161d99}dialog form{margin-top:0}body[data-theme="dark"]{color:#e8f0f2;background:#102128}body[data-theme="dark"] header,body[data-theme="dark"] .panel,body[data-theme="dark"] article,body[data-theme="dark"] .user-menu nav,body[data-theme="dark"] dialog{background:#152d35;border-color:#36505a}body[data-theme="dark"] input,body[data-theme="dark"] select{background:#102128;color:#e8f0f2;border-color:#526b75}body[data-theme="dark"] .secondary,body[data-theme="dark"] .link-button,body[data-theme="dark"] .options button{color:#e8f0f2;border-color:#526b75;background:#152d35}body[data-theme="dark"] .settings-gear,body[data-theme="dark"] .user-menu svg,body[data-theme="dark"] .user-menu nav a,body[data-theme="dark"] .user-menu nav button,body[data-theme="dark"] .icon-close{color:#e8f0f2;fill:#e8f0f2}body[data-theme="dark"] .muted,body[data-theme="dark"] .intro p,body[data-theme="dark"] .panel p,body[data-theme="dark"] dt,body[data-theme="dark"] .management-row small{color:#b5c7cc}
.header-actions{display:flex;align-items:center;gap:8px}.header-brand,.brand-home{color:inherit;text-decoration:none}.settings-gear{display:grid;place-items:center;width:40px;height:40px;margin-left:auto;color:#18333e;font-size:23px;text-decoration:none}.user-menu{position:relative}.user-menu summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b9c7cb;border-radius:50%;cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu svg{width:22px;fill:#18333e}.user-menu nav{position:absolute;right:0;top:48px;z-index:20;display:grid;min-width:180px;padding:6px;background:#fff;border:1px solid #dde7e9;border-radius:10px;box-shadow:0 12px 30px #0002}.user-menu nav a,.user-menu nav button{padding:10px 12px;color:#18333e;text-align:left;text-decoration:none;background:transparent;border:0;border-radius:6px;font:inherit;font-weight:600}.user-menu nav a:hover,.user-menu nav button:hover{background:#edf5f6}.user-menu nav button{cursor:pointer}.fleet-chooser{display:flex;align-items:center;gap:8px;font-weight:700}.fleet-chooser select{padding:8px}.user-form{grid-template-columns:repeat(2,minmax(0,1fr))}.user-form fieldset{grid-column:1/-1}.user-form button{justify-self:start}fieldset{display:flex;gap:12px;flex-wrap:wrap;border:1px solid #b9c7cb;border-radius:8px;padding:12px}legend{padding:0 5px;font-weight:700}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:6px;font-weight:400}.check input{width:auto}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{margin:0}.icon-close{padding:2px 10px;background:transparent;color:#18333e;font-size:28px;font-weight:400}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.switch{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.switch input{width:auto}dialog{width:min(94vw,500px);padding:24px;border:0;border-radius:14px;box-shadow:0 22px 70px #0007}dialog::backdrop{background:#00161d99}dialog form{margin-top:0}body[data-theme="dark"]{color:#e8f0f2;background:#102128}body[data-theme="dark"] header,body[data-theme="dark"] .panel,body[data-theme="dark"] article,body[data-theme="dark"] .user-menu nav,body[data-theme="dark"] dialog{background:#152d35;border-color:#36505a}body[data-theme="dark"] input,body[data-theme="dark"] select{background:#102128;color:#e8f0f2;border-color:#526b75}body[data-theme="dark"] .secondary,body[data-theme="dark"] .link-button,body[data-theme="dark"] .options button{color:#e8f0f2;border-color:#526b75;background:#152d35}body[data-theme="dark"] .settings-gear,body[data-theme="dark"] .user-menu svg,body[data-theme="dark"] .user-menu nav a,body[data-theme="dark"] .user-menu nav button,body[data-theme="dark"] .icon-close{color:#e8f0f2;fill:#e8f0f2}body[data-theme="dark"] .muted,body[data-theme="dark"] .intro p,body[data-theme="dark"] .panel p,body[data-theme="dark"] dt,body[data-theme="dark"] .management-row small{color:#b5c7cc}@media(max-width:600px){.user-form{grid-template-columns:1fr}}
