/* Druk 3D z wlasnego pliku (lib/print3d-page.mjs, public/assets/print3d.js). Mobile-first 320–1440 px, bez poziomego przewijania.
   Kolory i promienie z tokenow --fp-* (app.css) z wartosciami zapasowymi; wszystko w przestrzeni .p3d-page. */
.p3d-page {
  --v: var(--fp-violet, #4A00A0); --v5: var(--fp-violet-500, #6D28D9); --v3: var(--fp-violet-300, #B79CFF); --v1: var(--fp-violet-100, #EFE9FF); --v0: var(--fp-violet-50, #F7F4FF);
  --ink: var(--fp-ink, #0B0B0F); --ink2: var(--fp-ink-2, #26262E); --mut: var(--fp-muted, #6B6B78); --line: var(--fp-line, #E6E3EE); --bg: var(--fp-bg, #FAF9FC); --sf: var(--fp-surface, #FFF);
  --acc: var(--fp-accent, #FF6B2C); --ok: var(--fp-ok, #13A86B); --warn: var(--fp-warn, #E8A317); --err: var(--fp-err, #D92D4B);
  --rs: var(--fp-r-sm, 12px); --r: var(--fp-r, 20px); --rl: var(--fp-r-lg, 28px); --sh: var(--fp-shadow, 0 1px 2px rgba(20, 10, 40, .06), 0 8px 24px rgba(40, 10, 90, .08));
  --font: var(--fp-font, "Outfit", system-ui, sans-serif); --disp: var(--fp-display, "Montserrat Alternates", var(--fp-font, "Outfit"), system-ui, sans-serif);
  --stage: #0F0B1A;
  font-family: var(--font); color: var(--ink); overflow-x: clip;
}
.p3d-page *, .p3d-page *::before, .p3d-page *::after { box-sizing: border-box; }
.p3d-page .sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.p3d-page .ic { flex: none; vertical-align: middle; }
.p3d-page .small { font-size: .875rem; }
.p3d-page .muted { color: var(--mut); }
.p3d-page [hidden] { display: none !important; }
.p3d-page :focus-visible { outline: 3px solid var(--v5); outline-offset: 2px; }

/* naglowek strony */
.p3d-hero { background: radial-gradient(120% 140% at 85% -20%, rgba(183, 156, 255, .35), transparent 55%), linear-gradient(180deg, var(--v0), var(--bg)); padding: 28px 0 20px; }
.p3d-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: var(--sf); color: var(--v); font-weight: 600; font-size: .875rem; box-shadow: var(--sh); }
.p3d-hero h1 { font-family: var(--disp); font-size: clamp(1.6rem, 5.4vw, 2.75rem); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 10px; color: var(--ink); max-width: 20ch; }
.p3d-lead { margin: 0 0 16px; color: var(--ink2); font-size: 1.05rem; max-width: 62ch; }
.p3d-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p3d-trust li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--rs); background: var(--sf); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; min-width: 0; }
.p3d-trust .ic { color: var(--v5); }

