/*
 * The atlasETF look on the academy (Herald). Every colour comes from the portal's variables
 * (look/variables.css, a copy of the portal's file); this file only says which part of Herald
 * takes which variable. Each rule starts with html[data-ui], which the script in <head>
 * (functions.php) writes from the cookie atlas_look_set before the first paint.
 *
 * The academy's own CSS (Additional CSS and the WPCode snippets) sets many colours with
 * !important, so a rule that meets one of them carries !important too.
 */

/* ── Tokens the portal takes from its theme (Falcon), not from the look ─────────────────── */
html[data-ui] {
  /* The portal keeps the scroll bar's room at every height of the page (Falcon's theme): without it, where the system
     shows the bar, the academy's page was 15 px wider and its centred bar stood 7.5 px aside of the portal's. */
  scrollbar-gutter: stable;
  --aka-ground: #edf2f9;
  --aka-heading-font: 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html.dark[data-ui] {
  --aka-ground: #0b1727;
}
/* Under the frosted sets the canvas takes the middle of their gradient, so a page longer than the
   window does not show the theme's navy below the gradient's fixed layer. */
html[data-ui][data-ui-look='frosted'] {
  --aka-ground: #d8dade;
}
html.dark[data-ui][data-ui-look='frosted'] {
  --aka-ground: #17181b;
}

/* ── Ground ────────────────────────────────────────────────────────────────────────────── */
/* The ground colour sits on <html> (the canvas) and <body> stays clear: a body background would be
   painted over the set's ground (ground.css, a layer of the body under everything). */
html[data-ui] {
  background: var(--aka-ground) !important;
}
html[data-ui] body {
  background: transparent !important;
  color: var(--ui-body);
}

/* ── Page width: the portal's container (Falcon), 1140 px from 1200 px of window, 1480 px from 1540 px,
      and the portal's three widths (narrow, wide, full) from the width button of the bar ── */
@media (min-width: 1200px) {
  html[data-ui] .herald-section.container,
  html[data-ui] .herald-site-footer .container,
  html[data-ui] .herald-site-content {
    width: 100% !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Herald's rows overhang its container by 20 px a side, so 36 px of padding puts a card's edge where the
     bar's is: the portal's container less its 16 px gutters (1108 px of 1140). */
  html[data-ui] .herald-section.container {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
  /* An article stands in one more column of Herald's, 20 px in from each side. */
  html[data-ui] .herald-site-content .herald-single,
  html[data-ui] .herald-site-content .herald-page {
    margin-left: -20px;
    margin-right: -20px;
  }
  html[data-ui][data-ui-width='full'] .herald-section.container,
  html[data-ui][data-ui-width='full'] .herald-site-footer .container,
  html[data-ui][data-ui-width='full'] .herald-site-content {
    max-width: none !important;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (min-width: 1540px) {
  html[data-ui] .herald-section.container,
  html[data-ui] .herald-site-footer .container,
  html[data-ui] .herald-site-content {
    max-width: 1480px !important;
  }
  html[data-ui][data-ui-width='narrow'] .herald-section.container,
  html[data-ui][data-ui-width='narrow'] .herald-site-footer .container,
  html[data-ui][data-ui-width='narrow'] .herald-site-content {
    max-width: var(--ui-page-narrow) !important;
  }
}

/* Herald's own white boxes and bands give way to the set's ground and cards. */
html[data-ui] .herald-site-content,
html[data-ui] .herald-section.container,
html[data-ui] .herald-site-footer,
html[data-ui] .herald-site-footer .footer-bottom,
html[data-ui] .footer-bottom,
html[data-ui] .herald-post-thumbnail {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Herald's room above the content was for its own two-row header; the bar's padding is the room now. */
html[data-ui] .herald-site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── Cards: each block of the page is a card of the set, as on the portal ──────────────── */
html[data-ui] .herald-site-content .herald-module,
html[data-ui] .herald-site-content .herald-single,
html[data-ui] .herald-site-content .herald-page {
  position: relative;
  margin-bottom: 24px;
  padding: 20px 22px 6px;
  border: 1px solid var(--ui-card-rim);
  border-radius: var(--ui-r-card);
  background-color: var(--ui-card-fill);
  box-shadow: var(--ui-card-shadow);
}
html[data-ui] .herald-site-content .herald-module::after,
html[data-ui] .herald-site-content .herald-single::after,
html[data-ui] .herald-site-content .herald-page::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: var(--ui-r-card);
  pointer-events: none;
  -webkit-backdrop-filter: var(--ui-card-blur);
  backdrop-filter: var(--ui-card-blur);
}
html[data-ui] .herald-site-content .herald-single,
html[data-ui] .herald-site-content .herald-page {
  padding: 32px 40px 24px;
}

/* On a phone a card keeps the portal's narrow padding, and Herald's own inner padding goes. */
@media (max-width: 767.98px) {
  html[data-ui] .herald-site-content .herald-module,
  html[data-ui] .herald-site-content .herald-single,
  html[data-ui] .herald-site-content .herald-page {
    margin-left: 12px;
    margin-right: 12px;
    padding: 16px 4px 4px;
  }
  html[data-ui] .herald-site-content .herald-single,
  html[data-ui] .herald-site-content .herald-page {
    padding: 20px 16px 12px;
  }
  .aka-look-switch {
    right: 8px;
    bottom: 8px;
    padding: 6px;
    font-size: 11px;
  }
}

/* A static page (a price list, the banner previews, a form) fills its card: Herald centres a 9-of-12 column in it, which
   on the card of 1108 px left the page 760 px of text against about 1040 px before. */
@media (min-width: 992px) {
  html[data-ui] .herald-page > .row > .col-mod-single {
    float: none;
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
  }
}

/* ── Type ──────────────────────────────────────────────────────────────────────────────── */
html[data-ui] body,
html[data-ui] .herald-entry-content,
html[data-ui] .entry-content,
html[data-ui] .entry-headline {
  color: var(--ui-text);
}
html[data-ui] h1,
html[data-ui] h2,
html[data-ui] h3,
html[data-ui] h4,
html[data-ui] h5,
html[data-ui] h6,
html[data-ui] .h1,
html[data-ui] .h2,
html[data-ui] .entry-title,
html[data-ui] .entry-title a,
html[data-ui] .herald-entry-content h1,
html[data-ui] .herald-entry-content h2,
html[data-ui] .herald-entry-content h3,
html[data-ui] .herald-entry-content h4 {
  color: var(--ui-ink);
}
/* An article's own headings stay the academy's blue, in the set's accent ink so a dark set can read them. */
html[data-ui] .herald-entry-content > h2,
html[data-ui] .herald-entry-content > h3 {
  color: var(--ui-accent-ink) !important;
}
/* A tile written over its picture: Herald darkens the picture with black at about half, and over a nearly white
   picture its white title read 4.0 to 1 (look:contrast at 360 px). At 60% it reads about 5.9 over pure white. */
html[data-ui] .herald-ovrld .herald-post-thumbnail a::before {
  opacity: 0.6 !important;
}
html[data-ui] .herald-ovrld {
  background-color: #0b1727;
}
/* A category badge Herald writes over a picture ("Zobacz też"): white on the accent's fill, which reads 4.6 to 1
   (Herald's own #0288d1 read 1.6 with the set's blue ink on it, look:contrast). */
html[data-ui] .herald-ovrld .meta-category a,
html[data-ui] .herald-ovrld .meta-category span {
  background: var(--ui-accent-fill) !important;
  color: #fff !important;
}
/* Herald writes some titles over their picture ("Zobacz też", a slider): they stay white there. */
html[data-ui] .herald-ovrld .entry-title,
html[data-ui] .herald-ovrld .entry-title a,
html[data-ui] .herald-ovrld .entry-meta,
html[data-ui] .herald-ovrld .entry-meta span,
html[data-ui] .herald-ovrld .entry-meta a {
  color: #fff !important;
}
html[data-ui] .entry-title a:hover,
html[data-ui] .entry-title a:focus {
  color: var(--ui-accent-ink);
}
html[data-ui] a,
html[data-ui] .herald-entry-content a {
  color: var(--ui-accent-ink);
}
html[data-ui] .entry-meta,
html[data-ui] .entry-meta span,
html[data-ui] .entry-meta a,
html[data-ui] .herald-date,
html[data-ui] .herald-rtime,
html[data-ui] .herald-modified_date {
  color: var(--ui-muted) !important;
}
html[data-ui] .meta-category a,
html[data-ui] .meta-category span {
  color: var(--ui-accent-ink) !important;
}

/* ── Module heads: the title and the "see all" button ──────────────────────────────────── */
html[data-ui] .herald-mod-head {
  border-bottom: 0 !important;
  margin-bottom: 14px;
}
html[data-ui] .herald-mod-actions,
html[data-ui] .herald-mod-title {
  border: 0 !important;
}
html[data-ui] .herald-mod-head::after,
html[data-ui] .herald-mod-head::before,
html[data-ui] .herald-mod-actions::before,
html[data-ui] .herald-mod-actions::after {
  display: none !important;
}
html[data-ui] .herald-mod-title,
html[data-ui] .herald-mod-title .herald-mod-h,
html[data-ui] .herald-mod-title a,
html[data-ui] .herald-mod-h.herald-color {
  color: var(--ui-ink) !important;
  background: transparent !important;
  border: 0 !important;
}
html[data-ui] .herald-mod-actions .herald-all-link,
html[data-ui] .herald-mod-actions a {
  padding: 6px 14px !important;
  border: 0 !important;
  border-radius: var(--ui-r-pill) !important;
  background: var(--ui-track) !important;
  color: var(--ui-ink) !important;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 0.15s ease;
}
html[data-ui] .herald-mod-actions .herald-all-link:hover,
html[data-ui] .herald-mod-actions a:hover {
  background: var(--ui-track-strong) !important;
}

/* ── Pictures ──────────────────────────────────────────────────────────────────────────── */
html[data-ui] .herald-post-thumbnail,
html[data-ui] .herald-post-thumbnail img,
html[data-ui] .herald-post-thumbnail-single img,
html[data-ui] .herald-entry-content img {
  border-radius: var(--ui-r-tile);
}
html[data-ui] .herald-post-thumbnail {
  overflow: hidden;
}

/* ── Inside an article ─────────────────────────────────────────────────────────────────── */
html[data-ui] .herald-entry-content blockquote {
  border-left: 3px solid var(--ui-accent);
  border-radius: var(--ui-r-inset);
  background: var(--ui-track);
  color: var(--ui-text);
}
/* Herald paints a quote's words in its link blue and the custom CSS signs .atlas-quote in #555: on the set's quote
   ground the first fell to 3.2 : 1 in the light sets and the second to 1.8 : 1 in the dark ones. */
html[data-ui] .herald-entry-content blockquote p {
  color: var(--ui-ink) !important;
}
html[data-ui] .herald-entry-content blockquote footer,
html[data-ui] .herald-entry-content blockquote cite {
  color: var(--ui-muted) !important;
}
html[data-ui] .herald-entry-content table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--ui-rim);
  border-radius: var(--ui-r-inset);
}
html[data-ui] .herald-entry-content th {
  background: var(--ui-track);
  color: var(--ui-ink);
}
html[data-ui] .herald-entry-content td,
html[data-ui] .herald-entry-content th {
  border-color: var(--ui-rim) !important;
}
html[data-ui] #ez-toc-container,
html[data-ui] div#ez-toc-container {
  border: 1px solid var(--ui-rim) !important;
  border-radius: var(--ui-r-inset) !important;
  background: var(--ui-track) !important;
  box-shadow: none !important;
}
html[data-ui] #ez-toc-container .ez-toc-title,
html[data-ui] #ez-toc-container a {
  color: var(--ui-ink) !important;
}
html[data-ui] #ez-toc-container a:hover {
  color: var(--ui-accent-ink) !important;
}
/* Colours an article writes into its own text (a style attribute in the post: 128 times #1976d2, 303 spans of
   #000000, greys; counted in the posts on 22 November 2026). They were written for a light page.
   (1) An element with a LIGHT background of its own, and what it holds, stays light in every set: the light page's
       ink, and a blue a shade darker, 5.4 to 1 on #e3f2fd (#1976d2 read 4.0 there, look:contrast). */
