/* Minimalny CSS awaryjny Core. Warstwa Design jest osobną, opcjonalną wtyczką. */
.ktm-core, .ktm-book-shell { box-sizing:border-box; max-width:1100px; margin:1rem auto 3rem; }
.ktm-core *, .ktm-book-shell * {box-sizing:border-box}
.ktm-core p, .ktm-book-shell p {line-height:1.8}
.ktm-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem;margin:1.5rem 0}
.ktm-tile, .ktm-drawn-card {border:1px solid #d8d2c4;border-radius:12px;padding:1.25rem;background:#fff}
.ktm-tile h3, .ktm-drawn-card h3 {margin:.2rem 0 .6rem}
.ktm-eyebrow, .ktm-position {font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.ktm-core-prose{max-width:800px;margin:0 auto}.ktm-core-prose h2{margin-top:2.2em}
.ktm-spread textarea {width:100%;min-height:85px;border:1px solid #c5b7a2;border-radius:9px;padding:.75rem;display:block;margin:.5rem 0}
.ktm-spread label{display:block;font-weight:600}
.ktm-btn,.ktm-book-tools button {cursor:pointer;border:1px solid #9f8557;border-radius:8px;padding:.6rem 1.2rem}
.ktm-btn{background:#14243a;color:#fff}.ktm-btn:hover{background:#263e5b}
.ktm-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem;margin:1rem 0}
.ktm-privacy,.ktm-atlas-note{font-size:.92rem;opacity:.82}
.ktm-reader-body{max-width:73ch;margin:1rem auto;line-height:1.85;font-size:calc(1.05rem * var(--ktm-reader-scale,1))}
.ktm-reader-body p{line-height:1.85}
.ktm-book-cover{background:#14243a;color:#fff;min-height:430px;padding:4rem 2rem;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem;border-radius:15px}
.ktm-cover-title{font-family:Georgia,serif;font-size:clamp(2rem,5vw,4rem);line-height:1.18}
.ktm-cover-subtitle{font-size:1.25rem}.ktm-imprint,.ktm-author{letter-spacing:.11em}
.ktm-book-tools,.ktm-book-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:2rem 0}
.ktm-book-tools button{background:#f2eadc;color:#14243a}.ktm-book-toc{max-width:800px;margin:2rem auto}.ktm-book-toc li{margin:.45rem 0}
.ktm-academy li{padding:.75rem 0}
.ktm-book-shell:fullscreen{padding:2rem 4vw;overflow:auto;background:#fff;color:#182739}
@media(max-width:650px){.ktm-book-cover{min-height:330px;padding:3rem 1.2rem}.ktm-core,.ktm-book-shell{padding:0 .2rem}.ktm-reader-body{font-size:calc(1rem * var(--ktm-reader-scale,1))}}
