/* =====================================================================================================
   BestCoders — skórka strony wsparcia (WordPress + Divi + SupportCandy) w stylu nowej strony bestcoders.eu:
   granatowe tło, kremowy tekst, akcent "lampka", nagłówki w wąskiej Bricolage Grotesque, etykiety i przyciski
   w JetBrains Mono, tekst w Plus Jakarta Sans. Jasny wariant, gdy system ma jasny motyw.
   Włączana tylko na stronach wsparcia (klasa body.bc-skin — functions.php). Kolory SupportCandy z ustawień
   "Wygląd" wtyczki są nadpisywane (te mają !important, więc tu też — z mocniejszym selektorem).
   ===================================================================================================== */

/* ---------- czcionki (pliki w bc-skin/fonts, latin + latin-ext — polskie znaki) ---------- */
@font-face {
  font-family: 'BC Display';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(fonts/bricolage-grotesque-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'BC Display';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'BC Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'BC Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'BC Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'BC Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- kolory i czcionki: motywy i akcenty jak w panelu wyglądu na bestcoders.eu ----------
   Wybór na <html data-bc-theme data-bc-accent> (bc-skin.js; ten sam klucz "bestcoders-wyglad" i wartości co na bestcoders.eu,
   przekazywane też w linku "?wyglad=motyw.akcent"). "auto" = jasny lub ciemny jak w systemie. */
body.bc-skin {
  /* akcent: wersja na ciemne tło (--bc-a-dark) i na jasne (--bc-a-light), jako trójki RGB — domyślnie "lampka" */
  --bc-a-dark: 243 194 61;
  --bc-a-light: 158 101 0;
  --bc-acc-rgb: var(--bc-a-dark);
  --bc-acc: rgb(var(--bc-acc-rgb));
  --bc-acc-text: #1a1408;
  /* motyw "Noc" (domyślny) */
  --bc-ink-rgb: 242 237 227;
  --bc-bg: #141824;
  --bc-surface: #1a1f2d;
  --bc-surface-2: #232938;
  --bc-panel: #121722;
  --bc-text: rgb(var(--bc-ink-rgb));
  --bc-muted: #aaa59c;
  --bc-border: rgb(var(--bc-ink-rgb) / 0.16);
  --bc-line: rgb(var(--bc-ink-rgb) / 0.08);
  --bc-blob-1: rgb(236 138 92 / 0.1);
  --bc-blob-2: rgb(var(--bc-acc-rgb) / 0.07);
  --bc-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.3);
  --bc-font: 'BC Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bc-display: 'BC Display', 'Arial Narrow', Impact, sans-serif;
  --bc-mono: 'BC Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
html[data-bc-theme='grafit'] body.bc-skin {
  --bc-bg: #15171c;
  --bc-surface: #1c1f26;
  --bc-surface-2: #262a33;
  --bc-panel: #111318;
  --bc-blob-1: rgb(255 255 255 / 0.04);
  --bc-blob-2: rgb(255 255 255 / 0.03);
}
html[data-bc-theme='lupek'] body.bc-skin {
  --bc-ink-rgb: 236 239 244;
  --bc-bg: #30343d;
  --bc-surface: #393e48;
  --bc-surface-2: #444a55;
  --bc-panel: #2a2e36;
  --bc-muted: #b4b9c3;
  --bc-border: rgb(var(--bc-ink-rgb) / 0.18);
  --bc-blob-1: rgb(255 255 255 / 0.05);
  --bc-blob-2: rgb(255 255 255 / 0.035);
  --bc-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 8px 24px rgb(0 0 0 / 0.22);
}
html[data-bc-theme='onyks'] body.bc-skin {
  --bc-ink-rgb: 237 238 242;
  --bc-bg: #09090b;
  --bc-surface: #121215;
  --bc-surface-2: #1b1b20;
  --bc-panel: #0e0e11;
  --bc-muted: #9a9ba3;
  --bc-border: rgb(var(--bc-ink-rgb) / 0.12);
  --bc-blob-1: rgb(var(--bc-acc-rgb) / 0.07);
  --bc-blob-2: rgb(120 120 255 / 0.05);
  --bc-shadow: 0 1px 2px rgb(0 0 0 / 0.5), 0 8px 24px rgb(0 0 0 / 0.5);
}
/* jasne: "Dzień" (kremowy papier) i "Mgła" (chłodna szarość); akcent w ciemniejszej wersji */
html[data-bc-theme='dzien'] body.bc-skin,
html[data-bc-theme='mgla'] body.bc-skin {
  --bc-acc-rgb: var(--bc-a-light);
  --bc-acc-text: #fff;
  --bc-ink-rgb: 27 31 42;
  --bc-bg: #f4f1ea;
  --bc-surface: #ffffff;
  --bc-surface-2: #ebe6dc;
  --bc-panel: #ffffff;
  --bc-muted: #5d6270;
  --bc-border: rgb(var(--bc-ink-rgb) / 0.14);
  --bc-blob-1: rgb(236 138 92 / 0.16);
  --bc-blob-2: rgb(79 155 232 / 0.12);
  --bc-shadow: 0 1px 2px rgb(27 31 42 / 0.06), 0 8px 24px rgb(27 31 42 / 0.08);
  color-scheme: light;
}
html[data-bc-theme='mgla'] body.bc-skin {
  --bc-ink-rgb: 30 33 40;
  --bc-bg: #eceef1;
  --bc-surface-2: #e0e3e8;
  --bc-muted: #5c616b;
  --bc-blob-1: rgb(30 33 40 / 0.04);
  --bc-blob-2: rgb(30 33 40 / 0.03);
}
/* "Auto" przy jasnym systemie = "Dzień" */
@media (prefers-color-scheme: light) {
  html:not([data-bc-theme]) body.bc-skin,
  html[data-bc-theme='auto'] body.bc-skin {
    --bc-acc-rgb: var(--bc-a-light);
    --bc-acc-text: #fff;
    --bc-ink-rgb: 27 31 42;
    --bc-bg: #f4f1ea;
    --bc-surface: #ffffff;
    --bc-surface-2: #ebe6dc;
    --bc-panel: #ffffff;
    --bc-muted: #5d6270;
    --bc-border: rgb(var(--bc-ink-rgb) / 0.14);
    --bc-blob-1: rgb(236 138 92 / 0.16);
    --bc-blob-2: rgb(79 155 232 / 0.12);
    --bc-shadow: 0 1px 2px rgb(27 31 42 / 0.06), 0 8px 24px rgb(27 31 42 / 0.08);
    color-scheme: light;
  }
}
/* akcenty */
html[data-bc-accent='swit'] body.bc-skin {
  --bc-a-dark: 236 138 92;
  --bc-a-light: 176 76 28;
}
html[data-bc-accent='objazd'] body.bc-skin {
  --bc-a-dark: 79 155 232;
  --bc-a-light: 26 96 176;
}
html[data-bc-accent='las'] body.bc-skin {
  --bc-a-dark: 61 210 128;
  --bc-a-light: 20 122 66;
}
html[data-bc-accent='wrzos'] body.bc-skin {
  --bc-a-dark: 178 148 247;
  --bc-a-light: 108 66 196;
}
html[data-bc-accent='malina'] body.bc-skin {
  --bc-a-dark: 239 106 150;
  --bc-a-light: 178 36 88;
}
html[data-bc-accent='limonka'] body.bc-skin {
  --bc-a-dark: 200 242 76;
  --bc-a-light: 82 120 0;
}
body.bc-skin {
  transition: background-color 0.4s;
}

/* ---------- strona ---------- */
html body.bc-skin,
body.bc-skin #page-container,
body.bc-skin #et-main-area,
body.bc-skin #main-content,
body.bc-skin .et_pb_section,
body.bc-skin .et-l--body .et_pb_section {
  background: var(--bc-bg) !important;
  color: var(--bc-text);
}
body.bc-skin,
body.bc-skin p,
body.bc-skin li,
body.bc-skin td,
body.bc-skin input,
body.bc-skin select,
body.bc-skin textarea,
body.bc-skin button {
  font-family: var(--bc-font) !important;
}
body.bc-skin h1,
body.bc-skin h2,
body.bc-skin h3,
body.bc-skin h4 {
  font-family: var(--bc-display) !important;
  font-stretch: 82%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--bc-text) !important;
}
body.bc-skin a {
  color: var(--bc-acc);
}
body.bc-skin ::selection {
  background: rgb(var(--bc-acc-rgb) / 0.3);
}
/* delikatne plamy koloru w tle, jak na bestcoders.eu */
body.bc-skin::before {
  content: '';
  position: fixed;
  inset: -20vmax;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 15% 20%, var(--bc-blob-1), transparent 60%),
    radial-gradient(40vmax 40vmax at 85% 80%, var(--bc-blob-2), transparent 60%);
}
body.bc-skin #page-container {
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
}

/* ---------- nagłówek i stopka Divi — zastąpione naszymi (functions.php) ---------- */
body.bc-skin .et-l--header,
body.bc-skin .et-l--footer,
body.bc-skin #main-header,
body.bc-skin #top-header,
body.bc-skin #main-footer {
  display: none !important;
}

