/* home-styles.css – opieka.farm homepage (Pocket direction, polished)
   Builds on top of styles.css. Fonty marki: Onest (UI), Source Sans 3 (treść), IBM Plex Mono (dane). */

:root {
  --bg:        #fafaf9;
  --bg-2:      #eaf0f2;
  --card:      #ffffff;
  --ink:       #0a2530;
  --ink-2:     #21333c;
  --ink-3:     #7a8d95;
  --ink-4:     #a7b6bc;
  --line:      #e3e9eb;
  --line-2:    #d3dadd;
  --primary:   #0d4b5c;
  --primary-2: #1d738b;
  --primary-d: #08323e;
  --accent:    #14a085;
  --accent-2:  #0a6a55;
  --accent-soft: rgba(20,160,133,0.10);
  --warn:      #cc3266;
  --shadow-sm: 0 1px 2px rgba(13,75,92,0.04), 0 2px 8px -4px rgba(13,75,92,0.08);
  --shadow-md: 0 2px 6px rgba(13,75,92,0.06), 0 12px 28px -10px rgba(13,75,92,0.14);
  --shadow-lg: 0 8px 24px rgba(13,75,92,0.10), 0 24px 56px -16px rgba(13,75,92,0.20);
  --rad-sm: 8px;
  --rad-md: 12px;
  --rad-lg: 16px;
  --rad-xl: 22px;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

* { box-sizing: border-box; }
img, svg { display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
/* Linki do redakcji w meta-row (źródło + weryfikacja treści) */
.meta-row a.src, .meta-row a.verif-link { cursor: pointer; transition: color 0.12s; }
.meta-row a.src:hover, .meta-row a.verif-link:hover { color: var(--primary); text-decoration: underline; }

/* ─── A11y: spójny, widoczny focus ring dla nawigacji klawiaturą (WCAG 2.4.7) ───
   :where() → zerowa specyficzność, więc komponentowe :focus-visible nadal wygrywają. */
:where(a, button, input, textarea, select, summary, [tabindex], [role="button"], [role="tab"], [role="link"], [role="menuitem"]):focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (forced-colors: active) {
  :where(a, button, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid Highlight; }
}
mark { background: rgba(20,160,133,0.22); color: inherit; padding: 0 2px; border-radius: 2px; }

.u-mono  { font-family: 'Source Sans 3', sans-serif; }
.u-serif { font-family: 'Source Sans 3', sans-serif; font-style: italic; }

/* ─────────────────────────────────────────────────────────────────────────
   App shell
   ───────────────────────────────────────────────────────────────────────── */

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 221px minmax(0, 1fr);
}

/* ─── Sidebar (left navigation) ───────────────────────────────────────── */
.sidebar {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 0 16px;
  z-index: 30;
}
.sidebar .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 22px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.sidebar .brand img { height: 26px; width: auto; }

/* Brand row: logo + collapse toggle */
.sidebar .brand-logo { display: flex; align-items: center; }
.sidebar .brand-logo .mini { display: none; color: var(--primary); }
.sidebar .collapse-btn {
  margin-left: auto; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: var(--ink-3); flex-shrink: 0;
  transition: background 0.12s, color 0.12s;
}
.sidebar .collapse-btn:hover { background: var(--bg-2); color: var(--ink); }
.sidebar .collapse-btn svg { width: 18px; height: 18px; }
/* Strzałka zwijania: domyślnie chevron „zwiń" (when-open); „rozwiń" (when-collapsed) ukryty
   — przełączane przy .sidebar.collapsed (inaczej widać obie strzałki naraz). */
.sidebar .collapse-btn .when-open { display: flex; }
.sidebar .collapse-btn .when-collapsed { display: none; }
.sidebar .nav a .lbl { white-space: nowrap; overflow: hidden; }

/* ─── Sidebar zwinięty (tylko ikony) – desktop ────────────────────────── */
.app { transition: grid-template-columns 0.2s ease; }
@media (min-width: 901px) {
  .app:has(.sidebar.collapsed) { grid-template-columns: 72px minmax(0, 1fr); }
  .app:has(.sidebar.collapsed) .read-progress { left: 72px; }

  .sidebar.collapsed { padding-left: 0; padding-right: 0; }
  .sidebar.collapsed .brand { justify-content: center; gap: 4px; padding: 0 0 16px; }
  .sidebar.collapsed .brand-logo .full { display: none; }
  .sidebar.collapsed .brand-logo .mini { display: flex; }
  .sidebar.collapsed .collapse-btn .when-open { display: none; }
  .sidebar.collapsed .collapse-btn .when-collapsed { display: flex; }
  .sidebar.collapsed .brand-logo .mini svg { width: auto; height: 26px; }
  .sidebar.collapsed .collapse-btn { margin-left: 0; }

  .sidebar.collapsed .nav { padding: 0 10px; }
  .sidebar.collapsed .nav a { justify-content: center; padding: 11px 0; gap: 0; }
  .sidebar.collapsed .nav a .lbl,
  .sidebar.collapsed .nav a .num { display: none; }
  .sidebar.collapsed .nav a.on::before { display: none; }
  .sidebar.collapsed .nav .grp-h {
    height: 1px; padding: 0; margin: 9px 12px; background: var(--line);
    font-size: 0; color: transparent; overflow: hidden;
  }
}

/* Natychmiastowy tooltip dla zwiniętego menu (fixed – nie obcina go scroll nawigacji) */
.nav-tip {
  position: fixed; z-index: 200; transform: translateY(-50%);
  background: #0a2530; color: #fff;
  padding: 7px 11px; border-radius: 8px;
  font-size: 12.5px; font-weight: 500; line-height: 1; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(10,37,48,0.35);
  pointer-events: none;
}
.nav-tip::before {
  content: ''; position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: #0a2530;
}
@media (max-width: 900px) {
  .sidebar .collapse-btn { display: none; }
}

.sidebar .nav { padding: 0 12px; display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.sidebar .nav .grp-h {
  padding: 14px 12px 6px;
  font-family: 'Source Sans 3', sans-serif; font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.sidebar .nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative;
  transition: background 0.12s, color 0.12s;
}
.sidebar .nav a:hover { background: var(--bg-2); color: var(--ink); }
.sidebar .nav a .ic { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-3); }
.sidebar .nav a:hover .ic { color: var(--ink-2); }
.sidebar .nav a .num {
  margin-left: auto;
  font-family: 'Source Sans 3', sans-serif; font-size: 10.5px;
  color: var(--ink-4); font-weight: 500;
}
.sidebar .nav a.on {
  background: rgba(13,75,92,0.06);
  color: var(--primary);
  font-weight: 600;
}
.sidebar .nav a.on .ic  { color: var(--primary); }
.sidebar .nav a.on .num { color: var(--primary-2); }
.sidebar .nav a.on::before {
  content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--primary);
}

