:root {
  --ink: #172026;
  --muted: #667085;
  --line: #e4e8ef;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --red: #ef4444;
  --teal: #0f9f8f;
  --green: #0f9f8f;
  --blue: #2563eb;
  --gold: #d88718;
  --shadow: 0 16px 42px rgba(22, 31, 45, 0.08);
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
}

.support-modal[hidden] {
  display: none;
}

.support-dialog {
  width: min(860px, 100%);
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.24);
}

.support-dialog-title {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #d8dee8;
  padding: 0 22px;
  color: #172026;
  background: #fff;
}

.support-dialog-title strong { font-size: 18px; }
.support-dialog-title button { width: 32px; height: 32px; border: 0; color: #344054; background: transparent; font-size: 25px; line-height: 1; }

.support-dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  min-width: 0;
}

.support-chat-column {
  min-width: 0;
}

.support-self-profile {
  min-width: 0;
  border-left: 1px solid #e4e8ef;
  padding: 20px 14px;
  color: #344054;
  background: #fff;
  text-align: center;
}

.support-self-avatar {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #c9d8f5;
  border-radius: 50%;
  color: #2f41cd;
  background: #eef4ff;
  font-size: 18px;
  font-weight: 850;
}

.support-self-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.support-self-kicker {
  display: block;
  margin-top: 12px;
  color: #2f41cd;
  font-size: 11px;
  font-weight: 850;
}

.support-self-profile h3 {
  margin: 7px 0 3px;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-self-profile p {
  margin: 0;
  color: #667085;
  font-size: 11px;
}

.support-self-profile dl {
  margin: 18px 0 0;
  border-top: 1px solid #eef1f4;
  text-align: left;
}

.support-self-profile dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #eef1f4;
  padding: 9px 0;
}

.support-self-profile dt,
.support-self-profile dd {
  margin: 0;
  font-size: 11px;
}

.support-self-profile dt { color: #98a2b3; }
.support-self-profile dd { overflow: hidden; color: #344054; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.support-self-profile > small { display: block; margin-top: 16px; color: #98a2b3; font-size: 10px; line-height: 1.6; text-align: left; }

.support-dialog-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #fff;
  background: #082b3a;
}

.support-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-avatar {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe0e7, #ffc1d2 48%, #8fd5e2);
  font-size: 28px;
  line-height: 1;
}

.support-avatar-small {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-color: #ccebe8;
  font-size: 25px;
}

.support-agent div {
  display: grid;
  gap: 2px;
}

.support-agent strong {
  font-size: 17px;
}

.support-agent small {
  color: #b7d7df;
  font-size: 12px;
}

.support-agent-hint { color: #b7d7df; font-size: 12px; }

.support-dialog-head > button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 25px;
  line-height: 1;
}

.support-avatar img,
.support-message.is-agent .support-message-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.support-status {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f5;
  color: #267b72;
  background: #f3fcfa;
  font-size: 12px;
  font-weight: 800;
}

.support-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.support-status span {
  margin-left: auto;
  color: #667085;
  font-weight: 500;
}

.support-status .support-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 0;
  color: #267b72;
  font-weight: 800;
}

.support-status .support-live b {
  font-size: 12px;
}

.support-status .support-service-hours {
  margin-left: auto;
}

.support-end {
  min-height: 26px;
  border: 1px solid #c8ddd9;
  border-radius: 6px;
  padding: 0 8px;
  color: #267b72;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.support-end:hover {
  border-color: #0f9f8f;
  color: #0f766e;
}

.support-messages {
  height: min(420px, 50vh);
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  background: #f7f9fb;
}

.support-loading,
.support-empty {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #667085;
  text-align: center;
}

.support-empty p {
  max-width: 380px;
  margin: 0;
  line-height: 1.7;
}

.support-error {
  margin: auto;
  color: #b42318;
}

.support-message {
  max-width: 86%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.support-message.is-mine {
  justify-self: end;
  flex-direction: row-reverse;
}

.support-message-avatar {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 4px;
  color: #fff;
  background: #0f9f8f;
  font-size: 12px;
  font-weight: 850;
}

.support-message.is-agent .support-message-avatar {
  border: 1px solid #f5becf;
  background: #ffd7e2;
  font-size: 21px;
  overflow: hidden;
  padding: 0;
}

.support-message-body {
  min-width: 0;
}

.support-message-body > strong {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
}

.support-message.is-mine .support-message-body > strong,
.support-message.is-mine .support-message-body > small {
  text-align: right;
}

.support-bubble {
  width: fit-content;
  max-width: 100%;
  border: 1px solid #e1e7ee;
  border-radius: 4px 12px 12px 12px;
  padding: 10px 12px;
  color: #344054;
  background: #fff;
  overflow-wrap: anywhere;
}

.support-message.is-mine .support-bubble {
  margin-left: auto;
  border-color: #95ec69;
  border-radius: 4px;
  color: #1f2329;
  background: #95ec69;
}

.support-bubble p {
  margin: 0;
  line-height: 1.6;
}

.support-message-body > small {
  display: block;
  margin-top: 4px;
  color: #98a2b3;
  font-size: 10px;
}

.support-date-divider {
  justify-self: center;
  margin: 2px 0;
  color: #9aa0a8;
  font-size: 12px;
  text-align: center;
}

.support-delivery { display: inline-block !important; margin-left: 6px; color: #0f9f8f !important; }
.support-system-message { justify-self: center; max-width: 80%; padding: 6px 10px; border-radius: 6px; color: #98a2b3; background: #edf1f5; font-size: 11px; text-align: center; }
.support-system-message small { display: block; margin-top: 3px; font-size: 10px; }
.support-typing { padding: 0 18px 8px; color: #0f9f8f; background: #f7f9fb; font-size: 11px; }

.support-image-link {
  display: block;
  margin-top: 6px;
}

.support-image-link img {
  display: block;
  max-width: min(300px, 100%);
  max-height: 220px;
  border-radius: 6px;
  object-fit: contain;
}

.support-composer-wrap {
  border-top: 1px solid #e8edf2;
  background: #fff;
}

.support-tools {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 0;
}

.support-tools button,
.support-emoji-row button {
  border: 1px solid #dce3ea;
  border-radius: 6px;
  color: #475467;
  background: #fff;
  font-size: 12px;
}

.support-tools button {
  min-height: 28px;
  padding: 0 9px;
}

.support-tools button:hover,
.support-emoji-row button:hover {
  border-color: #0f9f8f;
  color: #0f9f8f;
}

.support-tools span {
  max-width: 220px;
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-tools button[data-support-sound] { min-width: 42px; }

.support-emoji-row {
  display: flex;
  gap: 6px;
  padding: 8px 14px 0;
}

.support-emoji-row[hidden] {
  display: none;
}

.support-emoji-row button {
  width: 32px;
  height: 30px;
  font-size: 17px;
}

.support-composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 14px 14px;
}

.support-composer.is-closed textarea {
  color: #98a2b3;
  background: #f8fafc;
}

@media (max-width: 560px) {
  .support-modal { padding: 8px; }
  .support-dialog-body { grid-template-columns: 1fr; }
  .support-self-profile { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 0 10px; border-top: 1px solid #e4e8ef; border-left: 0; padding: 10px 12px; text-align: left; }
  .support-self-avatar { grid-row: span 3; width: 44px; height: 44px; }
  .support-self-kicker { margin-top: 0; }
  .support-self-profile h3 { margin: 2px 0; }
  .support-self-profile p { margin: 0; }
  .support-self-profile dl, .support-self-profile > small { display: none; }
  .support-status { flex-wrap: wrap; min-height: 48px; padding: 6px 12px; }
  .support-dialog-title { min-height: 48px; padding: 0 14px; }
  .support-dialog-title strong { font-size: 16px; }
  .support-agent-hint { display: none; }
  .support-status .support-service-hours { margin-left: auto; }
  .support-messages { height: min(52vh, 420px); padding: 12px; }
  .support-composer { gap: 7px; padding: 8px 10px 10px; }
  .support-send { min-width: 54px; padding: 0 10px; }
}

.support-composer textarea {
  width: 100%;
  min-height: 46px;
  resize: none;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  padding: 10px;
  outline: 0;
  color: #344054;
  background: #fff;
}

.support-composer textarea:focus {
  border-color: #0f9f8f;
  box-shadow: 0 0 0 3px rgba(15, 159, 143, 0.12);
}

.support-send {
  min-width: 70px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0f9f8f;
  font-weight: 850;
}

.support-send:disabled {
  opacity: 0.58;
  cursor: wait;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #f3f6fa;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wx-tabbar {
  display: none;
}

html.wechat-mini-shell,
html.wechat-mini-shell body {
  background: #f5f7fb;
}

.wechat-mini-shell body {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}

.trial-login-body {
  min-height: 100vh;
  background:
    linear-gradient(100deg, rgba(12, 19, 27, 0.78), rgba(12, 19, 27, 0.2)),
    url("../assets/merchant-login-bg.png");
  background-size: cover;
  background-position: center;
}

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

button {
  cursor: pointer;
}

.trial-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px max(48px, calc((100vw - 1120px) / 2));
}

.trial-login-card {
  width: 312px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(11, 18, 25, 0.22);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.login-brand span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #18b7cf);
  font-weight: 850;
}

.login-brand strong {
  color: #111827;
  font-size: 18px;
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 18px;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  padding: 3px;
  background: #f6f8fb;
}

.login-tab {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: #667085;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.login-tab.is-active {
  color: #fff;
  background: #111827;
}

.login-form {
  display: none;
}

.login-form.is-active {
  display: block;
}

.login-form-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 18px;
}

.login-form-actions {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 14px;
}

.login-text-button {
  border: 0;
  padding: 2px 0;
  color: #1677ff;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.login-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 14px;
  color: #667085;
  font-size: 11px;
  line-height: 1.5;
}

.login-agreement input {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--teal);
}

.login-field {
  min-height: 40px;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.login-field span {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e3e7ee;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.login-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: #111827;
  background: transparent;
  font-size: 13px;
}

.code-login-field {
  grid-template-columns: 68px 1fr 58px;
}

.send-code {
  height: 100%;
  border: 0;
  border-left: 1px solid #e3e7ee;
  color: var(--teal);
  background: #f7fbfb;
  font-size: 12px;
  font-weight: 850;
}

.send-code:disabled {
  color: #98a2b3;
  cursor: wait;
}

.test-code-note {
  min-height: 30px;
  display: flex;
  align-items: center;
  margin: -4px 0 14px;
  border: 1px solid rgba(15, 159, 143, 0.22);
  border-radius: 8px;
  padding: 0 10px;
  color: #08766c;
  background: #f0fbf8;
  font-size: 12px;
  font-weight: 800;
}

.login-submit {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #18b7cf);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(15, 159, 143, 0.22);
}

.login-secondary {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.trial-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(18, 26, 35, 0.96);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.16);
}

.trial-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.trial-brand span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #18b7cf);
  color: #fff;
  font-weight: 800;
}

.trial-brand strong {
  font-size: 17px;
}

.trial-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill,
.nav-link,
.user-chip,
.coin-chip,
.principal-chip,
.credit-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.nav-button {
  cursor: pointer;
}

.user-chip {
  color: #b8fff4;
  background: rgba(15, 159, 143, 0.16);
  border-color: rgba(125, 211, 199, 0.26);
}

.coin-chip {
  gap: 6px;
  color: #fff2cd;
  background: rgba(216, 135, 24, 0.18);
  border-color: rgba(255, 220, 150, 0.28);
}

.coin-chip b {
  color: #ffd27a;
  font-size: 15px;
}

.principal-chip {
  gap: 6px;
  color: #d8e6ff;
  background: rgba(63, 111, 193, 0.18);
  border-color: rgba(160, 190, 246, 0.28);
}

.principal-chip b {
  color: #a9c8ff;
  font-size: 15px;
}

.credit-chip {
  gap: 6px;
  color: #d7fef7;
  background: rgba(15, 159, 143, 0.16);
  border-color: rgba(125, 211, 199, 0.26);
}

.credit-chip b {
  color: #7dd3c7;
  font-size: 15px;
}

.nav-pill.is-active,
.nav-pill:hover,
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.trial-hero {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  align-items: end;
  gap: 36px;
  padding: 58px max(28px, calc((100vw - 1180px) / 2)) 40px;
  color: #fff;
  background-image:
    linear-gradient(100deg, rgba(11, 18, 25, 0.92), rgba(21, 37, 45, 0.76) 54%, rgba(239, 68, 68, 0.32)),
    url("../assets/merchant-login-bg.png");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy span,
.panel-head span,
.detail-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #7dd3c7;
  font-size: 12px;
  font-weight: 850;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 850;
}

.hero-copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats div {
  min-height: 92px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stats b {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.trial-toolbar,
.trial-shell,
.my-orders-panel {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.trial-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0;
}

.trial-search {
  width: min(440px, 100%);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.trial-search span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.trial-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.platform-tabs {
  width: 100%;
}

.filter-tab {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: #344054;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.filter-tab.is-active,
.filter-tab:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.trial-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.credit-rule-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(15, 159, 143, 0.2);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.credit-rule-score {
  border-radius: 8px;
  padding: 14px;
  color: #0f766e;
  background: #f0fdfa;
}

.credit-rule-score span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.credit-rule-score strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
}

.credit-rule-score p {
  margin: 8px 0 0;
  color: #0f766e;
  font-size: 13px;
  font-weight: 850;
}

.credit-signin-btn {
  width: 100%;
  min-height: 36px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #18b7cf);
  font-size: 13px;
  font-weight: 850;
}

.credit-signin-btn:disabled {
  color: #667085;
  background: #dff4ef;
}

.credit-rule-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.credit-rule-group {
  min-width: 0;
}

.credit-rule-group > strong,
.credit-log-preview > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.credit-rule-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credit-rule-group li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfcfe;
}

.credit-rule-group li b,
.credit-rule-group li span {
  display: block;
}

.credit-rule-group li b {
  color: var(--ink);
  font-size: 13px;
}

.credit-rule-group li span {
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.credit-log-preview {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.credit-log-preview p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.6;
}

.credit-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px 116px;
  gap: 10px;
  align-items: center;
  min-height: 30px;
  border-top: 1px dashed #e5e7eb;
  color: #344054;
  font-size: 12px;
}

.credit-log-row:first-of-type {
  border-top: 0;
}

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

.credit-log-row b {
  text-align: right;
  font-weight: 900;
}

.credit-log-row.plus b {
  color: #0f9f8f;
}

.credit-log-row.minus b {
  color: #ef4444;
}

.credit-log-row em {
  color: #98a2b3;
  font-style: normal;
  text-align: right;
}

.my-orders-panel {
  margin-top: 18px;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.my-orders-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.my-orders-head span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.my-orders-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
}

.my-orders-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.my-orders-empty {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #fbfcfe;
}

.my-order-list {
  display: grid;
  gap: 0;
}

.my-order-card {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(110px, 0.8fr) minmax(110px, 0.8fr) minmax(180px, 1fr) 150px;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.my-order-card:last-child {
  border-bottom: 0;
}

.my-order-card.done {
  background: #f5fffb;
}

.my-order-card.warn {
  background: #fff8f2;
}

.my-order-card.pending {
  background: #fbfcff;
}

.my-order-main {
  min-width: 0;
}

.my-order-main span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  padding: 0 8px;
  color: #0f766e;
  background: #e6fffb;
  font-size: 12px;
  font-weight: 850;
}

.my-order-main strong {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-order-main p {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-order-cell {
  min-width: 0;
}

.my-order-cell span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.my-order-cell b {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-order-side {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.my-order-side em {
  color: var(--red);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  text-align: right;
}

.my-order-card.done .my-order-side em {
  color: var(--teal);
}

.my-order-card.warn .my-order-side em {
  color: #d88718;
}

.my-order-side button {
  min-height: 34px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--teal);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

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

.activity-card,
.detail-dialog,
.withdraw-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.activity-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 116px 110px 130px;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 12px 14px;
  text-align: left;
}

.activity-card.is-active {
  border-color: rgba(15, 159, 143, 0.55);
  box-shadow: 0 16px 42px rgba(15, 159, 143, 0.16);
}

.product-shot {
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 159, 143, 0.92), rgba(37, 99, 235, 0.86)),
    #0f9f8f;
}

.product-shot.compact {
  width: 84px;
  min-height: 76px;
  align-items: center;
  padding: 9px;
}

.product-shot.compact strong {
  max-width: 48px;
  font-size: 13px;
}

.product-shot.compact span {
  width: 28px;
  height: 34px;
  font-size: 15px;
}

.activity-card:nth-child(3n + 2) .product-shot {
  background: linear-gradient(135deg, #ef4444, #d88718);
}

.activity-card:nth-child(3n + 3) .product-shot {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.product-shot.has-image {
  padding: 0;
  background: #f8fafc;
}

.product-shot.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.product-shot strong {
  max-width: 84px;
  font-size: 18px;
  line-height: 1.25;
}

.product-shot span {
  width: 42px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.18);
  font-size: 20px;
  font-weight: 850;
}

.card-main {
  min-width: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: #0f766e;
  background: #e6fffb;
  font-size: 12px;
  font-weight: 800;
}

.tag.red {
  color: #b42318;
  background: #fff1f0;
}

.activity-card h3,
.detail-dialog h2,
.panel-head h2 {
  margin: 0;
  color: var(--ink);
}

.activity-card h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}

.activity-card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.activity-mini {
  min-width: 0;
  padding: 10px 12px;
  border-left: 1px solid var(--line);
}

.activity-mini span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.activity-mini b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
}

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

.meta-grid span,
.detail-meta span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.meta-grid b,
.detail-meta b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
}

.card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.reward {
  text-align: right;
}

.reward span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.reward b {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 24px;
}

.secondary-action,
.primary-action {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
}

.secondary-action {
  border: 1px solid var(--line);
  color: #344054;
  background: #fff;
}

.secondary-action:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.secondary-action:disabled,
.secondary-action.is-disabled {
  color: #98a2b3;
  background: #f3f6fa;
  cursor: not-allowed;
}

.primary-action {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #18b7cf);
  box-shadow: 0 12px 24px rgba(15, 159, 143, 0.22);
}

.primary-action:disabled,
.primary-action.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.activity-detail-modal,
.withdraw-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
}

.withdraw-modal:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  overflow: hidden;
}

