/*
 * desks.css — デスクごとの顔
 *
 * ナビ・フッター・カードの基本形は layout.css の共通部品のまま使い、
 * ここではデスクごとに「色の組」「ページ冒頭の作り」「見出しと枠の形」だけを変える。
 * body の desk-* クラスで切り替える（build.js の page_class）。
 *
 *   desk-studio   /news/          ニューススタジオ。基準の緑と柚子色（変更しない）
 *   desk-ai       /news/ai/       検証デスク。藍の方眼紙、ゴシックの見出し、仕様書の枠
 *   desk-markets  /news/markets/  数字のボード。深い青緑の罫線ボード、数字は Inter
 *   desk-calendar /news/calendar/ 暦のデスク。綴じ穴のある紙、朱の印、蘇芳の見出し
 *   desk-archive  /news/articles/ 記事の書庫。墨と紙の目録、二重罫、件数を大きく
 *
 * 色は文字色として使うものを #fff / 各デスクの背景に対して 4.5:1 以上にしている。
 */

/* ── 色の組（layout.css の --news-* を上書き） ─────────────────────────── */

body.desk-ai {
  --news-bg: #f6f7f9;
  --news-paper: #ffffff;
  --news-panel: #eef1f7;
  --news-green: #24396b;
  --news-green-soft: #e3e8f3;
  --news-gold: #4a64a8;
  --news-gold-text: #3a539a;
  --news-kicker-on-dark: #b7c6f2;
  --news-line: rgba(36, 57, 107, 0.16);
  --news-soft-line: rgba(36, 57, 107, 0.14);
  --desk-accent: #4a64a8;
  --desk-ink: #24396b;
  --desk-grid: rgba(74, 100, 168, 0.09);
}

body.desk-markets {
  --news-bg: #f4f7f6;
  --news-paper: #ffffff;
  --news-panel: #e8f1f1;
  --news-green: #173a45;
  --news-green-soft: #dcebeb;
  --news-gold: #2a7d84;
  --news-gold-text: #1f6970;
  --news-kicker-on-dark: #9fd8da;
  --news-line: rgba(23, 58, 69, 0.15);
  --news-soft-line: rgba(23, 58, 69, 0.13);
  --desk-accent: #2a7d84;
  --desk-ink: #173a45;
}

body.desk-calendar {
  --news-bg: #fcf7ef;
  --news-paper: #fffdf8;
  --news-panel: #fbf0e6;
  --news-green: #5c2f2a;
  --news-green-soft: #f5e4d8;
  --news-gold: #c0533a;
  --news-gold-text: #a3432c;
  --news-line: rgba(92, 47, 42, 0.15);
  --news-soft-line: rgba(92, 47, 42, 0.13);
  --desk-accent: #c0533a;
  --desk-ink: #5c2f2a;
}

body.desk-archive {
  --news-bg: #f7f4ee;
  --news-paper: #fffdf9;
  --news-panel: #efebe3;
  --news-green: #2b2720;
  --news-green-soft: #e8e3d8;
  --news-gold: #6b6157;
  --news-gold-text: #5d544a;
  --news-line: rgba(43, 39, 32, 0.18);
  --news-soft-line: rgba(43, 39, 32, 0.14);
  --desk-accent: #6b6157;
  --desk-ink: #2b2720;
}

/* ── 共通：デスクの印（ヘッダーの線、現在地、デスク名の札） ───────────── */

body.desk-ai .news-shell-header,
body.desk-markets .news-shell-header,
body.desk-calendar .news-shell-header,
body.desk-archive .news-shell-header {
  border-bottom: 3px solid var(--desk-accent);
}

body.desk-ai .news-shell-nav a[aria-current="page"]::after,
body.desk-markets .news-shell-nav a[aria-current="page"]::after,
body.desk-calendar .news-shell-nav a[aria-current="page"]::after,
body.desk-archive .news-shell-nav a[aria-current="page"]::after {
  height: 2px;
  background: var(--desk-accent);
}

body.desk-ai .news-shell-footer,
body.desk-markets .news-shell-footer,
body.desk-calendar .news-shell-footer,
body.desk-archive .news-shell-footer {
  border-top: 3px solid var(--desk-accent);
}

.desk-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--desk-ink, var(--news-green));
  line-height: 1.35;
}

