@import url("/fonts.css");
:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #21372d;
  background: #f5f7f4;
  font-synthesis: none;
  --green: #163d31;
  --muted: #728078;
  --line: #e2e8e1;
  --lime: #d4e9b5;
  --orange: #a45927;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #91b36e;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.loading {
  padding: 15vh;
  text-align: center;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--green);
  color: #d5e1d9;
  padding: 30px 19px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 238px;
  top: 0;
  bottom: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px 36px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--lime);
  color: var(--green);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 800;
}
.brand strong {
  display: block;
  font-size: 23px;
  letter-spacing: -1px;
  color: white;
}
.brand small {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bccfbf;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #8eae9b;
  margin: 0 15px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 13px 15px;
  border-radius: 9px;
  color: #b6cbbd;
  font-size: 13px;
}
.nav button:hover {
  background: #244c3d;
  color: white;
}
.nav button.active {
  background: var(--lime);
  color: var(--green);
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  min-width: 22px;
  padding: 2px 5px;
  text-align: center;
  font-size: 10px;
  border-radius: 5px;
  background: #ffffff15;
}
.nav button.active .nav-count {
  background: #163d3112;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.workspace-tag {
  border: 1px solid #42604f;
  border-radius: 10px;
  padding: 14px;
  font-size: 11px;
  color: #b0c5b7;
  line-height: 1.6;
  margin-bottom: 18px;
}
.workspace-tag strong {
  display: flex;
  color: #e7efdf;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
}
.avatar {
  display: grid;
  place-items: center;
  background: #e3e9df;
  border: 1px solid #d6dfd1;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.profile .avatar {
  background: #365948;
  color: #dbebd1;
  border: 0;
}
.profile strong {
  display: block;
  color: #e4ece7;
  font-size: 11px;
}
.profile small {
  font-size: 10px;
  color: #9bb5a4;
  text-transform: capitalize;
}
.profile button {
  margin-left: auto;
  color: #b5cbbb;
  padding: 6px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #ffffffb8;
  gap: 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #839086;
  font-size: 12px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #43574a;
}
.top-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.top-date {
  font-size: 11px;
  color: #728078;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4c8b4c;
  display: inline-block;
  margin-right: 5px;
}
.demo-strip {
  background: #edf1e4;
  border-bottom: 1px solid #dce5d0;
  padding: 8px 38px;
  font-size: 11px;
  color: #546844;
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-strip strong {
  font-weight: 650;
}
.demo-strip button {
  margin-left: auto;
  text-decoration: underline;
  font-size: 11px;
}
.content {
  max-width: 1600px;
  margin: auto;
  padding: 34px 38px 55px;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 9px;
  font-weight: 700;
  color: #7f8c80;
  margin: 0 0 10px;
}
.page-heading h1 {
  font-size: 29px;
  font-weight: 620;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 5px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 7px;
  padding: 11px 15px;
  border: 1px solid #dce3d9;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  min-height: 39px;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn.primary:hover {
  background: #24523e;
}
.btn.danger {
  background: #fff1ec;
  color: #9f462c;
  border-color: #efd9ce;
}
.btn.subtle {
  background: transparent;
}
.btn.small {
  padding: 7px 10px;
  min-height: 32px;
  font-size: 10px;
}
.btn .icon {
  width: 15px;
  height: 15px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 26px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  position: relative;
  overflow: hidden;
}
.stat-top {
  font-size: 11px;
  color: #708074;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-top .icon {
  width: 17px;
  height: 17px;
}
.stat-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 15px 0 8px;
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: 1;
}
.stat-number small {
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
  color: #84907f;
}
.stat-bottom {
  font-size: 10px;
  color: #7d897e;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-bottom b {
  font-weight: 500;
}
.stat.alert {
  background: #fbf8f0;
  border-color: #e9e2d2;
}
.stat.alert .stat-number,
.stat.alert .stat-top .icon {
  color: #a7692e;
}
.stat.vor {
  background: #fff7f4;
  border-color: #edddd3;
}
.stat.vor .stat-number,
.stat.vor .stat-top .icon {
  color: #ae583d;
}
.stat.review {
  background: #f0f5ea;
  border-color: #dce6d1;
}
.stat.review .stat-number {
  color: #507044;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 23px;
  align-items: start;
}
.grid-main {
  grid-template-columns: minmax(0, 1fr) 294px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  margin-bottom: 23px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 21px 23px 17px;
}
.panel-head h2 {
  font-size: 14px;
  letter-spacing: -0.25px;
  font-weight: 650;
  margin: 0;
}
.panel-head p {
  font-size: 10px;
  color: #869083;
  margin: 6px 0 0;
}
.text-link {
  font-size: 10px;
  color: #55734c;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
}
.text-link .icon {
  width: 13px;
  height: 13px;
}
.panel-tabs {
  display: flex;
  gap: 22px;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
}
.panel-tabs button {
  font-size: 10px;
  color: #849080;
  padding: 0 0 14px;
  border-bottom: 2px solid transparent;
}
.panel-tabs button.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 650;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8a9488;
  font-weight: 500;
  background: #fafbf8;
  padding: 12px 20px;
  border-bottom: 1px solid #edf0e9;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf0e9;
  font-size: 11px;
  color: #6b786d;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #304536;
  font-weight: 650;
}
.vehicle-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vehicle-icon {
  width: 33px;
  height: 33px;
  border: 1px solid #e4e9de;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #789078;
  background: #f7f9f4;
}
.vehicle-icon .icon {
  width: 17px;
  height: 17px;
}
.vehicle-cell small {
  display: block;
  font-size: 9px;
  color: #8a9589;
  margin-top: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
  background: #f1f3ef;
  color: #788370;
}
.badge.green {
  background: #e9f1e2;
  color: #5d794a;
}
.badge.orange {
  background: #fcf0db;
  color: #ac7730;
}
.badge.red {
  background: #faeae3;
  color: #ad6348;
}
.badge.blue {
  background: #eaf0f5;
  color: #637d91;
}
.badge.gray {
  background: #f0f1ee;
  color: #7c8577;
}
.row-btn {
  padding: 6px;
  border-radius: 5px;
  color: #81917e;
}
.row-btn:hover {
  background: #edf3e7;
}
.row-btn .icon {
  width: 16px;
  height: 16px;
}
.note-panel {
  padding: 21px 23px;
  background: #eaf0e1;
  border: 1px solid #dce5cd;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.note-panel .eyebrow {
  color: #6d855b;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.note-panel h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
.note-panel p {
  font-size: 11px;
  line-height: 1.7;
  color: #768567;
  margin: 0 0 15px;
}
.depot-row {
  padding: 0 23px 21px;
}
.depot-row-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 10px;
}
.depot-row-top span {
  color: #8b9683;
  font-size: 10px;
}
meter {
  width: 100%;
  height: 6px;
  display: block;
  background: #edf0e7;
  border: 0;
  border-radius: 8px;
}
meter::-webkit-meter-bar {
  background: #edf0e7;
  border: 0;
  border-radius: 8px;
}
meter::-webkit-meter-optimum-value {
  background: #769659;
  border-radius: 8px;
}
.mini-legend {
  display: flex;
  gap: 12px;
  padding: 0 23px 19px;
  font-size: 9px;
  color: #8a9683;
}
.mini-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #769659;
  border-radius: 50%;
  margin-right: 4px;
}
.mini-legend i.pale {
  background: #edf0e7;
}
.activity {
  padding: 0 23px 20px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.activity-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.6;
  color: #75816f;
}
.activity-row .activity-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #f0f4e9;
  border-radius: 50%;
  color: #789164;
}
.activity-row .icon {
  width: 14px;
  height: 14px;
}
.activity-row strong {
  font-weight: 600;
  color: #42583c;
}
.activity-row small {
  font-size: 9px;
  display: block;
  color: #99a18e;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 300px;
  flex: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
}
.search .icon {
  width: 15px;
  color: #8b9985;
}
.search input {
  border: 0;
  outline: 0;
  background: none;
  min-width: 90px;
  width: 100%;
  font-size: 11px;
  color: #4f6346;
}
.filter-bar select {
  background: white;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 11px;
  color: #5e7352;
  max-width: 100%;
}
.filter-count {
  margin-left: auto;
  font-size: 10px;
  color: #8a9683;
}
.empty {
  padding: 42px 24px;
  text-align: center;
  color: #829079;
  font-size: 12px;
  line-height: 1.8;
}
.empty .icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 12px;
  color: #8a9f7c;
}
.empty strong {
  display: block;
  color: #4e6545;
  font-size: 14px;
  font-weight: 600;
}
.bottom-note {
  display: flex;
  justify-content: space-between;
  color: #99a18e;
  font-size: 9px;
  margin-top: 25px;
}
.job-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.job-card {
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}
.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.job-card h3 {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin: 19px 0 5px;
}
.job-card p {
  font-size: 11px;
  color: #8b9685;
  margin: 0 0 18px;
}
.job-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #87917f;
}
.job-card:hover {
  border-color: #93ac7b;
  box-shadow: 0 5px 20px #1c382506;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: var(--green);
  color: #fff;
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-art .brand {
  padding: 0;
}
.login-art h1 {
  font-size: 54px;
  font-weight: 450;
  letter-spacing: -2px;
  line-height: 1.12;
  max-width: 490px;
  margin: 30px 0 20px;
}
.login-art h1 em {
  color: var(--lime);
  font-style: normal;
}
.login-art p {
  font-size: 14px;
  color: #abc3b1;
  line-height: 1.8;
  max-width: 380px;
}
.login-art small {
  font-size: 10px;
  color: #8eac98;
}
.login-form {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 45px;
}
.login-card {
  width: 100%;
  max-width: 365px;
}
.login-card h2 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.9px;
  margin: 0 0 12px;
}
.login-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #7b8973;
}
.login-card .btn {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
}
.login-note {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 30px;
  font-size: 10px;
  color: #8d9784;
  line-height: 1.8;
}
.ms-grid {
  display: grid;
  grid-template-columns: 7px 7px;
  gap: 2px;
}
.ms-grid i {
  width: 7px;
  height: 7px;
  background: #f25022;
}
.ms-grid i:nth-child(2) {
  background: #7fba00;
}
.ms-grid i:nth-child(3) {
  background: #00a4ef;
}
.ms-grid i:nth-child(4) {
  background: #ffb900;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
  text-align: left;
}
.field label {
  font-size: 11px;
  font-weight: 550;
  color: #52664a;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: white;
  border: 1px solid #dbe3d4;
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 12px;
  color: #3a5131;
  min-height: 41px;
}
.field textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.6;
}
.field small {
  font-size: 10px;
  color: #8a9680;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
dialog {
  border: 1px solid #dfe6d8;
  border-radius: 18px;
  padding: 0;
  max-width: 650px;
  width: calc(100% - 32px);
  max-height: 90vh;
  color: var(--green);
  box-shadow: 0 30px 120px #163d3133;
}
dialog::backdrop {
  background: #152e246b;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 25px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 0;
}
.modal-body {
  padding: 0 28px 27px;
}
.close {
  padding: 8px;
  font-size: 20px;
  line-height: 1;
}
.form-error {
  font-size: 11px;
  color: #a34a31;
  background: #fff1e9;
  border-radius: 6px;
  padding: 11px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
.notice {
  padding: 15px 18px;
  border-radius: 8px;
  background: #f8f1df;
  border: 1px solid #ede1c1;
  font-size: 11px;
  line-height: 1.8;
  color: #94783b;
  margin-bottom: 20px;
}
.notice.green {
  background: #eaf1e2;
  color: #607a48;
  border-color: #dbe5ce;
}
.notice.red {
  background: #fcf0e9;
  color: #a25e42;
  border-color: #efdbcd;
}
.inspection-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 24px;
}
.inspection-nav {
  position: sticky;
  top: 22px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.inspection-nav button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-size: 11px;
  padding: 12px 13px;
  border-radius: 7px;
  color: #829177;
}
.inspection-nav button.active {
  background: #e5eddd;
  color: var(--green);
  font-weight: 600;
}
.step-number {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid #d0dcc5;
  display: grid;
  place-items: center;
  font-size: 9px;
  flex-shrink: 0;
}
.inspection-body {
  padding: 25px;
}
.inspection-body h2 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.section-desc {
  font-size: 11px;
  color: #899480;
  margin: 0 0 25px;
  line-height: 1.8;
}
.check-row {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 12px;
}
.check-title {
  font-size: 12px;
  font-weight: 550;
  color: #4b6141;
  margin-bottom: 13px;
}
.check-title small {
  font-size: 9px;
  color: #96a089;
  margin-right: 9px;
}
.check-options {
  display: flex;
  gap: 8px;
}
.check-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 17px;
  font-size: 11px;
  cursor: pointer;
}
.check-options label:has(input:checked) {
  background: #e9f0e1;
  border-color: #9bb68b;
  color: #4b713c;
}
.check-options label:has(input[value="fail"]:checked) {
  background: #fae9e0;
  border-color: #d6a68c;
  color: #a46442;
}
.check-options input {
  accent-color: #4c7540;
  margin: 0;
}
.check-detail {
  margin-top: 13px;
  display: flex;
  gap: 10px;
  align-items: start;
}
.check-detail .field {
  flex: 1;
  margin: 0;
}
.check-detail .severity {
  flex: 0 0 120px;
}
.tyre-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.tyre-row > strong {
  font-size: 11px;
  font-weight: 500;
  color: #6e7f61;
}
.tyre-row .field {
  margin: 0;
}
.tyre-row .field label {
  font-size: 9px;
  color: #8b977e;
}
.tyre-row input {
  padding: 10px;
  min-width: 0;
}
.declaration {
  display: flex;
  gap: 11px;
  font-size: 11px;
  line-height: 1.8;
  padding: 19px;
  background: #f1f5e9;
  border-radius: 9px;
  color: #657d51;
  margin-top: 16px;
  align-items: flex-start;
}
.declaration input {
  margin-top: 4px;
  accent-color: #4c7540;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0;
}
.photo img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.photo small {
  font-size: 9px;
  color: #89977c;
}
.inspection-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: #fcfdf9;
}
.inspection-footer small {
  font-size: 10px;
  color: #8c9880;
}
.footer-actions {
  display: flex;
  gap: 9px;
}
.read-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.read-section h3 {
  font-size: 13px;
  margin: 0 0 16px;
  font-weight: 600;
}
.read-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  font-size: 11px;
  padding: 9px 0;
  color: #7c8a70;
  line-height: 1.6;
}
.read-row strong {
  font-weight: 500;
  color: #405b32;
  text-align: right;
  max-width: 65%;
  white-space: pre-wrap;
}
.read-row > span {
  flex: 1;
}
.read-row p {
  margin: 5px 0 0;
  color: #9b7854;
  font-size: 10px;
}
.team-depots {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.team-depots label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}
.audit-detail {
  max-width: 350px;
  white-space: normal;
  font-size: 10px;
  line-height: 1.6;
}
.mobile-bottom {
  display: none;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 13px 23px;
  z-index: 100;
  border-radius: 9px;
  box-shadow: 0 5px 25px #163d3122;
  font-size: 12px;
  max-width: 90%;
  display: none;
}
#toast.visible {
  display: block;
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
}
.outline-logo {
  position: relative;
  height: 180px;
  max-width: 370px;
  margin-top: 30px;
  border: 1px solid #3c5c4b;
  border-radius: 20px;
  background: #1d4537;
  padding: 25px;
}
.outline-logo .road {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  border-bottom: 1px dashed #7b997e;
}
.outline-logo .truck {
  position: absolute;
  bottom: 38px;
  left: 30px;
  width: 100px;
  height: 60px;
  stroke: #c8e49f;
  stroke-width: 0.8;
}
.outline-logo .status-float {
  position: absolute;
  right: 20px;
  top: 25px;
  padding: 12px 14px;
  font-size: 10px;
  background: #d4e9b5;
  color: #234333;
  border-radius: 8px;
  box-shadow: 0 8px 30px #0d261f25;
}
.outline-logo .status-float small {
  display: block;
  color: #688055;
  font-size: 8px;
  margin-top: 5px;
}
.detail-meta {
  display: flex;
  gap: 25px;
  font-size: 11px;
  color: #819172;
  flex-wrap: wrap;
}
.detail-meta strong {
  font-weight: 550;
  color: #547041;
}
.chip-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.section-head {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 550;
}
.muted {
  color: #91a181;
}
.review-box {
  padding: 23px;
}
.review-box h3 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 15px;
}
.review-box p {
  font-size: 11px;
  color: #859578;
  line-height: 1.8;
}
.nowrap {
  white-space: nowrap;
}
.file-input {
  font-size: 11px;
  color: #70865d;
}
.view-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #8b9a80;
  margin-bottom: 21px;
  padding: 0;
}
.view-back .icon {
  width: 14px;
  height: 14px;
}
.bottom-space {
  margin-bottom: 10px;
}
@media (min-width: 1500px) {
  .content {
    padding: 42px 50px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .stat {
    padding: 24px;
  }
}
@media (max-width: 1250px) {
  .shell {
    grid-template-columns: 204px minmax(0, 1fr);
  }
  .sidebar {
    width: 204px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .demo-strip {
    padding: 8px 25px;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .right-column .panel,
  .right-column .note-panel {
    margin: 0;
  }
  .stat {
    padding: 17px;
  }
  .job-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .stats {
    gap: 11px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-top .icon {
    display: none;
  }
  .stat-number {
    font-size: 29px;
  }
  .stat-bottom {
    font-size: 9px;
  }
  .right-column {
    grid-template-columns: 1fr 1fr;
  }
  .right-column > .panel:last-child {
    grid-column: 1/-1;
  }
  .inspection-layout {
    grid-template-columns: 1fr;
  }
  .inspection-nav {
    position: static;
    flex-direction: row;
    overflow: auto;
    padding-bottom: 5px;
  }
  .inspection-nav button {
    white-space: nowrap;
  }
  .login-art {
    padding: 40px;
  }
  .login-art h1 {
    font-size: 40px;
  }
  .top-date {
    display: none;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
    padding-bottom: 75px;
  }
  .sidebar {
    display: none;
  }
  .main {
    width: 100%;
  }
  .topbar {
    height: 62px;
    padding: 0 19px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb > span {
    display: none;
  }
  .content {
    padding: 25px 18px;
  }
  .demo-strip {
    padding: 8px 18px;
    font-size: 9px;
    gap: 7px;
  }
  .demo-strip button {
    font-size: 9px;
  }
  .page-heading {
    gap: 10px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 230px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .heading-actions {
    padding: 0;
  }
  .heading-actions .btn {
    font-size: 10px;
    padding: 10px;
  }
  .heading-actions .btn.subtle {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 17px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-number {
    font-size: 30px;
    margin-top: 15px;
  }
  .stat-bottom {
    font-size: 9px;
  }
  .grid-main {
    gap: 0;
  }
  .panel-head {
    padding: 19px;
  }
  .panel-head h2 {
    font-size: 13px;
  }
  .panel-tabs {
    padding: 0 19px;
    gap: 20px;
  }
  .right-column {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .right-column > .panel:last-child {
    grid-column: auto;
  }
  .panel {
    margin-bottom: 20px;
  }
  .bottom-note {
    font-size: 8px;
    gap: 15px;
    line-height: 1.8;
  }
  .mobile-bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffffed;
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--line);
    padding: 8px 4px max(8px, env(safe-area-inset-bottom));
    z-index: 20;
    justify-content: space-around;
  }
  .mobile-bottom button {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: column;
    padding: 5px 10px;
    font-size: 8px;
    color: #829473;
  }
  .mobile-bottom button.active {
    color: var(--green);
    font-weight: 650;
  }
  .mobile-bottom .icon {
    width: 20px;
    height: 20px;
  }
  .job-cards {
    grid-template-columns: 1fr;
  }
  .job-card {
    padding: 22px;
  }
  .job-card h3 {
    font-size: 24px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 30px;
    min-height: 320px;
  }
  .login-art h1 {
    font-size: 36px;
    max-width: 300px;
    margin: 35px 0 15px;
  }
  .login-art p {
    font-size: 12px;
  }
  .login-art > small,
  .outline-logo {
    display: none;
  }
  .login-art .brand strong {
    font-size: 21px;
  }
  .login-form {
    padding: 30px;
    align-items: flex-start;
  }
  .login-card h2 {
    font-size: 23px;
  }
  .login-card .btn {
    margin-top: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .modal-head {
    padding: 22px;
  }
  .modal-body {
    padding: 0 22px 22px;
  }
  .inspection-body {
    padding: 19px;
  }
  .check-options label {
    flex: 1;
    padding: 12px 9px;
    min-height: 43px;
  }
  .check-detail {
    flex-direction: column;
  }
  .check-detail .field,
  .check-detail .severity {
    width: 100%;
    flex: 1;
  }
  .tyre-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
  }
  .tyre-row > strong {
    grid-column: 1/-1;
  }
  .inspection-footer {
    padding: 17px;
    flex-wrap: wrap;
  }
  .footer-actions {
    width: 100%;
  }
  .footer-actions .btn {
    flex: 1;
  }
  .inspection-nav button {
    padding: 10px;
  }
  .photos {
    grid-template-columns: 1fr 1fr;
  }
  .filter-count {
    display: none;
  }
  .filter-bar {
    gap: 7px;
  }
  .search {
    flex-basis: 100%;
    max-width: none;
  }
  .filter-bar select {
    flex: 1;
    font-size: 10px;
    min-width: 0;
  }
  .top-actions .btn {
    padding: 7px;
    min-height: 30px;
  }
  .top-actions .avatar {
    width: 29px;
    height: 29px;
  }
  .detail-meta {
    font-size: 10px;
    gap: 10px;
  }
  .read-section {
    padding: 17px;
  }
  .read-row {
    font-size: 10px;
  }
  .page-heading .btn .icon {
    width: 13px;
    height: 13px;
  }
  .review-box {
    padding: 18px;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 13px 15px;
  }
  .team-depots {
    flex-direction: column;
  }
  #toast {
    bottom: 90px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.15s,
      border-color 0.15s,
      box-shadow 0.15s;
  }
  .stat,
  .panel,
  .job-card {
    animation: appear 0.3s ease-out both;
  }
  @keyframes appear {
    from {
      opacity: 0.3;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.simple-login {
  display: flex;
  justify-content: center;
}
.simple-login .login-form {
  width: 100%;
  min-height: 100vh;
}
.login-brand {
  padding: 0 0 35px;
}
.login-brand strong {
  color: #163d31;
}
.login-brand small {
  color: #73846b;
}
.sidebar .nav {
  overflow: auto;
  min-height: 0;
}
.sidebar .nav button {
  padding-top: 10px;
  padding-bottom: 10px;
}
.sidebar .brand {
  padding-bottom: 24px;
}
.sidebar .sidebar-bottom {
  padding-top: 12px;
}

.sidebar .nav button {
  padding: 8px 14px;
  font-size: 12px;
}
.sidebar-bottom {
  flex-shrink: 0;
}
.status-number {
  font-size: 23px;
  text-transform: capitalize;
  letter-spacing: -0.6px;
}
.record-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #758567;
}
.record-summary strong {
  font-size: 20px;
  color: var(--green);
}
.record-summary .text-link {
  margin-left: auto;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.export-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 23px 20px;
}
.export-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-size: 11px;
  color: #5a744b;
}
.export-card strong {
  font-weight: 550;
}
.export-card span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #8a997d;
}
.export-card:hover {
  background: #f7faf2;
}
.vehicle-link {
  text-align: left;
  padding: 0;
}
.vehicle-link:hover strong {
  text-decoration: underline;
}
.more-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.more-nav .btn {
  justify-content: flex-start;
}
.inspection-nav button {
  min-height: 42px;
}
@media (max-width: 700px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .export-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px 18px;
  }
  .status-number {
    font-size: 20px;
  }
  .record-summary {
    gap: 12px;
    flex-wrap: wrap;
  }
  .mobile-bottom button {
    padding: 5px 7px;
  }
  .page-heading h1 {
    overflow-wrap: anywhere;
  }
  .topbar .breadcrumb > span {
    display: none;
  }
}

.report-dates {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.report-dates .field {
  max-width: 200px;
  flex: 1;
  margin: 0;
}
.report-dates input {
  padding: 9px 11px;
}
.sidebar .nav {
  scrollbar-width: thin;
  scrollbar-color: #617f6b transparent;
}
.sidebar .nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar .nav::-webkit-scrollbar-thumb {
  background: #617f6b;
  border-radius: 4px;
}
.check-row:not(:has(input[value="fail"]:checked)):not(
    :has(input[value="na"]:checked)
  )
  .check-detail {
  display: none;
}
.check-row:has(input[value="na"]:checked) .severity {
  display: none;
}
