/* ============================================================
   玉石商城后台 · 青玉主题（2026-11-26）
   仅覆盖视觉，不改变任何业务类名与交互
   ============================================================ */
:root {
  --jade-900: #082621;
  --jade-800: #0b352d;
  --jade-700: #0d4a3f;
  --jade-600: #116b58;
  --jade-500: #15957a;
  --jade-400: #2ab394;
  --jade-100: #e7f6f1;
  --gold-500: #c7a15b;
  --gold-300: #e4cb99;
  --ink: #1d2b29;
  --muted: #7a8b88;
  --line: #e5ecea;
  --paper: #ffffff;
  --canvas: #f2f6f5;
}

body {
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(42, 179, 148, .08), transparent 65%),
    radial-gradient(900px 420px at 8% 105%, rgba(199, 161, 91, .06), transparent 60%),
    var(--canvas);
  color: var(--ink);
}

/* ---------- 登录 ---------- */
.login-wrap {
  background:
    radial-gradient(900px 500px at 18% 18%, rgba(42, 179, 148, .22), transparent 60%),
    radial-gradient(700px 500px at 85% 85%, rgba(199, 161, 91, .16), transparent 60%),
    linear-gradient(135deg, #061b18 0%, #0a2e28 52%, #0d4238 100%);
  position: relative;
  overflow: hidden;
}
.login-wrap::before,
.login-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.login-wrap::before {
  width: 380px; height: 380px; left: -120px; bottom: -150px;
  border: 1px solid rgba(228, 203, 153, .18);
  box-shadow: inset 0 0 60px rgba(42, 179, 148, .12);
}
.login-wrap::after {
  width: 220px; height: 220px; right: 8%; top: 12%;
  background: radial-gradient(circle, rgba(42, 179, 148, .16), transparent 65%);
}
.login-box {
  position: relative;
  z-index: 2;
  width: 356px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 28px 80px rgba(2, 18, 15, .5), 0 0 0 8px rgba(255, 255, 255, .04);
  padding: 34px 30px 26px;
}
.login-logo {
  width: 58px; height: 58px; line-height: 58px;
  background: linear-gradient(145deg, var(--jade-400), var(--jade-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 107, 88, .3), inset 0 1px 0 rgba(255, 255, 255, .35);
  font-family: "KaiTi", "STKaiti", "PingFang SC", serif;
  font-size: 27px;
}
.login-box h2 { color: var(--ink); letter-spacing: 3px; }
.login-sub { color: #94a39f; letter-spacing: .3px; }
.login-box label { color: #5e706c; }
.login-box input {
  border-color: #dfe9e5;
  background: #f7faf9;
  border-radius: 9px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.login-box input:focus {
  border-color: var(--jade-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42, 179, 148, .12);
}
#lgBtn {
  background: linear-gradient(100deg, var(--jade-600), var(--jade-400));
  box-shadow: 0 10px 22px rgba(17, 107, 88, .22);
  border-radius: 9px;
  transition: transform .16s, filter .16s, box-shadow .16s;
}
#lgBtn:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 14px 28px rgba(17, 107, 88, .28); }
.login-tip { color: #9daca8; }

/* ---------- 侧栏 ---------- */
.side {
  background:
    radial-gradient(500px 260px at 0% 100%, rgba(42, 179, 148, .16), transparent 65%),
    linear-gradient(180deg, #08231f 0%, #0a1b1c 100%);
  color: #b9cbc6;
  width: 208px;
  flex: 0 0 208px;
  box-shadow: 8px 0 30px rgba(4, 25, 21, .08);
  border-right: 1px solid rgba(255, 255, 255, .04);
}
.side-logo {
  height: 66px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.side-logo span {
  width: 34px; height: 34px; line-height: 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(228, 203, 153, .32), rgba(42, 179, 148, .35));
  border: 1px solid rgba(228, 203, 153, .35);
  color: var(--gold-300);
  font-family: "KaiTi", "STKaiti", "PingFang SC", serif;
  font-size: 19px;
}
.side-logo b { letter-spacing: 1.5px; color: #f1f7f4; }
#menu { padding: 10px 0 18px; }
#menu a {
  margin: 2px 10px;
  padding: 10px 12px;
  border-radius: 9px;
  border-left: 0;
  color: #aebfba;
  font-size: 13.5px;
  transition: background .16s, color .16s, transform .16s;
}
#menu a i { width: 20px; font-size: 14px; opacity: .85; }
#menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; transform: translateX(1px); }
#menu a.on {
  background: linear-gradient(90deg, rgba(42, 179, 148, .22), rgba(42, 179, 148, .1));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--gold-500), 0 6px 16px rgba(0, 0, 0, .12);
}
#menu a.on i { color: var(--gold-300); opacity: 1; }
.side-foot { color: #607570; font-size: 10.5px; letter-spacing: .5px; }

/* ---------- 顶栏 ---------- */
.topbar {
  height: 60px;
  padding: 0 22px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(21, 55, 47, .04);
}
.ico { color: #7c908b; transition: color .16s, transform .16s; }
.ico:hover { color: var(--jade-500); transform: translateY(-1px); }
.crumb { color: #82938f; font-size: 12.5px; letter-spacing: .3px; }
.who b { color: var(--ink); }
.logout { color: var(--jade-500); }
.logout:hover { color: var(--jade-700); }
.page {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px 22px 46px;
}

/* ---------- 页头（由 app.js 统一注入）---------- */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 14px;
  margin-bottom: 2px;
}
.page-head .ph-t h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: .5px;
  color: var(--ink);
  font-weight: 650;
}
.page-head .ph-t p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .2px;
}
.page-head .ph-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  color: #6c807b;
  font-size: 11.5px;
  white-space: nowrap;
}
.page-head .ph-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--jade-400);
  box-shadow: 0 0 0 3px rgba(42, 179, 148, .14);
}

/* ---------- 卡片 ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(18, 58, 49, .055);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 11px;
  position: relative;
  font-size: 14.5px;
  letter-spacing: .2px;
}
.card h3::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--jade-400), var(--gold-500));
}
.card h3 small { margin-left: 2px; color: #9aa9a5; font-size: 11.5px; }

.stat-grid { gap: 16px; }
.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(18, 58, 49, .05);
  padding: 18px 20px;
  transition: transform .18s, box-shadow .18s;
}
.stat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18, 58, 49, .09); }
.stat .ico-b {
  background: var(--jade-100);
  color: var(--jade-600);
  border-radius: 12px;
}
.stat.blue .ico-b { background: #eaf3f7; color: #27708b; }
.stat.red .ico-b { background: #fff0ee; color: #c4574f; }
.stat.gray .ico-b { background: #f1f4f3; color: #7b8d88; }
.stat .txt b { font-size: 25px; letter-spacing: .4px; }

/* ---------- 按钮 / 表单 ---------- */
.btn {
  border-radius: 8px;
  background: var(--jade-500);
  box-shadow: 0 3px 10px rgba(17, 107, 88, .12);
  transition: transform .16s, filter .16s, box-shadow .16s;
}
.btn:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 7px 16px rgba(17, 107, 88, .18); }
.btn.ghost { background: #f4f8f7; color: #51645f; box-shadow: none; border: 1px solid #e4ece9; }
.btn.ghost:hover { background: #eaf4f0; }
.btn.green { background: var(--jade-500); }
.btn.danger { background: #d76159; box-shadow: 0 3px 10px rgba(215, 97, 89, .14); }
.btn.sm { border-radius: 7px; }
input.f, select.f, textarea.f {
  border-color: #dfe8e5;
  border-radius: 8px;
  background: #fbfdfc;
}
input.f:focus, select.f:focus, textarea.f:focus {
  border-color: var(--jade-400);
  box-shadow: 0 0 0 3px rgba(42, 179, 148, .1);
}
label.fld input, label.fld select, label.fld textarea {
  border-color: #dfe8e5;
  border-radius: 8px;
  background: #fbfdfc;
}
label.fld input:focus, label.fld textarea:focus, label.fld select:focus {
  border-color: var(--jade-400);
  box-shadow: 0 0 0 3px rgba(42, 179, 148, .1);
}

/* ---------- 表格 ---------- */
.tbl { border-collapse: separate; border-spacing: 0; }
.tbl th, .tbl td { border-bottom: 1px solid #edf2f0; }
.tbl th {
  background: #f6faf8;
  color: #748781;
  font-weight: 500;
  letter-spacing: .2px;
  white-space: nowrap;
}
.tbl td { color: #33433f; }
.tbl tr:hover td { background: #f8fcfa; }
.tbl th:first-child { border-radius: 9px 0 0 9px; }
.tbl th:last-child { border-radius: 0 9px 9px 0; }
.tbl img.thumb {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(20, 50, 43, .12);
  border: 1px solid #e7eeeb;
}
.tag { border-radius: 999px; padding: 3px 9px; font-weight: 500; letter-spacing: .2px; }
.tag.on { background: #e8f7f0; color: #147a5f; }
.tag.blue { background: #e9f3f8; color: #27708b; }
.tag.orange { background: #fff4e3; color: #b87419; }
.tag.red { background: #fff0ee; color: #c4574f; }
.tag.off { background: #f1f4f3; color: #7b8d88; }
.hint { color: #93a29e; }

/* ---------- 图表 / 首页快捷 ---------- */
.quick a { color: #2b3b37; }
.quick a i {
  background: var(--jade-100);
  color: var(--jade-600);
  border-radius: 10px;
}
.quick a:nth-child(2n) i { background: #faf3e5; color: #a77c35; }
.quick a:nth-child(3n) i { background: #edf3f8; color: #27708b; }
.chart .col .barv {
  background: linear-gradient(180deg, #54c7ad, var(--jade-600));
  border-radius: 7px 7px 0 0;
  box-shadow: 0 3px 10px rgba(17, 107, 88, .12);
}

/* ---------- 弹层 ---------- */
.modal { background: rgba(5, 24, 20, .5); backdrop-filter: blur(3px); }
.modal-box {
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(2, 20, 16, .34);
}
.modal-head { border-bottom-color: var(--line); }
.modal-head b { letter-spacing: .3px; }
.modal-head span:hover { color: var(--jade-500); }
.modal-foot .btn { min-width: 76px; }
.toast {
  background: rgba(9, 39, 34, .94);
  border: 1px solid rgba(228, 203, 153, .18);
  box-shadow: 0 14px 34px rgba(2, 20, 16, .25);
}

/* ---------- 宽屏与窄屏 ---------- */
@media (min-width: 1500px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .side { width: 196px; flex-basis: 196px; }
  .page { padding: 16px 16px 36px; }
  .card { padding: 16px; }
}
@media (max-width: 980px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head .ph-meta { display: none; }
  .topbar { padding: 0 14px; }
  .page { padding: 14px 12px 32px; }
  .card { border-radius: 12px; padding: 14px; }
  .tbl th, .tbl td { padding: 10px 8px; font-size: 12.5px; }
}

/* ---------- 窄屏：侧栏改为抽屉 ---------- */
@media (max-width: 820px) {
  .side {
    position: fixed;
    left: 0; top: 0;
    z-index: 50;
    height: 100vh;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 18px 0 48px rgba(2, 20, 16, .28);
  }
  .side.open { transform: translateX(0); }
  .body { width: 100%; }
  .page { padding: 14px 14px 36px; }
  .page-head .ph-t h1 { font-size: 21px; }
  .stat-grid { gap: 12px; }
  .card { padding: 15px; }
}
@media (max-width: 560px) {
  .stat-grid { grid-template-columns: 1fr; }
  .quick { grid-template-columns: 1fr; }
  .page-head .ph-t p { font-size: 11.5px; }
}

/* ---------- 表格窄屏横向滚动 ---------- */
.tbl th, .tbl td { white-space: nowrap; }
@media (max-width: 1100px) {
  .card { overflow-x: auto; }
  .tbl { min-width: 720px; }
  body { overflow-x: hidden; }
}

/* ================= 首页 2.0 ================= */
.hm-hero{
  position:relative;overflow:hidden;border-radius:18px;padding:26px 28px;margin-bottom:16px;
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.55fr);gap:28px;align-items:center;
  color:#fff;background:
    radial-gradient(820px 340px at 92% 4%, rgba(199,161,91,.19), transparent 58%),
    linear-gradient(120deg,#082621 0%,#0b3d33 58%,#116b58 100%);
  box-shadow:0 18px 44px rgba(8,38,33,.18);
}
.hm-hero::after{content:"";position:absolute;right:-80px;bottom:-130px;width:320px;height:320px;border-radius:50%;border:1px solid rgba(228,203,153,.15);pointer-events:none}
.hm-kicker{display:flex;align-items:center;gap:8px;font-size:11.5px;letter-spacing:1.2px;color:rgba(255,255,255,.62)}
.hm-kicker i{width:6px;height:6px;border-radius:50%;background:var(--gold-300);box-shadow:0 0 0 4px rgba(228,203,153,.12)}
.hm-hero-main h2{margin:12px 0 8px;font-size:26px;font-weight:600;letter-spacing:.5px;line-height:1.25}
.hm-sub{margin:0;font-size:12.5px;color:rgba(255,255,255,.62);line-height:1.7}
.hm-sub b{color:#f0d49b;font-weight:600}
.hm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:22px}
.hm-kpi{padding:13px 14px;border-radius:12px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.13)}
.hm-kpi span{display:block;font-size:11px;color:rgba(255,255,255,.58);white-space:nowrap}
.hm-kpi b{display:block;margin-top:4px;font-size:21px;font-weight:600;letter-spacing:.3px;white-space:nowrap}
.hm-kpi small{display:block;margin-top:4px;font-size:10.5px;color:rgba(255,255,255,.4);white-space:nowrap}
.hm-hero-side{border-left:1px solid rgba(255,255,255,.12);padding-left:26px;min-width:0}
.hm-ring{
  width:106px;height:106px;border-radius:50%;margin-bottom:14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:1px solid rgba(228,203,153,.55);
  background:radial-gradient(circle at 50% 35%,rgba(228,203,153,.18),rgba(255,255,255,.04) 65%);
  box-shadow:0 0 0 7px rgba(255,255,255,.035);
}
.hm-ring b{font-size:31px;line-height:1;font-weight:600;color:#f5dfb0}
.hm-ring span{margin-top:5px;font-size:10.5px;color:rgba(255,255,255,.58);letter-spacing:1px}
.hm-side-badge{font-size:10.5px;letter-spacing:1.5px;color:rgba(255,255,255,.48);margin-bottom:7px}
.hm-side-list div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px dashed rgba(255,255,255,.12);font-size:11.5px}
.hm-side-list div:last-child{border-bottom:0}
.hm-side-list span{color:rgba(255,255,255,.58)}
.hm-side-list b{color:#fff;font-weight:500}

.hm-grid{display:grid;gap:16px;margin-bottom:16px;align-items:stretch}
.hm-grid-main{grid-template-columns:minmax(0,1.5fr) minmax(300px,.82fr)}
.hm-grid-bottom{grid-template-columns:minmax(0,1.55fr) minmax(280px,.82fr)}
.hm-grid > .card{margin-bottom:0}
.hm-card{padding:18px 20px;min-width:0}
.hm-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.hm-card-head h3{margin:0}
.hm-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#eff6f3;color:#5d7a71;font-size:10.5px;white-space:nowrap}
.hm-badge.warn{background:#fff0ee;color:#c4574f}
.hm-link{font-size:11.5px;color:var(--jade-500);cursor:pointer;white-space:nowrap}
.hm-link:hover{color:var(--jade-700)}

.hm-chart{display:flex;align-items:stretch;gap:10px;height:208px;padding:4px 2px 0}
.hm-col{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.hm-col b{min-height:15px;margin-bottom:6px;font-size:10px;font-weight:500;color:#80918c;white-space:nowrap}
.hm-bar-wrap{width:100%;flex:1;display:flex;align-items:flex-end;justify-content:center}
.hm-bar-wrap i{display:block;width:68%;max-width:38px;min-height:3px;border-radius:7px 7px 0 0;background:linear-gradient(180deg,#54c7ad,var(--jade-600));box-shadow:0 4px 12px rgba(17,107,88,.12);transition:height .3s}
.hm-col span{margin-top:8px;font-size:10.5px;color:#93a29e;white-space:nowrap}
.hm-chart-foot{display:flex;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px dashed #e7eeeb;font-size:10.5px;color:#a1afab}

.hm-todo-list{display:flex;flex-direction:column;gap:4px}
.hm-todo{display:flex;align-items:center;gap:11px;padding:9px 9px;border-radius:11px;border:1px solid transparent;transition:background .16s,border-color .16s;cursor:pointer}
.hm-todo:hover{background:#f7fbfa;border-color:#e6efec}
.hm-todo-mark{width:33px;height:33px;flex:0 0 33px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.hm-todo.amber .hm-todo-mark{background:#fff4e3;color:#b87419}
.hm-todo.red .hm-todo-mark{background:#fff0ee;color:#c4574f}
.hm-todo.blue .hm-todo-mark{background:#e9f3f8;color:#27708b}
.hm-todo.gray .hm-todo-mark{background:#f1f4f3;color:#7b8d88}
.hm-todo-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hm-todo-txt b{font-size:12.5px;color:#263a35;font-weight:500}
.hm-todo-txt small{font-size:10.5px;color:#93a29e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-todo em{font-style:normal;font-size:19px;line-height:1;font-weight:600;color:#1d2b29}
.hm-todo.amber em{color:#b87419}.hm-todo.red em{color:#c4574f}.hm-todo.blue em{color:#27708b}.hm-todo.gray em{color:#7b8d88}
.hm-arrow{font-size:16px;color:#b9c6c2}

.hm-table-wrap{overflow-x:auto}
.hm-table{min-width:620px}
.hm-table th{padding-top:8px;padding-bottom:8px;font-size:11px}
.hm-table td{padding-top:10px;padding-bottom:10px;font-size:12px}
.hm-table td:nth-child(2){max-width:150px;overflow:hidden;text-overflow:ellipsis}
.hm-table td:nth-child(3){max-width:220px;overflow:hidden;text-overflow:ellipsis}
.hm-no{display:inline-block;padding:2px 6px;border-radius:5px;background:#f3f7f5;color:#647a73;font-size:10.5px;font-family:ui-monospace,Consolas,monospace}
.hm-goods{display:inline-block;max-width:190px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.hm-amt{color:#1d2b29;font-weight:600}
.hm-time{color:#93a29e;font-size:11px}

.hm-status{padding-top:2px}
.hm-status-row{position:relative;padding-bottom:12px;margin-bottom:8px}
.hm-status-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:7px;font-size:12px;color:#475d57}
.hm-status-top b{font-size:13px;color:#24303f;font-weight:600}
.hm-status-top b small{font-size:10px;color:#9aa9a5;font-weight:400}
.hm-sdot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px}
.hm-sdot.s0{background:#d69a3c}.hm-sdot.s1{background:#4a87a8}.hm-sdot.s2{background:#22a37f}.hm-sdot.s3{background:#0e6b58}
.hm-progress{height:7px;border-radius:999px;background:#eff4f2;overflow:hidden}
.hm-progress i{display:block;height:100%;border-radius:999px}
.hm-progress i.p0{background:linear-gradient(90deg,#efc77b,#d69a3c)}
.hm-progress i.p1{background:linear-gradient(90deg,#8fc4dc,#4a87a8)}
.hm-progress i.p2{background:linear-gradient(90deg,#63d3b4,#22a37f)}
.hm-progress i.p3{background:linear-gradient(90deg,#38a98e,#0e6b58)}
.hm-status-pct{position:absolute;right:0;bottom:0;font-size:10px;color:#a1afab}
.hm-mix-total{display:flex;justify-content:space-between;align-items:center;margin-top:2px;padding-top:12px;border-top:1px dashed #e7eeeb;font-size:11.5px;color:#93a29e}
.hm-mix-total b{font-size:13px;color:#1d2b29}

.hm-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hm-quick a{display:flex;flex-direction:column;gap:4px;padding:13px 14px;border:1px solid #e6eeeb;border-radius:12px;background:#fbfdfc;cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}
.hm-quick a:hover{transform:translateY(-2px);border-color:#cfe3dc;box-shadow:0 9px 20px rgba(18,58,49,.07);background:#fff}
.hm-q-ico{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;margin-bottom:4px;background:var(--jade-100);color:var(--jade-600);font-size:13px;font-weight:600}
.hm-quick a:nth-child(2n) .hm-q-ico{background:#faf3e5;color:#a77c35}
.hm-quick a:nth-child(3n) .hm-q-ico{background:#edf3f8;color:#27708b}
.hm-quick a:nth-child(4n) .hm-q-ico{background:#fff2ef;color:#b96b5d}
.hm-quick b{font-size:12.5px;font-weight:500;color:#263a35}
.hm-quick small{font-size:10.5px;color:#9aa9a5}
.hm-foot{margin-top:13px;padding-top:10px;border-top:1px dashed #e7eeeb;font-size:10.5px;color:#a1afab;line-height:1.6}

@media (max-width:1200px){
  .hm-hero{grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);padding:24px;gap:22px}
  .hm-hero-side{padding-left:22px}
  .hm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-grid-main{grid-template-columns:minmax(0,1.25fr) minmax(290px,.85fr)}
  .hm-grid-bottom{grid-template-columns:minmax(0,1.3fr) minmax(270px,.8fr)}
  .hm-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:980px){
  .hm-hero{grid-template-columns:1fr;padding:21px;gap:18px}
  .hm-hero-side{border-left:0;border-top:1px solid rgba(255,255,255,.12);padding-left:0;padding-top:18px;display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:center}
  .hm-ring{grid-row:1 / span 3;margin-bottom:0}
  .hm-side-badge{display:none}
  .hm-grid-main,.hm-grid-bottom{grid-template-columns:1fr}
  .hm-chart{height:180px}
  .hm-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .hm-hero{padding:18px 16px}
  .hm-hero-main h2{font-size:22px}
  .hm-kpis{grid-template-columns:1fr 1fr;gap:8px}
  .hm-kpi{padding:11px 12px}
  .hm-kpi b{font-size:18px}
  .hm-kpi small{display:none}
  .hm-hero-side{grid-template-columns:1fr;justify-items:start}
  .hm-ring{grid-row:auto;width:88px;height:88px}
  .hm-side-list{width:100%}
  .hm-chart{height:168px;gap:5px}
  .hm-col b{font-size:9px}
  .hm-quick{grid-template-columns:1fr 1fr}
  .hm-grid{gap:12px;margin-bottom:12px}
  .hm-card{padding:15px}
  .hm-todo-txt small{display:none}
}

