:root {
  --card-pad: 20px;
}

.main {
  padding: 22px 28px 32px;
  background: var(--content-surface);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--card-pad);
  margin-bottom: 18px;
  box-shadow: 0 14px 30px var(--shadow);
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-family: "Space Grotesk", "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  letter-spacing: 0.02em;
}

.notice.ok {
  background: rgba(47, 143, 157, 0.12);
  border: 1px solid rgba(47, 143, 157, 0.3);
  color: var(--ink);
}

.notice.error {
  background: rgba(224, 123, 60, 0.12);
  border: 1px solid rgba(224, 123, 60, 0.35);
  color: var(--ink);
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-family: "Space Grotesk", "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input, select, button, textarea {
  font-family: "Space Grotesk", "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  text-align: left;
}

th {
  text-transform: uppercase;
  font-family: "Space Grotesk", "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 27, 38, 0.08);
}

.tag.blocked {
  background: rgba(224, 123, 60, 0.2);
}

.tag.admin {
  background: rgba(47, 143, 157, 0.2);
}

.status-line {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.status-line.is-hidden {
  visibility: hidden;
}
