/* Remote entry and small-screen corrections; the local workbench is unchanged. */
.remote-login{margin:0;min-height:100svh;display:grid;place-items:center;padding:24px;box-sizing:border-box;background:#f3f6f0;color:#183d3e;font:16px/1.6 "Segoe UI","Microsoft YaHei",system-ui,sans-serif}
.remote-login *{box-sizing:border-box}.login-card{width:100%;max-width:440px;padding:36px;background:#fff;border:1px solid #dfe7e2;border-radius:22px;box-shadow:0 18px 55px #183d3e0c}
.login-mark{width:48px;height:48px;display:grid;place-items:center;background:#185c56;color:white;font-size:28px;font-weight:700;border-radius:15px;margin-bottom:24px}.login-eyebrow{font-size:13px;color:#66817a;letter-spacing:2px;margin:0 0 8px}.login-card h1{font-size:27px;line-height:1.4;margin:0 0 12px}.login-hint{color:#687d75;font-size:14px;margin-bottom:26px}.login-card label{display:block;font-size:14px;margin-bottom:7px}.login-card input{display:block;width:100%;min-height:48px;border:1px solid #c8d7cd;border-radius:9px;padding:10px 12px;font:inherit;outline-offset:3px}.login-card button{width:100%;margin-top:16px;min-height:48px;border:0;border-radius:9px;background:#185c56;color:white;font:inherit;cursor:pointer}.login-footnote{font-size:12px;color:#728381;margin:22px 0 0}.login-error{padding:12px;background:#fff1ed;color:#9d3f31;border-radius:8px;font-size:14px}
.remote-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 20px;background:#185c56;color:#fff;font:13px/1.5 "Segoe UI","Microsoft YaHei",sans-serif}.remote-toolbar form{margin:0}.remote-toolbar button{border:1px solid #ffffff70;border-radius:6px;background:transparent;color:#fff;padding:6px 12px;font:inherit;cursor:pointer;min-height:32px}
#remote-notice:not([hidden]){padding:14px 20px;background:#fff3d8;color:#614b20;font:14px/1.7 "Segoe UI","Microsoft YaHei",sans-serif;border-bottom:1px solid #e7d5ac}#remote-notice a{font-weight:700;text-decoration:underline;color:#185c56}
.remote-workbench .sidebar{height:calc(100vh - 48px)}.remote-workbench .main-column{min-width:0}.remote-workbench .login-error{color:#9d3f31}
@media(max-width:800px){.remote-workbench .sidebar{height:auto;position:relative}.remote-workbench .shell{min-width:0}.remote-workbench .savebar{flex-wrap:wrap;gap:10px}.remote-workbench .save-actions{flex-wrap:wrap;max-width:100%}.remote-workbench .save-actions .button{min-height:42px}.remote-workbench input,.remote-workbench select,.remote-workbench textarea{font-size:16px}.remote-workbench .field-row,.remote-workbench .field-control{min-width:0}.remote-workbench code,.remote-workbench .hint,.remote-workbench .callout{overflow-wrap:anywhere}.remote-toolbar{padding-inline:14px}}
@media(max-width:480px){.login-card{padding:27px 23px}.login-card h1{font-size:24px}.remote-login{padding:16px}.remote-workbench .savebar{padding:12px 14px}.remote-workbench .save-actions{width:100%;display:flex}.remote-workbench .save-actions .button{flex:1;padding-inline:9px;white-space:nowrap}.remote-workbench #save-status{font-size:12px}.remote-workbench .operation-summary strong{max-width:140px;overflow-wrap:anywhere}}

.security-card{max-width:590px}.security-card label{margin-top:18px}.security-back{display:inline-block;color:#185c56;font-size:14px;margin:0 0 22px}.security-card button:disabled{opacity:.6;cursor:wait}.security-card [hidden]{display:none}#password-result{padding:12px;border-radius:9px;background:#e6f1ea;overflow-wrap:anywhere}.security-card .login-eyebrow{margin-top:4px}
