:root {
    color-scheme: dark;
    --bg: #080a10;
    --sidebar: #0d1018;
    --surface: #121620;
    --surface-raised: #171c28;
    --surface-soft: #10131c;
    --border: #252b39;
    --border-strong: #343c4f;
    --text: #f4f5f8;
    --muted: #929bad;
    --accent: #a78bfa;
    --accent-strong: #8b5cf6;
    --accent-soft: rgba(139, 92, 246, 0.14);
    --success: #55d6a8;
    --warning: #f6c76f;
    --danger: #fb7185;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

.app-shell { min-height: 100vh; }
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: 256px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(167, 139, 250, 0.55);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(167, 139, 250, 0.24), rgba(139, 92, 246, 0.07));
    color: #d8ccff;
    font-weight: 800;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: 0.01em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.primary-nav { display: grid; gap: 5px; margin-top: 38px; overflow-y: auto; min-height: 0; }
.primary-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #aab2c1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 160ms ease;
}
.primary-nav a > span { width: 22px; color: #737e91; font-family: ui-monospace, monospace; font-size: 17px; text-align: center; }
.primary-nav a:hover { background: rgba(255, 255, 255, 0.035); color: var(--text); }
.primary-nav a.active { border-color: rgba(167, 139, 250, 0.22); background: var(--accent-soft); color: #e8e1ff; }
.primary-nav a.active > span { color: var(--accent); }

.sidebar-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.account { display: flex; align-items: center; gap: 10px; }
.account .avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #282338; color: #d8ccff; font-size: 13px; font-weight: 800; }
.account strong, .account small { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account strong { font-size: 13px; }
.account small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.text-button { margin: 13px 0 0 44px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.text-button:hover { color: var(--text); }

.workspace { min-height: 100vh; margin-left: 256px; padding: 42px clamp(24px, 4vw, 64px) 22px; display: flex; flex-direction: column; }
.mobile-header { display: none; }
.mobile-nav { display: none; }
.page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin: 0 auto 30px; max-width: 1180px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(27px, 3.2vw, 40px); letter-spacing: -0.045em; line-height: 1.08; }
.lede { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: #bec5d2; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(85, 214, 168, 0.1); }
.status-pill.healthy { color: var(--success); }
.status-pill.warning { color: var(--warning); }
.flash { max-width: 1180px; margin: 0 auto 20px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: #d8dde6; font-size: 13px; }
.flash > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 900; }
.flash.success { border-color: rgba(85, 214, 168, 0.28); }
.flash.success > span { background: rgba(85, 214, 168, 0.14); color: var(--success); }
.flash.error { border-color: rgba(251, 113, 133, 0.3); }
.flash.error > span { background: rgba(251, 113, 133, 0.14); color: var(--danger); }

.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.panel { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); box-shadow: var(--shadow); }
.overview-panel { grid-column: span 8; padding: 26px; }
.health-panel { grid-column: span 4; padding: 24px; }
.quick-panel { grid-column: 1 / -1; padding: 24px; }
.panel-label { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 10px; }
.stat-card { min-width: 0; padding: 17px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255, 255, 255, 0.018); text-decoration: none; transition: 160ms ease; }
.stat-card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: rgba(167, 139, 250, 0.045); }
.stat-value { display: block; color: var(--text); font-size: 27px; font-weight: 750; letter-spacing: -0.04em; }
.stat-value-compact { font-size: 17px; letter-spacing: -0.02em; line-height: 1.35; }
.stat-name { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.health-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.health-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.health-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.health-list span { color: #c7cdd8; font-size: 13px; }
.health-list strong { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 12px; }
.health-list strong::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; }
.quick-card { display: block; min-height: 126px; padding: 18px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255, 255, 255, 0.018); text-decoration: none; transition: 160ms ease; }
.quick-card:hover { transform: translateY(-2px); border-color: rgba(167, 139, 250, 0.42); background: var(--accent-soft); }
.quick-icon { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 9px; background: #252035; color: var(--accent); font-family: ui-monospace, monospace; font-size: 14px; font-weight: 800; }
.quick-card strong { display: block; font-size: 14px; }
.quick-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.content-grid { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.8fr); gap: 16px; max-width: 1180px; margin: 0 auto; align-items: start; }
.form-panel, .list-panel { padding: 24px; }
.users-panel { width: 100%; max-width: 1180px; margin: 0 auto 20px; padding: 24px; }
.users-panel .form-stack { max-width: 650px; }
.users-panel .record-copy { overflow-wrap: anywhere; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.panel-heading h2 { margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.count { padding: 5px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 11px; }
.form-stack { display: grid; gap: 15px; }
.section-divider { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 12px; padding: 14px 0 3px; border-top: 1px solid var(--border); color: var(--text); }
.section-divider span { color: var(--muted); font-size: 11px; }
.field { display: grid; gap: 7px; }
.field label { color: #c8ced9; font-size: 12px; font-weight: 700; }
.field-hint { color: #707a8d; font-size: 10px; line-height: 1.45; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: #c8ced9; font-size: 12px; line-height: 1.45; }
.checkbox-row input { margin-top: 2px; accent-color: var(--accent-strong); }
input[type="text"], input[type="search"], input[type="password"], textarea {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    outline: none;
    background: #0c0f17;
    color: var(--text);
    padding: 11px 12px;
    font-size: 13px;
    transition: 150ms ease;
}
input[type="number"] { border: 1px solid var(--border-strong); border-radius: 10px; outline: none; background: #0c0f17; color: var(--text); padding: 10px 11px; }
.counter-actions, .counter-actions form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.counter-actions { justify-content: flex-end; }
.compact-number { width: 92px; }
.counter-history { margin-top: 16px; }
select {
    min-height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    outline: none;
    background: #0c0f17;
    color: var(--text);
    padding: 0 34px 0 11px;
}
select:focus { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.13); }
textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.13); }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.button { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface-raised); color: #dbe0e8; cursor: pointer; font-size: 12px; font-weight: 750; text-decoration: none; transition: 150ms ease; }
.button:hover { border-color: #59637a; transform: translateY(-1px); }
.button.primary { border-color: var(--accent-strong); background: var(--accent-strong); color: white; }
.button.primary:hover { background: #7c4fe3; }
.button.danger { border-color: rgba(251, 113, 133, 0.25); background: rgba(251, 113, 133, 0.08); color: #fda4af; }
.button.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.search-bar { display: flex; gap: 8px; margin-bottom: 15px; }
.search-bar input { flex: 1; }
.record-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.record { padding: 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255, 255, 255, 0.016); }
.record-title { margin: 0; color: #eceef3; font-size: 13px; font-weight: 750; word-break: break-word; }
.record-title code { color: #d5c9ff; font-family: ui-monospace, monospace; }
.record-copy { margin: 6px 0 0; color: #9ea7b7; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.record-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; color: #6f798c; font-size: 10px; }
.record-actions { display: flex; gap: 6px; align-items: flex-start; }
.record-actions form { margin: 0; }
.record-actions .button { min-height: 32px; padding: 0 9px; font-size: 11px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { padding: 4px 7px; border-radius: 6px; background: var(--accent-soft); color: #cfc2ff; font-size: 10px; font-weight: 700; }
.empty-state { padding: 38px 20px; border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 6px; color: #ccd2dc; font-size: 13px; }

.activity-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1180px; margin: 0 auto 16px; }
.activity-stat { padding: 18px 20px; }
.activity-stat span { display: block; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.09em; }
.activity-stat strong { display: block; margin-top: 8px; font-size: 27px; letter-spacing: -0.04em; }
.activity-stat.error strong { color: var(--danger); }
.activity-stat.warning strong { color: var(--warning); }
.activity-panel { max-width: 1180px; margin: 0 auto; padding: 24px; }
.activity-connections { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 1180px; margin: -4px auto 16px; }
.connection { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 0.03em; }
.connection i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.connection.connected { border-color: rgba(85, 214, 168, 0.22); background: rgba(85, 214, 168, 0.07); color: var(--success); }
.connection.missing { border-color: rgba(246, 199, 111, 0.18); background: rgba(246, 199, 111, 0.05); color: var(--warning); }
.activity-filters { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, 160px)) auto auto; gap: 10px; align-items: end; margin-bottom: 26px; }
.activity-filters .button { min-height: 40px; }
.audit-filter { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; gap: 10px; align-items: end; margin-bottom: 26px; }
.audit-filter .button { min-height: 40px; }
.activity-heading { padding-top: 20px; border-top: 1px solid var(--border); }
.activity-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.activity-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.activity-entry { padding: 14px 15px; border: 1px solid var(--border); border-left-width: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.014); }
.activity-entry.level-error { border-left-color: var(--danger); }
.activity-entry.level-warn { border-left-color: var(--warning); }
.activity-entry.level-info { border-left-color: var(--success); }
.activity-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #727c8f; font-size: 10px; }
.activity-level, .activity-category, .activity-source, .activity-context { padding: 3px 6px; border-radius: 5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.activity-level { background: rgba(85, 214, 168, 0.1); color: var(--success); }
.level-error .activity-level { background: rgba(251, 113, 133, 0.1); color: var(--danger); }
.level-warn .activity-level { background: rgba(246, 199, 111, 0.1); color: var(--warning); }
.activity-source { background: var(--accent-soft); color: #d2c7ff; }
.activity-category { background: rgba(122, 137, 163, 0.12); color: #aeb9cc; }
.activity-category.category-discord { background: rgba(88, 101, 242, 0.13); color: #aeb5ff; }
.activity-category.category-twitch { background: rgba(145, 70, 255, 0.13); color: #cbb0ff; }
.activity-category.category-dashboard { background: rgba(77, 181, 255, 0.11); color: #a8dcff; }
.activity-context { background: rgba(255, 255, 255, 0.045); color: #909bad; }
.activity-entry p { margin: 9px 0 0; color: #cbd1dc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }

.bot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 1180px; margin: 0 auto; }
.bot-card { padding: 24px; border-top: 3px solid var(--border-strong); }
.bot-card.status-online { border-top-color: var(--success); }
.bot-card.status-delayed { border-top-color: var(--warning); }
.bot-card.status-offline { border-top-color: var(--danger); }
.bot-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.bot-card-header .panel-label { margin-bottom: 7px; }
.bot-card h2 { margin: 0; font-size: 21px; letter-spacing: -0.025em; }
.bot-card-header p:last-child { max-width: 440px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.bot-state { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.bot-state i, .feature i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.status-online .bot-state { color: var(--success); }
.status-delayed .bot-state { color: var(--warning); }
.status-offline .bot-state { color: var(--danger); }
.bot-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 18px; }
.bot-facts > div { padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,0.015); }
.bot-facts dt { color: var(--muted); font-size: 10px; }
.bot-facts dd { margin: 5px 0 0; color: #dce1e9; font-size: 12px; font-weight: 750; }
.feature-list { display: grid; gap: 7px; }
.feature { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid var(--border); border-radius: 9px; color: #b9c1cf; font-size: 12px; }
.feature small { color: inherit; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.feature.enabled { border-color: rgba(85,214,168,0.18); background: rgba(85,214,168,0.045); color: var(--success); }
.feature.disabled { color: #7f899b; }
.feature.unknown { color: var(--warning); }
.bot-error { margin-top: 16px; padding: 11px 12px; border: 1px solid rgba(251,113,133,0.2); border-radius: 9px; background: rgba(251,113,133,0.04); }
.bot-error summary { color: #fda4af; cursor: pointer; font-size: 11px; font-weight: 750; }
.bot-error p { margin: 9px 0 0; color: #c5cad4; font-family: ui-monospace, monospace; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.bot-activity-link { margin-top: 17px; }

.login-shell { min-height: 100vh; padding: 28px; display: grid; place-items: center; background: radial-gradient(circle at 50% 18%, rgba(139, 92, 246, 0.13), transparent 38%), var(--bg); }
.login-card { width: min(100%, 420px); padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, var(--surface), #0e1119); box-shadow: var(--shadow); }
.login-brand { margin-bottom: 28px; }
.login-card h1 { margin-top: 0; font-size: 26px; }
.login-card .lede { margin-bottom: 24px; }
.login-card .button { width: 100%; min-height: 43px; margin-top: 4px; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 19px 0 14px; color: #687183; font-size: 10px; text-transform: uppercase; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.twitch-button { border-color: #9146ff; background: #9146ff; color: white; }
.twitch-button:hover { border-color: #a970ff; background: #772ce8; }
.login-note { margin: 20px 0 0; color: #687183; font-size: 10px; line-height: 1.5; text-align: center; }

.community-shell { min-height: 100vh; padding: 28px; background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.12), transparent 34%), var(--bg); }
.community-wrap { width: min(100%, 960px); margin: 0 auto; }
.community-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 32px; }
.community-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 16px; }
.community-panel { padding: 24px; }
.community-panel .record-list { margin-top: 18px; }
.community-wide { grid-column: 1 / -1; }
.community-admin-section { margin-top: 16px; }
.community-admin-actions { flex-wrap: wrap; justify-content: flex-end; }

.workspace-footer { display: flex; justify-content: space-between; gap: 20px; width: 100%; max-width: 1180px; margin: auto auto 0; padding-top: 18px; border-top: 1px solid var(--border); color: #687183; font-size: 11px; }

@media (max-width: 980px) {
    .stat-grid, .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .overview-panel, .health-panel { grid-column: 1 / -1; }
    .content-grid { grid-template-columns: 1fr; }
    .activity-filters { grid-template-columns: 1fr 1fr; }
    .activity-query { grid-column: 1 / -1; }
    .bot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .sidebar { display: none; }
    .workspace { margin-left: 0; padding: 0 16px 20px; }
    .mobile-header { min-height: 68px; margin: 0 -16px 26px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--sidebar); }
    .mobile-nav { margin: -15px -16px 24px; padding: 0 16px 11px; display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; }
    .mobile-nav::-webkit-scrollbar { display: none; }
    .mobile-nav a { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none; }
    .mobile-nav a.active { border-color: rgba(167, 139, 250, 0.35); background: var(--accent-soft); color: #ded5ff; }
    .brand.compact { gap: 9px; font-size: 13px; }
    .brand.compact .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
    .page-heading { display: block; }
    .page-heading > .status-pill { margin-top: 16px; }
    .overview-panel, .health-panel, .quick-panel { padding: 19px; }
    .stat-grid, .quick-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 14px; }
    .quick-card { min-height: 116px; }
    .record { grid-template-columns: 1fr; }
    .record-actions { justify-content: flex-start; }
    .activity-summary { grid-template-columns: 1fr 1fr; }
    .activity-panel { padding: 18px; }
    .activity-filters { grid-template-columns: 1fr; }
    .audit-filter { grid-template-columns: 1fr; }
    .activity-query { grid-column: auto; }
    .bot-card { padding: 19px; }
    .bot-card-header { display: block; }
    .bot-state { margin-top: 12px; }
    .bot-facts { grid-template-columns: 1fr; }
    .community-shell { padding: 18px; }
    .community-header, .community-grid { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .stat-grid, .quick-grid { grid-template-columns: 1fr; }
    .workspace-footer { display: grid; }
}
