/* The tutorial phone is an interactive, self-contained preview of the iOS app. */
.tutorial-page > .scanline {
  display: none;
}

.tutorial-page > .tactical-grid {
  opacity: 0.35;
}

.tutorial-page-shell {
  gap: 2.4rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.tutorial-page-heading h1 {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  letter-spacing: -0.055em;
}

.tutorial-page-heading p:not(.eyebrow) {
  max-width: 53ch;
}

.tutorial-browser {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px) minmax(0, 1fr);
  grid-template-areas: "left phone right";
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}

.tutorial-menu {
  padding-top: 5.6rem;
  gap: 0.85rem;
}

.tutorial-layout {
  grid-template-columns: minmax(320px, 370px) minmax(0, 1fr);
  align-items: center;
}

.tutorial-layout > .tutorial-player {
  grid-area: auto;
}

.tutorial-player {
  min-width: 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.tutorial-player .tutorial-phone {
  width: min(100%, 350px);
  border: 8px solid #171b19;
  border-radius: 48px;
  box-shadow: 0 2px 0 1px #69716c, 0 28px 70px -24px rgba(19, 38, 26, 0.46);
}

.tutorial-phone::before {
  top: 11px;
  z-index: 15;
  width: 31%;
  height: 24px;
  background: #111413;
}

.tutorial-phone .iphone-screen {
  min-height: 650px;
  aspect-ratio: auto;
  border-radius: 39px;
  isolation: isolate;
  background: #e5e7db;
}

.tutorial-screen noscript {
  display: block;
  padding: 5rem 1.25rem;
  color: #17271b;
}

.demo-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 26px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.demo-mode > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(25, 185, 87, 0.1);
}

.tutorial-card {
  min-height: 118px;
  gap: 0.3rem 0.8rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(16, 24, 20, 0.035);
}

.tutorial-card strong {
  font-size: 0.91rem;
  line-height: 1.3;
}

.tutorial-card small {
  font-size: 0.78rem;
  line-height: 1.4;
}

.tutorial-card em {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 0.15rem;
  font-size: 0.72rem;
}

.tutorial-card.is-selected {
  border-color: #139948;
  background: #eff9f0;
  box-shadow: 0 0 0 1px rgba(19, 153, 72, 0.12), 0 6px 24px rgba(19, 153, 72, 0.08);
}

.tutorial-card.is-selected em::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.app-tool-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: contain;
  vertical-align: middle;
}

.tutorial-card > .app-tool-icon {
  grid-row: 1 / 4;
  width: 30px;
  height: 30px;
}

.demo-app {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #182019;
  font: 13px / 1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

.demo-app button,
.demo-app input,
.demo-app select,
.demo-app textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.demo-app button {
  cursor: pointer;
  touch-action: manipulation;
}

.demo-app button:focus-visible,
.demo-app input:focus-visible,
.demo-app select:focus-visible,
.demo-app textarea:focus-visible,
.demo-guide button:focus-visible {
  outline: 3px solid #006fe8;
  outline-offset: 2px;
}

.demo-app svg {
  display: block;
  flex-shrink: 0;
}

.demo-map-pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.demo-status {
  position: absolute;
  z-index: 12;
  top: 13px;
  left: 23px;
  right: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #151b16;
  font-size: 12px;
  font-weight: 750;
}

.demo-status > :last-child {
  display: flex;
  align-items: center;
  gap: 4px;
}

.demo-status svg {
  width: 16px;
  height: 16px;
}

.demo-map,
.demo-map-features {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.demo-map {
  background: #e5e7db url("assets/images/demo-terrain.svg") center / cover no-repeat;
  transition: filter 180ms ease;
}

.demo-map.is-standard {
  filter: saturate(0.4) brightness(1.045);
}

#demo-features {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-map > svg {
  width: 100%;
  height: 100%;
}

.demo-map-features {
  pointer-events: none;
}

.demo-map-path {
  fill: none;
  stroke: #007bff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.7));
}

.demo-map-zone {
  fill: rgba(34, 157, 71, 0.22);
  stroke: #258a46;
  stroke-width: 3;
  stroke-linejoin: round;
}

.demo-map-grid {
  stroke: #55645c;
  stroke-width: 0.65;
  stroke-dasharray: 5 5;
  fill: none;
  opacity: 0.55;
}

.demo-connection {
  position: absolute;
  top: 56px;
  left: 12px;
  max-width: calc(100% - 82px);
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 9px rgba(29, 41, 29, 0.05);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.5;
}

.demo-connection strong {
  display: block;
  color: #26873b;
  font-size: 10px;
}

.demo-connection small {
  display: block;
  font-size: 9px;
}

.demo-connection > span {
  display: block;
}

.demo-compass {
  position: absolute;
  top: 58px;
  right: 13px;
  display: grid;
  width: 36px;
  height: 36px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 2px 8px rgba(25, 40, 28, 0.1);
  font-size: 11px;
  font-weight: 750;
  font-size: 9px;
  line-height: 1;
}

.demo-compass > span {
  color: #d44342;
  font-size: 15px;
  line-height: 1;
}

.demo-compass svg {
  width: 22px;
  height: 22px;
}

.demo-map-target {
  position: absolute;
  z-index: 2;
  left: 48%;
  top: 59%;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 30px);
  min-height: 44px;
  padding: 8px 12px;
  transform: translate(-50%, -50%);
  border: 1.5px solid #116bdd;
  border-radius: 12px;
  background: #fff;
  color: #075bbf;
  box-shadow: 0 4px 18px rgba(10, 42, 79, 0.2), 0 0 0 5px rgba(40, 126, 230, 0.1);
  font-weight: 650;
}

