/* mjOS · Bridge — Statusboard (docs/statusboard.md): Zeitleiste eines Eintrags und „Jetzt“. Nur Metadaten. */
.statusboard { display: flex; flex-direction: column; gap: 14px; }
.statusboard[hidden] { display: none; }
.statusboard .note { overflow-wrap: anywhere; }
.en-where { align-self: flex-start; color: var(--accent); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.en-where[hidden] { display: none; }

.sb-gate { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.sb-gate-text { margin: 0; color: var(--text-2); }
.sb-code { display: flex; gap: 8px; flex-wrap: wrap; }
.sb-code input { flex: 1 1 140px; min-width: 0; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-3);
  background: var(--void); color: var(--text); font: 18px var(--font-mono); letter-spacing: .3em; }
.sb-code button, .sy-sb > button { min-height: 44px; padding: 0 16px; }

.sb-now { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; }
.sb-now strong { font-size: 17px; }
.sb-timeline { display: flex; flex-direction: column; gap: 12px; }
.sb-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.sb-table th { font: 500 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2);
  padding: 6px 2px; text-align: center; border-bottom: 1px solid var(--line-1); }
.sb-table th.sb-name { text-align: left; }
.sb-table td { padding: 8px 2px; vertical-align: top; border-bottom: 1px solid var(--line-1); }
.sb-nr { width: 26px; color: var(--muted-2); font-family: var(--font-mono); text-align: center; }
.sb-dev { width: 34px; text-align: center; font-family: var(--font-mono); }
.sb-dev.on { background: var(--surface); }
.sb-dev.from { border-radius: 8px 0 0 8px; }
.sb-dev.to { border-radius: 0 8px 8px 0; }
.sb-dev.at { border-radius: 8px; }
.sb-name { overflow-wrap: anywhere; }
.sb-station { display: block; font-weight: 500; }
.sb-state, .sb-note { display: block; color: var(--muted); font-size: 12px; }
.sb-files summary { cursor: pointer; color: var(--accent); font-size: 12px; min-height: var(--touch); display: flex; align-items: center; }
.sb-files ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sb-file { display: block; font-family: var(--font-mono); font-size: 12px; }
.sb-meta { display: block; color: var(--muted-2); font-size: 11px; font-family: var(--font-mono); }
tr.tone-done .sb-dev.on, .tone-done .sj-state { color: var(--green); }
tr.tone-run .sb-dev.on, .tone-run .sj-state { color: var(--blue); }
tr.tone-wait .sb-dev.on, .tone-wait .sj-state { color: var(--amber-text); }
tr.tone-fail .sb-dev.on, .tone-fail .sj-state, .sj-segment.tone-fail span { color: var(--red); }
tr.tone-na { color: var(--muted-2); }

.sj-rows { display: flex; flex-direction: column; gap: 10px; }
.sj-row { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; }
.sj-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sj-head strong { font-size: 16px; }
.sj-state { font-family: var(--font-mono); font-size: 12px; }
.sj-what, .sj-running { margin: 0; overflow-wrap: anywhere; }
.sj-running { color: var(--text-2); font-size: 13px; }
.sj-queues { display: flex; flex-wrap: wrap; gap: 6px; }
.sj-queues .chip { font-size: 12px; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--line-3); }
.sj-at { color: var(--muted-2); font-size: 11px; font-family: var(--font-mono); }
.sj-roads { margin-top: 6px; }
.sj-segment { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 6px 2px; border-bottom: 1px solid var(--line-1); font-size: 13px; }
.sy-sb { display: flex; flex-direction: column; gap: 8px; }
.sy-sb-link { color: var(--accent); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 380px) { .sb-dev { width: 28px; } }

/* Aktionen: Daniel an/aus, Dienste neu starten */
.sb-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sb-action-rows { display: flex; flex-direction: column; gap: 8px; }
.sb-action > button, .sb-sure button { min-height: 44px; padding: 0 16px; }
.sb-sure { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sb-sure .note { flex: 1 1 100%; margin: 0; }
.sb-result { min-height: 1.4em; }
