:root {
  --bg: #f6f4ef;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #0f766e;
  --accent-2: #115e59;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 600px at 20% 10%, #efe7d6 0%, transparent 55%),
              radial-gradient(1000px 500px at 80% 0%, #d8efe9 0%, transparent 60%),
              var(--bg);
  color: var(--text);
}
.card {
  width: min(560px, calc(100% - 32px));
  margin: 48px auto;
  padding: 22px 22px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(31, 41, 55, 0.08);
}
.card.wide { width: min(1200px, calc(100% - 32px)); }
h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: 0.2px; }
.muted { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.flash { padding: 10px 12px; border: 1px solid #f0d8a8; background: #fff7e6; border-radius: 10px; margin: 12px 0 14px; font-size: 13px; }
.form label { display: block; font-size: 13px; margin: 10px 0 8px; }
input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
}
button {
  margin-top: 14px;
  width: 100%;
  padding: 10px 12px;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}
button:hover { background: var(--accent-2); }
.footer { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.btn {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}
.table-wrap { margin-top: 14px; overflow: auto; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 10px 10px; border-bottom: 1px solid var(--border); font-size: 13px; white-space: nowrap; }
th { text-align: left; background: #fafafa; position: sticky; top: 0; }
tbody tr:hover td { background: #fcfcfc; }
