/* ═══════════════════════════════════════════════════════════════════════════
   pt-zlote-przyciski.css — E11 (15.09.2026): złote przyciski (gradient
   gold→orange, CTA „primary”) w CAŁYM systemie mają BIAŁĄ, POGRUBIONĄ czcionkę.
   Decyzja właściciela z 13.09.

   JAK TO DZIAŁA
   • Plik ładowany w każdym panelu/stronie ze złotymi przyciskami. Każdy selektor
     ma prefiks `html ` → +1 specyficzności wobec reguły źródłowej (także tej
     wstrzykiwanej później z js/*.js), więc wygrywa bez `!important` i niezależnie
     od kolejności ładowania.
   • Stany z WŁASNYM kolorem (np. `.kda-save:disabled{background:#eee;color:#756d62}`,
     `.x:hover{color:…}`) mają wyższą specyficzność (pseudoklasa) i dalej wygrywają —
     celowo: tam, gdzie tło przestaje być złote, tekst nie jest wymuszany na biały.
   • Selektory o nazwach generycznych (`.cta`, `.btn`, `.btn-g`, `.btn-p`, `.chip.active`…)
     są zawężone do strony przez `body[data-zlote="<plik>"]`, bo w innych stronach ta sama
     klasa bywa przyciskiem NIEzłotym (np. `.btn-g` w salesman.html = kremowy ghost,
     `.btn-p` w hr.html = różowy). Atrybut ustawiony na <body> w tych plikach.
   • Ikony SVG w przyciskach dziedziczą przez `currentColor` (nie wymuszamy `fill`,
     bo ikony liniowe mają `fill="none"`).
   • Przyciski „ghost/outline” (złoty obrys, białe tło) NIE są tu wymienione.

   PRZEŁĄCZENIE WARIANTU — zmiana TYLKO w bloku :root poniżej (jedno miejsce):
     A (wdrożony)  --btn-zloty-tekst:#fff     --btn-zloty-cien:0 1px 2px rgba(0,0,0,.18)  --btn-zloty-start:#F9C843
     B             --btn-zloty-tekst:#fff     --btn-zloty-cien:none                      --btn-zloty-start:#F5B93A
     C             --btn-zloty-tekst:#FFFDF7  --btn-zloty-cien:none                      --btn-zloty-start:#F9C843
   `--btn-zloty-start` działa przez lokalne nadpisanie `--g1` (i aliasów) NA PRZYCISKU,
   więc przyciemnia start gradientu tylko w tle przycisków, nie globalnie. Reguły
   z literałem `#F9C843` w tle (bez var) nie reagują na B — lista w raporcie
   docs/klienci-v2/07aa_E11_zlote_przyciski_wykonanie.md §2b.
   ═══════════════════════════════════════════════════════════════════════════ */

:root{
  --btn-zloty-tekst:#fff;
  --btn-zloty-cien:0 1px 2px rgba(0,0,0,.18);
  --btn-zloty-start:#F9C843;
}