/* Chip zalogowanego użytkownika w górnym pasku */
.utilbar .user-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 8px 5px 4px; border-radius: 10px;
  border: 1px solid transparent; background: transparent;
  transition: background 0.15s;
}
.utilbar .user-chip:hover { background: var(--bg-2); }
.utilbar .user-chip .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 11.5px; flex-shrink: 0;
}
.utilbar .user-chip .ww { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; line-height: 1.15; }
.utilbar .user-chip .nm { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.utilbar .user-chip .rl { font-family: 'Source Sans 3', sans-serif; font-size: 10px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; }
.utilbar .user-chip .chev { color: var(--ink-3); flex-shrink: 0; }

/* ─── Menu konta (dropdown z chipa użytkownika) ───────────────────────── */
.user-menu { position: relative; display: flex; }
.utilbar .user-chip { cursor: pointer; font: inherit; }
.utilbar .user-chip.on { border-color: var(--line-2); background: var(--bg-2); }
.utilbar .user-chip.on .chev { transform: rotate(180deg); }
.utilbar .user-chip .chev { transition: transform 0.16s; }

.um-pop {
  position: absolute; top: calc(100% + 10px); right: -6px; z-index: 60;
  width: 312px; max-width: calc(100vw - 28px);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--rad-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; transform-origin: top right;
  animation: np-in 0.16s cubic-bezier(.2,.7,.3,1);
}
.um-pop::before {
  content: ''; position: absolute; top: -6px; right: 17px; width: 11px; height: 11px;
  background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 3px 0 0 0;
}

/* Nagłówek tożsamości */
.um-id {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; border-bottom: 1px solid var(--line);
  transition: background 0.12s;
}
.um-id:hover { background: var(--bg-2); }
.um-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.um-idt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.um-nm { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.um-em { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.um-rl {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 3px;
  font-family: 'Source Sans 3', sans-serif; font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3);
}
.um-rl-tag {
  padding: 1px 6px; border-radius: 5px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-2); font-weight: 700;
}
.um-id-arr { margin-left: auto; color: var(--ink-3); flex-shrink: 0; }
.um-id-arr svg { width: 16px; height: 16px; }

.um-list { padding: 6px 0; max-height: min(60vh, 520px); overflow-y: auto; }
.um-grp {
  padding: 9px 16px 4px;
  font-family: 'Source Sans 3', sans-serif; font-size: 9.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}

.um-item {
  display: grid; grid-template-columns: 30px minmax(0,1fr) 14px; gap: 11px; align-items: center;
  width: 100%; padding: 8px 16px; text-align: left; cursor: pointer; transition: background 0.12s;
}
.um-item:hover { background: var(--bg-2); }
.um-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--bg-2); color: var(--primary-2); flex-shrink: 0; }
.um-item:hover .um-ic { background: var(--accent-soft); color: var(--accent-2); }
.um-ic svg { width: 17px; height: 17px; }
.um-tt { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.um-t { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.um-s { font-size: 11px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.um-tag {
  padding: 1px 6px; border-radius: 5px; font-family: 'Source Sans 3', sans-serif;
  font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500;
  background: var(--accent-soft); color: var(--accent-2);
}
.um-arr { color: var(--ink-4, var(--ink-3)); opacity: 0; transition: opacity 0.12s, transform 0.12s; }
.um-arr svg { width: 14px; height: 14px; }
.um-item:hover .um-arr { opacity: 0.6; transform: translateX(2px); }

.um-logout {
  border-top: 1px solid var(--line); border-radius: 0;
  grid-template-columns: 30px 1fr; margin-top: 2px;
}
.um-logout .um-ic { background: transparent; color: var(--warn); }
.um-logout:hover { background: rgba(204,50,102,0.06); }
.um-logout:hover .um-ic { background: rgba(204,50,102,0.12); color: var(--warn); }
.um-logout .um-t { color: var(--warn); }

/* Podgląd roli – narzędzie projektowe (symuluje rolę z motywu WP) */
.um-preview {
  border-top: 1px solid var(--line); background: var(--bg);
  padding: 10px 14px 12px;
}
.um-preview .lbl {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-family: 'Source Sans 3', sans-serif; font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}
.um-preview .lbl svg { width: 12px; height: 12px; }
.um-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 4px; }
.um-seg button {
  padding: 5px 4px; border-radius: 7px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); cursor: pointer;
  font-size: 10.5px; font-weight: 600; transition: all 0.12s;
}
.um-seg button:hover { border-color: var(--line-2); color: var(--ink); }
.um-seg button.on { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }

/* ─── Utility bar (slim, top of content) ──────────────────────────────── */
.colmain {
  display: flex; flex-direction: column;
  min-width: 0;
}
.utilbar {
  position: sticky; top: 0; z-index: 25;
  display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 28px;
  background: rgba(250,250,249,0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.utilbar.scrolled { border-bottom-color: var(--line); background: rgba(250,250,249,0.96); }

.utilbar .menu { display: none; width: 38px; height: 38px; border-radius: 10px; color: var(--ink-2); align-items: center; justify-content: center; }
.utilbar .menu:hover { background: var(--bg-2); }
.utilbar .mobile-brand { display: none; }

.utilbar .crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.utilbar .crumbs b { color: var(--ink); font-weight: 600; }

.utilbar .search-trigger {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 12px; min-width: 320px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink-3); font-size: 13.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.utilbar .search-trigger:hover { border-color: var(--line-2); }
.utilbar .search-trigger:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.utilbar .search-trigger .kbd {
  margin-left: auto; padding: 2px 6px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 5px;
  font-family: 'Source Sans 3', sans-serif; font-size: 11px; color: var(--ink-3);
}

.utilbar .icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: transparent; color: var(--ink-2);
  display: grid; place-items: center;
  position: relative;
}
.utilbar .icon-btn:hover { background: var(--bg-2); color: var(--ink); }
.utilbar .icon-btn svg { width: 23px; height: 23px; }
.utilbar .icon-btn .badge {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 50px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; line-height: 1; border: 2px solid var(--bg);
}

/* ─── Notifications dropdown (bell · „co nowego od ostatniej wizyty") ──── */
.notif { position: relative; display: flex; }
.utilbar .icon-btn.on { background: var(--bg-2); color: var(--ink); }

.notif-pop {
  position: absolute; top: calc(100% + 10px); right: -6px; z-index: 60;
  width: 388px; max-width: calc(100vw - 28px);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--rad-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: top right;
  animation: np-in 0.16s cubic-bezier(.2,.7,.3,1);
}
@keyframes np-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.notif-pop::before {
  content: ''; position: absolute; top: -6px; right: 17px; width: 11px; height: 11px;
  background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 3px 0 0 0;
}

.np-head {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 16px 13px; border-bottom: 1px solid var(--line);
}
.np-title { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.np-sub { font-family: 'Source Sans 3', sans-serif; font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.np-mark {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--primary-2);
  white-space: nowrap; padding: 4px 2px; border-radius: 6px;
}
.np-mark:hover { color: var(--primary); text-decoration: underline; }

.np-list { max-height: min(462px, 66vh); overflow-y: auto; }
.np-grp {
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 16px 5px;
}
.np-grp .lbl {
  font-family: 'Source Sans 3', sans-serif; font-size: 10px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}
.np-grp .ct {
  font-family: 'Source Sans 3', sans-serif; font-size: 10px; font-weight: 500;
  color: var(--accent-2);
}

.np-item {
  display: grid; grid-template-columns: 34px minmax(0,1fr) 9px; gap: 11px; align-items: start;
  padding: 10px 16px; transition: background 0.12s;
}
.np-item:hover { background: var(--bg-2); }
.np-item.unread { background: rgba(20,160,133,0.05); }
.np-item.unread:hover { background: rgba(20,160,133,0.09); }
.np-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.np-ic svg { width: 18px; height: 18px; }
.np-body { min-width: 0; }
.np-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Source Sans 3', sans-serif; font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 3px;
}
.np-urg {
  display: inline-flex; align-items: center;
  padding: 1px 5px; border-radius: 4px;
  background: rgba(204,50,102,0.12); color: var(--warn);
  font-size: 9px; letter-spacing: 0.08em;
}
.np-t { font-size: 13px; line-height: 1.36; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.np-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.np-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; }
.np-item.unread .np-dot { background: var(--accent); }

.np-allread {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 34px 22px; text-align: center; color: var(--ink-3); font-size: 13px;
}
.np-allread .ic {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2);
}

.np-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--primary-2); background: var(--bg);
}
.np-foot:hover { background: var(--bg-2); color: var(--primary); }
.np-foot svg { width: 16px; height: 16px; }

/* ─── Mobile-drawer backdrop ──────────────────────────────────────────── */
.drawer-mask {
  display: none;
  position: fixed; inset: 0; z-index: 28;
  background: rgba(10,37,48,0.32);
  backdrop-filter: blur(2px);
}

/* ─── Hero ────────────────────────────────────────────────────────────── */
.main {
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 36px 96px;
}

.hero { padding: 18px 0 28px; }
.hero .eyebrow {
  font-family: 'Source Sans 3', sans-serif; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
}
.hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin: 16px 0 22px;
  font-size: 48px; line-height: 1.04; font-weight: 600;
  letter-spacing: -0.025em; max-width: 16ch;
  text-wrap: balance; color: var(--primary);
}
.hero h1 .em { font-style: normal; font-weight: inherit; color: inherit; }
.hero .lead {
  font-size: 16px; color: var(--ink-2); line-height: 1.55;
  max-width: 56ch; margin: 0 0 24px;
}

.mega {
  display: flex; align-items: center; gap: 0;
  height: 64px; padding: 0 6px 0 20px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md);
  max-width: 720px; cursor: text;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.mega:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.mega .ic { color: var(--primary-2); }
.mega input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 16.5px; color: var(--ink); font-family: inherit;
  padding: 0 14px; height: 100%; min-width: 0;
}
.mega input::placeholder { color: var(--ink-4); }
.mega .scope {
  display: flex; align-items: center; gap: 6px;
  padding-right: 14px; margin-right: 6px;
  border-right: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  height: 34px;
}
.mega .go {
  height: 50px; padding: 0 22px;
  background: var(--primary); color: #fff;
  border-radius: 12px; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.15s, transform 0.15s;
}
.mega .go:hover { background: var(--primary-d); }
.mega .go:active { transform: scale(0.98); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; max-width: 720px; }
.chip {
  padding: 8px 13px; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: border-color 0.12s, color 0.12s;
}
.chip:hover { border-color: var(--primary-2); color: var(--ink); }
.chip .ic { color: var(--primary-2); width: 14px; height: 14px; margin-top: -1.5px; }

