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

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

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

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

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

.of-equations{padding:16px;background:#f8fafc}.of-equations p{margin:8px 0}#of-controls input[type=checkbox]{width:auto}

.of-ledger{padding:16px;border-top:1px solid #e2e8f0}.of-ledger p{margin:8px 0}.of-ledger button[aria-pressed=true]{background:#eef2ff;color:#6366f1}.of-ledger s{color:#64748b;text-decoration-thickness:2px}.of-invariant{color:#64748b;font-size:12px}

#of-controls button{max-width:100%}#of-controls input[type=number]{font:inherit;max-width:140px;padding:10px;border:1px solid #cbd5e1;border-radius:8px}.of-check input{width:100%}

.of-rules{width:100%;border-collapse:collapse;font-size:14px}.of-rules td,.of-rules th{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left}.of-rules-wrap{overflow:auto;margin:20px 0}.of-rules tr[data-selected=true]{background:#eef2ff}

.of-rules-wrap{grid-column:1/-1}

.of-calculation{padding:20px;line-height:1.8}.of-calculation ol{padding-left:24px}#of-controls button{padding:10px 16px}#of-controls input[type=number]{max-width:100%}.of-results{width:100%;border-collapse:collapse}.of-results td,.of-results th{padding:10px;text-align:left;border-bottom:1px solid #e2e8f0}

.of-data{width:100%;border-collapse:collapse}.of-data td,.of-data th{padding:10px;text-align:left;border-bottom:1px solid #e2e8f0}.of-data-wrap{overflow:auto;grid-column:1/-1}#of-controls button[aria-pressed=true]{background:#eef2ff}#of-check select{max-width:100%}

.of-strip{display:flex;gap:6px;flex-wrap:wrap;padding:18px}.of-strip button[aria-pressed=true]{background:#6366f1;color:white}#of-controls label{display:block}#of-model-name{color:#64748b}

.of-strip button[aria-pressed=true]{background:#eef2ff!important;color:#6366f1!important;border-color:#a5b4fc}

#of-controls select{width:100%}.of-data{width:100%;border-collapse:collapse}.of-data td,.of-data th{padding:10px;text-align:left;border-bottom:1px solid #e2e8f0}.of-data-wrap{grid-column:1/-1;overflow:auto}

#of-controls input[type=checkbox]{width:auto}#of-controls .of-switch{display:flex;align-items:center;gap:10px}#of-definitions:empty{display:none}#of-controls select{width:100%}.of-evidence{font-size:13px;color:#64748b}

.of-ledger p{margin:8px 0}.of-ledger{padding:16px;border-top:1px solid #e2e8f0}#of-controls select{width:100%}

.of-cards{display:flex;gap:8px;flex-wrap:wrap;width:100%;padding:8px 0}.of-card{display:flex;align-items:center;gap:5px;border:1px solid #e2e8f0;border-radius:8px;padding:5px 8px;background:#f8fafc}.of-card button{padding:5px 8px!important}.of-card[draggable=true]{cursor:grab}.of-card[data-reference=true]{background:#fff8e9}#of-controls input[type=checkbox]{width:auto}.of-help{font-size:12px;color:#64748b}

#of-controls .of-toggle{display:flex;align-items:center;gap:10px}#of-controls input[type=checkbox]{width:auto}#of-controls select{width:100%}

.of-crust{display:flex;flex-wrap:wrap;gap:8px;padding:16px;background:#f8fafc;border-radius:8px;font-size:13px}.of-crust span{padding:6px 9px;background:white;border:1px solid #e2e8f0;border-radius:6px}#of-controls input[type=number]{width:100%;max-width:160px}.of-definition{grid-column:1/-1}

.of-materials{display:flex;gap:8px;flex-wrap:wrap}.of-materials button[aria-pressed=true]{background:#eef2ff;border-color:#6366f1}#of-controls .of-switch{display:flex;gap:10px;align-items:center}#of-controls .of-switch input{width:auto}#of-canvas{cursor:grab}#of-canvas:active{cursor:grabbing}

#of-controls button{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#475569}#of-controls label{line-height:1.7}.of-check textarea{width:100%;box-sizing:border-box}#of-canvas:focus-visible{outline:3px solid #a5b4fc}

.of-builder{display:flex;gap:8px;flex-wrap:wrap;width:100%}.of-builder button{cursor:pointer}#of-controls button[aria-pressed=true]{border-color:#6366f1;background:#eef2ff}.of-formula{padding:16px;border-top:1px solid #e2e8f0;line-height:1.8;overflow-wrap:anywhere}
