.reset-track-bar:has(#fahrt-open) {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.fahrt-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ui-accent,#9bdafa);
  border-radius: 10px;
  background: var(--ui-accent,#9bdafa);
  color: #13212b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}
.fahrt-primary:hover:not(:disabled) { background: #b8e7fc; border-color: #b8e7fc; }
.fahrt-primary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

#fahrt-dialog {
  --fahrt-panel: var(--ui-bg,#0d151f);
  --fahrt-line: var(--ui-border,#304356);
  --fahrt-muted: var(--ui-muted,#afc0d1);
  --fahrt-text-height: clamp(104px, 17dvh, 172px);
  width: min(1140px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid #465866;
  border-radius: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--ui-surface,#162331);
  color: var(--ui-text,#eef4fa);
  box-shadow: 0 20px 64px #0006;
}
#fahrt-dialog[data-explanation-size="compact"] { --fahrt-text-height: clamp(56px, 9dvh, 88px); }
#fahrt-dialog[data-explanation-size="large"] { --fahrt-text-height: clamp(180px, 31dvh, 320px); }
#fahrt-stage { min-width: 0; }
#fahrt-dialog :disabled, #fahrt-open:disabled { opacity: .45; cursor: default; }
#fahrt-dialog [hidden] { display: none !important; }
#fahrt-dialog :is(button, select, summary) { touch-action: manipulation; }
#fahrt-dialog :is(button, select, summary):focus-visible, .fahrt-explanation:focus-visible {
  outline: 2px solid #9cded7;
  outline-offset: 3px;
}

.fahrt-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.fahrt-heading .eyebrow { color: #94c8c8; font-size: 10px; letter-spacing: 1.8px; }
#fahrt-dialog .fahrt-heading h2 { margin: 5px 0 0; font-size: clamp(24px, 3vw, 30px); font-weight: 650; letter-spacing: -.65px; line-height: 1.2; }
.fahrt-heading-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.fahrt-heading form { margin: 0; }
#fahrt-dialog .fahrt-heading .icon-button { width: 44px; height: 44px; margin: 0; border-radius: 10px; border-color: #3d4d5b; color: #c3cfd8; font-size: 23px; font-weight: 400; }
#fahrt-fullscreen, #fahrt-orders-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #3e5867;
  border-radius: 9px;
  background: #1a303c;
  color: #cae8e8;
  font-size: 12px;
  line-height: 1.25;
}
#fahrt-fullscreen:hover, #fahrt-orders-open:hover { background: #244552; border-color: #70999f; }
#fahrt-fullscreen svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.fahrt-settings, .fahrt-presets { min-width: 0; margin: 0; border: 0; }
.fahrt-settings {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)) minmax(100px, .7fr);
  align-items: end;
  gap: 12px;
  padding: 14px 16px 16px;
  border: 1px solid var(--fahrt-line);
  border-radius: 12px;
  background: var(--fahrt-panel);
}
.fahrt-settings-legend { padding: 0 6px; margin-left: -6px; color: #c9dce4; font-size: 12px; font-weight: 650; }
.fahrt-settings label, .fahrt-field { min-width: 0; }
.fahrt-settings label span, .fahrt-fields label span, .fahrt-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--fahrt-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.fahrt-settings select, .fahrt-fields select, .fahrt-field select, #fahrt-explanation-size {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #415363;
  border-radius: 10px;
  background: var(--ui-bg,#0d151f);
  color: var(--ui-text,#eef4fa);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  color-scheme: dark;
}
.fahrt-settings select:hover, .fahrt-fields select:hover, .fahrt-field select:hover, #fahrt-explanation-size:hover { border-color: #6d8b9a; }
.fahrt-stop { display: flex; align-items: center; gap: 9px; min-height: 44px; color: #c4d0db; font-size: 12px; line-height: 1.4; cursor: pointer; }
.fahrt-stop input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #74cfca; }
.fahrt-platforms { grid-column: 1 / -1; padding-top: 2px; color: #bdcedb; font-size: 12px; }
.fahrt-platforms summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
#fahrt-stops { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 0 0 2px; }
.fahrt-track-panel { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 10px 12px 12px; border: 1px solid #2e414e; border-radius: 9px; background: var(--ui-surface,#162331); }
.fahrt-track-panel legend { padding: 0 5px; color: #cbdce5; font-size: 11px; font-weight: 600; }
.fahrt-track-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fahrt-track-panel small { display: block; margin-top: 8px; color: var(--fahrt-muted); font-size: 11px; line-height: 1.5; }
.fahrt-signal-panel { margin: 14px 0; padding: 0 14px 12px; border: 1px solid var(--fahrt-line); border-radius: 12px; background: var(--fahrt-panel); }
.fahrt-signal-panel > summary { min-height: 48px; padding: 13px 0; }
.fahrt-signal-panel summary, .fahrt-notes summary { cursor: pointer; color: #d2e0e9; font-size: 12px; font-weight: 600; line-height: 1.5; }
#fahrt-signal-summary { float: right; margin-left: 10px; color: var(--fahrt-muted); font-size: 10px; font-weight: 450; }
.fahrt-setup-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 240px); align-items: end; gap: 12px; padding: 2px 0 14px; }
.fahrt-setup-tools small { display: block; max-width: 420px; margin-top: 7px; color: var(--fahrt-muted); font-size: 11px; line-height: 1.55; }
.fahrt-signal-groups { display: grid; gap: 7px; max-height: 330px; padding: 2px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #526775 transparent; }
.fahrt-signal-group { padding: 0 10px 10px; border: 1px solid #344853; border-radius: 9px; background: var(--ui-surface-soft,#1b2b3b); }
.fahrt-signal-group:not([open]) { padding-bottom: 0; }
.fahrt-signal-group > summary { min-height: 44px; padding: 12px 0; color: #d5e4ec; }
.fahrt-signal-group summary span { float: right; margin-left: 8px; color: var(--fahrt-muted); font-size: 10px; font-weight: 450; }
.fahrt-signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 3px; }
.fahrt-signal { min-width: 0; margin: 0; padding: 9px 10px 12px; border: 1px solid #3b4f5d; border-radius: 8px; background: var(--ui-bg,#0d151f); }
.fahrt-signal legend { padding: 0 5px; color: #b9e1e2; font-size: 11px; font-weight: 600; }
.fahrt-signal-note { display: block; margin: 0 0 8px; color: var(--fahrt-muted); font-size: 10px; line-height: 1.4; }
.fahrt-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.fahrt-fields label { flex: 1 1 110px; min-width: 0; }
.fahrt-examples { margin-top: 10px; color: #bdcedb; font-size: 12px; }
.fahrt-examples > summary { display: flex; align-items: center; min-height: 44px; }
.fahrt-presets { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 4px 0 0; }
.fahrt-presets .fahrt-field { flex: 1 1 210px; }
#fahrt-dialog :is(.fahrt-signal-panel, .fahrt-actions) .small-button { justify-content: center; min-height: 44px; padding: 10px 12px; border: 1px solid #405564; border-radius: 8px; background: var(--ui-surface-soft,#1b2b3b); color: #d5e3eb; font-size: 12px; line-height: 1.4; }
#fahrt-dialog :is(.fahrt-signal-panel, .fahrt-actions) .small-button:hover:not(:disabled) { border-color: #80aaad; background: #2b4350; }

.fahrt-overview { display: block; width: 100%; height: 44px; margin: 16px 0 12px; border: 1px solid #526a77; border-radius: 8px; background: #fff; }
.fahrt-content { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); align-items: stretch; gap: 14px; }
.fahrt-map-frame { position: relative; min-width: 0; overflow: hidden; border: 1px solid #526a77; border-radius: 12px; background: #fff; }
#fahrt-map { display: block; width: 100%; height: 100%; min-height: 320px; color: #00818c; }
.fahrt-map-label, .fahrt-map-note { position: absolute; left: 10px; z-index: 1; padding: 6px 9px; border: 1px solid #d6e0e5; border-radius: 6px; background: #f6f9fbf2; color: #314550; pointer-events: none; line-height: 1.4; }
.fahrt-map-label { top: 10px; max-width: calc(100% - 20px); font-size: 11px; font-weight: 650; }
.fahrt-map-note { bottom: 10px; font-size: 10px; }
#fahrt-marker:is([data-kind="halt"], [data-kind="stop"]) { color: #b15b27; }
.fahrt-details { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.fahrt-detail-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 1fr); align-items: center; gap: 8px; flex: none; }
.fahrt-explanation-control { display: block; min-width: 0; }
.fahrt-explanation-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#fahrt-explanation-size { width: 100%; min-height: 44px; font-size: 12px; }
.fahrt-mode-button { min-height: 44px; padding: 7px 9px; border: 1px solid #45606d; border-radius: 8px; background: #233743; color: #cfdee6; font-size: 11px; font-weight: 600; line-height: 1.35; }
.fahrt-mode-button:hover { border-color: #8ac5c3; }
.fahrt-mode-button[aria-pressed="true"] { border-color: #77bab9; background: #24515a; color: #e8fffa; }
.fahrt-card { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; padding: 15px; border: 1px solid #3b5260; border-radius: 12px; background: var(--ui-bg,#0d151f); }
.fahrt-card-summary { flex: none; min-width: 0; }
.fahrt-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 23px; color: var(--fahrt-muted); font-size: 10px; line-height: 1.4; }
#fahrt-progress { flex: none; font-variant-numeric: tabular-nums; }
#fahrt-phase { max-width: 65%; padding: 3px 7px; border: 1px solid #36575e; border-radius: 5px; background: #1b343b; color: #a9e5dd; text-align: right; overflow-wrap: anywhere; }
#fahrt-dialog .fahrt-card h3 { margin: 9px 0 10px; color: #ecf2f5; font-size: clamp(18px, 1.7vw, 20px); font-weight: 650; line-height: 1.35; letter-spacing: -.3px; overflow-wrap: anywhere; }
#fahrt-limit { margin: 0; padding: 9px 10px; border: 1px solid #3a686a; border-radius: 8px; background: #19343a; color: #d1f6eb; font-size: 15px; font-weight: 650; line-height: 1.45; }
#fahrt-limit[data-state="halt"] { border-color: #8b6948; background: #3a2e23; color: #ffdab0; }
#fahrt-limit[data-state="plan"] { border-color: #425b6b; background: #21313f; color: #d6e6f0; }
#fahrt-rules { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 9px 0 0; }
#fahrt-rules:empty { display: none; }
.fahrt-rule { max-width: 100%; padding: 4px 7px; border: 1px solid #3f5969; border-radius: 5px; background: #21333f; color: #d0e6f1; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.fahrt-rule[data-rule="special"] { border-color: #786042; background: #362d24; color: #efc99b; }
.fahrt-rule[data-rule="sight"] { border-color: #3e7269; background: #1c3835; color: #abe4d4; }
.fahrt-explanation { flex: 1 1 auto; min-height: 44px; max-height: var(--fahrt-text-height); padding-right: 7px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #587081 transparent; border-radius: 3px; scroll-padding: 5px; }
#fahrt-step-body p { margin: 0 0 10px; color: #cfdae3; font-size: 14px; line-height: 1.6; }
#fahrt-step-body p:last-child { margin-bottom: 0; }
#fahrt-step-sources { display: block; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--fahrt-line); color: var(--fahrt-muted); font-size: 12px; line-height: 1.6; }
#fahrt-step-sources:empty { display: none; }
.fahrt-live-signal { flex: none; min-width: 0; border: 1px solid var(--ui-accent); border-radius: var(--ui-control-radius); background: var(--ui-surface); }
.fahrt-live-heading {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px;
  list-style: none; cursor: pointer; border-radius: calc(var(--ui-control-radius, 10px) - 1px);
  background: var(--ui-accent); color: #142b3a;
}
.fahrt-live-heading::-webkit-details-marker { display: none; }
.fahrt-live-heading::after { content: ''; flex: none; width: 10px; height: 10px; margin: 0 3px 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fahrt-live-signal[open] .fahrt-live-heading { border-radius: 9px 9px 0 0; }
.fahrt-live-signal[open] .fahrt-live-heading::after { transform: rotate(225deg); }
.fahrt-live-signal .fahrt-fields { padding: 12px; }
@media (hover: hover) {
  .fahrt-live-heading:hover { background: #b8e7fc; }
}
#fahrt-dialog .fahrt-live-heading:focus-visible { outline: 3px solid currentColor; outline-offset: -5px; }
.fahrt-live-label { flex: 1; min-width: 0; }
#fahrt-live-title { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
#fahrt-live-name { display: block; margin-top: 2px; color: #284858; font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
#fahrt-live-status { max-width: 35%; padding: 3px 7px; border: 1px solid #6b9db6; border-radius: 6px; color: #244455; font-size: .75rem; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
#fahrt-live-status.cleared { color: #174938; border-color: #648f85; }

.fahrt-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); position: sticky; z-index: 5; bottom: -24px; align-items: center; gap: 10px; margin: 12px 0 0; padding: 12px 0 8px; border-top: 1px solid #344753; background: var(--ui-surface,#162331); }
.fahrt-navigation { display: grid; grid-template-columns: minmax(78px, .8fr) minmax(126px, 1.3fr); gap: 8px; width: min(100%, 380px); margin-left: auto; }
.fahrt-navigation button { min-width: 0; min-height: 44px; }
.fahrt-display-menu { position: static; }
.fahrt-display-menu > summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 10px 12px; list-style: none; border: 1px solid #405564; border-radius: 8px; background: var(--ui-surface-soft,#1b2b3b); color: #d5e3eb; cursor: pointer; font-size: 12px; line-height: 1.4; }
.fahrt-display-menu > summary::-webkit-details-marker { display: none; }
.fahrt-display-menu > summary svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.fahrt-display-menu[open] > summary { border-color: #89c6c4; background: #224751; color: #e2faf5; }
.fahrt-display-popover { position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10px; max-height: min(60dvh, 430px); padding: 15px; overflow: auto; overscroll-behavior: contain; border: 1px solid #63818d; border-radius: 12px; background: #1a2a36; box-shadow: 0 10px 36px #0006; }
#fahrt-jump-field { grid-column: 1 / -1; }
.fahrt-display-popover .fahrt-stop { padding: 6px 4px; }
.fahrt-display-popover > small { color: #b6ced8; font-size: 12px; line-height: 1.5; }
.fahrt-preflight { padding: 12px 0; border-bottom: 1px solid #3f5868; }
.fahrt-case-handoff { margin-bottom: 12px; padding: 14px; border: 1px solid var(--fahrt-line); border-radius: 12px; background: var(--fahrt-panel); color: var(--ui-text,#eef4fa); font-size: 13px; line-height: 1.6; }
.fahrt-case-handoff h3 { margin: 0 0 8px; font-size: 16px; }
.fahrt-case-handoff p { margin: 8px 0; }
.fahrt-preflight > p, #fahrt-preflight-results { font-size: 13px; line-height: 1.6; }
#fahrt-preflight-results { margin-top: 12px; padding: 12px; border: 1px solid #738a80; border-radius: 9px; background: #20342e; }
#fahrt-preflight-results ul { padding-left: 20px; }
#fahrt-preflight-results li + li { margin-top: 14px; }
#fahrt-preflight-results small { display: block; color: #b6ced8; }
.fahrt-notes { margin-top: 10px; color: var(--fahrt-muted); font-size: 11px; }
.fahrt-notes summary { min-height: 44px; padding: 11px 0; }
.fahrt-notes p { max-width: 95ch; margin: 0 0 8px; color: var(--fahrt-muted); font-size: 11px; line-height: 1.65; }

@media (max-width: 900px) {
  .fahrt-settings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fahrt-route-field { grid-column: 1 / -1; }
  .fahrt-content { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); }
  .fahrt-track-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #fahrt-dialog { width: calc(100% - 16px); max-width: none; max-height: calc(100dvh - 16px); padding: 14px; border-radius: 14px; }
  .fahrt-heading { margin-bottom: 16px; gap: 10px; }
  #fahrt-dialog .fahrt-heading h2 { font-size: 23px; }
  .fahrt-heading-actions { gap: 6px; }
  #fahrt-fullscreen { padding: 10px; }
  .fahrt-content { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #fahrt-map { min-height: 0; height: clamp(220px, 32dvh, 300px); }
  .fahrt-details { gap: 8px; }
  .fahrt-card { padding: 13px; }
  .fahrt-actions { bottom: -14px; padding-top: 10px; }
  .fahrt-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 10px; }
  .fahrt-route-field { grid-column: 1 / -1; }
  .fahrt-length { grid-column: 1 / -1; }
  .fahrt-settings .fahrt-length select { width: min(100%, 160px); }
  .fahrt-setup-tools, .fahrt-signals { grid-template-columns: minmax(0, 1fr); }
  .fahrt-signal-panel { padding: 0 12px 12px; }
  #fahrt-signal-summary { display: block; float: none; margin: 5px 0 0; font-size: 10px; }
  .fahrt-signal-groups { max-height: 300px; }
  .fahrt-settings select, .fahrt-fields select, .fahrt-field select, #fahrt-explanation-size { font-size: 16px; }
  #fahrt-explanation-size { width: 100%; }
  .fahrt-overview { height: 36px; margin: 14px 0 10px; }
  .fahrt-display-menu > summary { width: 44px; padding: 10px; }
  .fahrt-display-menu > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fahrt-navigation { width: 100%; grid-template-columns: minmax(78px, .8fr) minmax(126px, 1.3fr); }
  .fahrt-display-popover { padding: 12px; }
}
@media (max-width: 390px) {
  #fahrt-dialog { padding: 12px; }
  #fahrt-dialog .fahrt-heading h2 { font-size: 21px; }
  .fahrt-heading .eyebrow { font-size: 9px; }
  .fahrt-heading-actions { gap: 5px; }
  #fahrt-fullscreen { gap: 5px; padding: 9px; font-size: 11px; }
  .fahrt-navigation { grid-template-columns: minmax(74px, .8fr) minmax(118px, 1.3fr); }
  .fahrt-actions { bottom: -12px; gap: 8px; }
  .fahrt-display-popover { grid-template-columns: 1fr; }
}
/* Direct preparation and speed share the same schematic map. */
.fahrt-cruise-field{grid-column:span 2}
.fahrt-speed-assumptions{grid-column:1/-1;margin:0;color:#b5c6d1;font-size:12px;line-height:1.55;max-width:90ch}
.fahrt-map-instructions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;color:#bdcfd9;font-size:13px;line-height:1.5}
.fahrt-map-instructions p{margin:0;max-width:68ch}
.fahrt-map-instructions button{flex:none;min-height:44px}
.fahrt-map-signal{fill:transparent;stroke:#248c8e;stroke-opacity:.5;stroke-width:1.2;vector-effect:non-scaling-stroke;cursor:pointer;touch-action:manipulation}
.fahrt-map-signal:hover,.fahrt-map-signal:focus-visible,.fahrt-map-signal.is-selected{stroke:#007986;stroke-opacity:1;stroke-width:2.5;fill:#007c8a12;outline:none}
.fahrt-map-signal[aria-disabled="true"]{pointer-events:none;stroke:none}
.fahrt-map-editor{position:absolute;left:12px;right:12px;bottom:12px;z-index:5;padding:11px 12px;border:1px solid #73959c;border-radius:10px;background:#142e39f8;box-shadow:0 6px 18px #0003;color:#e7f4f5;max-height:62%;overflow:auto;overscroll-behavior:contain}
.fahrt-map-editor header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.fahrt-map-editor header strong{font-size:13px;font-weight:650}
#fahrt-map-editor-close{flex:none;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #536e7b;border-radius:7px;background:#1d3c49;color:#e4eff2;font-size:22px;line-height:1}
.fahrt-map-editor .fahrt-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:9px}
.fahrt-map-editor .fahrt-fields select{width:100%;min-height:44px;font-size:14px}
.fahrt-speedometer{position:absolute;left:12px;top:60px;z-index:2;display:grid;gap:2px;min-width:115px;max-width:184px;padding:8px 11px;border:1px solid #6e8c94;border-radius:10px;background:#142e39f2;color:#e1f8f5;pointer-events:none;box-shadow:0 3px 12px #0002;font-variant-numeric:tabular-nums}
.fahrt-speedometer>div{display:flex;gap:6px;align-items:baseline}
#fahrt-speed{font-size:30px;line-height:1.1;font-weight:720;letter-spacing:-1px}
.fahrt-speedometer>div>span{font-size:12px;color:#b8d5d8}
#fahrt-speed-state{font-size:11px;line-height:1.4;font-weight:650;color:#c6e5e0}
.fahrt-speedometer small{font-size:10px;line-height:1.4;color:#bfd3db}
#fahrt-time-scale{font-size:9px;color:#9fb8c6}
@media(max-width:700px){
 .fahrt-cruise-field{grid-column:1/-1}
 .fahrt-map-instructions{align-items:flex-start;flex-direction:column;gap:10px}
 .fahrt-map-instructions button{width:100%}
 .fahrt-speedometer{top:56px;min-width:104px;max-width:155px;padding:7px 9px}
 .fahrt-map-editor .fahrt-fields select{font-size:16px}
}
.fahrt-settings[hidden]~.fahrt-map-instructions{display:none}
.fahrt-overview[title]{cursor:crosshair}

/* A full-viewport map with an independently scrolling translucent controller. */
html:has(#fahrt-dialog[open].fahrt-expanded),
body:has(#fahrt-dialog[open].fahrt-expanded) { overflow: hidden; }
#fahrt-dialog.fahrt-expanded {
  --fahrt-expanded-column: clamp(300px, 42vw, 450px);
  position: fixed; inset: 0;
  width: 100%; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden;
}
#fahrt-dialog.fahrt-expanded[data-explanation-size="compact"] { --fahrt-expanded-column: clamp(280px, 36vw, 380px); }
#fahrt-dialog.fahrt-expanded[data-explanation-size="large"] { --fahrt-expanded-column: clamp(320px, 48vw, 560px); }
#fahrt-dialog.fahrt-expanded #fahrt-stage {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--fahrt-expanded-column);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px; width: 100%; height: 100%; min-height: 0;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  overflow: hidden; background: #fff;
}
#fahrt-dialog.fahrt-expanded :is(.fahrt-settings, .fahrt-signal-panel, .fahrt-overview, .fahrt-notes, .fahrt-map-instructions, .fahrt-heading > :first-child) { display: none; }
#fahrt-dialog.fahrt-expanded .fahrt-heading {
  position: relative; z-index: 6;
  grid-column: 2; grid-row: 1; justify-content: flex-end;
  min-width: 0; margin: 0; gap: 8px;
}
#fahrt-dialog.fahrt-expanded .fahrt-heading form { display: block; }
#fahrt-dialog.fahrt-expanded .fahrt-content { display: contents; }
#fahrt-dialog.fahrt-expanded .fahrt-map-frame {
  position: absolute; inset: 0; z-index: 0; grid-area: auto;
  min-height: 0; border: 0; border-radius: 0;
}
#fahrt-dialog.fahrt-expanded #fahrt-map { width: 100%; height: 100%; min-height: 0; }
#fahrt-dialog.fahrt-expanded .fahrt-details {
  position: relative; z-index: 2;
  grid-column: 2; grid-row: 2; display: flex; flex-direction: column;
  align-self: end; height: auto; min-height: 0; max-height: 100%; width: 100%; gap: 8px;
  padding: 0 3px 3px 0; overflow: auto; overscroll-behavior: contain;
  border: 1px solid #64808d; border-radius: 12px; background: #111c27d6;
  scrollbar-width: thin; scrollbar-color: #617c88 transparent;
  scroll-padding-top: 58px;
}
#fahrt-dialog.fahrt-expanded .fahrt-detail-toolbar {
  position: sticky; top: 0; z-index: 3; flex: none;
  padding: 3px; background: #18222deb;
}
#fahrt-dialog.fahrt-expanded .fahrt-card {
  flex: none; min-height: min-content; padding: 12px; gap: 12px;
  border: 0; background: transparent;
}
#fahrt-dialog.fahrt-expanded .fahrt-card-summary { flex: none; }
#fahrt-dialog.fahrt-expanded .fahrt-card h3 { margin: 7px 0 9px; font-size: 18px; }
#fahrt-dialog.fahrt-expanded .fahrt-explanation {
  flex: none; min-height: 0; max-height: none; overflow: visible; padding-right: 0;
}
#fahrt-dialog.fahrt-expanded #fahrt-step-body p { font-size: 14px; line-height: 1.6; }
#fahrt-dialog.fahrt-expanded .fahrt-live-signal {
  flex: none; min-height: 56px; max-height: none; overflow: visible;
  margin: 0 7px 5px; background: #192e39d9;
}
#fahrt-dialog.fahrt-expanded .fahrt-actions {
  grid-column: 2; grid-row: 3; position: relative; z-index: 5;
  grid-template-columns: 44px minmax(0, 1fr); gap: 8px;
  width: 100%; min-width: 0; margin: 0; padding: 8px; bottom: auto;
  border: 1px solid #64808d; border-radius: 10px; background: #18222ddc;
}
#fahrt-dialog.fahrt-expanded .fahrt-display-menu > summary { width: 44px; min-width: 0; min-height: 44px; padding: 10px; }
#fahrt-dialog.fahrt-expanded .fahrt-display-menu > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#fahrt-dialog.fahrt-expanded .fahrt-navigation { min-width: 0; width: 100%; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); }
#fahrt-dialog.fahrt-expanded .fahrt-navigation button { min-width: 0; min-height: 44px; padding-left: 8px; padding-right: 8px; }
#fahrt-dialog.fahrt-expanded .fahrt-display-popover { left: 0; right: 0; max-height: min(65dvh, 430px); }
#fahrt-dialog.fahrt-expanded .fahrt-map-label { top: 12px; left: 12px; max-width: calc(100% - 220px); }
#fahrt-dialog.fahrt-expanded .fahrt-map-note { top: auto; bottom: 10px; left: 10px; max-width: calc(100% - 20px); }
#fahrt-dialog.fahrt-expanded .fahrt-speedometer {
  top: auto; bottom: 48px; left: 10px; min-width: 108px; max-width: 170px;
}
#fahrt-dialog.fahrt-expanded .fahrt-map-editor { max-height: calc(100% - 60px); }

@media (max-width: 700px) and (orientation: portrait) {
  #fahrt-dialog.fahrt-expanded { --fahrt-expanded-panel-height: 48dvh; }
  #fahrt-dialog.fahrt-expanded[data-explanation-size="compact"] { --fahrt-expanded-panel-height: 36dvh; }
  #fahrt-dialog.fahrt-expanded[data-explanation-size="large"] { --fahrt-expanded-panel-height: 56dvh; }
  #fahrt-dialog.fahrt-expanded #fahrt-stage {
    position: relative; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, var(--fahrt-expanded-panel-height)) auto;
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }
  #fahrt-dialog.fahrt-expanded .fahrt-map-frame { grid-area: auto; }
  #fahrt-dialog.fahrt-expanded .fahrt-heading {
    position: absolute; top: max(16px, calc(env(safe-area-inset-top) + 8px));
    right: max(16px, calc(env(safe-area-inset-right) + 8px)); z-index: 6;
  }
  #fahrt-dialog.fahrt-expanded .fahrt-details { grid-column: 1; grid-row: 2; }
  #fahrt-dialog.fahrt-expanded .fahrt-actions { grid-column: 1; grid-row: 3; }
  #fahrt-dialog.fahrt-expanded .fahrt-card { padding: 12px; }
  #fahrt-dialog.fahrt-expanded .fahrt-card h3 { font-size: 17px; }
  #fahrt-dialog.fahrt-expanded #fahrt-limit { font-size: 13px; padding: 7px 9px; }
  #fahrt-dialog.fahrt-expanded .fahrt-map-label { max-width: calc(100% - 205px); font-size: 10px; }
  #fahrt-dialog.fahrt-expanded .fahrt-speedometer { top: 110px; bottom: auto; left: 12px; right: auto; max-width: 155px; }
  #fahrt-dialog.fahrt-expanded .fahrt-map-note { top: 64px; bottom: auto; left: 12px; max-width: calc(100% - 24px); font-size: 9px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  #fahrt-dialog.fahrt-expanded #fahrt-stage { gap: 6px; padding: 8px; }
  #fahrt-dialog.fahrt-expanded .fahrt-card { padding: 10px; gap: 10px; }
  #fahrt-dialog.fahrt-expanded .fahrt-card h3 { margin: 5px 0 7px; font-size: 16px; }
  #fahrt-dialog.fahrt-expanded #fahrt-limit { padding: 6px 8px; font-size: 12px; }
  #fahrt-dialog.fahrt-expanded .fahrt-rule { padding: 3px 5px; font-size: 10.5px; }
  #fahrt-dialog.fahrt-expanded #fahrt-step-body p { font-size: 13px; }
  #fahrt-dialog.fahrt-expanded .fahrt-speedometer { bottom: 44px; max-width: 155px; padding: 6px 8px; }
  #fahrt-dialog.fahrt-expanded #fahrt-speed { font-size: 25px; }
}

/* Optional learning tools share the existing scrolling reading panel. */
.fahrt-learning-mode { grid-column: span 2; }
.fahrt-boundary-setup { grid-column: 1 / -1; }
.fahrt-boundary-setup label { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.fahrt-boundary-setup input { width: 20px; height: 20px; accent-color: #83d8cc; }
.fahrt-boundary-setup small { color: #b6ced8; font-size: 12px; }
.fahrt-boundary-answer { min-width: 0; margin: 12px 0; padding: 11px; border: 1px solid #496575; border-radius: 8px; }
.fahrt-boundary-answer legend { padding: 0 5px; color: #b5e9de; font-size: 12px; }
.fahrt-boundary-answer .fahrt-field { display: grid; gap: 5px; }
#fahrt-boundary-selection { min-height: 1.5em; margin: 6px 0; }
#fahrt-map[data-boundary-pick="true"] { cursor: crosshair; touch-action: manipulation; }
.fahrt-boundary-number circle { fill: #193d48; stroke: white; stroke-width: 2; }
.fahrt-boundary-number text { fill: white; font: 700 12px system-ui, sans-serif; text-anchor: middle; }
.fahrt-boundary-number path { stroke: #193d48; stroke-width: 2; }
.fahrt-boundary-pin { color: #a54d06; }
.fahrt-boundary-pin.solution { color: #076754; }
.fahrt-boundary-pin path { fill: currentColor; stroke: white; stroke-width: 2; }
.fahrt-boundary-onset { fill: none; stroke: #138d75; stroke-width: 9; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; }
.fahrt-library { margin: 14px 0; padding: 0 14px 14px; border: 1px solid var(--fahrt-line); border-radius: 12px; background: var(--fahrt-panel); }
.fahrt-library > summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; color: #d2e0e9; font-size: 12px; font-weight: 600; }
.fahrt-library:not([open]) { padding-bottom: 0; }
.fahrt-library-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fahrt-library-grid section { min-width: 0; }
#fahrt-dialog .fahrt-library h3 { margin: 4px 0 8px; font-size: 16px; line-height: 1.4; }
.fahrt-library p, .fahrt-comparison-cards p { margin: 0 0 12px; color: var(--fahrt-muted); font-size: 13px; line-height: 1.6; }
.fahrt-library small { display: block; color: var(--fahrt-muted); font-size: 12px; line-height: 1.6; margin-top: 8px; }
.fahrt-library input:not([type="file"]) { width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid #415363; border-radius: 8px; background: #101923; color: #e5edf2; font: inherit; font-size: 13px; }
.fahrt-library-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 14px; }
#fahrt-dialog :is(.fahrt-library, .fahrt-exam) .small-button, .fahrt-file-label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 12px; border: 1px solid #496575; border-radius: 8px; background: #233743; color: #dcebf1; font-size: 12px; line-height: 1.4; cursor: pointer; }
.fahrt-file-label { position: relative; overflow: hidden; }
.fahrt-file-label input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fahrt-file-label:focus-within { outline: 2px solid #9cded7; outline-offset: 3px; }
.fahrt-library .fahrt-library-status { margin: 12px 0 0; padding: 12px; border: 1px solid var(--fahrt-line); border-radius: 10px; background: var(--fahrt-panel); color: #9dded2; }
.fahrt-library .fahrt-library-status:empty { margin: 0; padding: 0; border: 0; }
.fahrt-comparison-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.fahrt-comparison-cards article { min-width: 0; padding: 12px; border: 1px solid #3f5868; border-radius: 9px; background: #182a35; }
.fahrt-comparison-cards h4 { margin: 0 0 8px; color: #d2eeeb; font-size: 13px; }
.fahrt-exam { min-width: 0; padding: 14px; border: 1px solid #54727c; border-radius: 12px; background: #172d39; }
.fahrt-exam-badge { display: inline-block; margin-bottom: 6px; color: #b5e9de; font-size: 10px; font-weight: 650; letter-spacing: .8px; text-transform: uppercase; }
#fahrt-dialog .fahrt-exam h3 { margin: 0 0 9px; color: #edf8f5; font-size: 17px; line-height: 1.5; font-weight: 600; }
.fahrt-exam p { margin: 0 0 10px; color: #c4d8e0; font-size: 13px; line-height: 1.6; }
#fahrt-exam-choices { min-width: 0; margin: 12px 0; padding: 0; border: 0; }
#fahrt-exam-choices legend { margin-bottom: 8px; color: #aac5cf; font-size: 11px; }
.fahrt-exam-choice { display: flex; align-items: flex-start; gap: 9px; min-height: 44px; margin: 6px 0; padding: 10px; border: 1px solid #4a6473; border-radius: 8px; background: #13222d; color: #e1eef0; font-size: 13px; line-height: 1.5; cursor: pointer; }
.fahrt-exam-choice:has(input:checked) { border-color: #9bd8cd; background: #244b50; }
.fahrt-exam-choice input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #83d8cc; }
#fahrt-exam-feedback small { display: block; color: #a7c5cf; font-size: 11px; line-height: 1.6; }
#fahrt-exam-feedback ul { padding-left: 20px; color: #efc5a3; font-size: 12px; line-height: 1.6; }
.fahrt-exam-result.correct strong { color: #a8ebcd; }
.fahrt-exam-result.incorrect strong { color: #f2c39d; }
.fahrt-band-toggle { grid-column: 1 / -1; }
.fahrt-band-legend { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; font-size: 10px; }
.fahrt-band-legend span { padding: 3px 7px; border-left: 4px solid var(--band-color); border-radius: 4px; background: #172832; color: #e0eaf0; }
.fahrt-rule-band, .fahrt-band-legend [data-band="awb"] { --band-color: #1596c1; }
.fahrt-rule-band[data-band-type="special"], .fahrt-band-legend [data-band="special"] { --band-color: #dc8b27; }
.fahrt-rule-band[data-band-type="sight"], .fahrt-band-legend [data-band="sight"] { --band-color: #25aa7a; }
.fahrt-rule-band[data-band-type="slow"], .fahrt-band-legend [data-band="slow"] { --band-color: #a780d2; }
.fahrt-rule-band[data-band-type="command"], .fahrt-band-legend [data-band="command"] { --band-color: #d58c78; }
.fahrt-rule-band[data-band-type="caution"], .fahrt-band-legend [data-band="caution"] { --band-color: #a55c1c; }
.fahrt-rule-band[data-band-type="advance"], .fahrt-band-legend [data-band="advance"] { --band-color: #d66cae; }
.fahrt-rule-band[data-band-type="departure"], .fahrt-band-legend [data-band="departure"] { --band-color: #67baf0; }
.fahrt-rule-band[data-band-type="signal"], .fahrt-band-legend [data-band="signal"] { --band-color: #d8ba43; }
.fahrt-rule-band polyline { fill: none; stroke: var(--band-color); stroke-width: 18; stroke-linecap: round; opacity: .23; }
.fahrt-rule-band[data-band-type="awb"] polyline { stroke-width: 34; }
.fahrt-rule-band[data-band-type="special"] polyline { stroke-width: 26; }
.fahrt-rule-band[data-band-type="sight"] polyline { stroke-width: 18; }
.fahrt-rule-band[data-band-type="slow"] polyline { stroke-width: 10; }
.fahrt-rule-band circle { fill: #fff; stroke: var(--band-color); stroke-width: 3; opacity: .7; }
.fahrt-rule-band .fahrt-band-continues { fill: none; stroke: var(--band-color); stroke-width: 4; }
.fahrt-rule-band.active polyline { opacity: .52; }
.fahrt-rule-band.active circle { opacity: 1; }
#fahrt-dialog.fahrt-expanded .fahrt-library { display: none; }
#fahrt-dialog.fahrt-expanded .fahrt-exam { flex: none; margin: 0 7px 5px; background: #152d37dc; }
@media (max-width: 760px) {
  .fahrt-library-grid { grid-template-columns: minmax(0, 1fr); }
  .fahrt-comparison-cards { grid-template-columns: minmax(0, 1fr); }
  .fahrt-library input:not([type="file"]) { font-size: 16px; }
}

.fahrt-detect-setup, .fahrt-adaptive { grid-column: 1 / -1; }
.fahrt-detect-setup { padding: 12px; border: 1px solid #927145; border-radius: 10px; background: #322b22; }
.fahrt-detect-setup p { color: #e2cfb2; font-size: 12px; line-height: 1.6; }
#fahrt-dialog .fahrt-detect-setup button { min-height: 44px; padding: 9px 12px; border: 1px solid #ae8b58; border-radius: 8px; background: #493a27; color: #ffebcd; }
.fahrt-demo-badge { position: absolute; z-index: 3; bottom: 10px; left: 10px; max-width: calc(100% - 20px); padding: 7px 10px; border: 1px solid #8a521f; border-radius: 7px; background: #fff1daf5; color: #713708; font-size: 12px; line-height: 1.4; }
#fahrt-dialog[data-learning-mode="detect"] .fahrt-map-note { display: none; }
.fahrt-justification, .fahrt-self-compare { margin: 12px 0; padding: 0 10px 10px; border: 1px solid #45616f; border-radius: 9px; }
.fahrt-justification > summary, .fahrt-self-compare > summary { display: flex; align-items: center; min-height: 44px; color: #b9dedb; cursor: pointer; font-size: 12px; }
.fahrt-justification:not([open]), .fahrt-self-compare:not([open]) { padding-bottom: 0; }
.fahrt-limit-explanation { margin-top: 0; }
.fahrt-limit-explanation > summary { display: list-item; padding: 12px 0; }
.fahrt-limit-steps { margin: 0; padding-left: 20px; color: #cfdae3; font-size: 13px; line-height: 1.55; }
.fahrt-limit-steps > li + li { margin-top: 7px; }
#fahrt-limit-steps p { margin: 2px 0 0; }
#fahrt-limit-steps ul { margin-top: 3px; padding-left: 16px; }
#fahrt-limit-steps small { display: block; color: var(--fahrt-muted); }
#fahrt-justification-text { width: 100%; min-height: 90px; padding: 10px; border: 1px solid #526b78; border-radius: 7px; background: #101e28; color: #e0eef1; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
#fahrt-reasoning-checks { min-width: 0; margin: 10px 0; padding: 0; border: 0; }
#fahrt-reasoning-checks legend { color: #b5cdd4; font-size: 12px; }
#fahrt-reasoning-checks small { display: block; margin-top: 4px; color: #b2c9d3; font-size: 12px; line-height: 1.5; }
#fahrt-reasoning-model small { display: block; color: #a6becb; font-size: 11px; line-height: 1.6; }
#fahrt-self-status { margin-top: 9px; color: #a8dece; }
#fahrt-detection-feedback { margin-top: 12px; }
#fahrt-detection-answer { margin: 12px 0; }
.fahrt-report-panel { flex: none; min-width: 0; padding: 14px; border: 1px solid #486575; border-radius: 12px; background: #162331ee; color: var(--ui-text,#eef4fa); }
.fahrt-report-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
#fahrt-dialog .fahrt-report-header h3 { margin: 0 0 9px; color: #eff6f6; font-size: 18px; }
.fahrt-report-toolbar, .fahrt-report-actions, .fahrt-report-counts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
#fahrt-dialog .fahrt-report-panel button { min-height: 44px; padding: 9px 11px; border: 1px solid #4d6a79; border-radius: 8px; background: #203d49; color: #e2f1f1; font-size: 12px; line-height: 1.4; }
.fahrt-report-panel select { max-width: 100%; min-height: 44px; padding: 8px; border: 1px solid #526c7a; border-radius: 7px; background: #12252f; color: #e4eff2; font-size: 13px; }
.fahrt-report-panel p, .fahrt-report-panel li { font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.fahrt-report-panel small { display: block; color: var(--fahrt-muted); font-size: 12px; line-height: 1.6; }
.fahrt-report-decisions { display: grid; gap: 10px; padding: 0; list-style: none; }
.fahrt-report-decision { min-width: 0; padding: 12px; border: 1px solid var(--fahrt-line); border-radius: 10px; background: #0d151f88; }
.fahrt-report-decision h4 { margin: 7px 0; color: #d9edee; font-size: 13px; line-height: 1.5; }
.fahrt-report-outcome { display: inline-block; padding: 4px 7px; border-radius: 5px; border: 1px solid #607886; color: #c9dee8; font-size: 10px; }
.fahrt-report-outcome[data-outcome="correct"] { border-color: #4a8f77; color: #a8e6cb; }
.fahrt-report-outcome[data-outcome="wrong"] { border-color: #ab7553; color: #edc4a3; }
.fahrt-report-reflection, .fahrt-report-settings { margin-top: 10px; padding-top: 8px; border-top: 1px solid #38505e; }
.fahrt-report-settings summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 13px; }
.fahrt-report-status { color: #f0d5ac; }
#fahrt-dialog.fahrt-expanded .fahrt-report-panel { margin: 0 7px 5px; }
@media (max-width: 700px) and (orientation: portrait) {
  #fahrt-dialog.fahrt-expanded .fahrt-demo-badge { top: 64px; bottom: auto; left: 12px; max-width: calc(100% - 24px); font-size: 11px; }
}
@media (max-width: 760px) {
  #fahrt-justification-text, .fahrt-report-panel select { font-size: 16px; }
}

@media (max-width: 600px) {
  .fahrt-heading { flex-wrap: wrap; }
  .fahrt-heading > div:first-child { flex: 1 1 130px; }
  .fahrt-heading-actions { margin-left: auto; }
  #fahrt-orders-open { padding: 10px; }
  #fahrt-fullscreen span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.fahrt-case-premise { margin: 12px 0; padding: 12px 14px; border: 1px solid #41626d; border-radius: 9px; color: #c9e4e6; background: #17313a; font-size: 13px; line-height: 1.6; }
#fahrt-dialog.fahrt-expanded .fahrt-case-premise { display: none; }
#fahrt-live-orders { width: 100%; min-height: 44px; margin: 0; border-color: #647e92; font-size: .9375rem; }
#fahrt-dialog.fahrt-expanded #fahrt-live-orders { width: auto; margin-inline: 7px; }
