:root {
  --reference-paper-neutral: #fbfaf5;
  --reference-paper-cash-flow: #fff8f6;
  --reference-paper-liabilities: #fff9f2;
  --reference-paper-assets: #fffced;
  --reference-paper-retirement-readiness: #f5fbf4;
  --reference-paper-insurance-and-risk: #f5faff;
  --reference-paper-tax-optimization: #f8f7ff;
  --reference-paper-you: #fcf7ff;
  --reference-page-surface: var(--reference-paper-neutral);
  --reference-ink: #18211d;
  --reference-secondary: #526159;
  --reference-link: #0b6258;
  --reference-rule: #c8d0ca;
  --reference-rule-strong: #7e9488;
  --reference-accent: #14796c;
  --reference-accent-readable: #07584f;
  --reference-content-width: 1080px;
  --reference-reading-width: 1080px;
  --reference-panel-inset: 12px;
  --reference-summary-inset: 12px;
}

html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="cash-flow"] { --reference-page-surface: var(--reference-paper-cash-flow); --reference-accent: #d86c58; --reference-accent-readable: #8a3a2c; }
html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="liabilities"] { --reference-page-surface: var(--reference-paper-liabilities); --reference-accent: #d68a42; --reference-accent-readable: #87501f; }
html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="assets"] { --reference-page-surface: var(--reference-paper-assets); --reference-accent: #c6a600; --reference-accent-readable: #705d00; }
html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="retirement-readiness"] { --reference-page-surface: var(--reference-paper-retirement-readiness); --reference-accent: #54b978; --reference-accent-readable: #246b3d; }
html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="insurance-and-risk"] { --reference-page-surface: var(--reference-paper-insurance-and-risk); --reference-accent: #4e9fca; --reference-accent-readable: #276789; }
html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="tax-optimization"] { --reference-page-surface: var(--reference-paper-tax-optimization); --reference-accent: #7068dd; --reference-accent-readable: #433b9c; }
html.reference-editorial-paper-production[data-reference-surface="pillar"][data-reference-primary="you"] { --reference-page-surface: var(--reference-paper-you); --reference-accent: #c75be5; --reference-accent-readable: #80329a; }

html.reference-editorial-paper-production,
html.reference-editorial-paper-production body,
html.reference-editorial-paper-production :is(.site-header, .reference-main, .hub-hero, .hub-hero__content, .reference-hero, .reference-layout, .reference-stack, .reference-panel, .reference-card, .reference-summary, .reference-table-wrap, .reference-meta, .reference-paths, .reference-data-group, .reference-bracket-schedule, .reference-sidebar, .site-footer) {
  background-color: var(--reference-page-surface);
  background-image: none;
}

html.reference-editorial-paper-production,
html.reference-editorial-paper-production body {
  min-height: 100%;
  color: var(--reference-ink);
}

html.reference-editorial-paper-production .site-header {
  padding-right: max(20px, calc((100% - 1160px) / 2));
  padding-left: max(20px, calc((100% - 1160px) / 2));
  border-bottom-color: color-mix(in srgb, var(--reference-rule) 72%, transparent);
  box-shadow: none;
  backdrop-filter: none;
}

html.reference-editorial-paper-production .site-language-menu > summary {
  box-sizing: border-box;
  min-height: 44px;
  justify-content: center;
}

html.reference-editorial-paper-production .reference-main {
  width: min(calc(100% - 40px), 1080px);
  max-width: none;
  margin-inline: auto;
  padding: clamp(20px, 2.6vw, 34px) 0 48px;
}

html.reference-editorial-paper-production :is(.hub-hero, .reference-hero) {
  width: min(100%, var(--reference-content-width));
  max-width: var(--reference-content-width);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) 0 clamp(12px, 1.6vw, 18px);
  border: 0;
  border-top: 2px solid var(--reference-accent);
  border-radius: 0;
  box-shadow: none;
}

html.reference-editorial-paper-production[data-reference-role="category"] .reference-hero {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

html.reference-editorial-paper-production[data-reference-role="category"] .reference-paths {
  margin-right: auto;
  margin-left: 0;
}

html.reference-editorial-paper-production[data-reference-surface="neutral"] :is(.hub-hero, .reference-hero) {
  --reference-accent: #14796c;
  --reference-accent-readable: #07584f;
}

html.reference-editorial-paper-production :is(.hub-hero, .reference-hero) h1 {
  max-width: 1040px;
  margin: 0 0 8px;
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: clamp(2.35rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  text-wrap: pretty;
}

html[lang^="zh"].reference-editorial-paper-production :is(.hub-hero, .reference-hero) h1,
html[lang^="zh"].reference-editorial-paper-production :is(.reference-panel, .reference-summary, .reference-meta, .prototype-index__header) h2,
html[lang^="zh"].reference-editorial-paper-production :is(.reference-card, .reference-compact-group, .reference-link-row) :is(h3, span) {
  font-family: var(--font-article-zh-sans);
  letter-spacing: 0;
}

html[lang^="zh"].reference-editorial-paper-production :is(.hub-hero, .reference-hero) h1 {
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  font-weight: 620;
  line-height: 1.22;
}

html.reference-editorial-paper-production :is(.hub-hero, .reference-hero) .eyebrow {
  margin-bottom: 7px;
  color: var(--reference-accent-readable);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: none;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .hub-hero .eyebrow {
  display: none;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .hub-hero .reference-subtitle {
  display: none;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .hub-hero h1 {
  margin-bottom: 0;
}

html.reference-editorial-paper-production .reference-subtitle,
html.reference-editorial-paper-production .hub-hero__content > p:not(.eyebrow) {
  max-width: 76ch;
  margin: 0;
  color: var(--reference-secondary);
  font-family: var(--font-article-serif);
  font-size: clamp(1.05rem, 1.12vw, 1.16rem);
  line-height: 1.56;
}

html[lang^="zh"].reference-editorial-paper-production .reference-subtitle,
html[lang^="zh"].reference-editorial-paper-production .hub-hero__content > p:not(.eyebrow) {
  font-family: var(--font-article-zh-sans);
  line-height: 1.78;
}

html.reference-editorial-paper-production :is(.reference-search-panel, .reference-foundation-panel, .reference-layout, .reference-layout--detail, .reference-paths) {
  width: min(100%, var(--reference-content-width));
  max-width: var(--reference-content-width);
  margin: 0 auto;
}

html.reference-editorial-paper-production .reference-search-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(320px, 1.22fr);
  align-items: center;
  column-gap: clamp(24px, 5vw, 68px);
  row-gap: 0;
  margin-top: 10px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--reference-rule);
  border-bottom: 1px solid var(--reference-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.reference-editorial-paper-production .reference-search-panel h2 {
  margin: 0;
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-panel h2 {
  text-align: left;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-panel > div:first-child > p {
  display: none;
}

html.reference-editorial-paper-production .reference-search-control input {
  min-height: 48px;
  border: 1px solid var(--reference-rule-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--reference-ink);
  font-size: 1rem;
}

html.reference-editorial-paper-production .reference-search-control input:focus {
  border-color: var(--reference-link);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--reference-link) 16%, transparent);
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-control {
  position: relative;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-suggestions[data-active="true"] {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  gap: 0;
  padding: 4px 0;
  border: 1px solid var(--reference-rule-strong);
  background: var(--reference-page-surface);
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-suggestions li + li {
  border-top: 1px solid var(--reference-rule);
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-suggestions button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-suggestions button:hover,
html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-suggestions button:focus-visible {
  background: color-mix(in srgb, var(--reference-link) 7%, var(--reference-page-surface));
}

html.reference-editorial-paper-production .reference-search-results {
  grid-column: 1 / -1;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-search-results[data-active="true"] {
  width: 100%;
  margin-top: 16px;
  border-top: 2px solid var(--reference-link);
}

html.reference-editorial-paper-production .reference-search-results:empty {
  display: none;
}

html.reference-editorial-paper-production .reference-search-result {
  gap: 3px;
  padding: 13px 0 12px;
  border: 0;
  border-top: 1px solid var(--reference-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.reference-editorial-paper-production[data-reference-role="directory"] [hidden] {
  display: none !important;
}

html.reference-editorial-paper-production .reference-layout,
html.reference-editorial-paper-production .reference-layout--detail {
  display: block;
}

html.reference-editorial-paper-production .reference-stack {
  display: block;
}

html.reference-editorial-paper-production :is(.reference-panel, .reference-card, .reference-summary, .reference-meta, .reference-paths, .reference-table-wrap) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.reference-editorial-paper-production .reference-foundation-panel,
html.reference-editorial-paper-production .reference-layout > .reference-stack > .reference-panel,
html.reference-editorial-paper-production .reference-layout--detail > .reference-stack > :is(.reference-panel, .reference-summary),
html.reference-editorial-paper-production .reference-paths {
  margin-top: clamp(20px, 2.8vw, 30px);
  padding: 18px 0 0;
  border-top: 1px solid var(--reference-rule-strong);
}

html.reference-editorial-paper-production .reference-panel,
html.reference-editorial-paper-production .reference-card,
html.reference-editorial-paper-production .reference-summary,
html.reference-editorial-paper-production .reference-meta {
  padding: 0;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-foundation-panel {
  margin-top: clamp(24px, 3vw, 34px);
  padding: 20px 22px 18px;
  border-top: 2px solid var(--reference-link);
  border-bottom: 1px solid var(--reference-rule-strong);
  border-left: 4px solid var(--reference-accent);
  background: color-mix(in srgb, var(--reference-link) 5%, var(--reference-page-surface));
}

html.reference-editorial-paper-production :is(.reference-panel, .reference-summary, .reference-meta, .prototype-index__header) h2 {
  margin: 0 0 7px;
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: clamp(1.42rem, 1.8vw, 1.7rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.22;
}

html.reference-editorial-paper-production :is(.reference-panel, .reference-summary, .reference-meta) > .eyebrow {
  margin: 0 0 6px;
  color: var(--reference-accent-readable);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

html.reference-editorial-paper-production[data-reference-role="category"] .reference-panel > .eyebrow,
html.reference-editorial-paper-production[data-reference-role="glossary-index"] .reference-panel > .eyebrow {
  display: none;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-layout > .reference-stack > .reference-panel > .eyebrow,
html.reference-editorial-paper-production[data-reference-role="directory"] [data-i18n="pages.referenceRoot.featured.body"] {
  display: none;
}

html.reference-editorial-paper-production[data-reference-role="directory"] .reference-layout > .reference-stack > .reference-panel {
  border-top: 2px solid var(--reference-link);
}

html.reference-editorial-paper-production .reference-foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 14px;
}

html.reference-editorial-paper-production .reference-card--foundation {
  position: relative;
  padding: 15px 0 0;
  border-top: 1px solid var(--reference-rule);
  background: transparent;
}

html.reference-editorial-paper-production .reference-card--foundation::before,
html.reference-editorial-paper-production :is(.reference-link-row, .reference-compact-group)::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--entry-accent, var(--reference-accent));
}

html.reference-editorial-paper-production :is(.reference-card, .reference-compact-group) h3 {
  margin: 0 0 5px;
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: 1.22rem;
  font-weight: 540;
  line-height: 1.25;
}

html.reference-editorial-paper-production :is(.reference-card, .reference-compact-group) p {
  margin: 0;
  color: var(--reference-secondary);
  font-size: 0.96rem;
  line-height: 1.5;
}

html.reference-editorial-paper-production .reference-label-row {
  margin-top: 9px;
  gap: 8px 14px;
}

html.reference-editorial-paper-production .reference-label {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--reference-secondary);
  font-size: 0.78rem;
}

html.reference-editorial-paper-production .reference-compact-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
  margin-top: 12px;
}

html.reference-editorial-paper-production .reference-compact-group {
  position: relative;
  display: block;
  padding: 14px 0 13px;
  border-top: 1px solid var(--reference-rule);
  text-decoration: none;
}

html.reference-editorial-paper-production .reference-link-table {
  margin-top: 12px;
}

html.reference-editorial-paper-production .reference-link-heading {
  margin-top: 24px;
  padding: 10px 0 8px;
  border: 0;
  border-top: 1px solid var(--reference-rule-strong);
  background: transparent;
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: 1.34rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}

html[lang^="zh"].reference-editorial-paper-production .reference-link-heading {
  font-family: var(--font-article-zh-sans);
  font-weight: 650;
}

html.reference-editorial-paper-production .reference-link-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 1.2fr) minmax(0, 2.5fr) minmax(8.5rem, 0.9fr);
  gap: 18px;
  align-items: start;
  padding: 13px 0 12px;
  border-top: 1px solid var(--reference-rule);
  color: var(--reference-ink);
  text-decoration: none;
}

html.reference-editorial-paper-production .reference-link-row::before {
  width: 48px;
}

html.reference-editorial-paper-production .reference-link-row > span {
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: 1.08rem;
  font-weight: 520;
  line-height: 1.3;
  text-decoration: none;
}

html.reference-editorial-paper-production .reference-link-row:hover > span,
html.reference-editorial-paper-production .reference-link-row:focus-visible > span {
  color: var(--reference-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

html.reference-editorial-paper-production .reference-link-row small {
  color: var(--reference-secondary);
  font-size: 0.94rem;
  line-height: 1.48;
}

html.reference-editorial-paper-production .reference-link-row em {
  color: var(--reference-secondary);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}

/* Directory typography uses three sizes only: page title, section heading, and text. */
html.reference-editorial-paper-production[data-reference-role="directory"] body[data-page="reference"] :is(
  .hub-hero h1,
  .hub-hero__content h1
) {
  font-size: clamp(2rem, 2.7vw, 2.55rem);
}

html.reference-editorial-paper-production[data-reference-role="directory"] body[data-page="reference"] :is(
  .reference-search-panel h2,
  .reference-panel h2,
  .reference-link-heading
) {
  font-size: 1.4rem;
}

html.reference-editorial-paper-production[data-reference-role="directory"] body[data-page="reference"] :is(
  .reference-card h3,
  .reference-compact-group h3,
  .reference-card p,
  .reference-compact-group p,
  .reference-panel > .eyebrow,
  .reference-label,
  .reference-search-suggestions button,
  .reference-search-result strong,
  .reference-search-result span,
  .reference-link-row > span,
  .reference-link-row small,
  .reference-link-row em
) {
  font-size: 1rem;
}

html.reference-editorial-paper-production[data-reference-role="directory"] body[data-page="reference"] .reference-link-row em {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

html.reference-editorial-paper-production [data-clarity-primary="cash-flow"] { --entry-accent: #d86c58; }
html.reference-editorial-paper-production [data-clarity-primary="liabilities"] { --entry-accent: #d68a42; }
html.reference-editorial-paper-production [data-clarity-primary="assets"] { --entry-accent: #c6a600; }
html.reference-editorial-paper-production [data-clarity-primary="retirement-readiness"] { --entry-accent: #54b978; }
html.reference-editorial-paper-production [data-clarity-primary="insurance-and-risk"] { --entry-accent: #4e9fca; }
html.reference-editorial-paper-production [data-clarity-primary="tax-optimization"] { --entry-accent: #7068dd; }
html.reference-editorial-paper-production [data-clarity-primary="you"] { --entry-accent: #c75be5; }

html.reference-editorial-paper-production[data-reference-role="reference"] .reference-layout--detail,
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-layout--detail,
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > :is(.reference-summary, .reference-panel, .reference-paths) {
  width: min(100%, var(--reference-content-width));
}

html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > :is(.reference-panel, .reference-summary),
html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > :is(.reference-summary, .reference-panel, .reference-paths),
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > :is(.reference-summary, .reference-panel, .reference-paths) {
  width: min(100%, var(--reference-reading-width));
  margin-right: auto;
  margin-left: 0;
}

html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-panel,
html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > .reference-panel,
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > .reference-panel {
  box-sizing: border-box;
  width: min(100%, var(--reference-reading-width));
  margin-left: 0;
  padding-right: var(--reference-panel-inset);
  padding-left: var(--reference-panel-inset);
}

html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > :is(.reference-summary, .reference-panel, .reference-paths),
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > :is(.reference-summary, .reference-panel, .reference-paths) {
  margin-left: max(0px, calc((100% - var(--reference-content-width)) / 2));
}

html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > .reference-panel,
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > .reference-panel {
  margin-left: max(0px, calc((100% - var(--reference-content-width)) / 2));
}

html.reference-editorial-paper-production .reference-summary {
  position: relative;
  box-sizing: border-box;
  padding: 4px 0 4px var(--reference-summary-inset) !important;
  border-top: 0 !important;
  border-left: 0 !important;
}

html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-summary {
  width: calc(100% - 24px);
  max-width: none;
  margin-left: 24px;
}

html.reference-editorial-paper-production .reference-summary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--reference-accent);
}

html.reference-editorial-paper-production .reference-summary p {
  max-width: 76ch;
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: clamp(1.08rem, 1.2vw, 1.18rem);
  line-height: 1.62;
}

html[lang^="zh"].reference-editorial-paper-production .reference-summary p {
  font-family: var(--font-article-zh-sans);
  line-height: 1.82;
}

html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-panel p,
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-panel p {
  color: var(--reference-ink);
  font-family: var(--font-article-serif);
  font-size: 1.03rem;
  line-height: 1.62;
}

html[lang^="zh"].reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-panel p,
html[lang^="zh"].reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-panel p {
  font-family: var(--font-article-zh-sans);
  line-height: 1.8;
}

html.reference-editorial-paper-production .reference-sidebar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, var(--reference-reading-width));
  margin: clamp(22px, 3vw, 30px) auto 0 0;
  gap: 24px;
}

html.reference-editorial-paper-production .reference-layout--detail > .reference-sidebar {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

html.reference-editorial-paper-production .reference-sidebar > :is(.reference-panel, .reference-meta) {
  padding: 15px 0 0;
  border-top: 1px solid var(--reference-rule-strong);
}

html.reference-editorial-paper-production .reference-sidebar > .reference-meta {
  grid-column: 1 / -1;
}

html.reference-editorial-paper-production .reference-link-list {
  gap: 7px 20px;
}

html.reference-editorial-paper-production .reference-link-list a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--reference-link);
  font-size: 0.96rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

html.reference-editorial-paper-production .reference-meta dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr);
  gap: 8px 18px;
}

html.reference-editorial-paper-production .reference-meta :is(dt, dd) {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.46;
}

html.reference-editorial-paper-production .reference-meta dt {
  color: var(--reference-secondary);
  font-weight: 650;
}

html.reference-editorial-paper-production .reference-table-wrap,
html.reference-editorial-paper-production .reference-data-group,
html.reference-editorial-paper-production .reference-bracket-schedule {
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

html.reference-editorial-paper-production :is(.reference-data-group, .reference-bracket-schedule) {
  border: 0;
}

html.reference-editorial-paper-production .reference-table-wrap {
  margin-top: 14px;
  border-top: 1px solid var(--reference-rule-strong);
  border-bottom: 0;
}

html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-panel .reference-table-wrap,
html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > .reference-panel .reference-table-wrap,
html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > .reference-panel .reference-table-wrap {
  width: calc(100% + 2 * var(--reference-panel-inset));
  max-width: none;
  margin-left: calc(-1 * var(--reference-panel-inset));
}

html.reference-editorial-paper-production .reference-table {
  margin: 0;
  color: var(--reference-ink);
  font-size: 0.98rem;
}

html.reference-editorial-paper-production .reference-table :is(th, td) {
  padding: 10px 12px;
  border-bottom-color: var(--reference-rule);
  background: transparent;
  text-align: left;
}

html.reference-editorial-paper-production .reference-table :is(
  [data-column-kind="year"],
  [data-column-kind="age"],
  [data-column-kind="currency"],
  [data-column-kind="number"],
  [data-column-kind="percent"],
  [data-column-kind="rate"]
) {
  text-align: right;
}

@media (min-width: 741px) {
  html.reference-editorial-paper-production .reference-table--grouped-values {
    table-layout: fixed;
  }

  html.reference-editorial-paper-production .reference-table--grouped-values :is(th, td):nth-child(1) {
    width: 9%;
  }

  html.reference-editorial-paper-production .reference-table--grouped-values :is(th, td):nth-child(2) {
    width: 30%;
  }

  html.reference-editorial-paper-production .reference-table--grouped-values :is(th, td):nth-child(3) {
    width: 15%;
  }

  html.reference-editorial-paper-production .reference-table--grouped-values :is(th, td):nth-child(4) {
    width: 46%;
  }
}

html.reference-editorial-paper-production .reference-table th {
  color: var(--reference-ink);
  font-weight: 700;
}

html.reference-editorial-paper-production .reference-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--reference-page-surface) 82%, var(--reference-rule) 18%);
}

html.reference-editorial-paper-production .reference-metric {
  border: 0;
  border-top: 2px solid color-mix(in srgb, var(--reference-accent) 72%, var(--reference-rule));
  border-radius: 0;
  background: transparent;
  padding: 8px 0 6px;
}

html.reference-editorial-paper-production .reference-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--reference-rule-strong);
  border-bottom: 1px solid var(--reference-rule);
}

html.reference-editorial-paper-production .reference-stat {
  padding: 13px 14px 12px 0;
  border: 0;
  border-right: 1px solid var(--reference-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.reference-editorial-paper-production .reference-stat:last-child { border-right: 0; }

html.reference-editorial-paper-production .reference-source-list,
html.reference-editorial-paper-production .reference-rule-list {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

html.reference-editorial-paper-production .reference-source-list li,
html.reference-editorial-paper-production .reference-rule-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

html.reference-editorial-paper-production a {
  color: var(--reference-link);
}

html.reference-editorial-paper-production :where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--reference-link);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--reference-page-surface);
}

html.reference-editorial-paper-production .site-footer {
  border-top: 1px solid var(--reference-rule);
  box-shadow: none;
}

.prototype-index__header {
  max-width: 900px;
  padding: 18px 0;
  border-top: 2px solid var(--reference-accent);
}

.prototype-index__header > p:first-child {
  margin: 0 0 7px;
  color: var(--reference-accent-readable);
  font-size: 0.82rem;
  font-weight: 700;
}

.prototype-index__header h1 {
  margin: 0 0 8px;
  font-family: var(--font-article-serif);
  font-size: clamp(2.3rem, 3.3vw, 3rem);
  font-weight: 500;
}

.prototype-index__header p:last-child { color: var(--reference-secondary); line-height: 1.6; }

.prototype-index__boundary {
  margin: 10px 0 24px;
  padding: 12px 0;
  border-top: 1px solid var(--reference-rule);
  border-bottom: 1px solid var(--reference-rule);
  line-height: 1.55;
}

.prototype-index h2 {
  margin: 24px 0 10px;
  font-family: var(--font-article-serif);
  font-size: 1.55rem;
  font-weight: 560;
}

.prototype-index__table-wrap { overflow-x: auto; }
.prototype-index__table { width: 100%; border-collapse: collapse; }
.prototype-index__table :is(th, td) { padding: 12px; border-top: 1px solid var(--reference-rule); text-align: left; vertical-align: top; }
.prototype-index__table th { font-weight: 650; }
.prototype-index__table td small { display: block; margin-top: 4px; color: var(--reference-secondary); }
.prototype-index__table .prototype-index__group th {
  padding: 18px 12px 8px;
  border-top: 2px solid var(--reference-accent);
  color: var(--reference-accent-readable);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  html.reference-editorial-paper-production .reference-search-panel {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 12px;
  }

  html.reference-editorial-paper-production .reference-foundation-grid,
  html.reference-editorial-paper-production .reference-compact-groups,
  html.reference-editorial-paper-production .reference-sidebar {
    grid-template-columns: 1fr;
  }

  html.reference-editorial-paper-production .reference-sidebar > .reference-meta { grid-column: auto; }

  html.reference-editorial-paper-production .reference-link-row {
    grid-template-columns: minmax(11rem, 0.9fr) minmax(0, 1.8fr);
  }

  html.reference-editorial-paper-production .reference-link-row em {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html.reference-editorial-paper-production .reference-main {
    padding: 16px 0 42px;
  }

  html.reference-editorial-paper-production :is(.hub-hero, .reference-hero) {
    padding: 15px 0 10px;
  }

  html.reference-editorial-paper-production[data-reference-role="category"] .reference-hero {
    padding-right: 0;
    padding-left: 0;
  }

  html.reference-editorial-paper-production :is(.hub-hero, .reference-hero) h1 {
    font-size: clamp(1.95rem, 8vw, 2.18rem);
  }

  html[lang^="zh"].reference-editorial-paper-production :is(.hub-hero, .reference-hero) h1 {
    font-size: clamp(1.8rem, 7.4vw, 2rem);
  }

  html.reference-editorial-paper-production .reference-search-panel {
    padding: 15px 0;
  }

  html.reference-editorial-paper-production[data-reference-role="directory"] .reference-foundation-panel {
    padding: 16px 14px 15px;
    border-left-width: 3px;
  }

  html.reference-editorial-paper-production .reference-foundation-panel,
  html.reference-editorial-paper-production .reference-layout > .reference-stack > .reference-panel,
  html.reference-editorial-paper-production .reference-layout--detail > .reference-stack > :is(.reference-panel, .reference-summary),
  html.reference-editorial-paper-production .reference-paths {
    padding-right: 0;
    padding-left: 0;
  }

  html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > :is(.reference-panel, .reference-summary),
  html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > :is(.reference-summary, .reference-panel, .reference-paths),
  html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > :is(.reference-summary, .reference-panel, .reference-paths),
  html.reference-editorial-paper-production .reference-sidebar {
    width: 100%;
    margin-left: 0;
  }

  html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-summary {
    width: calc(100% - 24px);
    margin-left: 24px;
  }

  html.reference-editorial-paper-production .reference-layout--detail > .reference-stack:first-child > .reference-panel,
  html.reference-editorial-paper-production[data-reference-role="reference"] .reference-main.reference-detail-flow > .reference-panel,
  html.reference-editorial-paper-production[data-reference-role="glossary-term"] .reference-main > .reference-panel {
    width: 100%;
    margin-left: 0;
    padding-right: var(--reference-panel-inset);
    padding-left: var(--reference-panel-inset);
  }

  html.reference-editorial-paper-production .reference-link-row {
    display: block;
    padding-top: 13px;
  }

  html.reference-editorial-paper-production .reference-link-row :is(small, em) {
    display: block;
    margin-top: 4px;
  }

  html.reference-editorial-paper-production .reference-link-heading {
    margin-top: 20px;
    font-size: 1.2rem;
  }

  html.reference-editorial-paper-production .reference-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.reference-editorial-paper-production .reference-stat:nth-child(2) { border-right: 0; }

  html.reference-editorial-paper-production .reference-meta dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .prototype-index__table { min-width: 720px; }
}

@media (prefers-reduced-motion: reduce) {
  html.reference-editorial-paper-production *,
  html.reference-editorial-paper-production *::before,
  html.reference-editorial-paper-production *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  html.reference-editorial-paper-production,
  html.reference-editorial-paper-production body,
  html.reference-editorial-paper-production :is(.reference-main, .hub-hero, .reference-hero, .reference-layout, .reference-stack, .reference-panel, .reference-summary, .reference-table-wrap, .reference-meta, .reference-paths) {
    background: #fff !important;
  }

  html.reference-editorial-paper-production .site-header,
  html.reference-editorial-paper-production .site-footer,
  html.reference-editorial-paper-production .reference-search-panel,
  html.reference-editorial-paper-production .reference-sidebar {
    display: none !important;
  }

  html.reference-editorial-paper-production .reference-main { max-width: none; padding: 0; }
  html.reference-editorial-paper-production :is(.hub-hero, .reference-hero) h1 { font-size: 24pt; }
  html.reference-editorial-paper-production .reference-table { font-size: 9.5pt; }
}
