:root {
  --blue: #3f7ef7;
  --blue-2: #63a4ff;
  --blue-deep: #2b5fd9;
  --blue-soft: #eaf3ff;
  --bg: #f3f7fd;
  --card: #ffffff;
  --line: #e7eefa;
  --text: #26324a;
  --text-2: #5a6b86;
  --muted: #93a1b8;
  --green: #22b573;
  --red: #f26a6a;
  --orange: #ff9f43;
  --purple: #7d6cf3;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(56, 116, 214, .08);
  --shadow-2: 0 12px 40px rgba(32, 72, 150, .18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 13px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, select, textarea { font-family: inherit; font-size: 13px; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(99, 164, 255, .16); }

/* ------------------------------------------------ 登录页 */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1000px 500px at 12% 18%, rgba(99, 164, 255, .30), transparent 62%),
    radial-gradient(900px 520px at 88% 82%, rgba(125, 108, 243, .22), transparent 60%),
    linear-gradient(135deg, #eef6ff 0%, #f7fbff 48%, #eef3ff 100%);
  padding: 24px;
}

.login-shell {
  width: 940px;
  max-width: 100%;
  min-height: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
}

.login-left {
  background: linear-gradient(160deg, #2f6fe8 0%, #4a8cff 55%, #6fa9ff 100%);
  color: #fff;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.login-left::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -120px; bottom: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.login-left h1 { font-size: 27px; margin: 0 0 10px; letter-spacing: 1px; }
.login-left p.sub { margin: 0; color: rgba(255, 255, 255, .86); font-size: 13px; line-height: 1.9; }
.login-feats { margin-top: 34px; display: grid; gap: 14px; position: relative; z-index: 1; }
.login-feat { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.95); }
.login-feat i {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 12px; flex: none;
}
.login-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .5px; }
.login-brand .dot { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.login-copy { font-size: 12px; color: rgba(255,255,255,.62); position: relative; z-index: 1; }

.login-right { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.login-right h2 { margin: 0 0 6px; font-size: 21px; }
.login-right .hint { color: var(--muted); font-size: 12px; margin-bottom: 22px; }

.portal-switch {
  display: flex; background: #f1f5fc; border-radius: 9px; padding: 4px; margin-bottom: 22px;
}
.portal-switch button {
  flex: 1; border: 0; background: transparent; padding: 9px 0; border-radius: 7px;
  color: var(--text-2); cursor: pointer; font-size: 13px;
}
.portal-switch button.on { background: #fff; color: var(--blue); font-weight: 600; box-shadow: 0 2px 8px rgba(60, 110, 200, .16); }

.login-field { margin-bottom: 14px; }
.login-field label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.login-field .ipt { position: relative; }
.login-field .ipt input {
  width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 9px;
  padding: 0 40px 0 12px; background: #fbfdff; font-size: 13px;
}
.login-field .ipt i {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-style: normal; font-size: 14px;
}
.login-submit {
  width: 100%; height: 44px; margin-top: 8px; border: 0; border-radius: 9px; cursor: pointer;
  background: linear-gradient(90deg, #3f7ef7, #6aa6ff); color: #fff; font-size: 15px; letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(63, 126, 247, .3);
}
.login-submit:hover { filter: brightness(1.04); }
.login-err { color: var(--red); font-size: 12px; min-height: 18px; margin-top: 10px; }
.demo-box { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.demo-box b { color: var(--text-2); font-weight: 600; }
.demo-box span.link { color: var(--blue); cursor: pointer; }
.demo-box .links { display: block; margin-top: 6px; }

/* ------------------------------------------------ 主框架 */
.app { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: 196px; flex: none;
  background: linear-gradient(180deg, #e9f3ff 0%, #f5faff 100%);
  border-right: 1px solid #dfeafa;
  display: flex; flex-direction: column;
  padding: 0 0 12px;
}

.brand {
  height: 56px; display: flex; align-items: center; gap: 9px;
  padding: 0 16px; color: var(--blue-deep); font-weight: 700; letter-spacing: .3px;
  border-bottom: 1px solid rgba(196, 219, 247, .6);
  flex: none;
}
.brand .logo {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #4a8cff, #2f6fe8);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.brand .txt { font-size: 14px; white-space: nowrap; }
.brand .collapse { margin-left: auto; color: #7fa3d8; cursor: pointer; font-size: 15px; }

.nav { padding: 10px 10px 0; overflow-y: auto; flex: 1; }
.nav::-webkit-scrollbar { width: 4px; }
.nav::-webkit-scrollbar-thumb { background: #cfe0f7; border-radius: 4px; }
.nav-group { font-size: 11px; color: #9db2ce; padding: 12px 12px 6px; letter-spacing: .5px; }
.nav-item {
  display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px;
  border-radius: 9px; color: #4a6488; cursor: pointer; margin-bottom: 3px; font-size: 13px;
  transition: background .15s, color .15s;
}
.nav-item svg { width: 16px; height: 16px; flex: none; }
.nav-item:hover { background: rgba(255, 255, 255, .8); color: var(--blue-deep); }
.nav-item.active {
  background: linear-gradient(90deg, #4a8cff, #6aa6ff);
  color: #fff; box-shadow: 0 6px 16px rgba(74, 140, 255, .32);
}
.nav-item .hot {
  margin-left: auto; font-size: 10px; background: #ff6b6b; color: #fff;
  border-radius: 3px; padding: 1px 4px; line-height: 1.4;
}
.sidebar-foot { padding: 10px 14px 0; border-top: 1px solid rgba(196, 219, 247, .5); margin-top: 8px; }
.sidebar-foot button {
  width: 100%; height: 34px; border: 1px solid #d8e6f8; background: #fff; color: #6b809c;
  border-radius: 8px; cursor: pointer;
}
.sidebar-foot button:hover { color: var(--blue); border-color: #b9d4f7; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: 56px; flex: none; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
}
.topbar .title { font-size: 16px; font-weight: 600; }
.topbar .crumb { color: var(--muted); font-size: 12px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); font-size: 12px;
}
.chip.warn { background: #fff5e9; color: #c67a1c; }
.user-tag { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #5b9dff, #3f7ef7);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }

.content { flex: 1; overflow-y: auto; padding: 14px 13px 26px; }
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb { background: #d7e4f7; border-radius: 8px; }

/* ------------------------------------------------ 卡片 / 工具条 */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eef3fb; }
.card + .card { margin-top: 14px; }
.card-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.card-head .ttl { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card-head .ttl::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--blue); }
.card-head .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 14px 16px; }

.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.btn {
  height: 32px; padding: 0 13px; border-radius: 7px; border: 1px solid transparent;
  background: linear-gradient(90deg, #4a8cff, #6aa6ff); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(74, 140, 255, .25);
}
.btn:hover { filter: brightness(1.04); }
.btn.ghost { background: #fff; color: var(--text-2); border-color: #dde8f7; box-shadow: none; }
.btn.ghost:hover { color: var(--blue); border-color: #b9d4f7; }
.btn.red { background: linear-gradient(90deg, #ff7b7b, #ff9a9a); box-shadow: 0 4px 12px rgba(242, 106, 106, .22); }
.btn.soft { background: var(--blue-soft); color: var(--blue-deep); box-shadow: none; }
.btn.sm { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 6px; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

.icon-btn {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid #dfe9f8; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #7d90ac;
}
.icon-btn:hover { color: var(--blue); border-color: #b9d4f7; background: #f7fbff; }
.icon-btn.danger { background: #fff2f2; border-color: #ffdcdc; color: #f26a6a; }
.icon-btn.danger:hover { background: #ffe7e7; }
.icon-btn svg { width: 14px; height: 14px; }

.search { position: relative; }
.search input {
  height: 32px; width: 190px; border: 1px solid var(--line); border-radius: 7px;
  padding: 0 30px 0 10px; background: #fbfdff;
}
.search i { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); color: var(--muted); font-style: normal; }

select.ipt, input.ipt, textarea.ipt {
  height: 34px; border: 1px solid #dfe8f6; border-radius: 7px; padding: 0 10px; background: #fff; width: 100%;
}
textarea.ipt { height: auto; padding: 8px 10px; line-height: 1.7; resize: vertical; }
input.ipt::placeholder, textarea.ipt::placeholder { color: #b5c2d6; }
select.ipt { cursor: pointer; }

/* ------------------------------------------------ 表格 */
.table-wrap { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 760px; }
table.tb th {
  background: #f7faff; color: #6b7f9c; font-weight: 600; text-align: left;
  padding: 9px 7px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tb td { padding: 9px 7px; border-bottom: 1px solid #f1f5fb; color: #3a4a63; vertical-align: middle; white-space: nowrap; }
table.tb td.wrap { white-space: normal; }
table.tb tbody tr:hover { background: #f9fcff; }
table.tb .nowrap { white-space: nowrap; }
table.tb .muted { color: var(--muted); }
table.tb .center { text-align: center; }

.dot-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.dot-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.dot-status.off i { background: #b9c6d9; }
.dot-status.warn i { background: var(--orange); }
.dot-status.red i { background: var(--red); }

.link-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.link-actions a { font-size: 12px; cursor: pointer; }
table.tb .col-name { display: block; max-width: 158px; overflow: hidden; text-overflow: ellipsis; }
table.tb .col-short { display: block; max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
table.tb .col-phone { display: block; max-width: 94px; overflow: hidden; text-overflow: ellipsis; }
table.tb .link-actions a { font-size: 11.5px; }
table.tb .col-dom { display: inline-block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
table.tb .col-kw { display: inline-block; max-width: 118px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
table.tb .col-stitle { display: inline-block; max-width: 208px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
table.tb .col-user { display: block; max-width: 84px; overflow: hidden; text-overflow: ellipsis; }

.pager { display: flex; align-items: center; gap: 8px; padding: 12px 16px; color: var(--text-2); font-size: 12px; }
.pager .right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.pager button { height: 26px; min-width: 26px; padding: 0 8px; border-radius: 5px; border: 1px solid #e2ebf8; background: #fff; cursor: pointer; color: var(--text-2); }
.pager button.on { background: var(--blue); border-color: var(--blue); color: #fff; }

.switch { position: relative; display: inline-block; width: 38px; height: 20px; vertical-align: middle; cursor: pointer; }
.switch input { display: none; }
.switch span { position: absolute; inset: 0; background: #cfd9e8; border-radius: 20px; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }

.badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px; background: var(--blue-soft); color: var(--blue-deep); }
.badge.green { background: #e9f9f1; color: var(--green); }
.badge.orange { background: #fff4e6; color: #d98a1f; }
.badge.red { background: #fff0f0; color: var(--red); }
.badge.gray { background: #f2f5fa; color: #7d8ea6; }

/* ------------------------------------------------ 概览卡片 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card {
  border-radius: var(--radius); padding: 16px 18px; color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 10px 24px rgba(70, 130, 230, .18); min-height: 96px;
}
.stat-card.c1 { background: linear-gradient(135deg, #4a8cff, #6fa9ff); }
.stat-card.c2 { background: linear-gradient(135deg, #5b8def, #83b4ff); }
.stat-card.c3 { background: linear-gradient(135deg, #6a7df0, #96a5ff); }
.stat-card.c4 { background: linear-gradient(135deg, #3f9ad6, #6fc2ef); }
.stat-card .ico {
  position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center;
}
.stat-card .ico svg { width: 18px; height: 18px; }
.stat-card .lb { font-size: 12px; opacity: .92; }
.stat-card .val { font-size: 26px; font-weight: 700; margin-top: 8px; letter-spacing: .5px; }
.stat-card .val small { font-size: 13px; font-weight: 400; opacity: .85; margin-left: 4px; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-card { background: #fff; border: 1px solid #eef3fb; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.mini-card .lb { color: var(--text-2); font-size: 12px; }
.mini-card .val { font-size: 22px; font-weight: 700; color: var(--blue-deep); margin-top: 6px; }

.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-box { height: 220px; }
.chart-box svg { width: 100%; height: 100%; display: block; }

.section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 18px 0 10px; }
.section-title::before { content: ""; width: 3px; height: 14px; background: var(--blue); border-radius: 2px; }

/* ------------------------------------------------ 弹窗 */
.mask {
  position: fixed; inset: 0; background: rgba(24, 42, 74, .42); z-index: 200;
  display: flex; align-items: flex-start; justify-content: center; padding: 46px 16px; overflow-y: auto;
}
.modal {
  width: 720px; max-width: 100%; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-2); animation: pop .16s ease-out;
}
@keyframes pop { from { transform: translateY(-8px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal.narrow { width: 520px; }
.modal.wide { width: 900px; }
.modal.xwide { width: 1080px; }
.modal-head {
  height: 44px; background: linear-gradient(90deg, #4a8cff, #6aa6ff); color: #fff;
  display: flex; align-items: center; padding: 0 14px; font-size: 14px;
}
.modal-head .close { margin-left: auto; cursor: pointer; font-size: 18px; line-height: 1; opacity: .9; }
.modal-body { padding: 18px 22px 18px 18px; max-height: 66vh; overflow-y: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 10px; }
.modal-foot .left { margin-right: auto; }
.form-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.form-row > label { width: 108px; flex: none; text-align: right; padding-top: 9px; color: #536582; font-size: 13px; }
.form-row > label.req::before { content: "*"; color: var(--red); margin-right: 2px; }
.form-row .field { flex: 1; min-width: 0; }
.form-row .field .tip { color: var(--muted); font-size: 11px; margin-top: 4px; }
.form-row .field .inline { display: flex; align-items: center; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .form-row > label { width: 96px; }
.form-section { font-size: 13px; font-weight: 600; color: var(--blue-deep); padding: 8px 0 10px; border-bottom: 1px dashed #e5eefa; margin-bottom: 14px; }
.radio-line { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.radio-line label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.upload-box { display: flex; align-items: center; gap: 10px; }
.upload-box .thumb {
  width: 54px; height: 54px; border-radius: 8px; border: 1px dashed #cfe0f7; background: #f8fbff;
  display: flex; align-items: center; justify-content: center; color: #a9bcd6; overflow: hidden; flex: none; font-size: 11px;
}
.upload-box .thumb img { width: 100%; height: 100%; object-fit: cover; }

.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: #26324a; color: #fff; padding: 9px 16px; border-radius: 8px; font-size: 13px;
  box-shadow: 0 8px 22px rgba(20, 40, 80, .2); animation: pop .18s ease-out;
}
.toast.ok { background: #1f9e6a; }
.toast.err { background: #e35d5d; }

.empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------ 用户端头部 */
.user-banner {
  height: 46px; flex: none; background: linear-gradient(90deg, #4a8cff, #6aa6ff);
  color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-size: 12px;
}
.user-banner .notice { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-banner .right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.user-banner .pill { background: rgba(255,255,255,.18); border-radius: 12px; padding: 4px 10px; }
.user-banner .avatar { width: 24px; height: 24px; background: rgba(255,255,255,.25); }
.user-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #f3f7fd; }

/* ------------------------------------------------ 站点信息折叠 */
.acc-item { border: 1px solid #eef3fb; border-radius: 9px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.acc-head {
  height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; cursor: pointer;
  background: #f8fbff; color: #3c5273; font-size: 13px;
}
.acc-head .arrow { transition: transform .18s; color: #8fa6c4; font-size: 11px; }
.acc-item.open .acc-head { background: #eef6ff; color: var(--blue-deep); font-weight: 600; }
.acc-item.open .acc-head .arrow { transform: rotate(90deg); }
.acc-body { display: none; padding: 16px 18px 6px; border-top: 1px solid #eef3fb; }
.acc-item.open .acc-body { display: block; }

/* 区域选择器 */
.region-picker { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid #e7eefa; border-radius: 8px; overflow: hidden; height: 300px; }
.region-col { overflow-y: auto; border-right: 1px solid #eef3fb; }
.region-col:last-child { border-right: 0; }
.region-col .col-title { position: sticky; top: 0; background: #f7faff; padding: 8px 10px; font-size: 12px; color: #7b8da6; border-bottom: 1px solid #eef3fb; }
.region-col label { display: flex; align-items: center; gap: 7px; padding: 7px 10px; font-size: 12px; cursor: pointer; color: #3f5170; }
.region-col label:hover { background: #f5faff; }
.region-col label.on { background: #eaf3ff; color: var(--blue-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 24px; }
.chip-tag { background: #eaf3ff; color: var(--blue-deep); border-radius: 4px; padding: 3px 7px; font-size: 11px; display: inline-flex; align-items: center; gap: 5px; }
.chip-tag b { cursor: pointer; font-weight: 400; color: #8aa9d6; }

.quota-row { margin-bottom: 18px; }
.quota-row .lb { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.quota-row .bar { height: 16px; border-radius: 4px; background: #eef3fb; overflow: hidden; }
.quota-row .bar span { display: block; height: 100%; background: linear-gradient(90deg, #4a8cff, #7db5ff); }

@media (max-width: 1200px) {
  .stat-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .sidebar { width: 64px; }
  .brand .txt, .nav-item span, .nav-group { display: none; }
}
