/* DARKENZ FINANSE | Editorial color system v1.0
   Działa tylko wewnątrz istniejących Akademii. Nie zmienia menu, strony głównej, artykułów ani funkcji.
   Zestaw: sosnowa zieleń + granat + terakota + złoto + śliwka. */


/* Hero | dfpo */
.dfpo .dfpo-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#112E49 0%,#176C70 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfpo .dfpo-hero :is(h1,h2){color:#fff!important}
.dfpo .dfpo-hero h1 em{color:#F3D28D!important}


/* Hero | dfpc */
.dfpc .dfpc-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#123D59 0%,#166D69 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfpc .dfpc-hero :is(h1,h2){color:#fff!important}
.dfpc .dfpc-hero h1 em{color:#F8D799!important}


/* Hero | dfkp */
.dfkp .dfkp-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#183B50 0%,#25675A 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfkp .dfkp-hero :is(h1,h2){color:#fff!important}
.dfkp .dfkp-hero h1 em{color:#F2D28A!important}


/* Hero | dfbr */
.dfbr .dfbr-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#322E4F 0%,#81514A 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfbr .dfbr-hero :is(h1,h2){color:#fff!important}
.dfbr .dfbr-hero h1 em{color:#F8D59A!important}


/* Hero | dfnp */
.dfnp .dfnp-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#0B4052 0%,#1A736D 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfnp .dfnp-hero :is(h1,h2){color:#fff!important}
.dfnp .dfnp-hero h1 em{color:#F4D48E!important}


/* Hero | dfgi */
.dfgi .dfgi-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#152F4F 0%,#13675D 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfgi .dfgi-hero :is(h1,h2){color:#fff!important}
.dfgi .dfgi-hero h1 em{color:#F3CD82!important}


/* Hero | decon */
.decon .decon-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#1B3852 0%,#197366 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.decon .decon-hero :is(h1,h2){color:#fff!important}
.decon .decon-hero h1 em{color:#EACB85!important}


/* Hero | dfcs */
.dfcs .dfcs-hero{background:radial-gradient(circle at 91% 6%,#ffffff18 0%,transparent 38%),linear-gradient(116deg,#18364B 0%,#19665E 100%)!important;box-shadow:0 14px 35px #122D3922!important;border:1px solid #ffffff19!important}
.dfcs .dfcs-hero :is(h1,h2){color:#fff!important}
.dfcs .dfcs-hero h1 em{color:#F3D38A!important}


/* Karty i nagłówki sekcji: dfpo */
.dfpo .dfpo-sectionhead{background:linear-gradient(103deg,var(--dk-head-soft,#edf5f2) 0%,#fff 95%)!important;border-left:7px solid var(--dk-head,#176359)!important;border-radius:15px!important;padding:20px 23px!important;box-shadow:0 5px 22px #102D3D0A!important;margin:0 0 22px!important}
.dfpo .dfpo-sectionhead h2{color:var(--dk-head,#164f49)!important;font-weight:900!important;line-height:1.22!important;margin:0 0 7px!important}
.dfpo .dfpo-sectionhead>span{color:var(--dk-head,#176359)!important;letter-spacing:.13em!important;font-weight:900!important;font-size:13px!important}
.dfpo .dfpo-sectionhead p{color:#394b55!important;line-height:1.65!important}
.dfpo .dfpo-module{--dk-module-accent:#1D6C63;border:1px solid #CBDDD6!important;border-left:5px solid var(--dk-module-accent)!important;box-shadow:0 3px 12px #203B4210!important}
.dfpo .dfpo-module:nth-of-type(4n+2){--dk-module-accent:#285C8A}
.dfpo .dfpo-module:nth-of-type(4n+3){--dk-module-accent:#94563E}
.dfpo .dfpo-module:nth-of-type(4n+4){--dk-module-accent:#705389}
.dfpo .dfpo-module>summary{background:linear-gradient(90deg,#F2F7F6,#FFFFFF 75%)!important;border-bottom:1px solid #dae5e10d;transition:background-color .15s ease}
.dfpo .dfpo-module[open]>summary,.dfpo .dfpo-module>summary:hover{background:#EAF2F2!important}
.dfpo .dfpo-module-no{background:var(--dk-module-accent)!important;color:#fff!important;font-weight:850!important;border-radius:10px!important}
.dfpo .dfpo-module>summary strong{color:#1D384A!important;font-weight:900!important}
.dfpo .dfpo-lesson>summary{color:#203E50!important;line-height:1.5!important}
.dfpo .dfpo-lesson>summary:hover{background:#F2F6F9!important}
.dfpo .dfpo-lesson[open]>summary{background:#EDF5F7!important;color:#164E61!important}
.dfpo .dfpo-example{background:#E7F4EF!important;border:1px solid #C8E6D9!important;border-left:5px solid #237A5D!important;border-radius:10px!important;padding:14px 17px!important}
.dfpo .dfpo-example>strong{color:#145943!important;font-size:15px!important;font-weight:900!important}
.dfpo .dfpo-task{background:#FFF5DE!important;border:1px solid #F0D7A5!important;border-left:5px solid #C38B28!important;border-radius:10px!important;padding:14px 17px!important}
.dfpo .dfpo-task>strong{color:#7A4A0D!important;font-size:15px!important;font-weight:900!important}
.dfpo .dfpo-task summary{color:#75500F!important;font-weight:800!important}
.dfpo .dfpo-note{background:#EEF4FA!important;border:1px solid #D4E2F1!important;border-left:5px solid #356A9A!important;color:#264A6E!important}
.dfpo .dfpo-chart-card{background:linear-gradient(180deg,#F6F2FC 0%,#FFF 34%)!important;border:1px solid #D9CCEA!important;border-top:4px solid #7B5AA5!important;box-shadow:0 6px 18px #2b254413!important}
.dfpo .dfpo-chart-card h3{color:#584279!important}
.dfpo .dfpo .dfpo-calculator{border:1px solid #CCDCE8!important;border-top:4px solid #39769C!important;background:linear-gradient(180deg,#F5FAFE 0%,#FFF 27%)!important}
.dfpo .dfpo-calculator h3{color:#234B6B!important}
.dfpo .dfpo-result{background:#EAF3F9!important}
.dfpo .dfpo-cases article{background:linear-gradient(180deg,#FFF8F2,#FFF 36%)!important;border:1px solid #EDD6C7!important;border-left:4px solid #B46D4B!important}
.dfpo .dfpo-cases article h3{color:#834C36!important}
.dfpo .dfpo-question-grid fieldset{background:#FCFAFF!important;border:1px solid #DDD4EA!important;border-top:4px solid #8567A2!important}
.dfpo .dfpo-question-grid legend{color:#563E79!important}
.dfpo .dfpo-archive{background:linear-gradient(180deg,#F1F4F7,#fff 55%)!important;border:1px solid #CBD6E0!important;border-top:4px solid #4D6378!important}
.dfpo .dfpo-archive-top strong{color:#344D63!important}
.dfpo :is(.dfpo-table-wrap,.dfpo-chart-card) th{background:#213F57!important;color:#fff!important}
.dfpo :is(.dfpo-table-wrap,.dfpo-chart-card) tbody tr:nth-child(even){background:#F5F8FB!important}
.dfpo :is(.dfpo-nav,.dfpo-chart-tabs) a:focus-visible,.dfpo button:focus-visible,.dfpo input:focus-visible,.dfpo summary:focus-visible{outline:3px solid #D9A441!important;outline-offset:3px!important}


/* Karty i nagłówki sekcji: dfpc */
.dfpc .dfpc-sectionhead{background:linear-gradient(103deg,var(--dk-head-soft,#edf5f2) 0%,#fff 95%)!important;border-left:7px solid var(--dk-head,#176359)!important;border-radius:15px!important;padding:20px 23px!important;box-shadow:0 5px 22px #102D3D0A!important;margin:0 0 22px!important}
.dfpc .dfpc-sectionhead h2{color:var(--dk-head,#164f49)!important;font-weight:900!important;line-height:1.22!important;margin:0 0 7px!important}
.dfpc .dfpc-sectionhead>span{color:var(--dk-head,#176359)!important;letter-spacing:.13em!important;font-weight:900!important;font-size:13px!important}
.dfpc .dfpc-sectionhead p{color:#394b55!important;line-height:1.65!important}
.dfpc .dfpc-module{--dk-module-accent:#1D6C63;border:1px solid #CBDDD6!important;border-left:5px solid var(--dk-module-accent)!important;box-shadow:0 3px 12px #203B4210!important}
.dfpc .dfpc-module:nth-of-type(4n+2){--dk-module-accent:#285C8A}
.dfpc .dfpc-module:nth-of-type(4n+3){--dk-module-accent:#94563E}
.dfpc .dfpc-module:nth-of-type(4n+4){--dk-module-accent:#705389}
.dfpc .dfpc-module>summary{background:linear-gradient(90deg,#F2F7F6,#FFFFFF 75%)!important;border-bottom:1px solid #dae5e10d;transition:background-color .15s ease}
.dfpc .dfpc-module[open]>summary,.dfpc .dfpc-module>summary:hover{background:#EAF2F2!important}
.dfpc .dfpc-module-no{background:var(--dk-module-accent)!important;color:#fff!important;font-weight:850!important;border-radius:10px!important}
.dfpc .dfpc-module>summary strong{color:#1D384A!important;font-weight:900!important}
.dfpc .dfpc-lesson>summary{color:#203E50!important;line-height:1.5!important}
.dfpc .dfpc-lesson>summary:hover{background:#F2F6F9!important}
.dfpc .dfpc-lesson[open]>summary{background:#EDF5F7!important;color:#164E61!important}
.dfpc .dfpc-example{background:#E7F4EF!important;border:1px solid #C8E6D9!important;border-left:5px solid #237A5D!important;border-radius:10px!important;padding:14px 17px!important}
.dfpc .dfpc-example>strong{color:#145943!important;font-size:15px!important;font-weight:900!important}
.dfpc .dfpc-task{background:#FFF5DE!important;border:1px solid #F0D7A5!important;border-left:5px solid #C38B28!important;border-radius:10px!important;padding:14px 17px!important}
.dfpc .dfpc-task>strong{color:#7A4A0D!important;font-size:15px!important;font-weight:900!important}
.dfpc .dfpc-task summary{color:#75500F!important;font-weight:800!important}
.dfpc .dfpc-note{background:#EEF4FA!important;border:1px solid #D4E2F1!important;border-left:5px solid #356A9A!important;color:#264A6E!important}
.dfpc .dfpc-chart-card{background:linear-gradient(180deg,#F6F2FC 0%,#FFF 34%)!important;border:1px solid #D9CCEA!important;border-top:4px solid #7B5AA5!important;box-shadow:0 6px 18px #2b254413!important}
.dfpc .dfpc-chart-card h3{color:#584279!important}
.dfpc .dfpc .dfpc-calculator{border:1px solid #CCDCE8!important;border-top:4px solid #39769C!important;background:linear-gradient(180deg,#F5FAFE 0%,#FFF 27%)!important}
.dfpc .dfpc-calculator h3{color:#234B6B!important}
.dfpc .dfpc-result{background:#EAF3F9!important}
.dfpc .dfpc-cases article{background:linear-gradient(180deg,#FFF8F2,#FFF 36%)!important;border:1px solid #EDD6C7!important;border-left:4px solid #B46D4B!important}
.dfpc .dfpc-cases article h3{color:#834C36!important}
.dfpc .dfpc-question-grid fieldset{background:#FCFAFF!important;border:1px solid #DDD4EA!important;border-top:4px solid #8567A2!important}
.dfpc .dfpc-question-grid legend{color:#563E79!important}
.dfpc .dfpc-archive{background:linear-gradient(180deg,#F1F4F7,#fff 55%)!important;border:1px solid #CBD6E0!important;border-top:4px solid #4D6378!important}
.dfpc .dfpc-archive-top strong{color:#344D63!important}
.dfpc :is(.dfpc-table-wrap,.dfpc-chart-card) th{background:#213F57!important;color:#fff!important}
.dfpc :is(.dfpc-table-wrap,.dfpc-chart-card) tbody tr:nth-child(even){background:#F5F8FB!important}
.dfpc :is(.dfpc-nav,.dfpc-chart-tabs) a:focus-visible,.dfpc button:focus-visible,.dfpc input:focus-visible,.dfpc summary:focus-visible{outline:3px solid #D9A441!important;outline-offset:3px!important}


/* Karty i nagłówki sekcji: dfkp */
.dfkp .dfkp-sectionhead{background:linear-gradient(103deg,var(--dk-head-soft,#edf5f2) 0%,#fff 95%)!important;border-left:7px solid var(--dk-head,#176359)!important;border-radius:15px!important;padding:20px 23px!important;box-shadow:0 5px 22px #102D3D0A!important;margin:0 0 22px!important}
.dfkp .dfkp-sectionhead h2{color:var(--dk-head,#164f49)!important;font-weight:900!important;line-height:1.22!important;margin:0 0 7px!important}
.dfkp .dfkp-sectionhead>span{color:var(--dk-head,#176359)!important;letter-spacing:.13em!important;font-weight:900!important;font-size:13px!important}
.dfkp .dfkp-sectionhead p{color:#394b55!important;line-height:1.65!important}
.dfkp .dfkp-module{--dk-module-accent:#1D6C63;border:1px solid #CBDDD6!important;border-left:5px solid var(--dk-module-accent)!important;box-shadow:0 3px 12px #203B4210!important}
.dfkp .dfkp-module:nth-of-type(4n+2){--dk-module-accent:#285C8A}
.dfkp .dfkp-module:nth-of-type(4n+3){--dk-module-accent:#94563E}
.dfkp .dfkp-module:nth-of-type(4n+4){--dk-module-accent:#705389}
.dfkp .dfkp-module>summary{background:linear-gradient(90deg,#F2F7F6,#FFFFFF 75%)!important;border-bottom:1px solid #dae5e10d;transition:background-color .15s ease}
.dfkp .dfkp-module[open]>summary,.dfkp .dfkp-module>summary:hover{background:#EAF2F2!important}
.dfkp .dfkp-module-no{background:var(--dk-module-accent)!important;color:#fff!important;font-weight:850!important;border-radius:10px!important}
.dfkp .dfkp-module>summary strong{color:#1D384A!important;font-weight:900!important}
.dfkp .dfkp-lesson>summary{color:#203E50!important;line-height:1.5!important}
.dfkp .dfkp-lesson>summary:hover{background:#F2F6F9!important}
.dfkp .dfkp-lesson[open]>summary{background:#EDF5F7!important;color:#164E61!important}
.dfkp .dfkp-example{background:#E7F4EF!important;border:1px solid #C8E6D9!important;border-left:5px solid #237A5D!important;border-radius:10px!important;padding:14px 17px!important}
.dfkp .dfkp-example>strong{color:#145943!important;font-size:15px!important;font-weight:900!important}
.dfkp .dfkp-task{background:#FFF5DE!important;border:1px solid #F0D7A5!important;border-left:5px solid #C38B28!important;border-radius:10px!important;padding:14px 17px!important}
.dfkp .dfkp-task>strong{color:#7A4A0D!important;font-size:15px!important;font-weight:900!important}
.dfkp .dfkp-task summary{color:#75500F!important;font-weight:800!important}
.dfkp .dfkp-note{background:#EEF4FA!important;border:1px solid #D4E2F1!important;border-left:5px solid #356A9A!important;color:#264A6E!important}
.dfkp .dfkp-chart-card{background:linear-gradient(180deg,#F6F2FC 0%,#FFF 34%)!important;border:1px solid #D9CCEA!important;border-top:4px solid #7B5AA5!important;box-shadow:0 6px 18px #2b254413!important}
.dfkp .dfkp-chart-card h3{color:#584279!important}
.dfkp .dfkp .dfkp-calculator{border:1px solid #CCDCE8!important;border-top:4px solid #39769C!important;background:linear-gradient(180deg,#F5FAFE 0%,#FFF 27%)!important}
.dfkp .dfkp-calculator h3{color:#234B6B!important}
.dfkp .dfkp-result{background:#EAF3F9!important}
.dfkp .dfkp-cases article{background:linear-gradient(180deg,#FFF8F2,#FFF 36%)!important;border:1px solid #EDD6C7!important;border-left:4px solid #B46D4B!important}
.dfkp .dfkp-cases article h3{color:#834C36!important}
.dfkp .dfkp-question-grid fieldset{background:#FCFAFF!important;border:1px solid #DDD4EA!important;border-top:4px solid #8567A2!important}
.dfkp .dfkp-question-grid legend{color:#563E79!important}
.dfkp .dfkp-archive{background:linear-gradient(180deg,#F1F4F7,#fff 55%)!important;border:1px solid #CBD6E0!important;border-top:4px solid #4D6378!important}
.dfkp .dfkp-archive-top strong{color:#344D63!important}
.dfkp :is(.dfkp-table-wrap,.dfkp-chart-card) th{background:#213F57!important;color:#fff!important}
.dfkp :is(.dfkp-table-wrap,.dfkp-chart-card) tbody tr:nth-child(even){background:#F5F8FB!important}
.dfkp :is(.dfkp-nav,.dfkp-chart-tabs) a:focus-visible,.dfkp button:focus-visible,.dfkp input:focus-visible,.dfkp summary:focus-visible{outline:3px solid #D9A441!important;outline-offset:3px!important}


/* Karty i nagłówki sekcji: dfbr */
.dfbr .dfbr-sectionhead{background:linear-gradient(103deg,var(--dk-head-soft,#edf5f2) 0%,#fff 95%)!important;border-left:7px solid var(--dk-head,#176359)!important;border-radius:15px!important;padding:20px 23px!important;box-shadow:0 5px 22px #102D3D0A!important;margin:0 0 22px!important}
.dfbr .dfbr-sectionhead h2{color:var(--dk-head,#164f49)!important;font-weight:900!important;line-height:1.22!important;margin:0 0 7px!important}
.dfbr .dfbr-sectionhead>span{color:var(--dk-head,#176359)!important;letter-spacing:.13em!important;font-weight:900!important;font-size:13px!important}
.dfbr .dfbr-sectionhead p{color:#394b55!important;line-height:1.65!important}
.dfbr .dfbr-module{--dk-module-accent:#1D6C63;border:1px solid #CBDDD6!important;border-left:5px solid var(--dk-module-accent)!important;box-shadow:0 3px 12px #203B4210!important}
.dfbr .dfbr-module:nth-of-type(4n+2){--dk-module-accent:#285C8A}
.dfbr .dfbr-module:nth-of-type(4n+3){--dk-module-accent:#94563E}
.dfbr .dfbr-module:nth-of-type(4n+4){--dk-module-accent:#705389}
.dfbr .dfbr-module>summary{background:linear-gradient(90deg,#F2F7F6,#FFFFFF 75%)!important;border-bottom:1px solid #dae5e10d;transition:background-color .15s ease}
.dfbr .dfbr-module[open]>summary,.dfbr .dfbr-module>summary:hover{background:#EAF2F2!important}
.dfbr .dfbr-module-no{background:var(--dk-module-accent)!important;color:#fff!important;font-weight:850!important;border-radius:10px!important}
.dfbr .dfbr-module>summary strong{color:#1D384A!important;font-weight:900!important}
.dfbr .dfbr-lesson>summary{color:#203E50!important;line-height:1.5!important}
.dfbr .dfbr-lesson>summary:hover{background:#F2F6F9!important}
.dfbr .dfbr-lesson[open]>summary{background:#EDF5F7!important;color:#164E61!important}
.dfbr .dfbr-example{background:#E7F4EF!important;border:1px solid #C8E6D9!important;border-left:5px solid #237A5D!important;border-radius:10px!important;padding:14px 17px!important}
.dfbr .dfbr-example>strong{color:#145943!important;font-size:15px!important;font-weight:900!important}
.dfbr .dfbr-task{background:#FFF5DE!important;border:1px solid #F0D7A5!important;border-left:5px solid #C38B28!important;border-radius:10px!important;padding:14px 17px!important}
.dfbr .dfbr-task>strong{color:#7A4A0D!important;font-size:15px!important;font-weight:900!important}
.dfbr .dfbr-task summary{color:#75500F!important;font-weight:800!important}
.dfbr .dfbr-note{background:#EEF4FA!important;border:1px solid #D4E2F1!important;border-left:5px solid #356A9A!important;color:#264A6E!important}
.dfbr .dfbr-chart-card{background:linear-gradient(180deg,#F6F2FC 0%,#FFF 34%)!important;border:1px solid #D9CCEA!important;border-top:4px solid #7B5AA5!important;box-shadow:0 6px 18px #2b254413!important}
.dfbr .dfbr-chart-card h3{color:#584279!important}
.dfbr .dfbr .dfbr-calculator{border:1px solid #CCDCE8!important;border-top:4px solid #39769C!important;background:linear-gradient(180deg,#F5FAFE 0%,#FFF 27%)!important}
.dfbr .dfbr-calculator h3{color:#234B6B!important}
.dfbr .dfbr-result{background:#EAF3F9!important}
.dfbr .dfbr-cases article{background:linear-gradient(180deg,#FFF8F2,#FFF 36%)!important;border:1px solid #EDD6C7!important;border-left:4px solid #B46D4B!important}
.dfbr .dfbr-cases article h3{color:#834C36!important}
.dfbr .dfbr-question-grid fieldset{background:#FCFAFF!important;border:1px solid #DDD4EA!important;border-top:4px solid #8567A2!important}
.dfbr .dfbr-question-grid legend{color:#563E79!important}
.dfbr .dfbr-archive{background:linear-gradient(180deg,#F1F4F7,#fff 55%)!important;border:1px solid #CBD6E0!important;border-top:4px solid #4D6378!important}
.dfbr .dfbr-archive-top strong{color:#344D63!important}
.dfbr :is(.dfbr-table-wrap,.dfbr-chart-card) th{background:#213F57!important;color:#fff!important}
.dfbr :is(.dfbr-table-wrap,.dfbr-chart-card) tbody tr:nth-child(even){background:#F5F8FB!important}
.dfbr :is(.dfbr-nav,.dfbr-chart-tabs) a:focus-visible,.dfbr button:focus-visible,.dfbr input:focus-visible,.dfbr summary:focus-visible{outline:3px solid #D9A441!important;outline-offset:3px!important}


/* Karty i nagłówki sekcji: dfnp */
.dfnp .dfnp-sectionhead{background:linear-gradient(103deg,var(--dk-head-soft,#edf5f2) 0%,#fff 95%)!important;border-left:7px solid var(--dk-head,#176359)!important;border-radius:15px!important;padding:20px 23px!important;box-shadow:0 5px 22px #102D3D0A!important;margin:0 0 22px!important}
.dfnp .dfnp-sectionhead h2{color:var(--dk-head,#164f49)!important;font-weight:900!important;line-height:1.22!important;margin:0 0 7px!important}
.dfnp .dfnp-sectionhead>span{color:var(--dk-head,#176359)!important;letter-spacing:.13em!important;font-weight:900!important;font-size:13px!important}
.dfnp .dfnp-sectionhead p{color:#394b55!important;line-height:1.65!important}
.dfnp .dfnp-module{--dk-module-accent:#1D6C63;border:1px solid #CBDDD6!important;border-left:5px solid var(--dk-module-accent)!important;box-shadow:0 3px 12px #203B4210!important}
.dfnp .dfnp-module:nth-of-type(4n+2){--dk-module-accent:#285C8A}
.dfnp .dfnp-module:nth-of-type(4n+3){--dk-module-accent:#94563E}
.dfnp .dfnp-module:nth-of-type(4n+4){--dk-module-accent:#705389}
.dfnp .dfnp-module>summary{background:linear-gradient(90deg,#F2F7F6,#FFFFFF 75%)!important;border-bottom:1px solid #dae5e10d;transition:background-color .15s ease}
.dfnp .dfnp-module[open]>summary,.dfnp .dfnp-module>summary:hover{background:#EAF2F2!important}
.dfnp .dfnp-module-no{background:var(--dk-module-accent)!important;color:#fff!important;font-weight:850!important;border-radius:10px!important}
.dfnp .dfnp-module>summary strong{color:#1D384A!important;font-weight:900!important}
.dfnp .dfnp-lesson>summary{color:#203E50!important;line-height:1.5!important}
.dfnp .dfnp-lesson>summary:hover{background:#F2F6F9!important}
.dfnp .dfnp-lesson[open]>summary{background:#EDF5F7!important;color:#164E61!important}
.dfnp .dfnp-example{background:#E7F4EF!important;border:1px solid #C8E6D9!important;border-left:5px solid #237A5D!important;border-radius:10px!important;padding:14px 17px!important}
.dfnp .dfnp-example>strong{color:#145943!important;font-size:15px!important;font-weight:900!important}
.dfnp .dfnp-task{background:#FFF5DE!important;border:1px solid #F0D7A5!important;border-left:5px solid #C38B28!important;border-radius:10px!important;padding:14px 17px!important}
.dfnp .dfnp-task>strong{color:#7A4A0D!important;font-size:15px!important;font-weight:900!important}
.dfnp .dfnp-task summary{color:#75500F!important;font-weight:800!important}
.dfnp .dfnp-note{background:#EEF4FA!important;border:1px solid #D4E2F1!important;border-left:5px solid #356A9A!important;color:#264A6E!important}
.dfnp .dfnp-chart-card{background:linear-gradient(180deg,#F6F2FC 0%,#FFF 34%)!important;border:1px solid #D9CCEA!important;border-top:4px solid #7B5AA5!important;box-shadow:0 6px 18px #2b254413!important}
.dfnp .dfnp-chart-card h3{color:#584279!important}
.dfnp .dfnp .dfnp-calculator{border:1px solid #CCDCE8!important;border-top:4px solid #39769C!important;background:linear-gradient(180deg,#F5FAFE 0%,#FFF 27%)!important}
.dfnp .dfnp-calculator h3{color:#234B6B!important}
.dfnp .dfnp-result{background:#EAF3F9!important}
.dfnp .dfnp-cases article{background:linear-gradient(180deg,#FFF8F2,#FFF 36%)!important;border:1px solid #EDD6C7!important;border-left:4px solid #B46D4B!important}
.dfnp .dfnp-cases article h3{color:#834C36!important}
.dfnp .dfnp-question-grid fieldset{background:#FCFAFF!important;border:1px solid #DDD4EA!important;border-top:4px solid #8567A2!important}
.dfnp .dfnp-question-grid legend{color:#563E79!important}
.dfnp .dfnp-archive{background:linear-gradient(180deg,#F1F4F7,#fff 55%)!important;border:1px solid #CBD6E0!important;border-top:4px solid #4D6378!important}
.dfnp .dfnp-archive-top strong{color:#344D63!important}
.dfnp :is(.dfnp-table-wrap,.dfnp-chart-card) th{background:#213F57!important;color:#fff!important}
.dfnp :is(.dfnp-table-wrap,.dfnp-chart-card) tbody tr:nth-child(even){background:#F5F8FB!important}
.dfnp :is(.dfnp-nav,.dfnp-chart-tabs) a:focus-visible,.dfnp button:focus-visible,.dfnp input:focus-visible,.dfnp summary:focus-visible{outline:3px solid #D9A441!important;outline-offset:3px!important}

.dfpo #dfpo-lessons .dfpo-sectionhead{--dk-head:#1B6A5A;--dk-head-soft:#E8F5F0}
.dfpo #dfpo-table .dfpo-sectionhead{--dk-head:#225C80;--dk-head-soft:#EAF4FC}
.dfpo #dfpo-charts .dfpo-sectionhead{--dk-head:#6F5193;--dk-head-soft:#F3ECFA}
.dfpo #dfpo-calculators .dfpo-sectionhead{--dk-head:#316E93;--dk-head-soft:#EDF5FC}
.dfpo #dfpo-cases .dfpo-sectionhead{--dk-head:#A35C42;--dk-head-soft:#FDF0E7}
.dfpo #dfpo-quiz .dfpo-sectionhead{--dk-head:#654A8E;--dk-head-soft:#F4EEFC}
.dfpo #dfpo-glossary .dfpo-sectionhead{--dk-head:#207A6E;--dk-head-soft:#E9F7F3}
.dfpo #dfpo-sources .dfpo-sectionhead{--dk-head:#486B86;--dk-head-soft:#EDF3F7}
.dfpo #dfpo-archive .dfpo-sectionhead{--dk-head:#465C6E;--dk-head-soft:#F2F5F8}
.dfpc #dfpc-lessons .dfpc-sectionhead{--dk-head:#1B6A5A;--dk-head-soft:#E8F5F0}
.dfpc #dfpc-table .dfpc-sectionhead{--dk-head:#225C80;--dk-head-soft:#EAF4FC}
.dfpc #dfpc-charts .dfpc-sectionhead{--dk-head:#6F5193;--dk-head-soft:#F3ECFA}
.dfpc #dfpc-calculators .dfpc-sectionhead{--dk-head:#316E93;--dk-head-soft:#EDF5FC}
.dfpc #dfpc-cases .dfpc-sectionhead{--dk-head:#A35C42;--dk-head-soft:#FDF0E7}
.dfpc #dfpc-quiz .dfpc-sectionhead{--dk-head:#654A8E;--dk-head-soft:#F4EEFC}
.dfpc #dfpc-glossary .dfpc-sectionhead{--dk-head:#207A6E;--dk-head-soft:#E9F7F3}
.dfpc #dfpc-sources .dfpc-sectionhead{--dk-head:#486B86;--dk-head-soft:#EDF3F7}
.dfpc #dfpc-archive .dfpc-sectionhead{--dk-head:#465C6E;--dk-head-soft:#F2F5F8}
.dfkp #dfkp-lessons .dfkp-sectionhead{--dk-head:#1B6A5A;--dk-head-soft:#E8F5F0}
.dfkp #dfkp-table .dfkp-sectionhead{--dk-head:#225C80;--dk-head-soft:#EAF4FC}
.dfkp #dfkp-charts .dfkp-sectionhead{--dk-head:#6F5193;--dk-head-soft:#F3ECFA}
.dfkp #dfkp-calculators .dfkp-sectionhead{--dk-head:#316E93;--dk-head-soft:#EDF5FC}
.dfkp #dfkp-cases .dfkp-sectionhead{--dk-head:#A35C42;--dk-head-soft:#FDF0E7}
.dfkp #dfkp-quiz .dfkp-sectionhead{--dk-head:#654A8E;--dk-head-soft:#F4EEFC}
.dfkp #dfkp-glossary .dfkp-sectionhead{--dk-head:#207A6E;--dk-head-soft:#E9F7F3}
.dfkp #dfkp-sources .dfkp-sectionhead{--dk-head:#486B86;--dk-head-soft:#EDF3F7}
.dfkp #dfkp-archive .dfkp-sectionhead{--dk-head:#465C6E;--dk-head-soft:#F2F5F8}
.dfbr #dfbr-lessons .dfbr-sectionhead{--dk-head:#1B6A5A;--dk-head-soft:#E8F5F0}
.dfbr #dfbr-table .dfbr-sectionhead{--dk-head:#225C80;--dk-head-soft:#EAF4FC}
.dfbr #dfbr-charts .dfbr-sectionhead{--dk-head:#6F5193;--dk-head-soft:#F3ECFA}
.dfbr #dfbr-calculators .dfbr-sectionhead{--dk-head:#316E93;--dk-head-soft:#EDF5FC}
.dfbr #dfbr-cases .dfbr-sectionhead{--dk-head:#A35C42;--dk-head-soft:#FDF0E7}
.dfbr #dfbr-quiz .dfbr-sectionhead{--dk-head:#654A8E;--dk-head-soft:#F4EEFC}
.dfbr #dfbr-glossary .dfbr-sectionhead{--dk-head:#207A6E;--dk-head-soft:#E9F7F3}
.dfbr #dfbr-sources .dfbr-sectionhead{--dk-head:#486B86;--dk-head-soft:#EDF3F7}
.dfbr #dfbr-archive .dfbr-sectionhead{--dk-head:#465C6E;--dk-head-soft:#F2F5F8}
.dfnp #dfnp-lessons .dfnp-sectionhead{--dk-head:#1B6A5A;--dk-head-soft:#E8F5F0}
.dfnp #dfnp-table .dfnp-sectionhead{--dk-head:#225C80;--dk-head-soft:#EAF4FC}
.dfnp #dfnp-charts .dfnp-sectionhead{--dk-head:#6F5193;--dk-head-soft:#F3ECFA}
.dfnp #dfnp-calculators .dfnp-sectionhead{--dk-head:#316E93;--dk-head-soft:#EDF5FC}
.dfnp #dfnp-cases .dfnp-sectionhead{--dk-head:#A35C42;--dk-head-soft:#FDF0E7}
.dfnp #dfnp-quiz .dfnp-sectionhead{--dk-head:#654A8E;--dk-head-soft:#F4EEFC}
.dfnp #dfnp-glossary .dfnp-sectionhead{--dk-head:#207A6E;--dk-head-soft:#E9F7F3}
.dfnp #dfnp-sources .dfnp-sectionhead{--dk-head:#486B86;--dk-head-soft:#EDF3F7}
.dfnp #dfnp-archive .dfnp-sectionhead{--dk-head:#465C6E;--dk-head-soft:#F2F5F8}

/* AKADEMIA INWESTORA — granat, turkus, złoto, śliwka */
.dfgi .dfgi-sectionhead{border-left:7px solid #26617E!important;border-radius:14px!important;padding:18px 21px!important;background:linear-gradient(100deg,#EDF5FA,#fff)!important;box-shadow:0 4px 18px #19334C0C!important}
.dfgi #dfgi-charts .dfgi-sectionhead,.dfgi #dfgi-test .dfgi-sectionhead{border-left-color:#7D5EA0!important;background:linear-gradient(100deg,#F3EEFA,#fff)!important}
.dfgi #dfgi-tools .dfgi-sectionhead{border-left-color:#B47D31!important;background:linear-gradient(100deg,#FFF4E5,#fff)!important}
.dfgi .dfgi-sectionhead :is(h2,h3){color:#20455F!important}
.dfgi .dfgi-module{--dk-a:#1F7164;border-left:5px solid var(--dk-a)!important}
.dfgi .dfgi-module:nth-of-type(4n+2){--dk-a:#376B97}.dfgi .dfgi-module:nth-of-type(4n+3){--dk-a:#B16B48}.dfgi .dfgi-module:nth-of-type(4n+4){--dk-a:#78599C}
.dfgi .dfgi-number{background:var(--dk-a)!important;color:#fff!important}
.dfgi .dfgi-module>summary{background:linear-gradient(90deg,#F2F7F8,#fff 85%)!important}
.dfgi .dfgi-example{background:#E7F4ED!important;border-left:5px solid #23775D!important}
.dfgi .dfgi-exercise{background:#FFF3DF!important;border-left:5px solid #C78C2F!important}
.dfgi .dfgi-example strong{color:#166048!important}.dfgi .dfgi-exercise strong{color:#7B500F!important}
.dfgi .dfgi-calc{border-top:4px solid #35739A!important;background:linear-gradient(180deg,#F3F8FD,#fff 32%)!important}
.dfgi .dfgi-chartpanel{border-top:4px solid #8565A6!important}
.dfgi .dfgi-question{border-top:4px solid #8565A6!important;background:#FBF9FE!important}
.dfgi .dfgi-archive-box{border-top:4px solid #53697D!important}

/* EKONOMIA — kontrast między teorią, modelem, ćwiczeniem i testem */
.decon .decon-head{background:linear-gradient(100deg,#EAF5F2,#fff)!important;border-left:7px solid #1E7164!important;border-radius:14px!important;padding:20px!important}
.decon #decon-charts .decon-head,.decon #decon-quiz .decon-head{background:linear-gradient(100deg,#F2EDFA,#fff)!important;border-left-color:#745599!important}
.decon #decon-calcs .decon-head{background:linear-gradient(100deg,#EDF5FC,#fff)!important;border-left-color:#33729C!important}
.decon .decon-module{--dk-a:#1D6C5E;border-left:5px solid var(--dk-a)!important}
.decon .decon-module:nth-of-type(4n+2){--dk-a:#336F99}.decon .decon-module:nth-of-type(4n+3){--dk-a:#B3714A}.decon .decon-module:nth-of-type(4n+4){--dk-a:#795A9E}
.decon .decon-modnum{background:var(--dk-a)!important;color:#fff!important}
.decon .decon-case{border-left:5px solid #278066!important;background:#E9F6EF!important}
.decon .decon-exercise{border:1px solid #F1D9A6!important;border-left:5px solid #BC8530!important;background:#FFF6E7!important}
.decon .decon-calc{border-top:4px solid #3C7CA3!important;background:#F5FAFD!important}
.decon .decon-q{border-top:4px solid #8566A7!important;background:#FCFAFF!important}

/* CASE STUDIES — osobne barwy przykładów, narzędzi i testów */
.dfcs .dfcs-head{border-left:7px solid #1F6E65!important;padding:17px 22px!important;border-radius:14px!important;background:linear-gradient(100deg,#EAF5F1,#fff)!important}
.dfcs #dfcs-tools .dfcs-head{border-left-color:#356D98!important;background:linear-gradient(100deg,#EDF5FC,#fff)!important}
.dfcs #dfcs-quiz .dfcs-head{border-left-color:#8060A3!important;background:linear-gradient(100deg,#F3EDFA,#fff)!important}
.dfcs .dfcs-case{border-top:4px solid #267A68!important}
.dfcs .dfcs-case:nth-child(4n+2){border-top-color:#386E99!important}.dfcs .dfcs-case:nth-child(4n+3){border-top-color:#B3724C!important}.dfcs .dfcs-case:nth-child(4n+4){border-top-color:#8565A4!important}
.dfcs .dfcs-mini-exercise{background:#FFF6E6!important;border:1px solid #EED7AA!important;border-left:5px solid #BB872F!important}
.dfcs .dfcs-tool{border-top:4px solid #36749C!important;background:linear-gradient(180deg,#F3F8FE,#fff 28%)!important}
.dfcs .dfcs-question{border-top:4px solid #8061A2!important;background:#FDFBFF!important}


/* Czytelność i responsywność. Nie zmniejszaj dotychczasowych większych czcionek. */
:where(.dfpo,.dfpc,.dfkp,.dfbr,.dfnp,.dfgi,.decon,.dfcs) :is(.dfpo-sectionhead,.dfpc-sectionhead,.dfkp-sectionhead,.dfbr-sectionhead,.dfnp-sectionhead,.dfgi-sectionhead,.decon-head,.dfcs-head){overflow-wrap:anywhere}
@media (max-width:700px){
  :is(.dfpo,.dfpc,.dfkp,.dfbr,.dfnp) :is(.dfpo-sectionhead,.dfpc-sectionhead,.dfkp-sectionhead,.dfbr-sectionhead,.dfnp-sectionhead){padding:16px 17px!important;border-left-width:5px!important;border-radius:12px!important}
  .dfgi .dfgi-sectionhead,.decon .decon-head,.dfcs .dfcs-head{padding:16px 17px!important;border-left-width:5px!important}
  :is(.dfpo,.dfpc,.dfkp,.dfbr,.dfnp,.dfgi,.decon,.dfcs) :is(details,article,section){max-width:100%}
}
@media (prefers-reduced-motion:reduce){:where(.dfpo,.dfpc,.dfkp,.dfbr,.dfnp,.dfgi,.decon,.dfcs) *{transition-duration:0ms!important}}
