:root {
  color-scheme: light;
  --ink: #12313f;
  --muted: #637c82;
  --line: #d8e8e3;
  --paper: #eef8f4;
  --panel: #ffffff;
  --accent: #16b8aa;
  --accent-strong: #087496;
  --accent-soft: #e6f8f2;
  --green: #55d746;
  --mint: #a9e99f;
  --shadow: 0 24px 70px rgba(8, 69, 91, 0.16);
  --soft-shadow: 0 14px 34px rgba(15, 64, 75, 0.09);
  --inner-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(85, 215, 70, 0.16), transparent 30%),
    radial-gradient(circle at 86% 7%, rgba(22, 184, 170, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fffb 0%, #eff9f4 44%, #e8f3f7 100%);
}

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

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(22, 184, 170, 0.22);
  outline-offset: 2px;
  border-color: var(--accent);
}

button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 64, 75, 0.07);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

button:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(8, 116, 150, 0.13);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.app-shell {
  min-height: 100vh;
  padding: 18px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(500px, 34vw) minmax(620px, 1fr);
  gap: 18px;
  min-height: calc(100vh - 36px);
}

.sidebar,
.stage {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  overflow: auto;
  scrollbar-color: #b9d6cd transparent;
}

.stage {
  min-width: 0;
}

.brand {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 15px;
  align-items: center;
  padding: 4px 4px 8px;
}

.brand-logo {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 18px rgba(8, 89, 112, 0.2))
    drop-shadow(0 4px 8px rgba(85, 215, 70, 0.14));
  transform: translateY(-1px);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #24493f;
}

p,
.status,
.toolbar span {
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow), var(--inner-shadow);
}

.panel-title,
.toolbar,
.actions,
.toggle-row,
.panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 116, 150, 0.16);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 250, 243, 0.92)),
    radial-gradient(circle at 92% 12%, rgba(85, 215, 70, 0.24), transparent 34%);
  box-shadow: 0 22px 50px rgba(8, 69, 91, 0.14), var(--inner-shadow);
}

.offer-card::after {
  position: absolute;
  top: -72px;
  right: -64px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(22, 184, 170, 0.1);
  border-radius: 50%;
  content: "";
}

.offer-card > * {
  position: relative;
  z-index: 1;
}

.offer-kicker {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card h2 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
  text-transform: none;
}

.offer-card p {
  margin-top: 10px;
  color: #536f6a;
  font-size: 13px;
  line-height: 1.45;
}

.offer-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.offer-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  align-items: center;
  border: 1px solid rgba(216, 232, 227, 0.9);
  border-radius: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.76);
}

.offer-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(8, 116, 150, 0.08);
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(8, 116, 150, 0.08);
}

.offer-list strong {
  color: var(--ink);
  font-size: 13px;
}

.offer-list small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

.offer-price {
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.offer-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.offer-button {
  min-height: 42px;
  padding: 0 18px;
  border-color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 14px 26px rgba(8, 116, 150, 0.2);
}

.offer-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.offer-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: stretch;
  min-width: min(250px, 100%);
}

.offer-trust {
  margin-top: 12px;
  border-radius: 14px;
  padding: 9px 10px;
  background: rgba(8, 116, 150, 0.07);
  color: #385f59;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.primary-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border-color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  font-weight: 750;
  box-shadow: 0 14px 26px rgba(8, 116, 150, 0.22);
}

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

.map-buttons .mini-button {
  min-width: 34px;
}

textarea {
  width: 100%;
  min-height: 170px;
  margin-top: 10px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: #17231f;
  background: rgba(255, 255, 255, 0.94);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 1px 3px rgba(18, 49, 63, 0.05);
}

.target-input {
  min-height: 96px;
}

.status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 12px;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 12px;
}

.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.range-value {
  border: 1px solid #d9ebe4;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f7fbf9;
  color: #315145;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

label {
  display: grid;
  gap: 5px;
  color: #33463e;
  font-size: 12px;
  font-weight: 650;
}

.field {
  margin-top: 10px;
}

.field input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.94);
}

.history-panel {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  background: #f8fcfa;
}

.history-title {
  color: #315145;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.history-rows {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.history-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 30px;
  justify-content: flex-start;
  border-radius: 10px;
  padding: 0 10px;
  text-align: left;
  box-shadow: none;
}

.history-empty {
  color: var(--muted);
  font-size: 12px;
}

.file-picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: stretch;
  margin-top: 10px;
}

