/* signal-dataset docs: Superpose brand skin for Furo.
 *
 * Design tokens mirrored from superpose-website/src/app/globals.css:
 * a stark, monochrome editorial look. Inter for UI and body, Source Serif 4
 * (regular weight, never bold) for headings, hairline 1px borders, 6px radius,
 * no shadows. Emerald #00bb7f is reserved for the link-hover and "live"
 * accent.
 *
 * This is a copy rather than a shared package, which is how the other doc sets
 * do it too. The copies have already drifted, so treat globals.css as the
 * source of truth when reconciling them.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;1,8..60,400&display=swap');

/* ---- Typography ---- */
html,
body,
input,
button,
select,
textarea {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; margin-top: 2.75rem; }
h3 { font-size: 1.2rem; }

/* Keep navigation in Inter. */
.sidebar-tree .reference,
.sidebar-logo-text {
  font-family: "Inter", sans-serif;
}

/* Match the desktop sidebar and compact-header titles to section headings. */
.sidebar-brand-text,
.header-center .brand {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.article-container > section p {
  line-height: 1.7;
}

/* ---- Chrome: hairline borders, 6px radius, no shadows ---- */
.admonition,
table.docutils,
.highlight,
pre {
  border-radius: 6px !important;
  box-shadow: none !important;
  border-width: 1px !important;
}

.announcement,
.announcement__info {
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #000 !important;
  font-family: "Inter", sans-serif !important;
}
.announcement a {
  color: #ffffff;
  text-decoration: underline;
}

/* ---- Cards ---- */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.signal-card {
  border: 1px solid var(--color-background-border, #e0e0e0);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  background: var(--color-background-secondary, #f5f5f5);
}
.signal-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

/* Tighter admonition titles, matching the other doc sets. */
.admonition-title {
  font-weight: 600;
}

/* ---- Status badges ---- */
.badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--color-background-border, #e0e0e0);
  color: var(--color-foreground-muted, #555);
  background: transparent;
  vertical-align: middle;
}
.badge-live { color: #fff; background: #00bb7f; border-color: #00bb7f; }

/* ---- Tables ---- */
table.docutils {
  border-collapse: collapse;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
}
table.docutils th,
table.docutils td {
  border: 1px solid var(--color-background-border, #e0e0e0) !important;
  padding: 0.5rem 0.75rem;
}
table.docutils th {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ---- Editorial links ---- */
a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Code ---- */
code, pre, .highlight {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
}
:not(pre) > code {
  border-radius: 4px;
  border: 1px solid var(--color-background-border, #e0e0e0);
}

/* Let Furo own responsive TOC sizing; only protect long API names. */
.toc-tree code,
.toc-tree .pre {
  overflow-wrap: anywhere;
  word-break: break-word;
}
