/* The library follows the app theme. These pages do too, once that choice is known. */
html[data-lean-theme='dark'] {
  color-scheme: dark;
  --ink: #e8eae6;
  --ledger: #0f1512;
  --folio: #171b16;
  --raised: #202623;
  --verdigris: #5c9a98;
  --copper: #c67b5c;
  --gilt: #b79355;
  --madder: #c25549;
  --ink-muted: color-mix(in srgb, var(--ink) 72%, var(--ledger));
  --ink-subtle: color-mix(in srgb, var(--ink) 56%, var(--ledger));
  --hairline: color-mix(in srgb, var(--ink) 14%, transparent);
  --hairline-strong: color-mix(in srgb, var(--ink) 28%, transparent);
}

.leave-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.leave-main h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.leave-lead,
.leave-answer {
  max-width: 68ch;
  font-size: 1.05rem;
}

.leave-answer p {
  margin: 0 0 0.85rem;
}

.leave-answer p.leave-includes-label {
  margin-bottom: 0.35rem;
}

.leave-includes {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.leave-crumb {
  color: var(--ink-muted);
  margin: 0 0 12px;
}

.leave-search {
  margin: 20px 0 12px;
}

.leave-search input {
  width: min(100%, 36rem);
  padding: 12px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--raised);
  font: inherit;
  color: inherit;
}

.leave-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.leave-chips button {
  font: inherit;
  color: inherit;
  background: var(--raised);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.leave-chips button[aria-pressed='true'] {
  background: var(--verdigris);
  border-color: var(--verdigris);
  color: white;
}

.leave-results {
  margin: 0 0 28px;
}

.leave-results ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.leave-results li {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.leave-results a {
  font-weight: 600;
  color: var(--verdigris);
}

.leave-results p,
.leave-locked {
  margin: 6px 0 0;
  color: var(--ink-muted);
}

.leave-open {
  margin: 18px 0 0;
}

.leave-open button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: var(--verdigris);
  color: #fff;
  font: inherit;
  font-size: 15px;
  padding: 10px 16px;
  cursor: pointer;
}

.nav-email {
  color: var(--ink-subtle);
  font-size: 14px;
}

.leave-full {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.leave-full h2 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
}

.leave-full h3 {
  margin: 16px 0 4px;
  font-size: 1rem;
}

.leave-full p,
.leave-full li {
  margin: 4px 0;
}

.leave-rule {
  margin: 16px 0 0;
}

.leave-full ul {
  margin: 4px 0 8px;
  padding-left: 1.25rem;
}

.leave-full li > ul {
  margin-bottom: 0;
}

.leave-table-wrap {
  overflow-x: auto;
  margin: 12px 0 36px;
}

.leave-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--raised);
}

.leave-table th,
.leave-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
}

.leave-table th {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.leave-table a {
  color: var(--verdigris);
  font-weight: 600;
}

.leave-states,
.leave-programs,
.leave-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.leave-states a,
.leave-programs a,
.leave-rules a {
  color: var(--verdigris);
  font-weight: 600;
}

.leave-states span,
.leave-programs span {
  color: var(--ink-muted);
}

.leave-main .coverage {
  margin: 28px 0 36px;
}

.nav-signout {
  display: flex;
  margin: 0;
}

.nav-signout button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
}

.nav-signout button:hover {
  color: var(--ink);
}

.nav-simple .nav-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--verdigris);
  color: #f4faf8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.btn-signup:hover {
  color: #f4faf8;
}
