:root{font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:#102b39;background:#f2f5f7;font-size:14px;line-height:1.85}
*{box-sizing:border-box}body{margin:0}.shell{max-width:1120px;margin:auto;padding:0 22px 30px}.topbar{display:flex;gap:14px;align-items:center;min-height:84px;border-bottom:1px solid #d9e1e7}.logo{width:48px;height:48px;border-radius:14px;background:#116e77;color:white;display:grid;place-items:center;font:bold 21px Arial}.brand{display:flex;flex-direction:column;line-height:1.65}.brand strong{font:bold 17px Tahoma,"Segoe UI",Arial,sans-serif}.brand span{font-size:12px;color:#526a77}.top-status{margin-right:auto;color:#3c6472;font-size:12px;border:1px solid #c6d5da;background:#edf6f5;border-radius:50px;padding:5px 12px}.intro{padding:26px 0 18px}.eyebrow{color:#137d7d;font-size:12px;font-weight:bold}.intro h1{font-size:27px;margin:2px 0 7px;letter-spacing:-.5px}.intro p{margin:0;color:#647986;font-size:13px}.panel{background:#fff;border:1px solid #dce5e9;border-radius:17px;padding:22px;box-shadow:0 2px 9px #1d465005}.panel-header{display:flex;align-items:center;gap:12px;margin-bottom:17px}.panel-header h2{font-size:17px;margin:0}.panel-header .subtle{margin:2px 0 0}.panel-header .btn{margin-right:auto}.step{font-size:13px;font-weight:bold;color:#126b74;background:#e5f4f3;padding:5px 11px;border-radius:10px}.subtle,.notice{color:#657984;font-size:12px}.login-panel{max-width:720px;margin-bottom:20px}.login-row{display:flex;gap:10px;margin-top:6px}.login-row input{flex:1;min-width:0}.notice{margin:12px 0 0}.lab-strip{display:flex;align-items:center;gap:10px;background:#e6f6f1;border:1px solid #c2e8da;color:#246858;padding:10px 18px;border-radius:13px;margin-bottom:17px}.online-dot{background:#2b9b76;width:9px;height:9px;border-radius:50%}.lab-strip .btn{margin-right:auto}.layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:18px;align-items:start}.layout aside{display:grid;gap:18px}.field{padding:14px 0 17px;border-bottom:1px solid #eff2f4}.field:first-child{padding-top:0}.field:last-of-type{border:0}.field-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.field-heading label{font-weight:bold;color:#263f4c}.number{display:grid;place-items:center;width:26px;height:26px;background:#e9f1f5;color:#355b6d;border-radius:50%;font-size:12px;font-weight:bold}.field.is-disabled{opacity:.53}input,select{font:inherit;color:#203745;width:100%;border:1px solid #cbd9df;border-radius:10px;background:#fff;outline:none;height:45px;padding:6px 12px;transition:border .2s}input:focus,select:focus{border-color:#008c89;box-shadow:0 0 0 3px #008c8921}input:disabled,select:disabled{background:#f0f3f4;cursor:not-allowed}.new-input{margin-top:9px;border-color:#50a2a0;background:#f8fffd}.new-input[hidden]{display:none}.hint{font-size:11px;color:#8b9aa3;margin-top:4px}.btn{font:inherit;font-size:12px;font-weight:bold;border-radius:9px;border:1px solid transparent;padding:9px 15px;cursor:pointer;white-space:nowrap}.btn.primary{background:#127b7d;color:white}.btn.primary:hover{background:#0b6568}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.secondary{color:#2c5865;border-color:#c9d7df;background:white}.btn.subtle-btn{background:#fff;color:#276557;border-color:#b8ded4}.submit-row{display:flex;gap:10px;align-items:center;margin-top:18px}.submit-row .register{flex:1;min-width:0;white-space:normal;line-height:1.9}.empty-result{text-align:center;color:#6d7f8b;padding:22px 9px}.empty-result strong{display:block;color:#3a5b69}.empty-result p{font-size:12px}.result-symbol{margin:0 auto 12px;background:#edf3f5;border-radius:18px;color:#839ca9;font:bold 42px Arial;width:73px;height:73px;display:grid;place-items:center}.status-line{font-size:12px;border-radius:8px;padding:7px 10px;color:#146857;background:#e1f5e9;margin-bottom:13px}.result-value{border:1px solid #d8eae9;background:#f3fbfa;border-radius:11px;padding:12px;margin:9px 0}.result-value>span{font-size:11px;color:#55737a}.value-row{display:flex;justify-content:space-between;align-items:center;gap:9px}.value-row b{font:700 25px Arial,sans-serif;color:#106a70;letter-spacing:1px}.copy{border:1px solid #c2dfda;background:#fff;color:#11666c;border-radius:7px;padding:4px 10px;cursor:pointer;font:12px Tahoma}.secondary-value{background:#fff;border-color:#edf1f2}.secondary-value .value-row b{font-size:20px;color:#35535c}.details{margin:15px 0 0}.details>div{display:flex;gap:15px;justify-content:space-between;border-bottom:1px solid #eff2f3;padding:7px 0;font-size:11px}.details dt{color:#667982}.details dd{margin:0;text-align:left;max-width:68%;overflow-wrap:anywhere}.warning{padding:10px;background:#fff7e8;border-right:3px solid #c98920;font-size:11px;color:#785720;border-radius:6px}.help-panel h3{font-size:13px;margin:0 0 11px}.help-panel code{display:block;background:#eef3f6;border-radius:7px;padding:8px 10px;color:#27506a;font-size:13px}.help-panel p{font-size:12px;color:#657983;margin-bottom:0}.help-panel p code{display:inline;padding:1px 4px}.recent-panel{margin-top:18px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:710px;font-size:12px}th{text-align:right;background:#f5f9fa;color:#526c79;font-weight:bold}td,th{border-bottom:1px solid #edf1f4;padding:9px 12px}td{color:#243f4b}.toast{position:fixed;bottom:24px;right:24px;max-width:min(510px,calc(100vw - 48px));border-radius:12px;padding:13px 20px;color:white;background:#305469;box-shadow:0 12px 32px #0002;z-index:10}.toast.error{background:#a84033}footer{text-align:center;padding:27px;color:#8da0a7;font-size:11px}[hidden]{display:none!important}
@media(max-width:750px){.shell{padding:0 12px 18px}.topbar{min-height:70px}.top-status{display:none}.intro{padding:20px 4px}.intro h1{font-size:21px}.layout{grid-template-columns:1fr}.panel{padding:16px}.login-row{flex-direction:column}.submit-row{flex-wrap:wrap}.submit-row .register{min-width:100%}.field{padding:12px 0}.lab-strip{font-size:12px}}
.auth-fields{display:grid;gap:8px;max-width:480px;margin:14px 0 18px}.auth-fields input{width:100%}#backToLogin{margin-top:16px}#loginPanel form .btn{margin-top:8px}

.materials-header{flex-wrap:wrap}.materials-header h2{flex:1;min-width:210px;line-height:1.9}.materials-tools{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.materials-tools .btn{white-space:normal}.recent-panel table{min-width:1050px}.recent-panel th:nth-child(7){min-width:160px;max-width:185px}.tabular-cell{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.empty-materials{text-align:center;padding:24px}.material-pagination{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap;padding-top:18px}.page-info{color:#526c79;font-size:12px;min-width:180px;text-align:center}.archive-panel{background:#fcfdfe}.archive-step{background:#edf0f3;color:#5b6e78}.status-toggle{font:inherit;font-size:12px;font-weight:bold;display:inline-flex;gap:7px;align-items:center;justify-content:center;min-width:100px;white-space:nowrap;border:1px solid;border-radius:20px;padding:5px 10px;cursor:pointer}.status-toggle:before{content:'';display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid currentColor;border-radius:3px;line-height:1;font-family:Arial,sans-serif}.status-toggle.is-active{color:#19694e;background:#e6f7ed;border-color:#b5dfc6}.status-toggle.is-active:before{content:'✓';font-size:12px;font-weight:bold;background:#19694e;color:#fff;border-color:#19694e}.status-toggle.is-inactive{color:#63717a;background:#eef1f4;border-color:#d3dbe0}.status-toggle:hover:not(:disabled){box-shadow:0 0 0 3px #137b7d1a}.status-toggle:disabled{opacity:.45;cursor:wait}.status-dialog{border:1px solid #d4e0e5;border-radius:17px;padding:26px;max-width:min(540px,calc(100vw - 32px));color:#203745;box-shadow:0 20px 70px #102b3940;direction:rtl}.status-dialog::backdrop{background:#15344288;backdrop-filter:blur(2px)}.status-dialog h2{font-size:18px;line-height:1.9;margin:0 0 12px;overflow-wrap:anywhere}.status-dialog p{font-size:13px;margin:10px 0}.status-dialog-material{color:#526c79;background:#f3f7f8;border-radius:9px;padding:9px 12px;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;flex-wrap:wrap}.dialog-actions .btn{white-space:normal}.btn.danger{color:#fff;background:#aa4438}.btn.danger:hover{background:#8e352c}button:focus-visible{outline:3px solid #16868a;outline-offset:3px}.table-scroll[aria-busy=true]{opacity:.65}@media(max-width:550px){.materials-tools{display:grid;grid-template-columns:1fr}.material-pagination{gap:8px}.page-info{width:100%;order:-1}.dialog-actions .btn{flex:1}.status-dialog{padding:20px}}
.dialog-error{padding:10px;border-radius:8px;background:#fff1ee;color:#91382c;overflow-wrap:anywhere}
