/* R4.18: new teaching surfaces only. */
.tev-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 10px}
.tev-circle{box-sizing:border-box;width:36px;height:36px;min-width:0;padding:0;border:1px solid #b5ccdf;border-radius:50%;background:#103b59;color:white;font:bold 15px system-ui;cursor:pointer}
.tev-circle[aria-pressed=true]{background:#087d76;border-color:#087d76}.tev-circle:disabled{opacity:.42;cursor:default}
.tev-circle:focus-visible{outline:2px solid #087d76;outline-offset:2px}
.tev-pair{box-sizing:border-box;border:1px solid #a6cdc4;border-radius:8px;background:#f0f9f7;padding:.45em .65em;margin:.4em 0;white-space:normal;overflow-wrap:anywhere;line-height:1.55;text-align:start;font-size:.85em;font-weight:400}
.tev-pair .tev-urdu{color:#086c60;text-align:right}.tev-pair .tev-roman{color:#205b91;text-align:left;border-top:1px solid #c6dfd8;margin-top:.3em;padding-top:.3em}
.tev-view{color:#15344c;overflow-wrap:anywhere}.tev-heading{display:block;background:#102f46;color:#ffd47f;text-align:center;padding:12px;border-radius:10px;margin:0 0 12px}.tev-heading h2,.tev-heading h3{margin:4px 0;color:inherit}.tev-heading h3{color:white}
.tev-explanation{border:1px solid #a6cdc4;background:#f0f9f7;border-radius:10px;padding:12px 20px;margin:10px 0;line-height:1.5;color:#174e45}.tev-explanation.tev-roman{background:#edf4fa;border-color:#b6d0e4;color:#174c76}.tev-explanation h3{margin:0 0 8px;color:inherit}.tev-explanation ol{padding-inline-start:1.6em;margin:8px 0}.tev-remember{font-weight:bold;border-top:1px solid #b6d0e4;padding-top:8px;margin-bottom:0}
.tev-table-scroll{max-width:100%;overflow-x:auto}.tev-table{width:100%;border-collapse:collapse;line-height:1.35}.tev-table th,.tev-table td{border:1px solid #d3e0eb;padding:.45em;text-align:start;vertical-align:top}.tev-table th{background:#102f46;color:#fff}.tev-table tr:nth-child(even){background:#f0f5f8}
.tev-studio-controls{position:absolute;top:8px;left:16px;z-index:6;display:flex;gap:7px;align-items:center;margin:0}
#alnoor-video-studio .studio-option>.tev-pair{grid-column:2/-1;margin:0}
#alnoor-video-studio .tev-view{font-size:clamp(16px,calc(var(--studio-font)*.82),32px)}
#alnoor-video-studio .tev-view h2{font-size:1.2em}#alnoor-video-studio .tev-view h3{font-size:1em}
#alnoor-video-studio .tev-table{font-size:.85em}
.tev-alternate[hidden],.tev-pair[hidden],.tev-controls[hidden],.tev-studio-controls[hidden],.tev-normal[hidden]{display:none!important}
.question-toolbox-body.tev-only>:not(.tev-controls){display:none!important}
@media(max-width:600px){.tev-table{min-width:520px}.tev-explanation{padding:10px}.tev-studio-controls{left:8px}}
#alnoor-video-studio .studio-shell:not(.studio-tools-hidden) .tev-studio-controls{position:static;padding:6px 16px 0}
