
    #kufiks-pkd-code-first{--kp-bg:light-dark(#f3f6f9,#111e2d);--kp-paper:light-dark(#fff,#1b2b3d);--kp-ink:light-dark(#142e4b,#edf4fc);--kp-muted:light-dark(#596d82,#b0c0d3);--kp-line:light-dark(#dbe3ec,#3b4c61);--kp-soft:light-dark(#eef3f9,#26384e);--kp-blue:light-dark(#0054ff,#7ca9ff);color:var(--kp-ink);background:var(--kp-bg);border-radius:16px;overflow:hidden;font:15px/1.55 system-ui,-apple-system,sans-serif}
    #kufiks-pkd-code-first *{box-sizing:border-box}#kufiks-pkd-code-first button,#kufiks-pkd-code-first input{font:inherit;color:inherit}#kufiks-pkd-code-first button{cursor:pointer}#kufiks-pkd-code-first .kp-header{background:var(--kp-paper);border-bottom:1px solid var(--kp-line);padding:20px 30px;display:flex;align-items:center;gap:30px;flex-wrap:wrap}#kufiks-pkd-code-first .kp-brand{font-size:22px;letter-spacing:3px;font-weight:700}#kufiks-pkd-code-first .kp-brand small{display:block;letter-spacing:1px;font-size:10px;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-nav{color:var(--kp-blue);text-decoration:underline;text-underline-offset:7px;font-weight:600}#kufiks-pkd-code-first .kp-design{margin-left:auto;margin-right:75px;font-size:12px;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-main{padding:28px 32px 32px;max-width:1040px;margin:auto}#kufiks-pkd-code-first .kp-breadcrumb{font-size:12px;color:var(--kp-muted)}#kufiks-pkd-code-first h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:16px 0 10px}#kufiks-pkd-code-first .kp-lead{color:var(--kp-muted);margin:0 0 24px;max-width:650px}#kufiks-pkd-code-first .kp-search-label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}#kufiks-pkd-code-first .kp-search{display:flex;align-items:center;gap:12px;border:1px solid var(--kp-line);background:var(--kp-paper);border-radius:10px;padding:4px 14px}#kufiks-pkd-code-first .kp-search input{width:100%;border:0;background:transparent;padding:14px 0;min-width:0;outline-offset:3px;font-size:16px}#kufiks-pkd-code-first .kp-search svg{width:21px;height:21px;flex-shrink:0;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-examples{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 20px;font-size:12px;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-chip{border:1px solid var(--kp-line);border-radius:24px;padding:6px 12px;background:var(--kp-paper)}#kufiks-pkd-code-first .kp-count{font-size:12px;color:var(--kp-muted);margin:0 0 10px}#kufiks-pkd-code-first .kp-result{background:var(--kp-paper);border:1px solid var(--kp-line);border-radius:12px;padding:22px}#kufiks-pkd-code-first .kp-result-head{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}#kufiks-pkd-code-first .kp-code{display:inline-block;border-radius:5px;background:var(--kp-soft);padding:4px 9px;font-size:12px;font-weight:600}#kufiks-pkd-code-first h2{font-size:21px;line-height:1.3;margin:10px 0 6px}#kufiks-pkd-code-first .kp-description{color:var(--kp-muted);font-size:13px;margin:0;max-width:620px}#kufiks-pkd-code-first .kp-primary{background:var(--kp-ink);color:var(--kp-paper);border:0;border-radius:7px;padding:11px 15px;font-size:13px;white-space:nowrap}#kufiks-pkd-code-first .kp-tax-area{border-top:1px solid var(--kp-line);margin-top:20px;padding-top:18px}#kufiks-pkd-code-first .kp-section-label{font-size:13px;font-weight:600;margin:0 0 12px}#kufiks-pkd-code-first .kp-tax-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}#kufiks-pkd-code-first .kp-tax{background:var(--kp-paper);border:1px solid var(--kp-line);border-radius:8px;padding:14px 8px;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;text-align:center}#kufiks-pkd-code-first .kp-tax[aria-pressed=true]{background:var(--kp-soft);border-color:var(--kp-ink);box-shadow:inset 0 0 0 1px var(--kp-ink)}#kufiks-pkd-code-first .kp-dot{width:22px;height:22px;border-radius:50%;display:inline-block;flex-shrink:0}#kufiks-pkd-code-first .kp-ryczalt{background:#2563eb}#kufiks-pkd-code-first .kp-skala{background:#16a34a}#kufiks-pkd-code-first .kp-liniowy{background:#ffdd00}#kufiks-pkd-code-first .kp-vat{background:#f00000}#kufiks-pkd-code-first .kp-kasa{background:#fff;border:2px solid #111}#kufiks-pkd-code-first .kp-tax strong{font-size:13px;font-weight:600}#kufiks-pkd-code-first .kp-tax small{font-size:11px;color:var(--kp-muted);line-height:1.4}#kufiks-pkd-code-first .kp-detail{margin-top:16px;padding:20px;background:var(--kp-soft);border-radius:9px}#kufiks-pkd-code-first .kp-detail-head{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:600;margin-bottom:12px}#kufiks-pkd-code-first .kp-detail-head .kp-dot{width:14px;height:14px}#kufiks-pkd-code-first .kp-detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}#kufiks-pkd-code-first .kp-detail p{margin:0 0 10px;font-size:13px}#kufiks-pkd-code-first .kp-limit{font-size:26px;font-weight:600;letter-spacing:-.5px;margin:0 0 3px}#kufiks-pkd-code-first .kp-question{font-size:13px;font-weight:600;margin-bottom:9px}#kufiks-pkd-code-first .kp-answers{display:flex;flex-wrap:wrap;gap:7px}#kufiks-pkd-code-first .kp-answer{border:1px solid var(--kp-line);border-radius:6px;background:var(--kp-paper);padding:8px 11px;font-size:12px}#kufiks-pkd-code-first .kp-answer[aria-pressed=true]{background:var(--kp-ink);color:var(--kp-paper);border-color:var(--kp-ink)}#kufiks-pkd-code-first .kp-followup{margin-top:12px!important;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}#kufiks-pkd-code-first .kp-note{font-size:11px;color:var(--kp-muted);margin:0;max-width:540px}#kufiks-pkd-code-first .kp-link{border:0;background:transparent;color:var(--kp-blue);text-decoration:underline;text-underline-offset:4px;padding:8px 0;font-size:13px}#kufiks-pkd-code-first .kp-empty{padding:24px;background:var(--kp-paper);border-radius:10px}#kufiks-pkd-code-first [hidden]{display:none!important}@media(max-width:650px){#kufiks-pkd-code-first .kp-header{padding:16px 18px;gap:20px}#kufiks-pkd-code-first .kp-design{margin:0}#kufiks-pkd-code-first .kp-main{padding:20px 16px}#kufiks-pkd-code-first h1{font-size:27px}#kufiks-pkd-code-first .kp-result{padding:16px}#kufiks-pkd-code-first .kp-tax-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#kufiks-pkd-code-first .kp-detail-grid{grid-template-columns:1fr;gap:14px}#kufiks-pkd-code-first .kp-detail{padding:16px}#kufiks-pkd-code-first .kp-primary{white-space:normal}}@media(max-width:380px){#kufiks-pkd-code-first .kp-tax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
    #kufiks-pkd-code-first .kp-result-head>div{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:24px;align-items:center;width:100%}#kufiks-pkd-code-first .kp-code{grid-row:1/3;background:transparent;padding:0;font-size:42px;letter-spacing:-1.5px;line-height:1.2;color:var(--kp-ink);font-weight:700;user-select:all}#kufiks-pkd-code-first .kp-result-head h2{margin:0 0 7px;font-size:22px}#kufiks-pkd-code-first .kp-description{grid-column:2}#kufiks-pkd-code-first .kp-result-head>.kp-primary{margin-top:8px}#kufiks-pkd-code-first .kp-result{border-top:3px solid var(--kp-ink);padding:26px}#kufiks-pkd-code-first .kp-section-label{font-weight:500}#kufiks-pkd-code-first .kp-tax-grid{margin-top:4px}#kufiks-pkd-code-first .kp-next{font-size:12px;color:var(--kp-muted);margin:18px 0 0}#kufiks-pkd-code-first .kp-design{font-size:12px}@media(max-width:650px){#kufiks-pkd-code-first .kp-result{padding:20px}#kufiks-pkd-code-first .kp-result-head>div{grid-template-columns:1fr;gap:10px}#kufiks-pkd-code-first .kp-code{grid-row:auto;font-size:38px}#kufiks-pkd-code-first .kp-description{grid-column:1}#kufiks-pkd-code-first .kp-result-head h2{margin:0;font-size:20px}#kufiks-pkd-code-first .kp-primary{width:100%}}
  
