.matrices-figure{margin:1.5rem 0;padding:1rem;border:1px solid #d4dfd3;border-radius:14px;background:#fafbf5}.matrices-collection{display:flex;align-items:flex-start;gap:1.4rem;flex-wrap:wrap}.matrix-block{max-width:100%;overflow-x:auto;padding:.3rem}.matrix-name{font:700 1rem/1.5 Arial,sans-serif!important;margin:.3rem 0!important}.matrix-name span{font-weight:400;color:#52665d}.matrix-brackets{display:inline-block;padding:.2rem .5rem;border-left:2px solid #274d3f;border-right:2px solid #274d3f;background:linear-gradient(#274d3f,#274d3f) left top/8px 2px no-repeat,linear-gradient(#274d3f,#274d3f) right top/8px 2px no-repeat,linear-gradient(#274d3f,#274d3f) left bottom/8px 2px no-repeat,linear-gradient(#274d3f,#274d3f) right bottom/8px 2px no-repeat}.matrix-block table{min-width:0!important;width:auto!important;margin:0!important;border-collapse:separate;border-spacing:4px;border:0}.matrix-block td{border:0!important;padding:.45rem .6rem!important;min-width:2.2rem;text-align:center;font:1.08rem/1.5 Georgia,serif;color:#20372e;white-space:nowrap}.matrix-selected{background:#dfe9cb;outline:2px solid #6f8154;border-radius:3px}.matrices-figure figcaption{font-size:.85rem;line-height:1.7;margin-top:1rem}.matrices-lab{margin:1.5rem 0;min-width:0}.matrices-presets{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.matrices-presets button{border:1px solid #b6c6b7;background:#f1f5ee;border-radius:8px;padding:.7rem;color:#244736;cursor:pointer;min-height:44px}.matrix-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.matrix-editors fieldset{min-width:0;padding:1rem;border:1px solid #c5d1c2;border-radius:10px}.matrix-editors legend{font-weight:700}.matrix-dimensions{display:flex;gap:1rem;margin:.8rem 0}.matrix-dimensions label{flex:1}.matrix-dimensions select,.matrix-inputs input{display:block;width:100%;box-sizing:border-box;padding:.55rem;min-width:0;min-height:44px;margin:.3rem 0}.matrix-inputs{display:grid;gap:.45rem}.matrix-inputs label span{font-size:.75rem;color:#52665d}.matrix-calculation,#matrix-status{background:#edf2e7;padding:1rem;border-radius:8px;line-height:1.8}.matrix-calculation{overflow-wrap:anywhere}.matrices-lab button:focus-visible,.matrices-lab select:focus-visible,.matrices-lab input:focus-visible{outline:3px solid #5378aa;outline-offset:2px}@media(max-width:600px){.matrix-editors{grid-template-columns:1fr}.matrices-collection{gap:1rem}.matrix-block td{padding:.35rem!important}.matrices-figure{padding:.65rem}}