/* uklad narzedzia */
.p3d { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 20px 0 32px; }
.p3d-col { min-width: 0; }
.p3d-opts { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.p3d-opts:disabled { opacity: .55; }
.p3d-opts:disabled .p3d-card, .p3d-opts:disabled button { cursor: not-allowed; }

/* podglad: ciemna scena z fioletowa poswiata */
.p3d-view { position: relative; width: 100%; border-radius: var(--rl); overflow: hidden; aspect-ratio: 4 / 3; min-height: 260px; color: #fff;
  background: radial-gradient(70% 60% at 50% 60%, rgba(109, 40, 217, .45), transparent 70%), radial-gradient(40% 40% at 80% 10%, rgba(183, 156, 255, .25), transparent 70%), var(--stage);
  box-shadow: 0 20px 50px -20px rgba(74, 0, 160, .55); isolation: isolate; }
.p3d-view.is-drag { outline: 3px dashed var(--v3); outline-offset: -10px; }
.p3d-canvas { position: absolute; inset: 0; }
.p3d-canvas canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.p3d-drop { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 20px; }
.p3d-drop-i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(183, 156, 255, .16); color: var(--v3); margin-bottom: 4px; }
.p3d-drop-t { margin: 0; font-family: var(--disp); font-size: 1.15rem; font-weight: 600; }
.p3d-drop-or { margin: 0; color: rgba(255, 255, 255, .6); font-size: .875rem; }
.p3d-drop-f { margin: 6px 0 0; color: rgba(255, 255, 255, .7); font-size: .875rem; }
.p3d-pick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.p3d-drop:focus-within .p3d-pick { outline: 3px solid var(--v3); outline-offset: 3px; }
.p3d-progress { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; background: rgba(15, 11, 26, .78); border-radius: var(--rs); padding: 10px 12px; }
.p3d-progress p { margin: 6px 0 0; font-size: .875rem; }
.p3d-bar-t { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.p3d-bar-t span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--v3), var(--acc)); transition: width .2s; }
.p3d-view-msg { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; color: rgba(255, 255, 255, .85); font-size: .95rem; z-index: 1; }
.p3d-view-msg.is-info { top: auto; bottom: 64px; transform: none; background: rgba(15, 11, 26, .7); border-radius: var(--rs); padding: 10px 12px; }
.p3d-view-ui { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; z-index: 2; }
.p3d-views { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(15, 11, 26, .6); backdrop-filter: blur(6px); }
.p3d-vb { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.p3d-vb:hover { background: rgba(183, 156, 255, .22); }
.p3d-change { background: rgba(15, 11, 26, .6); backdrop-filter: blur(6px); }
.p3d-dims { position: absolute; left: 10px; bottom: 10px; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 20px); }
.p3d-dims li { padding: 5px 10px; border-radius: 999px; background: rgba(15, 11, 26, .66); font-size: .8rem; color: rgba(255, 255, 255, .8); }
.p3d-dims b { color: #fff; font-weight: 600; }
.p3d-view.has-model .p3d-drop { display: none; }
.p3d-hint { margin: 8px 4px 0; color: var(--mut); }
.p3d-rights { margin: 8px 4px 0; color: var(--mut); }

/* informacje o pliku */
.p3d-file { margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--sf); border: 1px solid var(--line); }
.p3d-file-h { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.p3d-file-h > div { min-width: 0; }
.p3d-file-h b { display: block; overflow-wrap: anywhere; }
.p3d-file-h small { display: block; color: var(--mut); overflow-wrap: anywhere; }
.p3d-file-ok { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); flex: none; }
.p3d-badges { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p3d-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--v1); color: var(--v); font-size: .8rem; font-weight: 600; }
.p3d-badge.is-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: #0b7a4d; }
.p3d-badge.is-warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: #7a5300; }
.p3d-fc { display: inline-flex; gap: 3px; }
.p3d-fc i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.p3d-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--rs); font-size: .9rem; }
.p3d-msg-err { background: color-mix(in srgb, var(--err) 10%, transparent); color: #9b1530; border: 1px solid color-mix(in srgb, var(--err) 30%, transparent); }
.p3d-msg-warn { background: color-mix(in srgb, var(--warn) 12%, transparent); color: #6b4a00; border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }

/* kroki */
.p3d-step { background: var(--sf); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.p3d-h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--disp); font-size: 1.1rem; line-height: 1.25; color: var(--ink); }
.p3d-h .ic { color: var(--v5); }
.p3d-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--v); color: #fff; font-size: .8rem; font-family: var(--font); font-weight: 700; flex: none; }
.p3d-help { margin: 0 0 12px; color: var(--mut); }
.p3d-sub { margin: 16px 0 8px; font-size: .95rem; }
.p3d-lbl { display: block; margin: 12px 0 8px; font-weight: 600; font-size: .95rem; }
.p3d-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.p3d-row .p3d-lbl { margin: 12px 0 0; }
.p3d-fine { margin: 12px 0 0; color: var(--mut); }
.p3d-err { margin: 6px 0 0; color: var(--err); }
.p3d-matline { margin: 12px 0 0; color: var(--ink2); font-weight: 500; }

