/* JS8 page, laid out after JS8Call: header with frequency, station and
   clock; three columns (band activity, messages, callsigns); button row;
   waterfall with a control panel; settings folded away below.
   Separate from style.css on purpose (edited in parallel by other tools);
   uses the site's colour tokens. */

.js8-app { margin-top: 1rem; --js8-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.js8-app .note { margin-bottom: 0.8rem; }

/* ------------------------------------------------------------ header */
.js8-kopf {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2rem; align-items: center;
  background: #0a0e1f; color: #eef0fa; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.8rem 1.2rem; margin-bottom: 0.8rem;
}
.js8-kopf-freq { display: grid; gap: 0.2rem; justify-items: center; }
.js8-bandwahl { background: #151b35; color: #eef0fa; border: 1px solid #2a3358; border-radius: 6px; padding: 0.2rem 0.5rem; font: inherit; font-size: 0.85rem; font-weight: 600; }
.js8-freq-anzeige {
  font-family: var(--js8-mono); font-size: 2.2rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.1;
  background: transparent; color: #eef0fa; border: 1px solid transparent; border-radius: 6px; padding: 0.1rem 0.4rem;
  width: 13.5ch; box-sizing: content-box; text-align: center; cursor: text;
}
.js8-freq-anzeige:hover { border-color: #2a3358; }
.js8-freq-anzeige:focus { outline: none; border-color: var(--accent); background: #151b35; }
.js8-freq-offset { font-family: var(--js8-mono); font-size: 1.1rem; color: #8a93b3; text-align: center; }
.js8-kopf-station { text-align: center; }
.js8-station-anzeige { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.03em; }
.js8-utc { font-family: var(--js8-mono); font-size: 1.5rem; font-weight: 600; }
.js8-datum { font-family: var(--js8-mono); font-size: 0.95rem; color: #8a93b3; }
.js8-kopf-status { display: grid; gap: 0.45rem; justify-items: end; }
.js8-status-knoepfe { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: flex-end; }
.js8-kopf .btn-sm { background: #151b35; color: #eef0fa; border-color: #2a3358; }
.js8-kopf .btn-sm:hover { border-color: var(--accent); }
.js8-rxtx { padding: 0.3rem 0.9rem; border-radius: 6px; border: 1px solid #2a3358; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; min-width: 3.6rem; text-align: center; }
.js8-rxtx.rx { background: #27af57; border-color: #27af57; color: #fff; }
.js8-rxtx.tx { background: #ef4444; border-color: #ef4444; color: #fff; }
.js8-modus { background: #2f6fed; color: #fff; border: 0; border-radius: 6px; padding: 0.3rem 0.6rem; font: inherit; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; }
.js8-multi { color: #eef0fa; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; }
.js8-periode { width: 100%; height: 0.45rem; border-radius: 999px; background: #151b35; border: 1px solid #2a3358; overflow: hidden; }
.js8-periode div { height: 100%; width: 0; background: var(--accent); }
.js8-kopf .field-hint { color: #8a93b3; min-height: 1em; }
@media (max-width: 900px) {
  .js8-kopf { grid-template-columns: 1fr; text-align: center; }
  .js8-kopf-status { justify-items: center; }
  .js8-status-knoepfe { justify-content: center; }
}

/* ----------------------------------------------------------- columns */
.js8-spalten { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 4fr); gap: 0.7rem; }
@media (max-width: 1100px) { .js8-spalten { grid-template-columns: 1fr 1fr; } .js8-mitte { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 700px) { .js8-spalten { grid-template-columns: 1fr; } .js8-mitte { grid-row: auto; } }
.js8-spalte { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 9px; background: var(--bg2); overflow: hidden; }
.js8-spalte-kopf {
  display: flex; align-items: center; gap: 0.6rem; padding: 0 0.6rem; height: 2.3rem; box-sizing: border-box;
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.js8-spalte-kopf > span:first-child { flex: 1 1 auto; }
.js8-spalte-kopf .js8-schalter { text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
.js8-spalte-kopf .field-hint { text-transform: none; letter-spacing: 0; font-size: 0.75rem; white-space: nowrap; }
.btn-sm.klein { padding: 0.15rem 0.6rem; font-size: 0.78rem; }
.js8-liste {
  font-family: var(--js8-mono); font-size: 0.85rem; line-height: 1.45;
  padding: 0.35rem 0.5rem; height: 22rem; overflow-y: auto; white-space: pre-wrap; word-break: break-word;
}
.js8-nachrichten { height: 16rem; flex: 1 1 auto; }
.js8-liste .zeile { padding: 0.1rem 0.25rem; border-radius: 4px; cursor: pointer; }
.js8-liste .zeile:hover { background: var(--card-hover); }
.js8-liste .zeile.hb { color: var(--muted); }
.js8-liste .zeile.mir { background: color-mix(in srgb, #ef4444 18%, transparent); color: #ef4444; font-weight: 600; }
.js8-liste .zeile.eigen { color: var(--accent2); }
.js8-liste .zeile.wackel { opacity: 0.6; }
/* Zeit und Messwerte gut lesbar, nur etwas zurückgenommen (vorher --muted, auf hellem Grund kaum zu sehen) */
.js8-liste .meta, .js8-liste .ts { color: var(--fg); opacity: 0.75; font-variant-numeric: tabular-nums; }
.js8-liste .call { color: var(--accent); font-weight: 600; }
.js8-liste .zeile.ausgewaehlt { outline: 1px solid var(--accent); }

.js8-eingabe { display: grid; gap: 0.35rem; padding: 0.5rem 0.6rem; border-top: 1px solid var(--border); }
.js8-eingabe input, .js8-eingabe textarea {
  background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: 7px;
  padding: 0.4rem 0.6rem; font: inherit; font-family: var(--js8-mono); font-size: 0.9rem; width: 100%; min-width: 0;
}
.js8-eingabe textarea { resize: vertical; text-transform: uppercase; }
.js8-eingabe input:focus, .js8-eingabe textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.js8-eingabe-fuss { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--muted); }

/* ----------------------------------------------------------- buttons */
.js8-tasten { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0.7rem 0; }
.js8-tasten .btn-sm { min-width: 5.5rem; text-align: center; }
.js8-tasten .btn { padding: 0.45rem 1.4rem; }
.js8-tasten-luft { flex: 1 1 auto; }
.js8-tasten .halt { background: #ef4444; color: #fff; border-color: transparent; font-weight: 700; }
#js8-send[disabled], .js8-tasten .btn-sm[disabled] { opacity: 0.45; cursor: not-allowed; }
#js8-tune[aria-pressed="true"] { background: #ef4444; color: #fff; border-color: transparent; }

/* --------------------------------------------------------- waterfall */
.js8-wf-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 0.7rem; align-items: stretch; }
@media (max-width: 800px) { .js8-wf-zeile { grid-template-columns: 1fr; } }
.js8-wf { min-width: 0; display: flex; flex-direction: column; }
#js8-wasserfall { display: block; width: 100%; flex: 1 1 auto; height: 0; min-height: 12rem; background: #000; border-radius: 0 0 9px 9px; cursor: crosshair; image-rendering: pixelated; }
.js8-skala {
  display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); font-family: var(--js8-mono);
  padding: 0.15rem 0.3rem; background: var(--bg2); border: 1px solid var(--border); border-bottom: 0; border-radius: 9px 9px 0 0;
}
.js8-wf-panel { display: grid; gap: 0.6rem; border: 1px solid var(--border); border-radius: 9px; background: var(--bg2); padding: 0.7rem 0.8rem; }
.js8-wf-panel .field input { min-width: 0; width: 100%; }
/* Eingangspegel wie die Balken der Fernbedienung (remote.css .rm-balken): vertiefte Schiene, leuchtende Füllung mit
   Glanzkante, LED-Stege darüber; die Farbzonen hängen an der Skala (--breite), ein kurzer Balken bleibt grün. */
.js8-pegelbox { min-width: 11rem; }
.js8-pegel-kopf { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.2rem; }
.js8-pegel-kopf span:last-child { color: var(--fg); font-weight: 600; font-family: var(--js8-mono); }
.js8-pegel {
  position: relative; width: 100%; height: 1.1rem; border-radius: 5px; overflow: hidden;
  background: linear-gradient(180deg, #05070f, #111731 60%, #0b1024);
  border: 1px solid #1f2849;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.05);
}
.js8-pegel > div {
  height: 100%; width: 0; border-radius: 4px 2px 2px 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08) 45%, rgba(0, 0, 0, 0.25)),
    linear-gradient(90deg, #1f9d4c 0, #3bd16f 45%, #e8b923 62%, #f08a24 78%, #ef4444 90%);
  background-size: 100% 100%, var(--breite, 100vw) 100%;
  box-shadow: 0 0 8px rgba(59, 209, 111, 0.35);
  transition: width 0.12s linear;
}
.js8-pegel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(5, 7, 15, 0.55) 7px 9px);
}
/* senkrecht (FT8, wie WSJT-X): dieselbe Schiene, Farbzonen von unten nach oben an der Höhe (--hoehe), LED-Stege waagrecht */
.js8-pegel.senkrecht { width: 1.1rem; height: auto; min-height: 9rem; display: flex; align-items: flex-end; }
.js8-pegel.senkrecht > div {
  width: 100%; height: 0; border-radius: 2px 2px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08) 45%, rgba(0, 0, 0, 0.25)),
    linear-gradient(0deg, #1f9d4c 0, #3bd16f 45%, #e8b923 62%, #f08a24 78%, #ef4444 90%);
  background-size: 100% 100%, 100% var(--hoehe, 9rem);
  background-position: 0 100%, 0 100%;
  transition: height 0.12s linear;
}
.js8-pegel.senkrecht::after { background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(5, 7, 15, 0.55) 7px 9px); }
.js8-pegel-skala.senkrecht { flex-direction: column; padding: 0 0.15rem 0 0; text-align: right; }
.js8-pegel-skala { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--muted); padding: 0.1rem 0.2rem 0; font-family: var(--js8-mono); }

/* ---------------------------------------------------------- settings */
.js8-einstellungen {
  width: min(92vw, 62rem); max-height: 92vh; overflow: hidden; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.4rem 1.4rem;
  background: var(--bg2); color: var(--fg); box-shadow: var(--shadow);
}
.js8-einstellungen::backdrop { background: rgba(0, 0, 0, 0.55); }
.js8-dialog-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.js8-dialog-kopf h2 { margin: 0; }
.js8-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin: 0 0 0.8rem; }
.js8-tab {
  font: inherit; cursor: pointer; padding: 0.55rem 1.2rem; margin-bottom: -1px;
  border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0;
  background: transparent; color: var(--muted);
}
.js8-tab:hover { color: var(--fg); }
.js8-tab[aria-selected="true"] {
  color: var(--fg); font-weight: 600; background: var(--bg2);
  border-color: var(--border); border-bottom: 1px solid var(--bg2);
}
.js8-tab-seite { height: min(66vh, 44rem); overflow-y: auto; padding-right: 0.3rem; }
/* Log tab: the log box takes all the height the test row and the licence
   line leave over, instead of a fixed 16 rem. */
.js8-tab-seite[data-tab="log"] { display: flex; flex-direction: column; overflow: hidden; }
.js8-tab-seite[data-tab="log"] h3 { margin-top: 0.4rem; }
.js8-tab-seite[data-tab="log"] .js8-log { flex: 1 1 auto; max-height: none; min-height: 8rem; margin: 0; }
.js8-tab-seite[data-tab="log"] > p:last-child { margin: 0.5rem 0 0; }
.js8-einstellungen .note.warn { border-color: #d6a10b; }
.js8-einstellungen h3 { margin-top: 1.2rem; }
.js8-zeile { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; align-items: end; margin: 0.4rem 0 0.6rem; }
.js8-schalter { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; text-transform: none; letter-spacing: 0; color: inherit; font-weight: 500; }
.js8-schalter input { accent-color: var(--accent); }
.js8-auto { gap: 0.5rem 1.5rem; }
.js8-log { max-height: 16rem; overflow: auto; font-size: 0.8rem; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 0.5rem 0.7rem; white-space: pre-wrap; }

/* ------------------------------------------------- operating extras */
.js8-pille { font: inherit; cursor: pointer; padding: 0.3rem 0.7rem; border-radius: 6px; border: 1px solid #2a3358; background: #151b35; color: #8a93b3; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; }
.js8-pille[aria-pressed="true"] { background: #27af57; border-color: #27af57; color: #fff; }
#js8-tx[aria-pressed="true"] { background: #2f6fed; border-color: #2f6fed; }
.js8-zaehler { display: inline-block; min-width: 1.3em; padding: 0 0.35em; margin-left: 0.3em; border-radius: 999px; background: #ef4444; color: #fff; font-size: 0.75rem; text-align: center; }
.js8-menue { padding: 0.45rem 0.7rem; min-width: 7rem; max-width: 11rem; cursor: pointer; }
.js8-menue[disabled] { opacity: 0.45; cursor: not-allowed; }
.js8-liste .zeile.cq { color: #27af57; }
.js8-liste .zeile.hl1 { background: color-mix(in srgb, var(--accent) 28%, transparent); }
.js8-liste .zeile.hl2 { background: color-mix(in srgb, var(--accent2) 28%, transparent); }
.js8-inbox { display: grid; gap: 0.6rem; }
.js8-inbox-eintrag { border: 1px solid var(--border); border-radius: 9px; padding: 0.5rem 0.7rem; background: var(--bg); }
.js8-inbox-eintrag.neu { border-color: var(--accent); }
.js8-inbox-kopf { font-size: 0.85rem; margin-bottom: 0.3rem; }
.js8-inbox-text { font-family: var(--js8-mono); white-space: pre-wrap; margin-bottom: 0.4rem; }
.js8-qsolog { height: auto; flex: 1 1 auto; }
.js8-tab-seite[data-tab="logbuch"], .js8-tab-seite[data-tab="posteingang"] { display: flex; flex-direction: column; gap: 0.6rem; }
.js8-tab-seite[data-tab="logbuch"] .js8-qsolog { min-height: 8rem; max-height: none; }
.js8-klein { width: min(92vw, 40rem); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.4rem 1.2rem; background: var(--bg2); color: var(--fg); box-shadow: var(--shadow); }
.js8-klein::backdrop { background: rgba(0, 0, 0, 0.55); }
.js8-klein h2 { margin-top: 0; }
.js8-bestaetigen-text { white-space: pre-wrap; font-family: var(--js8-mono); background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 0.6rem 0.8rem; }

/* AFU-179: im Kasten „FT8 / JS8“ der Fernbedienung (?fernbedienung=1, js8-fernbedienung.js): ohne Kopf und Fuß
   der Website, ohne Soundkarte und Kabel; Ton, Frequenz und PTT kommen von der Station. */
html:not(.fb-eingebettet) .fb-nur { display: none !important; }
html.fb-eingebettet .topbar,
html.fb-eingebettet .footer,
html.fb-eingebettet .skip,
html.fb-eingebettet .fb-aus { display: none !important; }
html.fb-eingebettet main { padding-top: 0.5rem; }

/* ------------------------------------------- Aufteilung /ft8 und /js8 (digi-layout.js, Mensch 12.10.2026)
   Wasserfall (.digi-wf) unten, rechts neben den Kästen (.wf-rechts an der App, Lage und Höhe setzt digi-layout.js) oder
   im eigenen Fenster (body.digi-wf-popup); ⠿ zieht ihn, die linke Kante ändert die Breite; .digi-hoehe-griff unter
   den Listen ändert ihre Höhe gemeinsam. */
.digi-wf { position: relative; }
.digi-wf-griff { cursor: grab; color: var(--muted); font-size: 14px; user-select: none; touch-action: none; }
.digi-wf-trenner { display: none; }
.wf-rechts { position: relative; padding-right: calc(var(--wf-breite, 420px) + 8px); }
.wf-rechts > .digi-wf { position: absolute; right: 0; width: var(--wf-breite, 420px); display: flex; flex-direction: column; margin-top: 0; }
.wf-rechts .digi-wf-hilfe { display: none; }
.wf-rechts .digi-wf-trenner { display: flex; align-items: center; justify-content: center; position: absolute; left: 0; top: 0; bottom: 0;
  width: 10px; cursor: col-resize; z-index: 2; touch-action: none; }
.wf-rechts .digi-wf-trenner::before { content: ""; width: 4px; height: 48px; border-radius: 2px; background: var(--border);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 15%, transparent); }
.wf-rechts .digi-wf-trenner:hover::before, .wf-rechts .digi-wf-trenner.zieht::before { background: var(--accent); height: 96px; }
.wf-ziehen::after { content: "hier ablegen: Wasserfall rechts"; position: fixed; top: 0; right: 0; bottom: 0; width: 30vw; z-index: 50;
  display: flex; align-items: center; justify-content: center; color: var(--fg); font-weight: 600;
  background: color-mix(in srgb, var(--accent) 18%, transparent); border-left: 2px dashed var(--accent); pointer-events: none; }
.wf-ziehen.wf-rechts::after { content: "hier ablegen: Wasserfall unten"; top: auto; left: 0; width: auto; height: 30vh; border-left: 0; border-top: 2px dashed var(--accent); }
.digi-wf-platzhalter { border: 1px dashed var(--border); border-radius: 8px; padding: 0.5rem 0.8rem; color: var(--muted); font-size: 12px; display: flex; gap: 0.6rem; align-items: center; margin-top: 0.5rem; }
.digi-hoehe-griff { height: 10px; margin: 0 0 0.25rem; cursor: row-resize; display: flex; align-items: center; justify-content: center; touch-action: none; }
.digi-hoehe-griff::before { content: ""; width: 48px; height: 4px; border-radius: 2px; background: var(--border); }
.digi-hoehe-griff:hover::before, .digi-hoehe-griff.zieht::before { background: var(--accent); width: 96px; }
@media (max-width: 1100px) { .digi-wf-platz, .digi-wf-griff { display: none; } }
@media (max-width: 700px) { .digi-wf-ort { display: none; } }
body.digi-wf-popup { margin: 0; background: var(--bg); }
body.digi-wf-popup .digi-wf { height: 100vh; display: flex; flex-direction: column; border: 0; border-radius: 0; margin: 0; }
body.digi-wf-popup .digi-wf-platz, body.digi-wf-popup .digi-wf-griff { display: none; }

/* Knöpfe in Gruppen (beide Seiten) */
.digi-seg { display: inline-flex; }
.digi-seg > .btn-sm { border-radius: 0; margin-left: -1px; }
.digi-seg > .btn-sm:first-child { border-radius: 5px 0 0 5px; margin-left: 0; }
.digi-seg > .btn-sm:last-child { border-radius: 0 5px 5px 0; }
.digi-seg > .btn-sm:only-child { border-radius: 5px; }

/* ------------------------------------------- /js8 kompakt nach dem Muster von /ft8 (Mensch, 12.10.2026)
   Menüleiste mit Frequenz, Schaltern, Uhr und Periode als Streifen; drei Spalten so hoch wie das Fenster erlaubt;
   kleine Knöpfe in Gruppen; Wasserfall unten, rechts oder im eigenen Fenster. */
.js8-seite { margin-top: 0.5rem; }
.js8-seite .btn-sm { height: 24px; min-height: 0; padding: 0 9px; border-radius: 5px; font-size: 12px; line-height: 22px; min-width: 0; }
.js8-seite .js8-schalter { font-size: 12px; gap: 4px; }
.js8-luft { flex: 1 1 auto; }
.js8-seite .js8-kopf { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; position: relative; overflow: hidden;
  padding: 7px 8px 9px; margin-bottom: 0.5rem; border-radius: 8px; }
.js8-seite .js8-kopf-freq { display: inline-flex; gap: 6px; align-items: center; }
.js8-seite .js8-bandwahl, .js8-seite .js8-modus { height: 24px; padding: 0 6px; font-size: 12px; border-radius: 5px; }
.js8-seite .js8-freq-anzeige { font-size: 18px; line-height: 22px; height: 24px; padding: 0 6px; width: 10.5ch; color: #39d353; background: #151b35;
  border-color: #2a3358; box-sizing: content-box; }
.js8-seite .js8-freq-offset { font-size: 12px; }
.js8-seite .js8-kopf-schalter { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.js8-seite .js8-multi { font-size: 11.5px; }
.js8-seite .js8-pille { font-weight: 700; letter-spacing: 0.05em; padding: 0 10px; }
.js8-seite .js8-kopf-station { display: inline-flex; gap: 8px; align-items: baseline; font-family: var(--js8-mono); }
.js8-seite .js8-station-anzeige { font-size: 12px; font-weight: 600; color: #8a93b3; }
.js8-seite .js8-utc { font-size: 15px; }
.js8-seite .js8-datum { font-size: 11px; }
.js8-seite .js8-kopf-hinweis { font-size: 11px; }
/* AFU-183: Basis 0, darf schrumpfen: ein längerer Text („1 Decode(s), 601 ms“) bricht die Leiste nicht mehr um */
.digi-kopf-hinweise { flex: 1 1 0; min-width: 0; display: flex; gap: 10px; justify-content: flex-end; align-items: center;
  overflow: hidden; white-space: nowrap; }
.digi-kopf-hinweise > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.digi-kopf-hinweise > :empty { display: none; }
.js8-seite .js8-rxtx { padding: 0 8px; height: 20px; line-height: 18px; font-size: 11px; border-radius: 4px; min-width: 0; }
.js8-seite .js8-periode { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 3px; border: 0; border-radius: 0; background: transparent; }

.js8-seite .js8-spalte-kopf { padding-top: 4px; padding-bottom: 4px; }
.js8-seite .js8-eingabe { gap: 4px; padding: 6px 8px; }
.js8-seite .js8-eingabe input { height: 26px; padding: 0 8px; }
.js8-seite .js8-eingabe textarea { padding: 4px 8px; }
.js8-seite .js8-eingabe-fuss { font-size: 11px; }
@media (min-width: 1101px) {
  /* die Höhe setzt digi-layout.js an der Zeile, die Listen füllen sie */
  .js8-seite .js8-spalten { grid-template-rows: minmax(0, 1fr); height: 34rem; }
  .js8-seite .js8-spalte { min-height: 0; }
  .js8-seite .js8-liste { height: auto; flex: 1 1 0; min-height: 0; }
}
@media (max-width: 1100px) { .js8-seite .digi-hoehe-griff { display: none; } .js8-seite .js8-spalten { margin-bottom: 0.5rem; } }

.js8-seite .js8-tasten { gap: 6px; margin: 0 0 0.5rem; }
.js8-seite .js8-tasten .btn-sm { min-width: 0; }
.js8-seite .js8-menue { padding-right: 22px; }
.js8-seite .js8-senden:not([disabled]) { background: var(--accent); color: #fff; border-color: transparent; font-weight: 700; }

/* Wasserfall: Kopf mit Griff und Ort, darunter Skala und Bild; die Regler daneben (unten) bzw. darunter (rechts) */
.js8-seite .js8-wf-zeile { grid-template-columns: minmax(0, 1fr) 14rem; gap: 8px; }
.js8-wf-kopf { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 3px 8px; background: var(--bg2);
  border: 1px solid var(--border); border-bottom: 0; border-radius: 9px 9px 0 0; font-size: 12px; }
.js8-wf-titel { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.js8-wf-kopf + .js8-skala { border-radius: 0; }
.js8-seite #js8-wasserfall { min-height: 200px; }
.js8-seite .js8-wf-panel { gap: 6px; padding: 6px 8px; align-content: start; }
.js8-seite .js8-wf-panel .field { margin: 0; }
.js8-seite .js8-wf-panel .field label { font-size: 11px; margin: 0 0 2px; }
.js8-seite .js8-wf-panel .field input:not([type=radio]):not([type=checkbox]):not([type=range]) { height: 24px; min-height: 0; padding: 0 6px; font-size: 12px; border-radius: 5px; }
.js8-seite .js8-pegelbox { min-width: 0; }
.wf-rechts > .js8-wf-zeile { gap: 6px; }
.wf-rechts > .js8-wf-zeile .js8-wf { flex: 1 1 auto; min-height: 0; }
.wf-rechts > .js8-wf-zeile #js8-wasserfall { min-height: 0; }
.wf-rechts > .js8-wf-zeile .js8-wf-panel { grid-template-columns: 1fr 1fr; }
body.digi-wf-popup .js8-wf-zeile { display: grid; padding: 6px; box-sizing: border-box; }
body.digi-wf-popup #js8-wasserfall { min-height: 0; }

@media (max-width: 700px) {
  .js8-seite .btn-sm, .js8-seite .js8-bandwahl, .js8-seite .js8-modus,
  .js8-seite .js8-wf-panel .field input:not([type=radio]):not([type=checkbox]):not([type=range]) { height: 32px; font-size: 13px; }
  .js8-seite .js8-kopf > .digi-seg > .btn-sm { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .js8-seite .js8-kopf-freq { width: 100%; }
  .js8-seite .js8-bandwahl { flex: 1 1 auto; min-width: 0; }
  .js8-seite .js8-freq-anzeige { width: 9.5ch; font-size: 16px; }
  .js8-seite .js8-wf-zeile { grid-template-columns: 1fr; }
  .js8-seite .digi-wf-hilfe { display: none; }
  .js8-seite .btn-sm { line-height: 30px; }
  .js8-seite .js8-freq-anzeige { height: 32px; line-height: 30px; font-size: 20px; }
  .js8-seite .js8-kopf > .digi-seg, .js8-seite .js8-tasten > .digi-seg { display: flex; width: 100%; }
  .js8-seite .js8-kopf > .digi-seg > .btn-sm, .js8-seite .js8-tasten > .digi-seg > .btn-sm { flex: 1 1 0; min-width: 0; padding: 0 4px; }
  .js8-seite .js8-luft { display: none; }
  .digi-kopf-hinweise { flex-basis: 100%; justify-content: flex-start; }   /* AFU-183: am Handy eigene Zeile */
  .js8-seite .js8-tasten .js8-menue { flex: 1 1 40%; }
  .js8-seite .js8-wf-panel { grid-template-columns: 1fr 1fr; }
}
