:root {
  --text: #eef6f8;
  --muted: #9bb8c0;
  --accent: #c8f4ff;
  --danger: #ff8b7a;
  --ok: #8ee7c5;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Segoe UI", "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: #10232b;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 28%, #3a8a96 0%, transparent 38%),
    radial-gradient(circle at 82% 18%, #2b6d78 0%, transparent 42%),
    radial-gradient(circle at 48% 78%, #347f88 0%, transparent 36%),
    linear-gradient(140deg, #0e1f26, #1a3d46 50%, #21535c);
  background-size: 140% 140%;
  animation: tide 22s ease-in-out infinite;
}
@keyframes tide {
  0% { transform: translate3d(-4%, -2%, 0) scale(1.05); }
  50% { transform: translate3d(5%, 3%, 0) scale(1.12); }
  100% { transform: translate3d(-4%, -2%, 0) scale(1.05); }
}
textarea, input { resize: none; }
.top, .panel, .pill, textarea, input, button {
  background: rgba(16, 34, 40, 0.22);
  border: 1px solid rgba(200, 244, 255, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  position: sticky;
  top: 0;
}
.brand { display: flex; gap: 10px; align-items: center; }
.mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(200, 244, 255, 0.2);
  border: 1px solid rgba(200, 244, 255, 0.35);
}
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border-radius: 999px;
  padding: 6px 12px;
  display: flex; gap: 8px; align-items: baseline;
}
.pill b { font-size: 14px; }
.pill span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.app {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: calc(100vh - 69px);
}
.panel {
  margin: 16px;
  padding: 22px;
  border-radius: 22px;
}
.feed { padding: 16px 24px 48px; }
h1 { margin: 0 0 6px; font-size: 22px; }
h2 { margin: 0; font-size: 16px; }
.lead { color: var(--muted); margin: 0 0 18px; line-height: 1.45; }
.muted { color: var(--muted); font-size: 13px; }
label {
  display: block; margin: 14px 0 6px;
  color: var(--muted); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
}
textarea, input {
  width: 100%;
  color: var(--text);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
}
textarea:focus, input:focus {
  outline: none;
  border-color: rgba(200, 244, 255, 0.55);
}
details { margin-top: 14px; }
summary { cursor: pointer; color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.takeover { align-items: center; }
.takeover input { flex: 1; min-width: 140px; }
button {
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, filter .15s ease;
}
button:hover:not(:disabled) {
  filter: brightness(0.78);
}
button:active:not(:disabled) {
  transform: translateY(1px) scale(0.97);
  filter: brightness(0.62);
}
button:disabled { opacity: .38; cursor: not-allowed; }
button.primary {
  background: rgba(200, 244, 255, 0.82);
  color: #102228;
  border-color: transparent;
  font-weight: 700;
}
button.danger { color: var(--danger); }
.feed-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 12px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(200, 244, 255, 0.12);
}
.timeline .kicker {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.timeline p {
  margin: 8px 0 0;
  color: #dff4f8;
  white-space: pre-wrap;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
}
.timeline .empty { color: var(--muted); border-style: dashed; font-family: inherit; }
.human { border-color: rgba(154, 216, 255, 0.6); }
.done { border-color: rgba(142, 231, 197, 0.6); }
.saved-wrap { margin-top: 28px; }
.saved { font-size: 13px; color: var(--muted); margin-top: 8px; }
.saved div { padding: 8px 0; border-bottom: 1px solid rgba(200,244,255,0.12); }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
}

.hero, .auth { max-width: 640px; padding: 64px 24px; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-size: 12px; }
.hero h1 { font-size: 42px; line-height: 1.1; margin: 10px 0 16px; }
.primary-link, .ghost {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
}
.primary-link {
  background: rgba(200, 244, 255, 0.82);
  color: #102228;
  font-weight: 700;
}
.ghost { color: var(--text); border: 1px solid rgba(200,244,255,.25); }
a.brand { text-decoration: none; color: inherit; }
