
:root {
  color-scheme: light;
  font: 15px/1.45 "Inter", "Segoe UI", sans-serif;
  color: #212a2e;
  background: #f4f5f6;
  --ink: #212a2e;
  --muted: #5d6870;
  --line: #dce1e3;
  --green: #26704f;
  --paper: #fff;
  --nav: #222b2e;
}
* { box-sizing: border-box }
body { margin: 0 }
button, input, select { font: inherit }
button, select { cursor: pointer }
a { color: inherit }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #2c9672; outline-offset: 3px;
}
.shell { display: grid; grid-template-columns: 212px minmax(0, 1fr); min-height: 100vh }
aside { background: var(--nav); color: #f3f5f5; padding: 22px 16px; display: flex; flex-direction: column }
.wordmark { display: flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 720; letter-spacing: -.055em }
.mark { width: 19px; height: 19px; border: 3px solid #71ac8c; border-radius: 50%; display: inline-block; position: relative }
.mark::after { content: ""; width: 6px; height: 3px; background: #71ac8c; position: absolute; right: -4px; bottom: 0; transform: rotate(45deg) }
aside .wordmark { margin: 0 9px 36px }
aside nav { display: grid; gap: 3px }
aside nav a, aside nav button {
  text-align: left; border: 0; color: #e2e9ea; text-decoration: none;
  background: transparent; border-radius: 4px; padding: 11px 12px;
}
aside nav [aria-current], aside nav a:hover, aside nav button:hover { color: #fff; background: #374549 }
.aside-note { margin: auto 9px 0; padding-top: 30px; font-size: 12px; color: #c3ced0 }
.top {
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 30px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.top small { color: var(--muted); display: inline-block; margin-left: 12px }
.content { width: min(100%, 1430px); margin: auto; padding: 27px 30px 54px }
.page-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 21px }
h1, h2, p { margin: 0 }
h1 { font-size: 29px; font-weight: 680; letter-spacing: -.035em }
h2 { font-size: 17px; font-weight: 680; letter-spacing: -.016em }
small, .muted { color: var(--muted) }
.date-field, form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600 }
input:not([type=checkbox]), select {
  min-width: 0; width: 100%; border: 1px solid #c8d0d3; background: #fff; color: var(--ink);
  padding: 8px 10px; border-radius: 4px; min-height: 40px;
}
.button {
  border: 1px solid #c9d1d3; border-radius: 4px; background: #fff; color: var(--ink);
  font-weight: 620; font-size: 13px; padding: 8px 12px; min-height: 38px;
}
.button.primary { background: var(--green); border-color: var(--green); color: #fff }
.button:hover { filter: brightness(.95) }
.button:disabled { opacity: .55; cursor: not-allowed }
.summary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  border: 1px solid var(--line); border-radius: 5px; background: #fff; margin-bottom: 19px;
}
.summary div { padding: 13px 17px; border-right: 1px solid var(--line) }
.summary div:last-child { border: 0 }
.summary dt { font-size: 13px; color: var(--muted) }
.summary dd { margin: 3px 0 0; font-size: 23px; font-weight: 680; font-variant-numeric: tabular-nums }
.card { border: 1px solid var(--line); border-radius: 5px; background: #fff; min-width: 0 }
.card-head { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.table-wrap { overflow-x: auto }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px }
th, td { padding: 11px 14px; border-top: 1px solid var(--line); white-space: nowrap }
th { font-weight: 640; background: #f6f7f7; color: #48545a }
tbody tr:hover, tbody tr.selected { background: #f0f5f2 }
td small { display: block; margin-top: 3px }
.row-link { background: transparent; border: 0; color: #205947; font-weight: 700; padding: 2px 0; text-decoration: underline; text-underline-offset: 3px }
.status { font-size: 12px; font-weight: 650; color: #515d62; white-space: nowrap }
.status.moving { color: #176140 }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px }
.details { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 16px; margin-top: 16px }
.details .only { grid-column: 1 / -1 }
.details dl { margin: 0; padding: 0 17px 10px }
.details dl div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line) }
.details dd { margin: 0; text-align: right; font-weight: 600 }
.empty, .timing-note { padding: 14px 17px; color: var(--muted) }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px }
.login { min-height: 100vh; display: grid; place-items: center; padding: 18px }
.login section { width: min(100%, 410px); padding: 27px }
.login h1 { margin-top: 18px; font-size: 24px }
.login form { margin-top: 15px; display: grid; gap: 13px }
.feedback { margin: 8px 0; min-height: 1.2em; color: #176140; font-size: 13px }
.feedback.error { color: #a13222 }
.settings { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 16px }
.company-list button { display: block; width: 100%; text-align: left; padding: 12px 16px; background: #fff; border: 0; border-top: 1px solid var(--line) }
.company-list button[aria-current] { background: #eef5f1; font-weight: 680 }
.module-list { padding: 0 17px 16px }
.module { display: flex; align-items: center; justify-content: space-between; gap: 13px; border-top: 1px solid var(--line); padding: 12px 0 }
.module strong, .module small { display: block }
.module input { width: 18px; height: 18px; accent-color: var(--green); flex: none }
.map-wrap { border-top: 1px solid var(--line); background: #e6eae5 }
canvas { display: block; width: 100%; height: clamp(245px, 46vw, 470px) }
.map-info { padding: 13px 17px; border-top: 1px solid var(--line) }
dialog { border: 1px solid var(--line); border-radius: 5px; width: min(calc(100% - 24px), 520px); padding: 20px }
dialog::backdrop { background: #20282c83 }
dialog .actions { display: flex; justify-content: end; gap: 8px; margin-top: 15px }
dialog h2 { margin-bottom: 15px }
@media (max-width: 900px) {
  .shell { grid-template-columns: 155px minmax(0, 1fr) }
  .content, .top { padding-left: 16px; padding-right: 16px }
  .details, .settings { grid-template-columns: 1fr }
}
@media (max-width: 620px) {
  .shell { display: block }
  aside { display: block; padding: 12px }
  aside .wordmark { margin: 0 0 8px; font-size: 21px }
  aside nav { display: flex; flex-wrap: wrap }
  aside nav a, aside nav button { padding: 7px 9px; font-size: 13px }
  .aside-note { display: none }
  .top { height: 52px; font-size: 13px }
  .top small { display: block; margin: 0; font-size: 11px }
  h1 { font-size: 24px }
  .summary div { border: 0 }
  .content { padding-top: 19px }
}

.helper-panel { max-width: 650px }
.helper-section { margin-top: 14px }
.helper-body { display: grid; gap: 8px; padding: 12px 17px 16px; border-top: 1px solid var(--line) }
.helper-body .button { justify-self: start }
.helper-stops { list-style: none; margin: 0; padding: 0 }
.helper-stops li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px; border-top: 1px solid var(--line) }
.helper-stops li small { display: block; margin-top: 3px }
@media (max-width: 620px) { .helper-body .button, .helper-stops .button { min-height: 44px } }
