:root {
  --red: #b9221e;
  --red-2: #d64b2a;
  --blue: #2f7cf6;
  --gold: #c58a18;
  --green: #0f8c68;
  --text: #1f2633;
  --muted: #667085;
  --line: #e5e9f1;
  --page: #f7f9fc;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  display: flex;
  justify-content: center;
  color: var(--text);
  background: #dfe6f2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .72;
}

.wx-app {
  position: relative;
  width: min(100vw, 430px);
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff4ec 0%, #eaf3ff 248px, #f7f9fc 560px),
    var(--page);
  box-shadow: 0 0 0 1px rgba(216, 224, 236, .86), 0 26px 80px rgba(27, 45, 82, .18);
}

.wx-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 22px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, .92);
}

.wx-indicators {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.signal-bars i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #111827;
}

.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 6px; }
.signal-bars i:nth-child(3) { height: 8px; }
.signal-bars i:nth-child(4) { height: 10px; }

.network {
  font-weight: 900;
}

.battery {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 24px;
  height: 12px;
  padding: 2px;
  border: 1px solid #111827;
  border-radius: 3px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 6px;
  border-radius: 0 2px 2px 0;
  background: #111827;
}

.battery i {
  display: block;
  width: 15px;
  height: 100%;
  border-radius: 2px;
  background: #111827;
}

.wx-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 96px;
  border-bottom: 1px solid rgba(225, 229, 236, .72);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
}

.wx-nav strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-back {
  position: absolute;
  left: 14px;
  top: 7px;
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #283142;
  font-size: 32px;
  line-height: 28px;
}

.nav-back.show {
  display: block;
}

