/* Smart Factory: vom Auftrag zum Teil — App-Stile über visukit.css (Panel-Look, Dock, Navbar, Bottom-Sheets kommen von dort). */
html, body { touch-action: none; overscroll-behavior: none; }
canvas { touch-action: none; }
body.theme-dark { background: #0d1220; }
body.theme-light { background: #e6e9ee; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#tags { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
/* Film: Regie zeigt Werte und Beschriftungen selbst. Eingreifen (body.film-eingriff): Die App zeigt ihr eigenes Bild. */
body.buehne-film:not(.film-eingriff) #tags, body.buehne-film:not(.film-panels):not(.film-eingriff) #hud, body.buehne-film:not(.film-eingriff) #hud-daumen { display: none !important; }
body.vorschau #hud, body.vorschau #hud-daumen, body.vorschau #tags { display: none !important; }
#hud-daumen { display: none; }

/* ── Szenen-Beschriftungen ───────────────────────────────────────────── */
.tag { position: absolute; left: 0; top: 0; padding: 4px 9px; border-radius: 8px; font: 600 11.5px/1.25 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; white-space: nowrap; will-change: transform; }
.tag[hidden] { display: none !important; }
body.theme-dark .tag { background: rgba(10, 13, 26, .78); color: #e6e8f2; }
body.theme-light .tag { background: rgba(255, 255, 255, .92); color: #1e293b; }
.tag.ebene { display: flex; flex-direction: column; gap: 1px; padding: 5px 10px; }
.tag.ebene span { font-weight: 800; font-size: 12.5px; letter-spacing: .02em; }
.tag.ebene small { font-size: 11px; font-weight: 600; opacity: .78; }
.tag.typ-plan span, .tag.tel.typ-plan { color: var(--fokus); }
.tag.typ-maschine span, .tag.tel.typ-maschine { color: var(--typ-maschine); }
.tag.typ-bde span, .tag.tel.typ-bde { color: var(--typ-bde); }
.tag.typ-analytics span, .tag.tel.typ-analytics { color: var(--typ-analytics); }
.tag.station span { font-weight: 700; opacity: .9; }
.tag.tel { font-weight: 700; font-size: 12px; padding: 4px 10px; }
.tag.tel.alarm, .tag.stopp { color: #fff !important; background: var(--rot) !important; font-weight: 800; }

/* ── Auftragsmonitor ─────────────────────────────────────────────────── */
.karte { position: fixed; z-index: 10; left: 16px; top: 16px; width: 304px; padding: 12px 14px 12px; border-radius: 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 500 12px/1.35 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body.theme-dark .karte { background: rgba(10, 13, 26, .80); color: #e6e8f2; }
body.theme-light .karte { background: rgba(255, 255, 255, .9); color: #1e293b; }
.karte button { font: inherit; color: inherit; border: none; margin: 0; cursor: pointer; }
.karte-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.karte-hd .kt { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .55; }
.karte-hd .kr { font-size: 11.5px; font-weight: 700; opacity: .85; text-align: right; }
.karte-hd .kr.bad, .bad { color: var(--rot); font-weight: 800; }
.ok { color: var(--fokus); font-weight: 800; }
.hud-t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; border-radius: 8px; }
.hud-t b { font-size: 30px; font-weight: 780; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--fokus); line-height: 1.1; }
.hud-t #hud-oee-l { font-size: 12.5px; font-weight: 700; opacity: .75; }
.delta { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--chip-bg); font-variant-numeric: tabular-nums; }
.delta.gut { color: var(--fokus); background: var(--fokus-bg); }
.delta.schlecht { color: var(--rot); }
.vergleich { display: flex; flex-direction: column; gap: 3px; margin: 9px 0 8px; }
.vz { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 7px; font-size: 11.5px; border-radius: 6px; }
.vz .vl { opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vz .vb { height: 7px; border-radius: 4px; background: var(--chip-bg); overflow: hidden; }
.vz .vb i { display: block; height: 100%; border-radius: 4px; transition: width .35s; }
.vz b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.vz.offen { opacity: .5; }
.status { font-size: 11.5px; line-height: 1.4; padding: 6px 9px; border-radius: 10px; background: var(--chip-bg); min-height: 44px; }
.next { display: block; width: 100%; margin-top: 9px; padding: 10px 12px; border-radius: 11px; font-weight: 750 !important; font-size: 13px !important; text-align: center;
  color: #fff !important; background: var(--pal-accent); min-height: 44px; line-height: 1.2; overflow-wrap: break-word; animation: nextPuls 1.8s ease-in-out infinite; }
.next:hover { filter: brightness(1.1); }
.next[hidden], .eingriff[hidden], .entscheid[hidden], .karte .aha[hidden] { display: none !important; }
.karte .chip.aha { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 7px; background: var(--fokus-bg); text-align: center; }
.karte .chip.aha svg { flex: none; color: var(--rot); }
.vz.faellt b, .vz.faellt .vl { color: var(--rot); opacity: 1; }
@keyframes nextPuls { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2); } }
.karte .chip { padding: 8px 10px; border-radius: 10px; background: var(--chip-bg); font-weight: 700; min-height: 40px; line-height: 1.2; min-width: 0; overflow-wrap: break-word; transition: filter .15s, background .15s; }
.karte .chip:hover:not(:disabled) { filter: brightness(1.2); background: var(--fokus-bg); }
.karte .chip:disabled { opacity: .4; cursor: default; }
.eingriff { display: flex; gap: 6px; margin-top: 9px; }
.eingriff .chip { flex: 1; }
.entscheid { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; padding: 8px; border-radius: 12px; background: var(--chip-bg); }
.entscheid .et { font-size: 11px; font-weight: 750; opacity: .85; }
.entscheid .chip { text-align: left; background: var(--fokus-bg); }
.entscheid.leuchtet .chip { animation: leuchten 1.5s ease-in-out infinite; }
@keyframes leuchten { 0%, 100% { background-color: var(--fokus-bg); } 50% { background-color: var(--leucht); } }
.tempo { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.tempo #t-play { width: 40px; min-height: 36px; padding: 0; display: flex; align-items: center; justify-content: center; flex: none; }
.tempo .seg { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: var(--chip-bg); }
.tempo .seg button { padding: 6px 10px; border-radius: 7px; background: transparent; font-weight: 700; font-size: 11.5px; opacity: .65; min-height: 30px; }
.tempo .seg button:hover { opacity: .9; }
.tempo .seg button.active { opacity: 1; background: var(--vk-ui-active-bg); color: var(--vk-ui-active-ink); }
.tempo #t-zeit { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; opacity: .75; }

/* ── Panels ──────────────────────────────────────────────────────────── */
#panel-ablauf { top: 16px; right: 16px; width: 322px; max-height: calc(100vh - 110px); }
#panel-oee { bottom: 78px; left: 16px; width: 304px; max-height: calc(100vh - 90px - var(--hud-unten, 330px)); }
#panel-telegramme { bottom: 78px; left: var(--frei-mitte, 50%); right: auto; transform: translateX(-50%); width: var(--frei-breite, 560px); max-height: min(46vh, 380px); }
#panel-info { bottom: 78px; left: var(--frei-mitte, 50%); right: auto; transform: translateX(-50%); width: var(--frei-breite, 540px); max-height: calc(100vh - 170px); }
.panel { touch-action: pan-y; }
.panel .sub { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .5; margin: 10px 0 6px; }
.panel .panel-hd + .sub { margin-top: 2px; }
.panel .lab { font-size: 11.5px; font-weight: 600; margin-top: 10px; opacity: .9; display: flex; justify-content: space-between; gap: 8px; }
.panel .lab b { font-weight: 700; opacity: .8; font-variant-numeric: tabular-nums; }
.panel .seg { margin-top: 4px; flex-wrap: wrap; }
.panel .seg button { white-space: normal; line-height: 1.15; flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.panel button { min-width: 0; }
.slide { margin-top: 6px; }
.slide input[type="range"] { flex: 1; min-width: 0; }
.panel .mini { font-size: 11.5px; opacity: .85; margin-top: 6px; line-height: 1.45; }
.panel .mini:empty { display: none; }
.trenner { height: 1px; margin: 12px 0 2px; border-radius: 1px; }
body.theme-dark .trenner { background: rgba(255, 255, 255, .08); }
body.theme-light .trenner { background: rgba(15, 23, 42, .08); }
.knoepfe { display: flex; gap: 6px; margin-top: 10px; }
.knoepfe .ghost { flex: 1; }
.panel .ghost.an { background: var(--vk-ui-active-bg) !important; color: var(--vk-ui-active-ink) !important; }
.panel .hint { line-height: 1.55; }
.panel p + p { margin-top: 8px; }
.modell { font-size: 10.5px; opacity: .75; line-height: 1.55; margin-top: 9px; }
.nav-btn span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; text-align: center; line-height: 1.1; }
.schritte { display: flex; flex-direction: column; gap: 5px; }
.schritt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: none; border-radius: 11px; cursor: pointer; color: inherit; font: inherit;
  background: var(--vk-panel-surface); transition: background .15s, filter .15s; }
.schritt:hover { filter: brightness(1.12); background: var(--fokus-bg); }
.schritt i { flex: none; width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 12px; background: var(--chip-bg, rgba(127,127,127,.15)); }
.schritt span { display: flex; flex-direction: column; min-width: 0; }
.schritt b { font-size: 12.5px; font-weight: 750; }
.schritt small { font-size: 11px; opacity: .72; line-height: 1.3; }
.schritt.erledigt i { background: var(--pal-accent); color: #fff; }
.schritt.leuchtet { animation: leuchtenS 1.5s ease-in-out infinite; }
@keyframes leuchtenS { 0%, 100% { background-color: var(--vk-panel-surface); } 50% { background-color: var(--leucht); } }
#a-gantt { display: block; width: 100%; height: 96px; border-radius: 10px; background: var(--vk-panel-surface); }
#oee-kurve { display: block; width: 100%; height: 118px; margin-top: 8px; border-radius: 10px; background: var(--vk-panel-surface); }
#oee-rechnung { font-size: 12px; line-height: 1.5; }
#oee-rechnung section { padding: 7px 10px; border-radius: 10px; background: var(--vk-panel-surface); }
#oee-rechnung section + section { margin-top: 5px; }
#oee-rechnung h4 { font-size: 12px; font-weight: 750; margin: 0 0 2px; display: flex; align-items: center; gap: 7px; }
#oee-rechnung h4 i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--dot, currentColor); flex: none; }
#oee-rechnung h4 b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 800; }
#oee-rechnung .f { font-size: 11.5px; opacity: .82; line-height: 1.45; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#tel-liste { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.tz { display: grid; grid-template-columns: 52px 148px 1fr auto; gap: 8px; align-items: baseline; padding: 5px 9px; border-radius: 8px; background: var(--vk-panel-surface); font-size: 11.5px; line-height: 1.35; }
.tz .tt { font-variant-numeric: tabular-nums; opacity: .65; }
.tz .tp { font-weight: 750; }
.tz.typ-plan .tp { color: var(--fokus); } .tz.typ-maschine .tp { color: var(--typ-maschine); } .tz.typ-bde .tp { color: var(--typ-bde); } .tz.typ-analytics .tp { color: var(--typ-analytics); }
.tz .tk { font-size: 10.5px; opacity: .6; white-space: nowrap; }
.tz.alarm .tx { color: var(--rot); font-weight: 750; }
.leer { font-size: 11.5px; opacity: .6; padding: 8px 2px; }

/* ── Touch: jedes Bedienelement mindestens 44 px (Handy hoch und quer, Tablet) ── */
@media (max-width: 768px), (max-height: 500px), (pointer: coarse) {
  .panel-x { width: 44px; height: 44px; margin: -13px -13px -13px auto; }
  .slide input[type="range"] { height: 44px; }
  .slide input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -8.5px; }
  .slide input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }
  .karte .chip, .panel .seg button, .panel .ghost, .tempo .seg button { min-height: 44px; }
  .tempo .seg button { min-width: 44px; }
  .tempo #t-play { width: 44px; min-height: 44px; }
  .schritt { min-height: 50px; }
  #desktop-dock .dock-pill { min-height: 44px; }
}

/* ── Handy hoch: oben die Anzeige, unten in Daumenhöhe die Knöpfe, dazwischen frei für die Szene ── */
/* Nur bis Seitenverhältnis 8/5 (wie mobile() in app.js): flache Bilder unter 769 px sind ein Handy quer */
@media (max-width: 768px) and (max-aspect-ratio: 8/5) {
  #hud { left: 10px; right: 10px; top: 10px; width: auto; padding: 8px 12px 9px; }
  .karte-hd { margin-bottom: 0; }
  .karte-hd .kt, .karte-hd .kr, .panel .sub, .panel .lab, .panel h3 { font-size: 12px; }
  .hud-t b { font-size: 26px; }
  .hud-t #hud-oee-l { font-size: 13px; }
  .vergleich { flex-direction: row; gap: 3px 12px; margin: 4px 0 6px; }
  .vz { display: flex; flex-direction: column; align-items: flex-start; gap: 0; font-size: 12px; flex: 1; min-width: 0; }
  .vz .vb { display: none; }
  .vz b { text-align: left; font-size: 15px; }
  .status { font-size: 12.5px; padding: 6px 9px; min-height: 0; }
  body.sheet-offen #hud .vergleich, body.sheet-offen #hud .status { display: none; }

  /* Daumenleiste über der Navbar (app.js ordneHud verschiebt die Knöpfe hierher) */
  #hud-daumen { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; left: 10px; right: 10px; top: auto; width: auto;
    bottom: calc(var(--nav-h, 60px) + 20px); padding: 8px; font-size: 13px; }
  #hud-daumen:empty, body.sheet-offen #hud-daumen { display: none; }
  #hud-daumen > * { margin: 0 !important; }
  #hud-daumen .entscheid { order: 0; flex: 1 1 100%; }
  #hud-daumen .next { order: 1; flex: 1.3 1 0; width: auto; min-height: 48px; font-size: 14px !important; padding: 8px 10px; }
  #hud-daumen .aha { order: 2; flex: 1 1 0; width: auto; min-height: 48px; font-size: 13px; }
  #hud-daumen .eingriff { order: 1; flex: 1 1 0; min-width: 0; }
  #hud-daumen .eingriff .chip { min-height: 48px; font-size: 12.5px; }
  #hud-daumen .tempo { order: 3; flex: none; gap: 6px; }
  body.hud-start #hud-daumen .tempo { display: none; }
  #hud-daumen .tempo #t-play { width: 48px; min-height: 48px; }
  #hud-daumen .tempo .seg { padding: 0; background: none; }
  #hud-daumen .tempo .seg button { display: none; min-width: 52px; min-height: 48px; font-size: 13px; background: var(--chip-bg); opacity: 1; }
  #hud-daumen .tempo .seg button.active { display: block; }
  #hud-daumen .tempo #t-zeit { display: none; }
  .entscheid { flex-direction: row; flex-wrap: wrap; } .entscheid .et { width: 100%; font-size: 12px; } .entscheid .chip { flex: 1 1 30%; text-align: center; font-size: 12px; }

  /* Navbar mit kurzer Beschriftung unter den Symbolen */
  #mobile-navbar { left: 10px; right: 10px; bottom: 10px; padding: 5px; gap: 3px; }
  #mobile-navbar .nav-btn { flex: 1 1 auto; min-width: 44px; min-height: 50px; padding: 6px 5px; gap: 3px; }
  #mobile-navbar .nav-btn svg { width: 20px; height: 20px; }
  #mobile-navbar .nav-btn span { display: block; font-size: 12px; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow-wrap: normal; hyphens: manual; -webkit-hyphens: manual; }

  .tag { font-size: 12px; padding: 3px 7px; }
  .tag.ebene small, .tag.station { display: none; }
  #panel-ablauf, #panel-oee, #panel-telegramme, #panel-info { bottom: calc(var(--nav-h, 60px) + 20px) !important; max-height: 52vh; }
  .panel .mini, .modell, #oee-rechnung .f, .schritt small, .tz, .tz .tk, .leer { font-size: 12px; }
  .panel .hint { font-size: 13px; opacity: .8; }
  .panel .seg button { font-size: 12px; }
  .tz { grid-template-columns: 46px 1fr; } .tz .tx { grid-column: 1 / -1; } .tz .tk { display: none; }
}
/* Eingreifen im Film am Handy hoch: Navbar erst hinter dem Zahnrad des Players, die Daumenleiste rückt nach unten; Statuszeile weg */
@media (max-width: 768px) and (max-aspect-ratio: 8/5) {
  body.film-eingriff:not(.film-panels) #hud-daumen { bottom: 10px; }
  body.film-eingriff #hud .status { display: none; }
}
/* Sehr niedriges Hochformat (Mini-Vorschau, kleine Handys mit Browserleisten): Statuszeile weg, die Szene braucht den Platz */
@media (max-width: 768px) and (max-height: 600px) and (max-aspect-ratio: 8/5) {
  #hud .status { display: none; }
  .hud-t b { font-size: 22px; }
}

/* ── Handy quer: Anordnung wie am Desktop, aber schmal und flach ───────── */
@media (min-width: 769px) and (max-height: 500px), (min-aspect-ratio: 8/5) and (max-height: 500px) {
  #hud { left: 10px; top: 10px; width: 268px; padding: 8px 11px 9px; max-height: calc(100vh - 84px); overflow-y: auto; }
  .karte-hd { margin-bottom: 0; }
  .karte-hd .kt, .karte-hd .kr { font-size: 12px; }
  .hud-t b { font-size: 22px; }
  .vergleich { flex-direction: row; gap: 3px 10px; margin: 3px 0 5px; }
  .vz { display: flex; flex-direction: column; align-items: flex-start; gap: 0; font-size: 12px; flex: 1; min-width: 0; }
  .vz .vb { display: none; }
  .vz b { text-align: left; font-size: 14px; }
  .status { font-size: 12px; padding: 5px 8px; min-height: 0; }
  .next, .karte .aha, .eingriff, .entscheid, .tempo { margin-top: 6px; }
  .next { min-height: 44px; padding: 8px 10px; }
  .tempo .seg button { font-size: 12px; }
  .entscheid .et, .entscheid .chip { font-size: 12px; }
  #desktop-dock { bottom: 10px; }
  body.hud-start #hud-tempo { display: none; }
  #panel-ablauf { top: 10px; right: 10px; max-height: calc(100vh - 84px); }
  #panel-oee { left: auto; right: 10px; top: 10px; bottom: auto; max-height: calc(100vh - 84px); }
  #panel-telegramme, #panel-info { bottom: 72px; max-height: calc(100vh - 92px); }
  .panel .sub, .panel .lab, .panel h3, .panel .mini, .modell, #oee-rechnung .f, .schritt small, .tz, .tz .tk, .leer, .panel .seg button { font-size: 12px; }
  .panel .hint { font-size: 12.5px; }
  .tag { font-size: 12px; } .tag.ebene small, .tag.station { display: none; }
}
/* Eingreifen im Film am Handy quer: Der Player legt seinen Hinweis oben über das Bild, die Karte rückt deshalb nach unten links;
   ohne Dock (erst hinter dem Zahnrad) darf sie die ganze Höhe nutzen, die Statuszeile fällt weg */
@media (min-width: 769px) and (max-height: 500px), (min-aspect-ratio: 8/5) and (max-height: 500px) {
  body.film-eingriff #hud { top: auto; bottom: 10px; max-height: calc(100vh - 20px); }
  body.film-eingriff #hud .status { display: none; }
  /* Zahnrad offen: Unter 769 px Breite kommt die Navbar von VisuKit unten, die Karte steht darüber; ein offenes Blatt verdeckt sie */
  body.film-eingriff.film-panels #hud { bottom: calc(var(--nav-h, 60px) + 16px); max-height: calc(100vh - var(--nav-h, 60px) - 26px); }
  body.film-eingriff.film-panels #hud-tempo { display: none; }
  body.film-eingriff.sheet-offen #hud { display: none !important; }
}
/* Scrollbalken wie heyprof global — für JEDEN Scroll-Container. */
@supports (-moz-appearance: none) {
  * { scrollbar-width: thin; }
  body.theme-light { scrollbar-color: rgba(0,0,0,0.15) transparent; }
  body.theme-dark  { scrollbar-color: rgba(255,255,255,0.15) transparent; }
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.panel::-webkit-scrollbar-track { margin: 15px 0; }
::-webkit-scrollbar-thumb { border-radius: 4px; }
::-webkit-scrollbar-button { display: none; height: 0; width: 0; }
body.theme-light ::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.15); }
body.theme-light ::-webkit-scrollbar-thumb:hover { background-color: rgba(0,0,0,0.30); }
body.theme-dark  ::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.15); }
body.theme-dark  ::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,0.30); }
html::-webkit-scrollbar-thumb { background-color: rgba(127,127,160,0.35); }
body.buehne-film.film-panels #panel-ablauf { right: 92px; }
/* Eingreifen im Film: „Störung auslösen“ ist die wichtigste Aktion und steht deshalb farbig da */
body.film-eingriff #hud-stoer:not(:disabled) { background: var(--rot); color: #fff; }
/* Eingreifen am kleinen Handy hoch (iPhone SE): Der Player gibt der App nur wenig Höhe, Karte und Daumenleiste werden flacher */
@media (max-width: 768px) and (max-height: 440px) and (max-aspect-ratio: 8/5) {
  body.film-eingriff #hud { padding: 6px 10px 5px; }
  body.film-eingriff #hud .karte-hd { display: none; }
  body.film-eingriff .hud-t b { font-size: 20px; }
  body.film-eingriff .vergleich { margin: 2px 0 0; }
  body.film-eingriff .vz b { font-size: 14px; }
  body.film-eingriff #hud-daumen { padding: 6px; gap: 6px; }
  body.film-eingriff #hud-daumen .next, body.film-eingriff #hud-daumen .aha, body.film-eingriff #hud-daumen .eingriff .chip, body.film-eingriff #hud-daumen .tempo #t-play, body.film-eingriff #hud-daumen .tempo .seg button { min-height: 44px; }
}
/* Schmale Handys: Wörter nie mitten im Wort trennen; im Eingreifen bleibt das Tempo hinter dem Zahnrad (Panel Ablauf) */
@media (max-width: 380px) and (max-aspect-ratio: 8/5) {
  #hud-daumen .eingriff .chip { overflow-wrap: normal; word-break: normal; hyphens: manual; padding-left: 6px; padding-right: 6px; }
  body.film-eingriff #hud-daumen .tempo .seg { display: none; }
}