.demo-map-target > span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.demo-map-target > small {
  font-size: 11px;
  white-space: nowrap;
}

.demo-location-dot {
  position: absolute;
  top: 76%;
  left: 39%;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0c87ff;
  box-shadow: 0 0 0 9px rgba(12, 135, 255, 0.12), 0 1px 4px rgba(35, 73, 101, 0.3);
  pointer-events: none;
}

.demo-map-scale {
  position: absolute;
  top: 111px;
  left: 15px;
  width: 50px;
  border-right: 1px solid #778575;
  border-bottom: 1px solid #778575;
  border-left: 1px solid #778575;
  color: #5f6b5c;
  font-size: 8px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px white;
  pointer-events: none;
}

.demo-map-target svg {
  width: 20px;
  height: 20px;
}

.demo-marker {
  position: absolute;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.demo-marker > span,
.demo-marker > strong,
.demo-marker > small {
  max-width: 180px;
  overflow: hidden;
  border-radius: 5px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #202921;
  box-shadow: 0 1px 5px rgba(29, 45, 33, 0.16);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-marker svg {
  width: 25px;
  height: 25px;
  filter: drop-shadow(0 2px 2px rgba(31, 49, 32, 0.18));
}

.demo-panel {
  position: absolute;
  z-index: 4;
  top: auto;
  bottom: 90px;
  right: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  max-height: min(72%, 440px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 9px 26px rgba(33, 44, 34, 0.18), 0 1px 3px rgba(33, 44, 34, 0.08);
}

.demo-panel-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  border-bottom: 1px solid #e6e8e7;
  padding: 10px 10px 10px 14px;
}

.demo-panel-header > svg,
.demo-panel-header > [data-icon],
.demo-panel-header > .app-tool-icon {
  width: 24px;
  height: 24px;
  color: #1d2420;
}

.demo-panel-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.demo-panel-title strong {
  display: block;
  font-size: 15px;
}

.demo-panel-title strong:focus {
  outline: none;
}

.demo-panel-title strong:focus-visible {
  outline: 2px solid #3274b8;
  outline-offset: 3px;
  border-radius: 2px;
}

.demo-panel-title small {
  display: block;
  margin-top: 3px;
  color: #657069;
  font-size: 10px;
  font-weight: 500;
}

.demo-panel-header > button {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #282f29;
  padding: 7px;
  font-size: 23px;
}

.demo-panel-header > button .app-tool-icon {
  width: 18px;
  height: 18px;
}

.demo-panel-header > button:hover {
  background: #f1f3f1;
}

.demo-panel-header > button svg {
  width: 18px;
  height: 18px;
}

.demo-close {
  line-height: 1;
}

.demo-panel-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: #c8d0ca transparent;
}

.demo-panel-body > :first-child {
  margin-top: 0;
}

.demo-panel-body > :last-child {
  margin-bottom: 0;
}

.demo-section-label {
  display: block;
  margin: 14px 0 8px;
  color: #252e27;
  font-size: 11px;
  font-weight: 750;
}

.demo-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0 0 11px;
  color: #3e4941;
  font-size: 11px;
  font-weight: 600;
}

