:root {
  --blue: #087bf5;
  --blue-dark: #075fc0;
  --ink: #24292f;
  --muted: #6b747d;
  --line: #d9e0e7;
  --soft: #f4f7fa;
  --panel: #ffffff;
  --success: #0f8b5f;
  --warning: #b86b00;
  --danger: #c93636;
  --shadow: 0 18px 40px rgba(28, 43, 63, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #edf2f7;
}

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

button {
  cursor: pointer;
}

.topbar {
  min-height: 116px;
  background: var(--blue);
  color: #fff;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 22px rgba(4, 84, 169, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  color: #fff;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 3px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.brand-mark::before {
  left: -4px;
  transform: rotate(-35deg);
}

.brand-mark::after {
  right: -4px;
  transform: rotate(145deg);
}

.brand-car {
  width: 23px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 5px 5px 2px 2px;
  color: inherit;
  font-size: 0;
  position: relative;
}

.brand-car::before,
.brand-car::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  bottom: -7px;
}

.brand-car::before {
  left: 2px;
}

.brand-car::after {
  right: 2px;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 6px;
  min-height: 44px;
  padding: 0 11px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  width: 70px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.menu-toggle span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.user-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.user-panel span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.76);
}

.logout-button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  font-weight: 800;
}

.logout-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 360px;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-icon {
  width: 230px;
  height: 230px;
  border: 22px solid var(--blue);
  border-left-color: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-20deg);
}

.hero-car {
  width: 118px;
  height: 62px;
  border-radius: 12px 12px 7px 7px;
  border: 22px solid var(--blue);
  border-top-width: 24px;
  transform: rotate(20deg);
  position: relative;
}

.hero-car::before,
.hero-car::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 12px;
  background: #fff;
  border-radius: 20px;
  bottom: -12px;
}

.hero-car::before {
  left: 0;
}

.hero-car::after {
  right: 0;
}

.eyebrow {
  color: #165894;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
  font-size: 13px;
  margin: 0 0 8px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.03;
  margin-bottom: 16px;
}

h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.hero-copy {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
  max-width: 720px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.metric-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 43, 63, 0.05);
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  margin-top: 8px;
}

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

.panel {
  padding: 22px;
}

.panel-title,
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h1 {
  margin-bottom: 0;
}

.section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

#avaliacao .section-header {
  align-items: center;
}

#evaluationTitle {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  max-width: 1180px;
}

#avaliacao .section-header .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.text-button {
  border: 0;
  background: transparent;
  color: #165894;
  font-weight: 800;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  border-radius: 6px;
  padding: 0 22px;
  border: 0;
  font-weight: 800;
}

.primary-button {
  background: #0d6fd8;
  color: #fff;
}

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

.secondary-button {
  background: #eef4fb;
  color: #165894;
  border: 1px solid #c9dae9;
}

.danger-button {
  border: 1px solid #f0b6b6;
  border-radius: 6px;
  background: #fff1f1;
  color: #a31f1f;
  font-weight: 800;
  min-height: 36px;
  padding: 0 12px;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: #edf6ff;
  color: #0d5dac;
  padding: 0 13px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #3e4750;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

textarea {
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 106, 0, 0.2);
  border-color: var(--blue);
}

.combo-field {
  position: relative;
  display: block;
}

.combo-field input {
  padding-right: 42px;
}

.combo-field::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #45515c;
  border-bottom: 2px solid #45515c;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.combo-field:has(input:disabled)::after {
  opacity: 0.35;
}

.combo-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(28, 43, 63, 0.18);
}

.combo-list.open {
  display: block;
}

.combo-option {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 10px 12px;
}

.combo-option:hover,
.combo-option:focus {
  background: #eef4fb;
  outline: none;
}

.combo-empty {
  color: var(--muted);
  padding: 13px 12px;
}

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

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: middle;
}

th {
  font-size: 14px;
  color: #4b5560;
  background: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0;
}

td {
  font-size: 16px;
}

.row-action {
  border: 0;
  background: var(--blue);
  color: #fff;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 12px;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  background: #edf2f7;
  color: #42505d;
  white-space: nowrap;
}

.badge[data-kind="Avaliado"],
.badge[data-kind="Aprovado para compra"],
.badge[data-kind="Comprado"],
.badge[data-kind="Vendido"] {
  background: #e8f7f1;
  color: var(--success);
}

.badge[data-kind="Em avaliação"] {
  background: #fff5df;
  color: var(--warning);
}

.badge[data-kind="Recusado"] {
  background: #fff0f0;
  color: var(--danger);
}

.assessment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.assessment-layout > .panel {
  grid-column: 1;
}

.pricing-panel {
  grid-column: 2;
  grid-row: 1 / span 5;
  position: sticky;
  top: 140px;
}

.pricing-panel .panel {
  display: grid;
  gap: 16px;
}

.subhead p {
  color: var(--muted);
  margin: -8px 0 0;
}

.fipe-placeholder {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed #9bb7d4;
  border-radius: 8px;
  background: #f4f9ff;
  color: #2f5e89;
}

.fipe-actions {
  display: flex;
  align-items: end;
}

.fipe-actions .secondary-button {
  width: 100%;
}

button:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--blue);
}

.photo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upload-box {
  min-height: 86px;
  border: 2px dashed #b8c8d8;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #165894;
  background: #f7fbff;
}

.upload-box input {
  display: none;
}

.upload-box span {
  font-weight: 900;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #edf2f7;
}