.detail-backdrop,
.withdraw-modal::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(15, 23, 42, 0.48);
}

.detail-dialog,
.withdraw-box {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 52px);
  margin: 26px auto;
  overflow: hidden;
}

.withdraw-box {
  width: min(620px, calc(100vw - 40px));
  max-height: calc(100dvh - 24px);
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.modal-head span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.modal-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.modal-head button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-size: 20px;
}

.detail-body {
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 18px;
}

.detail-summary {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 32, 38, 0.94), rgba(15, 159, 143, 0.82)),
    #172026;
}

.detail-summary.has-product {
  min-height: 148px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: end;
  gap: 16px;
}

.detail-product-media {
  width: 112px;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.detail-product-media.has-image {
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
}

.detail-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-product-media strong {
  max-width: 68px;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.detail-product-media span {
  width: 30px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 850;
}

.detail-summary-copy {
  min-width: 0;
}

.detail-summary h2 {
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
}

.detail-summary p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.detail-meta div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.detail-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.detail-rule-grid div {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.detail-rule-grid span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.detail-rule-grid b {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
}

.detail-tag-block {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-tag-block strong {
  display: block;
  margin-bottom: 8px;
}

.detail-tag-block p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.detail-tag-block p span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: #0f766e;
  background: #e6fffb;
  font-size: 12px;
  font-weight: 800;
}

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

.detail-section {
  margin-top: 16px;
}

.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.detail-section-head strong {
  color: var(--ink);
  font-size: 16px;
}

.execution-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.execution-checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}

.execution-checklist li > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 15px;
}

.execution-checklist strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.execution-checklist p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.rule-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
}

.rule-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
}

.rule-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.task-row-rule p {
  display: grid;
  gap: 6px;
}

.task-row-line {
  display: block;
  color: var(--ink);
}

.requirement-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirement-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.requirement-list b {
  color: var(--teal);
  font-size: 14px;
}

.requirement-list span {
  color: var(--muted);
  line-height: 1.65;
}

.feedback-requirement {
  display: grid;
  gap: 10px;
}

.compact-tags {
  margin: 0;
}

.extra-product-requirements {
  display: grid;
  gap: 10px;
}

.extra-product-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.extra-product-card img,
.extra-product-placeholder {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f7;
}

.extra-product-placeholder {
  display: grid;
  place-items: center;
  color: #667085;
  font-weight: 800;
}

.extra-product-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.extra-product-card p {
  margin: 0 0 6px;
  line-height: 1.55;
}

.extra-product-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-link {
  color: var(--teal);
  word-break: break-all;
  text-decoration: none;
  font-weight: 700;
}

