.pf-page{--pf-accent:#ff00a8;--pf-border:#777;color:#fff;background:#000}.pf-intro{padding-bottom:40px}.pf-intro h1{max-width:920px}.pf-intro p{max-width:700px}.pf-back{color:inherit;text-underline-offset:5px}.pf-workshop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}.pf-workshop form,.pf-sheet{min-width:0}.pf-workshop fieldset{border:0;border-top:1px solid #555;padding:24px 0;margin:0}.pf-workshop legend{font-size:1.25rem;font-weight:700;padding:0 10px 0 0}.pf-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pf-fields label{font-weight:600;font-size:1rem;line-height:1.45}.pf-fields input{display:block;width:100%;box-sizing:border-box;background:#191919;color:#fff;border:1px solid var(--pf-border);border-radius:4px;padding:12px;font:inherit;min-height:48px;margin-top:8px}.pf-fields input::placeholder{color:#bababa;opacity:1}.pf-fields input[readonly]{color:#ccc;background:#292929}.pf-fields input[aria-invalid=true]{border:2px solid #ff9ecc}.pf-choices{display:flex;flex-wrap:wrap;gap:12px}.pf-choices label{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid #777;padding:10px 16px;border-radius:4px;cursor:pointer}.pf-choices label:has(input:checked){border-color:var(--pf-accent);background:#321025}.pf-choices input{width:20px;height:20px;accent-color:var(--pf-accent)}.pf-page .pf-help{font-size:.91rem;line-height:1.6;color:#c8c8c8;margin:16px 0 0;max-width:70ch}.pf-page :focus-visible{outline:3px solid #ff80d2;outline-offset:4px}.pf-page [hidden]{display:none!important}.pf-page button{cursor:pointer;min-height:48px}.pf-page button:disabled{cursor:not-allowed;opacity:.6}.pf-sheet{background:#fff;color:#111;padding:32px;border-radius:8px}.pf-sheet-top{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#000;color:#fff;margin:-32px -32px 30px;padding:20px 32px;border-radius:8px 8px 0 0}.pf-sheet-top span{font-size:.9rem}.pf-sheet h2{font-size:clamp(25px,3vw,38px);line-height:1.12;color:#111!important;margin:0 0 16px}.pf-sheet h3{font-size:1.15rem;line-height:1.4;color:#111!important;margin:28px 0 8px}.pf-sheet p,.pf-sheet .pf-help{color:#444!important}.pf-sheet table{width:100%;border-collapse:collapse;font-size:1rem;margin:12px 0 24px;font-variant-numeric:tabular-nums}.pf-sheet th,.pf-sheet td{padding:11px 0;border-bottom:1px solid #d4d4d4;color:#111;text-align:left;background:transparent}.pf-sheet th{font-weight:500}.pf-sheet td{text-align:right;white-space:nowrap}.pf-sheet tfoot th,.pf-sheet tfoot td{font-weight:700;border-top:2px solid #111}.pf-sheet .button{margin-top:22px;color:#000;background:var(--pf-accent)}#pf-error{color:#ffb7dc;font-size:1rem;line-height:1.6}#pf-error:empty{margin:0}#pf-stale{border-left:4px solid #a00062;padding:12px;background:#fff0f9}#pf-production-result{border-top:2px solid #111;margin-top:28px}.pf-explain{border-top:1px solid #555}.pf-explain p{max-width:70ch}.pf-explain h2{font-size:clamp(28px,4vw,44px)}
@media(max-width:900px){.pf-workshop{grid-template-columns:1fr;gap:28px}.pf-sheet{max-width:none}.pf-intro h1{font-size:clamp(38px,7vw,64px)}}
@media(max-width:480px){.pf-fields{grid-template-columns:1fr;gap:16px}.pf-workshop{padding-left:20px;padding-right:20px}.pf-sheet{padding:22px}.pf-sheet-top{margin:-22px -22px 24px;padding:18px 22px}.pf-choices label{flex:1;justify-content:center;padding:10px}.pf-sheet table{font-size:.95rem}}
@media print{@page{margin:15mm}.header,.footer,.preview,.skip,.pf-intro,.pf-workshop form,.pf-explain,.pf-page button,#pf-status,#pf-error{display:none!important}.pf-page,.pf-workshop,.pf-sheet{display:block!important;background:#fff!important;color:#000!important;padding:0!important;margin:0!important;border:0!important;max-width:none!important}.pf-sheet-top{margin:0 0 20px;padding:12px;background:#000!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.pf-sheet h2{font-size:24px!important}.pf-sheet h3{break-after:avoid}.pf-sheet table{break-inside:avoid}.pf-sheet p{font-size:10pt}.pf-page [hidden]{display:none!important}}
