:root {
  --cream: #fff9ee;
  --paper: #fffdfa;
  --pink: #f9e6e1;
  --pink-deep: #d49a8f;
  --green: #e5efdc;
  --green-deep: #758d70;
  --beige: #f1e4d6;
  --ink: #534941;
  --muted: #7b7168;
  --line: #eadfd2;
  --shadow: 0 16px 38px rgba(122, 90, 72, 0.09);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

html.font-large { font-size: 112.5%; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(249, 230, 225, 0.9), transparent 25rem),
    radial-gradient(circle at 0 35%, rgba(229, 239, 220, 0.68), transparent 23rem),
    linear-gradient(180deg, rgba(255, 253, 250, 0.45), rgba(255, 249, 238, 0)),
    var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible + span {
  outline: 3px solid rgba(105, 129, 102, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: env(safe-area-inset-top) 20px 0;
  border-bottom: 1px solid rgba(234, 223, 210, 0.72);
  background: rgba(255, 249, 238, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50% 50% 46% 54%;
  color: var(--green-deep);
  background: var(--green);
  transform: rotate(-8deg);
}

.menu-button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  display: none;
  width: min(220px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.site-nav.is-open { display: grid; }
.site-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { background: var(--cream); }
.font-size-control {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.font-size-control > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.font-size-control > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.font-size-button {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.font-size-button.is-selected {
  border-color: #9eb194;
  color: var(--green-deep);
  background: var(--green);
  font-weight: 700;
}

main {
  width: min(100%, 720px);
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 0 18px;
}

.screen { animation: fade-in 0.35s ease both; }
.screen[hidden] { display: none !important; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(7px); }
}

.hero-screen {
  position: relative;
  padding: 58px 0 64px;
  text-align: center;
}

.hero-decoration {
  position: absolute;
  inset: 20px 0 auto;
  height: 120px;
  pointer-events: none;
}

.leaf {
  position: absolute;
  width: 42px;
  height: 22px;
  border-radius: 100% 0 100% 0;
  background: rgba(175, 199, 164, 0.45);
}
.leaf-one { top: 20px; left: 2%; transform: rotate(22deg); }
.leaf-two { top: 62px; right: 2%; transform: rotate(205deg) scale(.8); }
.flower { position: absolute; right: 12%; color: #d9a69c; font-size: 25px; opacity: .7; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: .12em;
}

h1, h2, h3 { margin-top: 0; line-height: 1.45; }
h1 { margin-bottom: 22px; font-size: clamp(2rem, 10vw, 3.35rem); letter-spacing: .045em; }
h1 span { color: #ad706b; }
h2 { margin-bottom: 20px; font-size: clamp(1.75rem, 7vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.hero-subtitle {
  max-width: 610px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1rem;
}

.intro-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 auto 28px;
  padding: 23px;
  border: 1px solid rgba(234, 223, 210, .85);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, .94);
  box-shadow: var(--shadow);
  text-align: left;
}
.intro-card p:last-child { margin-bottom: 0; }

.sample-note-card {
  margin: 18px auto 28px;
  padding: 18px 20px;
  border: 1px solid rgba(234, 223, 210, .9);
  border-radius: 22px;
  background: rgba(255, 253, 250, .9);
  text-align: left;
}
.sample-note-card h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.sample-note-card ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
}
.sample-note-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.sample-note-label {
  margin-bottom: 4px;
  color: var(--green-deep);
  font-size: .78rem;
  font-weight: 700;
}

.notebook-illustration {
  position: relative;
  width: 68px;
  height: 80px;
  border: 2px solid #d7b5a6;
  border-radius: 8px 12px 12px 8px;
  background: #fff9f3;
  box-shadow: 7px 7px 0 #e5eadb;
}
.notebook-ring {
  position: absolute;
  left: -7px;
  top: 15px;
  width: 13px;
  height: 8px;
  border: 2px solid #b98f7e;
  border-radius: 5px;
  box-shadow: 0 18px 0 -2px #fff9f3, 0 18px 0 0 #b98f7e, 0 36px 0 -2px #fff9f3, 0 36px 0 0 #b98f7e;
}
.notebook-line {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 33px;
  height: 2px;
  background: #decfc2;
  box-shadow: 0 10px 0 #decfc2;
}
.notebook-line.short { top: 42px; width: 22px; box-shadow: none; }
.notebook-heart { position: absolute; right: 10px; bottom: 6px; color: var(--pink-deep); font-size: 23px; }

.action-stack { display: grid; gap: 12px; }
.beginner-guide {
  margin: -12px auto 26px;
  color: var(--muted);
  font-size: .88rem;
}
.beginner-guide a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:active { transform: scale(.985); }
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #c7837f, #b57472);
  box-shadow: 0 10px 24px rgba(181, 116, 114, .2);
}
.primary-button:hover { background: linear-gradient(135deg, #bd7b77, #aa6867); }
.secondary-button {
  border: 1px solid #d8c7b8;
  color: var(--ink);
  background: var(--paper);
}
.text-button { color: var(--muted); background: transparent; text-decoration: underline; }

.trust-note {
  margin-top: 28px;
  padding: 17px 18px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(229, 239, 220, .66);
  font-size: .86rem;
  text-align: left;
}
.trust-note p { margin-bottom: 4px; }
.trust-note p:last-child { margin-bottom: 0; }
.trust-note span { color: var(--green-deep); font-weight: 800; }

.content-screen { padding: 46px 0 68px; }
.section-lead { margin-bottom: 34px; color: var(--muted); }
.form-guide {
  margin: -16px 0 30px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 250, .92);
}
.form-guide p { margin-bottom: 6px; color: var(--muted); }
.form-guide p:last-child { margin-bottom: 0; }
.form-guide strong { color: var(--green-deep); }
.step-list { display: grid; gap: 12px; margin: 28px 0; }
.step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 250, .96);
}
.step-card span, .question-number {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green);
  font-weight: 800;
}
.step-card p { margin: 0; }
.sample-toggle {
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 250, .92);
  overflow: hidden;
}
.sample-toggle summary {
  min-height: 52px;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.sample-toggle summary::marker { color: var(--green-deep); }
.sample-result {
  padding: 0 18px 18px;
  color: var(--muted);
}
.sample-result h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.05rem;
}
.sample-result p { margin-bottom: 14px; }
.sample-result p:last-child { margin-bottom: 0; }
.sample-result strong { color: var(--green-deep); }
.soft-message, .notice-card {
  margin: 28px 0;
  padding: 23px;
  border-radius: var(--radius);
  background: var(--pink);
}
.soft-message p:last-child, .notice-card p:last-child { margin-bottom: 0; }

fieldset {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  scroll-margin-top: 104px;
}
fieldset.has-error {
  padding: 14px;
  border: 1px solid #cf8279;
  background: rgba(249, 230, 225, .42);
  box-shadow: 0 0 0 3px rgba(207, 130, 121, .08);
}
fieldset:focus {
  outline: none;
}
fieldset:focus-visible {
  outline: 3px solid rgba(105, 129, 102, 0.32);
  outline-offset: 4px;
}
legend {
  width: 100%;
  margin-bottom: 15px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.65;
}
.question-number { margin-right: 10px; vertical-align: middle; }
.field-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.2;
  vertical-align: middle;
}
.required-label {
  color: #9b5d57;
  background: #f8e5df;
}
.optional-label {
  color: var(--green-deep);
  background: var(--green);
}
.field-hint { margin: -8px 0 13px 46px; color: var(--muted); font-size: .86rem; }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice span {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 15px 12px 47px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 250, .96);
  line-height: 1.5;
  transition: border .16s ease, background .16s ease, box-shadow .16s ease;
}
.choice span::before {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid #c8bbae;
  border-radius: 6px;
  content: "";
}
.single .choice span::before { border-radius: 50%; }
.choice input:checked + span {
  border-color: #9eb194;
  background: #f3f8ef;
  box-shadow: 0 0 0 2px rgba(158, 177, 148, .15);
}
.choice input:checked + span::before {
  border-color: var(--green-deep);
  background: var(--green-deep);
  box-shadow: inset 0 0 0 4px #f3f8ef;
}
.form-error {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #d49a8f;
  border-radius: 14px;
  color: #795f51;
  background: #f6e5d7;
  font-weight: 700;
}
.field-error {
  margin: 12px 0 0 46px;
  color: #8b5c54;
  font-size: .86rem;
  font-weight: 700;
}

