.live-workspace{margin:24px 0;padding:clamp(12px,2vw,24px);border:1px solid #d6e2e8;border-radius:18px;background:#f8fbfc;color:#19364b}.live-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap}.live-heading h2{font-size:clamp(20px,2vw,28px);margin:6px 0}.live-freshness{font-size:13px;color:#526878;line-height:1.6}.live-tabs{display:flex;gap:8px;flex-wrap:wrap;overflow-x:auto;padding:6px 0 12px}.live-tabs .btn{white-space:nowrap;min-height:44px}.live-tabs [aria-selected=true]{background:#18364e;color:white}.live-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 20px}.live-kpis>div{display:grid;gap:7px;background:#fff;border:1px solid #d6e2e8;padding:14px;border-radius:12px}.live-kpis strong{font-size:24px}.live-kpis span{font-size:13px;line-height:1.5}.live-pulse{border-left:4px solid #257a7e;background:#edf7f6;padding:16px;margin:12px 0 20px}.live-pulse p{margin:6px 0 0;line-height:1.6}.live-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:12px}.live-student{padding:18px;background:white;border:1px solid #d8e1e5;border-radius:14px;min-width:0}.live-student h3{font-size:19px;margin:0 0 8px;overflow-wrap:anywhere}.live-student p{line-height:1.5;font-size:14px;margin:10px 0}.live-status{display:inline-block;padding:4px 8px;border-radius:6px;background:#eef1f5;font-size:12px}.live-student[data-presence=active] .live-status{background:#def1ed;color:#176658}.live-help-flag{font-weight:700;color:#885b16}.live-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.live-table-scroll{max-width:100%;overflow:auto;margin:12px 0 24px}.live-table-scroll table{min-width:520px}.live-table-scroll th,.live-table-scroll td{vertical-align:top}.live-question-rows{display:flex;flex-direction:column;gap:8px;align-items:stretch}.live-question-rows button{text-align:start;white-space:normal;line-height:1.5}.live-timeline{padding-left:25px}.live-timeline li{padding:12px 0 16px 8px;border-bottom:1px solid #dbe4e9;overflow-wrap:anywhere}.live-timeline p{margin:8px 0;white-space:pre-wrap}.live-timeline small{color:#566d7b}.live-coverage{max-height:270px;overflow:auto;display:grid;gap:10px}.live-coverage label{display:flex;gap:10px;align-items:start;font-size:14px}.live-coverage input{width:auto}.learning-help{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0;padding:12px;background:#eef6f7;border:1px solid #c8e0e2;border-radius:12px}.learning-help small{color:#385865}.live-workspace button:focus-visible,.live-workspace [tabindex]:focus-visible{outline:3px solid #276d8b;outline-offset:3px}.live-workspace .btn{min-height:44px}
@media(max-width:600px){.live-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.live-heading .actions{width:100%;display:flex;flex-wrap:wrap}.live-heading .actions .btn{flex:1;white-space:normal}.live-workspace{margin-inline:0}.live-student{padding:14px}.learning-help button{width:100%}}
@media(prefers-reduced-motion:reduce){.live-workspace *{scroll-behavior:auto!important}}
@media(max-width:600px){.live-tabs .btn{width:auto;flex:1 1 calc(50% - 8px)}.live-tabs .btn:last-child{flex-basis:100%}}

.rule-filter{display:grid;gap:6px;max-width:480px;margin:16px 0;font-weight:700}.rule-filter select{min-height:44px;width:100%;min-width:0;padding:10px;border:1px solid #b5c8d2;border-radius:8px;background:#fff;color:#19364b}.rule-compact{padding:12px;border-inline-start:3px solid #527c8d;background:#f2f7f9;border-radius:4px;line-height:1.6}.rule-compact span,.rule-question-summary{display:block;font-size:13px;font-weight:400}.rule-skills th .btn,.rule-state{display:grid;gap:8px;text-align:start;min-width:150px;height:100%}.rule-skills small{display:block;white-space:normal;font-weight:400}.rule-state[data-state=retry]{background:#fff4ec;border-color:#c77d50;color:#653b25}.rule-state[data-state=consolidate]{background:#fffbea;border-color:#baa354;color:#574818}.rule-state[data-state=independent]{background:#eaf7f2;border-color:#6ba28c;color:#265b48}.rule-state[data-state=unobserved]{background:#f3f5f6;color:#4b5d68}.rule-evidence{border:1px solid #cbdce5;border-radius:10px;background:#fff;margin:12px 0;padding:12px;overflow-wrap:anywhere}.rule-evidence summary{min-height:44px;cursor:pointer;font-weight:700;line-height:1.5;align-content:center}.rule-evidence dl{margin:10px 0}.rule-evidence dt{font-weight:700;margin-top:16px}.rule-evidence dd{margin:6px 0;line-height:1.7}.rule-evidence pre{max-height:280px;overflow:auto;white-space:pre-wrap;font-size:12px}.rule-priorities{margin:18px 0}.rule-priorities article{padding:14px;background:#fff;border:1px solid #d6e2e8;border-radius:10px;margin:10px 0}.rule-proof-list{display:flex;flex-wrap:wrap;gap:8px}.rule-proof-list .btn{white-space:normal;text-align:start;min-height:44px;max-width:100%;overflow-wrap:anywhere}.rule-skill-detail{border-block-start:1px solid #d6e2e8;padding:16px 0}.rule-analysis{margin:24px 0}.rule-filter select:focus-visible,.rule-evidence summary:focus-visible{outline:3px solid #197c86;outline-offset:3px}