/* ── 1. Tekst: biały, 700, cień ─────────────────────────────────────────── */
/* login.html */
html .login-btn,
/* coordinator.html (generyczne zawężone do strony) */
html body[data-zlote="coordinator"] .cta, html body[data-zlote="coordinator"] .btn-g, html body[data-zlote="coordinator"] .btn-p,
html body[data-zlote="coordinator"] .edit-btn.on, html body[data-zlote="coordinator"] .filter-chip.on,
html body[data-zlote="coordinator"] .sf.on, html .slf.on[data-lvl=""],
html .save-btn-full, html .t-filter-chip.on, html .sm-chip.on, html .wb-cat-chip.active,
html .lh-rec-btn, html .cln-btn, html .ld-btn-book, html .mega-btn-book, html .sz-subtab.active,
html .rx-card-action, html .rx-btn.primary, html .wb-card-action, html .wb-btn-icon.primary,
html .mobile-script-toggle, html .mobile-script-close,
/* css/coord-buddy.css (plik cudzy — nieedytowany, selektor objęty stąd) */
html .bdm-btn.primary,
/* css/coord-probne-zastepstwa.css */
html .cpz-btn.primary, html .rpd-close-button,
/* js/coord-followup-masterpiece.js, coord-hot-leady.js, coord-leaderboards.js, coord-tasks-masterpiece.js */
html .cfm-btn-umowLekcje, html #view-hot-leady .filter-chip.on, html #view-hot-leady .bva.hl-cta,
html .lb-chip.on, html .ctm-btn.primary, html .ctm-resch-foot .save,
/* salesman.html (generyczne zawężone do strony) */
html body[data-zlote="salesman"] .btn-p, html body[data-zlote="salesman"] .unlock-btn, html body[data-zlote="salesman"] .lc-btn,
html body[data-zlote="salesman"] .sc-play-btn,
html .train-record-btn, html .script-phase-tab.on,
html .celeb-btn.primary, html .bp-btn.bp-call, html .ia.ia-main, html .pl-tab.active, html .comm-filter.active,
html .kreator-gen-btn, html .fb-g, html .slm-cta-btn, html .cc-btn-call, html .confirm-box .cf-ok,
html .slp-save-btn, html .scal-chip.on, html .scal-grid-today-btn, html .scal-day-cta, html .cs-filter.on,
html .cs-btn-book, html .cs-slot-chip.sel, html .cs-modal-submit, html .srec-sync-btn, html .srec-chip-sales.on,
html .srec-btn-watch, html .srec-cta, html .v10-vt-btn.on, html .v10-resched-input button,
/* js/sales-*.js, buyer-company.js, kreator-umowy.js */
html .slm-stage-opt.on, html .slm-btn-save, html .slm-cfm-btn-ok, html .sfp-btn.call, html .som-btn-primary,
html .ksu-cta, html .ksu-lv button.on, html .ptb-seg-opt.on, html .e12k-go,
/* hr.html (generyczne zawężone do strony) */
html body[data-zlote="hr"] .btn-g, html body[data-zlote="hr"] .chip.active, html body[data-zlote="hr"] .edit-btn.on,
html .doc-notify-body .doc-n-btn, html .umowy-pill.active, html .ucd-btn-primary,
html .btn-send-accounting, html .hr-call-rating .rate-btn.active, html .template-edit-toggle.active,
html .bulk-select-bar .bulk-btn.primary, html .zpl-chip.on, html .zpl-chip--planned.on, html .zpl-btn-call,
html .zpl-btn-call.zpl-btn-parent, html .zpl-cta, html .recv-sync-btn, html .recv-btn-watch, html .recv-cta,
html .ft-pill[data-ft="status"].active,
/* js/hr-*.js, faktury.js, crm-simp.js */
html .her-btn-cta, html .hkl-ask-btn.ok, html .hkl-pill.active, html .hkl-act.primary, html .hkp-fpill.active,
html .hkl-m-btn.primary, html .hrr-btn-primary, html .hrr-tray-btn.cal, html .hrr-followup-fab,
html .hrr-followup-act.retry, html .hrr-result-opt.selected.cancelled, html .krsp .btn.p, html .krsp .seg button.on,
html .krsp .plus, html .wpl-btn.g, html .fvz-btn.primary, html .simp-cta, html .simp-send.ready,
/* js/crm-table.js + css/pt-kt.css (CRM Klienci / Karta ucznia — ta sama rodzina) */
html .crm-btn.acc, html .crm-btn.book, html .crm-rowbook, html .crm-ent-tab.on, html .crm-fchip.on,
html .ctp-tab.on, html .e10z-chip.on, html .crm-view.on,
html .kt-btn.acc, html .kt-btn.book, html .kt-rowbook, html .kt-ent-tab.on, html .kt-fchip.on, html .kt-chip.on,
html .kt .kt-view.on, html .kt-view.on, html .kt-hwcard .cta, html .htl-join-btn.htl-join-btn--hw3, html.pt-f-hw3 .kal-btn.kal-hw3,
/* js/crm-table-detail.js */
html .crmbk-chip.on, html .crmbk-go, html .crmtt-go, html .crmtt-addbtn, html .e8p-new, html .e3s-cta,
html .cfa-mode[data-on="faktura"] .cfa-seg button[aria-selected="true"], html .cfa-seg button[data-armed="1"],
/* tutor.html (generyczne zawężone do strony) */
html body[data-zlote="tutor"] .btn-p, html body[data-zlote="tutor"] .lf-btn,
html .career-widget-cta, html .career-levelup-btn, html .sched-alert-btn.add, html .htl-join-btn--gold,
html .avail-today-btn, html .sr-btn-fill, html .cfm-btn-primary, html .lang-assign-btn,
html .csm-btn-submit, html .mlm-btn-confirm, html .kb-assign-btn, html .kb-error-retry, html .assign-type-btn.active,
html .assign-send-btn, html .wyn-filter-pill.active, html .res-task-btn.remind, html .rev-btn-send,
html .train-announce-close, html .dcard-btn.ready, html .pmsg-input-area button, html .sv2-pill.sv2-pill-on,
html .sv2-btn-submit, html .avail-subject-tab.active, html .lead-btn-next, html .htl-mini-modal-footer .lead-btn-next,
html .bw-chip.active, html .homework-modal-footer button, html #heroTodaySection .htl-join-btn--primary,
html #v-rodzice .mk-act-btn.primary, html .utm-dow-chip.on, html .utm-stage-opt.on, html .utm-btn-save,
html .utm-freq-opt.on, html .mk-ns-btn.primary, html .mk-next-start, html .mk-act.primary, html .mk-fab,
html .mkname-btn.primary, html .mk-chip-cta, html .mk-act.mk-act-primary, html .sz-year-chip.on,
html .tr-recon-addnew-btn, html .mlm-btn-save, html .m5t-ag-join, html #v-trials .htl-join-btn--primary,
html .m64-cta, html #v-rodzice.m64-on .rl-join-btn,
/* css/tutor-*.css, pt-sheet.css, pt-contact.css, tutor-asystent.css */
html .kda-save, html #v-terminy [data-akcja=dostepnosc], html .kal-cta, html .kal-btn.glowny, html .kal.mob .kal-fab,
html .kal-chip[aria-pressed="true"], html #heroTodaySection .htl-actions .tmp-main, html .tpu .tpu-cta, html .tmt-dodaj-ik,
html .pts-btn-next, html .pts-btn-send, html .ptc-btn-primary, html .ptc-send.ready, html .pta-fab, html .pta-btn.p, html .pta-send,
/* js/tutor-*.js, survey-templates.js, attendance-popup.js, pt-ocena-lekcji.js, zero-tour.js, pt-onboarding.js, pt-report-issue.js, referral-campaign.js, pt-act-as.js, pt-menu.js, cookie-consent.js */
html .lk-btn-primary, html .mob-btn--meet, html .mob-setup-next, html .rec-add-card, html #ptTTFab,
html .jv2-filter-chip.active, html .jv2-card-btn-primary, html .jv2-assign-foot .jv2-btn-submit, html .jv2-type-chip.active,
html .st-insert-btn, html .ap-popup__btn--primary, html .po-cta, html .zt-btn-primary, html .zt-info-cta,
html .pt-onb-welcome-cta, html .pt-onb-banner-cta, html .pt-onb-empty-cta, html .pri-send, html .rc-send-btn, html .rc-sel-btn,
html .pt-aa-expired .pt-aa-expired-btn, html .ptm-btn.gl, html #pt-cc-banner .pt-cc-btn-primary, html #pt-cc-modal .pt-cc-foot .pt-cc-btn-primary,
/* parent.html + css/parent-homework-v3.css */
html .p-avatar-btn, html .p-lang-empty-btn, html .p-lesson-join, html .p-chat-send, html .tickets-new-btn,
html .tickets-filter-btn.active, html .p-modal-btn.primary, html .p-referral-share-btn, html .p-pay-cta, html .btn-3d-gold,
html .invite-btn-premium, html .help-fab, html .ptz-cta, html .hw3-cta,
/* js/lang-*.js (Języki), mlodsi-*.js (Młodsi), szkola-*.js + css/szkola-sp46.css (Szkoła / arkusze) */
html .lang-celeb-btn-retry, html .lang-review-btn, html .lang-review-empty-btn, html .lang-review-finish-btn,
html .lang-vocab-filter-active, html .lang-vocab-fab, html .lang-map-section-start-chip, html .lmt-btn-review,
html .lmd-next, html .lmd-fab, html .lp2-result-cta, html .lq-bootstate-retry, html .lq-listen-play-btn, html .lq-btn-gold,
html .lq-btn-blue, html .lq-report-send, html .lqs-mic-btn, html .lang-mylangs-continue.primary,
html .mla-next, html .mlh-cel-btn, html .mlp-next, html .mlc-start, html .mlr-btn, html .mll-pill.on, html .mgo,
html .szq-skip-btn, html .szq-check-btn, html .szq-next-btn, html .sz-daily5-btn, html .sz-level-toggle .sz-level-pill.active,
html .sz-assigned-btn, html .sz-err-btn-primary, html .sz-quiz-start-btn, html .szl-sec__b .sz-audiobook-link,
html .szl-sec__b .sz-quiz-start-btn, html .szl-sec__b .sz-quiz-launcher-btn, html .szl-cta, html .sz46-go,
/* admin.html (generyczne zawężone do strony), admin-*.html, js/admin-*.js */
html body[data-zlote="admin"] .btn-add, html body[data-zlote="admin"] .pc-ok, html body[data-zlote="admin"] .tb-book,
html .mega-pill.on, html .mega-period button.on, html .cmp-view-btn.on,
html .cmp-period-btn.on, html .adm-error-btn, html .prof-daybtn.on, html .ro-chip.on, html .ro-btn.primary,
html .acc-btn-primary, html .kg-cta-prim, html .wyp-gen, html .mapa-tg button.on,
html .wb-btn.glowny, html .adst-b.zapisz, html .alp-chip.on, html .alp-btn, html .arp-btn-gold,
/* strony publiczne — generyczne zawężone do strony przez body[data-zlote] */
html body[data-zlote="afiliacja"] .cta, html body[data-zlote="materialy"] .cta, html body[data-zlote="polecam"] .cta,
html body[data-zlote="film"] .cta, html body[data-zlote="rekrutacja-setter"] .cta, html body[data-zlote="rekrutacja-setter"] .recbtn,
html body[data-zlote="rekrutacja-setter"] .btn.primary, html body[data-zlote="szkolenie-setter"] .recbtn,
html body[data-zlote="szkolenie-setter"] .btn, html body[data-zlote="afiliant"] .btn, html body[data-zlote="admin-afilianci"] .btn,
html body[data-zlote="rekrutacja-korepetytor"] .btn, html body[data-zlote="tworcy"] .btn.gold, html body[data-zlote="lejek-analiza"] .seg button.on,
html .k-cta, html .kopiuj-skrypt, html .wejdz, html .sugg button.sel, html .tnav a.on, html .clip__btn, html .dock__btn, html .printbtn,
/* przyciski ze złotym gradientem w style="…" (kolor inline, jeśli jest, wygrywa — przypadki ciemne poprawione w plikach) */
html button[style*="linear-gradient"][style*="var(--g1)"], html a[style*="linear-gradient"][style*="var(--g1)"],
html button[style*="linear-gradient"][style*="var(--g2)"], html a[style*="linear-gradient"][style*="var(--g2)"],
html button[style*="linear-gradient"][style*="#F9C843"], html a[style*="linear-gradient"][style*="#F9C843"],
html button[style*="linear-gradient"][style*="#f9c843"], html a[style*="linear-gradient"][style*="#f9c843"],
html button[style*="linear-gradient"][style*="#F07020"], html a[style*="linear-gradient"][style*="#F07020"]{
  color:var(--btn-zloty-tekst);
  font-weight:700;
  text-shadow:var(--btn-zloty-cien);
  /* wariant B: start gradientu tylko w tle przycisków (w A wartość identyczna z globalną) */
  --g1:var(--btn-zloty-start);
  --kal-g1:var(--btn-zloty-start);
  --hrr-gold:var(--btn-zloty-start);
  --cpz-g1:var(--btn-zloty-start);
  --ptc-g1:var(--btn-zloty-start);
  --qg1:var(--btn-zloty-start);
  --lang-gold:var(--btn-zloty-start);
  --pt-gold:var(--btn-zloty-start);
  --zt-gold:var(--btn-zloty-start);
  --po-gold:var(--btn-zloty-start);
  --kt-acc2:var(--btn-zloty-start);
  --crm-acc2:var(--btn-zloty-start);
  --gold:var(--btn-zloty-start);
}