/* ─── Section heads ───────────────────────────────────────────────────── */
.section { margin-top: 48px; }
/* Pierwsza sekcja (billboard) na stronie głównej – bez dużego odstępu od paska górnego */
.main > .section:first-child { margin-top: 0; }
.section .head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.section .head h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0; color: var(--primary);
}
.section .head .more {
  font-size: 13.5px; color: var(--primary-2); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}
.section .head .more:hover { color: var(--primary); }
.section .head .sub {
  font-size: 13px; color: var(--ink-3); margin-top: 4px;
}

/* ─── Shift card ─────────────────────────────────────────────────────── */
.shift {
  background:
    radial-gradient(ellipse 380px 200px at 110% -20%, rgba(20,160,133,0.55), transparent 60%),
    radial-gradient(ellipse 240px 200px at -10% 110%, rgba(29,115,139,0.4), transparent 55%),
    linear-gradient(135deg, #0d4b5c 0%, #134f64 45%, #1d738b 100%);
  color: #fff; border-radius: var(--rad-xl);
  padding: 28px 32px; position: relative; overflow: hidden;
}
.shift::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.16), transparent 65%);
}
.shift .lbl {
  font-family: 'Source Sans 3', sans-serif; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.72); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.shift .lbl .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(20,160,133,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20,160,133,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(20,160,133,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,160,133,0); }
}
.shift .title {
  font-size: 26px; font-weight: 600; line-height: 1.2;
  letter-spacing: -0.015em; margin: 0 0 8px; max-width: 28ch;
  text-wrap: balance;
}
.shift .dek {
  font-size: 14.5px; color: rgba(255,255,255,0.78); line-height: 1.55;
  max-width: 56ch; margin: 0 0 18px;
}
.shift .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.shift .btn {
  height: 42px; padding: 0 16px; border-radius: 11px;
  background: rgba(255,255,255,0.14); color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  backdrop-filter: blur(8px);
  transition: background 0.12s, transform 0.12s;
}
.shift .btn:hover { background: rgba(255,255,255,0.22); }
.shift .btn:active { transform: scale(0.98); }
.shift .btn.primary { background: #fff; color: var(--primary); font-weight: 600; }
.shift .btn.primary:hover { background: var(--bg); }

/* ─── Tools grid ──────────────────────────────────────────────────────── */
.tools {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px;
}
.tool {
  background: var(--card); border-radius: var(--rad-lg);
  padding: 16px 10px; min-height: 110px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; border: 1px solid var(--line);
  transition: border-color 0.12s, transform 0.12s, box-shadow 0.12s;
  cursor: pointer;
}
.tool:hover {
  border-color: var(--line-2); transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.tool .ic {
  width: 56px; height: 56px; border-radius: 46% 54% 57% 43% / 43% 47% 53% 57%;
  display: grid; place-items: center; color: var(--primary);
  background: rgba(13,75,92,0.08);
}
.tools .tool .ic svg { width: 27px; height: 27px; }
.tools .tool:nth-child(3n+2) .ic { border-radius: 58% 42% 45% 55% / 55% 46% 54% 45%; }
.tools .tool:nth-child(3n+3) .ic { border-radius: 50% 50% 40% 60% / 60% 40% 55% 45%; }
.tool .lb {
  font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.25;
  white-space: pre-line;
}
.tool.t-alt  .ic { background: rgba(20,160,133,0.12); color: var(--accent); }
.tool.t-alt2 .ic { background: rgba(204,50,102,0.12);  color: var(--warn); }
.tool.t-alt3 .ic { background: rgba(29,115,139,0.10); color: var(--primary-2); }

/* ─── Resume reading + onboard CTA two-up ─────────────────────────────── */
.two-up {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px;
}
.resume {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 22px 24px;
}
.resume .kicker {
  font-size: 11px; font-weight: 700; color: var(--primary-2);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.resume h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; line-height: 1.3; }
.resume .bar { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.resume .bar > i { display: block; height: 100%; width: 38%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; }
.resume .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.resume .meta b { color: var(--ink); font-weight: 500; }
.resume .actions { display: flex; gap: 8px; margin-top: 16px; }
.resume .actions .btn {
  height: 38px; padding: 0 16px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.12s, border-color 0.12s;
}
.resume .actions .btn.primary { background: var(--primary); color: #fff; }
.resume .actions .btn.primary:hover { background: var(--primary-d); }
.resume .actions .btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.resume .actions .btn.ghost:hover { border-color: var(--line-2); color: var(--ink); }

.onboard {
  background: var(--card); border: 1px solid rgba(20,160,133,0.30); border-radius: var(--rad-lg);
  padding: 22px 24px; position: relative; overflow: hidden;
  background-image: radial-gradient(ellipse 240px 120px at 110% 0%, rgba(20,160,133,0.12), transparent 60%);
}
.onboard .kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--accent-2); letter-spacing: 0.08em; text-transform: uppercase; }
.onboard h3 { font-size: 19px; font-weight: 600; margin: 8px 0 10px; line-height: 1.3; letter-spacing: -0.01em; }
.onboard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0 0 16px; max-width: 38ch; }
.onboard .cta {
  height: 38px; padding: 0 16px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600;
}
.onboard .cta:hover { background: var(--accent-2); }
.onboard .stat {
  position: absolute; right: 22px; top: 22px;
  font-family: 'Source Sans 3', sans-serif; font-size: 10.5px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ─── Article cards (featured row) ────────────────────────────────────── */
.feat {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card .ph {
  height: 180px; position: relative;
  background: #eef4f3;
}
.card.large .ph { height: 180px; }
.card .ph .tag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 5px 11px; background: rgba(255,255,255,0.94); color: var(--primary);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 6px; box-shadow: 0 1px 2px rgba(13,75,92,0.08);
}
.card .ph .save {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.94); color: var(--ink-2);
  display: grid; place-items: center;
}
.card .ph .save.on { color: var(--accent); }
.card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card.large .body { padding: 22px 24px; }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0; letter-spacing: -0.005em; }
.card.large h3 { font-size: 22px; }
.card .lead { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.card .meta {
  display: flex; gap: 10px; font-size: 12px; color: var(--ink-3);
  margin-top: auto; padding-top: 12px; align-items: center;
}
.card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }

/* ─── Substancje A–Z ─────────────────────────────────────────────────── */
.az {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 24px 26px;
}
.az .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.az .letters {
  display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px;
  margin-bottom: 22px;
}
.az .letter {
  height: 36px; display: grid; place-items: center;
  font-family: 'Onest', sans-serif; font-weight: 700; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  color: var(--primary); cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.az .letter:hover { background: var(--bg-2); }
.az .letter.dim { color: var(--ink-4); background: transparent; border-color: transparent; cursor: not-allowed; }
.az .letter.on { background: var(--primary); color: #fff; border-color: var(--primary); }

.az .pop {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.az .sub-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.az .sub-row:hover { border-color: var(--line-2); background: #fff; }
.az .sub-row .n { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
.az .sub-row .m { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.az .sub-row .tg {
  margin-left: auto; padding: 3px 8px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em; border-radius: 4px; flex-shrink: 0;
}
.az .sub-row .tg.otc { background: rgba(20,160,133,0.12); color: var(--accent-2); }
.az .sub-row .tg.rx  { background: rgba(13,75,92,0.10);  color: var(--primary); }
.az .sub-row .tg.w   { background: rgba(204,50,102,0.14); color: var(--warn); }

/* ─── Video row ───────────────────────────────────────────────────────── */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vid {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-md);
  overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
}
.vid:hover { border-color: var(--line-2); transform: translateY(-2px); }
.vid .thumb {
  height: 130px; position: relative;
  background: repeating-linear-gradient(45deg, #c5d3d7 0 8px, #b8c8cd 8px 16px);
}
.vid .thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,75,92,0.6) 100%);
}
.vid .thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,0.96);
}
.vid .thumb .play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.vid .thumb .dur {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px;
  background: rgba(10,37,48,0.85); color: #fff; font-size: 11px;
  border-radius: 4px; font-family: 'Source Sans 3', sans-serif;
}
.vid .meta { padding: 12px 14px 14px; }
.vid .ttl  { font-size: 13.5px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.vid .by   { font-size: 11.5px; color: var(--ink-3); }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer {
  margin-top: 80px; padding: 36px 28px 48px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer .inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
  align-items: start;
}
.footer .col h4 {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 12px; font-weight: 600;
}
.footer .col a {
  display: block; font-size: 13.5px; color: var(--ink-2); padding: 4px 0;
}
.footer .col a:hover { color: var(--ink); }
.footer .about p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 8px 0 0; max-width: 38ch; }

/* Przycisk „Reklama" w stopce – dyskretny, spójny ze stroną */
.footer .col a.ad-cta {
  display: flex; width: max-content; align-items: center; gap: 7px;
  margin-top: 16px; padding: 8px 14px;
  border-radius: 9px; text-decoration: none;
  font-size: 13px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-2);
  border: 1px solid rgba(20,160,133,0.22);
  transition: background 0.12s ease, border-color 0.12s ease;
}
.footer .col a.ad-cta:hover {
  background: rgba(20,160,133,0.16);
  border-color: rgba(20,160,133,0.35);
  color: var(--accent-2);
}
.footer .col a.ad-cta .ad-cta-ic {
  flex-shrink: 0; display: grid; place-items: center; color: var(--accent);
}
.footer .legal {
  max-width: 1200px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--ink-3);
  border-top: 1px solid var(--line); padding-top: 18px;
}
.footer .legal .u-mono { letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Zgłoś błąd (report-an-error button + modal) ─────────────────────── */
.footer .legal { gap: 16px; flex-wrap: wrap; }
.footer .legal .legal-end { display: inline-flex; align-items: center; gap: 18px; }
.report-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  font-size: 12px; color: var(--ink-2); font-weight: 500;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.report-btn:hover { color: var(--warn); border-color: rgba(204,50,102,0.4); background: rgba(204,50,102,0.06); }
.report-btn svg { color: var(--warn); flex-shrink: 0; }

.report-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,40,50,0.42); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px;
  animation: reportFade 0.16s ease;
}
@keyframes reportFade { from { opacity: 0; } to { opacity: 1; } }
.report-card {
  position: relative; width: min(480px, 100%);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--rad-lg); box-shadow: var(--shadow-lg);
  padding: 26px 26px 22px; text-align: left;
  animation: reportPop 0.18s cubic-bezier(0.2,0.7,0.3,1);
}
@keyframes reportPop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.report-x {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 8px; color: var(--ink-3);
  transition: background 0.12s ease, color 0.12s ease;
}
.report-x:hover { background: var(--bg-2); color: var(--ink); }

