#analytics-consent h2 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

#analytics-consent {
  position: fixed;
  z-index: 10;
  inset-inline: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(820px, 100% - 40px);
  max-height: min(36dvh, 260px);
  margin-inline: auto;
  padding: 18px 20px;
  overflow-y: auto;
  border: 1px solid #d0d4c9;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--home-navy);
  box-shadow: 0 6px 32px rgba(17, 27, 61, 0.1019607843);
}

.consent-copy {
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.consent-copy p {
  margin: 0;
}

.consent-copy a {
  font-weight: 600;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.consent-actions button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--home-navy);
  border-radius: 6px;
  background: var(--home-navy);
  color: #fffdf8;
  font-size: 0.8rem;
  font-weight: 600;
}

.consent-actions button:first-child {
  background: transparent;
  color: var(--home-navy);
}

.consent-actions button:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}

@media (max-width: 600px) {
  #analytics-consent {
    flex-direction: column;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .consent-actions {
    flex-wrap: wrap;
  }
}
[data-finder-reading][aria-busy=true],
[data-continue-reading][aria-busy=true] {
  cursor: progress;
  opacity: 0.75;
}

.public-auth-error {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #933;
}
.public-auth-error p {
  margin: 0 0 8px;
}
.public-auth-error a {
  color: #287458;
  text-decoration: underline;
}

@font-face {
  font-family: "Tools Lora";
  src: url("/book-finder/assets/lora.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("/book-finder/assets/lato.woff2") format("woff2");
  font-display: swap;
}
:root {
  --home-navy: #111b3d;
  --home-cream: #f8f4e9;
  --home-gold: #f5d65b;
  color-scheme: light;
  font: 16px/1.6 Lato, sans-serif;
  color: var(--home-navy);
  background: var(--home-cream);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #385ca4;
  outline-offset: 4px;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: fixed;
  z-index: 10;
  background: white;
  padding: 12px;
}

.site-header {
  display: flex;
  flex: none;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
  background: var(--home-navy);
}
@media (max-width: 600px) {
  .site-header {
    padding: 14px 0;
  }
}
.site-header {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: normal;
  font-synthesis: weight style small-caps;
  font-family: Arial, sans-serif;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-inner {
  display: flex;
  flex: 1;
  flex-direction: row;
  width: 100%;
  max-width: 1248px;
  padding: 0 32px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  overflow: visible;
}
@media (max-width: 600px) {
  .header-inner {
    padding: 0 20px;
  }
}

.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d8dce8;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.header-sign-in:hover {
  background: rgba(255, 255, 255, 0.0941176471);
  border-color: #fff;
}
.header-sign-in:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}

.header-auth-actions [hidden] {
  display: none;
}

.site-header .header-action {
  min-height: 44px;
  flex-shrink: 0;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.031372549);
  border: 1px solid #d8dce8;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.site-header .header-action:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--home-navy), 0 0 0 5px var(--home-gold);
}
.site-header .header-action:hover {
  background: rgba(255, 255, 255, 0.0941176471);
  border-color: #fff;
}
.site-header .header-action:active {
  background: rgba(255, 255, 255, 0.1411764706);
}
.site-header .header-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  text-decoration: none;
}

.site-header .header-action[data-public-auth=sign-up] {
  color: var(--home-navy);
  background: var(--home-gold);
  border-color: var(--home-gold);
}
.site-header .header-action[data-public-auth=sign-up]:hover {
  background: #ffe58a;
  border-color: #ffe58a;
}
.site-header .header-action[data-public-auth=sign-up]:active {
  background: #e9c447;
  border-color: #e9c447;
}

.header-action-mobile {
  display: none;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-header .brand img {
  width: 58px;
  height: auto;
}
.site-header .brand .brand-label {
  color: var(--home-gold);
  font-weight: bold;
  font-size: 1.8rem;
  line-height: normal;
  letter-spacing: -0.03em;
}
.site-header .brand:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .site-header .brand {
    gap: 8px;
  }
  .site-header .brand img {
    width: 40px;
  }
  .site-header .brand .brand-label {
    font-size: 1.3rem;
  }
}
.site-header .brand img {
  display: block;
}