.detail-link:hover {
  text-decoration: underline;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.flow-list div {
  min-height: 74px;
  border-radius: 8px;
  padding: 12px;
  color: #344054;
  background: #f7fafc;
}

.mt-16 {
  margin-top: 16px;
}

.flow-list b {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-actions button {
  flex: 1 1 150px;
}

.task-sticky-actions {
  position: sticky;
  left: 0;
  right: 0;
  bottom: -18px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px -18px -18px;
  border-top: 1px solid var(--line);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.task-sticky-actions .primary-action,
.task-sticky-actions .secondary-action,
.task-sticky-actions .task-action-link {
  width: 100%;
  min-width: 0;
}

.task-sticky-actions .is-disabled {
  opacity: 0.5;
}

.credit-summary-card,
.task-progress-card,
.task-countdown-card,
.task-order-countdown-card,
.ocr-result-card {
  margin-top: 16px;
  border: 1px solid rgba(15, 159, 143, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: #f4fcfa;
}

.credit-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.credit-summary-card div {
  width: 86px;
  min-height: 72px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0f766e;
  background: #e6fffb;
}

.credit-summary-card span,
.task-countdown-card span,
.task-order-countdown-card span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.credit-summary-card strong,
.task-countdown-card b,
.task-order-countdown-card b {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.credit-summary-card p,
.task-countdown-card p,
.task-order-countdown-card p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.task-order-countdown-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-color: #fed7aa;
  background: #fff7ed;
}

.task-order-countdown-card b {
  color: #c2410c;
}

.task-requirement-grid,
.ocr-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.task-requirement-grid div,
.ocr-result-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
}

.task-requirement-grid span,
.ocr-result-grid span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.task-requirement-grid b,
.ocr-result-grid b {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 14px;
  word-break: break-word;
}

.task-requirement-warning,
.order-proof-notice,
.ocr-fail-tip,
.ocr-message {
  margin-top: 10px;
  border-radius: 8px;
  padding: 11px 12px;
  line-height: 1.65;
}

.task-requirement-warning {
  border: 1px solid #fecaca;
  color: #b42318;
  background: #fff8f7;
}

.task-requirement-warning strong {
  display: block;
  margin-bottom: 4px;
}

.task-requirement-warning p,
.ocr-message {
  margin: 0;
}

.ocr-decision-note {
  margin: 10px 0 0;
  color: #0f766e;
  font-size: 13px;
  line-height: 1.65;
}

.order-proof-notice {
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  background: #eff6ff;
}

.order-proof-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #1d4ed8;
}

.order-proof-notice p {
  margin: 4px 0 0;
  font-weight: 650;
}

.ocr-result-card {
  background: #fff;
}

.ocr-fail-tip {
  border: 1px solid #fecaca;
  color: #b42318;
  background: #fff8f7;
  font-weight: 850;
}

.ocr-message {
  border: 1px solid #e2e8f0;
  color: #475569;
  background: #f8fafc;
}

.task-progress-card .detail-section-head span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
}

.task-next-card {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px;
}

.task-next-card > div {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.task-next-card > div:first-child {
  border-color: rgba(15, 159, 143, 0.24);
  background: #f0fdfa;
}

.task-next-card span,
.task-log-list span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.task-next-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
}

.task-next-card p {
  margin: 7px 0 0;
  color: #667085;
  line-height: 1.7;
}

.task-log-list {
  display: grid;
  gap: 8px;
}

.task-log-list > div {
  display: grid;
  grid-template-columns: 118px 130px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.task-log-list strong {
  color: var(--ink);
  font-size: 14px;
}

.task-log-list p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.task-action-panel {
  margin-top: 16px;
  border: 1px solid rgba(15, 159, 143, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.task-action-panel .detail-section-head {
  margin-bottom: 12px;
}

.task-action-panel .detail-section-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.task-action-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.task-action-steps article {
  min-height: 172px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.task-action-steps article > b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #667085;
  background: #eef2f7;
  font-size: 13px;
}

.task-action-steps strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.task-action-steps p {
  min-height: 58px;
  margin: 7px 0 12px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.task-action-steps .is-current {
  border-color: rgba(15, 159, 143, 0.38);
  background: #f0fdfa;
}

.task-action-steps .is-done {
  border-color: rgba(22, 163, 74, 0.28);
  background: #f4fcfa;
}

.task-action-steps .is-current > b,
.task-action-steps .is-done > b {
  color: #fff;
  background: var(--teal);
}

.task-action-steps .is-locked {
  opacity: 0.78;
}

.task-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.task-action-row .primary-action,
.task-action-row .secondary-action,
.task-action-steps article > div > .primary-action,
.task-action-steps article > div > .secondary-action {
  width: 100%;
}

.task-action-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.task-action-result {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfe8df;
  border-radius: 8px;
  padding: 0 12px;
  color: #08766c;
  background: #e6fffb;
  font-size: 12px;
  font-weight: 850;
}

.task-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.task-progress-steps div {
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px;
  color: #667085;
  background: #fff;
  text-align: center;
}

.task-progress-steps b {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #667085;
  background: #eef2f7;
  font-size: 12px;
}

.task-progress-steps span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 850;
}

.task-progress-steps .is-current,
.task-progress-steps .is-done {
  border-color: rgba(15, 159, 143, 0.34);
  color: #0f766e;
  background: #f0fdfa;
}

.task-progress-steps .is-current b,
.task-progress-steps .is-done b {
  color: #fff;
  background: var(--teal);
}

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

.validation-list div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 3px 8px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #f8fafc;
}

.validation-list b {
  grid-row: span 2;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #08766c;
  background: #e6fffb;
  font-size: 12px;
}

.validation-list .is-warn b {
  color: #b42318;
  background: #fff1f0;
}

.validation-list span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.validation-list em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.task-step-panels {
  display: grid;
  gap: 10px;
}

.simple-task-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.simple-task-steps article {
  min-height: 118px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.simple-task-steps article > b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 14px;
}

.simple-task-steps strong,
.simple-requirement-list span {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.simple-task-steps p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.simple-requirement-list {
  display: grid;
  gap: 8px;
}

.simple-requirement-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfcfe;
}

.simple-requirement-list span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.simple-requirement-list b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.task-step-panels > article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.task-step-panels > article > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
}

.task-step-panels strong {
  display: block;
  margin-bottom: 6px;
}

.task-step-panels p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.task-step-panels .execution-checklist {
  margin-top: 8px;
}

.task-notice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-notice-list li {
  border: 1px solid #fee2e2;
  border-radius: 8px;
  padding: 10px 12px;
  color: #b42318;
  background: #fff8f7;
  font-size: 13px;
  font-weight: 800;
}

.submit-confirm-note {
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 12px;
  color: #92400e;
  background: #fffbeb;
  line-height: 1.6;
}

.review-flow-intro {
  border: 1px solid rgba(15, 159, 143, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  background: #ecfdf8;
}

.review-flow-intro span {
  display: block;
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
}

.review-flow-intro strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 17px;
}

.review-flow-intro p {
  margin: 6px 0 0;
  color: #475569;
  line-height: 1.65;
}

.ocr-upload-card {
  margin-top: 12px;
  border: 1px solid rgba(15, 159, 143, 0.25);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.ocr-upload-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ocr-upload-heading span {
  display: block;
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
}

.ocr-upload-heading strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 16px;
}

.ocr-upload-heading > b {
  border-radius: 999px;
  padding: 4px 8px;
  color: #b42318;
  background: #fff1f0;
  font-size: 12px;
  white-space: nowrap;
}

.ocr-upload-copy {
  margin: 7px 0 0;
  color: #667085;
  line-height: 1.6;
}

.ocr-primary-proof {
  margin-top: 12px;
}

.proof-optional {
  color: #667085 !important;
}

.optional-proof-details,
.ocr-fallback-fields {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.optional-proof-details summary,
.ocr-fallback-fields summary {
  cursor: pointer;
  padding: 11px 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.optional-proof-details[open] summary,
.ocr-fallback-fields[open] summary {
  border-bottom: 1px solid var(--line);
}

.optional-proof-details .task-proof-grid {
  padding: 12px;
}

.ocr-fallback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.ocr-fallback-grid label {
  display: grid;
  gap: 6px;
}

.ocr-fallback-grid label > span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.ocr-fallback-grid input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}

.ocr-fallback-grid em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.review-submit-button {
  min-height: 44px;
  width: 100%;
  font-size: 14px;
}

.task-step-confirm {
  grid-column: span 2;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 159, 143, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: #f7fbfa;
}

.task-step-confirm > strong {
  color: var(--text);
  font-size: 14px;
}

.task-step-confirm label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  line-height: 1.5;
}

.task-step-confirm input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.task-step-confirm input:disabled + span {
  color: #94a3b8;
}

.task-proof-grid {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.task-proof-field span b {
  margin-left: 6px;
  color: var(--red);
  font-size: 12px;
}

.task-truth-check {
  flex-direction: row !important;
  align-items: flex-start;
  border: 1px solid rgba(15, 159, 143, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  line-height: 1.6;
}

.task-truth-check input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.task-rule-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}

.task-rule-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
}

.task-rule-box {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.28);
}

.task-rule-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}

.task-rule-head span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.task-rule-head strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.task-rule-head button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-size: 20px;
}

.task-rule-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.task-rule-body p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.task-rule-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #667085;
  line-height: 1.65;
}

.task-rule-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #d7eee9;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f4fcfa;
  font-weight: 850;
}

.task-rule-check input {
  margin-top: 4px;
}

.task-rule-error {
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
  color: #b42318;
  background: #fff5f4;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.6;
}

.task-rule-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
}

.task-rule-actions button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 850;
}

.task-rule-actions button:first-child {
  border: 1px solid var(--line);
  color: #344054;
  background: #fff;
}

.submitted-order-box {
  margin-top: 16px;
  border: 1px solid rgba(15, 159, 143, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: #f4fcfa;
}

.submitted-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.submitted-order-head strong {
  color: var(--ink);
  font-size: 15px;
}

.submitted-order-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #08766c;
  background: #e6fffb;
  font-size: 12px;
  font-weight: 850;
}

.submitted-order-head span.done {
  color: #08766c;
  background: #e6fffb;
}

.submitted-order-head span.warn {
  color: #b45309;
  background: #fff7ed;
}

.submitted-order-head span.pending {
  color: #1d4ed8;
  background: #eff6ff;
}

.user-order-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.user-order-status div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.user-order-status span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.user-order-status b {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  word-break: break-all;
}

.proof-status {
  min-width: 0;
}

.payment-proof-preview {
  display: block;
  width: 100%;
  height: 88px;
  margin-top: 10px;
  border: 1px solid #dbe5e2;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

.payment-proof-preview-btn {
  width: 100%;
  display: grid;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.payment-proof-preview-btn em {
  font-style: normal;
}

.detail-submit-form {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(15, 159, 143, 0.2);
  border-radius: 8px;
  background: #f4fcfa;
}

.detail-submit-form.is-hidden {
  display: none;
}

.payment-proof-field {
  min-height: 92px;
  justify-content: center;
  border: 1px dashed #b7d8d4;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.payment-proof-field.has-upload,
.payment-proof-field.is-uploading {
  border-color: var(--green);
  background: #f4fcfa;
}

.payment-proof-field.upload-failed {
  border-color: #d92d20;
  background: #fff8f7;
}

.payment-proof-field input[type="file"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  overflow: visible;
  border: 1px solid #d7e2e8;
  border-radius: 7px;
  padding: 6px 8px;
  color: #344054;
  background: #fff;
  font-size: 13px;
  line-height: 30px;
}

.payment-proof-field input[type="file"]::file-selector-button {
  min-height: 30px;
  margin-right: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 12px;
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.payment-proof-field em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.upload-status-line {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.3;
}

.upload-status-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-status-line b {
  color: var(--green);
  font-weight: 800;
}

.upload-status-line i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #dbe7e5;
}

.upload-status-line i em {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.16s ease;
}

.upload-view-btn {
  min-height: 24px;
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 0 9px;
  color: var(--green);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.upload-failed .upload-status-line span {
  color: #d92d20;
}

.upload-inline-preview {
  width: 128px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.upload-inline-preview img,
.upload-inline-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-inline-preview.video-preview {
  position: relative;
}

.upload-inline-preview.video-preview span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 4px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.payment-proof-field .upload-inline-preview {
  margin-top: 8px;
}

.upload-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.upload-preview-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.upload-preview-box {
  position: relative;
  width: min(680px, calc(100vw - 36px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.26);
}

.upload-preview-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
}

.upload-preview-head button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: #667085;
  background: #f3f6f6;
  cursor: pointer;
}

.upload-preview-list {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.upload-preview-list figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.upload-preview-list img,
.upload-preview-list video {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.upload-preview-list figcaption {
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  word-break: break-all;
}

.empty-state {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfd6df;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  text-align: center;
  line-height: 1.8;
}

.withdraw-form {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  scrollbar-gutter: stable;
}

.withdraw-box > .modal-head {
  flex: 0 0 auto;
}

.withdraw-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #ccebe7;
  border-radius: 8px;
  color: #0f766e;
  background: #f0fdfa;
}

.withdraw-balance b {
  font-size: 22px;
}

.withdraw-balance em {
  margin-left: auto;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.withdraw-balance i {
  color: #b45309;
  font-style: normal;
}

.withdraw-history {
  align-self: start;
  height: auto;
  border-top: 1px solid #e6eaf0;
  padding-top: 14px;
  color: #64748b;
  font-size: 12px;
}

.withdraw-history-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.withdraw-history-title div,
.withdraw-history-title strong,
.withdraw-history-title small {
  display: block;
}

.withdraw-history-title strong {
  color: #172033;
  font-size: 16px;
}

.withdraw-history-title small,
.withdraw-history-title > span {
  margin-top: 4px;
  color: #7b8797;
  font-size: 11px;
  line-height: 1.5;
}

.withdraw-history-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  align-items: start;
}

.withdraw-history-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e0e8ec;
  border-radius: 8px;
  background: #f8fbfc;
}

.withdraw-history-search label {
  display: grid;
  gap: 5px;
  color: #667483;
  font-size: 11px;
}

.withdraw-history-search input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #d3dde2;
  border-radius: 6px;
  padding: 0 11px;
  color: #263442;
  background: #fff;
}

.withdraw-history-search button {
  min-height: 40px;
  white-space: nowrap;
}

.withdraw-history-card {
  overflow: hidden;
  border: 1px solid #dfe6ec;
  border-radius: 9px;
  background: #fff;
}

.withdraw-history-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
  background: #f8fafc;
}

.withdraw-history-card > header div {
  min-width: 0;
}

.withdraw-history-card > header span,
.withdraw-history-card > header strong {
  display: block;
}

.withdraw-history-card > header span {
  color: #7b8797;
  font-size: 10px;
}

.withdraw-history-card > header strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #263442;
  font-size: 12px;
}

.withdraw-history-card > header em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.withdraw-history-card > header em.is-pending {
  color: #1d4ed8;
  background: #eaf2ff;
}

.withdraw-history-card > header em.is-paid {
  color: #087c70;
  background: #e5f7f2;
}

.withdraw-history-card > header em.is-rejected {
  color: #b42318;
  background: #feeceb;
}

.withdraw-history-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.withdraw-history-card dl div {
  min-width: 0;
  padding: 11px 14px;
  border-right: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
}

.withdraw-history-card dl div:nth-child(3n) {
  border-right: 0;
}

.withdraw-history-card dt,
.withdraw-history-card dd {
  margin: 0;
}

.withdraw-history-card dt {
  color: #8792a1;
  font-size: 10px;
}

.withdraw-history-card dd {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #263442;
  font-size: 12px;
  line-height: 1.5;
}

.withdraw-history-card dd b {
  color: #0f766e;
  font-size: 15px;
}

.withdraw-history-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}

.withdraw-history-card > footer > div {
  min-width: 0;
}

