/* Wydawca Core: komponenty wspólne. Kolory i kroje z motywu (zmienne --w-*) */
.wyd-box{margin:1.75rem 0;padding:1.1rem 1.25rem;border-radius:var(--w-radius,10px);background:var(--w-soft,#f4f2ee);border:1px solid var(--w-line,#e3ded5);font-size:.97em}
.wyd-box p{margin:0}
.wyd-box__title{font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .6rem!important;color:var(--w-accent-ink,var(--w-accent,#333))}
.wyd-box ul{margin:0;padding-left:1.15rem}.wyd-box li{margin:.3rem 0}
.wyd-box--legal{border-left:4px solid var(--w-accent,#999)}
.wyd-box--sponsored{background:transparent;border:1px dashed var(--w-line-strong,#b9b2a6)}
.wyd-sources{margin:2.5rem 0 1rem;font-size:.92em}
.wyd-sources h2{font-size:1.15rem!important;margin:0 0 .6rem!important}
.wyd-sources ol{margin:0;padding-left:1.2rem}.wyd-sources li{margin:.35rem 0;overflow-wrap:anywhere}
.wyd-faq{margin:2.5rem 0}.wyd-faq h2{margin-bottom:.8rem}
.wyd-faq details{border-top:1px solid var(--w-line,#e3ded5);padding:.85rem 0}
.wyd-faq details:last-child{border-bottom:1px solid var(--w-line,#e3ded5)}
.wyd-faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.wyd-faq summary::after{content:"+";font-weight:400;font-size:1.3em;line-height:1}
.wyd-faq details[open] summary::after{content:"−"}
.wyd-faq details p{margin:.6rem 0 0}
.wyd-paid{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:.15rem .5rem;border-radius:4px;background:var(--w-soft,#f4f2ee);color:var(--w-muted,#666);border:1px solid var(--w-line,#e3ded5)}
.wyd-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem;font-size:.85rem;color:var(--w-muted,#666)}
.wyd-crumbs li+li::before{content:"/";margin-right:.35rem;opacity:.5}
.wyd-crumbs a{color:inherit;text-decoration:none}.wyd-crumbs a:hover{text-decoration:underline}
.wyd-updated{margin-left:.4rem}

/* Kalkulatory */
.wyd-calc{margin:2rem 0;padding:1.25rem;border-radius:var(--w-radius,10px);background:var(--w-card,#fff);border:1px solid var(--w-line,#e3ded5);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.wyd-calc__title{font-family:var(--w-font-head,inherit);font-weight:700;font-size:1.2rem;margin:0 0 1rem}
.wyd-calc__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.9rem}
.wyd-calc__field{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600}
.wyd-calc__check{flex-direction:row;align-items:center;grid-column:1/-1;font-weight:500}
.wyd-calc__input{display:flex;align-items:center;border:1px solid var(--w-line-strong,#cfc8bc);border-radius:8px;background:var(--w-bg,#fff);overflow:hidden}
.wyd-calc__input:focus-within{outline:2px solid var(--w-accent,#333);outline-offset:1px}
.wyd-calc input[type=number],.wyd-calc select{font:inherit;font-weight:500;font-variant-numeric:tabular-nums;border:0;background:transparent;padding:.6rem .7rem;width:100%;min-width:0;color:inherit}
.wyd-calc select{border:1px solid var(--w-line-strong,#cfc8bc);border-radius:8px;background:var(--w-bg,#fff)}
.wyd-calc input:focus,.wyd-calc select:focus{outline:none}
.wyd-calc__input em{font-style:normal;color:var(--w-muted,#666);padding-right:.7rem;font-weight:500}
.wyd-calc__offer{border:1px solid var(--w-line,#e3ded5);border-radius:8px;padding:.6rem .8rem .8rem;display:grid;gap:.6rem;margin:0}
.wyd-calc__offer legend{font-size:.8rem;font-weight:700;padding:0 .3rem}
.wyd-calc__result{display:block;margin-top:1.1rem;border-top:1px solid var(--w-line,#e3ded5);padding-top:.6rem}
.wyd-calc__row{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;font-variant-numeric:tabular-nums}
.wyd-calc__row strong{white-space:nowrap}
.wyd-calc__row.is-main strong{font-size:1.35rem;color:var(--w-accent-ink,var(--w-accent,#222))}
.wyd-calc__sub{margin:.9rem 0 .1rem!important;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--w-muted,#666)}
.wyd-calc__notes{margin-top:.9rem;font-size:.85rem;color:var(--w-muted,#555)}
.wyd-calc__notes summary{cursor:pointer;font-weight:600;color:var(--w-ink,#222)}
.wyd-calc__notes p{margin:.5rem 0 0}

/* Zgoda na cookies */
.wyd-consent{position:fixed;z-index:999;left:1rem;right:1rem;bottom:1rem;max-width:560px;margin-left:auto;background:var(--w-card,#fff);color:var(--w-ink,#222);border:1px solid var(--w-line,#ddd);border-radius:var(--w-radius,10px);box-shadow:0 10px 30px rgba(0,0,0,.15);padding:1rem 1.1rem;font-size:.9rem}
.wyd-consent[hidden]{display:none}
.wyd-consent p{margin:0 0 .8rem}
.wyd-consent__actions{display:flex;gap:.5rem;justify-content:flex-end;flex-wrap:wrap}
.wyd-btn{font:inherit;font-weight:600;cursor:pointer;border-radius:8px;padding:.55rem 1rem;border:1px solid var(--w-accent,#222);background:var(--w-accent,#222);color:var(--w-on-accent,#fff)}
.wyd-btn--ghost{background:transparent;color:var(--w-ink,#222);border-color:var(--w-line-strong,#bbb)}
@media (max-width:600px){.wyd-calc{padding:1rem;margin-left:-.25rem;margin-right:-.25rem}.wyd-calc__row.is-main strong{font-size:1.2rem}}