.site-header .brand .brand-label {
  font: 700 28.8px/1.2 Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .site-header .brand .brand-label {
    font-size: 20.8px;
  }
}

.header-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-left: auto;
}
.header-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
}
.header-links a:hover {
  color: var(--home-gold);
}
.header-links a:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}
.header-links a[aria-current] {
  color: var(--home-gold);
  box-shadow: 0 3px var(--home-gold);
}

@media (max-width: 760px) {
  .header-links {
    gap: 8px 16px;
  }
  .header-links a {
    font-size: 13px;
  }
  .site-header .header-action {
    padding: 9px 12px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 12px 0 8px;
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }
  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .site-header .brand img {
    width: 36px;
  }
  .header-links {
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .header-links a {
    font-size: 14px;
  }
  .header-auth-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }
  .header-sign-in {
    padding: 8px 6px;
    font-size: 13px;
  }
  .site-header .header-action {
    padding: 8px 10px;
    font-size: 13px;
  }
  .header-action-desktop {
    display: none;
  }
  .header-action-mobile {
    display: inline;
  }
}
@media (max-width: 360px) {
  .header-inner {
    column-gap: 8px;
  }
  .site-header .brand {
    gap: 6px;
  }
  .site-header .brand img {
    width: 24px;
  }
  .header-sign-in {
    font-size: 12px;
  }
  .site-header .header-action {
    padding-inline: 8px;
  }
}
.wrapper {
  width: min(1184px, 100% - 64px);
  margin-inline: auto;
}
@media (max-width: 600px) {
  .wrapper {
    width: calc(100% - 40px);
  }
}

h1,
h2,
h3 {
  font-family: "Tools Lora", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

h2 {
  font-size: 26px;
  margin: 0 0 12px;
}

h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
}

.hero {
  padding: 28px 0 24px;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 600px) {
  .hero {
    padding: 24px 0 20px;
  }
}
.hero {
  max-width: 880px;
}

.hero h1 {
  margin: 0;
  font-family: "Tools Lora", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  font-synthesis: none;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--home-navy);
  text-wrap: balance;
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.875rem;
  }
}

.eyebrow {
  display: block;
  margin: 0 0 12px;
  font-family: Lato, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  font-synthesis: weight;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #82601e;
}

.lead {
  margin: 12px 0 0;
  max-width: 760px;
  font-family: Lato, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  color: #526075;
}
@media (max-width: 600px) {
  .lead {
    font-size: 1rem;
  }
}

.tool-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 16px;
  font-size: 14px;
  color: #526075;
}

.tool-back + .hero {
  padding-top: 12px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-index-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 24px;
  border: 1px solid #d9d8ce;
  border-radius: 10px;
  background: #fffdf8;
  text-decoration: none;
}

.tool-card:hover {
  border-color: #89997d;
  background: #fffefb;
}

.tool-card h2 {
  font-size: 25px;
}

.tool-card p {
  color: #526075;
  font-size: 15px;
}

.tool-card-meta,
.tool-meta {
  font-size: 13px;
  color: #536548;
}

.tool-card-meta {
  margin-bottom: 16px;
}

.tool-card-action {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  padding-top: 4px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(220px, 1fr);
  gap: 40px;
  align-items: start;
}

.tool-main {
  min-width: 0;
}

.tool-workspace {
  border: 1px solid #d9d8ce;
  border-radius: 10px;
  background: #fffdf8;
  padding: 24px;
}

.tool-button,
.tool-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--home-navy);
  border-radius: 6px;
  background: var(--home-navy);
  color: #fffdf8;
  font: 700 0.9rem/1.4 Lato, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.tool-button:hover,
.tool-button-secondary:hover {
  background: #25355e;
}

.tool-button-secondary {
  background: transparent;
  color: var(--home-navy);
}
.tool-button-secondary:hover {
  background: #f1eee4;
}

button:disabled {
  opacity: 0.55;
  cursor: default;
}

.tool-aside {
  border-top: 2px solid #b4c3a2;
  padding-top: 22px;
  margin-top: 35px;
}

