/* 研究簡報只補研究內容元件；品牌色、字體、導覽、Hero 與 shore 皆沿用公開站。 */
.skip-link {
  position: fixed;
  z-index: 60;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  color: var(--ink-water);
  background: var(--shell);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.insights-hero { min-height: max(54svh, 430px); }
.insights-hero .editorial-hero__inner { grid-template-columns: 1fr; }
.insights-hero .editorial-hero__copy { max-width: 760px; }

.insights-archive > h2,
.source-ledger > h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 54px);
}
.brief-card,
.brief-empty {
  min-width: 0;
  border: 1px solid var(--surface-ink-line);
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface-ink);
  box-shadow: var(--shadow);
}
.brief-card-date,
.finding-index {
  margin: 0 0 24px;
  color: var(--surface-label);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brief-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 600;
  line-height: 1.45;
}
.brief-card h2 a { color: var(--foam); text-decoration: none; }
.brief-card > p:not(.brief-card-date),
.brief-empty p { color: var(--page-body, var(--white-76)); }
.brief-card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--current-readable);
  font-weight: 700;
  text-underline-offset: 5px;
}
.brief-empty { grid-column: 1 / -1; text-align: center; }
.brief-empty h2 { font-family: var(--serif); }

.insights-article-hero { min-height: max(58svh, 470px); }
.insights-article-hero h1 { font-size: clamp(36px, 4.6vw, 62px); }
.article-hero-meta {
  display: grid;
  border-top: 1px solid rgba(23, 57, 76, .22);
}
.article-hero-meta div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(23, 57, 76, .16);
}
.article-hero-meta dt { color: var(--dim); font-family: var(--mono); font-size: 11px; }
.article-hero-meta dd { margin: 0; font-size: 13px; font-weight: 700; }