.report-h { display: flex; gap: 14px; align-items: flex-start; margin: 0 28px 18px 0; }
.report-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(204,50,102,0.10); color: var(--warn);
}
.report-h h3 { margin: 1px 0 0; font-size: 18px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.report-h p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.report-src {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; margin-bottom: 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--rad-sm);
}
.report-src .lbl { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.report-src a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--primary-2); font-weight: 500;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.report-src a:hover { text-decoration: underline; }
.report-src a svg { flex-shrink: 0; }

.report-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.report-kinds .chip {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  font-size: 12.5px; color: var(--ink-2);
  transition: all 0.12s ease;
}
.report-kinds .chip:hover { border-color: var(--ink-3); }
.report-kinds .chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); font-weight: 550; }

.report-field { display: block; margin-bottom: 14px; }
.report-field > span { display: block; font-size: 12.5px; font-weight: 550; color: var(--ink); margin-bottom: 6px; }
.report-field > span em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.report-field textarea, .report-field input {
  width: 100%; font: inherit; font-size: 13.5px; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--rad-sm);
  background: var(--bg); resize: vertical; transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.report-field textarea { min-height: 86px; line-height: 1.5; }
.report-field textarea:focus, .report-field input:focus {
  outline: none; border-color: var(--accent); background: var(--card);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Tożsamość zgłaszającego */
.report-idbox { margin-bottom: 16px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--rad-sm); }
.report-idbox .lbl { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 9px; }
.report-id { display: flex; align-items: center; gap: 11px; }
.report-idav {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff;
  font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 600;
}
.report-id-tx { display: flex; flex-direction: column; line-height: 1.25; }
.report-id-tx b { font-size: 14px; font-weight: 600; color: var(--ink); }
.report-id-tx span { font-family: 'Source Sans 3', sans-serif; font-size: 12px; color: var(--ink-3); }
.report-anon { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.report-anon-inline { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.report-anon input { width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
/* Guard: elementy przełączane atrybutem hidden (blok tożsamości/pola gościa/nota) — display:flex nadpisuje hidden. */
.report-idbox [hidden] { display: none !important; }
/* Zdjęcie profilowe (#11): <img> wypełnia dowolny wrapper awatara (.avatar/.um-av/.av/.report-idav/.big-av). */
.of-av-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.report-anon-note { margin: 10px 0 0; font-family: 'Source Sans 3', sans-serif; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.report-guest-fields { margin-top: 12px; }
.report-guest-fields .report-field:last-child { margin-bottom: 0; }

.report-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.report-actions .ghost {
  padding: 9px 16px; border-radius: var(--rad-sm); font-size: 13.5px; font-weight: 500;
  color: var(--ink-2); border: 1px solid var(--line-2); background: var(--card);
}
.report-actions .ghost:hover { background: var(--bg-2); color: var(--ink); }
.report-actions .primary {
  padding: 9px 18px; border-radius: var(--rad-sm); font-size: 13.5px; font-weight: 600;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  transition: background 0.12s ease;
}
.report-actions .primary:hover { background: var(--accent-2); }
.report-actions .primary:disabled { opacity: 0.45; cursor: not-allowed; }

.report-done { text-align: center; padding: 14px 6px 6px; }
.report-done-ic {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2);
}
.report-done h3 { margin: 0 0 6px; font-size: 18px; font-weight: 650; color: var(--ink); }
.report-done p { margin: 0 auto 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.report-done .primary {
  padding: 9px 20px; border-radius: var(--rad-sm); font-size: 13.5px; font-weight: 600;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
}
.report-done .primary:hover { background: var(--accent-2); }

/* ─── Command palette (⌘K) ───────────────────────────────────────────── */
.cmdk-mask {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,37,48,0.30);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: grid; place-items: start center;
  padding: 96px 16px 16px;
  animation: cmdkFade 0.18s ease-out;
}
@keyframes cmdkFade { from { opacity: 0; } to { opacity: 1; } }
.cmdk {
  width: 100%; max-width: 640px;
  background: var(--card); border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(10,37,48,0.5), 0 0 0 1px rgba(13,75,92,0.08);
  overflow: hidden;
  animation: cmdkRise 0.22s cubic-bezier(0.2,0.9,0.25,1.05);
}
@keyframes cmdkRise { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cmdk .row {
  display: flex; align-items: center; gap: 12px;
  padding: 0 18px; height: 60px;
  border-bottom: 1px solid var(--line);
}
.cmdk .row input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 17px; color: var(--ink); font-family: inherit;
}
.cmdk .row input::placeholder { color: var(--ink-4); }
.cmdk .row .esc {
  padding: 3px 8px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 5px; font-family: 'Source Sans 3', sans-serif; font-size: 11px; color: var(--ink-3);
}
.cmdk .list { max-height: 460px; overflow: auto; padding: 8px 0; }
.cmdk .grp-h {
  padding: 8px 18px 4px; font-family: 'Source Sans 3', sans-serif;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.cmdk .item {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 12px;
  padding: 9px 18px; align-items: center; justify-items: start; text-align: left;
  font-size: 14px; cursor: pointer; width: 100%;
}
.cmdk .item:hover, .cmdk .item.on { background: var(--bg); }
.cmdk .item.on { background: rgba(13,75,92,0.06); }
.cmdk .item .ic {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center; color: var(--primary);
  background: rgba(13,75,92,0.08);
}
.cmdk .item.k-substancja .ic { background: rgba(13,75,92,0.08);  color: var(--primary); }
.cmdk .item.k-choroba    .ic { background: rgba(20,160,133,0.12); color: var(--accent-2); }
.cmdk .item.k-kalkulator .ic { background: rgba(204,50,102,0.12);  color: var(--warn); }
.cmdk .item.k-opracowanie .ic { background: rgba(29,115,139,0.10); color: var(--primary-2); }
.cmdk .item .tt { min-width: 0; text-align: left; }
.cmdk .item .t   { font-weight: 600; letter-spacing: -0.005em; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cmdk .item .t .sec { color: var(--primary-2); font-weight: 500; }
.cmdk .item .s   { font-size: 12px; color: var(--ink-3); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cmdk .item .kind {
  justify-self: end;
  padding: 3px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--bg); color: var(--ink-3);
}
.cmdk .item .chev { color: var(--ink-4); }
.cmdk .footer-row {
  display: flex; align-items: center; gap: 16px; padding: 9px 18px;
  background: var(--bg); border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3); font-family: 'Source Sans 3', sans-serif;
}
.cmdk .footer-row span { display: inline-flex; align-items: center; gap: 6px; }
.cmdk .footer-row kbd {
  padding: 1px 5px; background: var(--card); border: 1px solid var(--line);
  border-radius: 4px; font-size: 10.5px; color: var(--ink-2);
}
.cmdk .empty {
  padding: 28px 24px 32px; text-align: center; color: var(--ink-3);
}
.cmdk .empty h4 { font-size: 14px; color: var(--ink); margin: 0 0 6px; }
.cmdk .empty p { font-size: 12.5px; margin: 0; line-height: 1.5; }
.cmdk .empty .askai {
  margin-top: 16px; padding: 14px;
  background: var(--accent-soft); border-radius: 10px;
  border: 1px solid rgba(20,160,133,0.25);
  display: flex; align-items: center; gap: 10px;
  text-align: left;
}
.cmdk .empty .askai .ic { color: var(--accent-2); flex-shrink: 0; }
.cmdk .empty .askai .t { font-weight: 600; font-size: 13px; color: var(--ink); }
.cmdk .empty .askai .s { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.cmdk .empty .askai .arr { margin-left: auto; color: var(--accent-2); flex-shrink: 0; }

/* ─── AI answer card (shown inside ⌘K when streaming) ──────────────────── */
.cmdk .ai {
  padding: 16px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,160,133,0.05), transparent);
}
.cmdk .ai .ai-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-family: 'Source Sans 3', sans-serif;
  color: var(--accent-2); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.cmdk .ai .ai-h .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
.cmdk .ai .body { font-size: 13.5px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; }
.cmdk .ai .body .cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: vcBlink 1s steps(2) infinite; }
.cmdk .ai .disclaim { margin-top: 10px; font-size: 11px; color: var(--ink-3); font-style: italic; }
@keyframes vcBlink { 50% { opacity: 0; } }

/* ─── Mobile bottom tab bar (only on small screens) ───────────────────── */
.bottombar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: 76px; padding: 8px 0 18px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}
.bottombar .tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--ink-3); font-size: 10.5px; font-weight: 500;
}
.bottombar .tab.on { color: var(--primary); }
.bottombar .tab .ic-w { height: 26px; display: grid; place-items: center; }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .app { grid-template-columns: 187px minmax(0, 1fr); }
  .feat  { grid-template-columns: repeat(3, 1fr); }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .az .pop { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }

  /* Sidebar becomes off-canvas drawer */
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.22s ease-out;
    box-shadow: 0 16px 40px rgba(10,37,48,0.25);
  }
  .sidebar.open { transform: translateX(0); }
  .drawer-mask.open { display: block; }

  .utilbar { gap: 10px; padding: 0 14px; height: 56px; }
  .utilbar .menu { display: inline-flex; }
  .utilbar .crumbs { display: none; }
  .utilbar .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .utilbar .mobile-brand img { height: 22px; width: auto; }
  .utilbar .search-trigger { min-width: 0; flex: 1; padding: 0 10px; height: 36px; }
  .utilbar .search-trigger .kbd { display: none; }
  .utilbar .search-trigger > span:not(.ic) { display: none; }
  .utilbar .icon-btn { display: none; }
  .utilbar .user-chip { padding: 4px; }
  .utilbar .user-chip .ww, .utilbar .user-chip .chev { display: none; }
  .utilbar .notif { display: none; }

  .main { padding: 8px 16px 100px; }
  .hero { padding: 8px 0 16px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.02em; }
  .hero .lead { font-size: 15px; }
  .mega { height: 56px; padding: 0 4px 0 16px; border-radius: 14px; }
  .mega input { font-size: 15.5px; padding: 0 10px; }
  .mega .scope { display: none; }
  .mega .go { height: 44px; padding: 0 14px; font-size: 13px; }
  .mega .go span { display: none; }

  .section { margin-top: 36px; }
  .section .head h2 { font-size: 19px; }
  .shift { padding: 22px; border-radius: 18px; }
  .shift .title { font-size: 21px; }
  .shift .actions { gap: 6px; }
  .shift .btn { height: 38px; padding: 0 12px; font-size: 13px; }

  .tools { grid-template-columns: repeat(3, 1fr); }
  .two-up { grid-template-columns: 1fr; }
  .feat   { grid-template-columns: 1fr; }
  .card.large .ph, .card .ph { height: 180px; }
  .card.large h3 { font-size: 19px; }

  .az { padding: 18px; }
  .az .letters { grid-template-columns: repeat(7, 1fr); }
  .az .pop { grid-template-columns: 1fr; }

  .videos { grid-template-columns: 1fr; }

  .footer .inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer .about { grid-column: 1 / -1; }

  .bottombar { display: grid; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 460px) {
  .tools { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 26px; }
  .cmdk-mask { padding: 56px 12px 12px; }
}

