/* 首屏：排版与主题画布分区；画布内只使用真实设置项。 */
.hero { padding-top: 40px; padding-bottom: 32px; overflow-x: clip; }
.hero-top { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 48px; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px; min-height: 28px;
  padding: 4px 12px 4px 11px; margin-bottom: 18px;
  border: 1px solid var(--c-border); border-radius: var(--r-ctl);
  background: var(--c-panel); color: var(--c-muted);
  font-size: var(--fs-sm); font-weight: var(--weight-semibold);
}
.kicker-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-dot); background: var(--c-accent); color: var(--c-text); box-shadow: 0 0 0 3px var(--c-mint); }
.hero h1 .line { display: block; }
.hero h1 mark {
  background: var(--c-mint); color: var(--c-text); padding: 0 .14em;
  margin: 0 .04em 0 -.04em; border-radius: var(--r-ctl);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-muted); margin-bottom: 26px; }
.lead strong { color: var(--c-text); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 22px; list-style: none; padding: 0; margin: 0; font-size: var(--fs-ui); font-weight: var(--weight-medium); color: var(--c-muted); }
.platforms a { display: inline-flex; align-items: center; gap: 7px; }
.platforms a:hover { color: var(--c-text); }
.platforms .ico { width: 15px; height: 15px; }
.platforms .ico-tux { width: 14px; height: 16px; }
.topics { margin-bottom: 34px; }
.topics-label { font-size: var(--fs-sm); font-weight: var(--weight-semibold); color: var(--c-muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px;
  border: 1px solid var(--c-border); border-radius: var(--r-ctl);
  background: var(--c-bg); color: var(--c-text); font-size: var(--fs-sm); font-weight: var(--weight-medium);
}
.chips a:hover { border-color: var(--c-accent); background: var(--c-panel); color: var(--c-text); }
.device { position: relative; width: min(var(--w-stage),calc(100% - 80px)); height: 380px; margin: 46px auto 0; }
.stage { position: absolute; inset: 0; border-radius: var(--r-stage); background: var(--stage-paint); color: var(--c-on-dark); box-shadow: inset 0 1px 0 var(--c-stage-edge); }
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.links path { fill: none; stroke: var(--c-link-line); stroke-width: 1; stroke-dasharray: 4 5; }
.links circle { fill: var(--c-on-dark); }
.cap { position: absolute; display: block; max-width: 300px; }
.cap b { display: block; font-size: var(--fs-nav); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-ui); margin-bottom: 4px; }
.cap span { display: block; font-size: var(--fs-sm); line-height: 1.55; }
.cap-tl { left: 32px; top: 30px; color: var(--c-stage-to); }
.cap-tl span { color: var(--c-on-stage-light-muted); }
.cap-br { right: 40px; bottom: 36px; width: 300px; color: var(--c-on-dark); }
.cap-br span { color: var(--c-on-dark-muted); }
.cap:hover b { text-decoration: underline; text-underline-offset: 3px; }
.card { position: absolute; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-card); }
.card-sub { left: -16px; top: 116px; width: 360px; box-shadow: var(--sh-mid); z-index: 2; }
.card-head { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--c-border); font-size: var(--fs-ui); font-weight: var(--weight-bold); }
.card-head .x { width: 22px; height: 22px; display: grid; place-items: center; color: var(--c-muted); }
.form { padding: 10px 18px 0; }
.row { display: grid; grid-template-columns: 124px minmax(0,1fr); align-items: center; min-height: 44px; font-size: var(--fs-sm); color: var(--c-muted); gap: 0; }
.field {
  display: flex; align-items: center; min-height: 30px; padding: 4px 10px;
  border: 1px solid var(--c-border); border-radius: var(--r-ctl);
  background: var(--c-bg); color: var(--c-text); font-size: var(--fs-sm); overflow-wrap: anywhere;
}
.field.mono { font-size: var(--fs-xs); }
.field.is-focus { border-color: var(--c-accent); box-shadow: var(--ring-focus); }
.field.short { width: 88px; max-width: 100%; }
.switch { position: relative; width: 34px; height: 20px; flex-shrink: 0; border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-text); }
.switch::after { content: ""; position: absolute; top: 2px; left: 16px; width: 16px; height: 16px; border-radius: var(--r-dot); background: var(--c-bg); color: var(--c-text); box-shadow: var(--sh-switch); }
.switch.off { background: var(--c-panel-2); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-border); }
.switch.off::after { left: 2px; }
.form-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 18px 16px; }
.mini-btn { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 16px; border-radius: var(--r-ctl); font-size: var(--fs-sm); font-weight: var(--weight-semibold); }
.mini-btn.ok { background: var(--c-accent); color: var(--c-stage-to); }
.mini-btn.cancel { border: 1px solid var(--c-border-strong); color: var(--c-text); background: var(--c-bg); }
.card-route { left: 50%; top: 44px; width: 560px; transform: translateX(-50%); box-shadow: var(--sh-mid); z-index: 2; }
.win-bar { display: flex; align-items: center; min-height: 38px; padding: 0 4px 0 14px; background: var(--c-panel); color: var(--c-text); border-bottom: 1px solid var(--c-border); border-radius: var(--r-card) var(--r-card) 0 0; font-size: var(--fs-sm); font-weight: var(--weight-semibold); }
.win-app { width: 16px; height: 16px; flex-shrink: 0; margin-right: 8px; border-radius: var(--r-tag); background: linear-gradient(135deg,var(--c-accent),var(--c-accent-dark)); color: var(--c-on-dark); display: grid; place-items: center; }
.win-app::after { content: ""; width: 5px; height: 5px; border-radius: var(--r-dot); background: var(--c-bg); color: var(--c-text); }
.win-ctl { display: flex; margin-left: auto; color: var(--c-muted); }
.win-ctl span { width: 36px; height: 30px; display: grid; place-items: center; }
.win-body { padding: 16px 20px 18px; }
.selects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.sel-group { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--c-muted); }
.select { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--c-border); border-radius: var(--r-ctl); background: var(--c-bg); color: var(--c-text); font-size: var(--fs-sm); min-width: 0; }
.select.mono { font-size: var(--fs-xs); }
.rules { border: 1px solid var(--c-border); border-radius: var(--r-ctl); overflow: hidden; }
.rules-head,.rule { display: grid; grid-template-columns: 30px minmax(0,1fr) 30px 86px; align-items: center; padding: 0 12px; }
.rules-head { min-height: 30px; background: var(--c-panel); color: var(--c-muted); font-size: var(--fs-xs); font-weight: var(--weight-semibold); }
.rule { min-height: 34px; border-top: 1px solid var(--c-border); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-text); }
.rule > span { overflow-wrap: anywhere; }
.check { width: 14px; height: 14px; border-radius: var(--r-tag); background: var(--c-accent); color: var(--c-stage-to); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: var(--weight-bold); }
.arr { color: var(--c-muted); font-family: var(--font-body); }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 9px; border-radius: var(--r-tag); font-size: var(--fs-xs); font-weight: var(--weight-semibold); justify-self: start; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; }
.tag-proxy { background: var(--c-accent); color: var(--c-stage-to); }
.tag-direct { background: var(--c-mint); color: var(--c-accent-dark); }
.tag-block { background: var(--c-panel-2); color: var(--c-text); }
.card-proxy { right: 40px; top: -24px; width: 300px; box-shadow: var(--sh-front); z-index: 3; }
.menu-head { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-bottom: 1px solid var(--c-border); font-size: var(--fs-xs); font-weight: var(--weight-bold); color: var(--c-muted); }
.menu-head svg { width: 14px; height: 14px; }
.menu { padding: 6px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: var(--r-ctl); font-size: var(--fs-ui); color: var(--c-text); }
.opt.is-on { background: var(--c-mint); color: var(--c-accent-dark); font-weight: var(--weight-bold); }
.radio { width: 16px; height: 16px; border-radius: var(--r-dot); border: 1.5px solid var(--c-border-strong); flex-shrink: 0; background: var(--c-bg); color: var(--c-text); }
.is-on .radio { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-text); box-shadow: inset 0 0 0 3px var(--c-bg); }
.menu-sep { height: 1px; margin: 6px 10px; background: var(--c-border); color: var(--c-text); }
.opt-tun { justify-content: space-between; }

