:root {
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #293a33;
  --muted: #6f766d;
  --green: #415b46;
  --line: #e3e4da;
  --serif: 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', Georgia, serif;
  --sans: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid #9caa78;
  outline-offset: 4px;
}
p,
h1,
h2,
h3 {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
p {
  color: var(--muted);
}
.site-header {
  max-width: 1260px;
  margin: auto;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Georgia, serif;
  font-size: 29px;
  letter-spacing: -0.8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--green);
  border: 1px solid #cbd2c3;
  border-radius: 50%;
}
.beta {
  font: 10px var(--sans);
  letter-spacing: 1.5px;
  background: #e9ede0;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 3px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #606d60;
}
.site-header nav a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.home-intro {
  max-width: 1260px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 60px;
  padding: 70px 48px 72px;
  align-items: center;
}
.eyebrow {
  font: 11px/1.5 var(--sans);
  letter-spacing: 2.3px;
  color: #77816f;
  display: block;
  margin-bottom: 22px;
}
.intro-copy .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}
.intro-copy .eyebrow > span {
  width: 24px;
  height: 1px;
  background: #9daa88;
}
.intro-copy h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.75;
  letter-spacing: 2.7px;
  margin: 28px 0 28px;
}
.accent-word {
  color: #627849;
  position: relative;
}
.accent-word:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 5px;
  background: #dce4ce;
  z-index: -1;
}
.intro-lead {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.9px;
  color: #4f5e50;
  margin-bottom: 22px;
}
.intro-description {
  font-size: 14px;
  line-height: 2.2;
  color: #768071;
}
.intro-quote {
  margin-top: 30px;
  border-left: 2px solid #bdc7aa;
  padding-left: 18px;
}
.intro-quote > span {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 1px;
}
.intro-quote p {
  font-size: 12px;
  margin: 6px 0;
}
.intro-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7e8778;
  font-size: 11px;
  margin-top: 42px;
}
.consultation-card {
  border: 1px solid #dde2d2;
  background: var(--white);
  padding: 30px 32px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 32px #344a3210;
}
.form-kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #8a947a;
  margin-bottom: 16px;
}
.consultation-card label {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.form-help {
  font-size: 13px;
  line-height: 1.95;
  margin-bottom: 20px;
}
.textarea-wrap {
  position: relative;
}
.textarea-wrap textarea {
  resize: vertical;
  width: 100%;
  min-height: 165px;
  max-height: 450px;
  border: 1px solid #e1e3d9;
  background: #fafbf6;
  color: var(--ink);
  padding: 16px 16px 36px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.9;
}
.textarea-wrap textarea::placeholder {
  color: #9da397;
}
.character-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 10px;
  color: #989f91;
  pointer-events: none;
}
.example-label {
  font-size: 11px;
  color: #8b937f;
  margin: 10px 0 7px;
}
.example-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.example-chips button {
  border: 1px solid #e3e6d9;
  color: #738265;
  background: #f8faf3;
  border-radius: 18px;
  padding: 4px 13px;
  font-size: 12px;
}
.example-chips button:hover {
  background: #edf1e4;
}
.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 13px 22px;
  font-size: 15px;
  min-height: 48px;
  transition: background 0.2s;
}
.primary-button:hover:not(:disabled) {
  background: #314934;
}
.find-button {
  width: 100%;
  font-size: 14px;
}
.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #87907a;
  font-size: 10px;
  margin: 12px 0 0;
}
.ai-disclosure {
  font-size: 11px;
  color: #828a79;
  line-height: 1.7;
  margin: 8px 0 0;
  text-align: left;
}
.consultation-card > .ai-disclosure {
  text-align: center;
}
.error-message {
  color: #9c3b34;
  font-size: 13px;
  background: #fcf2ee;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 0;
}
.spin {
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.how-section {
  background: #eeefe6;
  border-top: 1px solid #e4e6d9;
  border-bottom: 1px solid #e4e6d9;
  padding: 38px 48px 44px;
}
.section-heading {
  text-align: center;
}
.section-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}
.section-heading h2,
.library-heading h2 {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}
.how-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.how-grid > div {
  text-align: center;
}
.how-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #738465;
  margin-bottom: 12px;
}
.how-icon > span {
  font-family: Georgia, serif;
  font-size: 12px;
  color: #9aa58e;
}
.how-grid h3 {
  font-size: 14px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.how-grid p {
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
}
.library-section {
  max-width: 1260px;
  padding: 58px 48px 64px;
  margin: auto;
}
.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.library-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.library-heading h2 {
  margin-bottom: 28px;
}
.text-link {
  font-size: 13px;
  color: #667954;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.book-cover {
  aspect-ratio: 3/4;
  padding: 21px 15px;
  position: relative;
  border-radius: 2px 5px 5px 2px;
  overflow: hidden;
  box-shadow: 4px 5px 10px #34413714;
  border-left: 6px solid #00000010;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f6f3e8;
  min-width: 0;
}
.book-cover:before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #ffffff35;
  pointer-events: none;
}
.book-cover.olive {
  background: linear-gradient(155deg, #919869, #48533b);
}
.book-cover.ochre {
  background: linear-gradient(145deg, #c1a574, #8f7043);
}
.book-cover.slate {
  background: linear-gradient(145deg, #9baaa8, #4d6265);
}
.book-cover.clay {
  background: linear-gradient(150deg, #c9977d, #905f4e);
}
.book-cover.indigo {
  background: linear-gradient(150deg, #8f97ac, #49566f);
}
.book-cover.moss {
  background: linear-gradient(155deg, #b2b195, #707a62);
}
.cover-frame {
  min-width: 0;
}
.book-cover.licensed-cover {
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.book-cover.licensed-cover::before {
  content: none;
}
.licensed-cover-image {
  object-fit: contain;
  object-position: center;
}
.cover-credit {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.cover-category {
  font:
    8px Georgia,
    serif;
  letter-spacing: 1.8px;
  position: absolute;
  top: 20px;
}
.cover-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 2px;
  text-wrap: balance;
}
.small .cover-title {
  font-size: 18px;
}
.cover-line {
  width: 25px;
  height: 1px;
  background: #ffffff80;
  margin: 15px 0 10px;
}
.cover-english {
  font:
    italic 10px/1.5 Georgia,
    serif;
  letter-spacing: 0.7px;
  max-width: 90%;
}
.work-meta {
  font-size: 11px;
  color: #8a8e80;
  display: block;
  margin-top: 12px;
}
.work-meta span {
  margin: 0 8px;
}
.library-card h3 {
  font-size: 13px;
  line-height: 1.7;
  margin: 3px 0;
}
.library-card:hover .book-cover {
  transform: translateY(-4px);
  transition: transform 0.2s;
}
.library-card a:focus-visible,
.amazon-cover-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
.library-card h2 a:hover,
.recommendation-copy h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-footer:has(.affiliate-notice) {
  flex-wrap: wrap;
}
.affiliate-notice {
  flex-basis: 100%;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.site-footer {
  max-width: 1164px;
  margin: auto;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #8a9181;
}
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer > div:first-child {
  gap: 8px;
}
.page-intro {
  text-align: center;
  margin-bottom: 40px;
}
.page-intro h1 {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.page-intro p {
  font-size: 14px;
}
.results-page {
  max-width: 1060px;
  margin: auto;
  padding: 56px 40px;
}
.analysis-tags,
.theme-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.analysis-tags {
  justify-content: center;
  margin-top: 20px;
}
.analysis-tags span,
.theme-tags span {
  color: #6a7d57;
  font-size: 11px;
  background: #eef1e5;
  border: 1px solid #e3e8d8;
  border-radius: 20px;
  padding: 3px 12px;
}
.demo-badge {
  display: inline-block;
  font-size: 11px;
  background: #ecebdd;
  color: #807b56;
  padding: 4px 10px;
  border-radius: 4px;
}
.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.recommendation-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.recommendation-cover {
  position: relative;
  padding-top: 16px;
}
.recommendation-number {
  position: absolute;
  top: -10px;
  left: 0;
  font-family: Georgia, serif;
  font-size: 20px;
  color: #9da88e;
}
.recommendation-copy h2 {
  font-family: var(--serif);
  font-size: 27px;
  margin: 4px 0 10px;
}
.work-description {
  font-size: 13px;
  line-height: 1.9;
}
.recommendation-reason {
  border-left: 2px solid #c6d0b5;
  padding-left: 16px;
  margin: 18px 0;
}
.recommendation-reason > span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #799160;
}
.recommendation-reason p {
  font-size: 14px;
  line-height: 2;
  color: #56644f;
  margin: 6px 0;
}
.commonality {
  font-size: 12px;
  margin-top: 14px;
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid #cbd3be;
  border-radius: 4px;
  color: #60734d;
  background: transparent;
  font-size: 13px;
  min-height: 42px;
}
.secondary-button:hover {
  background: #eef1e5;
}
.feedback {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.feedback > p {
  font-size: 12px;
  margin-bottom: 9px;
}
.feedback > div {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.feedback button {
  background: transparent;
  border: 1px solid #dce2d0;
  border-radius: 4px;
  color: #7b8671;
  padding: 5px 9px;
  font-size: 11px;
  min-height: 36px;
}
.feedback button.selected {
  background: #e7efdc;
  color: #456139;
  border-color: #7e9565;
}
.feedback-status {
  font-size: 11px !important;
  min-height: 18px;
  margin: 7px 0 0 !important;
  color: #63864b;
}
.quiet-note {
  text-align: center;
  margin: 40px 0 10px;
}
.quiet-note p {
  font-family: var(--serif);
  font-size: 14px;
}
.narrow {
  max-width: 800px;
  padding: 64px 40px;
  margin: auto;
}
.safety-page {
  min-height: 65vh;
}
.safety-page h1 {
  font-family: var(--serif);
  font-size: 28px;
  margin-top: 22px;
}
.safety-page p {
  font-size: 16px;
  line-height: 2.2;
}
.all-works {
  max-width: 1164px;
  margin: auto;
  padding: 56px 0;
}
.all-works .library-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 38px 26px;
}
.all-works .library-card h2 {
  font-size: 15px;
  margin: 5px 0;
}
.all-works .library-card p {
  font-size: 12px;
  line-height: 1.8;
}
.work-detail {
  max-width: 940px;
  margin: auto;
  padding: 40px;
}
.breadcrumb {
  font-size: 12px;
  color: #7f8b73;
  display: block;
  margin-bottom: 30px;
}
.detail-heading {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  margin-bottom: 46px;
}
.detail-heading h1 {
  font-family: var(--serif);
  font-size: 34px;
  margin-bottom: 2px;
}
.detail-heading .eyebrow {
  margin-bottom: 14px;
}
.detail-english {
  font:
    italic 15px Georgia,
    serif;
  margin-bottom: 16px;
}
.detail-heading > div > p:not(.detail-english) {
  font-size: 14px;
  line-height: 2;
}
.detail-body {
  max-width: 720px;
  margin: auto;
}
.detail-body section {
  position: relative;
  padding: 20px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.detail-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 10px 0 15px;
}
.detail-body h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.detail-body p {
  font-size: 15px;
  line-height: 2.15;
}
.section-number {
  font:
    13px Georgia,
    serif;
  color: #8da17c;
}
.detail-body .reflection-box {
  background: #eaf0e0;
  border: 1px solid #d9e1ce;
  border-radius: 6px;
  padding: 30px;
  margin: 32px 0;
  text-align: center;
}
.reflection-box h2 {
  font-size: 15px;
  margin-bottom: 20px;
}
.reflection-box .eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}
.reflection-box .reflection-question {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.9;
  color: #425e36;
}
.reflection-box > p:last-child {
  font-size: 12px;
  color: #7c8b6e;
}
.work-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.source-note {
  font-size: 11px !important;
  margin-top: 22px;
}
.source-note a {
  text-decoration: underline;
}
.privacy-page h1 {
  font-family: var(--serif);
  font-size: 30px;
}
.privacy-page h2 {
  font-family: var(--serif);
  font-size: 21px;
  margin-top: 30px;
}
.privacy-page p {
  font-size: 15px;
}
.mobile-only {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-page {
  max-width: 1200px;
  margin: auto;
  padding: 32px;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-page h1 {
  font-size: 26px;
}
.admin-login {
  max-width: 430px;
  margin: 60px auto;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-login label {
  display: block;
  margin: 12px 0 4px;
  font-size: 14px;
}
.admin-login input,
.admin-page input,
.admin-page select {
  padding: 9px 12px;
  border: 1px solid #d6dbcc;
  border-radius: 4px;
  background: #fff;
  width: 100%;
  color: var(--ink);
}
.admin-login button {
  margin-top: 20px;
}
.admin-tabs {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.admin-tabs button {
  padding: 8px 18px;
  border: 1px solid #d6dbcc;
  background: var(--white);
  color: var(--green);
  border-radius: 4px;
}
.admin-tabs button.active {
  background: var(--green);
  color: #fff;
}
.admin-table-wrap {
  overflow: auto;
}
.admin-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.admin-table td:last-child {
  display: flex;
  gap: 8px;
}
.admin-editor {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  margin-top: 20px;
}
.admin-editor textarea {
  width: 100%;
  height: 480px;
  font: 13px/1.7 monospace;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fafbf7;
  color: var(--ink);
}
.admin-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric-card {
  background: var(--white);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.metric-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.metric-card strong {
  font-size: 28px;
  font-weight: 400;
}
.admin-page pre {
  overflow: auto;
  max-height: 420px;
  padding: 16px;
  font-size: 12px;
  background: #eef0e7;
}
.admin-hint {
  font-size: 13px;
}
.tag-editor {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}
@media (min-width: 1500px) {
  .home-intro {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    padding: 24px 28px;
  }
  .home-intro {
    padding: 46px 28px;
    gap: 30px;
  }
  .intro-copy h1 {
    font-size: 35px;
    letter-spacing: 1.8px;
  }
  .consultation-card {
    padding: 26px 24px;
  }
  .intro-description br {
    display: none;
  }
  .intro-footnote {
    font-size: 10px;
  }
  .library-section {
    padding: 44px 28px;
  }
  .library-grid {
    gap: 14px;
  }
  .small .cover-title {
    font-size: 15px;
  }
  .site-footer {
    margin: 0 28px;
  }
  .all-works {
    padding: 40px 28px;
  }
  .all-works .library-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 740px) {
  body {
    font-size: 16px;
  }
  .site-header {
    padding: 18px 20px;
  }
  .wordmark {
    font-size: 25px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 12px;
  }
  .site-header nav a:last-child {
    display: none;
  }
  .home-intro {
    display: flex;
    flex-direction: column;
    padding: 30px 20px 38px;
    gap: 28px;
    align-items: stretch;
  }
  .intro-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin: 0 0 16px;
  }
  .intro-copy h1 {
    font-size: 32px;
    line-height: 1.65;
    margin: 0 0 16px;
  }
  .intro-lead {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 12px;
  }
  .intro-description {
    font-size: 13px;
  }
  .intro-quote,
  .intro-footnote {
    display: none;
  }
  .consultation-card {
    padding: 24px 22px;
  }
  .consultation-card label {
    font-size: 22px;
  }
  .textarea-wrap textarea {
    min-height: 155px;
    font-size: 16px;
  }
  .privacy-note {
    font-size: 10px;
  }
  .how-section {
    padding: 32px 24px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .how-grid {
    gap: 22px;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .how-grid > div {
    text-align: left;
    position: relative;
    padding-left: 48px;
  }
  .how-icon {
    position: absolute;
    left: 0;
    top: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .how-grid h3 {
    font-size: 15px;
  }
  .how-grid p {
    font-size: 13px;
  }
  .library-section {
    padding: 36px 20px;
  }
  .library-heading h2 {
    font-size: 21px;
  }
  .library-heading {
    align-items: flex-end;
  }
  .library-heading .text-link {
    font-size: 11px;
    margin-bottom: 28px;
    white-space: nowrap;
  }
  .library-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
  .small .cover-title {
    font-size: 17px;
  }
  .cover-category {
    font-size: 7px;
  }
  .book-cover {
    padding: 24px 10px;
  }
  .library-card h3 {
    font-size: 12px;
  }
  .site-footer {
    margin: 0 20px;
    padding: 22px 0;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .site-footer > div {
    gap: 14px;
  }
  .results-page {
    padding: 36px 20px;
  }
  .page-intro h1 {
    font-size: 27px;
  }
  .page-intro p {
    font-size: 13px;
  }
  .recommendation-card {
    grid-template-columns: 95px 1fr;
    gap: 18px;
    padding: 20px;
  }
  .recommendation-cover .book-cover {
    aspect-ratio: 3/4.4;
  }
  .recommendation-cover .cover-title {
    font-size: 15px;
  }
  .recommendation-cover .cover-category {
    display: none;
  }
  .recommendation-cover .cover-english {
    font-size: 8px;
  }
  .recommendation-copy h2 {
    font-size: 22px;
    line-height: 1.6;
  }
  .work-description {
    font-size: 12px;
  }
  .recommendation-reason {
    padding-left: 10px;
  }
  .recommendation-reason p {
    font-size: 13px;
  }
  .feedback button {
    font-size: 11px;
    padding: 6px;
  }
  .all-works .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .all-works .book-cover .cover-title {
    font-size: 23px;
  }
  .all-works {
    padding: 36px 20px;
  }
  .work-detail {
    padding: 30px 20px;
  }
  .detail-heading {
    grid-template-columns: 105px 1fr;
    gap: 22px;
  }
  .detail-heading .cover-title {
    font-size: 15px;
    line-height: 1.5;
  }
  .detail-heading .book-cover:not(.licensed-cover) {
    padding: 12px 8px;
  }
  .detail-heading .cover-category {
    display: none;
  }
  .detail-heading .cover-line {
    margin: 7px 0 5px;
  }
  .detail-heading .cover-english {
    font-size: 8px;
    line-height: 1.4;
  }
  .detail-heading .cover-category {
    font-size: 6px;
  }
  .detail-heading h1 {
    font-size: 27px;
    line-height: 1.6;
  }
  .detail-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .detail-heading > div > p:not(.detail-english) {
    font-size: 13px;
  }
  .detail-body h2 {
    font-size: 20px;
  }
  .detail-body p {
    font-size: 15px;
  }
  .detail-body .reflection-box {
    padding: 24px 18px;
  }
  .reflection-box .reflection-question {
    font-size: 22px;
  }
  .narrow {
    padding: 40px 22px;
  }
  .privacy-page h1 {
    font-size: 26px;
  }
  .mobile-only {
    display: block;
  }
  .admin-page {
    padding: 20px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tag-editor {
    grid-template-columns: 1fr;
  }
  .admin-tabs {
    flex-wrap: wrap;
  }
  .admin-login {
    margin: 30px 20px;
  }
  .theme-tags {
    gap: 6px;
  }
  .theme-tags span {
    font-size: 10px;
    padding: 2px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
.form-help {
  font-size: 14px;
}
.privacy-note,
.ai-disclosure {
  font-size: 12px;
}
.example-label {
  font-size: 12px;
}
.example-chips button {
  font-size: 13px;
}
.feedback > p {
  font-size: 14px;
}
.feedback button {
  font-size: 13px;
  min-height: 42px;
}
.source-note {
  font-size: 12px !important;
}
@media (max-width: 740px) {
  .intro-description {
    display: none;
  }
  .small .cover-category {
    display: none;
  }
  .small .cover-title {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 1px;
  }
  .small .cover-english {
    font-size: 8px;
  }
  .small .cover-line {
    margin: 8px 0;
  }
  .small.book-cover {
    padding: 18px 8px;
  }
  .library-heading {
    display: block;
  }
  .library-heading .text-link {
    display: inline-block;
    margin: 0 0 20px;
  }
  .library-heading h2 {
    margin-bottom: 12px;
  }
  .privacy-note {
    align-items: flex-start;
    text-align: center;
  }
  .find-button {
    font-size: 13px;
  }
  .consultation-card {
    padding: 22px 18px;
  }
  .feedback button {
    font-size: 12px;
  }
}

.theme {
  --paper: #101d2b;
  --white: #182938;
  --ink: #e9edf0;
  --muted: #b5c3d0;
  --green: #e4bf80;
  --line: #3c5061;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}
.theme :is(a, button, input, textarea):focus-visible {
  outline-color: var(--green);
}
.theme .site-header {
  max-width: 1160px;
  padding: 22px 0;
}
.theme .wordmark {
  font-size: 30px;
  gap: 12px;
}
.theme .brand-symbol {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
}
.theme .beta {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0;
  padding: 2px 7px;
}
.theme .site-header nav {
  color: var(--ink);
  gap: 28px;
}
.theme .site-footer {
  max-width: 1160px;
  color: var(--muted);
  font-size: 12px;
  padding: 24px 0 36px;
}
.theme .eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.theme .consultation-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
  padding: 22px 28px 20px;
}
.theme .form-kicker {
  display: none;
}
.theme .consultation-card label {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}
.theme .form-help {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.theme .textarea-wrap textarea {
  color: var(--ink);
  background: #132331;
  border-color: var(--line);
  border-radius: 8px;
  font-size: 16px;
  min-height: 115px;
}
.theme .textarea-wrap textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.theme .character-count,
.theme .example-label {
  font-size: 12px;
  color: var(--muted);
}
.theme .example-chips {
  margin-bottom: 12px;
}
.theme .example-chips button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  font-size: 14px;
  min-height: 36px;
  border-radius: 20px;
  padding: 5px 14px;
}
.theme .example-chips button:hover {
  background: #243c50;
}
.theme .primary-button {
  color: #172332;
  border-color: var(--green);
  background: var(--green);
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}
.theme .primary-button:hover:not(:disabled) {
  background: #f0d5aa;
  border-color: #f0d5aa;
}
.theme .find-button {
  min-height: 54px;
}
.theme .find-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.theme .privacy-note,
.theme .ai-disclosure {
  font-size: 12px;
  color: var(--muted);
}
.theme .privacy-note {
  align-items: flex-start;
}
.theme .privacy-note svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.theme .error-message {
  color: #ffd1c7;
  background: #482c31;
}
.theme .analysis-tags span,
.theme .theme-tags span {
  color: #e7c995;
  background: #253448;
  border-color: #4b5d70;
  font-size: 12px;
}
.theme .demo-badge {
  background: #253448;
  color: var(--muted);
  font-size: 12px;
}
.theme .recommendation-card {
  border-radius: 14px;
}
.theme .recommendation-number,
.theme .section-number {
  color: var(--green);
}
.theme .recommendation-reason {
  border-color: var(--green);
}
.theme .recommendation-reason > span {
  color: var(--green);
  font-size: 12px;
}
.theme .recommendation-reason p {
  color: var(--ink);
  font-size: 16px;
}
.theme .secondary-button {
  color: var(--green);
  border-color: #8f7e63;
  border-radius: 8px;
  font-size: 14px;
}
.theme .secondary-button:hover {
  background: #29384a;
}
.theme .feedback button {
  color: var(--muted);
  border-color: var(--line);
  font-size: 14px;
  padding: 7px 12px;
  min-height: 42px;
  border-radius: 8px;
}
.theme .feedback button.selected {
  background: #344253;
  color: #f0d5aa;
  border-color: var(--green);
}
.theme .feedback-status {
  color: #e4bf80;
  font-size: 12px !important;
}
.theme .detail-body .reflection-box {
  background: #182938;
  border-color: #756c59;
  border-radius: 14px;
}
.theme .reflection-box .reflection-question {
  color: #f0d5aa;
}
.theme .reflection-box > p:last-child {
  color: var(--muted);
  font-size: 14px;
}
.theme .reflection-box .eyebrow {
  font-size: 12px;
}
.theme .breadcrumb,
.theme .text-link {
  color: var(--green);
  font-size: 14px;
}
.theme .work-meta,
.theme .source-note {
  color: var(--muted);
  font-size: 12px !important;
}
.theme .work-description,
.theme .detail-heading > div > p:not(.detail-english),
.theme .detail-body p,
.theme .privacy-page p,
.theme .page-intro p {
  font-size: 16px;
}
.theme .commonality,
.theme .feedback > p {
  font-size: 14px;
}
.theme .all-works .library-card p {
  font-size: 14px;
}
.theme .all-works .library-card h2 {
  font-size: 17px;
}
.home {
  max-width: 1160px;
  margin: auto;
}
.opening {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px 0 52px;
}
.intro {
  text-align: center;
}
.intro .eyebrow {
  margin: 0;
}
.intro h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.6;
  margin: 12px 0;
  letter-spacing: 0.02em;
}
.intro p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}
.formSurface {
  width: 700px;
  max-width: 100%;
}
.stories {
  border-top: 1px solid var(--line);
  padding: 26px 0 48px;
}
.sectionHeading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.sectionHeading .eyebrow {
  margin-bottom: 10px;
}
.sectionHeading h2 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.6;
  margin: 0;
}
.sectionHeading > a {
  font-size: 14px;
  white-space: nowrap;
}
.storyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.story {
  display: flex;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.story:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.storyNumber {
  color: var(--green);
  font:
    28px/1.2 Georgia,
    serif;
}
.story .work-meta {
  margin-top: 0;
}
.story h3 {
  font-size: 21px;
  font-family: var(--serif);
  font-weight: 600;
  margin: 8px 0 10px;
}
.story p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}
.about {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  max-width: 760px;
  scroll-margin-top: 24px;
}
.about h2 {
  font-family: var(--serif);
  font-size: 28px;
}
.about p {
  font-size: 16px;
}
@media (max-width: 1240px) {
  .theme .site-header,
  .theme .site-footer,
  .home {
    margin-left: 40px;
    margin-right: 40px;
  }
}
@media (max-width: 740px) {
  .theme .site-header,
  .theme .site-footer,
  .home {
    margin-left: 20px;
    margin-right: 20px;
  }
  .theme .site-header {
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 14px;
  }
  .theme .site-header nav {
    font-size: 13px;
    gap: 20px;
  }
  .theme .site-header nav a:last-child {
    display: inline;
  }
  .theme .wordmark {
    font-size: 30px;
  }
  .theme .site-footer {
    align-items: start;
    gap: 16px;
  }
  .opening {
    padding: 24px 0 36px;
    gap: 20px;
  }
  .intro h1 {
    font-size: 30px;
  }
  .intro p {
    font-size: 14px;
  }
  .theme .consultation-card {
    padding: 20px 18px;
  }
  .theme .consultation-card label {
    font-size: 21px;
  }
  .theme .textarea-wrap textarea {
    min-height: 140px;
  }
  .theme .find-button {
    font-size: 15px;
  }
  .theme .privacy-note {
    justify-content: flex-start;
    text-align: left;
  }
  .theme .consultation-card > .ai-disclosure {
    text-align: left;
  }
  .sectionHeading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .sectionHeading h2 {
    font-size: 22px;
  }
  .storyGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story p {
    font-size: 15px;
  }
  .about {
    padding: 32px 0;
  }
  .about h2 {
    font-size: 24px;
  }
}

