* { box-sizing: border-box; }

:root {
    --gold: #f5c518;
    --gold-dark: #d9a800;
    --gold-soft: #fff8dd;
    --dark: #16161a;
    --dark-2: #1e1e24;
    --dark-3: #26262e;
    --line: #ececf1;
    --text: #26262b;
    --muted: #8b8b95;
    --green: #22c55e;
    --orange: #f59e0b;
    --red: #ef4444;
    --blue: #3b82f6;
    --violet: #8b5cf6;
    --teal: #14b8a6;
    --sky: #0ea5e9;
    --gray: #6b7280;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    color: var(--text);
    background: #f2f3f5;
}

a { color: inherit; text-decoration: none; }

.app { display: flex; min-height: 100vh; }

/* ============ 侧边栏 ============ */
.sidebar {
    width: 218px;
    flex: 0 0 218px;
    background: #131317;
    color: #cfcfd6;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 40;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: #33333c; border-radius: 4px; }

.logo { display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px; }
.logo-mark {
    width: 38px; height: 38px; border-radius: 12px;
    background: linear-gradient(150deg, #3b3b46, #17171c);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(245, 197, 24, .25);
}
.logo-title { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.logo-sub { font-size: 10px; color: var(--gold); }

.menu { padding: 6px 10px 30px; }
.menu-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px; margin-bottom: 2px;
    color: #c3c3cc; cursor: pointer; font-size: 13px; position: relative;
}
.menu-item:hover { background: #1e1e25; color: #fff; }
.menu-item.active {
    background: linear-gradient(90deg, rgba(245, 197, 24, .18), rgba(245, 197, 24, .04));
    color: var(--gold);
}
.menu-item.active::before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
    width: 3px; border-radius: 3px; background: var(--gold);
}
.menu-item .icon { width: 18px; height: 18px; display: inline-flex; }
.menu-item .arrow { margin-left: auto; transition: transform .2s; color: #6a6a76; }
.menu-group.open > .menu-item .arrow { transform: rotate(180deg); }
.submenu { display: none; padding-left: 12px; margin: 2px 0 6px; }
.menu-group.open .submenu { display: block; }
.submenu .menu-item { padding: 8px 12px; font-size: 12.5px; color: #a9a9b4; }
.submenu .menu-item.active { color: var(--gold); background: rgba(245,197,24,.1); }
.menu-item .count {
    margin-left: auto; background: #2a2a33; color: #b9b9c4;
    border-radius: 8px; font-size: 11px; padding: 1px 7px;
}
.menu-title { padding: 14px 14px 6px; font-size: 11px; color: #5c5c66; letter-spacing: 1px; }

/* ============ 主区域 ============ */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
    height: 62px; background: #101014; color: #e8e8ee;
    display: flex; align-items: center; padding: 0 22px; gap: 14px;
    position: sticky; top: 0; z-index: 30;
}
.topbar .spacer { flex: 1; }
.expire-pill {
    display: flex; align-items: center; gap: 6px;
    border: 1px solid rgba(239, 68, 68, .55); color: #ff6b6b;
    border-radius: 18px; padding: 5px 14px; font-size: 12px;
    background: rgba(239, 68, 68, .08);
}
.expire-pill b { color: #ff8787; font-weight: 600; }
.user-pill {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    border-radius: 20px; padding: 4px 12px 4px 4px; position: relative;
}
.user-pill:hover { background: #1c1c23; }
.avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(140deg, #d9d9e3, #8f8fa3);
    display: flex; align-items: center; justify-content: center;
    color: #2b2b33; font-weight: 700; font-size: 12px;
}
.user-menu {
    position: absolute; right: 0; top: 48px; min-width: 150px;
    background: #fff; color: var(--text); border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25); overflow: hidden; display: none;
}
.user-pill.open .user-menu { display: block; }
.user-menu a { display: block; padding: 10px 14px; font-size: 13px; }
.user-menu a:hover { background: #f5f5f8; }

.content { padding: 20px 22px 40px; flex: 1; }

/* ============ 面板 ============ */
.panel {
    background: #fff; border-radius: 14px; padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(17, 17, 26, .04);
    margin-bottom: 18px;
}
.panel-title { font-size: 19px; font-weight: 700; margin: 0 0 18px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head .spacer { flex: 1; }

.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }

/* ============ 按钮 ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 34px; padding: 0 16px; border-radius: 8px; border: none;
    font-size: 13px; cursor: pointer; background: #eef0f4; color: #40404a;
    transition: filter .15s; white-space: nowrap;
}
.btn:hover { filter: brightness(.96); }
.btn-gold { background: var(--gold); color: #2c2402; font-weight: 600; }
.btn-green { background: var(--green); color: #fff; }
.btn-yellow { background: #f6c431; color: #463500; }
.btn-gray { background: #9aa0aa; color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-outline { background: #fff; border: 1px solid #dfe1e7; color: #55555f; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.btn-xs { height: 24px; padding: 0 8px; font-size: 11.5px; border-radius: 5px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn .icon { width: 14px; height: 14px; }

/* ============ 表单 ============ */
.form-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.form-label { width: 92px; flex: 0 0 92px; text-align: right; padding-top: 9px; color: #4b4b55; font-size: 13px; }
.form-label .req { color: var(--red); margin-right: 2px; }
.form-control {
    flex: 1; min-width: 0; height: 36px; border: 1px solid #e2e4ea; border-radius: 8px;
    padding: 0 12px; font-size: 13px; background: #fff; color: var(--text); width: 100%;
}
textarea.form-control { height: auto; padding: 9px 12px; resize: vertical; }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.18); }
.form-hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.form-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-input {
    display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
    border: 1px solid #e2e4ea; border-radius: 8px; background: #fff; min-width: 240px; color: var(--muted);
}
.search-input input { border: none; outline: none; flex: 1; font-size: 13px; background: transparent; }
.filter-bar { background: #fafbfc; border: 1px solid #f0f1f4; border-radius: 10px; padding: 14px; margin-bottom: 16px; }

/* ============ 统计卡 ============ */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat-grid.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat-card {
    background: #fff; border: 1px solid #f0f1f4; border-radius: 12px; padding: 16px;
    display: flex; gap: 12px; align-items: center;
}
.stat-icon {
    width: 42px; height: 42px; border-radius: 10px; flex: 0 0 42px;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.stat-icon.blue { background: linear-gradient(140deg, #4f9cf9, #2f6fdd); }
.stat-icon.green { background: linear-gradient(140deg, #34d399, #16a34a); }
.stat-icon.orange { background: linear-gradient(140deg, #fbbf24, #f59e0b); }
.stat-icon.red { background: linear-gradient(140deg, #f87171, #dc2626); }
.stat-icon.violet { background: linear-gradient(140deg, #a78bfa, #7c3aed); }
.stat-icon.gray { background: linear-gradient(140deg, #9ca3af, #6b7280); }
.stat-icon.gold { background: linear-gradient(140deg, #fbd34d, #eab308); }
.stat-icon.teal { background: linear-gradient(140deg, #2dd4bf, #0d9488); }
.stat-icon.sky { background: linear-gradient(140deg, #38bdf8, #0284c7); }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.data th {
    background: #f7f8fa; color: #55555f; font-weight: 600; text-align: left;
    padding: 11px 12px; border-bottom: 1px solid #eceef2; white-space: nowrap;
}
table.data td { padding: 12px; border-bottom: 1px solid #f2f3f6; vertical-align: middle; color: #33333c; }
table.data tr:hover td { background: #fcfcfd; }
table.data .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mono { font-family: Consolas, Monaco, monospace; font-size: 12px; }
.ellipsis { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
.cell-sub { color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.empty { text-align: center; color: #b0b0ba; padding: 40px 0; }
.empty .empty-icon { font-size: 40px; opacity: .35; }

/* ============ 徽章 ============ */
.badge {
    display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
    border-radius: 5px; font-size: 11.5px; background: #f0f1f5; color: #5c5c66;
}
.badge-green { background: #e7f8ef; color: #15803d; }
.badge-red { background: #feecec; color: #b91c1c; }
.badge-orange { background: #fff3e0; color: #b45309; }
.badge-blue { background: #e8f2fe; color: #1d4ed8; }
.badge-gray { background: #f1f2f5; color: #6b7280; }
.badge-violet { background: #f1ebfe; color: #6d28d9; }
.badge-gold { background: #fef7d9; color: #92700a; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 5px; }

/* ============ 分页 ============ */
.pagination-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; font-size: 12.5px; color: #66666f; }
.pagination { display: flex; gap: 6px; align-items: center; }
.pagination a, .pagination span {
    min-width: 30px; height: 30px; border-radius: 7px; border: 1px solid #e6e8ee;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; background: #fff;
}
.pagination .active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .disabled { opacity: .45; }

/* ============ 标签页 ============ */
.tabs { display: flex; gap: 8px; background: #f5f6f9; padding: 5px; border-radius: 10px; }
.tabs a, .tabs button {
    padding: 8px 20px; border-radius: 8px; font-size: 13px; color: #5a5a64;
    border: none; background: transparent; cursor: pointer;
}
.tabs .active { background: #fff; color: #1f1f26; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

/* ============ 弹窗 ============ */
.modal-mask {
    position: fixed; inset: 0; background: rgba(15, 15, 20, .55); z-index: 90;
    display: none; align-items: flex-start; justify-content: center; padding: 60px 16px; overflow-y: auto;
}
.modal-mask.show { display: flex; }
.modal {
    background: #fff; border-radius: 14px; width: 100%; max-width: 560px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: pop .16s ease-out;
}
.modal-lg { max-width: 860px; }
@keyframes pop { from { transform: translateY(-8px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f0f1f4; font-size: 15px; font-weight: 600; }
.modal-head .close { margin-left: auto; cursor: pointer; color: #9a9aa4; background: none; border: none; font-size: 18px; line-height: 1; }
.modal-body { padding: 20px; max-height: 66vh; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #f0f1f4; }

/* ============ 提示 ============ */
.toast-wrap { position: fixed; top: 18px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
    min-width: 240px; max-width: 420px; background: #fff; border-radius: 10px; padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.16); border-left: 4px solid var(--green); font-size: 13px;
}
.toast.error { border-left-color: var(--red); }
.toast.warning { border-left-color: var(--orange); }
.toast .toast-title { font-weight: 600; margin-bottom: 4px; }

/* ============ 仪表盘（深色） ============ */
body.theme-dark { background: #0f0f13; color: #e6e6ee; }
body.theme-dark .content { padding: 20px 22px 40px; }
.hero {
    background: linear-gradient(100deg, #e8ae12 0%, #f7cf3a 45%, #ffe27a 100%);
    border-radius: 14px; padding: 26px 28px; color: #2b2205; position: relative; overflow: hidden;
    margin-bottom: 18px;
}
.hero::after {
    content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px;
    background: rgba(255,255,255,.28); border-radius: 50%;
}
.hero-hello { font-size: 13px; opacity: .8; }
.hero-title { font-size: 26px; font-weight: 800; margin: 6px 0 8px; }
.hero-desc { font-size: 12.5px; opacity: .78; }
.hero-tags { display: flex; gap: 10px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.hero-tag {
    background: rgba(0,0,0,.14); border-radius: 16px; padding: 5px 14px; font-size: 12px;
    display: inline-flex; align-items: center; gap: 6px;
}
.hero .btn-refresh {
    position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
    background: #16161a; color: #fff; height: 36px; padding: 0 18px; border-radius: 8px;
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; z-index: 2;
}
.dark-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.dark-stat {
    background: linear-gradient(160deg, #1d1d23, #17171c); border: 1px solid #26262e;
    border-radius: 12px; padding: 18px; display: flex; gap: 12px; align-items: center;
}
.dark-stat .stat-value { color: #fff; }
.dark-stat .stat-label { color: #8f8f9c; }
.dark-stat .stat-icon { box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.section-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.section-head .bar { width: 4px; height: 18px; border-radius: 2px; background: var(--gold); }
.section-head h3 { font-size: 16px; margin: 0; color: #fff; }
.section-head .sub { color: #7d7d8a; font-size: 12px; }
.section-head .spacer { flex: 1; }
.module-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.module-card {
    background: linear-gradient(165deg, #1d1d23, #151519); border: 1px solid #26262e;
    border-radius: 12px; padding: 16px; position: relative; overflow: hidden; display: block;
    transition: transform .16s, border-color .16s;
}
.module-card:hover { transform: translateY(-2px); border-color: #3a3a45; }
.module-card .accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.module-card .accent.gold { background: var(--gold); }
.module-card .accent.orange { background: var(--orange); }
.module-card .accent.red { background: var(--red); }
.module-card .accent.blue { background: var(--blue); }
.module-card .accent.sky { background: var(--sky); }
.module-card .accent.green { background: var(--green); }
.module-card .accent.violet { background: var(--violet); }
.module-card .accent.gray { background: var(--gray); }
.module-card .accent.teal { background: var(--teal); }
.module-card .accent.dark { background: #4b5563; }
.module-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.module-head .m-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; }
.module-head .m-icon.gold { background: linear-gradient(140deg,#f7cf3a,#d99e00); }
.module-head .m-icon.dark { background: #374151; }
.module-head .m-icon.orange { background: linear-gradient(140deg,#fb923c,#ea580c); }
.module-head .m-icon.red { background: linear-gradient(140deg,#f87171,#dc2626); }
.module-head .m-icon.blue { background: linear-gradient(140deg,#60a5fa,#2563eb); }
.module-head .m-icon.sky { background: linear-gradient(140deg,#38bdf8,#0284c7); }
.module-head .m-icon.green { background: linear-gradient(140deg,#34d399,#059669); }
.module-head .m-icon.violet { background: linear-gradient(140deg,#a78bfa,#7c3aed); }
.module-head .m-icon.gray { background: linear-gradient(140deg,#9ca3af,#4b5563); }
.module-head .m-icon.teal { background: linear-gradient(140deg,#2dd4bf,#0f766e); }
.module-head .m-title { font-size: 14px; font-weight: 700; color: #fff; }
.module-head .m-desc { font-size: 11px; color: #7d7d8a; margin-top: 2px; }
.module-head .chev { margin-left: auto; color: #5c5c68; }
.module-stats { display: flex; gap: 10px; border-bottom: 1px dashed #2a2a33; padding-bottom: 12px; }
.module-stats .ms { flex: 1; min-width: 0; border-right: 1px dashed #2a2a33; }
.module-stats .ms:last-child { border-right: none; }
.module-stats .v { font-size: 19px; font-weight: 700; color: #fff; }
.module-stats .l { font-size: 11px; color: #7d7d8a; margin-top: 2px; }
.module-foot { display: flex; gap: 8px; padding-top: 12px; }
.module-foot .mf {
    background: #23232b; border-radius: 6px; padding: 4px 10px; font-size: 11px; color: #a5a5b1;
}
.module-foot .mf b { color: #fff; margin-left: 4px; }
.chart-card { background: #191920; border: 1px solid #26262e; border-radius: 12px; padding: 18px; }
.chart-card h4 { margin: 0 0 4px; color: #fff; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.chart-card .sample { background: #3a3a45; color: #b9b9c6; font-size: 10px; border-radius: 4px; padding: 2px 7px; }
.chart-card .range { margin-left: auto; display: flex; gap: 6px; }
.chart-card .range span { background: #23232b; border-radius: 6px; padding: 4px 12px; color: #a5a5b1; font-size: 12px; }
.chart-card .range span.active { background: var(--gold); color: #2c2402; font-weight: 600; }
.chart-line { height: 180px; border-radius: 10px; background:
    repeating-linear-gradient(90deg, transparent 0 60px, #23232b 60px 61px),
    repeating-linear-gradient(0deg, transparent 0 44px, #23232b 44px 45px);
    position: relative; margin-top: 14px;
}
.chart-line .poly { position: absolute; inset: 0; clip-path: polygon(0 92%, 18% 74%, 36% 80%, 54% 48%, 72% 56%, 100% 22%, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(245,197,24,.35), rgba(245,197,24,.02)); }
.chart-line .stroke { position: absolute; inset: 0; clip-path: polygon(0 91%, 18% 73%, 36% 79%, 54% 47%, 72% 55%, 100% 21%, 100% 23%, 72% 57%, 54% 49%, 36% 81%, 18% 75%, 0 93%); background: var(--gold); }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.donut { width: 150px; height: 150px; border-radius: 50%; margin: 18px auto 6px;
    background: conic-gradient(var(--gold) 0 46%, #3b82f6 46% 72%, #22c55e 72% 88%, #8b5cf6 88% 100%);
    position: relative; }
.donut::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; background: #191920; }
.legend { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: #a5a5b1; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 5px; }

/* ============ 授权二维码 ============ */
.qr-box { display: flex; flex-direction: column; align-items: center; padding: 8px 0 4px; }
.qr-frame { border: 1px solid #ececf1; border-radius: 12px; padding: 12px; background: #fff; }
.qr-frame img { width: 240px; height: 240px; display: block; }
.qr-tip { margin-top: 14px; color: #6a6a75; font-size: 12.5px; text-align: center; line-height: 1.7; }
.qr-tip b { color: #15803d; }

/* ============ 链接展示 ============ */
.link-box { display: flex; align-items: center; gap: 8px; }
.link-box .url {
    flex: 1; background: #f7f8fa; border: 1px solid #eceef2; border-radius: 7px;
    padding: 7px 10px; font-size: 12px; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.time-slot { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.time-slot .form-control { width: 120px; flex: 0 0 120px; }
.time-slot .count-input { width: 90px; flex: 0 0 90px; }
.time-slot .slot-tip { color: #90909b; font-size: 12px; }

/* ============ 登录 ============ */
.login-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(1000px 500px at 20% 10%, #23232c 0%, #101014 55%, #0a0a0d 100%);
    padding: 20px;
}
.login-card {
    width: 400px; background: rgba(28,28,34,.92); border: 1px solid #2c2c36;
    border-radius: 18px; padding: 34px 32px; color: #e9e9f0;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.login-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; }
.login-logo .mark {
    width: 58px; height: 58px; border-radius: 16px;
    background: linear-gradient(150deg, #3b3b46, #17171c);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(245,197,24,.28);
}
.login-title { font-size: 18px; font-weight: 700; }
.login-sub { font-size: 12px; color: #9a9aa6; }
.login-card .form-row { display: block; margin-bottom: 16px; }
.login-card .form-label { width: auto; text-align: left; display: block; margin-bottom: 7px; color: #b9b9c5; }
.login-card .form-control {
    background: #16161b; border-color: #34343f; color: #f2f2f7; height: 42px;
}
.login-card .form-control:focus { border-color: var(--gold); }
.login-btn {
    width: 100%; height: 44px; border-radius: 10px; border: none; cursor: pointer;
    background: linear-gradient(100deg, #e8ae12, #f7cf3a); color: #2b2205;
    font-size: 15px; font-weight: 700;
}
.login-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #ff9d9d; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 14px; }
.login-foot { text-align: center; color: #6f6f7c; font-size: 11.5px; margin-top: 18px; }

@media (max-width: 1400px) {
    .module-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1100px) {
    .stat-grid, .dark-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .two-col { grid-template-columns: 1fr; }
}
