.chem-bank .tools-filters{display:grid;gap:16px;align-items:end;grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr) minmax(160px,1fr) minmax(180px,1fr);margin:20px 0}.chem-bank .tools-filters label,.chem-builder .stack-form>label,.chem-task-dialog label{display:grid;gap:7px;font:500 13px/1.5 Arial,sans-serif;color:#536d87}.chem-bank .tools-filters input,.chem-bank .tools-filters select,.chem-builder input:not([type=checkbox]):not([type=radio]),.chem-builder select,.chem-task-dialog input{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:9px 12px;border:1px solid #cfdae7;border-radius:10px;background:#fff;color:#18354f;font:400 14px/1.5 Arial,sans-serif}.chem-bank .tools-filters input:focus,.chem-bank .tools-filters select:focus,.chem-builder input:focus,.chem-task-dialog input:focus{outline:2px solid #77b5eb;outline-offset:2px}.chem-builder,.chem-task-dialog{background:#fff!important;color:#18354f;opacity:1}.chem-bank .tools-filters>*{min-width:0}.chem-bank select{width:100%;text-overflow:ellipsis}.chem-bank .tools-list{margin-bottom:20px}.chem-task-card>p{overflow-wrap:anywhere}.chem-task-card .section-line{flex-wrap:wrap;gap:12px}.chem-task-card .actions{margin-left:auto}.chem-task-dialog{max-width:960px!important;max-height:92dvh;overflow:auto}.chem-builder{max-width:920px!important}.chem-builder .builder-scroll{min-height:35vh}.chem-builder .chem-bank h1{font-size:22px}.chem-selected>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.chem-options{list-style:decimal;padding-left:2em}.chem-options li{padding:3px 0}.math-condition .chem-condition table{width:auto;max-width:100%;table-layout:auto}.math-condition .chem-condition .chem-layout-table,.math-condition .chem-condition .chem-layout-table>tbody>tr>td,.math-condition .chem-condition .chem-layout-table>tr>td{border:0;background:transparent;padding:4px 6px}.math-condition .chem-condition .chem-data-table td,.math-condition .chem-condition .chem-data-table th{border:1px solid var(--border,#cad7e3);padding:8px}.chem-condition img,.math-context img{max-width:100%;height:auto;object-fit:contain}.chem-condition sub,.chem-condition sup{font-size:.75em}.chem-condition math{font-size:1.05em}.chem-condition p{margin:.6em 0}.chem-condition td p{margin:.25em 0}.chem-condition{min-width:0;line-height:1.65}.chem-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:.6em 0}.chem-table-scroll:focus-visible{outline:2px solid #77b5eb;outline-offset:2px}.math-condition .chem-table-scroll>table{margin:0}.chem-figure-scroll{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;overscroll-behavior-x:contain}.chem-figure-scroll:focus-visible{outline:2px solid #77b5eb;outline-offset:2px}.chem-condition img.chem-diagram,.math-context img.chem-diagram{vertical-align:middle;object-fit:contain}.chem-math{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding:3px 1px;line-height:1.2}.chem-math mjx-container{display:inline-block;max-width:none;line-height:0}.chem-math mjx-container>svg{overflow:visible;max-width:none}@media(max-width:760px){.chem-bank .tools-filters{grid-template-columns:1fr}.chem-task-card .actions{margin-left:0;flex-wrap:wrap}.chem-task-card .section-line{align-items:flex-start}.chem-builder .builder-scroll{padding:10px}}.chem-builder input[type=checkbox],.chem-builder input[type=radio]{width:18px;height:18px;min-height:18px;padding:0;flex:0 0 18px;accent-color:#01509f}.chem-builder .work-recipients>label{white-space:normal;min-height:32px}.chem-builder .two-fields>label{display:grid;gap:7px;font-size:13px}.chem-builder .two-fields small{color:#64748b}.chem-builder .exam-blueprint{border:1px solid #dce5ef;border-radius:12px;padding:18px;background:#f6f9fc}.chem-builder .exam-blueprint p{margin-top:10px;font-size:14px;line-height:1.6}.chem-builder .builder-scroll{min-height:0;max-height:60dvh}.chem-builder .builder-scroll .panel{margin-bottom:0}.chem-builder .common-builder-modes{flex-shrink:0}@media(max-width:600px){.chem-builder{max-height:calc(100dvh - 16px);padding:16px!important;gap:14px}.chem-builder .builder-scroll{max-height:55dvh;padding:2px 4px 2px 0}.chem-builder .builder-steps{gap:3px}.chem-builder .builder-steps button{flex:1;flex-direction:column;align-items:flex-start;padding:6px;gap:5px;text-align:left}.chem-builder .math-mode-buttons{display:grid;grid-template-columns:1fr 1fr}.chem-builder .math-mode-buttons button{white-space:normal;height:auto;min-height:42px}.chem-builder .work-recipients{padding:10px;gap:8px 16px}}.chem-extra-filters{color:#536d87;font-size:14px}.chem-extra-filters>summary{cursor:pointer}.chem-bank .tools-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.chem-bank .tools-filters button{width:100%;min-width:0;max-width:100%;justify-content:space-between}.chem-bank .tools-filters button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chem-builder .math-composition-row>*{min-width:0}@media(max-width:600px){.chem-bank .tools-filters{grid-template-columns:1fr}}