/* =========================================================
   Alenal — PHP + Vue app layer
   Everything here sits on top of base.css (the original design
   system) and only covers what the refactor adds: link based
   language menus, the Vue catalogue, the request form and the
   back office.
   ========================================================= */

/* ---------- language menus as real links ---------- */

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--body);
  text-align: left;
}

.lang-menu a:hover { background: var(--bg-soft); color: var(--blue); }
.lang-menu a.is-active { color: var(--blue); font-weight: 700; }

.footer-lang a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--body);
}

.footer-lang a:hover { color: var(--blue); }
.footer-lang a.is-active { color: var(--blue); font-weight: 700; }

/* ---------- generic ui ---------- */

[v-cloak] { display: none; }

.form-host { min-height: 420px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- product catalogue (Vue) ---------- */

.catalog { margin-top: 36px; }

.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  background: #fff;
  border: 1px solid #d8dee4;
  padding: 0 12px;
  transition: border-color .25s, box-shadow .25s;
}

.catalog-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 120, 193, .12);
}

.catalog-search svg { color: #8d9aa6; flex: 0 0 auto; }

.catalog-search input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  padding: 11px 0;
  color: var(--body);
  min-width: 0;
}

.catalog-search input:focus { outline: 0; }

.catalog-count {
  font-size: 13px;
  font-weight: 600;
  color: #7d8b98;
  letter-spacing: .02em;
  white-space: nowrap;
}

.catalog-reset {
  background: none;
  border: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  padding: 0;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 44px 0;
  text-align: center;
  color: #7d8b98;
  font-size: 15px;
}

.product .product-actions {
  /* auto margin eats the leftover height of the tallest card in the row, so the
     button of every card lines up; padding-top keeps a minimum gap on the card
     that has no leftover space at all. */
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  /* Without wrapping, the row's min-content width is the sum of its children,
     and a grid item may not be narrower than its min-content — which made the
     whole card 317px wide inside a 282px column on a 320px phone. */
  flex-wrap: wrap;
}

.product .product-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid #cfd8e0;
  color: var(--blue);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 12px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.product .product-add:hover { border-color: var(--blue); background: rgba(38, 120, 193, .06); }
.product .product-add.is-added { border-color: var(--green); color: var(--green-dark); background: rgba(110, 171, 39, .08); }

.product.is-highlight { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 120, 193, .12); }

/* floating request pill */
.inquiry-pill {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  box-shadow: 0 12px 28px rgba(12, 60, 100, .28);
  transition: background .2s, transform .2s;
}

.inquiry-pill:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.inquiry-pill b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
}

/* ---------- request form (Vue) ---------- */

.request-form h3 { font-size: 20px; margin-bottom: 16px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.form-grid .span-2 { grid-column: 1 / -1; }

.form-field .hint {
  font-size: 11.5px;
  font-weight: 600;
  color: #9aa7b3;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, .1);
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c33;
}

/* ---- captcha ---------------------------------------------------------
   The SVG carries width/height attributes so the row does not jump while
   the image decodes; the height below is what actually sizes it, and
   width:auto keeps the aspect ratio. */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-row input {
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: .18em;
}

.captcha-img {
  display: block;
  flex: 0 0 auto;
  height: 48px;
  width: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f6f8;
  cursor: pointer;
}

/* No-JS form: the image is a sibling of the input, not inside .captcha-row. */
.form-field > .captcha-img {
  margin: 4px 0 8px;
  cursor: default;
}

.captcha-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.captcha-refresh:hover {
  border-color: var(--blue);
  background: #f6f9fc;
}

.captcha-refresh:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .captcha-row { flex-wrap: wrap; gap: 8px; }
  .captcha-img { order: 1; }
  .captcha-refresh { order: 2; }
  .captcha-row input { order: 3; flex: 1 1 100%; }
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body);
  cursor: pointer;
}