.demo-field input,
.demo-field select,
.demo-field textarea,
.demo-panel-body > input,
.demo-panel-body > select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #dfe4e0;
  border-radius: 8px;
  background: #f9faf9;
  color: #202821;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 400;
}

.demo-field textarea {
  min-height: 65px;
  resize: vertical;
}

.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
  border-color: #0b77ec;
  background: #fff;
}

.demo-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 45px;
  margin-bottom: 8px;
  border: 1px solid #e6eae7;
  border-radius: 9px;
  padding: 9px;
  background: #fbfcfb;
}

.demo-row > svg,
.demo-row > [data-icon] {
  width: 22px;
  height: 22px;
  color: #187be6;
}

.demo-row > div,
.demo-row > span:not([data-icon]) {
  min-width: 0;
  flex: 1;
}

.demo-row strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.demo-row small {
  display: block;
  margin-top: 3px;
  color: #737b76;
  font-size: 10px;
  line-height: 1.35;
}

.demo-tool-grid {
  display: grid;
  gap: 6px;
}

.demo-tool-grid .demo-row {
  width: 100%;
  min-height: 47px;
  margin-bottom: 0;
  color: #26342a;
  text-align: left;
  font-size: 12px;
}

.demo-tool-grid .demo-row:hover {
  background: #eaf2eb;
  border-color: #c8dbcc;
}

.demo-tool-grid .demo-row > [data-icon] {
  flex: 0 0 22px;
}

.demo-tool-grid .demo-row > span:last-child {
  flex: 0 0 auto;
  color: #94a095;
  font-size: 20px;
}

.demo-row > input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  accent-color: #168049;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.demo-actions > button {
  flex: 1;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #181c19;
  color: #fff;
  padding: 10px 12px;
  font-weight: 650 !important;
  line-height: 1.3;
  text-align: center;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.demo-button:hover {
  background: #343c36;
}

.demo-button.danger {
  background: #d62e42;
}

.demo-button.danger:hover {
  background: #b92034;
}

.demo-button.secondary {
  border-color: #e0e8e2;
  background: #f2f5f2;
  color: #287644;
}

.demo-button.secondary:hover {
  background: #e6eee7;
}

.demo-button:disabled {
  cursor: default;
  background: #e8eeea;
  color: #79867c;
  box-shadow: none;
}

.demo-button svg,
.demo-button > [data-icon] {
  width: 17px;
  height: 17px;
}

.demo-panel-body > .demo-button,
.demo-panel-body form > .demo-button {
  width: 100%;
  margin-top: 8px;
}

.demo-panel-body form[data-form="medevac"] > .demo-button,
.demo-button[data-action="complete"]:has(+ .demo-button[data-action="edit-medevac"]),
.demo-button[data-action="stop-record"] {
  background: #c93142;
}

.demo-medevac-banner {
  border-radius: 7px;
  background: #cd3443;
  padding: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
}

.demo-symbols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.demo-choice {
  display: grid;
  min-width: 0;
  min-height: 43px;
  place-items: center;
  gap: 4px;
  border: 1px solid #e1e6e2;
  border-radius: 8px;
  background: #fff;
  color: #57655b;
  padding: 6px;
}

.demo-choice[aria-pressed="true"] {
  border-color: #758479;
  background: #e9eee9;
  box-shadow: inset 0 0 0 1px #758479;
  color: #183f26;
}

.demo-choice svg {
  width: 24px;
  height: 24px;
}

.demo-choice span {
  font-size: 9px;
}

.demo-symbol,
.demo-marker > .demo-symbol {
  display: block;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border: 2px solid #262c27;
  border-radius: 1px;
  padding: 0;
  background: #42b966;
  box-shadow: none;
}

.demo-symbol.symbol-1 {
  width: 25px;
  height: 18px;
  background: #57bce0;
}

.demo-symbol.symbol-2 {
  width: 21px;
  height: 21px;
  transform: rotate(45deg);
  background: #ed3756;
}

.demo-symbol.symbol-3 {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M10 9C5 0 25 0 20 9C29 4 29 24 20 19C25 28 5 28 10 19C1 24 1 4 10 9Z' fill='%23f6cf38' stroke='%23262c27' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.demo-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: #eef0ed;
}

