/* nia-portal ブランド: ダークネイビー・パープル・白(nia_MASTER_SPEC_v2.md Section 27) */
:root {
  --bg: #0b0e1a;
  --panel: #12172a;
  --line: #262c44;
  --text: #edf1ff;
  --muted: #98a2bd;
  --purple: #8b5cf6;
  --danger: #fb7185;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  min-height: 100vh;
}

#app { max-width: 960px; margin: 0 auto; padding: 24px 16px; }

.brand { font-size: 20px; font-weight: 800; letter-spacing: .04em; margin-bottom: 24px; }
.brand span { color: var(--purple); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

input, textarea, select, button {
  font: inherit;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 10px 12px;
}

input, textarea, select {
  background: var(--bg);
  color: var(--text);
  width: 100%;
  margin-bottom: 12px;
  display: block;
}

textarea { resize: vertical; font-family: inherit; }

label { display: block; margin-bottom: 4px; }

button {
  background: var(--purple);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

button:disabled { opacity: .5; cursor: not-allowed; }

button.muted-btn, .muted-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.nav-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-grid button { margin: 0; }

.error-text { color: var(--danger); font-size: 13px; margin-bottom: 12px; }
.muted { color: var(--muted); font-size: 13px; }

.member-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.member-row:last-child { border-bottom: none; }
