/* Kolory motywu. Szablony używają var(--gh-...) zamiast kolorów na sztywno (scripts/theme-tokens.py).
   Tryb jasny: wartości jak dotąd. Tryb ciemny: data-theme="dark" na <html> (ciasteczko "theme")
   albo ustawienie systemu, gdy wybrany jest tryb systemowy (brak data-theme). Żółty akcent i kolory
   błędów są takie same w obu trybach; tekst na żółtym zostaje ciemny. */
:root {
  --gh-bg: #fafafa;
  --gh-bg-alt: #f6f6f6;
  --gh-surface: #ffffff;
  --gh-chip: #eeeeee;
  --gh-chip-soft: #f1f1f1;
  --gh-line: #cccccc;
  --gh-ink: #000000;
  --gh-ink-warm: #332c2b;
  --gh-ink-deep: #191919;
  --gh-ink-2: #2b2b33;
  --gh-text-2: #4b5565;
  --gh-muted: #757575;
  --gh-muted-cool: #9a9db0;
  --gh-accent: #ffdb01;
  --gh-on-accent: #332c2b;
  --gh-sel: #18181b;
  --gh-sel-ink: #ffdb01;
  --gh-scrim: rgba(24, 24, 27, .5);
  --gh-font-body: 'DM Sans', 'Montserrat', system-ui, sans-serif;
  --gh-font-display: 'Archivo', 'DM Sans', system-ui, sans-serif;
  color-scheme: light;
}

/* Nagłówki (w szablonach to elementy z dużym rozmiarem tekstu): szeroki Archivo jak w kierunku „Sygnał”. */
body { font-family: var(--gh-font-body); }
:is([style*="font-size:22px"], [style*="font-size: 22px"], [style*="font-size:24px"], [style*="font-size: 24px"],
    [style*="font-size:25px"], [style*="font-size: 25px"], [style*="font-size:26px"], [style*="font-size: 26px"],
    [style*="font-size:28px"], [style*="font-size: 28px"], [style*="font-size:30px"], [style*="font-size: 30px"],
    [style*="font-size:32px"], [style*="font-size: 32px"], [style*="font-size:35px"], [style*="font-size: 35px"]) {
  font-family: var(--gh-font-display); font-stretch: 125%; letter-spacing: -0.01em; overflow-wrap: anywhere;
}
:is([style*="font-size:20px"], [style*="font-size: 20px"]):is([style*="font-weight:600"], [style*="font-weight: 600"], [style*="font-weight:700"], [style*="font-weight: 700"]) {
  font-family: var(--gh-font-display); font-stretch: 125%; letter-spacing: -0.01em;
}

/*DARK-START*/
:root[data-theme="dark"] {
  --gh-bg: #121214;
  --gh-bg-alt: #161619;
  --gh-surface: #1c1c20;
  --gh-chip: #2a2a30;
  --gh-chip-soft: #232328;
  --gh-line: #3a3a42;
  --gh-ink: #f1f1f4;
  --gh-ink-warm: #ece8e6;
  --gh-ink-deep: #f4f4f6;
  --gh-ink-2: #e2e2e8;
  --gh-text-2: #c3c6d1;
  --gh-muted: #a0a2ad;
  --gh-muted-cool: #9a9db0;
  --gh-sel: #ffdb01;
  --gh-sel-ink: #18181b;
  --gh-scrim: rgba(0, 0, 0, .62);
  color-scheme: dark;
}

/* Elementy z Bootstrapa, edytora Quill i formularzy, które mają kolory w obcych arkuszach. */
:root[data-theme="dark"] body { background: var(--gh-bg) !important; color: var(--gh-ink); }
:root[data-theme="dark"] .form-control,
:root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea { background-color: var(--gh-surface); color: var(--gh-ink); border-color: var(--gh-line); }
:root[data-theme="dark"] ::placeholder { color: var(--gh-muted); opacity: 1; }
:root[data-theme="dark"] .dropdown-menu,
:root[data-theme="dark"] .modal-content,
:root[data-theme="dark"] .popover,
:root[data-theme="dark"] .list-group-item,
:root[data-theme="dark"] .panel { background-color: var(--gh-surface); color: var(--gh-ink); border-color: var(--gh-line); }
:root[data-theme="dark"] .dropdown-menu > li > a { color: var(--gh-ink); }
:root[data-theme="dark"] .dropdown-menu > li > a:hover { background-color: var(--gh-chip); }
:root[data-theme="dark"] .table > thead > tr > th,
:root[data-theme="dark"] .table > tbody > tr > td { border-color: var(--gh-line); }
:root[data-theme="dark"] a { color: inherit; }
:root[data-theme="dark"] .ql-toolbar.ql-snow,
:root[data-theme="dark"] .ql-container.ql-snow { border-color: var(--gh-line); }
:root[data-theme="dark"] .ql-editor { color: var(--gh-ink); }
:root[data-theme="dark"] .ql-snow .ql-stroke { stroke: var(--gh-ink); }
:root[data-theme="dark"] .ql-snow .ql-fill { fill: var(--gh-ink); }
:root[data-theme="dark"] .ql-snow .ql-picker { color: var(--gh-ink); }
:root[data-theme="dark"] .ql-snow .ql-picker-options { background-color: var(--gh-surface); }
:root[data-theme="dark"] hr { border-color: var(--gh-line); }
/* Czarne ikony motywu (assets/images) odwrócone na jasne; na żółtych i ciemnych przyciskach zostają.
   Logo firm i zdjęcia z /img/ bez zmian. */