.demo-tab {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 7px 4px;
  background: transparent;
  color: #606b63;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.demo-tab[aria-selected="true"],
.demo-tab.is-current {
  background: #fff;
  color: #222e25;
  box-shadow: 0 1px 4px rgba(26, 45, 32, 0.12);
}

.demo-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 47px;
  border-bottom: 1px solid #ecf0ed;
  padding: 8px 0;
  color: #29362e;
  cursor: pointer;
}

.demo-switch input[type="checkbox"] {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 25px;
  margin: 0;
  border: 0;
  border-radius: 15px;
  appearance: none;
  background: #dce1dc;
  cursor: pointer;
  transition: background 150ms ease;
}

.demo-switch input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 32, 24, 0.2);
  transition: transform 150ms ease;
}

.demo-switch input[type="checkbox"]:checked {
  background: #34b969;
}

.demo-switch input[type="checkbox"]:checked::after {
  transform: translateX(17px);
}

.demo-switch small {
  display: block;
  color: #737e76;
  font-size: 10px;
}

.demo-note {
  margin: 9px 0;
  border-radius: 7px;
  background: #f2f5f2;
  color: #657068;
  padding: 8px 9px;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.demo-success {
  margin: 10px 0;
  border: 1px solid #cee8d4;
  border-radius: 10px;
  background: #eff9f0;
  color: #20703a;
  padding: 11px;
  font-size: 12px;
  line-height: 1.45;
}

.demo-success strong {
  display: block;
  margin-bottom: 4px;
}

.demo-success svg {
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
}

.demo-success > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 50%;
  background: #d9f0dd;
  font-size: 19px;
}

.demo-success > p {
  margin: 4px 0 0;
  font-size: 11px;
}

.demo-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 11px 0;
}

.demo-stat {
  min-width: 0;
  border: 1px solid #e4eae5;
  border-radius: 9px;
  background: #f8faf8;
  padding: 12px 8px;
  text-align: center;
}

