.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.community-grid .panel{min-width:0}.stats.analytics-stats{grid-template-columns:repeat(4,1fr)}.analytics-chart{display:flex;align-items:end;gap:8px;overflow:auto;min-height:230px;padding:28px 22px 14px}.analytics-column{flex:1;min-width:22px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.analytics-bar{width:100%;max-width:60px;background:linear-gradient(var(--accent),var(--accent-soft));border-radius:5px 5px 0 0}.analytics-column small{font-size:9px;white-space:nowrap}.community-form{padding:22px}.community-form label{display:block;font-size:12px;color:var(--muted);margin:0 0 16px}.community-form input:not([type=checkbox]),.community-form select{display:block;width:100%;margin-top:6px}.community-form .row>label{flex:1;min-width:100px}.community-note{font-size:12px;color:var(--muted);margin:12px 0 24px}.community-commands{color:var(--accent-strong);background:var(--accent-soft);padding:15px 20px;border-radius:8px;font:12px/1.8 ui-monospace,monospace}.loyalty-full{margin:22px 0;overflow:auto}.command-help{font-size:12px;margin:14px 0}.preview-box{margin:12px 0;padding:12px;background:var(--surface-sunken);border-radius:7px;white-space:pre-wrap;color:var(--accent-strong);font-size:12px}.help-page{max-width:1100px;margin:auto;padding:40px 28px}.help-page h1{margin:45px 0 18px}.help-page h2{font-size:24px;margin:40px 0 15px}.help-page h3{font-size:17px;margin:20px 0 12px}.help-page p{color:var(--text-soft);margin:12px 0}.help-page code{color:var(--accent-strong);background:var(--panel);border-radius:4px;padding:2px 5px}.help-page pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:20px;color:var(--accent-strong)}.help-page table{margin:20px 0;display:block;overflow:auto}.help-nav{display:flex;flex-wrap:wrap;gap:15px;margin:25px 0}.help-page details{padding:18px 0;border-bottom:1px solid var(--line)}.help-page summary{cursor:pointer;font-weight:600}.help-search{width:100%;margin:20px 0}.help-section[hidden]{display:none}@media(max-width:900px){.community-grid{grid-template-columns:1fr}.stats.analytics-stats{grid-template-columns:1fr 1fr}}

.loyalty-heading-actions{justify-content:flex-end}
.loyalty-switch{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.loyalty-switch:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.loyalty-switch-track{display:flex;align-items:center;width:36px;height:20px;padding:3px;border-radius:99px;background:var(--surface-sunken);border:1px solid var(--line-strong)}
.loyalty-switch-track::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--muted)}
.loyalty-switch[aria-checked="true"] .loyalty-switch-track{justify-content:flex-end;background:var(--accent);border-color:var(--accent)}
.loyalty-switch[aria-checked="true"] .loyalty-switch-track::before{background:var(--accent-ink)}
#loyalty-toggle-state{min-width:3ch;color:var(--text-soft);text-align:left}
@media(max-width:800px){.loyalty-heading-actions{justify-content:flex-start}}
