:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--primary); text-decoration: none; }
button {
  background: var(--primary); color: white; border: 0; border-radius: 10px;
  padding: 10px 14px; cursor: pointer;
}
button:hover { background: var(--primary-dark); }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white;
}
.field { margin-bottom: 14px; }
.message { margin-top: 12px; color: var(--muted); }
.card, .panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-card { width: 100%; max-width: 420px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.container { max-width: 1000px; margin: 20px auto; padding: 20px; }
.modal.hidden { display: none; }
.modal {
  position: fixed; inset: 0; background: rgba(15,23,42,0.45); display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal-box {
  width: min(680px, 92vw); max-height: 88vh; overflow: auto;
  background: white; border-radius: 18px; padding: 18px; border: 1px solid var(--line);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.list-item {
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff;
}
.muted { color: var(--muted); }