/* karty wyboru (radio) */
.p3d-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.p3d-card { position: relative; display: block; cursor: pointer; min-width: 0; }
.p3d-card-b { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px 12px 40px; border-radius: var(--rs); border: 1.5px solid var(--line); background: var(--sf); transition: border-color .15s, background .15s, box-shadow .15s; }
.p3d-card-b::before { content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--v3); background: var(--sf); }
.p3d-card-b b { font-weight: 600; overflow-wrap: anywhere; }
.p3d-card-b small { color: var(--mut); line-height: 1.35; }
.p3d-card-b .p3d-strong { color: var(--ink2); font-weight: 500; }
.p3d-card:hover .p3d-card-b { border-color: var(--v3); }
.p3d-card input:checked + .p3d-card-b { border-color: var(--v5); background: var(--v0); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v5) 14%, transparent); }
.p3d-card input:checked + .p3d-card-b::before { border-color: var(--v5); background: radial-gradient(circle, var(--v5) 0 45%, var(--sf) 50%); }
.p3d-card input:focus-visible + .p3d-card-b { outline: 3px solid var(--v5); outline-offset: 2px; }
.p3d-tag { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--v1); color: var(--v); font-size: .75rem; font-weight: 600; }
.p3d-cards-purpose.is-off { opacity: .5; }
.p3d-pace-p { margin-top: 6px; font-family: var(--disp); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.p3d-pace-d { color: var(--mut); }

/* zaawansowane */
.p3d-adv-t { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: var(--rs); border: 1.5px dashed var(--v3); background: transparent; color: var(--v); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.p3d-adv-t span { flex: 1; }
.p3d-adv-t[aria-expanded="true"] { border-style: solid; background: var(--v0); }
.p3d-chev { transition: transform .2s; }
.p3d-adv-t[aria-expanded="true"] .p3d-chev, .p3d-faq-i[open] .p3d-chev { transform: rotate(180deg); }
.p3d-adv { margin-top: 12px; }

/* kolory */
.p3d-segs { display: inline-flex; gap: 6px; }
.p3d-seg { cursor: pointer; }
.p3d-seg span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: var(--rs); border: 1.5px solid var(--line); background: var(--sf); font-weight: 600; }
.p3d-seg input:checked + span { border-color: var(--v5); background: var(--v); color: #fff; }
.p3d-seg input:focus-visible + span { outline: 3px solid var(--v5); outline-offset: 2px; }
.p3d-seg.is-off { opacity: .4; cursor: not-allowed; }
.p3d-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.p3d-sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border-radius: var(--rs); border: 1.5px solid var(--line); background: var(--sf); color: var(--ink2); font: inherit; font-size: .78rem; line-height: 1.2; cursor: pointer; min-width: 0; }
.p3d-sw:hover { border-color: var(--v3); }
.p3d-sw[aria-pressed="true"] { border-color: var(--v5); background: var(--v0); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v5) 14%, transparent); }
.p3d-sw-c { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12); }
.p3d-sw-n { text-align: center; overflow-wrap: anywhere; }
.p3d-sw-k { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--v); color: #fff; font-size: .7rem; font-weight: 700; }
.p3d-page textarea { width: 100%; padding: 10px 12px; border-radius: var(--rs); border: 1.5px solid var(--line); font: inherit; resize: vertical; background: var(--sf); color: var(--ink); }

/* ilosc, skala */
.p3d-qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--rs); overflow: hidden; background: var(--sf); }
.p3d-qty button { width: 44px; border: 0; background: var(--v0); color: var(--v); cursor: pointer; display: grid; place-items: center; }
.p3d-qty button:hover { background: var(--v1); }
.p3d-qty input { width: 76px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--ink); background: transparent; -moz-appearance: textfield; }
.p3d-qty input::-webkit-outer-spin-button, .p3d-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p3d-page input[aria-invalid="true"] { outline: 2px solid var(--err); }
.p3d-scale { display: inline-flex; align-items: center; gap: 6px; }
.p3d-scale input { width: 110px; height: 44px; padding: 0 10px; border-radius: var(--rs); border: 1.5px solid var(--line); font: inherit; font-weight: 600; text-align: right; background: var(--sf); color: var(--ink); }
.p3d-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.p3d-chip { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--v3); background: var(--sf); color: var(--v); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.p3d-chip:hover, .p3d-chip[aria-pressed="true"] { background: var(--v1); border-color: var(--v5); }
.p3d-qtab-s { overflow-x: auto; border-radius: var(--rs); border: 1px solid var(--line); }
.p3d-qtab table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.p3d-qtab th, .p3d-qtab td { padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.p3d-qtab tr:last-child th, .p3d-qtab tr:last-child td { border-bottom: 0; }
.p3d-qtab tr.is-sel { background: var(--v0); }
.p3d-qbtn { border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 600; color: var(--v); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.p3d-qbtn[aria-current="true"] { text-decoration: none; color: var(--ink); }
.p3d-dimsin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.p3d-dimsin label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--mut); min-width: 0; }
.p3d-dimsin input { width: 100%; height: 44px; padding: 0 10px; border-radius: var(--rs); border: 1.5px solid var(--line); font: inherit; color: var(--ink); background: var(--sf); }

