:root {
  --ink: #292a27;
  --muted: #77786f;
  --line: #ddded5;
  --paper: #fffcf6;
  --bg: #f4f3ed;
  --accent: #bf482d;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button {
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
a {
  color: inherit;
}
.search-form svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.site-header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 46px;
  gap: 42px;
  background: var(--paper);
}
.brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 34px;
  text-decoration: none;
  letter-spacing: -1.2px;
  display: flex;
  align-items: center;
}
.brand-mark {
  font-size: 44px;
  color: var(--accent);
  margin-right: 13px;
  line-height: 1;
}
.brand-period {
  color: var(--accent);
}
.header-note {
  font-size: 14px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.text-button {
  background: transparent;
  border: 0;
  font-size: 14px;
  padding: 5px 0;
}
.site-header > .text-button {
  margin-left: auto;
}
.text-button:hover {
  color: var(--accent);
}
.text-button span {
  margin-left: 12px;
}
.studio {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  max-width: 1800px;
  margin: auto;
}
.controls {
  padding: 32px 28px 18px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
}
.intro .eyebrow {
  color: var(--accent);
}
h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.7px;
  margin: 15px 0 14px;
}
em {
  font-weight: 400;
}
.intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 26px;
}
.control-section {
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
.control-section h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 17px;
  display: flex;
  gap: 12px;
}
.control-section h2 > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  align-self: center;
}
.search-form {
  display: flex;
  border: 1px solid #cfd0c7;
  border-radius: 4px;
  background: white;
  height: 44px;
}
.search-form:focus-within {
  border-color: var(--accent);
}
.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.search-form button {
  width: 42px;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}
