/* Speech Expert shared editorial palette. Loaded only by the Speech Expert shell. */
:root {
  --paper: #f8f5ed;
  --paper-light: #fdfbf6;
  --paper-shade: #eeeade;
  --ink: #2e332d;
  --muted: #65685d;
  --rule: #cbcbbd;
  --accent: #445845;
  --accent-hover: #304232;
  --accent-soft: #e9ede3;
  --bg: var(--paper);
  --surface: var(--paper-light);
  --surface-2: var(--paper-shade);
  --surface-hover: #e8e6db;
  --border: var(--rule);
  --border-strong: #969c8c;
  --text: var(--ink);
  --text-2: var(--muted);
  --text-3: var(--muted);
  --success: #0b7851;
  --success-soft: #e4eee4;
  --purple: #6a6172;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --shadow-sm: none;
  --shadow-lg: 0 12px 32px #2e332d12;
  --font-sans: "Golos Text", Arial, sans-serif;
  --font-editorial: "PT Serif", Georgia, serif;
}

:is(.public-page:not(.landing-page), .public-examples-page) {
  min-height: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.65;
}
:is(.public-page:not(.landing-page), .public-examples-page) :is(h1, h2, h3, h4) {
  color: var(--ink);
  font-family: var(--font-editorial);
  font-weight: 400;
  letter-spacing: -.025em;
  text-wrap: balance;
}
:is(.public-page:not(.landing-page), .public-examples-page) :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  box-shadow: none;
}
:is(.public-page:not(.landing-page), .public-examples-page) .btn {
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}
:is(.public-page:not(.landing-page), .public-examples-page) .btn:hover { background: var(--accent-soft); border-color: var(--accent); transform: none; }
:is(.public-page:not(.landing-page), .public-examples-page) .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--paper-light); }
:is(.public-page:not(.landing-page), .public-examples-page) .btn-primary:hover { background: var(--accent-hover); color: white; }
:is(.public-page:not(.landing-page), .public-examples-page) .btn:disabled { opacity: .45; cursor: not-allowed; }
:is(.public-page:not(.landing-page), .public-examples-page) .badge { border-radius: 2px; box-shadow: none; font-weight: 500; }
:is(.public-page:not(.landing-page), .public-examples-page) :is(.b-accent, .b-success) { background: var(--accent-soft); color: var(--accent); border-color: var(--rule); }
:is(.public-page:not(.landing-page), .public-examples-page) .eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; }
:is(.public-page:not(.landing-page), .public-examples-page) .public-surface { background: var(--paper-light); border-color: var(--rule); border-radius: 2px; box-shadow: none; }
:is(.public-page:not(.landing-page), .public-examples-page) .landing-skip-link { background: var(--accent); color: var(--paper-light); }

/* A common masthead, with the existing navigation of each section. */
:is(.public-page:not(.landing-page), .public-examples-page) .public-topbar {
  min-height: 94px;
  height: auto;
  gap: 24px;
  padding: 19px max(32px, calc((100vw - 1216px) / 2));
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  background: var(--paper);
  backdrop-filter: none;
  box-shadow: none;
}
:is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link { min-width: 0; gap: 11px; }
:is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link .logo { width: 32px; height: 38px; flex: 0 0 32px; border: 1px solid var(--rule); border-radius: 2px; background: transparent; color: var(--accent); box-shadow: none; }
:is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link :is(b, div[style*="font-weight"]) { font-family: var(--font-editorial); font-size: 23px; font-weight: 400 !important; letter-spacing: -.025em; line-height: 1.15; }
:is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link :is(small, .muted) { margin-top: 7px; font-family: var(--font-sans); font-size: 12px; color: var(--muted); line-height: 1.3; }
:is(.public-page:not(.landing-page), .public-examples-page) :is(.public-nav, .research-example-header-nav) { display: flex; align-items: center; gap: 4px; margin-left: auto; }
:is(.public-page:not(.landing-page), .public-examples-page) :is(.public-nav, .research-example-header-nav) > a { padding: 8px 10px; color: var(--muted); font-family: var(--font-sans); font-size: 13px; font-weight: 400; border-radius: 2px; }
:is(.public-page:not(.landing-page), .public-examples-page) :is(.public-nav, .research-example-header-nav) > a:hover { background: var(--accent-soft); color: var(--ink); }
:is(.public-page:not(.landing-page), .public-examples-page) .public-nav > a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
:is(.public-page:not(.landing-page), .public-examples-page) .public-topbar .btn-primary { color: var(--paper-light); }
:is(.public-page:not(.landing-page), .public-examples-page) .public-topbar > .btn { margin-left: auto; flex-shrink: 0; }
:is(.public-page:not(.landing-page), .public-examples-page) .public-nav + .btn { margin-left: 0; }

@media (max-width: 1050px) {
  :is(.public-page:not(.landing-page), .public-examples-page) .public-topbar { flex-wrap: wrap; gap: 14px 20px; padding: 18px 24px; }
  :is(.public-page:not(.landing-page), .public-examples-page) :is(.public-nav, .research-example-header-nav) { order: 3; width: 100%; margin: 0; justify-content: flex-start; flex-wrap: wrap; }
  :is(.public-page:not(.landing-page), .public-examples-page) .public-nav + .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  :is(.public-page:not(.landing-page), .public-examples-page) .public-topbar { position: relative; min-height: 76px; padding: 18px 20px; gap: 14px 12px; }
  :is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link .logo { display: none; }
  :is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link :is(b, div[style*="font-weight"]) { font-size: 22px; }
  :is(.public-page:not(.landing-page), .public-examples-page) .public-brand-link :is(small, .muted) { display: none; }
  :is(.public-page:not(.landing-page), .public-examples-page) :is(.public-nav, .research-example-header-nav) { gap: 2px 8px; }
  :is(.public-page:not(.landing-page), .public-examples-page) :is(.public-nav, .research-example-header-nav) > a { padding: 10px 0; font-size: 12px; }
  :is(.public-page:not(.landing-page), .public-examples-page) .research-example-header-nav > .btn { margin-top: 6px; padding: 10px 12px; width: 100%; }
  :is(.public-page:not(.landing-page), .public-examples-page) .public-topbar > .btn { padding: 9px 12px; min-height: 42px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.public-page:not(.landing-page), .public-examples-page, .app) :is(a, button, summary, input) { transition: none; }
}


