/* The platform console: the CRM's look (styles.css, appkit.css, crm.css), on a page of its own. */
html, body { height: 100%; }
body { overflow: hidden; }
.console-shell { position: fixed; inset: 16px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  border: 1px solid rgb(var(--ink) / 0.16); background: var(--surface); }
.console-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.console-head strong { font-size: 14px; }
.console-head .who { margin-left: auto; color: var(--muted); font-size: 13px; }
.console-body { flex: 1; min-height: 0; }
.console-body .app { height: 100%; }
.console-body .app-main { container-type: inline-size; }
.fs-list { min-width: 0; overflow-x: auto; }
.cs-group { margin-top: 6px; }
.cs-group h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 4px 0 6px; }
.cs-bad { color: var(--danger); }
.cs-ok { color: var(--ok, #3fbf7f); }
.cs-servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.cs-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; margin: 8px 0 12px; }
.cs-kv dt { color: var(--muted); }
.cs-kv dd { margin: 0; overflow-wrap: anywhere; }
.cs-contacts li { margin: 2px 0; }
.cs-warning { padding: 10px 12px; border-radius: 8px; background: rgb(255 120 120 / 0.14); border: 1px solid rgb(255 120 120 / 0.4); }
.cs-warning p { margin: 4px 0 0; }
.cs-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.btn.danger-fill { background: #d93b3b; border-color: transparent; color: #fff; font-weight: 600; }
.ts-qr { width: 176px; height: 176px; border-radius: 8px; display: block; margin: 8px auto; }
.ts-recovery { text-align: left; columns: 2; font-family: ui-monospace, Consolas, monospace; margin: 10px 0; padding-left: 26px; }
.ts-key { font-family: ui-monospace, Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 720px) { .console-shell { inset: 0; border-radius: 0; } }