.photo-open {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-card img,
.photo-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(232, 95, 0, 0.92);
  color: #fff;
  font-weight: 900;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.photo-viewer.active {
  display: flex;
}

.photo-viewer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 106, 0, 0.22);
}

.photo-viewer-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 92vh;
  border-radius: 8px;
  background: #101820;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.photo-viewer-top {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.photo-viewer-stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: min(70vh, 680px);
}

.photo-viewer-stage img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  background: #0b1118;
}

.photo-viewer-arrow {
  height: 100%;
  min-height: 260px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 48px;
  font-weight: 600;
}

.report-thumb {
  width: 82px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #f4f7fa;
  display: grid;
  place-items: center;
}

.report-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.report-thumb-empty {
  color: #57718c;
  font-size: 12px;
  font-weight: 900;
}

.optional-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.optional-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border-radius: 6px;
  background: #eef3f6;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 800;
}

.optional-chip input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--blue);
}

.evaluation-summary {
  display: grid;
  gap: 12px;
}

.summary-block {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.summary-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

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

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.summary-tag {
  background: #eef4fb;
  border-radius: 999px;
  color: #165894;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 9px;
}

.valuation-value {
  color: #26933a;
  font-size: 42px;
  margin: 0;
}

.summary-share {
  margin: 4px 0 10px;
  padding: 0;
}

.history-details {
  margin-top: 14px;
}

.history-details summary {
  cursor: pointer;
  font-weight: 800;
}

.history-item {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.history-item span,
.history-item em {
  color: var(--muted);
  font-style: normal;
  white-space: pre-wrap;
}

.inline-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
}

.inline-input input {
  border-radius: 6px 0 0 6px;
}

.inline-input span {
  display: grid;
  place-items: center;
  height: 48px;
  border: 1px solid #cbd5df;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: #f6f8fb;
  font-weight: 800;
}

.pricing-summary {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}

.pricing-summary div,
.monthly-summary div,
.compact-item,
.bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pricing-summary span,
.monthly-summary span,
.compact-item span {
  color: var(--muted);
}

.compact-list,
.monthly-summary,
.bar-list {
  display: grid;
  gap: 12px;
}

.compact-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
}

.vehicle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  box-shadow: 0 8px 22px rgba(28, 43, 63, 0.05);
}

.vehicle-photo {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #cfe3f7, #f5f8fb);
  display: grid;
  place-items: center;
  color: #51718e;
  font-weight: 900;
  overflow: hidden;
}

.vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #eef3f8;
  display: block;
}

.vehicle-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.vehicle-card h3 {
  margin: 0;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.vehicle-meta {
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.vehicle-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vehicle-prices div {
  background: #f5f8fb;
  border-radius: 6px;
  padding: 10px;
  min-width: 0;
}

.vehicle-prices span {
  color: var(--muted);
  font-size: 13px;
  display: block;
}

.vehicle-prices strong {
  display: block;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 36px;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--blue);
}

footer {
  text-align: center;
  color: #69737d;
  padding: 26px;
  background: #f8fafc;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 8px;
  padding: 13px 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.2s ease;
  pointer-events: none;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.admin-only {
  display: none;
}

body.is-admin .admin-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.muted {
  color: var(--muted);
}

.login-screen {
  position: fixed;
  inset: 0;
  background: rgba(237, 242, 247, 0.96);
  display: none;
  place-items: center;
  padding: 18px;
  z-index: 80;
}

.login-screen.active {
  display: grid;
}

.login-card {
  width: min(430px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.login-brand {
  color: var(--blue);
  font-size: 28px;
}

.login-brand .brand-mark {
  border-color: var(--blue);
}

.login-brand .brand-mark::before,
.login-brand .brand-mark::after {
  border-color: var(--blue);
}

.login-brand .brand-car {
  border-color: var(--blue);
}

.login-brand .brand-car::before,
.login-brand .brand-car::after {
  background: var(--blue);
}

.login-card h1 {
  font-size: 48px;
  margin-bottom: 0;
}

.login-help {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #f5f8fb;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .nav,
  .user-panel {
    grid-column: 1 / -1;
    display: none;
  }

  .topbar.open .nav,
  .topbar.open .user-panel {
    display: grid;
  }

  .nav {
    justify-content: stretch;
    justify-items: stretch;
    gap: 14px;
  }

  .nav-link {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  body.is-admin .topbar.open .nav .admin-only {
    display: flex;
    width: 100%;
    justify-self: stretch;
  }

  .topbar.open .user-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .topbar.open .user-panel span {
    text-align: center;
  }

  .topbar.open .logout-button {
    width: min(100%, 420px);
    min-height: 48px;
    justify-self: center;
  }

  .hero,
  .split-layout,
  .assessment-layout {
    grid-template-columns: 1fr;
  }

  .pricing-panel,
  .assessment-layout > .panel {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }

  .hero-icon {
    width: 180px;
    height: 180px;
    border-width: 18px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 14px 18px;
  }

  .brand {
    font-size: 26px;
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 22px;
  }

  .hero,
  .panel {
    padding: 18px;
  }

  .form-grid,
  .filter-bar,
  .metrics-grid,
  .photo-actions {
    grid-template-columns: 1fr;
  }

  .vehicle-grid,
  .vehicle-prices {
    grid-template-columns: 1fr;
  }

  .photo-viewer {
    padding: 10px;
  }

  .photo-viewer-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 62vh;
  }

  .photo-viewer-arrow {
    min-height: 220px;
    font-size: 38px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }
}