/* 下载入口先于特性展示。 */
.dl { background: var(--c-panel); color: var(--c-text); padding-top: 72px; padding-bottom: 88px; }
.dl-intro { color: var(--c-muted); margin-bottom: 28px; }
.dl-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.dl-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--sh-card); transition: border-color var(--motion-fast); }
.dl-card:hover { border-color: var(--c-border-strong); }
.dl-ico { width: 40px; height: 40px; flex-shrink: 0; margin-bottom: 10px; border-radius: var(--r-ctl); background: var(--c-panel); color: var(--c-text); display: grid; place-items: center; }
.dl-ico svg { width: 18px; height: 18px; }
.dl-card h3 { font-size: var(--fs-lead); font-weight: var(--weight-heavy); margin: 0; }
.dl-card p { font-size: var(--fs-ui); color: var(--c-muted); }
.dl-go { margin-top: 8px; font-size: var(--fs-ui); font-weight: var(--weight-bold); color: var(--c-accent-dark); }

/* 通用 tab；特性导轨是四等分的标题箭头。 */
.tab-rail { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; border-bottom: 1px solid var(--c-border); scrollbar-width: thin; }
.tab-rail [role="tab"] { position: relative; flex-shrink: 0; min-height: 48px; padding: 12px 20px; color: var(--c-muted); font-weight: var(--weight-bold); }
.tab-rail [role="tab"][aria-selected="true"] { color: var(--c-text); }
.tab-rail [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--c-accent); color: var(--c-text); }
.tab-panel { padding-top: 28px; }
.feature-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; margin-bottom: 28px; overflow: visible; }
.feature-rail [role="tab"] { text-align: left; min-width: 0; padding: 16px 0 22px; white-space: normal; }
.feature-rail [role="tab"] strong { display: block; color: var(--c-text); font-size: var(--fs-h3); font-weight: var(--weight-display); margin-bottom: 8px; }
.feature-rail [role="tab"] span { display: block; font-size: var(--fs-ui); color: var(--c-muted); font-weight: var(--weight-normal); }
.feature-rail [role="tab"][aria-selected="true"]::after { left: 0; right: 0; }
.feature-band { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; padding: 48px; border-radius: var(--r-stage); background: var(--stage-paint); color: var(--c-on-dark); }
.feature-detail { border-radius: var(--r-card); padding: 20px; background: var(--c-stage-to); color: var(--c-on-dark); }
.feature-detail p { line-height: 1.85; color: var(--c-on-dark-muted); }
.feature-window { position: relative; margin-bottom: -76px; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--sh-front); }
.feature-section { padding-bottom: 108px; }

