@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --refresh-canvas: #f4f7f5;
  --refresh-surface: #ffffff;
  --refresh-soft: #eef5f1;
  --refresh-ink: #15231d;
  --refresh-muted: #68766f;
  --refresh-line: #dae5df;
  --refresh-brand: #087a53;
  --refresh-brand-dark: #05613f;
  --refresh-brand-soft: #dff4e9;
  --refresh-shadow: 0 18px 50px rgba(23, 50, 38, 0.08);
}

body {
  overflow-x: hidden;
  color: var(--refresh-ink);
  background:
    linear-gradient(rgba(8, 122, 83, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 122, 83, 0.035) 1px, transparent 1px),
    var(--refresh-canvas);
  background-size: 32px 32px;
  font-family: 'Manrope', 'Noto Sans SC', sans-serif;
  letter-spacing: 0;
}

.shell { width: min(1320px, calc(100% - 48px)); padding: 38px 0 72px; }
.panel, .metric { border: 1px solid var(--refresh-line); border-radius: 8px; background: var(--refresh-surface); box-shadow: var(--refresh-shadow); }

.hero { position: relative; min-height: 236px; padding: 42px 44px; overflow: hidden; color: var(--refresh-ink); background: var(--refresh-surface); }
.hero-glow { display: none; }
.eyebrow, .section-kicker { color: var(--refresh-brand); font-size: 12px; font-weight: 800; letter-spacing: 0; }
.hero h1 { margin: 12px 0; color: var(--refresh-ink); font-size: 54px; line-height: 1.05; letter-spacing: 0; }
.subtitle { max-width: 760px; color: var(--refresh-muted); font-size: 16px; line-height: 1.8; }
.hero-actions { position: relative; z-index: 1; }
.wechat-card { min-width: 230px; padding: 18px 20px; border: 1px solid #b9dccb; border-radius: 8px; color: var(--refresh-ink); background: var(--refresh-brand-soft); }
.wechat-card span, .wechat-card em { color: var(--refresh-muted); }
.wechat-card strong { color: var(--refresh-brand); }

.guide-entry { padding: 28px 32px; background: var(--refresh-ink); border-color: var(--refresh-ink); }
.guide-entry h2, .guide-entry p { color: #fff; }
.guide-entry p { color: rgba(255,255,255,.68); }
.guide-btn { border-radius: 6px; color: #fff; background: var(--refresh-brand); box-shadow: none; }
.guide-entry-actions span { color: rgba(255,255,255,.58); }

.forms { padding: 20px; }
.forms-grid { gap: 16px; }
.form-card { padding: 22px; border: 1px solid var(--refresh-line); border-radius: 8px; background: #fbfdfc; }
.accent-card { border-color: #acd6c3; background: var(--refresh-soft); }
.form-icon { border-radius: 6px; color: var(--refresh-brand); border-color: #a9d2bf; background: var(--refresh-brand-soft); }
.form-title label { color: var(--refresh-ink); }
.form-title p { color: var(--refresh-muted); }
input, select { color: var(--refresh-ink); border: 1px solid var(--refresh-line); border-radius: 6px; background: #fff; }
input:focus, select:focus { border-color: var(--refresh-brand); box-shadow: 0 0 0 3px rgba(8, 122, 83, .09); }
button, .query-actions button, .topup-actions button { border-radius: 6px; }
button:not(.ghost):not(.icon-btn):not(.package) { color: #fff; border-color: var(--refresh-brand); background: var(--refresh-brand); }
button:not(.ghost):not(.icon-btn):not(.package):hover { background: var(--refresh-brand-dark); }
.ghost, .icon-btn { color: var(--refresh-ink); border-color: var(--refresh-line); background: #fff; }

.summary { gap: 14px; }
.metric { padding: 22px; box-shadow: none; }
.metric-label, .metric em { color: var(--refresh-muted); }
.metric strong { color: var(--refresh-ink); font-size: 26px; }
.metric.identity { color: #fff; border-color: var(--refresh-brand); background: var(--refresh-brand); }
.metric.identity .metric-label, .metric.identity em { color: rgba(255,255,255,.7); }
.metric.identity strong { color: #fff; }

.topup, #details > .panel { box-shadow: none; }
.panel-head h2 { color: var(--refresh-ink); }
.panel-head > span { color: var(--refresh-muted); }
.packages { gap: 10px; }
.package { min-height: 122px; border: 1px solid var(--refresh-line); border-radius: 6px; color: var(--refresh-ink); background: #f8faf9; box-shadow: none; }
.package::before, .package::after { display: none; }
.package.active { border-color: var(--refresh-brand); background: var(--refresh-brand-soft); box-shadow: inset 0 0 0 1px var(--refresh-brand); }
.package strong { color: var(--refresh-ink); }
.package span, .package em { color: var(--refresh-brand); }
.order-box { border-color: var(--refresh-line); border-radius: 6px; background: var(--refresh-soft); }
.table-wrap { border: 1px solid var(--refresh-line); border-radius: 6px; }
th { color: var(--refresh-muted); background: #f7faf8; }
th, td { border-color: var(--refresh-line); }
tbody tr:hover { background: #fbfdfc; }
.pagination button { border-radius: 6px; }
.modal-backdrop { background: rgba(13, 30, 23, .62); }
.modal-card { border-radius: 8px; color: var(--refresh-ink); background: #fff; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1320px); padding-top: 14px; }
  .hero { min-height: 0; padding: 28px 22px; }
  .hero h1 { font-size: 38px; overflow-wrap: anywhere; }
  .wechat-card { min-width: 0; }
  .guide-entry { padding: 24px 22px; }
  .forms { padding: 14px; }
  .form-card { padding: 18px; }
}
