:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f9fafc;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #dfe4ec;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --danger: #dc2626;
  --success: #047857;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.primary,
.ghost {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 16px;
  font-weight: 700;
}

.primary {
  background: var(--primary);
  color: white;
}

.primary:hover {
  background: var(--primary-dark);
}

.ghost {
  background: white;
  border-color: var(--line);
  color: var(--text);
}

.danger {
  color: var(--danger);
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  padding: 11px 12px;
  font-weight: 400;
}

.field textarea {
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
}

.stack {
  display: grid;
  gap: 14px;
}

.form-message {
  min-height: 22px;
  margin: 6px 0 0;
  color: var(--success);
  font-size: 14px;
}

.form-message.error {
  color: var(--danger);
}

.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hidden {
  display: none !important;
}

