/* Human-readable presentation for authoritative Markdown technical records. */
.record-hero {
  padding: 132px 0 64px;
  color: #fff;
  background: radial-gradient(circle at 78% 25%, rgba(25,182,164,.14), transparent 28%), linear-gradient(150deg,#06101e,#0a1830 54%,#07121f);
}
.record-hero .shell { max-width: 1040px; }
.record-hero h1 { margin: 0; max-width: 920px; font-size: clamp(2.6rem,5vw,4.8rem); line-height: 1; letter-spacing: -.05em; font-weight: 650; }
.record-hero p:not(.eyebrow) { max-width: 820px; margin-top: 1rem; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.65; }
.record-main { background: #f4f7fb; }
.record-shell { max-width: 1040px; }
.record-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.2rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 16px;
  background: #fff;
}
.record-toolbar p { flex: 1 1 520px; margin: 0; color: #5b7280; font-size: .9rem; line-height: 1.65; }
.record-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.record-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .52rem .8rem;
  border: 1px solid rgba(14,49,69,.14);
  border-radius: 999px;
  color: #164c67;
  background: #f8fbfc;
  font-size: .8rem;
  font-weight: 780;
  text-decoration: none;
}
.record-actions a:hover { border-color: rgba(25,151,138,.45); background: #eef8f5; }
.record-document {
  padding: clamp(1.25rem,3vw,2.4rem);
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(11,42,60,.06);
  color: #405d6c;
}
.record-document > :first-child { margin-top: 0; }
.record-document h2,
.record-document h3,
.record-document h4,
.record-document h5,
.record-document h6 { color: #102d3e; letter-spacing: -.02em; }
.record-document h2 { margin: 0 0 1rem; font-size: clamp(1.7rem,3vw,2.3rem); }
.record-document h3 { margin: 2rem 0 .75rem; padding-top: .4rem; font-size: 1.3rem; }
.record-document h4 { margin: 1.45rem 0 .6rem; font-size: 1.06rem; }
.record-document p,
.record-document li { font-size: .96rem; line-height: 1.72; }
.record-document p { margin: .8rem 0; }
.record-document ul,
.record-document ol { padding-left: 1.25rem; }
.record-document li + li { margin-top: .4rem; }
.record-document code {
  padding: .12rem .28rem;
  border-radius: 5px;
  background: #eef3f5;
  color: #163e52;
  font-size: .9em;
  overflow-wrap: anywhere;
}
.record-document pre {
  overflow-x: auto;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
  background: #0b1c2c;
  color: #eaf5f6;
}
.record-document pre code { padding: 0; background: transparent; color: inherit; }
.record-document blockquote {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-left: 3px solid #23978a;
  background: #eef8f5;
  color: #315865;
  font-size:.94rem;
  line-height:1.65;
}
.record-document a { color: #1657ad; text-underline-offset: 3px; }
.record-table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid rgba(14,49,69,.1); border-radius: 12px; -webkit-overflow-scrolling:touch; }
.record-document table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .84rem; }
.record-document th,
.record-document td { padding: .76rem .8rem; border-bottom: 1px solid rgba(14,49,69,.08); text-align: left; vertical-align: top; line-height: 1.55; }
.record-document th { background: #f1f6f8; color: #173b4e; font-weight: 800; }
.record-document tr:last-child td { border-bottom: 0; }
.record-loading,
.record-error { margin: 0; color: #6b7f8a; }
.record-noscript { margin-top: 1rem; padding: 1rem; border-left: 3px solid #c88116; background: #fff5e6; color: #654818; }

/* Consecutive Markdown metadata lines become a scannable definition grid. */
.record-meta-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.7rem;
  margin:1.15rem 0 1.7rem;
}
.record-meta-item {
  min-width:0;
  padding:.9rem 1rem;
  border:1px solid rgba(14,49,69,.1);
  border-radius:12px;
  background:#f8fbfc;
}
.record-meta-item dt {
  margin:0;
  color:#708590;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.record-meta-item dd {
  margin:.32rem 0 0;
  color:#24495a;
  font-size:.92rem;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.record-meta-item code { font-size:.88em; }

@media (max-width: 720px) {
  .record-hero { padding-top: 118px; }
  .record-toolbar { align-items: flex-start; }
  .record-actions { width: 100%; }
  .record-meta-grid { grid-template-columns:1fr; }
  .record-document { border-radius:16px; }
}
