@font-face {
    font-family: "DingTalk JinBuTi";
    src: url("../font.php?v=1") format("woff2");
    font-display: swap;
}

:root {
    color-scheme: light;
    --font: "DingTalk JinBuTi", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    --radius: 8px;
    --radius-lg: 8px;
    --bg: #f8fafc;
    --bg-soft: #eef2f7;
    --panel: #ffffff;
    --panel-2: #f8fafc;
    --text: #172033;
    --muted: #64748b;
    --border: #dbe3ee;
    --primary: #2563eb;
    --primary-strong: #1d4ed8;
    --accent: #f97316;
    --accent-2: #14b8a6;
    --danger: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --sidebar: #111827;
    --sidebar-text: #dbeafe;
    --sidebar-muted: #93a4bb;
    --shadow: 0 18px 55px rgba(15, 23, 42, .09);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, .06);
    --ring: rgba(37, 99, 235, .16);
    --hero: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(20, 184, 166, .12));
}

body.theme-pastoral {
    --bg: #f4f8ed;
    --bg-soft: #e6efd8;
    --panel: #fffdf5;
    --panel-2: #f8f3df;
    --text: #243324;
    --muted: #64715c;
    --border: #d7dfc7;
    --primary: #3f7d4c;
    --primary-strong: #2f633b;
    --accent: #d99a2b;
    --accent-2: #7aa95c;
    --sidebar: #263826;
    --sidebar-text: #eef7e8;
    --sidebar-muted: #b7c7a8;
    --shadow: 0 18px 52px rgba(63, 91, 51, .13);
    --ring: rgba(63, 125, 76, .18);
    --hero: linear-gradient(135deg, rgba(126, 166, 85, .22), rgba(217, 154, 43, .13));
}

body.theme-urban {
    --bg: #f6f8fb;
    --bg-soft: #e9eef6;
    --panel: #ffffff;
    --panel-2: #f2f5f9;
    --text: #182235;
    --muted: #64748b;
    --border: #d9e1ec;
    --primary: #2563eb;
    --primary-strong: #1d4ed8;
    --accent: #f97316;
    --accent-2: #0ea5e9;
    --sidebar: #111827;
    --sidebar-text: #dbeafe;
    --sidebar-muted: #94a3b8;
    --hero: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(249, 115, 22, .12));
}

body.theme-night {
    color-scheme: dark;
    --bg: #090b13;
    --bg-soft: #111827;
    --panel: #111522;
    --panel-2: #171c2b;
    --text: #edf3ff;
    --muted: #9aa8bd;
    --border: #283247;
    --primary: #7dd3fc;
    --primary-strong: #38bdf8;
    --accent: #c084fc;
    --accent-2: #22d3ee;
    --danger: #fb7185;
    --success: #34d399;
    --warning: #fbbf24;
    --sidebar: #070a12;
    --sidebar-text: #edf3ff;
    --sidebar-muted: #8b9ab1;
    --shadow: 0 22px 70px rgba(0, 0, 0, .36);
    --shadow-soft: 0 12px 34px rgba(0, 0, 0, .26);
    --ring: rgba(125, 211, 252, .22);
    --hero: radial-gradient(circle at 20% 15%, rgba(125, 211, 252, .18), transparent 34%), radial-gradient(circle at 80% 10%, rgba(192, 132, 252, .18), transparent 35%), #090b13;
}

body.theme-rainbow {
    --bg: #fbfbff;
    --bg-soft: #f1f0ff;
    --panel: #ffffff;
    --panel-2: #fff7fb;
    --text: #241f3d;
    --muted: #6b647f;
    --border: #e5def5;
    --primary: #7c3aed;
    --primary-strong: #6d28d9;
    --accent: #f43f5e;
    --accent-2: #06b6d4;
    --sidebar: #2b214d;
    --sidebar-text: #f4f1ff;
    --sidebar-muted: #c9c1e8;
    --shadow: 0 18px 55px rgba(76, 29, 149, .13);
    --ring: rgba(124, 58, 237, .18);
    --hero: linear-gradient(120deg, rgba(124, 58, 237, .17), rgba(244, 63, 94, .13), rgba(6, 182, 212, .13));
}

body.theme-campus {
    --bg: #f7fbff;
    --bg-soft: #e8f3ff;
    --panel: #ffffff;
    --panel-2: #f2f8ff;
    --text: #183044;
    --muted: #5c6f81;
    --border: #d6e5f2;
    --primary: #1976b9;
    --primary-strong: #105a90;
    --accent: #48a868;
    --accent-2: #f2b84b;
    --sidebar: #173652;
    --sidebar-text: #eef8ff;
    --sidebar-muted: #b7cee1;
    --shadow: 0 18px 48px rgba(25, 76, 118, .12);
    --ring: rgba(25, 118, 185, .18);
    --hero: linear-gradient(135deg, rgba(25, 118, 185, .16), rgba(72, 168, 104, .12));
}

* { box-sizing: border-box; }
html { min-width: 0; }
body {
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .62; }

