/* Master Strategy pages: cards, tables and the scenario calculator. Reuses PHASE tokens; no decorative numbering. */
.strategy-intro{padding-block:clamp(48px,7vw,96px)}
.strategy-intro__grid{max-width:760px}
.strategy-intro__title{margin-bottom:.4em}
.strategy-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin-top:24px}
.strategy-card{border:1px solid rgba(7,10,16,.14);background:rgba(255,255,255,.72);padding:24px;display:flex;flex-direction:column;gap:10px}
.strategy-card h3{margin:0}
.strategy-card__price{font-weight:600;margin:0}
.strategy-table-wrap{overflow-x:auto;margin-top:20px}
.strategy-table{width:100%;border-collapse:collapse;min-width:520px}
.strategy-table th,.strategy-table td{text-align:left;padding:14px 16px;border-bottom:1px solid rgba(7,10,16,.14);vertical-align:top}
.strategy-table thead th{font-size:.85rem;letter-spacing:.02em}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.strategy-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:20px;margin-top:28px}
.strategy-step{border-top:2px solid currentColor;padding-top:14px}
.strategy-step h3{margin:0 0 6px}
.strategy-ladder{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:20px 0 0}
.strategy-ladder li{border:1px solid rgba(7,10,16,.2);padding:8px 14px;font-size:.95rem}
.calc{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
@media(min-width:900px){.calc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.calc__fields{display:grid;gap:16px}
.calc__field label{display:block;font-weight:600;margin-bottom:4px}
.calc__field input,.calc__field select{width:100%;min-height:44px;padding:8px 12px;font:inherit;border:1px solid rgba(7,10,16,.4);background:#fff}
.calc__hint{font-size:.88rem;opacity:.8;margin:4px 0 0}
.calc__result{border:1px solid rgba(7,10,16,.2);background:rgba(255,255,255,.8);padding:24px}
.calc__table{width:100%;border-collapse:collapse}
.calc__table th,.calc__table td{text-align:left;padding:10px 8px;border-bottom:1px solid rgba(7,10,16,.14)}
.calc__formula{font-size:.92rem;background:rgba(7,10,16,.05);padding:12px 14px;margin-top:16px;overflow-wrap:anywhere}
.calc__warn{font-size:.9rem;margin-top:12px}
.quiz-page .page-head{padding-block:clamp(3rem,5vw,5.5rem);}
.quiz-page .page-head h1{max-width:16ch;font-size:clamp(3.2rem,5.5vw,5.8rem);line-height:1.02;overflow-wrap:normal}
.quiz-page .page-head .lead{max-width:58ch;margin-top:1.5rem}
.quiz-section{background:#EAF3F6}
.quiz__intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.42fr);gap:clamp(2rem,5vw,5rem);align-items:end;margin-bottom:clamp(2.5rem,5vw,4.5rem)}
.quiz__intro h2{max-width:18ch;font-size:clamp(2.7rem,4.5vw,4.8rem);line-height:1.03;overflow-wrap:normal}
.quiz__intro>div>p:last-child{max-width:58ch;font-size:1.13rem;line-height:1.5;margin-top:1.4rem;color:#344F5C}
.quiz__note-title{margin:0 0 1rem;font-size:.77rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:#126F90}
.quiz__note{border-left:3px solid var(--ph-blue);padding:1.2rem 1.4rem;background:#D9EAF0;color:#213D49}
.quiz__note p{margin:0;line-height:1.5}.quiz__note p+p{margin-top:.75rem}.quiz__note .quiz__note-title{margin-bottom:.75rem}
.quiz__note a{font-weight:700;text-underline-offset:.2em}
.quiz{display:grid;gap:clamp(1rem,2vw,1.6rem);max-width:100%}
.quiz__question{min-width:0;margin:0;padding:clamp(1.25rem,2.5vw,2.2rem);border:1px solid #A8C6D0;background:#F8FCFD;box-shadow:0 10px 28px #0718200B}
.quiz__question legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.quiz__question-title{margin:0;color:var(--ph-ink);font-size:clamp(1.2rem,1.8vw,1.62rem);font-weight:700;line-height:1.24;letter-spacing:-.025em}
.quiz__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:.8rem}
.calc__result>h2{margin-bottom:clamp(1.2rem,2vw,2rem)}
.calc__result h3{margin-bottom:.7rem}
.quiz__choice{display:flex;align-items:center;gap:.9rem;min-width:0;min-height:66px;padding:1rem 1.1rem;border:1px solid #B6CDD5;background:#fff;color:#1A303B;cursor:pointer;font-size:1rem;line-height:1.3;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.quiz__choice:hover{border-color:#197F9D;background:#EFF9FC}
.quiz__choice:has(input:checked){border-color:#087C9D;background:#E0F3F8;box-shadow:inset 0 0 0 1px #087C9D}
.quiz__choice:focus-within{outline:3px solid #4DB8D3;outline-offset:2px}
.quiz__choice input{flex:none;width:20px;height:20px;margin:0;accent-color:#087C9D}
.quiz__choice span{min-width:0;overflow-wrap:normal}
.quiz__submit{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem 0;border-top:1px solid #A8C6D0;color:#405B68;font-size:.9rem}
.quiz__submit .btn{flex:none;min-height:54px}
.quiz__result:empty{display:none}
.quiz__result:not(:empty){padding:clamp(1.6rem,3vw,3rem);border-top:4px solid var(--ph-lime);background:var(--ph-ink);color:#EAF6F9;outline:none}
.quiz__result h3{max-width:25ch;margin:0 0 1.4rem;color:#F2FBFD;font-size:clamp(1.8rem,3vw,3rem);line-height:1.08}
.quiz__result p{max-width:68ch;margin:0 0 1rem;line-height:1.55}.quiz__result p:nth-of-type(2){color:#BFD6DE;font-size:.92rem}
.quiz__result .btn{margin-top:.7rem}
@media(max-width:900px){.quiz__intro{grid-template-columns:1fr;gap:1.5rem;align-items:start}.quiz__note{max-width:68ch}}
@media(max-width:700px){.quiz__choices{grid-template-columns:1fr;gap:.55rem}.quiz__choice{min-height:54px;padding:.75rem 1rem}.quiz__submit{align-items:stretch;flex-direction:column}.quiz__submit .btn{align-self:start}}
@media(max-width:360px){.quiz-page .page-head h1{font-size:clamp(2.25rem,10vw,2.6rem)}.quiz__intro h2{font-size:2.25rem}.quiz__question{padding:1rem}}

.strategy-sec p,.strategy-intro p,.calc__hint,.calc__field label{overflow-wrap:anywhere;hyphens:auto}
.strategy-sec h2{font-size:clamp(2.25rem,3.45vw,3.6rem);line-height:1.08;max-width:min(100%,20ch);overflow-wrap:normal;word-break:normal;hyphens:manual;margin-bottom:1.2rem}
#branze-lista-title,#triggers-title{margin-bottom:clamp(1.5rem,2.5vw,2.5rem)}
#triggers-title{margin-bottom:0}
#triggers-title+.strategy-table-wrap{margin-top:clamp(2rem,3vw,2.5rem)}
.strategy-intro h2,.calc h2{overflow-wrap:normal;hyphens:manual}
#wynik-title{font-size:clamp(2.2rem,4.4vw,4.7rem);line-height:1.04;max-width:15ch;overflow-wrap:normal;word-break:normal}
.strategy-sec .split>*,.strategy-intro__grid>*{min-width:0}
.calc__result{min-width:0;align-self:start}

.strategy-table td,.strategy-table th,.calc__table td,.calc__table th{white-space:normal;overflow-wrap:break-word;word-break:normal}
@media(max-width:640px){
  .strategy-table-wrap{overflow:visible}
  .strategy-table--stack,.strategy-table--stack tbody,.strategy-table--stack tr,.strategy-table--stack th,.strategy-table--stack td{display:block;width:100%;min-width:0}
  .strategy-table--stack{min-width:0}
  .strategy-table--stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .strategy-table--stack tr{border:1px solid rgba(7,10,16,.18);background:rgba(255,255,255,.72);padding:14px 16px;margin-bottom:12px}
  .strategy-table--stack th[scope=row]{border:0;padding:0 0 8px;font-size:1.05rem}
  .strategy-table--stack td{border:0;padding:6px 0;display:grid;grid-template-columns:minmax(0,9ch) minmax(0,1fr);gap:4px 12px}
  .strategy-table--stack td::before{content:attr(data-label);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;opacity:.7;padding-top:.15em}
  .calc__table.strategy-table--stack td{grid-template-columns:minmax(0,1fr);gap:2px}
  .calc__table.strategy-table--stack td::before{overflow-wrap:normal;word-break:normal}
}