.withdraw-history-card > footer span,
.withdraw-history-card > footer p,
.withdraw-history-card > footer small {
  display: block;
  margin: 0;
}

.withdraw-history-card > footer span {
  color: #8792a1;
  font-size: 10px;
}

.withdraw-history-card > footer p {
  margin-top: 4px;
  color: #475467;
  font-size: 12px;
  line-height: 1.6;
}

.withdraw-history-card > footer small {
  margin-top: 4px;
  color: #7b8797;
  font-size: 10px;
  line-height: 1.5;
}

.withdraw-record-proof {
  width: 178px;
  min-height: 178px;
  display: grid;
  grid-template-rows: 152px auto;
  flex: 0 0 178px;
  gap: 6px;
  align-items: center;
  justify-items: center;
  margin: 0;
  border: 1px solid #cfe2dd;
  border-radius: 7px;
  padding: 8px;
  color: #0f766e;
  background: #f6fffc;
  text-align: center;
}

.withdraw-record-proof img {
  width: 152px;
  height: 152px;
  display: block;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
}

.withdraw-record-proof figcaption,
.withdraw-record-proof b,
.withdraw-record-proof small {
  min-width: 0;
  display: block;
}

.withdraw-record-proof b {
  font-size: 11px;
}

.withdraw-record-proof small {
  margin-top: 2px;
  color: #7b8797;
  font-size: 9px;
}

.withdraw-record-proof-empty,
.withdraw-history-empty {
  color: #98a2b3;
  font-size: 11px;
}

.withdraw-history-empty {
  padding: 18px 0 4px;
}

.withdraw-history > strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 13px;
}

.withdraw-history > p {
  margin: 0;
}

.withdraw-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 74px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px dashed #e6eaf0;
}

.withdraw-history-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-history-row > span small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #98a2b3;
  font-size: 10px;
  text-overflow: ellipsis;
}

.withdraw-history b {
  color: #1f2937;
}

.withdraw-history em {
  color: #2563eb;
  font-style: normal;
}

.withdraw-history small {
  color: #98a2b3;
  font-size: 12px;
  text-align: right;
}

.withdraw-proof-preview {
  width: 70px;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 1px solid #dbe5e2;
  border-radius: 7px;
  padding: 4px;
  color: var(--green);
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.withdraw-proof-preview img {
  width: 58px;
  height: 34px;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  background: #f8fafc;
}

.withdraw-proof-preview i {
  font-style: normal;
  line-height: 1;
}

.withdraw-note {
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 12px;
  color: #92400e;
  background: #fffbeb;
  font-size: 13px;
  line-height: 1.6;
}

.withdraw-risk-rule {
  border: 1px solid #fecaca;
  border-left: 5px solid #dc2626;
  border-radius: 12px;
  background: #fff7f7;
  color: #c81e1e;
  padding: 14px 16px;
  line-height: 1.7;
}

.withdraw-risk-rule strong {
  display: block;
  margin-bottom: 4px;
  color: #b91c1c;
}

.withdraw-risk-rule p {
  margin: 0;
  color: #dc2626;
}

.withdraw-risk-rule ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
  color: #991b1b;
}

.withdraw-risk-rule li::marker {
  color: #dc2626;
  font-weight: 800;
}

.contact-float {
  position: fixed;
  right: 28px;
  bottom: 76px;
  z-index: 120;
  display: grid;
  gap: 30px;
}

.contact-square {
  width: 72px;
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid #d4d8df;
  border-radius: 4px;
  color: #2f41cd;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  font-size: 12px;
  font-weight: 800;
  position: relative;
}

.support-unread-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 0 4px; color: #fff; background: #ef4444; font-size: 10px; font-style: normal; }

.contact-square span {
  font-size: 30px;
  line-height: 1;
}

.contact-square .support-entry-avatar {
  width: 34px;
  height: 34px;
  display: block;
  overflow: hidden;
  border: 1px solid #f2b9ca;
  border-radius: 50%;
  background: #fff0f4;
  font-size: 0;
}

.contact-square .support-entry-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-square.urgent {
  color: #c1121f;
}

.contact-popover {
  position: absolute;
  right: 84px;
  bottom: 0;
  width: 260px;
  border: 1px solid #d4d8df;
  background: #fff;
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.18);
}

.contact-popover-head {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #fff;
  background: #092331;
}

.contact-popover-head button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 20px;
}

.contact-popover-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.contact-popover-body p {
  margin: 0 0 4px;
  color: #667085;
}

.contact-popover-body button {
  height: 34px;
  border: 1px solid #d8dee8;
  background: #fff;
  text-align: left;
  padding: 0 10px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head span {
  color: var(--teal);
}

.panel-head h2 {
  font-size: 24px;
}

.panel-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

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

.review-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 750;
}

.review-form label > em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.review-form textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.7;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 159, 143, 0.11);
}

.form-wide {
  grid-column: span 2;
}

.review-form .primary-action {
  width: 160px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 40;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(17, 24, 39, 0.94);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.18);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 13px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .trial-hero,
  .trial-shell {
    grid-template-columns: 1fr;
  }

  .trial-hero {
    padding-top: 54px;
  }

  .hero-stats {
    max-width: 520px;
  }

  .my-order-card {
    grid-template-columns: 1fr 1fr;
  }

  .my-order-main,
  .my-order-side {
    grid-column: span 2;
  }

  .my-order-side {
    justify-items: start;
  }

  .detail-dialog,
  .withdraw-box {
    width: min(720px, calc(100vw - 32px));
  }
}

