body {
  font-family: Inter, "Segoe UI", sans-serif;
}
.register-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 25px;
}
.register-summary article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 16px 18px;
}
.register-summary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.register-summary strong {
  font-size: 25px;
}
.register-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 12px;
}
.register-toolbar input {
  width: min(360px, 60vw);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 13px;
  font: inherit;
  font-size: 12px;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 3px;
}
.view-toggle button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}
.view-toggle button.active {
  background: #e8f7f6;
  color: var(--bc);
}
.review-section {
  margin: 18px 0;
  border: 1px solid #f0d5a8;
  border-radius: 15px;
  background: #fffaf2;
  padding: 19px;
}
.review-section[hidden],
.empty-state[hidden] {
  display: none;
}
.review-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-section h2,
.review-section p {
  margin: 0;
}
.review-section h2 {
  font-size: 17px;
}
.count-pill {
  border-radius: 999px;
  background: #fff0d9;
  color: #9b4c00;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
}
.proposal-cards {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.proposal-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border: 1px solid #edd9b6;
  border-radius: 11px;
  background: #fff;
  padding: 14px;
}
.proposal-card h3,
.proposal-card p {
  margin: 0;
}
.proposal-card h3 {
  font-size: 12px;
}
.proposal-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.proposal-card .reason {
  margin-top: 8px;
  color: #9b4c00;
  font-size: 9px;
}
.proposal-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.vehicle-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 17px;
  text-align: left;
  cursor: pointer;
  transition: 0.15s;
}
.vehicle-card:hover {
  transform: translateY(-1px);
  border-color: #9ccfcd;
  box-shadow: 0 9px 25px rgba(24, 34, 48, 0.06);
}
.vehicle-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.vehicle-card h2,
.vehicle-card p {
  margin: 0;
}
.vehicle-card h2 {
  font-size: 16px;
}
.vehicle-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.state-chip {
  border-radius: 999px;
  background: #edf7f2;
  color: #087456;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 800;
}
.state-chip.attention {
  background: #fff1e6;
  color: #b54708;
}
.vehicle-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 17px;
}
.vehicle-facts div {
  border-radius: 9px;
  background: #f7fafb;
  padding: 9px;
}
.vehicle-facts span,
.vehicle-facts strong {
  display: block;
}
.vehicle-facts span {
  color: var(--muted);
  font-size: 8px;
}
.vehicle-facts strong {
  margin-top: 4px;
  font-size: 10px;
}
.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 9px;
}
.vehicle-grid.table {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.vehicle-grid.table .vehicle-card {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.vehicle-grid.table .vehicle-card:last-child {
  border: 0;
}
.vehicle-grid.table .vehicle-facts {
  display: flex;
  margin: 0;
}
.vehicle-grid.table .vehicle-footer {
  margin: 0;
  border: 0;
  padding: 0;
}
.empty-state {
  display: grid;
  place-items: center;
  min-height: 330px;
  border: 1px dashed #b9cbd1;
  border-radius: 15px;
  background: #fff;
  text-align: center;
  padding: 34px;
}
.empty-state > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #e8f7f6;
  color: var(--bc);
  font-size: 25px;
}
.empty-state h2 {
  margin: 15px 0 0;
  font-size: 20px;
}
.empty-state p {
  max-width: 520px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.assistant-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}
.assistant-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.assistant-body label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 10px;
  font-weight: 750;
}
.assistant-body input,
.assistant-body textarea {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
  font: inherit;
  font-size: 11px;
}
.assistant-body textarea {
  min-height: 170px;
  resize: vertical;
}
.evidence-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.evidence-tools .file-button {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  color: var(--ink);
  cursor: pointer;
}
.evidence-tools input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.evidence-tools span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}
.proposal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.proposal-facts span {
  border-radius: 6px;
  background: #f5f7f8;
  padding: 4px 6px;
  color: #344054;
  font-size: 8px;
}
.equipment-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.equipment-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
}
.equipment-list strong,
.equipment-list span {
  display: block;
}
.equipment-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}
.record-detail {
  padding: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
}
.detail-grid span,
.detail-grid strong {
  display: block;
}
.detail-grid span {
  color: var(--muted);
  font-size: 8px;
}
.detail-grid strong {
  margin-top: 4px;
  font-size: 11px;
}
.detail-section {
  margin-top: 20px;
}
.detail-section h3 {
  font-size: 12px;
}
.detail-section p {
  color: var(--muted);
  font-size: 10px;
}
.inline-link {
  display: inline-flex;
  margin-top: 7px;
  color: var(--bc);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}
.inline-link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .register-summary {
    grid-template-columns: 1fr 1fr;
  }
  .vehicle-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .register-summary,
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
  .register-toolbar {
    align-items: stretch;
    gap: 10px;
  }
  .register-toolbar input {
    width: 100%;
  }
  .proposal-card {
    grid-template-columns: 1fr;
  }
  .vehicle-grid.table .vehicle-card {
    display: block;
  }
  .vehicle-grid.table .vehicle-facts {
    display: grid;
    margin-top: 12px;
  }
  .vehicle-grid.table .vehicle-footer {
    margin-top: 12px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