:root[data-theme="dark"] img[src*="/assets/images/a-arrow-down.png"],
:root[data-theme="dark"] img[src*="/assets/images/a-arrow-up.png"],
:root[data-theme="dark"] img[src*="/assets/images/arrow-down.png"],
:root[data-theme="dark"] img[src*="/assets/images/arrow-left.png"],
:root[data-theme="dark"] img[src*="/assets/images/arrow-right.png"],
:root[data-theme="dark"] img[src*="/assets/images/arrow-up.png"],
:root[data-theme="dark"] img[src*="/assets/images/building-2.png"],
:root[data-theme="dark"] img[src*="/assets/images/building.png"],
:root[data-theme="dark"] img[src*="/assets/images/calendar.png"],
:root[data-theme="dark"] img[src*="/assets/images/cash.png"],
:root[data-theme="dark"] img[src*="/assets/images/category.png"],
:root[data-theme="dark"] img[src*="/assets/images/check.png"],
:root[data-theme="dark"] img[src*="/assets/images/close.png"],
:root[data-theme="dark"] img[src*="/assets/images/company-2.png"],
:root[data-theme="dark"] img[src*="/assets/images/company.png"],
:root[data-theme="dark"] img[src*="/assets/images/contract.png"],
:root[data-theme="dark"] img[src*="/assets/images/dots.png"],
:root[data-theme="dark"] img[src*="/assets/images/ellipsis-vertical.png"],
:root[data-theme="dark"] img[src*="/assets/images/envelope.png"],
:root[data-theme="dark"] img[src*="/assets/images/external-url.png"],
:root[data-theme="dark"] img[src*="/assets/images/eye-off.png"],
:root[data-theme="dark"] img[src*="/assets/images/eye.png"],
:root[data-theme="dark"] img[src*="/assets/images/facebook.png"],
:root[data-theme="dark"] img[src*="/assets/images/founded.png"],
:root[data-theme="dark"] img[src*="/assets/images/globe.png"],
:root[data-theme="dark"] img[src*="/assets/images/house.png"],
:root[data-theme="dark"] img[src*="/assets/images/instagram.png"],
:root[data-theme="dark"] img[src*="/assets/images/job-mode.png"],
:root[data-theme="dark"] img[src*="/assets/images/job-type.png"],
:root[data-theme="dark"] img[src*="/assets/images/level.png"],
:root[data-theme="dark"] img[src*="/assets/images/linkedin.png"],
:root[data-theme="dark"] img[src*="/assets/images/location.png"],
:root[data-theme="dark"] img[src*="/assets/images/menu.png"],
:root[data-theme="dark"] img[src*="/assets/images/move-left.png"],
:root[data-theme="dark"] img[src*="/assets/images/move-right.png"],
:root[data-theme="dark"] img[src*="/assets/images/plus.png"],
:root[data-theme="dark"] img[src*="/assets/images/pointer-right.png"],
:root[data-theme="dark"] img[src*="/assets/images/search.png"],
:root[data-theme="dark"] img[src*="/assets/images/size.png"],
:root[data-theme="dark"] img[src*="/assets/images/status.png"],
:root[data-theme="dark"] img[src*="/assets/images/thumbs-down.png"],
:root[data-theme="dark"] img[src*="/assets/images/thumbs-up.png"],
:root[data-theme="dark"] img[src*="/assets/images/tiktok.png"],
:root[data-theme="dark"] img[src*="/assets/images/trash.png"],
:root[data-theme="dark"] img[src*="/assets/images/upload.png"],
:root[data-theme="dark"] img[src*="/assets/images/x.png"],
:root[data-theme="dark"] img[src*="/assets/images/youtube.png"],
:root[data-theme="dark"] img[src*="/assets/images/logo-small-black.png"] { filter: invert(1); }
:root[data-theme="dark"] :is([style*="ffdb01" i], [style*="255, 219, 1" i], [style*="255,219,1" i], #header, footer) img { filter: none; }
/*DARK-END*/

/* Motyw systemowy (brak wyboru): to samo co wyżej dla systemu w trybie ciemnym.
   Blok generuje scripts/theme-tokens.py --sync-css z części między DARK-START i DARK-END; nie edytować ręcznie. */
/*SYSTEM-START*/
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  --gh-bg: #121214;
  --gh-bg-alt: #161619;
  --gh-surface: #1c1c20;
  --gh-chip: #2a2a30;
  --gh-chip-soft: #232328;
  --gh-line: #3a3a42;
  --gh-ink: #f1f1f4;
  --gh-ink-warm: #ece8e6;
  --gh-ink-deep: #f4f4f6;
  --gh-ink-2: #e2e2e8;
  --gh-text-2: #c3c6d1;
  --gh-muted: #a0a2ad;
  --gh-muted-cool: #9a9db0;
  --gh-sel: #ffdb01;
  --gh-sel-ink: #18181b;
  --gh-scrim: rgba(0, 0, 0, .62);
  color-scheme: dark;
}

/* Elementy z Bootstrapa, edytora Quill i formularzy, które mają kolory w obcych arkuszach. */
:root:not([data-theme="light"]) body { background: var(--gh-bg) !important; color: var(--gh-ink); }
:root:not([data-theme="light"]) .form-control,
:root:not([data-theme="light"]) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
:root:not([data-theme="light"]) select,
:root:not([data-theme="light"]) textarea { background-color: var(--gh-surface); color: var(--gh-ink); border-color: var(--gh-line); }
:root:not([data-theme="light"]) ::placeholder { color: var(--gh-muted); opacity: 1; }
:root:not([data-theme="light"]) .dropdown-menu,
:root:not([data-theme="light"]) .modal-content,
:root:not([data-theme="light"]) .popover,
:root:not([data-theme="light"]) .list-group-item,
:root:not([data-theme="light"]) .panel { background-color: var(--gh-surface); color: var(--gh-ink); border-color: var(--gh-line); }
:root:not([data-theme="light"]) .dropdown-menu > li > a { color: var(--gh-ink); }
:root:not([data-theme="light"]) .dropdown-menu > li > a:hover { background-color: var(--gh-chip); }
:root:not([data-theme="light"]) .table > thead > tr > th,
:root:not([data-theme="light"]) .table > tbody > tr > td { border-color: var(--gh-line); }
:root:not([data-theme="light"]) a { color: inherit; }
:root:not([data-theme="light"]) .ql-toolbar.ql-snow,
:root:not([data-theme="light"]) .ql-container.ql-snow { border-color: var(--gh-line); }
:root:not([data-theme="light"]) .ql-editor { color: var(--gh-ink); }
:root:not([data-theme="light"]) .ql-snow .ql-stroke { stroke: var(--gh-ink); }
:root:not([data-theme="light"]) .ql-snow .ql-fill { fill: var(--gh-ink); }
:root:not([data-theme="light"]) .ql-snow .ql-picker { color: var(--gh-ink); }
:root:not([data-theme="light"]) .ql-snow .ql-picker-options { background-color: var(--gh-surface); }
:root:not([data-theme="light"]) hr { border-color: var(--gh-line); }
/* Czarne ikony motywu (assets/images) odwrócone na jasne; na żółtych i ciemnych przyciskach zostają.
   Logo firm i zdjęcia z /img/ bez zmian. */
:root:not([data-theme="light"]) img[src*="/assets/images/a-arrow-down.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/a-arrow-up.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/arrow-down.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/arrow-left.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/arrow-right.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/arrow-up.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/building-2.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/building.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/calendar.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/cash.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/category.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/check.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/close.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/company-2.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/company.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/contract.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/dots.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/ellipsis-vertical.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/envelope.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/external-url.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/eye-off.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/eye.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/facebook.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/founded.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/globe.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/house.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/instagram.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/job-mode.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/job-type.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/level.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/linkedin.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/location.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/menu.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/move-left.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/move-right.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/plus.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/pointer-right.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/search.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/size.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/status.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/thumbs-down.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/thumbs-up.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/tiktok.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/trash.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/upload.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/x.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/youtube.png"],
:root:not([data-theme="light"]) img[src*="/assets/images/logo-small-black.png"] { filter: invert(1); }
:root:not([data-theme="light"]) :is([style*="ffdb01" i], [style*="255, 219, 1" i], [style*="255,219,1" i], #header, footer) img { filter: none; }
}
/*SYSTEM-END*/

