:root {
  color-scheme: light;
  --ink: #17212b;
  --ink-soft: #344352;
  --muted: #617181;
  --faint: #7d8a97;
  --line: #dce3e9;
  --line-strong: #c8d2dc;
  --ground: #edf2f5;
  --surface: #ffffff;
  --surface-soft: #f6f8fa;
  --navy: #142436;
  --accent: #157a5b;
  --accent-strong: #0d6649;
  --accent-soft: #e4f4ed;
  --blue: #2864b7;
  --warning: #a65d00;
  --warning-soft: #fff2df;
  --danger: #b33b32;
  --danger-soft: #fcede9;
  --shadow: 0 15px 38px rgba(40, 54, 67, 0.1);
  --shadow-small: 0 6px 18px rgba(40, 54, 67, 0.08);
  --radius-large: 22px;
  --radius: 15px;
  --font-sans:
    "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo,
    sans-serif;
  --font-mono:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --text-label: 14px;
  --text-small: 15px;
  --text-body: 16px;
  --text-lead: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ground);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(21, 122, 91, 0.09), transparent 25rem),
    var(--ground);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(40, 100, 183, 0.34);
  outline-offset: 3px;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  width: min(1800px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
}

.app-header {
  position: relative;
  z-index: 20;
  min-height: 116px;
  margin-bottom: 16px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(480px, 1.5fr) minmax(190px, 0.55fr);
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(16px);
}

.brand-block {
  min-width: 0;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 13px;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.11em;
}

.brand-line h1 {
  margin-bottom: 0;
  overflow: hidden;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-control {
  min-width: 0;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.simulation-clock {
  margin-bottom: 10px;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.transport-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.toggle-button,
.secondary-button,
.settings-actions button,
.report-card button,
.dialog-close {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-weight: 750;
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 21px;
}

.primary-button {
  min-height: 42px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-weight: 800;
}

.primary-button:hover:not(:disabled) {
  background: var(--accent-strong);
}

.play-button {
  min-width: 104px;
}

.speed-control {
  height: 42px;
  padding-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: var(--text-label);
  font-weight: 700;
}

.speed-control select {
  height: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  font-weight: 800;
}

.toggle-button {
  min-height: 42px;
  padding: 8px 13px;
}

.toggle-button.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(21, 122, 91, 0.35);
}

.timeline-control {
  margin-top: 11px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 700;
}

.timeline-control input {
  width: 100%;
  accent-color: var(--accent);
}

.usage-card {
  min-height: 76px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy), #20364c);
  border-radius: 14px;
}

.usage-label,
.usage-note {
  color: #b8c6d4;
  font-size: var(--text-label);
}

.usage-card strong {
  color: #ffffff;
  font-size: 19px;
}

.usage-card.is-exhausted {
  background: linear-gradient(145deg, #623329, #8d4436);
}

.app-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  grid-template-areas:
    "map rail"
    "metrics rail";
  gap: 16px;
}

.map-card,
.rail-card,
.metrics-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);
}

.map-card {
  grid-area: map;
  min-width: 0;
  overflow: hidden;
}

.card-heading {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-heading h2 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.mode-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mode-switch button {
  min-height: 38px;
  padding: 7px 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: var(--text-small);
  font-weight: 800;
}

.mode-switch button.is-active {
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow-small);
}

.map-stage {
  position: relative;
  height: clamp(500px, calc(100vh - 300px), 760px);
  min-height: 500px;
  overflow: hidden;
  background: #dfe6eb;
  border-top: 1px solid var(--line);
}

.map-canvas {
  position: absolute;
  inset: 0;
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  background:
    linear-gradient(rgba(20, 36, 54, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 36, 54, 0.035) 1px, transparent 1px),
    #eef2f4;
  background-size: 28px 28px;
  text-align: center;
  transition: opacity 180ms ease;
}

.map-loading strong {
  color: var(--ink);
  font-size: 19px;
}

.map-loading.is-hidden {
  pointer-events: none;
  opacity: 0;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border: 4px solid rgba(21, 122, 91, 0.17);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.map-legend {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  max-width: min(260px, calc(100% - 28px));
  padding: 11px 13px;
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(8px);
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: var(--text-label);
  font-weight: 700;
}

.legend-dot,
.crew-swatch {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--crew-color);
  border-radius: 50%;
}

