* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: #f5f7fb;
}
a { color: #0f766e; text-decoration: none; }
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
}
h1 { margin: 0 0 20px; font-size: 24px; }
label { display: block; margin: 14px 0; font-weight: 600; }
input {
  width: 100%;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
}
button, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.button-secondary { background: #334155; }
.alert {
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.page {
  min-height: 100vh;
}
.topbar {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.topbar strong { font-size: 18px; }
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px;
}
.panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.stat {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;
}
.stat span { display: block; color: #6b7280; font-size: 13px; }
.stat strong { display: block; margin-top: 6px; font-size: 20px; }
.muted { color: #6b7280; }
.compliance {
  border-left: 4px solid #0f766e;
  background: #f0fdfa;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
