/* ============================================================
   组件（续）：表格 / 分页 / 徽标 / 弹窗 / Toast / Tabs / 空态 / 骨架
   ============================================================ */

/* ---------- 表格 ---------- */
.tbl-wrap { overflow: auto; max-height: calc(100vh - 230px); border-radius: var(--radius) var(--radius) 0 0; }
.tbl-wrap.plain { max-height: none; border-radius: 8px; border: 1px solid var(--line-2); }
.tbl-wrap.short { max-height: 420px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tbl th { position: sticky; top: 0; z-index: 2; background: #F9FAFB; color: var(--text-2); font-weight: 600; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 12.5px; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; white-space: nowrap; }
.tbl td.wrap { white-space: normal; min-width: 260px; }
.tbl tbody tr { animation: row-in .3s var(--ease) both; transition: background .12s; }
.tbl tbody tr:nth-child(even) td { background: #FAFBFD; }
.tbl tbody tr:hover td { background: var(--primary-soft); }
.tbl td.act, .tbl th.act { position: sticky; right: 0; background: #fff; box-shadow: -8px 0 12px -8px rgba(17,24,39,.12); z-index: 1; }
.tbl th.act { z-index: 3; background: #F9FAFB; }
.tbl tbody tr:nth-child(even) td.act { background: #FAFBFD; }
.tbl tbody tr:hover td.act { background: var(--primary-soft); }
.tbl .faint { color: #C4C8D0; }
.tbl .cell-main { font-weight: 600; }
.tbl .cell-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.money { font-family: var(--mono); font-size: 12.5px; }
.tbl.compact th { padding: 8px 10px; } .tbl.compact td { padding: 7px 10px; font-size: 12.5px; }
.tbl.dense td { padding: 6px 10px; }
@keyframes row-in { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }
.pager { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line-2); flex-wrap: wrap; font-size: 13px; }
.pager .info { color: var(--text-3); margin-right: auto; }
.pager .info b { color: var(--text); }
.page-btn { position: relative; overflow: hidden; min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 13px; color: var(--text-2); transition: all .15s; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.dis { opacity: .4; pointer-events: none; }
.pager select, .pager input { height: 30px; width: auto; font-size: 12.5px; }
.pager input { width: 56px; padding: 0 8px; }
.pager .jump { display: inline-flex; gap: 6px; align-items: center; color: var(--text-3); }

/* ---------- 徽标 ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: #F3F4F6; color: var(--text-2); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--success-soft); color: #15803D; }
.pill-warn { background: var(--warn-soft); color: #B45309; }
.pill-err { background: var(--danger-soft); color: #B91C1C; }
.pill-info { background: var(--info-soft); color: #0369A1; }
.pill-brand { background: var(--primary-soft); color: var(--primary-700); }
.pill-purple { background: var(--purple-soft); color: #6D28D9; }
.pill-off { background: #F3F4F6; color: var(--text-3); }
.pill-live .dot { animation: pulse-dot 1.2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
.tag { display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: 11.5px; background: #F3F4F6; color: var(--text-2); font-family: var(--mono); }
.tag-brand { background: var(--primary-soft); color: var(--primary-700); }
.tag-ok { background: var(--success-soft); color: #15803D; }
.tag-warn { background: var(--warn-soft); color: #B45309; }
.tag-err { background: var(--danger-soft); color: #B91C1C; }

/* ---------- 弹窗 ---------- */
.overlay { position: fixed; inset: 0; background: rgba(17,24,39,.45); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 24px; animation: fade-in .2s both; overflow: auto; }
.overlay.closing { animation: fade-out .18s both; }
.modal { width: 560px; max-width: 100%; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); animation: modal-in .25s var(--ease) both; }
.overlay.closing .modal { animation: modal-out .18s var(--ease) both; }
.modal.w420 { width: 420px; } .modal.w680 { width: 680px; } .modal.w800 { width: 800px; } .modal.w960 { width: 960px; } .modal.w1100 { width: 1100px; }
.modal-head { display: flex; align-items: flex-start; gap: 10px; padding: 18px 22px 12px; }
.modal-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.modal-title svg { width: 18px; height: 18px; color: var(--primary); }
.modal-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.modal-close { margin-left: auto; }
.modal-body { padding: 6px 22px 18px; overflow: auto; flex: 1; min-height: 0; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 22px 18px; border-top: 1px solid var(--line-2); }
.modal-foot .left { margin-right: auto; display: flex; gap: 8px; align-items: center; }
.modal.shake { animation: shake .4s; }
.confirm-box .modal-body { text-align: center; padding-top: 26px; }
.confirm-ic { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.confirm-ic svg { width: 26px; height: 26px; }
.confirm-ic.danger { background: var(--danger-soft); color: var(--danger); }
.confirm-ic.warn { background: var(--warn-soft); color: var(--warn); }
.confirm-ic.info { background: var(--info-soft); color: var(--info); }
.confirm-ic.ok { background: var(--success-soft); color: var(--success); }
.confirm-msg { color: var(--text-2); font-size: 13.5px; line-height: 1.6; white-space: pre-line; }
.confirm-box .modal-foot { justify-content: center; border-top: 0; padding-top: 0; }
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes fade-out { from { opacity: 1 } to { opacity: 0 } }
@keyframes modal-in { from { opacity: 0; transform: scale(.92) translateY(10px) } to { opacity: 1; transform: none } }
@keyframes modal-out { from { opacity: 1; transform: none } to { opacity: 0; transform: scale(.95) } }
@keyframes shake { 0%, 100% { transform: translateX(0) } 20%, 60% { transform: translateX(-8px) } 40%, 80% { transform: translateX(8px) } }

/* ---------- Toast ---------- */
.toast-root { position: fixed; top: 16px; right: 16px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; min-width: 260px; max-width: 420px; padding: 12px 14px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--info); animation: toast-in .3s var(--ease) both; position: relative; overflow: hidden; cursor: pointer; }
.toast.leaving { animation: toast-out .25s var(--ease) both; }
.toast .t-ic { width: 20px; height: 20px; flex: 0 0 20px; color: var(--info); }
.toast .t-ic svg { width: 20px; height: 20px; }
.toast .t-bd { font-size: 13px; line-height: 1.45; }
.toast .t-bd b { display: block; font-weight: 600; }
.toast .t-bd span { color: var(--text-3); font-size: 12.5px; }
.toast .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: currentColor; opacity: .25; width: 100%; transform-origin: left; animation: toast-bar linear forwards; }
.toast.ok { border-left-color: var(--success); } .toast.ok .t-ic, .toast.ok .bar { color: var(--success); }
.toast.err { border-left-color: var(--danger); } .toast.err .t-ic, .toast.err .bar { color: var(--danger); }
.toast.warn { border-left-color: var(--warn); } .toast.warn .t-ic, .toast.warn .bar { color: var(--warn); }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px) } to { opacity: 1; transform: none } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px) } }
@keyframes toast-bar { from { transform: scaleX(1) } to { transform: scaleX(0) } }

