/* Töne: Schalter „Lautlos“, Protokoll-Knopf, Laufband mit dem Grund (public/ton.js) – keine Inline-Stile (CSP) */
.ton-bar { display: flex; justify-content: flex-end; align-items: center; gap: 0.35rem; padding: 0.2rem 0.7rem; }
.ton-btn { font: inherit; font-size: 0.8rem; line-height: 1.2; padding: 0.25rem 0.6rem; min-height: 1.9rem; border-radius: 999px; border: 1px solid var(--color-border, rgba(127, 127, 127, 0.35)); background: var(--glass-bg, var(--surface, #fff)); color: var(--color-text, var(--text, #12141c)); cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; }
.ton-btn:hover { border-color: var(--color-primary, var(--primary, #3854d6)); }
.ton-btn.is-on { background: #b3261e; border-color: #b3261e; color: #fff; font-weight: 700; }
.ton-btn.is-primary { background: var(--color-primary, var(--primary, #3854d6)); border-color: transparent; color: var(--on-primary, #fff); }
.ton-btn-icon { padding: 0.25rem 0.5rem; }
.ton-reason { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; display: flex; align-items: stretch; background: #1f2937; color: #fff; border-bottom: 2px solid #f5b301; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); min-height: 2.4rem; }
.ton-reason[hidden] { display: none; }
.ton-reason.is-silent { background: #4b5563; border-bottom-color: #9ca3af; }
.ton-reason-label { flex: none; display: grid; place-items: center; padding: 0 0.8rem; background: rgba(0, 0, 0, 0.3); font-size: 1.1rem; }
.ton-reason-view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ton-reason-track { display: inline-block; white-space: nowrap; padding-left: 100%; animation: ton-scroll 20s linear infinite; font-size: 0.95rem; }
@keyframes ton-scroll { to { transform: translateX(-100%); } }
.ton-reason-close { flex: none; border: 0; background: rgba(0, 0, 0, 0.3); color: #fff; font-size: 1.3rem; padding: 0 0.9rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .ton-reason-track { animation: none; padding: 0.4rem 0.8rem; white-space: normal; } }
.ton-log { width: min(860px, 96vw); max-height: 88vh; border: 1px solid var(--color-border, rgba(127, 127, 127, 0.4)); border-radius: 14px; padding: 1rem 1.1rem; background: var(--color-surface, var(--surface, #fff)); color: var(--color-text, var(--text, #12141c)); }
.ton-log::backdrop { background: rgba(10, 12, 20, 0.5); }
.ton-log h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.ton-log-note, .ton-log-empty { font-size: 0.85rem; opacity: 0.8; }
.ton-log-wrap { overflow: auto; max-height: 58vh; }
.ton-log-table { border-collapse: collapse; width: 100%; font-size: 0.85rem; }
.ton-log-table th, .ton-log-table td { border-bottom: 1px solid var(--color-border, rgba(127, 127, 127, 0.3)); padding: 0.3rem 0.4rem; text-align: left; vertical-align: top; }
.ton-log-foot { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.8rem; }
@media print { .ton-bar, .ton-reason { display: none !important; } }

/* Symbole (public/stab/icons.js): Linien-Stil wie icon() in app.js */
.uic { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; margin-inline-end: 0.35em; }
.uic:last-child { margin-inline-end: 0; }
.uic .uic-fill { fill: currentColor; }
button .uic, a.btn .uic { vertical-align: -0.18em; }

/* Touch-Geräte: Tippflächen mindestens 44 px (Audit 19.10.2026, B-05) */
@media (pointer: coarse) { .ton-btn { min-height: 44px; min-width: 44px; } }
