/* 港卡开户 — 与全站 forest / gold 风格统一 */
:root {
  --hk-ink: #151515;
  --hk-muted: #77797d;
  --hk-line: #e8e4dc;
  --hk-sand: #f7f3ec;
  --hk-gold: #a57621;
  --hk-forest: #244d3d;
  --hk-forest-dark: #16392d;
  --hk-forest-soft: #edf2ef;
  --hk-shadow: 0 16px 42px rgba(31, 40, 34, .07);
}

#app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 24px 100px;
  min-height: calc(100vh - 160px);
  color: var(--hk-ink);
}

#app h1, #app h2, #app h3, #app p { margin: 0; }
#app a { color: inherit; text-decoration: none; }
#app button { font: inherit; cursor: pointer; }
#app button:focus-visible,
#app a:focus-visible,
#app summary:focus-visible,
#app input:focus-visible {
  outline: 2px solid rgba(36, 77, 61, .4);
  outline-offset: 3px;
}
.muted { color: var(--hk-muted); }

/* Page intro — align with site .page-intro */
#app .hk-page-intro,
#app .page-intro {
  max-width: none;
  margin: 0 0 32px;
}
#app .hk-page-intro .eyebrow,
#app .page-intro .eyebrow {
  margin: 0 0 12px;
  color: var(--hk-gold);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#app .hk-page-intro h1,
#app .page-intro h1 {
  margin: 0 0 12px;
  color: var(--hk-ink);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1.22;
}
#app .hk-page-intro p,
#app .page-intro p {
  margin: 0;
  color: #68716b;
  font-size: 15px;
  line-height: 1.85;
  max-width: 760px;
}

/* Home layout: checklist + banks side by side on desktop */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: stretch;
}

.panel,
.check-panel {
  border: 1px solid var(--hk-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--hk-shadow);
  padding: 24px 26px;
}

.check-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.check-head h2 {
  margin-right: auto;
  font-size: 18px;
  color: var(--hk-forest-dark);
  font-weight: 720;
}
.status {
  font-size: 12px;
  color: var(--hk-muted);
  font-weight: 600;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 6px;
  padding: 3px 8px;
  background: var(--hk-sand);
  border: 1px solid #ebe4d8;
  color: #785d38;
}
.badge.pink {
  background: var(--hk-forest-soft);
  border-color: #d5e0d9;
  color: var(--hk-forest-dark);
}

.progress {
  height: 7px;
  border-radius: 999px;
  background: #f0ebe3;
  overflow: hidden;
  margin-bottom: 16px;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--hk-forest), #3a6b55);
  border-radius: 999px;
  transition: width .25s ease;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--hk-line);
  cursor: pointer;
}
.check-item:last-of-type { border-bottom: 0; }
.check-item input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--hk-forest);
  flex: 0 0 auto;
}
.check-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--hk-forest-dark);
  margin-bottom: 4px;
}
.check-title small {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 650;
  color: var(--hk-gold);
  background: #fff5d9;
  border-radius: 4px;
  padding: 1px 6px;
}
.check-copy p {
  font-size: 13px;
  color: var(--hk-muted);
  line-height: 1.7;
}

.hint {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ebe4d8;
  background: var(--hk-sand);
  color: #70695a;
  font-size: 12px;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.section-heading h2 {
  font-size: 18px;
  color: var(--hk-forest-dark);
  font-weight: 720;
}

/* Banks: stack in right column */
.banks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.bank {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(31, 40, 34, .035);
  transition: transform .16s, border-color .16s, box-shadow .16s;
  color: var(--hk-ink);
  min-height: 168px;
}
.bank:hover {
  transform: translateY(-2px);
  border-color: #d6c8b3;
  box-shadow: 0 10px 24px rgba(31, 40, 34, .075);
}
.bank-ribbon {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--hk-gold);
}
.bank-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.bank-logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bank-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.bank-heading h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--hk-forest-dark);
}
.bank-heading p {
  font-size: 12px;
  color: #778391;
  line-height: 1.55;
}
.bank-official-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #8a673a;
  font-weight: 650;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.tags span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--hk-line);
  background: #fafbfa;
  color: #68716b;
}
.bank-link {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  text-align: right;
  font-size: 12px;
  font-weight: 750;
  color: var(--hk-forest);
}

