/* Member views inherit the site's white, blue and Songti editorial style. */
.header-member-link { color: #245fe7; white-space: nowrap; font-size: 15px; }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 280px) minmax(0, 1fr); gap: 24px; }
.header-leading { display: flex; align-items: center; gap: 32px; height: 100%; }
.header-leading .main-nav { gap: 28px; }
.header-actions { position: static; justify-self: end; margin: 0; gap: 28px; }
.header-search { justify-self: center; width: 100%; min-height: 42px; padding: 8px 15px; border: 1px solid #e3e8f1; border-radius: 5px; background: #f8faff; }
.header-search .search-label { display: inline; }
.header-search kbd { margin-left: auto; }
.header-member-link[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.account-menu[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.account-menu-links { position: absolute; right: 0; top: calc(100% + 8px); width: 164px; padding: 8px; border: 1px solid #e1e8f3; border-radius: 6px; background: #fff; box-shadow: 0 12px 32px #24395b12; }
.account-menu-links a { display: block; padding: 10px 14px; color: #405572; border-radius: 3px; }
.account-menu-links a:hover, .account-menu-links a:focus-visible { background: #f2f6ff; color: #245fe7; }
.member-page { max-width: 960px; margin: 42px auto 72px; min-height: 45vh; overflow-wrap: anywhere; }
.member-heading { margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.member-heading h1 { font-size: 34px; line-height: 1.5; margin: 8px 0 20px; }
.member-intro { font-size: 19px; margin: 16px 0; }
.member-panel { border: 1px solid #e2e9f4; background: #fff; padding: 28px; margin: 20px 0; border-radius: 5px; }
.member-panel h2 { font-size: 24px; line-height: 1.6; margin-bottom: 14px; }
.member-panel p { margin: 12px 0; }
.member-login { max-width: 540px; margin-inline: auto; }
.member-login form { display: grid; gap: 12px; margin-top: 20px; }
.member-login label { color: #405572; }
.member-login input { width: 100%; min-width: 0; padding: 12px; color: #26364d; border: 1px solid #cbd8ec; border-radius: 3px; background: #fff; font-size: 17px; }
.member-divider { color: #7b889d; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; font-size: 14px; }
.member-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 15px; border: 1px solid #cfddf4; border-radius: 3px; color: #245fe7; background: #fff; font-size: 15px; line-height: 1.65; text-align: center; cursor: pointer; }
.member-button:hover { background: #f2f6ff; }
.member-button:disabled { cursor: wait; color: #78879b; background: #f4f6fa; }
.member-primary { color: #fff; background: #2864f0; border-color: #2864f0; }
.member-primary:hover { color: #fff; background: #1553df; }
.member-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.member-actions > .member-muted { margin: 0; }
.member-notice { padding: 16px 18px; background: #f5f8fe; color: #4e6485; border-left: 2px solid #2864f0; margin: 18px 0; }
.member-muted { color: #718198; font-size: 14px; margin: 14px 0; }
#member-message { color: #4e6485; min-height: 1.7em; margin: 12px 0; }
.member-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.member-plans .member-panel { margin: 0; }
.member-panel .member-price { font-size: 28px; color: #245fe7; }
.member-payments { display: grid; gap: 12px; margin-top: 24px; }
.pricing-page { max-width: 1040px; margin-top: 54px; }
.pricing-page .member-heading { margin-bottom: 0; border: 0; }
.pricing-page .member-heading h1 { margin-bottom: 12px; font-size: 42px; }
.pricing-intro { padding-bottom: 42px; max-width: 660px; color: #647084; }
.pricing-intro .pricing-headline { color: #26364d; font-size: 24px; margin-bottom: 10px; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: start; }
.pricing-benefits { padding-top: 18px; }
.pricing-benefits h2 { font-size: 24px; margin-bottom: 16px; }
.pricing-benefits ul, .pricing-includes { list-style: none; padding: 0; margin: 0; }
.pricing-benefits li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid #e7edf5; }
.pricing-benefits li:last-child { border-bottom: 0; }
.pricing-number { flex: 0 0 24px; white-space: nowrap; color: #8ca3c5; font-size: 14px; padding-top: 6px; }
.pricing-benefits h3 { font-size: 21px; margin-bottom: 6px; font-weight: 600; }
.pricing-benefits p { color: #647084; line-height: 1.9; }
.member-plans .pricing-card { padding: 32px; border-top: 3px solid #2864f0; background: #fbfcff; box-shadow: 0 12px 36px #29497406; }
.pricing-card h2 { font-size: 25px; margin-top: 12px; margin-bottom: 18px; }
.pricing-card .member-price { font-size: 42px; line-height: 1.3; letter-spacing: -.02em; color: #182335; }
.pricing-card .member-price span { font-size: 17px; font-weight: 400; color: #718198; letter-spacing: 0; white-space: nowrap; }
.pricing-card .pricing-term { color: #647084; font-size: 14px; margin: 14px 0 24px; }
.pricing-includes { border-top: 1px solid #e1e8f3; padding-top: 18px; }
.pricing-includes li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; color: #405572; }
.pricing-includes li::before { content: '✓'; position: absolute; left: 0; color: #2864f0; }
.pricing-card .member-payments { gap: 8px; margin-top: 24px; }
.pricing-card .member-button { min-height: 48px; }
.pricing-card .member-button:disabled { cursor: default; background: #edf2fc; border-color: #dfe7f5; color: #65799a; }
.pricing-card .pricing-payment-status { margin: 0; text-align: center; color: #718198; font-size: 13px; }
.pricing-card .pricing-availability { font-size: 13px; color: #718198; margin: 20px 0 0; }
.pricing-free { border-top: 1px solid #e3eaf3; padding-top: 28px; }
.pricing-free h2 { font-size: 22px; margin-bottom: 8px; }
.pricing-free p { color: #647084; margin-bottom: 14px; }
.pricing-page #member-message:empty { min-height: 0; margin: 0 0 40px; }
.member-orders { margin-top: 40px; }
.member-orders h2 { font-size: 24px; }
.member-order { padding: 22px 0; border-bottom: 1px solid var(--line); }
.member-order h3 { font-size: 21px; }
.member-order p { color: #526985; margin: 8px 0; }
.member-order small { color: #718198; }
.member-orders > .member-button { margin-top: 20px; }
.member-favorite { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.member-favorite .report-row { border-bottom: 0; }
.member-favorite > .member-button { margin-top: 6px; }
.member-article-actions { margin: 0 0 24px; }
.member-pdf { display: block; width: 100%; height: 76vh; min-height: 400px; border: 1px solid #dce5f2; background: #f5f8fc; }
.member-page :focus-visible, .member-article-actions :focus-visible, .header-member-link:focus-visible { outline: 2px solid #245fe7; outline-offset: 4px; }
@media (max-width: 1100px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 20px; }
  .header-leading { gap: 22px; }
  .header-leading .main-nav { gap: 20px; }
  .header-leading .main-nav a { font-size: 16px; }
  .header-actions { gap: 20px; }
  .pricing-layout { gap: 36px; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto minmax(60px, 1fr) auto; grid-template-rows: 70px 44px; height: auto; gap: 0 24px; padding-top: 6px; }
  .header-leading { display: contents; }
  .header-leading .brand { grid-column: 1; grid-row: 1; height: auto; }
  .header-leading .main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; justify-content: center; height: 44px; width: auto; gap: 36px; margin: 0; }
  .header-leading .main-nav a { width: auto; min-width: 0; }
  .header-search { grid-column: 2; grid-row: 1; max-width: 240px; }
  .header-actions { grid-column: 3; grid-row: 1; gap: 18px; }
  html { scroll-padding-top: 134px; }
}
@media (max-width: 760px) {
  .pricing-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pricing-layout .member-plans { grid-row: 1; }
  .pricing-benefits { padding-top: 0; }
  .pricing-intro { padding-bottom: 28px; }
}
@media (max-width: 560px) {
  .header-member-link { font-size: 14px; }
  .header-inner { gap: 0 12px; }
  .header-leading .brand .brand-wordmark { width: 70px; }
  .header-search { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .header-search .search-label, .header-search kbd { display: none; }
  .header-actions { gap: 12px; }
  .account-menu summary { gap: 8px; }
  .member-page { margin-top: 28px; }
  .member-heading h1 { font-size: 29px; }
  .member-panel { padding: 20px; }
  .member-plans { grid-template-columns: minmax(0, 1fr); }
  .member-payments .member-button { width: 100%; min-width: 0; white-space: normal; }
  .member-panel h2 { font-size: 21px; }
  .member-actions .member-button { max-width: 100%; }
  .member-pdf { min-height: 340px; }
  .pricing-page .member-heading h1 { font-size: 34px; }
  .pricing-intro .pricing-headline { font-size: 21px; }
  .member-plans .pricing-card { padding: 24px; }
  .pricing-card .member-price { font-size: 36px; }
  .pricing-benefits h2, .pricing-free h2 { font-size: 22px; }
}