.bc-header,
.bc-footer {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 28px;
  font-family: var(--bc-font);
}
.bc-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bc-text) !important;
  text-decoration: none !important;
}
.bc-logo svg {
  width: 42px;
  height: 30px;
}
.bc-logo .braces {
  fill: currentColor;
}
.bc-logo .face {
  fill: var(--bc-acc);
}
.bc-logo-text {
  font: 800 20px/1 var(--bc-display);
  font-stretch: 82%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.bc-logo-text b {
  color: var(--bc-acc);
  font-weight: 800;
}
.bc-header-title {
  font: 600 11px/1 var(--bc-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bc-acc);
}
.bc-header-title::before {
  content: '{ ';
}
.bc-header-title::after {
  content: ' }';
}
.bc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgb(var(--bc-ink-rgb) / 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--bc-text) !important;
  font: 600 12px/1 var(--bc-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.bc-btn:hover {
  border-color: var(--bc-acc);
  background: rgb(var(--bc-acc-rgb) / 0.1);
}
.bc-btn.primary {
  border-color: var(--bc-acc);
  background: var(--bc-acc);
  color: var(--bc-acc-text) !important;
  font-weight: 700;
}
.bc-header .bc-btn:first-of-type {
  margin-left: auto;
}

/* ---------- panel wyglądu (zębatka w nagłówku) — motyw i akcent, jak na bestcoders.eu ---------- */
.bc-look {
  position: relative;
}
.bc-look-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--bc-muted);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.4s;
}
.bc-look-btn:hover,
.bc-look-btn[aria-expanded='true'] {
  color: var(--bc-acc);
  border-color: rgb(var(--bc-ink-rgb) / 0.28);
}
.bc-look-btn[aria-expanded='true'] svg {
  transform: rotate(60deg);
}
.bc-look-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s;
}
.bc-look-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  width: 280px;
  padding: 16px;
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  background: var(--bc-surface);
  box-shadow: var(--bc-shadow);
}
.bc-look-panel[hidden] {
  display: none;
}
.bc-look-panel fieldset {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.bc-look-panel fieldset:last-of-type {
  margin-bottom: 0;
}
.bc-look-panel legend {
  margin-bottom: 8px;
  color: var(--bc-muted);
  font: 600 10.5px/1.3 var(--bc-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bc-look-panel legend b {
  color: var(--bc-text);
  font-weight: 600;
}
.bc-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bc-swatch {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgb(var(--bc-ink-rgb) / 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}
.bc-swatch:hover {
  transform: scale(1.1);
}
.bc-swatch[aria-pressed='true'] {
  box-shadow:
    0 0 0 2px var(--bc-surface),
    0 0 0 4px var(--bc-acc);
}

.bc-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 40px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--bc-line);
}
.bc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.bc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  color: var(--bc-text) !important;
  font: 600 11px/1 var(--bc-mono);
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.bc-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--bc-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bc-chip:hover {
  border-color: var(--bc-acc);
  background: rgb(var(--bc-acc-rgb) / 0.1);
}
.bc-chip:hover svg {
  stroke: var(--bc-acc);
}
.bc-footer-note {
  flex-basis: 100%;
  margin: 0;
  font: 600 10.5px/1.4 var(--bc-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bc-muted);
}
@media (max-width: 640px) {
  .bc-header {
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .bc-header-title {
    display: none;
  }
  .bc-header .bc-btn {
    min-height: 38px;
    padding: 8px 14px;
  }
  .bc-header .bc-btn.primary {
    display: none;
  }
  .bc-footer {
    padding: 24px 16px 32px;
  }
  .bc-chips {
    margin: 0;
  }
}

/* ---------- treść strony (Divi) ---------- */
body.bc-skin .et_pb_row {
  width: min(1264px, calc(100% - 32px)) !important;
  max-width: none !important;
}
body.bc-skin .et_pb_section {
  padding: 24px 0 !important;
}
body.bc-skin .et_pb_text,
body.bc-skin .et_pb_text_inner {
  color: var(--bc-text);
}

/* zakładki Divi (Zgłoszenia / Nowe / Kalendarz) jako przełącznik-pastylki, jak na bestcoders.eu */
body.bc-skin .et_pb_tabs {
  border: 0 !important;
  background: none !important;
}
body.bc-skin ul.et_pb_tabs_controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 18px !important;
  padding: 4px !important;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  background: none !important;
}
body.bc-skin ul.et_pb_tabs_controls::after {
  display: none !important;
}
body.bc-skin .et_pb_tabs_controls li {
  border: 0 !important;
  background: none !important;
}
body.bc-skin .et_pb_tabs_controls li a {
  display: block;
  padding: 10px 18px !important;
  border-radius: 999px;
  color: var(--bc-muted) !important;
  font: 600 11.5px/1 var(--bc-mono) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 0.2s,
    background-color 0.2s;
}
body.bc-skin .et_pb_tabs_controls li a:hover {
  color: var(--bc-text) !important;
}
body.bc-skin .et_pb_tabs_controls li.et_pb_tab_active {
  background: var(--bc-acc) !important;
  border-radius: 999px;
}
body.bc-skin .et_pb_tabs_controls li.et_pb_tab_active a {
  color: var(--bc-acc-text) !important;
  font-weight: 700 !important;
}
body.bc-skin .et_pb_all_tabs {
  padding: 0 !important;
  background: none !important;
}
body.bc-skin .et_pb_tab {
  padding: 0 !important;
}

/* =====================================================================================================
   SupportCandy
   ===================================================================================================== */
body.bc-skin #wpsc-container,
body.bc-skin .wpsc-modal {
  font-family: var(--bc-font);
  color: var(--bc-text);
}
html body.bc-skin .wpsc-shortcode-container {
  border: 1px solid var(--bc-border) !important;
  border-radius: 22px;
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
  box-shadow: var(--bc-shadow);
}
/* pasek nawigacji SupportCandy */
html body.bc-skin .wpsc-header {
  background: var(--bc-panel) !important;
  border-bottom: 1px solid var(--bc-line);
}
body.bc-skin .wpsc-menu-list,
body.bc-skin .wpsc-header-nav,
body.bc-skin .wpsc-humbargar,
body.bc-skin .wpsc-humbargar-title {
  color: var(--bc-text) !important;
  font-family: var(--bc-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html body.bc-skin .wpsc-humbargar-menu {
  background: var(--bc-surface) !important;
}
html body.bc-skin .wpsc-humbargar-menu-item:hover,
html body.bc-skin .wpsc-humbargar-menu-item.active,
html body.bc-skin .wpsc-setting-nav:hover,
html body.bc-skin .wpsc-setting-nav.active,
html body.bc-skin .wpsc-popover-menu-item:hover,
html body.bc-skin .wpsc-ap-nav.active,
html body.bc-skin .wpsc-ap-nav:hover {
  background: rgb(var(--bc-acc-rgb) / 0.14) !important;
  color: var(--bc-text) !important;
}

/* logowanie */
html body.bc-skin .wpsc-auth-container .auth-inner-container {
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px) !important;
  border: 1px solid var(--bc-border) !important;
  border-radius: 22px;
  background: var(--bc-panel) !important;
  color: var(--bc-text);
}
body.bc-skin .wpsc-auth-container h2 {
  margin-bottom: 20px !important;
  font-size: clamp(26px, 3vw, 34px) !important;
}
body.bc-skin .wpsc-auth-container .auth-links a {
  font-size: 14px;
}

/* pola formularzy */
html body.bc-skin #wpsc-container input[type='text'],
html body.bc-skin #wpsc-container input[type='email'],
html body.bc-skin #wpsc-container input[type='password'],
html body.bc-skin #wpsc-container input[type='number'],
html body.bc-skin #wpsc-container input[type='date'],
html body.bc-skin #wpsc-container select,
html body.bc-skin #wpsc-container textarea,
html body.bc-skin .wpsc-modal input[type='text'],
html body.bc-skin .wpsc-modal input[type='password'],
html body.bc-skin .wpsc-modal select,
html body.bc-skin .wpsc-modal textarea {
  min-height: 44px;
  padding: 10px 14px !important;
  border: 1px solid var(--bc-border) !important;
  border-radius: 12px !important;
  background: var(--bc-bg) !important;
  color: var(--bc-text) !important;
  font: 400 15px/1.4 var(--bc-font) !important;
  box-shadow: none !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
html body.bc-skin #wpsc-container input:focus,
html body.bc-skin #wpsc-container select:focus,
html body.bc-skin #wpsc-container textarea:focus,
html body.bc-skin .wpsc-modal input:focus,
html body.bc-skin .wpsc-modal select:focus,
html body.bc-skin .wpsc-modal textarea:focus {
  border-color: var(--bc-acc) !important;
  box-shadow: 0 0 0 3px rgb(var(--bc-acc-rgb) / 0.2) !important;
  outline: none;
}
body.bc-skin #wpsc-container ::placeholder,
body.bc-skin .wpsc-modal ::placeholder {
  color: var(--bc-muted);
  opacity: 1;
}
html body.bc-skin #wpsc-container .checkbox-container label::before,
html body.bc-skin #wpsc-container .radio-container label::before,
html body.bc-skin .wpsc-modal .checkbox-container label::before,
html body.bc-skin .wpsc-modal .radio-container label::before {
  border-color: var(--bc-border) !important;
  background: var(--bc-bg);
}
body.bc-skin .wpsc-tff-label,
body.bc-skin .wpsc-tff label,
body.bc-skin .wpsc-lg-label,
body.bc-skin .info-label {
  color: var(--bc-muted) !important;
  font: 600 11px/1.4 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* przyciski jak na bestcoders.eu: pastylki, JetBrains Mono, wersaliki */
html body.bc-skin .wpsc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font: 600 12px/1 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    filter 0.2s,
    background-color 0.2s,
    border-color 0.2s;
}
html body.bc-skin .wpsc-button.small {
  min-height: 34px;
  padding: 7px 14px !important;
  font-size: 11px !important;
}
html body.bc-skin .wpsc-button.primary,
html body.bc-skin .wpsc-it-thread-view-btn.active,
html body.bc-skin .wpsc-add-ticket-tag {
  border: 1px solid var(--bc-acc) !important;
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
  font-weight: 700 !important;
}
html body.bc-skin .wpsc-button.primary:hover {
  filter: brightness(1.06);
}
html body.bc-skin .wpsc-button.secondary,
html body.bc-skin .wpsc-close-ticket-tag {
  border: 1px solid rgb(var(--bc-ink-rgb) / 0.28) !important;
  background: transparent !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-button.secondary:hover {
  border-color: var(--bc-acc) !important;
  background: rgb(var(--bc-acc-rgb) / 0.1) !important;
}
html body.bc-skin .wpsc-link {
  color: var(--bc-acc) !important;
}

/* lista zgłoszeń */
html body.bc-skin .wpsc-search input {
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-ticket-list-tbl {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--bc-line);
  border-radius: 14px;
}
html body.bc-skin .wpsc-ticket-list-tbl th {
  background: var(--bc-panel) !important;
  color: var(--bc-muted) !important;
  font: 600 11px/1.3 var(--bc-mono) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bc-line);
}
html body.bc-skin .wpsc-ticket-list-tbl tr:nth-child(odd),
html body.bc-skin .wpsc-ticket-list-tbl tr:nth-child(even) {
  background: transparent !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-ticket-list-tbl tbody tr:nth-child(even) {
  background: rgb(var(--bc-ink-rgb) / 0.03) !important;
}
html body.bc-skin .wpsc-ticket-list-tbl tbody tr:hover {
  background: rgb(var(--bc-acc-rgb) / 0.1) !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-ticket-list-tbl td {
  border-color: var(--bc-line) !important;
}
body.bc-skin .wpsc-pagination-txt,
body.bc-skin .wpsc-ticket-pagination-header,
body.bc-skin .wpsc-ticket-pagination-footer {
  color: var(--bc-muted);
  font-family: var(--bc-mono);
  font-size: 12px;
}

/* pojedyncze zgłoszenie: wątek, notatki, logi, panele boczne */
html body.bc-skin .wpsc-it-subject-container h2,
html body.bc-skin .wpsc-section-header {
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-thread {
  border: 1px solid var(--bc-line);
  border-radius: 16px;
  background: var(--bc-panel);
}
html body.bc-skin .wpsc-thread.reply,
html body.bc-skin .wpsc-thread.reply h2 {
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-thread.reply .thread-time,
html body.bc-skin .wpsc-thread.reply .wpsc-thread-logs,
html body.bc-skin .wpsc-thread.reply .actions {
  color: var(--bc-muted) !important;
}
html body.bc-skin .wpsc-thread.note {
  border-color: rgb(var(--bc-acc-rgb) / 0.35);
  background: rgb(var(--bc-acc-rgb) / 0.06);
}
html body.bc-skin .wpsc-thread.note,
html body.bc-skin .wpsc-thread.note h2 {
  color: var(--bc-acc) !important;
}
html body.bc-skin .wpsc-thread.note .email-address,
html body.bc-skin .wpsc-thread.note .thread-time,
html body.bc-skin .wpsc-thread.note .wpsc-thread-logs,
html body.bc-skin .wpsc-thread.note .actions {
  color: var(--bc-muted) !important;
}
html body.bc-skin .wpsc-thread.log .thread-body {
  color: var(--bc-muted) !important;
}
html body.bc-skin .wpsc-it-widget:not(.wpsc-itw-ticket-summary) {
  border-color: var(--bc-line) !important;
  border-radius: 16px;
  overflow: hidden;
}
html body.bc-skin .wpsc-widget-header {
  background: var(--bc-panel) !important;
  color: var(--bc-acc) !important;
  border-bottom: 1px solid var(--bc-line);
}
html body.bc-skin .wpsc-widget-header h2 {
  color: var(--bc-acc) !important;
  font-size: 15px !important;
}
html body.bc-skin .wpsc-widget-body {
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-widget-body .info-list-item .info-label {
  color: var(--bc-muted) !important;
}
html body.bc-skin .wpsc-popover-menu > .wpsc-reply-close {
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-up-tab > .active {
  border-top-color: var(--bc-acc) !important;
}
body.bc-skin .wpsc-tag,
body.bc-skin .wpsc-ticket-tag {
  border-radius: 999px !important;
  font-family: var(--bc-mono);
  font-size: 11px;
}

/* okna dialogowe */
html body.bc-skin .wpsc-modal .overlay {
  background: rgb(10 12 18 / 0.8) !important;
  backdrop-filter: blur(6px);
}
html body.bc-skin .wpsc-modal .inner-container {
  overflow: hidden;
  border: 1px solid var(--bc-border);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.45);
}
html body.bc-skin .wpsc-modal-header {
  background: var(--bc-panel) !important;
  color: var(--bc-text) !important;
  font: 800 22px/1.1 var(--bc-display) !important;
  font-stretch: 82%;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bc-line);
}
html body.bc-skin .wpsc-modal-body,
html body.bc-skin .wpsc-modal-footer {
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-modal-body .info-label {
  color: var(--bc-muted) !important;
}

/* biblioteki pomocnicze SupportCandy: listy wyboru (select2), kalendarz (flatpickr), tabele (DataTables) */
body.bc-skin .select2-container--default .select2-selection--single,
body.bc-skin .select2-container--default .select2-selection--multiple {
  min-height: 44px;
  border: 1px solid var(--bc-border) !important;
  border-radius: 12px !important;
  background: var(--bc-bg) !important;
}
body.bc-skin .select2-container--default .select2-selection__rendered {
  color: var(--bc-text) !important;
  line-height: 42px !important;
}
body.bc-skin .select2-dropdown {
  border: 1px solid var(--bc-border) !important;
  border-radius: 12px !important;
  background: var(--bc-surface) !important;
  color: var(--bc-text);
  overflow: hidden;
}
body.bc-skin .select2-results__option--highlighted[aria-selected],
body.bc-skin .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: rgb(var(--bc-acc-rgb) / 0.18) !important;
  color: var(--bc-text) !important;
}
body.bc-skin .flatpickr-calendar {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  box-shadow: var(--bc-shadow);
}
body.bc-skin .flatpickr-day.selected,
body.bc-skin .flatpickr-day.selected:hover {
  background: var(--bc-acc);
  border-color: var(--bc-acc);
  color: var(--bc-acc-text);
}
body.bc-skin .dataTables_wrapper {
  color: var(--bc-text);
}

/* =====================================================================================================
   SupportCandy — dopracowanie na podstawie prawdziwych widoków po zalogowaniu (lista, zgłoszenie, formularz, profil)
   ===================================================================================================== */

/* menu SupportCandy (Zgłoszenia / Nowe / Profil / Wyloguj) — pastylki jak w menu bestcoders.eu */
html body.bc-skin .wpsc-header {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px !important;
}
body.bc-skin .wpsc-menu-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px !important;
  border-radius: 999px;
  color: var(--bc-muted) !important;
  font: 600 11.5px/1 var(--bc-mono) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s;
}
body.bc-skin .wpsc-menu-list svg {
  width: 15px !important;
  height: 15px !important;
}
body.bc-skin .wpsc-menu-list:hover {
  color: var(--bc-text) !important;
  background: rgb(var(--bc-ink-rgb) / 0.06);
}
html body.bc-skin .wpsc-menu-list.active {
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
  font-weight: 700 !important;
}
body.bc-skin .wpsc-body {
  padding: clamp(14px, 2.4vw, 24px) !important;
  color: var(--bc-text);
}

/* wyszukiwarka i filtry nad listą */
body.bc-skin .wpsc-search .search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  background: var(--bc-bg);
}
body.bc-skin .wpsc-search .search-field svg {
  width: 15px;
  color: var(--bc-muted);
}
html body.bc-skin .wpsc-search .search-field input {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.bc-skin .wpsc-filter-container {
  gap: 12px;
}
body.bc-skin .wpsc-filter-item label {
  display: block;
  margin-bottom: 6px;
  color: var(--bc-muted);
  font: 600 10.5px/1.3 var(--bc-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* tabela zgłoszeń */
body.bc-skin .wpsc-tl-th-inner,
body.bc-skin .wpsc-tl-th-label {
  color: var(--bc-muted);
}
body.bc-skin .wpsc-tl-sort-icon svg {
  color: var(--bc-muted);
  opacity: 0.6;
}
body.bc-skin .wpsc-tl-sorted-asc .wpsc-tl-sort-icon svg,
body.bc-skin .wpsc-tl-sorted-desc .wpsc-tl-sort-icon svg {
  color: var(--bc-acc);
  opacity: 1;
}
body.bc-skin .wpsc-ticket-list-tbl th,
body.bc-skin .wpsc-ticket-list-tbl td {
  padding: 12px 14px !important;
  vertical-align: middle;
}
body.bc-skin .wpsc_tl_tr {
  cursor: pointer;
  transition: background-color 0.15s;
}
body.bc-skin .wpsc_tl_tr td:first-child {
  color: var(--bc-acc);
  font: 600 13px/1 var(--bc-mono);
}
/* statusy i priorytety — kolory z ustawień SupportCandy zostają (mają znaczenie), zmienia się kształt */
html body.bc-skin .wpsc-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font: 700 10.5px/1.2 var(--bc-mono) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.bc-skin .wpsc-pagination-btn svg {
  color: var(--bc-acc);
}
body.bc-skin .wpsc-pagination-btn.disabled svg {
  color: var(--bc-muted);
  opacity: 0.4;
}
body.bc-skin .wpsc-popover-menu,
body.bc-skin .gpopover {
  border: 1px solid var(--bc-border) !important;
  border-radius: 14px !important;
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
  box-shadow: var(--bc-shadow) !important;
  overflow: hidden;
}
body.bc-skin .wpsc-popover-menu-item {
  padding: 10px 14px !important;
  color: var(--bc-text) !important;
}
body.bc-skin .gpopover .arrow,
body.bc-skin .gpopover .arrow-shadow {
  display: none;
}

/* zgłoszenie: temat, wątek (awatar + treść), panele */
body.bc-skin .wpsc-it-subject-container h2 {
  font-size: clamp(26px, 3.2vw, 40px) !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
}
body.bc-skin .wpsc-thread {
  display: flex;
  gap: 14px;
  padding: 16px 18px !important;
  margin-bottom: 12px !important;
}
body.bc-skin .wpsc-thread .thread-avatar .wpsc-av {
  border-radius: 50% !important;
  font-family: var(--bc-mono) !important;
  font-weight: 700;
}
body.bc-skin .wpsc-thread .thread-body {
  flex: 1;
  min-width: 0;
}
html body.bc-skin .wpsc-thread .user-name {
  font: 700 16px/1.3 var(--bc-font) !important;
  font-stretch: normal;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.bc-skin .wpsc-thread .thread-type {
  color: var(--bc-muted);
  font: 400 13px/1.3 var(--bc-font);
  text-transform: none;
}
body.bc-skin .wpsc-thread .thread-time {
  font: 500 11.5px/1.3 var(--bc-mono);
  letter-spacing: 0.04em;
}
body.bc-skin .wpsc-thread .thread-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--bc-text);
}
body.bc-skin .wpsc-thread .thread-text a {
  color: var(--bc-acc);
}
/* odpowiedź od zespołu (agent) — wyróżniona z lewej paskiem akcentu */
html body.bc-skin .wpsc-thread.reply.agent {
  border-left: 3px solid var(--bc-acc);
}
body.bc-skin .wpsc-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px !important;
}
html body.bc-skin .wpsc-widget-header h2 {
  font: 600 11px/1.3 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase !important;
}
body.bc-skin .wpsc-itw-toggle svg {
  color: var(--bc-muted);
}
body.bc-skin .wpsc-widget-body {
  padding: 12px 16px !important;
}
body.bc-skin .info-list-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--bc-line);
}
body.bc-skin .info-list-item:last-child {
  border-bottom: 0;
}
body.bc-skin .info-val {
  color: var(--bc-text);
  font-size: 14px;
}
body.bc-skin .wpsc-it-mob-widget-trigger-btn {
  padding: 12px 16px;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  background: var(--bc-panel);
  color: var(--bc-text);
}
body.bc-skin .wpsc-it-mob-widget-trigger-btn h2 {
  font-size: 16px !important;
}

/* odpowiedź i nowe zgłoszenie: edytor (TinyMCE) i akcje pod nim */
body.bc-skin .mce-tinymce,
body.bc-skin .mce-panel {
  border-color: var(--bc-border) !important;
  background: var(--bc-panel) !important;
  box-shadow: none !important;
}
body.bc-skin .mce-tinymce {
  border-radius: 14px !important;
  overflow: hidden;
}
body.bc-skin .mce-btn {
  border-radius: 8px !important;
  background: none !important;
}
body.bc-skin .mce-btn button,
body.bc-skin .mce-btn .mce-ico,
body.bc-skin .mce-btn .mce-txt {
  color: var(--bc-text) !important;
}
body.bc-skin .mce-btn:hover,
body.bc-skin .mce-btn.mce-active {
  background: rgb(var(--bc-acc-rgb) / 0.14) !important;
}
body.bc-skin .wpsc-editor-actions {
  gap: 14px;
}
body.bc-skin .wpsc-editor-actions .wpsc-link {
  font: 600 11.5px/1.3 var(--bc-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.bc-skin .wpsc-editor-attachment {
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--bc-bg);
}

/* formularz nowego zgłoszenia */
body.bc-skin .wpsc-tff {
  margin-bottom: 16px !important;
}
body.bc-skin .wpsc-tff-label .name {
  color: var(--bc-text);
}
body.bc-skin .wpsc-tff .required-indicator {
  color: var(--bc-acc);
}
body.bc-skin .wpsc-tff .extra-info {
  display: block;
  margin: 2px 0 8px;
  color: var(--bc-muted);
  font-size: 13px;
}
body.bc-skin .submit-container {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
body.bc-skin .wpsc-error-msg,
body.bc-skin .wpsc-it-reply-error {
  color: #ff7b72 !important;
}

/* profil */
body.bc-skin .wpsc-up-container {
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--bc-line);
  border-radius: 18px;
  background: var(--bc-panel);
}
body.bc-skin .wpsc-up-picture .wpsc-av {
  border-radius: 50% !important;
  font-family: var(--bc-mono) !important;
}
body.bc-skin .wpsc-up-name {
  font: 800 24px/1.1 var(--bc-display);
  font-stretch: 82%;
  text-transform: uppercase;
}
body.bc-skin .wpsc-up-email {
  color: var(--bc-muted);
  font-family: var(--bc-mono);
  font-size: 13px;
}

/* ---------- poprawki po pierwszym podglądzie: mniejsze przyciski i menu, pojedyncza ramka wyszukiwarki,
   czytelne listy rozwijane ---------- */
html body.bc-skin .wpsc-menu-list,
html body.bc-skin .wpsc-menu-list * {
  font-size: 11px !important;
  letter-spacing: 0.1em;
}
html body.bc-skin .wpsc-menu-list {
  min-height: 34px;
  padding: 6px 12px !important;
  gap: 7px;
}
html body.bc-skin .wpsc-menu-list svg {
  width: 13px !important;
  height: 13px !important;
}
html body.bc-skin .wpsc-button {
  min-height: 34px;
  padding: 7px 14px !important;
  font-size: 11px !important;
}
html body.bc-skin .wpsc-button.small {
  min-height: 30px;
  padding: 5px 12px !important;
  font-size: 10.5px !important;
}
/* wyszukiwarka: ramkę ma tylko obudowa, pole w środku bez ramki i tła */
html body.bc-skin #wpsc-container .wpsc-search .search-field {
  min-height: 38px;
}
html body.bc-skin #wpsc-container .wpsc-search .search-field input,
html body.bc-skin #wpsc-container .wpsc-search .search-field input:focus {
  flex: 1;
  min-height: 0 !important;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body.bc-skin #wpsc-container .wpsc-search .search-field:focus-within {
  border-color: var(--bc-acc);
  box-shadow: 0 0 0 3px rgb(var(--bc-acc-rgb) / 0.2);
}
/* listy rozwijane: stała wysokość z tekstem na środku (SupportCandy ustawia niską wysokość, przez co tekst był ucięty) */
html body.bc-skin #wpsc-container select,
html body.bc-skin .wpsc-modal select {
  height: 38px !important;
  min-height: 38px;
  padding: 0 30px 0 12px !important;
  line-height: 36px !important;
  font-size: 14px !important;
}
body.bc-skin #wpsc-container select option,
body.bc-skin .wpsc-modal select option {
  background: var(--bc-surface);
  color: var(--bc-text);
}
html body.bc-skin #wpsc-container .wpsc-filter-item select {
  min-width: 150px;
}

/* ---------- poprawki widoku zgłoszenia na ciemnym motywie ---------- */
/* ramka edytora: tło jak strona (treść edytora barwi bc-skin.js), bez białego prześwitu przy wczytywaniu */
html body.bc-skin .mce-edit-area,
html body.bc-skin .mce-edit-area iframe {
  background: var(--bc-bg) !important;
}
html body.bc-skin .mce-statusbar {
  border-top: 1px solid var(--bc-line) !important;
  background: var(--bc-panel) !important;
}
html body.bc-skin .mce-statusbar .mce-path-item,
html body.bc-skin .mce-statusbar .mce-wordcount {
  color: var(--bc-muted) !important;
}
/* pole tekstowe bez edytora (np. widok HTML) */
html body.bc-skin #wpsc-container textarea.wpsc_textarea {
  min-height: 160px;
}

/* linki akcji nad tematem (Odśwież | Zamknij | Duplikuj…) — jak etykiety: mono, wersaliki, mniejsze */
html body.bc-skin .wpsc-it-action-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  margin-bottom: 14px !important;
}
html body.bc-skin .wpsc-it-action-container .wpsc-link {
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--bc-muted) !important;
  font: 600 11px/1.2 var(--bc-mono) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.15s,
    background-color 0.15s;
}
html body.bc-skin .wpsc-it-action-container .wpsc-link:hover {
  color: var(--bc-acc) !important;
  background: rgb(var(--bc-acc-rgb) / 0.1);
}
html body.bc-skin .wpsc-it-action-container .action-devider {
  color: var(--bc-line);
}

