/* Magiczne Runy 2.3 — longform editorial layout, accessible and theme-agnostic */
.mrk23-monograph,.mrk23-editorial,.mrk23-academy,.mrk23-spreads{max-width:1080px;margin:3.5rem auto;padding:0 clamp(18px,4vw,36px);color:var(--mrk-ink,#223a32)}
.mrk23-monograph h2,.mrk23-editorial h2,.mrk23-spreads h2{font-size:clamp(1.75rem,3vw,2.7rem);line-height:1.22;letter-spacing:-.025em;margin:0 0 1.25rem}
.mrk23-monograph h3,.mrk23-editorial h3,.mrk23-lesson h3,.mrk23-spread-guide h3{font-size:clamp(1.23rem,2vw,1.65rem);line-height:1.32;margin:2rem 0 .85rem}
.mrk23-monograph h4,.mrk23-spread-guide h4{font-size:1.08rem;margin:.65rem 0}
.mrk23-monograph p,.mrk23-editorial p,.mrk23-lesson p,.mrk23-spread-guide p{font-size:1.025rem;line-height:1.85;margin:0 0 1.1rem;max-width:79ch}
.mrk23-kicker,.mrk23-disclaimer{font-size:.88rem!important;color:#6a736d!important}
.mrk23-essay{max-width:820px}
.mrk23-essay p:first-of-type::first-letter{font-variant:normal}
.mrk23-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:1.4rem 0 2rem}
.mrk23-context-grid article{padding:20px 19px;border:1px solid #e2dccc;border-radius:12px;background:#fffdf9;min-width:0}
.mrk23-context-grid article p{font-size:.97rem;line-height:1.72}
.mrk23-prompts{padding-left:1.5rem;max-width:820px}
.mrk23-prompts li{padding:0 0 .5rem .3rem;line-height:1.75}
.mrk23-related{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:2rem}
.mrk23-related a{padding:.55rem .95rem;border:1px solid #d1bc87;border-radius:100px;color:#214636;background:#fffef9;text-decoration:none;font-weight:600}
.mrk23-related a:hover,.mrk23-related a:focus-visible{background:#e9f0eb;outline:2px solid #47775c;outline-offset:2px}
.mrk23-workbook{border:1px solid #d6c192;border-radius:18px;padding:clamp(16px,3vw,30px);background:linear-gradient(145deg,#fdfbf6,#f4efe2);margin:2.5rem 0}
.mrk23-workbook h3{margin-top:0}
.mrk23-workbook label{display:block;font-weight:600;margin:1rem 0 .3rem}
.mrk23-workbook textarea{display:block;width:100%;margin-top:.45rem;resize:vertical;border-radius:9px;border:1px solid #b4bbaf;background:white;color:#213b33;font:inherit;padding:13px;min-height:75px;box-sizing:border-box}
.mrk23-workbook textarea:focus-visible{outline:3px solid #a17a36;outline-offset:2px}
.mrk23-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:1.1rem}
.mrk23-actions button{background:#264c3b;color:white;border-radius:7px;border:1px solid #264c3b;padding:10px 15px;cursor:pointer;font-size:.92rem;font-weight:600;font-family:inherit;line-height:1.4}
.mrk23-actions button:nth-child(2){background:#fff;color:#264c3b}
.mrk23-actions button:nth-child(3){background:transparent;color:#264c3b}
.mrk23-actions button:focus-visible,.mrk23-check input:focus-visible{outline:3px solid #b58c42;outline-offset:2px}
.mrk23-status{font-size:.9rem!important;color:#315e48;min-height:1.8em}
.mrk23-editorial{padding-top:2rem;padding-bottom:1rem;border-top:1px solid #e4ddd1}
.mrk23-editorial article{max-width:850px;margin-bottom:1.5rem}
.mrk23-sources{border-top:1px solid #ddd3bf;padding-top:1.1rem;margin-top:2.5rem}
.mrk23-sources li{line-height:1.65;margin-bottom:.45rem}
.mrk23-lesson{border:1px solid #dcdacf;border-radius:15px;background:#fffefb;padding:clamp(17px,3vw,32px);margin:2rem 0;box-shadow:0 12px 35px rgba(32,61,46,.035)}
.mrk23-lesson-head span{font-weight:700;font-size:.76rem;letter-spacing:.1em;color:#95702e}
.mrk23-lesson-head h2{font-size:clamp(1.4rem,2.7vw,2.1rem);margin:.35rem 0 1.4rem}
.mrk23-check{display:inline-flex;align-items:center;gap:10px;margin-top:1.2rem;cursor:pointer;color:#264c3b;font-weight:600}
.mrk23-check input{width:19px;height:19px;accent-color:#264c3b}
.mrk23-lesson-progress{margin:1.5rem 0;font-weight:600;color:#315e48}
.mrk23-spread-guide{padding:clamp(18px,3vw,30px);background:#fdfbf6;border:1px solid #e4dbcb;border-radius:14px;margin:1.5rem 0}
.mrk23-spread-guide h3{margin:.25rem 0 1rem}
.mrk23-spread-guide .mrk-btn{display:inline-block;margin-top:.4rem;text-decoration:none}
@media(max-width:760px){.mrk23-context-grid{grid-template-columns:1fr}.mrk23-monograph,.mrk23-editorial,.mrk23-academy,.mrk23-spreads{margin:2rem auto;padding:0 15px}.mrk23-workbook{padding:16px}.mrk23-essay p{line-height:1.78}}
@media(prefers-reduced-motion:reduce){.mrk23-monograph *, .mrk23-editorial *{scroll-behavior:auto!important}}
