:root {
  color-scheme: light dark;
  --bg: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --line: rgba(148, 163, 184, 0.22);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --danger: #f87171;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #020617, #111827);
  color: var(--text);
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
.hero, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(16px);
}
.hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.eyebrow {
  color: var(--accent);
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
h1, h2 { margin: 0; }
.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.status, .meta {
  color: var(--muted);
  font-size: 14px;
}
.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}
.channel-row, .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.channel-input, input[type="date"], input[type="datetime-local"] {
  flex: 1 1 280px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.5);
  color: var(--text);
  padding: 0 14px;
}
button, .link {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  cursor: pointer;
  font: inherit;
}
button.primary {
  background: var(--accent);
  color: #082f49;
  font-weight: 700;
}
button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.link {
  color: var(--accent);
  border-color: var(--line);
}
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.32);
  margin-bottom: 12px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.text {
  white-space: pre-wrap;
  line-height: 1.5;
  margin-bottom: 14px;
}
.note-success { color: var(--accent-2); }
.note-error { color: var(--danger); }
.empty {
  color: var(--muted);
  padding: 14px 0;
}
.channel-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hint-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
@media (max-width: 720px) {
  .hero, .panel-header, .channel-row, .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.reminder-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 280px;
}

.reminder-field span {
  color: var(--muted);
  font-size: 13px;
}


.reminder-actions {
  align-items: flex-end;
}

.reminder-label {
  margin-bottom: 0;
  flex: 1 1 100%;
}

.datetime-input {
  min-width: 240px;
}
