/* KORRIX BOT – Farben aus dem Designvorschlag */
:root {
  --bg: #0b0718;
  --surface: #151027;
  --surface-2: #1d1636;
  --surface-3: #261d45;
  --border: #2a2147;
  --border-strong: #3a2e63;
  --text: #efecf9;
  --muted: #a29cbf;
  --accent: #6f42f2;
  --accent-hover: #9b6ef6;
  --accent-soft: rgba(111, 66, 242, 0.16);
  --accent-glow: rgba(111, 66, 242, 0.45);
  --danger: #f2557a;
  --danger-soft: rgba(242, 85, 122, 0.14);
  --success: #3ccf8e;
  --success-soft: rgba(60, 207, 142, 0.14);
  --radius: 14px;
  --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Violetter Lichtschein im Hintergrund, passend zu den Logos */
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(111, 66, 242, 0.22), transparent 70%),
    radial-gradient(50vw 45vh at -10% 110%, rgba(155, 110, 246, 0.14), transparent 70%);
}

a { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: var(--font-display); letter-spacing: 0.01em; }
.muted { color: var(--muted); }
.accent-text { color: var(--accent-hover); }

.center-screen { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--accent-hover);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Login ---------- */
.login-screen { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; padding: 32px 16px; }
.login-wordmark { width: min(420px, 86vw); height: auto; margin-bottom: -28px; filter: drop-shadow(0 0 24px rgba(111, 66, 242, 0.35)); }
.login-card {
  width: 100%; max-width: 400px; padding: 32px 28px 26px;
  background: linear-gradient(180deg, rgba(29, 22, 54, 0.92), rgba(21, 16, 39, 0.92));
  border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(155, 110, 246, 0.06), 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 80px rgba(111, 66, 242, 0.12);
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.login-card h1 { font-size: 28px; font-weight: 800; }
.login-card p { margin: 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-hover); }
.server-logo {
  width: 112px; height: 112px; margin: 6px 0 4px; padding: 3px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-hover), #c9b5ff, var(--accent));
  box-shadow: 0 0 36px var(--accent-glow);
}
.server-logo img { width: 100%; height: 100%; border-radius: 50%; display: block; border: 3px solid var(--surface); object-fit: cover; }
.fineprint { font-size: 12px; color: var(--muted); }
.powered { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; font-family: var(--font-display); text-align: center; }
.powered-sep { margin: 0 6px; color: var(--border-strong); }
.creator { color: var(--text); text-shadow: 0 0 12px var(--accent-glow); }

.alert { width: 100%; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--danger-soft); color: #ffb5c6; border: 1px solid rgba(242, 85, 122, 0.25); }
.notice { padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); border: 1px solid rgba(111, 66, 242, 0.3); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border: 0; border-radius: 10px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.button:hover { background: var(--accent-hover); box-shadow: 0 0 20px var(--accent-glow); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: 0.55; cursor: default; box-shadow: none; background: var(--accent); }
.button.discord { width: 100%; margin-top: 8px; padding: 12px 16px; background: linear-gradient(135deg, var(--accent), #8a5cf5); box-shadow: 0 8px 24px rgba(111, 66, 242, 0.35); }
.button.discord:hover { background: linear-gradient(135deg, #7b52f4, var(--accent-hover)); }
.button.discord svg { width: 22px; height: 22px; }
.button.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
.button.secondary:hover { background: var(--surface-3); border-color: var(--accent); box-shadow: none; }
.button.small { padding: 5px 11px; font-size: 13px; border-radius: 8px; }
.icon-button {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
}
.icon-button:hover { background: var(--surface-3); color: var(--text); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 250px; flex: none; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: rgba(21, 16, 39, 0.88); border-right: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; }
.sidebar-brand img { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(111, 66, 242, 0.5)); }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 0.04em; }

.server-chip {
  display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 10px 12px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
}
.server-chip img { width: 38px; height: 38px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--accent), 0 0 14px var(--accent-glow); }
.server-chip strong, .server-chip small { display: block; }
.server-chip small { color: var(--muted); font-size: 12px; }

#nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px; flex: 1; }
#nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-weight: 500; border: 1px solid transparent;
}
#nav a svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#nav a:hover { background: var(--surface-2); color: var(--text); }
#nav a.active {
  background: linear-gradient(90deg, rgba(111, 66, 242, 0.28), rgba(111, 66, 242, 0.08));
  border-color: rgba(111, 66, 242, 0.35); color: #fff;
  box-shadow: inset 3px 0 0 var(--accent-hover);
}

.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 18px; border-top: 1px solid var(--border); }
.sidebar-user img { width: 34px; height: 34px; border-radius: 50%; }
.sidebar-user-name { flex: 1; min-width: 0; }
.sidebar-user-name span, .sidebar-user-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-name span { font-weight: 600; }
.sidebar-user-name small { color: var(--muted); font-size: 12px; }