.tool-aside p:not(.eyebrow) {
  color: #526075;
  font-size: 15px;
}

.tool-sample {
  display: block;
  padding: 16px 0 0;
  font-size: 14px;
}

.tool-guide {
  margin-top: 32px;
}

.tool-guide ol {
  padding-left: 22px;
  color: #526075;
}

.tool-guide li {
  padding-left: 6px;
  margin-bottom: 10px;
}

.tool-note {
  padding: 16px 18px;
  border-left: 3px solid #b4c3a2;
  background: #eeeede;
  font-size: 14px;
  color: #526075;
}

.tool-faq {
  margin: 32px 0;
}

.tool-faq details {
  border-bottom: 1px solid #d9d8ce;
}

.tool-faq summary {
  padding: 14px 0;
  min-height: 44px;
  font-weight: 700;
}

.tool-faq details p {
  font-size: 15px;
  color: #526075;
}

.tool-related {
  padding: 32px 0 48px;
  border-top: 1px solid #d9d8ce;
}

.tool-index-guide {
  padding: 40px 0 56px;
  max-width: 760px;
}

.tool-index-guide p {
  color: #526075;
}

.tool-status:empty {
  display: none;
}

.tool-status {
  margin: 16px 0;
  color: #526075;
}

.tool-error,
.tool-notice {
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff1d1;
  margin: 16px 0;
}

.tool-progress {
  color: #526075;
  font-size: 14px;
  margin-bottom: 16px;
}

progress {
  width: 100%;
  height: 7px;
  accent-color: #536548;
}

.tool-question {
  font-size: 26px;
  margin-top: 16px;
}

.tool-passage {
  padding: 18px;
  border-radius: 6px;
  background: #f1eee4;
  white-space: pre-wrap;
  margin-bottom: 22px;
}

.tool-options {
  padding: 0;
  margin: 20px 0 24px;
  border: 0;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.tool-options legend {
  font-size: 19px;
  line-height: 1.5;
  color: var(--home-navy);
  margin-bottom: 16px;
}

.tool-option {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #d3d4cc;
  border-radius: 6px;
  cursor: pointer;
}

.tool-option:has(input:checked) {
  border-color: #536548;
  background: #e8ede2;
}

.tool-option input {
  flex-shrink: 0;
  accent-color: #536548;
  width: 18px;
  height: 18px;
}

.tool-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tool-sections {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.tool-sections > * {
  padding: 12px 16px;
  border-radius: 6px;
  background: #f1eee4;
}

.tool-sections dt {
  font-weight: 700;
}

.tool-sections dd {
  margin: 0;
  color: #526075;
}

.tool-help {
  color: #526075;
  font-size: 14px;
}

.tool-review {
  margin-top: 24px;
}

.tool-results > h3 {
  margin-top: 24px;
}

.tool-review summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 700;
}

.tool-review ol {
  padding-left: 22px;
}

.tool-review li {
  border-bottom: 1px solid #d9d8ce;
  padding: 14px 0;
}

.tool-review p {
  font-size: 14px;
}

.utility-form {
  display: grid;
  gap: 18px;
}

.utility-form p {
  margin: 0;
}

.utility-controls,
.utility-actions,
.utility-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
}

.utility-actions,
.utility-pagination {
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.utility-help,
.utility-author,
.utility-status {
  color: #526075;
  font-size: 14px;
}

.utility-status:empty {
  display: none;
}

.utility-status {
  margin-top: 16px;
}

.utility-error {
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff1d1;
  margin-top: 16px;
}

.tool-workspace label:not(.tool-option) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.tool-workspace input:not([type=radio]):not([type=checkbox]),
.tool-workspace select,
.tool-workspace textarea {
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9ccd2;
  border-radius: 6px;
  background: white;
  color: var(--home-navy);
  font-size: 16px;
}

.tool-workspace textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
}

.tool-workspace input[type=file] {
  width: 100%;
  padding: 12px;
  font-size: 14px !important;
}

.tool-workspace input[type=number] {
  width: 130px;
}

