/* ============ 抖音运营工作台 · 深色数据看板主题 ============ */
:root {
  --bg: #0a0d14;
  --bg-2: #0e1220;
  --panel: #121724;
  --panel-2: #171e2e;
  --panel-3: #1d2537;
  --border: #232c42;
  --border-light: #2e3a56;
  --text: #e8ecf5;
  --text-2: #b7bfd1;
  --muted: #7f889e;
  --red: #fe2c55;
  --cyan: #25f4ee;
  --gold: #ffb020;
  --green: #2bd576;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --radius: 14px;
  --sidebar-w: 232px;
  --sidebar-w-min: 68px;
  --topbar-h: 60px;
  --tabbar-h: 58px;
  font-size: 15px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #2a3450; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: var(--text); }
.num { font-variant-numeric: tabular-nums; }

/* ============ 登录页 ============ */
#loginView {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(254, 44, 85, .14), transparent 60%),
    radial-gradient(900px 500px at 85% 90%, rgba(37, 244, 238, .10), transparent 60%),
    var(--bg);
  transition: opacity .4s, visibility .4s;
}
#loginView.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.login-card {
  width: 400px; max-width: calc(100vw - 32px);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.login-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; letter-spacing: .5px;
}
.login-logo .note { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--red), #ff5f7e); display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 4px 4px 0 rgba(37,244,238,.6); }
.login-sub { color: var(--muted); font-size: 13px; margin: 8px 0 24px; }
.qr-wrap {
  position: relative; width: 208px; height: 208px; margin: 0 auto;
  background: #fff; border-radius: 14px; padding: 10px;
}
.qr-wrap canvas { width: 100%; height: 100%; display: block; border-radius: 6px; }
.qr-overlay {
  position: absolute; inset: 0; border-radius: 14px;
  background: rgba(10, 13, 20, .86);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--text); font-size: 14px; font-weight: 600;
}
.qr-overlay.show { display: flex; }
.qr-scanline {
  position: absolute; left: 8px; right: 8px; height: 3px; top: 10%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  border-radius: 2px; opacity: 0; pointer-events: none;
}
.qr-wrap.scanning .qr-scanline { opacity: 1; animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 8%; } 50% { top: 90%; } }
.login-status { margin: 18px 0 6px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.wait { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.status-dot.scanned { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.status-dot.ok { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.expired { background: var(--red); box-shadow: 0 0 8px var(--red); }
.login-actions { margin-top: 16px; display: flex; gap: 10px; justify-content: center; }
.login-tip { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* ============ 应用骨架 ============ */
#appView { display: none; height: 100vh; }
#appView.show { display: block; }

.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w);
  background: var(--bg-2); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; z-index: 40;
  transition: width .25s;
}
.side-logo { height: var(--topbar-h); display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; }
.side-logo .note { flex: none; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--red), #ff5f7e); display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 3px 3px 0 rgba(37,244,238,.55); }
.side-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.nav-group-label { font-size: 11px; color: var(--muted); padding: 14px 10px 6px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 2px;
  color: var(--text-2); font-size: 14px; cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
  white-space: nowrap; overflow: hidden;
  transition: background .15s, color .15s;
}
.nav-item svg { flex: none; width: 19px; height: 19px; }
.nav-item:hover { background: var(--panel-2); color: var(--text); }
.nav-item.active { background: linear-gradient(90deg, rgba(254,44,85,.16), rgba(254,44,85,.04)); color: var(--text); position: relative; }
.nav-item.active::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--red); }
.side-foot { padding: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }

/* 顶栏 */
.topbar {
  position: fixed; left: var(--sidebar-w); right: 0; top: 0; height: var(--topbar-h);
  background: rgba(14, 18, 32, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; padding: 0 22px; z-index: 30;
  transition: left .25s;
}
.topbar-title { font-size: 16px; font-weight: 600; }
.topbar-spacer { flex: 1; }
.account-chip {
  display: flex; align-items: center; gap: 9px;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 14px 5px 6px; font-size: 13px;
}
.avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex: none; }
.account-chip .fans { color: var(--muted); font-size: 12px; }

/* 主区 */
.main {
  position: absolute; left: var(--sidebar-w); right: 0; top: var(--topbar-h); bottom: 0;
  overflow-y: auto; padding: 22px; transition: left .25s;
}
.module { max-width: 1280px; margin: 0 auto; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.module-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.module-title { font-size: 20px; font-weight: 700; }
.module-desc { color: var(--muted); font-size: 13px; margin-top: 4px; }
.module-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* 移动端底部导航 */
.tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; height: var(--tabbar-h);
  background: rgba(14, 18, 32, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); z-index: 40;
}
.tabbar-inner { display: flex; height: 100%; }
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 11px; border: none; background: none;
}
.tab-item svg { width: 21px; height: 21px; }
.tab-item.active { color: var(--red); }

