/* ==========================================================================
   牛族·项目助手 后台看板
   设计基准：后台看板V3.png（白卡片 + 浅蓝灰底 + 亮蓝主色）
   ========================================================================== */

:root {
  --primary: #1E6BFF;
  --primary-2: #4A8BFF;
  --primary-soft: #EAF1FF;
  --primary-ink: #0B4FD1;

  --ink: #10192B;
  --ink2: #33415C;
  --muted: #7A879C;
  --muted2: #94A1B6;

  --bg: #EDF1FA;
  --line: #E9EEF8;
  --line2: #F1F5FC;
  --panel: #FFFFFF;

  --green: #12B76A;
  --green-soft: #E7F8F0;
  --amber: #F79009;
  --amber-soft: #FFF6E8;
  --red: #F04438;
  --red-soft: #FEECEA;
  --violet: #7A5AF8;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 34px rgba(26, 58, 128, .07);
  --shadow-sm: 0 3px 12px rgba(26, 58, 128, .05);
  --side-w: 208px;
}

* { box-sizing: border-box; }

/* hidden 属性要压得住 .shell/.login 上的 display，否则登录层会一直盖在页面上 */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

/* 页面比窗口矮时，露出来的是 html 背景，别让它变白 */
html { background: #EDF1FA; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1000px 620px at 78% -12%, #FFFFFF 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(760px 520px at 8% -8%, #F8FAFF 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #EDF2FC 0%, #EDF1FA 40%, #E9EEF9 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 107, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 107, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 75%);
  opacity: .5;
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  opacity: .5;
  filter: blur(2px);
}
.bg-blob.a { width: 460px; height: 460px; left: -180px; top: -190px; opacity: .62; }
.bg-blob.b { width: 560px; height: 560px; right: -170px; top: -230px; opacity: .55; }

.bg-art {
  position: fixed;
  right: -10px;
  bottom: -8px;
  width: 470px;
  pointer-events: none;
  opacity: .72;
  z-index: 0;
}
.bg-art img { width: 100%; display: block; }

.dot { color: var(--primary); }

/* ---------------------------------------------------------------- 外壳 */
.shell {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 22px;
  padding: 26px 28px 26px 26px;
  min-height: 100vh;
  align-items: flex-start;
}

