
:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #637083;
  --line: #dbe1e7;
  --primary: #1769e0;
  --primary-hover: #0f56bd;
  --success: #18794e;
  --warning: #9a5b00;
  --danger: #b42318;
  --focus: #9dc2f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  display: grid;
  grid-template-rows: auto 1fr auto;
  letter-spacing: 0;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar {
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  border: 2px solid var(--text);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 750;
}
.brand-name { font-size: 17px; font-weight: 680; }
.page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 56px 24px 64px;
}
.narrow { width: min(600px, 100%); }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 14px; font-weight: 650; }
h1 { margin: 0; font-size: 34px; line-height: 1.22; font-weight: 720; }
h2 { margin: 0; font-size: 19px; line-height: 1.35; }
p { line-height: 1.72; }
.lead { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.button:hover { text-decoration: none; }
.button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.service-list { margin-top: 34px; border-top: 1px solid var(--line); }
.service {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: #eaf2fd;
  color: #1457a6;
  display: grid;
  place-items: center;
  font-weight: 760;
}
.service p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8b95a5; }
.status-online::before { background: var(--success); }
.status-offline::before { background: var(--warning); }
.notice {
  margin-top: 28px;
  border-left: 3px solid var(--line);
  padding: 2px 0 2px 16px;
  color: var(--muted);
}
.notice-danger { border-left-color: var(--danger); }
.notice-warning { border-left-color: var(--warning); }
.privacy { margin-top: 28px; }
.privacy section { padding: 22px 0; border-top: 1px solid var(--line); }
.privacy section:last-child { border-bottom: 1px solid var(--line); }
.privacy h2 { font-size: 17px; }
.privacy p, .privacy li { color: #354355; line-height: 1.72; }
.privacy ul { padding-left: 22px; }
.footer {
  border-top: 1px solid var(--line);
  padding: 22px 18px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; }
.footer a { color: #4b5d72; }
.identity { color: var(--muted); font-size: 13px; }
.logout { margin: 0; }
.logout button { border: 0; background: transparent; color: var(--primary); padding: 6px; cursor: pointer; font: inherit; }
@media (max-width: 640px) {
  .topbar { padding: 0 16px; }
  .page { padding: 38px 18px 48px; }
  h1 { font-size: 29px; }
  .service { grid-template-columns: 42px minmax(0, 1fr); }
  .service .button { grid-column: 1 / -1; width: 100%; }
  .actions .button { width: 100%; }
  .identity { display: none; }
}