.file-picker {
  margin-top: 10px;
  border: 1px dashed #a8bcb2;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8fcfa, var(--accent-soft));
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.file-picker-row .file-picker {
  margin-top: 0;
}

.help-button {
  position: relative;
  width: 38px;
  min-height: 100%;
  padding: 0;
  font-size: 15px;
  font-weight: 900;
}

.help-button::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 10;
  width: min(330px, 80vw);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
  color: #233832;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.help-button:hover::after,
.help-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.file-picker:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(8, 116, 150, 0.1);
  transform: translateY(-1px);
}

.file-picker.loading {
  position: relative;
  border-color: var(--accent);
  background: linear-gradient(180deg, #f7fffb, #edf9fb);
  box-shadow: 0 10px 24px rgba(8, 116, 150, 0.12);
  cursor: wait;
}

.file-picker.loading::before {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 2px solid rgba(8, 116, 150, 0.2);
  border-top-color: var(--accent-strong);
  border-radius: 50%;
  content: "";
  vertical-align: -2px;
  animation: spin 750ms linear infinite;
}

.file-picker input {
  display: none;
}

.file-picker span {
  color: var(--accent-strong);
  font-weight: 750;
}

.raw-preview {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(8, 116, 150, 0.18);
  border-radius: 18px;
  padding: 13px;
  background:
    linear-gradient(135deg, rgba(85, 215, 70, 0.16), rgba(20, 174, 194, 0.1)),
    #fbfffd;
  box-shadow: 0 14px 30px rgba(8, 116, 150, 0.1);
}

.raw-preview strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.raw-preview span,
.raw-preview li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.raw-preview ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.raw-price {
  justify-self: start;
  border-radius: 999px;
  padding: 7px 11px;
  background: linear-gradient(135deg, #087496, #55d746);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(8, 116, 150, 0.18);
}

.privacy-note {
  margin-top: 8px;
  border: 1px solid #d9ebe4;
  border-radius: var(--radius-md);
  padding: 9px 10px;
  background: #f8fcfa;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.payment-note {
  margin-top: 8px;
  border: 1px solid #cfe3ff;
  border-radius: var(--radius-md);
  padding: 9px 10px;
  background: #f3f8ff;
  color: #24426f;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.payment-note.paid {
  border-color: #bfe7d1;
  background: #f0fbf5;
  color: #24553b;
}

.payment-note.error {
  border-color: #ffd0c7;
  background: #fff5f2;
  color: #8a2d1f;
}

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

select,
input[type="range"] {
  width: 100%;
  accent-color: var(--accent-strong);
}

input[type="checkbox"] {
  accent-color: var(--accent-strong);
}

select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0 10px;
}

.search-field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #35564f;
  font-size: 12px;
  font-weight: 750;
}

.search-field input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0 11px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.search-field input::placeholder {
  color: #9badad;
}

.toggle-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 12px;
}

.toggle-row label {
  grid-auto-flow: column;
  align-items: center;
  justify-content: start;
  gap: 6px;
  font-weight: 600;
  border: 1px solid #d9ebe4;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f7fbf9;
}

.distance-table-wrap {
  max-height: 300px;
  margin-top: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  scrollbar-color: #bfd9d1 transparent;
}

.distance-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.distance-table th,
.distance-table td {
  padding: 8px 9px;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
  white-space: normal;
}

.distance-table th:first-child,
.distance-table td:first-child {
  width: auto;
}

.distance-table th:last-child,
.distance-table td:last-child {
  width: 190px;
}

.distance-table th {
  position: sticky;
  top: 0;
  background: #f4faf7;
  color: #3d544b;
  font-weight: 750;
  box-shadow: 0 1px 0 #edf0f5;
}

.distance-table tbody tr:nth-child(even) {
  background: #fbfdfc;
}

.distance-table tbody tr:hover {
  background: #eef9f5;
}