/* ── 2. Disabled: biel zostaje, cały przycisk .55 (pominięte przyciski z własnym szarym disabled: .kda-save, .sv2-btn-submit) ── */
html .login-btn:disabled, html .save-btn-full:disabled, html body[data-zlote="coordinator"] .cta:disabled,
html body[data-zlote="coordinator"] .btn-g:disabled, html body[data-zlote="coordinator"] .btn-p:disabled,
html body[data-zlote="salesman"] .btn-p:disabled, html body[data-zlote="tutor"] .btn-p:disabled, html body[data-zlote="hr"] .btn-g:disabled,
html .lh-rec-btn:disabled, html .cln-btn:disabled, html .ld-btn-book:disabled, html .mega-btn-book:disabled,
html .rx-btn.primary:disabled, html .bdm-btn.primary:disabled, html .cpz-btn.primary:disabled, html .cfm-btn-umowLekcje:disabled,
html .ctm-btn.primary:disabled, html body[data-zlote="salesman"] .lc-btn:disabled, html body[data-zlote="salesman"] .unlock-btn:disabled,
html .kreator-gen-btn:disabled, html .fb-g:disabled, html .slm-cta-btn:disabled, html .cc-btn-call:disabled, html .confirm-box .cf-ok:disabled,
html .slp-save-btn:disabled, html .cs-btn-book:disabled, html .cs-modal-submit:disabled, html .slm-btn-save:disabled,
html .som-btn-primary:disabled, html .ksu-cta:disabled, html .e12k-go:disabled, html .doc-notify-body .doc-n-btn:disabled,
html .ucd-btn-primary:disabled, html .btn-send-accounting:disabled, html .bulk-select-bar .bulk-btn.primary:disabled,
html .zpl-btn-call:disabled, html .zpl-cta:disabled, html .recv-sync-btn:disabled, html .recv-cta:disabled,
html .her-btn-cta:disabled, html .hkl-act.primary:disabled, html .hkl-m-btn.primary:disabled, html .hrr-btn-primary:disabled,
html .krsp .btn.p:disabled, html .wpl-btn.g:disabled, html .fvz-btn.primary:disabled, html .simp-cta:disabled,
html .crm-btn.book:disabled, html .crm-rowbook:disabled, html .kt-btn.book:disabled, html .kt-rowbook:disabled,
html .crmbk-go:disabled, html .crmtt-go:disabled, html .crmtt-addbtn:disabled, html .e8p-new:disabled, html .e3s-cta:disabled,
html .cfm-btn-primary:disabled, html .csm-btn-submit:disabled, html .mlm-btn-confirm:disabled, html .kb-assign-btn:disabled,
html .assign-send-btn:disabled, html .rev-btn-send:disabled, html .lead-btn-next:disabled, html .utm-btn-save:disabled,
html .mk-ns-btn.primary:disabled, html .mkname-btn.primary:disabled, html .mlm-btn-save:disabled, html .kal-btn.glowny:disabled,
html .pts-btn-next:disabled, html .pts-btn-send:disabled, html .ptc-btn-primary:disabled, html .pta-send:disabled,
html .lk-btn-primary:disabled, html .mob-setup-next:disabled, html .jv2-assign-foot .jv2-btn-submit:disabled,
html .st-insert-btn:disabled, html .ap-popup__btn--primary:disabled, html .pri-send:disabled, html .rc-send-btn:disabled,
html .p-chat-send:disabled, html .p-modal-btn.primary:disabled, html .p-pay-cta:disabled, html .hw3-cta:disabled,
html .lq-report-send:disabled, html .szq-check-btn:disabled, html .szq-next-btn:disabled, html .sz46-go:disabled,
html body[data-zlote="admin"] .btn-add:disabled, html body[data-zlote="admin"] .pc-ok:disabled, html .ro-btn.primary:disabled,
html .acc-btn-primary:disabled, html .kg-cta-prim:disabled, html .wyp-gen:disabled, html .adst-b.zapisz:disabled, html .alp-btn:disabled,
html .k-cta:disabled, html .wejdz:disabled, html body[data-zlote="afiliant"] .btn:disabled, html body[data-zlote="rekrutacja-korepetytor"] .btn:disabled,
html [aria-disabled="true"].crm-btn.book, html [aria-disabled="true"].kt-btn.book, html [aria-disabled="true"].p-pay-cta, html [aria-disabled="true"].hw3-cta{
  opacity:.55;
}

/* ── 3. Stany hover na złocie, które w źródle mogłyby wrócić do ciemnego tekstu (aktywne chipy/zakładki) ── */
html .sz-subtab.active:hover, html body[data-zlote="hr"] .chip.active:hover, html body[data-zlote="hr"] .edit-btn.on:hover,
html body[data-zlote="coordinator"] .edit-btn.on:hover, html .template-edit-toggle.active:hover,
html .kt-fchip.on:hover, html .crm-fchip.on:hover, html .kt-chip.on:hover, html .e10z-chip.on:hover,
html .kt-ent-tab.on:hover, html .crm-ent-tab.on:hover, html .ctp-tab.on:hover, html .crm-view.on:hover, html .kt-view.on:hover{
  color:var(--btn-zloty-tekst);
}
