@font-face {
  font-family: Manrope;
  src: url("./manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #183d33;
  --text: #273e35;
  --muted: #68776f;
  --line: #dfe6e0;
  --paper: #fff;
  --bg: #f5f7f3;
  --accent: #c7df9c;
  --soft: #eaf0e5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.55 Manrope,
    system-ui,
    sans-serif;
}
a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 650;
  cursor: pointer;
  line-height: 1.4;
  min-height: 43px;
}
button:hover,
.button:hover {
  background: #285744;
  text-decoration: none;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d6ded5;
}
.secondary:hover {
  background: var(--soft);
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
input,
select,
textarea {
  border: 1px solid #c9d3c9;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  min-height: 43px;
  max-width: 100%;
  width: 100%;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #778278;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: #54665b;
}
label input,
label select {
  margin-top: 7px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
}
:focus-visible {
  outline: 3px solid #759943;
  outline-offset: 3px;
}
p {
  color: var(--muted);
  margin: 8px 0 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.5px;
  font-weight: 750;
  margin: 8px 0 11px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  font-size: 21px;
}
small {
  font-size: 11px;
  color: var(--muted);
}
strong,
b {
  font-weight: 700;
}
.app-header {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 46px;
  padding: 0 4%;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 26px;
  letter-spacing: -1.2px;
  font-weight: 800;
  line-height: 1;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  font-size: 8px;
  letter-spacing: 1.35px;
  display: block;
  margin-top: 7px;
  color: inherit;
  font-weight: 700;
}
.brandmark {
  background: var(--ink);
  color: white;
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 42px;
  position: relative;
  padding-right: 8px;
  padding-bottom: 5px;
}
.brandmark span {
  color: var(--accent);
  position: absolute;
  right: 6px;
  bottom: 3px;
}
.app-header nav {
  display: flex;
  gap: 6px;
  align-self: stretch;
  align-items: center;
}
.app-header nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  border-radius: 8px;
}
.app-header nav a[aria-current] {
  color: var(--ink);
  background: var(--soft);
}
.app-header nav a:hover {
  background: #f4f6f0;
  text-decoration: none;
}
.logout {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
main {
  max-width: 1440px;
  padding: 39px 4% 40px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #6b7e6b;
  font-weight: 800;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}
.page-heading p {
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.filter-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 24px;
}
.period-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 19px;
  border-bottom: 1px solid var(--line);
}
.segmented {
  display: flex;
  gap: 4px;
  background: #f2f5ef;
  border: 1px solid #e6ebe1;
  padding: 4px;
  border-radius: 8px;
}
.segmented a {
  padding: 7px 16px;
  font-size: 12px;
  border-radius: 5px;
  color: #586e5b;
  font-weight: 650;
}
.segmented a[aria-current] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px #273e351a;
}
.date-navigation {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}
.date-navigation a {
  display: grid;
  place-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 24px;
}
.filters {
  display: flex;
  gap: 12px;
  padding: 18px 19px;
  align-items: end;
  flex-wrap: wrap;
}
.filters label {
  flex: 1;
  min-width: 125px;
}
.filters .search-field {
  flex: 1.7;
  min-width: 190px;
}
.filters select {
  padding-left: 9px;
}
.filters input,
.filters select,
.filters button {
  font-size: 11px;
}
.filters label:first-child input[type="date"] {
  min-width: 122px;
}
.reset {
  font-size: 10px;
  align-self: center;
  padding-top: 24px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px 22px;
}
.metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #687a6c;
  font-size: 12px;
  font-weight: 650;
}
.metric svg {
  color: #8b9a88;
  width: 19px;
}
.metric > strong {
  display: block;
  font-size: 37px;
  letter-spacing: -1.5px;
  line-height: 1.25;
  margin: 14px 0 5px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.metric > span {
  font-size: 11px;
  color: var(--muted);
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.insights {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}
.section-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 21px 23px;
}
.section-heading p {
  font-size: 11px;
  margin-top: 6px;
}
.section-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 7px;
}
.chart-legend i {
  width: 7px;
  height: 7px;
  background: #87a66a;
  border-radius: 50%;
}
.chart {
  display: flex;
  gap: 12px;
  align-items: end;
  margin: 0 25px 20px;
  padding-top: 10px;
  min-height: 142px;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 38px,
    #eff2ec 39px,
    transparent 40px
  );
}
.chart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  min-width: 0;
}
.chart-column > span {
  font-size: 10px;
  color: #718367;
  margin-bottom: 5px;
}
.chart-column small {
  font-size: 10px;
  margin-top: 10px;
}
.bar {
  background: #bdd19e;
  width: 60%;
  max-width: 54px;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.bar.today {
  background: var(--ink);
}
.focus-panel {
  padding: 25px 28px;
  background: #e9efdf;
  border: 1px solid #dee7d2;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.focus-panel h2 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-top: 12px;
}
.focus-panel p {
  font-size: 12px;
  max-width: 34ch;
  line-height: 1.7;
  margin: 10px 0 16px;
  color: #5c7055;
}
.focus-panel a {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
  margin-top: auto;
}
.focus-panel svg {
  width: 17px;
}
.count {
  font-size: 11px;
  color: #526949;
  background: #edf2e8;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.refresh {
  font-size: 11px;
  color: #657b5b;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  letter-spacing: 0.25px;
  font-weight: 650;
  color: #71816f;
  background: #f8faf6;
  padding: 12px 22px;
  border-block: 1px solid var(--line);
}
td {
  padding: 19px 22px;
  border-bottom: 1px solid #eef1ea;
  font-size: 12px;
}
td small {
  display: block;
  margin-top: 4px;
}
tbody tr:hover {
  background: #fbfcf9;
}
.driver-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.driver-cell small {
  font-size: 10px;
}
.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-content: center;
  background: #eef1e6;
  color: #526a41;
  border: 1px solid #e5eadb;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
}
.plate {
  display: inline-block;
  background: #fff;
  border: 1px solid #d3d9cc;
  border-left: 4px solid #658486;
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 750;
  letter-spacing: 0.5px;
  font-size: 11px;
}
.numeric {
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--muted);
  font-size: 10px;
}
.documentation {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}
.documentation img {
  height: 36px;
  width: 47px;
  border-radius: 5px;
  object-fit: cover;
}
.documentation small {
  font-size: 9px;
  margin: 1px 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.badge > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pending {
  background: #fff4db;
  color: #87621a;
}
.reviewed {
  background: #e9f2e4;
  color: #3b672e;
}
.attention {
  background: #fdece7;
  color: #a3482c;
}
.open-link {
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
  display: grid;
  place-content: center;
  border-radius: 6px;
}
.open-link svg {
  width: 14px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 23px;
  font-size: 10px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 18px;
  align-items: center;
}
.pagination a {
  font-weight: 700;
}
.empty {
  text-align: center;
  padding: 45px 22px;
}
.empty > svg {
  width: 35px;
  height: 35px;
  color: #93a183;
}
.empty h3 {
  font-size: 18px;
}
.empty p {
  margin-bottom: 20px;
}
.empty-small {
  padding: 0 24px 35px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 5px;
  left: 5px;
  background: #fff;
  padding: 15px;
  z-index: 10;
}
footer {
  max-width: 1440px;
  padding: 0 4% 24px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  color: #7c8879;
  font-size: 10px;
}
.back {
  font-size: 12px;
  display: block;
  margin-bottom: 22px;
}
.detail-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 23px;
  margin-bottom: 24px;
}
.detail-summary > div > span:first-child {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 10px;
}
.detail-summary strong {
  font-size: 21px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 23px 23px;
}
figure {
  margin: 0;
  min-width: 0;
}
figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding-top: 12px;
}
figcaption > span {
  font-size: 10px;
  color: #8a9b83;
}
figcaption small {
  margin-left: auto;
  font-size: 9px;
}
.detail-aside {
  display: grid;
  gap: 18px;
}
.review-panel,
.signature-panel {
  padding: 24px;
}
.review-panel p {
  font-size: 12px;
  margin-bottom: 22px;
}
.review-panel label {
  margin: 17px 0 7px;
}
.review-panel button {
  margin-top: 14px;
  width: 100%;
}
.review-panel > small {
  display: block;
  margin-top: 13px;
}
.signature-panel img {
  width: 100%;
  max-height: 115px;
  object-fit: contain;
  margin-top: 20px;
}
.signature-panel p {
  font-size: 10px;
}
.technical {
  font-size: 11px;
  padding: 10px;
}
.success,
.warning,
.error {
  padding: 14px 18px;
  border-radius: 8px;
  margin: 0 0 20px;
}
.success {
  background: #e8f3e3;
  color: #315a30;
}
.warning {
  background: #fff2db;
  color: #785117;
}
.error {
  background: #fff1e9;
  color: #973d24;
  margin-top: 15px;
}
.add-panel {
  padding: 22px;
  margin-bottom: 28px;
}
.add-panel summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.add-panel p {
  font-size: 11px;
}
.add-form {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.add-form label {
  flex: 1;
  min-width: 180px;
}
.add-panel[open] .add-form {
  margin-top: 22px;
}
.section-heading > input {
  max-width: 240px;
}
.acts {
  display: flex;
  gap: 7px;
}
.small {
  font-size: 10px;
  min-height: 34px;
  padding: 7px 10px;
}
.copy-code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: #eef3e8;
  border-color: transparent;
  color: var(--ink);
  padding: 8px 10px;
}
.copy-code:hover {
  background: #dfe9d1;
}
.copy-code span {
  color: #697b58;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.vehicle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.vehicle-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vehicle-card > div:first-child > svg {
  color: #819576;
  width: 28px;
  height: 28px;
}
.vehicle-card h3 {
  font-size: 23px;
  margin: 24px 0 12px;
  letter-spacing: -0.6px;
}
.vehicle-card p {
  font-size: 12px;
}
.vehicle-card small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
}
.vehicle-actions {
  margin-top: 23px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vehicle-actions > a {
  font-size: 11px;
}
.search-empty {
  padding: 24px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: 8px;
  z-index: 5;
  box-shadow: 0 4px 20px #173c3422;
}
dialog {
  border: 0;
  padding: 20px;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90dvh;
  background: white;
}
dialog::backdrop {
  background: #14231edd;
}
dialog form {
  text-align: right;
  margin-bottom: 15px;
}
dialog img {
  display: block;
  max-width: 80vw;
  max-height: 70dvh;
  object-fit: contain;
}
dialog p {
  text-align: center;
}
.auth main {
  max-width: none;
  padding: 0;
}
.login-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-story {
  background: var(--ink);
  color: #fff;
  padding: 55px 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}
.login-story .brand {
  color: #fff;
}
.login-story .brandmark {
  background: #2c5546;
}
.login-story h1 {
  color: #fff;
  font-size: 60px;
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin: 24px 0;
}
.login-story .eyebrow {
  color: #bad49a;
}
.login-story p {
  color: #b5c9bd;
  max-width: 35ch;
  font-size: 15px;
}
.login-story small {
  color: #a7c0ae;
}
.login-lines {
  display: grid;
  gap: 22px;
  margin-top: 45px;
}
.login-lines > span {
  display: flex;
  gap: 17px;
  font-size: 10px;
  color: #adc7af;
  border-bottom: 1px solid #3b5c4d;
  padding-bottom: 16px;
  align-items: center;
}
.login-lines b {
  color: white;
  font-size: 12px;
}
.login-panel {
  align-self: center;
  padding: 50px 14%;
}
.login-panel h2 {
  font-size: 31px;
  letter-spacing: -1px;
  margin: 16px 0;
}
.login-panel p {
  font-size: 13px;
}
.login-panel form {
  margin-top: 35px;
}
.login-panel label {
  margin-bottom: 8px;
}
.login-panel button {
  width: 100%;
  margin-top: 17px;
  justify-content: space-between;
}
.login-hint {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
  font-size: 11px !important;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .app-header {
    padding-inline: calc((100% - 1325px) / 2);
  }
}
@media (max-width: 1100px) {
  .app-header {
    gap: 22px;
  }
  .app-header nav a {
    padding: 11px 10px;
  }
  .page-heading {
    align-items: start;
  }
  h1 {
    font-size: 30px;
  }
  .actions {
    flex-direction: column;
  }
  .vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .filters label {
    min-width: 150px;
  }
  .filters .reset {
    padding: 0;
    align-self: end;
    margin-bottom: 13px;
  }
  .filter-panel .filters button {
    margin-top: 12px;
  }
  .detail-layout {
    grid-template-columns: 1.65fr 1fr;
  }
  .insights {
    grid-template-columns: 1.8fr 1fr;
  }
  td,
  th {
    padding-inline: 16px;
  }
  .login-story h1 {
    font-size: 48px;
  }
  .login-lines > span {
    flex-wrap: wrap;
  }
  .login-panel {
    padding: 40px 10%;
  }
}
@media (max-width: 760px) {
  .app-header {
    height: auto;
    flex-wrap: wrap;
    padding: 18px 5% 0;
    gap: 14px;
  }
  .brand {
    font-size: 23px;
  }
  .brandmark {
    width: 37px;
    height: 37px;
    font-size: 36px;
  }
  .brand small {
    font-size: 7px;
  }
  .app-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 10px 0;
  }
  .app-header nav a {
    padding: 9px;
    font-size: 11px;
    gap: 6px;
  }
  .app-header nav svg {
    width: 16px;
    height: 16px;
  }
  .logout {
    font-size: 10px;
  }
  .page-heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 23px;
  }
  .actions {
    flex-direction: row;
    width: 100%;
  }
  .actions .button {
    font-size: 11px;
    padding-inline: 12px;
    flex: 1;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  main {
    padding: 27px 5% 30px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 40ch;
  }
  .period-row {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 14px;
  }
  .segmented {
    justify-content: space-between;
  }
  .segmented a {
    padding: 7px 10px;
    font-size: 10px;
  }
  .date-navigation {
    justify-content: center;
    font-size: 11px;
  }
  .filters {
    padding: 14px;
    gap: 12px;
  }
  .filters label,
  .filters .search-field {
    flex: 1 1 42%;
    min-width: 110px;
  }
  .filters .search-field {
    flex-basis: 100%;
    order: -1;
  }
  .filters button {
    flex: 1;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .metric {
    padding: 17px;
  }
  .metric > div {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 32px;
    margin-top: 12px;
  }
  .metric > span {
    font-size: 9px;
  }
  .insights {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .focus-panel {
    padding: 22px;
  }
  .focus-panel h2 {
    font-size: 23px;
  }
  .focus-panel h2 br {
    display: none;
  }
  .focus-panel p {
    max-width: none;
  }
  .chart {
    gap: 6px;
  }
  .section-heading {
    padding: 18px;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .section-heading > input {
    max-width: 160px;
    font-size: 11px;
  }
  .chart-legend {
    font-size: 10px !important;
  }
  .records .section-heading {
    align-items: start;
  }
  .records .section-heading p {
    max-width: 25ch;
  }
  .refresh {
    white-space: nowrap;
  }
  footer {
    padding-inline: 5%;
    font-size: 9px;
    gap: 15px;
  }
  .detail-summary {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .detail-summary strong {
    font-size: 17px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    padding: 0 17px 20px;
    gap: 12px;
  }
  figcaption {
    font-size: 10px;
    gap: 5px;
  }
  figcaption small {
    display: none;
  }
  .vehicle-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .vehicle-card {
    padding: 16px;
  }
  .vehicle-card h3 {
    font-size: 20px;
  }
  .vehicle-actions {
    flex-wrap: wrap;
  }
  .vehicle-card .badge {
    font-size: 9px;
    padding: 3px 6px;
  }
  .vehicle-card > div:first-child > svg {
    width: 23px;
  }
  .add-form {
    gap: 13px;
  }
  .add-form label {
    min-width: 100%;
    flex-basis: 100%;
  }
  .add-form button {
    width: 100%;
  }
  .pagination {
    padding: 17px;
    font-size: 9px;
  }
  .pagination > div {
    gap: 12px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 30px 7%;
    gap: 38px;
  }
  .login-story h1 {
    font-size: 44px;
    margin: 16px 0;
  }
  .login-story > small,
  .login-lines {
    display: none;
  }
  .login-story p {
    font-size: 13px;
  }
  .login-panel {
    padding: 35px 7% 50px;
  }
  .login-panel h2 {
    font-size: 28px;
  }
  .login-panel form {
    margin-top: 25px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.15s,
      color 0.15s;
  }
  .photo-grid img {
    transition: filter 0.2s;
  }
  .photo-grid a:hover img {
    filter: brightness(0.93);
  }
}
.table-scroll {
  position: relative;
}
.filter-details > summary {
  display: none;
}
@media (max-width: 760px) {
  .filter-details > summary {
    display: block;
    padding: 15px 18px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  .filter-details > summary::after {
    content: "+";
    float: right;
  }
  .filter-details[open] > summary::after {
    content: "−";
  }
  .filter-details[open] > summary {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 760px) {
  .records table,
  .records tbody {
    display: block;
    white-space: normal;
  }
  .records thead {
    display: none;
  }
  .records tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    padding: 16px 17px;
    border-bottom: 1px solid var(--line);
  }
  .records td {
    border: 0;
    padding: 3px 0;
    font-size: 11px;
    min-width: 0;
  }
  .records td:nth-child(3) {
    padding-left: 47px;
  }
  .records td:nth-child(4),
  .records td:nth-child(6) {
    display: none;
  }
  .records .driver-cell {
    gap: 10px;
  }
  .records .driver-cell b {
    font-size: 11px;
  }
  .records .driver-cell small {
    font-size: 9px;
  }
  .records .plate {
    font-size: 10px;
  }
  .records td:nth-child(5) {
    text-align: right;
  }
  .records .badge {
    font-size: 9px;
  }
  .records .driver-cell .avatar {
    width: 36px;
    flex-shrink: 0;
  }
}
:root {
  --muted: #596b60;
}
.eyebrow {
  color: #53684e;
}
th {
  color: #586c52;
}
footer {
  color: #5d7054;
}
.chart-column > span {
  color: #536844;
}
.metric > div {
  color: #596e5c;
}
.refresh {
  color: #536e47;
}
figcaption > span {
  color: #607650;
}
input::placeholder,
textarea::placeholder {
  color: #63735e;
}
/* JMC driver handovers and QR approval. */
.driver-shell{max-width:680px;margin:24px auto;padding:28px}.driver-shell label{display:block;margin:18px 0}.driver-shell button{margin:8px 8px 8px 0}.driver-shell input{width:100%}.driver-shell h1{font-size:32px}.driver-shell canvas{width:100%;height:auto;aspect-ratio:3/1;border:2px solid #61738a;border-radius:12px;touch-action:none;background:#fff}.photo-inputs{display:grid;grid-template-columns:1fr 1fr;gap:16px}.photo-inputs input{font-size:14px}#driver-qr{display:block;max-width:100%;height:auto;margin:16px auto}#scanner{display:block;width:100%;max-width:600px;margin:20px 0;border-radius:16px}#scan-form,#approve-form{max-width:600px;display:grid;gap:20px;padding:20px 0}#scan-form label,#approve-form label{display:grid;gap:8px}[hidden]{display:none!important}#driver-error{white-space:pre-line}.brandmark{background:#143959}.app-header nav{flex-wrap:wrap}@media(max-width:600px){.driver-shell{padding:20px;margin:12px}.photo-inputs{grid-template-columns:1fr}.app-header{flex-wrap:wrap}.app-header nav{width:100%}}

.kiosk{text-align:center;max-width:760px;margin:24px auto}.kiosk img{width:min(80vw,480px);height:auto;background:white}.kiosk form{max-width:440px;margin:auto}#driver-scanner{width:100%;max-height:420px;background:#102b46}.assignment{display:flex;align-items:end;gap:12px;flex-wrap:wrap;border-bottom:1px solid #ddd;padding:18px 0}#setup-result{overflow-wrap:anywhere;user-select:all}.kiosk [hidden]{display:none}

.asset-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.asset-stats a{background:white;border:1px solid #dce4df;border-radius:16px;padding:22px;font-size:2rem;font-weight:700;text-decoration:none}.asset-stats span{display:block;font-size:.88rem;font-weight:500;margin-top:8px}.asset-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#asset-form{margin-top:22px}#asset-form label{display:block}#asset-form input,#asset-form select,#asset-form textarea{width:100%;min-width:0}#asset-form fieldset{margin:22px 0;border:1px solid #dce4df;border-radius:12px;padding:18px}#asset-form .asset-check{display:flex;align-items:center;gap:12px}#asset-form .asset-check input{width:auto}.asset-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:28px 0}.asset-filters label{flex:1;min-width:180px}.asset-status{display:inline-block;padding:6px 10px;border-radius:6px;background:#e5eee8;font-size:.82rem;font-weight:700}.asset-status.repair,.asset-status.maintenance,.tuv.soon{background:#fff3d6;color:#785100}.asset-status.out_of_service,.tuv.overdue{background:#fce3e1;color:#962a22}.tuv{padding:12px;border-radius:8px}.tuv.ok{background:#e5eee8}.tuv.unknown{background:#f0f2f1}.asset-log li{padding:14px 0;border-bottom:1px solid #dce4df}.vehicle-card h2{font-size:1.5rem}.vehicle-card small,.tuv small{display:block;margin-top:8px}.vehicle-actions{flex-wrap:wrap}@media(max-width:650px){.asset-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-fields{grid-template-columns:1fr}.asset-stats a{padding:16px;font-size:1.6rem}}

#vehicle-video{display:block;width:100%;max-width:620px;max-height:420px;background:#111;margin:16px 0}#vehicle-video[hidden]{display:none}#vehicle-scanner form{margin-top:18px}#driver-match a{display:block}input[aria-invalid=true],select[aria-invalid=true]{outline:2px solid #a02626} .actions{flex-wrap:wrap}