/* ---------------------------------------------------------------- 侧栏 */
.side {
  width: var(--side-w);
  flex: 0 0 var(--side-w);
  min-height: calc(100vh - 52px);
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 14px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 26px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 2px 0 20px;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand .bt { font-size: 15.5px; font-weight: 700; letter-spacing: .2px; }

.nav { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 44px;
  padding: 0 13px;
  border-radius: 11px;
  color: #56637B;
  font-size: 14px;
  text-decoration: none;
  transition: background .16s, color .16s, box-shadow .16s;
  white-space: nowrap;
}
.nav a i { width: 18px; height: 18px; flex: 0 0 18px; display: block; color: #8D9AB0; }
.nav a:hover { background: #F4F7FD; color: var(--ink); }
.nav a:hover i { color: #5C6C86; }
.nav a.on {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(30, 107, 255, .26);
}
.nav a.on i { color: #fff; }

.side-foot { margin-top: auto; padding-top: 18px; }
.me {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 11px;
  cursor: pointer;
  color: var(--ink);
}
.me:hover { background: #F4F7FD; }
.me .ava {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DCE8FF, #C2D6FF);
  color: var(--primary-ink);
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
}
.me .nm { font-size: 13px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me i { width: 14px; height: 14px; color: #9AA6BA; display: block; }

/* ---------------------------------------------------------------- 主区 */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 86px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}
.topbar h1 {
  margin: 0;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.4px;
}

.topbar-right { display: flex; align-items: center; gap: 14px; }

.topsearch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 268px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E7EDF8;
  color: var(--muted2);
}
.topsearch i { width: 16px; height: 16px; display: block; }
.topsearch input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  width: 100%;
  font-family: inherit;
}
.topsearch input::placeholder { color: #A7B2C4; }

.bell {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #E7EDF8;
  background: #fff;
  color: #55627A;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .16s;
}
.bell:hover { color: var(--primary); border-color: #CFE0FF; background: #F7FAFF; }
.bell i { width: 18px; height: 18px; display: block; }
.bell .dot {
  position: absolute;
  top: 8px; right: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F04438;
  border: 1.5px solid #fff;
}

.me.top { padding: 4px 6px 4px 4px; gap: 8px; }
.me.top .nm { font-size: 13px; }

/* ---------------------------------------------------------------- 通用卡片 */
.card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  min-width: 0;
}
.card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ct {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.1px;
}
.ct::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--primary);
}
.more {
  font-size: 12.5px;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.more:hover { color: var(--primary-ink); }

/* ---------------------------------------------------------------- 筛选条 */
.filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 9px 12px;
  min-height: 56px;
}
.seg { display: flex; gap: 4px; flex-wrap: wrap; }
.seg button {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #55627A;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.seg button:hover { background: #F3F7FD; color: var(--ink); }
.seg button.on {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(30, 107, 255, .24);
}

.datepick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  color: #47536B;
  font-size: 13px;
  cursor: default;
  white-space: nowrap;
}
.datepick i { width: 16px; height: 16px; color: #7C8BA3; display: block; }
.datepick .sep { color: #C3CCDA; }

/* ---------------------------------------------------------------- 统计卡 */
.statrow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 15px 16px 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform .18s, box-shadow .18s;
}
.stat:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 58, 128, .1); }
.stat .row { display: flex; align-items: center; gap: 12px; }
.si {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.si i { width: 20px; height: 20px; display: block; }
.si.teal { background: #E6F8F5; color: #0EA5A5; }
.si.violet { background: #F0ECFF; color: #7A5AF8; }
.si.amber { background: #FFF4E5; color: #F79009; }
.si.green { background: #E7F8F0; color: #12B76A; }
.stat .sl { font-size: 13px; color: #5D6A80; margin-bottom: 2px; }
.stat .sv {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
}
.stat .sm { font-size: 12px; color: #8A96AB; }
.stat .sm b { color: var(--green); font-weight: 600; }
.stat .sm b.blue { color: var(--primary); }
.stat .sm i { font-style: normal; color: #6B7A93; }

/* ---------------------------------------------------------------- 两列 */
.grid2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.grid2.even { grid-template-columns: 1fr 1fr; }

/* ---------------------------------------------------------------- 图表 */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }

.legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 6px;
  font-size: 12px;
  color: #6B7A93;
}
.legend .it { display: flex; align-items: center; gap: 7px; }
.legend .ln { width: 14px; height: 3px; border-radius: 2px; background: var(--primary); }
.legend .ln.dash {
  height: 0;
  background: none;
  border-top: 2px dashed #B9C7E6;
  width: 14px;
}
.legend .dt { width: 8px; height: 8px; border-radius: 50%; }

.donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 6px 2px 10px;
  flex-wrap: wrap;
}
.donut { position: relative; width: 190px; height: 190px; flex: 0 0 190px; }
.donut svg { display: block; width: 190px; height: 190px; }
.donut .mid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}
.donut .big { font-size: 27px; font-weight: 700; letter-spacing: -.6px; }
.donut .big small { font-size: 15px; font-weight: 600; color: #55627A; }
.donut .cap { font-size: 12px; color: #8A96AB; }

.dleg { display: flex; flex-direction: column; gap: 14px; min-width: 128px; }
.dleg .r { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #55627A; }
.dleg .r .dt { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.dleg .r b { margin-left: auto; font-weight: 600; color: var(--ink); }

.sel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: #6B7A93;
  cursor: pointer;
  background: #fff;
  font-family: inherit;
}
.sel:hover { border-color: #CFE0FF; color: var(--primary); }
.sel i { width: 12px; height: 12px; display: block; }

/* ---------------------------------------------------------------- 表格 */
.tb { width: 100%; border-collapse: separate; border-spacing: 0; }
.tb th {
  font-size: 12px;
  font-weight: 500;
  color: #8894A9;
  background: #F7F9FD;
  text-align: left;
  padding: 9px 12px;
  white-space: nowrap;
}
.tb th:first-child { border-radius: 8px 0 0 8px; }
.tb th:last-child { border-radius: 0 8px 8px 0; }
.tb td {
  padding: 11px 12px;
  font-size: 13px;
  color: #46536B;
  border-bottom: 1px solid #F2F6FC;
  white-space: nowrap;
}
.tb tr:last-child td { border-bottom: 0; }
.tb td.name { color: var(--ink); font-weight: 600; }
.tb td.num { font-variant-numeric: tabular-nums; }
.tb .rk { color: #8A96AB; font-variant-numeric: tabular-nums; width: 34px; }
.tb .rk.top { color: var(--primary); font-weight: 700; }
.tb tbody tr:hover td { background: #FAFCFF; }

.ustat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6B7A93; }
.ustat .dt { width: 7px; height: 7px; border-radius: 50%; background: #C8D1E0; }
.ustat.on { color: #0E9F5E; }
.ustat.on .dt { background: var(--green); box-shadow: 0 0 0 3px rgba(18, 183, 106, .14); }

.uava {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E4EDFF, #C9DAFF);
  color: var(--primary-ink);
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  vertical-align: -7px;
}

/* ---------------------------------------------------------------- 按钮/表单 */
.btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: #46536B;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .15s;
  white-space: nowrap;
}
.btn:hover { border-color: #CFE0FF; color: var(--primary); background: #F8FBFF; }
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 16px rgba(30, 107, 255, .22);
}
.btn.primary:hover { background: #165EE8; border-color: #165EE8; color: #fff; }
.btn.danger { color: var(--red); border-color: #FBD5D1; background: #FFF9F8; }
.btn.danger:hover { background: var(--red-soft); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.block { width: 100%; justify-content: center; height: 40px; }
.btn i { width: 15px; height: 15px; display: block; }

.input, .select, .textarea {
  height: 36px;
  border: 1px solid #E4EBF7;
  border-radius: 9px;
  background: #fff;
  padding: 0 11px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: .15s;
  width: 100%;
}
.textarea { height: auto; padding: 9px 11px; resize: vertical; min-height: 76px; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus {
  border-color: #9FC0FF;
  box-shadow: 0 0 0 3px rgba(30, 107, 255, .1);
}
.input::placeholder, .textarea::placeholder { color: #A7B2C4; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label { font-size: 12.5px; color: #5D6A80; font-weight: 500; }
.field .hint { font-size: 11.5px; color: #94A1B6; }
.field-row { display: flex; gap: 12px; }
.field-row > * { flex: 1; }

/* 开关 */
.switch {
  width: 40px; height: 22px;
  border-radius: 20px;
  background: #D8E0EE;
  border: 0;
  position: relative;
  cursor: pointer;
  transition: .18s;
  flex: 0 0 40px;
}
.switch::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px; left: 2px;
  transition: .18s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.switch.on { background: var(--primary); }
.switch.on::after { left: 20px; }

/* ---------------------------------------------------------------- 页面通用 */
.page { display: flex; flex-direction: column; gap: 16px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-head .ph-l { display: flex; align-items: center; gap: 10px; }
.page-head .ph-l .t { font-size: 15px; font-weight: 600; }
.page-head .ph-l .n { font-size: 12.5px; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar .grow { flex: 1; }
.toolbar .input { width: 220px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.5px;
  background: #F2F6FD;
  color: #5D6A80;
}
.tag.blue { background: var(--primary-soft); color: var(--primary-ink); }
.tag.green { background: var(--green-soft); color: #0E9F5E; }
.tag.amber { background: var(--amber-soft); color: #B54708; }
.tag.gray { background: #F3F5F9; color: #7A879C; }

.empty {
  padding: 56px 20px;
  text-align: center;
  color: #9AA6BA;
  font-size: 13px;
}
.empty .big { font-size: 15px; color: #6B7A93; margin-bottom: 6px; font-weight: 600; }

/* 版本卡片 */
.ver {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.ver.cur { border-color: #BFD5FF; background: #F8FBFF; }
.ver .vb {
  width: 62px; height: 34px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  font-variant-numeric: tabular-nums;
}
.ver .vm { flex: 1; min-width: 0; }
.ver .vt { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ver .vn { font-size: 12.5px; color: #6B7A93; margin-top: 5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.ver .vd { font-size: 11.5px; color: #9AA6BA; margin-top: 6px; }
.ver .va { display: flex; gap: 8px; align-items: center; }

/* ---------------------------------------------------------------- 弹窗 */
.modal-host { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.modal-host .mask {
  position: fixed;
  inset: 0;
  background: rgba(16, 25, 43, .34);
  backdrop-filter: blur(2px);
  pointer-events: auto;
  animation: fade .16s ease;
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 25, 43, .22);
  pointer-events: auto;
  animation: pop .18s cubic-bezier(.2, .9, .3, 1.1);
  z-index: 91;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -47%) scale(.97); } }
.modal-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  font-size: 15.5px;
  font-weight: 600;
}
.modal-h .x {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 0;
  background: #F4F7FD;
  color: #6B7A93;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal-h .x:hover { background: #EAF0FA; color: var(--ink); }
.modal-b { padding: 4px 20px 8px; }
.modal-f {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px 20px;
}

/* 提示 */
.toast-host {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: #10192B;
  color: #fff;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(16, 25, 43, .22);
  animation: toastIn .2s ease;
  max-width: 70vw;
}
.toast.err { background: #C4281E; }
.toast.ok { background: #0E7A4D; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- 登录 */
.login {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(26, 58, 128, .14);
  padding: 28px 30px 24px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}
.login-brand img { width: 40px; height: 40px; }
.login-sub { font-size: 12.5px; color: #8A96AB; margin: 6px 0 22px; }
.lf { display: block; margin-bottom: 14px; }
.lf > span { display: block; font-size: 12.5px; color: #5D6A80; margin-bottom: 6px; }
.lf input {
  width: 100%;
  height: 40px;
  border: 1px solid #E4EBF7;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: .15s;
}
.lf input:focus { border-color: #9FC0FF; box-shadow: 0 0 0 3px rgba(30, 107, 255, .1); }
.login-err { color: var(--red); font-size: 12.5px; min-height: 18px; margin-bottom: 6px; }
.login-tip { font-size: 11.5px; color: #9AA6BA; margin-top: 14px; text-align: center; line-height: 1.6; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1420px) {
  .statrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .grid2 { grid-template-columns: 1fr; }
  .topsearch { width: 200px; }
}
@media (max-width: 980px) {
  .shell { padding: 14px; gap: 14px; }
  .side { display: none; }
  .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topsearch { display: none; }
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #D2DCEC; border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #B9C7DF; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