/* ---------- Tabs / 空态 / 骨架 ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab { position: relative; overflow: hidden; height: 38px; padding: 0 14px; border: 0; background: transparent; color: var(--text-2); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s var(--ease); }
.tab:hover { color: var(--text); }
.tab.on { color: var(--primary); font-weight: 600; }
.tab.on::after { transform: scaleX(1); }
.tab svg { width: 16px; height: 16px; flex: 0 0 16px; }
.tab .cnt { background: var(--danger); color: #fff; font-size: 11px; height: 16px; min-width: 16px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.empty .e-ic { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; color: #C4C8D0; }
.empty .e-ic svg { width: 24px; height: 24px; }
.sk { background: linear-gradient(90deg, #F1F3F7 25%, #E8EBF0 37%, #F1F3F7 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 6px; }
.sk.block { height: 16px; margin: 10px 0; }
.sk.block:nth-child(odd) { width: 70%; }
@keyframes sk { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }
.dd-menu { position: fixed; z-index: 1500; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; animation: modal-in .15s var(--ease) both; }
.dd-menu .dd-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: 6px; font-size: 13px; color: var(--text); text-align: left; }
.dd-menu .dd-item:hover { background: var(--bg); color: var(--primary); }
.dd-menu .dd-item.danger { color: var(--danger); }
.dd-menu .dd-item.danger:hover { background: var(--danger-soft); }
.dd-menu .dd-item svg { width: 15px; height: 15px; }
.dd-menu .dd-sep { height: 1px; background: var(--line-2); margin: 4px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 13px; }
.kv > span:nth-child(odd) { color: var(--text-3); }
.kv > span:nth-child(even) { font-weight: 500; word-break: break-all; }
.desc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }
.desc-list .di { font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); display: flex; justify-content: space-between; gap: 8px; }
.desc-list .di span:first-child { color: var(--text-3); }
.desc-list .di b { font-weight: 600; text-align: right; }
.alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; border: 1px solid transparent; }
.alert-warn { background: var(--warn-soft); color: #92400E; border-color: #FDE68A; }
.alert-err { background: var(--danger-soft); color: #991B1B; border-color: #FECACA; }
.alert-info { background: var(--info-soft); color: #075985; border-color: #BAE6FD; }
.alert-ok { background: var(--success-soft); color: #166534; border-color: #BBF7D0; }

/* ---- PART 2：页面专用 ---- */
.align-start { align-items: start; }
.icon-btn.sm { width: 26px; height: 26px; } .icon-btn.sm svg { width: 14px; height: 14px; }
.icon-btn.danger { color: var(--danger); } .icon-btn.danger:hover { background: var(--danger-soft); }
.menu-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.menu-sub .menu-badge { margin-right: 2px; }
.thumb-img { width: 72px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-2); background: #F3F4F6; display: block; }
.thumb-img.sq { width: 40px; height: 40px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
.chip b { font-size: 15px; }
.chip.ok b { color: var(--success); } .chip.err b { color: var(--danger); } .chip.brand b { color: var(--primary); }
.code-box { background: #0F172A; color: #E2E8F0; font-family: var(--mono); font-size: 12px; padding: 12px 14px; border-radius: 8px; overflow: auto; max-height: 300px; margin: 0; }
.pin-mark { display: inline-flex; color: var(--warn); margin-right: 4px; vertical-align: -2px; } .pin-mark svg { width: 14px; height: 14px; }

/* 仪表盘 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.stat-card { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(17,24,39,.04); position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; animation: pop-in .4s var(--ease) both; }
.stat-card:nth-child(2) { animation-delay: .06s } .stat-card:nth-child(3) { animation-delay: .12s } .stat-card:nth-child(4) { animation-delay: .18s }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--sc, var(--primary)); opacity: .06; }
.stat-ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--sc, var(--primary)); flex: 0 0 46px; box-shadow: 0 6px 14px rgba(17,24,39,.12); }
.stat-ic svg { width: 22px; height: 22px; }
.stat-bd { min-width: 0; flex: 1; }
.stat-bd .lbl { font-size: 13px; color: var(--text-3); }
.stat-bd .num { font-size: 26px; font-weight: 700; line-height: 1.25; margin: 2px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.stat-bd .subs { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.stat-bd .subs i { font-style: normal; color: var(--muted); }
.c-blue { --sc: #2563EB } .c-green { --sc: #16A34A } .c-purple { --sc: #7C3AED } .c-amber { --sc: #D97706 } .c-red { --sc: #DC2626 }
.dash-row { display: grid; grid-template-columns: 1fr 340px; gap: 16px; margin-bottom: 16px; align-items: start; }
.dash-side { display: flex; flex-direction: column; gap: 16px; }
.todo-list { padding: 6px 10px; }
.todo-item { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.todo-item:hover { background: var(--bg); }
.todo-item + .todo-item { border-top: 1px solid var(--line-2); }
.todo-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: 0 0 38px; }
.todo-ic svg { width: 18px; height: 18px; }
.todo-item .muted { font-size: 12px; }
.todo-num { font-size: 20px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.todo-item.hot .todo-num { color: var(--danger); }
.todo-item.hot .todo-ic { background: var(--danger-soft); color: var(--danger); }
.todo-item > svg { width: 16px; height: 16px; color: var(--muted); }
.eng-grid { display: flex; flex-direction: column; gap: 10px; }
.eng-kv { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.eng-kv > span:first-child { color: var(--text-3); }

/* 图表 */
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart .tick { font-size: 11px; fill: var(--muted); }
.chart .line { }
.chart .dot { opacity: 0; animation: dot-in .3s var(--ease) forwards; }
.chart .bar { animation: bar-in .6s var(--ease) both; }
.chart .area { animation: fade-in .9s both; }
.chart-legend { display: flex; gap: 14px; height: 22px; align-items: center; font-size: 12px; color: var(--text-2); padding-left: 4px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; background: rgba(17,24,39,.92); color: #fff; font-size: 12px; padding: 8px 10px; border-radius: 8px; opacity: 0; transition: opacity .15s; white-space: nowrap; line-height: 1.6; }
.chart-tip.on { opacity: 1; }
.chart-tip b { display: block; margin-bottom: 2px; }
.chart-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
@keyframes chart-draw { to { stroke-dashoffset: 0 } }
@keyframes dot-in { to { opacity: 1 } }
@keyframes bar-in { from { transform: scaleY(0) } to { transform: scaleY(1) } }
.prog { position: relative; margin-top: 6px; min-width: 160px; }
.prog::before { content: ""; display: block; height: 8px; border-radius: 999px; background: #EEF0F4; }
.prog i { position: absolute; left: 0; top: 0; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-2), #A78BFA, var(--primary-2)); background-size: 200% 100%; animation: prog-flow 2s linear infinite; transition: width .6s var(--ease); box-shadow: 0 0 6px rgba(99,102,241,.5); }
.prog span { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
@keyframes prog-flow { to { background-position: -200% 0 } }
.round-cell { min-width: 200px; }

/* 方案 */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.type-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: all .18s var(--ease); background: #fff; }
.type-card:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(79,70,229,.14); transform: translateY(-2px); }
.type-card .tc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.type-card .tc-sum { font-size: 12.5px; color: var(--text-2); line-height: 1.5; min-height: 38px; }
.type-card .tc-meta { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.scheme-form .form-group { margin-bottom: 8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-grid .field.wide { grid-column: 1 / -1; }
.field .fkey { float: right; font-family: var(--mono); font-size: 11px; color: #C4C8D0; font-weight: 400; }
.scheme-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.scheme-detail .sd-left { max-height: 70vh; overflow: auto; padding-right: 8px; }
.md { font-size: 13.5px; line-height: 1.75; color: var(--text); }
.md h2 { font-size: 17px; margin: 12px 0 8px; } .md h3 { font-size: 15px; margin: 14px 0 6px; } .md h4, .md h5 { font-size: 13.5px; margin: 12px 0 4px; }
.md p { margin: 0 0 10px; } .md ul, .md ol { margin: 0 0 10px; padding-left: 22px; } .md li { margin: 2px 0; }
.md code { background: var(--primary-soft); color: var(--primary-700); padding: 1px 5px; border-radius: 4px; font-family: var(--mono); font-size: 12.5px; }
.md pre { background: #0F172A; color: #E2E8F0; padding: 12px 14px; border-radius: 8px; overflow: auto; font-size: 12.5px; }
.md pre code { background: none; color: inherit; padding: 0; }
.md blockquote { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid var(--primary); background: var(--primary-soft); border-radius: 0 8px 8px 0; color: var(--text-2); }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* 轮次 / 开奖 / TG / 钱包类型 */
.round-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.draw-latest { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dl-item { padding: 12px 14px; border-radius: 10px; background: var(--bg); }
.dl-item span { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.dl-item b { font-size: 16px; }
.balls { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.balls i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-2), var(--primary-700)); color: #fff; font-style: normal; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 2px 4px rgba(79,70,229,.3); }
.balls b { color: var(--text); font-size: 14px; margin-left: 2px; }
.log-box { max-height: 260px; overflow: auto; background: #0F172A; border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.7; color: #CBD5E1; }
.log-line .mono { color: #64748B; }
.log-line.error { color: #FCA5A5; } .log-line.warn { color: #FCD34D; }
.tg-steps { display: flex; gap: 6px; margin-bottom: 16px; }
.tg-step { flex: 1; text-align: center; font-size: 12px; padding: 6px 4px; border-radius: 6px; background: var(--bg); color: var(--muted); }
.tg-step.on { background: var(--primary); color: #fff; font-weight: 600; }
.wallet-types { display: flex; flex-direction: column; gap: 10px; }
.wt-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #FAFBFD; }
.wt-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.wt-head .inp { height: 32px; }
.wt-fields { display: flex; flex-direction: column; gap: 6px; }
.wt-field { display: flex; gap: 8px; align-items: center; }
.wt-field .inp { height: 30px; font-size: 12.5px; }
.wallet-cell .cell-sub { align-items: center; }

@media (max-width: 1280px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .scheme-detail { grid-template-columns: 1fr; }
}