/* podsumowanie */
.p3d-sum { margin-top: 16px; background: var(--sf); border: 1.5px solid var(--v1); border-radius: var(--rl); padding: 18px; box-shadow: var(--sh); scroll-margin-top: 90px; }
.p3d-sum.is-busy .p3d-sum-live { opacity: .55; transition: opacity .2s; }
.p3d-total { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.p3d-total-l { color: var(--mut); font-size: .9rem; }
.p3d-total b { font-family: var(--disp); font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.1; color: var(--v); }
.p3d-total small { color: var(--mut); }
.p3d-unit { margin: 6px 0 0; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.p3d-facts { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p3d-facts div { min-width: 0; padding: 10px; border-radius: var(--rs); background: var(--v0); }
.p3d-facts dt { display: flex; align-items: center; gap: 6px; color: var(--mut); font-size: .8rem; }
.p3d-facts dt .ic { color: var(--v5); width: 18px; height: 18px; }
.p3d-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.p3d-facts dd small { display: block; font-weight: 400; color: var(--mut); font-size: .8rem; }
.p3d-valid { margin: 10px 0 0; }
.p3d-sum-review { margin-top: 14px; padding: 12px 14px; border-radius: var(--rs); background: color-mix(in srgb, var(--warn) 10%, var(--sf)); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.p3d-sum-review p { margin: 0 0 6px; }
.p3d-sum-review ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink2); font-size: .9rem; }
.p3d-review-h { display: flex; align-items: center; gap: 8px; color: #6b4a00; }
.p3d-ok { display: flex; align-items: center; gap: 8px; margin: 0 !important; color: #0b7a4d; font-weight: 600; }
.p3d-sum-review:has(.p3d-ok) { background: color-mix(in srgb, var(--ok) 8%, var(--sf)); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.p3d-fit { margin-top: 8px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.p3d-sum-act { margin-top: 16px; display: grid; gap: 10px; }
.p3d-add { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }
.p3d-add:disabled { opacity: .55; cursor: not-allowed; }
.p3d-added { margin: 0; color: #0b7a4d; font-weight: 600; text-align: center; }
.p3d-after { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.p3d-after .btn { justify-content: center; display: inline-flex; align-items: center; gap: 8px; }

/* jak to dziala, FAQ */
.p3d-how, .p3d-faq { margin: 8px 0 40px; }
.p3d-how h2, .p3d-faq h2 { font-family: var(--disp); font-size: clamp(1.35rem, 4vw, 1.9rem); margin: 0 0 16px; }
.p3d-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.p3d-how li { padding: 18px; border-radius: var(--r); background: var(--sf); border: 1px solid var(--line); }
.p3d-how-n { font-family: var(--disp); font-weight: 700; color: var(--v3); font-size: 1.4rem; }
.p3d-how h3 { margin: 6px 0; font-size: 1.05rem; }
.p3d-how p { margin: 0; color: var(--ink2); }
.p3d-faq-i { border-bottom: 1px solid var(--line); }
.p3d-faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; cursor: pointer; font-weight: 600; list-style: none; }
.p3d-faq-i summary::-webkit-details-marker { display: none; }
.p3d-faq-i p { margin: 0 4px 16px; color: var(--ink2); max-width: 75ch; }

/* pasek ceny na dole ekranu */
.p3d-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(40, 10, 90, .08); backdrop-filter: blur(8px); }
.p3d-mbar-p { font-weight: 700; font-family: var(--disp); color: var(--v); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 480px) {
  .p3d-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p3d-after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .p3d-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p3d-how ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p3d-cards-pace { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p3d-step { padding: 20px; }
  .p3d-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .p3d-hero { padding: 44px 0 28px; }
  .p3d { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .p3d-col-view { position: sticky; top: 88px; }
  .p3d-view { aspect-ratio: auto; height: min(62vh, 560px); }
  .p3d-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .p3d-cards-purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p3d-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .p3d-page * { transition: none !important; }
}
.p3d-nowd a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