@media (max-width: 760px) {
  .trial-topbar {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .wechat-mini-shell .trial-topbar {
    top: 0;
    min-height: 58px;
    padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e8edf4;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
  }

  .wechat-mini-shell .trial-brand span {
    width: 30px;
    height: 30px;
  }

  .wechat-mini-shell .trial-brand strong {
    color: var(--ink);
  }

  .wechat-mini-shell .trial-nav {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 8px;
    padding-bottom: 2px;
  }

  .wechat-mini-shell .nav-pill,
  .wechat-mini-shell .nav-link,
  .wechat-mini-shell .user-chip,
  .wechat-mini-shell .coin-chip,
  .wechat-mini-shell .principal-chip,
  .wechat-mini-shell .credit-chip {
    min-height: 30px;
    color: #344054;
    background: #f6f8fb;
    border-color: #e3e8f0;
    padding: 0 10px;
  }

  .wechat-mini-shell .coin-chip b {
    color: #d88718;
  }

  .wechat-mini-shell .principal-chip b {
    color: #4a72b8;
  }

  .wechat-mini-shell .credit-chip b {
    color: #0f9f8f;
  }

  .trial-login-page {
    justify-content: center;
    padding: 34px 18px;
  }

  .trial-login-card {
    width: min(312px, 100%);
  }

  .trial-nav {
    width: 100%;
    overflow-x: auto;
  }

  .trial-hero {
    min-height: 0;
    padding: 44px 20px 30px;
  }

  .wechat-mini-shell .trial-hero {
    margin: 12px 12px 0;
    border-radius: 8px;
    padding: 24px 18px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .wechat-mini-shell .hero-copy h1 {
    font-size: 26px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .wechat-mini-shell .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

	  .hero-stats,
	  .credit-rule-panel,
	  .meta-grid,
	  .detail-meta,
		  .detail-rule-grid,
		  .task-requirement-grid,
		  .ocr-result-grid,
		  .flow-list,
		  .review-form,
		  .user-order-status,
		  .task-next-card,
		  .task-order-countdown-card,
		  .task-proof-grid {
		    grid-template-columns: 1fr;
		  }

		  .credit-rule-content,
		  .credit-rule-group ul,
		  .simple-task-steps {
		    grid-template-columns: 1fr;
		  }

  .credit-log-row {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .credit-log-row em {
    grid-column: 1 / -1;
    text-align: left;
  }

		  .task-progress-steps,
	  .task-action-steps,
	  .task-notice-list {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

  .credit-summary-card {
    align-items: flex-start;
  }

  .activity-detail-modal {
    align-items: stretch;
  }

  .detail-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .detail-body {
    max-height: calc(100vh - 64px);
    padding: 14px;
  }

  .detail-summary {
    min-height: 118px;
    padding: 16px;
  }

  .detail-summary.has-product {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .detail-product-media {
    width: 84px;
  }

	  .detail-summary h2 {
	    font-size: 22px;
	  }

	  .task-action-steps {
	    grid-template-columns: 1fr;
	  }

	  .task-action-steps article {
	    min-height: 0;
	  }

		  .task-action-row {
		    grid-template-columns: 1fr;
		  }

		  .validation-list {
		    grid-template-columns: 1fr;
		  }

		  .task-sticky-actions {
		    grid-template-columns: repeat(2, minmax(0, 1fr));
		    margin: 16px -14px -14px;
		    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		  }

	  .execution-checklist li,
	  .requirement-list li,
	  .extra-product-card,
	  .task-log-list > div,
	  .task-step-panels > article {
	    grid-template-columns: 1fr;
	  }

  .execution-checklist li {
    position: relative;
    padding-left: 54px;
  }

  .execution-checklist li > b {
    position: absolute;
    left: 12px;
    top: 12px;
  }

  .extra-product-card img,
  .extra-product-placeholder {
    width: 100%;
    max-height: 180px;
  }

  .trial-toolbar {
    width: calc(100vw - 32px);
    flex-direction: column;
    align-items: stretch;
  }

  .wechat-mini-shell .trial-toolbar {
    position: sticky;
    top: calc(58px + env(safe-area-inset-top));
    z-index: 12;
    margin-top: 12px;
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
  }

  .activity-card {
    grid-template-columns: 1fr;
  }

  .wechat-mini-shell .activity-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    min-height: 118px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  }

  .wechat-mini-shell .activity-card .activity-mini,
  .wechat-mini-shell .activity-card .card-side {
    grid-column: span 2;
  }

  .wechat-mini-shell .activity-card h3 {
    white-space: normal;
    font-size: 17px;
    line-height: 1.35;
  }

  .product-shot {
    min-height: 150px;
  }

  .wechat-mini-shell .product-shot.compact {
    width: 76px;
    min-height: 82px;
  }

  .card-side {
    align-items: flex-start;
  }

  .reward {
    text-align: left;
  }

.trial-shell,
.my-orders-panel,
.submit-panel,
.wallet-panel {
  width: calc(100vw - 32px);
}

  .my-orders-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .my-orders-head p {
    text-align: left;
  }

  .panel-head {
    flex-direction: column;
  }

  .panel-head p {
    text-align: left;
  }

	  .form-wide {
	    grid-column: span 1;
	  }

  .task-proof-grid {
    grid-column: span 1;
  }

  .withdraw-history-row {
    grid-template-columns: minmax(0, 1fr) auto 74px;
  }

  .withdraw-history em {
    grid-column: 1 / 3;
  }

  .withdraw-history-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .withdraw-history-search {
    grid-template-columns: 1fr 1fr;
  }

  .withdraw-history-search label {
    grid-column: 1 / -1;
  }

  .withdraw-history-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .withdraw-history-card dl div,
  .withdraw-history-card dl div:nth-child(3n) {
    border-right: 1px solid #edf1f5;
  }

  .withdraw-history-card dl div:nth-child(2n) {
    border-right: 0;
  }

  .withdraw-history-card > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .withdraw-record-proof {
    width: 100%;
    flex-basis: auto;
  }

  .review-form .primary-action {
    width: 100%;
  }

  .wechat-mini-shell .contact-float {
    display: none;
  }

  .wechat-mini-shell .wx-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #e4e8ef;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 28px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
  }

  .wechat-mini-shell .wx-tabbar button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #667085;
    background: #f6f8fb;
    font-size: 13px;
    font-weight: 850;
  }

  .wechat-mini-shell .wx-tabbar button.is-active {
    color: #fff;
    background: var(--teal);
  }
}

@media (max-width: 520px) {
  .trial-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    gap: 8px;
  }

  .trial-brand strong {
    font-size: 16px;
  }

  .trial-nav {
    gap: 6px;
    padding-bottom: 2px;
  }

  .trial-nav .user-chip,
  .trial-nav .coin-chip,
  .trial-nav .principal-chip,
  .trial-nav .credit-chip,
  .trial-nav .nav-link {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .detail-body {
    padding: 12px;
  }

  .detail-summary.has-product {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .detail-product-media {
    width: 64px;
  }

  .detail-summary h2 {
    font-size: 20px;
  }

  .detail-meta div,
  .task-requirement-grid div,
  .ocr-result-grid div {
    padding: 10px;
  }

  .detail-submit-form {
    padding: 12px;
  }

  .review-flow-intro strong,
  .ocr-upload-heading strong {
    font-size: 15px;
  }

  .ocr-fallback-grid {
    grid-template-columns: 1fr;
  }

  .task-proof-field {
    padding: 11px;
  }

  .task-proof-field input[type="file"] {
    width: 100%;
    min-height: 42px;
    padding: 8px 0;
  }

  .task-sticky-actions {
    gap: 7px;
    margin: 14px -12px -12px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  }

  .task-sticky-actions .primary-action,
  .task-sticky-actions .secondary-action,
  .task-sticky-actions .task-action-link {
    min-height: 44px;
    padding: 5px 8px;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }

  .modal-head {
    min-height: 56px;
    padding: 10px 12px;
  }

  .modal-head strong {
    font-size: 16px;
  }
}

.support-emoji-row {
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 6px;
  width: min(338px, calc(100vw - 54px));
  max-height: 142px;
  overflow-y: auto;
  padding: 10px 14px;
  border: 1px solid #dce3ea;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .12);
}
.support-emoji-row[hidden] { display: none; }
.support-emoji-row button { width: 34px; height: 34px; padding: 0; font-size: 20px; }
.support-attachment-preview { display: flex; align-items: center; gap: 8px; width: 100%; padding-top: 8px; overflow-x: auto; }
.support-attachment-preview[hidden] { display: none; }
.support-attachment-preview > em { flex: 0 0 auto; color: #667085; font-size: 12px; font-style: normal; }
.support-preview-item { position: relative; display: grid; flex: 0 0 70px; gap: 3px; }
.support-preview-item img { width: 66px; height: 52px; border-radius: 4px; object-fit: cover; }
.support-preview-item small { overflow: hidden; color: #667085; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.support-preview-item button { position: absolute; top: -5px; right: 0; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #e5484d; }
.support-message-avatar img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.trial-upgrade-ready .legacy-trial-section { display: none !important; }
.trial-workbench { width: min(1440px, calc(100% - 40px)); margin: 24px auto 110px; color: #17202d; }
@media (min-width: 821px) {
  .trial-upgrade-ready .trial-workbench { padding-right: 82px; box-sizing: border-box; }
}
.trial-workbench button, .trial-workbench input, .trial-workbench select, .trial-workbench textarea { font: inherit; letter-spacing: 0; }
.trial-upgrade-overview { display: grid; grid-template-columns: minmax(220px, 1.1fr) auto; gap: 18px 24px; padding: 24px; border: 1px solid #dfe6eb; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(22, 39, 53, .06); }
.trial-overview-copy span { color: #0d8f80; font-size: 13px; font-weight: 800; }
.trial-overview-copy h1 { margin: 5px 0; font-size: 27px; line-height: 1.2; letter-spacing: 0; }
.trial-overview-copy p { margin: 0; color: #667182; font-size: 14px; }
.trial-overview-actions { display: flex; align-items: center; gap: 10px; }
.trial-overview-actions button, .trial-workbench button { min-height: 38px; padding: 0 15px; border: 1px solid #d4dde4; border-radius: 6px; color: #2c3745; background: #fff; cursor: pointer; }
.trial-workbench button:hover { border-color: #0f9f8f; color: #08796d; }
.trial-workbench button:disabled { cursor: not-allowed; color: #96a1ad; border-color: #e2e7eb; background: #f1f4f6; }
.trial-workbench .trial-primary { color: #fff; border-color: #0f9f8f; background: #0f9f8f; font-weight: 800; }
.trial-workbench .trial-primary:hover { color: #fff; border-color: #087d71; background: #087d71; }
.trial-metric-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid #e2e8ec; border-radius: 7px; overflow: hidden; }
.trial-metric-grid div { min-width: 0; padding: 17px 15px; border-right: 1px solid #e7ecef; background: #f9fbfc; }
.trial-metric-grid div:last-child { border-right: 0; }
.trial-metric-grid b { display: block; overflow: hidden; color: #17202d; font-size: 23px; line-height: 1.2; text-overflow: ellipsis; }
.trial-metric-grid span { display: block; margin-top: 5px; color: #74808f; font-size: 12px; }
.trial-credit-compact { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 14px; border-left: 3px solid #f3a93b; color: #667182; background: #fff8eb; font-size: 13px; }
.trial-credit-compact b { color: #198453; }
.trial-credit-compact em { margin-right: auto; font-style: normal; }
.trial-credit-compact button { min-height: 30px; padding: 0 10px; background: transparent; }
.trial-main-tabs { position: sticky; top: 68px; z-index: 20; display: flex; gap: 2px; margin-top: 18px; padding: 0 16px; border-bottom: 1px solid #dbe3e8; background: rgba(246, 249, 250, .96); backdrop-filter: blur(10px); }
.trial-main-tabs button { position: relative; min-width: 116px; border: 0; border-radius: 0; background: transparent; }
.trial-main-tabs button.is-active { color: #0b887a; font-weight: 850; }
.trial-main-tabs button.is-active::after { position: absolute; right: 17px; bottom: -1px; left: 17px; height: 3px; content: ""; background: #0f9f8f; }
.trial-main-tabs b { display: inline-flex; min-width: 19px; height: 19px; margin-left: 6px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: #ef5656; font-size: 11px; }
.trial-workbench-content { min-height: 400px; padding-top: 18px; }
.trial-activity-toolbar { display: grid; grid-template-columns: minmax(260px, 1.2fr) minmax(420px, 2fr) auto auto; gap: 12px; align-items: end; margin-bottom: 16px; padding: 15px; border: 1px solid #dfe6ea; border-radius: 7px; background: #fff; }
.trial-activity-toolbar label { display: flex; align-items: center; gap: 8px; color: #687483; font-size: 12px; }
.trial-activity-toolbar label > span { white-space: nowrap; }
.trial-activity-toolbar input, .trial-activity-toolbar select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #d5dee5; border-radius: 5px; color: #26313e; background: #fff; }
.trial-upgrade-search { position: relative; }
.trial-upgrade-search span { position: absolute; left: 11px; }
.trial-upgrade-search input { padding-left: 48px; }
.trial-filter-row { display: flex; gap: 5px; overflow-x: auto; }
.trial-filter-row button { min-height: 36px; padding: 0 11px; white-space: nowrap; }
.trial-filter-row button.is-active { color: #087c70; border-color: #9fdacf; background: #e9f8f5; font-weight: 800; }
.trial-activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.trial-task-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #dce4e9; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(26, 42, 57, .05); }
.trial-task-card:hover { border-color: #9fd4ca; box-shadow: 0 12px 28px rgba(22, 76, 69, .1); }
.trial-product-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9f1f3; }
.trial-product-image img { width: 100%; height: 100%; display: block; object-fit: contain; background: #f4f6f8; }
.trial-product-image > span { width: 100%; height: 100%; display: grid; place-items: center; color: #0f8c7e; font-size: 40px; font-weight: 900; background: #e0f3ef; }
.trial-product-image em { position: absolute; top: 9px; left: 9px; padding: 4px 8px; border-radius: 4px; color: #fff; background: rgba(21, 31, 42, .82); font-size: 11px; font-style: normal; }
.trial-task-card-body { flex: 1; padding: 15px; }
.trial-task-card h3 { min-height: 44px; margin: 0; overflow: hidden; color: #19232f; font-size: 16px; line-height: 1.4; }
.trial-task-card-body > p { margin: 5px 0 12px; overflow: hidden; color: #7a8592; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.trial-money-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.trial-money-row div { min-width: 0; padding: 8px 6px; border: 1px solid #e7ecef; border-radius: 5px; background: #fafbfc; }
.trial-money-row span, .trial-money-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trial-money-row span { color: #87919e; font-size: 10px; }
.trial-money-row b { margin-top: 3px; color: #d44b39; font-size: 14px; }
.trial-money-row div:last-child b { color: #0b8b7d; }
.trial-task-card dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; gap: 12px; }
.trial-task-card dl div { min-width: 0; }
.trial-task-card dt { color: #929aa5; font-size: 10px; }
.trial-task-card dd { margin: 3px 0 0; overflow: hidden; color: #364150; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.trial-task-card .trial-requirement { min-height: 34px; margin: 12px 0 0; color: #5e6976; line-height: 1.5; white-space: normal; }
.trial-task-card > footer { display: flex; min-height: 54px; padding: 9px 14px; align-items: center; justify-content: space-between; border-top: 1px solid #e7ecef; }
.trial-task-card > footer span { color: #697585; font-size: 12px; }
.trial-task-card > footer button { min-height: 34px; }
.trial-card-refund-mode { color: #d92d20 !important; font-weight: 850; }
.trial-card-task-unit { margin: 7px 0 0 !important; padding: 7px 9px; border-left: 3px solid #2563eb; color: #475569 !important; background: #eff6ff; }
.trial-card-task-unit b { color: #1d4ed8; }
.trial-gift-benefit { position: relative; display: flex; margin: 14px 18px; padding: 15px; align-items: center; gap: 16px; overflow: hidden; border: 2px solid #f59e0b; border-radius: 10px; color: #7c2d12; background: linear-gradient(135deg, #fff7ed, #fef3c7); box-shadow: 0 8px 24px rgba(245, 158, 11, .16); }
.trial-gift-benefit.is-compact { margin: 10px 0 12px; padding: 10px; gap: 9px; }
.trial-gift-visual, .trial-gift-icon { display: grid; width: 112px; height: 96px; flex: 0 0 112px; overflow: hidden; place-items: center; border: 1px solid rgba(245, 158, 11, .32); border-radius: 8px; background: #fff; font-size: 32px; }
.trial-gift-visual img { width: 100%; height: 100%; object-fit: cover; }
.trial-gift-benefit.is-compact .trial-gift-visual, .trial-gift-benefit.is-compact .trial-gift-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 6px; font-size: 20px; }
.trial-gift-content { min-width: 0; flex: 1; }
.trial-gift-benefit span, .trial-gift-benefit strong, .trial-gift-benefit small { display: block; }
.trial-gift-benefit span { color: #dc2626; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.trial-gift-benefit strong { margin-top: 2px; overflow: hidden; color: #9a3412; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.trial-gift-benefit.is-compact strong { font-size: 13px; }
.trial-gift-benefit small { margin-top: 3px; color: #92400e; line-height: 1.4; }
.trial-refund-mode-explain { margin: 14px 18px; padding: 14px 16px; border: 2px solid #ef4444; border-radius: 7px; color: #c62828; background: #fff5f5; }
.trial-refund-mode-explain strong { display: block; margin-bottom: 9px; color: #d71920; font-size: 18px; }
.trial-refund-mode-explain p { margin: 6px 0; color: #c62828; font-size: 13px; line-height: 1.65; }
.trial-refund-mode-explain b { color: #b42318; }
.trial-order-screenshot-first { padding: 16px; border: 2px solid #2563eb; border-radius: 8px; background: #f4f8ff; }
.trial-order-screenshot-first > span { color: #17202d; font-size: 16px; font-weight: 850; }
.trial-order-screenshot-first > span b { display: inline-flex; margin-right: 6px; padding: 3px 7px; border-radius: 4px; color: #fff; background: #e53935; font-size: 12px; }
.trial-order-screenshot-first > p { margin: 8px 0 12px; color: #c62828; font-size: 14px; font-weight: 750; line-height: 1.65; }
.trial-order-screenshot-first > small { display: block; margin-top: 8px; color: #687483; line-height: 1.55; }
.trial-order-ocr-result { margin-top: 12px; padding: 12px 14px; border: 1px solid #dce4e9; border-radius: 6px; color: #687483; background: #fff; }
.trial-order-ocr-result strong { display: block; margin-bottom: 8px; color: #253142; }
.trial-order-ocr-result > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trial-order-ocr-result > div span { min-width: 0; padding: 8px; border-radius: 4px; color: #687483; background: rgba(255,255,255,.72); font-size: 12px; }
.trial-order-ocr-result > div b { display: block; margin-top: 3px; overflow: hidden; color: #26313e; text-overflow: ellipsis; white-space: nowrap; }
.trial-order-ocr-result p { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }
.trial-order-ocr-result.is-loading { border-color: #93b4ff; color: #245edb; background: #edf4ff; }
.trial-order-ocr-result.is-success { border-color: #75c9a7; color: #137653; background: #effaf5; }
.trial-order-ocr-result.is-warning { border-color: #f3bd62; color: #9a5d00; background: #fff8e8; }
.trial-order-ocr-result.is-error { border-color: #ef6b6b; color: #b42318; background: #fff1f1; }
.trial-order-ocr-result.is-error strong { color: #c62828; }
.trial-merchant-task-parameters { margin: 0 21px 18px; padding: 17px; border: 2px solid #ef5350; border-radius: 8px; background: #fff8f7; }
.trial-merchant-task-parameters > header { margin-bottom: 13px; }
.trial-merchant-task-parameters > header span { display: block; color: #d32f2f; font-size: 12px; font-weight: 850; }
.trial-merchant-task-parameters > header strong { display: block; margin-top: 3px; color: #b71c1c; font-size: 19px; }
.trial-merchant-task-parameters > header p { margin: 6px 0 0; color: #5f6875; font-size: 13px; line-height: 1.65; }
.trial-merchant-parameter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trial-merchant-parameter-grid > div { min-width: 0; padding: 10px 11px; border: 1px solid #f0d3d1; border-radius: 5px; background: #fff; }
.trial-merchant-parameter-grid span, .trial-merchant-parameter-grid b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trial-merchant-parameter-grid span { color: #8b949e; font-size: 11px; }
.trial-merchant-parameter-grid b { margin-top: 4px; color: #26313e; font-size: 14px; }
.trial-merchant-instruction { margin-top: 9px; padding: 11px 12px; border-left: 3px solid #ef5350; background: #fff; }
.trial-merchant-instruction strong { color: #b42318; font-size: 13px; }
.trial-merchant-instruction p { margin: 5px 0 0; color: #4f5b68; line-height: 1.7; white-space: pre-wrap; }
.trial-merchant-task-parameters > .trial-gift-benefit { margin: 14px 0 0; }
.trial-task-entry-link { display: inline-flex; margin-top: 12px; padding: 9px 14px; border-radius: 5px; color: #fff; background: #e53935; font-weight: 800; text-decoration: none; }
.trial-task-entry-link:hover { background: #c62828; }
.trial-claim-product-image { display: block; width: calc(100% - 42px); max-height: 260px; margin: 18px 21px 0; object-fit: contain; border: 1px solid #e2e8eb; border-radius: 8px; background: #f7f9fa; }
.trial-product-brief { display: grid; grid-template-columns: 150px 1fr 1.4fr; gap: 12px; margin-bottom: 14px; padding: 12px; align-items: center; border: 2px solid #ef9a9a; border-radius: 7px; background: #fff; }
.trial-product-brief img { width: 150px; height: 120px; grid-row: 1; object-fit: contain; border-radius: 5px; background: #f4f6f7; }
.trial-product-brief div { min-width: 0; }
.trial-product-brief span, .trial-product-brief b { display: block; }
.trial-product-brief span { color: #8a6570; font-size: 12px; }
.trial-product-brief b { margin-top: 6px; color: #202b38; font-size: 17px; overflow-wrap: anywhere; }
.trial-entry-instruction { position: relative; }
.trial-entry-instruction a { display: inline-flex; margin-top: 10px; padding: 8px 16px; border-radius: 5px; color: #fff; background: #2563eb; font-weight: 850; text-decoration: none; }
.trial-entry-instruction img { display: block; width: min(260px, 100%); max-height: 300px; margin-top: 12px; object-fit: contain; border: 1px solid #efb5b5; border-radius: 6px; background: #fff; }
.trial-added-services { margin-top: 14px; padding: 14px; border: 2px solid #f59e0b; border-radius: 7px; background: #fff9e9; }
.trial-added-services header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #b45309; }
.trial-added-services > div { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-top: 9px; padding: 10px; align-items: center; border-radius: 5px; background: #fff; }
.trial-added-services em { color: #dc2626; font-style: normal; font-weight: 900; }
.trial-added-services > div strong { color: #b91c1c; font-size: 12px; }
.trial-added-services > div span { color: #687482; font-size: 12px; }
.trial-added-services > p { margin: 10px 0 0; color: #7c4a03; line-height: 1.7; }
.trial-review-requirements { margin: 16px 21px; padding: 16px; border: 2px solid #2563eb; border-radius: 8px; background: #f5f8ff; }
.trial-review-requirements > header span { display: block; color: #2563eb; font-size: 12px; font-weight: 900; }
.trial-review-requirements > header strong { display: block; margin-top: 4px; color: #172554; font-size: 19px; }
.trial-review-requirements > header p { margin: 7px 0 0; color: #5b6780; font-size: 13px; line-height: 1.6; }
.trial-review-type { margin-top: 14px; padding: 13px; border: 1px solid #cbd8f5; border-radius: 7px; background: #fff; }
.trial-review-type h4 { display: flex; margin: 0 0 10px; align-items: center; justify-content: space-between; color: #1e3a8a; font-size: 16px; }
.trial-review-type h4 em { padding: 3px 8px; border-radius: 999px; color: #fff; background: #2563eb; font-size: 11px; font-style: normal; }
.trial-review-entry { padding: 12px; border-radius: 6px; background: #f8fafc; }
.trial-review-entry + .trial-review-entry { margin-top: 10px; }
.trial-review-entry-title { display: flex; gap: 10px; align-items: center; }
.trial-review-entry-title b { color: #172554; }
.trial-review-entry-title span { color: #64748b; font-size: 12px; }
.trial-review-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 9px; align-items: center; }
.trial-review-copy-row p { margin: 0; padding: 10px 12px; border-left: 4px solid #2563eb; color: #17202d; background: #fff; font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.trial-review-copy-row button, .trial-review-media button, .trial-review-video button, .trial-save-media { min-height: 38px; padding: 0 12px; color: #fff; border: 1px solid #2563eb; border-radius: 5px; background: #2563eb; white-space: nowrap; touch-action: manipulation; }
.trial-save-media { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none; }
.trial-review-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.trial-review-media figure { margin: 0; padding: 8px; border: 1px solid #dce4ef; border-radius: 6px; background: #fff; }
.trial-review-media img { width: 100%; height: 150px; display: block; object-fit: contain; border-radius: 4px; background: #f3f5f7; }
.trial-review-media figcaption { margin-top: 8px; text-align: center; }
.trial-review-video { display: grid; gap: 9px; margin-top: 10px; }
.trial-review-video video { width: 100%; max-height: 340px; border-radius: 6px; background: #111827; }
.trial-review-video button, .trial-review-video .trial-save-media { justify-self: start; }

@media (max-width: 767px) {
  .trial-order-ocr-result > div { grid-template-columns: minmax(0, 1fr); }
  .trial-merchant-task-parameters { margin-right: 14px; margin-left: 14px; padding: 14px; }
  .trial-merchant-parameter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-review-requirements { margin-right: 14px; margin-left: 14px; padding: 12px; }
  .trial-review-copy-row { grid-template-columns: minmax(0, 1fr); }
}
.trial-task-list { display: grid; gap: 14px; }
.trial-my-task { overflow: hidden; border: 1px solid #dce4e9; border-radius: 8px; background: #fff; }
.trial-my-task > header { display: flex; padding: 17px 19px; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5eaee; }
.trial-my-task-heading { min-width: 0; display: flex; align-items: center; gap: 14px; }
.trial-my-task-image { width: 92px; height: 76px; flex: 0 0 92px; overflow: hidden; display: grid; place-items: center; border: 1px solid #dce4e9; border-radius: 7px; color: #7a8793; background: #f3f6f8; }
.trial-my-task-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.trial-my-task-image span { font-size: 12px; }
.trial-my-task header span { color: #8a94a0; font-size: 11px; }
.trial-my-task header h3 { margin: 4px 0; font-size: 17px; }
.trial-my-task header p { margin: 0; color: #727e8c; font-size: 12px; }
.trial-my-task header p .trial-platform-icon { margin-right: 6px; vertical-align: -4px; }
.trial-platform-label { display: inline-flex; align-items: center; gap: 6px; }
.trial-platform-label b { color: #6d7885; font-size: 12px; }
.trial-platform-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; overflow: hidden; border-radius: 6px; color: #fff; background: #64748b; font-size: 11px; font-style: normal; font-weight: 900; }
.trial-platform-icon svg { width: 17px; height: 17px; fill: currentColor; }
.trial-platform-icon[data-platform="dy"] { color: #fff; background: #111827; box-shadow: inset 2px 0 #22d3ee, inset -2px 0 #fb2c76; }
.trial-platform-icon[data-platform="tb"], .trial-platform-icon[data-platform="tm"] { background: #ff5a1f; }
.trial-platform-icon[data-platform="jd"] { background: #dc2626; }
.trial-platform-icon[data-platform="pdd"] { background: #e02d2d; }
.trial-platform-icon[data-platform="ks"] { background: #ff4d00; }
.trial-platform-icon[data-platform="xhs"] { background: #ff2442; }
.trial-platform-icon[data-platform="xy"] { color: #17202d; background: #ffda18; }
.trial-platform-icon[data-platform="wx"], .trial-platform-icon[data-platform="sph"] { background: #07c160; }
.trial-platform-icon[data-platform="al"] { background: #ff6a00; font-size: 8px; }
.trial-my-task header > em { height: 28px; padding: 5px 9px; border-radius: 4px; color: #296c61; background: #e2f3ef; font-size: 12px; font-style: normal; white-space: nowrap; }
.trial-my-task header > em.status-overdue, .trial-my-task header > em.status-disputed, .trial-my-task header > em.status-rejected { color: #b12f2f; background: #ffeded; }
.trial-stepper { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 18px 20px 12px; overflow-x: auto; }
.trial-stepper div { position: relative; min-width: 92px; text-align: center; }
.trial-stepper div::before { position: absolute; top: 7px; right: 50%; left: -50%; height: 2px; content: ""; background: #dfe5e8; }
.trial-stepper div:first-child::before { display: none; }
.trial-stepper i { position: relative; z-index: 2; width: 16px; height: 16px; display: block; margin: 0 auto 7px; border: 3px solid #d7dfe4; border-radius: 50%; background: #fff; }
.trial-stepper span { color: #8a949f; font-size: 11px; white-space: nowrap; }
.trial-stepper .is-done::before, .trial-stepper .is-current::before { background: #79c8bb; }
.trial-stepper .is-done i { border-color: #0f9f8f; background: #0f9f8f; }
.trial-stepper .is-current i { border-color: #0f9f8f; box-shadow: 0 0 0 4px #dff4f0; }
.trial-stepper .is-current span { color: #087c70; font-weight: 800; }
.trial-task-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0 18px 15px; overflow: hidden; border: 1px solid #e3e8eb; border-radius: 5px; background: #e3e8eb; }
.trial-task-facts > div { min-width: 0; padding: 11px; background: #fafbfc; }
.trial-task-facts span, .trial-task-facts b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trial-task-facts span { color: #8a939e; font-size: 10px; }
.trial-task-facts b { margin-top: 4px; color: #303b48; font-size: 12px; }
.trial-countdown { color: #ce7225; }
.trial-countdown.is-overdue { color: #c73737; }
.trial-my-task > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; padding: 11px 18px; border-top: 1px solid #e7ecef; background: #fbfcfc; }
.trial-my-task > footer button { min-height: 33px; padding: 0 11px; }
.trial-user-refund-alert { margin-bottom: 14px; padding: 18px 21px; border: 3px solid #dc2626; border-radius: 8px; color: #b91c1c; background: #fff1f1; box-shadow: 0 8px 22px rgba(185, 28, 28, .1); }
.trial-user-refund-alert strong { display: block; font-size: 24px; font-weight: 950; line-height: 1.3; }
.trial-user-refund-alert p { margin: 7px 0 0; font-size: 15px; font-weight: 800; line-height: 1.7; }
.trial-user-refund-alert.is-modal { margin: 0 21px 18px; }
.trial-task-refund-deadline { display: flex; gap: 8px 16px; margin: 0 18px 15px; padding: 11px 13px; align-items: center; border-left: 4px solid #dc2626; color: #b91c1c; background: #fff3f3; }
.trial-task-refund-deadline strong { font-size: 15px; font-weight: 950; white-space: nowrap; }
.trial-task-refund-deadline span { font-size: 12px; font-weight: 750; line-height: 1.5; }
.trial-upgrade-empty, .trial-upgrade-loading { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px dashed #ccd7dd; border-radius: 7px; color: #77828f; background: #fff; }
.trial-upgrade-empty strong { color: #293441; font-size: 17px; }
.trial-upgrade-empty span { font-size: 13px; }
.trial-credit-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; }
.trial-credit-page > header { padding: 22px; border: 1px solid #dce5e9; border-radius: 7px; background: #fff; }
.trial-credit-page header div > * { display: block; }
.trial-credit-page header span { color: #788493; font-size: 12px; }
.trial-credit-page header strong { margin: 7px 0; color: #0b8b7d; font-size: 42px; }
.trial-credit-page header em { margin-bottom: 18px; color: #21815f; font-style: normal; }
.trial-credit-list { overflow: hidden; border: 1px solid #dce5e9; border-radius: 7px; background: #fff; }
.trial-credit-list > div { display: grid; grid-template-columns: 48px 1fr auto 80px; gap: 12px; padding: 14px 17px; align-items: center; border-bottom: 1px solid #e8edef; }
.trial-credit-list > div:last-child { border-bottom: 0; }
.trial-credit-list i { color: #1c8b61; font-size: 17px; font-style: normal; font-weight: 850; }
.trial-credit-list i.negative { color: #c64545; }
.trial-credit-list span b, .trial-credit-list span small { display: block; }
.trial-credit-list span small, .trial-credit-list time, .trial-credit-list > div > em { color: #8a949f; font-size: 11px; font-style: normal; }
.trial-finance-page { display: grid; gap: 14px; }
.trial-finance-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.trial-finance-summary > div { position: relative; overflow: hidden; padding: 20px 22px; border: 1px solid #d9e5e4; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(23, 55, 64, .04); }
.trial-finance-summary > div::after { position: absolute; top: -30px; right: -22px; width: 110px; height: 110px; content: ""; border-radius: 50%; background: rgba(15, 159, 143, .08); }
.trial-finance-summary span, .trial-finance-summary strong, .trial-finance-summary small { display: block; }
.trial-finance-summary span { color: #697786; font-size: 12px; font-weight: 750; }
.trial-finance-summary strong { margin: 6px 0 3px; color: #087c70; font-size: 30px; line-height: 1.2; }
.trial-finance-summary small { color: #929ca8; font-size: 11px; }
.trial-finance-withdrawal { overflow: hidden; border: 1px solid #d8e5e7; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(23, 55, 64, .04); scroll-margin-top: 86px; }
.trial-coin-transfer { overflow: hidden; border: 1px solid #dbe7ff; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .06); }
.trial-coin-transfer > header { padding: 18px 20px; border-bottom: 1px solid #e5edff; background: linear-gradient(135deg, #eff6ff, #f8fbff); }
.trial-coin-transfer > header span, .trial-coin-transfer > header h2, .trial-coin-transfer > header p { display: block; margin: 0; }
.trial-coin-transfer > header span { color: #2563eb; font-size: 12px; font-weight: 850; }
.trial-coin-transfer > header h2 { margin-top: 5px; color: #172033; font-size: 22px; }
.trial-coin-transfer > header p { margin-top: 6px; color: #66758c; font-size: 12px; line-height: 1.6; }
.trial-coin-transfer-balance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 20px 0; }
.trial-coin-transfer-balance > div { display: grid; gap: 5px; padding: 14px 16px; border: 1px solid #dbe7ff; border-radius: 10px; background: #f8fbff; }
.trial-coin-transfer-balance span { color: #64748b; font-size: 12px; }
.trial-coin-transfer-balance strong { color: #1d4ed8; font-size: 24px; }
.trial-coin-transfer-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; padding: 16px 20px 12px; }
.trial-coin-transfer-form label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 750; }
.trial-coin-transfer-form label > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.trial-coin-transfer-form input { min-width: 0; min-height: 44px; border: 1px solid #cbd8ee; border-radius: 9px 0 0 9px; padding: 0 13px; color: #172033; background: #fff; font: inherit; }
.trial-coin-transfer-form label button { min-height: 44px; border: 1px solid #9ebcf8; border-left: 0; border-radius: 0 9px 9px 0; padding: 0 16px; color: #1d4ed8; background: #eff6ff; font-weight: 800; cursor: pointer; }
.trial-coin-transfer-form > button { min-height: 44px; padding-inline: 24px; }
.trial-coin-transfer-form button:disabled, .trial-coin-transfer-form input:disabled { cursor: not-allowed; opacity: .55; }
.trial-coin-transfer-note { margin: 0 20px 18px; padding: 10px 12px; border-radius: 8px; color: #1e40af; background: #eff6ff; font-size: 12px; line-height: 1.65; }
.trial-finance-withdrawal > header { padding: 18px 20px; border-bottom: 1px solid #e7eef0; background: linear-gradient(135deg, #f2fbf9, #f8fbff); }
.trial-finance-withdrawal > header span, .trial-finance-withdrawal > header h2, .trial-finance-withdrawal > header p { display: block; margin: 0; }
.trial-finance-withdrawal > header span { color: #2563eb; font-size: 12px; font-weight: 850; }
.trial-finance-withdrawal > header h2 { margin-top: 5px; color: #172033; font-size: 22px; }
.trial-finance-withdrawal > header p { margin-top: 6px; color: #6f7d8c; font-size: 12px; line-height: 1.6; }
.trial-finance-withdrawal .withdraw-form.is-inline { max-height: none; overflow: visible; padding: 20px; scrollbar-gutter: auto; }
.trial-finance-withdrawal .withdraw-history { margin-top: 4px; }
.trial-finance-toolbar { display: grid; grid-template-columns: minmax(260px, 1.6fr) auto auto auto; gap: 10px; padding: 14px; align-items: end; border: 1px solid #dce5e9; border-radius: 8px; background: #fff; }
.trial-finance-toolbar label { display: grid; min-width: 0; gap: 5px; color: #6b7785; font-size: 11px; }
.trial-finance-toolbar input, .trial-finance-toolbar select { width: 100%; min-width: 0; min-height: 40px; padding: 0 11px; border: 1px solid #d3dde2; border-radius: 6px; color: #263442; background: #fff; }
.trial-finance-toolbar > button { min-height: 40px; white-space: nowrap; }
.trial-finance-filter { display: flex; gap: 5px; }
.trial-finance-filter button { min-height: 40px; padding: 0 13px; white-space: nowrap; }
.trial-finance-filter button.is-active { color: #087c70; border-color: #89d3c6; background: #e8f7f4; font-weight: 850; }
.trial-finance-list { display: grid; gap: 10px; }
.trial-finance-record { overflow: hidden; border: 1px solid #dce5e9; border-radius: 8px; background: #fff; }
.trial-finance-record > header { display: flex; gap: 14px; padding: 13px 16px; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf1f2; background: #fbfcfc; }
.trial-finance-record > header div { display: flex; min-width: 0; align-items: center; gap: 9px; }
.trial-finance-record > header span { padding: 3px 8px; border-radius: 999px; color: #0b7e73; background: #e7f6f3; font-size: 11px; font-weight: 850; }
.trial-finance-record > header strong { overflow: hidden; color: #2b3744; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.trial-finance-record > header > b { flex: 0 0 auto; font-size: 20px; }
.trial-finance-record > header > b.is-income { color: #0b8b61; }
.trial-finance-record > header > b.is-expense { color: #d24747; }
.trial-finance-source { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; align-items: center; }
.trial-finance-source.is-generic { grid-template-columns: minmax(0, 1fr); }
.trial-finance-product { width: 62px; height: 54px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; color: #0b8175; background: #edf6f5; font-size: 11px; font-weight: 850; }
.trial-finance-product img { width: 100%; height: 100%; display: block; object-fit: contain; }
.trial-finance-source > div:nth-child(2), .trial-finance-source.is-generic > div { min-width: 0; }
.trial-finance-source strong, .trial-finance-source span, .trial-finance-source small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trial-finance-source strong { color: #263442; font-size: 14px; }
.trial-finance-source span { margin-top: 3px; color: #667483; font-size: 12px; }
.trial-finance-source small { margin-top: 4px; color: #909aa5; font-size: 10px; }
.trial-finance-source > button { min-height: 38px; padding: 0 13px; white-space: nowrap; }
.trial-finance-record > footer { display: flex; gap: 16px; padding: 10px 16px; align-items: center; justify-content: space-between; border-top: 1px solid #edf1f2; color: #7f8a96; font-size: 11px; }
.trial-finance-record > footer b { color: #465463; }
.trial-finance-loading { min-height: 220px; display: grid; place-items: center; border: 1px dashed #cad8dc; border-radius: 8px; color: #6e7a88; background: #fff; }
.trial-finance-pagination { display: flex; gap: 9px; padding: 7px 0 2px; align-items: center; justify-content: flex-end; color: #71808f; }
.trial-finance-pagination span { margin-right: auto; }
.trial-finance-pagination em { min-width: 90px; text-align: center; font-size: 12px; font-style: normal; }
.trial-finance-pagination button { min-height: 38px; }
.trial-upgrade-modal { position: fixed; z-index: 1900; inset: 0; display: grid; padding: 28px; place-items: center; background: rgba(13, 22, 31, .6); }
.trial-modal-card { width: min(620px, 100%); max-height: calc(100vh - 56px); overflow: auto; border-radius: 8px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.trial-modal-card.is-wide { width: min(850px, 100%); }
.trial-modal-card.is-drawer { width: min(500px, 100%); margin-left: auto; border-radius: 8px 0 0 8px; }
.trial-modal-card > header { position: sticky; top: 0; z-index: 3; display: flex; padding: 18px 21px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e3e8ec; background: #fff; }
.trial-modal-card > header span { color: #0d8d7f; font-size: 11px; font-weight: 800; }
.trial-modal-card > header h2 { margin: 3px 0 0; font-size: 19px; }
.trial-modal-card > header > button { width: 36px; height: 36px; min-height: 0; padding: 0; font-size: 24px; }
.trial-confirm-money, .trial-detail-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 21px; }
.trial-confirm-money div, .trial-detail-summary div { min-width: 0; padding: 11px; border: 1px solid #e2e8eb; border-radius: 5px; background: #f9fbfc; }
.trial-confirm-money span, .trial-confirm-money b, .trial-detail-summary span, .trial-detail-summary b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trial-confirm-money span, .trial-detail-summary span { color: #8b949e; font-size: 11px; }
.trial-confirm-money b, .trial-detail-summary b { margin-top: 4px; font-size: 15px; }
.trial-confirm-money b { color: #cf4f3d; }
.trial-assigned-unit-note { display: flex; margin: 0 21px 16px; padding: 12px 14px; align-items: center; gap: 10px; border: 1px solid #bfdbfe; border-radius: 6px; color: #334155; background: #eff6ff; }
.trial-assigned-unit-note strong { color: #1d4ed8; white-space: nowrap; }
.trial-confirm-rules { margin: 0 21px; border-top: 1px solid #e2e7ea; }
.trial-confirm-rules div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #e7ecef; }
.trial-confirm-rules dt { color: #7f8995; }
.trial-confirm-rules dd { margin: 0; line-height: 1.6; }
.trial-rule-agree { display: flex !important; gap: 9px !important; margin: 16px 21px; align-items: flex-start !important; }
.trial-rule-agree input { width: 18px !important; height: 18px !important; flex: 0 0 auto; }
.trial-modal-card > footer, .trial-upgrade-form > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 21px 20px; }
.trial-detail-requirement, .trial-sensitive-note, .trial-detail-progress, .trial-repayment-confirm { margin: 0 21px 18px; padding: 14px; border: 1px solid #dfe6ea; border-radius: 6px; background: #fafcfc; }
.trial-detail-requirement p, .trial-rules-content p { margin: 7px 0 0; color: #63707d; line-height: 1.7; }
.trial-sensitive-note { color: #8e5a1e; border-color: #efd5a6; background: #fff8e9; line-height: 1.7; }
.trial-upgrade-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 0 21px 22px; }
.trial-upgrade-form label { display: grid; gap: 6px; color: #586574; font-size: 12px; }
.trial-upgrade-form .form-wide { grid-column: 1 / -1; }
.trial-upgrade-form input, .trial-upgrade-form select, .trial-upgrade-form textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #d4dde3; border-radius: 5px; color: #26313e; background: #fff; }
.trial-upgrade-form input[type="file"] { padding: 8px; }
.trial-upgrade-form .trial-review-confirm { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid #cfe1f7; border-radius: 6px; color: #27364a; background: #f5f9ff; }
.trial-upgrade-form .trial-review-confirm input { width: 18px; height: 18px; padding: 0; flex: 0 0 auto; }
.trial-upgrade-form small { color: #929ba5; line-height: 1.5; }
.trial-upgrade-form > footer { padding: 3px 0 0; }
.trial-local-preview { display: flex; gap: 10px; align-items: center; }
.trial-local-preview img { width: 72px; height: 72px; object-fit: cover; border: 1px solid #dbe3e8; border-radius: 5px; }
.trial-confirm-line { padding: 11px; border-left: 3px solid #0f9f8f; color: #3f5860; background: #edf8f6; }
.trial-repayment-confirm { display: grid; gap: 10px; }
.trial-repayment-confirm > strong { font-size: 18px; }
.trial-repayment-confirm > div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 9px; border-bottom: 1px solid #e3e8eb; }
.trial-repayment-confirm > a { display: flex; gap: 10px; align-items: center; color: #087d71; }
.trial-repayment-confirm > a img { width: 86px; height: 64px; object-fit: cover; border-radius: 4px; }
.trial-repayment-confirm footer { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 8px; }
.trial-rules-content { padding: 21px; }
.trial-rules-content h3 { margin: 0 0 7px; font-size: 15px; }
.trial-rules-content h3:not(:first-child) { margin-top: 22px; }
.trial-upgrade-toast { position: fixed; z-index: 2400; left: 50%; bottom: 36px; max-width: min(420px, calc(100% - 30px)); padding: 11px 17px; opacity: 0; transform: translate(-50%, 12px); border-radius: 6px; color: #fff; background: #172933; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); transition: .2s ease; }
.trial-upgrade-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.trial-feedback-reminder { grid-column: 1 / -1; display: flex; min-height: 58px; padding: 10px 14px; align-items: center; gap: 12px; border: 1px solid #cfe1f7; border-radius: 7px; color: #26374b; background: #f4f8fd; text-align: left; }
.trial-feedback-reminder span { display: grid; gap: 3px; flex: 1; }
.trial-feedback-reminder small { color: #718096; font-size: 11px; }
.trial-feedback-reminder b { color: #2563eb; font-size: 12px; }
.trial-feedback-reminder em, .trial-main-tabs b.is-unread, .trial-feedback-unread { display: inline-flex; min-width: 24px; min-height: 24px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: #e5484d; font-size: 11px; font-style: normal; font-weight: 800; }
.trial-feedback-list { display: grid; gap: 13px; }
.trial-feedback-list > header { display: flex; padding: 4px 2px; align-items: flex-end; justify-content: space-between; gap: 16px; }
.trial-feedback-list > header span { color: #2563eb; font-size: 11px; font-weight: 800; }
.trial-feedback-list > header h2 { margin: 4px 0 0; font-size: 20px; }
.trial-feedback-list > header small { color: #7b8795; font-size: 11px; }
.trial-feedback-ticket { overflow: hidden; border: 1px solid #dce5ea; border-radius: 7px; background: #fff; }
.trial-feedback-ticket > header { display: flex; padding: 14px 16px; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid #e7ecef; background: #fafcfd; }
.trial-feedback-ticket > header > div:first-child { display: grid; gap: 4px; min-width: 0; }
.trial-feedback-ticket > header strong, .trial-feedback-ticket > header span, .trial-feedback-ticket > header small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trial-feedback-ticket > header span, .trial-feedback-ticket > header small { color: #74808e; font-size: 11px; }
.trial-feedback-ticket > header > div:last-child { display: flex; align-items: center; gap: 7px; }
.feedback-status { display: inline-flex; min-height: 26px; padding: 0 9px; align-items: center; border-radius: 4px; color: #276b5e; background: #e8f5f1; font-size: 11px; font-style: normal; font-weight: 800; }
.feedback-status.status-resolved, .feedback-status.status-closed { color: #687482; background: #eef1f3; }
.trial-feedback-thread { display: grid; gap: 10px; max-height: 360px; overflow-y: auto; padding: 16px; background: #f5f7f8; }
.trial-feedback-message { display: grid; max-width: min(72%, 620px); gap: 4px; }
.trial-feedback-message.is-self { margin-left: auto; justify-items: end; }
.trial-feedback-message > span, .trial-feedback-message time { color: #8994a0; font-size: 10px; }
.trial-feedback-message p { margin: 0; padding: 9px 12px; border-radius: 5px; color: #26313d; background: #fff; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.trial-feedback-message.is-self p { background: #d9f5c7; }
.trial-feedback-message a { display: grid; gap: 4px; color: #147a70; font-size: 11px; }
.trial-feedback-message img { width: min(180px, 100%); max-height: 180px; object-fit: cover; border-radius: 5px; }
.trial-feedback-reply-form { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 10px; padding: 13px 16px; align-items: end; border-top: 1px solid #e2e7ea; }
.trial-feedback-reply-form label { display: grid; gap: 5px; color: #677484; font-size: 11px; }
.trial-feedback-reply-form textarea, .trial-feedback-reply-form input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #d4dde3; border-radius: 5px; }
.trial-feedback-reply-form button { min-height: 38px; white-space: nowrap; }

@media (max-width: 1180px) {
  .trial-activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trial-metric-grid { grid-template-columns: repeat(3, 1fr); }
  .trial-metric-grid div:nth-child(3) { border-right: 0; }
  .trial-metric-grid div:nth-child(-n+3) { border-bottom: 1px solid #e7ecef; }
  .trial-activity-toolbar { grid-template-columns: 1fr 1.7fr; }
}

@media (max-width: 820px) {
  .trial-workbench { width: calc(100% - 20px); margin-top: 12px; }
  .trial-upgrade-overview { grid-template-columns: 1fr; padding: 17px; }
  .trial-overview-actions { justify-content: stretch; }
  .trial-overview-actions button { flex: 1; }
  .trial-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .trial-metric-grid div:nth-child(odd) { border-right: 1px solid #e7ecef; }
  .trial-metric-grid div:nth-child(even) { border-right: 0; }
  .trial-metric-grid div:nth-child(-n+4) { border-bottom: 1px solid #e7ecef; }
  .trial-credit-compact { flex-wrap: wrap; padding: 10px 12px; }
  .trial-credit-compact em { flex-basis: 100%; order: 3; }
  .trial-main-tabs { top: 58px; padding: 0; overflow-x: auto; }
  .trial-main-tabs button { min-width: 102px; }
  .trial-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-task-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-task-facts > div:last-child { grid-column: 1 / -1; }
  .trial-credit-page { grid-template-columns: 1fr; }
  .trial-finance-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .trial-finance-toolbar > label:first-child { grid-column: 1 / -1; }
  .trial-feedback-reply-form { grid-template-columns: 1fr; }
  .trial-feedback-list > header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .trial-workbench { width: calc(100% - 16px); margin-bottom: 92px; }
  .trial-overview-copy h1 { font-size: 23px; }
  .trial-metric-grid b { font-size: 19px; }
  .trial-activity-toolbar { grid-template-columns: 1fr; padding: 11px; }
  .trial-filter-row { margin: 0 -3px; }
  .trial-activity-grid { grid-template-columns: 1fr; }
  .trial-task-card h3 { min-height: auto; }
  .trial-product-image { aspect-ratio: 16 / 8.5; }
  .trial-my-task > header { padding: 14px; }
  .trial-my-task-image { width: 72px; height: 64px; flex-basis: 72px; }
  .trial-stepper { padding-right: 8px; padding-left: 8px; }
  .trial-task-facts { margin-right: 12px; margin-left: 12px; }
  .trial-my-task > footer { position: sticky; bottom: 56px; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; padding: 9px 12px; }
  .trial-my-task > footer button { min-width: 0; padding: 0 6px; }
  .trial-credit-list > div { grid-template-columns: 42px 1fr auto; }
  .trial-credit-list > div > em { display: none; }
  .trial-finance-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trial-finance-summary > div { padding: 15px; }
  .trial-finance-summary strong { font-size: 24px; }
  .trial-finance-withdrawal > header { padding: 16px; }
  .trial-finance-withdrawal > header h2 { font-size: 20px; }
  .trial-finance-withdrawal .withdraw-form.is-inline { padding: 14px; }
  .trial-coin-transfer > header { padding: 16px; }
  .trial-coin-transfer > header h2 { font-size: 20px; }
  .trial-coin-transfer-balance { grid-template-columns: 1fr; padding: 14px 14px 0; }
  .trial-coin-transfer-form { grid-template-columns: 1fr; padding: 14px; }
  .trial-coin-transfer-form > button { width: 100%; }
  .trial-coin-transfer-note { margin: 0 14px 14px; }
  .trial-finance-toolbar { grid-template-columns: 1fr 1fr; padding: 11px; }
  .trial-finance-toolbar > label:first-child, .trial-finance-filter { grid-column: 1 / -1; }
  .trial-finance-filter { display: grid; grid-template-columns: repeat(3, 1fr); }
  .trial-finance-toolbar > button { min-height: 46px; }
  .trial-finance-source { grid-template-columns: 54px minmax(0, 1fr); padding: 12px; }
  .trial-finance-product { width: 54px; height: 50px; }
  .trial-finance-source > button { grid-column: 1 / -1; min-height: 44px; }
  .trial-finance-record > footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .trial-finance-pagination { display: grid; grid-template-columns: 1fr 1fr; }
  .trial-finance-pagination span, .trial-finance-pagination em { grid-column: 1 / -1; margin: 0; text-align: center; }
  .trial-finance-pagination button { min-height: 44px; }
  .trial-upgrade-modal { padding: env(safe-area-inset-top, 0) 0 0; place-items: end center; overscroll-behavior: contain; }
  .trial-modal-card, .trial-modal-card.is-wide, .trial-modal-card.is-drawer { width: 100%; max-height: calc(100dvh - env(safe-area-inset-top, 0px)); border-radius: 8px 8px 0 0; overscroll-behavior: contain; }
  .trial-modal-card > header { padding: 12px 14px; }
  .trial-modal-card > header > button { width: 44px; height: 44px; flex: 0 0 44px; }
  .trial-confirm-money, .trial-detail-summary { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .trial-product-brief { grid-template-columns: 92px 1fr; }
  .trial-product-brief img { width: 92px; height: 92px; grid-row: 1 / span 2; }
  .trial-added-services > div { grid-template-columns: 1fr auto; }
  .trial-added-services > div strong, .trial-added-services > div span { grid-column: 1 / -1; }
  .trial-confirm-rules, .trial-detail-requirement, .trial-sensitive-note, .trial-detail-progress, .trial-repayment-confirm { margin-right: 14px; margin-left: 14px; }
  .trial-assigned-unit-note { margin-right: 14px; margin-left: 14px; align-items: flex-start; flex-direction: column; gap: 4px; }
  .trial-upgrade-form { grid-template-columns: 1fr; padding: 0 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .trial-upgrade-form .form-wide { grid-column: auto; }
  .trial-rule-agree { margin-right: 14px; margin-left: 14px; }
  .trial-feedback-reminder { align-items: flex-start; flex-wrap: wrap; }
  .trial-feedback-message { max-width: 88%; }
  .trial-feedback-ticket > header { align-items: flex-start; flex-direction: column; }
  .trial-review-requirements { margin: 12px 8px; padding: 10px; }
  .trial-review-requirements > header strong { font-size: 17px; line-height: 1.35; }
  .trial-review-type { margin-top: 10px; padding: 10px; }
  .trial-review-type h4, .trial-review-entry-title { align-items: flex-start; flex-wrap: wrap; }
  .trial-review-entry { padding: 10px; }
  .trial-review-copy-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .trial-review-copy-row button, .trial-save-media { width: 100%; min-height: 46px; }
  .trial-review-media { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .trial-review-media img { height: auto; max-height: 55dvh; object-fit: contain; }
  .trial-review-video video { max-height: 55dvh; }
  .trial-review-video .trial-save-media { justify-self: stretch; }
  .trial-modal-card > footer, .trial-upgrade-form > footer { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