.consent input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--blue); }
.consent a { text-decoration: underline; }
.consent.has-error { color: #c33; }

.form-note.error { color: #c33; font-weight: 600; }

.request-form .btn[disabled] { opacity: .65; cursor: progress; }

.form-success {
  border: 1px solid rgba(110, 171, 39, .35);
  background: rgba(110, 171, 39, .07);
  padding: 26px 24px;
  margin-bottom: 8px;
}

.form-success h3 { color: var(--green-dark); font-size: 20px; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; margin-bottom: 14px; }
.form-success button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
}

.inquiry-box {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.inquiry-box h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.inquiry-box .hint { font-size: 12.5px; color: #7d8b98; margin-bottom: 10px; }

.inquiry-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d5dde4;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 5px 6px 5px 10px;
}

.chip button {
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  color: #93a1ad;
  cursor: pointer;
  padding: 2px 4px;
}

.chip button:hover { color: #c33; }

.inquiry-clear {
  background: none;
  border: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  padding: 0;
}

/* ---------- cookie bar (Vue) ---------- */

.cookie-bar { pointer-events: none; }
.cookie-bar.is-visible { pointer-events: auto; }

/* ---------- 404 ---------- */

.error-page { text-align: center; padding: 120px 0; }
.error-code {
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 10px;
}
.error-page h1 { font-size: 30px; margin-bottom: 14px; }
.error-page .lead { margin-bottom: 28px; }

/* The page carries a single block of text, so it takes whatever height is left
 * between header and footer and centres that block in it instead of sitting
 * 120px below the header. Scoped to body.page-error (set by
 * PageController::notFound) so no other page inherits the flex column. */
body.page-error {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-error #main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

body.page-error .error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
}

body.page-error .error-page .container { width: 100%; }

/* the block itself stays optically centred: number, heading, lead, button */
body.page-error .error-code { font-size: clamp(64px, 9vw, 96px); }
body.page-error .error-page .lead { max-width: 44ch; margin-left: auto; margin-right: auto; }

/* ---------- back office ---------- */

.admin-body { background: #f2f5f8; }

.admin-login {
  width: 88%;
  max-width: 420px;
  margin: 90px auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 38px 34px;
}

.admin-login h1 { font-size: 24px; margin-bottom: 6px; }
.admin-hint { font-size: 13.5px; color: #7d8b98; margin-bottom: 22px; }
.admin-hint--small { font-size: 12.5px; margin: 14px 0 0; }
.admin-hint code { background: var(--bg-soft); padding: 1px 5px; border-radius: 2px; }

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 5%;
}

/* the nav carries six items now, so it has to be allowed to wrap as a block
 * instead of squeezing each label onto two lines */
.admin-bar nav { display: flex; align-items: center; gap: 20px; row-gap: 8px; flex-wrap: wrap; font-size: 14px; }
.admin-bar nav a,
.admin-bar nav .linklike,
.admin-who { white-space: nowrap; }
.admin-bar form { display: inline; }

.inline-form { display: inline; }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
}

.linklike--danger { color: #c33; }

.admin-main { width: 90%; max-width: 900px; margin: 30px auto 80px; }

.admin-flash {
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  border-left: 3px solid var(--green);
  background: rgba(110, 171, 39, .1);
  color: var(--green-dark);
}

.admin-flash--error { border-color: #c33; background: rgba(204, 51, 51, .08); color: #c33; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.admin-stats li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 18px;
}

.admin-stats b { display: block; font-size: 26px; color: var(--ink); line-height: 1.2; }
/* labels are Chinese, so no uppercase transform — it would only mangle the
 * Latin half of "Cookie 同意" */
.admin-stats span { font-size: 12px; letter-spacing: .06em; color: #8d9aa6; }

/* sits between the stat cards and the list; the negative top margin cancels
 * the cards' own 26px bottom margin so the pair reads as one block */
.admin-note { font-size: 12.5px; color: #8d9aa6; margin: -12px 0 22px; }

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

.admin-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  padding: 18px 20px;
}

.admin-item.is-unread { border-left-color: var(--blue); }

.admin-item-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 8px;
}

.admin-item-head time { font-size: 12px; color: #8d9aa6; white-space: nowrap; }

.admin-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: #7d8b98;
  padding: 2px 7px;
  margin-left: 6px;
}

.admin-meta { font-size: 13px; color: #7d8b98; margin-bottom: 8px; }
.admin-message { font-size: 14.5px; line-height: 1.7; margin-bottom: 10px; }

.admin-products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.admin-products li {
  font-size: 12px;
  font-weight: 600;
  background: rgba(38, 120, 193, .08);
  color: var(--blue-dark);
  padding: 3px 8px;
}

.admin-actions { display: flex; gap: 18px; font-size: 13px; }
.admin-empty { background: #fff; border: 1px solid var(--line); padding: 40px; text-align: center; color: #7d8b98; }

/* ---------- back office: accounts ---------- */

.admin-bar nav a.is-current { color: var(--ink); font-weight: 700; }
.admin-who { font-size: 13px; color: #8d9aa6; }

.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 28px 28px;
  margin-bottom: 20px;
}

.admin-card h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.admin-card-hint { font-size: 12.5px; line-height: 1.7; color: #8d9aa6; margin: 0 0 20px; }
.admin-card-hint:last-child { margin: 16px 0 0; }

.admin-accounts { list-style: none; margin: 0; padding: 0; }

.admin-account { border-top: 1px solid var(--line); padding: 14px 0; }
.admin-account:first-child { border-top: 0; padding-top: 0; }

.admin-account-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.admin-account-meta { margin-left: auto; font-size: 12px; color: #8d9aa6; }

.admin-account-actions { display: flex; align-items: center; gap: 18px; margin-top: 10px; font-size: 13px; }

.admin-details summary { cursor: pointer; color: var(--blue); font-size: 13px; }
.admin-details summary:hover { color: var(--blue-dark); }

.admin-tag--me { background: rgba(38, 120, 193, .12); color: var(--blue-dark); }

.admin-form { max-width: 460px; }
.admin-form .btn { margin-top: 4px; }

.admin-form--inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  max-width: 460px;
  margin-top: 12px;
}

.admin-form--inline label { font-size: 12.5px; color: #7d8b98; }
.admin-form--inline input {
  font: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #d8dee4;
  border-radius: 2px;
  background: #fff;
}
.admin-form--inline input:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 120, 193, .12);
}
.admin-form--inline .btn { grid-column: 2; justify-self: start; }

.btn-sm { padding: 8px 18px; font-size: 13px; }

.form-hint { display: block; margin-top: 6px; font-size: 12px; color: #8d9aa6; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .form-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { gap: 10px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .inquiry-pill { right: 16px; bottom: 16px; }
}

@media (max-width: 560px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .error-code { font-size: 64px; }
}

/* --------------------------------------------------- links inside copy */

/* The global `a` rule drops the underline because most anchors on this site
 * are nav items and buttons, where it would be noise. A link the editor drops
 * into the middle of a sentence is the opposite case: without an underline the
 * reader only sees a differently coloured phrase and has to guess. Matching on
 * `:not([class])` keeps this away from the buttons and the doc links, which
 * carry their own styling.
 *
 * `li` is in the list because the editor can put a link inside a bullet. That
 * also made every menu match: the dropdown items in the header are plain
 * `<a href>` with no class attribute, so `a:not([class])` underlined the whole
 * product menu — a menu item is not a phrase in a sentence, and it already has
 * its own hover and active treatment. The two navigation containers are
 * excluded by ancestor for that reason; the top-level items were only spared
 * by accident, because the template happens to write `class=""` on them. */
:is(p, h1, h2, h3, h4, li, td) a:not([class]):not(.main-nav a, .subnav a) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

:is(p, h1, h2, h3, h4, li, td) a:not([class]):not(.main-nav a, .subnav a):hover {
  color: var(--blue-dark);
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   参考配方（/guide-formula）
   只在这一页出现，类名统一 rc- 前缀，避免和产品页的 .card / .cells 打架。
   ========================================================================== */

/* 导语 + 分享按钮同一行：整页很长，分享入口放首屏，不放到页尾。
   按钮本身沿用 base.css 的 .share-btn，不改它，只调这一页的对齐。 */
.rc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
}
.rc-head .rc-lead { margin: 0; max-width: 800px; }
.rc-head .share-wrap { flex: 0 0 auto; margin-left: 0; padding-bottom: 1px; }

@media (max-width: 720px) {
  .rc-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

.app-recipes .rc-lead { max-width: 800px; }

/* 本页所有用量数字都右对齐到内容右边缘，正好落在全站固定的「回到顶部」按钮
   （right:12px / 48px）底下：实测 390px 下滚到 y≈2500 压住 "40 - 55"，
   展开态还盖掉免责句右端。这页数据不能有东西盖着，索性不显示这个按钮。 */
.page-formulations .to-top { display: none; }

/* 七个大类的锚点条：页面很长，先给个目录 */
.rc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}
.rc-jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.rc-jump a:hover { border-color: var(--blue); color: var(--blue); background: #f3f8fd; }
.rc-jump span { font-size: 11.5px; color: #9aa6b2; }

.rc-cat {
  margin-top: 54px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.rc-item {
  /* 深链 #TA-01 落在这个 <li> 上（结构化数据的锚点也指向它），
     不留出这段距离整行同样会被 sticky 头部压住。 */
  scroll-margin-top: calc(var(--header-h) + 10px);
}

.rc-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.rc-cat-head h2 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
}
.rc-cat-count { font-size: 12.5px; color: #8d9aa6; white-space: nowrap; }

.rc-list { list-style: none; margin: 0; padding: 0; }

.rc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  /* 展开后 JS 会 scrollIntoView({block:'start'}) 把这一行顶到视口顶部，
     而 header 是 sticky 的 78px，不留出这段距离整行会被压在导航底下。 */
  scroll-margin-top: calc(var(--header-h) + 10px);
  padding: 15px 8px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}
.rc-row:hover { background: #f5f9fd; }
.rc-row:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.rc-row.is-active { background: #eff6fd; padding-left: 14px; }

.rc-code {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 5px 8px;
  border-radius: 3px;
  background: #eaf3fb;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}

.rc-name { flex: 1 1 auto; font-size: 15.5px; font-weight: 600; }

.rc-arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #b8c3cd;
  transition: transform .25s var(--ease), color .2s var(--ease);
}
.rc-row.is-active .rc-arrow { transform: rotate(90deg); color: var(--blue); }

/* 高度由 JS 用 scrollHeight 给：行数从 2 到 11 不等，写死 max-height 会切内容，
   而 grid-template-rows: 0fr→1fr 在 auto 高度的容器里实测会把最后一行文字压掉半行。 */
.rc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s var(--ease);
}
.rc-panel[hidden] { display: none; }
.rc-panel-inner { overflow: hidden; }

.rc-cols {
  display: grid;
  gap: 2px 30px;
  padding: 4px 8px 0;
}
.rc-cols.cols-1 { grid-template-columns: minmax(0, 520px); }
.rc-cols.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rc-cols.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rc-table caption {
  padding: 12px 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: .02em;
  text-align: left;
}
.rc-table th {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 500;
  color: #8d9aa6;
  text-align: left;
}
.rc-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.rc-table th.num, .rc-table td.num { text-align: right; white-space: nowrap; }
.rc-table tr.is-ours td.num { color: var(--blue-deep); }

.rc-sub { display: block; margin-top: 3px; font-size: 12px; color: #8d9aa6; }
.rc-sub b { color: var(--blue); font-weight: 600; }

.rc-note {
  margin: 18px 0 0;
  /* 底部要给到留白：面板最后一个元素就是这句灰字，不留白会直接贴住下一行的分隔线 */
  padding: 14px 8px 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: #8d9aa6;
}

@media (max-width: 900px) {
  .rc-cols.cols-2, .rc-cols.cols-3 { grid-template-columns: 1fr; gap: 0; }
  .rc-table + .rc-table { margin-top: 10px; }
}

@media (max-width: 720px) {
  .rc-cat { margin-top: 40px; }
  .rc-cat-head h2 { font-size: 19px; }
  .rc-cat-count { display: none; }
  .rc-row { padding: 14px 2px; gap: 10px; }
  .rc-name { font-size: 14.5px; }
  .rc-cols { padding: 2px 0 0; }
  .rc-cols.cols-1 { grid-template-columns: 1fr; }
}