/* Przełącznik motywu w nagłówku */
.gh-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; padding: 0; }
.gh-theme-toggle:hover { background: rgba(255, 255, 255, .08); }
.gh-theme-toggle:focus-visible { outline: 3px solid var(--gh-accent); outline-offset: 2px; }
.gh-theme-toggle svg { width: 20px; height: 20px; }
.gh-theme-toggle .gh-sun { display: none; }
:root[data-theme="dark"] .gh-theme-toggle .gh-sun { display: block; }
:root[data-theme="dark"] .gh-theme-toggle .gh-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .gh-theme-toggle .gh-sun { display: block; }
  :root:not([data-theme]) .gh-theme-toggle .gh-moon { display: none; }
}

/* Menu w panelu z prawej (header.twig, #mobile-menu). Zamykanie: ×, tło, Escape (header.js). */
.gh-drawer { position: fixed; inset: 0; z-index: 100000001; visibility: hidden; pointer-events: none; }
.gh-drawer.open { visibility: visible; pointer-events: auto; }
.gh-drawer-backdrop { position: absolute; inset: 0; background: var(--gh-scrim); opacity: 0; transition: opacity .25s ease; }
.gh-drawer.open .gh-drawer-backdrop { opacity: 1; }
.gh-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 86vw); background: var(--gh-surface); color: var(--gh-ink);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; text-align: left;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
  box-shadow: -24px 0 48px -24px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.gh-drawer.open .gh-drawer-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .gh-drawer-backdrop, .gh-drawer-panel { transition: none; } }
.gh-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; background: #1c1b1d; }
.gh-drawer-logo img { height: 22px; display: block; }
.gh-drawer-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.gh-drawer-close:hover { background: rgba(255, 255, 255, .1); }
.gh-drawer-close svg { width: 22px; height: 22px; }
.gh-drawer-me { display: flex; align-items: center; gap: 12px; padding: 18px 20px 8px; min-width: 0; }
.gh-drawer-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--gh-chip); color: var(--gh-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; overflow: hidden; flex: none; }
.gh-drawer-ava img { width: 100%; height: 100%; object-fit: cover; }
.gh-drawer-who { min-width: 0; display: grid; }
.gh-drawer-who b { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.gh-drawer-who small { color: var(--gh-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-drawer-nav { padding: 8px 12px 16px; display: grid; gap: 4px; }
.gh-drawer-group { display: grid; gap: 2px; padding-top: 6px; }
.gh-drawer-title { font-family: var(--gh-font-display); font-stretch: 125%; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gh-muted); padding: 12px 12px 6px; }
.gh-drawer-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 12px; color: var(--gh-ink) !important; text-decoration: none !important; font-size: 15px; font-weight: 500; }
.gh-drawer-item svg { width: 20px; height: 20px; color: var(--gh-muted); flex: none; }
.gh-drawer-item:hover { background: var(--gh-chip-soft); }
.gh-drawer-item.is-active { background: var(--gh-sel); color: var(--gh-sel-ink) !important; font-weight: 700; }
.gh-drawer-item.is-active svg { color: currentColor; }
.gh-drawer-cta { margin: 14px 4px 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px;
  background: var(--gh-accent); color: #18181b !important; text-decoration: none !important; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 700; font-size: 13.5px; }
.gh-drawer-cta svg { width: 18px; height: 18px; }
.gh-drawer-foot { margin-top: auto; padding: 14px 16px 18px; border-top: 1px solid var(--gh-line); display: grid; gap: 10px; }
.gh-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; border-radius: 12px; background: var(--gh-chip-soft); border: 1px solid var(--gh-line); }
.gh-seg button { min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--gh-muted); font: 600 13px var(--gh-font-body); cursor: pointer; }
.gh-seg button[aria-pressed="true"] { background: var(--gh-accent); color: #18181b; }
.gh-drawer-row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.gh-drawer-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--gh-ink); font: 500 14px var(--gh-font-body); cursor: pointer; }
.gh-drawer-link:hover { background: var(--gh-chip-soft); }
.gh-drawer-link svg { width: 18px; height: 18px; color: var(--gh-muted); }
.gh-drawer :focus-visible { outline: 3px solid var(--gh-accent); outline-offset: 2px; }

/* Menu panelu (views/menu.twig, od 992 px; niżej menu w panelu z prawej) */
.gh-panelnav { display: flex; align-items: center; gap: 6px; margin: 30px 0 44px; padding: 6px; border: 1px solid var(--gh-line); border-radius: 16px; background: var(--gh-surface); }
.gh-pn-group { display: flex; align-items: center; gap: 2px; min-width: 0; }
.gh-pn-right { margin-left: auto; padding-left: 8px; border-left: 1px solid var(--gh-line); }
.gh-pn-item { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; border-radius: 11px;
  color: var(--gh-text-2) !important; text-decoration: none !important; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background-color .15s, color .15s; }
.gh-pn-item .gh-ic { color: var(--gh-muted); flex: none; }
.gh-pn-item:hover { background: var(--gh-chip-soft); color: var(--gh-ink) !important; }
.gh-pn-item.is-active { background: var(--gh-sel); color: var(--gh-sel-ink) !important; }
.gh-pn-item.is-active .gh-ic { color: currentColor; }
.gh-pn-item:focus-visible { outline: 3px solid var(--gh-accent); outline-offset: 2px; }
.gh-pn-home { padding: 0 12px; }
.gh-pn-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc3545; display: inline-block; }
@media (max-width: 1199px) { .gh-pn-right .gh-pn-item span { display: none; } .gh-pn-right .gh-pn-item { padding: 0 12px; } }

/* Wybór wielu wartości jako pastylki (formularz studia) */
.gh-chip-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-chip-opt { position: relative; margin: 0; cursor: pointer; font-weight: 500; }
.gh-chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gh-chip-opt span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--gh-line); color: var(--gh-ink); font-size: 13.5px; transition: background-color .15s, border-color .15s; }
.gh-chip-opt:hover span { border-color: var(--gh-muted); }
.gh-chip-opt input:checked + span { background: var(--gh-sel); border-color: var(--gh-sel); color: var(--gh-sel-ink); font-weight: 700; }
.gh-chip-opt input:focus-visible + span { outline: 3px solid var(--gh-accent); outline-offset: 2px; }