/* przełącznik "All activities / Conversation" — pastylka jak przełączniki na bestcoders.eu, bez białego tła */
html body.bc-skin *:has(> .wpsc-it-thread-view-btn) {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--bc-border) !important;
  border-radius: 999px !important;
  background: transparent !important;
}
html body.bc-skin .wpsc-it-thread-view-btn {
  padding: 7px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bc-muted) !important;
  font: 600 11px/1 var(--bc-mono) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
html body.bc-skin .wpsc-it-thread-view-btn:hover {
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-it-thread-view-btn.active {
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
  font-weight: 700 !important;
}

/* pod edytorem: linki (Załącz pliki, Wstaw makro) i przycisk wysyłki w jednym rzędzie, z oddechem od wątku */
html body.bc-skin .wpsc-it-editor-action-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 22px;
}
html body.bc-skin .wpsc-it-editor-submit {
  margin-left: auto;
}
html body.bc-skin .wpsc-it-thread-section-container {
  margin-top: 18px;
}

/* ---------- nagłówek: dane kontaktowe (chipy jak w stopce) zamiast przycisków ---------- */
.bc-header .bc-chips {
  margin-left: auto;
}
.bc-header .bc-chip {
  min-height: 36px;
  padding: 7px 12px;
}
/* na węższych ekranach w nagłówku same ikony — pełne dane są w stopce */
@media (max-width: 900px) {
  .bc-header .bc-chip {
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    justify-content: center;
    gap: 0;
    font-size: 0;
  }
}

