.AdminRoot {
  min-height: 100vh;
  background: #f5f7fb;
  color: #172033;
  position: relative;
  overflow: hidden;
}
.AdminScroll {
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
.H5Page--admin .Hero,
.H5Page--admin .AdminHero {
  height: 132px !important;
  min-height: 132px !important;
  border-bottom-left-radius: 22px !important;
  border-bottom-right-radius: 22px !important;
  overflow: hidden !important;
  background: #dbeafe !important;
}
.H5Page--admin .HeroBg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.H5Page--admin .HeroFx {
  display: block !important;
  opacity: 1 !important;
}
.H5Page--admin .HeroShade {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.13) 22%, rgba(0,0,0,.085) 48%, rgba(0,0,0,.028) 70%, rgba(0,0,0,0) 84%),
    linear-gradient(270deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.035) 14%, rgba(0,0,0,.008) 26%, rgba(0,0,0,0) 38%) !important;
}
.H5Page--admin .HeroContent {
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  bottom: 34px !important;
  z-index: 2 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  gap: 5px !important;
}
.H5Page--admin .HeroSubtitle {
  display: block !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  margin: 0 !important;
  text-shadow: 0 4px 12px rgba(0,0,0,.14) !important;
}
.H5Page--admin .HeroTitle {
  display: block !important;
  color: #fff !important;
  font-size: 23px !important;
  line-height: 1.15 !important;
  font-weight: 760 !important;
  margin: 0 !important;
  text-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
}
.AdminPanel {
  margin: -18px 16px 26px;
  position: relative;
  z-index: 3;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 14px 36px rgba(31,48,82,.12);
  backdrop-filter: blur(12px);
}
.AdminPanel--detail {
  padding: 16px 16px 20px;
}
.AdminOverview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.AdminOverviewLabel {
  display: block;
  color: #7a8496;
  font-size: 12px;
  line-height: 1.2;
}
.AdminOverviewTitle {
  display: block;
  margin-top: 4px;
  color: #172033;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 820;
}
.AdminAddEntry,
.AdminBackBtn {
  min-width: 68px;
  height: 34px;
  line-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: #25599f;
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}
.AdminSearch {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(226,234,246,.9);
  margin-bottom: 14px;
}
.AdminInput {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(205,216,234,.92);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 13px;
  color: #172033;
  outline: none;
}
.AdminInput--search {
  flex: 1 1 auto;
  background: #fff;
}
.AdminMiniBtn,
.AdminPrimaryBtn,
.AdminActionBtn {
  border: 0;
  border-radius: 14px;
  background: #eef5ff;
  color: #25599f;
  font-weight: 720;
  font-size: 13px;
  line-height: 38px;
  height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}
.AdminState {
  padding: 20px 14px;
  border-radius: 18px;
  background: #f8fafc;
  color: #7a8496;
  text-align: center;
  font-size: 13px;
}
.AdminState--error {
  color: #b91c1c;
}
.AdminListCard {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(226,234,246,.92);
  box-shadow: 0 8px 20px rgba(36,50,88,.055);
}
.AdminAvatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 15px;
  background: linear-gradient(145deg, #eef5ff, #ffffff);
  color: #25599f;
  font-size: 17px;
  font-weight: 820;
  display: flex;
  align-items: center;
  justify-content: center;
}
.AdminListMain {
  flex: 1 1 auto;
  min-width: 0;
}
.AdminListLine {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.AdminListName {
  display: block;
  min-width: 0;
  color: #172033;
  font-size: 14px;
  font-weight: 780;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.AdminListSub {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7a8496;
  font-size: 12px;
}
.AdminDot {
  opacity: .62;
}
.AdminChevron {
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
}
.AdminStatus {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 760;
}
.AdminStatus--on {
  background: #ecfdf5;
  color: #047857;
}
.AdminStatus--off {
  background: #fef2f2;
  color: #b91c1c;
}
.AdminDetailTop {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.AdminDetailTitleBox {
  min-width: 0;
}
.AdminDetailType {
  display: block;
  color: #7a8496;
  font-size: 12px;
  line-height: 1.2;
}
.AdminDetailTitle {
  display: block;
  margin-top: 3px;
  color: #172033;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.AdminDetailCard {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fbff, #ffffff);
  border: 1px solid rgba(224,233,246,.9);
}
.AdminLabel {
  display: block;
  color: #667085;
  font-size: 12px;
  margin-bottom: 6px;
}
.AdminLabel--mt {
  margin-top: 12px;
}
.AdminHint {
  margin-top: 9px;
  font-size: 12px;
  color: #7a8496;
  line-height: 1.5;
}
.AdminActionGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}
.AdminPrimaryBtn {
  margin-top: 13px;
  width: 100%;
  background: linear-gradient(135deg, #386fca, #65a7ea);
  color: #fff;
}
.AdminActionBtn {
  height: 37px;
  line-height: 37px;
  font-size: 12.5px;
  padding: 0 10px;
}
.AdminActionBtn--primary {
  background: #eef5ff;
  color: #25599f;
}
.AdminActionBtn--warn {
  background: #fff7ed;
  color: #c05621;
}
.AdminActionBtn--muted {
  background: #f3f4f6;
  color: #5b6472;
}
.AdminActionBtn--danger {
  background: #fef2f2;
  color: #b91c1c;
}