#kufiks-pkd-code-first{color-scheme:light;max-width:1200px;margin:0 auto;border-radius:0}#kufiks-pkd-code-first .kp-test-note{padding:10px 14px;background:#fff7df;color:#604a0d;border-radius:7px;font-size:12px;margin:0 0 20px}#kufiks-pkd-code-first #kp-clarify{padding:18px;background:var(--kp-paper);border:1px solid var(--kp-line);border-radius:10px;margin-bottom:16px}#kufiks-pkd-code-first .kp-choice-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#kufiks-pkd-code-first .kp-match{display:flex;gap:16px;align-items:center;width:100%;background:var(--kp-paper);padding:12px;border:1px solid var(--kp-line);margin-bottom:8px;border-radius:7px;text-align:left}#kufiks-pkd-code-first .kp-match strong{font-size:20px;white-space:nowrap}#kufiks-pkd-code-first #kp-scope{width:100%;font-size:13px;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-scope-note{padding:12px;border-left:3px solid var(--kp-blue);background:var(--kp-soft);margin-top:10px}#kufiks-pkd-code-first .kp-chip,#kufiks-pkd-code-first .kp-answer{min-height:44px}#kufiks-pkd-code-first .kp-result-head>.kp-primary{max-width:100%}#kufiks-pkd-code-first .kp-code{font-variant-numeric:tabular-nums}@media(max-width:400px){#kufiks-pkd-code-first .kp-header{gap:12px}#kufiks-pkd-code-first .kp-match{align-items:flex-start;flex-direction:column;gap:4px}}
#kufiks-pkd-code-first .kp-result-head>#kp-scope{display:block;grid-template-columns:none}#kufiks-pkd-code-first .kp-result-head>#kp-scope:empty{display:none}
#kufiks-pkd-code-first .kp-tax-grid{display:flex;flex-wrap:wrap;gap:8px}#kufiks-pkd-code-first .kp-tax{flex:0 1 auto;min-height:36px;flex-direction:row;justify-content:center;gap:7px;padding:7px 11px;border-radius:5px}#kufiks-pkd-code-first .kp-tax .kp-dot{width:12px;height:12px}#kufiks-pkd-code-first .kp-tax strong{font-size:12px;font-weight:600;white-space:nowrap}#kufiks-pkd-code-first .kp-tax small{display:none}@media(pointer:coarse){#kufiks-pkd-code-first .kp-tax{min-height:44px}}
#kufiks-pkd-code-first .kp-category{font-size:12px;color:var(--kp-muted);margin:6px 0 12px}#kufiks-pkd-code-first .kp-official{padding:12px 0;border-top:1px solid var(--kp-line)}#kufiks-pkd-code-first summary{cursor:pointer;font-size:13px;font-weight:600}#kufiks-pkd-code-first .kp-official-text{white-space:pre-line;font-size:13px;line-height:1.65;margin:14px 0;max-width:100%}#kufiks-pkd-code-first .kp-official a,#kufiks-pkd-code-first .kp-sources{font-size:12px;color:var(--kp-muted)}#kufiks-pkd-code-first .kp-decision h3{font-size:20px;margin:0 0 9px}#kufiks-pkd-code-first .kp-decision p{font-size:13px;margin:0 0 18px}#kufiks-pkd-code-first .kp-decision.kp-state-restricted{border-left:3px solid #b42318;padding-left:12px}#kufiks-pkd-code-first .kp-input-label{display:block;font-size:13px;margin:10px 0 6px}#kufiks-pkd-code-first .kp-input-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#kufiks-pkd-code-first .kp-input-row input{font-size:16px;border:1px solid var(--kp-line);padding:10px;border-radius:6px;max-width:100%;background:var(--kp-paper);min-width:0}#kufiks-pkd-code-first .kp-assumptions{border-top:1px solid var(--kp-line);margin-top:18px;padding-top:12px}#kufiks-pkd-code-first .kp-assumptions p{font-size:12px}#kufiks-pkd-code-first .kp-sources{border-top:1px solid var(--kp-line);margin-top:16px;padding-top:12px}#kufiks-pkd-code-first .kp-review{margin-top:24px;padding:18px;background:var(--kp-paper);border:1px solid var(--kp-line);border-radius:8px}#kufiks-pkd-code-first .kp-review-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--kp-line);font-size:12px}#kufiks-pkd-code-first .kp-review-row label{display:flex;align-items:center;gap:6px}#kufiks-pkd-code-first .kp-review-row select,#kufiks-pkd-code-first .kp-review-row input{font-size:14px;max-width:100%;min-width:0;border:1px solid var(--kp-line);border-radius:5px;padding:7px;background:var(--kp-paper);color:var(--kp-ink)}#kufiks-pkd-code-first #kp-matches{margin-top:18px}#kufiks-pkd-code-first #kp-tax-error{color:#a11c15;font-size:13px}#kufiks-pkd-code-first .kp-code{white-space:nowrap}

