:root {
  --ink: #141b22;
  --muted: #65717c;
  --line: #d8e0e7;
  --canvas: #f5f7fa;
  --paper: #ffffff;
  --soft: #f8f9fa;
  --blue: #2357e6;
  --blue-dark: #1744bd;
  --blue-soft: #eaf0ff;
  --green: #14836b;
  --green-soft: #e7f5f0;
  --orange: #b45309;
  --orange-soft: #fff4e5;
  --red: #b4232f;
  --red-soft: #fdecef;
  --violet: #6d4fc2;
  --coral: #f05a47;
  --sidebar: 238px;
  --radius: 7px;
  --shadow: 0 10px 30px rgba(24, 33, 43, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.login-view {
  height: 100vh;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(360px, 46%) 1fr;
  overflow: hidden;
  background: var(--paper);
}

.login-view.register-view {
  min-height: 720px;
  grid-template-columns: minmax(560px, 56%) 1fr;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(28px, 4.8vw, 76px);
  border-right: 1px solid var(--line);
}

.register-view .login-panel {
  padding: clamp(30px, 4.2vw, 68px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 5px;
  box-shadow: inset 0 -3px 0 var(--coral);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.login-title {
  margin: 44px 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 760;
}

.login-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  color: #35404c;
  font-size: 13px;
  font-weight: 650;
}

.input,
.select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  outline: none;
}

.input:focus,
.select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 87, 230, .12);
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 10px;
}

.btn {
  height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  font-weight: 600;
}

.btn:hover {
  background: #fbfcfd;
  border-color: #9da8b2;
}

.btn.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.btn.primary:hover {
  background: var(--blue-dark);
}

.btn.danger {
  color: var(--red);
  background: #fff;
  border-color: #e9bfc4;
}

.btn.small {
  height: 32px;
  padding: 0 11px;
  font-size: 13px;
}

.btn.link {
  height: auto;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
}

.login-action {
  width: 100%;
  height: 44px;
  margin-top: 8px;
}

.register-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, .8fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 4px;
}

.register-fields {
  min-width: 0;
}

.register-preview {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(35, 87, 230, .08), rgba(20, 131, 107, .08)),
    #fbfcfd;
  border: 1px solid #d9e2ea;
  border-radius: 7px;
}

.preview-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.preview-line {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid rgba(20, 27, 34, .08);
}

.preview-line:first-of-type {
  border-top: 0;
}

.preview-line b {
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.preview-line span {
  color: var(--muted);
  font-size: 12px;
}

.agreement {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.demo-note {
  margin-top: 18px;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}

.login-visual {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px);
  background: #edf1f5;
}

.identity-map {
  width: 100%;
  max-width: 680px;
  margin: auto;
}

.identity-label {
  margin-bottom: 16px;
  color: var(--muted);
  font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.map-title {
  max-width: 600px;
  margin: 0 0 28px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
  font-weight: 760;
}

.map-grid {
  position: relative;
  padding: 12px 22px;
  background: rgba(255,255,255,.55);
  border: 1px solid #cbd5dd;
}

.map-grid::before {
  content: "IDENTITY BUS / ONLINE";
  position: absolute;
  top: -22px;
  right: 18px;
  color: var(--green);
  font: 10px ui-monospace, monospace;
}

.map-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid #d4dce2;
}

.map-row:last-child {
  border-bottom: 0;
}

.map-code {
  color: var(--muted);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.map-name {
  font-weight: 650;
}

.map-status {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20,131,107,.12);
}

.auth-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-switch .btn.active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: var(--sidebar);
  color: #dce2e7;
  background: #141b22;
}

.side-brand {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
}

.side-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.workspace {
  margin: 16px 12px 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
}

.workspace small {
  display: block;
  margin-bottom: 4px;
  color: #98a5b0;
  font-size: 11px;
}

.workspace strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.nav {
  display: grid;
  gap: 3px;
  padding: 8px;
}

.nav-label {
  padding: 12px 12px 5px;
  color: #83919c;
  font-size: 11px;
}

