/* ── Sessions ──
 * Extracted from the inline styles of sessions/{new,password} (login cards) and
 * the <style> block of sessions/info.
 * new vs password share the card chrome but differ in small margins/paddings/
 * link styles → keyed by the .login-page--azure / --password root modifiers.
 * info is scoped under .si-container (its bare details/summary/body selectors too).
 */

/* ── Login cards (new + password) ── */
.login-page { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 80px); }
.login-page .login-card { background: #1a1a2e; border: 1px solid #2a2a4a; border-radius: 16px; padding: 48px 40px; width: 100%; max-width: 400px; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.login-page .login-title { color: #e0e0ff; font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; text-align: center; }
.login-page .login-sub { color: #8888aa; font-size: 0.875rem; text-align: center; }
.login-page--azure .login-sub { margin: 0 0 40px; }
.login-page--password .login-sub { margin: 0 0 32px; }
.login-page .login-alert { background: #3d1a1a; border: 1px solid #7a2e2e; border-radius: 8px; color: #ff8080; font-size: 0.875rem; padding: 12px 16px; }
.login-page--azure .login-alert { margin-bottom: 24px; }
.login-page--password .login-alert { margin-bottom: 20px; }
.login-page .login-btn { display: flex; align-items: center; justify-content: center; width: 100%; background: #5b5bff; border: none; border-radius: 8px; color: #fff; cursor: pointer; font-size: 1rem; font-weight: 600; transition: background .15s; }
.login-page--azure .login-btn { padding: 14px; }
.login-page--password .login-btn { padding: 12px; }
.login-btn-form { margin: 0; }
.login-btn-icon { margin-right: 10px; }
.login-page .login-footer { text-align: center; }
.login-page--azure .login-footer { margin-top: 32px; }
.login-page--password .login-footer { margin-top: 24px; }
.login-page .login-link { color: #8888aa; text-decoration: none; }
.login-page--azure .login-link { font-size: 0.8125rem; border-bottom: 1px dotted #8888aa; }
.login-page--password .login-link { font-size: 0.875rem; }
.login-page .login-field { margin-bottom: 20px; }
.login-page .login-field--last { margin-bottom: 28px; }
.login-page .login-label { display: block; color: #aaaacc; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; }
.login-page .login-input { width: 100%; background: #0d0d1a; border: 1px solid #3a3a5a; border-radius: 8px; color: #e0e0ff; font-size: 1rem; padding: 10px 14px; box-sizing: border-box; outline: none; }

/* ── Session info (debug page) ── */
body:has(.si-container) { margin: 0; font-family: system-ui, sans-serif; background: #f5f5f5; }
.si-container { max-width: 900px; margin: 0 auto; padding: 2rem 1rem; }
.si-container .si-header { margin-bottom: 1.5rem; }
.si-container .si-header h1 { margin: 0 0 0.25rem; font-size: 1.75rem; color: #111827; }
.si-container .si-header p { margin: 0; font-size: 0.875rem; color: #6b7280; }
.si-container .si-card { background: #fff; border-radius: 0.75rem; padding: 1.25rem 1.5rem; border: 1.5px solid #e5e7eb; margin-bottom: 1.25rem; }
.si-container .si-card h2 { margin: 0 0 1rem; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; }
.si-container .si-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; align-items: baseline; }
.si-container .si-label { font-size: 0.8rem; color: #6b7280; width: 120px; flex-shrink: 0; }
.si-container .si-value { font-size: 0.875rem; color: #111827; font-family: monospace; }
.si-container .si-badge { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 1rem; font-size: 0.7rem; font-weight: 700; background: #e5eced; color: #2d4350; margin-right: 0.3rem; }
.si-container .si-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.si-container .si-table th { text-align: left; padding: 0.4rem 0.6rem; background: #f9fafb; color: #6b7280; font-weight: 600; border-bottom: 1.5px solid #e5e7eb; }
.si-container .si-table td { padding: 0.45rem 0.6rem; border-bottom: 1px solid #f3f4f6; font-family: monospace; vertical-align: top; }
.si-container .si-table tr:last-child td { border-bottom: none; }
.si-container .si-table tr.unmapped td { background: #fffbeb; }
.si-container .si-unmapped { color: #92400e; font-weight: 600; font-family: system-ui; font-size: 0.75rem; }
.si-container .si-mapped { color: #065f46; font-weight: 600; font-family: system-ui; font-size: 0.75rem; }
.si-container details { margin-bottom: 0.5rem; }
.si-container details summary { cursor: pointer; font-size: 0.8rem; font-weight: 600; color: #465A64; padding: 0.4rem 0; user-select: none; }
.si-container details summary:hover { color: #111827; }
.si-container .si-pre { margin: 0.5rem 0 0; padding: 0.75rem 1rem; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 0.4rem; font-size: 0.75rem; font-family: monospace; white-space: pre-wrap; word-break: break-all; color: #374151; max-height: 400px; overflow-y: auto; }
.si-container .si-notice { padding: 0.75rem 1rem; background: #f0f9ff; border: 1.5px solid #bae6fd; border-radius: 0.5rem; font-size: 0.875rem; color: #0c4a6e; }
.si-container .si-empty-note { font-size: 0.85rem; color: #6b7280; }
