:root {
  --bg: #f3f5f2;
  --surface: #fff;
  --ink: #111816;
  --muted: #718078;
  --line: #dfe5e0;
  --dark: #0c1311;
  --green: #61df9a;
  --green-dark: #173f2b;
  --red: #c44f4f;
  --shadow: 0 18px 50px rgba(13, 25, 20, 0.12);
}
html {
  scroll-behavior: auto !important;
  overscroll-behavior: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
}
.boot b {
  color: var(--ink);
}
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--green-dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 235px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--dark);
  color: #fff;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}
.brand i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--green);
  color: #092117;
  border-radius: 9px;
  font: 800 22px Manrope;
}
.brand b {
  font: 800 22px Manrope;
}
.brand span {
  font-size: 9px;
  letter-spacing: 0.15em;
  background: #26322e;
  color: #aebbb5;
  padding: 4px 6px;
  border-radius: 4px;
}
.account-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px -3px 26px;
  padding: 13px;
  background: #151e1b;
  border: 1px solid #26312d;
  border-radius: 10px;
  min-width: 0;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #d9f9e6;
  color: #163927;
  font-weight: 700;
}
.account-card div {
  min-width: 0;
}
.account-card b,
.account-card small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-card b {
  font-size: 12px;
}
.account-card small {
  color: #84918b;
  font-size: 10px;
  margin-top: 3px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav button {
  border: 0;
  background: transparent;
  color: #9ca9a3;
  padding: 11px 12px;
  border-radius: 8px;
  text-align: left;
  font-weight: 600;
}
.sidebar nav button i {
  font-style: normal;
  display: inline-grid;
  width: 24px;
}
.sidebar nav button.active,
.sidebar nav button:hover {
  background: #1b2723;
  color: #fff;
}
.sidebar nav button.active {
  box-shadow: inset 3px 0 var(--green);
}
.aside-foot {
  margin-top: auto;
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #23302b;
  padding: 18px 4px 0;
}
.online {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #173326;
}
.aside-foot b,
.aside-foot small {
  display: block;
  font-size: 10px;
}
.aside-foot small {
  color: #728079;
  margin-top: 2px;
}
main {
  min-width: 0;
}
header {
  height: 68px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 4;
}
header > span {
  font-weight: 600;
}
header > span i {
  font-style: normal;
  color: #a2ada7;
  margin: 0 7px;
}
header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.access {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 20px;
}
.access.paid {
  background: #dbf6e7;
  color: #1b613b;
}
.access.free {
  background: #f1ead9;
  color: #725a1d;
}
.user,
.mobile-menu {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.mobile-menu {
  display: none;
}
.readonly-banner {
  margin: 22px 34px 0;
  padding: 12px 15px;
  border: 1px solid #ded5b8;
  background: #fffaf0;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.readonly-banner > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.readonly-banner b {
  font-size: 12px;
  color: #705b22;
}
.readonly-banner span {
  font-size: 12px;
  color: #84775a;
}
.content {
  padding: 31px 34px 50px;
  max-width: 1500px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}
.kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 800;
  color: #829087;
  margin-bottom: 8px;
}
.page-head h1 {
  font: 800 32px Manrope;
  margin: 0;
}
.page-head h1 span,
.login h2 span {
  color: #38bb75;
}
.page-head p {
  margin: 7px 0 0;
  color: var(--muted);
}
.primary {
  border: 0;
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
  padding: 11px 15px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(23, 63, 43, 0.14);
}
button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.metrics article,
.detail-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.metrics span,
.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metrics b {
  display: block;
  font: 700 26px Manrope;
  margin: 10px 0 3px;
}
.metrics small {
  color: #94a098;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.split {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 18px;
}
.panel-head {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font: 700 17px Manrope;
  margin: 0;
}
.panel-head .kicker {
  margin-bottom: 3px;
}
.link,
.actions button,
.detail-actions button,
.detail-section > div button {
  border: 0;
  background: transparent;
  color: #3d6852;
  font-size: 12px;
  font-weight: 700;
}
.table .tr {
  display: grid;
  align-items: center;
  border-bottom: 1px solid #edf0ed;
  min-height: 65px;
  padding: 0 18px;
  gap: 12px;
}
.table button.tr {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  color: inherit;
}
.table button.tr:hover {
  background: #f7faf7;
}
.table .tr:last-child {
  border-bottom: 0;
}
.trip-table .tr {
  grid-template-columns: 1.25fr 1fr 0.8fr 0.75fr 0.65fr;
}
.vehicle-table .tr {
  grid-template-columns: 1.5fr 0.7fr 0.8fr 0.7fr 1fr;
}
.th {
  min-height: 37px !important;
  background: #f8faf8;
  color: #8a968f;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.tr b,
.tr small {
  display: block;
}
.tr small {
  color: #8a968f;
  margin-top: 3px;
  font-weight: 400;
}
.pill {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #256542;
  background: #dff6e8;
  padding: 5px 8px;
  border-radius: 20px;
  text-transform: capitalize;
}
.pill.muted {
  color: #6d7772;
  background: #edf0ee;
}
.identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.identity > i {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: #e6f7ed;
  color: #23603f;
  font-style: normal;
}
.actions {
  text-align: right;
  white-space: nowrap;
}
.actions button {
  padding: 5px;
}
.danger-link {
  color: var(--red) !important;
}
.vehicle-list {
  padding: 7px 15px;
}
.vehicle-list > button {
  width: 100%;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 0;
  background: #fff;
  border-bottom: 1px solid #edf0ed;
  padding: 14px 2px;
}
.vehicle-list > button:last-child {
  border: 0;
}
.vehicle-list i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e7f8ed;
  font-style: normal;
}
.vehicle-list b,
.vehicle-list small {
  display: block;
}
.vehicle-list small {
  color: var(--muted);
  margin-top: 3px;
}
.vehicle-list em {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.filters select,
.filters input {
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}
.filters input {
  min-width: 280px;
}
.empty {
  grid-column: 1/-1;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #95a099;
  gap: 7px;
}
.empty i {
  font-style: normal;
  font-size: 25px;
}
.error {
  background: #fff0f0;
  color: #8c3030;
  border: 1px solid #f0caca;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 15px;
}
.error button {
  float: right;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(680px, 95vw);
  z-index: 10;
  background: #f7f9f6;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(10, 20, 15, 0.18);
  overflow: auto;
  scroll-behavior: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: auto;
  animation: slide 0.2s ease;
}
@keyframes slide {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
}
.drawer-head {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 22px 25px;
  z-index: 2;
}
.drawer-head h2 {
  font: 700 23px Manrope;
  margin: 0;
}
.drawer-head p {
  margin: 5px 0 0;
  color: var(--muted);
}
.drawer-close {
  border: 0;
  background: #eef1ee;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 22px;
}
.drawer-body {
  padding: 20px 25px 45px;
}
.detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-bottom: 13px;
}
.detail-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 8px 11px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.detail-grid article {
  padding: 14px;
}
.detail-grid b {
  display: block;
  font: 700 17px Manrope;
  margin-top: 7px;
}
.detail-grid small {
  display: block;
  color: #5d8d70;
  margin-top: 3px;
}
.warn {
  color: #b87532 !important;
}
.detail-section {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.detail-section > div:first-child {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.detail-section h3 {
  margin: 0;
  font: 700 15px Manrope;
}
.detail-section > div > span {
  color: var(--muted);
  font-size: 11px;
  margin-left: 8px;
}
.detail-section > div > button {
  margin-left: auto;
}
.compact-list > div {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-bottom: 1px solid #edf0ed;
}
.compact-list > div:last-child {
  border: 0;
}
.compact-list b,
.compact-list small {
  display: block;
}
.compact-list small {
  color: var(--muted);
  margin-top: 2px;
}
.compact-list code {
  font-size: 11px;
  color: #647169;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.login > section {
  padding: 45px 8vw;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login > section:after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid #2e5141;
  border-radius: 50%;
  right: -220px;
  top: 15%;
  box-shadow:
    0 0 0 70px rgba(53, 117, 82, 0.07),
    0 0 0 140px rgba(53, 117, 82, 0.04);
}
.login h1 {
  font: 800 clamp(42px, 6vw, 77px) / 1.03 Manrope;
  margin: 15px 0;
  position: relative;
  z-index: 1;
}
.login h1 em {
  color: var(--green);
  font-style: normal;
}
.login > section p {
  max-width: 480px;
  color: #aab7b1;
  font-size: 16px;
  line-height: 1.6;
}
.login > section > small {
  color: #63726b;
}
.login form {
  width: min(400px, 80%);
  margin: auto;
}
.login form h2 {
  font: 800 34px Manrope;
  margin: 7px 0;
}
.login form > p {
  color: var(--muted);
  margin-bottom: 28px;
}
.login label,
#editor label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 12px;
  font-weight: 700;
}
.login input,
#editor input,
#editor select {
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
}
.login .primary {
  width: 100%;
  margin-top: 7px;
}
.google {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  font-weight: 700;
}
.divider {
  text-align: center;
  color: #9aa49f;
  font-size: 11px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 0;
  width: min(560px, calc(100vw - 30px));
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: rgba(6, 13, 10, 0.6);
  backdrop-filter: blur(2px);
}
#editor-form {
  padding: 22px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 15px;
}
.modal-head h2 {
  margin: 0;
  font: 700 21px Manrope;
}
.modal-head button {
  border: 0;
  background: transparent;
  font-size: 23px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.check {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
}
.check input {
  height: auto !important;
}
.form-note {
  padding: 12px;
  background: #f2f6f3;
  color: var(--muted);
  border-radius: 7px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}
.modal-actions > button:first-child {
  border: 0;
  background: transparent;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #14201b;
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  transition: 0.2s;
  pointer-events: none;
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
#toast.danger {
  background: #842f2f;
}
.trip-map-shell {
  position: relative;
  height: 310px;
  margin-bottom: 12px;
  border-radius: 11px;
  overflow: hidden;
  background: #101815;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
#trip-map {
  height: 100%;
  width: 100%;
  background: #101815;
}
.dark-road-tiles {
  filter: grayscale(1) invert(0.92) brightness(0.52) contrast(0.9);
}
.map-caption {
  position: absolute;
  z-index: 500;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 19, 17, 0.9);
  color: #e8f0eb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 7px 9px;
  pointer-events: none;
}
.map-caption span,
.map-caption small {
  font-size: 10px;
}
.map-caption span {
  font-weight: 700;
}
.map-caption span i {
  display: inline-block;
  width: 14px;
  height: 3px;
  background: #65dfa0;
  vertical-align: middle;
  margin-right: 5px;
}
.map-caption small {
  color: #98aaa0;
}
.route-marker {
  background: transparent;
  border: 0;
}
.route-marker i {
  display: block;
  width: 18px;
  height: 18px;
  border: 4px solid #101815;
  border-radius: 50%;
  background: #65dfa0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.route-marker.finish i {
  border-radius: 50% 50% 50% 2px;
  transform: rotate(-45deg);
  background: #e8f0eb;
}
.route-marker.stop i {
  width: 15px;
  height: 15px;
  background: #101815;
  border-color: #65dfa0;
}
.map-empty {
  height: 150px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #101815;
  color: #829087;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.map-empty i {
  font-style: normal;
  font-size: 22px;
}
.leaflet-control-attribution {
  background: rgba(12, 19, 17, 0.82) !important;
  color: #87968e !important;
}
.leaflet-control-attribution a {
  color: #c3d1c9 !important;
}
.leaflet-control-zoom a {
  background: #111a17 !important;
  color: #e7f0eb !important;
  border-color: #293630 !important;
}
.leaflet-control-scale-line {
  background: rgba(12, 19, 17, 0.75) !important;
  color: #d8e3dd !important;
  border-color: #d8e3dd !important;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 18px;
  align-items: start;
}
.profile-section,
.plan-section,
.billing-history {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.profile-section {
  padding: 25px;
}
.section-title h2,
.plan-top h2 {
  margin: 0;
  font: 700 20px Manrope;
}
.section-title p {
  color: var(--muted);
  line-height: 1.55;
  margin: 7px 0 22px;
}
.profile-form label {
  display: grid;
  gap: 7px;
  margin: 15px 0;
  font-size: 12px;
  font-weight: 700;
}
.profile-form input,
.profile-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 11px;
  font: inherit;
  resize: vertical;
}
.profile-form input {
  height: 43px;
}
.profile-form input:disabled {
  color: #7d8882;
  background: #f4f6f4;
}
.profile-form label small,
.plan-note {
  color: var(--muted);
  font-weight: 400;
}
.profile-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.plan-section {
  padding: 25px;
  border-color: #bcd8c7;
  box-shadow: 0 15px 35px rgba(25, 65, 44, 0.08);
}
.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.plan-state,
.order-status {
  flex: none;
  border-radius: 20px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}