html[data-ui]
  .herald-entry-content
  :is(
    [style*='e3f2fd' i],
    [style*='f5f9ff' i],
    [style*='d3e4ff' i],
    [style*='fff8e1' i],
    [style*='f3c744' i],
    [style*='f0f4f8' i],
    [style*='f5f5f5' i],
    [style*='f3f8ff' i],
    [style*='background: #ffffff' i],
    [style*='background: #fff;' i],
    [style*='background:#fff;' i],
    [style*='background:#ffffff' i],
    [style*='background-color: #ffffff' i],
    [style*='background-color: #fff;' i]
  ) {
  color: #344050;
}
html[data-ui]
  .herald-entry-content
  :is(
    [style*='e3f2fd' i],
    [style*='f5f9ff' i],
    [style*='d3e4ff' i],
    [style*='fff8e1' i],
    [style*='f3c744' i],
    [style*='f0f4f8' i],
    [style*='f5f5f5' i],
    [style*='f3f8ff' i],
    [style*='background: #ffffff' i],
    [style*='background: #fff;' i],
    [style*='background:#fff;' i],
    [style*='background:#ffffff' i],
    [style*='background-color: #ffffff' i],
    [style*='background-color: #fff;' i]
  )
  :is(
    [style*='color: #1976d2' i],
    [style*='color:#1976d2' i],
    [style*='color: #3366ff' i],
    [style*='color:#3366ff' i],
    [style*='color: #0d47a1' i],
    [style*='color:#0d47a1' i],
    [style*='color: #2196f3' i],
    [style*='color:#2196f3' i]
  ) {
  color: #1559b0 !important;
}
/* (2) Anywhere else: a blue is the set's accent ink in every set (#1976d2 read 4.2 to 1 on a light card), a grey the
   set's body ink in every set (#666 read 4.3 on Latte's card), and in a dark set the black of a light page the set's
   text, or it vanishes on the dark card (the "Uwaga" notes are black text on a grey of 9%, which a dark card turns
   dark). */
