:root {
  color-scheme: light;
  --entry-bg: #f5f1eb;
  --entry-ink: #111827;
  --entry-muted: #667085;
  --entry-card: #ffffff;
  --entry-green: #238b5b;
  --entry-green-dark: #176743;
  --entry-line: #e2e5e1;
}

* {
  box-sizing: border-box;
}

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

body.entry-page {
  margin: 0;
  min-height: 100dvh;
  background: var(--entry-bg);
  color: var(--entry-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.entry-shell {
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px 22px 32px;
  display: flex;
  flex-direction: column;
}

.entry-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.entry-brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--entry-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(35, 139, 91, 0.2);
}

.entry-brand__mark .material-symbols-rounded {
  font-size: 28px;
}

.entry-content {
  width: 100%;
  margin: auto 0;
  padding: 34px 0 18px;
}

.entry-preview {
  padding: 22px;
  border-radius: 24px;
  background: var(--entry-card);
  box-shadow: 0 16px 34px rgba(39, 47, 58, 0.12);
}

.entry-preview__top,
.entry-preview__summary,
.entry-preview__items > div {
  display: flex;
  align-items: center;
}

.entry-preview__top {
  justify-content: space-between;
  gap: 14px;
}

.entry-preview__eyebrow {
  color: var(--entry-green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.entry-preview h2 {
  margin: 3px 0 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

.entry-preview__people {
  display: flex;
  padding-left: 12px;
}

.entry-preview__people span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: -9px;
  border: 2px solid var(--entry-card);
  border-radius: 50%;
  background: #f3c84b;
  color: #243243;
  font-size: 0.7rem;
  font-weight: 800;
}

.entry-preview__people span:nth-child(2) {
  background: #a8d7f0;
}

.entry-preview__people span:nth-child(3) {
  background: #f3abc4;
}

.entry-preview__progress {
  height: 9px;
  margin: 20px 0 14px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9eeeb;
}

.entry-preview__progress span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: var(--entry-green);
}

.entry-preview__summary {
  color: var(--entry-muted);
  font-size: 0.9rem;
}

.entry-preview__summary strong {
  color: var(--entry-ink);
}

.entry-preview__items {
  display: grid;
  gap: 13px;
  margin-top: 19px;
}

.entry-preview__items > div {
  gap: 11px;
  min-height: 28px;
  font-size: 1rem;
}

.entry-preview__items small {
  margin-left: 4px;
  color: var(--entry-muted);
  font-size: 0.78rem;
}

.entry-preview__items em {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 99px;
  background: #fde8d9;
  color: #925128;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.entry-preview__check {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  border: 1.5px solid #9ba5a1;
  border-radius: 7px;
  color: transparent;
}

.entry-preview__check.is-done {
  border-color: var(--entry-green);
  background: var(--entry-green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.entry-preview__items .is-done {
  color: var(--entry-muted);
  text-decoration: line-through;
}

.entry-copy {
  margin-top: 32px;
}

.entry-copy h1 {
  max-width: 390px;
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.entry-copy p {
  margin: 14px 0 0;
  color: var(--entry-muted);
  font-size: 1.08rem;
}

.entry-actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.entry-action {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.entry-action:hover,
.entry-action:focus-visible {
  transform: translateY(-1px);
}

.entry-action--primary {
  background: var(--entry-green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(35, 139, 91, 0.2);
}

.entry-action--primary:hover,
.entry-action--primary:focus-visible {
  background: var(--entry-green-dark);
  color: #fff;
}

.entry-action--secondary {
  border-color: var(--entry-line);
  background: var(--entry-card);
  color: var(--entry-ink);
}

.entry-action--secondary:hover,
.entry-action--secondary:focus-visible {
  color: var(--entry-ink);
  box-shadow: 0 8px 18px rgba(39, 47, 58, 0.1);
}

@media (min-width: 700px) {
  .entry-shell {
    padding-top: 42px;
  }

  .entry-content {
    padding-top: 48px;
  }

  .entry-copy h1 {
    font-size: 3rem;
  }
}

[data-theme="dark"] body.entry-page {
  --entry-bg: #101827;
  --entry-ink: #f8fafc;
  --entry-muted: #aab5c7;
  --entry-card: #1a2537;
  --entry-line: #34445c;
}

[data-theme="dark"] .entry-preview__progress {
  background: #2d3c50;
}

[data-theme="dark"] .entry-preview__summary strong,
[data-theme="dark"] .entry-action--secondary {
  color: #f8fafc;
}

[data-theme="dark"] .entry-preview__people span {
  border-color: var(--entry-card);
}
