/* 百度全账户搜索词日报库 · UI Refresh */
:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e5eaf2;
  --line-strong: #d6deea;
  --blue: #1769e0;
  --blue-dark: #0b4fd7;
  --blue-deep: #073b9c;
  --blue-soft: #edf5ff;
  --cyan: #19a7ce;
  --green: #10a878;
  --green-soft: #eafbf5;
  --orange: #e98718;
  --orange-soft: #fff6e9;
  --purple: #7657db;
  --purple-soft: #f2efff;
  --red: #dc4747;
  --red-soft: #fff0f0;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 5px 18px rgba(27, 45, 79, .06);
  --shadow-md: 0 14px 38px rgba(20, 46, 90, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 5%, rgba(23,105,224,.08), transparent 26rem),
    radial-gradient(circle at 100% 20%, rgba(25,167,206,.06), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
* { scrollbar-width: thin; scrollbar-color: #c8d2e2 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #c8d2e2; border: 3px solid transparent; background-clip: padding-box; border-radius: 20px; }

/* 顶部品牌栏 */
.topbar {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 80% -50%, rgba(82,214,255,.34), transparent 34%),
    radial-gradient(circle at 18% 130%, rgba(82,214,255,.18), transparent 32%),
    linear-gradient(112deg, #073b9c 0%, #0b56d8 48%, #0879d8 100%);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 26px rgba(8,67,158,.19);
}
.topbar::before {
  content: "";
  position: absolute; inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
  pointer-events: none;
}
.topbar-inner {
  position: relative; z-index: 1;
  max-width: 1780px;
  min-height: 112px;
  margin: 0 auto;
  padding: 22px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  width: 54px; height: 54px; flex: 0 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Ccircle cx='14' cy='14' r='8' stroke='white' stroke-width='2.5'/%3E%3Cpath d='m20 20 6 6' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M10.5 14h7M14 10.5v7' stroke='white' stroke-width='1.8' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E") center/29px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 25px rgba(0,34,102,.18);
  backdrop-filter: blur(8px);
}
.brand-copy { display: flex; flex-direction: column; }
.eyebrow, .section-kicker, .panel-kicker, .login-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { color: #9fdcff; margin-bottom: 2px; }
.brand h1 { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -.01em; font-weight: 720; }
.brand p { margin: 4px 0 0; color: rgba(255,255,255,.77); font-size: 12.5px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.system-badge, .topbar-action {
  height: 36px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10); color: #fff; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650;
  backdrop-filter: blur(8px);
}
.system-badge i { width: 7px; height: 7px; border-radius: 50%; background: #60f1b5; box-shadow: 0 0 0 4px rgba(96,241,181,.12); }
.topbar-action { cursor: pointer; transition: .18s ease; }
.topbar-action:hover { background: rgba(255,255,255,.19); transform: translateY(-1px); }

main { max-width: 1780px; margin: 0 auto; padding: 30px 34px 54px; }
.dashboard { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 20px;
}

/* 登录 */
.login-shell {
  min-height: calc(100vh - 210px);
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(360px, 470px);
  align-items: center;
  gap: clamp(50px, 10vw, 160px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 38px 18px 62px;
}
.login-intro { padding: 10px 0; }
.login-kicker { color: var(--blue); }
.login-intro h2 { margin: 14px 0 18px; font-size: clamp(34px, 4vw, 50px); line-height: 1.16; letter-spacing: -.04em; font-weight: 760; }
.login-intro h2 em { color: var(--blue); font-style: normal; }
.login-intro > p { max-width: 570px; margin: 0; font-size: 16px; color: var(--muted); line-height: 1.8; }
.login-features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.login-features li { display: flex; align-items: center; gap: 13px; }
.login-features li > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 800; }
.login-features b, .login-features small { display: block; }
.login-features b { font-size: 13px; color: var(--ink-soft); }
.login-features small { color: var(--muted); margin-top: 1px; }
.login-card { position: relative; margin: 0; padding: 38px 38px 30px; box-shadow: var(--shadow-md); overflow: hidden; }
.login-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.login-icon { position: absolute; right: 30px; top: 28px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-soft); color: var(--blue); font-size: 20px; font-weight: 700; }
.panel-kicker { color: var(--blue); }
.login-card h2 { margin: 8px 0 3px; font-size: 25px; letter-spacing: -.02em; }
.login-desc { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.login-card label { margin-top: 15px; }
.login-submit { width: 100%; height: 46px; margin-top: 22px; justify-content: space-between; padding: 0 18px; }
.login-submit span { font-size: 18px; }
.login-msg { min-height: 20px; margin: 8px 0 0; color: var(--red); }
.login-safe { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--faint); font-size: 11.5px; }

/* 页面标题与筛选 */
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 3px 2px 22px; }
.section-kicker { color: var(--blue); }
.page-heading h2 { margin: 5px 0 2px; font-size: 25px; letter-spacing: -.02em; }
.page-heading p { margin: 0; color: var(--muted); }
.read-only-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--pill); background: var(--green-soft); color: #087552; font-size: 12px; font-weight: 700; }
.read-only-tag span { color: var(--green); font-size: 10px; }
.section-title-row { display: flex; justify-content: space-between; margin-bottom: 18px; }
.section-title-row h3, .overview-head h3, .table-toolbar h3 { margin: 0; font-size: 16px; }
.section-title-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.title-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 7px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.grid-filters { display: grid; grid-template-columns: .8fr .8fr 1.25fr 1.5fr; gap: 14px; align-items: end; }
label { display: flex; flex-direction: column; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
input, select {
  width: 100%; min-height: 42px; padding: 9px 13px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  outline: none; color: var(--ink); background-color: var(--surface);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input::placeholder { color: #a3afc0; }
input:hover, select:hover { border-color: #aebbd0; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,224,.12); }
select:not([multiple]) { appearance: none; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; padding-right: 36px; cursor: pointer; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.quick-date-group { display: inline-flex; align-items: center; gap: 7px; margin-left: 3px; padding-left: 12px; border-left: 1px solid var(--line-strong); }
.quick-date-btn { min-width: 86px; }
.quick-date-btn span { color: var(--blue); font-weight: 800; }
.quick-date-btn.active { color: var(--blue); border-color: #8bb8f4; background: var(--blue-soft); }
.range-picker { position: relative; }
#recentRangeBtn.active { color: var(--blue); border-color: #8bb8f4; background: var(--blue-soft); }
.range-caret { margin-left: 2px; color: var(--muted); transition: transform .16s ease; }
#recentRangeBtn[aria-expanded="true"] .range-caret { transform: rotate(180deg); }
.range-picker-panel {
  position: absolute; z-index: 35; top: calc(100% + 9px); right: 0;
  width: 192px; padding: 8px;
  border: 1px solid var(--line-strong); border-radius: 13px;
  background: var(--surface); box-shadow: var(--shadow-md);
}
.range-option {
  width: 100%; min-height: 37px; padding: 8px 10px;
  justify-content: space-between; color: var(--ink-soft);
  border: 0; border-radius: 8px; background: transparent; box-shadow: none;
  font-size: 12.5px; text-align: left;
}
.range-option:hover, .range-option.active { color: var(--blue); background: var(--blue-soft); box-shadow: none; transform: none; }
.range-option small { color: var(--faint); font-size: 10.5px; font-weight: 600; }
.auto-fetch-status { flex: 1 0 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 3px; padding-top: 13px; border-top: 1px dashed var(--line); }
.auto-fetch-task { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 5px 11px; border-radius: var(--pill); color: var(--ink-soft); background: var(--surface-soft); border: 1px solid var(--line); font-size: 11.5px; font-weight: 650; }
.auto-fetch-task.running { color: var(--blue); background: var(--blue-soft); border-color: #cfe2fb; }
.auto-fetch-task.completed { color: #087552; background: var(--green-soft); border-color: #c9f1e2; }
.auto-fetch-task.partial { color: #a65d08; background: var(--orange-soft); border-color: #f4ddb5; }
.auto-fetch-task.failed { color: #b52d2d; background: var(--red-soft); border-color: #f2cccc; }
.auto-fetch-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.auto-fetch-task.running .auto-fetch-dot { animation: taskPulse 1.1s ease-in-out infinite; }
@keyframes taskPulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
button {
  min-height: 40px; border: 0; border-radius: var(--radius-sm); padding: 8px 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 680; cursor: pointer;
  box-shadow: 0 5px 13px rgba(23,105,224,.18);
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease;
}
button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(23,105,224,.24); }
button:active { transform: translateY(0); }
button:focus-visible { outline: 3px solid rgba(23,105,224,.2); outline-offset: 2px; }
button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
button.secondary, .pager-btn {
  color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-xs);
}
button.secondary:hover, .pager-btn:hover { color: var(--blue); border-color: #a8c7f3; background: var(--blue-soft); box-shadow: none; }
.msg { color: var(--muted); font-size: 12.5px; }
.action-msg { margin-left: auto; }
.column-picker { position: relative; }
.column-picker-panel { position: absolute; z-index: 30; top: calc(100% + 9px); left: 0; width: min(530px, calc(100vw - 48px)); padding: 18px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-md); }
.column-picker-title { margin-bottom: 12px; font-size: 14px; font-weight: 750; }
.column-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 12px; }
.column-option { flex-direction: row; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.column-option:hover { background: var(--surface-soft); }
.column-option input { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; }
.column-picker-actions { display: flex; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.column-picker-actions button { min-height: 34px; padding: 6px 11px; }
.column-picker-hint { margin-top: 9px; color: var(--muted); font-size: 11.5px; }

/* 指标 */
.overview-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 26px 2px 12px; }
.overview-head h3 { margin-top: 3px; }
.overview-note { color: var(--muted); font-size: 12px; }
.cards-row { display: grid; grid-template-columns: repeat(8, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.metric {
  position: relative; min-height: 116px; overflow: hidden;
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 12px;
  padding: 17px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-xs);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.metric:hover { transform: translateY(-2px); border-color: #d4e2f7; box-shadow: var(--shadow-sm); }
.metric::after { content: ""; position: absolute; width: 85px; height: 85px; right: -40px; bottom: -50px; border-radius: 50%; background: var(--accent-soft, var(--blue-soft)); }
.metric-icon { grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--accent, var(--blue)); background: var(--accent-soft, var(--blue-soft)); font-size: 17px; font-weight: 800; }
.metric-label { align-self: end; color: var(--muted); font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.metric-value { align-self: start; color: var(--ink); font-size: 21px; line-height: 1.25; font-weight: 780; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric.blue { --accent: var(--blue); --accent-soft: var(--blue-soft); }
.metric.cyan { --accent: #0c8fb4; --accent-soft: #e8f9fd; }
.metric.green { --accent: var(--green); --accent-soft: var(--green-soft); }
.metric.orange { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.metric.purple { --accent: var(--purple); --accent-soft: var(--purple-soft); }

/* 表格 */
.table-wrap { padding: 0; overflow: hidden; }
.table-toolbar { min-height: 72px; padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.table-toolbar h3 { margin-top: 2px; }
.result-count { padding: 6px 11px; border-radius: var(--pill); color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 700; }
.table-scroll { overflow: auto; max-height: min(68vh, 780px); }
table { width: 100%; min-width: 1370px; border-collapse: separate; border-spacing: 0; }
thead th { position: sticky; top: 0; z-index: 3; padding: 11px 13px; text-align: left; white-space: nowrap; color: #42526a; background: #f5f8fc; border-bottom: 1px solid var(--line-strong); font-size: 11px; font-weight: 750; letter-spacing: .025em; }
.sort-btn { min-height: 26px; padding: 2px 0; border: 0; color: inherit; background: transparent; box-shadow: none; font: inherit; font-weight: inherit; }
.sort-btn:hover, .sort-btn.active { color: var(--blue); background: transparent; box-shadow: none; transform: none; }
.sort-icon { display: inline-block; min-width: 12px; margin-left: 3px; color: var(--faint); }
.sort-btn.active .sort-icon { color: var(--blue); }
.column-hidden { display: none !important; }
tbody td { padding: 11px 13px; vertical-align: top; border-bottom: 1px solid #edf0f5; color: var(--ink-soft); font-size: 12.5px; background: var(--surface); transition: background .12s ease; }
tbody tr:nth-child(even) td { background: #fbfcfe; }
tbody tr:hover td { background: #f0f6ff; }
tbody tr:last-child td { border-bottom: 0; }
td.num { text-align: right; color: var(--ink); font-weight: 620; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.word { max-width: 280px; color: #0d4fb6; font-weight: 730; word-break: break-all; }
td.creative { max-width: 300px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.mono { color: #516075; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; }
.muted-text { color: var(--faint); font-size: 12px; }
.empty { padding: 70px 20px !important; text-align: center; color: var(--muted); }
.empty::before { content: "⌕"; display: block; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); font-size: 25px; line-height: 52px; }

/* 分页与运行状态 */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; padding: 16px 20px; }
.pager-nav, .pager-controls, .page-numbers { display: flex; align-items: center; gap: 7px; }
.pager-btn, .page-number { min-height: 34px; height: 34px; padding: 0 11px; }
.page-info { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.page-number { min-width: 34px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink-soft); background: var(--surface); box-shadow: none; }
.page-number:hover { color: var(--blue); border-color: #a8c7f3; background: var(--blue-soft); box-shadow: none; }
.page-number.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.pager-controls label { flex-direction: row; align-items: center; gap: 6px; color: var(--muted); font-weight: 550; }
.pager-controls input { width: 66px; min-height: 34px; }
.pager-controls select { width: 86px; min-height: 34px; }
.run-status { padding: 20px 22px; }
.run-status h3 { margin: 0 0 13px; font-size: 15px; }
.run-status h3::before { content: "↻"; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); }
.run-item { margin-bottom: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); font-size: 12.5px; background: var(--surface-soft); }
.run-item:last-child { margin-bottom: 0; }
.run-item b { color: var(--ink); margin-right: 7px; }
.run-status-badge { display: inline-block; margin-right: 3px; padding: 2px 9px; border-radius: var(--pill); font-size: 10.5px; font-weight: 750; }
.run-status-badge.completed { color: #087552; background: var(--green-soft); }
.run-status-badge.partial { color: #a65d08; background: var(--orange-soft); }
.run-status-badge.failed { color: #b52d2d; background: var(--red-soft); }
.run-status-badge.running { color: var(--blue); background: var(--blue-soft); }
.failed-accounts { margin-top: 12px; color: var(--red); }
.run-ok { margin-top: 12px; color: var(--green); }
.notice { margin: 0 0 16px; padding: 11px 14px; border: 1px solid #f5d69a; border-radius: 10px; color: #925c12; background: var(--orange-soft); }
code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }

@media (max-width: 1500px) { .cards-row { grid-template-columns: repeat(4, minmax(150px, 1fr)); } }
@media (max-width: 1120px) {
  .grid-filters { grid-template-columns: repeat(2, 1fr); }
  .login-shell { gap: 55px; }
  .login-intro h2 { font-size: 38px; }
}
@media (max-width: 820px) {
  .topbar-inner { min-height: 98px; padding: 18px 20px; align-items: flex-start; }
  .brand-mark { width: 45px; height: 45px; border-radius: 13px; }
  .brand h1 { font-size: 18px; }
  .brand p, .eyebrow, .system-badge { display: none; }
  main { padding: 22px 14px 40px; }
  .login-shell { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding: 20px 0 40px; }
  .login-intro { display: none; }
  .login-card { max-width: 460px; width: 100%; margin: 0 auto; padding: 32px 25px 25px; }
  .page-heading { align-items: flex-start; }
  .page-heading h2 { font-size: 21px; }
  .read-only-tag { display: none; }
  .grid-filters { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 14px; }
  .controls { padding: 18px; }
  .actions > button, .column-picker > button, .range-picker > button { flex: 1 1 auto; }
  .quick-date-group { width: 100%; margin-left: 0; padding: 11px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .quick-date-btn { flex: 1 1 0; min-width: 0; padding-inline: 9px; }
  .range-picker { width: 100%; }
  .range-picker > button { width: 100%; }
  .range-picker-panel { left: 0; right: 0; width: 100%; }
  .range-option { min-height: 41px; }
  .auto-fetch-status { align-items: stretch; }
  .auto-fetch-task { width: 100%; border-radius: 10px; }
  .action-msg { width: 100%; margin-left: 0; }
  .cards-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .metric { min-height: 100px; grid-template-columns: 34px 1fr; column-gap: 9px; padding: 13px 11px; }
  .metric-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
  .metric-value { font-size: 17px; }
  .metric-label { font-size: 10.5px; white-space: normal; }
  .overview-note { display: none; }
  .table-toolbar { padding: 15px 17px; }
  .pager { justify-content: flex-start; overflow-x: auto; }
  .pager-nav { min-width: max-content; }
  .page-info { order: -1; width: 100%; }
  .pager-controls { min-width: max-content; }
}
@media (max-width: 430px) {
  .topbar-right { display: none; }
  .brand { gap: 11px; }
  .brand h1 { font-size: 16px; }
  .cards-row { grid-template-columns: 1fr 1fr; }
  .column-options { grid-template-columns: 1fr; }
}
