*{box-sizing:border-box}body{margin:0;font:16px system-ui,sans-serif;color:#1d2c25;background:#f3f5f1}header{background:#172820;color:white;padding:14px 5vw;display:flex;align-items:center;justify-content:space-between;gap:12px}header a,.hero a{color:inherit}header strong{letter-spacing:.13em}main{max-width:1200px;margin:auto;padding:clamp(14px,4vw,40px)}.hero{background:linear-gradient(120deg,#172820,#315044);color:white;border-radius:15px;padding:clamp(18px,4vw,36px);margin:14px 0}.hero p{color:#e3eee6}h1{font-size:clamp(26px,5vw,48px);margin:8px 0;letter-spacing:-.035em}h2,h3{margin:0 0 10px}p{line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}a{color:#245738}button,.button,nav a{display:inline-block;padding:9px 14px;border:1px solid #afbfb1;border-radius:8px;background:white;color:#183225;text-decoration:none;font:inherit;cursor:pointer}button[name=action],.button{background:#d0ef9d;font-weight:650}nav,.tools,.heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}nav a[aria-current]{background:#dcebdc;font-weight:750}.heading{justify-content:space-between}.grid,.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}.fields{margin:14px 0}article,.scroll{background:white;border:1px solid #d8e2d9;border-radius:12px;padding:16px;min-width:0}.scroll{overflow:auto}label{display:grid;gap:5px;margin:7px 0;font-size:.92em;font-weight:650}input,textarea,select{font:inherit;max-width:100%;padding:8px;border:1px solid #aabbb0;border-radius:6px;background:white;color:#1d2c25}textarea{min-height:84px}input[type=checkbox]{margin-right:6px}table{border-collapse:collapse;width:100%;min-width:550px}th,td{padding:10px;text-align:left;border-bottom:1px solid #d8e2d9;vertical-align:top}.tag,.plate{display:inline-block;padding:5px 9px;border-radius:6px;background:#e4eee3;color:#183225}.plate{background:#f1df77;font-weight:800;letter-spacing:.12em}.photo{width:105px;height:78px;object-fit:cover;border-radius:6px}.error{background:#fce7e5;border:1px solid #dbaca8;padding:12px;border-radius:8px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #488d53;outline-offset:2px}

.dashboard-page main{max-width:1450px;padding:clamp(18px,3vw,45px)}
.dashboard-page .heading{justify-content:flex-end;margin:16px 0}
.dashboard-page .heading .button{background:#c6ef75;border-color:#c6ef75}
.dashboard-hero{position:relative;background:linear-gradient(110deg,#192d26,#305045);border-radius:16px;padding:28px;margin:0 0 22px}
.dashboard-hero h1{margin:0;font-size:clamp(30px,5vw,48px);letter-spacing:-.045em}
.dashboard-hero p{margin:8px 0;color:#d0dfd6}
.dashboard-count{font-size:32px;line-height:1.2;font-weight:800;margin:12px 0 8px}
.dashboard-edit{display:inline-block;margin-top:4px;font-size:13px}
.dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dashboard-grid article{padding:18px;border-color:#dfe5df}
.dashboard-grid h2{font-size:20px;margin:0 0 14px}
.dashboard-grid p{margin:8px 0;color:#506058;font-size:15px}
.dashboard-action,.dashboard-record a{display:inline-block;padding:9px 13px;background:#fff;border:1px solid #d6dfd7;border-radius:8px;color:inherit;text-decoration:none;font-size:15px}
.dashboard-record a{display:block;overflow-wrap:anywhere}
.dashboard-record+.dashboard-record{margin-top:8px}
.dashboard-action:hover,.dashboard-record a:hover{border-color:#55785f}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dashboard-grid{grid-template-columns:1fr}.dashboard-hero{padding:20px}}

.vehicle-layout {
 display: grid;
 grid-template-columns: 206px minmax(0, 1fr);
 min-height: calc(100vh - 68px);
}
.vehicle-layout > main {
 width: 100%;
 min-width: 0;
 margin: 0 auto;
}
.vehicle-sidebar {
 background: #fff;
 border-right: 1px solid #dfe5df;
 padding: 26px 16px;
}
.vehicle-navigation {
 display: grid;
 gap: 7px;
 margin: 0;
}
.vehicle-navigation a {
 border-color: transparent;
 background: transparent;
 padding: 10px 13px;
 line-height: 1.25;
}
.vehicle-navigation a:hover,
.vehicle-navigation a[aria-current] {
 background: #e9f2e8;
}
@media (max-width: 730px) {
 .vehicle-layout { display: block; }
 .vehicle-sidebar {
  border-right: 0;
  border-bottom: 1px solid #dfe5df;
  padding: 8px 10px;
 }
 .vehicle-navigation {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 3px;
 }
 .vehicle-navigation a { flex: 0 0 auto; }
}
