/* Trocar de espaço (D8): lista de espaços e diálogo. Cor só por token (pele "Papel", menta); sem estilo inline.
   Autocontido: não mexe no cabeçalho — o botão do cabeçalho reusa a classe .quiet de cada página. */
.ws-switch-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ws-switch-option { display: grid; gap: 2px; width: 100%; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ws-switch-option:hover:not([disabled]) { border-color: var(--accent); background: var(--accent-soft); }
.ws-switch-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ws-switch-option[disabled] { cursor: default; border-color: var(--accent-line); background: var(--surface-soft); }
.ws-switch-name { font-size: var(--fs-body); font-weight: 600; overflow-wrap: anywhere; }
.ws-switch-meta { color: var(--muted); font-size: var(--fs-small); }
.ws-switch-status { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); font-size: var(--fs-small); }
.ws-switch-status.is-error { color: var(--coral); }

.ws-switch-dialog { width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.ws-switch-dialog::backdrop { background: var(--ink); opacity: .35; }
.ws-switch-dialog h2 { margin: 0; font-size: var(--fs-title); font-weight: 600; }
.ws-switch-help { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.ws-switch-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.ws-switch-cancel { min-height: 44px; padding: 0 14px; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; }
.ws-switch-cancel:hover { color: var(--ink); }
.ws-switch-cancel:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
