:root {
  --primary: #4a7dff;
  --ink: #25324b;
  --muted: #8993a6;
  --line: #edf0f5;
  --surface: #f5f7fb;
  --sidebar-width: 224px;
  --side: #202b40;
  --global-primary-color: var(--primary)
}

* {
  box-sizing: border-box
}

body.rp-admin,body.rp-login {
  margin: 0;
  font: 14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color: var(--ink);
  background: var(--surface)
}

button,input,select,textarea {
  font: inherit
}

a {
  color: var(--primary)
}

a:hover {
  text-decoration: none;
  color: #2e60dd
}

button,a,input,select,textarea {
  touch-action: manipulation
}

button {
  cursor: pointer
}

button:disabled {
  cursor: wait;
  opacity: .65
}

:focus-visible {
  outline: 3px solid #9ebaff;
  outline-offset: 3px
}

button:focus:not(:focus-visible) {
  outline: none
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  background: white;
  padding: 12px;
  z-index: 10000
}

.skip-link:focus {
  top: 12px
}

.rp-sidebar.layui-side {
  width: var(--sidebar-width);
  top: 0;
  bottom: 0;
  z-index: 1002;
  background: var(--side);
  color: #c7cfdf;
  transition: width .2s,transform .2s;
  overflow: hidden
}

.rp-brand {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: #fff;
  white-space: nowrap
}

.rp-brand:hover {
  color: white
}

.brand-mark {
  width: 36px;
  height: 38px;
  flex-shrink: 0;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: white
}

.brand-mark .layui-icon {
  font-size: 24px
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px
}

.brand-name>span {
  display: block;
  font-size: 9px;
  letter-spacing: 2.3px;
  color: #a0adc6;
  margin-top: 0
}

.nav-caption {
  font-size: 11px;
  letter-spacing: 2px;
  color: #78859e;
  padding: 27px 28px 13px
}

.rp-nav.layui-nav-tree {
  width: 100%;
  padding: 0 12px;
  background: transparent
}

.rp-nav.layui-nav-tree .layui-nav-item {
  margin: 5px 0;
  line-height: 48px
}

.rp-nav.layui-nav-tree .layui-nav-item a {
  height: 46px;
  line-height: 46px;
  color: #aebbd3;
  padding: 0 16px;
  border-radius: 7px;
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap
}

.rp-nav.layui-nav-tree .layui-nav-item a:hover {
  color: #fff;
  background: #2c3950
}

.rp-nav.layui-nav-tree .layui-this,.rp-nav.layui-nav-tree .layui-this>a {
  background: transparent
}

.rp-nav.layui-nav-tree .layui-this>a {
  color: #fff!important;
  background: var(--primary)!important
}

.rp-nav .layui-icon {
  font-size: 19px
}

.rp-nav .layui-nav-bar {
  display: none
}

.sidebar-footer {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-size: 11px;
  color: #98a7c2;
  white-space: nowrap
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #5cd6af;
  display: inline-block;
  border-radius: 50%;
  margin-right: 8px
}

.rp-topbar.layui-header {
  position: fixed;
  left: var(--sidebar-width);
  right: 0;
  top: 0;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  z-index: 1000;
  transition: left .2s
}

.topbar-left,.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.icon-button {
  height: 32px;
  width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #737f94
}

.icon-button:hover {
  background: #f0f4fa;
  color: var(--primary)
}

.icon-button .layui-icon {
  font-size: 19px
}

.breadcrumb {
  font-size: 12px;
  color: #8d97a7
}

.breadcrumb>span {
  padding: 0 14px;
  color: #c4cbd6
}

.breadcrumb strong {
  font-weight: 400;
  color: #536079
}

.topbar-divider {
  height: 20px;
  width: 1px;
  background: var(--line)
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf2ff;
  display: grid;
  place-items: center;
  color: var(--primary)
}

.username {
  font-size: 12px;
  margin-left: -10px
}

.text-button {
  background: none;
  border: 0;
  color: #8b96a8;
  padding: 4px;
  font-size: 12px
}