.demo-stat strong {
  display: block;
  color: #283d2d;
  font-size: 21px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.demo-stat small {
  display: block;
  margin-top: 3px;
  color: #748076;
  font-size: 10px;
}

.demo-progress progress {
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  accent-color: #27a756;
}

.demo-progress {
  display: grid;
  gap: 12px;
  padding: 12px 0 0;
}

.demo-progress > strong {
  font-size: 14px;
}

.demo-progress > span {
  color: #278746;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

progress.demo-progress::-webkit-progress-bar,
.demo-progress progress::-webkit-progress-bar {
  background: #e7ede8;
  border-radius: 6px;
}

progress.demo-progress::-webkit-progress-value,
.demo-progress progress::-webkit-progress-value {
  background: #27a756;
  border-radius: 6px;
}

.demo-bottom-bar {
  position: absolute;
  z-index: 5;
  right: 11px;
  bottom: 24px;
  left: 11px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  background: rgba(253, 254, 252, 0.9);
  padding: 5px;
  box-shadow: 0 4px 18px rgba(36, 50, 38, 0.12);
  backdrop-filter: blur(18px);
}

.demo-bottom-bar button {
  display: grid;
  flex: 1;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #416749;
  padding: 5px 2px;
  font-size: 9px;
  font-weight: 600;
}

.demo-bottom-bar button:hover,
.demo-bottom-bar button[aria-pressed="true"],
.demo-bottom-bar button.is-active {
  background: #eaf2e9;
  color: #175c2f;
}

.demo-bottom-bar svg,
.demo-bottom-bar [data-icon] {
  width: 22px;
  height: 22px;
}

.demo-draw-target {
  position: absolute;
  z-index: 2;
  top: 143px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 40px;
  border: 1px solid #c2d0c4;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 12px;
  color: #315f3e;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(28, 46, 32, 0.12);
}

.demo-draw-controls,
.demo-record-controls {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 98px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 9px;
  box-shadow: 0 4px 18px rgba(33, 51, 37, 0.13);
  backdrop-filter: blur(12px);
}

.demo-draw-controls > span,
.demo-record-controls > span {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
}

.demo-draw-controls > .demo-button,
.demo-record-controls > .demo-button {
  min-width: 0;
  min-height: 40px;
  padding: 9px 10px;
  font-size: 11px;
}

.demo-record-controls strong,
.demo-record-controls small {
  display: block;
}

.demo-record-controls strong {
  margin-bottom: 5px;
  color: #a3353e;
}

.demo-record-controls small {
  color: #788579;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.demo-reopen {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 98px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  color: #273a2d;
  padding: 10px 12px;
  box-shadow: 0 3px 16px rgba(37, 54, 41, 0.12);
  font-weight: 650;
}

.demo-reopen > [data-icon] {
  width: 19px;
  height: 19px;
}

.demo-home-indicator {
  position: absolute;
  z-index: 10;
  bottom: 9px;
  left: 50%;
  width: 34%;
  height: 4px;
  border-radius: 5px;
  background: #111912;
  transform: translateX(-50%);
}

.demo-toast {
  position: absolute;
  z-index: 8;
  right: 15px;
  bottom: 157px;
  left: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  background: rgba(247, 253, 247, 0.96);
  color: #255f36;
  padding: 10px 12px;
  box-shadow: 0 4px 16px rgba(20, 42, 27, 0.12);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.demo-guide {
  width: min(100%, 350px);
  margin: 20px auto 0;
}

.demo-guide:empty {
  display: none;
}

.demo-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.demo-guide-heading strong {
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.3;
}

.demo-guide-heading button {
  flex-shrink: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--green-dark);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.demo-guide-heading button:hover {
  background: #fff;
  border-color: #81ad8c;
}

.demo-steps {
  display: flex;
  gap: 6px;
  margin-top: 13px;
}

.demo-steps > span {
  flex: 1;
  min-width: 0;
  border-top: 3px solid #d9e1d9;
  padding-top: 6px;
  color: #788079;
  font-size: 0.65rem;
  line-height: 1.3;
}

.demo-steps b {
  display: inline-block;
  margin-right: 5px;
  font-size: 0.64rem;
}

.demo-steps > .is-current {
  border-color: #139a45;
  color: #146732;
  font-weight: 750;
}

.demo-steps > .is-complete {
  border-color: #78bc8b;
  color: #4e7559;
}

.demo-guide p {
  min-height: 2.9em;
  margin: 11px 0 9px;
  color: #516257;
  font-size: 0.76rem;
  line-height: 1.5;
}

.demo-disclaimer {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: #798278;
  font-size: 0.64rem;
  line-height: 1.5;
}

/* Preserve the native tool hierarchy: menus, saved items, then their editor. */
.demo-map-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.demo-tools-screen {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 90px;
  left: 12px;
  height: 330px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d8ddd9;
  border-radius: 18px;
  background: #fff;
  padding: 17px 14px;
  box-shadow: 0 8px 28px rgba(26, 34, 29, 0.2);
  scrollbar-width: thin;
  scrollbar-color: #d0d6d1 transparent;
}

.demo-tools-screen .demo-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #dce1dd;
  border-left: 1px solid #dce1dd;
}

.demo-tool-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 76px;
  border: 0;
  border-right: 1px solid #dce1dd;
  border-bottom: 1px solid #dce1dd;
  background: #fff;
  color: #19201b;
  padding: 8px 3px;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.15;
  text-align: center;
}

.demo-tool-tile .app-tool-icon {
  width: 25px;
  height: 25px;
}

.demo-tool-tile span {
  max-width: 100%;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.demo-tool-tile:hover,
.demo-tool-tile[aria-pressed="true"] {
  background: #eef1ee;
}

.demo-panel:has(.demo-icon-picker),
.demo-panel.demo-route-editor,
.demo-panel-waypoint,
.demo-panel-draw,
.demo-panel:has([data-form="draw"]) {
  max-height: calc(100% - 155px);
}

.demo-panel-header {
  gap: 8px;
}

.demo-panel-header > button {
  background: #f5f6f5;
}

.demo-symbols .demo-choice img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.demo-icon-picker {
  margin-top: 10px;
}

.demo-icon-picker > button,
.demo-icon-groups > button,
.demo-icon-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 43px;
  border: 1px solid #e5e9e5;
  border-radius: 8px;
  background: #f5f7f5;
  color: #242d26;
  padding: 9px;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.3;
  text-align: left;
}

.demo-icon-picker > button small,
.demo-icon-groups > button small {
  display: block;
  margin-top: 2px;
  color: #737c75;
  font-size: 10px;
  font-weight: 500;
}

.demo-icon-picker input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  margin: 10px 0;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  background: #f7f9f6;
  color: #202a22;
  padding: 9px 10px;
  appearance: none;
}

.demo-icon-groups {
  display: grid;
  gap: 6px;
  margin: 9px 0;
}

