/* The Swairm page (/swairm/): on top of ../editor.css, the switches, the summary, the waitlist table and the events. */
.sw-card { margin-top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sw-select { max-width: 14rem; }
.sw-list, .sw-events { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.sw-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.sw-row > .what { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.sw-row > .what strong { font-weight: 600; }
.sw-row .row { flex: 0 0 auto; }
.sw-row input[type=number] { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; width: 9rem; }
.chip { display: inline-block; max-width: 100%; font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin: 2px 4px 2px 0; color: var(--muted); overflow-wrap: anywhere; }
.chip.on { color: var(--green); border-color: rgba(34, 177, 76, .5); }
.chip.bad { color: var(--red); border-color: rgba(240, 57, 47, .5); }
.chip.warn { color: var(--yellow); border-color: rgba(242, 201, 76, .5); }
.sw-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sw-grid .fact { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.sw-grid .fact h3 { margin: 0 0 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.sw-grid .fact p { margin: 0; }
.sw-grid .fact .row { margin-top: 8px; }
.sw-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 10px; display: block; overflow-x: auto; }
.sw-table th, .sw-table td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.sw-table th { color: var(--muted); font-weight: 600; }
.sw-table td.id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; }
.sw-events li { border-bottom: 1px solid var(--line); padding: 6px 0; font-size: .88rem; overflow-wrap: anywhere; }
.sw-events time, .sw-events .kind { color: var(--muted); margin-right: 8px; }
.sw-events .actor { margin-right: 8px; }