.plan-state.active,
.order-status.paid {
  color: #1d6840;
  background: #ddf6e7;
}
.plan-state.pending,
.order-status.requested,
.order-status.invoiced {
  color: #755b15;
  background: #f8edce;
}
.plan-state.free,
.plan-state.expired,
.order-status.cancelled {
  color: #66716b;
  background: #edf0ee;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 26px 0 12px;
}
.plan-price b {
  font: 800 38px Manrope;
  letter-spacing: -0.04em;
}
.plan-price span,
.plan-lead {
  color: var(--muted);
}
.plan-lead {
  line-height: 1.55;
}
.plan-features {
  list-style: none;
  padding: 4px 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}
.plan-features i {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  border-radius: 50%;
  background: #e2f6e9;
  color: #266744;
  font-style: normal;
  font-size: 10px;
}
.invoice-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.invoice-flow span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}
.invoice-flow span b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: var(--green-dark);
  background: #e5f6ec;
  border-radius: 50%;
}
.invoice-flow > i {
  height: 1px;
  background: #ced8d2;
}
.plan-message {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 12px 13px;
  border-radius: 7px;
  background: #f4f7f4;
}
.plan-message b {
  font-size: 12px;
}
.plan-message span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.plan-cta {
  width: 100%;
  margin-top: 2px;
}
.plan-note {
  display: block;
  margin-top: 10px;
  line-height: 1.45;
  text-align: center;
  font-size: 10px;
}
.billing-history {
  margin-top: 18px;
  overflow: hidden;
}
.billing-history > .section-title {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.billing-table > div {
  display: grid;
  grid-template-columns: 1fr 120px 190px;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 11px 24px;
  border-bottom: 1px solid #edf0ed;
}
.billing-table > div:last-child {
  border-bottom: 0;
}
.billing-table b,
.billing-table small {
  display: block;
}
.billing-table small {
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: -245px;
    width: 235px;
    transition: 0.2s;
  }
  .sidebar.open {
    left: 0;
  }
  .mobile-menu {
    display: block;
  }
  .content {
    padding: 24px 18px;
  }
  .readonly-banner {
    margin: 16px 18px 0;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login > section {
    display: none;
  }
  header {
    padding: 0 18px;
  }
  .trip-table .tr {
    grid-template-columns: 1.4fr 1fr 0.8fr;
  }
  .trip-table .tr span:nth-child(3),
  .trip-table .tr span:nth-child(5) {
    display: none;
  }
  .vehicle-table .tr {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }
  .vehicle-table .tr span:nth-child(2),
  .vehicle-table .tr span:nth-child(4) {
    display: none;
  }
}
@media (max-width: 600px) {
  .metrics {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head p {
    max-width: 240px;
  }
  .access {
    display: none;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .filters {
    display: grid;
  }
  .filters input {
    min-width: 0;
  }
  .drawer-body {
    padding: 16px;
  }
  .compact-list > div {
    grid-template-columns: 1fr auto;
  }
  .compact-list code {
    display: none;
  }
  .readonly-banner,
  .readonly-banner > div {
    align-items: flex-start;
  }
  .readonly-banner > div {
    display: grid;
  }
  .billing-table > div {
    grid-template-columns: 1fr auto;
  }
  .billing-table > div > span:last-child {
    grid-column: 1 / -1;
  }
}