#kufiks-pkd-code-first #kp-matches{margin:10px 0 18px}#kufiks-pkd-code-first .kp-match{min-height:54px;transition:background-color .15s,border-color .15s}#kufiks-pkd-code-first .kp-match:hover,#kufiks-pkd-code-first .kp-match:focus-visible{background:var(--kp-soft);border-color:var(--kp-blue);outline:2px solid var(--kp-blue);outline-offset:1px}#kufiks-pkd-code-first .kp-match small{display:block;font-size:12px;color:var(--kp-muted);margin-top:3px}#kufiks-pkd-code-first .kp-pick{margin-left:auto;color:var(--kp-blue)}#kufiks-pkd-code-first .kp-count{margin-top:10px;min-height:18px}@media(max-width:400px){#kufiks-pkd-code-first .kp-pick{display:none}}

/* Wspólny wygląd powrotu jak w kalkulatorze wynagrodzeń. */
#kufiks-pkd-code-first{max-width:1280px}#kufiks-pkd-code-first .kp-header{padding:10px 44px;background:var(--kp-bg);gap:16px}#kufiks-pkd-code-first .kp-nav{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:6px 0;margin:0;font-size:18px;font-weight:700;line-height:1.55;color:#112c49;text-decoration:none}#kufiks-pkd-code-first .kp-nav .back-arrow{font-size:30px;line-height:1}#kufiks-pkd-code-first .kp-nav:hover{text-decoration:underline;text-underline-offset:5px}#kufiks-pkd-code-first .kp-design{margin-left:auto;margin-right:0}@media(max-width:650px){#kufiks-pkd-code-first .kp-header{padding:8px 20px;gap:8px}#kufiks-pkd-code-first .kp-nav{font-size:16px;gap:10px}#kufiks-pkd-code-first .kp-nav .back-arrow{font-size:28px}}