.result-heading { margin-bottom: 24px; text-align: center; }
.result-heading > p:last-child { color: var(--muted); text-align: left; }
.personal-message {
  margin: 0 0 20px;
  padding: 17px 18px;
  border-radius: 20px;
  color: #6d5d53;
  background: var(--pink);
  font-weight: 700;
  text-align: left;
}
.today-choice {
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid #d9cbbd;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff8eb, #f8eee3);
  box-shadow: var(--shadow);
}
.today-choice h3 { margin-bottom: 10px; }
#today-choice-text {
  margin-bottom: 0;
  font-weight: 600;
}
.today-choice-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 400;
}
.copy-today-choice {
  min-height: 44px;
  margin-top: 14px;
  padding: 9px 16px;
  border: 1px solid #d2bdad;
  border-radius: 999px;
  color: #8f625f;
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
}
.result-cards { display: grid; gap: 18px; }
.result-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, .96);
  box-shadow: 0 10px 26px rgba(112, 87, 70, .065);
}
.result-card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 16px 20px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.result-card-toggle:hover { background: rgba(255, 248, 239, .7); }
.result-card-header { display: flex; align-items: center; }
.result-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
}
.toggle-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.toggle-label::after {
  display: inline-block;
  margin-left: 6px;
  content: "⌄";
  transition: transform .2s ease;
}
.result-card-toggle[aria-expanded="true"] .toggle-label::after { transform: rotate(180deg); }
.result-card-body {
  border-top: 1px solid rgba(234, 223, 210, .7);
}
.result-card-body[hidden] { display: none; }
.card-content { padding: 16px 20px 20px; }
.card-content > p:first-child { color: var(--muted); }
.card-content ul { margin: 0; padding-left: 1.35em; }
.card-content li { margin-bottom: 9px; }
.selectable-list > li {
  margin-bottom: 15px;
}
.selectable-list > li > span { display: block; }
.choose-today {
  min-height: 44px;
  margin-top: 7px;
  padding: 9px 14px;
  border: 1px solid #dfcdbf;
  border-radius: 999px;
  color: #936865;
  background: #fff9f2;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.choose-today:hover { background: var(--pink); }
.topic-group {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 18px;
  background: #fff8ef;
}
.topic-group:last-child { margin-bottom: 0; }
.topic-group h4 {
  margin: 0 0 8px;
  color: #7c6a5e;
  font-size: .96rem;
}
.rephrase-list { display: grid; gap: 12px; }
.rephrase-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff8ef;
}
.rephrase-item p { margin: 0; }
.rephrase-item span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.share-template {
  padding: 18px;
  border-radius: 16px;
  white-space: pre-line;
  background: #fff7ec;
}
.copy-section {
  width: auto;
  min-height: 44px;
  margin: 0 20px 18px;
  padding: 9px 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.copy-section:hover { color: var(--green-deep); }
.result-actions {
  display: grid;
  align-items: start;
  gap: 10px;
  margin: 28px 0 52px;
}
.result-actions .button { white-space: nowrap; }
.print-action { display: grid; gap: 9px; }
.print-hint {
  margin: 0;
  padding: 0 8px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.65;
  text-align: left;
}
.related-area {
  margin: 0 -18px;
  padding: 36px 18px;
  background: rgba(241, 228, 214, .46);
}
.related-cards { display: grid; gap: 13px; margin-top: 24px; }
.related-card {
  padding: 20px;
  border: 1px solid rgba(216, 199, 184, .9);
  border-radius: 22px;
  background: rgba(255, 253, 250, .96);
}
.related-card h3 { margin-bottom: 8px; }
.related-card a {
  display: inline-block;
  min-height: 44px;
  padding: 9px 0;
  color: #9c6763;
  font-weight: 700;
}
.related-card-status {
  display: inline-block;
  margin: 12px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--cream);
  font-size: .78rem;
}
.ad-label {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 8px;
  border: 1px solid #d2c3b5;
  border-radius: 6px;
  color: var(--muted);
  font-size: .7rem;
}
.ad-disclosure { margin-top: 18px; color: var(--muted); font-size: .78rem; }
.print-credit { display: none; }
.notice-card.accent { background: var(--green); }
.rights-card {
  background: rgba(255, 253, 250, .94);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 32px 20px calc(34px + env(safe-area-inset-bottom));
  color: var(--muted);
  background: #f4eadf;
  text-align: center;
}
.site-footer > p { color: var(--ink); font-weight: 700; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
}
.site-footer a:hover,
.site-footer a:focus-visible {
  background: rgba(255, 253, 250, .62);
}
.site-footer .copyright {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.7;
}
.site-footer small { display: block; max-width: 540px; margin: 18px auto 0; }

