:root{color:#25262b;background:#f3f3f2;font-family:Segoe UI,Arial,sans-serif} body{background:linear-gradient(145deg,#fafafa,#f0f0ee 58%,#f8f7f3);color:#292b30} a{color:#70581e} header{background:#fff;color:#222;box-shadow:0 5px 24px #817b6a19;border-bottom:1px solid #d8d6d1}.top{gap:26px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}.brand{color:#28282b;letter-spacing:.1em;font-size:.9rem;white-space:nowrap}.mark{background:linear-gradient(135deg,#f8f8f6,#d3d3d0 48%,#f9f9f6);color:#806829;box-shadow:inset 0 0 0 1px #c8c5bc}nav{flex-wrap:wrap;gap:5px}nav a{color:#4c4a45;font-size:.9rem;padding:10px 14px;border-radius:8px;transition:background .2s,color .2s,transform .2s}nav a:hover,nav a:focus-visible,nav a.active,nav a[aria-current=page]{background:#f1ece0;color:#765c1c}nav a:hover{transform:translateY(-2px)}.hero{background:linear-gradient(120deg,#24272b,#47443d 65%,#9c8550);color:#fff}.hero-inner{padding-top:42px;padding-bottom:42px}.eyebrow{color:#e0c984}h1{font-size:clamp(2.25rem,4vw,3.5rem)}h1 em{color:#e8d7a4}.lead{color:#edece8}.hero-box{background:#ffffff12;border-color:#ffffff45;box-shadow:0 12px 30px #0002}.hero-box strong{color:#f2de9e}.notice{background:#faf9f6;border:1px solid #e1d8c1;border-left:4px solid #b69a58;color:#49473f}.section-nav{display:flex;gap:7px;margin:26px 0 0;padding:8px;background:#e8e8e6;border:1px solid #d8d8d4;border-radius:12px}.section-nav a{text-decoration:none;color:#4d4c49}.section-nav a[aria-current=page]{background:white;box-shadow:0 2px 8px #00000010;color:#735718}.sidebar,.panel,.info{border-color:#dededb;box-shadow:0 8px 28px #5555440b}.section-head h2,.info h2{color:#27282b}.section-head p,.info p{color:#5d605f}.sidebar h3{color:#797a77}.filter{color:#484a49;transition:background .2s,transform .2s,color .2s}.filter:hover,.filter:focus-visible{background:#f4efe1;transform:translateX(4px)}.filter.active{background:#f1ead6;color:#73581a}.controls input,.controls select,input,select,textarea{border-color:#d2d0c8;color:#30312f}.badge{color:#85691d}.card{border-color:#e6e5e1}.card h3{color:#292b2d}.card p{color:#626562}.pill,.fact{background:#f3f3f1;color:#50534f}.open{border-color:#cbbd95;color:#6b551f;transition:background .2s,box-shadow .2s,transform .2s}.open:hover,.open:focus-visible{background:#f8f1df;box-shadow:0 5px 14px #a0874f2b;transform:translateY(-2px)}.flow-grid{display:block}.flow-card{background:#fffdfa;border:1px solid #ded7c6;box-shadow:0 8px 25px #5d513b10;animation:reveal .28s ease-out}.flow-card h3{color:#383226}.flow-card li{border-color:#e8e5dd}.flow-card input{accent-color:#9a7a31}.flow-link{color:#72591b}.source,.quote-submit{background:#806725;color:white}.source.secondary{background:#f2ecdf;color:#71591c}.resource-grid a{background:#faf9f6;border-color:#e1ddcf;color:#6b551f}.modal h2{color:#282929}dialog::backdrop{background:#22252ab8}.footer{color:#777975}.small{color:#666a67}.section-head{margin-top:32px}@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(max-width:800px){.top{display:block}.brand{margin-bottom:14px}nav{overflow-x:auto;flex-wrap:nowrap}nav a{white-space:nowrap}.section-nav{overflow-x:auto}.hero-inner{padding:32px 20px}.controls{flex-direction:column}.sidebar{display:flex}.filter:hover{transform:none}}
/* Wspólne wykończenie okien i narzędzi. */
dialog{border:1px solid #d9d2bf;background:#fff;box-shadow:0 28px 100px #1c1b19a3;border-radius:18px;max-height:min(90vh,950px);overflow:auto}.modal{padding:clamp(22px,4vw,38px)}.modal-top{border-bottom:1px solid #e9e5dc;padding-bottom:14px}.modal .badge{display:inline-block;background:#f5efdf;border:1px solid #e5d8b6;border-radius:999px;padding:6px 11px;color:#765b1c}.modal h2{line-height:1.15}.modal p{color:#535752}.close{color:#5e512e;background:linear-gradient(145deg,#f9f8f4,#e7e6e1);border:1px solid #d3cdbf;transition:background .2s,transform .2s}.close:hover{background:#f4e8c7;transform:rotate(8deg)}.facts{gap:12px;margin:22px 0}.fact{background:linear-gradient(145deg,#fafaf8,#f1f1ee);border:1px solid #e3e1da;border-radius:10px;color:#343632}.fact b{color:#806c3c}.source-links{padding:16px 0 8px;border-top:1px solid #ece9e0}.source,.quote-submit{border:1px solid #806725;border-radius:8px;transition:transform .2s,box-shadow .2s,background .2s}.source:hover,.quote-submit:hover{background:#68511b;color:#fff;transform:translateY(-2px);box-shadow:0 6px 14px #82662133}.source.secondary:hover{background:#e8dcc0;color:#594714}.info input:not([type=checkbox]),.info select,.info textarea,.controls input,.controls select{background:#fff;border:1px solid #d2d0c8;border-radius:8px;color:#30312f;box-shadow:inset 0 1px 2px #00000008}.info input:focus,.info select:focus,.info textarea:focus,.controls input:focus,.controls select:focus{outline:2px solid #bd9c51;outline-offset:2px}.quote-result,.template-editor{color:#343632}.fee-groups details{border-color:#e5e1d8}.fee-groups summary{color:#6d551d}.fee-groups th,.fee-groups td{border-color:#e9e6de}.fee-groups thead th{color:#79766c}.fee-groups tbody th{color:#36352e}.table-wrap table{border-collapse:collapse}.table-wrap th,.table-wrap td{border-color:#e6e3db}.resource-grid span{color:#656763}.empty{color:#696a65} :focus-visible{outline:3px solid #b69449;outline-offset:3px}@media(max-width:600px){.modal{padding:22px}.source-links{display:grid;grid-template-columns:1fr}.source-links .source,.source-links button{width:100%;text-align:center}}
/* Przestrzenne detale i wygodna, krótka lista wyników. */
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 83% 15%,#c9b47a55,transparent 24%),linear-gradient(116deg,#23272d 0%,#3d3c38 60%,#8b7441 100%)}.hero:before,.hero:after{content:"";position:absolute;border:1px solid #e9dca62c;border-radius:50%;pointer-events:none}.hero:before{width:360px;height:360px;right:-100px;top:-190px;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff05}.hero:after{width:130px;height:130px;left:48%;bottom:-105px}.hero-inner{position:relative;z-index:1}.hero-box{position:relative;min-height:150px;overflow:hidden;padding-right:145px;background:linear-gradient(145deg,#ffffff25,#ffffff0c);box-shadow:inset 0 1px #ffffff44,0 18px 35px #0003;backdrop-filter:blur(5px)}.hero-box p{position:relative;z-index:1}.hero-art{position:absolute;width:185px;right:-8px;top:0;filter:drop-shadow(0 12px 9px #0004);transform:rotate(4deg);transition:transform .35s}.hero-box:hover .hero-art{transform:rotate(0) translateY(-5px)}.mark{box-shadow:inset 0 1px 2px #fff,0 4px 8px #68645b30}.guide{margin-top:24px;background:linear-gradient(135deg,#fff,#faf7ee);border:1px solid #e0d6bd;border-radius:14px;box-shadow:0 8px 22px #75613c12,inset 0 1px #fff}.guide summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:16px 20px;color:#3f3a2f}.guide summary::-webkit-details-marker{display:none}.guide summary:after{content:'+';margin-left:auto;font-size:1.5rem;color:#8d7235}.guide[open] summary:after{content:'−'}.guide summary small,.guide summary strong{display:block}.guide summary small{margin-top:3px;color:#706c61;font-size:.85rem}.guide-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:linear-gradient(145deg,#fcf5df,#dfc786);color:#6a521c;border-radius:12px;box-shadow:0 5px 10px #a58b4e33,inset 0 1px #fff}.guide ol{margin:0 22px 19px 75px;padding-left:16px;color:#53544d;line-height:1.6}.guide li+li{margin-top:5px}.panel,.sidebar,.info{background:linear-gradient(155deg,#fff,#fdfdfb);box-shadow:0 14px 32px #706b5a14,inset 0 1px #fff}.panel{padding:24px}.card{position:relative;overflow:hidden;margin:10px 0;padding:20px;border:1px solid #e8e5dd;border-radius:13px;background:linear-gradient(135deg,#fff,#fbfaf7);box-shadow:0 5px 14px #5d554b0d;transition:transform .2s,box-shadow .2s,border-color .2s}.card:before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:4px;background:linear-gradient(#e8d7a2,#a4873e)}.card:hover{transform:translateY(-2px);border-color:#dfd2ae;box-shadow:0 13px 25px #8e7a4a1c}.card .badge{letter-spacing:.06em}.pill{border:1px solid #e6e3da}.pagination{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.pagination button{min-width:150px}.section-nav{box-shadow:inset 0 1px 3px #96908728,0 8px 16px #5555440a}.section-nav a[aria-current=page]{box-shadow:0 3px 10px #6353331a,inset 0 1px #fff}.open,.source,.quote-submit{box-shadow:0 3px 7px #88724317,inset 0 1px #ffffff60}.flow-card,.fact,.resource-grid a{box-shadow:0 5px 14px #5d554b0e,inset 0 1px #fff}@media(max-width:800px){.hero-box{display:block;min-height:128px;padding:18px 135px 18px 18px}.hero-inner{gap:18px}.hero-art{width:155px}.panel{padding:16px}.card{padding:16px}.pagination{justify-content:stretch}.pagination button{min-width:0;flex:1}.guide ol{margin-left:55px}}@media(prefers-reduced-motion:reduce){.hero-art,.card{transition:none}}
/* Znaki i przestrzenne powierzchnie. */
.brand{display:flex;align-items:center;gap:12px;letter-spacing:.12em}.brand .mark{margin:0;width:48px;height:48px;border-radius:14px;color:#806326;background:linear-gradient(145deg,#fffefa 8%,#e8dfc7 55%,#fdfdfb);border:1px solid #d7cba9;box-shadow:0 6px 12px #85775330,inset 0 1px 2px #fff}.mark svg{width:32px;height:32px}.brand-text{display:block;line-height:1.2}.brand-text small{display:block;font-weight:500;letter-spacing:.025em;color:#77756c;font-size:.7rem;margin-top:4px}.hero-features{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.hero-features a{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;color:#f7f3e8;background:#ffffff13;border:1px solid #e2d0a13f;border-radius:999px;font-size:.83rem;box-shadow:inset 0 1px #ffffff20}.hero-features b{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:linear-gradient(145deg,#e4cd91,#9b7a38);color:#29251c;font-size:.95rem;box-shadow:0 4px 8px #0003}.section-nav a,header nav a{position:relative;display:inline-flex;align-items:center;gap:8px}.section-nav a:before,header nav a:before{content:'';width:16px;height:16px;flex:none;background:currentColor;opacity:.75;mask-repeat:no-repeat;mask-position:center;mask-size:contain}.section-nav a:before,header nav a:nth-child(2):before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM15 3v5h4M9 12h7M9 16h7'/%3E%3C/svg%3E")}.section-nav a[aria-current=page]:before{opacity:1}header nav a:nth-child(1):before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m14.5 14.5 5 5'/%3E%3C/svg%3E")}header nav a:nth-child(3):before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 8.5c-.5-1-1.5-1.5-2.5-1.5-3 0-3 4 0 4s3 4 0 4c-1.2 0-2.1-.5-2.6-1.4M12 5v2m0 8v3'/%3E%3C/svg%3E")}header nav a:nth-child(4):before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h2m4 0h2M8 15h2m4 0h2M8 18h2m4 0h2'/%3E%3C/svg%3E")}header nav a:nth-child(5):before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E")}
.panel,.sidebar,.info,.guide,.flow-card,.resource-grid a{border-radius:16px;box-shadow:0 3px 0 #d2c9b74d,0 14px 30px #514a3820,inset 0 1px 0 #fff}.card{transform:translateZ(0);box-shadow:0 3px 0 #c5ba9b4f,0 8px 17px #60533816,inset 0 1px 0 #fff;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.card:hover,.card:focus-within{transform:translateY(-4px);box-shadow:0 6px 0 #c5ba9b38,0 16px 25px #6e5c3829,inset 0 1px #fff}.card:active{transform:translateY(-1px)}.card .badge{display:inline-flex;align-items:center;gap:7px}.card .badge:before{content:'';width:17px;height:17px;display:inline-block;background:#a68740;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM15 3v5h4M9 12h7M9 16h7'/%3E%3C/svg%3E") center / contain no-repeat}.open,.source,.quote-submit{transition:transform .2s,box-shadow .2s,background .2s;box-shadow:0 3px 0 #c6b99580,0 5px 10px #74603920,inset 0 1px 0 #ffffff9a}.open:hover,.source:hover,.quote-submit:hover{transform:translateY(-2px);box-shadow:0 5px 0 #c6b99580,0 10px 17px #74603927,inset 0 1px 0 #ffffff80}.open:active,.source:active,.quote-submit:active{transform:translateY(2px);box-shadow:0 1px 0 #c6b99580,inset 0 2px 5px #3e321b24}dialog[open]{animation:dialogEnter .24s ease-out both}.fact{border-radius:12px;box-shadow:0 3px 0 #dedbd26b,0 5px 12px #6c675414,inset 0 1px #fff}.fact b:before{content:'◆';display:inline-block;margin-right:7px;color:#a18034;font-size:.65rem}.filter{border:1px solid transparent;transition:transform .2s,background .2s,box-shadow .2s}.filter.active{border-color:#ddcda5;box-shadow:0 3px 0 #d6c59c80,inset 0 1px #fff}.flow-card{animation:reveal .28s ease-out}.resource-grid a{transition:transform .2s,box-shadow .2s}.resource-grid a:hover,.resource-grid a:focus-visible{transform:translateY(-3px);box-shadow:0 4px 0 #d2c9b780,0 12px 20px #514a3825,inset 0 1px #fff}@keyframes dialogEnter{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:800px){.brand{margin-bottom:14px}.brand-text small{font-size:.7rem}.hero-features{gap:6px}.hero-features a{font-size:.79rem;padding:6px 9px}.hero-features b{width:23px;height:23px}}@media(prefers-reduced-motion:reduce){dialog[open],.flow-card{animation:none}.card,.open,.source,.quote-submit,.filter,.resource-grid a,.hero-art{transition:none}.card:hover,.card:focus-within,.resource-grid a:hover,.resource-grid a:focus-visible,.open:hover,.source:hover,.quote-submit:hover{transform:none}}
/* Wyrazista paleta: grafit, złoto i srebrzysta biel. */
body{background:radial-gradient(ellipse at 8% 8%,#dfc791 0,transparent 30%),linear-gradient(145deg,#f5f1e7,#e4e5e5 60%,#fbfaf6);color:#202328}
header{background:linear-gradient(115deg,#171d25,#2d3035);border-bottom:3px solid #c89932;box-shadow:0 8px 25px #10131955}
.brand{color:#fff}.brand-text small{color:#e6d4a1}.brand .mark{color:#594008;background:linear-gradient(145deg,#fff5cf,#d5a747 62%,#f9e4a6);border-color:#d6ad50;box-shadow:0 5px 0 #725414,0 10px 22px #0005,inset 0 1px #fff}
header nav a{color:#f3f1e9}header nav a:hover,header nav a:focus-visible{background:#ffffff1e;color:#fff4cf}header nav a.active,header nav a[aria-current=page]{background:linear-gradient(145deg,#f8d677,#c39025);color:#262015;box-shadow:0 3px 0 #775712,inset 0 1px #fff5cc}
.hero{background:radial-gradient(circle at 82% 12%,#daa936b3,transparent 29%),linear-gradient(115deg,#111a26 0%,#29303a 55%,#8d661b 100%)}.hero-inner{padding-top:52px;padding-bottom:52px}.eyebrow{color:#ffdc7d}.hero h1{color:#fff}.hero h1 em{color:#ffdb76}.hero .lead{color:#f1f2f2}.hero-features a{background:#0d1826a6;border-color:#f4d38680;color:#fff}.hero-features b{background:linear-gradient(145deg,#ffdf80,#cf9825);color:#2d210a}
.hero-box{background:linear-gradient(145deg,#394455e8,#161d29e8);border:1px solid #e5c373;box-shadow:0 5px 0 #8f691d,0 20px 35px #0007,inset 0 1px #fff7}.hero-box strong{color:#ffdc7a}.hero-box p,.hero-box p span{color:#fff!important}
.notice{background:#fff7df;color:#392e15;border:1px solid #d4ac51;border-left:5px solid #b57c09;box-shadow:0 5px 0 #b68b3950,0 12px 22px #4c3c201b}
.section-nav{background:linear-gradient(145deg,#ccd0d2,#eceded);border:1px solid #b8bdc0;box-shadow:inset 0 2px 5px #70757a38,0 4px 0 #8f969b55,0 10px 22px #1c202222}.section-nav a{color:#31383d}.section-nav a[aria-current=page]{background:linear-gradient(145deg,#fff2c0,#e8be55);color:#3c2c0c;border:1px solid #bd8e27;box-shadow:0 3px 0 #a77a1f,0 6px 12px #513a1625,inset 0 1px #fff}
.panel,.sidebar,.info,.guide,.flow-card{background:linear-gradient(145deg,#fff,#f4f5f5);border:1px solid #c9cdd0;box-shadow:0 5px 0 #a4a9ac88,0 18px 30px #282d3033,inset 0 1px 0 #fff}
.guide{background:linear-gradient(135deg,#fffdf6,#f3d996);border-color:#c69a39;box-shadow:0 5px 0 #a17d3480,0 14px 26px #5039152b,inset 0 1px #fff}.guide summary{color:#38280a}.guide summary small{color:#594720}.guide-icon{background:linear-gradient(145deg,#ffe692,#ca9121);color:#34240a;box-shadow:0 4px 0 #98690e,0 8px 14px #8c672e48,inset 0 1px #fff}
.section-head h2,.info h2{color:#1d2835}.section-head p,.info p{color:#424a50}.sidebar h3{color:#535b60}.filter{color:#303a42}.filter:hover,.filter:focus-visible{background:#f6e6b4;color:#382608}.filter.active{background:linear-gradient(145deg,#fbe094,#daa52f);border-color:#b38219;color:#302009;box-shadow:0 3px 0 #ac801c,inset 0 1px #fff6d5}
.card{border:1px solid #bec6ca;background:linear-gradient(135deg,#fff 0%,#edf0f0 100%);box-shadow:0 4px 0 #a0a8ac,0 10px 18px #27303625,inset 0 1px 0 #fff}.card:before{width:5px;background:linear-gradient(#ffda6b,#b57a0b)}.card:hover,.card:focus-within{border-color:#bf9025;box-shadow:0 7px 0 #aa812e,0 18px 26px #4f391d38,inset 0 1px #fff}.card h3{color:#192630}.card p{color:#404a51}.badge{color:#805508}.card .badge:before{background:#af7809}.pill{background:#e6ebed;border-color:#c3cdd0;color:#303e46}.count,.small{color:#4b5458}
.open{background:linear-gradient(145deg,#fff0b0,#e7b63e);border:1px solid #ab7910;color:#382608;font-weight:650;box-shadow:0 4px 0 #9c6c0d,0 8px 14px #7e5a1a38,inset 0 1px #fff8da}.open:hover,.open:focus-visible{background:linear-gradient(145deg,#ffe58b,#d99c22);color:#291c05}.source,.quote-submit{background:linear-gradient(145deg,#263a4d,#101e2d);border:1px solid #172737;color:#fff;box-shadow:0 4px 0 #07111d,0 8px 16px #11213145,inset 0 1px #ffffff80}.source:hover,.quote-submit:hover{background:#304d65;color:#fff}.source.secondary{background:#ead39a;color:#392909}.source.secondary:hover{background:#d8b85f;color:#2d2108}
dialog{border:2px solid #c2932d;box-shadow:0 8px 0 #8b661b,0 35px 100px #000b;background:#fff}dialog::backdrop{background:#101722cf}.modal-top{border-color:#d8c49b}.fact{background:linear-gradient(145deg,#f9faf9,#e4e9e9);border-color:#bac3c5;color:#263039;box-shadow:0 4px 0 #acb4b5,0 7px 14px #28363921,inset 0 1px #fff}.fact b{color:#76500a}.resource-grid a{background:linear-gradient(145deg,#fff,#f3e5bb);border-color:#d0b66e;color:#49340c}
/* Animacje otwarcia i naciśnięcia, także przy obsłudze klawiaturą. */
@keyframes liftWindow{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes pressFlash{0%{filter:brightness(1)}45%{filter:brightness(1.2)}100%{filter:brightness(1)}}
.panel,.sidebar,.info:not([hidden]),.guide,.card,.flow-card,.fact,.resource-grid a{animation:liftWindow .35s ease-out both}
.card:nth-child(2),.fact:nth-child(2){animation-delay:.035s}.card:nth-child(3),.fact:nth-child(3){animation-delay:.07s}.card:nth-child(4),.fact:nth-child(4){animation-delay:.105s}.card:nth-child(5){animation-delay:.14s}
button:active,.source:active,nav a:active,summary:active{animation:pressFlash .18s ease-out;transform:translateY(3px) scale(.98);box-shadow:0 1px 0 #87600c,inset 0 3px 7px #33240035}
button,nav a,.source,summary{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
@media(prefers-reduced-motion:reduce){.panel,.sidebar,.info:not([hidden]),.guide,.card,.flow-card,.fact,.resource-grid a,dialog[open],button:active,.source:active,nav a:active,summary:active{animation:none!important;transition:none!important;transform:none!important}button,nav a,.source,summary{transition:none!important}}
/* Telefon: widoczna nawigacja, wygodne cele dotykowe i czytelne okno szczegółów. */
@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; }
  .top,.wrap { padding-left:16px; padding-right:16px; }
  .top { padding-top:14px; padding-bottom:14px; }
  .brand { margin-bottom:12px; }
  #mainNav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; overflow:visible; }
  #mainNav a { min-width:0; min-height:48px; padding:9px 10px; white-space:normal; line-height:1.25; font-size:.88rem; }
  #mainNav a:last-child:nth-child(odd) { grid-column:1 / -1; }
  .section-nav { display:flex; overflow-x:auto; overscroll-behavior-inline:contain; padding:8px; gap:8px; scrollbar-width:thin; scrollbar-color:#91762f #d3d3cf; }
  .section-nav a { flex:0 0 auto; min-height:48px; padding:10px 13px; font-size:.9rem; white-space:nowrap; }
  .section-nav:after { content:'Przesuń'; flex:0 0 auto; align-self:center; color:#555b5c; font-size:.75rem; padding:0 5px; }
  .sidebar { display:flex; align-items:stretch; overflow-x:auto; overscroll-behavior-inline:contain; gap:8px; padding:12px; scrollbar-width:thin; scrollbar-color:#91762f #ecebe7; }
  .sidebar h3 { display:flex; align-items:center; flex:0 0 auto; margin:0; padding:0 8px; color:#374047; font-size:.75rem; white-space:nowrap; }
  .sidebar h3:after { content:' · przesuń listę'; font-weight:400; text-transform:none; letter-spacing:normal; }
  .sidebar .filter { flex:0 0 auto; min-height:48px; padding:10px 14px; white-space:nowrap; }
  .layout { gap:16px; }
  .controls { display:flex; flex-direction:column; }
  .controls input,.controls select,.info input:not([type=checkbox]),.info select,.info textarea { width:100%; max-width:100%; min-width:0; font-size:16px; }
  .controls input,.controls select,.info input:not([type=checkbox]),.info select { min-height:48px; }
  button,.source,.flow-link,.guide summary { min-height:48px; }
  .flow-link { padding:10px 0 10px 28px; }
  .card { grid-template-columns:minmax(0,1fr); gap:12px; overflow-wrap:anywhere; }
  .card .open { width:100%; text-align:center; }
  .meta { gap:7px; }.pill { max-width:100%; overflow-wrap:anywhere; line-height:1.4; }
  .pagination { flex-wrap:wrap; }.pagination .open { flex:1 1 145px; }
  .template-controls,.template-controls label,.template-controls select,.template-controls input { min-width:0; max-width:100%; width:100%; }
  .template-actions { display:flex; flex-wrap:wrap; gap:8px; }.template-actions button { flex:1 1 150px; }
  .table-wrap { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
  .info { min-width:0; overflow-wrap:anywhere; }
  .info-grid,.facts { grid-template-columns:minmax(0,1fr); }
  dialog { width:calc(100% - 24px); max-width:none; max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); overflow:auto; overscroll-behavior:contain; }
  .modal { padding:20px 16px; }.modal h2 { font-size:1.6rem; overflow-wrap:anywhere; }.modal p,.fact { overflow-wrap:anywhere; }
  .modal .close { flex:0 0 48px; width:48px; height:48px; }
  .source-links { display:flex; flex-direction:column; align-items:stretch; }
  .source-links .source,.source-links button,.modal #closeBottom { width:100%; min-height:48px; text-align:center; }
  .hero-inner { padding:28px 16px; }.hero h1 { font-size:clamp(2rem,9vw,3rem); line-height:1.1; }
  .hero-box { padding:18px 125px 18px 16px; }.hero-art { width:140px; }
}
@media (max-width: 360px) {
  .top,.wrap { padding-left:12px; padding-right:12px; }
  #mainNav a { font-size:.82rem; padding:8px; }
  .hero-box { padding-right:105px; }.hero-art { width:120px; }
  .info { padding:16px; }.panel { padding:12px; }
}
/* Przewodnik Fila: drobna postać i panel dostępny także z klawiatury. */
.helper{position:fixed;z-index:50;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:Segoe UI,Arial,sans-serif}
.helper-launcher{display:flex;align-items:center;gap:10px;min-height:70px;padding:7px 18px 7px 7px;border-radius:22px;border:1px solid #eac75c;background:linear-gradient(145deg,#273544,#101b29);color:#fff;box-shadow:0 5px 0 #785812,0 16px 30px #151e2d60,inset 0 1px #ffffff60;cursor:pointer;transition:transform .2s,box-shadow .2s}
.helper-launcher:hover,.helper-launcher:focus-visible{transform:translateY(-3px);box-shadow:0 8px 0 #785812,0 19px 34px #151e2d70,inset 0 1px #ffffff60}.helper-avatar{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:linear-gradient(145deg,#fff4ce,#c99732);box-shadow:0 4px 9px #0004,inset 0 1px #fff}.helper-avatar svg{width:54px;height:54px;filter:drop-shadow(0 3px 3px #5b3c2740)}.helper-label{font-weight:750;text-align:left;white-space:nowrap}.helper-label small{display:block;color:#f0d692;font-size:.73rem;font-weight:500;margin-top:3px}
.helper-panel{width:min(370px,calc(100vw - 32px));max-height:min(70vh,620px);max-height:min(70dvh,620px);overflow:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#fff,#f1f3f2);border:1px solid #d2ad4a;border-radius:22px;padding:20px;box-shadow:0 6px 0 #967321,0 24px 55px #14233466,inset 0 1px #fff;animation:helperEnter .25s ease-out}.helper-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.helper-kicker{font-size:.7rem;letter-spacing:.12em;font-weight:750;color:#805b0d}.helper-panel h2{font:1.55rem Georgia,serif;color:#1d2b39;margin:5px 0 0}.helper-panel>p{color:#39464d;line-height:1.45;font-size:.91rem}.helper-close{display:grid;place-items:center;flex:none;min-height:44px;width:44px;height:44px;border:1px solid #c9b67f;border-radius:12px;background:#fff8e5;color:#49380e;font-size:1.6rem;cursor:pointer}.helper-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.helper-choices button{min-height:48px;padding:9px;border:1px solid #b8c2c6;border-radius:11px;background:linear-gradient(#fff,#e6ecee);color:#273741;font-weight:650;font-size:.85rem;line-height:1.25;cursor:pointer;box-shadow:0 3px 0 #b6bec0}.helper-choices button[aria-pressed=true]{border-color:#b08014;background:linear-gradient(#ffedac,#e6b33d);color:#332307;box-shadow:0 3px 0 #ac7b11}.helper-answer{margin:15px 0 12px;padding:14px;border-radius:12px;background:#eaf0f1;border-left:4px solid #c2942c;color:#24343c;line-height:1.45}.helper-answer p{margin:5px 0 0;font-size:.9rem}.helper-go{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 13px;border-radius:11px;background:linear-gradient(145deg,#293e52,#142332);color:#fff;text-align:center;text-decoration:none;font-weight:700;box-shadow:0 3px 0 #101a24}.helper-go:hover,.helper-go:focus-visible{color:#fff;background:#36556d}.helper-panel .helper-note{font-size:.77rem;color:#59666a;margin:12px 0 0}.helper-close:focus-visible,.helper-choices button:focus-visible,.helper-launcher:focus-visible,.helper-go:focus-visible{outline:3px solid #d79b1b;outline-offset:3px}@keyframes helperEnter{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Wyrazistsza, ale lekka oprawa i bezpieczne odstępy na telefonach. */
.hero{background-image:radial-gradient(circle at 80% 15%,#e8bd5f80,transparent 30%),linear-gradient(115deg,#101b29,#303c49 60%,#876118)}.hero-features a{box-shadow:0 4px 12px #0003,inset 0 1px #ffffff55}.section-head h2,.info h2{letter-spacing:-.025em}.card .badge{background:#f5e5b6;border:1px solid #e2c46c;border-radius:999px;padding:5px 9px}.panel{position:relative}.guide summary{border-radius:14px}.helper-panel::-webkit-scrollbar{width:8px}.helper-panel::-webkit-scrollbar-thumb{background:#c1ad79;border-radius:8px}
@media(max-width:800px){.helper{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));gap:8px}.helper-launcher{min-height:56px;padding:5px 12px 5px 5px;border-radius:17px}.helper-avatar{width:46px;height:46px;border-radius:13px}.helper-avatar svg{width:45px;height:45px}.helper-label{font-size:.86rem}.helper-label small{font-size:.68rem}.helper-panel{width:min(370px,calc(100vw - 24px));padding:16px;max-height:calc(100dvh - 105px)}.helper-panel h2{font-size:1.35rem}.helper-panel>p{font-size:.88rem}.helper-choices button{font-size:.82rem}.hero-features a{font-size:.82rem}.footer{padding-bottom:86px}}
@media(max-width:360px){.helper-label small{display:none}.helper-choices{grid-template-columns:1fr 1fr}.helper-panel{padding:14px}}
@media print{.helper{display:none!important}}
@media(prefers-reduced-motion:reduce){.helper-panel{animation:none}.helper-launcher{transition:none}.helper-launcher:hover,.helper-launcher:focus-visible{transform:none}}
@media(max-width:480px){.helper-launcher{gap:5px;padding:4px 8px 4px 4px;min-height:52px}.helper-avatar{width:42px;height:42px}.helper-avatar svg{width:41px;height:41px}.helper-label{font-size:.78rem}.helper-label small{display:none}.helper-panel{max-height:calc(100vh - 92px);max-height:calc(100dvh - 92px)}}
/* Logo zachowuje proporcje i pozostaje czytelne na małych ekranach. */
.hero-box{padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;overflow:hidden}
.hero-brand-logo{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#15171b;border-radius:10px;box-shadow:0 10px 24px #0006;border:1px solid #d7b25a77}
.hero-box strong{font-size:2rem;line-height:1.1}.hero-box p{margin:0}.hero-box p br{display:none}.hero-box p span{display:block}
@media(max-width:800px){.hero-box{padding:12px;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px 12px}.hero-brand-logo{grid-column:1/-1;max-width:360px;justify-self:center}.hero-box strong{font-size:1.7rem}.hero-box p{font-size:.85rem;line-height:1.35}.hero-box p span{font-size:.8rem}}
@media(max-width:360px){.hero-box{padding:10px}.hero-brand-logo{max-width:100%}}
/* Przezroczysty znak na grafitowym tle nagłówka i stopki. */
.header-logo{display:block;width:100px;height:67px;max-width:none;object-fit:contain;background:transparent;flex:none;filter:drop-shadow(0 3px 5px #0008)}
.footer{background:linear-gradient(135deg,#18212c,#2b3037);color:#f2e8cf;border-top:2px solid #b48a2d;padding:20px 16px 24px;line-height:1.5}
.footer-logo{display:block;width:min(240px,70vw);height:auto;margin:0 auto;object-fit:contain;background:transparent;filter:drop-shadow(0 5px 8px #0008)}.footer p{margin:2px 0 0;color:#f2e8cf}
@media(max-width:800px){.header-logo{width:80px;height:54px}.brand{gap:9px}.brand-text{white-space:normal;font-size:.82rem}.footer{padding-bottom:86px}.footer-logo{width:min(200px,65vw)}}
@media(max-width:360px){.header-logo{width:70px;height:47px}.brand-text{font-size:.76rem}}
.update-panel{margin:22px 0;padding:20px;border:1px solid #c8a451;border-radius:14px;background:linear-gradient(135deg,#fff8df,#f1f3f2);box-shadow:0 4px 0 #a6843850,0 10px 22px #463b231a}.update-panel h3{margin:0;color:#293440}.update-item{padding:14px 0;border-top:1px solid #d5cbaa;overflow-wrap:anywhere}.update-item strong{color:#28343c}.update-item p{margin:6px 0;font-size:.9rem}.update-item a{display:inline-flex;align-items:center;min-height:44px;margin-right:10px}.update-item button{margin:4px;white-space:normal;text-align:left}@media(max-width:800px){.update-panel{padding:15px}.update-item a,.update-item button{width:100%;margin:5px 0;min-height:48px}}
/* Odstęp uwzględnia wysokość cienia i animację naciśnięcia. */
.sidebar{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.sidebar h3{margin:0 0 6px}
.sidebar .filter{margin:0;min-height:48px;flex-shrink:0}
@media(max-width:800px){.sidebar{flex-direction:row;align-items:stretch;gap:12px;padding:12px 12px 17px}.sidebar h3{margin:0}.sidebar .filter{width:auto;flex:0 0 auto}}
/* Spójny styl jasnych paneli i czytelna typografia. */
:root{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#1e2730}
body,button,input,select,textarea{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body{color:#1e2730;line-height:1.5}
h1,h2,h3,h4{letter-spacing:-.015em}
.section-head h2,.info h2,.modal h2,.helper-panel h2{font-family:Georgia,"Times New Roman",serif;color:#192533;line-height:1.18}
.section-head h3,.info h3,.card h3{color:#18232e;font-weight:700}
main p,.card p,.info p,.modal p,.flow-card p,.helper-panel>p,.helper-answer p{color:#303b45;line-height:1.58}
main .small,.count,.update-item p,.helper-panel .helper-note{color:#46515a;font-size:.9rem;line-height:1.5}
main a:not(.source):not(.helper-go){color:#644600;text-decoration-color:#a77d1c;text-underline-offset:3px}
main a:not(.source):not(.helper-go):hover{color:#3b2b00}
:is(.sidebar,.panel,.info,.guide,.flow-card,.resource-grid a,.update-panel,.card,.fact,.helper-panel){background:linear-gradient(145deg,#fff 0%,#fbfaf6 100%);border:1px solid #c6a355;border-radius:14px;box-shadow:0 4px 0 #8b6a272f,0 12px 24px #252a2c1d,inset 0 1px #fff}
.card{border-left:4px solid #bd8b1c}.card:before{display:none}.card:hover,.card:focus-within{border-color:#a57612;box-shadow:0 6px 0 #94702042,0 17px 28px #2927182c,inset 0 1px #fff}
.guide summary{color:#242a2e}.guide summary small{color:#4c5151}.guide ol{color:#303b45}
.flow-card h3,.resource-grid strong,.update-panel h3,.fact b{color:#27323b}.resource-grid span,.flow-card label{color:#37434b}
.fact{border-radius:11px}.fact b{color:#745000;font-size:.78rem}
.pill{color:#27343c;background:#f5f0e3;border:1px solid #d8c495}
.badge,.card .badge{color:#614200;background:#f7e8bc;border:1px solid #d5b45a}
.controls input,.controls select,.info input:not([type=checkbox]),.info select,.info textarea{color:#18232e;background:#fff;border:1px solid #b6a57d}
.controls input::placeholder,.info input::placeholder,.info textarea::placeholder{color:#58616a;opacity:1}
.open,.source,.source.secondary,.quote-submit,.helper-go{display:inline-flex;justify-content:center;align-items:center;background:linear-gradient(145deg,#ffe9a0,#e3ad35);border:1px solid #9f7111;color:#312208;font-weight:700;box-shadow:0 3px 0 #9c6c0d,0 7px 15px #6f501a32,inset 0 1px #fff9dd;text-decoration:none}
.open:hover,.open:focus-visible,.source:hover,.source:focus-visible,.quote-submit:hover,.quote-submit:focus-visible,.helper-go:hover,.helper-go:focus-visible{background:linear-gradient(145deg,#ffdf7b,#ce951e);color:#261a05}
.filter{color:#29343b}.filter.active{color:#302009}.flow-link{color:#634600;text-decoration:underline}
dialog{background:#fffdfa;border:2px solid #b88a28;box-shadow:0 8px 0 #84611c,0 35px 100px #000a}.modal-top{border-color:#d9c490}.modal .badge{color:#664400;background:#f7e8bc;border-color:#d5b45a}
.helper-panel .helper-head h2{color:#192533}.helper-answer{background:#f8f3e6;border:1px solid #dac48e;border-left:4px solid #b7871e;color:#26343d}.helper-choices button{color:#27323b;border-color:#c5a968}.helper-panel .helper-note{color:#46515a}
.footer,.footer p{color:#f4eddb}.hero,.hero p{color:#f6f5ef}
@media(max-width:800px){.card,.fact,.flow-card,.update-panel{border-radius:12px}main .small,.count{font-size:.9rem}.open,.source,.quote-submit,.helper-go{min-height:48px}}
/* Wzmocniony kontrast i grubość tekstu na jasnych powierzchniach. */
main{color:#17212a}
main p,.card p,.info p,.modal p,.flow-card p,.flow-card label,.helper-panel>p,.helper-answer p,.guide ol,.fact,.resource-grid span{color:#202b34;font-weight:550}
main .small,.count,.update-item p,.helper-panel .helper-note,.guide summary small{color:#303a42;font-weight:600}
.card h3,.info h3,.section-head h2,.info h2,.modal h2,.helper-panel h2{color:#121c25;font-weight:700}
label,input,select,textarea,.filter,.pill,.helper-choices button{font-weight:600}
input::placeholder,textarea::placeholder{color:#46515a;font-weight:550;opacity:1}
.footer p,.hero p{font-weight:500}
/* Same zakładki bez szarego panelu pod przyciskami. */
.section-nav{background:transparent;border:0;box-shadow:none;padding:0;gap:8px}
@media(max-width:800px){.section-nav{background:transparent;border:0;box-shadow:none;padding:4px 0 8px}}
/* Zakładki z tą samą złotą ramką, co pozostałe przyciski. */
.section-nav{justify-content:flex-start;flex-wrap:wrap;gap:10px;padding:4px 0 8px}.section-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 15px;border:1px solid #b28a36;border-radius:9px;color:#3b3019;background:linear-gradient(145deg,#fffdf6,#f5ead0);box-shadow:0 3px 0 #b6944d70,0 6px 12px #6f501a20,inset 0 1px #fff;transition:transform .18s,box-shadow .18s,background .18s}.section-nav a[aria-current=page]{background:linear-gradient(145deg,#ffe9a0,#e3ad35);border-color:#9f7111;color:#312208;box-shadow:0 3px 0 #9c6c0d,0 7px 15px #6f501a32,inset 0 1px #fff9dd;font-weight:700}.section-nav a:hover,.section-nav a:focus-visible{background:#f5dda0;color:#2d2007;transform:translateY(-2px)}.offline-status{margin:8px 0 0;color:#354047;font-weight:600;font-size:.9rem;line-height:1.4}.notice #updateApp{margin-top:10px}
@media(max-width:800px){.section-nav{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:10px;padding:4px 2px 10px}.section-nav a{flex:0 0 auto;min-height:48px;white-space:nowrap}.section-nav:after{content:'Przesuń';color:#39434a;flex:0 0 auto}.section-nav a:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.section-nav a{transition:none}.section-nav a:hover,.section-nav a:focus-visible{transform:none}}
#refreshEli,#testEliNotification{margin:6px 8px 6px 0}
@media(max-width:800px){#refreshEli,#testEliNotification{display:flex;width:100%;margin:8px 0;min-height:48px}}

/* Na telefonie każdy wiersz tabeli jest pełną, czytelną kartą. */
@media (max-width: 800px), (max-width: 1000px) and (pointer: coarse) {
  .table-wrap { width:100%; max-width:100%; overflow:visible; }
  .table-wrap table,.table-wrap tbody { display:block; width:100%; min-width:0; max-width:100%; }
  .table-wrap thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .table-wrap tbody tr { display:block; min-width:0; width:100%; margin:12px 0; padding:14px; border:1px solid #d2b471; border-radius:12px; background:linear-gradient(145deg,#fff,#fbf7eb); box-shadow:0 3px 0 #b89a5940,0 7px 16px #4b3b1b18; }
  .table-wrap tbody tr[hidden] { display:none!important; }
  .table-wrap tbody th,.table-wrap tbody td,.fee-groups tbody th,.fee-groups tbody td:nth-child(2) { display:block; width:100%; min-width:0; max-width:100%; padding:9px 0; border:0; text-align:left; white-space:normal; word-break:normal; overflow-wrap:break-word; line-height:1.45; }
  .table-wrap tbody th { font-size:1rem; font-weight:750; color:#192630; }
  .table-wrap tbody td + td { border-top:1px solid #eadfc5; }
  .table-wrap tbody td[data-label]:not(.fee-action)::before { content:attr(data-label); display:block; margin-bottom:4px; font-size:.76rem; line-height:1.3; font-weight:750; color:#735315; }
  .table-wrap .fee-action { padding:10px 0 0; }
  .table-wrap .fee-action .open { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; padding:10px 16px; white-space:normal; word-break:normal; font-size:.95rem; }
  .fee-groups details { min-width:0; }
  .fee-groups summary { min-height:48px; line-height:1.35; overflow-wrap:break-word; }
  .modal-top > div,.card > div,.flow-card,.fact,.update-item { min-width:0; max-width:100%; }
  .modal .source-links a,.modal .source-links button { white-space:normal; overflow-wrap:break-word; }
}

/* Bezpieczne odstępy dla wycięć ekranu i niskiego widoku poziomego. */
@media (max-width:1000px) and (pointer:coarse) {
  .top,.wrap,.hero-inner { padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); }
  .helper { right:max(12px,env(safe-area-inset-right)); bottom:max(12px,env(safe-area-inset-bottom)); }
  .footer { padding-bottom:max(86px,calc(env(safe-area-inset-bottom) + 70px)); }
}
@media (orientation:landscape) and (max-height:500px) and (pointer:coarse) {
  dialog { max-height:calc(100vh - 16px); max-height:calc(100dvh - 16px); }
  .modal { padding:16px; }
  .helper-panel { max-height:calc(100vh - 76px); max-height:calc(100dvh - 76px); }
  .helper-launcher { min-height:44px; }
}

.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem 1.2rem;max-width:800px;margin:1rem auto 0}.footer-links a{color:#ffdc82;font-weight:700;text-decoration:underline;text-underline-offset:.18em;padding:.35rem .2rem}.footer-links a:focus-visible{outline:3px solid #a67510;outline-offset:3px;border-radius:3px}

.footer-compact{max-width:32rem;margin:0.75rem auto 0;display:grid;justify-items:center;gap:.45rem}.footer-guide,.footer-more summary{color:#ffdc82;font-weight:700;font-size:.9rem;line-height:1.35}.footer-guide{padding:.45rem .7rem;text-decoration:underline;text-underline-offset:.18em}.footer-more{width:min(100%,16rem)}.footer-more summary{cursor:pointer;list-style:none;border:1px solid #b98d3a;border-radius:10px;padding:.65rem 1rem;background:#26303b}.footer-more summary::-webkit-details-marker{display:none}.footer-more summary::after{content:" +"}.footer-more[open] summary::after{content:" −"}.footer-more .footer-links{display:flex;flex-direction:column;align-items:center;gap:.15rem;margin:.4rem auto 0}.footer-more .footer-links a{font-size:.85rem;line-height:1.3;max-width:100%;overflow-wrap:anywhere;padding:.45rem}.footer-guide:focus-visible,.footer-more summary:focus-visible{outline:3px solid #ffdc82;outline-offset:3px}
.pm-projects{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:linear-gradient(115deg,#192330,#242521);padding:10px 18px;border-bottom:1px solid #d8af5544;text-align:left}.pm-projects-logo{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;min-width:110px;min-height:52px}.pm-projects-logo img{display:block;width:110px;height:auto;object-fit:contain}.pm-projects-logo:focus-visible{outline:3px solid #f5d587;outline-offset:3px}.pm-projects p{margin:0;color:#f4e0b0;font:600 14px/1.45 system-ui,sans-serif;max-width:330px}@media(max-width:520px){.pm-projects{gap:8px 12px;padding:8px 14px;flex-wrap:nowrap}.pm-projects-logo{min-width:82px;min-height:48px}.pm-projects-logo img{width:82px}.pm-projects p{font-size:12px;line-height:1.4}}
/* Subtelne, świetliste linie pomiędzy głównymi częściami strony. */
header{border-bottom:1px solid rgba(211,174,94,.25);box-shadow:0 3px 18px rgba(10,15,21,.3)}
.pm-projects{position:relative;border-bottom:0}
.pm-projects::after,.footer::before{content:"";position:absolute;left:4%;right:4%;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent 0%,rgba(213,172,85,.3) 16%,#e3bd6b 50%,rgba(213,172,85,.3) 84%,transparent 100%);box-shadow:0 0 8px rgba(234,191,102,.52),0 0 18px rgba(234,191,102,.18)}
.pm-projects::after{bottom:0}.footer{position:relative;border-top:0}.footer::before{top:0}
.section-head::after,.info>h2:first-child::after{content:"";display:block;width:min(230px,65%);height:1px;margin:14px 0 0;background:linear-gradient(90deg,#c09130,#e8c574 45%,transparent);box-shadow:0 0 8px rgba(213,165,65,.35);pointer-events:none}
@media(max-width:520px){.pm-projects::after,.footer::before{left:6%;right:6%}.section-head::after,.info>h2:first-child::after{width:min(155px,55%);margin-top:10px}}
/* Płynne tło z logo, bez wrażenia osobnego prostokąta. */
.pm-projects{isolation:isolate;overflow:visible;background:radial-gradient(ellipse 52% 180% at 48% 105%,rgba(210,170,87,.13),transparent 69%),linear-gradient(112deg,#192330 0%,#25303d 53%,#5a4a2b 100%);border:0;padding:12px 18px 17px;gap:14px}
.pm-projects::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:radial-gradient(ellipse 35% 85% at 43% 52%,rgba(222,190,127,.15),transparent 75%),radial-gradient(ellipse 42% 68% at 86% 92%,rgba(240,198,105,.10),transparent 75%);clip-path:polygon(0 0,100% 0,100% 78%,87% 95%,69% 82%,53% 100%,35% 82%,16% 94%,0 83%)}
.pm-projects::after{left:13%;right:13%;bottom:0;opacity:.7;background:linear-gradient(90deg,transparent,rgba(221,183,102,.48) 35%,rgba(246,217,155,.9) 50%,rgba(221,183,102,.48) 65%,transparent);box-shadow:0 0 9px rgba(231,187,95,.28)}
.pm-projects-logo{border:0;background:transparent;box-shadow:none}.pm-projects p{max-width:345px;color:#f3dfb5}
@media(max-width:520px){.pm-projects{padding:9px 15px 13px;gap:11px}.pm-projects::after{left:10%;right:10%}.pm-projects p{font-size:12px}}
/* Miękkie przejścia i złote linie między sekcjami katalogu. */
.hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;top:auto;width:100%;height:clamp(65px,8vw,110px);border:0;border-radius:0;box-shadow:none;pointer-events:none;background:linear-gradient(to bottom,rgba(240,232,212,0),rgba(241,233,214,.15) 34%,rgba(242,235,220,.72) 76%,#f3ede0 100%)}
.hero-inner{padding-bottom:clamp(85px,10vw,125px)}
#mainContent>section{position:relative}
#mainContent>section::before{content:"";position:absolute;z-index:0;pointer-events:none;left:clamp(14px,5%,48px);right:clamp(14px,5%,48px);top:9px;height:9px;background:radial-gradient(circle at center,rgba(194,142,38,.85) 0 2px,transparent 3px),linear-gradient(90deg,transparent,rgba(187,142,49,.65) 30%,rgba(236,199,116,.95) 50%,rgba(187,142,49,.65) 70%,transparent) center / 100% 1px no-repeat;filter:drop-shadow(0 0 4px rgba(211,160,60,.28))}
#mainContent>section.info{padding-top:max(34px,2em)}
#mainContent>#katalog::before{top:-13px}
.footer{background:linear-gradient(180deg,#444338,#252d35 55%,#18212c);padding-top:30px}
@media(max-width:520px){.hero::after{height:65px}.hero-inner{padding-bottom:90px}#mainContent>section::before{left:16px;right:16px}}

/* Odnośnik do pracowni stanowi część tła wprowadzenia. */
.hero .pm-projects{position:relative;z-index:2;background:transparent;isolation:auto;overflow:visible;border:0;padding:14px 18px 0}.hero .pm-projects::before,.hero .pm-projects::after{content:none}.hero .hero-inner{padding-top:30px}@media(max-width:520px){.hero .pm-projects{padding:12px 16px 0}.hero .hero-inner{padding-top:24px}}

/* Wąski złoty splot z dyskretnym motywem wagi. */
#mainContent>section::before,.footer::before{content:"";position:absolute;z-index:0;pointer-events:none;left:50%;right:auto;transform:translateX(-50%);width:min(600px,86%);height:24px;top:3px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%2024%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20stop-color%3D%22%23aa792b%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.18%22%20stop-color%3D%22%23b58230%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23d3aa59%22%20stop-opacity%3D%22.9%22%2F%3E%3Cstop%20offset%3D%22.82%22%20stop-color%3D%22%23b58230%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23aa792b%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22p%22%20width%3D%2216%22%20height%3D%2212%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%206%20Q0%20-1%204%206%20T12%206%20T20%206%20M-4%206%20Q0%2013%204%206%20T12%206%20T20%206%22%20fill%3D%22none%22%20stroke%3D%22%23c69a48%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M5%2012H270%20M330%2012H595%22%20fill%3D%22none%22%20stroke%3D%22url(%23g)%22%20stroke-width%3D%22.8%22%2F%3E%3Cpath%20d%3D%22M70%206H270V18H70z%20M330%206H530V18H330z%22%20fill%3D%22url(%23p)%22%20opacity%3D%22.65%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23bd8b39%22%20stroke-opacity%3D%22.8%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M300%203v16m-7%201h14m-12-15h10m-10%200-5%203m15-3%205%203m-20%200-3%205h6zm20%200-3%205h6z%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%223%22%20r%3D%221%22%20fill%3D%22%23c69a48%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 0 3px rgba(185,139,57,.16))}#mainContent>#katalog::before{top:-17px}.footer::before{top:3px}@media(max-width:520px){#mainContent>section::before,.footer::before{left:50%;right:auto;width:88%;height:20px}#mainContent>#katalog::before{top:-14px}}

/* Wyraźny ornament w jasnym przejściu pod nagłówkiem. */
.hero::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center bottom 8px / min(800px,88%) 32px no-repeat,linear-gradient(to bottom,rgba(240,232,212,0),rgba(241,233,214,.15) 34%,rgba(242,235,220,.72) 76%,#f3ede0 100%);filter:none}
@media(max-width:520px){.hero::after{background-size:92% 24px,100% 100%;background-position:center bottom 5px,center}}

/* Jasna, spokojna przestrzeń pod ornamentem i krótkie przejście tła. */
.hero::after{height:74px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center bottom 8px / min(800px,88%) 32px no-repeat,linear-gradient(to bottom,rgba(38,47,54,0) 0%,#f3ede0 52%,#f3ede0 100%);filter:none}
@media(max-width:520px){.hero::after{height:62px;background-size:92% 24px,100% 100%;background-position:center bottom 5px,center}}

/* Delikatny brzeg pergaminu zamiast poziomego odcięcia sekcji. */
.hero::after{height:90px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center bottom 8px / min(800px,88%) 32px no-repeat,url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2023%20C130%2022%20177%2036%20314%2033%20C448%2029%20506%2019%20634%2026%20C750%2033%20791%2039%20906%2032%20C1040%2023%201098%2020%201214%2028%20C1301%2034%201380%2033%201440%2026%20L1440%20100%20H0Z%22%20fill%3D%22%23f3ede0%22%2F%3E%3Cpath%20d%3D%22M0%2023%20C130%2022%20177%2036%20314%2033%20C448%2029%20506%2019%20634%2026%20C750%2033%20791%2039%20906%2032%20C1040%2023%201098%2020%201214%2028%20C1301%2034%201380%2033%201440%2026%22%20fill%3D%22none%22%20stroke%3D%22%23bb9653%22%20stroke-opacity%3D%22.45%22%20stroke-width%3D%221%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat;filter:none}
@media(max-width:520px){.hero::after{height:72px;background-size:92% 24px,100% 100%;background-position:center bottom 5px,center bottom}}

/* Naturalna faktura pergaminu przycięta do krzywej przejścia. */
.hero::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center bottom 8px / min(800px,88%) 32px no-repeat,linear-gradient(to bottom,rgba(243,237,224,.26) 0%,rgba(243,237,224,.32) 62%,#f3ede0 100%),url("pergamin-faktura.jpg") center 48% / cover no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2023%20C130%2022%20177%2036%20314%2033%20C448%2029%20506%2019%20634%2026%20C750%2033%20791%2039%20906%2032%20C1040%2023%201098%2020%201214%2028%20C1301%2034%201380%2033%201440%2026%20L1440%20100%20H0Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2023%20C130%2022%20177%2036%20314%2033%20C448%2029%20506%2019%20634%2026%20C750%2033%20791%2039%20906%2032%20C1040%2023%201098%2020%201214%2028%20C1301%2034%201380%2033%201440%2026%20L1440%20100%20H0Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat}@media(max-width:520px){.hero::after{background-size:92% 24px,100% 100%,cover;background-position:center bottom 5px,center,center}}

/* Pergamin jako tło całej strony, z ciemniejszą fakturą w nagłówku i stopce. */
html{background:#ead9b6}body{background:#ead9b6 url("pergamin-faktura.jpg") center top / 1100px auto repeat;color:#282116}header{background:linear-gradient(rgba(20,25,30,.86),rgba(23,28,32,.86)),url("pergamin-faktura.jpg") center / 1100px auto;box-shadow:0 3px 15px #38281140}.hero{background:linear-gradient(rgba(255,248,232,.38),rgba(255,248,232,.38)),url("pergamin-faktura.jpg") center / 1100px auto;color:#2c251b}.hero::before{display:none}.hero::after{mask:none;-webkit-mask:none;background-color:transparent}.hero .eyebrow{color:#6e4910}.hero h1{color:#252018}.hero h1 em{color:#80520a}.hero .lead,.hero p{color:#302a20}.hero .pm-projects p{color:#372b1b}.hero .hero-features a{background:#302a20;color:#fff4d9;border-color:#ae8a4a}.hero-box{background:linear-gradient(145deg,#27313b,#17212b);border-color:#b18d49}.hero-box strong{color:#f5d584}.hero-box p{color:#f9f0dd}.footer{background:linear-gradient(rgba(24,29,32,.88),rgba(21,26,30,.88)),url("pergamin-faktura.jpg") center / 1100px auto}.footer,.footer p{color:#f4eddb}

.hero::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center bottom 8px / min(800px,88%) 32px no-repeat}@media(max-width:520px){.hero::after{background-size:92% 24px;background-position:center bottom 5px}}

/* Oszczędne, nieregularne krawędzie nadpalonego pergaminu. */
.hero::after{height:100px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center bottom 31px / min(800px,88%) 32px no-repeat,url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%2055%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22ash%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%2351402e%22%20stop-opacity%3D%22.35%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%238b7151%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b39461%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2014%20L42%2013%2072%2017%20105%2013%20145%2018%20183%2013%20224%2017%20262%2014%20301%2018%20340%2013%20380%2016%20420%2012%20461%2017%20501%2013%20542%2019%20581%2014%20625%2017%20664%2013%20702%2018%20741%2014%20781%2017%20819%2012%20861%2018%20899%2014%20940%2017%20980%2013%201020%2018%201059%2014%201100%2018%201140%2013%201180%2017%201221%2012%201260%2018%201302%2014%201344%2017%201385%2013%201420%2017%201440%2014%20L1440%2055%20H0Z%22%20fill%3D%22url(%23ash)%22%2F%3E%3Cpath%20d%3D%22M0%2014%20L42%2013%2072%2017%20105%2013%20145%2018%20183%2013%20224%2017%20262%2014%20301%2018%20340%2013%20380%2016%20420%2012%20461%2017%20501%2013%20542%2019%20581%2014%20625%2017%20664%2013%20702%2018%20741%2014%20781%2017%20819%2012%20861%2018%20899%2014%20940%2017%20980%2013%201020%2018%201059%2014%201100%2018%201140%2013%201180%2017%201221%2012%201260%2018%201302%2014%201344%2017%201385%2013%201420%2017%201440%2014%22%20stroke%3D%22%23715638%22%20stroke-opacity%3D%22.42%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E") center bottom / 100% 42px no-repeat}
#mainContent>section::before,.footer::before{width:100%;height:52px;top:-12px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%2024%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20stop-color%3D%22%23aa792b%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.18%22%20stop-color%3D%22%23b58230%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23d3aa59%22%20stop-opacity%3D%22.9%22%2F%3E%3Cstop%20offset%3D%22.82%22%20stop-color%3D%22%23b58230%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23aa792b%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22p%22%20width%3D%2216%22%20height%3D%2212%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%206%20Q0%20-1%204%206%20T12%206%20T20%206%20M-4%206%20Q0%2013%204%206%20T12%206%20T20%206%22%20fill%3D%22none%22%20stroke%3D%22%23c69a48%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M5%2012H270%20M330%2012H595%22%20fill%3D%22none%22%20stroke%3D%22url(%23g)%22%20stroke-width%3D%22.8%22%2F%3E%3Cpath%20d%3D%22M70%206H270V18H70z%20M330%206H530V18H330z%22%20fill%3D%22url(%23p)%22%20opacity%3D%22.65%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23bd8b39%22%20stroke-opacity%3D%22.8%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M300%203v16m-7%201h14m-12-15h10m-10%200-5%203m15-3%205%203m-20%200-3%205h6zm20%200-3%205h6z%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%223%22%20r%3D%221%22%20fill%3D%22%23c69a48%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center 19px / min(600px,86%) 24px no-repeat,url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%2055%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22ash%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%2351402e%22%20stop-opacity%3D%22.35%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%238b7151%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b39461%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2014%20L42%2013%2072%2017%20105%2013%20145%2018%20183%2013%20224%2017%20262%2014%20301%2018%20340%2013%20380%2016%20420%2012%20461%2017%20501%2013%20542%2019%20581%2014%20625%2017%20664%2013%20702%2018%20741%2014%20781%2017%20819%2012%20861%2018%20899%2014%20940%2017%20980%2013%201020%2018%201059%2014%201100%2018%201140%2013%201180%2017%201221%2012%201260%2018%201302%2014%201344%2017%201385%2013%201420%2017%201440%2014%20L1440%2055%20H0Z%22%20fill%3D%22url(%23ash)%22%2F%3E%3Cpath%20d%3D%22M0%2014%20L42%2013%2072%2017%20105%2013%20145%2018%20183%2013%20224%2017%20262%2014%20301%2018%20340%2013%20380%2016%20420%2012%20461%2017%20501%2013%20542%2019%20581%2014%20625%2017%20664%2013%20702%2018%20741%2014%20781%2017%20819%2012%20861%2018%20899%2014%20940%2017%20980%2013%201020%2018%201059%2014%201100%2018%201140%2013%201180%2017%201221%2012%201260%2018%201302%2014%201344%2017%201385%2013%201420%2017%201440%2014%22%20stroke%3D%22%23715638%22%20stroke-opacity%3D%22.42%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E") center top / 100% 32px no-repeat;filter:none}#mainContent>#katalog::before{top:-29px}.footer::before{top:0}@media(max-width:520px){.hero::after{height:76px;background-size:92% 24px,100% 32px;background-position:center bottom 25px,center bottom}#mainContent>section::before,.footer::before{width:100%;height:44px;background-size:88% 20px,100% 26px;background-position:center 17px,center top}#mainContent>#katalog::before{top:-24px}}

/* Krótka wskazówka przy logo i nieregularna krawędź pod nagłówkiem. */
.hero .pm-projects{overflow:visible}.pm-projects-hint{position:relative;max-width:calc(100vw - 135px)}.pm-projects-hint summary{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;color:#5c3b0b;font-size:.83rem;font-weight:750;cursor:pointer;border-bottom:1px solid #ad813c;list-style:none}.pm-projects-hint summary::-webkit-details-marker{display:none}.pm-projects-hint summary::after{content:"?";display:grid;place-items:center;width:18px;height:18px;border:1px solid #aa7d31;border-radius:50%;font-size:.72rem}.pm-projects-hint summary:focus-visible{outline:3px solid #8a5a13;outline-offset:3px}.pm-projects-popup{position:absolute;z-index:5;top:calc(100% + 7px);left:0;width:min(260px,calc(100vw - 155px));min-width:150px;padding:13px 15px;border:1px solid #b98d49;border-radius:5px 14px 7px 12px;background:linear-gradient(rgba(255,249,233,.76),rgba(255,249,233,.76)),url("pergamin-faktura.jpg") center / 430px auto;box-shadow:0 8px 20px #3f2b1938;color:#332619;font-size:.84rem;line-height:1.4}.pm-projects-popup strong{display:block;color:#54350e}.hero .pm-projects-popup p{margin:5px 0 0;color:#332619;font-size:.84rem;font-weight:500}.hero::before{display:block;content:"";position:absolute;z-index:1;left:0;right:0;top:-1px;width:100%;height:24px;pointer-events:none;border:0;border-radius:0;box-shadow:none;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%2036%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%208%20L38%207%2072%2012%20105%208%20145%2013%20183%208%20224%2012%20262%209%20301%2013%20340%208%20380%2011%20420%207%20461%2012%20501%208%20542%2014%20581%209%20625%2012%20664%208%20702%2013%20741%209%20781%2012%20819%207%20861%2013%20899%209%20940%2012%20980%208%201020%2013%201059%209%201100%2013%201140%208%201180%2012%201221%207%201260%2013%201302%209%201344%2012%201385%208%201420%2012%201440%209%20L1440%200%20H0Z%22%20fill%3D%22%23252c30%22%2F%3E%3Cpath%20d%3D%22M0%208%20L38%207%2072%2012%20105%208%20145%2013%20183%208%20224%2012%20262%209%20301%2013%20340%208%20380%2011%20420%207%20461%2012%20501%208%20542%2014%20581%209%20625%2012%20664%208%20702%2013%20741%209%20781%2012%20819%207%20861%2013%20899%209%20940%2012%20980%208%201020%2013%201059%209%201100%2013%201140%208%201180%2012%201221%207%201260%2013%201302%209%201344%2012%201385%208%201420%2012%201440%209%22%20fill%3D%22none%22%20stroke%3D%22%2384643b%22%20stroke-opacity%3D%22.52%22%20stroke-width%3D%221.2%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat}@media(max-width:520px){.hero::before{height:16px}.pm-projects-popup{left:auto;right:0;width:min(240px,calc(100vw - 38px))}.pm-projects-hint summary{font-size:.76rem;padding:7px 5px}}

/* Karta katalogu w ciepłej palecie pergaminu. */
.hero .hero-box{background:linear-gradient(145deg,rgba(255,250,234,.94),rgba(231,208,158,.93));border:1px solid #b58a46;box-shadow:0 12px 27px rgba(90,61,24,.22),inset 0 1px rgba(255,255,255,.8);color:#302719}.hero .hero-box strong{color:#79500e}.hero .hero-box p,.hero .hero-box p span{color:#362a1b!important}.hero .hero-brand-logo{border-color:#b38a46;box-shadow:0 7px 16px rgba(68,44,17,.24)}

/* Ciepłe, stonowane powierzchnie dopasowane do pergaminowego tła. */
.panel,.sidebar,.info,.modal,.helper-panel,.flow-card,.guide,.update-panel{background:linear-gradient(145deg,#f4e6c9,#e8d6b1);border-color:#c6a66b;box-shadow:0 6px 0 rgba(156,121,65,.20),0 12px 26px rgba(95,66,29,.13),inset 0 1px rgba(255,248,225,.65)}
.card{background:linear-gradient(140deg,#f5e9d1,#ebdbbb);border-color:#d1b984;box-shadow:0 4px 0 rgba(153,119,66,.22),0 9px 18px rgba(95,66,29,.10),inset 0 1px rgba(255,248,229,.7)}
.fact,.helper-answer,.resource-grid a{background:#eaddc2;border-color:#d1b985;color:#30281e}.notice{background:#eedcba;border-color:#c4a369;color:#392b19}.guide summary,.card h3,.section-head h2,.info h2,.modal h2{color:#30271c}.card p,.section-head p,.info p{color:#493c2d}.helper-panel{color:#2e291f}

/* Spokojne odcienie w katalogu, również dla pól wyszukiwania. */
#mainContent :is(.sidebar,.panel,.info,.guide,.flow-card,.update-panel),body .helper-panel,body .modal{background:linear-gradient(145deg,#e9d4aa,#dfc69a);border-color:#c5a16b;box-shadow:0 4px 0 rgba(145,109,59,.15),0 10px 22px rgba(95,66,29,.10),inset 0 1px rgba(255,246,222,.35)}
#mainContent .card{background:linear-gradient(145deg,#efdfbf,#e8d4ae);border-color:#c9a773;box-shadow:0 3px 0 rgba(145,109,59,.12),0 7px 16px rgba(95,66,29,.08)}
#mainContent .controls input,#mainContent .controls select,#mainContent .info input:not([type=checkbox]),#mainContent .info select,#mainContent .info textarea{background:#f2e5c9;border-color:#bda077;color:#30271c}
#mainContent .controls input::placeholder{color:#62503e;opacity:1}

/* Delikatniejsze powierzchnie bez ciężkich prostokątnych cieni. */
#mainContent .notice{border:0;border-left:2px solid rgba(148,108,48,.55);border-radius:2px 18px 4px 12px;background:rgba(238,222,190,.78);box-shadow:none}
#mainContent :is(.guide,.sidebar,.panel,.info,.flow-card,.update-panel){border:1px solid rgba(154,117,66,.22);border-radius:10px 24px 13px 21px / 16px 11px 20px 13px;box-shadow:0 4px 12px rgba(97,69,34,.07)}
#mainContent .card{border:1px solid rgba(155,117,64,.24);border-radius:9px 20px 10px 18px / 14px 9px 17px 10px;box-shadow:0 3px 9px rgba(97,69,34,.06)}
#mainContent .card:hover,#mainContent .card:focus-within{border-color:rgba(145,104,45,.48);box-shadow:0 5px 12px rgba(97,69,34,.10)}
#mainContent .guide-icon{box-shadow:0 2px 4px rgba(97,69,34,.15)}
@media(max-width:520px){#mainContent :is(.guide,.sidebar,.panel,.info,.flow-card,.update-panel){border-radius:9px 17px 10px 16px / 13px 9px 15px 10px}}

/* Nowoczesna baza z dyskretnymi akcentami złota i pergaminu. */
body{background-color:#f0ece2;background-image:linear-gradient(rgba(246,243,235,.90),rgba(246,243,235,.90)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,1100px auto;color:#252b2e}
.hero{background:radial-gradient(ellipse at 80% 20%,rgba(201,170,110,.13),transparent 48%),linear-gradient(rgba(247,244,236,.86),rgba(247,244,236,.86)),url("pergamin-faktura.jpg") center / auto,auto,1100px auto;color:#242a2d}
.hero h1,.section-head h2,.info h2,.helper-panel h2{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.035em;font-weight:750}.hero h1{line-height:1.12}.hero h1 em{color:#916b2a}.hero .eyebrow{color:#806126}.hero .lead,.hero p{color:#384047}
.hero::before{display:none}.hero::after{height:30px;background:linear-gradient(90deg,transparent,rgba(177,137,71,.46),transparent) center / min(380px,65%) 1px no-repeat;mask:none;-webkit-mask:none}
#mainContent>section::before,.footer::before{left:50%;right:auto;transform:translateX(-50%);width:min(360px,65%);height:1px;top:5px;background:linear-gradient(90deg,transparent,rgba(169,131,68,.48),transparent);filter:none;box-shadow:none}#mainContent>#katalog::before{top:-10px}
#mainContent .notice{background:rgba(232,224,204,.65);border-left-color:#b59b69;color:#343b3d}
#mainContent :is(.guide,.sidebar,.panel,.info,.flow-card,.update-panel){background:linear-gradient(145deg,#f4f0e8,#ebe5d9);border-color:rgba(150,133,100,.20);border-radius:16px;box-shadow:0 5px 18px rgba(70,58,38,.06)}
#mainContent .card{background:linear-gradient(145deg,#f7f4ee,#f0eae0);border-color:rgba(150,133,100,.20);border-radius:12px;box-shadow:0 3px 12px rgba(70,58,38,.05)}
#mainContent .controls input,#mainContent .controls select,#mainContent .info input:not([type=checkbox]),#mainContent .info select,#mainContent .info textarea{background:#faf8f3;border-color:#c6bba9;color:#273034}
#mainContent .controls input::placeholder{color:#60676a}
@media(max-width:520px){.hero::after{height:24px;background-size:65% 1px;background-position:center}#mainContent>section::before,.footer::before{width:65%;height:1px;background-size:100% 1px;background-position:center}}

/* Wyraźny splot z wagą jako separator sekcji. */
.hero::after{height:44px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / min(800px,82%) 32px no-repeat;filter:none;mask:none;-webkit-mask:none}#mainContent>section::before,.footer::before{content:"";position:absolute;left:50%;right:auto;transform:translateX(-50%);width:min(800px,82%);height:32px;top:-7px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;box-shadow:none;filter:none;pointer-events:none}#mainContent>#katalog::before{top:-20px}.footer::before{top:2px}@media(max-width:520px){.hero::after{height:36px;background-size:90% 24px}#mainContent>section::before,.footer::before{width:90%;height:24px;top:-5px;background-size:100% 100%}#mainContent>#katalog::before{top:-15px}.footer::before{top:2px}}

/* Stałe miejsce między ornamentem a instrukcją katalogu. */
#mainContent>#katalog{padding-top:48px}#mainContent>#katalog::before{top:6px}#mainContent>#katalog>.guide{margin-top:0}@media(max-width:520px){#mainContent>#katalog{padding-top:38px}#mainContent>#katalog::before{top:5px}}

/* Czytelna oprawa kalkulatora usług na komputerach i telefonach. */
.business-page .business-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,245px);align-items:center;gap:clamp(20px,5vw,54px);max-width:1050px;margin:20px auto 0;padding:clamp(24px,4vw,40px);background:radial-gradient(ellipse at 85% 30%,rgba(187,145,76,.19),transparent 55%),linear-gradient(125deg,#202a31,#343229);border:1px solid #b79558;border-radius:18px;box-shadow:0 10px 26px rgba(53,42,29,.15);color:#f8f2e4}.business-page .business-header h1{font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-weight:750;letter-spacing:-.03em;color:#fff5e0;font-size:clamp(2rem,4.5vw,3.3rem);line-height:1.12;margin:20px 0 12px}.business-page .business-header p{color:#e9dcc2;margin:0;max-width:590px}.business-page .business-back{color:#f3d48e;font-weight:700;text-decoration:none}.business-page .business-back:hover,.business-page .business-back:focus-visible{text-decoration:underline}.business-brand{display:block;min-width:0}.business-brand img{display:block;width:100%;height:auto;border:1px solid #b79558;border-radius:12px;box-shadow:0 10px 20px #0004}.business-page main,.business-page footer{width:min(100%,1050px)}.business-page .quote-grid>*{min-width:0}.business-page input,.business-page select{width:100%;min-width:0}.business-page .table-wrap{max-width:100%;overflow-x:auto}.business-page .info{overflow-wrap:anywhere}@media(max-width:600px){.business-page .business-header{grid-template-columns:1fr;margin:12px 12px 0;padding:22px;gap:20px}.business-brand{max-width:205px}.business-page .business-header h1{font-size:clamp(1.8rem,8vw,2.4rem)}.business-page main{padding:12px}.business-page .quote-grid{grid-template-columns:1fr}.business-page .info{padding:18px}}

/* Przycisk powrotu i prawidłowe wymiary na małych ekranach. */
body.business-page,body.business-page *{box-sizing:border-box}.business-page .business-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 20px;border:1px solid #a8751e;border-radius:10px;background:linear-gradient(145deg,#f6dc94,#dba948);color:#30220d;text-decoration:none;box-shadow:0 3px 0 #9e772c;font-weight:750}.business-page .business-back:hover,.business-page .business-back:focus-visible{background:linear-gradient(145deg,#ffe9b0,#e7b756);color:#2d210f;text-decoration:none}.business-page .business-back:focus-visible{outline:3px solid #f7daa0;outline-offset:3px}

/* Równy układ formularza i czytelne odstępy w kalkulatorze usług. */
.business-page #quoteForm{display:grid;gap:18px;margin-top:24px}.business-page .quote-description{display:grid;gap:8px;margin:0;font-weight:650}.business-page .quote-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px}.business-page .quote-grid label{display:flex;flex-direction:column;gap:8px;min-width:0;font-weight:650;line-height:1.4}.business-page .quote-grid input,.business-page .quote-grid select,.business-page .quote-description input{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;margin-top:auto;padding:11px 12px;border:1px solid #bba477;border-radius:9px;background:#faf8f2;color:#242b2e;font:inherit}.business-page .quote-submit,.business-page #printQuote,.business-page #downloadQuote{min-height:46px;padding:10px 15px;border-radius:9px;font-weight:700;white-space:normal}.business-page .quote-submit{justify-self:start;margin-top:4px}.business-page .quote-result{max-width:100%;margin:24px 0 16px}.business-page .quote-row{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 2px}.business-page .quote-row>*{min-width:0;overflow-wrap:anywhere}.business-page #printQuote,.business-page #downloadQuote{margin:0 8px 12px 0}.business-page #kalkulator>.small{margin:8px 0 0;line-height:1.55}@media(max-width:850px){.business-page .quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.business-page .quote-grid{grid-template-columns:minmax(0,1fr);gap:16px}.business-page #quoteForm{gap:16px}.business-page .quote-submit,.business-page #printQuote,.business-page #downloadQuote{width:100%;margin-right:0}.business-page .quote-row{align-items:flex-start}.business-page .quote-row>*{max-width:100%}}

/* Przycisk Fila w ciepłej palecie strony. */
.helper .helper-launcher{background:linear-gradient(145deg,#f7ecd1,#e6d3ab);border:1px solid #b99455;color:#342919;box-shadow:0 3px 0 rgba(143,105,45,.45),0 9px 20px rgba(75,55,28,.18),inset 0 1px rgba(255,255,255,.7)}.helper .helper-launcher:hover,.helper .helper-launcher:focus-visible{background:linear-gradient(145deg,#fff4d8,#edd7a5);color:#2c2112;box-shadow:0 4px 0 rgba(143,105,45,.48),0 12px 22px rgba(75,55,28,.2)}.helper .helper-label{color:#342919}.helper .helper-label small{color:#735115}.helper .helper-avatar{background:linear-gradient(145deg,#fbe9ae,#d0a04a);box-shadow:0 3px 7px rgba(90,60,20,.2),inset 0 1px rgba(255,255,255,.65)}

/* Przycisk odnośników w palecie pergaminu i złota. */
.footer .footer-more summary{background:linear-gradient(145deg,#f2e3c2,#dec492);border:1px solid #bc9857;color:#493414;box-shadow:inset 0 1px rgba(255,249,231,.55),0 3px 8px rgba(0,0,0,.14)}.footer .footer-more summary:hover,.footer .footer-more summary:focus-visible{background:linear-gradient(145deg,#fff1d0,#e8c98b);border-color:#e0ba6d;color:#34250f}.footer .footer-more summary:focus-visible{outline:3px solid #f4d792;outline-offset:3px}

/* Czytelne kolumny i wyrównane wiersze w porównaniach kalkulatora. */
.business-page .table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:18px 0 22px;border:1px solid rgba(167,137,84,.30);border-radius:10px}
.business-page .table-wrap table{width:100%;min-width:670px;table-layout:fixed;border-collapse:collapse;font-size:.94rem;line-height:1.55}
.business-page .table-wrap th,.business-page .table-wrap td{padding:13px 15px;text-align:left;vertical-align:top;overflow-wrap:break-word;word-break:normal;border-bottom:1px solid rgba(167,137,84,.20)}
.business-page .table-wrap thead th{background:#eaddc4;color:#3f3527;font-weight:750}.business-page .table-wrap tbody th{color:#332b21;font-weight:700}.business-page .table-wrap tbody tr:last-child>*{border-bottom:0}.business-page .table-wrap tbody tr:nth-child(even){background:rgba(225,212,186,.23)}
.business-page .table-wrap table:has(thead th:nth-child(3):last-child) th:first-child{width:24%}.business-page .table-wrap table:has(thead th:nth-child(3):last-child) th:nth-child(2){width:18%}.business-page .table-wrap table:has(thead th:nth-child(4):last-child) th:first-child{width:47%}.business-page .table-wrap table:has(thead th:nth-child(4):last-child) th:nth-child(2),.business-page .table-wrap table:has(thead th:nth-child(4):last-child) th:nth-child(3){width:15%}
.business-page .info h2,.business-page .info h3,.business-page .info p{text-align:left}.business-page .info h3{margin:28px 0 12px;line-height:1.35}.business-page .info p{line-height:1.6}.business-page .table-wrap a{overflow-wrap:anywhere}
@media(max-width:600px){.business-page .table-wrap{margin:14px 0 20px}.business-page .table-wrap table{font-size:.9rem}.business-page .table-wrap th,.business-page .table-wrap td{padding:11px 12px}.business-page .table-wrap::before{content:"Przesuń tabelę w bok, aby zobaczyć wszystkie kolumny";display:block;position:sticky;left:0;width:max-content;max-width:100%;padding:8px 12px;background:#e7d9be;color:#56442b;font-size:.77rem;font-weight:650;white-space:normal}}

/* Na telefonie wiersze tabel stają się uporządkowanymi blokami danych. */
@media(max-width:600px){.business-page .table-wrap{overflow:visible;border:0;border-radius:0}.business-page .table-wrap::before{content:none}.business-page .table-wrap table,.business-page .table-wrap tbody{display:block;width:100%;min-width:0}.business-page .table-wrap thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.business-page .table-wrap tr{display:block;margin:0 0 14px;padding:13px 14px;background:rgba(239,231,213,.64);border:1px solid rgba(167,137,84,.25);border-radius:10px}.business-page .table-wrap tbody tr:nth-child(even){background:rgba(231,221,202,.58)}.business-page .table-wrap th,.business-page .table-wrap td,.business-page .table-wrap table:has(thead th:nth-child(3):last-child) th:first-child,.business-page .table-wrap table:has(thead th:nth-child(4):last-child) th:first-child{display:block;width:100%;padding:6px 0;text-align:left;border:0;overflow-wrap:anywhere}.business-page .table-wrap td::before{content:attr(data-label);display:block;color:#756140;font-size:.78rem;font-weight:700;margin-bottom:2px}.business-page .table-wrap tbody th{padding-bottom:9px;border-bottom:1px solid rgba(167,137,84,.22);margin-bottom:4px}}

/* Bezpieczne odstępy i łamanie tekstu w mobilnych kafelkach. */
@media(max-width:600px){#mainContent :is(.card,.flow-card,.info,.panel,.sidebar,.resource-grid a){min-width:0;max-width:100%;height:auto;overflow-wrap:anywhere}#mainContent .card{margin-block:14px;padding:16px}#mainContent .card h3{margin:10px 0;line-height:1.3}#mainContent .card p{line-height:1.55;margin:8px 0 12px}#mainContent .card :is(.pill,.badge){max-width:100%;white-space:normal}#mainContent .resource-grid{gap:14px}#mainContent .resource-grid a{padding:16px;line-height:1.5}#mainContent .info{padding-top:42px}#mainContent .info::before{top:7px}}

/* Układ katalogu na telefonach: elementy pozostają w swoim przepływie. */
@media (max-width:600px){
  #mainContent .layout,#mainContent .panel,#results,#results .card{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
  #mainContent .panel{padding:clamp(12px,4vw,20px)}
  #mainContent .controls{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  #mainContent .controls :is(input,select,button){box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:0}
  #mainContent .filter-help{margin:12px 0}
  #mainContent .count{margin:16px 0 12px;line-height:1.45}
  #results .card{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0 0 16px;padding:16px;transform:none}
  #results .card > div{width:100%;min-width:0}
  #results .card .meta{display:flex;flex-wrap:wrap;gap:7px;align-items:flex-start}
  #results .card .pill{display:block;max-width:100%;height:auto;line-height:1.45;overflow-wrap:anywhere}
  #results .card .open{width:100%;min-height:48px;white-space:normal}
  #results .case-page-link{display:inline-block;margin-top:10px;line-height:1.4}
  .helper .helper-launcher{width:48px;height:48px;min-height:48px;padding:3px;justify-content:center;border-radius:15px}
  .helper .helper-avatar,.helper .helper-avatar svg{width:40px;height:40px}
  .helper .helper-label{display:none}
  .helper{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom))}
  .helper-panel{width:min(370px,calc(100vw - 24px));max-height:calc(100dvh - 76px);overflow:auto}
  .footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}

/* Liczniki prowadzą bezpośrednio do odpowiednich części katalogu. */
.hero .hero-box.hero-stats{display:block;min-height:0;padding:clamp(18px,3vw,26px);overflow:visible;border-radius:18px;background:linear-gradient(145deg,#fbf4e4,#ead6ad);box-shadow:0 8px 24px #67471820;border:1px solid #bd995d}
.hero-stats .stats-heading{margin:0 0 6px;color:#5e451d;font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.hero-stats h2{margin:0 0 16px;color:#30271c;font-size:1.25rem;line-height:1.25}
.hero-stats .stats-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hero-stats .stat-link{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:112px;padding:14px;text-decoration:none;color:#30271c;background:rgba(255,252,244,.62);border:1px solid #cbb489;border-radius:12px;transition:transform .2s,background .2s,border-color .2s}
.hero-stats .stat-link:hover,.hero-stats .stat-link:focus-visible{background:#fff9e9;border-color:#9d742c;transform:translateY(-2px)}
.hero-stats .stat-link strong{color:#79500e;font-size:clamp(1.8rem,4vw,2.4rem);line-height:1.1}
.hero-stats .stat-link span{font-size:.88rem;line-height:1.35;font-weight:700}
.hero-stats .stats-note{margin:12px 0 0;color:#51432e;font-size:.8rem;line-height:1.4}
@media(max-width:360px){.hero-stats .stats-links{gap:8px}.hero-stats .stat-link{padding:10px;min-height:100px}.hero-stats .stat-link span{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.hero-stats .stat-link{transition:none}.hero-stats .stat-link:hover{transform:none}}

/* Ciepłe tło logo oraz spójny nagłówek i stopka. */
header{background:linear-gradient(115deg,rgba(62,54,44,.96),rgba(47,48,43,.96)),url("pergamin-faktura.jpg") center / 1100px auto;box-shadow:0 3px 12px rgba(71,51,28,.18)}
.hero .pm-projects .pm-projects-logo{background:linear-gradient(145deg,#b1a080,#8e806a);border-color:rgba(126,98,58,.32);box-shadow:0 3px 10px rgba(76,54,25,.10)}
.footer{background-image:linear-gradient(to bottom,#f4f0e6 0,rgba(244,240,230,.66) 12px,rgba(244,240,230,0) 40px),linear-gradient(115deg,rgba(62,54,44,.96),rgba(47,48,43,.96)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,1100px auto}

/* Ciepłe, stonowane powierzchnie dla marki i nawigacji. */
header{background:linear-gradient(115deg,rgba(61,53,43,.94),rgba(49,49,44,.94)),url("pergamin-faktura.jpg") center / 1100px auto;box-shadow:0 3px 12px rgba(71,51,28,.18)}
.hero .pm-projects .pm-projects-logo{background:linear-gradient(145deg,#a99a7d,#847b69);border-color:rgba(126,98,58,.32);box-shadow:0 3px 10px rgba(76,54,25,.10)}
.footer{background-image:linear-gradient(to bottom,#f4f0e6 0,rgba(244,240,230,.68) 12px,rgba(244,240,230,0) 40px),linear-gradient(115deg,rgba(65,56,45,.95),rgba(48,48,42,.95)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,1100px auto}

/* Łagodne przejście pod ornamentem bez dodatkowego pasa. */
.hero::before{display:block;content:"";position:absolute;inset:auto 0 0;width:100%;height:62px;z-index:0;pointer-events:none;border:0;border-radius:0;box-shadow:none;background:linear-gradient(to bottom,rgba(246,243,235,0),rgba(246,243,235,.38) 55%,rgba(246,243,235,.90) 100%)}
.hero::after{z-index:1}
@media(max-width:520px){.hero::before{height:50px}}

/* Przejście od jasnego tła strony do ciemnej stopki. */
.footer{background-image:linear-gradient(to bottom,#f4f0e6 0,rgba(229,224,213,.75) 15px,rgba(132,126,113,.35) 43px,rgba(30,31,30,0) 78px),linear-gradient(rgba(24,29,32,.88),rgba(21,26,30,.88)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,1100px auto;padding-top:82px}
.footer::before{top:24px;z-index:1}
@media(max-width:520px){.footer{padding-top:72px}.footer::before{top:20px}}

/* Przejście z ciemnego nagłówka do pergaminowego wprowadzenia. */
.hero{background-image:linear-gradient(to bottom,#2b2d2a 0,rgba(74,71,62,.72) 10px,rgba(166,151,123,.25) 34px,rgba(247,244,236,0) 60px),radial-gradient(ellipse at 80% 20%,rgba(201,170,110,.13),transparent 48%),linear-gradient(rgba(247,244,236,.86),rgba(247,244,236,.86)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,auto,1100px auto}
.hero .pm-projects{padding-top:32px}
@media(max-width:520px){.hero .pm-projects{padding-top:28px}}

.hero .pm-projects{justify-content:flex-start;padding-left:max(18px,calc((100% - 1200px)/2));padding-right:18px}
.hero .pm-projects .pm-projects-logo{background:linear-gradient(145deg,#716452,#514a3e);border-color:rgba(133,105,63,.25);box-shadow:0 3px 9px rgba(77,59,34,.09)}
@media(max-width:520px){.hero .pm-projects{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}

.hero .pm-projects .pm-projects-logo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:148px;min-width:0;min-height:78px;padding:7px 10px;border:1px solid rgba(148,113,58,.35);border-radius:13px;background:linear-gradient(145deg,#4b4031,#282a28);box-shadow:0 5px 14px rgba(76,54,25,.12)}
.hero .pm-projects .pm-projects-logo img{display:block;width:126px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:520px){.hero .pm-projects .pm-projects-logo{width:122px;min-height:66px;padding:6px 8px}.hero .pm-projects .pm-projects-logo img{width:106px}.hero .pm-projects{gap:10px}.pm-projects-hint{max-width:calc(100vw - 165px)}}

.hero .hero-box.hero-stats{position:relative;padding:clamp(19px,3vw,28px);border:1px solid rgba(151,112,49,.42);border-radius:22px;background:linear-gradient(135deg,rgba(255,251,242,.97),rgba(237,223,195,.96));box-shadow:0 16px 34px rgba(83,61,30,.11),inset 0 1px rgba(255,255,255,.85)}
.hero .hero-stats .stats-heading{color:#806022;font-size:.72rem;letter-spacing:.12em}
.hero .hero-stats h2{margin:3px 0 18px;font-size:clamp(1.2rem,2.2vw,1.45rem);letter-spacing:-.025em}
.hero-stats .stats-links{gap:12px}
.hero-stats .stat-link{position:relative;min-height:176px;gap:6px;padding:16px;overflow:hidden;border:1px solid rgba(151,113,51,.32);border-radius:15px;background:linear-gradient(150deg,#fffaf0,#eee0c2);box-shadow:0 5px 12px rgba(95,70,32,.08),inset 0 1px rgba(255,255,255,.85);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.hero-stats .stat-link:hover,.hero-stats .stat-link:focus-visible{border-color:#a27420;background:linear-gradient(150deg,#fffdf7,#f2e1ba);box-shadow:0 9px 18px rgba(95,70,32,.14);transform:translateY(-3px)}
.hero-stats .stat-link:active{transform:translateY(0)}
.hero-stats .stat-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:2px;border-radius:10px;background:linear-gradient(145deg,#f7dfa1,#e7bc61);color:#68470f;box-shadow:inset 0 1px #fff8,0 2px 5px #79531120}
.hero-stats .stat-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hero .hero-stats .stat-link strong{color:#704a10;font-size:clamp(1.9rem,3.5vw,2.5rem);font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.hero-stats .stat-title{color:#30271c;font-size:.9rem;font-weight:750;line-height:1.3}
.hero-stats .stat-action{display:flex;align-items:center;gap:5px;margin-top:auto;padding-top:7px;color:#73500f;font-size:.76rem;font-weight:750;line-height:1.3}
.hero .hero-stats .stats-note{margin:14px 0 0;color:#665843;font-size:.8rem}
@media(max-width:360px){.hero-stats .stats-links{gap:8px}.hero-stats .stat-link{min-height:158px;padding:11px}.hero-stats .stat-title{font-size:.8rem}.hero-stats .stat-action{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.hero-stats .stat-link{transition:none}.hero-stats .stat-link:hover{transform:none}}

/* Ostateczna kolorystyka nagłówka, stopki i tła logotypu. */
header{background:linear-gradient(115deg,rgba(62,54,44,.96),rgba(47,48,43,.96)),url("pergamin-faktura.jpg") center / 1100px auto;box-shadow:0 3px 12px rgba(71,51,28,.18)}
.hero .pm-projects .pm-projects-logo{background:linear-gradient(145deg,#b1a080,#8e806a);border-color:rgba(126,98,58,.32);box-shadow:0 3px 10px rgba(76,54,25,.10)}
.footer{background-image:linear-gradient(to bottom,#f4f0e6 0,rgba(244,240,230,.66) 12px,rgba(244,240,230,0) 40px),linear-gradient(115deg,rgba(62,54,44,.96),rgba(47,48,43,.96)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,1100px auto}

/* Spójne wykończenie stopki i przezroczysta oprawa logo partnera. */
.footer{background:linear-gradient(115deg,rgba(62,54,44,.96),rgba(47,48,43,.96)),url("pergamin-faktura.jpg") center / 1100px auto}
.hero .pm-projects .pm-projects-logo{background:transparent;border:1px solid #b18437;box-shadow:none}
.hero .pm-projects .pm-projects-logo img{background:transparent}

/* Delikatne przejścia między nagłówkiem, treścią i stopką. */
body > header{position:relative;border-bottom:0;box-shadow:none}
body > header::after{content:"";position:absolute;left:0;right:0;top:100%;height:20px;background:linear-gradient(to bottom,rgba(53,49,42,.38),rgba(53,49,42,.13) 45%,transparent);pointer-events:none;z-index:1}
.footer{background-image:linear-gradient(to bottom,rgba(244,240,230,.55),rgba(244,240,230,.16) 12px,transparent 28px),linear-gradient(115deg,rgba(62,54,44,.96),rgba(47,48,43,.96)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,1100px auto}

/* Kolory elementów nawiązują do złotego ornamentu. */
.hero .hero-features a{background:rgba(255,249,235,.52);color:#694816;border:1px solid rgba(168,115,24,.58);box-shadow:0 2px 6px rgba(91,63,25,.08)}
.hero .hero-features a b{background:linear-gradient(145deg,#e9c982,#c99a44);color:#50370f;box-shadow:none}
.footer .footer-guide,.footer .footer-links a,.footer .footer-more summary{color:#e6c386;font-weight:600;text-decoration-thickness:1px;text-underline-offset:.22em}
.footer .footer-guide,.footer .footer-links a{padding-top:.3rem;padding-bottom:.3rem}
.footer .footer-guide:hover,.footer .footer-links a:hover,.footer .footer-guide:focus-visible,.footer .footer-links a:focus-visible{color:#ffdf9c}
.footer .footer-more summary{background:rgba(226,198,146,.1);border-color:rgba(203,158,77,.65);box-shadow:none}
.footer .footer-more summary:hover,.footer .footer-more summary:focus-visible{background:rgba(226,198,146,.18);color:#ffdf9c}

/* Nagłówek narzędzia w kolorystyce katalogu. */
.business-page .business-header{background:transparent;border:0;box-shadow:none;color:#30271c}
.business-page .business-header h1{color:#33291c}
.business-page .business-header p{color:#574632}
.business-page .business-header .business-brand img{background:transparent;border:0;box-shadow:none;filter:drop-shadow(0 3px 4px rgba(87,57,19,.16))}
.business-page .business-header .business-brand:focus-visible{outline:2px solid #a87318;outline-offset:4px;border-radius:8px}
@media(max-width:600px){.business-page .business-header .business-brand{justify-self:center;width:min(205px,100%)} }

.business-page > .business-header::after{content:"";position:absolute;top:100%;left:50%;right:auto;transform:translateX(-50%);width:min(800px,82%);height:32px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%3E%3Cstop%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.13%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ad7416%22%2F%3E%3Cstop%20offset%3D%22.87%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%22.8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a87318%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22cord%22%20width%3D%2216%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M-4%205%20Q0%20-1%204%205%20T12%205%20T20%205%20M-4%205%20Q0%2011%204%205%20T12%205%20T20%205%22%20fill%3D%22none%22%20stroke%3D%22%23a87318%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url(%23gold)%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016H370%20M430%2016H788%22%20stroke-width%3D%221.3%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M28%2011h335v10H28z%20M437%2011h335v10H437z%22%20fill%3D%22url(%23cord)%22%20opacity%3D%22.8%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2398600c%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M400%204v23m-9%200h18m-16-19h14m-14%200-8%204m22-4%208%204m-30%200-5%208h10zm30%200-5%208h10z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%224%22%20r%3D%221.5%22%20fill%3D%22%2398600c%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / min(800px,82%) 32px no-repeat;box-shadow:none;pointer-events:none}
@media(max-width:600px){.business-page > .business-header::after{width:90%;height:24px;background-size:100% 100%}.business-page main{padding-top:30px}}

.business-page > .business-header::after{background-size:100% 100%;z-index:1;opacity:1}
.business-page main{padding-top:40px}
@media(max-width:600px){.business-page main{padding-top:30px}}

/* Ornament oddzielający nagłówek kalkulatora od treści. */
.business-page > .business-header{position:relative;box-shadow:none;border-bottom:0}
.business-page > .business-header::after{box-shadow:none;filter:none;background-color:transparent}

/* Oddzielenie kalkulatora ornamentem zamiast cienia nagłówka. */
body.business-page > header.business-header{background:none;box-shadow:none;border:0}
body.business-page > header.business-header::after{height:32px;width:min(800px,82%);background-color:transparent;background-size:100% 100%;box-shadow:none;filter:none;opacity:1}
@media(max-width:600px){body.business-page > header.business-header::after{width:90%;height:24px}}

/* Na małych ekranach pomoc zajmuje własne miejsce i nie zasłania treści. */
@media(max-width:600px){.helper{position:static;align-items:flex-start;width:min(100% - 32px,1300px);margin:12px auto;gap:10px}.helper .helper-launcher{width:auto;height:auto;min-height:48px;padding:4px 12px 4px 4px;justify-content:flex-start}.helper .helper-label{display:block}.helper-panel{width:min(100%,370px);max-height:none}.helper .helper-avatar,.helper .helper-avatar svg{width:40px;height:40px}}
.pagination { display:flex; flex-wrap:nowrap; align-items:stretch; justify-content:flex-end; gap:12px; }
.pagination #previousPage, .pagination #showMore { box-sizing:border-box; margin:0; min-width:0; min-height:48px; align-self:stretch; }
.pagination #previousPage[hidden], .pagination #showMore[hidden] { display:none; }
@media (max-width:600px) {
  .pagination { justify-content:stretch; }
  .pagination #previousPage, .pagination #showMore { flex:1 1 0; padding:10px 6px; font-size:clamp(.72rem, 3.2vw, .9rem); line-height:1.2; }
}
.template-controls { display:grid; grid-template-columns:minmax(150px, 1fr) minmax(220px, 3fr) auto; align-items:end; gap:12px; }
.template-controls label { display:flex; flex-direction:column; gap:6px; min-width:0; margin:0; }
.template-controls input, .template-controls select, .template-controls #loadTemplate { box-sizing:border-box; height:48px; min-height:48px; margin:0; }
.template-controls input, .template-controls select { width:100%; min-width:0; }
.template-controls #loadTemplate { align-self:end; white-space:nowrap; }
@media (max-width:650px) {
  .template-controls { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:10px; }
  .template-controls #loadTemplate { grid-column:1 / -1; justify-self:stretch; }
}
@media (max-width:360px) { .template-controls { grid-template-columns:minmax(0,1fr); } .template-controls #loadTemplate { grid-column:auto; } }
/* Ciepłe, przygaszone złoto łączy nawigację i stopkę z tłem katalogu. */
body > header { background:linear-gradient(115deg,rgba(225,205,166,.96),rgba(210,190,151,.96)),url("pergamin-faktura.jpg") center / 1100px auto; color:#332716; }
body > header .brand-text { color:#332716; }
body > header .brand-text small { color:#604722; }
body > header #mainNav a { color:#40301a; }
body > header #mainNav a:hover, body > header #mainNav a:focus-visible { color:#24180b; background:rgba(156,110,40,.14); }
body > header #mainNav a.active, body > header #mainNav a[aria-current="page"] { color:#2d200f; }
body > header::after { background:linear-gradient(to bottom,rgba(183,154,103,.22),rgba(220,203,171,.1) 45%,transparent); }
.footer { background-image:linear-gradient(to bottom,rgba(244,240,230,.7),rgba(244,240,230,.18) 14px,transparent 30px),linear-gradient(115deg,rgba(225,205,166,.96),rgba(210,190,151,.96)),url("pergamin-faktura.jpg"); background-position:center top; background-size:auto,auto,1100px auto; color:#3c2c18; }
.footer, .footer p { color:#49351b; }
.footer .footer-guide, .footer .footer-links a, .footer .footer-more summary { color:#674009; }
.footer .footer-guide:hover, .footer .footer-links a:hover, .footer .footer-guide:focus-visible, .footer .footer-links a:focus-visible { color:#372106; }
.footer .footer-more summary { background:rgba(255,247,225,.35); border-color:rgba(145,96,29,.58); }
.footer .footer-more summary:hover, .footer .footer-more summary:focus-visible { background:rgba(255,247,225,.65); color:#372106; }

/* Pergaminowe, miękkie krawędzie na styku z treścią. */
body > header:not(.business-header){background:linear-gradient(100deg,rgba(238,223,191,.60),rgba(224,205,167,.48)),url("pergamin-faktura.jpg") center 42% / 1100px auto;box-shadow:none;border:0}
body > header:not(.business-header)::after{top:calc(100% - 1px);height:24px;background:linear-gradient(to bottom,rgba(222,203,164,.72),rgba(232,217,187,.28) 55%,transparent);clip-path:polygon(0 0,100% 0,100% 40%,97% 46%,94% 38%,90% 50%,86% 43%,82% 53%,78% 43%,74% 51%,70% 42%,66% 51%,62% 45%,58% 54%,54% 45%,50% 52%,46% 43%,42% 52%,38% 44%,34% 52%,30% 43%,26% 50%,22% 42%,18% 51%,14% 43%,10% 50%,6% 40%,3% 47%,0 41%);pointer-events:none}
.footer{position:relative;border:0;box-shadow:none;background:linear-gradient(100deg,rgba(238,223,191,.60),rgba(224,205,167,.48)),url("pergamin-faktura.jpg") center 42% / 1100px auto;color:#49351b}
.footer::before{content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);height:24px;background:linear-gradient(to top,rgba(222,203,164,.72),rgba(232,217,187,.28) 55%,transparent);clip-path:polygon(0 59%,3% 53%,6% 60%,10% 50%,14% 57%,18% 49%,22% 58%,26% 50%,30% 57%,34% 48%,38% 56%,42% 48%,46% 57%,50% 48%,54% 55%,58% 46%,62% 55%,66% 49%,70% 58%,74% 49%,78% 57%,82% 47%,86% 57%,90% 50%,94% 62%,97% 54%,100% 60%,100% 100%,0 100%);pointer-events:none}
@media(max-width:600px){body > header:not(.business-header)::after,.footer::before{height:16px}}

/* Jasne przejścia i subtelne światło na pergaminowych powierzchniach. */
body > header:not(.business-header){background-image:linear-gradient(160deg,rgba(255,249,231,.42),rgba(233,216,181,.16) 55%,rgba(194,165,110,.12)),url("pergamin-faktura.jpg");box-shadow:inset 0 1px 0 rgba(255,252,241,.72),inset 0 -2px 4px rgba(169,133,78,.08)}
body > header:not(.business-header)::after{clip-path:none;box-shadow:none;filter:none;height:16px;background:linear-gradient(to bottom,rgba(226,210,180,.34),transparent)}
body > .hero{background-image:radial-gradient(ellipse at 80% 20%,rgba(201,170,110,.08),transparent 48%),linear-gradient(rgba(247,244,236,.80),rgba(247,244,236,.86)),url("pergamin-faktura.jpg");background-position:center top;background-size:auto,auto,1100px auto}
.footer{background-image:linear-gradient(160deg,rgba(255,249,231,.44),rgba(233,216,181,.18) 55%,rgba(194,165,110,.12)),url("pergamin-faktura.jpg");background-position:center;background-size:auto,1100px auto;box-shadow:inset 0 2px 3px rgba(255,251,239,.55),inset 0 -3px 7px rgba(151,119,70,.08)}
.footer::before{top:auto;bottom:calc(100% - 1px);left:0;right:0;transform:none;width:100%;height:16px;clip-path:none;filter:none;box-shadow:none;background:linear-gradient(to top,rgba(226,210,180,.34),transparent)}
@media(max-width:600px){body > header:not(.business-header)::after,.footer::before{height:12px}}

/* Nieregularne, zagięte brzegi pergaminu. */
body > header:not(.business-header)::after,.footer::before{content:"";position:absolute;left:0;right:0;width:100%;height:25px;transform:none;clip-path:none;filter:none;box-shadow:none;pointer-events:none;background-image:url("pergamin-krawedz.svg");background-size:360px 25px;background-repeat:repeat-x;background-position:center top;z-index:1}
body > header:not(.business-header)::after{top:calc(100% - 2px);bottom:auto}
.footer::before{top:auto;bottom:calc(100% - 2px);transform:rotate(180deg)}
@media(max-width:600px){body > header:not(.business-header)::after,.footer::before{height:17px;background-size:245px 17px}}

/* Wygodne odstępy i stabilna paginacja na małych ekranach. */
@media(max-width:600px){
  #mainContent{min-width:0}
  #mainContent .layout{gap:14px}
  #mainContent .panel{padding:clamp(12px,4vw,18px)}
  #mainContent .controls{gap:10px}
  #results .card{gap:10px;margin-bottom:14px;padding:14px}
  #results .card h3,#results .card p{overflow-wrap:anywhere}
  #results .card h3{line-height:1.3}
  #results .card p{line-height:1.5}
  .pagination{display:flex;flex-wrap:nowrap;align-items:stretch;gap:10px;margin-top:18px}
  .pagination #previousPage,.pagination #showMore{flex:1 1 0;min-width:0;min-height:48px;padding:10px 6px;white-space:normal;overflow-wrap:normal;line-height:1.25}
  .pagination #previousPage[hidden],.pagination #showMore[hidden]{display:none}
}
body > header:not(.business-header)::after,.footer::before{background-size:100% 100%;background-repeat:no-repeat;height:28px}
@media(max-width:600px){body > header:not(.business-header)::after,.footer::before{height:18px}}

/* Dwa niezależne, postrzępione brzegi na łączeniu arkuszy. */
body > header:not(.business-header)::before{content:"";position:absolute;left:0;right:0;top:calc(100% + 9px);height:28px;width:100%;background:url("pergamin-krawedz.svg") center / 100% 100% no-repeat;transform:rotate(180deg);opacity:.72;pointer-events:none;z-index:1}
body > header:not(.business-header)::after{z-index:2}
@media(max-width:600px){body > header:not(.business-header)::before{top:calc(100% + 6px);height:18px}}
/* Ornament pomiędzy krawędziami nagłówka i stopki. */
body > header:not(.business-header)::before{top:calc(100% + 28px);transform:none;background-image:url("ornament-krawedz.svg"),url("pergamin-krawedz.svg");background-position:center top,center bottom;background-size:min(720px,80%) 16px,100% 20px;background-repeat:no-repeat}
.footer::after{content:"";position:absolute;left:0;right:0;bottom:calc(100% + 24px);width:100%;height:30px;background:url("ornament-krawedz.svg") center bottom / min(720px,80%) 16px no-repeat,url("pergamin-krawedz.svg") center top / 100% 20px no-repeat;pointer-events:none;z-index:1}
@media(max-width:600px){body > header:not(.business-header)::before{top:calc(100% + 18px);height:22px;background-size:80% 12px,100% 14px}.footer::after{bottom:calc(100% + 16px);height:22px;background-size:80% 12px,100% 14px}}
/* Wyraźniejszy ornament wyśrodkowany między brzegami pergaminu. */
body > header:not(.business-header)::before{height:38px;background-position:center center,center bottom;background-size:min(900px,86%) 25px,100% 20px}
.footer::after{height:38px;background-position:center center,center top;background-size:min(900px,86%) 25px,100% 20px}
@media(max-width:600px){body > header:not(.business-header)::before,.footer::after{height:29px;background-size:90% 20px,100% 14px}}
/* Więcej miejsca dla ornamentu między dwoma krawędziami. */
body > header:not(.business-header)::before{top:calc(100% + 20px);height:64px;background-position:center 12px,center bottom;background-size:min(980px,88%) 34px,100% 20px}
body > .hero{padding-top:64px}
.footer::after{bottom:calc(100% + 18px);height:64px;background-position:center 18px,center top;background-size:min(980px,88%) 34px,100% 20px}
.footer{margin-top:58px}
@media(max-width:600px){body > header:not(.business-header)::before{top:calc(100% + 13px);height:48px;background-position:center 9px,center bottom;background-size:90% 27px,100% 14px}body > .hero{padding-top:50px}.footer::after{bottom:calc(100% + 12px);height:48px;background-position:center 12px,center top;background-size:90% 27px,100% 14px}.footer{margin-top:44px}}
body > header:not(.business-header)::before{background-position:center 5px,center bottom}
@media(max-width:600px){body > header:not(.business-header)::before{background-position:center 4px,center bottom}}
/* Skrót do projektów Project Management Solutions obok marki katalogu w głównym nagłówku. */
.header-brands{display:flex;align-items:center;gap:clamp(8px,1.5vw,18px);min-width:0}
.header-brands .brand{margin:0}
.header-pm-projects{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.header-pm-logo{display:flex;align-items:center;justify-content:center;width:92px;height:54px;padding:4px 7px;border:1px solid rgba(169,128,57,.48);border-radius:12px;background:rgba(255,251,239,.36);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.header-pm-logo:hover,.header-pm-logo:focus-visible{transform:translateY(-2px);box-shadow:0 5px 12px rgba(87,61,26,.15)}
.header-pm-logo img{display:block;width:100%;height:100%;object-fit:contain}
.header-pm-hint{position:relative;white-space:nowrap}
.header-pm-hint summary{list-style:none;cursor:pointer;color:#6c4b14;font-size:.78rem;font-weight:750;padding:7px 2px;border-bottom:1px solid #ad813c}
.header-pm-hint summary::-webkit-details-marker{display:none}
.header-pm-hint summary::after{content:"?";display:inline-grid;place-items:center;width:17px;height:17px;margin-left:5px;border:1px solid #aa7d31;border-radius:50%;font-size:.68rem}
.header-pm-popup{position:absolute;z-index:20;top:calc(100% + 8px);left:0;width:min(235px,calc(100vw - 30px));padding:12px 14px;border:1px solid #b98d49;border-radius:7px 14px 8px 12px;background:linear-gradient(rgba(255,249,233,.96),rgba(255,249,233,.96)),url("pergamin-faktura.jpg") center/430px auto;box-shadow:0 8px 20px #3f2b1938;color:#332619;font-size:.82rem;line-height:1.4;white-space:normal}
.header-pm-popup strong{display:block;color:#54350e}
.header-pm-popup p{margin:5px 0 0;color:#332619}
@media(max-width:800px){.top{display:flex;flex-direction:column;align-items:stretch;gap:12px}.header-brands{gap:8px}.header-pm-projects{gap:5px}.header-pm-logo{width:62px;height:42px;padding:3px 4px;border-radius:9px}.header-pm-hint summary{font-size:.68rem;padding:5px 1px}.header-pm-hint summary::after{width:15px;height:15px;margin-left:3px}.header-brands .brand{gap:6px;min-width:0}.header-brands .brand-text{font-size:.72rem;letter-spacing:.06em}.header-brands .brand-text small{font-size:.64rem}.header-brands .header-logo{width:52px;height:40px}.header-pm-popup{left:auto;right:0}}
@media(max-width:360px){.header-brands{gap:6px}.header-pm-logo{width:52px;height:36px}.header-pm-projects{gap:3px}.header-pm-hint summary{font-size:.62rem}.header-brands .brand-text{font-size:.66rem}.header-brands .brand-text small{font-size:.58rem}.header-brands .header-logo{width:44px;height:34px}}

/* Ciemne, miękkie podłoże poprawia czytelność złotego znaku na pergaminie. */
body > header .header-logo{background:linear-gradient(145deg,#574631,#302a21);border:1px solid rgba(150,108,42,.62);border-radius:10px;padding:4px;filter:drop-shadow(0 2px 4px rgba(72,49,20,.2));object-fit:contain}
@media(max-width:800px){body > header .header-logo{width:58px;height:44px;padding:3px;border-radius:8px}}
@media(max-width:360px){body > header .header-logo{width:48px;height:38px}}

body > header .header-logo{width:120px;height:76px;padding:0;background:transparent;border:0;border-radius:0;filter:contrast(1.14) saturate(1.18) drop-shadow(0 1px 1px rgba(0,0,0,.9)) drop-shadow(0 2px 2px rgba(0,0,0,.45))}
@media(max-width:800px){body > header .header-logo{width:76px;height:52px}}
@media(max-width:360px){body > header .header-logo{width:62px;height:44px}}

.header-pm-logo,.hero .pm-projects .pm-projects-logo{background:transparent;border-color:transparent;box-shadow:none}.header-pm-logo img,.hero .pm-projects .pm-projects-logo img{background:transparent;filter:drop-shadow(0 1px 1px rgba(0,0,0,.85)) drop-shadow(0 2px 2px rgba(0,0,0,.4))}

@media(max-width:800px){.header-brands{flex-wrap:wrap}.header-brands .brand{flex:1 1 180px;min-width:0}.header-brands .brand-text{min-width:0;overflow-wrap:anywhere}.header-brands .brand-text small{white-space:normal}}

.hero-features a{text-decoration:none}.hero-features a:hover{text-decoration:underline}.hero-features a:focus-visible{outline:3px solid #d49f35;outline-offset:3px}

/* Pola formularzy */
body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;color:#342819;background:linear-gradient(150deg,#fbf7ed,#f1e5ce);border:1px solid #bda77e;border-radius:9px;box-shadow:inset 0 1px 2px rgba(99,71,30,.06);transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),select,textarea):hover{border-color:#9b742f}
body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),select,textarea):focus{outline:2px solid #95670e;outline-offset:2px;border-color:#95670e;box-shadow:0 0 0 4px rgba(181,132,43,.14),inset 0 1px 2px rgba(99,71,30,.06)}
body :is(input,textarea)::placeholder{color:#766b5b;opacity:1}
@media(max-width:600px){body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),select,textarea){font-size:16px;max-width:100%}}
@media(prefers-reduced-motion:reduce){body :is(input,select,textarea){transition:none}}