.demo-icon-groups > button[aria-pressed="true"],
.demo-icon-groups > button[aria-expanded="true"] {
  border-color: #aebbb0;
  background: #e9eee9;
}

.demo-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 9px 0;
}

.demo-icon-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 65px;
  border: 1px solid #e0e6e0;
  border-radius: 8px;
  background: #f3f5f2;
  color: #273328;
  padding: 7px 4px;
}

.demo-icon-option img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.demo-icon-option small {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-icon-option[aria-pressed="true"] {
  border-color: #161c17;
  background: #202820;
  color: #fff;
  box-shadow: 0 0 0 1px #202820;
}

.demo-icon-more {
  justify-content: center;
  margin-top: 8px;
  text-align: center;
}

.demo-marker > img.demo-waypoint-icon,
img.demo-waypoint-icon {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  max-width: 28px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(14, 27, 18, 0.3));
}

.demo-row > .app-tool-icon,
.demo-action-row > .app-tool-icon,
.demo-record-row > .app-tool-icon {
  width: 23px;
  height: 23px;
}

.demo-record-row {
  display: block;
  min-height: 53px;
  margin-bottom: 8px;
  border: 1px solid #e4e9e4;
  border-radius: 9px;
  background: #f8faf7;
  padding: 5px;
}

.demo-record-main {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  min-width: 0;
}

.demo-panel-body > .demo-record-main {
  min-height: 51px;
  margin-bottom: 8px;
  border: 1px solid #e5eae4;
  border-radius: 8px;
  background: #f7f9f6;
  padding: 4px;
}

.demo-record-focus {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 43px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #223127;
  padding: 6px;
  text-align: left;
}

.demo-record-focus > img {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
}

.demo-record-focus > span {
  flex: 1;
  min-width: 0;
}

.demo-record-focus strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.demo-record-focus small {
  display: block;
  margin-top: 3px;
  color: #748176;
  font-size: 10px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.demo-row-eye,
.demo-row-more {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #314b38;
  padding: 6px;
  font-size: 16px !important;
  line-height: 1;
}

.demo-row-eye[aria-pressed="false"] {
  color: #929c93;
}

.demo-record-focus:hover,
.demo-row-eye:hover,
.demo-row-more:hover {
  background: #e8efe8;
}

.demo-action-row,
.demo-record-row > button:first-child {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 43px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #1e2a21;
  padding: 7px;
  text-align: left;
}

.demo-panel-body > .demo-action-row,
.demo-panel-body form > .demo-action-row {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid #e4e9e4;
  border-radius: 9px;
  background: #f6f8f5;
}

.demo-action-row:hover,
.demo-record-row > button:hover {
  background: #edf2ec;
}

.demo-action-row > span,
.demo-action-row > div,
.demo-record-row > button:first-child > span,
.demo-record-row > button:first-child > div {
  flex: 1;
  min-width: 0;
}

.demo-action-row strong,
.demo-record-row strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.demo-action-row small,
.demo-record-row small {
  display: block;
  margin-top: 3px;
  color: #788178;
  font-size: 10px;
  line-height: 1.3;
}

.demo-action-row > span[aria-hidden="true"],
.demo-record-row > button:first-child > span[aria-hidden="true"] {
  flex: 0 0 auto;
}

.demo-row-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  border-top: 1px solid #e1e8e1;
  padding-top: 6px;
}

.demo-row-actions button,
.demo-record-row > button:not(:first-child) {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3c5541;
  padding: 8px;
}

.demo-row-actions button .app-tool-icon {
  width: 18px;
  height: 18px;
}

.demo-row-actions > .demo-button {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 40px;
  height: auto;
  border: 1px solid #e1e8e1;
  background: #f0f4ef;
  padding: 8px 3px;
  color: #3c6046;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.demo-row-actions > [data-action^="delete:"] {
  background: #fff2f1;
  color: #a33e46;
}

.demo-list-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 27px 12px;
  color: #879187;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.demo-list-empty .app-tool-icon {
  width: 30px;
  height: 30px;
  opacity: 0.45;
}

.demo-list-empty strong {
  color: #626e62;
  font-size: 13px;
}

.demo-segmented {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0;
}

.demo-segmented > button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  background: #f3f6f2;
  color: #344338;
  padding: 7px 3px;
  font-size: 10px;
  font-weight: 600;
}

.demo-segmented > button .app-tool-icon,
.demo-segmented > button svg {
  width: 19px;
  height: 19px;
}

