/* Console d'administration — compléments à atlas-ui.css */
body { min-height: 100vh; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px; height: 64px; background: var(--grad-plum); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: var(--shadow); }
.admin-header-left, .admin-header-right { display: flex; align-items: center; gap: 14px; }
.admin-logo { height: 28px; width: auto; }
.admin-badge { font-family: var(--font-title); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.admin-user { font-size: .85rem; opacity: .85; }
.admin-header .btn-secondary { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.admin-body { max-width: 1100px; margin: 0 auto; padding: 28px 24px 64px; display: flex; flex-direction: column; gap: 22px; }
.secret-box { background: #fbf9fc; border: 1px solid var(--line); padding: 12px; border-radius: 12px; font-family: var(--font-mono); font-size: 1.05rem; word-break: break-all; text-align: center; margin: 10px 0 16px; }
.badge-consultant { background: var(--violet-100); color: var(--violet-700); } .badge-client { background: var(--turquoise-100); color: #0f7783; }
.alerte-critique { background: var(--red-100); border: 1px solid #f1c1c1; color: #a02a2a; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; }
pre { background: #fbf9fc; border: 1px solid var(--line); padding: 16px; border-radius: 14px; font-size: 1.05em; white-space: pre-wrap; word-wrap: break-word; }
.erreur { color: #a02a2a; }
.ligne-attente { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
code { background: var(--line-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
#app-content-wrapper:not(.app-shell) { flex-direction: column; min-height: 100vh; } #app-content-wrapper:not(.app-shell) > main { width: 100%; }

.admin-user { display: inline-flex; align-items: center; gap: 8px; } .admin-user .ic { width: 16px; height: 16px; }
.admin-header-right { flex-wrap: wrap; justify-content: flex-end; } .admin-badge { white-space: nowrap; }
.modal-large { width: min(920px, 100%); } #modal-panel-corps .table-wrap { max-height: 52vh; overflow: auto; }
.badge-success { background: var(--green-100); color: #14633f; } .badge-warning { background: var(--amber-100); color: #8a5500; } .badge-danger { background: var(--red-100); color: #a02a2a; } .badge-info { background: var(--turquoise-100); color: #0f6a75; } .badge-muted { background: var(--line-2); color: var(--muted); }
@media (max-width: 640px) { .admin-header { height: auto; padding: 10px 14px; flex-wrap: wrap; } .admin-body { padding: 18px 12px 48px; } #tbody-tenants td:last-child { white-space: normal !important; } }
