/* Отдельные учебные инструменты. Работают без внешних сервисов. */
.student-workspace .ws-intro{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;background:#eaf2ff;border:1px solid #cddffa;color:#345078;padding:16px 20px;border-radius:14px;margin-bottom:18px}
.student-workspace .ws-intro strong{color:#173963;font-size:18px}
.student-workspace .ws-intro span{font-size:13px}
.student-workspace .ws-layout{display:grid;grid-template-columns:290px minmax(0,1fr);align-items:start;gap:18px}
.student-workspace .ws-main{min-width:0}.student-workspace .ws-settings{position:static}
.student-workspace .ws-form{display:grid;gap:8px}.student-workspace .ws-form>label,.student-workspace .ws-form .ws-two label{font-size:13px;color:#425775;font-weight:750}
.student-workspace .ws-form input,.student-workspace .ws-form select{border:1px solid #cbd7ea;padding:10px;border-radius:9px;background:#fff;min-width:0;width:100%;font-size:14px}
.student-workspace .ws-form h3{font-size:15px;margin:17px 0 2px}.student-workspace .ws-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.student-workspace .ws-two>div{display:grid;gap:5px}.student-workspace .ws-editor-panel{padding:19px}
.student-workspace .ws-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#f5f8fe;padding:9px;border:1px solid #dce5f4;border-radius:11px}
.student-workspace .ws-toolbar button{border:1px solid #d8e1f0;background:#fff;border-radius:7px;min-width:39px;height:39px;padding:5px 9px;font-size:16px;color:#2c4975;cursor:pointer}
.student-workspace .ws-toolbar button:hover{border-color:#597cd1;background:#eaf1ff}.student-workspace .ws-split{width:1px;height:27px;background:#c9d7ec;margin:0 4px}
.student-workspace .ws-helper{font-size:12px;color:#6c7890;margin:12px 0!important}
.student-workspace .ws-paper-scroll{max-width:100%;overflow-x:auto;background:#e5eaf3;border:1px solid #cfdae9;border-radius:13px;padding:16px;scrollbar-width:thin}
.student-workspace .ws-paper{width:210mm;min-height:297mm;box-sizing:border-box;margin:0 auto;background:white;color:black;box-shadow:0 2px 17px #09284a22;padding:20mm 15mm 20mm 30mm}
.student-workspace #ed-content{outline:0;min-height:160mm;white-space:pre-wrap;overflow-wrap:anywhere;font-family:'Times New Roman',serif;font-size:14pt;line-height:1.5;color:#000;text-align:justify}
.student-workspace #ed-content p,.student-workspace #ed-content div{margin:0 0 var(--ws-after,0pt);min-height:1.3em;text-indent:var(--ws-indent,1.25cm)}
.student-workspace #ed-content:focus{outline:1px dashed #c3d3ec;outline-offset:5px}
.student-workspace .ws-count{font-size:12px;color:#60728b;margin-top:12px}.student-workspace .ws-actions{margin-top:15px}
.student-workspace .ws-two-wide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.student-workspace .ws-two-wide .field{min-width:0}
.student-workspace .ws-sim textarea{width:100%;min-height:270px;resize:vertical;line-height:1.65}
.student-workspace .ws-sim .field small{font-size:12px;color:#75849b;display:block;margin-top:7px}.student-workspace #sim-file{margin-top:9px}
.student-workspace .ws-metrics{margin:20px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.student-workspace .ws-metric{background:#f0f6ff;border:1px solid #d5e5fc;padding:14px;border-radius:12px}
.student-workspace .ws-metric span{display:block;font-size:12px;color:#52698b}.student-workspace .ws-metric strong{font-size:23px;color:#164a8b}
.student-workspace .ws-warning{background:#fff7e6;border:1px solid #f0d4a0;color:#76551b;padding:15px;border-radius:11px;font-size:13px;line-height:1.6}
.student-workspace .ws-fragments{padding-left:25px;line-height:1.7;color:#344967}.student-workspace .ws-fragments li{margin-bottom:11px;overflow-wrap:anywhere}
.student-workspace .ws-highlight{background:#f8fafd;border:1px solid #dbe4f2;padding:17px;border-radius:10px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;max-height:460px;overflow-y:auto}
.student-workspace .ws-highlight mark{background:#ffde76;padding:2px 1px;border-radius:3px;color:#263346}
@media(max-width:990px){.student-workspace .ws-layout{grid-template-columns:1fr}.student-workspace .ws-settings{position:static}.student-workspace .ws-form{grid-template-columns:repeat(2,minmax(0,1fr))}.student-workspace .ws-form>h3,.student-workspace .ws-form>.ws-two,.student-workspace #ed-standard{grid-column:1/-1}}
@media(max-width:650px){.student-workspace .ws-two-wide{grid-template-columns:1fr}.student-workspace .ws-metrics{grid-template-columns:1fr}.student-workspace .ws-form{grid-template-columns:1fr}.student-workspace .ws-paper-scroll{padding:8px}}
@media print{
 body.student-workspace .site-head,body.student-workspace .page-hero,body.student-workspace .footer,body.student-workspace .ws-intro,body.student-workspace .ws-settings,body.student-workspace .ws-toolbar,body.student-workspace .ws-helper,body.student-workspace .ws-count,body.student-workspace .ws-actions,body.student-workspace .ws-editor-panel>.status-line,body.student-workspace .ws-editor-panel>.note{display:none!important}
 body.student-workspace,body.student-workspace main,body.student-workspace .page-content,body.student-workspace .ws-layout,body.student-workspace .ws-main,body.student-workspace .ws-editor-panel,body.student-workspace .ws-paper-scroll{background:#fff!important;border:0!important;box-shadow:none!important;overflow:visible!important;padding:0!important;margin:0!important;width:auto!important;max-width:none!important;display:block!important}
 body.student-workspace .ws-paper{padding:0!important;margin:0!important;width:auto!important;min-height:0!important;box-shadow:none!important;border:0!important}
 body.student-workspace #ed-content{min-height:0!important;outline:0!important}
}

.student-workspace .ws-presets{display:grid;gap:8px}
.student-workspace .ws-block-label{font-size:12px;font-weight:750;color:#3e5678}
.student-workspace #ed-block-style{border:1px solid #cbd7ea;background:#fff;border-radius:8px;padding:8px;color:#284566;font-size:13px;max-width:160px}
.student-workspace #ed-content h1{font-size:1.25em;font-weight:700;text-indent:0;margin:18px 0 11px;line-height:1.3}
.student-workspace #ed-content h2{font-size:1.1em;font-weight:700;text-indent:0;margin:13px 0 8px;line-height:1.35}
.student-workspace #ed-content ul,.student-workspace #ed-content ol{padding-left:1.2cm;margin:10px 0}
.student-workspace #ed-content li{text-indent:0;margin:3px 0}
.student-workspace .ws-proof{margin-top:18px;padding:15px 16px;background:#f5f8ff;border:1px solid #d6e2f3;border-radius:12px;display:grid;gap:10px}
.student-workspace .ws-proof strong{color:#244c81}.student-workspace .ws-proof p{margin:5px 0 0!important;font-size:12px;color:#687b98;line-height:1.5}
.student-workspace .ws-proof-output{font-size:13px;color:#284f72;line-height:1.5}
@media print{body.student-workspace .ws-proof{display:none!important}}