.article-shell { width: min(960px, 100%); }
.article-body { display: grid; gap: 18px; }
.finding,
.article-context,
.article-glossary,
.source-ledger {
  border: 1px solid var(--surface-ink-line);
  border-radius: var(--r);
  padding: clamp(26px, 5vw, 56px);
  background: var(--surface-ink);
  box-shadow: var(--shadow);
}
.finding h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.42;
}
.finding-change { margin-top: 18px; color: var(--page-body, var(--white-76)); font-size: 16px; line-height: 1.9; }
.finding-takeaways {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.finding-takeaways p {
  margin: 0;
  border-left: 1px solid var(--current);
  padding-left: 16px;
  color: var(--foam);
  line-height: 1.8;
}
.article-citations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.article-citations a {
  border: 1px solid var(--surface-ink-line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--current-readable);
  font-size: 12px;
}
/* 重點段落跟著文章流走：深色版面裡插一塊米白方塊太跳，改用跟 .article-quote
   同一套的左側水線標記，讓它讀起來像文章的重音而不是外掛卡片。 */
.weekly-takeaway {
  display: grid;
  gap: 8px;
  margin: clamp(26px, 4vw, 42px) 0;
  border-inline-start: 2px solid var(--current);
  padding: 6px 0 6px clamp(20px, 3vw, 30px);
  color: var(--foam);
}
.article-context > h2,
.article-glossary > h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3.5vw, 38px);
  font-weight: 600;
}
.article-glossary dl { display: grid; gap: 0; margin: 24px 0 0; }
.article-glossary dl div {
  display: grid;
  grid-template-columns: minmax(92px, .28fr) 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-ink-line);
}
.article-glossary dt { color: var(--foam); font-family: var(--mono); font-weight: 700; }
.article-glossary dd { margin: 0; color: var(--page-body, var(--white-76)); line-height: 1.8; }
.article-context-list { display: grid; gap: 0; margin-top: 24px; }
.article-context-list > div { padding: 22px 0; border-bottom: 1px solid var(--surface-ink-line); }
.article-context-list h3 { margin: 0 0 10px; color: var(--foam); font-family: var(--serif); font-size: 19px; }
.article-context-list p { margin: 6px 0 0; color: var(--page-body, var(--white-76)); line-height: 1.8; }
.article-context-list p:last-child { color: var(--deep-muted); }
.weekly-takeaway strong { font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); line-height: 1.55; }
.safety-note { margin: 0; padding: 16px 4px 26px; color: var(--deep-muted); font-size: 13px; }
.safety-note b { display: block; margin-bottom: 3px; color: var(--foam); font-size: 11px; letter-spacing: .06em; }
.story-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  border-block: 1px solid var(--surface-ink-line);
  padding: clamp(28px, 5vw, 48px) 4px;
}
.story-share-copy { max-width: 650px; }
.story-share-copy h2,
.story-share-dialog h2 {
  margin: 0;
  color: var(--foam);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.35;
}
.story-share-copy p { margin: 12px 0 0; color: var(--deep-muted); line-height: 1.75; }
.story-share > .btn-coral { min-height: 46px; white-space: nowrap; }
body.story-share-open { overflow: hidden; }
.story-share-dialog {
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  max-height: min(900px, calc(100dvh - 32px));
  border: 1px solid var(--surface-ink-line);
  border-radius: var(--r);
  padding: 0;
  color: var(--foam);
  background: var(--ink-deep);
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.story-share-dialog::backdrop { background: color-mix(in srgb, var(--ink-deep) 72%, transparent); }
.story-share-dialog__inner {
  display: grid;
  grid-template-columns: minmax(260px, .74fr) minmax(300px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 24px 30px;
  padding: clamp(20px, 4vw, 38px);
}
.story-share-dialog__head {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.story-share-close {
  min-width: 64px;
  min-height: 44px;
  border: 1px solid var(--surface-ink-line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--current-readable);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.story-share-close:hover { color: var(--foam); border-color: var(--current); }
.story-share-preview {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid var(--surface-ink-line);
  border-radius: var(--r-sm);
  padding: 12px;
  background: var(--ink-deep);
}
.story-share-preview canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(62dvh, 650px);
  max-height: 100%;
  aspect-ratio: 9 / 16;
  background: var(--shell);
}
.story-share-controls {
  align-self: center;
  min-width: 0;
}
.story-share-controls output {
  display: block;
  min-height: 3.5em;
  color: var(--foam);
  line-height: 1.75;
}
.story-share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.story-share-actions .btn-coral,
.story-share-actions .btn-glass { min-height: 46px; }
.story-share-controls > p { max-width: 46ch; margin: 18px 0 0; color: var(--deep-muted); font-size: 13px; line-height: 1.7; }
.source-ledger { margin-top: 16px; }
.source-ledger ol { margin: 25px 0 0; padding: 0; list-style: none; }
.source-ledger li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--surface-ink-line); }
.source-ledger li div { display: grid; gap: 5px; }
.source-ledger li span { color: var(--deep-muted); font-family: var(--mono); font-size: 11px; }
.source-ledger li a { flex: none; color: var(--current-readable); font-size: 13px; }
.article-back { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; }
.article-back a { color: var(--current-readable); font-weight: 700; }
.insights-not-found { min-height: 72svh; }
.insights-not-found .page-hero-inner { align-self: end; }

.insights-page a:focus-visible,
.insights-page summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.page-deep .article-citations a:focus-visible,
.page-deep .article-back a:focus-visible,
.page-deep .source-ledger a:focus-visible { outline-color: var(--current); }

@media (max-width: 760px) {
  .brief-grid { grid-template-columns: 1fr; }
  .article-hero-meta div { grid-template-columns: 1fr; gap: 4px; }
  .source-ledger li { align-items: flex-start; flex-direction: column; }
  .article-back { align-items: flex-start; flex-direction: column; }
  .article-glossary dl div { grid-template-columns: 1fr; gap: 5px; }
  .story-share { grid-template-columns: 1fr; align-items: start; }
  .story-share > .btn-coral { width: 100%; }
  .story-share-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .story-share-dialog__inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 18px; padding: 18px; }
  .story-share-dialog__head { grid-column: 1; }
  .story-share-preview canvas { width: min(100%, 280px); height: auto; }
  .story-share-actions { display: grid; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}
