:root {
  --wp-benefit-blue: #1769ff;
  --wp-benefit-navy: #0a2f63;
  --wp-benefit-soft: #eef6ff;
  --wp-benefit-line: #d8e8ff;
  --wp-benefit-muted: #67809f;
  --wp-benefit-green: #0a9f69;
}

.wp-benefit-shell, .wp-benefit-shell * { box-sizing: border-box; }
.wp-benefit-shell { color: #0c2445; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
[data-benefits-card] { display: block; min-width: 0; max-width: 100%; }
.main-content-left > [data-benefits-card="full"] { width: 100%; }
.main-content-left > [data-benefits-card="full"] .wp-benefit-full-card { margin-bottom: 0; }

.wp-benefit-full-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 0 20px;
  padding: 22px 24px;
  border: 1px solid var(--wp-benefit-line);
  border-radius: 24px;
  background: linear-gradient(135deg, #f9fcff 0%, #eef6ff 100%);
  box-shadow: 0 12px 34px rgba(43, 94, 160, .08);
}
.wp-benefit-full-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -52px;
  top: -70px;
  border-radius: 50%;
  background: rgba(23, 105, 255, .065);
}
.wp-benefit-kicker { margin-bottom: 5px; color: var(--wp-benefit-blue); font-size: 10px; font-weight: 800; letter-spacing: .20em; }
.wp-benefit-heading { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 16px; }
.wp-benefit-title { margin: 0; color: #071f42; font-size: clamp(23px, 2.4vw, 31px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.wp-benefit-count { display: flex; align-items: baseline; gap: 4px; min-width: 82px; padding: 8px 12px; border: 1px solid rgba(23,105,255,.08); border-radius: 14px; background: rgba(255,255,255,.76); color: var(--wp-benefit-blue); font-weight: 800; text-align: center; }
.wp-benefit-count strong { font-size: 23px; line-height: 1; }
.wp-benefit-count span { font-size: 12px; }
.wp-benefit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.wp-benefit-item { display: flex; align-items: center; min-width: 0; min-height: 58px; padding: 10px 12px; border: 1px solid rgba(23,105,255,.09); border-radius: 15px; background: rgba(255,255,255,.88); }
.wp-benefit-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; margin-right: 9px; border-radius: 10px; background: #e8f2ff; color: var(--wp-benefit-blue); font-size: 10px; font-weight: 850; }
.wp-benefit-item-copy { min-width: 0; overflow-wrap: anywhere; color: #12345d; font-size: 12px; line-height: 1.38; font-weight: 700; }
.wp-benefit-foot { position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 14px; }
.wp-benefit-note { color: var(--wp-benefit-muted); font-size: 13px; }
.wp-benefit-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 12px; background: var(--wp-benefit-blue); color: #fff !important; font-size: 13px; font-weight: 750; text-decoration: none !important; box-shadow: 0 8px 20px rgba(23,105,255,.20); }

.wp-benefit-feature-card { width: 100%; margin: 0 0 16px; padding: 20px; border: 1px solid #e5ebf3; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(17,47,88,.055); }
.wp-benefit-feature-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wp-benefit-feature-heading h3 { margin: 0; color: #101d31; font-size: 18px; line-height: 1.25; font-weight: 800; }
.wp-benefit-feature-count { padding: 5px 9px; border-radius: 999px; background: #edf5ff; color: var(--wp-benefit-blue); font-size: 11px; font-weight: 800; white-space: nowrap; }
.wp-benefit-feature-list { display: grid; gap: 12px; }
.wp-benefit-feature-item { display: flex; align-items: center; gap: 11px; min-width: 0; }
.wp-benefit-feature-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #edf5ff; color: var(--wp-benefit-blue); font-size: 10px; font-weight: 850; }
.wp-benefit-feature-item > span:last-child { min-width: 0; }
.wp-benefit-feature-item strong, .wp-benefit-feature-item small { display: block; }
.wp-benefit-feature-item strong { color: #17243a; font-size: 13px; line-height: 1.3; }
.wp-benefit-feature-item small { margin-top: 2px; color: #7a899d; font-size: 11px; line-height: 1.4; }
.wp-benefit-feature-link { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-top: 16px; padding: 0 14px; border-radius: 12px; background: #f2f7ff; color: #1161d9 !important; font-size: 12px; font-weight: 800; text-decoration: none !important; transition: background .18s ease, transform .18s ease; }
.wp-benefit-feature-link:hover { background: #e8f2ff; transform: translateY(-1px); }

.wp-benefit-profile-link { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border: 1px solid #e3ecf7; border-radius: 16px; background: #fff; color: #0c2445 !important; text-decoration: none !important; }
.wp-benefit-profile-link:hover { border-color: #b8d5ff; transform: translateY(-1px); }
.wp-benefit-profile-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #eaf3ff; color: var(--wp-benefit-blue); font-weight: 800; }
.wp-benefit-profile-copy { min-width: 0; flex: 1; }
.wp-benefit-profile-copy strong, .wp-benefit-profile-copy span { display: block; }
.wp-benefit-profile-copy span { margin-top: 3px; color: #7b8da6; font-size: 13px; }
.wp-benefit-profile-badge { min-width: 24px; height: 24px; padding: 0 7px; display: none; place-items: center; border-radius: 999px; background: var(--wp-benefit-blue); color: #fff; font-size: 12px; font-weight: 800; }

body.wp-benefits-page { margin: 0; background: #f3f7fd; color: #0c2445; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
.wp-benefits-page-wrap { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 80px; }
.wp-benefits-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #314b70; text-decoration: none; font-weight: 700; }
.wp-benefits-hero { padding: 30px; border: 1px solid var(--wp-benefit-line); border-radius: 28px; background: linear-gradient(145deg,#fbfdff,#eaf4ff); box-shadow: 0 18px 48px rgba(33,75,130,.09); }
.wp-benefits-hero-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.wp-benefits-hero h1 { margin: 9px 0 8px; font-size: clamp(32px, 6vw, 48px); }
.wp-benefits-hero p { margin: 0; color: #647b99; line-height: 1.7; }
.wp-benefits-total { flex: 0 0 110px; padding: 18px; border-radius: 22px; background: var(--wp-benefit-blue); color: #fff; text-align: center; box-shadow: 0 16px 30px rgba(23,105,255,.24); }
.wp-benefits-total strong, .wp-benefits-total span { display: block; }
.wp-benefits-total strong { font-size: 38px; }
.wp-benefits-total span { font-size: 13px; }
.wp-benefits-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #dce9f9; text-align: center; color: #6f829b; }
.wp-benefits-stats strong { display: block; margin-bottom: 3px; color: #0b356c; font-size: 23px; }
.wp-benefits-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 22px 0; padding: 7px; border: 1px solid #deebfa; border-radius: 18px; background: #eaf3fd; }
.wp-benefits-tab { min-height: 50px; border: 0; border-radius: 13px; background: transparent; color: #607791; font-size: 15px; font-weight: 750; cursor: pointer; }
.wp-benefits-tab.is-active { background: #fff; color: #0c5bd9; box-shadow: 0 8px 18px rgba(33,75,130,.09); }
.wp-benefits-tab em { display: inline-grid; min-width: 22px; height: 22px; place-items: center; margin-left: 5px; border-radius: 999px; background: rgba(23,105,255,.10); font-style: normal; font-size: 12px; }
.wp-benefits-list { display: grid; gap: 14px; }
.wp-benefits-card { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px; border: 1px solid #e1eaf5; border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(33,75,130,.07); }
.wp-benefits-ordinal { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 16px; background: #eaf3ff; color: var(--wp-benefit-blue); font-weight: 800; }
.wp-benefits-card-head { display: flex; justify-content: space-between; gap: 12px; }
.wp-benefits-card h3 { margin: 0; color: #0a2448; font-size: 18px; }
.wp-benefits-card p { margin: 7px 0; color: #6d8098; line-height: 1.55; }
.wp-benefits-status { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #eaf3ff; color: var(--wp-benefit-blue); font-size: 12px; font-weight: 800; }
.wp-benefits-status.is-completed, .wp-benefits-status.is-activated { background: #e7f8f1; color: var(--wp-benefit-green); }
.wp-benefits-status.is-expired { background: #f2f4f7; color: #8995a5; }
.wp-benefits-meta { margin-top: 10px; color: #8b9aaf; font-size: 12px; }
.wp-benefits-action { min-width: 200px; min-height: 46px; margin-top: 13px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--wp-benefit-blue); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.wp-benefits-action[disabled] { background: #e8edf4; color: #9aa7b8; cursor: not-allowed; }
.wp-benefits-progress { height: 7px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #edf1f7; }
.wp-benefits-progress span { display: block; height: 100%; border-radius: inherit; background: var(--wp-benefit-blue); }
.wp-benefits-empty { padding: 70px 24px; border: 1px solid #e1eaf5; border-radius: 24px; background: #fff; text-align: center; }
.wp-benefits-empty-mark { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 20px; background: #eaf3ff; color: var(--wp-benefit-blue); font-size: 26px; font-weight: 800; }
.wp-benefits-note { margin-top: 22px; padding: 20px; border-radius: 18px; background: #eaf4ff; color: #667d99; line-height: 1.75; }
.wp-benefits-note strong { display: block; margin-bottom: 6px; color: #0b356c; }
.wp-benefits-modal[hidden] { display: none; }
.wp-benefits-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7,24,49,.45); backdrop-filter: blur(8px); }
.wp-benefits-dialog { width: min(520px,100%); max-height: 82vh; overflow: auto; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(4,24,55,.25); }
.wp-benefits-dialog h2 { margin: 0 0 6px; }
.wp-benefits-options { display: grid; gap: 10px; margin: 18px 0; }
.wp-benefits-option { width: 100%; padding: 14px; border: 1px solid #dae5f3; border-radius: 13px; background: #f8fbff; color: #17395f; text-align: left; cursor: pointer; }
.wp-benefits-option.is-selected { border-color: var(--wp-benefit-blue); background: #edf5ff; box-shadow: 0 0 0 2px rgba(23,105,255,.10); }
.wp-benefits-duration { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #dae5f3; border-radius: 12px; }
.wp-benefits-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.wp-benefits-dialog-actions button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; font-weight: 750; cursor: pointer; }
.wp-benefits-dialog-cancel { background: #eef2f7; color: #5e728d; }
.wp-benefits-dialog-confirm { background: var(--wp-benefit-blue); color: #fff; }
.wp-benefits-toast { position: fixed; z-index: 11000; left: 50%; bottom: 30px; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; background: #0a2448; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); }

@media (max-width: 720px) {
  [data-benefits-card="full"] { width: 100%; max-width: 100%; }
  [data-benefits-card="compact"] { width: 100%; max-width: 100%; }
  [data-benefits-card="compact"] .wp-benefit-feature-card { width: 100%; }
  .wp-benefit-full-card { padding: 18px 15px; border-radius: 20px; }
  .wp-benefit-heading { margin-bottom: 13px; }
  .wp-benefit-title { font-size: 24px; }
  .wp-benefit-count { min-width: auto; padding: 7px 10px; }
  .wp-benefit-grid { gap: 9px; }
  .wp-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-benefit-item { min-height: 60px; padding: 9px 8px; }
  .wp-benefit-icon { flex-basis: 32px; height: 32px; margin-right: 7px; border-radius: 9px; font-size: 9px; }
  .wp-benefit-item-copy { font-size: 11px; }
  .wp-benefit-foot { align-items: stretch; flex-direction: column; }
  .wp-benefit-link { width: 100%; }
  .wp-benefit-feature-card { margin-bottom: 14px; padding: 18px 16px; border-radius: 18px; }
  .wp-benefits-page-wrap { padding-top: 18px; }
  .wp-benefits-hero { padding: 22px 18px; }
  .wp-benefits-total { flex-basis: 86px; padding: 14px 8px; }
  .wp-benefits-total strong { font-size: 32px; }
  .wp-benefits-card { grid-template-columns: 44px 1fr; gap: 12px; padding: 17px 14px; }
  .wp-benefits-ordinal { width: 44px; height: 44px; border-radius: 13px; }
  .wp-benefits-action { width: 100%; min-width: 0; }
}
