.rate-bench [hidden]{display:none!important}.rate-actions{display:flex;gap:8px;flex-wrap:wrap;border:0;padding:0;margin:0}.rate-actions legend{font-size:13px;color:#66548e;font-weight:600;margin-bottom:9px}.rate-actions button[aria-pressed=true]{background:#ede9fe;border-color:#8b5cf6}.rate-bench input[type=number]{display:block;width:110px;padding:9px;border:1px solid #cbd5e1;border-radius:8px;margin-top:8px}.rate-bench select{width:100%;margin-top:8px}.rate-bench canvas{cursor:grab}.rate-bench canvas:active{cursor:grabbing}.rate-guide{background:white;border:1px solid #ded7ec;border-radius:12px;padding:20px;margin:24px 0}.rate-guide summary{font-weight:600;color:#65458f;cursor:pointer}.rate-guide p{font-size:14px;line-height:1.85}.rate-guide table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px}.rate-guide th,.rate-guide td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0}.rate-guide th{background:#f5f2fa}.rate-guide svg{width:100%;display:block;background:#faf9fd;border-radius:12px;margin:16px 0}.rate-formula{padding:16px;background:#f2eef8;color:#604386;margin-top:18px;border-radius:8px}.rate-records{max-height:210px;overflow:auto}.rate-records table{font-size:12px}@media(min-width:1000px){.rate-refined main{max-width:1180px}.rate-refined .lesson-screen{max-width:none;padding:26px}.rate-refined .lesson-copy{max-width:960px}.rate-bench{display:grid;grid-template-columns:minmax(0,1fr) 248px;align-items:start}.rate-bench>canvas{min-width:0;width:100%}.rate-bench>#pt-controls,.rate-bench>#am-controls{padding:18px 16px;border-top:0;border-left:1px solid #e2e8f0;gap:16px}.rate-bench label{font-size:13px}.rate-bench button{max-width:100%;margin-right:0!important}.rate-bench .rr-check,.rate-bench .mr-check{font-size:13px;padding:12px}}

.factor-choice{display:flex;gap:6px;flex-wrap:wrap}.factor-choice button{padding:8px 10px;font-size:13px}.factor-choice button[aria-pressed=true]{background:#ede9fe;border-color:#8b5cf6}.factor-live{padding:12px;background:#f5f2fa;font-size:13px;line-height:1.7}.factor-live strong{display:block;color:#65458f}

.rate-bench #pt-controls,.rate-bench #am-controls{display:grid;align-content:start}.rate-bench .balance-snapshot{font-size:13px;line-height:1.7;background:#f4f0fa;padding:12px;color:#594477}.rate-bench fieldset{min-width:0}.rate-bench label{min-width:0}

.prep-live{padding:12px;background:#f4f0fa;color:#594477;font-size:13px;line-height:1.7}.prep-records{margin-top:16px}.prep-records td,.prep-records th{padding:9px;border-bottom:1px solid #e2e8f0;text-align:left}.prep-records table{width:100%;font-size:13px}.prep-note{font-size:13px;line-height:1.7}.rate-bench #am-controls input[type=number]{max-width:100%;width:100%}

.p12-compare{padding:18px 24px;border-top:1px solid #e2e8f0}.p12-compare table{border-collapse:collapse;width:100%;font-size:14px}.p12-compare td,.p12-compare th{padding:10px;border-bottom:1px solid #ddd7e8;text-align:left}.p12-compare p{font-size:13px;color:#625080;line-height:1.7}.p12-chart{width:100%;background:#fafbfc}.p12-chart svg{display:block;width:100%}.p12-chart p{font-size:13px;padding:0 22px;line-height:1.7}.p12-live{padding:12px;background:#f4f0fa;color:#594477;font-size:13px;line-height:1.7}.p12-legend{display:flex;gap:16px;font-size:12px;margin:0 16px 12px;color:#64748b}.p12-legend span{padding:5px 8px;border-radius:5px}.p12-legend span:nth-child(1){background:#e6eef4}.p12-legend span:nth-child(2){background:#e7efe6}.p12-legend span:nth-child(3){background:#f7efe1}.p12-compare button{font-size:13px}.rate-bench #pt-search{width:100%;max-width:100%}.rate-refined #pt-table{padding:18px}.rate-refined .pt-grid{grid-template-columns:24px repeat(18,minmax(36px,1fr));min-width:726px}.rate-refined .pt-grid button{min-height:48px}.p12-search-status{font-size:12px;color:#64748b}.p12-live:empty{display:none}
