/* CSVisualizer — the footer links to the user documents, the beta notice and the list in the visualizer's settings
   (v0.7.0, js-shared/legal-links.js). Scoped to its own classes; the pages' own styles are unchanged. */
.csv-legal-footer {
  margin: 0; padding: 14px 20px 18px; border-top: 1px solid #dfe7f4; background: #f8faff; color: #55657f;
  font: 13px/1.6 Arial, "Segoe UI", sans-serif; text-align: center;
}
.csv-legal-footer nav ul { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.csv-legal-footer a { color: #183775; text-decoration: underline; text-underline-offset: 2px; }
.csv-legal-footer a:hover { color: #0b2a66; }
.csv-legal-footer a:focus-visible, .csv-beta-note a:focus-visible, .csv-legal-list a:focus-visible { outline: 2px solid #2f6fe4; outline-offset: 2px; border-radius: 2px; }
.csv-legal-copy { margin: 0; font-size: 12px; }
.csv-legal-version { margin: 2px 0 0; font-size: 11px; opacity: .8; }  /* v0.9.0: the product version */

/* dark appearance of the catalog / examples editor (body.ui-dark) and of a document page (html[data-theme="dark"]) */
body.ui-dark .csv-legal-footer, html[data-theme="dark"] .csv-legal-footer { background: #0f1522; border-color: #2d3a51; color: #a3b2c9; }
body.ui-dark .csv-legal-footer a, html[data-theme="dark"] .csv-legal-footer a { color: #8bb9ff; }

/* the beta / internal-trial notice of the home page: short, in the page flow, never a blocking dialog */
.csv-beta-note {
  max-width: 860px; margin: 0 auto 18px; padding: 10px 16px; border: 1px solid #f0d78c; border-inline-start: 4px solid #d9a400;
  border-radius: 10px; background: #fff8e1; color: #4a3b00; font: 14px/1.6 Arial, "Segoe UI", sans-serif; box-sizing: border-box;
}
.csv-beta-note p { margin: 0; }
.csv-beta-title { margin-inline-end: 4px; }
.csv-beta-note a { color: #183775; }

/* the list of documents in the visualizer's settings popup (under "version / build") */
.csv-legal-list { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #d7dfeb; font-size: 12px; }
.csv-legal-list-title { display: block; margin-bottom: 2px; }
.csv-legal-list ul { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
.csv-legal-list a { color: #183775; }
html[data-theme="dark"] .csv-legal-list { border-color: #2d3a51; }
html[data-theme="dark"] .csv-legal-list a { color: #8bb9ff; }

@media print {
  .csv-legal-footer nav { display: none; }
  .csv-legal-footer { border: 0; background: none; color: #000; }
}

/* v0.9.7: the site pages in the dark appearance (html[data-csv-theme="dark"], js-shared/site-header.js) */
html[data-csv-theme="dark"] .csv-legal-footer { background: #050B1A; border-color: #24375E; color: #B4C4DC; }
html[data-csv-theme="dark"] .csv-legal-footer a { color: #5CC8FF; }
html[data-csv-theme="dark"] .csv-beta-note { background: #2A2410; border-color: #6B5A1E; color: #F3E3B0; }
html[data-csv-theme="dark"] .csv-beta-note a { color: #FFD966; }