.wx-capsule {
  position: absolute;
  right: 12px;
  top: 8px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  width: 76px;
  height: 32px;
  border: 1px solid rgba(160, 170, 186, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.wx-capsule::before {
  content: "...";
  color: #263142;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 10px;
  text-align: center;
}

.wx-capsule i {
  width: 1px;
  height: 18px;
  background: rgba(160, 170, 186, .55);
}

.wx-capsule b {
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border: 2px solid #263142;
  border-radius: 50%;
}

.wx-body {
  height: calc(100vh - 32px - 48px - 64px);
  min-height: 576px;
  overflow: auto;
  padding: 16px 14px 28px;
  -webkit-overflow-scrolling: touch;
}

.wx-app.no-tab .wx-body {
  height: calc(100vh - 32px - 48px);
  padding-bottom: 32px;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 64px;
  border-top: 1px solid rgba(225, 229, 236, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 22px rgba(31, 56, 110, .08);
}

.wx-app.no-tab .tabbar {
  display: none;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 900;
}

.tab-icon {
  width: 22px;
  height: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.home-icon {
  background-image: url("/mini-assets/tab-home.png");
}

.message-icon {
  background-image: url("/mini-assets/tab-message.png");
}

.user-icon {
  background-image: url("/mini-assets/tab-user.png");
}

.tab.active .home-icon {
  background-image: url("/mini-assets/tab-home-active.png");
}

.tab.active .message-icon {
  background-image: url("/mini-assets/tab-message-active.png");
}

.tab.active .user-icon {
  background-image: url("/mini-assets/tab-user-active.png");
}

.tab.active {
  color: var(--red);
}

.topbar {
  display: flex;
  align-items: center;
  min-height: 54px;
}

.logo {
  width: 50px;
  height: 34px;
  margin-right: 10px;
  object-fit: contain;
}

.app-name {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.community {
  margin-top: 4px;
  color: #8a6a62;
  font-size: 12px;
  font-weight: 800;
}

.status-pill {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(185, 34, 30, .16);
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, .72);
}

.hero {
  position: relative;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: #dfeeff;
  box-shadow: 0 14px 28px rgba(128, 54, 45, .12);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  inset: 34px 18px auto;
  text-align: center;
}

.hero-title,
.hero-subtitle {
  color: var(--red);
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .94);
}

.hero-title {
  font-size: 22px;
  line-height: 1.25;
}

.hero-subtitle {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.metric-strip,
.mini-strip,
.overview,
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(224, 80, 58, .12);
  border-radius: 10px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 8px 18px rgba(99, 54, 42, .05);
}

.metric-strip > div,
.mini-strip > div,
.overview > div,
.segmented button {
  padding: 12px 6px;
  background: #fff;
  text-align: center;
}

.metric-value,
.overview strong {
  display: block;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.metric-label,
.overview span {
  display: block;
  margin-top: 5px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.segmented button {
  color: #647084;
  font-size: 13px;
  font-weight: 900;
}

.segmented button.active {
  color: var(--red);
  background: #fff4ee;
}

.home-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(225, 229, 236, .82);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 18px rgba(40, 67, 120, .05);
  text-align: left;
}

.home-notice-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.home-notice-copy {
  flex: 1;
  min-width: 0;
}

.home-notice-copy strong,
.home-notice-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-notice-copy strong {
  color: #1f2633;
  font-size: 14px;
  font-weight: 900;
}

.home-notice-copy em {
  margin-top: 5px;
  color: #8a94a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.home-notice-arrow {
  flex: 0 0 auto;
  color: #b6bfcc;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(40, 67, 120, .06);
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 86px;
  padding: 10px 6px 8px;
  border: 1px solid rgba(225, 229, 236, .68);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: none;
}

.module-card.orange { color: #c77428; background: linear-gradient(135deg, #fff0d9, #fff8ed); }
.module-card.green { color: #0f8c68; background: linear-gradient(135deg, #dff7ec, #f4fff8); }
.module-card.pink { color: #d94f72; background: linear-gradient(135deg, #ffe2e8, #fff6f8); }
.module-card.blue { color: #2f7cf6; background: linear-gradient(135deg, #e5efff, #f6faff); }
.module-card.emerald { color: #0f8c68; background: linear-gradient(135deg, #d8f6ed, #f4fffb); }

.module-card.orange .module-icon { background: #e08945; }
.module-card.green .module-icon { background: #27ad72; }
.module-card.pink .module-icon { background: #e8607d; }
.module-card.blue .module-icon { background: #4d87d7; }
.module-card.emerald .module-icon { background: #23a77a; }

.module-icon {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}

.module-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 7px;
}

.module-title {
  display: block;
  color: #1f2633;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
}

.module-subtitle {
  display: block;
  height: 14px;
  margin-top: 4px;
  color: #5d6878;
  font-size: 10px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-arrow {
  position: absolute;
  right: 7px;
  bottom: 5px;
  z-index: 4;
  color: rgba(31, 38, 51, .24);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.module-art {
  display: none;
}

.art-shape {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  transform: rotate(-12deg);
  background: currentColor;
  opacity: .2;
}

.art-dot {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
}

.home-section {
  margin-top: 8px;
  padding-bottom: 8px;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}

.home-section-head strong {
  padding-left: 10px;
  border-left: 4px solid var(--red);
  color: #1f2633;
  font-size: 17px;
  font-weight: 900;
}

.home-section-head button {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.home-activity-list {
  display: grid;
  gap: 10px;
}

.home-activity-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 104px;
  padding: 16px 78px 14px 14px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  text-align: left;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.home-activity-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  transform: rotate(-12deg);
  background: rgba(47, 124, 246, .12);
}

.home-activity-tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  background: #fff0e8;
}

.home-activity-card strong,
.home-activity-card em,
.home-activity-card span:last-child {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-activity-card strong {
  margin-top: 9px;
  color: #1f2633;
  font-size: 16px;
  font-weight: 900;
}

.home-activity-card em,
.home-activity-card span:last-child {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.section-title {
  margin: 18px 0 12px;
  padding-left: 10px;
  border-left: 4px solid var(--red);
  font-size: 18px;
  font-weight: 900;
}

.panel-hero {
  position: relative;
  padding: 22px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2), var(--blue));
  box-shadow: 0 16px 32px rgba(136, 54, 47, .16);
  overflow: hidden;
}

.panel-hero::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 160px;
  height: 78px;
  border-radius: 28px;
  transform: rotate(-10deg);
  background: rgba(255, 220, 132, .16);
}

.panel-kicker,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.panel-kicker {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .16);
}

.panel-title {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 24px;
  font-weight: 900;
}

.panel-subtitle {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  opacity: .9;
}

.report-hero,
.detail-hero {
  position: relative;
  padding: 22px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 16px 32px rgba(136, 54, 47, .18);
  overflow: hidden;
}

.report-hero {
  margin-bottom: 14px;
}

.report-hero::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -46px;
  width: 132px;
  height: 98px;
  border-radius: 28px;
  transform: rotate(-12deg);
  background: rgba(255, 255, 255, .14);
}

.hero-kicker,
.activity-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, .18);
}

.report-hero .hero-title,
.report-hero .hero-subtitle {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: none;
}

.report-hero .hero-title {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 900;
}

.report-hero .hero-subtitle {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  opacity: .92;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.flow-item {
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 67, 120, .06);
}

.flow-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--red);
}

.flow-dot.gold {
  background: var(--gold);
}

.flow-dot.blue {
  background: var(--blue);
}

.flow-item strong {
  display: block;
  color: #1f2633;
  font-size: 12px;
  font-weight: 900;
}

.flow-item em {
  display: block;
  margin-top: 4px;
  color: #8a94a6;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.report-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.report-overview div {
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.report-overview strong,
.report-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.report-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.report-entry-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  width: 100%;
  margin-top: 12px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .08);
}

.submit-card {
  background: linear-gradient(110deg, #fff2e9 0%, #fff8f2 100%);
}

.list-card {
  background: linear-gradient(110deg, #eff6ff 0%, #f5fbff 100%);
}

.entry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(185, 34, 30, .2);
}

.list-card .entry-icon {
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(47, 124, 246, .22);
}

.entry-copy {
  flex: 1;
  min-width: 0;
}

.entry-copy strong {
  display: block;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.entry-copy em {
  display: block;
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.entry-action {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  background: var(--red);
}

.list-card .entry-action {
  background: var(--blue);
}

.report-guide {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #fff8f3 100%);
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.register-guide {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.sink-profile-guide {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.guide-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2633;
  font-size: 16px;
  font-weight: 900;
}

.guide-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #edf0f5;
}

.guide-grid div {
  padding: 10px 6px;
  background: #fff;
  text-align: center;
}

.guide-grid strong,
.guide-grid span {
  display: block;
}

.guide-grid strong {
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
}

.guide-grid span {
  margin-top: 5px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.report-guide p,
.register-guide p,
.sink-profile-guide p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.profile-bind-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .05);
}

.profile-bind-strip span,
.profile-bind-strip strong,
.profile-bind-strip em {
  min-width: 0;
  font-weight: 900;
}

.profile-bind-strip span {
  color: #1f2633;
  font-size: 15px;
}

.profile-bind-strip strong {
  color: var(--red);
  font-size: 14px;
  text-align: right;
}

.profile-bind-strip em {
  grid-column: 1 / -1;
  color: #8a94a6;
  font-size: 12px;
  font-style: normal;
}

.detail-title {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.detail-place {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  opacity: .9;
}

.activity-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.activity-summary div {
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.activity-summary strong {
  display: block;
  overflow: hidden;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-summary span {
  display: block;
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.info-card,
.content-card {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.info-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row span:first-child {
  color: #667085;
  font-weight: 800;
}

.info-row span:last-child {
  color: #202736;
  font-weight: 900;
  text-align: right;
}

.content-card {
  white-space: pre-wrap;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}

.content-title {
  margin-bottom: 10px;
  color: #202736;
  font-size: 16px;
  font-weight: 900;
}

.bottom-action {
  margin: 14px -2px 18px;
  padding: 12px;
  border: 1px solid rgba(225, 229, 236, .82);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 24px rgba(40, 67, 120, .08);
}

.signup {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(125deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 10px 24px rgba(185, 34, 30, .2);
}

.signup.signed,
.signup:disabled {
  color: #667085;
  background: #eef2f7;
  box-shadow: none;
}

.signup-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #d8e0ec;
  border-radius: 12px;
  background: #fff;
}

.signup-guide div {
  min-width: 0;
}

.signup-guide strong,
.signup-guide span {
  display: block;
}

.signup-guide strong {
  color: #202736;
  font-size: 14px;
  font-weight: 900;
}

.signup-guide span {
  margin-top: 5px;
  color: #7a8495;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.signup-guide em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  background: #fff0e8;
}

.points-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 20px 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 16px 32px rgba(136, 54, 47, .16);
}

.points-summary-label {
  font-size: 15px;
  font-weight: 900;
  opacity: .92;
}

.points-summary-value {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.points-summary-subtitle {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  opacity: .86;
}

.points-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.points-overview div {
  min-width: 0;
  padding: 13px 6px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(40, 67, 120, .05);
}

.points-overview strong {
  display: block;
  overflow: hidden;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.points-overview span {
  display: block;
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.code-btn {
  flex: 0 0 auto;
  max-width: 132px;
  padding: 9px 12px;
  border-radius: 999px;
  overflow: hidden;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8ecf3;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.quick-item {
  min-height: 78px;
  padding: 16px 14px;
  background: #fff;
  text-align: left;
}

button.quick-item {
  display: block;
  width: 100%;
}

.quick-title {
  font-size: 15px;
  font-weight: 900;
}

.quick-desc {
  margin-top: 6px;
  color: #8c94a3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.points-record-panel {
  margin-top: 12px;
}

.points-record-list {
  display: grid;
  gap: 8px;
}

.points-record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(225, 229, 236, .9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(40, 67, 120, .05);
}

.record-main,
.record-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.record-main {
  flex: 1;
}

.record-main strong,
.record-side strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-main em,
.record-side em {
  margin-top: 5px;
  color: #8c94a3;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.record-side {
  flex: 0 0 auto;
  align-items: flex-end;
}

.record-side strong {
  color: var(--red);
}

.points-record-empty {
  padding: 24px 14px;
  border: 1px dashed #d9e0ea;
  border-radius: 12px;
  color: #8c94a3;
  background: #fff;
  text-align: center;
}

.points-record-empty strong,
.points-record-empty span {
  display: block;
}

.points-record-empty strong {
  color: #3b4352;
  font-size: 14px;
  font-weight: 900;
}

.points-record-empty span {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  margin-top: 44px;
  padding: 28px 16px;
  border: 1px dashed #d9e0ea;
  border-radius: 12px;
  color: #b9c0cc;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.empty-visual {
  width: 96px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef3fb, #dfe7f2);
  opacity: .82;
}

.empty-visual.small {
  width: 72px;
  height: 52px;
  margin-bottom: 12px;
}

.service-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  padding: 22px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 16px 32px rgba(136, 54, 47, .16);
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -42px;
  width: 160px;
  height: 82px;
  border-radius: 26px;
  transform: rotate(-10deg);
  background: rgba(255, 221, 141, .18);
}

.service-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, .18);
}

.service-hero-title {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 24px;
  font-weight: 900;
}

.service-hero-subtitle {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  opacity: .9;
}

.service-hero-stat {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .16);
}

.service-hero-stat strong {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.service-hero-stat span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
  opacity: .9;
}

.service-section,
.card,
.notice,
.profile-head,
.points-card,
.form-card {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

button.card,
button.notice,
button.profile-head,
button.points-card {
  text-align: left;
}

.service-heading,
.card-head,
.row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
}

.service-heading-copy {
  min-width: 0;
}

.service-heading-copy strong {
  display: block;
}

.service-heading-copy em {
  display: block;
  margin-top: 4px;
  color: #98a2b3;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.card-head.between,
.row-head.between {
  justify-content: space-between;
}

.row-head em {
  display: block;
  max-width: 220px;
  margin-top: 6px;
  overflow: hidden;
  color: #8a94a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-icon,
.card-icon,
.notice-icon,
.menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.message-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid transparent;
}

.message-notice {
  border-left-color: #c58a18;
}

.message-report {
  border-left-color: var(--blue);
}

.message-activity {
  border-left-color: #d94f72;
}

.message-item .notice-icon.report {
  background: linear-gradient(135deg, var(--blue), #75a9ff);
}

.message-item .notice-icon.activity {
  background: linear-gradient(135deg, #d94f72, #f1a33a);
}

.notice-main {
  flex: 1;
  min-width: 0;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.notice-meta em,
.notice-meta i {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.notice-meta em {
  color: var(--red);
  background: #fff0e8;
}

.notice-meta i {
  color: #2f7cf6;
  background: #eaf3ff;
}

.notice-title {
  display: block;
  color: #202736;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.notice-content {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.notice-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.notice-time {
  min-width: 0;
  overflow: hidden;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-action {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.message-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #d8e0ec;
  border-radius: 12px;
  background: #fff;
}

.message-hint strong,
.message-hint span {
  display: block;
}

.message-hint strong {
  flex: 0 0 auto;
  color: #202736;
  font-size: 13px;
  font-weight: 900;
}

.message-hint span {
  color: #7a8495;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.message-hint.error {
  border-color: #f0b4ad;
  background: #fff8f5;
}

.message-filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.message-filter-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 6px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 999px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 67, 120, .04);
}

.message-filter-tabs button.active {
  border-color: rgba(185, 34, 30, .18);
  color: var(--red);
  background: #fff4ee;
}

.message-filter-tabs strong {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  background: #c1c8d4;
}

.message-filter-tabs button.active strong {
  background: var(--red);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.service-search {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.service-search span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.service-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #344054;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.service-search input::placeholder {
  color: #a3adbd;
}

.service-search em {
  color: #8a94a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.service-empty {
  padding-top: 24px;
  padding-bottom: 24px;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 10px;
  border: 1px solid #e4ecfb;
  border-radius: 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  background: linear-gradient(180deg, #fff, #f8fbff);
  text-align: left;
}

.service-btn span {
  flex: 1;
  min-width: 0;
}

.service-btn b {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}

.action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 92px;
}

.action-card strong,
.card-title {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.action-copy em,
.work-copy span,
.card p,
.notice p,
.desc {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
}

.action,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.primary-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border-radius: 999px;
  font-size: 15px;
}

.link-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.link-overview div {
  min-width: 0;
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.link-overview strong,
.link-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.link-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.external-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.external-overview div {
  min-width: 0;
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.external-overview strong,
.external-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.external-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.external-card .card-head {
  margin-bottom: 12px;
}

.external-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.external-row span {
  color: #8a94a6;
  font-weight: 900;
}

.external-row strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.external-tip {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  color: #7a8495;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  background: #f8fafc;
}

.link-url {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  background: #f4f7fb;
  overflow-wrap: anywhere;
}

.plain-btn {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.activity-status,
.role-badge,
.status-badge {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  background: #fff0e8;
}

.activity-status.signed {
  color: #0f8c68;
  background: #e7f8f1;
}

.activity-filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.activity-filter-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 6px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 999px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 67, 120, .04);
}

.activity-filter-tabs button.active {
  border-color: rgba(185, 34, 30, .18);
  color: var(--red);
  background: #fff4ee;
}

.activity-filter-tabs strong {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  background: #c1c8d4;
}

.activity-filter-tabs button.active strong {
  background: var(--red);
}

.message-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.message-overview div {
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.message-overview strong {
  display: block;
  overflow: hidden;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-overview span {
  display: block;
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-actions .section-title {
  margin-bottom: 8px;
}

.points-entry {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.activity-item .card-head strong {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.activity-item.signed {
  border-left: 3px solid #0f8c68;
}

.activity-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.activity-meta-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-meta-row span:last-child {
  flex: 0 0 auto;
  color: var(--red);
}

.role-badge.allowed {
  color: #0f8c68;
  background: #e7f8f1;
}

.role-badge.locked {
  color: #98a2b3;
  background: #f2f4f7;
}

.activity-bottom,
.role-row,
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: #8a94a6;
  font-size: 12px;
}

.activity-bottom em {
  display: block;
  font-style: normal;
  line-height: 1.45;
}

.list-summary {
  margin-top: -4px;
  color: #8a94a6;
  font-size: 13px;
  font-weight: 800;
}

.report-list-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.report-list-overview div {
  min-width: 0;
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.report-list-overview strong,
.report-list-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-list-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.report-list-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.report-filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.report-filter-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 6px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 999px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 67, 120, .04);
}

.report-filter-tabs button.active {
  border-color: rgba(185, 34, 30, .18);
  color: var(--red);
  background: #fff4ee;
}

.report-filter-tabs strong {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  background: #c1c8d4;
}

.report-filter-tabs button.active strong {
  background: var(--red);
}

.report-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.report-loop-card .steps {
  margin-top: 16px;
}

.loop-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
}

.loop-overview div {
  min-width: 0;
  padding: 12px 6px;
  background: #fff;
  text-align: center;
}

.loop-overview strong,
.loop-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loop-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.loop-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.report-feedback-card p,
.report-review-card p {
  white-space: normal;
}

.feedback-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: #8a94a6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.report-review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-review-card > div {
  min-width: 0;
}

.review-action {
  flex: 0 0 auto;
  min-width: 88px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.review-action:disabled {
  color: #98a2b3;
  background: #eef2f7;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.attachment-btn,
.image-preview-btn {
  display: block;
  width: 100%;
}

.attachment,
.upload-image {
  display: block;
}

.attachment {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  background: #f2f4f7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px;
  color: #9aa3b2;
  font-size: 11px;
  text-align: center;
}

.step {
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  left: -50%;
  top: 7px;
  width: 100%;
  height: 1px;
  background: #e4e7ec;
}

.step:first-child::before {
  display: none;
}

.step-dot {
  width: 14px;
  height: 14px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #d0d5dd;
}

.step.active {
  color: var(--red);
  font-weight: 900;
}

.step.active::before,
.step.active .step-dot {
  background: var(--red);
}

.field {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.field:last-child {
  border-bottom: 0;
}

.field label {
  font-weight: 900;
}

.field span {
  color: #7a8495;
  text-align: right;
}

.mini-form {
  padding: 0 16px;
}

.control-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.control-field:last-child {
  border-bottom: 0;
}

.control-field span,
.control-block span {
  color: #1f2633;
  font-weight: 900;
}

.control-field.required > span:first-child::before {
  content: "*";
  margin-right: 4px;
  color: var(--red);
}

.control-field input,
.control-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #344054;
  font: inherit;
  font-weight: 800;
  background: transparent;
  text-align: right;
}

.control-field input::placeholder,
.control-block textarea::placeholder {
  color: #a3adbd;
}

.control-field input[readonly] {
  color: var(--red);
}

.profile-select-field {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  min-height: 0;
  padding: 12px 0;
}

.profile-select-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 34px 10px 12px;
  border: 1px solid #e4ecfb;
  border-radius: 10px;
  background: #f8fbff;
}

.profile-select-box::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94a6;
  font-size: 16px;
  font-weight: 900;
}

.profile-select-value {
  min-width: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.profile-select-value.placeholder {
  color: #a3adbd;
}

.profile-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.control-block {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.control-block textarea {
  width: 100%;
  min-height: 104px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e4ecfb;
  border-radius: 10px;
  outline: 0;
  resize: none;
  color: #344054;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  background: #f8fafc;
}

.textarea-box,
.upload-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  color: #7a8495;
  font-size: 13px;
  line-height: 1.6;
  background: #f8fafc;
}

.upload-row {
  display: grid;
  grid-template-columns: repeat(4, 72px);
  gap: 10px;
  margin-top: 10px;
}

.upload-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px dashed #cbd6e8;
  border-radius: 10px;
  color: var(--red);
  font-weight: 900;
  background: #fff;
}

button.upload-cell {
  color: var(--red);
}

.upload-cell span {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.upload-cell em {
  margin-top: 4px;
  color: #8a94a6;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.upload-cell.uploading {
  color: #98a2b3;
  background: #f8fafc;
}

.image-wrap {
  position: relative;
  display: block;
  width: 72px;
  height: 72px;
}

.upload-image {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #f2f4f7;
}

.image-preview-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 16, 28, .9);
}

.image-preview-layer img {
  max-width: min(100%, 430px);
  max-height: calc(100vh - 112px);
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
}

.image-preview-close {
  position: absolute;
  right: max(18px, calc((100vw - 430px) / 2 + 18px));
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  background: rgba(255, 255, 255, .16);
}

.remove-image {
  position: absolute;
  right: -6px;
  top: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  background: rgba(31, 38, 51, .86);
}

.file-input {
  display: none;
}

.loading-card {
  margin-top: 12px;
  padding: 32px 18px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  color: #8a94a6;
  background: #fff;
  text-align: center;
  font-weight: 900;
}

.login-hero {
  position: relative;
  height: 260px;
  margin: -16px -14px 0;
  overflow: hidden;
}

.login-hero img,
.login-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-hero img {
  object-fit: cover;
}

.login-mask {
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(247, 249, 252, .9));
}

.login-hero-title,
.login-hero-subtitle {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .92);
}

.login-hero-title {
  padding: 132px 18px 0;
  font-size: 24px;
  line-height: 1.25;
}

.login-hero-subtitle {
  margin-top: 8px;
  padding: 0 18px;
  font-size: 17px;
  line-height: 1.35;
}

.login-card {
  position: relative;
  z-index: 2;
  margin: -42px 8px 0;
  padding: 24px 18px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(94, 46, 42, .14);
}

.login-title {
  color: #1f2633;
  font-size: 21px;
  font-weight: 900;
  text-align: center;
}

.login-card p {
  margin: 14px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.auth-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid #e4eaf4;
  border-radius: 12px;
  background: #f8fbff;
}

.auth-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  background: var(--red);
}

.auth-panel strong,
.auth-panel em {
  display: block;
  font-style: normal;
}

.auth-panel strong {
  color: #1f2633;
  font-size: 14px;
  font-weight: 900;
}

.auth-panel em {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}

.login-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(125deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 10px 24px rgba(185, 34, 30, .2);
}

.agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: #646b76;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.agreement-row button:not(.checkbox) {
  color: var(--red);
  font-weight: 900;
}

.checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #b5bbc5;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 14px;
  text-align: center;
}

.checkbox.checked {
  border-color: var(--red);
  background: var(--red);
}

.agreement-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(225, 229, 236, .78);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  box-shadow: 0 10px 22px rgba(99, 54, 42, .06);
}

.agreement-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
  padding: 5px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .05);
}

.agreement-tabs button {
  min-width: 0;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agreement-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 8px 18px rgba(185, 34, 30, .16);
}

.summary-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, #d92d20 0%, #f0a23a 100%);
}

.agreement-summary strong,
.agreement-summary em {
  display: block;
}

.agreement-summary strong {
  color: #202736;
  font-size: 15px;
  font-weight: 900;
}

.agreement-summary em {
  margin-top: 5px;
  color: #7a6170;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.agreement-card {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  color: #4b5565;
  font-size: 14px;
  line-height: 1.8;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.agreement-card p {
  margin: 0 0 14px;
}

.dashboard-hero {
  padding: 22px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 16px 32px rgba(136, 54, 47, .16);
}

.dashboard-role {
  font-size: 13px;
  font-weight: 900;
  opacity: .9;
}

.dashboard-title {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 900;
}

.dashboard-subtitle {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  opacity: .9;
}

.work-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.work-card {
  display: block;
  width: 100%;
  padding: 18px 16px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.work-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.work-title,
.work-desc {
  display: block;
}

.work-title {
  color: #202736;
  font-size: 17px;
  font-weight: 900;
}

.work-desc {
  margin-top: 7px;
  color: #687385;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.task-card,
.reminder-card {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-head strong,
.reminder-card strong {
  color: #202736;
  font-size: 16px;
  font-weight: 900;
}

.task-head span {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  background: #fff0e8;
}

.task-card p,
.reminder-card p {
  margin: 10px 0 0;
  color: #647084;
  font-size: 14px;
  line-height: 1.6;
}

.task-time,
.reminder-card div {
  margin-top: 10px;
  color: #98a1ad;
  font-size: 12px;
  font-weight: 800;
}

.empty-panel {
  margin-top: 20px;
  padding: 44px 16px;
  border: 1px dashed #d9e0ea;
  border-radius: 12px;
  color: #aab2bf;
  background: #fff;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(40, 67, 120, .06);
}

.profile-head {
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-right: 14px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  background: rgba(255, 255, 255, .22);
}

.profile-copy {
  display: block;
  min-width: 0;
}

.profile-name {
  display: block;
  overflow: hidden;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-role {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  font-size: 13px;
  opacity: .9;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.points-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.points-copy {
  flex: 1;
  min-width: 0;
}

.points-label {
  display: block;
  color: #1f2633;
  font-size: 15px;
  font-weight: 900;
}

.points-card strong,
.points-value {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.points-desc {
  display: block;
  margin-top: 6px;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.profile-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.profile-overview button {
  min-width: 0;
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.profile-overview strong,
.profile-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.profile-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.profile-section-title {
  margin-top: 18px;
}

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

.profile-service-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 78px;
  padding: 14px 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.profile-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), #d58a08);
}

.profile-service-card strong,
.profile-service-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-service-card strong {
  color: #202736;
  font-size: 14px;
  font-weight: 900;
}

.profile-service-card em {
  margin-top: 5px;
  color: #8a94a6;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.profile-latest-list {
  display: grid;
  gap: 10px;
}

.profile-latest-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.profile-latest-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.profile-latest-card.activity .profile-latest-mark {
  background: linear-gradient(135deg, #c44a15, #d58a08);
}

.profile-latest-main {
  min-width: 0;
}

.profile-latest-meta,
.profile-latest-card strong,
.profile-latest-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-latest-meta {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 800;
}

.profile-latest-card strong {
  margin-top: 3px;
  color: #202736;
  font-size: 14px;
  font-weight: 900;
}

.profile-latest-card em {
  margin-top: 4px;
  color: #8a94a6;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.profile-latest-action {
  color: #2478f2;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-latest-empty {
  padding: 28px 12px;
  border: 1px dashed #d9e0ea;
  border-radius: 12px;
  color: #a3adbd;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.role-card {
  position: relative;
  padding-right: 46px;
}

.role-card.selected {
  border-color: rgba(185, 34, 30, .36);
  background: #fff8f3;
  box-shadow: 0 14px 26px rgba(185, 34, 30, .08);
}

.sink-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.sink-overview div {
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.sink-overview strong,
.sink-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sink-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.sink-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.sink-dashboard-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(225, 229, 236, .86);
  border-radius: 12px;
  overflow: hidden;
  background: #edf0f5;
  box-shadow: 0 10px 22px rgba(40, 67, 120, .06);
}

.sink-dashboard-overview button {
  min-width: 0;
  padding: 13px 6px;
  background: #fff;
  text-align: center;
}

.sink-dashboard-overview strong,
.sink-dashboard-overview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sink-dashboard-overview strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.sink-dashboard-overview span {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
}

.role-check {
  position: absolute;
  right: 16px;
  top: 18px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.menu-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.menu-row:last-child {
  border-bottom: 0;
}

.empty {
  margin-top: 12px;
  padding: 46px 18px;
  border: 1px dashed #d9e0ea;
  border-radius: 12px;
  color: #a3adbd;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.action-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.action-empty strong {
  color: #1f2633;
  font-size: 16px;
  font-weight: 900;
}

.action-empty span {
  max-width: 260px;
  color: #8a94a6;
  font-size: 13px;
  line-height: 1.5;
}

.empty-action {
  min-width: 132px;
  height: 38px;
  margin-top: 4px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 10px 20px rgba(185, 34, 30, .16);
}

.subscribe {
  position: sticky;
  right: 0;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 18px 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 12px 26px rgba(185, 34, 30, .22);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 108px;
  z-index: 10;
  max-width: min(320px, calc(100vw - 48px));
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  background: rgba(31, 38, 51, .9);
  box-shadow: 0 12px 28px rgba(31, 38, 51, .2);
  transform: translateX(-50%);
}

.mini-launch-layer {
  position: fixed;
  inset: 0;
  z-index: 36;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 14px;
  background: rgba(15, 23, 42, .34);
}

.mini-launch-card {
  width: min(430px, 100%);
  padding: 10px 16px 16px;
  border-radius: 18px 18px 14px 14px;
  background: #fff;
  box-shadow: 0 -18px 44px rgba(15, 23, 42, .2);
}

.launch-handle {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #d6dce6;
}

.launch-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.launch-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 10px 22px rgba(185, 34, 30, .18);
}

.launch-copy {
  min-width: 0;
}

.launch-copy strong,
.launch-copy em {
  display: block;
}

.launch-copy strong {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.launch-copy em {
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.launch-target {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f7f9fc;
}

.launch-target span,
.launch-target strong {
  display: block;
}

.launch-target span {
  color: #8a94a6;
  font-size: 12px;
  font-weight: 800;
}

.launch-target strong {
  margin-top: 6px;
  color: #1f2633;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.launch-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  background: #fff7ed;
}

.launch-config {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.launch-config div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
}

.launch-config div:last-child {
  border-bottom: 0;
}

.launch-config span {
  color: #8a94a6;
  font-weight: 800;
}

.launch-config strong {
  min-width: 0;
  overflow: hidden;
  color: #344054;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launch-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: 14px;
}

.launch-actions button {
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.launch-cancel {
  color: #667085;
  background: #f2f4f7;
}

.launch-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 23, 42, .38);
}

.modal-card {
  width: min(320px, 100%);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
}

.modal-title {
  padding: 22px 22px 8px;
  color: #1f2633;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.modal-content {
  padding: 0 24px 22px;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.modal-actions.single {
  grid-template-columns: 1fr;
}

.modal-actions button {
  min-height: 48px;
  font-size: 15px;
  font-weight: 900;
}

.modal-cancel {
  color: #667085;
  border-right: 1px solid var(--line);
}

.modal-confirm {
  color: var(--red);
}

@media (max-width: 430px) {
  body {
    background: var(--page);
  }

  .wx-app {
    width: 100vw;
    min-height: 100vh;
    box-shadow: none;
  }
}
