#ph-canvas{height:auto!important;background:#fafbfc;touch-action:none}#ph-hint,#ph-controls,#ph-working,#ph-observation,.ph-note{padding:18px 24px;border-top:1px solid #e2e8f0;margin:0;font-size:14px;line-height:1.75}#ph-hint{color:#6366f1}#ph-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#ph-controls label{width:100%;color:#475569}#ph-controls select{font:inherit;max-width:100%;padding:10px;border:1px solid #cbd5e1;background:white;border-radius:8px}#ph-controls output{float:right;color:#6366f1}.ph-readings{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ph-readings span{display:block;font-size:12px;color:#64748b}.ph-readings strong{font-weight:500;color:#6366f1}.ph-note{font-size:12px;color:#64748b}#ph-equation{padding:16px;text-align:center;background:#f8fafc;border-top:1px solid #e2e8f0;color:#334155;line-height:1.7}.ph-check{border-left:3px solid #f59e0b;background:#fffaf2;padding:20px;margin-top:24px}.ph-check label{display:block}.ph-check select{width:100%;font:inherit;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:white;margin:12px 0}.ph-check button{background:#6366f1;color:white;border:0;border-radius:8px;padding:12px 16px}.ph-correct{color:#15803d}.ph-retry{color:#b45309}@media(max-width:600px){#ph-hint,#ph-controls,#ph-working,#ph-observation,.ph-note{padding:16px}.ph-readings{grid-template-columns:1fr;gap:12px}#ph-equation{font-size:13px}.interactive-top{flex-wrap:wrap}}

#ph-controls input[type=range]{width:100%;accent-color:#6366f1}.ph-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:18px}.ph-facts p{margin:0}.ph-facts strong{display:block;color:#6366f1}@media(max-width:600px){.ph-facts{grid-template-columns:1fr}}

#ph-controls .ph-row{display:flex;gap:12px;flex-wrap:wrap;width:100%}#ph-controls select{width:100%}.ph-check textarea{width:100%;min-height:90px;font:inherit;padding:12px;border:1px solid #cbd5e1;border-radius:8px}

#ph-definitions{grid-template-columns:repeat(2,minmax(0,1fr))}#ph-definitions:empty{display:none}#ph-controls .ph-reset{width:auto}@media(max-width:600px){#ph-definitions{grid-template-columns:1fr}}

.ph-scope{color:#64748b;font-size:12px}#ph-working strong{overflow-wrap:anywhere}
