/* Minimal Polaris-like look (admin background, white cards, Polaris button colours). */
:root {
  --bg: #f1f1f1;
  --surface: #ffffff;
  --text: #303030;
  --subdued: #616161;
  --border: #e3e3e3;
  --primary: #303030;
  --critical: #8e1f0b;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  font-size: 14px;
  color: var(--text);
}

body { margin: 0; background: var(--bg); }
.page { max-width: 760px; margin: 0 auto; padding: 20px 16px; }
.page-title { font-size: 20px; font-weight: 650; margin: 0 0 16px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07), inset 0 0 0 1px var(--border);
  padding: 16px;
  margin-bottom: 16px;
}
.card-title { font-size: 14px; font-weight: 650; margin: 0 0 12px; }

.subdued { color: var(--subdued); }
.small { font-size: 12px; }

.list { list-style: none; margin: 0; padding: 0; }
.list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--border);
}
.list-item:first-child { border-top: 0; }

.actions { margin: 12px 0 8px; }
.button {
  font: inherit; font-weight: 550; cursor: pointer;
  border-radius: 8px; padding: 6px 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.button:disabled { opacity: 0.5; cursor: default; }
.button-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.button-critical { color: var(--critical); }

.banner {
  border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px;
  background: #eaf4ff; color: #00527c;
}
.banner-critical { background: #fee9e8; color: var(--critical); }
.banner-warning { background: #fff1e3; color: #5e4200; }