/* ---------- edytor odpowiedzi: ramka jak pola formularza, przy pisaniu obwódka w kolorze akcentu ---------- */
html body.bc-skin .mce-tinymce {
  border: 1px solid var(--bc-border) !important;
  border-radius: 14px !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
html body.bc-skin .mce-tinymce:focus-within,
html body.bc-skin .mce-tinymce.mce-focus {
  border-color: var(--bc-acc) !important;
  box-shadow: 0 0 0 3px rgb(var(--bc-acc-rgb) / 0.2) !important;
}
/* pasek narzędzi oddzielony od pola pisania cienką linią */
html body.bc-skin .mce-top-part::before {
  box-shadow: none !important;
}
html body.bc-skin .mce-top-part {
  border-bottom: 1px solid var(--bc-line);
}

/* ---------- próbki w panelu wyglądu jak na bestcoders.eu: bez ramki (obwódka cieniem wewnętrznym), żeby tło
   "Auto" (pół na pół) nie powtarzało się pod ramką; wszystkie 7 w jednym rzędzie ---------- */
html body.bc-skin .bc-look-panel {
  width: 300px;
}
html body.bc-skin .bc-swatches {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 6px;
}
html body.bc-skin .bc-swatch {
  flex: none;
  width: 32px;
  height: 32px;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-origin: border-box;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 0 0 1px rgb(var(--bc-ink-rgb) / 0.28);
  appearance: none;
}
html body.bc-skin .bc-swatch[aria-pressed='true'] {
  box-shadow:
    inset 0 0 0 1px rgb(var(--bc-ink-rgb) / 0.28),
    0 0 0 2px var(--bc-surface),
    0 0 0 4px var(--bc-acc);
}

/* edytor: dopóki skórka nie pokoloruje pola (ułamek sekundy), ramka edytora jest niewidoczna zamiast błyskać bielą */
html body.bc-skin .mce-edit-area iframe {
  opacity: 0;
  transition: opacity 0.15s;
  /* zabezpieczenie: gdyby skrypt nie zadziałał, pole i tak pokaże się po 1,5 s */
  animation: bc-show 0s linear 1.5s forwards;
}
@keyframes bc-show {
  to {
    opacity: 1;
  }
}
html body.bc-skin .mce-edit-area iframe.bc-styled {
  opacity: 1;
}

/* =====================================================================================================
   Zakładka "Cost settlement" (dodatek SupportCandy Customer Cost) i "Calendar" (kalendarz Google)
   ===================================================================================================== */
html body.bc-skin #sc-customer-cost-report {
  max-width: 760px !important;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--bc-border);
  border-radius: 22px;
  background: var(--bc-surface);
  box-shadow: var(--bc-shadow);
}
/* przycisk kopiowania — jak przyciski na bestcoders.eu (obrys, mono, wersaliki) */
html body.bc-skin #copy-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px !important;
  border: 1px solid rgb(var(--bc-ink-rgb) / 0.28) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bc-text) !important;
  font: 600 11px/1 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
