:root{
 --bg:#f5fbff;--surface:#fff;--surface2:#eaf7ff;--line:#d5eaf7;--blue:#278fe8;
 --blue2:#78c9f4;--navy:#14345c;--text:#183754;--muted:#71869a;--green:#24a96b;
 --red:#dc5b5b;--shadow:0 15px 40px rgba(36,111,164,.09)
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:linear-gradient(180deg,#edf9ff,#fbfdff 42%,#f4fbff);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif}a{text-decoration:none;color:inherit}
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:850;color:var(--navy)}.brand-car{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e5f5ff;color:var(--blue);font-size:20px}.top-actions{display:flex;align-items:center;gap:10px}.user-pill{background:var(--surface2);padding:9px 13px;border-radius:999px;font-size:13px}.link-btn{font-size:14px;color:var(--blue);font-weight:750}
.shell{max-width:1180px;margin:0 auto;padding:26px 18px 90px}.hero{display:grid;grid-template-columns:1.4fr .8fr;gap:20px}.hero-card,.card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow)}.hero-card{padding:30px;background:linear-gradient(135deg,#fff,#edf9ff)}.hero-card h1{margin:0 0 8px;font-size:34px;color:var(--navy)}.hero-card p{margin:0;color:var(--muted);font-size:17px}.stat-card{padding:25px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#dff4ff,#fff)}.stat-num{font-size:48px;font-weight:850;color:var(--blue)}.stat-label{color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px}.nav-card{padding:21px;min-height:154px;display:flex;flex-direction:column;justify-content:space-between;transition:.18s}.nav-card:hover{transform:translateY(-2px);border-color:#b9ddf3}.nav-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#dff3ff,#f5fbff);color:var(--blue)}.nav-icon svg{width:25px;height:25px}.nav-title{font-weight:820;font-size:18px}.nav-sub{color:var(--muted);font-size:13px}
.section-head{display:flex;justify-content:space-between;align-items:center;margin:32px 0 14px}.section-head h2{margin:0;color:var(--navy)}.btn{border:0;border-radius:14px;padding:12px 17px;background:linear-gradient(135deg,#248ce5,#5cbcf2);color:#fff;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 20px rgba(39,143,232,.15)}.btn.secondary{background:#edf8ff;color:var(--blue);border:1px solid var(--line);box-shadow:none}.btn.danger{background:var(--red)}.list{background:#fff;border:1px solid var(--line);border-radius:21px;overflow:hidden;box-shadow:var(--shadow)}.row{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:12px;align-items:center;padding:15px 18px;border-bottom:1px solid #edf3f8}.row:last-child{border-bottom:0}.muted{color:var(--muted)}.badge{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#eaf7ff;color:var(--blue)}.badge.green{background:#e9f8f0;color:#168557}
.form-card{max-width:850px;margin:0 auto;padding:27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}label{display:block;font-weight:750;font-size:13px;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #cfe3f0;background:#fbfdff;border-radius:13px;padding:12px 13px;font:inherit;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:#75bce9;box-shadow:0 0 0 3px rgba(36,142,234,.1)}textarea{min-height:100px;resize:vertical}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.alert{padding:13px 15px;border-radius:14px;margin-bottom:16px;background:#eef8ff;border:1px solid var(--line)}.alert.error{background:#fff0f0;border-color:#f6caca;color:#9c3535}.login-wrap{min-height:75vh;display:grid;place-items:center}.login-card{width:min(460px,100%);padding:30px}.login-card h1{margin:0 0 6px}.login-card p{margin:0 0 22px;color:var(--muted)}.signature-pad{border:1px dashed #9bc9e5;background:#fff;border-radius:15px;width:100%;height:190px;touch-action:none}
.v2bar{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}.v2bar a{display:flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--line);background:#fff;border-radius:13px;font-size:13px;font-weight:750;color:var(--navy)}.v2bar svg{width:17px;height:17px;color:var(--blue)}
.vehicle-photo{width:100%;aspect-ratio:16/7;object-fit:cover;border-radius:16px;background:#edf7fc;border:1px solid var(--line);margin-bottom:15px}
@media(max-width:850px){.hero{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.row{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}}
@media(max-width:520px){.grid{grid-template-columns:1fr}.row{grid-template-columns:1fr}.topbar{padding:11px 13px}.shell{padding:17px 12px 80px}.hero-card{padding:22px}.hero-card h1{font-size:28px}.user-pill{display:none}}