.status-toast {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 6;
  max-width: 760px;
  padding: 10px 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-small);
  font-size: var(--text-small);
  font-weight: 700;
}

.status-toast.is-error {
  color: #782b25;
  background: rgba(252, 237, 233, 0.97);
  border-color: #e2a59f;
}

.status-toast.is-success {
  color: var(--accent-strong);
  background: rgba(228, 244, 237, 0.97);
  border-color: rgba(21, 122, 91, 0.32);
}

.control-rail {
  grid-area: rail;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rail-card {
  overflow: hidden;
}

.mode-label {
  padding: 5px 9px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: var(--text-label);
  font-weight: 800;
}

.crew-list {
  padding: 0 12px 12px;
  display: grid;
  gap: 6px;
}

.crew-row {
  min-height: 66px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 11px;
}

.crew-row.is-active {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-small);
}

.crew-copy {
  min-width: 0;
}

.crew-copy strong,
.crew-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crew-copy strong {
  font-size: var(--text-body);
}

.crew-copy span {
  color: var(--muted);
  font-size: var(--text-label);
}

.crew-status {
  text-align: right;
}

.crew-status span {
  padding: 4px 8px;
  display: inline-flex;
  color: var(--blue);
  background: #e8f0fb;
  border-radius: 999px;
  font-size: var(--text-label);
  font-weight: 800;
}

.crew-status small {
  margin-top: 3px;
  display: block;
  color: var(--muted);
  font-size: var(--text-label);
}

.crew-row.is-overrun {
  border-color: #e8a9a3;
}

.crew-row.is-overrun .crew-status span {
  color: var(--danger);
  background: var(--danger-soft);
}

.settings-actions {
  padding: 0 14px;
  display: grid;
  gap: 8px;
}

.settings-actions button {
  min-height: 49px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  text-align: left;
}

.settings-actions button:hover:not(:disabled),
.report-card button:hover:not(:disabled),
.secondary-button:hover:not(:disabled) {
  background: var(--surface-soft);
  border-color: #a9b8c5;
}

.settings-actions button > span:first-child {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-label);
}

.dirty-message {
  margin: 10px 14px 0;
  padding: 8px 10px;
  color: var(--warning);
  background: var(--warning-soft);
  border-radius: 8px;
  font-size: var(--text-label);
  font-weight: 800;
}

.reoptimize-button {
  width: calc(100% - 28px);
  margin: 12px 14px 15px;
  min-height: 50px;
  font-size: var(--text-body);
}

.reoptimize-button.is-dirty {
  box-shadow: 0 0 0 4px rgba(166, 93, 0, 0.15);
}

.report-card {
  padding-bottom: 15px;
}

.report-card > div {
  padding: 18px 20px 7px;
}

.report-card h2 {
  margin-bottom: 7px;
  font-size: 20px;
}

.report-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-small);
}

.report-card > button {
  width: calc(100% - 28px);
  min-height: 46px;
  margin: 5px 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
}

.metrics-card {
  grid-area: metrics;
  min-width: 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
}

.saving-metric {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.saving-metric h2 {
  margin: 3px 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.07em;
}

.saving-metric h2 small {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  letter-spacing: 0;
}

.saving-metric > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-label);
}

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

.metrics-grid > div {
  min-width: 0;
  padding: 7px 13px;
  border-left: 1px solid var(--line);
}

.metrics-grid > div:first-child {
  border-left: 0;
}

.metrics-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 700;
}

.metrics-grid dd {
  margin: 0;
}

.metrics-grid strong {
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.before-value {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: var(--text-label);
}

.settings-dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(13, 25, 38, 0.3);
}

.settings-dialog::backdrop {
  background: rgba(15, 28, 40, 0.58);
  backdrop-filter: blur(4px);
}

.compact-dialog {
  width: min(760px, calc(100% - 32px));
}

.dialog-shell {
  max-height: calc(100vh - 32px);
  margin: 0;
  display: flex;
  flex-direction: column;
}

.dialog-header {
  padding: 23px 25px 17px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1.25;
}

.dialog-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-small);
}

.dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.dialog-toolbar {
  padding: 14px 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.dialog-toolbar label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 800;
}