.rp-main {
  margin-left: var(--sidebar-width);
  padding: 94px 30px 20px;
  min-height: 100vh;
  transition: margin .2s
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #96a1b4;
  margin-bottom: 5px
}

h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0
}

h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0
}

h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0
}

.page-date {
  color: #7e8ba1;
  font-size: 12px
}

.page-date .layui-icon {
  margin-right: 8px
}

.page-date span {
  margin-left: 12px;
  color: #a8b1c1
}

.page-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #a1abba;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.sidebar-backdrop {
  display: none
}

.sidebar-collapsed {
  --sidebar-width: 76px
}

.sidebar-collapsed .rp-brand {
  padding: 0 20px
}

.sidebar-collapsed .brand-name,.sidebar-collapsed .nav-caption,.sidebar-collapsed .rp-nav a span,.sidebar-collapsed .sidebar-footer {
  display: none
}

.sidebar-collapsed .rp-nav {
  padding-top: 30px
}

.sidebar-collapsed .rp-nav.layui-nav-tree .layui-nav-item a {
  padding: 0;
  justify-content: center
}

.card,.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 5px #24344a02
}

.card {
  padding: 24px;
  margin-bottom: 20px
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px
}

.section-heading p,.help-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 4px 0 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
  margin-bottom: 22px
}

.stat-card {
  padding: 21px 23px
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.stat-title {
  font-size: 12px;
  color: #7b879b
}

.stat-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf2ff;
  color: #4a7dff
}

.stat-icon.green {
  color: #25b692;
  background: #e8f9f3
}

.stat-icon.orange {
  color: #efaa44;
  background: #fff6e6
}

.stat-icon.purple {
  color: #9270ed;
  background: #f3eefe
}

.stat-value {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  margin: 8px 0 12px;
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums
}

.stat-value .currency {
  font-size: 20px;
  margin-right: 4px
}

.stat-foot {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #9ba5b6
}

.stat-foot strong {
  color: #6385ba;
  font-weight: 500
}

.dashboard-middle {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) minmax(270px,1fr);
  gap: 20px
}

.dashboard-middle>.card {
  min-width: 0
}

.trend-key {
  color: #8290a6;
  font-size: 11px
}

.trend-key:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--primary)
}

.trend-chart {
  height: 180px;
  display: flex;
  gap: 18px;
  align-items: stretch;
  padding: 0 8px;
  background: repeating-linear-gradient(to top,transparent 0,transparent 39px,#f2f5fa 40px,#f2f5fa 41px)
}

.trend-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center
}

.trend-count {
  font-size: 11px;
  color: #8795a9;
  margin-bottom: 5px
}

.trend-bar {
  width: 100%;
  max-width: 32px;
  background: #a8bfff;
  border-radius: 5px 5px 0 0;
  min-height: 3px
}

.trend-column:last-child .trend-bar {
  background: var(--primary)
}

.trend-label {
  font-size: 11px;
  color: #9ba6b8;
  padding: 8px 0;
  background: white;
  width: 100%;
  text-align: center
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink)
}

.quick-action:last-child {
  border-bottom: 0
}

.quick-action>i {
  color: #718cbd;
  background: #f2f5fc;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 20px
}

.quick-action small {
  display: block;
  color: var(--muted);
  font-size: 11px
}

.quick-action .arrow {
  margin-left: auto;
  color: #bec7d5
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 15px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  line-height: 20px
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary)
}

.btn-primary:hover {
  background: #386aea;
  color: #fff
}

.btn-secondary {
  background: #fff;
  color: #62708a;
  border-color: #dfe5ee
}

.btn-secondary:hover {
  border-color: #a6bfff;
  background: #f8faff
}

.btn-warning {
  background: #fff7e7;
  color: #ca8a24;
  border-color: #f7e5bf
}

.btn-danger {
  background: #fff2f2;
  color: #d76666;
  border-color: #f5d5d5
}

.btn-muted {
  background: #eef8f4;
  color: #38a584;
  border-color: #ceeee1
}

.btn-small,.table-actions .btn {
  padding: 3px 8px;
  min-height: 28px;
  font-size: 11px
}

.actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.mini-form {
  margin: 0;
  display: inline-flex
}

.table-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center
}

.table-wrap {
  width: 100%;
  overflow-x: auto
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  white-space: nowrap
}

.data-table th {
  background: #f8faff;
  color: #8b97ab;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding: 13px 15px
}

.data-table td {
  padding: 16px 15px;
  border-bottom: 1px solid var(--line);
  color: #66738b
}

.data-table tr:last-child td {
  border-bottom: 0
}

.data-table tbody tr:hover {
  background: #fcfdff
}

.data-table strong {
  font-weight: 500;
  color: #384763
}

.packet-title-cell {
  max-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 5px
}

.truncate-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block
}

.packet-subtitle-text {
  font-size: 11px;
  color: #9ba6b8
}

.mono-text {
  font-variant-numeric: tabular-nums
}

.badge,.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  background: #f0f3f8;
  color: #7d8ca6
}

.badge-enabled,.badge-available {
  color: #24a987;
  background: #e9f8f3
}

.badge-disabled {
  color: #cc7c7c;
  background: #fcf0f0
}

.badge-not_started {
  background: #edf2ff;
  color: #6180c4
}

.badge-ended,.badge-sold_out {
  background: #f1f3f7;
  color: #8b96a6
}

.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%
}

.progress-track {
  height: 4px;
  background: #edf1f9;
  border-radius: 8px;
  margin-top: 7px;
  min-width: 90px;
  overflow: hidden
}

.progress-track>span {
  display: block;
  height: 100%;
  background: #8aaaf9;
  border-radius: 8px
}

.table-sub {
  font-size: 10px;
  color: #a3adbd;
  margin-top: 4px
}

.filter-form {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  padding: 18px 20px
}

.filter-form .form-group {
  min-width: 150px
}

.filter-form .filter-search {
  flex: 1;
  max-width: 340px
}

.filter-form .form-label {
  font-size: 11px
}

.filter-form .form-input {
  height: 35px
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #929db0
}

.pagination-links {
  display: flex;
  gap: 6px;
  align-items: center
}

.pagination-btn {
  min-width: 30px;
  min-height: 29px;
  padding: 3px 9px;
  font-size: 11px
}

.pagination-ellipsis {
  padding: 3px
}

.empty-state {
  text-align: center;
  color: #9aa6b9;
  padding: 62px 15px;
  font-size: 13px
}

.empty-state .layui-icon {
  display: block;
  font-size: 36px;
  color: #c4d0e2;
  margin-bottom: 12px
}

.empty-state .btn {
  margin-top: 18px
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0
}

.form-group.full {
  grid-column: 1/-1
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: #66748b
}

.form-input,.form-textarea {
  border: 1px solid #dfe5ef;
  border-radius: 5px;
  background: #fff;
  min-height: 40px;
  padding: 8px 12px;
  outline: none;
  width: 100%;
  color: #44536e;
  transition: border-color .15s
}

.form-input:focus,.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #4a7dff10
}

.form-input::placeholder,.form-textarea::placeholder {
  color: #b6bfce
}

.form-textarea {
  resize: vertical;
  min-height: 170px;
  line-height: 1.9
}

.form-input:disabled {
  background: #f4f6fa
}

.random-range-panel {
  background: #f7f9fd;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px
}

.range-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px
}

.range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.range-preview {
  font-size: 12px;
  color: #6d83a7;
  margin-top: 12px
}

.range-preview.is-error {
  color: #d97676
}

.flash {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-size: 12px;
  border: 1px solid
}

.flash-success {
  background: #eefaf5;
  color: #269c77;
  border-color: #d0efdf
}

.flash-error {
  background: #fff3f3;
  color: #c95d5d;
  border-color: #f6d7d7
}

.hidden {
  display: none!important
}

.form-card {
  max-width: 1080px
}

.bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.bulk-selection { color: var(--text-secondary, #64748b); font-size: 13px; }
.selection-cell { width: 42px; text-align: center; }
.selection-checkbox { width: 17px; height: 17px; accent-color: #16b777; cursor: pointer; vertical-align: middle; }
.domain-settings-card, .account-settings-card { margin-bottom: 22px; }
.domain-settings-card .mode-chip, .account-settings-card .mode-chip { white-space: nowrap; flex-shrink: 0; align-self: flex-start; }
.domain-settings-card .form-input { max-width: 760px; }
.domain-origin { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; margin-top: 20px; }
.domain-origin span { color: #64748b; font-size: 13px; }
.domain-origin code { overflow-wrap: anywhere; }
.domain-settings-card > form > .help-text { margin: 14px 0 20px; }
.account-create-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 16px; margin-bottom: 24px; }
.account-create-form .form-group { margin: 0; }
.account-empty { padding: 24px; background: #f7f9fc; border-radius: 8px; color: #64748b; text-align: center; }
.account-actions { display: flex; flex-wrap: wrap; align-items: start; gap: 12px; }
.account-reset summary { padding: 9px 4px; color: #087f5b; cursor: pointer; }
.account-reset form { padding-top: 12px; min-width: 210px; }
.account-reset form .btn { margin-top: 10px; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.status-enabled { background: #e8f7ef; color: #137a45; }
.status-disabled { background: #f1f3f5; color: #687387; }
@media (max-width: 760px) {
  .account-create-form { grid-template-columns: 1fr; align-items: stretch; }
  .account-create-form > .btn { justify-self: start; }
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(280px,1fr);
  gap: 20px
}

.settings-grid>.card {
  min-width: 0
}

.settings-grid .form-group+.form-group {
  margin-top: 18px
}

.summary-strip {
  display: flex;
  gap: 35px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 15px 20px;
  flex-wrap: wrap;
  margin: 18px 0
}

.summary-strip small {
  display: block;
  color: #9ba5b6;
  font-size: 10px
}

.summary-strip strong {
  font-size: 18px;
  font-weight: 500
}

.safe-note {
  font-size: 11px;
  color: #99a4b6;
  padding-top: 14px
}

.rp-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 90vw;
  background: #283750;
  color: white;
  padding: 11px 22px;
  border-radius: 7px;
  box-shadow: 0 8px 24px #15254224;
  font-size: 13px
}

.rp-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px
}

.login-layout {
  width: min(980px,100%);
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 20px 70px #2136510b;
  border: 1px solid #e8edf5
}

.login-story {
  padding: 45px;
  color: white;
  background: #263b60;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.login-story:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #ffffff0e;
  border-radius: 50%;
  right: -150px;
  bottom: -120px;
  box-shadow: 0 0 0 55px #ffffff03,0 0 0 110px #ffffff03
}

.login-story .rp-brand {
  padding: 0;
  height: auto
}

.login-story h2 {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: 1px;
  margin: 60px 0 14px
}

.login-story p {
  font-size: 13px;
  color: #a8bbdb;
  line-height: 2
}

.login-story-foot {
  font-size: 10px;
  color: #7993ba;
  letter-spacing: 1px
}

.login-envelope {
  width: 70px;
  height: 82px;
  border-radius: 10px;
  background: #4a7dff;
  display: grid;
  place-items: center;
  box-shadow: 10px 10px 0 #ffffff09;
  margin-top: 35px
}

.login-envelope i {
  font-size: 38px;
  color: #e6eeff
}

.login-panel {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.login-panel h1 {
  font-size: 25px
}

.login-subtitle {
  font-size: 12px;
  color: #9ba6b8;
  margin: 8px 0 32px
}

.login-panel .form-group {
  margin-bottom: 20px
}

.login-panel .form-input {
  height: 44px
}

.login-submit {
  width: 100%;
  height: 44px;
  margin-top: 10px
}

.login-caption {
  text-align: center;
  color: #a9b2c1;
  font-size: 10px;
  margin-top: 25px
}

@media(min-width:1600px) {
  .rp-main {
    padding-left: 40px;
    padding-right: 40px
  }
  .stat-card {
    padding: 26px
  }
  .trend-chart {
    height: 210px
  }
}

@media(max-width:1100px) {
  .stats-grid {
    gap: 12px
  }
  .stat-card {
    padding: 17px
  }
  .stat-value {
    font-size: 25px
  }
  .rp-main {
    padding-left: 20px;
    padding-right: 20px
  }
  .dashboard-middle {
    grid-template-columns: 1.5fr 1fr
  }
  .settings-grid {
    grid-template-columns: 1fr
  }
  .page-date span {
    display: none
  }
}

@media(max-width:800px) {
  .rp-admin {
    --sidebar-width: 224px
  }
  .rp-sidebar.layui-side {
    transform: translateX(-100%)
  }
  .rp-topbar.layui-header {
    left: 0;
    padding: 0 14px
  }
  .rp-main {
    margin-left: 0;
    padding: 86px 16px 20px
  }
  .sidebar-open .rp-sidebar {
    transform: translateX(0)
  }
  .sidebar-open .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #14223c66;
    z-index: 1001
  }
  .sidebar-collapsed .brand-name,.sidebar-collapsed .rp-nav a span {
    display: block
  }
  .sidebar-collapsed .rp-nav.layui-nav-tree .layui-nav-item a {
    padding: 0 16px;
    justify-content: flex-start
  }
  .sidebar-collapsed .rp-nav {
    padding-top: 0
  }
  .stats-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
  .dashboard-middle {
    grid-template-columns: 1fr
  }
  .page-date {
    display: none
  }
  .topbar-left,.topbar-right {
    gap: 10px
  }
  .breadcrumb {
    font-size: 11px
  }
  .breadcrumb>span {
    padding: 0 6px
  }
  .card {
    padding: 18px
  }
  .table-pagination {
    flex-direction: column;
    align-items: flex-start
  }
  .form-grid {
    gap: 18px
  }
  .login-story {
    padding: 30px
  }
  .login-panel {
    padding: 35px
  }
  .login-story h2 {
    font-size: 26px
  }
}

@media(max-width:540px) {
  .form-grid,.range-grid {
    grid-template-columns: 1fr
  }
  .form-group.full {
    grid-column: auto
  }
  .filter-form {
    padding: 16px
  }
  .filter-form .form-group {
    flex: 1;
    min-width: 120px
  }
  .filter-form .filter-search {
    max-width: none;
    flex-basis: 100%
  }
  .section-heading {
    align-items: flex-start
  }
  .username,.topbar-divider,.topbar-right>[data-refresh] {
    display: none
  }
  .stat-value {
    font-size: 23px
  }
  .stat-foot {
    font-size: 10px
  }
  .page-heading h1 {
    font-size: 22px
  }
  .login-layout {
    display: block;
    min-height: 0
  }
  .login-story {
    display: none
  }
  .login-panel {
    padding: 40px 28px
  }
  .rp-login {
    padding: 20px
  }
  .page-footer {
    font-size: 10px
  }
  .summary-strip {
    gap: 20px
  }
  .trend-chart {
    gap: 10px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important
  }
}

.rp-admin .rp-nav.layui-nav-tree {
  width: 100%!important
}

.rp-nav.layui-nav-tree .layui-nav-item a i {
  margin-right: 0
}

.rp-nav.layui-nav-tree .layui-nav-item a span {
  letter-spacing: 0;
  font-size: 13px
}

.rp-admin .rp-topbar.layui-header {
  width: auto
}

.rp-admin .rp-layout {
  height: auto
}

.rp-admin .rp-sidebar.layui-side {
  z-index: 1002;
  box-shadow: none
}

@media(max-width:800px) {
  .sidebar-collapsed .nav-caption {
    display: block
  }
  .sidebar-collapsed .sidebar-footer {
    display: block
  }
}

@media(max-height:540px) {
  .rp-admin .rp-sidebar.layui-side {
    overflow-y: auto;
    padding-bottom: 20px
  }
  .rp-admin .sidebar-footer {
    display: none
  }
  .rp-brand {
    height: 64px
  }
  .nav-caption {
    padding-top: 14px
  }
}
