/* V187: compact, accessible controls with no global selector resets */
.t187-tools{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;
 flex-wrap:wrap;direction:rtl;max-width:100%;margin-inline:4px}
.t187-tools *{box-sizing:border-box}
.t187-action{appearance:none;border:1px solid #a5c7eb;background:linear-gradient(145deg,#edf6ff,#fdfefe);
 color:#19558e;min-height:44px;border-radius:13px;padding:8px 13px;display:inline-flex;
 gap:8px;align-items:center;justify-content:center;font-family:inherit;font-size:12px;
 font-weight:850;line-height:1.4;cursor:pointer;touch-action:manipulation;white-space:nowrap;
 box-shadow:0 4px 12px #154c8212;transition:background-color .15s,box-shadow .15s}
.t187-action svg{width:19px;height:19px;flex:0 0 auto}
.t187-action:hover{background:#dceeff;box-shadow:0 5px 14px #174d891e}
.t187-action:focus-visible{outline:3px solid #7eb2ed;outline-offset:2px}
.t187-grade{background:linear-gradient(145deg,#e5f6ee,#f6fffa);border-color:#a4dcc4;color:#067454}
.t187-grade:hover{background:#d4f2e3}
.t187-notice{padding:9px 12px;margin:7px 0;border-radius:9px;background:#fff5e7;
 color:#895012;border:1px solid #efd2a7;font:inherit;font-size:12px}
@media(max-width:740px){
 .t187-tools{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0}
 .t187-action{white-space:normal;width:100%;font-size:12px;padding:9px 7px}
 [class*="teacher-workspace-v37-module__"] input:not([type=checkbox]),
 [class*="teacher-notebook-v61-module__"] input:not([type=checkbox]){font-size:16px!important}
}
@media(max-width:430px){.t187-tools{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.t187-action{transition:none}}