html body.bc-skin #copy-table-btn::before {
  content: '';
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body.bc-skin #copy-table-btn:hover {
  border-color: var(--bc-acc) !important;
  background: rgb(var(--bc-acc-rgb) / 0.1) !important;
}
html body.bc-skin #copy-status {
  color: var(--bc-acc) !important;
  font: 600 11px/1 var(--bc-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* tabela rozliczeń */
html body.bc-skin #sc-customer-cost-report table {
  width: 100%;
  margin-top: 6px;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent !important;
  color: var(--bc-text);
}
html body.bc-skin #sc-customer-cost-report th,
html body.bc-skin #sc-customer-cost-report td {
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bc-line) !important;
  background: transparent !important;
}
html body.bc-skin #sc-customer-cost-report thead th {
  color: var(--bc-muted) !important;
  font: 600 10.5px/1.3 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html body.bc-skin #sc-customer-cost-report tbody td {
  color: var(--bc-text) !important;
  font-size: 15px;
}
html body.bc-skin #sc-customer-cost-report tbody tr:nth-child(even) td {
  background: rgb(var(--bc-ink-rgb) / 0.03) !important;
}
html body.bc-skin #sc-customer-cost-report tbody tr:hover td {
  background: rgb(var(--bc-acc-rgb) / 0.08) !important;
}
/* e-mail i kwoty w kroju etykiet; kwoty z cyframi równej szerokości (wyrównane w kolumnie) */
html body.bc-skin #sc-customer-cost-report tbody td:nth-child(2) {
  color: var(--bc-muted) !important;
  font-family: var(--bc-mono);
  font-size: 13px;
}
html body.bc-skin #sc-customer-cost-report td:last-child,
html body.bc-skin #sc-customer-cost-report th:last-child {
  font-family: var(--bc-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* suma — wyróżniona */
html body.bc-skin #sc-customer-cost-report tfoot th {
  border-bottom: 0 !important;
  padding-top: 16px !important;
  color: var(--bc-muted) !important;
  font: 600 11px/1.3 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html body.bc-skin #sc-customer-cost-report tfoot th:last-child {
  color: var(--bc-acc) !important;
  font: 700 18px/1.2 var(--bc-mono) !important;
  letter-spacing: 0;
  text-transform: none;
}

/* kalendarz Google — ramka i zaokrąglenie jak karty (sam kalendarz ma własne, jasne kolory Google) */
html body.bc-skin .et_pb_tab iframe[src*='calendar.google.com'] {
  border: 1px solid var(--bc-border) !important;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--bc-shadow);
}

/* raport rozliczeń: dodatek doładowuje raport drugi raz w środku pierwszego (ten sam id) — karta tylko na zewnętrznym */
html body.bc-skin #sc-customer-cost-report #sc-customer-cost-report {
  max-width: none !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
/* suma — mniejsza, w rozmiarze pozostałych kwot, tylko pogrubiona i w kolorze akcentu */
html body.bc-skin #sc-customer-cost-report tfoot th:last-child {
  font: 700 15px/1.2 var(--bc-mono) !important;
}

/* suma tym samym krojem co kwoty w wierszach (Plus Jakarta Sans, cyfry równej szerokości) — tylko pogrubiona */
html body.bc-skin #sc-customer-cost-report tfoot th:last-child {
  font: 700 15px/1.2 var(--bc-font) !important;
  font-variant-numeric: tabular-nums;
}
html body.bc-skin #sc-customer-cost-report tbody td:last-child {
  font-variant-numeric: tabular-nums;
}

/* suma i kwoty w wierszach tą samą grubością — pogrubione cyfry są szersze, przez co odstęp tysięcy w sumie
   wyglądał na mniejszy; suma wyróżniona tylko kolorem akcentu */
html body.bc-skin #sc-customer-cost-report tbody td:last-child,
html body.bc-skin #sc-customer-cost-report tfoot th:last-child {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  word-spacing: normal;
}

/* kalendarz Google na ciemnych motywach: jasny kalendarz "odwrócony" filtrem (białe → ciemne), z obrotem barw
   o 180°, żeby kolory wydarzeń i dzisiejszej daty zostały podobne; na jasnych motywach — bez zmian */
html body.bc-skin .et_pb_tab iframe[src*='calendar.google.com'] {
  filter: invert(0.88) hue-rotate(180deg) saturate(1.1) contrast(0.95);
  background: #fff;
  border-color: rgb(var(--bc-ink-rgb) / 0.4) !important;
}
html[data-bc-theme='dzien'] body.bc-skin .et_pb_tab iframe[src*='calendar.google.com'],
html[data-bc-theme='mgla'] body.bc-skin .et_pb_tab iframe[src*='calendar.google.com'] {
  filter: none;
  border-color: var(--bc-border) !important;
}
@media (prefers-color-scheme: light) {
  html[data-bc-theme='auto'] body.bc-skin .et_pb_tab iframe[src*='calendar.google.com'],
  html:not([data-bc-theme]) body.bc-skin .et_pb_tab iframe[src*='calendar.google.com'] {
    filter: none;
    border-color: var(--bc-border) !important;
  }
}

/* panel wyglądu: "↺ Domyślne" na dole, jak na bestcoders.eu */
.bc-look-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--bc-line);
}
html body.bc-skin .bc-look-reset {
  padding: 4px 2px !important;
  border: 0 !important;
  background: none !important;
  color: var(--bc-muted) !important;
  font: 600 10.5px/1 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
html body.bc-skin .bc-look-reset:hover:not(:disabled) {
  color: var(--bc-acc) !important;
}
html body.bc-skin .bc-look-reset:disabled {
  opacity: 0.4;
  cursor: default;
}

/* tło: kolor ma tylko <body> (pod nim plamy koloru), a kontenery Divi są przezroczyste — inaczej nagłówek (poza
   kontenerem strony) miał inne tło niż treść i na ich styku było widać przejście */
html body.bc-skin {
  background: var(--bc-bg) !important;
}
html body.bc-skin #page-container,
html body.bc-skin #et-main-area,
html body.bc-skin #main-content,
html body.bc-skin #main-content .container,
html body.bc-skin .et-l--body,
html body.bc-skin .et_pb_section,
html body.bc-skin .et-l--body .et_pb_section,
html body.bc-skin .et_pb_row,
html body.bc-skin article {
  background: transparent !important;
}

/* przełącznik języka w nagłówku — jak PL/EN na bestcoders.eu (pastylka, aktywny w kolorze akcentu) */
.bc-lang {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
}
.bc-lang a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--bc-muted) !important;
  font: 600 10.5px/1 var(--bc-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.bc-lang a:hover {
  color: var(--bc-text) !important;
}
.bc-lang a[aria-current='true'] {
  background: var(--bc-acc);
  color: var(--bc-acc-text) !important;
  font-weight: 700;
}

/* ---------- okno edycji pól zlecenia (i inne okna SupportCandy): zwarty układ, równe pola, ciemny pasek przewijania ---------- */
html body.bc-skin .wpsc-modal-body {
  color-scheme: inherit;
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--bc-ink-rgb) / 0.25) transparent;
  padding: 18px 22px !important;
}
html body.bc-skin .wpsc-modal-body::-webkit-scrollbar {
  width: 8px;
}
html body.bc-skin .wpsc-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
html body.bc-skin .wpsc-modal-body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgb(var(--bc-ink-rgb) / 0.25);
}
html body.bc-skin .wpsc-modal-header {
  padding: 16px 22px !important;
  font-size: 20px !important;
}
html body.bc-skin .wpsc-modal-footer {
  display: flex;
  gap: 8px;
  padding: 14px 22px !important;
  border-top: 1px solid var(--bc-line);
}
/* pola: mniejsze odstępy, etykieta tuż nad polem, opis pomocniczy drobniej */
html body.bc-skin .wpsc-modal .wpsc-tff,
html body.bc-skin .wpsc-modal .wpsc-input-group {
  margin: 0 0 14px !important;
  padding: 0 !important;
}
html body.bc-skin .wpsc-modal .wpsc-tff-label,
html body.bc-skin .wpsc-modal .wpsc-input-group .label-container {
  margin: 0 0 6px !important;
}
html body.bc-skin .wpsc-modal .wpsc-tff .extra-info {
  margin: -2px 0 6px !important;
  font-size: 12.5px;
}
/* wszystkie pola tej samej wysokości (zwykłe, listy, listy select2, daty) */
html body.bc-skin .wpsc-modal input[type='text'],
html body.bc-skin .wpsc-modal input[type='number'],
html body.bc-skin .wpsc-modal input[type='email'],
html body.bc-skin .wpsc-modal input[type='date'],
html body.bc-skin .wpsc-modal select {
  height: 40px !important;
  min-height: 40px !important;
}
html body.bc-skin .select2-container--default .select2-selection--single {
  height: 40px !important;
  min-height: 40px !important;
  display: flex;
  align-items: center;
}
html body.bc-skin .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px !important;
  padding-left: 14px !important;
}
html body.bc-skin .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
  right: 8px !important;
}
html body.bc-skin .select2-container--default .select2-selection__arrow b {
  border-top-color: var(--bc-muted) !important;
}
/* wyszukiwarka pól u góry okna — na całą szerokość, jak pozostałe pola */
html body.bc-skin .wpsc-modal .wpsc-search,
html body.bc-skin .wpsc-modal .wpsc-search input {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
}

