.fleet-view {
  --fleet-navy: #10283e;
  --fleet-green: #087b63;
  --fleet-line: #dfe6ea;
  --fleet-muted: #6d7e89;
  color: #183044;
}
.fleet-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.fleet-heading > div:last-child {
  display: flex;
  gap: 9px;
}
.fleet-heading p {
  margin: 0 0 5px;
  color: #16806a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.fleet-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.fleet-heading span {
  display: block;
  margin-top: 6px;
  color: var(--fleet-muted);
  font-size: 14px;
}
.fleet-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 15px;
}
.fleet-kpis article {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--fleet-line);
  border-radius: 13px;
  background: #fff;
  padding: 16px;
}
.fleet-kpi-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  font-size: 18px;
  font-weight: 900;
}
.fleet-kpi-icon.navy {
  background: #eaf0f4;
  color: #294d69;
}
.fleet-kpi-icon.red {
  background: #ffedeb;
  color: #ce433c;
}
.fleet-kpi-icon.amber {
  background: #fff1dc;
  color: #be6d12;
}
.fleet-kpi-icon.green {
  background: #e8f6f1;
  color: #0d7d65;
}
.fleet-kpis small,
.fleet-kpis p {
  display: block;
}
.fleet-kpis small {
  color: #72838e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.fleet-kpis strong {
  display: block;
  margin: 2px 0;
  font-size: 28px;
}
.fleet-kpis p {
  margin: 0;
  color: #81909a;
  font-size: 10px;
}
.fleet-alert-strip {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
  border: 1px solid #efc1bd;
  border-left: 4px solid #d84942;
  border-radius: 10px;
  background: #fff3f1;
  padding: 13px 16px;
  color: #a93732;
}
.fleet-alert-strip > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #ffe2df;
  font-weight: 900;
}
.fleet-alert-strip strong {
  font-size: 13px;
}
.fleet-alert-strip p {
  margin: 3px 0 0;
  color: #856461;
  font-size: 11px;
}
.fleet-alert-strip button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #a93732;
  font-size: 12px;
  font-weight: 800;
}
.fleet-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 14px;
}
.fleet-list-panel,
.fleet-detail-panel,
.fleet-notification-panel {
  border: 1px solid var(--fleet-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 9px #172a3b09;
}
.fleet-list-panel {
  overflow: hidden;
}
.fleet-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fleet-line);
  padding: 16px 18px;
}
.fleet-panel-title h3 {
  margin: 0;
  font-size: 17px;
}
.fleet-panel-title p {
  margin: 4px 0 0;
  color: #7d8c96;
  font-size: 11px;
}
.fleet-panel-title button {
  border: 0;
  background: transparent;
  color: #7e8c96;
  font-size: 22px;
}
.fleet-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px;
  border: 1px solid #d7e0e5;
  border-radius: 9px;
  padding: 9px 11px;
  color: #788995;
}
.fleet-search input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 12px;
}
.fleet-equipment-list {
  max-height: 620px;
  overflow: auto;
  border-top: 1px solid #edf0f2;
}
.fleet-equipment-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
  padding: 14px;
  text-align: left;
}
.fleet-equipment-card:hover,
.fleet-equipment-card.selected {
  background: #f2f8f6;
}
.fleet-equipment-card.selected {
  box-shadow: inset 3px 0 var(--fleet-green);
}
.fleet-equipment-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eaf0f4;
  color: #294d69;
  font-size: 17px;
}
.fleet-equipment-icon.hours {
  background: #e8f6f1;
  color: #087b63;
}
.fleet-equipment-card small,
.fleet-equipment-card strong,
.fleet-equipment-card em {
  display: block;
}
.fleet-equipment-card small {
  color: #16806a;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.fleet-equipment-card strong {
  margin: 3px 0;
  font-size: 13px;
}
.fleet-equipment-card em {
  overflow: hidden;
  max-width: 145px;
  color: #768791;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fleet-card-reading {
  text-align: right;
}
.fleet-card-reading b,
.fleet-card-reading i {
  display: block;
}
.fleet-card-reading b {
  font-size: 11px;
}
.fleet-card-reading i {
  margin-top: 5px;
  color: #c8443c;
  font-size: 9px;
  font-style: normal;
}
.fleet-card-reading i.ok {
  color: #16806a;
}
.fleet-detail-panel {
  min-width: 0;
  overflow: hidden;
  padding: 15px;
}
.fleet-empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  color: #7b8c97;
  text-align: center;
}
.fleet-empty > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #edf4f3;
  color: #16806a;
  font-size: 22px;
}
.fleet-empty h3 {
  margin: 12px 0 3px;
}
.fleet-empty p {
  margin: 0;
  font-size: 12px;
}
.fleet-summary {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 1fr;
  align-items: center;
  gap: 22px;
  border-radius: 12px;
  background: var(--fleet-navy);
  color: #fff;
  padding: 18px 20px;
}
.fleet-summary > div + div {
  border-left: 1px solid #39536a;
  padding-left: 20px;
}
.fleet-summary small {
  display: block;
  color: #4dc3a5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.fleet-summary h3 {
  margin: 4px 0;
  font-size: 23px;
}
.fleet-summary strong {
  display: block;
  margin: 5px 0;
  font-size: 15px;
}
.fleet-summary p {
  margin: 0;
  color: #a4b6c3;
  font-size: 11px;
}
.fleet-tachograph {
  display: grid;
  grid-template-columns: 30px 1fr 1fr auto auto;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
  border-radius: 9px;
  padding: 11px 14px;
}
.fleet-tachograph.overdue {
  border: 1px solid #efc3bf;
  background: #fff0ef;
  color: #b93d36;
}
.fleet-tachograph.upcoming,
.fleet-tachograph.missing {
  border: 1px solid #ecd2a6;
  background: #fff6e7;
  color: #a55f0a;
}
.fleet-tachograph.ok {
  border: 1px solid #b9ddcf;
  background: #effaf6;
  color: #08775f;
}
.fleet-tachograph small,
.fleet-tachograph strong {
  display: block;
}
.fleet-tachograph small {
  font-size: 9px;
}
.fleet-tachograph strong {
  margin-top: 3px;
  font-size: 12px;
}
.fleet-tachograph button,
.fleet-attachment {
  border: 1px solid currentColor;
  border-radius: 7px;
  background: #fff9;
  color: inherit;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800;
}
.fleet-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 13px 0;
}
.fleet-tabs {
  display: flex;
  border-bottom: 1px solid var(--fleet-line);
}
.fleet-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 11px 15px;
  color: #71828d;
  font-size: 12px;
  font-weight: 800;
}
.fleet-tabs button.active {
  border-color: var(--fleet-green);
  color: var(--fleet-green);
}
.fleet-table-title {
  padding: 16px 4px 12px;
}
.fleet-table-title h3 {
  margin: 0;
  font-size: 17px;
}
.fleet-table-title p {
  margin: 4px 0 0;
  color: #7e8d97;
  font-size: 11px;
}
.fleet-plan-table {
  overflow: auto;
  border: 1px solid var(--fleet-line);
  border-radius: 10px;
}
.fleet-plan-head,
.fleet-plan-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) repeat(4, minmax(90px, 0.8fr)) 75px 85px;
  align-items: center;
  min-width: 850px;
}
.fleet-plan-head {
  background: #f4f7f8;
  padding: 10px 13px;
  color: #74858f;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.fleet-plan-row {
  border-top: 1px solid #e8edef;
  padding: 12px 13px;
}
.fleet-plan-row strong {
  font-size: 11px;
}
.fleet-plan-row span {
  color: #627580;
  font-size: 10px;
}
.fleet-plan-row span small {
  display: block;
  margin-top: 4px;
  color: #16806a;
}
.fleet-plan-row em {
  justify-self: start;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.fleet-plan-row em.ok {
  background: #e9f7f2;
  color: #118067;
}
.fleet-plan-row em.upcoming {
  background: #fff1dc;
  color: #bd6b11;
}
.fleet-plan-row em.overdue {
  background: #ffebe9;
  color: #c53e38;
}
.fleet-plan-row > button {
  border: 1px solid #b8d8cf;
  border-radius: 7px;
  background: #f0faf7;
  color: #08775f;
  padding: 7px 8px;
  font-size: 10px;
  font-weight: 800;
}
.fleet-history {
  border: 1px solid var(--fleet-line);
  border-radius: 10px;
  padding: 0 15px;
}
.fleet-history article {
  display: grid;
  grid-template-columns: 12px 105px 1fr;
  gap: 12px;
  border-bottom: 1px solid #e8edef;
  padding: 14px 2px;
}
.fleet-history article:last-child {
  border: 0;
}
.fleet-history article > span {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
  background: #16806a;
  box-shadow: 0 0 0 4px #e7f5f1;
}
.fleet-history article > span.corrective {
  background: #d36b28;
  box-shadow: 0 0 0 4px #fff0e5;
}
.fleet-history article > span.inspection {
  background: #3781a7;
  box-shadow: 0 0 0 4px #eaf4fa;
}
.fleet-history strong,
.fleet-history small,
.fleet-history em {
  display: block;
}
.fleet-history small {
  margin-top: 4px;
  color: #7a8a94;
  font-size: 10px;
}
.fleet-history em {
  color: #16806a;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.fleet-history p {
  margin: 5px 0;
  color: #6d7d87;
  font-size: 10px;
}
.fleet-notification-panel {
  position: fixed;
  z-index: 30;
  right: 22px;
  top: 78px;
  width: min(410px, calc(100vw - 30px));
  overflow: hidden;
  box-shadow: 0 20px 60px #1026383d;
}
.fleet-notification-panel > div:last-child {
  max-height: 470px;
  overflow: auto;
}
.fleet-notification-panel [data-notification-equipment] {
  display: grid;
  grid-template-columns: 32px 1fr 15px;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-top: 1px solid #edf0f2;
  background: #fff;
  padding: 13px 15px;
  text-align: left;
}
.fleet-notification-panel [data-notification-equipment]:hover {
  background: #f8fbfa;
}
.fleet-notification-panel [data-notification-equipment] > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-weight: 900;
}
.fleet-notification-panel .overdue {
  background: #ffebe9;
  color: #c53e38;
}
.fleet-notification-panel .upcoming {
  background: #fff1dc;
  color: #bd6b11;
}
.fleet-notification-panel strong,
.fleet-notification-panel small {
  display: block;
}
.fleet-notification-panel strong {
  font-size: 12px;
}
.fleet-notification-panel small {
  margin-top: 4px;
  color: #75858f;
  font-size: 10px;
}
.fleet-notification-empty,
.fleet-empty-list,
.fleet-error {
  padding: 25px;
  color: #788a94;
  text-align: center;
  font-size: 12px;
}
.fleet-header-notification {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d8e1e5;
  border-radius: 9px;
  background: #fff;
  padding: 8px 10px;
  color: #60747f;
  font-size: 11px;
}
.fleet-header-notification > b {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  border-radius: 11px;
  background: #eaf0f2;
  color: #61727d;
  padding: 0 5px;
}
.fleet-header-notification.has-alerts {
  border-color: #ecc0bc;
  background: #fff3f1;
  color: #b64039;
}
.fleet-header-notification.has-alerts > b {
  background: #d94b43;
  color: #fff;
}
.fleet-dialog {
  width: min(720px, calc(100vw - 30px));
  border: 0;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 24px 75px #0b1e2f4f;
}
.fleet-dialog-small {
  width: min(560px, calc(100vw - 30px));
}
.fleet-dialog::backdrop {
  background: #07152299;
  backdrop-filter: blur(2px);
}
.fleet-dialog form {
  display: grid;
  gap: 13px;
}
.fleet-dialog label {
  display: grid;
  gap: 6px;
  color: #435965;
  font-size: 11px;
  font-weight: 800;
}
.fleet-dialog input,
.fleet-dialog select,
.fleet-dialog textarea {
  min-width: 0;
  border: 1px solid #ccd7dd;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  font: inherit;
  font-size: 12px;
}
.fleet-dialog-note {
  display: grid;
  grid-template-columns: 28px 1fr 22px 28px 1fr;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: #102b41;
  color: #fff;
  padding: 12px;
}
.fleet-dialog-note b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #18a080;
}
.fleet-dialog-note strong,
.fleet-dialog-note small {
  display: block;
}
.fleet-dialog-note small {
  margin-top: 2px;
  color: #a1b5c3;
  font-size: 9px;
}
.fleet-dialog-note i {
  color: #67a999;
  font-style: normal;
}
.fleet-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.fleet-span-2 {
  grid-column: span 2;
}
.fleet-dialog-description {
  margin: 0;
  color: #6f808b;
  font-size: 12px;
}
.fleet-service-card {
  border-radius: 9px;
  background: #eaf6f3;
  padding: 12px;
}
.fleet-service-card small,
.fleet-service-card strong {
  display: block;
}
.fleet-service-card small {
  color: #16806a;
  font-size: 9px;
  font-weight: 900;
}
.fleet-service-card strong {
  margin-top: 4px;
}
.fleet-next-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  background: #eaf6f3;
  color: #24473f;
  padding: 11px;
}
.fleet-next-note > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #087b63;
  font-weight: 900;
}
.fleet-next-note strong,
.fleet-next-note small {
  display: block;
}
.fleet-next-note small {
  margin-top: 3px;
  color: #668078;
  font-size: 10px;
}
.fleet-import-dialog {
  width: min(850px, calc(100vw - 30px));
}
.fleet-import-safe {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 10px;
  background: #eaf6f3;
  padding: 12px;
  color: #24473f;
}
.fleet-import-safe > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #087b63;
  color: #fff;
  font-weight: 900;
}
.fleet-import-safe strong,
.fleet-import-safe small {
  display: block;
}
.fleet-import-safe small {
  margin-top: 3px;
  color: #668078;
  font-size: 11px;
}
.fleet-import-drop {
  display: grid !important;
  place-items: center;
  min-height: 105px;
  border: 2px dashed #aecbc2 !important;
  border-radius: 12px;
  background: #f6fbf9;
  padding: 20px !important;
  color: #146d5a !important;
  text-align: center;
  cursor: pointer;
}
.fleet-import-drop strong,
.fleet-import-drop span {
  display: block;
}
.fleet-import-drop strong {
  font-size: 15px;
}
.fleet-import-drop span {
  margin-top: 5px;
  color: #72867f;
  font-size: 11px;
  font-weight: 500;
}
.fleet-import-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fleet-import-status {
  margin-top: 12px;
  border-radius: 9px;
  background: #f3f6f7;
  padding: 11px 13px;
  color: #627681;
  font-size: 12px;
}
.fleet-import-status strong,
.fleet-import-status span {
  display: block;
}
.fleet-import-status span {
  margin-top: 3px;
  font-size: 10px;
}
.fleet-import-status.loading {
  background: #fff5e7;
  color: #9c621a;
}
.fleet-import-status.ready {
  background: #ebf8f3;
  color: #126a57;
}
.fleet-import-status.error {
  background: #fff0ef;
  color: #b73c36;
}
.fleet-import-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.fleet-import-summary article {
  border: 1px solid #dfe7e9;
  border-radius: 9px;
  background: #fff;
  padding: 11px;
}
.fleet-import-summary small {
  display: block;
  color: #74858e;
  font-size: 9px;
  font-weight: 900;
}
.fleet-import-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
}
.fleet-import-equipment {
  max-height: 230px;
  overflow: auto;
  border: 1px solid #dfe7e9;
  border-radius: 10px;
}
.fleet-import-equipment article {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e8edef;
  padding: 11px;
}
.fleet-import-equipment article:first-child {
  border-top: 0;
}
.fleet-import-equipment > article > span {
  justify-self: start;
  border-radius: 12px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 900;
}
.fleet-import-equipment > article > span.create {
  background: #e8f6f1;
  color: #087b63;
}
.fleet-import-equipment > article > span.update {
  background: #fff1dc;
  color: #aa650f;
}
.fleet-import-equipment strong,
.fleet-import-equipment small {
  display: block;
}
.fleet-import-equipment strong {
  font-size: 12px;
}
.fleet-import-equipment small {
  margin-top: 4px;
  color: #70818b;
  font-size: 10px;
}
.fleet-import-ignored {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  border-radius: 9px;
  background: #f2f5f6;
  padding: 10px;
  color: #536a76;
}
.fleet-import-ignored > span {
  color: #087b63;
  font-weight: 900;
}
.fleet-import-ignored strong,
.fleet-import-ignored small {
  display: block;
}
.fleet-import-ignored strong {
  font-size: 11px;
}
.fleet-import-ignored small {
  margin-top: 2px;
  font-size: 10px;
}
.fleet-import-update {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: 8px !important;
  margin-top: 10px;
  font-size: 11px !important;
}
.fleet-import-update input {
  min-width: auto !important;
}
@media (max-width: 1200px) {
  .fleet-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .fleet-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .fleet-summary {
    grid-template-columns: 1fr 1fr;
  }
  .fleet-summary > div:last-child {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid #39536a;
    padding: 12px 0 0;
  }
}
@media (max-width: 820px) {
  .fleet-layout {
    grid-template-columns: 1fr;
  }
  .fleet-equipment-list {
    max-height: 330px;
  }
  .fleet-heading {
    align-items: start;
    flex-direction: column;
  }
  .fleet-tachograph {
    grid-template-columns: 25px 1fr;
  }
  .fleet-tachograph button {
    grid-column: 1/-1;
  }
  .fleet-detail-actions {
    flex-wrap: wrap;
  }
  .fleet-notification-panel {
    left: 10px;
    right: 10px;
    top: 70px;
    width: auto;
  }
}
@media (max-width: 560px) {
  .fleet-kpis {
    grid-template-columns: 1fr;
  }
  .fleet-heading > div:last-child {
    width: 100%;
    flex-wrap: wrap;
  }
  .fleet-summary {
    grid-template-columns: 1fr;
  }
  .fleet-summary > div + div {
    border-left: 0;
    border-top: 1px solid #39536a;
    padding: 12px 0 0;
  }
  .fleet-form-grid {
    grid-template-columns: 1fr;
  }
  .fleet-span-2 {
    grid-column: auto;
  }
  .fleet-dialog {
    padding: 20px 15px;
  }
  .fleet-dialog-note {
    grid-template-columns: 25px 1fr;
  }
  .fleet-dialog-note i {
    display: none;
  }
  .fleet-import-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .fleet-import-equipment article {
    grid-template-columns: 1fr;
  }
}
.fleet-heading > div:last-child {
  gap: 12px;
}
.fleet-heading > div:last-child button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 230px;
  height: 56px;
  min-height: 56px;
  padding: 0 18px;
  line-height: 1;
  white-space: nowrap;
}
.fleet-heading .fleet-button-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 18px;
}
#fleetTabletReadingBtn {
  display: none !important;
}
.fleet-tablet-reading-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #086e5a;
  border-radius: 9px;
  background: #087b63;
  color: #fff;
  padding: 0 15px;
  font-weight: 800;
}
.fleet-tablet-dialog {
  width: min(880px, calc(100vw - 24px));
  max-height: min(820px, calc(100vh - 24px));
  overflow: auto;
  padding: 24px;
}
.fleet-tablet-dialog > .dialog-head small {
  display: block;
  margin-top: 5px;
  color: #71838d;
}
.fleet-tablet-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  border-radius: 11px;
  padding: 13px 15px;
}
.fleet-tablet-status strong,
.fleet-tablet-status span {
  display: block;
}
.fleet-tablet-status span {
  font-size: 12px;
}
.fleet-tablet-status.success {
  background: #e8f7f1;
  color: #086e59;
}
.fleet-tablet-status.error {
  background: #fff0ef;
  color: #b73c36;
}
.fleet-tablet-search {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: 12px !important;
  margin: 15px 0;
  border: 2px solid #cad8dd;
  border-radius: 13px;
  padding: 0 16px !important;
  color: #5e7480;
  font-size: 24px !important;
}
.fleet-tablet-search:focus-within {
  border-color: #087b63;
  box-shadow: 0 0 0 4px #087b6319;
}
.fleet-tablet-search input {
  width: 100%;
  height: 58px;
  border: 0 !important;
  outline: 0;
  font-size: 17px !important;
}
.fleet-tablet-vehicle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.fleet-tablet-vehicle-list > button {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  border: 1px solid #d7e2e6;
  border-radius: 13px;
  background: #fff;
  padding: 13px;
  text-align: left;
}
.fleet-tablet-vehicle-list > button:hover,
.fleet-tablet-vehicle-list > button:focus {
  border-color: #68ad9d;
  background: #f4fbf8;
  outline: 0;
  box-shadow: 0 0 0 3px #087b6314;
}
.fleet-tablet-vehicle-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #eaf0f4;
  color: #294d69;
  font-size: 13px;
  font-weight: 900;
}
.fleet-tablet-vehicle-icon.hours {
  background: #e8f6f1;
  color: #087b63;
}
.fleet-tablet-vehicle-list small,
.fleet-tablet-vehicle-list strong,
.fleet-tablet-vehicle-list em,
.fleet-tablet-vehicle-list b,
.fleet-tablet-vehicle-list i {
  display: block;
}
.fleet-tablet-vehicle-list small {
  color: #71838e;
  font-size: 9px;
  font-weight: 900;
}
.fleet-tablet-vehicle-list strong {
  margin: 3px 0;
  font-size: 17px;
}
.fleet-tablet-vehicle-list em {
  overflow: hidden;
  max-width: 175px;
  color: #647985;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fleet-tablet-vehicle-list > button > span:nth-child(3) {
  text-align: right;
}
.fleet-tablet-vehicle-list b {
  margin: 4px 0;
  font-size: 14px;
}
.fleet-tablet-vehicle-list i {
  font-size: 10px;
  font-style: normal;
}
.fleet-tablet-vehicle-list i.ok {
  color: #087b63;
}
.fleet-tablet-vehicle-list i.attention {
  color: #c04b37;
}
.fleet-tablet-chevron {
  color: #80919a;
  font-size: 25px;
}
.fleet-tablet-empty {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  border: 2px dashed #d7e2e6;
  border-radius: 14px;
  color: #71838e;
  text-align: center;
}
.fleet-tablet-empty span {
  font-size: 12px;
}
.fleet-tablet-editor {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}
.fleet-tablet-editor[hidden],
#fleetTabletVehicleStep[hidden],
.fleet-tablet-status[hidden] {
  display: none !important;
}
.fleet-tablet-back {
  justify-self: start;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #087b63;
  font-size: 14px;
  font-weight: 900;
}
.fleet-tablet-vehicle-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: 14px;
  background: #10283e;
  color: #fff;
  padding: 18px 20px;
}
.fleet-tablet-vehicle-summary > div + div {
  border-left: 1px solid #365068;
  padding-left: 20px;
  text-align: right;
}
.fleet-tablet-vehicle-summary small,
.fleet-tablet-vehicle-summary strong,
.fleet-tablet-vehicle-summary span {
  display: block;
}
.fleet-tablet-vehicle-summary small {
  color: #62c9b0;
  font-size: 10px;
  font-weight: 900;
}
.fleet-tablet-vehicle-summary strong {
  margin: 5px 0;
  font-size: 23px;
}
.fleet-tablet-vehicle-summary span {
  color: #b2c1ca;
  font-size: 12px;
}
.fleet-tablet-reading-field {
  display: grid !important;
  gap: 8px !important;
  border: 2px solid #bcd6cf;
  border-radius: 15px;
  background: #f5fbf9;
  padding: 18px !important;
  color: #1a4d42 !important;
  font-size: 14px !important;
}
.fleet-tablet-reading-field > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fleet-tablet-reading-field input {
  width: 100%;
  height: 72px;
  border: 2px solid #7db7aa !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 8px 14px !important;
  color: #10283e;
  font-size: 32px !important;
  font-weight: 900;
}
.fleet-tablet-reading-field > div strong {
  font-size: 22px;
  text-transform: lowercase;
}
.fleet-tablet-reading-field small {
  color: #668078;
  font-size: 11px;
  font-weight: 600;
}
.fleet-tablet-date-field {
  display: grid !important;
  grid-template-columns: 1fr 190px !important;
  align-items: center;
  gap: 12px !important;
  border-bottom: 1px solid #e2e8eb;
  padding: 0 0 14px !important;
  font-size: 13px !important;
}
.fleet-tablet-date-field input {
  height: 48px;
  font-size: 14px !important;
}
.fleet-tablet-impact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-radius: 11px;
  padding: 13px 15px;
}
.fleet-tablet-impact strong,
.fleet-tablet-impact span {
  display: block;
}
.fleet-tablet-impact span {
  font-size: 11px;
}
.fleet-tablet-impact.neutral {
  background: #edf3f5;
  color: #4d6571;
}
.fleet-tablet-impact.ok {
  background: #e8f7f1;
  color: #086e59;
}
.fleet-tablet-impact.warning {
  background: #fff5e5;
  color: #9a5b0b;
}
.fleet-tablet-impact.error {
  background: #fff0ef;
  color: #b73c36;
}
.fleet-tablet-save {
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: #087b63;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}
.fleet-tablet-save:disabled {
  opacity: 0.65;
}
.fleet-tablet-save:focus {
  outline: 4px solid #087b6330;
}
@media (max-width: 720px) {
  .fleet-heading > div:last-child button {
    width: 100%;
  }
  .fleet-heading #fleetTabletReadingBtn {
    order: -1;
    width: 100%;
    min-height: 54px;
    font-size: 15px;
  }
  .fleet-tablet-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
    padding: 18px 15px;
  }
  .fleet-tablet-dialog > .dialog-head {
    position: sticky;
    z-index: 2;
    top: -18px;
    background: #fff;
    padding: 14px 0;
  }
  .fleet-tablet-vehicle-list {
    grid-template-columns: 1fr;
  }
  .fleet-tablet-vehicle-list > button {
    min-height: 100px;
  }
  .fleet-tablet-vehicle-summary {
    grid-template-columns: 1fr;
  }
  .fleet-tablet-vehicle-summary > div + div {
    border-left: 0;
    border-top: 1px solid #365068;
    padding: 13px 0 0;
    text-align: left;
  }
  .fleet-tablet-reading-field input {
    height: 78px;
    font-size: 35px !important;
  }
  .fleet-tablet-date-field {
    grid-template-columns: 1fr;
  }
  .fleet-tablet-date-field input {
    width: 100%;
  }
  .fleet-tablet-impact,
  .fleet-tablet-status {
    align-items: flex-start;
    flex-direction: column;
  }
  .fleet-tablet-save {
    position: sticky;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -8px 20px #fff;
  }
}
.fleet-dialog label[hidden] {
  display: none;
}
.fleet-dialog label > small {
  color: #72858e;
  font-size: 10px;
  font-weight: 500;
}
.fleet-rental-revision {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  border: 1px solid #b9ddcf;
  border-radius: 12px;
  background: #effaf6;
  padding: 20px;
  color: #175e4e;
}
.fleet-rental-revision.upcoming {
  border-color: #ecd2a6;
  background: #fff6e7;
  color: #985b0c;
}
.fleet-rental-revision.overdue {
  border-color: #efc3bf;
  background: #fff0ef;
  color: #ad3d36;
}
.fleet-rental-revision small,
.fleet-rental-revision strong {
  display: block;
}
.fleet-rental-revision small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.fleet-rental-revision h3 {
  margin: 4px 0;
  font-size: 19px;
}
.fleet-rental-revision p {
  margin: 3px 0 0;
  font-size: 11px;
}
.fleet-rental-revision > div:nth-child(2) {
  text-align: right;
}
.fleet-rental-revision > div:nth-child(2) strong {
  margin-top: 5px;
  font-size: 22px;
}
.fleet-rental-revision > em {
  border-radius: 15px;
  background: #fff;
  padding: 7px 10px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .fleet-rental-revision {
    grid-template-columns: 1fr;
  }
  .fleet-rental-revision > div:nth-child(2) {
    text-align: left;
  }
}
.fleet-plan-row > strong small {
  display: block;
  margin-bottom: 3px;
  color: #71838d;
  font-size: 10px;
  font-weight: 700;
}
.fleet-lessors-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  margin-bottom: 18px;
  overflow: auto;
}
.fleet-lessors-list > button {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #dce5e8;
  border-radius: 10px;
  background: #f8fafb;
  padding: 12px;
  text-align: left;
}
.fleet-lessors-list strong,
.fleet-lessors-list small {
  display: block;
}
.fleet-lessors-list small {
  color: #687b85;
}
.fleet-qr-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px solid #dce5e8;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  text-align: center;
}
.fleet-qr-card canvas {
  width: min(100%, 360px);
  height: auto;
}
.fleet-qr-card strong {
  font-size: 26px;
  color: #102b41;
}
.fleet-qr-card small {
  font-size: 14px;
  font-weight: 800;
  color: #087b63;
}
.fleet-qr-card p {
  margin: 5px 0 0;
  color: #647984;
}
.fleet-detail-actions {
  flex-wrap: wrap;
}

