:root { color-scheme: dark; --bg: #0f1723; --panel: #17212b; --panel-alt: #101922; --line: #253241; --soft: #8ea2b5; --text: #edf3f9; --accent: #53a7ff; --accent-strong: #2f8cff; --danger: #ff6b6b; --bubble: #182533; --bubble-self: #1f3a4d; } * { box-sizing: border-box; } body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--text); } a { color: inherit; text-decoration: none; } code, pre, input, button { font: inherit; } .app-shell, .viewer-shell { min-height: 100vh; display: grid; } .app-shell { grid-template-columns: 320px minmax(0, 1fr); } .sidebar, .viewer-sidebar { background: var(--panel-alt); border-right: 1px solid var(--line); padding: 24px; } .content, .viewer-main { padding: 24px; } .brand-block h1, .viewer-sidebar-head h1, .viewer-header h2, .panel-header h2 { margin: 0; font-size: 24px; } .eyebrow { color: var(--accent); font-size: 12px; text-transform: uppercase; margin-bottom: 8px; } .muted { color: var(--soft); } .small { font-size: 12px; } .nav-links { display: grid; gap: 8px; margin: 24px 0; } .nav-link, .button { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 10px 14px; border-radius: 8px; cursor: pointer; } .nav-link.active, .button.primary { background: var(--accent-strong); border-color: var(--accent-strong); } .button.danger { color: #ffd0d0; } .button.button-small { padding: 8px 10px; font-size: 13px; } .status-card, .panel, .stat-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; } .status-card { padding: 16px; margin-top: 16px; } .section-title { font-size: 12px; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; } .status-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 12px; background: #183248; color: #a7d8ff; margin-bottom: 10px; } .panel-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; } .stat-panel { padding: 18px; } .stat-value { font-size: 32px; font-weight: 700; } .toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .panel { padding: 18px; margin-bottom: 16px; } .panel-header, .viewer-sidebar-head, .viewer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; } .inline-form { display: flex; gap: 8px; flex-wrap: wrap; } .stack-form { display: grid; gap: 8px; margin-top: 12px; } .auth-actions { margin-top: 12px; } .qr-wrap { margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #0d141c; } .qr-wrap img { display: block; width: 100%; max-width: 240px; aspect-ratio: 1; margin: 0 auto 10px; border-radius: 8px; background: white; } .hidden { display: none !important; } input { min-width: 160px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: #0d141c; color: var(--text); } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 14px 10px; vertical-align: top; } tbody tr:hover { background: rgba(255, 255, 255, 0.02); } .action-row { display: flex; gap: 8px; flex-wrap: wrap; } .jobs-list { display: grid; gap: 12px; } .job-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #121c25; } .job-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; } .job-status { text-transform: uppercase; font-size: 12px; color: var(--soft); } .job-logs { margin: 10px 0 0; padding: 12px; border-radius: 8px; background: #0d141c; max-height: 240px; overflow: auto; white-space: pre-wrap; } .continuous-form { display: grid; gap: 12px; } .continuous-meta { display: grid; gap: 6px; margin-top: 16px; } .viewer-shell { grid-template-columns: 320px minmax(0, 1fr); } .viewer-channel-list { display: grid; gap: 8px; } .viewer-channel-item { display: grid; gap: 4px; width: 100%; text-align: left; padding: 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; } .viewer-channel-item.active { border-color: var(--accent); background: #193246; } .viewer-channel-name { font-weight: 600; } .viewer-channel-meta { font-size: 12px; color: var(--soft); } .messages-list { display: grid; gap: 12px; align-content: start; } .message-card { max-width: 760px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bubble); } .message-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .message-author { color: #8fd3ff; font-weight: 600; } .message-reply:empty, .message-text:empty, .message-footer:empty, .message-media:empty { display: none; } .message-text { white-space: pre-wrap; line-height: 1.45; } .message-media { margin-top: 12px; } .message-media img, .message-media video { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; } .message-footer { margin-top: 10px; } @media (max-width: 1100px) { .app-shell, .viewer-shell { grid-template-columns: 1fr; } .sidebar, .viewer-sidebar { border-right: 0; border-bottom: 1px solid var(--line); } .panel-grid { grid-template-columns: 1fr; } }