:root {
  --bg: #e2e3e1;
  --panel: rgba(250, 250, 248, .88);
  --ink: #272a29;
  --muted: #5c605e;
  --line: rgba(40, 42, 41, .23);
  --accent: #3d4441;
  --accent2: #d7c66b;
  --new: rgba(219, 190, 92, .22);
  --fresh: rgba(137, 162, 141, .2);
  --danger: #874b45;
  --shadow: 0 12px 32px rgba(18, 20, 19, .12);
}

html,
body {
  min-height: 100%;
  background: transparent;
}

body {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background-color: #dedfdd;
}

.page-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-color: #d8d9d7;
  background-image: linear-gradient(rgba(244, 244, 241, .08), rgba(244, 244, 241, .08)), url("assets/onboarding-ink.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image .25s ease;
}

body[data-page="search"] .page-backdrop {
  background-image: linear-gradient(rgba(246, 246, 243, .12), rgba(246, 246, 243, .12)), url("assets/search-watercolor.webp");
  background-position: center 52%;
}

body[data-page="results"] .page-backdrop {
  background-image: linear-gradient(rgba(247, 247, 244, .16), rgba(247, 247, 244, .16)), url("assets/results-ink.webp");
  background-position: center;
}

.topbar,
.tabs,
main {
  position: relative;
}

.topbar {
  max-width: none;
  padding-inline: clamp(14px, 4vw, 46px);
  background: rgba(247, 247, 244, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar h1 {
  letter-spacing: .015em;
}

.tabs {
  background: rgba(241, 242, 239, .78);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.tabs button.active {
  background: #333836;
  border-color: #d1bb57;
  color: #fff;
}

main {
  background: transparent;
}

.hero,
.card,
.wizard-card,
.filterbar,
.job,
.entry,
.topic-entry,
.topic-rating,
.proposal-section,
.signal,
.source-item,
.status {
  background-color: rgba(250, 250, 248, .86);
  border-color: var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero {
  background: rgba(250, 250, 248, .72);
}

.priority-questions {
  background: rgba(215, 198, 107, .16);
}

.topic-progress span {
  background: rgba(222, 223, 219, .92);
  color: var(--muted);
}

.topic-progress span.current {
  background: rgba(215, 198, 107, .38);
  color: var(--ink);
}

.entry-details,
.topic-details,
.more-entries {
  background: rgba(250, 250, 248, .76);
  border-color: var(--line);
}

.entry-details > summary,
.topic-details > summary,
.more-entries > summary {
  background: rgba(222, 223, 219, .68);
  color: var(--ink);
}

.progress-ring {
  background: rgba(255, 255, 253, .94);
  border-color: rgba(215, 198, 107, .65);
}

input,
select,
textarea {
  background: rgba(255, 255, 253, .96);
  border-color: rgba(40, 42, 41, .27);
}

button,
.filebtn {
  background: rgba(250, 250, 248, .92);
  border-color: rgba(40, 42, 41, .35);
}

button.primary {
  background: #333836;
  border-color: #cbb755;
  color: #fff;
}

.pill,
.tag {
  background: rgba(222, 223, 219, .92);
}

.job.new {
  background: linear-gradient(90deg, var(--new), rgba(250, 250, 248, .94) 24%);
}

.job.fresh {
  box-shadow: inset 0 0 0 2px rgba(104, 136, 112, .62), var(--shadow);
}

.why {
  background: rgba(219, 229, 218, .94);
  color: #3b4840;
}

.status {
  border-left-color: #c7ae48;
}

:focus-visible {
  outline: 3px solid rgba(202, 174, 67, .88);
  outline-offset: 2px;
}

@media (max-width: 650px) {
  .page-backdrop {
    background-position: center;
  }
}