/* Pusty stan / zachęta (np. strona wymagająca trybu firmowego) */
.gh-empty { max-width: 560px; margin: 20px auto 0; text-align: center; padding: 40px 28px; border: 1px solid var(--gh-line); border-radius: 20px; background: var(--gh-surface); }
.gh-empty-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--gh-accent); color: #18181b; display: inline-grid; place-items: center; margin-bottom: 16px; }
.gh-empty-title { font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.gh-empty p { color: var(--gh-text-2); font-size: 15px; margin: 0 auto 22px; max-width: 46ch; }
.gh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 14px; border: 0;
  background: var(--gh-accent); color: #18181b !important; text-decoration: none !important; font-weight: 700; font-size: 14px; cursor: pointer; }
.gh-btn:hover { filter: brightness(.96); }
.gh-btn:focus-visible { outline: 3px solid var(--gh-ink); outline-offset: 2px; }
.gh-btn.is-ghost { background: var(--gh-chip); color: var(--gh-ink) !important; }
.gh-pn-cta { color: var(--gh-ink) !important; }
.gh-pn-cta .gh-ic { color: var(--gh-ink); }

/* Przełącznik (ustawienia: tryby konta) */
.gh-switch-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gh-line); }
.gh-switch-row:last-child { border-bottom: 0; }
.gh-switch-row b { display: block; font-size: 15px; font-weight: 700; color: var(--gh-ink); }
.gh-switch-row small { display: block; color: var(--gh-text-2); font-size: 13px; margin-top: 2px; max-width: 60ch; }
.gh-switch { position: relative; flex: none; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.gh-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gh-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--gh-chip); border: 2px solid var(--gh-line); transition: background-color .2s, border-color .2s; }
.gh-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gh-muted); transition: transform .2s, background-color .2s; }
.gh-switch input:checked + span { background: var(--gh-accent); border-color: var(--gh-accent); }
.gh-switch input:checked + span::after { transform: translateX(22px); background: #18181b; }
.gh-switch input:disabled + span { opacity: .55; }
.gh-switch input:focus-visible + span { outline: 3px solid var(--gh-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gh-switch span, .gh-switch span::after { transition: none; } }

.gh-card { background: var(--gh-surface); border: 1px solid var(--gh-line); border-radius: 18px; padding: 20px 22px; }
@media (max-width: 767px) { .gh-card { padding: 18px 16px; } .gh-switch-row { gap: 12px; } }

/* Układ panelu (views/panel-shell.twig): ciemne menu po lewej, treść w zaokrąglonym panelu. */
.gh-shell-hdr #header { display: none; }
.gh-app { flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); background: #141416; min-height: 100vh; }
.gh-side { display: none; }
.gh-main { min-width: 0; background: var(--gh-bg); display: flex; flex-direction: column; }
.gh-top { position: sticky; top: 0; z-index: 50; padding: 10px max(12px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: #1c1b1d; color: #fff; }
.gh-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.gh-top-heading, .gh-top-actions, .gh-top-filters { display: none; }
.gh-top [hidden] { display: none !important; }
.gh-top-logo img { height: 22px; display: block; }
.gh-top-tools { display: flex; align-items: center; gap: 4px; }
.gh-tool { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; display: inline-grid; place-items: center; cursor: pointer; padding: 0; text-decoration: none !important; }
.gh-tool:hover { background: rgba(127, 127, 127, .14); }
.gh-tool:focus-visible { outline: 3px solid var(--gh-accent); outline-offset: 2px; }
.gh-tool svg { width: 20px; height: 20px; }
.gh-tool-ava .gh-drawer-ava { width: 34px; height: 34px; font-size: 12px; }
.gh-hide-mobile { display: none; }
.gh-main-body { flex: 1; min-width: 0; }
.gh-main-body .container { width: auto; max-width: 1240px; }
.gh-nav-badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 8px; background: var(--gh-chip); color: var(--gh-ink);
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; }
.gh-drawer-item.is-active .gh-nav-badge { background: rgba(0, 0, 0, .14); color: inherit; }

@media (min-width: 992px) {
  .gh-app { grid-template-columns: 272px minmax(0, 1fr); }
  .gh-side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 24px 16px 16px; color: #f2f2f4;
    --gh-ink: #f2f2f4; --gh-muted: #9a9aa6; --gh-chip: rgba(255, 255, 255, .1); --gh-chip-soft: rgba(255, 255, 255, .06);
    --gh-line: rgba(255, 255, 255, .08); --gh-sel: #ffdb01; --gh-sel-ink: #18181b; --gh-text-2: #c9c9d1; }
  .gh-side-logo { padding: 4px 12px 26px; }
  .gh-side-logo img { height: 26px; display: block; }
  .gh-side-nav { display: grid; gap: 2px; }
  .gh-side .gh-drawer-item { min-height: 48px; font-size: 15px; }
  .gh-side-me { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; color: #f2f2f4 !important; text-decoration: none !important; min-width: 0; }
  .gh-side-me:hover { background: rgba(255, 255, 255, .06); }
  .gh-side-me .gh-drawer-ava { background: rgba(255, 255, 255, .12); color: #f2f2f4; }
  .gh-side-me small { color: #9a9aa6; }
  .gh-main { margin: 12px 12px 12px 0; border-radius: 28px; border: 1px solid var(--gh-line); overflow: clip; }
  .gh-top { position: static; display: flex; flex-direction: column; gap: 0; background: transparent; color: var(--gh-ink); padding: 22px 35px 22px; }
  .gh-top-row { gap: 16px 20px; min-height: 64px; }
  .gh-top-heading { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; flex: 1 1 auto; }
  .gh-top-title { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.01em; color: var(--gh-ink); }
  .gh-top-title:empty { display: none; }
  .gh-top-crumb { font-size: 13px; line-height: 1.2; }
  .gh-top-crumb a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 1px 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
  .gh-top-crumb a { color: var(--gh-muted); font-weight: 500; text-decoration: none; }
  .gh-top-crumb a:hover, .gh-top-crumb a:focus-visible { color: var(--gh-ink); text-decoration: underline; }
  .gh-top-sub, .gh-top-sub .gh-count { margin: 0; color: var(--gh-text-2); font-size: 13.5px; }
  .gh-top-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
  .gh-top-actions > * { margin: 0 !important; min-height: 44px; display: inline-flex !important; align-items: center; gap: 8px; border-radius: 14px !important; padding: 0 20px !important; font-size: 14px !important; white-space: nowrap; }
  .gh-top-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; margin-top: 22px; }
  .gh-top-filters > .gh-filterbar { flex: 1 1 auto; margin: 0 !important; }
  .gh-main-body .container { max-width: none; margin: 0; padding-left: 35px; padding-right: 35px; }
  .gh-top-synced .gh-main-body .gh-page { padding-top: 4px; }
  .gh-top-logo, .gh-show-mobile { display: none !important; }
  .gh-hide-mobile { display: inline-grid; }
  .gh-top-tools { padding: 4px; border: 1px solid var(--gh-line); border-radius: 16px; background: var(--gh-surface); flex: 0 0 auto; }
  :root[data-theme="dark"] .gh-app { background: #0b0b0d; }
}
@media (min-width: 992px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gh-app { background: #0b0b0d; } }
.gh-switch-row[hidden] { display: none; }
@media (max-width: 767px) { #talent-visibility-row { flex-direction: column; } #talent-visibility-row select { max-width: none !important; width: 100%; } }

/* Profil studia (views/companies/_view.twig) */
.gh-studio { padding-top: 24px; padding-bottom: 72px; }
.gh-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--gh-text-2) !important; font-weight: 600; text-decoration: none !important; margin-bottom: 12px; }
.gh-back .gh-ic { transform: rotate(180deg); }
.gh-back:hover { color: var(--gh-ink) !important; }
.gh-studio-cover { aspect-ratio: 16 / 5; max-width: 100%; border-radius: 22px; background: var(--cover, none) center / cover no-repeat, linear-gradient(120deg, #1c1b1d, #2b2b33); }
.gh-studio-cover.is-empty { aspect-ratio: 16 / 3; background: repeating-linear-gradient(-45deg, #ffdb01 0 14px, #1c1b1d 14px 28px); opacity: .9; }
@media (max-width: 767px) { .gh-studio-cover { aspect-ratio: 4 / 3; background-image: var(--cover-m, var(--cover, none)), linear-gradient(120deg, #1c1b1d, #2b2b33); border-radius: 18px; } .gh-studio-cover.is-empty { aspect-ratio: 16 / 5; } }
.gh-studio-id { display: flex; align-items: flex-end; gap: 16px; margin: -44px 0 0 24px; position: relative; min-width: 0; }
.gh-studio-logo { width: 96px; height: 96px; border-radius: 22px; background: var(--gh-surface); border: 4px solid var(--gh-bg); display: grid; place-items: center; overflow: hidden; flex: none;
  font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: 34px; color: var(--gh-ink); }
.gh-studio-logo img { width: 100%; height: 100%; object-fit: contain; }
.gh-studio-name { min-width: 0; padding-bottom: 6px; }
.gh-studio-name h1 { margin: 0; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.05; letter-spacing: -0.01em; color: var(--gh-ink); overflow-wrap: anywhere; text-wrap: balance; }
.gh-studio-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; color: var(--gh-text-2); font-size: 14px; font-weight: 500; }
@media (max-width: 767px) { .gh-studio-id { margin: -36px 0 0 12px; } .gh-studio-logo { width: 76px; height: 76px; border-radius: 18px; font-size: 26px; } }
.gh-studio-grid { display: grid; gap: 28px; margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .gh-studio-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .gh-studio-facts { order: 2; position: sticky; top: 20px; } }
.gh-facts { margin: 0 0 14px; display: grid; gap: 12px; }
.gh-facts div { display: grid; gap: 2px; }
.gh-facts dt { font-size: 12px; font-weight: 600; color: var(--gh-muted); }
.gh-facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--gh-ink); overflow-wrap: anywhere; }
.gh-facts-tags { margin-bottom: 14px; }
.gh-facts-label { font-size: 12px; font-weight: 600; color: var(--gh-muted); margin-bottom: 6px; }
.gh-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gh-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--gh-chip); color: var(--gh-ink); font-size: 12.5px; font-weight: 600; }
.gh-btn-block { display: flex; width: 100%; margin-top: 6px; }
.gh-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gh-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: var(--gh-chip-soft); color: var(--gh-ink) !important; text-decoration: none !important; font-size: 13px; font-weight: 600; }
.gh-link:hover { background: var(--gh-chip); }
.gh-section { margin-bottom: 36px; }
.gh-section h2 { font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--gh-ink); margin: 0 0 14px; }
.gh-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gh-section-head h2 { margin: 0; }
.gh-prose { color: var(--gh-ink); font-size: 15.5px; line-height: 1.65; max-width: 72ch; overflow-wrap: anywhere; }
.gh-muted { color: var(--gh-text-2); }
.gh-team { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gh-person { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--gh-surface); border: 1px solid var(--gh-line); min-width: 0; }
.gh-person b { display: block; color: var(--gh-ink); font-size: 14px; }
.gh-person small { display: block; color: var(--gh-text-2); font-size: 12.5px; }
.gh-list { border: 1px solid var(--gh-line); border-radius: 18px; overflow: hidden; background: var(--gh-surface); }
.gh-list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--gh-line); color: var(--gh-ink) !important; text-decoration: none !important; }
.gh-list-row:first-child { border-top: 0; }
.gh-list-row:hover { background: var(--gh-chip-soft); }
.gh-list-row .gh-ic { color: var(--gh-muted); }
.gh-list-main { min-width: 0; }
.gh-list-main b { display: block; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.gh-list-main small { display: block; color: var(--gh-text-2); font-size: 13px; margin-top: 2px; }
.gh-salary { font-weight: 700; font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gh-badge-new { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #ff6464; color: #fff; font-size: 11px; font-weight: 700; }
@media (max-width: 600px) { .gh-list-row { grid-template-columns: minmax(0, 1fr) auto; } .gh-salary { grid-column: 1; grid-row: 2; } .gh-list-row .gh-ic { grid-row: 1 / span 2; grid-column: 2; } }
.gh-games { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gh-game { display: block; border-radius: 16px; overflow: hidden; background: var(--gh-surface); border: 1px solid var(--gh-line); color: var(--gh-ink) !important; text-decoration: none !important; }
.gh-game:hover { border-color: var(--gh-muted); }
.gh-game-art { display: block; aspect-ratio: 16 / 9; max-width: 100%; background: linear-gradient(135deg, #2b2b33, #1c1b1d) center / cover no-repeat; }
.gh-game-t { display: block; padding: 10px 12px 12px; }
.gh-game-t b { display: block; font-size: 14.5px; }
.gh-game-t small { color: var(--gh-text-2); font-size: 12.5px; }
.gh-studio-id { align-items: flex-start; }
.gh-studio-name { padding: 54px 0 0; }
@media (max-width: 767px) { .gh-studio-name { padding-top: 44px; } }

/* Strony panelu w nowym stylu (gry): nagłówek, pasek filtrów, tabela, formularz, okienka */
.gh-page { padding-top: 20px; padding-bottom: 72px; }
.gh-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.gh-h1 { margin: 0; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em; color: var(--gh-ink); overflow-wrap: anywhere; }
.gh-count { color: var(--gh-text-2); font-size: 14px; margin-top: 4px; }
.gh-count a { color: var(--gh-ink); text-decoration: underline; text-underline-offset: 3px; }
.gh-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.gh-filterbar .gh-search { flex: 1 1 100%; min-height: 44px; border-radius: 10px; }
.gh-filterbar .gh-select { flex: 1 1 100%; min-height: 44px; border-radius: 10px; font-size: 14px; }
.gh-filterbar .gh-btn { min-height: 44px; border-radius: 10px; }
.gh-filter-clear { color: var(--gh-muted); font-size: 13px; font-weight: 500; padding: 0 6px; text-decoration: underline; text-underline-offset: 3px; }
.gh-filter-clear:hover, .gh-filter-clear:focus-visible { color: var(--gh-ink); }
@media (min-width: 768px) {
  .gh-filterbar .gh-search { flex: 0 1 300px; min-height: 40px; }
  .gh-filterbar .gh-search input { min-height: 38px; font-size: 13.5px; }
  .gh-filterbar .gh-select { flex: 0 1 190px; min-height: 40px; font-size: 13px; }
  .gh-filterbar .gh-btn { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
}
.gh-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; margin: 0; border-radius: 14px; background: var(--gh-surface); border: 1px solid var(--gh-line); color: var(--gh-muted); font-weight: 400; }
.gh-search input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; outline: none; color: var(--gh-ink); font-size: 15px; min-height: 44px; }
.gh-select { min-height: 48px; padding: 0 38px 0 14px; border-radius: 14px; border: 1px solid var(--gh-line); background-color: var(--gh-surface); color: var(--gh-ink); font-size: 14.5px;
  -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; max-width: 100%; }
.gh-table { border: 1px solid var(--gh-line); border-radius: 18px; overflow: hidden; background: var(--gh-surface); }
.gh-tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--gh-line); }
.gh-tr:first-child { border-top: 0; }
.gh-tr[hidden] { display: none; }
.gh-th { font-size: 12.5px; font-weight: 700; color: var(--gh-muted); padding-top: 12px; padding-bottom: 12px; background: var(--gh-chip-soft); }
.gh-td-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gh-td-main a { color: var(--gh-ink); text-decoration: none; }
.gh-td-main a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.gh-td-main b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.gh-td-main small { display: block; color: var(--gh-text-2); font-size: 12.5px; }
.gh-td { color: var(--gh-text-2); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.gh-thumb { width: 44px; height: 44px; border-radius: 12px; flex: none; background: var(--gh-chip) center / cover no-repeat; display: grid; place-items: center; color: var(--gh-muted); }
.gh-edit { font-weight: 700; color: var(--gh-ink) !important; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
.gh-none { color: var(--gh-text-2); }
.gh-tag.is-accent { background: var(--gh-accent); color: #18181b; }
@media (max-width: 767px) {
  .gh-th { display: none; }
  .gh-tr { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .gh-td-main { grid-column: 1; }
  .gh-td-edit { grid-column: 2; grid-row: 1; }
  .gh-td { grid-column: 1 / -1; padding-left: 56px; font-size: 13px; display: inline; }
}
.gh-requests { margin-bottom: 18px; }
.gh-request { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--gh-line); color: var(--gh-ink); }
.gh-request:first-of-type { border-top: 0; }
.gh-request-actions { display: flex; gap: 8px; }
.gh-modal { position: fixed; inset: 0; z-index: 100000002; display: grid; place-items: center; padding: 16px; }
.gh-modal[hidden] { display: none; }
.gh-modal-backdrop { position: absolute; inset: 0; background: var(--gh-scrim); }
.gh-modal-box { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--gh-surface); color: var(--gh-ink); border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); }
.gh-modal-title { margin: 0 40px 18px 0; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: 22px; }
.gh-modal-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--gh-ink); display: grid; place-items: center; cursor: pointer; }
.gh-modal-x:hover { background: var(--gh-chip-soft); }
.gh-modal-actions, .gh-form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.gh-field { display: grid; gap: 6px; margin: 0 0 16px; font-weight: 400; min-width: 0; }
.gh-field > span { font-size: 13.5px; font-weight: 700; color: var(--gh-ink); }
.gh-field input[type="text"], .gh-field input[type="email"], .gh-field input[type="url"], .gh-field input[type="date"], .gh-field input[type="month"], .gh-field textarea, .gh-field .gh-select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--gh-line); background: var(--gh-surface); color: var(--gh-ink); font-size: 15px; outline: none; }
.gh-field .gh-select { padding-right: 38px; }
.gh-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.gh-field input:focus, .gh-field textarea:focus, .gh-field .gh-select:focus { border-color: var(--gh-ink); }
.gh-field small, .gh-hint { color: var(--gh-text-2); font-size: 12.5px; margin: 0; }
.gh-hint { margin: -6px 0 14px; }
.gh-hint-inline { font-weight: 400; color: var(--gh-text-2); }
.gh-field-row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }
.gh-field-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gh-form-section { margin-bottom: 16px; }
.gh-form-section h2 { margin: 0 0 16px; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: 18px; color: var(--gh-ink); }
.gh-form-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 117, 122, .14); color: #d6364a; font-weight: 600; font-size: 14px; }
.gh-form-error.is-ok { background: rgba(31, 138, 76, .14); color: #1f8a4c; }
.gh-drop { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; border: 2px dashed var(--gh-line); border-radius: 16px; min-height: 92px; }
.gh-drop img { border-radius: 12px; object-fit: cover; background: var(--gh-chip); }
.gh-drop-logo img { width: 64px; height: 64px; object-fit: contain; }
.gh-drop-banner img { width: 200px; max-width: 100%; aspect-ratio: 16 / 9; height: auto; }
.gh-drop .gh-btn { min-height: 42px; }
.gh-gallery-edit { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gh-gallery-cell, .gh-gallery-add { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--gh-chip); margin: 0; }
.gh-gallery-cell img { width: 100%; height: 100%; object-fit: cover; }
.gh-gallery-rm { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .62); color: #fff; display: grid; place-items: center; cursor: pointer; }
.gh-gallery-add { display: grid; place-items: center; align-content: center; gap: 4px; border: 2px dashed var(--gh-line); background: transparent; color: var(--gh-text-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.gh-gallery-add:hover { border-color: var(--gh-muted); color: var(--gh-ink); }
.gh-partners { display: grid; gap: 8px; margin-bottom: 14px; }
.gh-partner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--gh-line); border-radius: 12px; }
.gh-partner b { display: block; color: var(--gh-ink); }
.gh-partner small { color: var(--gh-text-2); }
.gh-partner-add { align-items: end; }
.gh-partner-add .gh-btn { margin-bottom: 16px; min-height: 48px; }
.gh-danger { margin-top: 28px; border: 1px solid var(--gh-line); border-radius: 16px; background: var(--gh-surface); }
.gh-danger summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 700; color: #d6364a; min-height: 52px; }
.gh-danger summary::-webkit-details-marker { display: none; }
.gh-danger summary .gh-ic { transition: transform .2s; color: var(--gh-muted); }
.gh-danger[open] summary .gh-ic { transform: rotate(90deg); }
.gh-danger-body { padding: 0 18px 18px; color: var(--gh-text-2); }
.gh-btn-danger { background: #d6364a; color: #fff !important; }

/* Strona gry */
.gh-game-hero { position: relative; aspect-ratio: 16 / 6; max-width: 100%; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, .78)), var(--cover, linear-gradient(120deg, #2b2b33, #1c1b1d)) center / cover no-repeat; }
@media (max-width: 767px) { .gh-game-hero { aspect-ratio: 4 / 3; border-radius: 18px; } }
.gh-game-hero-in { display: flex; align-items: center; gap: 14px; padding: 22px; color: #fff; min-width: 0; }
.gh-game-hero h1 { margin: 0; font-family: var(--gh-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.05; color: #fff; overflow-wrap: anywhere; text-wrap: balance; }
.gh-game-by { opacity: .85; font-weight: 600; margin-top: 4px; }
.gh-game-logo { width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .12); flex: none; }
.gh-game-logo img { width: 100%; height: 100%; object-fit: contain; }
.gh-game-tags { margin: 16px 0 0; }
.gh-store-links { display: flex; flex-wrap: wrap; gap: 6px; }
.gh-person-link { color: inherit !important; text-decoration: none !important; margin-top: 8px; }
.gh-person-link:hover { border-color: var(--gh-muted); }
.gh-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gh-gallery-item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; cursor: zoom-in; background: var(--gh-chip); }
.gh-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gh-gallery-item:hover img { transform: scale(1.03); }
.gh-videos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gh-video { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 14px; overflow: hidden; background: #000; color: #fff !important; text-decoration: none !important; }
.gh-video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.gh-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: #e33; display: grid; place-items: center; }
.gh-video-t { position: absolute; left: 12px; bottom: 10px; font-weight: 700; font-size: 13px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.gh-lightbox-box { position: relative; max-width: min(1200px, 100%); }
.gh-lightbox-box img { display: block; max-width: 100%; max-height: calc(100vh - 64px); border-radius: 14px; }
.gh-lightbox .gh-modal-x { background: rgba(0, 0, 0, .55); color: #fff; }
@media (prefers-reduced-motion: reduce) { .gh-gallery-item img, .gh-danger summary .gh-ic { transition: none; } }

/* Panel: pusta kolumna boczna (karta „Dodaj ofertę” ukryta) oddaje miejsce treści; kolorowe karty w spokojnym stylu. */
.gh-main-body .row > .col-md-4:has(> .gh-side-empty) { display: none; }
@media (min-width: 992px) { .gh-main-body .row:has(> .col-md-4 > .gh-side-empty) > .col-md-8 { width: 100%; } }
.gh-main-body [style*="linear-gradient(1"] { background: var(--gh-surface) !important; color: var(--gh-ink) !important; border: 1px solid var(--gh-line); border-top: 4px solid var(--gh-accent); border-radius: 18px !important; text-align: left !important; padding: 22px !important; }
.gh-main-body [style*="linear-gradient(1"] [onclick] { background: var(--gh-accent) !important; color: #18181b !important; border-radius: 12px !important; padding: 12px 20px !important; }
.gh-main-body [style*="linear-gradient(1"] > div:first-child { color: var(--gh-text-2); }
.gh-top { margin-bottom: 12px; }
.gh-drop input[type="file"], .gh-gallery-add input[type="file"] { display: none !important; }

/* Talenty */
.gh-talents { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 400px) { .gh-talents { grid-template-columns: minmax(0, 1fr); } }
.gh-talent { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--gh-surface); border: 1px solid var(--gh-line); color: var(--gh-ink) !important; text-decoration: none !important; min-width: 0; }
.gh-talent:hover { border-color: var(--gh-muted); }
.gh-talent-ava { width: 52px; height: 52px; font-size: 15px; }
.gh-talent-main { min-width: 0; display: grid; gap: 4px; }
.gh-talent-main b { font-size: 15.5px; }
.gh-talent-main small { color: var(--gh-text-2); font-size: 13px; overflow-wrap: anywhere; }
.gh-talent-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.gh-talent-photo { width: 104px; height: 104px; border-radius: 28px; font-size: 32px; }
.gh-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--gh-line); display: grid; gap: 18px; }
.gh-timeline li { position: relative; color: var(--gh-ink); }
.gh-timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gh-accent); }
.gh-timeline small { display: block; color: var(--gh-text-2); font-size: 13px; margin-top: 2px; }
.gh-timeline p { margin: 6px 0 0; color: var(--gh-text-2); }
.gh-repeat { display: grid; gap: 12px; margin-bottom: 12px; }
.gh-repeat-row { padding: 14px; border: 1px solid var(--gh-line); border-radius: 14px; }
.gh-repeat-inline { display: grid; gap: 0 12px; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: end; }
.gh-repeat-inline .gh-btn { margin-bottom: 16px; min-height: 48px; }
@media (max-width: 767px) { .gh-repeat-inline { grid-template-columns: minmax(0, 1fr); } }
.gh-cv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--gh-ink); }
.gh-cv a { color: var(--gh-ink); text-decoration: underline; }
.gh-cv input[type="file"] { display: none !important; }

/* Mój profil (views/users/_dashboard.twig i _edit.twig): konto i profil talentu na jednej stronie */
.gh-prof-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-prof-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.gh-prof-ava { flex: none; width: 76px; height: 76px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: var(--gh-accent); color: #18181b;
  font-family: var(--gh-font-display); font-stretch: 112%; font-weight: 800; font-size: 24px; }
.gh-prof-ava img { width: 100%; height: 100%; object-fit: cover; }
.gh-prof-id { flex: 1 1 220px; min-width: 0; display: grid; gap: 4px; justify-items: start; }
.gh-prof-id h2 { margin: 0; font-family: var(--gh-font-display); font-stretch: 112%; font-weight: 800; font-size: 22px; line-height: 1.15; color: var(--gh-ink); overflow-wrap: anywhere; }
.gh-prof-meta { color: var(--gh-text-2); font-size: 14.5px; }
.gh-prof-headline { color: var(--gh-ink); font-size: 14px; }
.gh-prof-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 11px; border-radius: 999px; background: var(--gh-chip); color: var(--gh-text-2); font-size: 12.5px; font-weight: 700; }
.gh-prof-pill.is-ok { color: var(--gh-ink); box-shadow: inset 0 0 0 1.5px var(--gh-accent); }
.gh-prof-missing { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 16px; border-radius: 14px;
  border: 1px dashed var(--gh-line); color: var(--gh-ink); font-size: 14px; }
.gh-prof-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "switch" "main" "side"; }
.gh-prof-switch { grid-area: switch; padding-block: 6px; }
.gh-prof-switch .gh-switch-row, .gh-prof-side .gh-switch-row { border-bottom: 0; padding: 10px 0; }
.gh-prof-status { min-height: 16px; font-size: 12px; font-weight: 600; color: var(--gh-text-2); }
.gh-prof-main { grid-area: main; display: grid; gap: 14px; align-content: start; min-width: 0; }
.gh-prof-side { grid-area: side; display: grid; gap: 14px; align-content: start; min-width: 0; }
.gh-prof input[type="file"][hidden] { display: none !important; }
.gh-prof .gh-prof-lbl { line-height: 1.3; font-family: inherit; }
.gh-prof-lbl { margin: 0 0 10px; font-size: 11.5px !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gh-muted); }
.gh-prof-bio { color: var(--gh-text-2); font-size: 15px; line-height: 1.6; max-width: 72ch; overflow-wrap: anywhere; }
.gh-prof-bio p:last-child { margin-bottom: 0; }
.gh-prof-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gh-prof-chips span { background: var(--gh-chip); color: var(--gh-ink); border-radius: 9px; padding: 5px 11px; font-size: 13px; }
.gh-prof-exp, .gh-prof-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gh-prof-exp b { display: block; color: var(--gh-ink); font-size: 15px; }
.gh-prof-exp span { color: var(--gh-muted); font-size: 13px; }
.gh-prof-exp p { margin: 4px 0 0; color: var(--gh-text-2); font-size: 14px; }
.gh-prof-links { gap: 10px; }
.gh-prof-links li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gh-prof-links a { color: var(--gh-ink); text-decoration: underline; text-underline-offset: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gh-prof-tag { flex: none; min-width: 78px; text-align: center; background: var(--gh-chip); border-radius: 7px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; color: var(--gh-ink); }
.gh-prof-off { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 1px dashed var(--gh-line); color: var(--gh-text-2); font-size: 14px; }
.gh-prof-off svg { flex: none; }
.gh-prof-fields .gh-field:last-child { margin-bottom: 0; }
.gh-prof-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; color: var(--gh-text-2); }
.gh-prof-file a:not(.gh-btn) { color: var(--gh-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; flex: 1; }
.gh-prof-file .gh-btn { min-height: 38px; padding: 0 14px; }
.gh-prof-pdf { font-family: var(--gh-font-display); font-weight: 800; font-size: 10px; background: #e5484d; color: #fff; border-radius: 6px; padding: 6px 5px; }
.gh-prof .gh-hint { margin: 0; }
@media (min-width: 992px) {
  .gh-prof-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "main switch" "main side"; grid-template-rows: auto 1fr; }
  .gh-prof-side { align-self: start; }
}
/* Edycja profilu */
.gh-prof-photo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.gh-prof-photo .gh-hint { flex: 1 1 220px; }
.gh-prof-photo-box { position: relative; width: 120px; height: 120px; border-radius: 22px; background: var(--gh-chip); border: 2px dashed var(--gh-line); }
.gh-prof-photo-box.is-invalid { border-color: #e5484d; }
.gh-prof-photo-pick { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; cursor: pointer; border-radius: 20px; overflow: hidden; text-align: center; color: var(--gh-text-2); font-size: 12.5px; font-weight: 600; }
.gh-prof-photo-pick img { width: 100%; height: 100%; object-fit: cover; }
.gh-prof-photo-pick span { display: grid; justify-items: center; gap: 6px; }
.gh-prof-photo-del { position: absolute; right: -8px; bottom: -8px; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--gh-line); background: var(--gh-surface); color: var(--gh-ink); display: grid; place-items: center; cursor: pointer; }
.gh-prof-photo-del[hidden], .gh-prof-photo-pick [hidden] { display: none; }
.gh-field .is-invalid, .gh-field input.is-invalid, .gh-field textarea.is-invalid { border-color: #e5484d !important; }
.gh-prof-talent { margin-top: 8px; }
.gh-prof-talent[hidden] { display: none; }
.gh-prof-sub { margin: 22px 0 10px; font-size: 15px; font-weight: 700; color: var(--gh-ink); }
.gh-prof-spinner { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; background: rgba(0, 0, 0, .5); }
.gh-prof-spinner[hidden] { display: none; }
.gh-prof-spinner .spinner { width: 32px; height: 32px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin 1s linear infinite; }

/* Komunikat po zapisie (ghToast w assets/js/header.js): na dole na środku, żółty jak przycisk */
.gh-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 2147483000; display: inline-flex; align-items: center; gap: 8px;
  width: max-content; min-height: 46px; max-width: calc(100vw - 32px); padding: 10px 22px; line-height: 1.35; border-radius: 14px; background: var(--gh-accent); color: #18181b; font-size: 14.5px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.gh-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.gh-toast svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gh-toast.is-error { background: #1c1b1d; color: #fff; box-shadow: inset 0 0 0 2px #e5484d, 0 12px 30px rgba(0, 0, 0, .28); }
@media (prefers-reduced-motion: reduce) { .gh-toast { transition: none; } }

/* Panel studia (views/brands/_profile-extra.twig) i galeria studia na publicznym profilu */
.gh-studio-panel { display: grid; gap: 14px; margin-top: 24px; }
.gh-studio-panel .gh-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gh-studio-panel h2 { margin: 0; font-family: var(--gh-font-display); font-stretch: 112%; font-weight: 800; font-size: 18px; color: var(--gh-ink); }
.gh-studio-panel h2 .gh-muted { font-family: var(--gh-font-body, inherit); font-weight: 600; font-size: 14px; margin-left: 4px; }
.gh-studio-panel-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-studio-panel .gh-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.gh-facts-grid { display: grid; gap: 14px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.gh-facts-grid > div { min-width: 0; }
.gh-facts-grid dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gh-muted); font-weight: 700; margin-bottom: 4px; }
.gh-facts-grid dd { margin: 0; color: var(--gh-ink); font-size: 14.5px; overflow-wrap: anywhere; }
.gh-facts-grid dd a { color: var(--gh-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .gh-facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gh-studio-gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gh-studio-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--gh-chip); display: block; }
.gh-studio-panel .gh-muted { color: var(--gh-text-2); margin: 0; }