.site-shell { min-height: 100vh; background: var(--hero); }
.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--panel) 88%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}
.site-nav-inner, .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.site-nav-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.brand-mark { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    color: #fff;
    padding: 5px;
    overflow: hidden;
    background: color-mix(in srgb, var(--panel) 82%, var(--primary));
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
    box-shadow: var(--shadow-soft);
}
.brand-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-sub { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.btn {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text);
    background: var(--panel);
    font-weight: 800;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { border-color: color-mix(in srgb, var(--primary) 44%, var(--border)); box-shadow: var(--shadow-soft); }
.btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--primary), var(--primary-strong)); }
.btn.accent { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn.ghost { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--panel)); border-color: color-mix(in srgb, var(--primary) 20%, var(--border)); }
.btn.danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--panel)); border-color: color-mix(in srgb, var(--danger) 22%, var(--border)); }
.btn.small { min-height: 32px; padding: 6px 10px; font-size: 13px; }
.theme-pastoral .btn { border-radius: 14px 8px 14px 8px; }
.theme-night .btn { box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); }
.theme-rainbow .btn.primary { background: linear-gradient(110deg, #7c3aed, #f43f5e, #06b6d4); }
.theme-campus .btn { border-radius: 10px; }

.hero {
    min-height: calc(100vh - 70px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    align-items: center;
    gap: 42px;
    padding: 54px 0 42px;
}
.hero h1 { margin: 18px 0 16px; font-size: clamp(38px, 6vw, 74px); line-height: 1.04; letter-spacing: 0; }
.lead { margin: 0; max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.78; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, var(--panel));
    border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 850;
    font-size: 13px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.showcase {
    background: color-mix(in srgb, var(--panel) 92%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}
.showcase-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); }
.showcase-row:first-child { border-top: 0; }
.showcase-row span { color: var(--muted); font-size: 13px; font-weight: 700; }
.showcase-row strong { font-size: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 12px 0 56px; }
.feature-card, .panel, .metric-card {
    background: color-mix(in srgb, var(--panel) 96%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.feature-card { padding: 20px; }
.feature-card h3 { margin: 0 0 10px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.68; font-size: 14px; }
.theme-pastoral .feature-card, .theme-pastoral .panel, .theme-pastoral .metric-card { border-radius: 18px 8px 18px 8px; }
.theme-night .feature-card, .theme-night .panel, .theme-night .metric-card { background: color-mix(in srgb, var(--panel) 90%, black); }
.theme-rainbow .feature-card:nth-child(odd), .theme-rainbow .metric-card:nth-child(odd) { border-color: color-mix(in srgb, var(--accent) 28%, var(--border)); }
.theme-campus .panel, .theme-campus .metric-card { border-top: 3px solid var(--accent-2); }

.auth-page, .install-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--hero);
}
.auth-card {
    width: min(460px, 100%);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 30px;
}
.auth-card h1, .panel h3 { margin: 0 0 8px; letter-spacing: 0; }
.auth-card p, .panel .desc { color: var(--muted); line-height: 1.68; margin: 0 0 22px; }

.field label {
    display: block;
    font-size: 13px;
    font-weight: 850;
    color: var(--muted);
    margin: 0 0 8px;
}
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    color: var(--text);
    background: var(--panel);
    outline: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.span-2 { grid-column: 1 / -1; }
.stack { display: grid; gap: 14px; }
.notice {
    display: none;
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 9999;
    width: max-content;
    max-width: min(560px, calc(100vw - 28px));
    transform: translateX(-50%);
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
    backdrop-filter: blur(16px);
}
.notice.error {
    display: block;
    color: var(--danger);
    border: 1px solid color-mix(in srgb, var(--danger) 28%, var(--border));
    background: color-mix(in srgb, var(--panel) 88%, var(--danger));
}
.notice.success {
    display: block;
    color: var(--success);
    border: 1px solid color-mix(in srgb, var(--success) 28%, var(--border));
    background: color-mix(in srgb, var(--panel) 88%, var(--success));
}

.install-shell {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 24px;
    align-items: stretch;
}
.install-aside, .install-form {
    background: color-mix(in srgb, var(--panel) 94%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px;
}
.install-aside { display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; }
.install-steps { display: grid; gap: 12px; margin-top: 30px; }
.install-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.install-step b { width: 34px; height: 34px; border-radius: var(--radius); display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.install-step span { color: var(--muted); line-height: 1.55; }

.admin-app { min-height: 100vh; display: flex; background: var(--bg); }
.sidebar {
    width: 268px;
    flex: 0 0 268px;
    background: var(--sidebar);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid color-mix(in srgb, var(--border) 35%, transparent);
}
.sidebar .brand-mark { padding: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand-sub { color: var(--sidebar-muted); }
.side-nav { padding: 12px; overflow: auto; flex: 1; }
.side-nav button {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--sidebar-text);
    text-align: left;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: var(--radius);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.side-nav button svg { width: 17px; height: 17px; color: var(--sidebar-muted); }
.side-nav button.active, .side-nav button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.side-footer { padding: 16px 22px 22px; border-top: 1px solid rgba(255,255,255,.08); color: var(--sidebar-muted); font-size: 13px; line-height: 1.6; }
.admin-main { flex: 1; min-width: 0; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 8;
    min-height: 72px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 90%, transparent);
    backdrop-filter: blur(16px);
}
.topbar h2 { margin: 0; font-size: 20px; }
.userbox { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, var(--panel));
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
    font-size: 13px;
    font-weight: 850;
}
.content { padding: 22px; }
.section { display: none; }
.section.active { display: block; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.metric-card { padding: 18px; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; }
.metric-card .label { color: var(--muted); font-size: 13px; font-weight: 850; }
.metric-card .value { color: var(--primary); font-size: 30px; font-weight: 950; margin-top: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.panel { padding: 20px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar h3 { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { padding: 12px 10px; border-top: 1px solid var(--border); text-align: left; font-size: 14px; white-space: nowrap; }
th { border-top: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.muted { color: var(--muted); }
.subtle { color: var(--muted); font-size: 12px; }
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 10%, var(--panel));
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
}
.badge.gray { background: color-mix(in srgb, var(--muted) 12%, var(--panel)); color: var(--muted); }
.badge.green { background: color-mix(in srgb, var(--success) 12%, var(--panel)); color: var(--success); }
.badge.red { background: color-mix(in srgb, var(--danger) 12%, var(--panel)); color: var(--danger); }
.badge.orange { background: color-mix(in srgb, var(--warning) 12%, var(--panel)); color: var(--warning); }
.code-box {
    width: 100%;
    max-height: 220px;
    overflow: auto;
    padding: 12px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--panel-2);
    color: var(--text);
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 13px;
    line-height: 1.65;
}
.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.section-head h3 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.inline-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-select {
    min-height: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 10px;
    color: var(--text);
    background: var(--panel);
    outline: none;
}
.data-line {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}
.data-line:first-child { border-top: 0; }
.data-line span { color: var(--muted); font-weight: 800; font-size: 13px; }
.data-line strong { font-weight: 850; }
.logo-upload {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--panel-2);
}
.logo-upload img {
    width: 74px;
    height: 74px;
    padding: 8px;
    object-fit: contain;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--panel) 86%, var(--primary));
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
}
.empty-state {
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    background: var(--panel-2);
    text-align: center;
}
.auth-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}
.auth-foot {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.hidden { display: none !important; }
.mobile-card-list { display: none; }

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(8, 13, 24, .58);
}
.modal {
    width: min(760px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 22px;
}
.modal.wide-modal { width: min(980px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.modal-head h3 { margin: 0; }
.close { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel-2); color: var(--text); }
.bot-plugin-list { display: grid; gap: 12px; }
.bot-plugin-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-2);
}
.bot-plugin-card.installed {
    border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
    background: color-mix(in srgb, var(--primary) 7%, var(--panel));
}
.bot-plugin-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bot-plugin-title h4 { margin: 0; font-size: 16px; }
.bot-plugin-main p { margin: 8px 0 10px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.bot-plugin-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; font-weight: 800; }
.bot-plugin-actions { justify-content: flex-end; }

.site-footer { padding: 22px; text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 1100px) {
    .metric-grid, .feature-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .install-shell, .hero { grid-template-columns: 1fr; }
    .install-aside { min-height: auto; }
}

@media (max-width: 860px) {
    .admin-app { display: block; }
    .sidebar { width: 100%; height: auto; position: relative; display: block; }
    .side-nav { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; }
    .side-nav button { width: auto; white-space: nowrap; margin: 0; flex: 0 0 auto; }
    .side-footer { display: none; }
    .topbar { position: relative; align-items: flex-start; flex-direction: column; }
    .userbox { justify-content: flex-start; }
    .content { padding: 16px; }
    .grid-2, .form-grid { grid-template-columns: 1fr; }
    .metric-grid, .feature-grid { grid-template-columns: 1fr; }
    table { min-width: 760px; }
    .hero { min-height: auto; padding-top: 34px; }
    .site-nav-inner { min-height: 64px; align-items: flex-start; flex-direction: column; padding: 14px 0; }
}

@media (max-width: 560px) {
    .container, .site-nav-inner { width: min(100% - 24px, 1180px); }
    .auth-page, .install-page { padding: 12px; }
    .auth-card, .install-aside, .install-form, .panel { padding: 16px; }
    .hero h1 { font-size: 34px; }
    .lead { font-size: 16px; }
    .btn { width: 100%; }
    .nav-actions .btn { width: auto; }
    .table-wrap { display: none; }
    .mobile-card-list { display: grid; gap: 12px; }
    .logo-upload { grid-template-columns: 1fr; }
    .logo-upload img { width: 64px; height: 64px; }
    .data-card {
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 14px;
        box-shadow: var(--shadow-soft);
    }
    .data-card h4 { margin: 0 0 8px; }
    .data-card dl { margin: 0; display: grid; gap: 7px; }
    .data-card div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
    .data-card strong { color: var(--text); text-align: right; }
    .bot-plugin-card { grid-template-columns: 1fr; }
    .bot-plugin-actions { justify-content: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