/* ---------- kalendarz wyboru daty (flatpickr) w kolorach motywu — dni były ciemne na ciemnym tle ---------- */
html body.bc-skin .flatpickr-calendar {
  border: 1px solid var(--bc-border) !important;
  border-radius: 16px !important;
  background: var(--bc-surface) !important;
  box-shadow: var(--bc-shadow) !important;
  color: var(--bc-text);
  font-family: var(--bc-font);
}
html body.bc-skin .flatpickr-calendar.arrowTop::before,
html body.bc-skin .flatpickr-calendar.arrowTop::after {
  border-bottom-color: var(--bc-surface) !important;
}
html body.bc-skin .flatpickr-calendar.arrowBottom::before,
html body.bc-skin .flatpickr-calendar.arrowBottom::after {
  border-top-color: var(--bc-surface) !important;
}
html body.bc-skin .flatpickr-months .flatpickr-month,
html body.bc-skin .flatpickr-current-month,
html body.bc-skin .flatpickr-current-month input.cur-year,
html body.bc-skin .flatpickr-current-month .flatpickr-monthDropdown-months {
  background: transparent !important;
  color: var(--bc-text) !important;
  fill: var(--bc-text) !important;
  font-family: var(--bc-font) !important;
  font-weight: 600 !important;
}
html body.bc-skin .flatpickr-current-month {
  font-size: 15px !important;
}
html body.bc-skin .flatpickr-monthDropdown-months option {
  background: var(--bc-surface);
  color: var(--bc-text);
}
html body.bc-skin .flatpickr-months .flatpickr-prev-month,
html body.bc-skin .flatpickr-months .flatpickr-next-month {
  color: var(--bc-text) !important;
  fill: var(--bc-text) !important;
}
html body.bc-skin .flatpickr-months .flatpickr-prev-month:hover svg,
html body.bc-skin .flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--bc-acc) !important;
}
html body.bc-skin span.flatpickr-weekday {
  color: var(--bc-muted) !important;
  font: 600 10.5px/1 var(--bc-mono) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html body.bc-skin .flatpickr-day {
  border-radius: 10px !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .flatpickr-day.prevMonthDay,
html body.bc-skin .flatpickr-day.nextMonthDay,
html body.bc-skin .flatpickr-day.flatpickr-disabled {
  color: var(--bc-muted) !important;
  opacity: 0.45;
}
html body.bc-skin .flatpickr-day:hover,
html body.bc-skin .flatpickr-day:focus {
  border-color: transparent !important;
  background: rgb(var(--bc-acc-rgb) / 0.14) !important;
}
html body.bc-skin .flatpickr-day.today {
  border-color: var(--bc-acc) !important;
}
html body.bc-skin .flatpickr-day.selected,
html body.bc-skin .flatpickr-day.selected:hover,
html body.bc-skin .flatpickr-day.startRange,
html body.bc-skin .flatpickr-day.endRange {
  border-color: var(--bc-acc) !important;
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
  font-weight: 700;
}
html body.bc-skin .flatpickr-time {
  border-top: 1px solid var(--bc-line) !important;
}
html body.bc-skin .flatpickr-time input,
html body.bc-skin .flatpickr-time .flatpickr-am-pm,
html body.bc-skin .flatpickr-time .flatpickr-time-separator {
  background: transparent !important;
  color: var(--bc-text) !important;
}

/* wyszukiwarka pól w oknie (np. "Szukaj...") — na całą szerokość, wyrównana z polami */
html body.bc-skin .wpsc-modal *:has(> input[placeholder^='Szukaj']),
html body.bc-skin .wpsc-modal *:has(> input[placeholder^='Search']) {
  float: none !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  text-align: left !important;
}
html body.bc-skin .wpsc-modal input[placeholder^='Szukaj'],
html body.bc-skin .wpsc-modal input[placeholder^='Search'] {
  width: 100% !important;
  max-width: none !important;
}

/* lista wyboru (select2): pole wyszukiwania w rozwiniętej liście — było białe */
html body.bc-skin .select2-search--dropdown {
  padding: 8px !important;
}
html body.bc-skin .select2-container--default .select2-search--dropdown .select2-search__field {
  height: 34px;
  padding: 6px 12px !important;
  border: 1px solid var(--bc-border) !important;
  border-radius: 10px !important;
  background: var(--bc-bg) !important;
  color: var(--bc-text) !important;
  font: 400 14px/1.3 var(--bc-font) !important;
  outline: none;
}
html body.bc-skin .select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--bc-acc) !important;
  box-shadow: 0 0 0 3px rgb(var(--bc-acc-rgb) / 0.2);
}
html body.bc-skin .select2-results__option {
  padding: 9px 14px !important;
}
html body.bc-skin .select2-container--default .select2-results__option[aria-selected='true'],
html body.bc-skin .select2-container--default .select2-results__option--selected {
  background: rgb(var(--bc-acc-rgb) / 0.08) !important;
  color: var(--bc-acc) !important;
}

/* stopka na telefonie — jak na bestcoders.eu: rząd 1 — logo z lewej, numer telefonu z prawej;
   rząd 2 — e-mail i LinkedIn wyśrodkowane; na dole wyśrodkowany podpis (łamanie wiersza = ::after) */
@media (max-width: 640px) {
  .bc-footer {
    justify-content: center;
    gap: 12px 8px;
    margin-top: 24px;
    padding: 20px 16px 28px;
  }
  .bc-footer::after {
    content: '';
    order: 2;
    flex-basis: 100%;
    height: 0;
    margin-top: -12px; /* łamanie wiersza nie dokłada drugiego odstępu */
  }
  .bc-footer .bc-chips {
    display: contents;
  }
  .bc-footer > .bc-logo {
    order: 0;
    margin-right: auto;
  }
  .bc-footer .bc-cl-phone {
    order: 1;
  }
  .bc-footer .bc-cl-mail {
    order: 3;
  }
  .bc-footer .bc-cl-in {
    order: 4;
  }
  .bc-footer .bc-footer-note {
    order: 5;
    margin-top: 12px;
    text-align: center;
  }
}

/* ---------- nagłówek na telefonie: rząd 1 — logo z lewej, język i wygląd z prawej; rząd 2 — kontakt (ikony) wyśrodkowany ---------- */
@media (max-width: 640px) {
  .bc-header {
    gap: 10px 8px;
    padding: 14px 16px 6px;
  }
  .bc-header > .bc-logo {
    order: 0;
    margin-right: auto;
  }
  .bc-header > .bc-lang {
    order: 1;
  }
  .bc-header > .bc-look {
    order: 2;
  }
  .bc-header > .bc-chips {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    margin: 0 !important;
  }
  .bc-header .bc-logo-text {
    font-size: 18px;
  }
  .bc-header .bc-logo svg {
    width: 37px;
    height: 26px;
  }
}

/* przełącznik języka: bez systemowego podświetlenia dotyku i obwódek motywu Divi; aktywny zawsze w akcencie */
html body.bc-skin .bc-lang a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
  background: transparent;
}
html body.bc-skin .bc-lang a:focus-visible {
  outline: 2px solid var(--bc-acc);
  outline-offset: 2px;
}
html body.bc-skin .bc-lang a[aria-current='true'] {
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
}

/* zakładki strony na telefonie: w jednym rzędzie (przewijane w bok, gdy się nie mieszczą), mniejsze */
@media (max-width: 640px) {
  html body.bc-skin ul.et_pb_tabs_controls {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  html body.bc-skin ul.et_pb_tabs_controls::-webkit-scrollbar {
    display: none;
  }
  html body.bc-skin .et_pb_tabs_controls li {
    flex: none;
  }
  html body.bc-skin .et_pb_tabs_controls li a {
    padding: 9px 12px !important;
    font-size: 10.5px !important;
    white-space: nowrap;
  }
}

/* rozliczenia na telefonie: bez kolumny e-mail; wiersze jako rząd "klient — kwota", suma pod spodem z prawej
   (tabela przebudowana na układ elastyczny — samo ukrycie kolumny rozjechałoby wiersz sumy, który łączy dwie kolumny) */
@media (max-width: 640px) {
  html body.bc-skin #sc-customer-cost-report {
    padding: 14px;
  }
  html body.bc-skin #sc-customer-cost-report table,
  html body.bc-skin #sc-customer-cost-report thead,
  html body.bc-skin #sc-customer-cost-report tbody,
  html body.bc-skin #sc-customer-cost-report tfoot {
    display: block;
    width: 100%;
  }
  html body.bc-skin #sc-customer-cost-report tr {
    display: flex;
    align-items: stretch; /* komórki pełnej wysokości — linie i pasy tła wiersza bez przerw */
  }
  html body.bc-skin #sc-customer-cost-report th,
  html body.bc-skin #sc-customer-cost-report td {
    padding: 11px 10px !important;
  }
  html body.bc-skin #sc-customer-cost-report th:first-child,
  html body.bc-skin #sc-customer-cost-report td:first-child {
    flex: 1;
    min-width: 0;
  }
  html body.bc-skin #sc-customer-cost-report th:nth-child(2):not([colspan]),
  html body.bc-skin #sc-customer-cost-report td:nth-child(2) {
    display: none;
  }
  html body.bc-skin #sc-customer-cost-report tfoot tr {
    justify-content: flex-end;
  }
  html body.bc-skin #sc-customer-cost-report tfoot th[colspan] {
    flex: 1;
  }
}