.demo-segmented > button[aria-pressed="true"],
.demo-segmented > button[aria-selected="true"] {
  border-color: #242b25;
  background: #242b25;
  color: #fff;
}

.demo-segmented > button[aria-pressed="true"] .app-tool-icon {
  filter: invert(1);
}

.demo-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 8px -2px;
}

.demo-palette > button {
  position: relative;
  flex: 1 0 22px;
  min-width: 22px;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 2px;
}

.demo-palette > button::before {
  content: "";
  position: absolute;
  inset: 6px 1px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  background: var(--swatch, #148dea);
}

.demo-palette > button[aria-pressed="true"]::before {
  border: 2px solid #172419;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #526456;
}

.demo-field input[type="range"] {
  min-height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
  accent-color: #252e26;
  cursor: pointer;
}

.demo-field output {
  color: #737e75;
  font-variant-numeric: tabular-nums;
}

.demo-route-editor {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demo-route-editor .demo-field,
.demo-route-editor .demo-record-row {
  margin-bottom: 0;
}

.demo-map-controls {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 98px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  padding: 8px;
  box-shadow: 0 4px 20px rgba(30, 45, 34, 0.15);
}

.demo-map-controls > span {
  flex: 1 0 100%;
  color: #526556;
  font-size: 10px;
  text-align: center;
}

.demo-map-controls > button {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 9px 6px;
  font-size: 11px;
}

.demo-map-controls > [data-action="cancel-map"] {
  flex: 0 0 40px;
  border: 0;
  border-radius: 8px;
  background: #eff2ed;
  color: #425842;
  font-size: 21px;
  line-height: 1;
}

.demo-selection-point {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2a7db6;
  color: #fff;
  padding: 5px;
  box-shadow: 0 1px 7px rgba(31, 62, 76, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.demo-selection-point .app-tool-icon {
  width: 21px;
  height: 21px;
}

.demo-marker.demo-selection-point {
  z-index: 1;
  width: 44px;
  min-height: 44px;
  height: auto;
  gap: 3px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 4px;
  box-shadow: none;
  pointer-events: auto;
}

.demo-marker.demo-selection-point > small {
  max-width: 160px;
  pointer-events: none;
}

.demo-panel-body > form {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.demo-panel-body > form > .demo-field,
.demo-panel-body > form > .demo-button,
.demo-panel-body > form > .demo-action-row,
.demo-panel-body > form > .demo-note {
  margin: 0;
}

.demo-panel-body > form > .demo-section-label {
  margin: 3px 0 0;
}

.demo-note:empty {
  display: none;
}

.demo-panel-body > form.demo-create-list {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 7px;
  margin-bottom: 17px;
}

.demo-create-list > .demo-button {
  max-width: 120px;
  min-height: 40px;
  padding: 9px;
  font-size: 11px;
}

.demo-waypoint-group {
  min-height: 46px;
  margin-top: 13px;
  border-radius: 8px;
}

.demo-waypoint-group > .demo-section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
}

.demo-waypoint-group > .demo-section-label small {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 5px;
  background: #ecf0e9;
  color: #798873;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 650;
}

.demo-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.demo-dms-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 5px;
  min-width: 0;
}

.demo-field-pair > .demo-field,
.demo-dms-fields > .demo-field {
  min-width: 0;
  margin: 0;
}

.demo-dms-fields > .demo-field > span {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-dms-fields input,
.demo-dms-fields select {
  min-width: 0;
  padding-right: 3px;
  padding-left: 5px;
}

.demo-dms-fields input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.demo-dms-fields input::-webkit-inner-spin-button,
.demo-dms-fields input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.demo-file-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  overflow: hidden;
  border: 1px dashed #b8c8b7;
  border-radius: 8px;
  background: #f2f6ef;
  color: #48633e;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.demo-file-label .app-tool-icon {
  width: 20px;
  height: 20px;
}

.demo-file-label input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.demo-file-label:focus-within {
  outline: 3px solid #006fe8;
  outline-offset: 2px;
}

.demo-drawing-preview {
  display: block;
  width: 100px;
  height: 64px;
  margin: 2px auto 0;
  overflow: visible;
}

.demo-panel-body > form > .demo-segmented,
.demo-panel-body > form > .demo-palette {
  margin-top: 0;
  margin-bottom: 0;
}

.demo-segmented > button > span[aria-hidden="true"] {
  font-size: 22px;
  line-height: 1;
}

.demo-panel-draw #demo-opacity {
  margin-top: -10px;
  color: #748274;
  font-size: 10px;
  text-align: right;
}

.demo-chat-messages {
  display: grid;
  gap: 7px;
  max-height: 205px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 13px;
  border-radius: 8px;
  background: #f1f5ef;
  padding: 7px;
  scrollbar-width: thin;
}

.demo-chat-messages .demo-row {
  align-items: start;
  margin-bottom: 0;
  border-color: #dce8d9;
  background: #fff;
}

.demo-chat-messages .demo-row small {
  color: #475743;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.demo-video-preview {
  overflow: hidden;
  border: 1px solid #1f3427;
  border-radius: 9px;
  background: #172923;
}

.demo-video-preview > svg {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
}

.demo-guide p.demo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #5a795f;
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.4;
  min-height: 0;
  margin-bottom: 4px;
}

.demo-bottom-bar .app-tool-icon {
  width: 22px;
  height: 22px;
}

.demo-reopen .app-tool-icon {
  width: 19px;
  height: 19px;
}

@media (max-width: 1050px) {
  .tutorial-browser {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 350px) minmax(0, 1fr);
    gap: 14px;
  }

  .tutorial-browser .tutorial-card {
    grid-template-columns: 1fr;
    min-height: 112px;
    padding: 11px;
  }

  .tutorial-browser .tutorial-card > [data-icon],
  .tutorial-browser .tutorial-card > .app-tool-icon {
    display: none;
  }
}

