:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #17202a; background: #f4f7fb; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; padding: 32px 18px; }
.shell { width: min(100%, 980px); margin: 0 auto; }
.auth-shell { width: min(100%, 440px); margin: 8vh auto 0; }
.brand { margin-bottom: 24px; color: #1769e0; font-weight: 700; letter-spacing: .02em; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.3; }
h2 { margin: 0 0 16px; font-size: 18px; }
.subtitle { margin: 0; color: #66717f; line-height: 1.7; }
.card { padding: 28px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgb(28 39 54 / 7%); }
.grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 18px; }
.field { margin: 0 0 18px; }
label { display: block; margin-bottom: 7px; color: #334155; font-size: 14px; font-weight: 600; }
input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd8e3; border-radius: 7px; background: #fff; color: #17202a; font: inherit; }
input:focus { outline: 3px solid rgb(23 105 224 / 16%); border-color: #1769e0; }
.help { margin: 7px 0 0; color: #7a8796; font-size: 13px; line-height: 1.5; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 16px; border: 0; border-radius: 7px; background: #1769e0; color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #0f58c3; }
.button-muted { background: #eef3fb; color: #1769e0; }
.button-muted:hover { background: #e1ebfb; }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alert { margin: 0 0 18px; padding: 11px 13px; border-radius: 7px; background: #fff1f1; color: #b42318; font-size: 14px; }
.success { background: #ecfdf3; color: #087443; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: #ecfdf3; color: #087443; font-size: 13px; font-weight: 600; }
.status.off { background: #f1f5f9; color: #64748b; }
.log { width: 100%; border-collapse: collapse; font-size: 14px; }
.log th, .log td { padding: 11px 0; border-bottom: 1px solid #edf1f5; text-align: left; }
.log th { color: #66717f; font-size: 12px; font-weight: 600; }
.muted { color: #7a8796; }
.check { display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; font-weight: 500; }
.check input { width: 17px; min-height: 17px; accent-color: #1769e0; }
.public-card { width: min(100%, 500px); margin: 10vh auto 0; text-align: center; }
.public-card .button { margin-top: 12px; }
@media (max-width: 720px) { body { padding: 20px 14px; } .grid { grid-template-columns: 1fr; } .card { padding: 22px; } .topbar { align-items: flex-start; } }
