/* samples.css — the "see a real briefing" page.
   Palette comes from measure.css, which this page loads. */

.s-lede { max-width: 62ch; }
.s-when { color: var(--ink-soft, #55606f); }

/* ---- format tabs --------------------------------------------------------- */
.s-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 22px 0 0;
}
.s-tab {
  border: 1px solid var(--line, #e7e2d6); background: #fff;
  color: var(--ink, #1b2330);
  border-radius: 999px; padding: 8px 16px;
  font: 600 0.92rem/1.2 inherit; cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.s-tab:hover { border-color: var(--brand, #1f5f8b); color: var(--brand-dark, #164667); }
.s-tab.is-on {
  background: var(--brand-dark, #164667); border-color: var(--brand-dark, #164667);
  color: #fff;
}
.s-tab:focus-visible { outline: 2px solid var(--brand, #1f5f8b); outline-offset: 2px; }

.s-blurb {
  margin: 12px 0 0; max-width: 70ch;
  color: var(--ink-soft, #55606f); font-size: 0.95rem; line-height: 1.55;
}

/* ---- the framed briefing ------------------------------------------------- */
.s-frame-wrap {
  margin: 18px 0 0;
  border: 1px solid var(--line, #e7e2d6); border-radius: 12px;
  background: var(--marble, #f6f4ef);
  overflow: hidden;
}
.s-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line, #e7e2d6); background: #fff;
  font-size: 0.85rem; color: var(--ink-soft, #55606f);
}
.s-subject { font-weight: 600; color: var(--ink, #1b2330); }
.s-open { color: var(--brand, #1f5f8b); font-weight: 600; text-decoration: none; white-space: nowrap; }
.s-open:hover { text-decoration: underline; }

/* No scrollbar of its own -- samples.js grows it to its content. The height here is
   only the pre-measurement default and the fallback if the read is ever refused. */
.s-frame {
  display: block; width: 100%; height: 900px; border: 0; background: #fff;
}

.s-foot {
  margin: 20px 0 0; max-width: 70ch;
  color: var(--ink-soft, #55606f); font-size: 0.92rem; line-height: 1.6;
}
.s-foot a { color: var(--brand, #1f5f8b); font-weight: 600; }

@media (max-width: 560px) {
  .s-tab { padding: 7px 13px; font-size: 0.86rem; }
  .s-meta { font-size: 0.8rem; }
}

/* ---- the Floor Briefings panel -------------------------------------------
   Sits in the frame's slot for the one tab that is a PAGE rather than an email, so the
   tab row covers everything a subscription includes without a stray block at the foot. */
.s-panel { background: #fff; }
.s-panel[hidden] { display: none; }
.s-panel-inner { max-width: 62ch; margin: 0 auto; padding: 30px 26px 34px; }
.s-panel-inner h2 { margin: 0 0 12px; font-size: 1.12rem; color: var(--brand-dark, #164667); }
.s-panel-inner p { margin: 0 0 12px; font-size: .95rem; line-height: 1.62; color: var(--ink, #1b2330); }
.s-panel-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.s-panel-link {
  flex: 1 1 240px;
  padding: 13px 16px; border-radius: 10px; text-decoration: none;
  background: var(--marble, #f6f4ef); border: 1px solid var(--line, #e7e2d6);
  color: var(--brand-dark, #164667); font-weight: 700; font-size: .93rem;
}
.s-panel-link:hover { border-color: var(--brand, #1f5f8b); background: #fff; }

/* The frame is hidden for the page tab, so the wrapper must not keep its height. */
.s-frame[hidden] { display: none; }
.s-open[hidden] { display: none; }

/* The Podcast-Style Audio Only Briefing sample: the recording itself, in the panel slot. */
.s-audio { display: block; width: 100%; margin: 16px 0 12px; }
.s-audio-meta { font-size: .88rem !important; color: var(--ink-soft, #55606f) !important; }