/* News composition only. Shared editorial tokens, controls, and masthead are supplied separately. */
.public-page.news-index-page .news-index-main,
.public-page.news-detail-page .news-detail-wrap {
  min-width: 0;
  color: var(--ink);
}

.public-page.news-index-page .public-news-section {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 62px 32px 80px;
  border: 0;
  background: transparent;
}
.public-page.news-index-page .public-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 46px;
  text-align: center;
}
.public-page.news-index-page .public-section-head > div > .row { justify-content: center; }
.public-page.news-index-page .public-section-head .eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .07em;
}
.public-page.news-index-page .public-section-head .badge {
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
}
.public-page.news-index-page .news-section-title {
  margin: 23px 0 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.public-page.news-index-page .news-section-copy {
  max-width: 710px;
  margin: 19px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.public-page.news-index-page .public-section-head .news-updated {
  justify-self: center;
  align-self: auto;
  font-family: var(--font-editorial);
  font-size: 14px;
  font-weight: 400;
}

/* Rubrics behave as ordinary navigation links, with a ruled current item. */
.public-page.news-index-page .news-categories {
  justify-content: center;
  gap: 0 30px;
  max-width: none;
  margin: 0 0 35px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.public-page.news-index-page .news-categories .btn {
  min-height: 57px;
  padding: 15px 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 400;
}
.public-page.news-index-page .news-categories .btn[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
  background: transparent;
}
.public-page.news-index-page .news-categories .btn:hover { color: var(--accent); background: var(--accent-soft); }
.public-page.news-index-page .news-categories .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.public-page.news-index-page .news-category-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 20px 48px;
  max-width: none;
  margin: 0 0 27px;
}
.public-page.news-index-page .news-category-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.public-page.news-index-page .news-category-intro .news-section-copy { margin: 0; font-size: 14px; }

/* A lead story and a two-column reading list, with no elevated tile surfaces. */
.public-page.news-index-page .public-news-grid {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.public-page.news-index-page .news-card {
  min-width: 0;
  min-height: 0;
  padding: 29px 0 32px;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color .15s ease;
}
.public-page.news-index-page .news-card.is-accent { border-color: var(--rule); background: transparent; }
.public-page.news-index-page .news-card.is-clickable:hover,
.public-page.news-index-page .news-card.is-clickable:focus-within {
  border-color: var(--accent);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.public-page.news-index-page .news-card-badges,
.public-page.news-detail-page .news-card-badges { gap: 7px; flex-wrap: wrap; }
.public-page.news-index-page .news-card-badges .badge,
.public-page.news-detail-page .news-card-badges .badge {
  padding: 4px 7px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
.public-page.news-index-page .news-card-title {
  margin: 16px 0 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.public-page.news-index-page .news-card-title a { color: inherit; text-decoration: none; }
.public-page.news-index-page .news-card-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.public-page.news-index-page .news-card-title a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.public-page.news-index-page .news-card .news-card-preview {
  display: block;
  margin: 16px 0 0;
  overflow: visible;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.public-page.news-index-page .news-card-meta {
  flex-wrap: wrap;
  gap: 7px 18px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.public-page.news-index-page .news-card-meta .mono { font-family: var(--font-sans); }
.public-page.news-index-page .news-card.is-accent .news-card-meta .mono:first-child { color: var(--muted); font-weight: 400; }
.public-page.news-index-page .news-card:first-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 19px 48px;
  padding-block: 32px 39px;
}
.public-page.news-index-page .news-card:first-child .news-card-badges { grid-column: 1 / -1; }
.public-page.news-index-page .news-card:first-child .news-card-title { margin: 0; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.2; }
.public-page.news-index-page .news-card:first-child .news-card-preview { margin: 0; font-size: 17px; line-height: 1.8; }
.public-page.news-index-page .news-card:first-child .news-card-meta { grid-column: 1 / -1; margin: 0; padding-top: 0; }
.public-page.news-index-page .news-list-state {
  min-height: 160px;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
}
.public-page.news-index-page .news-list-state p { font-size: 15px; }
.public-page.news-index-page .news-pagination { gap: 20px; max-width: none; margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--rule); }
.public-page.news-index-page .news-pagination .btn { min-width: 110px; min-height: 44px; }
.public-page.news-index-page .news-pagination-meta { min-width: 180px; color: var(--muted); font-size: 13px; }

/* Article titles have generous margins; body width stays comfortable for reading. */
.public-page.news-detail-page .news-detail-wrap { width: min(100%, 1104px); padding: 42px 32px 88px; }
.public-page.news-detail-page .news-back-link { max-width: 100%; margin-bottom: 43px; }
.public-page.news-detail-page .news-detail-article > .news-card-badges { justify-content: center; }
.public-page.news-detail-page .news-detail-eyebrow {
  max-width: 850px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .07em;
  text-align: center;
}
.public-page.news-detail-page .news-detail-title {
  max-width: 980px;
  margin: 24px auto 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(37px, 4.7vw, 58px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.03em;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.public-page.news-detail-page .news-detail-meta {
  justify-content: center;
  gap: 8px 24px;
  margin-top: 27px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.public-page.news-detail-page .news-detail-meta .mono { font-family: var(--font-sans); }
.public-page.news-detail-page .news-detail-html {
  max-width: 760px;
  margin: 39px auto 0;
  overflow-x: visible;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.public-page.news-detail-page .news-detail-html :is(p, ul, ol, dl) { margin: 0 0 23px; font-size: inherit; line-height: inherit; }
.public-page.news-detail-page .news-detail-html p + :is(p, ul, ol),
.public-page.news-detail-page .news-detail-html :is(ul, ol) + p { margin-top: 0; }
.public-page.news-detail-page .news-detail-html > p:first-child { font-size: 19px; line-height: 1.8; }
.public-page.news-detail-page .news-detail-html :is(ul, ol) { padding-left: 25px; }
.public-page.news-detail-page .news-detail-html li { margin-block: 7px; padding-left: 4px; }
.public-page.news-detail-page .news-detail-html li::marker { color: var(--accent); }
.public-page.news-detail-page .news-detail-html li > :is(ul, ol) { margin-block: 10px; }
.public-page.news-detail-page .news-detail-html :is(h2, h3, h4) { margin: 39px 0 17px; color: var(--ink); font-family: var(--font-editorial); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.public-page.news-detail-page .news-detail-html h2 { font-size: 34px; }
.public-page.news-detail-page .news-detail-html h3 { font-size: 28px; }
.public-page.news-detail-page .news-detail-html h4 { font-size: 23px; }
.public-page.news-detail-page .news-detail-html :is(strong, b) { font-weight: 600; }
.public-page.news-detail-page .news-detail-html a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.public-page.news-detail-page .news-detail-html a:hover { color: var(--ink); }
.public-page.news-detail-page .news-detail-html a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.public-page.news-detail-page .news-detail-html blockquote { margin: 29px 0; padding: 8px 0 8px 24px; border-left: 2px solid var(--accent); color: var(--muted); font-family: var(--font-editorial); font-size: 24px; line-height: 1.6; }
.public-page.news-detail-page .news-detail-html blockquote p:last-child { margin-bottom: 0; }
.public-page.news-detail-page .news-detail-html hr { margin: 35px 0; border: 0; border-top: 1px solid var(--rule); }
.public-page.news-detail-page .news-detail-html code { padding: 2px 5px; border-radius: 2px; color: var(--accent); background: var(--accent-soft); font-size: .88em; overflow-wrap: anywhere; }
.public-page.news-detail-page .news-detail-html pre { max-width: 100%; margin: 25px 0; padding: 20px; overflow-x: auto; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); background: var(--paper-light); font-size: 14px; line-height: 1.75; tab-size: 2; }
.public-page.news-detail-page .news-detail-html pre code { padding: 0; color: inherit; background: transparent; font-size: inherit; white-space: pre; overflow-wrap: normal; }
.public-page.news-detail-page .news-detail-html :is(img, video, iframe) { display: block; max-width: 100%; margin: 25px auto; border-radius: 2px; }
.public-page.news-detail-page .news-detail-html :is(img, video) { height: auto; }
.public-page.news-detail-page .news-detail-html figure { max-width: 100%; margin: 28px 0; }
.public-page.news-detail-page .news-detail-html figure img { margin-block: 0 12px; }
.public-page.news-detail-page .news-detail-html figcaption { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* Wide scientific tables scroll themselves instead of the article or page. */
.public-page.news-detail-page .news-detail-html table {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 27px 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 2px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: none;
  font-size: 14px;
  line-height: 1.6;
  overscroll-behavior-inline: contain;
}
.public-page.news-detail-page .news-detail-html :is(th, td) { min-width: 112px; padding: 13px 15px; border-color: var(--rule); font-size: 14px; line-height: 1.6; }
.public-page.news-detail-page .news-detail-html th { color: var(--ink); background: var(--paper); font-size: 13px; font-weight: 600; }
.public-page.news-detail-page .news-detail-html td { color: var(--ink); }
.public-page.news-detail-page .news-detail-html tbody tr:nth-child(even) td { background: var(--paper); }
.public-page.news-detail-page .news-detail-html tbody tr:hover td { background: var(--accent-soft); }
.public-page.news-detail-page .news-detail-html caption { padding: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.public-page.news-detail-page .news-detail-state { min-height: 300px; padding: 30px 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; }
.public-page.news-detail-page .news-detail-state h1 { font-family: var(--font-editorial); font-size: clamp(33px, 5vw, 46px); font-weight: 400; line-height: 1.2; }
.public-page.news-detail-page .news-detail-state p { max-width: 650px; font-size: 16px; line-height: 1.75; }

@media (max-width: 900px) {
  .public-page.news-index-page .public-news-section { padding: 48px 28px 64px; }
  .public-page.news-index-page .public-section-head { margin-bottom: 35px; }
  .public-page.news-index-page .news-category-intro { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .public-page.news-index-page .news-category-intro .news-section-copy { max-width: 650px; }
  .public-page.news-index-page .public-news-grid { column-gap: 30px; }
  .public-page.news-index-page .news-card:first-child { column-gap: 30px; }
  .public-page.news-index-page .news-card-title { font-size: 29px; }
  .public-page.news-detail-page .news-detail-wrap { padding: 35px 28px 64px; }
  .public-page.news-detail-page .news-back-link { margin-bottom: 34px; }
}

@media (max-width: 600px) {
  .public-page.news-index-page .public-news-section { padding: 38px 20px 48px; }
  .public-page.news-index-page .public-section-head { gap: 17px; margin-bottom: 28px; }
  .public-page.news-index-page .public-section-head .eyebrow { font-size: 11px; line-height: 1.65; }
  .public-page.news-index-page .news-section-title { margin-top: 19px; font-size: clamp(36px, 10vw, 44px); }
  .public-page.news-index-page .news-section-copy { margin-top: 17px; font-size: 15px; }
  .public-page.news-index-page .news-categories { justify-content: flex-start; gap: 0 18px; margin-bottom: 28px; }
  .public-page.news-index-page .news-categories .btn { min-height: 49px; padding: 12px 1px; font-size: 14px; white-space: normal; }
  .public-page.news-index-page .news-category-intro { margin-bottom: 23px; }
  .public-page.news-index-page .news-category-intro h2 { font-size: 29px; }
  .public-page.news-index-page .public-news-grid { grid-template-columns: minmax(0, 1fr); }
  .public-page.news-index-page .news-card { padding-block: 25px 28px; }
  .public-page.news-index-page .news-card:first-child { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 27px 31px; }
  .public-page.news-index-page .news-card:first-child .news-card-title { font-size: 32px; }
  .public-page.news-index-page .news-card:first-child .news-card-preview { font-size: 16px; line-height: 1.75; }
  .public-page.news-index-page .news-card-title { margin-top: 14px; font-size: 28px; }
  .public-page.news-index-page .news-card-meta { padding-top: 21px; gap: 6px 15px; }
  .public-page.news-index-page .news-card:first-child .news-card-meta { padding-top: 5px; }
  .public-page.news-index-page .news-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .public-page.news-index-page .news-pagination-meta { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
  .public-page.news-index-page .news-pagination .btn { width: 100%; min-width: 0; }
  .public-page.news-detail-page .news-detail-wrap { padding: 28px 20px 50px; }
  .public-page.news-detail-page .news-back-link { margin-bottom: 30px; }
  .public-page.news-detail-page .news-detail-article > .news-card-badges { justify-content: flex-start; }
  .public-page.news-detail-page .news-detail-eyebrow { margin-top: 20px; text-align: left; font-size: 11px; }
  .public-page.news-detail-page .news-detail-title { margin-top: 20px; font-size: clamp(33px, 9vw, 43px); line-height: 1.2; text-align: left; }
  .public-page.news-detail-page .news-detail-meta { justify-content: flex-start; gap: 8px 17px; margin-top: 23px; padding-bottom: 25px; font-size: 12px; }
  .public-page.news-detail-page .news-detail-html { margin-top: 27px; font-size: 16px; line-height: 1.8; }
  .public-page.news-detail-page .news-detail-html > p:first-child { font-size: 17px; }
  .public-page.news-detail-page .news-detail-html :is(h2, h3, h4) { margin: 31px 0 15px; }
  .public-page.news-detail-page .news-detail-html h2 { font-size: 29px; }
  .public-page.news-detail-page .news-detail-html h3 { font-size: 25px; }
  .public-page.news-detail-page .news-detail-html h4 { font-size: 22px; }
  .public-page.news-detail-page .news-detail-html blockquote { padding-left: 17px; font-size: 22px; }
  .public-page.news-detail-page .news-detail-html pre { padding: 15px; font-size: 13px; }
  .public-page.news-detail-page .news-detail-html :is(th, td) { padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-page.news-index-page .news-card { transition: none; }
}


/* Editorial treatment for the public examples and research report only.
   Load after styles.css and the shared editorial page foundation. */
:is(.public-examples-page, .public-page.research-example-page) {
  color: var(--ink, #2e332d);
  background: var(--paper, #f8f5ed);
  font-family: var(--font-sans, "Golos Text", Arial, sans-serif);
  line-height: 1.65;
}

:is(.public-examples-page, .public-page.research-example-page) .research-example-main {
  width: min(1180px, calc(100% - 64px));
  padding: 28px 0 80px;
}

:is(.public-examples-page, .public-page.research-example-page) main :is(h1, h2, h3) {
  color: var(--ink, #2e332d);
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-weight: 400;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

:is(.public-examples-page, .public-page.research-example-page) main .eyebrow {
  color: var(--muted, #65685d);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
}

:is(.public-examples-page, .public-page.research-example-page) main :is(a, button, input, select):focus-visible {
  outline: 2px solid var(--accent, #445845);
  outline-offset: 4px;
}

/* Two chapter entries introduce the interactive meeting and full report. */
.public-examples-page .public-examples-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px 0 20px;
  text-align: center;
}

.public-examples-page .public-examples-intro h1 {
  max-width: 820px;
  margin: 22px auto;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.15;
}

.public-examples-page .public-examples-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted, #65685d);
  font-size: 17px;
  line-height: 1.75;
}

.public-examples-page .public-examples-choices {
  gap: 30px;
  margin: 35px 0 64px;
}

.public-examples-page .public-examples-choices > a {
  min-width: 0;
  gap: 16px;
  padding: 25px;
  border: 1px solid var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--ink, #2e332d);
  background: var(--paper-light, #fdfbf6);
  box-shadow: none;
}

.public-examples-page .public-examples-choices > a[aria-current] {
  border-color: var(--accent, #445845);
  background: #e9ede3;
}

.public-examples-page .public-examples-choices > a:hover {
  border-color: var(--accent, #445845);
  background: #eeeade;
}

.public-examples-page .public-examples-choices strong {
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.25;
}

.public-examples-page .public-examples-choices span {
  color: var(--muted, #65685d);
  font-size: 15px;
  line-height: 1.65;
}

.public-examples-page .public-examples-choices b {
  color: var(--accent, #445845);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-examples-page .public-examples-meeting {
  padding-top: 26px;
  border-top: 1px solid var(--rule, #cbcbbd);
  scroll-margin-top: 118px;
}

.public-examples-page :is(.public-examples-meeting, .public-examples-cta) h2 {
  max-width: 850px;
  margin: 15px 0;
  font-size: clamp(28px, 3.1vw, 39px);
  line-height: 1.25;
}

.public-examples-page :is(.public-examples-meeting > p, .public-examples-cta p) {
  color: var(--muted, #65685d);
  font-size: 15px;
  line-height: 1.75;
}

.public-examples-page .public-examples-meeting > .public-examples-disclaimer {
  max-width: 900px;
  padding-left: 15px;
  border-left: 2px solid var(--rule, #cbcbbd);
  font-size: 13px;
  line-height: 1.65;
}

.public-examples-page .landing-value-example {
  margin-top: 30px;
  padding: 25px;
  border: 1px solid var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--ink, #2e332d);
  background: var(--paper-light, #fdfbf6);
  box-shadow: none;
}

.public-examples-page .landing-value-example figcaption {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule, #cbcbbd);
}

.public-examples-page .landing-value-example figcaption strong {
  font-size: 15px;
  font-weight: 500;
}

.public-examples-page .landing-value-example figcaption > span {
  color: var(--muted, #65685d);
  font-size: 13px;
}

.public-examples-page .landing-value-example-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-examples-page :is(.landing-value-source, .landing-value-task) {
  padding: 19px;
  border-color: var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--ink, #2e332d);
  background: transparent;
  box-shadow: none;
  scroll-margin-top: 118px;
}

.public-examples-page .landing-value-example .landing-value-step {
  align-items: baseline;
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-wrap: wrap;
}

.public-examples-page .landing-value-step > span {
  flex-basis: 22px;
  height: auto;
  border-radius: 0;
  color: var(--accent, #445845);
  background: transparent;
  font-size: 17px;
}

.public-examples-page .landing-value-source blockquote {
  color: var(--ink, #2e332d);
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 23px;
  line-height: 1.5;
}

.public-examples-page :is(.landing-value-label, .landing-value-speaker, .landing-value-task dt, .landing-value-draft-form label > span, .landing-value-status > span) {
  color: var(--muted, #65685d);
  font-size: 13px;
  line-height: 1.55;
}

.public-examples-page :is(.landing-value-context, .landing-value-empty, .landing-value-example-note, .landing-value-demo-footer p) {
  color: var(--muted, #65685d);
  font-size: 14px;
  line-height: 1.7;
}

.public-examples-page .landing-value-review {
  border: 1px solid #caba94;
  border-radius: 2px;
  color: #6a5028;
  background: #f0e7d3;
  font-size: 12px;
  font-weight: 500;
}

.public-examples-page .landing-value-review.is-confirmed {
  border-color: #a8b6a1;
  color: var(--accent, #445845);
  background: #e9ede3;
}

.public-examples-page :is(.landing-value-draft-form input, .landing-value-status select) {
  min-height: 44px;
  border-color: var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--ink, #2e332d);
  background: var(--paper-light, #fdfbf6);
  box-shadow: none;
  font-family: var(--font-sans, "Golos Text", Arial, sans-serif);
  font-size: 16px;
}

.public-examples-page .landing-value-draft-form input:disabled {
  color: var(--muted, #65685d);
  background: #eeeade;
  opacity: 1;
}

.public-examples-page .landing-value-agreement-title {
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 23px;
  font-weight: 400;
}

.public-examples-page .landing-value-source-link {
  color: var(--accent, #445845);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-examples-page .landing-value-source:is(:target, .is-highlighted) {
  border-color: var(--accent, #445845);
  background: #e9ede3;
  box-shadow: inset 3px 0 0 var(--accent, #445845);
}

.public-examples-page :is(.landing-value-source, .landing-value-registry):focus {
  outline: 2px solid var(--accent, #445845);
  outline-offset: 4px;
}

.public-examples-page :is(.landing-value-demo-footer, .public-examples-cta) {
  border-color: var(--rule, #cbcbbd);
}

.public-examples-page .public-examples-cta {
  margin-top: 54px;
  padding-top: 30px;
}

/* The full report reads as a document with a persistent marginal index. */
.public-page.research-example-page .research-example-breadcrumbs {
  gap: 8px;
  color: var(--muted, #65685d);
  font-size: 12px;
  line-height: 1.6;
}

.public-page.research-example-page .research-example-breadcrumbs a {
  color: var(--accent, #445845);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-page.research-example-page .research-example-breadcrumbs svg {
  flex-shrink: 0;
  color: var(--muted, #65685d);
}

.public-page.research-example-page .research-example-hero {
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 50px;
  padding: 58px 0 34px;
}

.public-page.research-example-page .research-example-hero h1 {
  margin-top: 23px;
  font-size: clamp(36px, 4.7vw, 56px);
  line-height: 1.15;
}

.public-page.research-example-page .research-example-hero > div > p {
  margin-top: 22px;
  color: var(--muted, #65685d);
  font-size: 17px;
  line-height: 1.75;
}

.public-page.research-example-page .research-example-metrics {
  gap: 10px 22px;
  margin-top: 26px;
}

.public-page.research-example-page .research-example-metrics span {
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted, #65685d);
  background: transparent;
  font-size: 13px;
  font-weight: 400;
}

.public-page.research-example-page .research-example-metrics b {
  color: var(--ink, #2e332d);
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 26px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.public-page.research-example-page .research-example-proof-chain {
  padding: 12px 20px;
  border-color: var(--rule, #cbcbbd);
  border-radius: 2px;
  background: var(--paper-light, #fdfbf6);
  box-shadow: none;
}

.public-page.research-example-page .research-example-proof-chain li {
  min-height: 49px;
  grid-template-columns: 27px minmax(0, 1fr);
  border-bottom: 1px solid var(--rule, #cbcbbd);
  color: var(--ink, #2e332d);
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 20px;
}

.public-page.research-example-page .research-example-proof-chain li:last-child { border-bottom: 0; }
.public-page.research-example-page .research-example-proof-chain li::after { display: none; }
.public-page.research-example-page .research-example-proof-chain li b { font-weight: 400; }

.public-page.research-example-page .research-example-proof-chain li span {
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--muted, #65685d);
  background: transparent;
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 15px;
}

.public-page.research-example-page .research-example-disclosure {
  padding: 19px 0;
  margin-bottom: 42px;
  border: 0;
  border-top: 1px solid var(--rule, #cbcbbd);
  border-bottom: 1px solid var(--rule, #cbcbbd);
  border-radius: 0;
  color: var(--muted, #65685d);
  background: transparent;
}

.public-page.research-example-page .research-example-disclosure > span {
  border-radius: 0;
  color: var(--accent, #445845);
  background: transparent;
}

.public-page.research-example-page .research-example-disclosure b {
  color: var(--ink, #2e332d);
  font-size: 14px;
  font-weight: 500;
}

.public-page.research-example-page .research-example-disclosure p {
  font-size: 13px;
  line-height: 1.65;
}

.public-page.research-example-page .research-example-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}

.public-page.research-example-page .research-example-toc {
  top: 118px;
  padding: 0 22px 0 0;
  border: 0;
  border-right: 1px solid var(--rule, #cbcbbd);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.public-page.research-example-page .research-example-toc > b {
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 23px;
  font-weight: 400;
}

.public-page.research-example-page .research-example-toc a {
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule, #cbcbbd);
  border-radius: 0;
  color: var(--muted, #65685d);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.public-page.research-example-page .research-example-toc a:hover {
  color: var(--accent, #445845);
  background: #e9ede3;
}

.public-page.research-example-page .research-example-toc small {
  border: 0;
  color: var(--muted, #65685d);
  font-size: 12px;
  line-height: 1.6;
}

.public-page.research-example-page .research-example-report { gap: 56px; }

.public-page.research-example-page :is(.research-example-section, .research-example-method, .research-example-insight, .research-example-jtbd, .research-example-objection, .research-example-source) {
  scroll-margin-top: 118px;
}

.public-page.research-example-page :is(.research-example-section > h2, .research-example-cta h2) {
  margin-top: 14px;
  font-size: clamp(29px, 3.2vw, 39px);
  line-height: 1.23;
}

.public-page.research-example-page .research-example-section-lead {
  color: var(--muted, #65685d);
  font-size: 15px;
  line-height: 1.75;
}

.public-page.research-example-page .research-example-summary {
  padding: 24px 27px;
  border: 1px solid var(--rule, #cbcbbd);
  border-left: 3px solid var(--accent, #445845);
  border-radius: 0;
  color: var(--ink, #2e332d);
  background: var(--paper-light, #fdfbf6);
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: clamp(21px, 2.3vw, 25px);
  font-weight: 400;
  line-height: 1.6;
}

.public-page.research-example-page :is(.research-example-insights, .research-example-jtbd-list, .research-example-objections) {
  gap: 0;
  margin-top: 26px;
}

.public-page.research-example-page :is(.research-example-insight, .research-example-jtbd, .research-example-objection) {
  padding: 25px 0;
  border: 0;
  border-top: 1px solid var(--rule, #cbcbbd);
  border-radius: 0;
  color: var(--ink, #2e332d);
  background: transparent;
  box-shadow: none;
}

.public-page.research-example-page .research-example-insight:first-child {
  border-color: var(--rule, #cbcbbd);
  background: transparent;
}

.public-page.research-example-page .research-example-label {
  color: var(--muted, #65685d);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.6;
}

.public-page.research-example-page :is(.research-example-insight, .research-example-jtbd) h3 {
  font-size: clamp(24px, 2.5vw, 29px);
  line-height: 1.35;
}

.public-page.research-example-page :is(.research-example-insight > p, .research-example-objection > p) {
  color: var(--ink, #2e332d);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.public-page.research-example-page .research-example-source-links {
  gap: 8px;
  margin-top: 20px;
}

.public-page.research-example-page .research-example-source-links a {
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  flex-wrap: wrap;
  gap: 3px 9px;
  padding: 8px 11px;
  border-color: var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--accent, #445845);
  background: var(--paper-light, #fdfbf6);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.public-page.research-example-page .research-example-source-links a:hover {
  border-color: var(--accent, #445845);
  background: #e9ede3;
}

.public-page.research-example-page .research-example-source-links code {
  font-size: 11px;
  white-space: nowrap;
}

.public-page.research-example-page .research-example-source-links span {
  min-width: 0;
  color: var(--accent, #445845);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: break-word;
}

.public-page.research-example-page .research-example-method-note {
  color: var(--muted, #65685d);
  font-size: 13px;
  line-height: 1.65;
}

.public-page.research-example-page .research-example-jtbd dl {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.public-page.research-example-page .research-example-jtbd dl > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--rule, #cbcbbd);
  border-radius: 0;
  background: transparent;
}

.public-page.research-example-page .research-example-jtbd dt {
  color: var(--muted, #65685d);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}

.public-page.research-example-page .research-example-jtbd dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.public-page.research-example-page .research-example-objection > span {
  border: 1px solid var(--rule, #cbcbbd);
  border-radius: 2px;
  color: #78593f;
  background: #f0e7d3;
}

.public-page.research-example-page .research-example-sources {
  gap: 18px;
  margin-top: 26px;
}

.public-page.research-example-page .research-example-source {
  padding: 23px;
  border-color: var(--rule, #cbcbbd);
  border-radius: 2px;
  background: var(--paper-light, #fdfbf6);
  box-shadow: none;
}

.public-page.research-example-page .research-example-source > p {
  color: var(--ink, #2e332d);
  font-family: var(--font-editorial, "PT Serif", Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.public-page.research-example-page .research-example-source footer {
  gap: 7px;
  border-color: var(--rule, #cbcbbd);
}

.public-page.research-example-page .research-example-source footer b {
  color: var(--ink, #2e332d);
  font-size: 13px;
  font-weight: 500;
}

.public-page.research-example-page .research-example-source footer span {
  color: var(--muted, #65685d);
  font-family: var(--font-sans, "Golos Text", Arial, sans-serif);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}

.public-page.research-example-page .research-example-source footer code {
  color: var(--accent, #445845);
  font-size: 11px;
}

/* Keep both keyboard focus and the linked source visibly identifiable. */
.public-page.research-example-page .research-example-source:is(:target, :focus, .is-highlighted) {
  border-color: var(--accent, #445845);
  background: #e9ede3;
  box-shadow: inset 3px 0 0 var(--accent, #445845);
  outline: 2px solid var(--accent, #445845);
  outline-offset: 3px;
}

.public-page.research-example-page .research-example-method {
  padding: 24px;
  border-color: var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--ink, #2e332d);
  background: #eeeade;
}

.public-page.research-example-page .research-example-method > span {
  border: 1px solid var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--accent, #445845);
  background: transparent;
}

.public-page.research-example-page .research-example-method h2 {
  font-size: 27px;
  line-height: 1.3;
}

.public-page.research-example-page .research-example-method p {
  color: var(--muted, #65685d);
  font-size: 14px;
  line-height: 1.75;
}

.public-page.research-example-page .research-example-cta {
  margin-top: 68px;
  padding: 43px 30px;
  border: 1px solid var(--rule, #cbcbbd);
  border-radius: 2px;
  color: var(--ink, #2e332d);
  background: var(--paper-light, #fdfbf6);
  box-shadow: none;
}

.public-page.research-example-page .research-example-cta > p {
  color: var(--muted, #65685d);
  font-size: 15px;
  line-height: 1.75;
}

/* Undo the old dark call-to-action's white secondary link. */
.public-page.research-example-page .research-example-cta .btn:not(.btn-primary) {
  border-color: var(--rule, #cbcbbd);
  color: var(--ink, #2e332d);
  background: transparent;
}

@media (max-width: 980px) {
  .public-examples-page .landing-value-example-flow { grid-template-columns: minmax(0, 1fr); }
  .public-page.research-example-page .research-example-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .public-page.research-example-page .research-example-proof-chain { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .public-page.research-example-page .research-example-proof-chain li { border-bottom: 0; font-size: 18px; }
  .public-page.research-example-page .research-example-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .public-page.research-example-page .research-example-toc { position: static; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--rule, #cbcbbd); }
  .public-page.research-example-page .research-example-toc nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
}

@media (max-width: 680px) {
  :is(.public-examples-page, .public-page.research-example-page) .research-example-main { width: calc(100% - 40px); padding-top: 20px; padding-bottom: 54px; }
  .public-examples-page .public-examples-intro { padding-top: 26px; padding-bottom: 8px; }
  .public-examples-page .public-examples-intro h1 { font-size: clamp(33px, 7.6vw, 44px); }
  .public-examples-page .public-examples-intro p { font-size: 16px; }
  .public-examples-page .public-examples-choices { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 28px 0 42px; }
  .public-examples-page .public-examples-choices > a { padding: 21px; }
  .public-examples-page .public-examples-choices strong { font-size: 27px; }
  .public-examples-page .landing-value-example { padding: 18px; }
  .public-examples-page :is(.landing-value-source, .landing-value-task) { padding: 17px; }
  .public-examples-page .public-examples-cta { margin-top: 40px; gap: 16px; }
  .public-page.research-example-page .research-example-hero { padding-top: 34px; }
  .public-page.research-example-page .research-example-hero h1 { font-size: clamp(34px, 7.7vw, 46px); }
  .public-page.research-example-page .research-example-hero > div > p { font-size: 16px; }
  .public-page.research-example-page .research-example-metrics { gap: 9px 18px; }
  .public-page.research-example-page .research-example-proof-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 12px 16px; }
  .public-page.research-example-page .research-example-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .public-page.research-example-page .research-example-report { gap: 42px; }
  .public-page.research-example-page .research-example-summary { padding: 20px; font-size: 22px; }
  .public-page.research-example-page .research-example-jtbd dl > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .public-page.research-example-page .research-example-sources { grid-template-columns: minmax(0, 1fr); }
  .public-page.research-example-page .research-example-source { padding: 20px; }
  .public-page.research-example-page .research-example-source-links { grid-template-columns: minmax(0, 1fr); }
  .public-page.research-example-page .research-example-method { padding: 21px; }
  .public-page.research-example-page .research-example-cta { padding: 30px 21px; margin-top: 42px; }
  .public-page.research-example-page .research-example-cta > div { gap: 12px; }
  .public-page.research-example-page .research-example-cta .btn { white-space: normal; overflow-wrap: break-word; }
}

@media (max-width: 380px) {
  :is(.public-examples-page, .public-page.research-example-page) .research-example-main { width: calc(100% - 32px); }
  .public-examples-page .landing-value-example { padding: 13px; }
  .public-examples-page :is(.landing-value-source, .landing-value-task) { padding: 14px; }
  .public-examples-page .landing-value-example .landing-value-step { font-size: 19px; }
  .public-examples-page .landing-value-task dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .public-page.research-example-page .research-example-disclosure { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .public-page.research-example-page .research-example-objection { grid-template-columns: 24px minmax(0, 1fr); gap: 0 9px; }
  .public-page.research-example-page .research-example-objection > span { width: 24px; height: 24px; }
  .public-page.research-example-page .research-example-objection .research-example-source-links { grid-column: 1 / -1; }
  .public-page.research-example-page .research-example-source { padding: 17px; }
}

@media print {
  :is(.public-examples-page, .public-page.research-example-page),
  :is(.public-examples-page, .public-page.research-example-page) .research-example-main { width: 100%; color: #000; background: #fff; }
  .public-page.research-example-page .research-example-layout { display: block; }
  .public-page.research-example-page .research-example-source:is(:target, :focus, .is-highlighted) { outline: 0; box-shadow: none; background: #fff; }
  .public-page.research-example-page :is(.research-example-summary, .research-example-source, .research-example-method) { background: #fff; }
}


/* Speech Expert workspace: retain compact controls and the existing layout. */
.app {
  --bg: var(--paper);
  --surface: var(--paper-light);
  --surface-2: #eeeade;
  --surface-hover: #e9e7dc;
  --border: var(--rule);
  --border-strong: #979b8c;
  --text: var(--ink);
  --text-2: var(--muted);
  --text-3: var(--muted);
  --accent-soft: #e9ede3;
  --accent-hover: #304232;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --shadow-sm: none;
  --shadow-lg: none;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* Navigation and the title of each working page. */
.app .topbar { background: var(--paper); border-color: var(--rule); backdrop-filter: none; }
.app :is(.rail, .panel) { background: var(--paper-light); border-color: var(--rule); }
.app .main { background: var(--paper); }
.app .logo { border: 1px solid var(--rule); border-radius: 2px; color: var(--accent); background: transparent; }
.app .avatar { background: var(--accent); color: var(--paper-light); }
.app .project-mark { border-radius: 2px; background: var(--accent-soft); }
.app .panel-hd { padding-top: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.app .panel-title { font-family: var(--font-editorial); font-size: 23px; font-weight: 400; letter-spacing: -.025em; }
.app .panel-title .badge { font-family: var(--font-sans); }
.app :is(.panel-label, .eyebrow) { font-weight: 500; letter-spacing: .055em; }
.app .nav-item { min-height: 35px; font-weight: 400; }
.app .nav-item[aria-current="true"] { font-weight: 500; }
.app :is(.nav-item, .rail-btn) { border-radius: 2px; }
.app .nav-item { background: transparent; color: var(--muted); }
.app .nav-item:hover, .app .nav-item[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }
.app .rail-tooltip { border-color: var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper-light); }
.app .rail-btn:focus-visible .rail-tooltip { opacity: 1; }
.app .quota-box { border-radius: 2px; background: var(--paper); }
.app .page-header { background: var(--paper); border-bottom-color: var(--rule); }
.app .page-header .h1 { font-family: var(--font-editorial); font-size: clamp(28px, 2.5vw, 36px); font-weight: 400; line-height: 1.18; letter-spacing: -.025em; }
.app .breadcrumbs { font-size: 11px; }
.app :is(.h2, .h3) { font-family: var(--font-sans); font-weight: 500; }
.app .card-hd .h3 { font-size: 14px; }

/* Controls keep their sizes and distinct disabled/error states. */
.app :is(.btn, .input, .textarea, .select, .badge, .seg, .seg button),
.modal :is(.btn, .input, .textarea, .select, .badge, .seg, .seg button) { border-radius: 2px; box-shadow: none; }
.app .btn, .modal .btn { font-weight: 500; }
.app :is(.btn-primary, .btn-accent),
.modal :is(.btn-primary, .btn-accent) { border-color: var(--accent); background: var(--accent); color: var(--paper-light); }
.app :is(.btn-primary, .btn-accent):hover:not(:disabled),
.modal :is(.btn-primary, .btn-accent):hover:not(:disabled) { border-color: #304232; background: #304232; }
.app .b-accent, .modal .b-accent { border-color: var(--rule); color: var(--accent); background: var(--accent-soft); }
.app :is(.input, .textarea, .select):focus,
.modal :is(.input, .textarea, .select):focus { box-shadow: none; }
.app :is(a, button, input, textarea, select, summary):focus-visible,
.modal :is(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.app :is(.audio-translation-segment-input, .audio-translation-segment-textarea)[aria-invalid="true"] { border-color: var(--danger); }
.app .tabs { border-color: var(--rule); background: var(--paper); }
.app .tab { font-weight: 500; }
.app .tab[aria-selected="true"] { color: var(--accent); }
.app .seg { background: var(--paper); }
.app .seg button[aria-selected="true"] { background: var(--paper-light); box-shadow: none; }
.app :is(.param-label, .tts-tag-group-label) { font-weight: 500; }
.app .params { background: var(--paper); border-color: var(--rule); }

/* Dashboard, account, keys, saved records, and administration. */
.app :is(.card, .kpi) { border-radius: 2px; border-color: var(--rule); background: var(--paper-light); box-shadow: none; }
.app .card-hd { border-bottom-color: var(--rule); }
.app .kpi { padding: 17px 15px; }
.app .kpi-value { font-size: 27px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.app .quick-row { border-radius: 2px; }
.app .quick-icon { border-radius: 2px; background: var(--accent-soft); }
.app :is(.key-table, .benchmark-table, .audio-translation-segment-table, .admin-table) { background: var(--paper-light); }
.app :is(.key-table, .benchmark-table, .audio-translation-segment-table, .admin-table) th { color: var(--muted); font-weight: 500; background: var(--paper); }
.app :is(.key-table, .benchmark-table, .audio-translation-segment-table, .admin-table) :is(th, td) { border-color: var(--rule); }
.app .benchmark-table { border-radius: 2px; box-shadow: none; }
.app .benchmark-table tr.featured td { background: var(--accent-soft); }
.app .record-row { border-radius: 2px; }
.app .record-row[aria-current="true"] { border-color: var(--accent); }
.app :is(.codeblock, .admin-higgs-instance-url) { border-radius: 2px; background: var(--ink); color: var(--paper-light); }
.app .admin-registration-track > span { background: var(--accent); }
.app .admin-user-filter details[open] { box-shadow: none; }
.app .admin-higgs-status-dot.b-accent { box-shadow: none; }

/* Processing workspaces: ruled surfaces, stable component geometry. */
.app :is(.dropzone, .stt-source-options button, .record-now-card, .record-source-switch,
  .record-source-switch button, .remote-source-summary, .inline-diarization,
  .audio-translation-pipeline-stage, .audio-translation-subtitles,
  .audio-translation-consent, .audio-translation-source-preview,
  .audio-replacement-consent, .audio-replacement-utterance,
  .tts-role-row, .tts-role-chips button, .tts-tag-btn,
  .summary-preset, .summary-section, .summary-sources button,
  .summary-sources > span, .workflow-research-grid article,
  .workflow-jtbd, .recording-retention-row) { border-radius: 2px; box-shadow: none; }
.app .dropzone { background: var(--paper-light); }
.app .dropzone:hover,
.app .dropzone[data-active="true"] { background: var(--accent-soft); border-color: var(--accent); }
.app .record-source-switch { background: var(--paper); }
.app .remote-source-summary[data-active="true"],
.app .inline-diarization[data-active="true"] { border-color: var(--accent); }
.app .audio-replacement-consent:focus-within { box-shadow: none; }
.app .audio-translation-pipeline-stage[data-state="active"] { border-color: var(--accent); box-shadow: none; }
.app .audio-replacement-utterance[data-selected="true"] { border-color: var(--accent); box-shadow: none; }
.app .tts-studio-textarea:focus { box-shadow: none; }
.app .tts-role-row:not([data-color]),
.app .tts-role-chips button:not([data-color]),
.app .tts-role-row[data-color="0"],
.app .tts-role-chips button[data-color="0"] { --tts-role-color: var(--accent); }
.app .tts-tag-btn:hover { transform: none; }
.app :is(.public-tts-generation-workspace, .summary-workflow-launcher, .live-captions-launcher, .summary-panel, .entities-panel) { border-color: var(--rule); border-radius: 2px; background: var(--paper-light); box-shadow: none; }
.app .public-tts-generation-workspace { background: var(--paper); }
.app :is(.public-tts-lora-panel, .public-tts-generation-panel, .public-tts-lora-options label > span) { border-radius: 2px; box-shadow: none; }
.app .summary-regenerate { border-color: var(--rule); background: var(--paper-light); }
.app .summary-section { background: var(--paper-light); }
.app .summary-sources button,
.app .summary-sources > span { border-color: var(--rule); }
.app .summary-sources button:hover { border-color: var(--accent); }
.app .summary-digest-record[data-selected="true"] { border-color: var(--accent); }
.app .summary-preset[aria-pressed="true"] { border-color: var(--accent); box-shadow: none; }
.app .operation-progress-track span { background: var(--accent); }
.app .wave span.played { background: var(--accent); }
.app .spinner.dark { border-color: var(--rule); border-top-color: var(--accent); }

/* Neutral analytical surfaces keep their red/yellow measurements and alerts. */
.app .emotion-dynamics { border-color: var(--rule); border-radius: 2px; background: var(--paper-light); }
.app :is(.emotion-overview > div, .emotion-session-details details,
  .emotion-episode-list article, .emotion-moment-list article,
  .emotion-technical-body, .text-emotion-only button,
  .emotion-drawer-source blockquote, .emotion-drawer-metrics > span,
  .text-emotion-drawer-signal) { border-radius: 2px; background: var(--paper-light); }
.app .emotion-score-markers button { background: var(--paper-light); box-shadow: none; }
.app .emotion-score-threshold-label { background: var(--paper-light); }

/* Toasts can be siblings of .app in ToastProvider. */
.modal { border-color: var(--rule); border-radius: 2px; background: var(--paper-light); color: var(--ink); box-shadow: none; font-family: var(--font-sans); }
.modal > .card-hd .h2 { font-family: var(--font-editorial); font-size: 25px; font-weight: 400; }
.modal .input, .modal .textarea, .modal .select { background: var(--paper-light); }
.toast { border-color: var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper-light); box-shadow: none; font-family: var(--font-sans); }

@media (max-width: 680px) {
  .app .page-header .h1 { font-size: 29px; }
  .app .kpi { padding: 14px 12px; }
  .app .kpi-value { font-size: 24px; }
}
