.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: white;
  cursor: pointer;
  text-decoration: none;
}
.button:hover { background: var(--green-dark); }
.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.button:disabled { cursor: not-allowed; opacity: .55; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field input,
.field select,
.field textarea {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  background: white;
  color: var(--ink);
}
.field-error { min-height: 20px; color: var(--coral); font-size: 12px; }
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toast-region {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: grid;
  gap: 8px;
}
.toast {
  max-width: min(360px, calc(100vw - 32px));
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}
.network-banner { position: fixed; top: 0; left: 50%; z-index: 1000; transform: translateX(-50%); min-height: 30px; padding: 6px 14px; border-radius: 0 0 6px 6px; background: var(--ink); color: white; font-size: 12px; }
.button.small { min-height: 36px; padding: 6px 10px; }
.icon-command {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.icon-command:hover { background: var(--surface-muted); }
.icon-command.danger { color: var(--coral); }
.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 5px;
  padding: 3px 7px;
  background: var(--surface-muted);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
}
.badge.danger { color: var(--coral); }