/* Tools section */
.tool-section { margin-top: 8px; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hk-shadow);
  min-height: 150px;
  transition: transform .16s, box-shadow .16s;
}
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 40, 34, .09);
}
.tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--hk-muted);
}
.tool-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--hk-forest-dark);
}
.tool-card p {
  font-size: 13px;
  color: var(--hk-muted);
  line-height: 1.7;
  flex: 1;
}
.tool-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: #87918a;
}
.tool-bottom b {
  color: var(--hk-forest-dark);
  font-weight: 700;
}

.wide-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #ebe4d8;
  border-radius: 12px;
  background: var(--hk-sand);
  font-size: 14px;
}
.wide-link b { color: var(--hk-forest-dark); }

/* Sub-routes */
.back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 650;
  color: #5c6875;
}
.back:hover {
  color: var(--hk-forest-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dfe2dd;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--hk-forest-dark);
  font-size: 13px;
  font-weight: 680;
}
.tabs button.active,
.tabs button[aria-selected="true"] {
  border-color: rgba(36, 77, 61, .35);
  background: var(--hk-forest-soft);
  color: var(--hk-forest-dark);
}

.guide-top {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hk-line);
}
.guide-top h1 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin-bottom: 10px;
  letter-spacing: -.03em;
  color: var(--hk-ink);
}
.guide-top p {
  font-size: 14px;
  color: var(--hk-muted);
  line-height: 1.75;
  margin-top: 6px;
}

.guide-group {
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hk-shadow);
}

.accordion {
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: #fafbfa;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hk-sand);
  color: #785d38;
  font-size: 12px;
  font-weight: 750;
}
.accordion summary b {
  font-size: 14px;
  color: var(--hk-forest-dark);
}
.accordion summary p {
  font-size: 12px;
  color: #778391;
  margin-top: 2px;
}
.details-body {
  padding: 0 16px 16px 56px;
  font-size: 13px;
  color: #555b57;
  line-height: 1.8;
}

.btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #d9c8ad;
  background: #f8f2e9;
  color: #785d38;
  font-size: 13px;
  font-weight: 700;
}
.btn.secondary {
  background: #fff;
  border-color: #dfe2dd;
  color: var(--hk-forest-dark);
}
.btn:hover { background: #efe2cf; }

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}
.sim-panel,
.sim-nav {
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hk-shadow);
  padding: 22px;
}
.sim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
  font-size: 12px;
  color: #778391;
}
.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: #fafbfa;
  cursor: pointer;
}
.choice:hover {
  border-color: #d6c8b3;
  background: #fff;
}
.choice.selected {
  border-color: rgba(36, 77, 61, .35);
  background: var(--hk-forest-soft);
}
.choice.selected[data-answer="1"] {
  background: var(--hk-sand);
  border-color: #e8c27b;
}
.radio {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid #c5cdc7;
  background: #fff;
}
.choice.selected .radio {
  background: var(--hk-forest);
  border-color: var(--hk-forest);
  box-shadow: inset 0 0 0 3px #fff;
}
.choice.selected[data-answer="1"] .radio {
  background: #be8b33;
  border-color: #be8b33;
}
.feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  background: var(--hk-forest-soft);
  color: var(--hk-forest-dark);
  border: 1px solid #cfdcd4;
}
.result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ebe4d8;
  background: var(--hk-sand);
  font-size: 14px;
  line-height: 1.75;
  color: #70695a;
}
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.stats-strip span {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--hk-sand);
  border: 1px solid var(--hk-line);
  font-size: 12px;
  color: #68716b;
}

.article-body {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.9;
  color: #555b57;
}
.article-body h2 {
  margin: 24px 0 10px;
  font-size: 18px;
  color: var(--hk-forest-dark);
}
.article-body ul {
  margin: 8px 0 16px;
  padding-left: 1.2em;
}
.article-body li { margin-bottom: 6px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.toolbar-title b {
  font-size: 18px;
  color: var(--hk-forest-dark);
}

@media (max-width: 860px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .sim-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  #app {
    padding: 32px 15px 70px;
  }
  .panel,
  .check-panel {
    padding: 18px 16px;
  }
}

