body.school-visual-standard #manual-gate-panel{width:100%;box-sizing:border-box}
#manual-gate-panel[hidden]{display:none!important}
.manual-gate-head,.manual-gate-list article,.manual-gate-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.manual-gate-head>div,.manual-gate-list article>div{min-width:0;flex:1 1 260px}
.manual-gate-list article{padding:16px 0;border-top:1px solid #d5e2f0;overflow-wrap:anywhere}
.manual-gate-dialog{width:600px;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border:1px solid #d5e2f0;border-radius:14px;color:#173858}
.manual-gate-dialog::backdrop{background:#112c5266}.manual-gate-dialog label{display:block;margin:16px 0;font-weight:600}.manual-gate-dialog :is(input:not([type=checkbox]),select,textarea){display:block;width:100%;box-sizing:border-box;min-height:44px;margin-top:6px;font:inherit;padding:10px;border:1px solid #d5e2f0;border-radius:9px}.manual-gate-dialog textarea{min-height:88px}.manual-gate-dialog .manual-gate-check{display:flex;align-items:flex-start;gap:10px}.manual-gate-check input{flex:none;width:20px;height:20px}.manual-gate-dialog [role=alert]{color:#a42727}.manual-gate-actions{justify-content:flex-end}
@media(max-width:600px){.manual-gate-head>.btn,.manual-gate-list article>.btn{width:100%}.manual-gate-dialog{padding:16px}.manual-gate-actions button{flex:1}}
