/* Newsroom Lite. Presentation only. The upstream document remains the copy source. */
:root[data-layout="newsdesk"] {
  --paper: #f6f5ef;
  --paper-2: #eeede5;
  --ink: #151815;
  --ink-2: #333b34;
  --muted: #586157;
  --line: #cecfc5;
  --line-strong: #929b8d;
  --accent: #137a3a;
  --accent-soft: #e2e9df;
  --news-panel: transparent;
  --brand-radius: 0px;
  --r-media: 0px;
  --r-control: 2px;
  --r-sheet: 6px;
  --news-shadow: none;
  --spotlight: transparent;
  --sans: 'Outfit', 'Sarabun', sans-serif;
  --mono: 'Outfit', 'Sarabun', sans-serif;
  --reading: 'Spectral', Georgia, serif;
  --duration: 180ms;
  color-scheme: light;
  accent-color: var(--accent);
  scrollbar-color: var(--line-strong) var(--paper);
}
:root[data-layout="newsdesk"][data-theme="dark"] {
  --paper: #101210;
  --paper-2: #1a1d1a;
  --ink: #f3f1e8;
  --ink-2: #d2d7ca;
  --muted: #b4bbae;
  --line: #3a4338;
  --line-strong: #788471;
  --accent: #4ade80;
  --accent-soft: #1e3325;
  color-scheme: dark;
}
:root[data-layout="newsdesk"]:lang(th) {
  --sans: 'Sarabun', 'Outfit', sans-serif;
  --reading: 'Sarabun', sans-serif;
  --mono: 'Sarabun', 'Outfit', sans-serif;
}
[data-layout="newsdesk"] body { background: var(--paper); color: var(--ink); }
[data-layout="newsdesk"] :is(a,button,input,summary) { -webkit-tap-highlight-color: transparent; }
[data-layout="newsdesk"] a { text-underline-offset: .18em; }
[data-layout="newsdesk"] :is(button,input,select,summary) { caret-color: var(--accent); }
[data-layout="newsdesk"] :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[data-layout="newsdesk"] ::selection { color: var(--paper); background: var(--ink); }
[data-layout="newsdesk"] :is(.desk-mast,.desk-home,.desk-category,.article,.foot) { max-width: 1280px; }
.desk-mast { padding-top: 12px; }
.desk-utility { font-family: var(--sans); font-size: 12px; letter-spacing: 0; padding-block: 8px 16px; }
.desk-brand-row { min-height: 106px; padding-block: 20px 28px; border-bottom: 2px solid var(--ink); }
.desk-brand-caption { font-family: var(--sans); font-size: 13px; line-height: 1.55; letter-spacing: .02em; }
.desk-edition { font-family: var(--sans); font-size: 12px; letter-spacing: .025em; margin-top: 6px; }
.desk-name img { width: 268px; height: 48px; }
.desk-nav { min-height: 54px; gap: 32px; }
.desk-nav a { font-size: 14px; }
.desk-tools .desk-button { min-height: 44px; border: 0; border-radius: 0; }
.desk-tools .desk-button:first-child { border: 0; border-bottom: 1px solid var(--line-strong); }
.desk-tools kbd { font-size: 12px; }
.desk-intro { padding-block: 16px 22px; font-size: 13px; }
.desk-intro small { font-family: var(--sans); font-size: 12px; }
.newsroom-v5 .desk-cover { display: flex; flex-direction: column; margin-bottom: 52px; }
.newsroom-v5 .cover-toolbar { order: 0; padding-block: 0 12px; }
.newsroom-v5 .cover-toolbar-title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.cover-position,.cover-gesture { font-family: var(--sans); font-size: 12px; letter-spacing: 0; }
.newsroom-v5 .cover-stage { order: 1; overflow: visible; box-shadow: none; border: 0; border-radius: 0; background: transparent; }
.newsroom-v5 .cover-stage::after { content: none; }
.newsroom-v5 .cover-panel.desk-lead { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); background: transparent; align-items: start; gap: 48px; }
.newsroom-v5 .cover-panel[hidden] { display: none; }
.newsroom-v5 .cover-copy { grid-column: 1; grid-row: 1; padding: 8px 0 24px; background: transparent; animation: none !important; }
.newsroom-v5 .cover-eyebrow { margin-bottom: 20px; }
[data-layout="newsdesk"] .kicker { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .045em; }
.newsroom-v5 .cover-panel .desk-story-title { font-size: clamp(36px,4.1vw,60px); font-weight: 550; letter-spacing: -.035em; line-height: 1.055; max-width: 17ch; text-wrap: balance; }
.newsroom-v5 .cover-panel .desk-dek { font-family: var(--reading); font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 51ch; margin-block: 22px 26px; }
.newsroom-v5 .cover-meta { margin-top: 0; padding-top: 0; }
[data-layout="newsdesk"] .newsroom-v5 .cover-meta .byline { font-family: var(--sans); font-size: 13px; line-height: 1.65; }
.newsroom-v5 .cover-actions { gap: 20px; margin-top: 18px; justify-content: flex-start; }
.newsroom-v5 .cover-read { min-width: 150px; min-height: 48px; border-radius: 0; padding-inline: 0 10px; border-bottom: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: 16px; gap: 22px; }
.newsroom-v5 .cover-read:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.newsroom-v5 .cover-actions .save-button { border: 0; min-height: 48px; padding-inline: 12px; }
.newsroom-v5 .cover-media { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; height: auto; min-height: 0; background: transparent; overflow: visible; }
.cover-photo { position: relative; inset: auto; width: 100%; height: auto; overflow: hidden; transform: none !important; }
.cover-photo img { position: static; width: 100%; height: auto; max-height: 510px; aspect-ratio: auto; object-fit: contain; transform: none !important; display: block; }
.cover-photo-note { position: relative; inset: auto; background: transparent; color: var(--muted); padding: 14px 0 4px; display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--line); }
.cover-photo-note > span { max-width: none; flex: 1; font-family: var(--sans); font-size: 12px; line-height: 1.6; }
.cover-photo-note small { opacity: 1; font-size: 12px; margin-top: 5px; }
.cover-photo-note .photo-expand { position: static; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); width: 44px; height: 44px; flex-shrink: 0; }
.newsroom-v5 .cover-index { order: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-top: 22px; border: 0; border-block: 1px solid var(--line-strong); padding: 0; }
.cover-index::before { display: none; }
.cover-index-entry + .cover-index-entry { border-left: 1px solid var(--line); }
.newsroom-v5 .cover-tab { grid-template-columns: 24px minmax(0,1fr); min-height: 118px; padding: 22px 20px; gap: 12px; align-items: start; position: relative; }
.newsroom-v5 .cover-tab-image { display: none; }
.newsroom-v5 .cover-tab-number { font-family: var(--sans); font-size: 18px; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--muted); }
.newsroom-v5 .cover-tab-title { font-size: 16px; line-height: 1.4; font-weight: 500; }
.newsroom-v5 .cover-tab-kicker { font-family: var(--sans); font-size: 12px; letter-spacing: .015em; margin-bottom: 8px; color: var(--muted); }
.newsroom-v5 .cover-tab[data-previewed="true"] { background: var(--paper-2); box-shadow: none; }
.newsroom-v5 .cover-tab[data-previewed="true"]::after { content: ''; position: absolute; top: -1px; left: 20px; width: 20px; height: 3px; background: var(--accent); }
.cover-link-arrow { display: none; }
.newsroom-v5 .desk-explore { margin-top: 0; }
.newsroom-v5 .desk-section-label { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.newsroom-v5 .desk-section-label h2 { font-size: 34px; font-weight: 500; letter-spacing: -.03em; }
[data-layout="newsdesk"][data-enhanced] .desk-streams.js-only { border: 0; border-bottom: 1px solid var(--line); padding: 0; border-radius: 0; gap: 24px; }
.desk-stream { border: 0; border-bottom: 3px solid transparent; padding: 14px 0; min-height: 50px; }
.desk-stream[aria-pressed="true"] { background: transparent; color: var(--ink); border-color: var(--accent); }
.desk-stream small { font-size: 12px; font-variant-numeric: tabular-nums; }
.desk-stream:not([aria-pressed="true"]):hover { background: transparent; border-bottom-color: var(--line-strong); }
.desk-stream .desk-icon { display: none; }
.desk-search { border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; border-radius: 0; min-height: 48px; }
.topic-filter { min-height: 44px; font-size: 13px; }
.newsroom-v5 .desk-archive { grid-template-columns: 1fr; gap: 0; }
.newsroom-v5 .desk-row { display: grid; grid-template-columns: minmax(140px,220px) minmax(0,1fr); gap: 32px; padding-block: 26px; border-bottom: 1px solid var(--line); height: auto; }
.newsroom-v5 .desk-row .desk-photo { align-self: start; }
.newsroom-v5 .desk-row .desk-photo img { aspect-ratio: 1.5; object-fit: cover; }
.newsroom-v5 .desk-row .desk-story-text { display: block; padding: 0; }
.newsroom-v5 .desk-row .desk-story-title { font-size: 29px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; max-width: 36ch; text-wrap: balance; }
.newsroom-v5 .desk-row .desk-story-meta { padding-top: 8px; margin: 0; }
.desk-story-actions { margin-top: 12px; }
.desk-story-actions .desk-button { border: 0; }
.desk-story-actions .desk-brief > summary { font-size: 13px; }
.desk-brief-copy { background: transparent; border: 0; font: 18px/1.65 var(--reading); }
.desk-trust { padding-block: 24px; font-size: 13px; border-top: 0; }
.desk-bottom { box-shadow: none; border-top: 1px solid var(--line-strong); background: var(--paper); }
.desk-bottom :is(a,button) { min-height: 52px; }
.desk-dialog { border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 24px 80px rgb(0 0 0 / .25); }
.desk-dialog .desk-button { min-width: 44px; min-height: 44px; }
.dialog-head { padding-block: 10px 18px; }
.desk-dialog input { font-size: 18px; }
.art-head h1 { font-size: clamp(38px,4vw,58px); font-weight: 550; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.art-head .dek { font: 21px/1.6 var(--reading); color: var(--ink-2); }
.art-head .byline { font-family: var(--sans); font-size: 13px; line-height: 1.7; }
.article .hero { margin: 0; }
.article .hero img { border-radius: 0; }
.article figcaption { font: 12px/1.65 var(--sans); color: var(--muted); padding-block: 12px; }
.article figcaption .credit { display: block; margin-top: 4px; }
.story-reader .art-body { max-width: 760px; font-family: var(--reading); font-size: 20px; line-height: 1.8; }
.art-body :is(p,li) { font-family: var(--reading); font-size: inherit; line-height: inherit; }
.art-body h2 { font-family: var(--sans); font-size: 34px; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin-block: 2em .65em; }
.art-body h3 { font-family: var(--sans); font-size: 25px; line-height: 1.4; }
.article .facts { background: transparent; border: 0; border-block: 1px solid var(--line-strong); border-radius: 0; padding: 24px 0; margin-block: 28px 42px; }
.article .facts li { font-family: var(--reading); padding-block: 8px; }
.article .facts .label { font: 600 13px/1.5 var(--sans); letter-spacing: .04em; color: var(--ink); }
.story-contents { background: transparent; border-radius: 0; border-color: var(--line); }
.story-contents :is(summary,a) { min-height: 44px; }
.reader-details .share { gap: 8px; }
.article-related { border-top: 1px solid var(--line-strong); }
.foot { border-top: 2px solid var(--ink); margin-top: 50px; padding-top: 24px; }
.foot :is(p,a) { font-size: 13px; line-height: 1.7; }
:root[data-layout="newsdesk"]:lang(th) :is(.cover-tab-title,.desk-story-title,.art-head h1,.desk-section-label h2,.art-body h2,.art-body h3) { letter-spacing: 0; line-height: 1.45; text-transform: none; }
:root[data-layout="newsdesk"]:lang(th) .newsroom-v5 .cover-panel .desk-story-title { font-size: clamp(32px,3.4vw,46px); max-width: none; font-weight: 600; }
:root[data-layout="newsdesk"]:lang(th) .cover-panel .desk-dek { font-size: 19px; line-height: 1.85; }
:root[data-layout="newsdesk"]:lang(th) .art-head h1 { font-size: clamp(32px,3.5vw,48px); font-weight: 600; }
:root[data-layout="newsdesk"]:lang(th) .art-body { font-size: 19px; line-height: 1.95; }
:root[data-layout="newsdesk"]:lang(th) .art-head .dek { font-size: 20px; line-height: 1.85; }
@media (max-width: 1050px) {
  .newsroom-v5 .cover-panel.desk-lead { gap: 28px; }
  .newsroom-v5 .cover-panel .desk-story-title { font-size: 42px; }
.desk-name img { width: 220px; height: auto; }
}
@media (max-width: 768px) {
  .desk-mast { padding-top: 2px; }
  .desk-utility { padding-block: 7px 12px; font-size: 12px; }
  .desk-brand-row { min-height: 90px; padding-block: 16px; }
  .desk-name img { width: 172px; height: auto; }
  .desk-brand-caption,.desk-edition { font-size: 12px; }
  .desk-nav { gap: 0; }
  .desk-nav a { min-height: 46px; font-size: 13px; padding: 10px 5px; line-height: 1.5; }
  .desk-intro { padding-block: 16px 20px; line-height: 1.6; gap: 12px; }
  .newsroom-v5 .cover-panel.desk-lead { display: flex; gap: 20px; }
  .newsroom-v5 .cover-media { order: 1; min-height: 0; height: auto; }
  .cover-photo img { max-height: none; width: 100%; height: auto; }
  .cover-photo-note { padding-top: 10px; }
  .cover-photo-note > span,.cover-photo-note small { font-size: 12px; }
  .newsroom-v5 .cover-copy { order: 0; padding: 0; }
  .newsroom-v5 .cover-eyebrow { margin-bottom: 13px; }
  .newsroom-v5 .cover-panel .desk-story-title { font-size: 38px; line-height: 1.1; max-width: none; letter-spacing: -.03em; }
  .newsroom-v5 .cover-panel .desk-dek { font-size: 19px; line-height: 1.6; margin-block: 18px; }
  .newsroom-v5 .cover-actions { margin-top: 12px; }
  .newsroom-v5 .cover-index { display: block; margin-top: 28px; overflow: visible; }
  .cover-index-entry + .cover-index-entry { border-left: 0 !important; border-top: 1px solid var(--line) !important; }
  .newsroom-v5 .cover-tab { grid-template-columns: 26px minmax(0,1fr); padding: 18px 12px; min-height: 92px; }
  .newsroom-v5 .cover-tab-title { font-size: 16px; }
  .newsroom-v5 .cover-tab[data-previewed="true"]::after { left: 12px; }
  .newsroom-v5 .desk-cover { margin-bottom: 36px; }
  .newsroom-v5 .desk-section-label h2 { font-size: 30px; }
  [data-layout="newsdesk"][data-enhanced] .desk-streams.js-only { gap: 16px; }
  .desk-stream { gap: 6px; }
  .desk-stream > span { font-size: 14px; }
  .newsroom-v5 .desk-row { grid-template-columns: 88px minmax(0,1fr); gap: 16px; padding-block: 22px; }
  .newsroom-v5 .desk-row .desk-photo img { aspect-ratio: 1; }
  .newsroom-v5 .desk-row .desk-story-title { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
  .newsroom-v5 .desk-row .byline { font-size: 12px; line-height: 1.6; }
  .desk-brief-copy { font-size: 18px; }
  .art-head h1 { font-size: 37px; line-height: 1.12; }
  .art-head .dek { font-size: 20px; line-height: 1.65; }
  .story-reader .art-body { font-size: 19px; line-height: 1.8; }
  .art-body h2 { font-size: 29px; }
  :root[data-layout="newsdesk"]:lang(th) .newsroom-v5 .cover-panel .desk-story-title,
  :root[data-layout="newsdesk"]:lang(th) .art-head h1 { font-size: 32px; line-height: 1.5; }
  :root[data-layout="newsdesk"]:lang(th) .art-body { font-size: 18px; line-height: 1.95; }
  :root[data-layout="newsdesk"]:lang(th) .desk-nav a { font-size: 12px; letter-spacing: 0; white-space: normal; }
}
@media (max-width: 360px) {
  .newsroom-v5 .cover-panel .desk-story-title { font-size: 34px; }
  .desk-stream > span { font-size: 13px; }
  [data-layout="newsdesk"][data-enhanced] .desk-streams.js-only { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cover-photo,.cover-media,.cover-photo img { transform: none !important; translate: none !important; }
}
@media print {
  :root[data-layout="newsdesk"] { --paper: #fff; --ink: #151815; --ink-2: #151815; --muted: #333b34; }
  .cover-photo { translate: none !important; }
  .story-reader .art-body { max-width: none; }
}

/* 1 November: recognisable news controls and comfortable Thai reading. */
:root[data-layout="newsdesk"] .newsroom-v5 .cover-tab {
  grid-template-columns: 64px minmax(0,1fr);
  gap: 14px;
  padding: 20px 16px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .cover-tab-image {
  display: block;
  width: 64px;
  height: 48px;
  object-fit: contain;
  background: var(--paper-2);
  grid-column: 1;
  grid-row: 1;
  margin-top: 3px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .cover-tab-number { display: none; }
:root[data-layout="newsdesk"] .newsroom-v5 .cover-tab-copy { grid-column: 2; }
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 12px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-actions .desk-brief {
  flex: 1 1 140px;
  min-width: 0;
  margin-top: 0;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-actions .desk-brief > summary {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-actions .desk-brief[open] {
  flex-basis: 100%;
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 16px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-actions .desk-brief > p {
  font-family: var(--reading);
  font-size: 18px;
  line-height: 1.7;
}
:root[data-layout="newsdesk"]:lang(th) .newsroom-v5 .desk-story-actions .desk-brief > p {
  font-family: Sarabun,sans-serif;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-tools {
  position: static;
  inset: auto;
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-tools :is(.photo-expand,.save-button) {
  flex: 0 1 auto;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  height: auto;
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  font-size: 13px;
}
:root[data-layout="newsdesk"] .newsroom-v5 .desk-story-tools span { display: inline; }
@media(max-width:640px) {
  :root[data-layout="newsdesk"] .desk-utility { padding-block: 6px 10px; }
  :root[data-layout="newsdesk"] .desk-brand-row { padding-block: 14px 18px; }
  :root[data-layout="newsdesk"]:lang(th) .desk-nav a { font-size: 14px; line-height: 1.5; }
  :root[data-layout="newsdesk"] .newsroom-v5 .cover-tab { padding: 16px 4px; }
}
:root[data-layout="newsdesk"] .topic-filters {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  flex-wrap: nowrap;
  max-width: 100%;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
:root[data-layout="newsdesk"] .topic-filter {
  font: 14px/1.5 var(--sans);
  letter-spacing: 0;
  min-height: 44px;
  flex: 0 0 auto;
  white-space: nowrap;
}
:root[data-layout="newsdesk"] .filter-caption {
  font-size: 12px;
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
}
@media(max-width:640px) {
  :root[data-layout="newsdesk"] body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* Match the upstream layer because layered important rules outrank unlayered rules. */
@layer upstream { :root[data-layout="newsdesk"] .topic-filter { font-size: 14px !important; } }

/* Defect fixes, 1 Nov 2026 (Prom: defects only; the look and every word stay).
   Gate: tools/size-gate.mjs renders every page with this file and with archive/brand-2026-11-01-before-defects.css
   and fails if any element got smaller, or if reader text stays under 13 px (Thai 14 px). */
/* 1. Reading floor. Text that was 10 to 12 px at every width rises to 13 px; Thai text (a Thai page, or a lang="th"
   element such as the language switch) to 14 px. */
[data-layout="newsdesk"] :is(.desk-intro > span, .desk-intro p, .desk-story-meta .byline, .desk-story-meta .byline time,
  .archive-pagination :is(span, small), .related-story-copy :is(small, time), .tags span,
  .section-heading-top > span, .section-heading-top a, .section-list-heading > span, .article-related summary .label, .share .label,
  .desk-bottom :is(a, button) > span, .desk-utility, .desk-utility a, .desk-utility span, .desk-edition,
  .kicker, .kicker a, .cover-tab-kicker, .cover-photo-note > span, .cover-photo-note small, .cover-gesture, .cover-position, .cover-position span,
  .desk-brief > a, .result-count, .filter-caption, .hero figcaption, .hero figcaption .credit, .story-contents > summary,
  .crumbs, .crumbs a, .art-body blockquote footer, a.skip, .search-trigger kbd, .save-button > span, .desk-stream > small,
  .dialog-story small, .dialog-story time, .dialog-head > div > p, #desk-photo-dialog :is(.dialog-head .label, .dialog-head .label span, figcaption p),
  .card-text .byline, .card-text .byline :is(time, .nb), li > .byline, li > .byline time, .sec-page-head .label, main > h2.label,
  .article-disclosure > summary, .article-disclosure > summary > span, .disclosure .label, .disclosure p, .disclosure p a,
  .art-body figure figcaption, figcaption .keep-tail, .correction .label, .correction .label time) { font-size: 13px; }
[data-layout="newsdesk"] .facts li::before { font-size: 13px; }
[data-layout="newsdesk"] :is(.desk-intro > span, .desk-intro p, .desk-story-meta .byline, .desk-story-meta .byline time,
  .archive-pagination :is(span, small), .related-story-copy :is(small, time), .tags span,
  .section-heading-top > span, .section-heading-top a, .section-list-heading > span, .article-related summary .label, .share .label,
  .desk-bottom :is(a, button) > span, .desk-utility, .desk-utility a, .desk-utility span, .desk-edition,
  .kicker, .kicker a, .cover-tab-kicker, .cover-photo-note > span, .cover-photo-note small, .cover-gesture, .cover-position, .cover-position span,
  .desk-brief > a, .result-count, .filter-caption, .hero figcaption, .hero figcaption .credit, .story-contents > summary,
  .crumbs, .crumbs a, .art-body blockquote footer, a.skip, .search-trigger kbd, .save-button > span, .desk-stream > small,
  .dialog-story small, .dialog-story time, .dialog-head > div > p, #desk-photo-dialog :is(.dialog-head .label, .dialog-head .label span, figcaption p),
  .card-text .byline, .card-text .byline :is(time, .nb), li > .byline, li > .byline time, .sec-page-head .label, main > h2.label,
  .article-disclosure > summary, .article-disclosure > summary > span, .disclosure .label, .disclosure p, .disclosure p a,
  .art-body figure figcaption, figcaption .keep-tail, .correction .label, .correction .label time,
  .byline, .byline > span, .byline time, .cover-toolbar-title, .desk-brand-caption,
  .desk-trust, .desk-trust :is(a, span), .foot, .foot :is(p, a), .facts .label, .reader-references > summary, .profile-links a, .profile-disc):lang(th) { font-size: 14px; }
/* Controls were 12 px only at phone widths (16 px from 641 px up), so their floor applies there only. */
@media (max-width: 640px) {
  [data-layout="newsdesk"] :is(.desk-button, .desk-button > span, .desk-link, .photo-expand > span, .archive-pagination button) { font-size: 13px; }
  [data-layout="newsdesk"] :is(.desk-button, .desk-button > span, .desk-link, .photo-expand > span, .archive-pagination button):lang(th) { font-size: 14px; }
}
/* Thai controls from 641 px up inherit their size (16 px at medium widths, 13 px on wide screens):
   at least 14 px, never smaller than what they inherit. */
@media (min-width: 641px) {
  [data-layout="newsdesk"] :is(.article-actions .desk-button, .share .desk-button, .gallery-actions .desk-button,
    .photo-expand > span, .desk-tools .desk-button):lang(th) { font-size: max(14px, 1em); }
}
/* 2. Thai compounds stay whole on a line (spans added by tools/defects.py, never inside nav), and dates stay whole. */
.th-nb { white-space: nowrap; }
[data-layout="newsdesk"] .byline time { white-space: nowrap; }
/* 4. Phone navigation: three links then two, every label on one line, rows the same height. */
@media (max-width: 640px) {
  [data-layout="newsdesk"] .desk-nav .nav-track { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  [data-layout="newsdesk"] .desk-nav .nav-track > a { grid-column: span 3; }
  [data-layout="newsdesk"] .desk-nav .nav-track > a:nth-child(3),
  [data-layout="newsdesk"] .desk-nav .nav-track > a:nth-last-child(-n+2) { grid-column: span 6; }
  [data-layout="newsdesk"] .desk-nav .nav-track > a:nth-child(3) { white-space: nowrap; }
}
@media (max-width: 359px) {
  [data-layout="newsdesk"] .desk-nav .nav-track > a:nth-child(2) { grid-column: span 2; }
  [data-layout="newsdesk"] .desk-nav .nav-track > a:nth-child(3) { grid-column: span 7; }
}