/* Cabeçalho amplo e responsivo: evita texto comprimido e ações cortadas. */
.fleet-heading {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}
.fleet-heading > div:first-child {
  min-width: 0;
}
.fleet-heading h2 {
  font-size: clamp(32px, 2.5vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.fleet-heading span {
  max-width: 38ch;
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.55;
}
.fleet-heading > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.fleet-heading > div:last-child button {
  width: auto;
  height: 48px;
  min-width: 148px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.2;
}
.fleet-heading #fleetDriverReadingBtn {
  min-width: 205px;
}
.fleet-heading #fleetNewEquipmentBtn {
  min-width: 210px;
}
@media (max-width: 1250px) {
  .fleet-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .fleet-heading span {
    max-width: 62ch;
  }
  .fleet-heading > div:last-child {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .fleet-heading {
    gap: 20px;
  }
  .fleet-heading h2 {
    font-size: 32px;
    white-space: normal;
  }
  .fleet-heading > div:last-child button {
    flex: 1 1 calc(50% - 10px);
    width: auto;
    min-width: 180px;
  }
  .fleet-heading #fleetDriverReadingBtn,
  .fleet-heading #fleetNewEquipmentBtn {
    min-width: 180px;
  }
}
@media (max-width: 520px) {
  .fleet-heading > div:last-child button,
  .fleet-heading #fleetDriverReadingBtn,
  .fleet-heading #fleetNewEquipmentBtn {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }
}

/* Editar / Excluir registros já cadastrados (permissão fleet.edit). */
.fleet-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.fleet-record-hint {
  margin: 8px 0 0;
  color: #667085;
  font-size: 12px;
}
.fleet-attachment-note {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 400;
}