/* ─── Komentarze społeczności (homepage) ──────────────────────────────── */
.comments { display: flex; flex-direction: column; gap: 16px; }

/* composer */
.cmt-composer {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 12px 14px;
}
.cmt-av {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.cmt-av.a1 { background: linear-gradient(135deg, #0d4b5c, #1d738b); }
.cmt-av.a2 { background: linear-gradient(135deg, #0a6a55, #14a085); }
.cmt-av.a3 { background: linear-gradient(135deg, #1d738b, #14a085); }
.cmt-av.a4 { background: linear-gradient(135deg, #155e6e, #0a6a55); }
.cmt-composer .field { flex: 1; min-width: 0; }
.cmt-composer input {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; padding: 10px 16px;
  outline: 0; transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
}
.cmt-composer input:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(29,115,139,0.12); background: #fff; }
.cmt-composer .post {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 10px 16px; border-radius: 999px; background: var(--primary); color: #fff;
  font-size: 13.5px; font-weight: 600; transition: background 0.12s, opacity 0.12s;
}
.cmt-composer .post:hover { background: var(--primary-d); }
.cmt-composer .post:disabled { opacity: 0.45; cursor: not-allowed; }
.cmt-composer .post svg { width: 16px; height: 16px; }

/* list */
.cmt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmt {
  display: grid; grid-template-columns: 40px 1fr; gap: 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 16px 18px; transition: border-color 0.13s, box-shadow 0.13s;
}
.cmt:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.cmt.fresh { border-color: rgba(20,160,133,0.35); background: rgba(20,160,133,0.04); }
.cmt .av { width: 40px; height: 40px; }
.cmt .who { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cmt .who .nm { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cmt .who .rl {
  font-family: 'Source Sans 3', sans-serif; font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.02em;
}
.cmt .who .tm { margin-left: auto; font-size: 11.5px; color: var(--ink-4); white-space: nowrap; }
.cmt .ctx {
  display: inline-flex; align-items: center; gap: 6px; margin: 5px 0 7px;
  font-size: 11.5px; color: var(--primary-2); font-weight: 500;
}
.cmt .ctx svg { width: 13px; height: 13px; }
.cmt .ctx:hover { color: var(--primary); }
.cmt .txt { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.cmt .foot {
  display: flex; align-items: center; gap: 16px; margin-top: 11px;
  font-size: 12px; color: var(--ink-3);
}
.cmt .foot button {
  display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 500;
  padding: 2px 0; transition: color 0.12s;
}
.cmt .foot button:hover { color: var(--primary-2); }
.cmt .foot button svg { width: 15px; height: 15px; }
.cmt .foot .like.on { color: var(--accent-2); font-weight: 600; }
.cmt .foot .reply-ct { margin-left: auto; }

@media (max-width: 900px) {
  .cmt-list { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .cmt-composer .post span { display: none; }
  .cmt-composer .post { padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOTYW „WYSPA" – wdrożenie globalne (wariant G)
   Aktywny tylko gdy treść strony jest w <main> BEZ klasy .main – czyli na
   wszystkich stronach docelowych / narzędziach. Strona główna i indeksy
   używają <main class="main"> i pozostają w jasnym motywie.
   Efekt: ciemne, petrolowe menu + biała „wyspa" treści (maks. 1300 px,
   wyśrodkowana, z odstępem od menu). Prawy rail zostaje na jasnym tle.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Ciemne menu ─────────────────────────────────────────────────────── */
.app .sidebar {
  background: linear-gradient(180deg, #0d4b5c 0%, #0a3f47 100%);
  border-right-color: rgba(255,255,255,0.08);
}
.app .sidebar .brand { border-bottom-color: rgba(255,255,255,0.12); }
.app .sidebar .brand-logo .full,
.app .sidebar .brand-logo .mini { filter: brightness(0) invert(1); }
.app .sidebar .collapse-btn { color: rgba(255,255,255,0.55); }
.app .sidebar .collapse-btn:hover { background: rgba(255,255,255,0.10); color: #fff; }
.app .sidebar .nav .grp-h { color: rgba(255,255,255,0.5); }
.app .sidebar .nav a { color: rgba(255,255,255,0.82); }
.app .sidebar .nav a .ic { color: rgba(255,255,255,0.6); }
.app .sidebar .nav a .num { color: rgba(255,255,255,0.45); }
.app .sidebar .nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.app .sidebar .nav a:hover .ic { color: #fff; }
.app .sidebar .nav a.on { background: rgba(255,255,255,0.13); color: #fff; }
.app .sidebar .nav a.on .ic { color: #fff; }
.app .sidebar .nav a.on .num { color: rgba(255,255,255,0.8); }
.app .sidebar .nav a.on::before { background: var(--accent); }
.app .sidebar .user { background: rgba(255,255,255,0.10); }
.app .sidebar .user .nm { color: #fff; }
.app .sidebar .user .rl,
.app .sidebar .user .chev { color: rgba(255,255,255,0.6); }
.app .sidebar.collapsed .nav .grp-h { background: rgba(255,255,255,0.14); }

/* ── Centrowanie ≤1300 + odstęp od menu (padding wrapu = odstęp) ─────── */
:is(.app:has(.colmain > main:not(.main)), [data-theme="island"] .app) :is(.article-wrap, .calc-wrap, .player-wrap, .rev-wrap, .kont-wrap) {
  max-width: 1300px; margin: 0 auto;
}

/* ── Biała „wyspa" treści ────────────────────────────────────────────── */
:is(.app:has(.colmain > main:not(.main)), [data-theme="island"] .app) :is(.content, .calc-main, .vw-main, .rev-main, .kont-main) {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(13,75,92,0.05), 0 20px 44px -30px rgba(13,75,92,0.22);
  max-width: none; width: 100%; margin: 0;
  padding: 32px 40px 46px;
  /* Zagnieżdżone białe karty stają się delikatnym, płaskim panelem na bieli */
  --card: var(--bg);
  --shadow-sm: none;
  --shadow-md: none;
}
:is(.app:has(.colmain > main:not(.main)), [data-theme="island"] .app) .content { padding-top: 30px; }

@media (max-width: 860px) {
  :is(.app:has(.colmain > main:not(.main)), [data-theme="island"] .app) :is(.content, .calc-main, .vw-main, .rev-main, .kont-main) {
    padding: 22px 18px 32px; border-radius: 14px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   „Pod pierwszy stół" – sekcja nowych narzędzi na stronie głównej
   ───────────────────────────────────────────────────────────────────────── */
.ftt {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.ftt-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 9px;
  transition: border-color 0.14s, transform 0.14s, box-shadow 0.14s;
}
.ftt-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ftt-card .ftt-top { display: flex; align-items: center; justify-content: space-between; }
.ftt-card .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13,75,92,0.08); color: var(--primary);
}
.ftt-card:nth-child(2) .ic { background: rgba(204,50,102,0.12); color: var(--warn); }
.ftt-card:nth-child(3) .ic { background: rgba(20,160,133,0.12); color: var(--accent); }
.ftt-card:nth-child(4) .ic { background: rgba(20,160,133,0.12); color: var(--accent-2); }
.ftt-card:nth-child(5) .ic { background: rgba(29,115,139,0.12); color: var(--primary-2); }
.ftt-card .tag {
  font-family: 'Source Sans 3', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px;
  background: var(--bg); color: var(--ink-3);
}
.ftt-card .tag.new { background: rgba(20,160,133,0.12); color: var(--accent-2); }
.ftt-card .t { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; margin-top: 2px; }
.ftt-card .d { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.ftt-card .go {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--primary-2);
}
.ftt-card .go svg { width: 15px; height: 15px; }
.ftt-card:hover .go { color: var(--primary); }

@media (max-width: 1100px) { .ftt { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .ftt { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .ftt { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
   DRUK – globalny (wszystkie strony oparte o shell .app/.colmain)
   Chowa chrome i ads, rozkłada treść na pełną szerokość, unika łamania kart.
   Szczegółowe reguły druku narzędzi/raportów żyją w tools-extra.css i
   przeglad-styles.css i mają pierwszeństwo dla swoich widoków.
   ═══════════════════════════════════════════════════════════════════════ */
@media print {
  html, body { background: #fff !important; }
  .app { display: block !important; }
  .colmain { display: block !important; }
  .sidebar, .utilbar, .bottombar, .footer, .drawer-mask,
  .rail, .report-btn,
  .ad-billboard, .ad-billboard-top, .ad-rail, .ad-slot,
  .cmdk-mask, .report-mask { display: none !important; }
  .main, .content, .article-wrap, .calc-wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; }
  /* „Wyspa" treści spłaszczona do czystej kartki */
  .content, .calc-main, .vw-main, .rev-main, .kont-main {
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important;
  }
  a { color: inherit !important; text-decoration: none !important; }
  section, .card, table, .ec, .tip-box, .learn { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}

/* === Akapity i listy w treści: Source Sans Pro (czytelne) === */
p, .entry-content li, .calc-prose li, .md-body li, .eeat-log li { font-family: 'Source Sans 3','Source Sans Pro',-apple-system,BlinkMacSystemFont,sans-serif; }

/* === Tytuły: jednolicie Onest, bez kursywy/zieleni w akcentach === */
h1 .em, h2 .em, h3 .em, h4 .em, h5 .em, h6 .em {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  color: inherit !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Organiczne „blob" tła ikon – GLOBALNIE
   Dotyczy dekoracyjnych kontenerów glifu-w-kafelku w całym serwisie
   (indeksy bazy wiedzy .calc-card, huby, narzędzia, karty). Prefiks `body`
   podnosi specyficzność ponad bazowe reguły w arkuszach stron, więc działa
   niezależnie od kolejności ładowania. Rozmiary bez zmian – tylko kształt.
   Świadomie POMIJAMY: checkboxy/radio, awatary, numery kroków/przypisów,
   przyciski akcji, strzałki karuzeli, pierścienie postępu, przełącznik menu.
   3 warianty kształtu cyklowane przez nth-child rodzica dla naturalnej wariacji.
   ═══════════════════════════════════════════════════════════════════════ */
body .calc-card .ic,
body .ftt-card .ic,
body .cmdk .item .ic,
body .pr-gap .ic, body .pr-cl-h .ic, body .pr-path .ic,
body .tip-box .ic,
body .area-card .ic, body .doc-card .ic,
body .tri-sym .ic, body .tri-prod .pr .ic, body .avl-alt .ic, body .avl-status .ic, body .mat-card .ic,
body .mh-ic, body .mh-pool-item .ic,
body .kf-note .ic, body .rail-links a .ic,
body .pat-card .ic, body .pat-exclude .hd .ic,
body .kp-tip .ic, body .kn-prize .ic {
  border-radius: 46% 54% 57% 43% / 43% 47% 53% 57%;
}
body .calc-card:nth-child(3n+2) .ic,
body .ftt-card:nth-child(3n+2) .ic,
body .cmdk .item:nth-child(3n+2) .ic,
body .area-card:nth-child(3n+2) .ic, body .doc-card:nth-child(3n+2) .ic,
body .tri-sym:nth-child(3n+2) .ic, body .mat-card:nth-child(3n+2) .ic,
body .avl-alt:nth-child(3n+2) .ic,
body .pat-card:nth-child(3n+2) .ic,
body .pr-gap:nth-child(3n+2) .ic,
body .rail-links a:nth-child(3n+2) .ic,
body .tri-prod .pr:nth-child(3n+2) .ic,
body .mh-row:nth-child(3n+2) .mh-ic {
  border-radius: 58% 42% 45% 55% / 55% 46% 54% 45%;
}
body .calc-card:nth-child(3n+3) .ic,
body .ftt-card:nth-child(3n+3) .ic,
body .cmdk .item:nth-child(3n+3) .ic,
body .area-card:nth-child(3n+3) .ic, body .doc-card:nth-child(3n+3) .ic,
body .tri-sym:nth-child(3n+3) .ic, body .mat-card:nth-child(3n+3) .ic,
body .avl-alt:nth-child(3n+3) .ic,
body .pat-card:nth-child(3n+3) .ic,
body .pr-gap:nth-child(3n+3) .ic,
body .rail-links a:nth-child(3n+3) .ic,
body .tri-prod .pr:nth-child(3n+3) .ic,
body .mh-row:nth-child(3n+3) .mh-ic {
  border-radius: 50% 50% 40% 60% / 60% 40% 55% 45%;
}

/* ─── Podpis: Autor + Redakcja naukowa (eeat.jsx · wzorzec P1, korekta 13.07.2026: wyspa koloru bez krawędzi) ── */
.eeat {
  margin-top: 34px; padding: 20px 22px 16px;
  background: rgba(29,115,139,0.055); border: none;
  border-radius: 14px;
}
.eeat-people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 0; }
.eeat-people.solo { grid-template-columns: 1fr; }
.eeat-person { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.eeat-person .av {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-2); color: var(--primary-d); border: 1px solid var(--line-2);
  font-family: 'Onest', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.02em;
}
.eeat-person .av svg { width: 15px; height: 15px; }
.eeat-person a.av { text-decoration: none; overflow: hidden; }
.eeat-person .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* Fallback autora „Redakcja opieka.farm" = sygnet marki (contain, nie rozciągać) */
.eeat-person .av.av-brand img { width: 64%; height: 64%; object-fit: contain; border-radius: 0; }
.eeat-person .who { min-width: 0; }
.eeat-person .role {
  font-family: 'Source Sans 3', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4);
}
.eeat-person a.nm {
  display: block; font-family: 'Onest', sans-serif; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); letter-spacing: -0.01em; margin: 1px 0 0; text-decoration: none;
}
.eeat-person a.nm:hover { color: var(--primary-2); text-decoration: underline; text-underline-offset: 2px; }
.eeat-person .meta {
  font-family: 'Source Sans 3', sans-serif; font-size: 11.5px; line-height: 1.4; color: var(--ink-3);
}
.eeat-person .meta .pos { display: block; }
.eeat-person .meta .pwz { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--ink-3); }
.eeat-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 6px 20px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: 'Source Sans 3', sans-serif; font-size: 11.5px; color: var(--ink-3);
}
.eeat-foot b { font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.eeat-foot .eeat-dates { display: inline-flex; gap: 6px 18px; flex-wrap: wrap; }

/* Dyskretny scrollbar sidebara (petrol) — zamiast systemowego białego */
.sidebar, .sidebar * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.16) transparent; }
.sidebar::-webkit-scrollbar, .sidebar *::-webkit-scrollbar { width: 4px; height: 4px; }
.sidebar::-webkit-scrollbar-track, .sidebar *::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb, .sidebar *::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 99px; }
.sidebar::-webkit-scrollbar-thumb:hover, .sidebar *::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
.eeat-foot .schema { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; color: var(--ink-4); letter-spacing: 0.03em; }
.eeat-report {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Onest', sans-serif; font-size: 11.5px; font-weight: 600;
  color: var(--ink-3); background: none; border: 1px solid var(--line-2);
  border-radius: 8px; padding: 4px 10px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.eeat-report:hover { color: var(--warn); border-color: var(--warn); }
.eeat-log { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.eeat-log summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Source Sans 3', sans-serif; font-size: 11.5px; font-weight: 600; color: var(--ink-3);
}
.eeat-log summary::before { content: '›'; font-size: 13px; color: var(--ink-4); transition: transform .15s; }
.eeat-log[open] summary::before { transform: rotate(90deg); }
.eeat-log summary::-webkit-details-marker { display: none; }
.eeat-log summary:hover { color: var(--primary-2); }
.eeat-log ul { list-style: none; margin: 8px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.eeat-log li {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-family: 'Source Sans 3', sans-serif; font-size: 12px; line-height: 1.45; color: var(--ink-2);
}
.eeat-log li .d { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--ink-3); flex: none; }
.eeat-log li .by { font-size: 11px; color: var(--ink-3); }
.eeat-log li .by::before { content: '· '; color: var(--ink-4); }
@media (max-width: 640px) {
  .eeat-people { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Spis treści inline pod leadem ─────────────────────────────────── */
.inline-toc {
  margin: 4px 0 30px; padding: 0;
  border: 0; border-radius: 0; background: none;
}
.it-label {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px;
}
.it-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.it-list .it a {
  display: flex; align-items: baseline; gap: 10px; padding: 5px 0;
  text-decoration: none; color: var(--ink-3); transition: color 0.12s;
  border-bottom: 0;
}
.it-list .it a:hover { color: var(--primary); }
.it-list .it a:hover .it-dot { background: var(--accent-2); }
.it-list .it .it-dot {
  flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--line-2); transform: translateY(-2px); transition: background 0.12s;
}
.it-list .it .it-t {
  font-family: 'Onest', -apple-system, sans-serif; font-size: 13.5px;
  line-height: 1.4; font-weight: 500; text-wrap: pretty;
}
/* Wcięcie dla H3 (podsekcje) */
.it-list .it.sub a { padding-left: 16px; }
.it-list .it.sub .it-dot { width: 4px; height: 4px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.it-list .it.sub .it-t { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.it-list .it.on a { color: var(--primary); }
.it-list .it.on .it-dot { background: var(--accent-2); box-shadow: none; }
.it-list { max-height: 158px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); padding-bottom: 18px; }
.it-list::-webkit-scrollbar { width: 5px; }
.it-list::-webkit-scrollbar-track { background: transparent; }
.it-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.it-list::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }
@media (max-width: 620px) {
  .it-list { display: flex; flex-direction: column; }
}

/* ── Źródła nad blokiem autorskim (proste, numerowane) ─────────────── */
.refs-plain { margin: 30px 0 0; }
section.refs-plain h2, .refs-plain h2 { font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 8px; color: var(--ink-3); }
.refs-plain .refs-clip { position: relative; }
.refs-plain .refs-clip.clamped { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 84px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 84px), transparent 100%); }
.refs-plain .refs-clip.clamped::after { content: none; }
section.refs-plain ol, .refs-plain ol { list-style: decimal; counter-reset: none; margin: 0 0 0 18px; padding: 0; max-width: none; font-size: 13px; line-height: 1.5; color: var(--ink-3); font-family: 'Source Sans 3', sans-serif; }
section.refs-plain ol li, .refs-plain ol li { display: list-item; grid-template-columns: none; border: 0; margin-bottom: 4px; padding: 0 0 0 3px; }
.refs-plain ol li::marker { font-weight: 500; color: var(--ink-4); }
.refs-plain a { color: var(--primary-2); text-decoration: none; }
.refs-plain a:hover { color: var(--primary); }
.refs-more { position: relative; z-index: 1; display: block; margin: -30px auto 0; padding: 5px 13px; border-radius: 999px; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 11.5px; color: var(--ink-3); background: var(--card); border: 0; box-shadow: 0 1px 2px rgba(10,37,48,0.07), 0 2px 6px rgba(10,37,48,0.05); cursor: pointer; transition: color .12s, box-shadow .12s; }
.refs-more:hover { color: var(--primary); box-shadow: 0 1px 3px rgba(10,37,48,0.1), 0 3px 9px rgba(10,37,48,0.07); }

/* Piśmiennictwo z wtyczki footnotes-3pg (system źródeł site-wide) — nagłówek „Źródła" + zwijanie >3.
   Wtyczka daje tylko strukturę (.fn3pg-footnotes-wrap / ol.fn3pg-footnotes), wygląd należy do motywu. */
.fn3pg-footnotes-wrap h2.fn3pg-head { font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 8px; color: var(--ink-3); }
.fn3pg-footnotes-wrap.of-clamped { position: relative; }
.fn3pg-footnotes-wrap.of-clamped ol.fn3pg-footnotes { max-height: 8.4em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 46px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 46px), transparent 100%); }
.fn3pg-refs-more { position: relative; z-index: 1; display: block; margin: -22px auto 0; padding: 5px 13px; border-radius: 999px; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 11.5px; color: var(--ink-3); background: var(--card); border: 0; box-shadow: 0 1px 2px rgba(10,37,48,0.07), 0 2px 6px rgba(10,37,48,0.05); cursor: pointer; transition: color .12s, box-shadow .12s; }
.fn3pg-refs-more:hover { color: var(--primary); box-shadow: 0 1px 3px rgba(10,37,48,0.1), 0 3px 9px rgba(10,37,48,0.07); }
/* Numer przypisu inline (ref wtyczki) — bez bolda, w kolorze petrol (nadpisuje .fn3pg-ref{font-weight:700}
   wtyczki; wyższa specyficzność, wygrywa niezależnie od kolejności enqueue). #38 */
sup.fn3pg-sup a.fn3pg-ref { font-weight: 400; color: var(--primary); }
sup.fn3pg-sup a.fn3pg-ref:hover { text-decoration: underline; }

/* ── Przycisk „Zapisz" (serduszko) w nagłówku treści ─────────────────── */
.calc-detail-h.has-save { position: relative; }
.save-dock { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-h .save-dock { grid-column: 1 / -1; }
.save-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; flex: none; transition: color .12s, border-color .12s, background .12s; }
.save-btn .ic { display: grid; place-items: center; }
.save-btn .ic svg { width: 16px; height: 16px; }
.save-btn:hover { border-color: var(--warn); color: var(--warn); }
.save-btn.on { border-color: rgba(204,50,102,0.35); background: rgba(204,50,102,0.07); color: var(--warn); }
@media (max-width: 860px) { .save-btn { padding: 0 10px; } }

/* ── Udostępnij (#22) — dropdown obok „Zapisz" ─────────────────────────── */
.share-menu { position: relative; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; flex: none; transition: color .12s, border-color .12s, background .12s; }
.share-btn .ic { display: grid; place-items: center; }
.share-btn .ic svg { width: 16px; height: 16px; }
.share-btn:hover, .share-btn.on { border-color: var(--primary-2); color: var(--primary); }
@media (max-width: 860px) { .share-btn { padding: 0 10px; } }
.share-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 212px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 2px; }
.share-pop[hidden] { display: none; } /* guard: display:flex nadpisuje atrybut hidden */
.share-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; border: none; background: none; color: var(--ink-2); font-family: 'Source Sans 3', sans-serif; font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; width: 100%; text-decoration: none; transition: background .1s, color .1s; }
.share-item:hover { background: var(--bg-2); color: var(--ink); }
.share-item .ic { display: grid; place-items: center; flex: none; color: var(--ink-3); }
.share-item .ic svg { width: 17px; height: 17px; }
.share-item:hover .ic { color: var(--primary); }

/* Toast (kopiowanie linku / potwierdzenia) — site-wide */
.of-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-family: 'Source Sans 3', sans-serif; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; transition: opacity .25s, transform .25s; z-index: 9999; pointer-events: none; }
.of-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Tabela kanoniczna site-wide (decyzja 13.07.2026, rewizja): „booktabs z separatorami" ───
   Gruba linia 2.5px u góry i dołu (--ink), cienka 1px pod nagłówkiem (--ink),
   separatory wierszy 1px (--line); nagłówek Source Sans 3 600 14px bez wersalików;
   treść Source Sans 3 jednej wielkości, 1. kolumna bez boldu; mono TYLKO dla
   wartości (.mono/.num). Za szeroka tabela scrolluje się w poziomie.
   Wyjątek: petrolowy thead w ściągach do druku (sciagi-print). */
table.t { width: 100%; border-collapse: collapse; margin: 14px 0 24px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t th, table.t td { text-align: left; padding: 8px 14px; font-size: 14.5px; line-height: 1.5; }
table.t th:first-child, table.t td:first-child { padding-left: 6px; }
table.t th:last-child, table.t td:last-child { padding-right: 6px; }
table.t thead th, table.t tr:first-child th { color: var(--ink); font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; padding-top: 9px; padding-bottom: 9px; border-top: 2.5px solid var(--ink); border-bottom: 1px solid var(--ink); }
table.t tbody tr { border-bottom: 1px solid var(--line); }
table.t tbody tr:last-child { border-bottom: 2.5px solid var(--ink); }

/* Tabele w treści edytora Gutenberg (wpisy/opracowania/case-study) — ten sam wygląd co table.t.
   Gutenberg renderuje <figure class="wp-block-table"><table class="has-fixed-layout">, bez klasy .t. */
.entry-content .wp-block-table { margin: 14px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .wp-block-table table, .entry-content > table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content table th, .entry-content table td { text-align: left; padding: 8px 14px; font-size: 14.5px; line-height: 1.5; border: 0; }
.entry-content table th:first-child, .entry-content table td:first-child { padding-left: 6px; }
.entry-content table th:last-child, .entry-content table td:last-child { padding-right: 6px; }
.entry-content table thead th, .entry-content table tr:first-child th { color: var(--ink); font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; padding-top: 9px; padding-bottom: 9px; border-top: 2.5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.entry-content table tbody tr { border-bottom: 1px solid var(--line); }
.entry-content table tbody tr:last-child { border-bottom: 2.5px solid var(--ink); }
/* Podpis tabeli (Gutenberg <figcaption>) — jak caption z handoff: mały, wyszarzony, nad tabelą
   (order:-1). Bez tego dziedziczy duży rozmiar prozy. */
.entry-content .wp-block-table { display: flex; flex-direction: column; }
.entry-content .wp-block-table > table { order: 0; }
.entry-content .wp-block-table figcaption,
.entry-content figcaption.wp-element-caption { order: -1; text-align: left; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); margin: 0 0 8px; padding: 0; font-family: 'Source Sans 3', sans-serif; }
table.t td { vertical-align: top; color: var(--ink-2); font-family: 'Source Sans 3', sans-serif; }
table.t td:first-child { color: var(--ink); }
table.t td b { font-weight: 600; color: var(--ink); }
table.t td .num, table.t td .mono { font-family: 'IBM Plex Mono', monospace; font-size: 0.9em; }
table.t caption, .interp caption { caption-side: top; text-align: left; font-size: 12.5px; color: var(--ink-3); padding: 0 0 8px; font-family: 'Source Sans 3', sans-serif; }

/* #20: wzorzec tabel handoff dla wrapperów BEZ .entry-content — .calc-prose (karty bazy wiedzy
   po konwersji na Gutenberg + kalkulator + dyżur/interakcje/zamienniki) oraz .vw-desc (opis wideo).
   Wyklucza .interp (tabela interpretacji kalkulatora/zamienników/interakcji — WŁASNY wzorzec).
   SIL (.silc) i ściągi (.p-table) leżą poza tymi wrapperami → nietknięte. */
.calc-prose .wp-block-table, .vw-desc .wp-block-table { margin: 14px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
.calc-prose .wp-block-table > table, .vw-desc .wp-block-table > table { order: 0; }
.calc-prose table:not(.interp), .vw-desc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.calc-prose table:not(.interp) th, .calc-prose table:not(.interp) td,
.vw-desc table th, .vw-desc table td { text-align: left; padding: 8px 14px; font-size: 14.5px; line-height: 1.5; border: 0; vertical-align: top; color: var(--ink-2); font-family: 'Source Sans 3', sans-serif; }
.calc-prose table:not(.interp) th:first-child, .calc-prose table:not(.interp) td:first-child,
.vw-desc table th:first-child, .vw-desc table td:first-child { padding-left: 6px; color: var(--ink); }
.calc-prose table:not(.interp) th:last-child, .calc-prose table:not(.interp) td:last-child,
.vw-desc table th:last-child, .vw-desc table td:last-child { padding-right: 6px; }
.calc-prose table:not(.interp) thead th, .calc-prose table:not(.interp) tr:first-child th,
.vw-desc table thead th, .vw-desc table tr:first-child th { color: var(--ink); font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; padding-top: 9px; padding-bottom: 9px; border-top: 2.5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.calc-prose table:not(.interp) tbody tr, .vw-desc table tbody tr { border-bottom: 1px solid var(--line); }
.calc-prose table:not(.interp) tbody tr:last-child, .vw-desc table tbody tr:last-child { border-bottom: 2.5px solid var(--ink); }
.calc-prose table:not(.interp) td b, .vw-desc table td b { font-weight: 600; color: var(--ink); }
.calc-prose table:not(.interp) td .num, .calc-prose table:not(.interp) td .mono,
.vw-desc table td .num, .vw-desc table td .mono { font-family: 'IBM Plex Mono', monospace; font-size: 0.9em; }
.calc-prose .wp-block-table figcaption, .calc-prose figcaption.wp-element-caption,
.vw-desc .wp-block-table figcaption, .vw-desc figcaption.wp-element-caption { order: -1; text-align: left; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); margin: 0 0 8px; padding: 0; font-family: 'Source Sans 3', sans-serif; }
.calc-prose table:not(.interp) caption, .vw-desc table caption { caption-side: top; text-align: left; font-size: 12.5px; color: var(--ink-3); padding: 0 0 8px; font-family: 'Source Sans 3', sans-serif; }

/* ─── Placeholder obrazu w nagłówku (hero) — site-wide (także prawo/receptura) ─── */
.has-fig { position: relative; min-height: 176px; padding-right: 328px; }
.calc-head-fig { position: absolute; top: 32px; right: 0; width: 296px; aspect-ratio: 16 / 10; border-radius: var(--rad-lg); overflow: hidden; }
.calc-head-fig image-slot { display: block; width: 100%; height: 100%; }
.calc-head-fig .ic { color: color-mix(in srgb, var(--primary) 42%, transparent); display: grid; }
.calc-head-fig .ic svg { width: 44px; height: 44px; }
.calc-head-fig .lb { font-family: 'Source Sans 3', sans-serif; font-size: 12px; letter-spacing: 0.04em; color: color-mix(in srgb, var(--primary) 52%, transparent); }
@media (max-width: 1080px) { .has-fig { padding-right: 0; min-height: 0; } .calc-head-fig { display: none; } }

/* Publiczny badge przeglądu redakcyjnego (#35) — w bloku EEAT, widoczny dla wszystkich */
.eeat-badge-row{margin-top:13px;padding-top:11px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.eeat-badge{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-ui,'Onest',sans-serif);font-size:12px;font-weight:600;color:var(--accent-2);background:var(--accent-soft);border-radius:99px;padding:5px 12px}
.eeat-badge svg{width:14px;height:14px;flex:0 0 auto}
.eeat-badge.pending{color:var(--primary);background:rgba(29,115,139,.10)}