/* Direct activity guidance, no questionnaire. */
#kufiks-pkd-code-first .kp-tax[hidden]{display:none!important}
#kufiks-pkd-code-first .kp-tax-area{margin-top:20px}
#kufiks-pkd-code-first .kp-tax{display:grid;grid-template-columns:12px minmax(0,1fr);gap:3px 7px;min-height:54px;height:auto;align-items:center;text-align:left;max-width:230px}
#kufiks-pkd-code-first .kp-tax small{grid-column:2;display:block;white-space:normal;font-size:11px;line-height:1.3;max-width:170px}
#kufiks-pkd-code-first .kp-section-label{font-weight:700}
#kufiks-pkd-code-first .kp-guidance-notes{padding-left:20px;color:#334770;font-size:14px;line-height:1.6}
#kufiks-pkd-code-first .kp-guidance-notes li+li{margin-top:8px}
#kufiks-pkd-code-first .kp-detail .kp-sources{margin-top:16px}
#kufiks-pkd-code-first .kp-detail .kp-sources summary{cursor:pointer}
#kufiks-pkd-code-first .kp-footer .kp-link{display:inline-block;flex-shrink:0}

#kufiks-pkd-code-first #kp-activity-detail{display:block;width:100%;box-sizing:border-box;padding:10px;border:1px solid #b6c1db;border-radius:6px;font:inherit;color:#112c49;background:#fff;resize:vertical;margin-bottom:8px}
#kufiks-pkd-code-first #kp-scope-form{margin:12px 0 16px}
#kufiks-pkd-code-first #kp-reset-scope{margin-top:12px}
#kufiks-pkd-code-first #kp-cash-notice{padding:10px 12px;border-left:3px solid #142342;background:#f4f6fa;margin-top:14px;line-height:1.5}
#kufiks-pkd-code-first #kp-check-rental-cash{margin:0 0 10px}
#kufiks-pkd-code-first [hidden]{display:none!important}