@media (max-width: 800px) {
  .tutorial-browser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "phone phone" "left right";
    gap: 16px;
  }

  .tutorial-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tutorial-menu {
    padding-top: 0;
  }

  .tutorial-browser .tutorial-card {
    grid-template-columns: auto 1fr;
    min-height: 112px;
  }

  .tutorial-browser .tutorial-card > [data-icon],
  .tutorial-browser .tutorial-card > .app-tool-icon {
    display: block;
    width: 25px;
    height: 25px;
  }

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

@media (max-width: 480px) {
  .tutorial-page-shell {
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .tutorial-page-heading h1 {
    font-size: 2.8rem;
  }

  .tutorial-page-heading p:not(.eyebrow) {
    font-size: 0.94rem;
  }

  .tutorial-browser {
    grid-template-columns: 1fr;
    grid-template-areas: "phone" "left" "right";
    gap: 12px;
  }

  .tutorial-player {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .tutorial-player .demo-guide {
    order: -2;
    width: 100%;
    margin-top: 0;
    margin-bottom: 18px;
  }

  .tutorial-player .demo-mode {
    order: -1;
  }

  .tutorial-player .tutorial-phone {
    max-width: 334px;
  }

  .tutorial-phone .iphone-screen {
    min-height: 620px;
  }

  .tutorial-list {
    grid-template-columns: 1fr;
  }

  .tutorial-card,
  .tutorial-browser .tutorial-card {
    min-height: 94px;
    padding: 13px;
  }

  .demo-guide {
    max-width: 334px;
  }

  .demo-field input,
  .demo-field select,
  .demo-field textarea,
  .demo-app input[name],
  .demo-app select[name],
  .demo-app textarea[name],
  .demo-icon-picker input[type="search"] {
    /* Keep Safari from zooming the page when a demo field receives focus. */
    font-size: 16px;
  }
}

@media (max-width: 350px) {
  .demo-app {
    font-size: 12px;
  }

  .demo-panel {
    left: 9px;
    right: 9px;
  }

  .demo-panel-body {
    padding: 10px;
  }

  .demo-panel-title,
  .demo-panel-title strong {
    font-size: 14px;
  }

  .demo-symbols {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-app *,
  .tutorial-card {
    transition: none !important;
    animation: none !important;
  }
}

/* Native SF Symbols also serve the list and editing controls. */
.demo-row-eye .app-tool-icon,
.demo-row-more .app-tool-icon,
.demo-map-controls .app-tool-icon { width: 21px; height: 21px; object-fit: contain; }
.demo-row-eye[aria-pressed="false"] .app-tool-icon { opacity: .45; }
.demo-toast .app-tool-icon { width: 14px; height: 14px; vertical-align: middle; margin-right: 3px; }
.demo-map-target .app-tool-icon { width: 16px; height: 16px; }
.demo-map.is-ortho { filter: saturate(1.5) brightness(.72) sepia(.3); }