/* =====================================================================================================
   Pulpit zespołu (Dashboard): kafelki liczników i karty wykresów w kolorach motywu
   ===================================================================================================== */
html body.bc-skin .wpsc-dashboard-view,
html body.bc-skin .wpsc-shortcode-container {
  --wpsc-dash-accent: var(--bc-acc);
  --wpsc-dash-border: var(--bc-line);
  --wpsc-dash-divider: var(--bc-line);
  --wpsc-dash-shadow: none;
  --wpsc-dash-surface-hover: rgb(var(--bc-acc-rgb) / 0.08);
}
html body.bc-skin .wpsc-dash-widget,
html body.bc-skin .wpsc-dash-widget-small {
  border: 1px solid var(--bc-line) !important;
  border-radius: 18px !important;
  background: var(--bc-panel) !important;
  color: var(--bc-text) !important;
  box-shadow: none !important;
}
html body.bc-skin .wpsc-dash-widget-small {
  transition:
    border-color 0.2s,
    transform 0.2s;
}
html body.bc-skin .wpsc-dash-widget-small:hover {
  border-color: rgb(var(--bc-acc-rgb) / 0.5) !important;
  transform: translateY(-2px);
}
/* liczby w kafelkach — duże, w kroju nagłówków i kolorze akcentu */
html body.bc-skin .wpsc-dash-widget-small h1,
html body.bc-skin .wpsc-dash-widget-small h2,
html body.bc-skin .wpsc-dash-widget-small h3,
html body.bc-skin .wpsc-dash-widget-small .wpsc-dash-widget-count,
html body.bc-skin .wpsc-dash-widget-small b {
  color: var(--bc-acc) !important;
  font-family: var(--bc-display) !important;
  font-stretch: 82%;
  font-weight: 800 !important;
}
html body.bc-skin .wpsc-dash-widget-small,
html body.bc-skin .wpsc-dash-widget-small span,
html body.bc-skin .wpsc-dash-widget-small p {
  color: var(--bc-text);
}
html body.bc-skin .wpsc-dash-widget-small svg,
html body.bc-skin .wpsc-dashboard-widget-icon-header svg,
html body.bc-skin .wpsc-dash-widget-header svg {
  color: var(--bc-muted) !important;
  fill: currentColor;
  opacity: 0.7;
}
/* karty wykresów */
html body.bc-skin .wpsc-dash-widget-header {
  border-bottom: 1px solid var(--bc-line) !important;
  background: transparent !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-dash-widget-header h2,
html body.bc-skin .wpsc-dash-widget-header h3,
html body.bc-skin .wpsc-dash-widget-header .wpsc-dash-widget-title {
  color: var(--bc-text) !important;
  font: 600 11.5px/1.3 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase !important;
}
html body.bc-skin .wpsc-dash-widget-header,
html body.bc-skin .wpsc-dash-widget-header * {
  color: var(--bc-muted);
}
html body.bc-skin .wpsc-dash-widget-content,
html body.bc-skin .wpsc-dash-widget-mid {
  background: transparent !important;
  color: var(--bc-text) !important;
}
/* lista zespołu na pulpicie */
html body.bc-skin .wpsc-db-agent-list,
html body.bc-skin .wpsc-db-agent-list * {
  border-color: var(--bc-line) !important;
  color: var(--bc-text);
}

/* ---------- szybkie filtry nad listą zleceń (widok zespołu): przyciski i rozwijane panele w kolorach motywu ---------- */
html body.bc-skin .wpsc-qf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px !important;
  border: 1px solid rgb(var(--bc-ink-rgb) / 0.22) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bc-text) !important;
  font: 500 13.5px/1 var(--bc-font) !important;
  box-shadow: none !important;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
html body.bc-skin .wpsc-qf-btn:hover,
html body.bc-skin .wpsc-qf-btn.active,
html body.bc-skin .wpsc-qf-btn[aria-expanded='true'] {
  border-color: var(--bc-acc) !important;
  background: rgb(var(--bc-acc-rgb) / 0.1) !important;
}
html body.bc-skin .wpsc-qf-btn svg {
  color: var(--bc-muted);
}
html body.bc-skin .wpsc-qf-panel {
  border: 1px solid var(--bc-border) !important;
  border-radius: 14px !important;
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
  box-shadow: var(--bc-shadow) !important;
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--bc-ink-rgb) / 0.25) transparent;
  padding: 6px !important;
}
html body.bc-skin .wpsc-qf-panel::-webkit-scrollbar {
  width: 8px;
}
html body.bc-skin .wpsc-qf-panel::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgb(var(--bc-ink-rgb) / 0.25);
}
html body.bc-skin .wpsc-qf-panel::-webkit-scrollbar-track,
html body.bc-skin .wpsc-qf-panel::-webkit-scrollbar-button {
  display: none;
  background: transparent;
}
html body.bc-skin .wpsc-qf-panel *:not(svg):not(path) {
  background-color: transparent;
  color: var(--bc-text) !important;
}
html body.bc-skin .wpsc-qf-panel > *,
html body.bc-skin .wpsc-qf-panel li,
html body.bc-skin .wpsc-qf-panel label,
html body.bc-skin .wpsc-qf-panel .wpsc-qf-item {
  border-radius: 10px;
}
html body.bc-skin .wpsc-qf-panel li:hover,
html body.bc-skin .wpsc-qf-panel label:hover,
html body.bc-skin .wpsc-qf-panel .wpsc-qf-item:hover {
  background: rgb(var(--bc-acc-rgb) / 0.1) !important;
}
html body.bc-skin .wpsc-qf-panel .active,
html body.bc-skin .wpsc-qf-panel .selected,
html body.bc-skin .wpsc-qf-panel [aria-selected='true'] {
  background: rgb(var(--bc-acc-rgb) / 0.14) !important;
  color: var(--bc-acc) !important;
}
html body.bc-skin .wpsc-qf-panel svg,
html body.bc-skin .wpsc-qf-panel .active *,
html body.bc-skin .wpsc-qf-panel .selected * {
  color: var(--bc-acc) !important;
}

/* ---------- okna (np. "Filtr niestandardowy"): etykiety pól — były ciemne na ciemnym tle ---------- */
html body.bc-skin .wpsc-modal label,
html body.bc-skin .wpsc-modal .label-container,
html body.bc-skin .wpsc-modal .label-container label,
html body.bc-skin .wpsc-modal .wpsc-input-group > label,
html body.bc-skin #wpsc-container .wpsc-input-group .label-container label {
  color: var(--bc-muted) !important;
  font: 600 10.5px/1.4 var(--bc-mono) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* gwiazdka pola wymaganego — w kolorze akcentu, jak w formularzu zlecenia */
html body.bc-skin .wpsc-modal .required-char,
html body.bc-skin .wpsc-modal .required-indicator,
html body.bc-skin .wpsc-modal label span[style*='red'],
html body.bc-skin #wpsc-container .required-char {
  color: var(--bc-acc) !important;
}
/* pole z warunkami filtra (przerywana ramka) */
html body.bc-skin .wpsc-modal .wpsc-form-filter-container,
html body.bc-skin .wpsc-form-filter-container {
  border: 1px dashed var(--bc-border) !important;
  border-radius: 14px !important;
  background: rgb(var(--bc-ink-rgb) / 0.02) !important;
}
html body.bc-skin .wpsc-form-filter-item {
  border: 1px solid var(--bc-line) !important;
  border-radius: 12px !important;
  background: var(--bc-panel) !important;
}


/* ---------- lista zleceń: przewijanie w bok — tabela ma naturalną wysokość i szerokości kolumn jak w SupportCandy;
   pasek przewijania w bok jest dodatkowo przyklejony do dołu ekranu, gdy dół tabeli jest poza ekranem (bc-skin.js) ---------- */
html body.bc-skin .wpsc-ticket-list > div {
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--bc-ink-rgb) / 0.3) transparent;
}
html body.bc-skin .wpsc-ticket-list > div::-webkit-scrollbar {
  height: 10px;
}
html body.bc-skin .wpsc-ticket-list > div::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(var(--bc-ink-rgb) / 0.3);
}
/* przyklejony pasek przewijania w bok (tworzy go bc-skin.js) */
.bc-hscroll {
  position: fixed;
  bottom: 0;
  z-index: 40;
  height: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid var(--bc-line);
  border-radius: 10px 10px 0 0;
  background: color-mix(in srgb, var(--bc-panel) 92%, transparent);
  backdrop-filter: blur(6px);
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--bc-acc-rgb) / 0.6) transparent;
}
.bc-hscroll[hidden] {
  display: none;
}
.bc-hscroll > div {
  height: 1px;
}
.bc-hscroll::-webkit-scrollbar {
  height: 10px;
}
.bc-hscroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(var(--bc-acc-rgb) / 0.6);
}

/* ---------- panel wyglądu: przełącznik "Szerokość" (Standardowa / Pełna) — jak przełączniki na bestcoders.eu ---------- */
.bc-seg {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
}
html body.bc-skin .bc-width {
  flex: 1;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bc-muted) !important;
  font: 600 10.5px/1 var(--bc-mono) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s;
}
html body.bc-skin .bc-width:hover {
  color: var(--bc-text) !important;
}
html body.bc-skin .bc-width[aria-pressed='true'] {
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
  font-weight: 700 !important;
}