.content { flex: 1; min-width: 0; padding: 30px 36px 56px; max-width: 1240px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; font-weight: 800; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.card h2 { font-size: 17px; margin-bottom: 14px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
}
.stat::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 66, 242, 0.35), transparent 70%);
}
.stat-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.stat-value { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; }

.identity { display: flex; align-items: center; gap: 14px; }
.identity img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 2px var(--border-strong); }
.identity strong { font-size: 18px; display: block; font-family: var(--font-display); }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-right: 6px; box-shadow: 0 0 8px var(--success); }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
tbody tr { transition: background-color 0.12s; }
tbody tr:hover { background: rgba(111, 66, 242, 0.06); }
tbody tr:last-child td { border-bottom: 0; }
.nowrap { white-space: nowrap; }
.empty { color: var(--muted); padding: 18px 0 6px; text-align: center; margin: 0; }

.user { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.user img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.user small { color: var(--muted); }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--muted); white-space: nowrap; }
.badge.danger { background: var(--danger-soft); color: #ff9fb5; }
.badge.accent { background: var(--accent-soft); color: #c4adff; }
.badge.success { background: var(--success-soft); color: #7ee2b4; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
input, textarea, select {
  width: 100%; padding: 10px 12px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 10px; font: inherit;
}
input::placeholder, textarea::placeholder { color: #6f6890; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-hover); box-shadow: 0 0 0 3px rgba(111, 66, 242, 0.25); }
textarea { resize: vertical; min-height: 84px; }
select option, select optgroup { background: var(--surface); }
input[type="color"] { padding: 3px; height: 42px; width: 58px; flex: none; cursor: pointer; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.search { max-width: 280px; }

/* ---------- Team ---------- */
.rank-group + .rank-group { margin-top: 14px; }
.rank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rank-head h2 { margin: 0; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.member {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; min-width: 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
}
.member:hover { border-color: var(--border-strong); }
.member img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.member div { min-width: 0; flex: 1; }
.member strong, .member small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member small { color: var(--muted); }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button { white-space: nowrap; padding: 7px 15px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button.active { background: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(111, 66, 242, 0.35); }

/* ---------- Fraktionen ---------- */
.button.danger { background: #c9365c; }
.button.danger:hover { background: var(--danger); box-shadow: 0 0 20px rgba(242, 85, 122, 0.4); }
.badge.cat-staatlich { background: rgba(64, 156, 255, 0.15); color: #8cc2ff; }
.badge.cat-neutral { background: rgba(200, 200, 220, 0.12); color: #d4d1e6; }
.badge.cat-illegal { background: var(--danger-soft); color: #ff9fb5; }

.faction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.faction-grid > .empty { grid-column: 1 / -1; }
.faction-card { display: flex; flex-direction: column; gap: 12px; }
.faction-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.faction-head h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.faction-person { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.faction-role { color: var(--muted); font-size: 13px; white-space: nowrap; }
.faction-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.warn-pips { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.warn-pips span { width: 18px; height: 6px; border-radius: 3px; background: var(--surface-3); }
.warn-pips span.on { background: var(--danger); box-shadow: 0 0 8px rgba(242, 85, 122, 0.5); }
.warn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.warn-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--danger-soft); border: 1px solid rgba(242, 85, 122, 0.2); }
.warn-list li > div { flex: 1; min-width: 0; }
.warn-list strong, .warn-list small { display: block; overflow-wrap: anywhere; }
.faction-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.protection-badge { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(60, 207, 142, 0.12); color: #7ee2b4; border: 1px solid rgba(60, 207, 142, 0.3); }
.protection-option { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.faction-note { margin: 18px 0 0; font-size: 14px; }

/* Dialoge */
.dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 24px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(111, 66, 242, 0.15);
}
.dialog::backdrop { background: rgba(5, 3, 12, 0.7); backdrop-filter: blur(3px); }
.dialog h2 { font-size: 20px; }
.dialog-hint { margin: 0; font-size: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.segment {
  padding: 9px 8px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
}
.segment:hover { color: var(--text); border-color: var(--accent); }
.segment.active { background: var(--accent-soft); border-color: var(--accent-hover); color: #fff; }

/* Mitglieder-Suche */
.picker { position: relative; }
.picker-chip { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--accent); color: var(--text); font-weight: 500; }
.picker-chip img { width: 28px; height: 28px; border-radius: 50%; }
.picker-chip span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-chip small, .picker-option small { color: var(--muted); font-weight: 400; }
.picker-results {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); max-height: 240px; overflow-y: auto;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.picker-option {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.picker-option:hover { background: var(--accent-soft); }
.picker-option img { width: 26px; height: 26px; border-radius: 50%; }
.picker-empty { margin: 0; padding: 8px; font-size: 14px; }

/* ---------- Nachrichten-Editor ---------- */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-weight: 500; font-size: 14px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.form fieldset { border: 1px solid var(--border); margin: 0; display: flex; flex-direction: column; gap: 12px; }
.form legend { padding: 0 6px; font-weight: 700; font-family: var(--font-display); font-size: 16px; }
.field-item { padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.field-item .row { align-items: center; }
.counter { font-weight: 400; color: #6f6890; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.result { margin: 0; }
.preview-col { position: sticky; top: 20px; }

/* Discord-Vorschau (bewusst in Discords eigenen Farben) */
.dc-preview { background: #313338; border-radius: 10px; padding: 16px; color: #dbdee1; font-size: 15px; font-family: "gg sans", var(--font-body); }
.dc-message { display: flex; gap: 14px; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.dc-body { min-width: 0; flex: 1; }
.dc-author { font-weight: 600; color: #f2f3f5; }
.dc-author .dc-app { background: #5865f2; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 4px; margin-left: 4px; vertical-align: 2px; }
.dc-author time { color: #949ba4; font-size: 12px; font-weight: 400; margin-left: 6px; }
.dc-content { white-space: pre-wrap; word-wrap: break-word; }
.dc-embed {
  margin-top: 6px; max-width: 520px; padding: 10px 16px 14px 12px;
  background: #2b2d31; border-left: 4px solid #19acea; border-radius: 4px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px;
}
.dc-embed > * { grid-column: 1; }
.dc-embed .dc-thumb { grid-column: 2; grid-row: 1 / span 6; width: 80px; height: 80px; object-fit: cover; border-radius: 4px; margin-top: 4px; }
.dc-embed-author { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #f2f3f5; margin-top: 4px; }
.dc-embed-author img { width: 24px; height: 24px; border-radius: 50%; }
.dc-embed-title { font-weight: 700; color: #f2f3f5; margin-top: 6px; }
.dc-embed-title a { color: #00a8fc; text-decoration: none; }
.dc-embed-desc { font-size: 14px; margin-top: 6px; white-space: pre-wrap; word-wrap: break-word; }
.dc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.dc-field { grid-column: span 3; font-size: 14px; min-width: 0; }
.dc-field.inline { grid-column: span 1; }
.dc-field-name { font-weight: 600; color: #f2f3f5; }
.dc-field-value { white-space: pre-wrap; word-wrap: break-word; }
.dc-image { margin-top: 12px; max-width: 100%; border-radius: 4px; grid-column: 1 / -1; }
.dc-footer { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #b5bac1; margin-top: 8px; }
.dc-footer img { width: 20px; height: 20px; border-radius: 50%; }
.dc-preview a { color: #00a8fc; }
.dc-preview code { background: #1e1f22; padding: 1px 4px; border-radius: 4px; font-size: 0.875em; }
.dc-preview .mention { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; padding: 0 2px; border-radius: 3px; }
.dc-preview .emoji { width: 1.375em; height: 1.375em; vertical-align: -0.3em; object-fit: contain; }
.dc-preview h1, .dc-preview h2, .dc-preview h3 { color: #f2f3f5; margin: 4px 0; font-family: inherit; }
.dc-preview h1 { font-size: 1.5em; } .dc-preview h2 { font-size: 1.25em; } .dc-preview h3 { font-size: 1em; }
.dc-preview .subtext { font-size: 12px; color: #949ba4; }
.dc-preview blockquote { margin: 0; padding-left: 10px; border-left: 4px solid #4e5058; }

@media (max-width: 1000px) {
  .editor { grid-template-columns: minmax(0, 1fr); }
  .preview-col { position: static; }
}

@media (max-width: 760px) {
  .layout { flex-direction: column; }
  /* min-width: 0, sonst macht die einzeilige Navigation die ganze Seite breiter als den Bildschirm. */
  .sidebar { width: auto; min-width: 0; height: auto; position: relative; border-right: 0; border-bottom: 1px solid var(--border); }
  .sidebar-brand { padding-right: 60px; }
  .sidebar-brand { padding: 14px 16px 10px; }
  .server-chip { display: none; }
  #nav { flex-direction: row; overflow-x: auto; min-width: 0; padding: 4px 12px 10px; scrollbar-width: none; }
  #nav a { white-space: nowrap; }
  #nav a.active { box-shadow: inset 0 -2px 0 var(--accent-hover); }
  .sidebar-user { position: absolute; top: 14px; right: 12px; border-top: 0; padding: 0; gap: 4px; }
  .sidebar-user img { width: 30px; height: 30px; }
  .sidebar-user-name { display: none; }
  .content { padding: 22px 16px 44px; }
  .page-head h1 { font-size: 24px; }
  .row { flex-direction: column; }
  .search { max-width: none; }
  .login-wordmark { margin-bottom: -16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0.01ms !important; }
}
