/* Click-to-load 3D models (shared by draft guides and published articles).
   The HTML explanation works alone; the canvas appears only after the reader asks for it. */
.draft-3d .draft-eyebrow{display:block;text-transform:uppercase;letter-spacing:.075em;font-size:.73rem;font-weight:700;color:#52690e;margin-bottom:10px}
.draft-3d ol.draft-3d__legend{list-style:decimal}
.draft-3d ul.draft-3d__legend--plain{list-style:disc}
.draft-3d__legend li::marker{color:#607e12}
.draft-3d{margin:30px 0;padding:24px;border:1px solid #cbd7e3;border-radius:20px;background:#fff;box-shadow:0 12px 32px #08264c08}
.draft-3d h3{margin:0 0 8px;color:#08264c;font-size:clamp(1.15rem,2.2vw,1.5rem);line-height:1.25}
.draft-3d__head p{margin:0 0 16px;line-height:1.6;color:#41546a}
.draft-3d__start{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:18px;border-radius:14px;background:linear-gradient(135deg,#08264c,#16406a);color:#dce8f3;font-size:.9rem;line-height:1.5}
.draft-3d__start[hidden],.draft-3d__stage[hidden],.draft-3d__controls[hidden],.draft-3d__fallback[hidden]{display:none!important}
.draft-3d__open{min-height:48px;padding:12px 22px;border:0;border-radius:10px;background:#94c11f;color:#08264c;font:700 1rem/1.2 Outfit,Arial,sans-serif;cursor:pointer}
.draft-3d__open:hover{background:#a6d12f}.draft-3d__open:disabled{opacity:.7;cursor:progress}
.draft-3d__stage{position:relative;overflow:hidden;border-radius:14px;background:#f2f6fa;border:1px solid #e0e7ef;min-height:260px}
.draft-3d.is-loading .draft-3d__stage::after{content:'Wczytuję model…';position:absolute;inset:0;display:grid;place-items:center;color:#465a70;font-size:.95rem}
.draft-3d__canvas{display:block;max-width:100%;cursor:grab}
.draft-3d__canvas:focus-visible{outline:3px solid #08264c;outline-offset:-3px}
.draft-3d__canvas:active{cursor:grabbing}
.draft-3d__controls{display:grid;gap:12px;margin-top:16px}
.draft-3d p.draft-3d__verdict{margin:0;display:inline-flex;justify-self:start;padding:6px 14px;border-radius:999px;background:#08264c;color:#fff;font-weight:700;letter-spacing:.02em}
.draft-3d p.draft-3d__verdict[data-state=warn]{background:#7d2a1d}
.draft-3d__group{display:grid;gap:6px}
.draft-3d__group-label,.draft-3d__range>span:first-child{font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#52690e}
.draft-3d__buttons{display:flex;flex-wrap:wrap;gap:8px}
.draft-3d__buttons button{min-height:44px;padding:10px 14px;border:1px solid #cbd7e3;border-radius:9px;background:#fff;color:#08264c;font:600 .9rem/1.3 Outfit,Arial,sans-serif;cursor:pointer}
.draft-3d__buttons button:hover{border-color:#8ba1b8;background:#f2f6fa}
.draft-3d__buttons button[aria-pressed=true]{border-color:#668719;background:#edf4dc;box-shadow:inset 0 -2px #94c11f}
.draft-3d button:focus-visible,.draft-3d input:focus-visible{outline:3px solid #6e9018;outline-offset:3px}
.draft-3d__range{display:grid;gap:4px}
.draft-3d__range input{width:100%;min-height:44px;margin:0;accent-color:#668719}
.draft-3d__range-ends{display:flex;justify-content:space-between;font-size:.8rem;color:#526479}
.draft-3d__caption{margin-top:16px}
.draft-3d__status{margin:0 0 12px;padding:14px 16px;border-left:4px solid #94c11f;border-radius:10px;background:#f3f7ec;color:#08264c;font-weight:500;line-height:1.6}
.draft-3d ol.draft-3d__legend{margin:0 0 12px;padding-left:24px}
.draft-3d ul.draft-3d__legend--plain{margin:0 0 12px;padding-left:22px}
.draft-3d__legend li{font-size:.93rem;line-height:1.55;margin-bottom:6px!important}
.draft-3d__note,.draft-3d__fallback{margin:0;font-size:.82rem;line-height:1.55;color:#526479}
.draft-3d__fallback{padding:12px 14px;border-radius:10px;background:#fff8ee}
@media(max-width:600px){.draft-3d{padding:16px 12px;border-radius:14px}.draft-3d__start{padding:14px}.draft-3d__open{width:100%}.draft-3d__buttons button{flex:1 1 auto}}