/* ---------- "Szerokość: Pełna" — treść wsparcia, nagłówek i stopka na całą szerokość ekranu ---------- */
html[data-bc-width='full'] body.bc-skin #main-content .container,
html[data-bc-width='full'] body.bc-skin .et_pb_row,
html[data-bc-width='full'] body.bc-skin .et_pb_row.et_pb_row_fullwidth {
  width: 100% !important;
  max-width: none !important;
  padding-left: clamp(16px, 2.5vw, 40px) !important;
  padding-right: clamp(16px, 2.5vw, 40px) !important;
  box-sizing: border-box;
}
html[data-bc-width='full'] body.bc-skin #main-content .container::before {
  display: none !important; /* pionowa linia paska bocznego Divi */
}
html[data-bc-width='full'] body.bc-skin .et_pb_column,
html[data-bc-width='full'] body.bc-skin .et_pb_tabs,
html[data-bc-width='full'] body.bc-skin .et_pb_all_tabs,
html[data-bc-width='full'] body.bc-skin .et_pb_tab,
html[data-bc-width='full'] body.bc-skin #wpsc-container,
html[data-bc-width='full'] body.bc-skin .wpsc-shortcode-container {
  width: 100% !important;
  max-width: none !important;
}
html[data-bc-width='full'] .bc-header,
html[data-bc-width='full'] .bc-footer {
  max-width: none;
  padding-left: clamp(16px, 2.5vw, 40px);
  padding-right: clamp(16px, 2.5vw, 40px);
}

/* ---------- menu SupportCandy na telefonie (przycisk z kreskami): panel w kolorach motywu, jak menu bestcoders.eu ---------- */
html body.bc-skin .wpsc-humbargar-overlay {
  background: rgb(10 12 18 / 0.7) !important;
  backdrop-filter: blur(6px);
}
html body.bc-skin .wpsc-humbargar-menu {
  padding: 56px 14px 18px !important;
  border-left: 1px solid var(--bc-border);
  background: var(--bc-surface) !important;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.45);
}
html body.bc-skin .wpsc-humbargar-menu-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--bc-text) !important;
  font: 600 12px/1.2 var(--bc-mono) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none !important;
}
html body.bc-skin .wpsc-humbargar-menu-item svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--bc-muted);
}
html body.bc-skin .wpsc-humbargar-menu-item:hover {
  border-color: rgb(var(--bc-acc-rgb) / 0.5) !important;
  background: rgb(var(--bc-acc-rgb) / 0.08) !important;
}
html body.bc-skin .wpsc-humbargar-menu-item.active {
  border-color: var(--bc-acc) !important;
  background: var(--bc-acc) !important;
  color: var(--bc-acc-text) !important;
}
html body.bc-skin .wpsc-humbargar-menu-item.active svg {
  color: var(--bc-acc-text);
}
html body.bc-skin .wpsc-humbargar-close {
  display: grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--bc-text) !important;
  cursor: pointer;
}
html body.bc-skin .wpsc-humbargar-close:hover {
  background: rgb(var(--bc-ink-rgb) / 0.08);
}
html body.bc-skin .wpsc-humbargar-close svg,
html body.bc-skin .wpsc-humbargar svg {
  color: var(--bc-text) !important;
  fill: currentColor;
}
/* pasek z przyciskiem menu i tytułem bieżącej sekcji */
html body.bc-skin .wpsc-humbargar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--bc-line);
  background: var(--bc-panel) !important;
}
html body.bc-skin .wpsc-humbargar-title {
  font: 600 12px/1.2 var(--bc-mono) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- rozwijane menu "Lista działań" i "Działania masowe" (wtyczka gpopover): całe w kolorach motywu ----------
   biblioteka nakłada białe tło na kilka warstw okienka — przyciemniamy wszystkie, jasny tekst zostaje czytelny */
html body.bc-skin .gpopover,
html body.bc-skin .gpopover > div,
html body.bc-skin .gpopover .gpopover-content,
html body.bc-skin .gpopover .wpsc-popover-menu,
html body.bc-skin [class*='popover']:not(.bc-look-panel):not(.bc-look):not(.bc-look-btn):not(.wpsc-popover-menu-item):not([class*='arrow']) {
  background: var(--bc-surface) !important;
  color: var(--bc-text) !important;
}
html body.bc-skin .gpopover {
  overflow: hidden;
  padding: 6px !important;
  border: 1px solid var(--bc-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--bc-shadow) !important;
}
html body.bc-skin .gpopover .wpsc-popover-menu {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html body.bc-skin .wpsc-popover-menu-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 10px;
  background: transparent !important;
  color: var(--bc-text) !important;
  font-size: 14px;
}
html body.bc-skin .wpsc-popover-menu-item svg {
  width: 15px !important;
  color: var(--bc-muted);
}
html body.bc-skin .wpsc-popover-menu-item:hover {
  background: rgb(var(--bc-acc-rgb) / 0.12) !important;
}
html body.bc-skin .wpsc-popover-menu-item:hover svg {
  color: var(--bc-acc);
}
/* strzałka okienka — w kolorze tła okienka */
html body.bc-skin .gpopover .gpopover-arrow,
html body.bc-skin .gpopover .gpopover-arrow-shadow,
html body.bc-skin .gpopover [class*='arrow'] {
  border-bottom-color: var(--bc-surface) !important;
  border-top-color: var(--bc-surface) !important;
}
/* "Działania masowe" jest nieaktywne, dopóki nie zaznaczysz zleceń — wyraźnie przygaszone, ale czytelne */
html body.bc-skin .wpsc-button:disabled,
html body.bc-skin .wpsc-button.disabled,
html body.bc-skin #wpsc-bulk-actions-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* nagłówki paneli zlecenia ("Teraz przegląda", "Status zlecenia"…): tytuł i strzałka zwijania w jednej linii —
   Divi dokłada nagłówkom h2 odstęp u dołu, przez co tytuł był wyżej niż strzałka */
html body.bc-skin .wpsc-widget-header {
  align-items: center !important;
  min-height: 46px;
}
html body.bc-skin .wpsc-widget-header h2 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
html body.bc-skin .wpsc-widget-header .wpsc-itw-toggle,
html body.bc-skin .wpsc-widget-header > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0 !important;
  line-height: 1;
}
html body.bc-skin .wpsc-widget-header .wpsc-itw-toggle svg {
  display: block;
  width: 13px !important;
  height: 13px !important;
}

/* nagłówek panelu: ikona edycji i strzałka zwijania z odstępem; strzałka w kolorze akcentu, jak ikona edycji */
html body.bc-skin .wpsc-widget-header .wpsc-itw-toggle {
  margin-left: 12px !important;
}
html body.bc-skin .wpsc-widget-header .wpsc-itw-toggle,
html body.bc-skin .wpsc-widget-header .wpsc-itw-toggle svg {
  color: var(--bc-acc) !important;
  fill: currentColor;
  opacity: 1;
}

/* ---------- telefon: nagłówek w jednym rzędzie (kontakt jest w stopce), uporządkowane filtry nad listą zleceń ---------- */
@media (max-width: 640px) {
  .bc-header > .bc-chips {
    display: none !important;
  }
  .bc-header {
    padding-bottom: 14px;
  }

  /* filtry: wyszukiwarka i "Filtr" na całą szerokość, "Sortuj według" i kolejność obok siebie,
     "Zastosuj" na całą szerokość z "Wyczyść" pod spodem */
  html body.bc-skin .wpsc-filter {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  html body.bc-skin .wpsc-search,
  html body.bc-skin .wpsc-search .search-field {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  html body.bc-skin .wpsc-filter-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  html body.bc-skin .wpsc-filter-container > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }
  html body.bc-skin .wpsc-filter-container > .wpsc-filter-item:first-child {
    grid-column: 1 / -1;
  }
  html body.bc-skin .wpsc-filter-item select,
  html body.bc-skin #wpsc-container .wpsc-filter-item select {
    width: 100% !important;
    min-width: 0 !important;
  }
  html body.bc-skin .wpsc-filter-actions,
  html body.bc-skin .wpsc-filter-container > :last-child:not(.wpsc-filter-item) {
    grid-column: 1 / -1;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  html body.bc-skin .wpsc-filter-actions .wpsc-button,
  html body.bc-skin .wpsc-filter-container > :last-child:not(.wpsc-filter-item) .wpsc-button {
    width: 100%;
  }
  html body.bc-skin .wpsc-filter-actions .wpsc-link,
  html body.bc-skin .wpsc-filter-container > :last-child:not(.wpsc-filter-item) .wpsc-link {
    text-align: center;
    font: 600 11px/1.3 var(--bc-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* szybkie filtry (Status, Kategoria…): drobniejsze pastylki, zawijane równo */
  html body.bc-skin .wpsc-quick-filters {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px !important;
  }
  html body.bc-skin .wpsc-qf-btn {
    min-height: 32px;
    padding: 5px 10px !important;
    font-size: 12.5px !important;
  }

  /* "Działania masowe" i "Lista działań" w jednym rzędzie, po równo */
  html body.bc-skin .wpsc-ticket-pagination-header,
  html body.bc-skin .wpsc-bulk-actions {
    gap: 6px;
  }
  html body.bc-skin .wpsc-bulk-actions .wpsc-button,
  html body.bc-skin #wpsc-more-actions-btn,
  html body.bc-skin #wpsc-bulk-actions-btn {
    padding: 6px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.06em;
  }
}

/* ---------- telefon: pasek "Lista zleceń" + menu (☰) — tytuł i przycisk w jednej linii, bez kreski pod ikoną;
   filtry bez dodatkowego wcięcia (wcięcie daje już ramka listy) ---------- */
@media (max-width: 640px) {
  html body.bc-skin .wpsc-header {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    padding: 10px 10px 10px 16px !important;
  }
  html body.bc-skin .wpsc-header .wpsc-humbargar-title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    font: 600 12px/1.2 var(--bc-mono) !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html body.bc-skin .wpsc-header .wpsc-humbargar-title svg {
    flex: none;
    width: 15px !important;
    height: 15px !important;
    color: var(--bc-acc) !important;
    fill: currentColor;
  }
  html body.bc-skin .wpsc-header .wpsc-humbargar {
    flex: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 999px;
    background: transparent !important;
    cursor: pointer;
    transition:
      border-color 0.2s,
      color 0.2s;
  }
  html body.bc-skin .wpsc-header .wpsc-humbargar:hover {
    border-color: var(--bc-acc) !important;
  }
  html body.bc-skin .wpsc-header .wpsc-humbargar svg {
    width: 18px !important;
    height: 18px !important;
  }

  html body.bc-skin .wpsc-filter,
  html body.bc-skin .wpsc-search {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