.nav button {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  color: #cbd3d9;
  background: transparent;
  border: 0;
  border-radius: 5px;
  text-align: left;
}

.nav button:hover {
  color: white;
  background: rgba(255,255,255,.06);
}

.nav button.active {
  position: relative;
  color: #19232d;
  background: white;
  font-weight: 650;
}

.nav button.active::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  bottom: 9px;
  width: 3px;
  background: var(--coral);
}

.nav-icon {
  width: 14px;
  color: #8898a5;
  font: 9px ui-monospace, monospace;
}

.nav button.active .nav-icon {
  color: var(--blue);
}

.sidebar-foot {
  margin-top: auto;
  padding: 14px 16px;
  color: #8e9ba6;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
}

.main {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.crumb {
  color: var(--muted);
  font-size: 13px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-switch {
  display: flex;
  padding: 3px;
  background: #eef1f3;
  border-radius: 6px;
}

.view-switch button {
  height: 30px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
}

.view-switch button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.avatar {
  width: 34px;
  height: 34px;
  color: #26323d;
  background: #e4e8eb;
  border: 0;
  border-radius: 50%;
  font-weight: 700;
}

.content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 26px 28px 48px;
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: enter .18s ease-out;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page.active {
    animation: none;
  }
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.page-head h1 {
  margin: 0 0 7px;
  font-size: 24px;
  line-height: 1.3;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.head-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
  background: white;
  border: 1px solid var(--line);
}

.summary-item {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.summary-item:last-child {
  border-right: 0;
}

.summary-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.summary-item strong {
  font-size: 25px;
  font-weight: 730;
}

.summary-item em {
  margin-left: 7px;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 14px;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.filterbar .input,
.filterbar .select {
  width: auto;
  min-width: 170px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.search {
  width: auto !important;
  min-width: 240px !important;
}

.filterbar .btn {
  width: auto;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.audit-filter .search {
  width: auto !important;
  min-width: 240px !important;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th {
  height: 42px;
  padding: 0 14px;
  color: var(--muted);
  background: #fafbfb;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}

td {
  height: 54px;
  padding: 8px 14px;
  border-bottom: 1px solid #edf0f2;
  font-size: 13px;
  vertical-align: middle;
}

tbody tr:hover {
  background: #fafcff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

code,
.code {
  display: inline-block;
  max-width: 360px;
  overflow: hidden;
  padding: 2px 6px;
  color: #28313a;
  background: #fbfbfb;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 12px Consolas, "Cascadia Mono", ui-monospace, monospace;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.cell-main {
  font-weight: 650;
}

.cell-sub {
  margin-top: 4px;
  color: var(--muted);
  font: 11px ui-monospace, monospace;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 650;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.status.ok {
  color: var(--green);
  background: var(--green-soft);
}

.status.warn {
  color: var(--orange);
  background: var(--orange-soft);
}

.status.off {
  color: var(--red);
  background: var(--red-soft);
}

.status.info {
  color: var(--blue);
  background: var(--blue-soft);
}

.role {
  padding: 3px 8px;
  color: #5945a3;
  background: #f0edfb;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 650;
}

.row-action {
  padding: 4px 6px;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-size: 12px;
}

.row-action:hover {
  text-decoration: underline;
}

.pagination {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.page-chip {
  width: 28px;
  height: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.page-chip.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.identity-bus-panel {
  overflow: hidden;
  margin-bottom: 18px;
  background: white;
  border: 1px solid var(--line);
}

.bus-head {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.bus-head strong {
  font-size: 12px;
}

.bus-head span {
  color: var(--green);
  font: 10px ui-monospace, monospace;
}

.bus-layout {
  min-height: 170px;
  display: grid;
  grid-template-columns: 250px 1fr;
}

.bus-lead {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.bus-lead small {
  color: var(--muted);
  font-size: 11px;
}

.bus-lead b {
  display: block;
  margin: 16px 0 9px;
  font: 700 42px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.bus-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.bus-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 30px 26px;
}

.bus-track::before {
  content: "";
  position: absolute;
  top: 39px;
  right: 11%;
  left: 11%;
  height: 2px;
  background: #cbd7e8;
}

.bus-node {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bus-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 13px;
  background: white;
  border: 5px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px white;
}

.bus-node:nth-child(4) .bus-dot {
  border-color: var(--green);
}

.bus-node strong {
  display: block;
  font: 700 17px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.bus-node span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.bus-foot {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.bus-foot b {
  color: var(--ink);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .75fr);
  gap: 18px;
}

.activity {
  padding: 0 16px;
}

.activity-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #edf0f2;
}

.activity-row:last-child {
  border-bottom: 0;
}

.activity-mark {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--blue-soft);
}

.activity-row p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.activity-row small,
.activity-row time {
  color: var(--muted);
}

.activity-row time {
  font-size: 11px;
}

.health {
  padding: 14px 16px;
}

.health-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr 110px 36px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.bar {
  height: 6px;
  overflow: hidden;
  background: #edf0f2;
  border-radius: 6px;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--green);
}

.identity-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
}

.passport {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.passport-top {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.passport-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #dde8f7;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 750;
}

.passport h2 {
  margin: 3px 0 6px;
  font-size: 18px;
}

.passport p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.passport-list {
  padding: 10px 22px 18px;
}

.passport-line {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f2;
  font-size: 12px;
}

.passport-line:last-child {
  border-bottom: 0;
}

.passport-line span {
  color: var(--muted);
}

.identity-rail {
  padding: 22px;
}

.rail-title {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}

.rail {
  position: relative;
  padding-left: 28px;
}

.rail::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: #dce3e8;
}

.rail-item {
  position: relative;
  padding: 0 0 22px;
}

.rail-item:last-child {
  padding-bottom: 0;
}

.rail-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -28px;
  width: 12px;
  height: 12px;
  background: white;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.rail-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.rail-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 31, .48);
}

.modal {
  width: min(600px, 100%);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 16px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 20px;
}

.icon-btn:hover {
  background: #f0f2f4;
}

.modal-body {
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: min(520px, calc(100vw - 48px));
  padding: 12px 16px;
  color: white;
  background: #202932;
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.55;
}

.mobile-menu {
  display: none;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.result-box {
  margin: 14px 16px 0;
  padding: 12px 14px;
  color: var(--muted);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.7;
}

.result-box.ok {
  color: var(--green);
  background: var(--green-soft);
  border-color: #bfe3d8;
}

.result-box.error {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f2c7cf;
}

@media (max-width: 980px) {
  :root {
    --sidebar: 0px;
  }

  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 232px;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    grid-column: 1;
  }

  .mobile-menu {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .crumb {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .summary-item:nth-child(2) {
    border-right: 0;
  }

  .summary-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .bus-layout,
  .dashboard-grid,
  .identity-layout {
    grid-template-columns: 1fr;
  }

  .bus-lead {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .login-view {
    min-height: 560px;
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
  }

  .login-view.register-view {
    height: auto;
    min-height: 100vh;
  }

  .register-view .login-panel {
    justify-content: flex-start;
    padding: 24px;
  }

  .register-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .register-preview {
    padding: 14px;
  }

  .login-title {
    margin-top: 34px;
    font-size: 28px;
  }

  .topbar {
    padding: 0 16px;
  }

  .content {
    padding: 20px 14px 40px;
  }

  .view-switch {
    display: none;
  }

  .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .head-actions {
    width: 100%;
  }

  .head-actions .btn {
    flex: 1;
  }

  .summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .summary-item {
    padding: 15px;
  }

  .summary-item strong {
    font-size: 21px;
  }

  .bus-track {
    padding: 26px 12px;
  }

  .bus-node strong {
    font-size: 14px;
  }

  .bus-node span {
    font-size: 9px;
  }

  .bus-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 10px 14px;
  }

  .filterbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filterbar .input,
  .filterbar .select {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .filterbar .search {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 0 !important;
  }

  .filterbar .btn {
    width: 100%;
    height: 42px;
    font-size: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }
}
