:root {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102b26;
  background: #f5f2ea;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 15% 0, rgba(68, 183, 223, .13), transparent 30rem), #f5f2ea; }
a { color: #175448; font-weight: 700; text-underline-offset: 4px; }
.topbar { height: 72px; padding: 0 max(24px, calc((100vw - 1100px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(18, 61, 51, .12); background: rgba(250, 248, 242, .9); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #102b26; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
main { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 50px; }
.summary { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 8px; color: #bd5b21; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
h1 { margin: 0 0 13px; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.04em; }
.summary p:last-child { max-width: 650px; margin: 0; color: #657873; line-height: 1.7; }
.overall { min-width: 190px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(18, 61, 51, .13); border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: 0 16px 44px rgba(22,55,46,.08); }
.overall small { display: block; margin-bottom: 3px; color: #74837f; }
.overall strong { font-size: 18px; }
.status-dot { width: 13px; height: 13px; flex: 0 0 auto; border-radius: 50%; background: #b2bbb8; box-shadow: 0 0 0 6px rgba(178,187,184,.18); }
.overall.ok .status-dot { background: #4b9d78; box-shadow: 0 0 0 6px rgba(75,157,120,.17); }
.overall.error .status-dot { background: #cf554e; box-shadow: 0 0 0 6px rgba(207,85,78,.16); }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.status-card { min-height: 260px; padding: 26px; border: 1px solid rgba(18,61,51,.13); border-radius: 26px; background: rgba(255,253,248,.92); box-shadow: 0 20px 60px rgba(22,55,46,.08); }
.backup-card { grid-column: span 2; min-height: 230px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.card-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: #fff; background: #123d33; font-weight: 900; }
.pill { padding: 6px 10px; border-radius: 99px; color: #657873; background: #edf0ed; font-size: 12px; font-weight: 800; }
.pill.ok { color: #247152; background: #e4f2eb; }
.pill.error { color: #aa3e39; background: #fae7e5; }
.status-card > p { margin: 0 0 6px; color: #74837f; font-size: 13px; }
.status-card > strong { font-size: 27px; letter-spacing: -.02em; }
dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 30px 0 0; }
dl div { padding: 13px 14px; border-radius: 14px; background: #f2f0e9; }
dt { margin-bottom: 4px; color: #7c8b87; font-size: 11px; }
dd { margin: 0; font-size: 13px; font-weight: 800; }
.checked-row { margin-top: 18px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(18,61,51,.12); border-radius: 17px; color: #74837f; background: rgba(255,253,248,.65); font-size: 13px; }
button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 11px; color: #fff; background: #123d33; font: inherit; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible { outline: 3px solid #44b7df; outline-offset: 3px; }
footer { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 38px; color: #7c8b87; font-size: 12px; }
@media (max-width: 700px) {
  .topbar { height: 64px; padding: 0 18px; }
  .brand img { width: 38px; height: 38px; }
  main { width: min(100% - 28px, 600px); padding-top: 45px; }
  .summary { align-items: start; flex-direction: column; }
  .overall { width: 100%; }
  .status-grid { grid-template-columns: 1fr; }
  .backup-card { grid-column: auto; }
  .status-card { min-height: 0; padding: 22px; }
  dl { grid-template-columns: 1fr; }
  .checked-row { align-items: start; flex-direction: column; gap: 13px; }
  footer { width: min(100% - 28px, 600px); }
}
