/* 4.11 min2: formularze zgłoszenia oferty (/pl/jobs/post/zglos/, /jobs/post/submit/) w systemie N4B-min jak „Dla firm”.
   Strona: <html class="n4b n4p n4form"> + /css/n4b-chrome.css (menu, stopka, fonty) + ten plik. Plik pisany ręcznie (bez build-css.py).
   Tylko wygląd: treść, id, name, handlery i zdarzenia PostHog bez zmian. Haki: .n4f-hero (nagłówek), .n4f-main (formularz).
   Kolory: granat #16245F / tekst #081951, lawenda #D9CCFB, tło #F7F5FA, ramki #E4E6EE, tekst pomocniczy #5A607A / #3D4360. */

html.n4form, html.n4form body { background: #F7F5FA !important; color: #081951; }
html.n4form body { font-family: 'Instrument Sans', Inter, ui-sans-serif, system-ui, sans-serif; }
html.n4form { color-scheme: light; }
html.n4form ::selection { background: #D9CCFB; color: #081951; }

/* ---------- granatowy blok nagłówka ---------- */
html.n4form .n4f-hero { padding: 16px 8px 0 !important; }
html.n4form .n4f-hero > div { max-width: 768px; background: #16245F; border-radius: 24px; padding: 32px 24px; }
@media (min-width: 768px) {
  html.n4form .n4f-hero { padding: 24px 24px 0 !important; }
  html.n4form .n4f-hero > div { border-radius: 28px; padding: 48px; }
}
html.n4form .n4f-hero .inline-block.uppercase { border: 0 !important; padding: 0 !important; color: rgba(255,255,255,.74) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500; margin-bottom: 12px !important; }
html.n4form .n4f-hero h1 { font-family: 'Instrument Sans', Inter, ui-sans-serif, system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: -.025em; line-height: 1.15 !important; color: #fff !important; font-size: 30px !important; }
@media (min-width: 768px) { html.n4form .n4f-hero h1 { font-size: 44px !important; } }
/* 18.11 (Filip, decyzje po audycie designu): kolorowy drugi wers tylko w hero boardu — tu kolor nagłówka */
html.n4form .n4f-hero h1 em { font-style: normal !important; color: inherit !important; }
html.n4form .n4f-hero p { color: rgba(255,255,255,.74) !important; font-size: 16px; line-height: 1.6 !important; margin: 0; }
html.n4form .n4f-hero a { color: #fff !important; text-decoration: underline; text-decoration-color: #D9CCFB; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- formularz na jasnym tle ---------- */
html.n4form .n4f-main { padding-top: 32px !important; padding-bottom: 64px !important; }
@media (max-width: 767px) { html.n4form .n4f-main { padding-left: 16px !important; padding-right: 16px !important; } }
html.n4form .form-step { border-top-color: #E4E6EE !important; }
html.n4form .form-step-label { color: #5A607A !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 600 !important; }
html.n4form .field-label { color: #081951 !important; font-size: 14px !important; font-weight: 600 !important; }
html.n4form .n4f-main :is(.text-white\/55, .text-white\/60) { color: #5A607A !important; }
html.n4form .n4f-main :is(.text-white\/65, .text-white\/70, .text-white\/75) { color: #3D4360 !important; }
html.n4form .n4f-main :is(.text-stone-100, .text-white) { color: #081951 !important; }
html.n4form .n4f-main .font-serif { font-family: 'Instrument Sans', Inter, ui-sans-serif, system-ui, sans-serif !important; }
html.n4form .n4f-main a.text-violet-300, html.n4form .n4f-main a.underline { color: #16245F !important; text-decoration: underline; text-decoration-color: #D9CCFB !important; text-decoration-thickness: 2px; text-underline-offset: 4px; }
html.n4form .n4f-main a.text-violet-300:hover, html.n4form .n4f-main a.underline:hover { text-decoration-color: #16245F !important; }
html.n4form .n4f-main .text-violet-300:not(a), html.n4form .n4f-main .text-violet-400 { color: #16245F !important; }

/* pola */
html.n4form :is(.field-input, .field-select, .field-textarea) { background-color: #fff !important; border: 1px solid #E4E6EE !important; color: #081951 !important; border-radius: 12px !important; min-height: 48px; font-size: 16px; line-height: 1.45; box-shadow: none !important; }
html.n4form :is(.field-input, .field-select, .field-textarea):hover { border-color: #C9CCD8 !important; }
html.n4form :is(.field-input, .field-select, .field-textarea):focus { border-color: #16245F !important; outline: 2px solid #16245F !important; outline-offset: 0; background: #fff !important; }
html.n4form :is(.field-input, .field-textarea)::placeholder { color: #5A607A !important; opacity: 1; }
html.n4form .field-select { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316245F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; }
html.n4form .field-select option { color: #081951; background: #fff; }
html.n4form input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset !important; -webkit-text-fill-color: #081951 !important; }
html.n4form input[type="checkbox"] { accent-color: #16245F; }

/* karty pakietów: białe; wybrana jak .r3-card.hl na „Dla firm” */
html.n4form .tier-card { background: #fff !important; border: 1px solid #E4E6EE !important; border-radius: 14px !important; box-shadow: none !important; }
html.n4form .tier-card:hover { border-color: #16245F !important; background: #fff !important; box-shadow: 0 6px 18px rgba(8,25,81,.10) !important; }
html.n4form .tier-card.selected { background: #F8F6FE !important; border-color: #16245F !important; box-shadow: inset 0 3px 0 #D9CCFB !important; }
html.n4form .tier-card.selected::after { background: #16245F !important; color: #fff !important; }
html.n4form .tier-card .font-serif.text-base { font-size: 16px !important; font-weight: 600; color: #081951 !important; }
html.n4form .tier-card .font-serif.text-2xl { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif !important; font-weight: 800 !important; color: #081951 !important; letter-spacing: -.02em; }
html.n4form .tier-card .font-serif.text-2xl .text-sm { font-family: 'Instrument Sans', Inter, sans-serif; font-weight: 500; color: #5A607A !important; }
html.n4form #free-banner { background: #fff !important; border: 1px solid #16245F !important; border-radius: 14px !important; box-shadow: inset 0 3px 0 #D9CCFB; }
html.n4form #free-banner .font-serif.text-lg { font-weight: 600; color: #081951 !important; }
html.n4form #free-banner .font-serif.text-2xl { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif !important; font-weight: 800 !important; color: #081951 !important; }
html.n4form .flag-pl { box-shadow: 0 0 0 1px #E4E6EE !important; }
html.n4form [data-boost-countdown] { color: #2F3550 !important; font-size: 14px !important; }

/* chipy: jak .r3-chip; wybrany = granat z białym */
html.n4form :is(.radio-pill, .check-pill) { background: #fff !important; border: 1px solid #E4E6EE !important; color: #2F3550 !important; font-size: 14px !important; font-weight: 500 !important; min-height: 44px; }
html.n4form :is(.radio-pill, .check-pill):hover { border-color: #16245F !important; color: #081951 !important; background: #F1EDFC !important; }
html.n4form :is(.radio-pill, .check-pill).selected { background: #16245F !important; border-color: #16245F !important; color: #fff !important; font-weight: 600 !important; }
html.n4form .check-pill:focus-within, html.n4form .radio-pill:focus-within { outline: 2px solid #16245F; outline-offset: 2px; }
/* 19.11 (audyt dostępności pkt 1): karta pakietu pokazuje fokus pola radio (pole ma opacity:0) */
html.n4form .tier-card:has(input:focus-visible) { outline: 2px solid #16245F; outline-offset: 2px; }

/* „Więcej szczegółów” */
html.n4form details#more > summary { color: #081951 !important; font-weight: 600 !important; }
html.n4form details#more > summary > span:last-child { color: #16245F !important; }

/* stopka formularza: gwarancja jak na „Dla firm”, przycisk główny granat */
html.n4form .n4f-main .border-t.pt-7 { border-top-color: #E4E6EE !important; }
html.n4form .guar-box { background: #fff !important; border: 1px solid #E4E6EE !important; box-shadow: inset 3px 0 0 #D9CCFB; color: #2F3550 !important; border-radius: 14px !important; padding: 16px 20px !important; font-size: 15px !important; line-height: 1.45 !important; }
html.n4form .guar-box b { color: #081951 !important; }
html.n4form #submit-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px !important; border-radius: 12px !important; background: #16245F !important; color: #fff !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.45; }
@media (min-width: 640px) { html.n4form #submit-btn { display: inline-flex; } }
html.n4form #submit-btn:hover { background: #24367F !important; }
html.n4form #submit-btn:active { background: #081951 !important; }
html.n4form #submit-btn:disabled { opacity: .55; }
html.n4form #form-error { color: #B42318 !important; background: #fff; border: 1px solid #E4E6EE; box-shadow: inset 3px 0 0 #B42318; border-radius: 12px; padding: 12px 16px; font-size: 15px !important; line-height: 1.45; font-weight: 500; }
html.n4form #form-error.hidden { display: none !important; }

/* stopka strony: nagłówki grup 14 px jak na boardzie */
html.n4form [data-wus-footer] .wf-h { font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: #5A607A !important; }
/* fokus z klawiatury: granat na jasnym, lawenda na granacie */
html.n4form :focus-visible { outline: 2px solid #16245F !important; outline-offset: 2px; }
html.n4form .n4f-hero :focus-visible { outline-color: #D9CCFB !important; }
html.n4form .field-textarea { min-height: 120px; line-height: 1.6; }
html.n4form .n4f-hero h1 { text-wrap: balance; }

/* 5.11 krok 2 „Dodaj szczegóły (opcjonalnie)” — potwierdzenie kroku 1, nagłówek, przyciski jak na boardzie (granat główny, obrys drugi) */
html.n4form .n4f-step2 .s2-ok { display: flex; gap: 10px; align-items: flex-start; margin: 0; background: #F8F6FE; border: 1px solid #E4E6EE; box-shadow: inset 3px 0 0 #D9CCFB; border-radius: 14px; padding: 14px 18px; color: #081951; font-size: 16px; font-weight: 600; line-height: 1.45; }
html.n4form .n4f-step2 .s2-ok:focus { outline: none; }
html.n4form .n4f-step2 .s2-tick { display: inline-flex; flex: 0 0 22px; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #16245F; color: #fff; font-size: 13px; margin-top: 1px; }
html.n4form .n4f-step2 .s2-h { margin: 0; font-family: 'Instrument Sans', Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; color: #081951; }
@media (min-width: 768px) { html.n4form .n4f-step2 .s2-h { font-size: 28px; } }
html.n4form .n4f-step2 .s2-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { html.n4form .n4f-step2 .s2-actions { flex-direction: row; align-items: center; } }
html.n4form .n4f-step2 :is(.s2-primary, .s2-skip) { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font: 600 16px/1.45 'Instrument Sans', Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
html.n4form .n4f-step2 .s2-primary { background: #16245F; color: #fff; border: 1px solid #16245F; }
html.n4form .n4f-step2 .s2-primary:hover { background: #24367F; }
html.n4form .n4f-step2 .s2-primary:active { background: #081951; }
html.n4form .n4f-step2 .s2-skip { background: #fff; color: #16245F; border: 1px solid #E4E6EE; }
html.n4form .n4f-step2 .s2-skip:hover { border-color: #16245F; background: #F1EDFC; }
html.n4form .n4f-step2 :is(.s2-primary, .s2-skip):disabled { opacity: .55; cursor: default; }
html.n4form .n4f-step2 .s2-skip[hidden] { display: none !important; }
html.n4form #s2-error { color: #B42318 !important; background: #fff; border: 1px solid #E4E6EE; box-shadow: inset 3px 0 0 #B42318; border-radius: 12px; padding: 12px 16px; font-size: 15px !important; line-height: 1.45; font-weight: 500; }
html.n4form #s2-error.hidden { display: none !important; }
html.n4form .n4f-step2 .s2-sim { margin: 12px 0 0; padding: 12px 16px; border: 1px dashed #16245F; border-radius: 12px; background: #fff; color: #16245F; font-size: 14px; line-height: 1.45; word-break: break-all; }
/* 5.11: przy płatnym „Pomiń szczegóły i zapłać” jako przycisk tekstowy (podkreślenie lawendą jak linki na boardzie) */
html.n4form .n4f-step2 .s2-skip.s2-text { background: transparent; border: 0; padding: 0 4px; color: #16245F; text-decoration: underline; text-decoration-color: #D9CCFB; text-decoration-thickness: 2px; text-underline-offset: 4px; }
html.n4form .n4f-step2 .s2-skip.s2-text:hover { text-decoration-color: #16245F; }

/* ===== 5.11 system interakcji (Audyt_Hover_2026-11-05.html): ten sam wzór co board — link 2 px + kolor kreski, granat hover #24367F / klik #081951,
   obrys/chip/wiersz hover #F1EDFC, na granacie lawendowa ramka + 16 % lawendy, karta = granatowa ramka + cień. Hover tylko dla myszy. ===== */
html.n4form .n4f-hero a:hover { text-decoration-color: #fff !important; }
html.n4form .n4f-step2 .s2-skip.s2-text:hover { background: transparent; }
html.n4form .tier-card { transition: border-color .15s ease, box-shadow .15s ease; }
/* telefon: dotknięcie nie zostawia stanu hover */
@media (hover: none) { html.n4form #submit-btn:hover { background: #16245F !important; } }