.search-results {
  position: relative;
}
.search-results button {
  display: block;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  width: 100%;
  font-size: 14px;
}
.search-results button:hover {
  background: var(--bg);
}
.search-results p {
  font-size: 14px;
  line-height: 1.5;
}
.place-row {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 13px 0 10px;
  font-size: 13px;
}
.place-row > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.place-row button {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.tiny-cross {
  font-size: 20px;
  color: var(--accent);
}
#map {
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #e5e7df;
  isolation: isolate;
}
.leaflet-tile-pane {
  filter: saturate(0.25);
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
.leaflet-control-zoom a {
  color: var(--ink) !important;
}
.helper {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 9px 0 15px;
}
.range-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 13px;
}
.range-label output {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  margin: 12px 0 0;
  accent-color: var(--accent);
  height: 15px;
  cursor: pointer;
}
.paper-sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.paper-sizes button {
  padding: 12px 0 10px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 3px;
}
.paper-sizes strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.paper-sizes span {
  font-size: 10px;
  display: block;
  color: var(--muted);
  margin-top: 6px;
  white-space: nowrap;
}
.paper-sizes button.selected {
  border-color: var(--accent);
  background: #f9eee6;
  color: var(--accent);
}
.orientation {
  display: flex;
  padding: 4px;
  margin-top: 12px;
  background: #efefe8;
  border-radius: 3px;
  gap: 4px;
}
.orientation button {
  flex: 1;
  background: none;
  border: 0;
  padding: 8px;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 2px;
}
.orientation button.selected {
  background: var(--paper);
  box-shadow: 0 1px 4px #292a2715;
}
.portrait-icon,
.landscape-icon {
  border: 1px solid currentColor;
  width: 10px;
  height: 14px;
  display: block;
}
.landscape-icon {
  width: 14px;
  height: 10px;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin: 16px 0;
}
.artistic-choice { margin: 0 0 22px; }
.artistic-choice > label { display: block; font-size: 14px; margin-bottom: 9px; }
.artistic-choice > select { width: 100%; padding: 11px 10px; border: 1px solid var(--line); border-radius: 3px; background: #faf8f1; color: inherit; font: inherit; font-size: 13px; }
.artistic-choice .helper { font-size: 12px; line-height: 1.55; margin: 9px 0 0; }
.landscape-details[hidden], .artistic-choice .helper[hidden] { display: none; }
.artistic-choice > select:focus-visible { outline: 2px solid #254c69; outline-offset: 3px; }
.setting-row select {
  max-width: 166px;
  border: 1px solid var(--line);
  padding: 7px 8px;
  background: transparent;
  border-radius: 3px;
  font-size: 12px;
}
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin: 19px 0;
  cursor: pointer;
  position: relative;
}
.toggle-row input {
  position: absolute;
  right: 0;
  opacity: 0;
  width: 34px;
  height: 20px;
}
.switch {
  width: 30px;
  height: 18px;
  background: #d4d4cb;
  border-radius: 20px;
  padding: 3px;
}
.switch:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-row input:checked + .switch {
  background: var(--ink);
}
.toggle-row input:checked + .switch:after {
  transform: translateX(12px);
}
.toggle-row input:focus-visible + .switch {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.place-marker-setting {
  padding: 13px 12px;
  margin: 15px 0 19px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8f5ed;
  overflow: hidden;
}
.marker-toggle {
  padding: 13px 12px;
  margin: 0;
}
.marker-toggle > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.marker-toggle small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 400;
}
.marker-controls {
  padding: 11px 0 12px;
  border-top: 1px solid var(--line);
  background: transparent;
}
.marker-controls[hidden] {
  display: none;
}
.marker-controls p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.marker-controls p.is-outside {
  color: var(--accent);
}
.marker-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.marker-swatches {
  display: flex;
  gap: 10px;
  padding: 3px;
}
.marker-swatches button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 5px solid var(--paper);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--swatch);
}
.marker-swatches button.selected {
  outline: 1px solid var(--swatch);
  outline-offset: 2px;
}
.marker-center {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid #bbbcb3;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}
.marker-center:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.home-marker-icon {
  background: transparent;
  border: 0;
}
.home-marker-icon span {
  display: block;
  width: 22px;
  height: 22px;
  border: 3px solid var(--marker-color, #bf482d);
  border-radius: 50%;
  background: #fffaf1cc;
  box-shadow:
    0 0 0 2px #fffaf1d9,
    0 3px 10px #292a2740;
  cursor: grab;
}
.home-marker-icon span:active {
  cursor: grabbing;
}
.home-marker-icon.is-outside span {
  border-style: dashed;
  opacity: 0.68;
}
.swatches {
  display: flex;
  gap: 11px;
  padding: 3px;
}
.swatches button {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: var(--swatch);
}
.swatches button.selected {
  outline: 1px solid var(--swatch);
  outline-offset: 2px;
}
.sidebar-foot {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 4px 0;
}
.workspace {
  padding: 30px 44px 0;
  min-width: 0;
  position: sticky;
  top: 0;
  height: calc(100vh - 10px);
  max-height: 1120px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.workspace-toolbar .eyebrow {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.8px;
}
.workspace-toolbar h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  margin: 5px 0;
}
.preview-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  padding: 8px 12px;
  background: #eeeee6;
  border: 1px solid #ddded3;
  border-radius: 30px;
}
.preview-label > span {
  width: 13px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-45deg);
}
#map-viewer {
  width: calc(100vw - 32px); max-width: 1600px;
  height: calc(100dvh - 32px); max-height: none;
  margin: auto; padding: 0; border: 1px solid #d7d4c9; border-radius: 12px;
  background: #f4f2eb; color: var(--ink); overflow: hidden;
  box-shadow: 0 24px 100px #15191240;
}
#map-viewer[open] { display: flex; flex-direction: column; }
#map-viewer::backdrop { background: #22251ee0; }
.map-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #dedbd1; }
.map-viewer-header .eyebrow { font-size: 9px; letter-spacing: 1.8px; color: var(--muted); }
#map-viewer-title { font: 400 30px/1.1 "Instrument Serif", Georgia, serif; margin: 5px 0 0; overflow-wrap: anywhere; }
#close-map-viewer { flex: none; width: 44px; height: 44px; border: 1px solid #d7d4c9; border-radius: 50%; background: transparent; font-size: 26px; color: var(--ink); }
#map-viewer-stage { flex: 1; min-height: 0; position: relative; overflow: hidden; touch-action: none; cursor: grab; background: #e7e5dd; }
#map-viewer-stage.is-dragging { cursor: grabbing; }
#map-viewer-image { position: absolute; left: 50%; top: 50%; max-width: none; display: block; transform-origin: center; box-shadow: 0 8px 32px #24251f26; pointer-events: none; user-select: none; }
.map-viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; border-top: 1px solid #dedbd1; }
#map-viewer-help { margin: 0; font-size: 12px; color: var(--muted); }
.map-viewer-controls { display: flex; align-items: center; gap: 5px; flex: none; }
.map-viewer-controls button { height: 44px; min-width: 44px; border: 1px solid #d7d4c9; background: #faf8f1; border-radius: 5px; color: var(--ink); font-size: 22px; }
.map-viewer-controls button:disabled { opacity: .35; cursor: default; }
.map-viewer-controls output { min-width: 60px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
#map-zoom-fit { font-size: 12px; padding: 0 12px; margin-left: 6px; }
#map-viewer button:focus-visible, #map-viewer-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 600px) {
  #map-viewer { width: 100vw; height: 100dvh; max-width: 100vw; border-radius: 0; border: 0; }
  .map-viewer-header { padding: 12px 16px; }
  .map-viewer-footer { flex-direction: column-reverse; gap: 8px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); }
  #map-viewer-title { font-size: 26px; }
  #map-viewer-help { font-size: 11px; }
}
.artboard {
  flex: 1;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 40px 24px;
}
.paper {
  flex: none;
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 297/420;
  background: var(--paper);
  box-shadow:
    0 3px 4px #3031240b,
    0 15px 32px #30312414,
    0 40px 65px #3031240a;
  position: relative;
  border: 1px solid #e9e7de;
  transition: opacity 0.2s;
}
.paper svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: initial;
}
.paper:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.paper.can-zoom { cursor: zoom-in; }
.paper.placing-marker, #map.placing-marker, #map.placing-marker .leaflet-interactive { cursor: crosshair; }
.paper:has(#place-marker), .paper.placing-marker { touch-action: none; }
.marker-heading { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.marker-heading > span { font-size: 11px; color: var(--muted); }
.marker-add { width: 100%; text-align: left; padding: 12px; border: 1px dashed #bab7ab; border-radius: 5px; background: transparent; color: var(--accent); font-size: 13px; }
.marker-add:hover { background: #f0ede4; }
.marker-add[hidden] { display: none; }
.marker-controls .setting-row { margin-top: 12px; }
.marker-actions { justify-content: flex-start; gap: 8px; }
.marker-center { min-height: 36px; }
.marker-swatches button { min-width: 26px; min-height: 26px; }
.home-marker-icon span.dot { background: var(--marker-color); border: 2px solid white; }
.paper-colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.paper-colors button { min-width: 0; background: transparent; border: 1px solid transparent; border-radius: 5px; padding: 4px; font-size: 10px; color: var(--ink); }
.paper-colors button > span { display: grid; place-items: center; height: 52px; border: 1px solid #8884; background: var(--stock); color: var(--stock-ink); font: 34px Georgia, serif; margin-bottom: 7px; box-shadow: 0 2px 3px #0001; }
.paper-colors button.selected { border-color: var(--accent); background: #bf482d08; }
.paper-colors + .helper { margin: 10px 0 20px; }
.landscape-details { border-left: 2px solid #deddd3; padding-left: 12px; margin: 12px 0 18px; }
.landscape-details select { max-width: 165px; }
.landscape-details .helper { font-size: 11px; }
.drawing-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; padding: 8px 0 15px; font-size: 11px; color: var(--muted); }
.drawing-legend span { display: inline-flex; align-items: center; gap: 6px; }
.drawing-legend i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #8885; }
.swatches button { min-width: 24px; min-height: 24px; }
.paper.stale {
  opacity: 0.55;
}
.initial-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.initial-state p {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 26px;
}
.initial-state > span:not(.drawing-symbol) {
  font-size: 13px;
  opacity: 0.7;
}
.initial-state button {
  margin-top: 18px;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 3px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
}
.drawing-symbol {
  font-size: 70px;
  color: var(--accent);
}
.initial-state.is-busy .drawing-symbol {
  animation: drawing-pulse 1.6s ease-in-out infinite;
}
@keyframes drawing-pulse {
  50% { opacity: 0.35; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .initial-state.is-busy .drawing-symbol { animation: none; }
}
.paper-width {
  position: absolute;
  top: 19px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.paper-height {
  position: absolute;
  right: 7px;
  top: 48%;
  writing-mode: vertical-rl;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.north {
  position: absolute;
  top: 25px;
  left: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--muted);
}
.north span {
  font-size: 23px;
  font-family: Georgia, serif;
}
.artboard-note {
  flex: none;
  padding: 8px 0 12px;
  text-align: center;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.35;
  color: #89897d;
}
.drawing-meta {
  display: flex;
  justify-content: space-between;
  padding: 17px 0 22px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.4px;
  gap: 12px;
}
.export-panel {
  border-top: 1px solid #d8d9cf;
  padding: 22px 0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  flex: none;
}
.export-copy strong {
  font-size: 14px;
  font-weight: 600;
}
.export-copy p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.5;
  max-width: 330px;
}
.export-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.primary-button,
.secondary-button {
  border: 1px solid var(--ink);
  padding: 14px 17px;
  font-size: 13px;
  border-radius: 3px;
  white-space: nowrap;
}
.primary-button {
  background: var(--ink);
  color: #fffaf1;
}
.primary-button:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}
.primary-button span {
  margin-left: 18px;
  font-size: 19px;
}
.secondary-button {
  background: transparent;
  border-color: #cccdc2;
}
.secondary-button:hover {
  background: #e9e9df;
}
.workspace-foot {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  color: #88897c;
  padding: 16px 0 20px;
}
.workspace-foot a {
  text-underline-offset: 3px;
}
dialog {
  max-width: 510px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  padding: 42px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #292a2759;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font:
    44px/1.05 "Instrument Serif",
    Georgia,
    serif;
  margin: 22px 0;
}
dialog p {
  font-size: 15px;
  line-height: 1.65;
  color: #63645c;
}
dialog a {
  font-size: 12px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 28px;
  border: 0;
  background: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1450px) {
  .studio {
    grid-template-columns: 390px minmax(0, 1fr);
  }
  .controls {
    padding: 38px 36px;
  }
  .workspace {
    padding: 36px 65px 0;
  }
  .artboard {
    padding-top: 42px;
  }
  .artboard-note {
    font-size: 19px;
  }
  h1 {
    font-size: 46px;
  }
  #map {
    height: 240px;
  }
}
@media (max-width: 1100px) {
  .workspace {
    padding: 26px 26px 0;
  }
  .export-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .export-actions {
    width: 100%;
  }
  .export-actions button {
    flex: 1;
  }
  .artboard-note {
    display: none;
  }
  .studio {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .controls {
    padding: 28px 22px;
  }
  .header-note {
    display: none;
  }
  .workspace-foot {
    flex-direction: column;
    gap: 6px;
  }
  .drawing-meta {
    font-size: 10px;
  }
}
@media (max-width: 730px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }
  .brand {
    font-size: 29px;
  }
  .site-header > .text-button {
    font-size: 12px;
  }
  .studio {
    display: flex;
    flex-direction: column;
  }
  .controls {
    border-right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
    padding: 24px 20px 8px;
  }
  .intro {
    grid-column: 1/-1;
  }
  .intro h1 {
    font-size: 38px;
    line-height: 1.05;
  }
  .intro h1 br {
    display: none;
  }
  .intro p {
    margin-bottom: 22px;
  }
  .control-section:first-of-type {
    grid-column: 1/-1;
  }
  #map {
    height: 270px;
  }
  .sidebar-foot {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .workspace {
    position: relative;
    min-height: 850px;
    height: 1000px;
    max-height: none;
    padding: 25px 20px 0;
    border-top: 1px solid var(--line);
  }
  .artboard {
    padding: 42px 26px 22px;
  }
  .drawing-meta {
    font-size: 11px;
  }
  .export-panel {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .workspace-foot {
    font-size: 11px;
  }
  .paper-sizes {
    grid-template-columns: repeat(3, 1fr);
  }
  .paper-sizes span {
    font-size: 11px;
  }
  .setting-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .toggle-row {
    font-size: 12px;
    gap: 10px;
  }
  .toggle-row span:first-child {
    max-width: 110px;
  }
  .range-label {
    font-size: 12px;
  }
  .orientation button {
    font-size: 11px;
    padding: 7px 3px;
    gap: 6px;
  }
  .control-section h2 {
    font-size: 14px;
    gap: 8px;
  }
  .preview-label {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