.place-search-label {
  width: min(650px, 100%);
}

.dialog-toolbar input,
.dialog-toolbar select,
.settings-table input,
.settings-table select {
  min-height: 42px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: var(--text-small);
}

.secondary-button {
  min-height: 42px;
  padding: 8px 13px;
}

.form-notice {
  min-height: 25px;
  margin: 0;
  padding: 6px 25px 0;
  color: var(--warning);
  font-size: var(--text-label);
  font-weight: 700;
}

.table-scroll {
  flex: 1;
  padding: 8px 25px 18px;
  overflow: auto;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.settings-table th,
.settings-table td {
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.settings-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--muted);
  background: var(--surface);
  font-size: var(--text-label);
  white-space: nowrap;
}

.location-name-group {
  min-width: 210px;
  display: grid;
  gap: 6px;
}

.coordinate-group {
  min-width: 190px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.settings-table select {
  min-width: 150px;
}

.service-minutes {
  width: 90px;
}

.delete-row-button {
  width: 40px;
  height: 40px;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #edc0bb;
  border-radius: 8px;
  font-size: 20px;
}

.dialog-footer {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.dialog-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-label);
}

.dialog-footer > div {
  display: flex;
  gap: 9px;
}

.report-dialog {
  width: min(1100px, calc(100% - 32px));
}

.report-toolbar {
  align-items: center;
}

.report-body {
  padding: 18px 25px 30px;
  overflow: auto;
}

.report-crew {
  margin-top: 25px;
}

.report-crew:first-child {
  margin-top: 0;
}

.report-crew-heading {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.report-crew-heading h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
}

.report-crew-heading p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-label);
}

.report-crew-heading .is-overrun {
  color: var(--danger);
  font-weight: 800;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.report-table th,
.report-table td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.report-table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: var(--text-label);
}

.fatal-error {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(237, 242, 245, 0.96);
}

.fatal-error[hidden] {
  display: none;
}

.fatal-error > div {
  width: min(560px, 100%);
  padding: 35px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.fatal-error h2 {
  font-size: 28px;
}

.fatal-error p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 1380px) {
  .app-header {
    grid-template-columns: minmax(300px, 0.9fr) minmax(460px, 1.3fr) 190px;
  }

  .app-main {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .metrics-grid {
    overflow-x: auto;
  }
}

@media (max-width: 1120px) {
  .app-header {
    grid-template-columns: 1fr 1.2fr;
  }

  .usage-card {
    grid-column: 1 / -1;
    min-height: auto;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .app-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "map"
      "metrics"
      "rail";
  }

  .control-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .metrics-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .app-shell {
    padding: 10px;
  }

  .app-header {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .time-control {
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .usage-card {
    grid-column: auto;
  }

  .map-stage {
    height: 520px;
    min-height: 520px;
  }

  .control-rail {
    grid-template-columns: 1fr;
  }

  .metrics-card {
    grid-template-columns: 1fr;
  }

  .saving-metric {
    padding: 0 0 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(135px, 1fr));
    overflow: visible;
  }

  .metrics-grid > div {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .dialog-toolbar,
  .dialog-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-footer > div {
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  .brand-line {
    align-items: flex-start;
  }

  .brand-line h1 {
    font-size: 20px;
    white-space: normal;
  }

  .transport-buttons {
    display: grid;
    grid-template-columns: 42px 1fr 1fr;
  }

  .speed-control {
    grid-column: 1 / 3;
  }

  .toggle-button {
    grid-column: 3;
  }

  .usage-card {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .map-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-switch button {
    flex: 1;
  }

  .map-stage {
    height: 430px;
    min-height: 430px;
  }

  .map-legend {
    right: 10px;
    left: 10px;
    max-height: 125px;
    overflow: auto;
  }

  .status-toast {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

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

  .settings-dialog,
  .compact-dialog,
  .report-dialog {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .dialog-shell {
    max-height: 100vh;
  }

  .dialog-header,
  .dialog-toolbar,
  .dialog-footer,
  .report-body {
    padding-right: 15px;
    padding-left: 15px;
  }

  .table-scroll {
    padding-right: 15px;
    padding-left: 15px;
  }

  .dialog-footer > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
