/* The site of the server (src/hub.rs, owner 2026-11-22): its page — the server works, the program's download — and the remote
   panel's login screen and top line. The panel itself is drawn by web/admin.js with web/styles.css. */
:root { color-scheme: dark; }
body.site { margin: 0; min-height: 100vh; background: #0a0c0f; color: #e6ebf0; font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
.site [hidden] { display: none !important; }
.site-wrap { box-sizing: border-box; max-width: 560px; margin: 0 auto; padding: 40px 16px 48px; display: flex; flex-direction: column; gap: 14px; }
.site-head { display: flex; align-items: center; gap: 12px; }
.site-logo { width: 44px; height: 44px; border-radius: 12px; background: #f0a020; color: #14100a; display: grid; place-items: center; font: 700 22px/1 system-ui, sans-serif; flex: none; }
.site-head h1 { margin: 0; font: 600 22px/1.2 system-ui, sans-serif; }
.site-sub { margin: 2px 0 0; color: #8a96a3; font-size: 13px; }
.site-card { background: #11151a; border: 1px solid #1d242c; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.site-card h2 { margin: 0; font: 600 16px/1.3 system-ui, sans-serif; }
.site-card p { margin: 0; color: #aab4be; }
.site-status { display: flex; align-items: center; gap: 8px; color: #aab4be; }
.site-dot { width: 9px; height: 9px; border-radius: 50%; background: #66717d; flex: none; }
.site-dot.ok { background: #3fb950; }
.site-dot.bad { background: #f85149; }
.site-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.site-fields.one { grid-template-columns: 1fr; }
@media (max-width: 480px) { .site-fields { grid-template-columns: 1fr; } }
.site-fields label { display: flex; flex-direction: column; gap: 4px; color: #8a96a3; font-size: 12px; }
.site input { box-sizing: border-box; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid #29323c; background: #0d1014; color: #e6ebf0; font: inherit; font-size: 15px; outline: none; width: 100%; }
.site input:focus { border-color: #f0a020; }
.site input.secret { -webkit-text-security: disc; }
.site-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.site-btn { height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid #29323c; background: #171c22; color: #e6ebf0; font: 600 14px/1 system-ui, sans-serif; cursor: pointer; flex: 1 1 180px; }
.site-btn:hover { border-color: #f0a020; }
.site-btn.pri { background: #f0a020; border-color: #f0a020; color: #14100a; }
.site-btn:disabled { opacity: 0.5; cursor: default; }
.site-msg { min-height: 18px; font-size: 13px; color: #8a96a3; }
.site-msg.bad { color: #f85149; }
.site-msg.ok { color: #3fb950; }
.site-how summary { cursor: pointer; color: #aab4be; }
.site-how h3 { margin: 12px 0 0; font: 600 13px/1.3 system-ui, sans-serif; color: #e6ebf0; }
.site-how ol { margin: 6px 0 0; padding-left: 20px; color: #aab4be; display: flex; flex-direction: column; gap: 4px; }
.site-foot { text-align: center; font-size: 13px; color: #66717d; }
.site a { color: #f0a020; text-decoration: none; }
.site a:hover { text-decoration: underline; }
/* The remote panel: its top line; the panel under it scrolls with the page. */
.site-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #1d242c; background: #11151a; position: sticky; top: 0; z-index: 5; }
.site-top b { font-size: 15px; }
.site-top .site-sub { margin: 0; }
.site-top .site-sp { flex: 1; }
.site-top .site-btn { flex: none; height: 30px; font-size: 13px; }
#adm.list { overflow: visible; }
