#nav p{margin:12px 12px 4px;color:#a8b8cd;font-size:11px;letter-spacing:.04em}
#nav button{line-height:1.3}
.sidebar{height:100vh;min-height:0}
.sidebar nav{overflow-y:auto;min-height:0}
.sidebar .brand,.sidebar .connection{flex-shrink:0}
.rms-top,.rms-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rms-top{justify-content:flex-end}
.rms-actions{margin:12px 0}
.rms-actions label{display:grid;gap:4px}
.rms-table td,.rms-table th{padding:10px 12px;text-align:left;white-space:nowrap}
.rms-advice{display:block;margin-top:8px}
[data-rms-role=viewer] :is(#refresh,#quick-norm,[data-section=norms],#pickup-capture,#pickup-save-schedule){display:none}
.rms-access{margin:0;background:#f4f6fa;color:#233a53;font:15px/1.6 "Segoe UI",sans-serif}
.rms-access main{width:min(480px,calc(100vw - 48px));margin:12vh auto;padding:32px;background:white;border:1px solid #dce5eb;border-radius:12px;box-sizing:border-box}
.rms-access img{width:128px;height:auto}
.rms-access label{display:grid;gap:5px;margin:12px 0}
.rms-access button,.rms-access input{border:1px solid #bccbdb;border-radius:5px;padding:8px 11px;font:inherit}
.rms-access button{background:#1b5878;color:white}
@media(max-width:780px){.sidebar{height:auto}}