.distance-table td:nth-child(2) {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.empty-table-row {
  padding: 16px 10px;
  color: var(--muted);
  text-align: center;
}

.distance-meaning {
  border-radius: 999px;
  padding: 3px 7px;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.distance-extreme {
  background: #25ff00;
}

.distance-very-close {
  background: #9dff31;
}

.distance-close {
  background: #d7ff00;
}

.distance-somewhat-close {
  background: #fff800;
}

.distance-somewhat-distant {
  background: #ffa30a;
}

.distance-distant {
  background: #ff1f10;
}

.distance-table tbody tr td:first-child {
  overflow-wrap: anywhere;
}

.fit-pill {
  min-width: 70px;
  border: 1px solid #bfe1d4;
  border-radius: 999px;
  padding: 6px 10px;
  background: linear-gradient(180deg, #f6fffa, #e8f8f1);
  color: #315145;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.fit-pill.fit-cosmic,
.fit-pill.fit-aurora,
.fit-pill.fit-ocean,
.fit-pill.fit-sunrise,
.fit-pill.fit-ember,
.fit-pill.fit-volcanic {
  border-color: rgba(17, 24, 39, 0.12);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.fit-cosmic {
  background: linear-gradient(135deg, #1137ff, #19d4ff);
}

.fit-aurora {
  background: linear-gradient(135deg, #009f8c, #6affd2);
  color: #092b25;
  text-shadow: none;
}

.fit-ocean {
  background: linear-gradient(135deg, #087496, #55d746);
}

.fit-sunrise {
  background: linear-gradient(135deg, #ffb000, #ff6a2a);
}

.fit-ember {
  background: linear-gradient(135deg, #ff5a1f, #c71f5d);
}

.fit-volcanic {
  background: linear-gradient(135deg, #6d1b7b, #ff1f10);
}

.calculator-picker {
  margin-top: 10px;
}

.ancestral-pie {
  width: 132px;
  aspect-ratio: 1;
  margin: 12px auto 4px;
  border: 10px solid #fff;
  border-radius: 50%;
  background: #e8f1ec;
  box-shadow: 0 16px 34px rgba(15, 64, 75, 0.13), inset 0 0 0 1px rgba(15, 64, 75, 0.08);
}

.ancestral-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.ancestral-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 9px;
  align-items: center;
}

.ancestral-label {
  min-width: 0;
  color: #22332d;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ancestral-value {
  color: #22332d;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: right;
}

.ancestral-bar {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f1ec;
}

.ancestral-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
}

.actions {
  margin-top: auto;
}

.actions button {
  flex: 1;
  min-height: 42px;
  padding: 0 10px;
  background: linear-gradient(135deg, #17231f, #24443a);
  border-color: #17231f;
  color: #fff;
}

.actions button + button {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-color: var(--accent);
}

.stage {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: start;
  height: min(760px, calc(100vh - 36px));
  overflow: hidden;
}

.toolbar {
  min-height: 66px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.toolbar > div {
  display: grid;
  gap: 3px;
}

.stage.is-empty .toolbar > div:first-child {
  justify-items: center;
  text-align: center;
}

.stage.is-empty .toolbar {
  justify-content: center;
}

.stage.is-empty .toolbar .map-buttons {
  display: none;
}

.toolbar .map-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
  overflow: hidden;
  background: #c7efe7;
  cursor: grab;
  touch-action: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.canvas-wrap.dragging {
  cursor: grabbing;
}

canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.tile-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #c7efe7;
}

.tile-layer img {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
}

.map-attribution {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px 6px 6px;
  border: 1px solid rgba(207, 230, 225, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #203d35;
  font-size: 11px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(15, 64, 75, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.osm-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ebc6f, #087496);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.empty-state {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  text-align: center;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(calc(-1 * clamp(24px, 4vh, 38px)));
}

.empty-state-card {
  display: grid;
  justify-items: center;
  gap: clamp(7px, 1.2vw, 12px);
  width: min(440px, 72%);
  margin: auto;
  border: 1px solid rgba(216, 232, 227, 0.9);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(15, 64, 75, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.empty-state strong {
  color: var(--ink);
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.15;
}

.empty-state span {
  max-width: 32ch;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.45;
}

.hidden {
  display: none;
}

@media (max-width: 1280px) {
  .workspace {
    grid-template-columns: minmax(460px, 500px) minmax(0, 1fr);
  }
}

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

  .workspace {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 100vh;
  }

  .sidebar,
  .stage {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sidebar {
    padding: 14px;
  }

  .canvas-wrap {
    border-radius: 0;
    min-height: 70vh;
  }
}

@media print {
  body {
    background: #fff;
  }

  .app-shell {
    padding: 0;
  }

  .workspace {
    display: block;
    min-height: auto;
  }

  .sidebar,
  .stage,
  .panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }

  .sidebar {
    overflow: visible;
  }

  .actions,
  .map-buttons,
  .controls,
  .file-picker-row,
  .primary-button,
  .target-input,
  .privacy-note,
  #rawStatus,
  #targetStatus,
  #historyPanel {
    display: none !important;
  }

  .stage {
    height: auto;
    page-break-before: always;
  }

  .canvas-wrap {
    height: 7in;
    border-radius: 0;
  }

  .distance-table-wrap {
    max-height: none;
    overflow: visible;
  }
}
