@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --blue: #0768aa;
  --blue-hover: #05578e;
  --navy: #142c45;
  --ink: #1c3048;
  --muted: #576579;
  --line: #e2e8ef;
  --bg: #f1f4f8;
  --surface: #fff;
  --green: #187858;
  --amber: #94601c;
  --radius: 12px;
  --sidebar: 238px;
  font-family:
    "Public Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--blue);
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
}
h2 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
small {
  font-size: 13px;
  color: var(--muted);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #5babdf;
  outline-offset: 3px;
}
button {
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #34495f;
  margin-bottom: 8px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cfd9e4;
  border-radius: 7px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #0768aa18;
  border-color: var(--blue);
}
input::placeholder,
textarea::placeholder {
  color: #8a97a7;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  min-height: 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}
input:disabled,
select:disabled {
  color: #8491a2;
  background: #f3f5f8;
  cursor: not-allowed;
}
textarea {
  resize: vertical;
}
input[type="file"] {
  padding: 9px 12px;
  max-width: 100%;
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 6px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.loading,
.no-script {
  padding: 60px 25px;
  text-align: center;
  color: var(--muted);
}
/* Application frame */
.shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--sidebar);
  padding: 24px 16px 20px;
  background: var(--navy);
  color: #d4dfeb;
  z-index: 30;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 0 11px 22px;
  border-bottom: 1px solid #ffffff14;
  margin-bottom: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.brand-logo {
  display: block;
  width: 156px;
  height: 116px;
  object-fit: cover;
  object-position: center;
}
.brand > small {
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--muted);
}
.sidebar .brand {
  background: #fff;
  border-radius: 9px;
  padding: 3px 6px 11px;
}
.sidebar .brand-logo {
  width: 148px;
  height: 109px;
}
.sidebar .brand > small {
  font-size: 11px;
  color: #435a72;
}
.nav-caption {
  padding: 13px 12px 9px;
  font-size: 12px;
  color: #91a6bc;
  font-weight: 500;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  width: 100%;
  border-radius: 6px;
  padding: 12px;
  text-align: left;
  color: #c4d2e2;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.nav button svg {
  width: 18px;
  height: 18px;
  color: #9eb4ca;
}
.nav button:hover {
  background: #ffffff0a;
  color: #fff;
}
.nav button.active {
  background: #0768aa;
  color: white;
  box-shadow: 0 3px 8px #0000000c;
}
.nav button.active svg {
  color: white;
}
.nav .count {
  margin-left: auto;
  font-size: 11px;
  background: #ffffff14;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.5;
}
.side-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.workshop-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ffffff15;
  margin-top: 17px;
  padding: 20px 9px 0;
}
.workshop-mark {
  width: 32px;
  height: 32px;
  background: #ffffff0c;
  border: 1px solid #ffffff12;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  color: #c6d7e7;
  font-weight: 600;
}
.workshop-identity b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #e2eaf4;
}
.workshop-identity small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #91a6bc;
}
.sidebar .sidebar-close,
.topbar .mobile-toggle,
.mobile-brand,
.menu-backdrop {
  display: none;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 32px;
}
.global-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(410px, 45%);
  color: #8a97a8;
}
.global-search > svg {
  width: 18px;
  height: 18px;
}
.global-search input {
  border: 0;
  padding: 10px 0;
  background: transparent;
  font-size: 13px;
  min-height: 40px;
}
.global-search input:focus {
  outline: 0;
  box-shadow: 0 1px 0 var(--blue);
  border-radius: 0;
}
.global-search button {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.global-search button:hover {
  background: #f0f4f8;
  color: var(--blue);
}
.global-search button svg {
  width: 15px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-date {
  font-size: 12px;
  color: #5a6b80;
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.top-date svg {
  width: 15px;
  height: 15px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #6e8094;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.icon-btn:hover {
  border-color: #b5c8db;
  background: #f8fafc;
  color: var(--blue);
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 19px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #e9f1fa;
  color: #286398;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
}
.profile b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.profile small {
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.content {
  max-width: 1600px;
  padding: 32px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}
.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}
.heading-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  min-height: 41px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn.primary {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  box-shadow: 0 2px 3px #0b507310;
}
.btn.primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}
.btn.primary:active {
  background: #064c7b;
}
.btn.secondary {
  background: #fff;
  border: 1px solid #d5dee8;
  color: #41566d;
}
.btn.secondary:hover {
  background: #f8fafc;
  border-color: #b7c9db;
}
.btn.ghost,
.btn.text-button {
  color: var(--blue);
  background: transparent;
  padding: 7px 2px;
  min-height: 36px;
}
.btn.text-button svg {
  width: 14px;
}
.btn.text-button:hover,
.btn.ghost:hover {
  color: #034b7c;
  text-decoration: underline;
}
.btn.danger {
  background: #fff0ef;
  color: #a3433b;
}
.full-width {
  width: 100%;
}
.demo-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #697c91;
  margin: -13px 0 21px;
}
.demo-label > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #91a9bd;
}
.demo-label svg {
  width: 13px;
  height: 13px;
}
.demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
/* Workflow and operational summary */
.operation-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dce4ee;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 23px;
  box-shadow: 0 2px 3px #203c5003;
}
.summary-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 23px;
  text-align: left;
  gap: 7px;
  min-height: 130px;
}
.summary-item + .summary-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  border-left: 1px solid var(--line);
}
.summary-item > span {
  font-size: 13px;
  color: #53667c;
  font-weight: 500;
}
.summary-item strong {
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  color: #233e59;
  line-height: 1.2;
}
.summary-primary strong {
  color: var(--blue);
}
.summary-item small {
  font-size: 11px;
  color: #61758a;
}
.summary-item:hover {
  background: #f8fbff;
}
.summary-item:focus-visible {
  outline-offset: -4px;
}
.flow-panel {
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.flow-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.flow-caption > b {
  font-size: 13px;
  font-weight: 600;
}
.flow-reset {
  font-size: 11px;
  color: #61758a;
  min-height: 28px;
}
.flow-reset.selected {
  color: var(--blue);
  font-weight: 500;
}
.service-flow {
  display: flex;
  gap: 8px;
  align-items: center;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e6ebf1;
  background: #f8fafc;
  border-radius: 6px;
  min-height: 42px;
  flex: 1;
  padding: 8px 11px;
  white-space: nowrap;
  text-align: left;
  color: #52657b;
  font-size: 12px;
}
.flow-step:hover {
  border-color: #b5cde1;
  background: #f3f8fc;
}
.flow-step.active {
  background: #edf5fc;
  border-color: #a5c8e0;
  color: var(--blue);
}
.flow-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #e8edf3;
  color: #788a9e;
  font-size: 10px;
  font-weight: 500;
}
.flow-step.active .flow-index {
  background: #d5e9f8;
  color: var(--blue);
}
.flow-step b {
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
  color: #314c66;
}
.flow-step svg {
  width: 12px;
  height: 12px;
  color: #9eacba;
  margin-left: 3px;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 22px;
  align-items: start;
}
.workbench-aside {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.panel {
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 3px #203c5003;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 22px 19px;
  gap: 14px;
}
.panel-head p {
  font-size: 12px;
  color: #61758a;
  margin-top: 6px;
  line-height: 1.5;
}
.panel-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.heading-count {
  background: #eef3f8;
  color: #698098;
  font-size: 11px;
  min-width: 22px;
  height: 21px;
  padding: 2px 6px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0;
}
.panel-body {
  padding: 0 22px 21px;
}
.panel-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e4eaf1;
  border-radius: 8px;
  color: #61758a;
  flex-shrink: 0;
}
.panel-symbol svg {
  width: 16px;
  height: 16px;
}
.panel-footer {
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  color: #61758a;
  font-size: 11px;
  line-height: 1.6;
}
.panel-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.panel-footer svg {
  width: 13px;
  height: 13px;
  color: #61758a;
}
.dashboard-stage-select {
  display: none;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #eef1f5;
  padding: 14px 22px;
}
.list-toolbar .search {
  max-width: 310px;
}
.search {
  position: relative;
  flex: 1;
  min-width: 160px;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 16px;
  height: 16px;
  color: #93a2b4;
}
.search input {
  min-height: 39px;
  font-size: 12px;
  padding: 9px 12px 9px 37px;
  border-color: #e0e7ef;
  background: #fafbfd;
}
.toolbar-label {
  font-size: 11px;
  color: #6f8298;
  white-space: nowrap;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #708197;
  background: #f8fafc;
  padding: 12px 17px;
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
}
td {
  font-size: 13px;
  color: #54677e;
  padding: 20px 17px;
  border-bottom: 1px solid #edf1f6;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.service-table tbody tr[data-service] {
  cursor: pointer;
}
.service-table tbody tr:hover {
  background: #fbfdff;
}
.vehicle-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vehicle-icon {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: #f0f4f8;
  border: 1px solid #e5ebf2;
  color: #6c8aa8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vehicle-icon svg {
  width: 20px;
  height: 20px;
}
.vehicle-cell b {
  display: block;
  color: #2b425c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.vehicle-cell small {
  font-size: 11px;
  display: block;
  line-height: 1.6;
  margin-top: 3px;
  color: #61758a;
}
.service-number {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.5;
  color: #61758a;
  margin-top: 4px;
}
.service-number i,
.card-bottom > span i {
  display: inline-block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #aebaca;
  margin: 0 2px;
}
.plate {
  display: inline-block;
  min-width: 69px;
  border: 1px solid #c9d4df;
  border-top: 3px solid #2567a2;
  border-radius: 3px;
  background: #fff;
  color: #263c52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-align: center;
  line-height: 1.6;
  padding: 3px 5px 2px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px #263e4b04;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 500;
  color: #5e7184;
  background: #f0f3f6;
  white-space: nowrap;
}
.pill:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.pill.blue {
  color: #196fa8;
  background: #edf6fd;
}
.pill.green {
  color: #218062;
  background: #ecf8f2;
}
.pill.orange {
  color: #a27328;
  background: #fff7e8;
}
.pill.red {
  color: #ac4c46;
  background: #fff1f0;
}
.pill.purple {
  color: #196fa8;
  background: #edf6fd;
}
.progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 42px;
  font-size: 12px;
  color: #4f6680;
  font-variant-numeric: tabular-nums;
}
.progress > span:first-child {
  line-height: 1;
}
.progress small {
  font-size: 11px;
  color: #a1acb9;
  margin-left: 1px;
}
.progress-track {
  display: block;
  width: 44px;
  height: 3px;
  background: #e6edf5;
  border-radius: 3px;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  background: #72a5d0;
}
.row-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 31px;
  color: #93a6b9;
  border-radius: 5px;
}
.row-open svg {
  width: 16px;
  height: 16px;
}
.row-open:hover {
  background: #eaf3fb;
  color: var(--blue);
}
.service-cards {
  display: none;
}
/* Support panels */
.agenda-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 5px 23px;
}
.agenda-empty > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a7bb;
  margin-bottom: 12px;
}
.agenda-empty svg {
  width: 20px;
  height: 20px;
}
.agenda-empty b {
  font-size: 13px;
  font-weight: 500;
  color: #596e86;
}
.agenda-empty p {
  font-size: 11px;
  color: #61758a;
  margin-top: 5px;
  max-width: 190px;
}
.schedule-entry {
  display: flex;
  gap: 14px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 17px;
}
.schedule-entry time {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.schedule-entry b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.schedule-entry p,
.schedule-entry small {
  font-size: 11px;
  color: #61758a;
  margin-top: 4px;
}
.maintenance-entry {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid #edf1f5;
}
.maintenance-date {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 39px;
  height: 48px;
  border: 1px solid #e0e8f1;
  border-radius: 6px;
  background: #f7fafe;
  flex-shrink: 0;
}
.maintenance-date > b {
  font-size: 18px;
  color: #4b6b8b;
  font-weight: 500;
  line-height: 1.2;
}
.maintenance-date > small {
  font-size: 8px;
  text-transform: uppercase;
  color: #8096ac;
  margin-top: 2px;
}
.maintenance-vehicle {
  flex: 1;
  min-width: 0;
}
.maintenance-vehicle > b {
  display: block;
  font-size: 13px;
  color: #344e69;
  font-weight: 500;
}
.maintenance-vehicle > small {
  display: block;
  font-size: 11px;
  color: #61758a;
  margin-top: 3px;
}
.small-plate {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #6e849b;
  display: block;
  margin-top: 3px;
  font-weight: 500;
}
.maintenance-entry > svg {
  width: 14px;
  height: 14px;
  color: #98aabd;
}
.maintenance-entry:hover .maintenance-vehicle > b {
  color: var(--blue);
}
.next-oil .text-button {
  margin-top: 5px;
  font-size: 12px;
}
.quiet-empty {
  font-size: 13px;
  color: #61758a;
  line-height: 1.8;
  padding: 5px 0 15px;
}
.connection-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0 6px;
  color: #61758a;
}
.connection-note > svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.connection-note b {
  font-size: 11px;
  color: #667b91;
  font-weight: 500;
}
.connection-note p {
  font-size: 11px;
  color: #61758a;
  line-height: 1.7;
  margin: 4px 0;
}
.connection-note button {
  font-size: 11px;
  padding: 7px 0;
  color: #5c809f;
}
.connection-note button:hover {
  text-decoration: underline;
}
/* Lists, records and states */
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.filters .search {
  max-width: none;
}
.filters .search input {
  background: #fff;
  min-height: 44px;
  font-size: 13px;
}
.filters .search svg {
  top: 14px;
}
.filters select {
  width: 210px;
  min-height: 44px;
  font-size: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 11px;
  margin-bottom: 24px;
  overflow: hidden;
}
.metric {
  padding: 22px 23px;
  position: relative;
}
.metric + .metric:before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  border-left: 1px solid var(--line);
}
.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.metric-head p {
  font-size: 13px;
  color: #53667c;
  font-weight: 500;
}
.metric-icon {
  display: none;
}
.metric-value {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1px;
  color: #243f5b;
  margin: 9px 0 7px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.metric-foot {
  font-size: 11px;
  color: #61758a;
}
.metric-foot b {
  font-weight: 500;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 16px;
  border: 1px solid #dce9f4;
  background: #f2f8fd;
  color: #506e8a;
  font-size: 13px;
  line-height: 1.7;
  border-radius: 7px;
  margin-bottom: 21px;
}
.notice svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.notice.warning {
  background: #fffaf0;
  border-color: #ecdfc3;
  color: #8b733b;
}
.empty {
  text-align: center;
  padding: 54px 24px;
  color: #61758a;
  font-size: 14px;
  line-height: 1.8;
}
.empty > svg {
  width: 34px;
  height: 34px;
  color: #a5b9cc;
  margin-bottom: 15px;
}
.empty b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #4a647e;
  margin-bottom: 7px;
}
.empty p {
  max-width: 370px;
  margin: 0 auto;
  font-size: 13px;
}
.empty .btn {
  margin-top: 21px;
}
.oil-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.oil-card {
  border: 1px solid #dce4ee;
  background: #fff;
  border-radius: 11px;
  padding: 22px;
}
.oil-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.oil-card h3 {
  font-size: 17px;
  font-weight: 600;
}
.oil-card .meta {
  font-size: 13px;
  color: #61758a;
  margin-top: 5px;
}
.oil-card dl {
  margin: 20px 0;
}
.oil-card .btn {
  width: 100%;
}
dl {
  margin: 0;
}
dl div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f5;
}
dt {
  font-size: 13px;
  color: #7a8ba0;
  line-height: 1.7;
}
dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #3d5671;
  text-align: right;
  line-height: 1.7;
  max-width: 62%;
}
.customer-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.customer-name b {
  font-size: 13px;
  font-weight: 500;
  color: #354e68;
}
.customer-name .avatar {
  width: 32px;
  height: 32px;
  font-size: 11px;
}
.switch-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 400;
  color: #6c7f94;
  line-height: 1.8;
  margin: 14px 0;
}
.switch-label input {
  margin: 2px 0 0;
}
.read-only,
.field-hint {
  font-size: 12px;
  color: #61758a;
  line-height: 1.8;
  margin-top: 7px;
}
.read-only {
  padding: 7px 0;
}
.nowrap {
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
/* Calendar */
.month-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.month-title h2 {
  font-size: 18px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.dayname {
  text-align: center;
  font-size: 11px;
  color: #61758a;
  background: #f9fbfd;
  padding: 13px 5px;
  border-top: 1px solid var(--line);
}
.day {
  padding: 11px;
  min-height: 116px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.day:nth-child(7n) {
  border-right: 0;
}
.day .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  color: #697f97;
}
.day.today {
  background: #f6faff;
}
.day.today .num {
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
}
.event {
  background: #eaf4fd;
  color: #2d729e;
  border-left: 2px solid #7ab2d9;
  border-radius: 4px;
  padding: 6px;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
}
.calendar-panel + section {
  margin-top: 21px;
}
.activity-line {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f5;
}
.activity-line:last-child {
  border: 0;
}
.activity-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #f0f6fb;
  color: #6f9dc2;
  flex-shrink: 0;
}
.activity-dot svg {
  width: 14px;
  height: 14px;
}
.activity-line b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.activity-line small {
  display: block;
  font-size: 12px;
  color: #61758a;
  margin-top: 5px;
}
/* Workshop settings */
.settings-sections {
  border: 1px solid #dce4ee;
  border-radius: 11px;
  background: #fff;
  padding: 0 27px;
}
.settings-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr);
  gap: 44px;
  padding: 28px 0;
  border-bottom: 1px solid #e8edf3;
}
.settings-row:last-child {
  border: 0;
}
.settings-label h2 {
  font-size: 16px;
  margin-bottom: 9px;
}
.settings-label p {
  font-size: 13px;
  line-height: 1.8;
  color: #61758a;
  max-width: 230px;
}
.settings-values > p {
  font-size: 13px;
  color: #697f97;
  max-width: 65ch;
  line-height: 1.8;
}
.settings-values .connection-state {
  margin-bottom: 13px;
}
.settings-values > p + dl {
  margin-top: 16px;
}
.settings-values dl {
  margin-bottom: 14px;
}
.settings-values dl div:first-child {
  padding-top: 0;
}
.settings-values > .btn {
  margin-top: 13px;
}
.settings-values .field-hint {
  font-size: 12px;
}
/* Dialogs, forms and service detail */
dialog {
  width: min(860px, calc(100% - 40px));
  max-height: 91vh;
  margin: auto;
  border: 1px solid #d3deea;
  border-radius: 14px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 90px #10284133;
}
dialog::backdrop {
  background: #0b223b70;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 27px;
  border-bottom: 1px solid #e7edf4;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}
.dialog-head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.dialog-head p {
  font-size: 13px;
  color: #7d8da0;
  margin-top: 5px;
}
.dialog-head .icon-btn {
  border: 0;
  background: #f4f7fa;
}
.dialog-content {
  padding: 25px 27px 27px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field.full,
.form-section {
  grid-column: 1/-1;
}
.form-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #425b76;
  border-bottom: 1px solid #e7edf4;
  padding-bottom: 12px;
  margin: 7px 0 0;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e7edf4;
  padding-top: 21px;
  margin-top: 25px;
}
.form-actions .btn {
  min-height: 42px;
}
.form-grid .switch-label {
  margin: 0;
  padding: 2px 0;
}
.error {
  border: 1px solid #efcec9;
  background: #fff4f2;
  padding: 11px 14px;
  border-radius: 6px;
  color: #a0483f;
  font-size: 13px;
  margin: 13px 0;
}
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: #f5f8fc;
  border: 1px solid #e3ebf4;
  border-radius: 9px;
  margin-bottom: 23px;
}
.detail-header h3 {
  font-size: 14px;
  color: #3e5873;
}
.detail-header .read-only {
  padding: 0;
  font-size: 12px;
}
.detail-header select {
  width: 195px;
  min-height: 39px;
  font-size: 13px;
  background: #fff;
  border-color: #d9e3ed;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 25px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
}
.tabs button {
  min-height: 46px;
  padding: 12px 0;
  font-size: 13px;
  white-space: nowrap;
  color: #61758a;
  border-bottom: 2px solid transparent;
}
.tabs button.selected {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}
.tabs .n {
  font-size: 11px;
  padding: 2px 5px;
  background: #f0f4f8;
  border-radius: 3px;
  margin-left: 5px;
  color: #6c839a;
}
.detail-tabs {
  padding: 0;
  margin-bottom: 23px;
  gap: 29px;
}
.detail-tabs button {
  font-size: 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e3eaf2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 23px;
}
.detail-fact {
  padding: 15px 18px;
  border-bottom: 1px solid #e8edf4;
}
.detail-fact:nth-child(odd) {
  border-right: 1px solid #e8edf4;
}
.detail-fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.detail-fact small {
  display: block;
  font-size: 12px;
  color: #61758a;
  margin-bottom: 6px;
}
.detail-fact b {
  font-size: 14px;
  font-weight: 500;
  color: #3c5772;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin: 22px 0 13px;
}
.section-title svg {
  width: 17px;
  height: 17px;
  color: #7897b3;
}
.segmented {
  display: flex;
  background: #edf2f7;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 15px;
  gap: 3px;
}
.segmented button {
  flex: 1;
  min-height: 39px;
  border-radius: 5px;
  padding: 9px;
  font-size: 13px;
  color: #8191a5;
}
.segmented button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px #1a385810;
  font-weight: 500;
}
.check-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 166px;
  gap: 10px 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #e9eef4;
}
.check-row label {
  font-size: 14px;
  margin: 0;
}
.check-row select {
  min-height: 39px;
  font-size: 13px;
  border-color: #d6e1ec;
  background: #f9fbfd;
}
.check-row input {
  grid-column: 1/-1;
  min-height: 37px;
  font-size: 12px;
  border-color: #e5eaf1;
  background: #fff;
}
.check-row input::placeholder {
  color: #9ca8b6;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.photo-card {
  border: 1px solid #e0e8f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fafcfe;
}
.photo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.photo-card p {
  font-size: 12px;
  color: #6d839a;
  padding: 10px 13px;
}
.photo-upload {
  background: #f7fafe;
  border: 1px dashed #bdd0e2;
  border-radius: 8px;
  padding: 21px;
  margin: 18px 0 0;
}
.photo-upload h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.photo-upload p {
  font-size: 12px;
  color: #61758a;
  margin-bottom: 18px;
}
.photo-upload .form-actions {
  margin-top: 18px;
  padding-top: 16px;
}
.quote-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.quote-row .grow {
  flex: 1;
}
.quote-row b {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.quote-row small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.quote-row select {
  width: 126px;
  min-height: 37px;
  font-size: 12px;
  padding: 8px 10px;
}
.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f8fc;
  border-radius: 6px;
  margin-top: 17px;
  padding: 17px;
  font-size: 14px;
  font-weight: 600;
  color: #3e5c7a;
}
.share-result {
  border: 1px solid #dce9f6;
  background: #f4f9fe;
  border-radius: 7px;
  padding: 17px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.share-result .btn {
  margin-right: 14px;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: #1c3c59;
  color: #fff;
  box-shadow: 0 4px 18px #152c4325;
  border: 1px solid #ffffff20;
  padding: 13px 21px;
  border-radius: 8px;
  max-width: 90vw;
  z-index: 100;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Login and customer report */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 43% 57%;
  background: white;
}
.auth-art {
  background: var(--navy);
  padding: 65px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.auth-art .brand {
  background: #fff;
  border-radius: 11px;
  padding: 12px 24px 18px;
  margin-bottom: 33px;
}
.auth-art .brand-logo {
  width: 200px;
  height: 148px;
}
.auth-art .brand > small {
  font-size: 12px;
}
.auth-art .auth-product-title {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 13px;
  line-height: 1.4;
}
.auth-art > p:last-child {
  font-size: 14px;
  color: #9fb4ca;
  max-width: 320px;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.auth-form form {
  width: 100%;
  max-width: 360px;
}
.auth-form h1 {
  font-size: 27px;
  margin-bottom: 10px;
  letter-spacing: -0.8px;
}
.auth-form p {
  font-size: 14px;
  color: #7a8da3;
  margin-bottom: 25px;
}
.auth-form .field {
  margin: 19px 0;
}
.auth-form .field-hint {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 15px;
}
.auth-form .btn {
  width: 100%;
  min-height: 45px;
  margin-top: 8px;
}
.auth-form .footnote {
  font-size: 12px;
  margin-top: 29px;
  color: #61758a;
}
.report-page {
  max-width: 840px;
  margin: 35px auto;
  padding: 20px;
}
.report-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.report-brand .brand-logo {
  width: 156px;
  height: 116px;
}
.report-brand .brand > small {
  display: none;
}
.report-brand > small {
  font-size: 13px;
  color: #6b839c;
}
.report-page .panel {
  padding: 28px;
  margin-bottom: 20px;
}
.report-reference {
  font-size: 13px;
  color: #738ba3;
  margin-bottom: 10px;
}
.report-page h1 {
  font-size: 27px;
}
.report-page .subtitle {
  margin-bottom: 16px;
}
.report-phase {
  font-size: 14px;
  font-weight: 600;
  color: #4e6d8b;
  margin-top: 24px;
  padding-bottom: 9px;
  border-bottom: 2px solid #d8e6f4;
}
.report-check {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #e8eef5;
  font-size: 14px;
  color: #4b6480;
}
.report-check p {
  font-size: 12px;
  color: #61758a;
  margin-top: 6px;
}
.report-page .photo-grid {
  margin-top: 17px;
}
.report-note {
  font-size: 11px;
  color: #7b8fa5;
  text-align: center;
  line-height: 1.9;
  margin-top: 25px;
}
.report-page h2 {
  font-size: 17px;
}
.report-page .section-title {
  font-size: 16px;
}
.saved {
  font-size: 12px;
  color: var(--green);
}
.progress-track[data-progress="0"] i {
  width: 0%;
}
.progress-track[data-progress="1"] i {
  width: 10%;
}
.progress-track[data-progress="2"] i {
  width: 20%;
}
.progress-track[data-progress="3"] i {
  width: 30%;
}
.progress-track[data-progress="4"] i {
  width: 40%;
}
.progress-track[data-progress="5"] i {
  width: 50%;
}
.progress-track[data-progress="6"] i {
  width: 60%;
}
.progress-track[data-progress="7"] i {
  width: 70%;
}
.progress-track[data-progress="8"] i {
  width: 80%;
}
.progress-track[data-progress="9"] i {
  width: 90%;
}
.progress-track[data-progress="10"] i {
  width: 100%;
}
/* Responsive layouts */
@media (min-width: 1600px) {
  .workbench {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .content {
    padding-top: 37px;
  }
  .sidebar {
    padding-left: 19px;
    padding-right: 19px;
  }
  .vehicle-cell b {
    font-size: 14px;
  }
  .service-table td {
    padding-top: 23px;
    padding-bottom: 23px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar: 218px;
  }
  .content {
    padding: 27px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .workbench {
    grid-template-columns: 1fr;
  }
  .workbench-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 20px;
  }
  .connection-note {
    grid-column: 1/-1;
  }
  .summary-item {
    padding: 20px;
  }
  .global-search {
    width: min(350px, 48%);
  }
  .top-date {
    display: none;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .oil-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-row {
    gap: 30px;
  }
  .flow-panel {
    padding: 18px 19px;
  }
  .flow-step {
    gap: 7px;
    padding: 8px;
    font-size: 11px;
  }
  .flow-step svg {
    display: none;
  }
  .metrics .metric {
    padding: 20px;
  }
  .metric-value {
    font-size: 29px;
  }
  .profile {
    padding-left: 15px;
  }
  .profile > div {
    display: none;
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar: 200px;
  }
  .content {
    padding: 25px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .sidebar .brand-logo {
    width: 132px;
    height: 98px;
  }
  .nav button {
    font-size: 12px;
    padding: 12px 10px;
    gap: 9px;
  }
  .nav button svg {
    width: 17px;
    height: 17px;
  }
  .heading-actions .btn {
    padding: 10px 12px;
    font-size: 12px;
  }
  h1 {
    font-size: 26px;
  }
  .operation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-item {
    min-height: 128px;
  }
  .summary-item:nth-child(3):before {
    display: none;
  }
  .summary-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .summary-item strong {
    font-size: 32px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric:nth-child(3):before {
    display: none;
  }
  .metric:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .service-flow {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .flow-step {
    min-width: 130px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .oil-grid {
    grid-template-columns: 1fr;
  }
  .settings-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .settings-label p {
    max-width: none;
  }
  .day {
    min-height: 100px;
    padding: 8px;
  }
  .month-title {
    gap: 10px;
  }
  .month-title h2 {
    font-size: 16px;
  }
  .auth-art {
    padding: 35px;
  }
  .auth-form {
    padding: 40px;
  }
  .auth-art .brand-logo {
    width: 160px;
    height: 120px;
  }
  .auth-art .auth-product-title {
    font-size: 25px;
  }
  .auth-art > p:last-child {
    font-size: 14px;
  }
  .auth-art .brand {
    padding: 10px 20px 15px;
  }
  .service-table th,
  .service-table td {
    padding-left: 13px;
    padding-right: 13px;
  }
}
@media (max-width: 720px) {
  :root {
    --sidebar: 280px;
  }
  .shell {
    display: block;
  }
  .main {
    width: 100%;
  }
  .sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.2s,
      visibility 0.2s;
    max-width: 360px;
    width: calc(100vw - 35px);
    padding: 26px 18px;
    z-index: 31;
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .sidebar-brand {
    padding: 0 18px 23px;
  }
  .sidebar .brand-logo {
    width: 144px;
    height: 106px;
  }
  .sidebar .brand {
    padding-top: 7px;
    padding-bottom: 12px;
  }
  .sidebar .sidebar-close {
    display: flex;
    position: absolute;
    top: 11px;
    right: 11px;
    color: #bbccdf;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
  }
  .sidebar-close:hover {
    background: #ffffff12;
    border: 0;
    color: white;
  }
  .sidebar.open + .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #0b253c66;
    z-index: 30;
  }
  .nav button {
    font-size: 13px;
    min-height: 47px;
    padding: 12px;
    gap: 12px;
  }
  .nav button svg {
    width: 19px;
    height: 19px;
  }
  .nav-caption {
    font-size: 12px;
    padding: 18px 12px 9px;
  }
  .workshop-identity b {
    font-size: 13px;
  }
  .workshop-identity small {
    font-size: 12px;
  }
  .topbar {
    height: 69px;
    padding: 0 17px;
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 14px;
  }
  .global-search {
    display: none;
  }
  .topbar .mobile-toggle {
    display: flex;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    color: #5b7592;
  }
  .mobile-toggle svg {
    width: 22px;
    height: 22px;
  }
  .mobile-brand {
    display: block;
    margin-right: auto;
  }
  .mobile-brand img {
    width: 78px;
    height: 59px;
    object-fit: cover;
    display: block;
  }
  .top-actions {
    gap: 9px;
  }
  .top-actions > .icon-btn {
    display: none;
  }
  .profile {
    padding: 0;
    border: 0;
  }
  .profile .avatar {
    width: 33px;
    height: 33px;
    font-size: 11px;
  }
  .content {
    padding: 25px 18px 35px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .subtitle {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 8px;
  }
  .heading-actions {
    margin-top: 18px;
    gap: 9px;
  }
  .heading-actions .btn {
    min-height: 44px;
    font-size: 12px;
    padding: 11px 14px;
  }
  .heading-actions .btn.primary {
    flex: 1;
  }
  .heading-actions .btn.secondary {
    flex: 0;
  }
  .demo-label {
    font-size: 11px;
    margin: -6px 0 19px;
    line-height: 1.6;
  }
  .demo-label > span {
    flex-shrink: 0;
  }
  .operation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 10px;
    margin-bottom: 19px;
  }
  .summary-item {
    min-height: 95px;
    padding: 15px 17px;
    gap: 8px;
  }
  .summary-item > span {
    font-size: 12px;
    line-height: 1.5;
  }
  .summary-item strong {
    font-size: 31px;
  }
  .summary-item small {
    display: none;
  }
  .summary-item + .summary-item:before {
    top: 18px;
    bottom: 18px;
  }
  .flow-panel {
    padding: 17px 15px 12px;
    margin-bottom: 20px;
    border-radius: 10px;
  }
  .flow-caption {
    margin-bottom: 13px;
  }
  .flow-caption > b {
    font-size: 12px;
  }
  .flow-reset {
    font-size: 11px;
    min-height: 44px;
  }
  .service-flow {
    gap: 7px;
    scrollbar-width: thin;
    scrollbar-color: #b9cadb transparent;
    padding-bottom: 6px;
  }
  .flow-step {
    font-size: 12px;
    min-width: 130px;
    min-height: 44px;
    padding: 9px;
  }
  .flow-index {
    width: 20px;
    height: 20px;
  }
  .workbench {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .workbench-aside {
    display: flex;
    gap: 20px;
  }
  .panel {
    border-radius: 10px;
  }
  .panel-head {
    padding: 20px 18px 17px;
    gap: 10px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .panel-head p {
    font-size: 12px;
    margin-top: 6px;
  }
  .panel-head .btn.text-button {
    font-size: 12px;
    min-height: 44px;
    white-space: nowrap;
  }
  .panel-body {
    padding: 0 18px 20px;
  }
  .list-toolbar {
    padding: 13px 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .list-toolbar .search {
    flex-basis: 100%;
  }
  .dashboard-stage-select {
    display: block;
    width: 100%;
    min-height: 43px;
    font-size: 13px;
  }
  .workshop-list .panel-head p {
    display: none;
  }
  .flow-panel {
    display: none;
  }
  .list-toolbar .search {
    max-width: none;
  }
  .list-toolbar .toolbar-label {
    display: none;
  }
  .search input {
    min-height: 43px;
    font-size: 16px;
    padding-left: 37px;
  }
  .search svg {
    top: 14px;
  }
  .table-desktop {
    display: none;
  }
  .service-cards {
    display: block;
    padding: 0 18px;
  }
  .service-card {
    padding: 19px 0;
    border-bottom: 1px solid #edf1f6;
  }
  .service-card:last-child {
    border: 0;
  }
  .service-card .card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .service-card .plate {
    font-size: 12px;
    min-width: 77px;
    padding: 3px 6px 2px;
  }
  .service-card .pill {
    font-size: 11px;
    max-width: 170px;
  }
  .mobile-vehicle {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
  }
  .mobile-vehicle .vehicle-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .mobile-vehicle b {
    display: block;
    font-size: 15px;
    color: #2e4762;
    font-weight: 600;
  }
  .mobile-vehicle small {
    display: block;
    font-size: 12px;
    color: #7a8da3;
    margin-top: 4px;
  }
  .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 8px;
  }
  .card-bottom > span {
    font-size: 11px;
    color: #61758a;
  }
  .card-bottom .btn.text-button {
    font-size: 12px;
    min-height: 44px;
    white-space: nowrap;
  }
  .panel-footer {
    padding: 13px 18px;
    font-size: 11px;
  }
  .agenda-empty {
    padding: 8px 15px 22px;
  }
  .agenda-empty b {
    font-size: 13px;
  }
  .agenda-empty p {
    font-size: 12px;
    max-width: 240px;
  }
  .agenda-empty > span {
    width: 46px;
    height: 46px;
  }
  .panel-symbol {
    width: 32px;
    height: 32px;
  }
  .maintenance-entry {
    padding: 18px 0;
  }
  .maintenance-vehicle > b {
    font-size: 13px;
  }
  .maintenance-vehicle > small {
    font-size: 12px;
  }
  .small-plate {
    font-size: 11px;
  }
  .maintenance-date {
    width: 42px;
    height: 51px;
  }
  .maintenance-date > b {
    font-size: 19px;
  }
  .connection-note {
    gap: 10px;
    padding: 0 5px;
  }
  .connection-note b {
    font-size: 12px;
  }
  .connection-note p {
    font-size: 12px;
  }
  .connection-note button {
    font-size: 12px;
    min-height: 44px;
  }
  .connection-note > svg {
    width: 18px;
    height: 18px;
  }
  .demo-actions {
    display: block;
    font-size: 12px;
  }
  .demo-actions .btn {
    width: 100%;
    margin-top: 15px;
  }
  .metrics {
    border-radius: 10px;
  }
  .metric {
    padding: 18px 16px !important;
  }
  .metric-head p {
    font-size: 12px;
    line-height: 1.6;
  }
  .metric-value {
    font-size: 29px;
    margin: 9px 0 6px;
  }
  .metric-foot {
    font-size: 11px;
    line-height: 1.6;
  }
  .metric + .metric:before {
    top: 18px;
    bottom: 18px;
  }
  .notice {
    font-size: 12px;
    padding: 13px 14px;
    line-height: 1.8;
    gap: 8px;
  }
  .notice svg {
    margin-top: 3px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 10px;
  }
  .filters .search {
    flex-basis: 100%;
  }
  .filters select {
    width: 100%;
    font-size: 14px;
    min-height: 44px;
  }
  .filters .search input {
    font-size: 16px;
  }
  .oil-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .oil-card {
    padding: 21px;
    border-radius: 10px;
  }
  .oil-card h3 {
    font-size: 18px;
  }
  .oil-card .meta {
    font-size: 13px;
  }
  .oil-card dt,
  .oil-card dd {
    font-size: 12px;
  }
  .oil-card .plate {
    font-size: 12px;
  }
  .customer-name b {
    font-size: 14px;
  }
  .customer-name .avatar {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  /* Cards retain the tables' headings as field labels on small screens. */
  .panel .table-wrap:not(.table-desktop) table,
  .panel .table-wrap:not(.table-desktop) tbody {
    display: block;
    white-space: normal;
  }
  .panel .table-wrap:not(.table-desktop) thead {
    display: none;
  }
  .panel .table-wrap:not(.table-desktop) tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 21px 18px;
    border-bottom: 1px solid var(--line);
    gap: 17px;
  }
  .panel .table-wrap:not(.table-desktop) tbody tr:last-child {
    border: 0;
  }
  .panel .table-wrap:not(.table-desktop) td {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    border: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.7;
  }
  .panel .table-wrap:not(.table-desktop) td:first-child {
    grid-column: 1/-1;
  }
  .panel .table-wrap:not(.table-desktop) td:before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #61758a;
    margin-bottom: 5px;
  }
  .panel .table-wrap:not(.table-desktop) td:first-child:before {
    display: none;
  }
  .panel .table-wrap:not(.table-desktop) td:last-child:has(button) {
    grid-column: 1/-1;
  }
  .panel .table-wrap:not(.table-desktop) td:last-child .btn {
    width: 100%;
    border: 1px solid #d5e0eb;
    min-height: 44px;
    border-radius: 7px;
    padding: 10px;
  }
  .panel .table-wrap:not(.table-desktop) small {
    font-size: 12px;
    line-height: 1.8;
  }
  .panel .table-wrap:not(.table-desktop) .pill {
    font-size: 12px;
  }
  .panel .table-wrap:not(.table-desktop) .switch-label {
    margin: 0;
    align-items: flex-start;
    font-size: 12px;
  }
  .switch-label {
    font-size: 12px;
    gap: 9px;
    line-height: 1.9;
  }
  .switch-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .settings-sections {
    border-radius: 10px;
    padding: 0 19px;
  }
  .settings-row {
    padding: 25px 0;
    gap: 21px;
  }
  .settings-label h2 {
    font-size: 17px;
  }
  .settings-label p {
    font-size: 12px;
  }
  .settings-values > p {
    font-size: 13px;
  }
  .settings-values dt,
  .settings-values dd {
    font-size: 12px;
  }
  .settings-values .pill {
    font-size: 12px;
  }
  .settings-values .btn {
    width: 100%;
    min-height: 44px;
  }
  .settings-values dl div {
    gap: 20px;
  }
  .month-title {
    gap: 7px;
  }
  .month-title h2 {
    font-size: 14px;
  }
  .calendar-panel .panel-head {
    padding: 16px 12px;
  }
  .calendar-panel .month-title .icon-btn {
    width: 44px;
    height: 44px;
    border: 0;
  }
  .calendar-panel .btn {
    min-height: 44px;
    font-size: 12px;
    padding: 7px 10px;
  }
  .dayname {
    font-size: 10px;
    padding: 11px 3px;
  }
  .day {
    min-height: 82px;
    padding: 6px 3px;
  }
  .day .num {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }
  .event {
    font-size: 9px;
    padding: 4px 3px;
    line-height: 1.6;
    margin-top: 4px;
  }
  .activity-line b {
    font-size: 12px;
  }
  .activity-line small {
    font-size: 12px;
    line-height: 1.8;
  }
  .btn {
    min-height: 44px;
  }
  .icon-btn {
    width: 42px;
    height: 42px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 46px;
    border-radius: 7px;
  }
  label {
    font-size: 13px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: 94dvh;
    border-radius: 12px;
  }
  .dialog-head {
    padding: 19px 18px;
    gap: 12px;
  }
  .dialog-head h2 {
    font-size: 20px;
  }
  .dialog-head p {
    font-size: 12px;
    line-height: 1.8;
  }
  .dialog-head .icon-btn {
    width: 35px;
    height: 35px;
  }
  .dialog-content {
    padding: 20px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .field.full,
  .form-section {
    grid-column: 1;
  }
  .form-section {
    font-size: 15px;
    padding-bottom: 12px;
    margin-top: 9px;
  }
  .form-actions {
    padding-top: 19px;
    margin-top: 23px;
  }
  .form-actions .btn {
    min-height: 44px;
    font-size: 12px;
    padding: 10px 13px;
  }
  .form-actions .btn.primary {
    flex: 1;
  }
  .field-hint,
  .read-only {
    font-size: 12px;
    line-height: 1.9;
  }
  .detail-header {
    padding: 14px 13px;
    gap: 12px;
    border-radius: 8px;
    align-items: flex-start;
  }
  .detail-header h3 {
    font-size: 13px;
  }
  .detail-header select {
    width: 145px;
    font-size: 12px;
    min-height: 39px;
    padding: 9px 8px;
  }
  .detail-tabs {
    gap: 25px;
    margin-bottom: 21px;
  }
  .detail-tabs button {
    font-size: 12px;
    min-height: 47px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-fact {
    padding: 13px;
  }
  .detail-fact small {
    font-size: 11px;
  }
  .detail-fact b {
    font-size: 12px;
    line-height: 1.7;
  }
  .segmented button {
    min-height: 43px;
    font-size: 12px;
    padding: 10px 7px;
  }
  .check-row {
    grid-template-columns: minmax(110px, 1fr) 127px;
    gap: 10px;
    padding: 17px 0;
  }
  .check-row label {
    font-size: 12px;
  }
  .check-row select {
    font-size: 12px;
    min-height: 44px;
    padding: 9px;
  }
  .check-row input {
    font-size: 13px;
    min-height: 42px;
  }
  .photo-grid {
    gap: 10px;
  }
  .photo-card img {
    height: 135px;
  }
  .photo-card p {
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.7;
  }
  .photo-upload {
    padding: 17px;
  }
  .photo-upload h3 {
    font-size: 14px;
  }
  .photo-upload p {
    font-size: 12px;
  }
  .photo-upload input[type="file"] {
    font-size: 12px;
  }
  .quote-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .quote-row .grow {
    min-width: 50%;
  }
  .quote-row b {
    font-size: 12px;
  }
  .quote-row small {
    font-size: 12px;
  }
  .quote-row select {
    font-size: 12px;
    min-height: 42px;
    width: 122px;
  }
  .total {
    padding: 15px;
    font-size: 13px;
  }
  .share-result {
    font-size: 12px;
    padding: 15px;
  }
  .section-title {
    font-size: 14px;
  }
  .auth {
    display: block;
    background: #fff;
  }
  .auth-art {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }
  .auth-art .brand {
    padding: 0;
    margin: 0;
    background: transparent;
  }
  .auth-art .brand-logo {
    width: 124px;
    height: 92px;
  }
  .auth-art .brand > small {
    display: none;
  }
  .auth-art .auth-product-title,
  .auth-art > p:last-child {
    display: none;
  }
  .auth-form {
    padding: 33px 25px 50px;
  }
  .auth-form h1 {
    font-size: 26px;
  }
  .auth-form p {
    font-size: 13px;
  }
  .auth-form .field {
    margin: 22px 0;
  }
  .auth-form input {
    min-height: 47px;
  }
  .auth-form .btn {
    font-size: 13px;
  }
  .auth-form .footnote {
    font-size: 12px;
    text-align: center;
  }
  .report-page {
    padding: 16px;
    margin: 0;
  }
  .report-brand {
    margin: 8px 0 23px;
  }
  .report-brand .brand-logo {
    width: 125px;
    height: 93px;
  }
  .report-brand > small {
    font-size: 11px;
  }
  .report-page .panel {
    padding: 22px 18px;
  }
  .report-page h1 {
    font-size: 25px;
  }
  .report-reference {
    font-size: 12px;
  }
  .report-page .subtitle {
    font-size: 12px;
  }
  .report-page .pill {
    font-size: 12px;
  }
  .report-check {
    font-size: 13px;
    padding: 14px 0;
    gap: 14px;
  }
  .report-phase {
    font-size: 13px;
  }
  .report-check p {
    font-size: 12px;
  }
  #toast {
    font-size: 12px;
    padding: 12px 18px;
    max-width: calc(100vw - 30px);
    width: max-content;
    bottom: 20px;
  }
}
@media (max-width: 380px) {
  .content {
    padding: 23px 15px 30px;
  }
  .heading-actions .btn.secondary {
    display: none;
  }
  .summary-item {
    padding: 14px 13px;
    min-height: 95px;
  }
  .summary-item > span {
    font-size: 11px;
  }
  .summary-item small {
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .panel-head {
    padding: 18px 15px 16px;
  }
  .panel-head h2 {
    font-size: 14px;
  }
  .panel-head .btn.text-button {
    font-size: 11px;
  }
  .service-cards {
    padding: 0 15px;
  }
  .service-card .pill {
    font-size: 10px;
    white-space: normal;
    max-width: 135px;
  }
  .mobile-vehicle b {
    font-size: 14px;
  }
  .mobile-vehicle small {
    font-size: 12px;
  }
  .card-bottom > span {
    font-size: 10px;
  }
  .card-bottom .btn.text-button {
    font-size: 11px;
  }
  .detail-header {
    display: block;
  }
  .detail-header select {
    width: 100%;
    margin-top: 12px;
  }
  .calendar-panel .panel-head {
    gap: 5px;
  }
  .month-title {
    gap: 3px;
  }
  .month-title h2 {
    font-size: 12px;
  }
  .month-title .icon-btn {
    width: 44px !important;
  }
  .settings-values dl div {
    gap: 15px;
  }
  .settings-values dt,
  .settings-values dd {
    font-size: 12px;
  }
  .dialog-content {
    padding: 18px 15px;
  }
  .dialog-head {
    padding: 18px 15px;
  }
  .dialog-head h2 {
    font-size: 19px;
  }
  .form-actions .btn {
    font-size: 12px;
    padding: 10px;
  }
  .check-row {
    grid-template-columns: minmax(100px, 1fr) 115px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .heading-actions,
  .btn,
  .photo-upload,
  .tabs,
  #toast,
  .report-note,
  .flow-panel {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .content,
  .report-page {
    padding: 0;
    max-width: none;
  }
  .panel {
    break-inside: avoid;
    box-shadow: none;
  }
  body {
    background: white;
  }
  .report-page .panel {
    border: 0;
  }
  .report-brand {
    margin-bottom: 15px;
  }
}
