:root{--ink:#172e48;--muted:#536779;--blue:#0758bd;--navy:#112f50;--paper:#f6f7f5;--line:#dbe3e8;--gold:#e5ab36;--pale:#eaf2fa;--mint:#eaf5ed;--white:#fff;scroll-behavior:smooth;scroll-padding-top:110px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif}h1,h2,h3,h4{line-height:1.17;letter-spacing:-.035em;margin:0 0 18px}h1{font-size:clamp(42px,5vw,74px);font-weight:750}h2{font-size:clamp(30px,3.2vw,44px)}h3{font-size:24px}h4{font-size:19px}p{margin:0 0 18px}a{color:var(--blue);text-underline-offset:4px}button{font:inherit;cursor:pointer}a,button{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}img{max-width:100%;height:auto}button,a{overflow-wrap:anywhere}.skip{position:fixed;top:-100px;left:12px;z-index:100;background:white;padding:14px}.skip:focus{top:8px}
.site-header{position:sticky;top:0;height:86px;z-index:20;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 3vw}.brand{line-height:0;flex:none}.brand img{width:126px;height:64px;object-fit:contain}.header-label{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.header-label span{margin:0 15px;color:#adb9c3}.header-actions{display:flex;align-items:center;gap:10px}.button,button{border:1px solid #c6d4e1;border-radius:6px;background:white;color:var(--ink);padding:10px 16px;font-size:14px;font-weight:650;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button{background:var(--blue);border-color:var(--blue);color:white}.button.secondary{background:transparent;color:var(--blue);border-color:#b7cce3}.button:hover,button:hover{filter:brightness(.95)}
.guide-layout{display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1560px;margin:auto}.contents{position:sticky;top:116px;align-self:start;padding:28px 20px 28px 28px;height:calc(100vh - 135px);overflow-y:auto}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:750;color:var(--muted);margin-bottom:18px}.contents nav{display:flex;flex-direction:column;gap:5px}.contents nav a{display:flex;gap:12px;align-items:center;padding:10px 12px;text-decoration:none;font-size:13px;line-height:1.45;color:var(--muted);border-radius:5px;border-left:3px solid transparent}.contents nav a span{font-size:11px;color:#8c9caa;min-width:18px}.contents nav a[aria-current]{background:#e8eff7;color:var(--blue);border-left-color:var(--blue);font-weight:700}.sidebar-note{margin-top:35px;border-top:1px solid var(--line);padding:22px 12px;font-size:12px;color:var(--muted)}.sidebar-note p{margin:8px 0}.sidebar-note strong{color:var(--ink)}main{min-width:0;padding:34px 36px 0 26px}main:focus{outline:none}
.hero{position:relative;overflow:hidden;background:var(--navy);color:#fff;border-radius:12px;padding:clamp(28px,4vw,58px);margin-bottom:34px}.hero::after{content:'';position:absolute;right:-70px;top:-90px;width:280px;height:280px;border:55px solid #ffffff08;border-radius:50%;pointer-events:none}.hero .eyebrow{color:#b8d0e8}.hero h1{max-width:710px}.hero h1 em{font-style:normal;color:#f2c36a}.hero .lede{color:#cfdeeb;max-width:610px;font-size:18px;line-height:1.65}.hero-links{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 32px}.hero-links .button{background:#f0bd57;border-color:#f0bd57;color:#122e48}.hero-links .secondary{background:transparent;border-color:#5c7996;color:white}.hero-image{position:relative;background:white;border-radius:7px;padding:8px;transform:rotate(-1deg);box-shadow:0 18px 45px #0003;max-width:820px}.hero-image img{display:block;border-radius:3px;max-height:250px;width:100%;object-fit:cover;object-position:top}.hero-source{font-size:11px;color:#b5c9db;margin-top:14px}.hero-source a{color:#d3e5f5}
.chapter{padding:48px 0;border-bottom:1px solid var(--line);scroll-margin-top:110px}.chapter-heading{display:grid;grid-template-columns:58px 1fr;gap:18px;margin-bottom:28px}.chapter-number{width:48px;height:48px;border:1px solid #bfcfdd;border-radius:50%;display:grid;place-items:center;font-size:15px;color:var(--blue);background:#fff}.chapter-heading p{max-width:750px;color:var(--muted);margin:0}.chapter-heading h2{margin-bottom:12px}.lede{font-size:20px;line-height:1.6}.notice{padding:18px 22px;border-left:3px solid var(--gold);background:#fff7e5;font-size:14px;margin:22px 0;color:#534a34}.notice strong{color:#4d3c13}.source-line{font-size:12px;color:var(--muted);line-height:1.5;margin:16px 0}.source-line a{color:inherit}.split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;align-items:start;margin:30px 0 42px}.split.reverse{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.image-card{margin:0;background:white;padding:10px;border:1px solid var(--line);border-radius:9px}.image-card button{display:block;border:0;padding:0;background:white;width:100%;border-radius:3px;overflow:hidden}.image-card button img{display:block;width:100%}.image-card figcaption{font-size:11px;line-height:1.6;color:var(--muted);padding:12px 6px 3px}.image-card figcaption strong{color:var(--ink)}.image-card.portrait img{max-height:420px;object-fit:contain}.image-card .zoom-label{display:block;text-align:right;font-size:10px;color:var(--blue);padding:5px 3px 0}.steps{list-style:none;padding:0;margin:18px 0;counter-reset:step}.steps li{position:relative;padding:0 0 22px 42px;counter-increment:step;font-size:15px}.steps li:before{content:counter(step);position:absolute;left:0;top:0;border-radius:50%;background:var(--pale);color:var(--blue);width:28px;height:28px;display:grid;place-items:center;font-size:12px;font-weight:700}.steps li strong{display:block;margin-bottom:4px}.steps li:last-child{padding-bottom:0}.subsection{margin:36px 0}.tag{display:inline-block;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:750;color:var(--blue);background:var(--pale);padding:5px 8px;border-radius:4px;margin-bottom:13px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tile{padding:24px;background:white;border:1px solid var(--line);border-radius:8px}.tile h3{font-size:22px}.tile p,.tile li{font-size:14px;line-height:1.75}.tile p:last-child{margin-bottom:0}.tile ul{padding-left:20px}.tile .large-icon{font-size:30px;color:var(--blue);font-weight:300;margin-bottom:20px;display:block}.example{padding:28px;border-radius:8px;background:#eaf1f9;margin:24px 0}.example .tag{background:white}.example h3{font-size:25px}.example p{font-size:15px}.example dl{display:grid;grid-template-columns:120px 1fr;gap:12px 18px;font-size:14px;margin:20px 0}.example dt{font-weight:700}.example dd{margin:0}.example .result{border-top:1px solid #c5d6e7;padding-top:16px;margin-bottom:0}.tip{border:1px solid #bad7c5;background:var(--mint);border-radius:7px;padding:18px 20px;font-size:14px;margin:20px 0}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:white;margin:24px 0}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{background:#edf2f6;font-size:12px;color:var(--muted);font-weight:700}td,th{padding:16px 18px;border-bottom:1px solid var(--line);vertical-align:top}tbody tr:last-child td{border-bottom:0}.flow{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.flow span{padding:9px 12px;border:1px solid #bfd0df;border-radius:4px;background:#fff;font-size:12px}.flow b{align-self:center;color:var(--blue);font-weight:400}
details{background:white;border:1px solid var(--line);border-radius:7px;margin:12px 0}summary{cursor:pointer;padding:18px 22px;font-weight:650;font-size:16px;line-height:1.45}details[open] summary{border-bottom:1px solid var(--line)}.detail-body{padding:22px}.detail-body p,.detail-body li{font-size:15px}.detail-body h4{margin-top:22px}.detail-body .split{margin:12px 0;gap:25px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pdf-card{display:grid;grid-template-columns:40px minmax(0,1fr) 22px;gap:12px;align-items:center;text-decoration:none;color:var(--ink);background:white;border:1px solid var(--line);border-radius:6px;padding:18px}.pdf-card:hover{border-color:var(--blue)}.pdf-badge{font-size:10px;font-weight:750;color:var(--blue);border:1px solid #b6cde3;padding:8px 3px;text-align:center;border-radius:3px}.pdf-card strong{font-size:14px;line-height:1.4;display:block}.pdf-card small{font-size:11px;color:var(--muted);display:block;margin-top:6px}.resource-card .subject{font-size:11px;letter-spacing:.03em;color:var(--blue);font-weight:700}.resource-card h3{font-size:21px}.resource-card details{margin-bottom:0}.resource-card summary{font-size:13px;padding:10px}.resource-card .detail-body{padding:13px}.work-area{background:var(--navy);color:white;padding:36px;border-radius:9px}.work-area p{color:#d3e1ed}.work-area .grid-3{margin-top:26px}.work-area .tile{background:#ffffff08;border-color:#4b6680;color:#fff}.work-area .tile p{color:#c9d9e7}.work-area .tile h3{color:#f0c573}.work-area .button.secondary{color:white;border-color:#7b94ad}.site-footer{max-width:1050px;margin:0 auto;padding:45px 35px;color:var(--muted);font-size:12px}.footer-logos{display:flex;gap:25px;align-items:center;margin-bottom:20px}.footer-logos img{max-width:150px;max-height:45px;object-fit:contain}
dialog{border:0;border-radius:10px;padding:20px;max-width:min(96vw,1500px);max-height:95vh;overflow:auto;box-shadow:0 10px 80px #0006}dialog::backdrop{background:#10283dd9}dialog img{display:block;margin:auto;max-height:74vh;object-fit:contain}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.dialog-head h2{font-size:18px;margin:0}#image-caption{font-size:12px;color:var(--muted);margin:15px 0 0}.leading .contents{display:none}.leading .guide-layout{grid-template-columns:1fr;max-width:1250px}.leading main{padding:35px}.leading .chapter{font-size:20px}.leading .steps li,.leading .tile p{font-size:18px}#focus-toggle[aria-pressed=true]{background:var(--navy);color:white}
@media(min-width:1500px){main{padding-right:60px}.hero{padding:60px}.split{gap:45px}}
@media(max-width:1100px){.guide-layout{grid-template-columns:190px minmax(0,1fr)}.contents{padding-left:12px;padding-right:12px}.contents nav a{font-size:12px;padding:8px}.grid-3{grid-template-columns:1fr}.split,.split.reverse{grid-template-columns:1fr}.header-label{display:none}main{padding-right:24px;padding-left:18px}.hero-image img{max-height:none}.library-grid{grid-template-columns:1fr}}
@media(max-width:700px){.site-header{height:72px;padding:6px 16px}.brand img{width:96px;height:56px}.header-actions{gap:7px}.header-actions button{font-size:11px;padding:8px}.header-actions .button{font-size:11px;padding:8px}.guide-layout{display:block}.contents{position:static;height:auto;padding:16px}.contents .eyebrow,.sidebar-note{display:none}.contents nav{flex-direction:row;overflow-x:auto;gap:5px;padding-bottom:8px}.contents nav a{flex:none;white-space:nowrap;border:1px solid var(--line);font-size:12px;background:white}.contents nav a span{display:none}.contents nav a[aria-current]{border-color:var(--blue)}main,.leading main{padding:0 16px}.hero{padding:28px 23px}.hero h1{font-size:44px}.hero .lede{font-size:16px}.chapter{padding:35px 0}.chapter-heading{grid-template-columns:38px 1fr;gap:12px}.chapter-number{width:32px;height:32px;font-size:12px}.chapter-heading h2{font-size:29px}.chapter-heading p{font-size:15px}.grid-2{grid-template-columns:1fr}.example{padding:22px}.example dl{grid-template-columns:1fr;gap:5px}.example dd{margin-bottom:10px}.work-area{padding:25px}.site-footer{padding:35px 20px}.leading .contents{display:block}th,td{padding:12px;min-width:130px}.dialog-head{align-items:flex-start}.dialog-head button{flex:none}.chapter{scroll-margin-top:85px}}
.mobile-contents{display:none}
.hero-author{color:#dfebf5;font-size:13px;margin:-3px 0 23px}.project-strip{display:flex;align-items:center;justify-content:space-between;gap:26px;background:white;border:1px solid var(--line);border-radius:8px;padding:25px 32px;margin:0 0 18px}.project-strip img{object-fit:contain;max-width:24%;height:62px}.project-strip .win-logo{max-width:65px}.project-strip .eu-logo{height:66px;max-width:30%}.project-strip .workshop-logo{max-width:170px}.footer-logos{flex-wrap:wrap;background:white;padding:25px;border:1px solid var(--line);border-radius:6px;justify-content:space-between}.footer-logos .win-logo{max-width:58px;max-height:58px}.footer-logos .eu-logo{max-width:250px;max-height:60px}.footer-logos .cove-logo{max-width:145px}.footer-logos .school-logo{max-width:160px;max-height:65px}.author-credit{font-weight:650;color:var(--ink)}.funding-credit{font-size:12px;line-height:1.7}
@media(max-width:700px){.project-strip{display:grid;grid-template-columns:1fr 1fr;justify-items:center;padding:20px;gap:24px}.project-strip img,.project-strip .workshop-logo,.project-strip .win-logo,.project-strip .eu-logo{max-width:100%;height:58px}.project-strip .eu-logo{grid-column:1/-1;width:255px;height:auto}.project-strip .workshop-logo{grid-column:1/-1;width:180px;height:auto}.footer-logos{justify-content:center;gap:22px}}
.project-strip .win-logo{height:48px}.project-strip .cove-logo{height:45px}.project-strip .workshop-logo{height:50px}.footer-logos .win-logo{max-height:46px}.footer-logos .cove-logo{max-height:40px}.footer-logos .school-logo{max-height:48px}
@media print{
 .hero,.project-strip,.site-footer,.chapter-number{display:none!important}
 .chapter-heading{display:block;break-inside:avoid;break-after:avoid}
 body{background:white;font-size:10.5pt;line-height:1.55}
 .chapter-heading p,.steps li,.tile p,.tile li,.example p,.example dl,.detail-body p,.detail-body li,.notice,.tip{font-size:10pt;line-height:1.55}
 .source-line,.image-card figcaption{font-size:8pt;line-height:1.45}
 p{orphans:3;widows:3}
 h2,h3,h4{break-after:avoid}
 .chapter:first-of-type{break-before:auto}
 thead{display:table-header-group}
 tr{break-inside:avoid}
 .image-card{break-inside:avoid}
 .table-wrap{overflow:visible}
 .pdf-card{break-inside:avoid}
 .case-example{break-inside:avoid;page-break-inside:avoid}
}
.project-strip .eu-logo{height:50px}.project-strip .win-logo{height:45px}.project-strip .cove-logo{height:51px}.footer-logos .eu-logo{max-height:48px}.footer-logos .win-logo{max-height:43px}.footer-logos .cove-logo{max-height:49px}
@media(max-width:700px){.mobile-contents{display:inline-flex;font-size:13px;font-weight:650;padding:8px 12px;border:1px solid var(--line);border-radius:5px;text-decoration:none}#focus-toggle{display:none}#chapter-nav{scroll-margin-top:90px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
@media print{.site-header,.contents,.hero-links,.actions,.zoom-label,dialog,.site-footer,.skip{display:none!important}.guide-layout{display:block}main{padding:0}.hero{background:white;color:#172e48;padding:0}.hero .lede,.hero .eyebrow{color:#172e48}.hero h1 em{color:#172e48}.hero-image{display:none}.hero-source{display:none}.chapter{break-before:page;padding:10px 0}.chapter-heading{break-after:avoid}.split,.grid-3,.grid-2{display:block}.tile{margin:15px 0;break-inside:avoid}.image-card{max-width:650px;margin:20px auto;break-inside:avoid}.image-card img{max-height:340px;object-fit:contain}.work-area{background:white;color:var(--ink);padding:0}.work-area p,.work-area .tile p,.work-area .tile h3{color:var(--ink)}details{display:block}.detail-body{display:block}.library-grid{display:block}.pdf-card{margin:8px 0}.button{display:none}h1{font-size:44px}h2{font-size:30px}body{font-size:12px}.notice,.steps li,.tile p,.example p{font-size:12px}}

/* Skład książkowy: ciągły tekst, bez przenoszenia każdego tematu na nową stronę. */
@media print{
 .chapter{break-before:auto!important;padding:18pt 0 8pt;border:0}
 .tile,.example,.case-example{break-inside:auto;page-break-inside:auto;background:white;border:0;border-radius:0;padding:0;margin:18pt 0}
 .tile .large-icon{display:none}
 .tag{padding:0;background:none;margin-bottom:6pt}
 .example dl{display:block;margin:10pt 0}
 .example dt{break-after:avoid;margin-top:8pt}
 .example dd{margin:2pt 0 8pt}
 .example .result{padding-top:8pt}
 .chapter p,.chapter li,.chapter dd{text-align:justify;text-justify:inter-word;hyphens:auto;orphans:3;widows:3}
 .chapter h2,.chapter h3,.chapter h4,.chapter .source-line,.image-card figcaption,.pdf-card,.pdf-card small{text-align:left}
 .chapter h2{font-size:21pt;margin:10pt 0 12pt}
 .chapter h3{font-size:15pt;margin:15pt 0 8pt}
 .chapter-heading{margin-bottom:16pt}
 .image-card{padding:0;border:0;background:white;margin:16pt 0;max-width:100%}
 .image-card img{max-height:260pt}
 details{border:0;border-radius:0;margin:14pt 0}
 summary{padding:0;font-size:13pt;break-after:avoid;list-style:none}
 details[open] summary{border:0}
 .detail-body{padding:8pt 0 0}
 .notice,.tip{background:#f7f8fa;border:0;border-left:2pt solid #bdc9d4;padding:10pt 12pt}
 .table-wrap{margin:12pt 0}
 .hero-author{display:none}
}

/* Kolejność pracy z gotowymi lekcjami. */
.workflow-map{flex-wrap:wrap;gap:9px}.workflow-map span{white-space:normal}
.workflow-steps{list-style:none;padding:0 0 0 20px;margin:30px 0 45px;counter-reset:workflow}
.workflow-steps>li{position:relative;counter-increment:workflow;border-left:2px solid #c5d6e7;padding:0 0 30px 34px}
.workflow-steps>li::before{content:counter(workflow);position:absolute;left:-19px;top:0;width:36px;height:36px;display:grid;place-items:center;background:var(--blue);color:white;border:4px solid var(--paper);border-radius:50%;font-weight:750;font-size:13px}
.workflow-steps>li:last-child{border-color:transparent;padding-bottom:0}.workflow-body{background:white;border:1px solid var(--line);border-radius:8px;padding:24px}.workflow-body>h4{font-size:25px}.workflow-body>p:last-child{margin-bottom:0}.workflow-body .result{background:var(--pale);padding:12px 16px;border-radius:5px;font-size:14px}.workflow-body .tip p{margin-top:8px}.workflow-body details .image-card{min-width:0}
@media(max-width:700px){.workflow-steps{padding-left:14px}.workflow-steps>li{padding-left:24px}.workflow-body{padding:17px}.workflow-body>h4{font-size:23px}.workflow-body .grid-2{display:block}.workflow-body .image-card{margin:15px 0}}
@media print{.workflow-map{display:none}.workflow-steps{padding:0;counter-reset:workflow}.workflow-steps>li{border:0;padding:0 0 12pt;break-inside:auto}.workflow-steps>li::before{display:none}.workflow-body{border:0;padding:0;background:white}.workflow-body>h4::before{content:counter(workflow) ". ";color:var(--blue)}.workflow-body>h4{font-size:15pt}.workflow-body .result{background:white;padding:0;font-size:10pt}}