#kufiks-pkd-code-first .kp-health{margin-top:20px;padding-top:16px;border-top:1px solid #b8c6d5}
#kufiks-pkd-code-first .kp-health h4{font:inherit;font-weight:700;font-size:17px;margin:0 0 10px;color:#112c49}
#kufiks-pkd-code-first .kp-health table{width:100%;border-collapse:collapse;font-size:14px;background:#fff;margin:12px 0}
#kufiks-pkd-code-first .kp-health th,#kufiks-pkd-code-first .kp-health td{padding:10px 12px;text-align:left;border:1px solid #cbd5e1;color:#112c49}
#kufiks-pkd-code-first .kp-health thead th{background:#e4ecf5;font-weight:700}
#kufiks-pkd-code-first .kp-health tbody th{font-weight:400}
#kufiks-pkd-code-first .kp-health td{white-space:nowrap;font-weight:700}
@media(max-width:600px){#kufiks-pkd-code-first .kp-health th,#kufiks-pkd-code-first .kp-health td{padding:8px;font-size:13px}}

/* Stable suggestion area: no display toggle on every keystroke. */
#kufiks-pkd-code-first .kp-search-output{min-height:340px;overflow:clip;overflow-anchor:none}
#kufiks-pkd-code-first .kp-search-output>.kp-count{min-height:38px;line-height:18px;margin:10px 0}
#kufiks-pkd-code-first #kp-matches{max-height:272px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scroll-behavior:smooth;margin:0;padding:3px}
#kufiks-pkd-code-first .kp-match{animation:kp-suggestion-in 180ms ease-out both;transition:background-color 160ms ease,border-color 160ms ease;transform:none!important}
#kufiks-pkd-code-first .kp-match:hover,#kufiks-pkd-code-first .kp-match:focus-visible{transform:none!important}
#kufiks-pkd-code-first .kp-result{animation:kp-suggestion-in 180ms ease-out both}
@keyframes kp-suggestion-in{from{opacity:.35}to{opacity:1}}
@media(max-width:650px){#kufiks-pkd-code-first .kp-search-output{min-height:320px}#kufiks-pkd-code-first #kp-matches{max-height:252px}}
@media(prefers-reduced-motion:reduce){#kufiks-pkd-code-first .kp-match,#kufiks-pkd-code-first .kp-result{animation:none;transition:none}#kufiks-pkd-code-first #kp-matches{scroll-behavior:auto}}

/* Sprawdzenia w kontekście wybranego PKD, bez przenoszenia do innej zakładki. */
#kufiks-pkd-code-first .kp-practical{margin:16px 0;border:2px solid #bfd0e2;border-radius:9px;background:#fff;padding:14px 18px}
#kufiks-pkd-code-first .kp-practical summary{font-size:15px;font-weight:750;color:#112c49;cursor:pointer;min-height:30px;line-height:1.5}
#kufiks-pkd-code-first .kp-practical>p{font-size:13px;line-height:1.6;color:#334e69;margin:10px 0 16px}
#kufiks-pkd-code-first .kp-check-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
#kufiks-pkd-code-first .kp-check-fields>[data-previous],#kufiks-pkd-code-first .kp-check-fields>[data-crossing]{grid-column:1/-1}
#kufiks-pkd-code-first .kp-check-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#112c49;margin-bottom:10px}
#kufiks-pkd-code-first .kp-check-field input,#kufiks-pkd-code-first .kp-check-field select{width:100%;max-width:100%;min-width:0;min-height:44px;padding:9px 11px;border:2px solid #a9bdcf;border-radius:6px;font:inherit;font-weight:400;color:#112c49;background:#fff}
#kufiks-pkd-code-first .kp-check-field small{font-size:11px;font-weight:400;line-height:1.5;color:#52677d}
#kufiks-pkd-code-first .kp-check-output{margin-top:16px;padding:18px;border:2px solid #7296be;background:#f2f7fd;border-radius:8px}
#kufiks-pkd-code-first .kp-check-output h4{margin:0 0 14px;font-size:17px;color:#112c49;line-height:1.4}
#kufiks-pkd-code-first .kp-check-output dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 16px}
#kufiks-pkd-code-first .kp-check-output dt{font-size:12px;color:#334e69}#kufiks-pkd-code-first .kp-check-output dd{margin:5px 0 0;font-size:22px;line-height:1.3;font-weight:750;font-variant-numeric:tabular-nums;color:#112c49;overflow-wrap:anywhere}
#kufiks-pkd-code-first .kp-check-next{font-size:14px;font-weight:650;line-height:1.6}#kufiks-pkd-code-first .kp-check-output small{display:block;font-size:12px;line-height:1.6;color:#52677d}
#kufiks-pkd-code-first .kp-check-error{border-color:#b33434;background:#fff1f1;color:#922;font-size:14px}
#kufiks-pkd-code-first .kp-check-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:15px;font-size:12px}
@media(max-width:650px){#kufiks-pkd-code-first .kp-practical{padding:12px}#kufiks-pkd-code-first .kp-check-fields,#kufiks-pkd-code-first .kp-check-output dl{grid-template-columns:1fr}#kufiks-pkd-code-first .kp-check-output{padding:14px}}