/* 长页目录必须直接放在覆盖所有章节的容器中。 */
.toc { position: sticky; top: var(--h-nav); z-index: 10; background: var(--c-bg); color: var(--c-text); border-block: 1px solid var(--c-border); padding-block: 10px; }
.toc ul { display: flex; gap: 8px; overflow-x: auto; list-style: none; padding: 0; margin: 0; }
.toc li { flex-shrink: 0; }
.toc a { display: block; padding: 8px 12px; min-height: 40px; border-radius: var(--r-ctl); font-size: var(--fs-ui); }
.toc a:hover,.toc a[aria-current="location"] { background: var(--c-mint); color: var(--c-accent-dark); }
.toc-static { position: static; }
.faq-item { border-bottom: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-text); }
.faq-item summary { position: relative; list-style: none; padding: 22px 38px 22px 0; cursor: pointer; font-weight: var(--weight-bold); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-size: var(--fs-h3); color: var(--c-accent-dark); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { color: var(--c-muted); padding-bottom: 24px; max-width: 75ch; }
.term-card,.article-card,.client-card { padding: 26px; border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--sh-card); background: var(--c-bg); color: var(--c-text); }
.term-card dt { font-size: var(--fs-h3); font-weight: var(--weight-heavy); margin-bottom: 10px; }
.term-card dd { margin: 0; color: var(--c-muted); }
.term-category,.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; font-size: var(--fs-sm); color: var(--c-muted); }
.article-card { display: flex; flex-direction: column; gap: 12px; }
.article-card h3 { font-size: var(--fs-h3); margin: 0; }
.article-card p { color: var(--c-muted); font-size: var(--fs-ui); }
.article-card .article-meta { margin: 0; }
.article-more { margin-top: auto; padding-top: 12px; color: var(--c-accent-dark); font-weight: var(--weight-bold); font-size: var(--fs-ui); }
.client-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.client-head h3 { margin-bottom: 4px; }
.app-icon { width: 56px; height: 56px; flex-shrink: 0; }
.client-summary { color: var(--c-muted); margin-bottom: 20px; }
.client-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.client-notes { margin-top: 16px; color: var(--c-muted); font-size: var(--fs-ui); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; padding: 4px 9px; border: 1px solid var(--c-border); border-radius: var(--r-tag); font-size: var(--fs-xs); font-weight: var(--weight-semibold); background: var(--c-panel); color: var(--c-muted); }
.badge-first { background: var(--c-mint); color: var(--c-accent-dark); border-color: var(--c-mint); }
.badge-recommended { background: var(--c-bg); color: var(--c-accent-dark); border-color: var(--c-accent-dark); }
.badge-retired { background: var(--c-panel-2); color: var(--c-muted); border-style: dashed; }
.callout { padding: 20px 24px; border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent); border-radius: var(--r-ctl); background: var(--c-panel); color: var(--c-text); }
.callout p + p { margin-top: 10px; }
.callout-title { font-weight: var(--weight-bold); margin-bottom: 8px; }
.callout-warn { border-left-color: var(--c-warn); }
.callout-error { border-left-color: var(--c-error); }