.toast {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 18px;
  max-width: 520px;
  margin: auto;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  background: #6f8069;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: .25s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

.print-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}
.print-modal[hidden] { display: none; }
.print-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(83, 73, 65, .48);
  backdrop-filter: blur(3px);
}
.print-modal-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(83, 73, 65, .24);
}
.print-modal-panel h2 { margin-bottom: 16px; font-size: 1.35rem; }
.print-modal-panel p { margin-bottom: 16px; }
.print-guide {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--cream);
}
.print-guide h3 { margin-bottom: 4px; color: var(--green-deep); font-size: 1rem; }
.print-guide p { margin: 0; font-size: .9rem; }
.print-modal-actions { display: grid; gap: 8px; margin-top: 22px; }
body.modal-open { overflow: hidden; }

@media (min-width: 560px) {
  .site-header { padding-right: 28px; padding-left: 28px; }
  .menu-button { display: none; }
  .site-nav {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .font-size-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 0 10px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .font-size-control > span { margin: 0; }
  .font-size-control > div { display: flex; }
  .font-size-button { min-height: 38px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice.wide { grid-column: 1 / -1; }
  .action-stack { grid-template-columns: 1fr 1fr; }
  .result-actions { grid-template-columns: 1.25fr 1fr; }
  .result-actions .text-button { grid-column: 1 / -1; }
  .print-modal-actions { grid-template-columns: 1.4fr 1fr; }
  .print-modal-actions .text-button { grid-column: auto; }
  .related-area { margin: 0; border-radius: var(--radius); padding: 36px; }
}

@media (max-width: 559px) {
  fieldset { scroll-margin-top: 112px; }
}

@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; }
  body { color: #333; font-size: 10.5pt; }
  .site-header, .site-footer, .no-print, .toast, .screen:not(.result-screen), .result-heading .eyebrow { display: none !important; }
  main { width: 100%; max-width: none; min-height: 0; padding: 0; }
  .result-screen { display: block !important; padding: 0; }
  .result-heading { margin-bottom: 18px; }
  .result-heading h2 { font-size: 20pt; }
  .personal-message, .today-choice.has-choice { border: 1px solid #ccc; background: #fff; box-shadow: none; }
  .today-choice:not(.has-choice) { display: none !important; }
  .result-cards { gap: 10px; }
  .result-card {
    break-inside: avoid-page;
    border: 1px solid #ccc;
    box-shadow: none;
  }
  .result-card:nth-child(2),
  .result-card:nth-child(3),
  .result-card:nth-child(7) {
    break-inside: auto;
  }
  .result-card-toggle { min-height: 0; padding: 12px 14px 0; cursor: default; }
  .result-card-body, .result-card-body[hidden] { display: block !important; border-top: 0; }
  .toggle-label { display: none; }
  .card-content { padding: 8px 14px 12px; }
  .copy-section { display: none; }
  .share-template { background: #f5f5f5; }
  .topic-group, .rephrase-item {
    break-inside: avoid;
    background: #f7f7f7;
  }
  .result-card-toggle, .card-content > p:first-child { break-after: avoid; }
  .print-credit {
    display: block;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
    color: #666;
    text-align: center;
  }
  .print-credit p { margin-bottom: 2px; font-weight: 700; }
}
