.agenda {
  --agenda-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC", Georgia, serif;
  color: var(--ink);
}
.agenda :is(a, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.agenda-crumb, .agenda-meta, .agenda-byline, .agenda-contents {
  color: var(--muted);
  font-size: 13px;
}
.agenda-crumb, .agenda-actions, .agenda-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.agenda-crumb { padding-top: 24px; }
.agenda-crumb a:hover, .agenda-contents a:hover { text-decoration: underline; text-underline-offset: 5px; }
.agenda-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 40px 0 54px;
  border-bottom: 1px solid var(--line);
}
.agenda-meta { line-height: 1.7; letter-spacing: .085em; }
.agenda-meta span { padding-inline: 6px; }
.agenda h1, .agenda h2, .agenda h3, .agenda-opening { text-wrap: balance; }
.agenda h1 {
  font: 600 clamp(32px, 3.8vw, 56px)/1.26 var(--agenda-serif);
  letter-spacing: -.045em;
  margin: 19px 0 22px;
}
.agenda h1 span, .agenda-opening span { display: inline-block; max-width: 100%; }
.agenda h1 span:first-child { display: block; }
.agenda-opening { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.85; max-width: 36em; }
.agenda-byline { margin-top: 20px; font-size: 12px; }
.agenda-byline span { color: var(--soft); }
.agenda-actions { gap: 12px 24px; margin-top: 28px; font-size: 14px; }
.agenda-button, .agenda-pdf-button, .agenda-text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
}
.agenda-button {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 18px;
}
.agenda-pdf-button {
  padding: 7px 15px;
  border: 1px solid var(--muted);
  color: var(--ink);
}
.agenda-pdf-button:hover { background: var(--wash); border-color: var(--ink); }
.agenda-button:hover { background: var(--accent); }
.agenda-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.agenda-plate {
  display: grid;
  place-items: center;
  min-height: 315px;
  aspect-ratio: 1.22;
  overflow: hidden;
  background: linear-gradient(150deg, #61756b 0%, #344b42 48%, #20352e 100%);
}
.agenda .agenda-plate img {
  display: block;
  width: 53%;
  height: auto;
  transform: rotate(-5deg);
  border-left: 3px solid #c0c4ba;
  box-shadow: 2px 2px 0 #c8cbc3, 4px 4px 0 #aab1a7, 12px 15px 24px #0c201e70;
}
.agenda-reading {
  display: grid;
  grid-template-columns: minmax(140px, .26fr) minmax(0, 1fr);
  gap: clamp(25px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(34px, 4.6vw, 68px);
}
.agenda-contents { position: sticky; top: 112px; }
.agenda-contents p { font-weight: 600; color: var(--ink); }
.agenda-contents ul, .agenda-works { list-style: none; padding: 0; margin: 10px 0 0; }
.agenda-contents a { display: inline-block; padding: 6px 0; }
.agenda-body { max-width: 840px; min-width: 0; }
.agenda-body > section { padding: 0 0 48px; }
.agenda-body > section + section { border-top: 1px solid var(--line); padding-top: 44px; }
.agenda-body h2 { font: 600 clamp(26px, 3vw, 38px)/1.45 var(--agenda-serif); letter-spacing: -.025em; }
.agenda-body :is(p,dd) { font-size: 16px; line-height: 1.95; }
.agenda-body h2 + p, .agenda-body > section > p + p { margin-top: 12px; }
.agenda-body .agenda-lead { color: var(--muted); }
.agenda-map { margin: 26px 0 18px; border-top: 1px solid var(--line); }
.agenda-map > a {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 8px 14px 0;
}
.agenda-map > a:hover { background: var(--wash); }
.agenda-letter {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--panel);
  font: 19px/1 Georgia, serif;
}
.agenda-map strong { display: block; font-size: 17px; font-weight: 550; }
.agenda-map-question, .agenda-arrow { color: var(--muted); }
.agenda-map-question { display: block; margin-top: 3px; font-size: 14px; }
.agenda figure { margin: 20px 0; }
.agenda figure img { display: block; width: 100%; background: white; }
.agenda figcaption { color: var(--muted); font-size: 13px; line-height: 1.8; padding-top: 10px; }
.agenda figcaption a, .agenda-works a, .agenda-body > section > p a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--soft); }
.agenda-body a:hover { color: var(--accent); }
.agenda summary { cursor: pointer; color: var(--ink); font-size: 14px; padding: 9px 0; }
.agenda summary::marker { color: var(--muted); }
.agenda-figure-disclosure summary span { color: var(--muted); margin-left: 8px; }
.agenda-direction { margin-top: 34px; }
.agenda-direction-head { display: flex; gap: 14px; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.agenda-direction-head h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 550; }
.agenda-line { border-bottom: 1px solid var(--line); padding: 18px 0 12px; }
.agenda-line:target, .agenda-direction:target .agenda-direction-head { background: var(--wash); }
.agenda-line h4 { font-size: 18px; font-weight: 550; margin: 0; }
.agenda-line h4 span { color: var(--muted); font: 14px/1.5 ui-monospace, monospace; padding-right: 6px; }
.agenda-line > p { margin-top: 5px; }
.agenda-evidence { padding: 14px 18px; background: var(--wash); border-left: 2px solid var(--line); }
.agenda-evidence p + p { margin-top: 8px; }
.agenda-evidence strong { display: inline; margin-right: 10px; font-size: .88em; }
.agenda-works li { margin: 8px 0; font-size: 14px; }
.agenda-works span { color: var(--muted); }
.agenda blockquote { margin: 22px 0; border-left: 3px solid var(--accent); padding-left: 18px; font: 500 clamp(19px,2vw,23px)/1.75 var(--agenda-serif); }
.agenda-entry { padding: 22px 0; border-bottom: 1px solid var(--line); }
.agenda-entry:last-child { border-bottom: 0; }
.agenda-entry .agenda-meta { font-size: 12px; }
.agenda-entry h3, .agenda-longview { font-size: 20px; font-weight: 550; margin: 5px 0 8px; }
.agenda-practice { margin: 22px 0; }
.agenda-practice dt { font-size: 14px; font-weight: 600; margin-top: 14px; }
.agenda-practice dd { margin: 2px 0 0; }
.agenda-longview { margin-top: 24px; }
@media (max-width: 800px) {
  .agenda-hero { gap: 25px; }
  .agenda-plate { min-height: 240px; }
  .agenda-reading { display: block; }
  .agenda-contents { position: static; border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 16px; }
  .agenda-contents ul { display: flex; flex-wrap: wrap; gap: 0 21px; }
}
@media (max-width: 600px) {
  .agenda-crumb { padding-top: 16px; }
  .agenda-hero { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding: 26px 0; }
  .agenda h1 { margin: 12px 0; font-size: clamp(32px, 7.8vw, 43px); }
  .agenda-opening { font-size: 17px; line-height: 1.8; }
  .agenda-actions { margin-top: 15px; }
  .agenda-byline { margin-top: 14px; }
  .agenda-plate { min-height: 0; aspect-ratio: 2.7; }
  .agenda .agenda-plate img { width: auto; height: 84%; max-height: 130px; }
  .agenda-reading { padding-top: 24px; }
  .agenda-map > a { gap: 10px; grid-template-columns: 36px 1fr 16px; }
  .agenda-letter { width: 34px; height: 34px; }
  .agenda-figure-disclosure summary span { font-size: 12px; }
}
@media print {
  .agenda-contents, .agenda-actions, .agenda-crumb, .agenda-plate { display: none; }
  .agenda-hero, .agenda-reading { display: block; padding: 10px 0; }
  .agenda summary { display: none; }
  .agenda details::details-content { display: contents; content-visibility: visible; }
  .agenda-line, .agenda-entry { break-inside: avoid; }
}

html:not([lang^="zh"]) .agenda h1 { font-size: clamp(30px, 3.55vw, 54px); letter-spacing: -.025em; }
html[lang="th"] .agenda { --agenda-serif: "Thonburi", "Noto Sans Thai", sans-serif; }