.banks-panel { padding-bottom: 20px; }
.banks-panel .section-heading { margin-bottom: 16px; }



/* ===== Guide / runbook redesign ===== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fafbfa;
  width: fit-content;
  max-width: 100%;
}
.tabs button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--hk-muted);
  font-size: 13px;
  font-weight: 680;
  transition: background .15s, color .15s, border-color .15s;
}
.tabs button:hover {
  background: #fff;
  color: var(--hk-forest-dark);
}
.tabs button.active,
.tabs button[aria-selected="true"] {
  border-color: rgba(36, 77, 61, .2);
  background: #fff;
  color: var(--hk-forest-dark);
  box-shadow: 0 2px 8px rgba(31, 40, 34, .06);
}

.guide-top {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid var(--hk-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #f7f9f7 100%);
  box-shadow: var(--hk-shadow);
  border-bottom: none;
}
.guide-top h1 {
  font-size: clamp(22px, 3.2vw, 28px);
  margin-bottom: 10px;
  letter-spacing: -.03em;
  color: var(--hk-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.guide-top p {
  font-size: 14px;
  color: var(--hk-muted);
  line-height: 1.75;
  margin-top: 6px;
}

.guide-group {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 40, 34, .04);
}

.accordion {
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: #fbfcfb;
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion[open] {
  background: #fff;
  border-color: #d5e0d9;
}
.accordion summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.accordion summary:hover {
  background: var(--hk-forest-soft);
}
.step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hk-sand);
  color: #785d38;
  font-size: 12px;
  font-weight: 750;
}

.runbook-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.runbook-col-side .panel {
  position: sticky;
  top: 80px;
}

.report-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
}
.report-options button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--hk-line);
  border-radius: 10px;
  background: #fff;
  color: var(--hk-muted);
  font-size: 13px;
  font-weight: 650;
}
.report-options button.active,
.report-options button[aria-pressed="true"] {
  border-color: rgba(36, 77, 61, .35);
  background: var(--hk-forest-soft);
  color: var(--hk-forest-dark);
}

.bank-source-row {
  margin: 16px 0;
}
.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d9c8ad;
  border-radius: 10px;
  background: #f8f2e9;
  color: #785d38;
  font-size: 13px;
  font-weight: 700;
}
.source-link:hover {
  background: #efe2cf;
}

.notice {
  margin: 0;
  font-size: 12px;
  color: var(--hk-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .runbook-two-col {
    grid-template-columns: 1fr;
  }
  .runbook-col-side .panel {
    position: static;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Toolkit / article detail pages (fixed structure) ===== */