/* ============ 通用组件 ============ */
.card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px;
}
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-title .sub { font-size: 12px; color: var(--muted); font-weight: 400; }
.grid { display: grid; gap: 14px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.stat-card { position: relative; overflow: hidden; }
.stat-card .label { color: var(--muted); font-size: 13px; }
.stat-card .value { font-size: 26px; font-weight: 700; margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.stat-card .delta { font-size: 12px; }
.delta.up { color: var(--green); }
.delta.down { color: var(--red); }
.stat-card .glow { position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; filter: blur(40px); opacity: .25; }

.btn {
  border: 1px solid var(--border-light); background: var(--panel-3); color: var(--text);
  border-radius: 9px; padding: 8px 15px; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: filter .15s, transform .1s;
}
.btn:hover { filter: brightness(1.18); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--red), #ff4d73); border-color: transparent; }
.btn-cyan { background: linear-gradient(135deg, #0fa9a5, var(--cyan)); border-color: transparent; color: #05292a; font-weight: 600; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 7px; }
.btn .spin { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.input, select.input {
  background: var(--bg-2); border: 1px solid var(--border-light);
  border-radius: 9px; padding: 8px 12px; font-size: 13px; outline: none;
  transition: border-color .15s;
}
.input:focus { border-color: var(--cyan); }
select.input option { background: var(--panel-2); }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.badge-red { background: rgba(254,44,85,.15); color: #ff7d99; }
.badge-cyan { background: rgba(37,244,238,.12); color: var(--cyan); }
.badge-gold { background: rgba(255,176,32,.14); color: var(--gold); }
.badge-green { background: rgba(43,213,118,.13); color: var(--green); }
.badge-purple { background: rgba(139,92,246,.15); color: #b39dff; }
.badge-gray { background: rgba(127,136,158,.15); color: var(--muted); }

.chip { display: inline-block; background: var(--panel-3); border: 1px solid var(--border-light); border-radius: 999px; padding: 4px 12px; font-size: 12px; color: var(--text-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--cyan); color: var(--cyan); }

.progress { height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .8s ease; }
.progress.cyan > i { background: linear-gradient(90deg, #0fa9a5, var(--cyan)); }
.progress.green > i { background: linear-gradient(90deg, #16a34a, var(--green)); }

/* 开关 */
.switch { position: relative; width: 40px; height: 22px; flex: none; cursor: pointer; }
.switch input { display: none; }
.switch i { position: absolute; inset: 0; background: var(--panel-3); border: 1px solid var(--border-light); border-radius: 999px; transition: .2s; }
.switch i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #8b93a7; border-radius: 50%; transition: .2s; }
.switch input:checked + i { background: rgba(254,44,85,.35); border-color: var(--red); }
.switch input:checked + i::after { left: 20px; background: var(--red); }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; font-size: 12px; }
.table td { padding: 11px 12px; border-bottom: 1px solid rgba(35,44,66,.5); vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: rgba(29,37,55,.5); }

/* 作品封面 */
.cover { position: relative; border-radius: 10px; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.cover .play-ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; }
.cover .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.6); border-radius: 5px; font-size: 11px; padding: 1px 6px; }

/* 作品卡片（移动/列表通用） */
.work-row { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: all .15s; }
.work-row:hover { background: var(--panel-3); border-color: var(--border-light); }
.work-row .cover { width: 74px; height: 98px; }
.work-meta { flex: 1; min-width: 0; }
.work-meta .t { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-meta .d { color: var(--muted); font-size: 12px; margin: 4px 0 8px; }
.work-kpis { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-2); }
.work-kpis b { color: var(--text); font-weight: 600; }

/* 抽屉 */
.mask { position: fixed; inset: 0; background: rgba(5,7,12,.6); backdrop-filter: blur(2px); z-index: 60; opacity: 0; visibility: hidden; transition: .25s; }
.mask.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 620px; max-width: 100vw;
  background: var(--bg-2); border-left: 1px solid var(--border);
  z-index: 61; transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-head .t { flex: 1; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-close { border: none; background: var(--panel-3); color: var(--text-2); width: 30px; height: 30px; border-radius: 8px; font-size: 15px; flex: none; }

/* 底部弹层（移动） */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  background: var(--bg-2); border-top: 1px solid var(--border);
  border-radius: 18px 18px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform .3s ease;
}
.sheet.show { transform: none; }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--border-light); margin: 0 auto 14px; }
.sheet-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 10px; border: none; background: none; color: var(--text); font-size: 15px; border-radius: 10px; text-align: left; }
.sheet-item:hover { background: var(--panel-2); }
.sheet-item svg { width: 20px; height: 20px; color: var(--text-2); }

/* 骨架屏 / 空态 / 异常 */
.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--panel) 25%, var(--panel-3) 50%, var(--panel) 75%); background-size: 400% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.empty, .error-box { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .ico, .error-box .ico { font-size: 42px; margin-bottom: 12px; opacity: .8; }
.empty .t, .error-box .t { font-size: 15px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.empty .d, .error-box .d { font-size: 13px; margin-bottom: 16px; }

/* Toast */
#toastBox { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--panel-3); border: 1px solid var(--border-light); color: var(--text);
  padding: 10px 18px; border-radius: 10px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: toastIn .25s ease;
  display: flex; align-items: center; gap: 8px; max-width: 84vw;
}
.toast.ok { border-color: rgba(43,213,118,.5); }
.toast.warn { border-color: rgba(255,176,32,.5); }
.toast.err { border-color: rgba(254,44,85,.5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; } }
.toast.out { opacity: 0; transition: opacity .3s; }

/* 排行榜 */
.rank-row { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid rgba(35,44,66,.5); }
.rank-row:last-child { border-bottom: none; }
.rank-no { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--panel-3); color: var(--muted); flex: none; }
.rank-no.top1 { background: rgba(254,44,85,.2); color: var(--red); }
.rank-no.top2 { background: rgba(255,176,32,.18); color: var(--gold); }
.rank-no.top3 { background: rgba(37,244,238,.14); color: var(--cyan); }
.rank-main { flex: 1; min-width: 0; }
.rank-main .n { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-main .s { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 热力图 */
.heatmap { display: grid; grid-template-columns: 44px repeat(12, 1fr); gap: 3px; font-size: 11px; color: var(--muted); }
.heat-cell { aspect-ratio: 1.4; border-radius: 4px; min-height: 20px; }
.heat-label { display: flex; align-items: center; }

/* 评论 */
.comment-item { padding: 14px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--panel); }
.comment-item.quality { border-color: rgba(37,244,238,.35); }
.comment-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.comment-head .name { font-size: 13px; font-weight: 600; }
.comment-body { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.comment-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.reply-box { margin-top: 10px; background: var(--bg); border: 1px solid var(--border-light); border-radius: 10px; padding: 11px 13px; font-size: 13px; line-height: 1.7; }
.reply-box .tag { font-size: 11px; color: var(--cyan); margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.typing-caret { display: inline-block; width: 2px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.like-btn.liked { color: var(--red); border-color: rgba(254,44,85,.5); background: rgba(254,44,85,.1); }

/* 漏斗补充 */
.funnel-note { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 分镜表 */
.storyboard { display: flex; flex-direction: column; gap: 12px; }
.scene { display: grid; grid-template-columns: 46px 1fr; gap: 12px; }
.scene-no { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--purple), #6d3df0); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }
.scene-card { flex: 1; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; }
.scene-card .row { display: flex; gap: 8px; font-size: 13px; margin-bottom: 7px; line-height: 1.6; }
.scene-card .row:last-child { margin-bottom: 0; }
.scene-card .k { color: var(--muted); flex: none; width: 56px; }
.scene-card .dur { margin-left: auto; }

.kv { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(35,44,66,.5); font-size: 13px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; }

.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* 系统配置页 */
.form-row { margin-bottom: 14px; }
.form-row .lb { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 7px; }
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.scope-item { display: flex; gap: 8px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; cursor: pointer; font-size: 13px; transition: border-color .15s; }
.scope-item:hover { border-color: var(--border-light); }
.scope-item input { accent-color: var(--red); margin-top: 2px; flex: none; }
.scope-item .d { color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.5; }

.mt8 { margin-top: 8px; } .mt14 { margin-top: 14px; } .mt18 { margin-top: 18px; }
.muted { color: var(--muted); } .fs12 { font-size: 12px; } .fs13 { font-size: 13px; }
.flex { display: flex; align-items: center; } .gap8 { gap: 8px; } .gap12 { gap: 12px; } .wrap { flex-wrap: wrap; }
.chart { width: 100%; }

/* ============ 响应式 ============ */
@media (max-width: 1100px) and (min-width: 821px) {
  .sidebar { width: var(--sidebar-w-min); }
  .sidebar .nav-label, .sidebar .nav-group-label, .sidebar .side-logo .txt, .sidebar .side-foot { display: none; }
  .nav-item { justify-content: center; padding: 12px; }
  .topbar { left: var(--sidebar-w-min); }
  .main { left: var(--sidebar-w-min); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .sidebar { display: none; }
  .topbar { left: 0; padding: 0 14px; }
  .topbar .hide-m { display: none; }
  .main { left: 0; top: var(--topbar-h); bottom: var(--tabbar-h); padding: 14px; }
  .tabbar { display: block; }
  .g-4, .g-3, .g-2 { grid-template-columns: 1fr; }
  .g-4.keep-2 { grid-template-columns: repeat(2, 1fr); }
  .drawer { width: 100vw; border-left: none; }
  .module-title { font-size: 18px; }
  .heatmap { grid-template-columns: 34px repeat(12, 1fr); gap: 2px; }
  .scene { grid-template-columns: 1fr; }
  .scene-no { width: 34px; height: 34px; font-size: 13px; }
  .login-card { padding: 28px 20px 22px; }
  .table-responsive { overflow-x: auto; }
  .scope-grid { grid-template-columns: 1fr; }
  #toastBox { top: 66px; }
}
