/* The theme on the hand-written pages (legal texts, sub-processors list): the same switch as the rest of the site.
   These pages are dark by default and carry no site header, so the script (theme-static.js) puts one small button
   in the corner. The choice is the site's: localStorage 'korely-docs-theme', html[data-docs-theme].
   Only colours change here, never a word. */
html[data-docs-theme="light"] { color-scheme: light; }
html[data-docs-theme="light"], html[data-docs-theme="light"] body { background: #FFFFFF; color: #1F2937; }
html[data-docs-theme="light"] h1,
html[data-docs-theme="light"] h2,
html[data-docs-theme="light"] h3,
html[data-docs-theme="light"] strong,
html[data-docs-theme="light"] th,
html[data-docs-theme="light"] .announced h3,
html[data-docs-theme="light"] .announced dt { color: #0F172A; }
html[data-docs-theme="light"] h2 { border-bottom-color: rgba(15, 23, 42, 0.12); }
html[data-docs-theme="light"] h4 { color: #1F2937; }
html[data-docs-theme="light"] p,
html[data-docs-theme="light"] li,
html[data-docs-theme="light"] td,
html[data-docs-theme="light"] .announced dd { color: #374151; }
html[data-docs-theme="light"] .meta { color: #4B5563; }
html[data-docs-theme="light"] a { color: #1D4ED8; text-decoration-color: rgba(29, 78, 216, 0.4); }
html[data-docs-theme="light"] a:hover { color: #1E3A8A; }
html[data-docs-theme="light"] th,
html[data-docs-theme="light"] td { border-bottom-color: rgba(15, 23, 42, 0.12); }
html[data-docs-theme="light"] tr:hover td { background: #F8FAFC; }
html[data-docs-theme="light"] .korely-section,
html[data-docs-theme="light"] .announced,
html[data-docs-theme="light"] .note,
html[data-docs-theme="light"] .highlight { background: #F8FAFC; }
html[data-docs-theme="light"] .announced { border-color: rgba(15, 23, 42, 0.14); }
html[data-docs-theme="light"] .note { border-left-color: #94A3B8; }
html[data-docs-theme="light"] .korely-section h2,
html[data-docs-theme="light"] .korely-section h3 { color: #3730A3; }
html[data-docs-theme="light"] .highlight h3 { color: #047857; }
html[data-docs-theme="light"] .korely-tag { background: #E0E7FF; color: #3730A3; }
html[data-docs-theme="light"] .region-eu { color: #047857; }
html[data-docs-theme="light"] .region-us { color: #92400E; }
html[data-docs-theme="light"] .region-mixed { color: #1D4ED8; }

.k-static-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(24, 24, 27, 0.9);
  color: #d4d4d8;
  cursor: pointer;
  font: inherit;
}
.k-static-toggle:hover { color: #fafafa; border-color: rgba(255, 255, 255, 0.35); }
.k-static-toggle:focus-visible { outline: 2px solid #3B82F6; outline-offset: 2px; }
.k-static-toggle .ic-sun { display: none; }
html[data-docs-theme="light"] .k-static-toggle { border-color: rgba(15, 23, 42, 0.18); background: rgba(255, 255, 255, 0.95); color: #374151; }
html[data-docs-theme="light"] .k-static-toggle:hover { color: #0F172A; border-color: rgba(15, 23, 42, 0.4); }
html[data-docs-theme="light"] .k-static-toggle .ic-moon { display: none; }
html[data-docs-theme="light"] .k-static-toggle .ic-sun { display: inline; }