.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31,40,34,.04);
}
.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--hk-line);
  border-radius: 10px;
  background: #fafbfa;
  color: var(--hk-forest-dark);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--hk-forest-soft);
  border-color: #cfdcd4;
}
.toolbar-title {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toolbar-title b {
  font-size: 16px;
  color: var(--hk-forest-dark);
}
.toolbar-title span {
  font-size: 12px;
  color: var(--hk-muted);
}
.article-intro {
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid #ebe4d8;
  border-radius: 12px;
  background: var(--hk-sand);
  color: #555b57;
  font-size: 14px;
  line-height: 1.85;
}
.topic-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.topic-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.topic-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.topic-grid.one {
  grid-template-columns: 1fr;
}
.topic-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31,40,34,.05);
  min-height: 200px;
}
.topic-card.tone-0 { border-top: 3px solid var(--hk-forest); }
.topic-card.tone-1 { border-top: 3px solid var(--hk-gold); }
.topic-card.tone-2 { border-top: 3px solid #4a6a8a; }
.topic-card h2 {
  margin: 10px 0 8px;
  font-size: 17px;
  color: var(--hk-forest-dark);
  line-height: 1.4;
}
.topic-card > p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--hk-muted);
  line-height: 1.7;
}
.topic-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.topic-steps > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #555b57;
  line-height: 1.65;
}
.topic-steps span {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hk-forest-soft);
  color: var(--hk-forest-dark);
  font-size: 11px;
  font-weight: 750;
}
.topic-note {
  margin: 0 0 14px !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fafbfa;
  border: 1px solid var(--hk-line);
  font-size: 12px !important;
  color: #70695a !important;
  line-height: 1.65 !important;
}
.copy-btn, .external-cta {
  margin-top: auto;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #d9c8ad;
  background: #f8f2e9;
  color: #785d38;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.copy-btn:hover, .external-cta:hover {
  background: #efe2cf;
}
.sources {
  margin: 16px 0;
  font-size: 13px;
  color: var(--hk-muted);
  line-height: 1.7;
}
.sources a {
  color: var(--hk-forest);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.stats-strip > div {
  padding: 12px 14px;
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: #fff;
}
.stats-strip span {
  display: block;
  font-size: 11px;
  color: var(--hk-muted);
  margin-bottom: 4px;
}
.stats-strip b {
  font-size: 13px;
  color: var(--hk-forest-dark);
}

/* Guide / 网点办理 · 线上申请 — cleaner single-column flow */
.guide-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.guide-panel {
  border: 1px solid var(--hk-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31,40,34,.05);
  padding: 22px 24px;
}
.guide-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hk-line);
}
.guide-panel-head h2 {
  margin: 0;
  margin-right: auto;
  font-size: 17px;
  color: var(--hk-forest-dark);
}
.guide-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 860px) {
  .topic-grid.two,
  .topic-grid.three,
  .guide-side-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

/* ===== Runbook (全程办卡) redesign ===== */
.rb-page { max-width: 100%; }
.rb-hero {
  padding: 24px 26px 18px;
  border: 1px solid var(--hk-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(31,40,34,.06);
  margin-bottom: 16px;
}
.rb-hero-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.rb-hero-top .bank-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}
.rb-hero-text { min-width: 0; flex: 1; }
.rb-hero-text .eyebrow { margin: 0 0 6px; }
.rb-hero-text h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.03em;
  color: var(--hk-ink);
}
.rb-hero-desc {
  margin: 0;
  color: var(--hk-muted);
  font-size: 14px;
  line-height: 1.7;
}
.rb-channel-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--hk-line);
  padding-top: 14px;
}
.rb-tab {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--hk-line);
  border-radius: 999px;
  background: #fafbfa;
  color: var(--hk-muted);
  font-size: 13px;
  font-weight: 680;
}
.rb-tab.is-active,
.rb-tab[aria-selected="true"] {
  border-color: rgba(36,77,61,.35);
  background: var(--hk-forest);
  color: #fff;
}
.rb-mode-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ebe4d8;
  background: var(--hk-sand);
  color: #70695a;
  font-size: 13px;
  line-height: 1.7;
}
.rb-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}
.rb-main {
  padding: 22px 24px;
  border: 1px solid var(--hk-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31,40,34,.05);
}
.rb-section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hk-line);
}
.rb-section-bar h2 {
  margin: 0;
  margin-right: auto;
  font-size: 17px;
  color: var(--hk-forest-dark);
}
.rb-phase { margin-bottom: 20px; }
.rb-phase-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rb-phase-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--hk-forest-soft);
  color: var(--hk-forest-dark);
  font-size: 12px;
  font-weight: 760;
}
.rb-phase-label h3 {
  margin: 0;
  font-size: 15px;
  color: var(--hk-forest-dark);
}
.rb-steps .accordion {
  margin-bottom: 8px;
}
.rb-official {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #d9c8ad;
  background: #f8f2e9;
  color: #785d38;
  font-size: 13px;
  font-weight: 700;
}
.rb-official:hover { background: #efe2cf; }
.rb-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}
.rb-aside .rb-card { flex: 1 1 0; display: flex; flex-direction: column; }
.rb-aside .rb-card .rb-official { width: 100%; justify-content: center; margin-top: auto; }
.rb-card {
  padding: 18px 20px;
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31,40,34,.05);
}
.rb-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--hk-forest-dark);
}
.rb-card .muted { margin-bottom: 12px; font-size: 12px; }
.rb-card .check-item { padding: 10px 0; }
@media (max-width: 900px) {
  .rb-body { grid-template-columns: 1fr; }
  .rb-aside { position: static; }
}