.desk-signature-mark {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: #fff;
  background: var(--desk-accent, var(--news-green));
  font-family: var(--font-latin);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.desk-signature-text {
  display: grid;
  gap: 0.1rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.desk-signature-text span {
  color: var(--news-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── AI・テック：検証デスク ──────────────────────────────────────────── */

body.desk-ai .desk-signature-mark {
  border-radius: 4px;
}

body.desk-ai .news-ai-masthead {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  background-color: var(--news-bg);
  background-image:
    linear-gradient(var(--desk-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--desk-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--news-line);
}

body.desk-ai .news-studio-eyebrow,
body.desk-ai .news-studio-section-kicker {
  color: var(--news-gold-text);
}

body.desk-ai .news-ai-masthead h1 {
  color: var(--desk-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

body.desk-ai .news-ai-headline {
  color: var(--desk-ink);
  font-weight: 800;
}

/* デスクの現在：仕様書の表 */
body.desk-ai .news-ai-status-strip {
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: var(--desk-ink);
  border: 0;
  border-radius: 6px;
}

body.desk-ai .news-ai-status-primary {
  margin: 0;
  padding: 0.85rem 1.2rem;
  color: #fff;
  font-family: var(--font-latin);
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body.desk-ai .news-ai-status-dot {
  background: #9fb3e6;
  border-radius: 1px;
}

body.desk-ai .news-ai-status-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

body.desk-ai .news-ai-status-metrics div {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem 1.3rem;
}

body.desk-ai .news-ai-status-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

body.desk-ai .news-ai-status-metrics dt {
  color: rgba(255, 255, 255, 0.78);
}

body.desk-ai .news-ai-status-metrics dd {
  color: #fff;
  font-family: var(--font-latin);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.2;
}

/* 節の見出し：番号つきの仕様書 */
body.desk-ai .news-studio-page {
  counter-reset: desk-ai-section;
}

/* AI ハブの節見出しだけに番号を付ける（料金比較のカード内ラベルには付けない） */
body.desk-ai:not(.ai-pricing-page-shell) .news-studio-section-head .news-studio-section-kicker,
body.desk-ai:not(.ai-pricing-page-shell) .news-ai-policy-copy > .news-studio-section-kicker {
  counter-increment: desk-ai-section;
}

body.desk-ai:not(.ai-pricing-page-shell) .news-studio-section-head .news-studio-section-kicker::before,
body.desk-ai:not(.ai-pricing-page-shell) .news-ai-policy-copy > .news-studio-section-kicker::before {
  content: counter(desk-ai-section, decimal-leading-zero) " / ";
}

body.desk-ai .news-studio-section-head {
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--desk-ink);
}

body.desk-ai .news-studio-section-head h2,
body.desk-ai .news-ai-policy-panel h2 {
  color: var(--desk-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

body.desk-ai .news-ai-tool-card,
body.desk-ai .news-ai-policy-panel,
body.desk-ai .news-studio-article-card {
  border-radius: 6px;
}

body.desk-ai .news-ai-tool-card {
  border-top: 4px solid var(--desk-accent);
}

body.desk-ai .news-ai-tool-number {
  color: rgba(74, 100, 168, 0.45);
  font-family: var(--font-latin);
  font-weight: 800;
}

body.desk-ai .news-studio-article-card img,
body.desk-ai .news-studio-article-media {
  border-radius: 4px 4px 0 0;
}

/* ── マーケット：数字のボード ───────────────────────────────────────── */

body.desk-markets .desk-signature {
  color: #fff;
}

body.desk-markets .desk-signature-mark {
  color: var(--desk-ink);
  background: #bfe3e2;
  border-radius: 2px;
}

body.desk-markets .desk-signature-text span {
  color: rgba(255, 255, 255, 0.78);
}

body.desk-markets .market-masthead {
  background-color: var(--desk-ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 2.25rem),
    linear-gradient(120deg, #10303a, #1d4a52);
  border-bottom: 4px solid var(--desk-accent);
}

body.desk-markets .market-masthead .news-studio-eyebrow {
  color: #bfe3e2;
}

body.desk-markets .market-masthead h1 {
  max-width: none;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

body.desk-markets .market-masthead h1 br {
  display: none;
}

.market-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.market-ticker li {
  padding: 0.35rem 0.7rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.desk-markets .news-studio-section-kicker {
  color: var(--news-gold-text);
}

body.desk-markets .news-studio-section-head {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--news-line);
}

body.desk-markets .news-studio-section-head h2,
body.desk-markets .market-method h2,
body.desk-markets [data-market-converter] h2 {
  color: var(--desk-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

/* 濃い地の「表示について」は白い見出しのまま（上のデスク色だと地と同じ濃さになり読めない） */
body.desk-markets .market-method h2 {
  color: #fff;
}

body.desk-markets .market-detail-card {
  border-top: 4px solid var(--desk-accent);
  border-radius: 4px;
}

/* ── カレンダー：暦のデスク ─────────────────────────────────────────── */

body.desk-calendar .desk-signature-mark {
  border-radius: 50%;
  font-family: var(--font-ja-serif);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

body.desk-calendar .news-studio-eyebrow,
body.desk-calendar .news-studio-section-kicker {
  color: var(--news-gold-text);
}

/* 冒頭全体を、綴じ穴のある1枚の暦に見立てる */
body.desk-calendar .news-studio-calendar-masthead-inner {
  position: relative;
  padding: clamp(2.6rem, 5vw, 3.4rem) clamp(1.1rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem);
  background:
    linear-gradient(var(--news-paper), var(--news-paper)) padding-box;
  border: 1px solid var(--news-line);
  border-top: 6px solid var(--desk-accent);
  border-radius: 4px;
  box-shadow: 0 0.6rem 1.6rem rgba(92, 47, 42, 0.07);
}

body.desk-calendar .news-studio-calendar-masthead-inner::before {
  position: absolute;
  top: 0.75rem;
  right: 1.5rem;
  left: 1.5rem;
  height: 0.7rem;
  content: "";
  background: radial-gradient(circle, var(--news-bg) 0 0.3rem, rgba(92, 47, 42, 0.22) 0.3rem 0.36rem, transparent 0.37rem) 0 0 / 2.2rem 0.7rem repeat-x;
  pointer-events: none;
}

body.desk-calendar .news-studio-calendar-masthead h1 {
  color: var(--desk-ink);
}

body.desk-calendar [data-calendar-sync-status] {
  margin-top: 0.8rem;
}

body.desk-calendar .news-studio-calendar-anniversary-note {
  background: var(--news-panel);
  border: 1px dashed rgba(92, 47, 42, 0.3);
  border-radius: 4px;
  box-shadow: none;
}

body.desk-calendar [data-calendar-board] h2,
body.desk-calendar #policy h2,
body.desk-calendar .news-studio-section-head h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--desk-ink);
}

body.desk-calendar [data-calendar-board] h2::before,
body.desk-calendar #policy h2::before,
body.desk-calendar .news-studio-section-head h2::before {
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: var(--desk-accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ── 記事一覧：記事の書庫 ───────────────────────────────────────────── */

body.desk-archive .desk-signature-mark {
  color: var(--news-paper);
  background: var(--desk-ink);
  border-radius: 0;
  font-family: var(--font-ja-serif);
  font-size: 1.15rem;
  font-weight: 900;
}

body.desk-archive .news-archive-intro .news-studio-section-head {
  align-items: end;
  margin-bottom: 1.6rem;
  padding: 1.4rem 0 1.2rem;
  border-top: 5px double var(--desk-ink);
  border-bottom: 1px solid var(--desk-ink);
}

body.desk-archive .news-studio-archive-title {
  color: var(--desk-ink);
}

body.desk-archive .desk-archive-count {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  margin: 0;
  color: var(--news-muted);
  text-align: right;
}

body.desk-archive .desk-archive-count strong {
  color: var(--desk-ink);
  font-family: var(--font-latin);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

body.desk-archive .desk-archive-count span {
  font-size: 0.85rem;
}

body.desk-archive .news-archive-search-input {
  border-radius: 2px;
  border-color: rgba(43, 39, 32, 0.35);
}

/* カードは影を消し、罫で区切る目録の形にする。PC では3列で一覧性を上げる */
body.desk-archive .news-studio-article-card {
  border: 0;
  border-top: 1px solid var(--desk-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.desk-archive .news-studio-article-card:hover,
body.desk-archive .news-studio-article-card:focus-within {
  transform: none;
  box-shadow: none;
}

/* 罫で区切る目録の形はそのまま、サムネイルだけ4pxの角にする（2026-11-23） */
body.desk-archive .news-studio-article-card img,
body.desk-archive .news-studio-article-media {
  border-radius: 4px;
}

/* カテゴリのチップとページ送り（YUZ-512）。目録らしく罫と四角い枠でそろえる */
body.desk-archive .news-archive-categories a,
body.desk-archive .news-archive-pager a,
body.desk-archive .news-archive-pager-step {
  border-radius: 2px;
}

@media (min-width: 1024px) {
  body.desk-archive .news-studio-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

/* ── スマホ ─────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .desk-signature {
    margin-bottom: 0.9rem;
  }

  .desk-signature-mark {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.95rem;
  }

  body.desk-calendar .news-studio-calendar-masthead-inner {
    padding-top: 2.4rem;
  }

  body.desk-calendar .news-studio-calendar-masthead-inner::before {
    right: 1rem;
    left: 1rem;
  }

  body.desk-archive .news-archive-intro .news-studio-section-head {
    flex-direction: row;
    align-items: end;
  }

  body.desk-archive #articles .desk-archive-count {
    display: grid;
  }

  body.desk-archive .desk-archive-count span {
    max-width: 9rem;
    font-size: 0.75rem;
  }

  body.desk-calendar .news-studio-calendar-masthead h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    letter-spacing: -0.04em;
  }
}

/* ── 濃い地の節の小見出し ─────────────────────────────────────────────
 * --news-gold-text は明るい地向けの濃い色なので、濃い地の節では読めない
 * （#203c33 / #193844 の上で 1.7〜2.3:1）。濃い地では明るい色に替える（7:1 以上）。
 */
.news-surface-page .market-method .news-studio-section-kicker,
.news-surface-page .ai-pricing-method .news-studio-section-kicker {
  color: var(--news-kicker-on-dark);
}

/* YUZ-413: scoped to the hub; pricing and article typography stay independent. */
body.ai-desk-shell { background: #fcfaf5; color: #203047; }
.ai-desk-shell .news-studio-page { background: #fcfaf5; }
.ai-desk-shell .ai-desk-today { padding: 1rem 0; background: #eef1f6; border-bottom: 1px solid #b7c3d4; font-size: 1rem; line-height: 1.8; }
.ai-desk-shell .ai-desk-today p { margin: 0.25rem 0; }
.ai-desk-shell .ai-desk-today a { display: inline-block; padding: 0.3rem 0; color: #254c81; text-decoration: underline; }
.ai-desk-shell .ai-desk-scope { font-size: 0.875rem; color: #43536b; }
body.ai-desk-shell .news-ai-masthead { padding: 2rem 0; background-color: #172d50; background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg,#ffffff0b 1px, transparent 1px); color: #fff; }
.ai-desk-shell .news-ai-masthead-inner { display: block; }
.ai-desk-shell .news-ai-masthead-copy { max-width: 48rem; }
body.ai-desk-shell .news-ai-masthead h1 { font-family: var(--font-ja-serif); color: #fff; font-size: 3.5rem; line-height: 1.35; }
body.ai-desk-shell .news-ai-headline, .ai-desk-shell .news-ai-lead, .ai-desk-shell .news-ai-masthead .news-studio-eyebrow { color: #fff; }
.ai-desk-shell .news-ai-lead { font-size: 1rem; line-height: 1.85; margin: 1rem 0; }
.ai-desk-shell .desk-signature { display: none; }
.ai-desk-shell .news-ai-masthead .news-studio-button { color: #fff; border: 1px solid #b5c7e2; background: transparent; border-radius: 4px; box-shadow: none; }
.ai-desk-shell .news-ai-masthead .news-studio-button--primary { background: #fff; color: #172d50; }
.ai-desk-shell .news-studio-section { padding: 2rem 0; }
.ai-desk-shell .news-studio-section-head { display: block; }
.ai-desk-shell .news-studio-section-head h2 { font-size: 1.75rem; line-height: 1.6; }
.ai-desk-shell .news-studio-section-head p { font-size: 1rem; line-height: 1.8; color: #43536b; }
.ai-desk-shell .ai-desk-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; margin: 1.5rem 0 1rem; padding: 0; min-width: 0; }
.ai-desk-shell .ai-desk-filters legend { margin-bottom: 0.6rem; font-size: 0.875rem; color: #43536b; }
.ai-desk-shell .ai-desk-filters button { cursor: pointer; min-height: 44px; padding: 0.5rem 0.75rem; border: 1px solid #738196; border-radius: 4px; background: #fff; color: #203047; font: inherit; font-size: 0.9375rem; line-height: 1.6; white-space: normal; }
.ai-desk-shell .ai-desk-filters button[aria-pressed="true"] { color: #fff; background: #172d50; border-color: #172d50; text-decoration: underline; text-underline-offset: 0.2em; }
.ai-desk-shell [hidden] { display: none !important; }
.ai-desk-shell .ai-desk-result, .ai-desk-shell .ai-desk-empty { font-size: 0.9375rem; line-height: 1.8; color: #43536b; }
.ai-desk-shell .ai-desk-group { margin-top: 2.5rem; }
.ai-desk-shell .ai-desk-group h3 { padding-bottom: 0.75rem; border-bottom: 2px solid #203047; font-family: var(--font-ja-sans); font-size: 1.375rem; line-height: 1.6; }
.ai-desk-shell .ai-desk-group h3 span { font-size: 1rem; font-weight: 400; }
.ai-desk-shell .ai-desk-card { display: grid; grid-template-columns: minmax(0,1fr) 11rem; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid #c2cad5; }
.ai-desk-shell .ai-desk-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-top: 0.25rem; }
.ai-desk-shell .ai-desk-card p { margin: 0.6rem 0; font-size: 1rem; line-height: 1.85; }
.ai-desk-shell .ai-desk-card .ai-desk-audience { margin-top: 0; font-weight: 500; }
.ai-desk-shell .ai-desk-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.6rem; }
.ai-desk-shell .ai-desk-label { display: inline-block; padding: 0.15rem 0.5rem; border: 1px solid #738196; border-radius: 4px; font-size: 0.875rem; line-height: 1.6; }
.ai-desk-shell .ai-desk-card h4 { margin: 0.8rem 0; font-family: var(--font-ja-serif); font-size: 1.375rem; line-height: 1.65; }
.ai-desk-shell .ai-desk-card a { color: #254c81; text-decoration: underline; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.ai-desk-shell .ai-desk-card .ai-desk-date { color: #43536b; font-size: 0.875rem; }
.ai-desk-shell time { font-family: var(--font-latin); font-variant-numeric: tabular-nums; }
.ai-desk-shell .ai-desk-card details { font-size: 0.875rem; line-height: 1.85; color: #43536b; }
.ai-desk-shell .ai-desk-card details p { font-size: inherit; }
.ai-desk-shell summary { cursor: pointer; min-height: 44px; padding: 0.5rem 0; color: #203047; }
.ai-desk-shell :is(button,summary,a):focus-visible { outline: 3px solid #3969b3; outline-offset: 4px; }
.ai-desk-shell .news-ai-masthead a:focus-visible { outline-color: #fff; }
.ai-desk-shell .ai-desk-card:hover { border-bottom-color: #172d50; }
.ai-desk-shell #tools .news-ai-status-strip { margin: 1rem 0 2rem; max-width: 35rem; }
@media(max-width: 640px) {
  body.ai-desk-shell .news-ai-masthead h1 { font-size: 2.125rem; }
  .ai-desk-shell .news-studio-section-head h2 { font-size: 1.5rem; }
  .ai-desk-shell .ai-desk-card { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .ai-desk-shell .ai-desk-card img { width: 10rem; max-width: 100%; }
  .ai-desk-shell .ai-desk-card h4 { font-size: 1.25rem; }
}
.ai-desk-shell .news-studio-wrap { width: min(70rem, calc(100% - 2rem)); }
.ai-desk-shell .news-studio-section-head > p { display: block; margin-top: 0.75rem; }
@media(max-width:640px) {
  .ai-desk-shell .news-ai-masthead .news-studio-hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.5rem; margin-top: 1rem; }
  .ai-desk-shell .news-ai-masthead .news-studio-button { padding: 0.65rem 0.4rem; font-size: 0.875rem; white-space: normal; }
}
.ai-desk-shell #articles .news-studio-section-head > p { display: block; text-align: left; max-width: 42rem; }
.ai-desk-shell .ai-desk-date { display: flex; flex-wrap: wrap; gap: 0.1rem 1rem; }
