:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202d28;
  background: #f5f3ed;
  --page-background: #f5f3ed;
  --panel-background: #fffefa;
  --panel-border: #e5e2d8;
  --text-primary: #202d28;
  --text-secondary: #6e7972;
  --text-muted: #76827a;
  --status-background: #faf9f5;
  --status-border: #eeece5;
  --success: #27694f;
  --success-hover: #1e583f;
  --error: #a23a34;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  color: var(--text-primary);
  background: var(--page-background);
}

.panel {
  width: min(100%, 520px);
  padding: clamp(28px, 7vw, 52px);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: var(--panel-background);
  box-shadow: 0 24px 70px rgb(46 56 47 / 9%);
}

.status-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 3.5rem);
  letter-spacing: -0.06em;
}

.bell-button {
  width: 100%;
  min-height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 18px;
  background: var(--success);
  color: white;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 8px 20px rgb(39 105 79 / 22%);
}

.bell-button:hover {
  background: var(--success-hover);
  transform: translateY(-2px);
}

.bell-button:active {
  transform: translateY(1px) scale(0.99);
}

.bell-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.bell-icon {
  width: 24px;
  height: 24px;
}

.feedback {
  min-height: 24px;
  margin: 12px 0 26px;
  color: var(--success);
  text-align: center;
  font-size: 0.9rem;
}

.feedback.error {
  color: var(--error);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

h2 {
  margin: 0;
  font-size: 1rem;
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-card {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--status-border);
  border-radius: 14px;
  background: var(--status-background);
}

.status-label {
  font-size: 0.65rem;
}

.status-value {
  overflow-wrap: anywhere;
  margin: 6px 0 0;
  font-size: 0.95rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-background: #151a18;
    --panel-background: #202724;
    --panel-border: #343e38;
    --text-primary: #edf2ee;
    --text-secondary: #b2bdb5;
    --text-muted: #a0ada4;
    --status-background: #272f2b;
    --status-border: #39443d;
    --success: #79c69e;
    --success-hover: #5daf84;
    --error: #ff9388;
  }

  .bell-button {
    color: #14251b;
    box-shadow: 0 8px 20px rgb(0 0 0 / 22%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