html[data-ui]
  .herald-entry-content
  [style*='color: #1976d2' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color:#1976d2' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color: #3366ff' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color:#3366ff' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color: #0d47a1' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color:#0d47a1' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color: #2196f3' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]),
html[data-ui]
  .herald-entry-content
  [style*='color:#2196f3' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ):not([style*='background' i]) {
  color: var(--ui-accent-ink) !important;
}
html[data-ui]
  .herald-entry-content
  [style*='color: #666' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color:#666' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color: #5f6b7a' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color:#5f6b7a' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color: #4a5b6b' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color:#4a5b6b' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color: #999' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html[data-ui]
  .herald-entry-content
  [style*='color:#999' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ) {
  color: var(--ui-body) !important;
}
html.dark[data-ui]
  .herald-entry-content
  [style*='color: #000' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color:#000' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color: #333' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color:#333' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color: #444' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color:#444' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color: #555' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color:#555' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color: #0b1622' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ),
html.dark[data-ui]
  .herald-entry-content
  [style*='color:#0b1622' i]:not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
  ):not(
    :is(
        [style*='e3f2fd' i],
        [style*='f5f9ff' i],
        [style*='d3e4ff' i],
        [style*='fff8e1' i],
        [style*='f3c744' i],
        [style*='f0f4f8' i],
        [style*='f5f5f5' i],
        [style*='f3f8ff' i],
        [style*='background: #ffffff' i],
        [style*='background: #fff;' i],
        [style*='background:#fff;' i],
        [style*='background:#ffffff' i],
        [style*='background-color: #ffffff' i],
        [style*='background-color: #fff;' i]
      )
      *
  ) {
  color: var(--ui-text) !important;
}
/* The pros and cons box (WP Pros-Cons): its own white and #f9f9f9 grounds become the set's track and card, so the
   set's text reads on them in a dark set too (white boxes under light text, 22 November 2026). The button takes
   the accent's fill, under which white reads 4.6 to 1. */
html[data-ui] .wp-classic-pros-cons {
  border-radius: var(--ui-r-inset);
  background: var(--ui-track) !important;
}
html[data-ui] .wp-classic-pros-cons .wppc-box {
  border-color: var(--ui-rim) !important;
  border-radius: var(--ui-r-tile);
  background: var(--ui-card) !important;
  color: var(--ui-text);
}
html[data-ui] .wp-classic-pros-cons .jd-wppc-btn {
  background: var(--ui-accent-fill) !important;
  color: #fff !important;
}

/* The banner previews for advertisers (pages "Wizualizacje banerów", "PL-banners-…"; WPCode "Banery-status-CCS"): the
   status of a place in the set's colours of a gain and of body text, which hold 4.5 to 1 on the set's card (the
   snippet's green and grey read 2.6 to 1 in a dark set), and the "(free)" label on the accent's fill, under which white
   reads 4.6 (#2c7be5 read 4.1). */
html[data-ui] .atlas-status.wolne {
  color: var(--ui-gain) !important;
}
html[data-ui] .atlas-status.zajete {
  color: var(--ui-body) !important;
}
html[data-ui] .banner-container .free-text {
  background-color: var(--ui-accent-fill) !important;
}

html[data-ui] hr {
  border-color: var(--ui-rim);
}

/* ── Fields ────────────────────────────────────────────────────────────────────────────── */
html[data-ui] input[type='text'],
html[data-ui] input[type='search'],
html[data-ui] input[type='email'],
html[data-ui] textarea {
  border: 1px solid var(--ui-rim) !important;
  border-radius: var(--ui-r-inset);
  background: var(--ui-card) !important;
  color: var(--ui-ink) !important;
}

/* ── Set switcher (local copy only) ────────────────────────────────────────────────────── */
.aka-look-switch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--ui-rim, #ccc);
  border-radius: 16px;
  background: var(--ui-card, #fff);
  box-shadow: var(--ui-shadow-raised, 0 8px 24px rgba(0, 0, 0, 0.2));
  font: 600 12px/1.2 'Poppins', sans-serif;
}
.aka-look-switch button {
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--ui-track, #eee);
  color: var(--ui-ink, #000);
  cursor: pointer;
}
.aka-look-switch button[aria-pressed='true'] {
  background: var(--ui-accent-fill, #2a73d7);
  color: #fff;
}