.tool-workspace input[type=checkbox] {
  accent-color: #536548;
  width: 18px;
  height: 18px;
}

.tool-workspace label:has(input[type=checkbox]) {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
}

.utility-results {
  margin-top: 24px;
}

.utility-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px;
  border-radius: 6px;
  background: #e8ede2;
}

.utility-stat strong,
.utility-stat span {
  display: block;
}

.utility-stat strong {
  font-size: 24px;
}

.utility-stat span {
  font-size: 14px;
  color: #526075;
}

.utility-next-step {
  margin-top: 32px;
  border-top: 1px solid #d9d8ce;
  padding-top: 24px;
}

.utility-next-step p {
  color: #526075;
  font-size: 15px;
}

.utility-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}

.tool-workspace table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.tool-workspace td,
.tool-workspace th {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid #deded5;
  overflow-wrap: anywhere;
}

.utility-table caption {
  text-align: left;
  color: #526075;
  margin-bottom: 10px;
}

.utility-table:has(.utility-sentence) {
  min-width: 530px;
}

.utility-table:has(.utility-sentence) th:first-child {
  width: 12%;
}

.utility-table:has(.utility-sentence) th:nth-child(2) {
  width: 23%;
}

.utility-table:has(.utility-sentence) th:nth-child(3) {
  width: 13%;
}

.utility-table:not(:has(.utility-sentence)) th:first-child {
  width: 50%;
}

.tool-workspace th {
  color: #526075;
  font-weight: 700;
}

.tool-workspace small {
  display: block;
  color: #526075;
  font-size: 13px;
  margin-top: 6px;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 32px 24px;
  border-top: 1px solid var(--home-gold, #f5d65b);
  background: var(--home-navy, #111b3d);
}
@media (max-width: 700px) {
  .site-footer {
    padding: 28px 20px;
  }
}
.site-footer {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: normal;
  font-synthesis: weight style small-caps;
}

.footer-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 1184px;
  overflow: visible;
  padding: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    gap: 18px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-label {
  margin: 0;
  color: var(--home-gold, #f5d65b);
  font-size: 1.4rem;
  line-height: normal;
  letter-spacing: -0.025em;
}

.footer-brand h2 {
  font-family: Lato, sans-serif;
}

.footer-second-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (max-width: 700px) {
  .footer-second-column {
    width: 100%;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}
@media (max-width: 700px) {
  .footer-links {
    justify-content: center;
    gap: 4px 20px;
  }
}

.footer-links a,
.footer-links button {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-cream, #f8f4e9);
  font-size: 0.8125rem;
  text-decoration: none;
  cursor: pointer;
}
.footer-links a > :nth-child(2),
.footer-links button > :nth-child(2) {
  margin-left: 5px;
}
.footer-links a:hover,
.footer-links button:hover {
  color: var(--home-gold, #f5d65b);
  text-decoration: underline;
}
.footer-links a:focus-visible,
.footer-links button:focus-visible {
  outline: 2px solid var(--home-gold, #f5d65b);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
}

.footer-made-by {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .footer-made-by {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
  }
}

.footer-made-by-text {
  color: #cbd0df;
  font-size: 0.75rem;
}

.footer-flags {
  display: flex;
}
.footer-flags img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-flags img:not(:first-child) {
  margin-left: 6px;
}

.footer-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

@media (max-width: 950px) {
  .tool-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .tool-aside {
    margin: 0 0 32px;
    padding: 22px;
    border-radius: 8px;
    background: #eeeede;
  }
}
@media (max-width: 600px) {
  .tool-grid,
  .tool-index-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .tool-card,
  .tool-workspace {
    padding: 20px;
  }
  .tool-question {
    font-size: 23px;
  }
  .tool-option {
    padding: 12px;
  }
  .tool-actions {
    gap: 10px;
  }
  .tool-actions .tool-button {
    flex: 1 1 auto;
  }
  .utility-controls {
    gap: 12px;
  }
  .tool-workspace td,
  .tool-workspace th {
    padding: 10px 6px;
    font-size: 13px;
  }
  h2 {
    font-size: 25px;
  }
}