/* 表格保留列宽：外容器滚动，同时防御任意嵌套的正文裸表格。 */
.table-scroll { overflow-x: auto; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; }
.data-table { border-collapse: collapse; width: 100%; font-size: var(--fs-ui); }
.data-table th,.data-table td,.prose th,.prose td {
  min-width: 7em; padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--c-border);
  overflow-wrap: normal; word-break: normal;
}
.data-table th,.prose th { background: var(--c-panel); color: var(--c-text); font-weight: var(--weight-bold); }
.data-table td,.prose td { background: var(--c-bg); color: var(--c-text); }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; }
.data-table code,.prose table code { overflow-wrap: anywhere; white-space: normal; }

/* 仅博客文章页挂载；主页面不放常驻浮层。 */
.dl-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  min-height: 56px; padding: 12px 18px; border: 1px solid var(--c-border);
  border-radius: var(--r-card); background: var(--c-bg); color: var(--c-text); box-shadow: var(--sh-mid);
}
.dl-fab svg { width: 22px; height: 22px; color: var(--c-accent-dark); }
.dl-fab strong { display: block; font-size: var(--fs-ui); }
.dl-fab small { display: block; color: var(--c-muted); font-size: var(--fs-xs); }
.article-download { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 28px; margin-top: 40px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.article-download h2 { font-size: var(--fs-h3); margin-bottom: 8px; }
.article-download p { color: var(--c-muted); }

/* 预览工具只负责展示令牌，不增加另一套设计语言。 */
.palette { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.swatch { border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-bg); color: var(--c-text); overflow: hidden; }
.swatch-sample { height: 64px; border-bottom: 1px solid var(--c-border); }
.swatch code { display: block; padding: 10px 12px; font-size: var(--fs-xs); }
.sw-bg { background: var(--c-bg); color: var(--c-text); }
.sw-panel { background: var(--c-panel); color: var(--c-text); }
.sw-panel-2 { background: var(--c-panel-2); color: var(--c-text); }
.sw-border { background: var(--c-border); color: var(--c-text); }
.sw-border-strong { background: var(--c-border-strong); color: var(--c-text); }
.sw-accent { background: var(--c-accent); color: var(--c-stage-to); }
.sw-accent-dark { background: var(--c-accent-dark); color: var(--c-on-dark); }
.sw-mint { background: var(--c-mint); color: var(--c-text); }
.sw-text { background: var(--c-text); color: var(--c-on-dark); }
.sw-muted { background: var(--c-muted); color: var(--c-on-dark); }
.sw-faint { background: var(--c-faint); color: var(--c-text); }
.sw-success { background: var(--c-success); color: var(--c-stage-to); }
.sw-warn { background: var(--c-warn); color: var(--c-stage-to); }
.sw-error { background: var(--c-error); color: var(--c-stage-to); }
.sw-on-accent { background: var(--c-on-accent); color: var(--c-text); }
.sw-stage-from { background: var(--c-stage-from); color: var(--c-stage-to); }
.sw-stage-mid { background: var(--c-stage-mid); color: var(--c-on-dark); }
.sw-stage-to { background: var(--c-stage-to); color: var(--c-on-dark); }
.sw-stage-glow { background: var(--c-stage-glow); color: var(--c-text); }
.sw-stage-edge { background: var(--c-stage-edge); color: var(--c-text); }
.sw-on-dark { background: var(--c-on-dark); color: var(--c-text); }
.sw-on-dark-muted { background: var(--c-on-dark-muted); color: var(--c-text); }
.sw-stage-light-muted { background: var(--c-on-stage-light-muted); color: var(--c-on-dark); }
.sw-link-line { background: var(--c-link-line); color: var(--c-text); }
.sw-veil { background: var(--c-veil); color: var(--c-text); }
.sw-transparent { background: var(--c-transparent); color: var(--c-text); }
.preview-states { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.type-display { font-size: var(--fs-h1); line-height: 1.14; font-weight: var(--weight-display); letter-spacing: var(--tracking-title); }
.preview-language summary { list-style: none; cursor: pointer; }
.preview-language summary::-webkit-details-marker { display: none; }

@media (max-width:1399px) {
  .links { display: none; }
  .card-sub { width: 300px; left: -12px; }
  .card-route { width: 500px; }
  .card-proxy { width: 270px; right: 24px; }
  .cap-br { width: 270px; right: 24px; }
  .row { grid-template-columns: 118px minmax(0,1fr); }
}
@media (max-width:1179px) {
  .card-sub,.cap-tl { display: none; }
  .card-route { left: 32px; transform: none; width: min(520px,58%); }
  .hero-top { grid-template-columns: minmax(0,1fr) 280px; gap: 32px; }
}
@media (max-width:980px) {
  .hero-top { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .topics { margin-bottom: 0; }
  .dl-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-band { gap: 24px; padding: 32px; }
  .palette { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .device { height: auto; width: calc(100% - 32px); margin-top: 36px; padding: 28px 16px; display: flex; flex-direction: column; gap: 16px; }
  .card,.card-sub,.card-route,.card-proxy { position: relative; inset: auto; transform: none; width: 100%; }
  .card-sub { display: block; }
  .cap { display: none; }
  .selects { grid-template-columns: minmax(0,1fr); }
  .rules-head,.rule { grid-template-columns: 26px minmax(0,1fr) 22px 72px; padding: 0 10px; }
  .rule { font-size: var(--fs-xs); }
  .dl-grid { grid-template-columns: minmax(0,1fr); }
  .feature-rail { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; border-bottom: 0; }
  .feature-rail [role="tab"] { flex: 0 0 auto; max-width: 90%; padding: 12px 18px; border: 1px solid var(--c-border); border-radius: var(--r-pill); }
  .feature-rail [role="tab"] strong { font-size: var(--fs-body); margin: 0; }
  .feature-rail [role="tab"] span { display: none; }
  .feature-rail [role="tab"][aria-selected="true"] { background: var(--c-mint); color: var(--c-accent-dark); border-color: var(--c-accent); }
  .feature-rail [role="tab"]::after { display: none; }
  .feature-band { grid-template-columns: minmax(0,1fr); padding: 24px; }
  .feature-window { margin-bottom: -48px; }
}
@media (max-width:640px) {
  .hero { padding-top: 28px; }
  .lead { font-size: var(--fs-body); }
  .platforms { gap: 10px 18px; }
  .palette { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .win-body { padding: 14px 12px 16px; }
  .row { grid-template-columns: 106px minmax(0,1fr); }
  .form { padding-inline: 12px; }
  .term-card,.article-card,.client-card { padding: 20px; }
  .client-head { align-items: flex-start; }
  .callout { padding: 18px; }
  .dl-fab { right: 16px; bottom: 16px; padding: 10px 14px; }
  .type-display { font-size: var(--fs-h1-mobile); }
  .preview-head .head-shell { flex-wrap: wrap; padding-top: 12px; }
  .preview-head .desktop-nav { display: block; order: 3; width: 100%; overflow-x: auto; }
  .preview-head .tabs { min-height: 46px; }
  .preview-head .tabs a { padding-inline: 14px; }
  .preview-head .tabs a[aria-current="page"]::after { left: 14px; right: 14px; }
}