/* ==========================================================================
   Documents (/documents/**) — loaded after sections.css on document pages, and
   after v2.css on the Women's Committee announcement (for its ideas list).
   Layout reuses .outlook-layout / .outlook-toc / .outlook-doc / .ann__body.
   ========================================================================== */

.hero--doc .eyebrow a { color: inherit; }
.hero--doc .eyebrow a:hover { color: var(--accent); }

/* ---------- Reading rhythm ---------- */
.outlook-doc .ann__body { line-height: 1.65; }
.outlook-doc .ann__body > p + p { margin-top: 1rem; }
.outlook-doc .ann__body > ul,
.outlook-doc .ann__body > ol { margin: 1.25rem 0 1.4rem; }
.outlook-doc .ann__body > ul > li,
.outlook-doc .ann__body > ol > li { margin-top: 0.6rem; padding-left: 0.2rem; }
.doc-links { margin-top: 1.5rem; }
.doc-links a { overflow-wrap: anywhere; }

/* ---------- Section headings: accent bar + accent number ---------- */
.doc-h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 0.9rem;
  background: var(--accent);
  border-radius: 2px;
}
.doc-h2__num { color: var(--accent); }

/* Sub-headings: body face, sentence case — clearly below the display H2. */
.outlook-doc .ann__body h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  color: var(--ink);
  margin: 2.1rem 0 0;
}
.outlook-doc .ann__body > h3:first-child { margin-top: 0.4rem; }
.outlook-doc .ann__body h3 + p,
.outlook-doc .ann__body h3 + ul,
.outlook-doc .ann__body h3 + ol,
.outlook-doc .ann__body h3 + dl { margin-top: 0.55rem; }

/* ---------- Ideas: numbered cards with labelled Why / How it helps ---------- */
.doc-ideas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.doc-idea {
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.outlook-doc .ann__body h3.doc-idea__title,
.doc-idea__title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.doc-idea__num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.9rem;
  margin-top: -0.2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.doc-idea__part {
  margin-top: 0.95rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent);
}
.doc-idea__part--how {
  margin-top: 0.85rem;
}
.ann__body .doc-idea__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
}
.ann__body p.doc-idea__text {
  margin-top: 0.3rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* Announcement: compact form — badge + one-line idea, no Why/How. */
.ann__body ol.doc-ideas--compact {
  list-style: none;
  padding-left: 0;
  counter-reset: doc-idea;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}
.ann__body .doc-idea--compact {
  position: relative;
  margin-top: 0;
  padding: 0.85rem 1rem 0.9rem 3.35rem;
  line-height: 1.6;
  counter-increment: doc-idea;
}
.doc-idea--compact::before {
  content: counter(doc-idea);
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
}
.ann__body .doc-idea__lead {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Definition lists: term on its own line, detail below ---------- */
.doc-defs {
  margin: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--line);
}
.doc-defs__item {
  padding: 0.9rem 0 0.95rem 0.9rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.doc-defs__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  bottom: 1.05rem;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.doc-defs dt {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.doc-defs__sep { color: var(--ink-4); font-weight: 400; }
.doc-defs dd {
  margin: 0.3rem 0 0;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- Emergency numbers callout ---------- */
.doc-callout {
  margin: 1.5rem 0;
  padding: 1.2rem 1.2rem 0.6rem;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: var(--r-lg);
}
.ann__body .doc-callout__lead {
  margin: 0 0 0.4rem;
  line-height: 1.5;
}
.doc-callout__list { margin: 0; }
.doc-callout__item {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0;
}
.doc-callout__item + .doc-callout__item {
  border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.doc-callout__num {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.doc-callout__item dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Key dates: compact dated box ---------- */
.doc-dates {
  margin: 0.8rem 0 1.4rem;
  padding: 0.2rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.doc-dates__row {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 0;
}
.doc-dates__row + .doc-dates__row { border-top: 1px solid var(--line); }
.doc-dates dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-3);
}
.doc-dates dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
  color: var(--accent);
}
@media (min-width: 560px) {
  .doc-dates__row {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
  }
}

/* ---------- Tables: scroll inside their wrapper; the page never does ---------- */
.doc-table-wrap {
  margin: 1.25rem 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.doc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.6;
}
.doc-table th,
.doc-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.doc-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border-bottom-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
.doc-table tbody tr:nth-child(even) td { background: var(--surface); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table td { color: var(--ink-2); }
.doc-table td:first-child { width: 58%; color: var(--ink-3); }
.doc-table td:first-child strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Version history + related announcement: quiet, set apart ---------- */
.doc-foot {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
  display: grid;
  gap: 0.8rem;
}
.doc-foot__block {
  padding: 1rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-3);
}
.doc-foot__block .outlook-toc__label { margin-bottom: 0.5rem; }
.doc-foot__versions li + li { margin-top: 0.3rem; }
.doc-foot__v { font-weight: 700; color: var(--ink-2); }
.doc-foot__block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc-foot__block a:hover { color: var(--accent-2); }

/* Index */
.doc-index__meta { margin-top: 0.35rem; }
