:root {
  --ink: #18353b;
  --muted: #64767a;
  --cream: #fffaf3;
  --cream-deep: #f8efe3;
  --white: #fffefd;
  --teal: #087f83;
  --teal-dark: #04666b;
  --coral: #ec6952;
  --gold: #f7b832;
  --lilac: #e9e2fd;
  --mint: #dff3ec;
  --peach: #ffe4d4;
  --line: #e9dfd2;
  --shadow: 0 22px 60px rgba(36, 66, 63, .13);
}

* { box-sizing: border-box; }
/* Author display rules for cards and form fields otherwise override the browser's hidden
   attribute. The wizard relies on this for conditional fields and the 18+ consent gate. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.58; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(255, 250, 243, .92); border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: 22px; font-weight: 700; letter-spacing: -.9px; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px 11px 14px 14px; color: white; background: linear-gradient(145deg, var(--teal), #10a0a3); font-family: Fraunces, Georgia, serif; font-size: 23px; font-weight: 700; transform: rotate(-5deg); }
.brand-accent { color: var(--coral); }
img.brand-mark { display: block; background: none; border-radius: 9px; box-shadow: 0 6px 14px rgba(8, 127, 131, .22); }
.site-nav { display: flex; align-items: center; gap: 28px; color: #38565a; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.button):hover { color: var(--coral); }
.locale-picker { display: inline-flex; gap: 4px; }.locale-picker select { max-width: 62px; padding: 5px 3px; border: 1px solid #d5e1dc; border-radius: 7px; color: #496568; background: #fffdf9; font-size: 10px; font-weight: 700; }
.menu-toggle { display: none; border: 0; background: none; color: var(--teal); font-size: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 23px; border: 1px solid transparent; border-radius: 100px; font-weight: 700; line-height: 1.1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(5, 99, 103, .18); }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-small { min-height: 40px; padding: 9px 16px; color: white; background: var(--teal); font-size: 13px; }
.button-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.button-outline:hover { color: white; background: var(--teal); }
.button-light { color: var(--teal); background: white; }
.hero { overflow: hidden; padding: 52px 0 65px; background: radial-gradient(circle at 75% 32%, #f9d887 0, #f9d8871c 26%, transparent 45%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 55px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.sparkle { color: var(--gold); font-size: 18px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: Fraunces, Georgia, serif; line-height: 1.04; }
h1 { max-width: 670px; margin-top: 16px; font-size: clamp(43px, 5vw, 70px); letter-spacing: -2.7px; }
h1 em { color: var(--coral); font-style: normal; }
h2 { font-size: clamp(32px, 3.3vw, 47px); letter-spacing: -1.5px; }
h3 { font-size: 24px; letter-spacing: -.6px; }
.hero-lead { max-width: 530px; margin: 22px 0 26px; color: #52676a; font-size: 19px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.text-link { color: var(--teal); font-weight: 700; }
.text-link:hover { color: var(--coral); }
.text-link span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 28px; color: #667b7b; font-size: 12px; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.hero-art { min-height: 460px; position: relative; display: grid; place-items: center; }
.brand-hero-logo { position: relative; z-index: 2; width: min(100%, 455px); border: 13px solid white; border-radius: 38px; box-shadow: 0 25px 45px rgba(46, 80, 74, .18); transform: rotate(2deg); }
.orbit { position: absolute; z-index: 1; border-radius: 50%; }
.orbit-one { width: 415px; height: 415px; background: #e3f2f0; transform: translate(25px, 8px); }
.orbit-two { width: 295px; height: 295px; border: 1px dashed #eebc55; transform: translate(-110px, -96px); }
.floating-note { position: absolute; z-index: 3; padding: 11px 16px; border-radius: 14px; box-shadow: 0 10px 22px rgba(46, 80, 74, .12); font-size: 13px; font-weight: 700; }
.note-one { right: -4px; bottom: 46px; color: var(--teal); background: #fff; transform: rotate(-4deg); }
.note-one span { color: var(--coral); }
.note-two { top: 68px; left: -22px; color: #8d6100; background: #fff2c5; transform: rotate(5deg); }
.section { padding: 90px 0; }
.soft-section { background: var(--white); }
.section-heading { max-width: 700px; margin-bottom: 43px; }
.section-heading h2 { margin: 11px 0 14px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.centered { margin-right: auto; margin-left: auto; text-align: center; }
.sample-book { display: grid; grid-template-columns: 1fr 1fr; max-width: 890px; margin: 0 auto; filter: drop-shadow(0 24px 28px rgba(55, 74, 66, .15)); }
.sample-page { min-height: 390px; position: relative; overflow: hidden; padding: 48px; background: #fffdf8; }
.illustration-page { background: linear-gradient(#a9dded 0 53%, #e7dc9e 53%); border-radius: 18px 0 0 18px; }
.text-page { border-radius: 0 18px 18px 0; }
.text-page::before { position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: linear-gradient(90deg, rgba(35, 56, 51, .12), transparent); content: ""; }
.text-page h3 { margin: 18px 0; font-size: 27px; }
.text-page p { position: relative; z-index: 1; color: #5a6867; font-size: 14px; }
.chapter { color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.page-number { position: absolute; bottom: 24px; left: 50%; color: #9aa6a1; font-size: 12px; transform: translateX(-50%); }
.page-sun { position: absolute; top: 45px; right: 66px; color: #f8b828; font-size: 62px; }
.page-cloud { position: absolute; width: 110px; height: 35px; border-radius: 40px; background: #ebf8fb; opacity: .9; }
.page-cloud::after, .page-cloud::before { position: absolute; border-radius: 50%; background: inherit; content: ""; }
.page-cloud::before { width: 48px; height: 48px; left: 19px; bottom: 0; }
.page-cloud::after { width: 65px; height: 65px; right: 16px; bottom: 0; }
.cloud-a { top: 68px; left: 50px; }.cloud-b { top: 155px; right: 36px; transform: scale(.55); }
.page-character { position: absolute; bottom: 80px; left: 105px; width: 112px; height: 160px; border-radius: 68px 68px 22px 22px; background: #ef7d5b; box-shadow: inset 0 55px #693d2a; transform: rotate(8deg); }
.page-character::after { position: absolute; bottom: -15px; right: -38px; width: 110px; height: 74px; border-radius: 50%; background: #f7c356; content: ""; }
.page-pet { position: absolute; bottom: 58px; right: 85px; color: #785a3e; font-size: 110px; transform: rotate(-11deg); }
.sample-caption { margin: 22px 0 0; color: #889392; font-size: 12px; text-align: center; }
.steps-section { background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { min-height: 245px; position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.58); }
.step-card p { max-width: 260px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.step-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 37px; border-radius: 17px; font-size: 25px; }
.lavender { color: #7759d9; background: var(--lilac); }.peach { color: var(--coral); background: var(--peach); }.mint { color: var(--teal); background: var(--mint); }
.step-count { position: absolute; top: 30px; right: 28px; color: #b2b8ae; font-size: 13px; font-weight: 700; }
.memories-section { background: #e9f5f0; }
.split-layout { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 95px; }
.split-layout h2 { margin: 12px 0 18px; }.split-layout p { color: #5b7070; font-size: 17px; }
.memory-stack { height: 330px; position: relative; }
.polaroid { display: flex; flex-direction: column; justify-content: center; width: 245px; height: 282px; position: absolute; padding: 20px; color: #fff; border: 12px solid white; border-radius: 8px; box-shadow: 0 19px 34px rgba(38, 83, 75, .16); text-align: center; }
.polaroid span { font-size: 84px; }.polaroid small { margin-top: 24px; font-family: Fraunces, Georgia, serif; font-size: 17px; }
.polaroid-left { left: 28px; top: 32px; background: linear-gradient(155deg, #e6856a, #df604e); transform: rotate(-8deg); }.polaroid-right { right: 8px; top: 0; background: linear-gradient(155deg, #118b8a, #046b71); transform: rotate(8deg); }
.check-list { display: grid; gap: 11px; margin: 26px 0; padding: 0; list-style: none; color: #375d5d; font-weight: 600; }
.check-list li::before { margin-right: 10px; color: var(--coral); content: "✓"; }.strong { font-size: 15px; }
.pricing-preview { background: #fffdf9; }.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan-card { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: 25px; background: white; }.plan-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan-label { color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .4px; }.plan-card h3 { margin: 7px 0 11px; font-size: 28px; }
.price { color: var(--teal); font-family: Fraunces, Georgia, serif; font-size: 49px; font-weight: 700; line-height: 1; }.price sup { font-size: 21px; vertical-align: 15px; }.price small { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 700; }
.plan-card > p { min-height: 44px; color: var(--muted); font-size: 14px; }.plan-card ul { display: grid; min-height: 110px; gap: 8px; margin: 22px 0; padding: 0; list-style: none; color: #456061; font-size: 14px; }.plan-card li::before { padding-right: 9px; color: var(--coral); content: "✓"; }.plan-card .button { width: 100%; }.popular-pill { position: absolute; top: -14px; right: 22px; padding: 6px 12px; border-radius: 100px; color: #795c00; background: #ffdd83; font-size: 11px; font-weight: 700; }
.fine-print { margin: 27px 0 0; color: #7e8987; font-size: 12px; }.quote-section { padding-top: 35px; background: #fffdf9; }.quote-card { max-width: 830px; padding: 58px; border-radius: 24px; color: white; background: var(--teal); text-align: center; }.quote-mark { height: 45px; color: #f5bf4a; font-family: Georgia, serif; font-size: 80px; line-height: .9; }.quote-card blockquote { margin: 20px auto; font-family: Fraunces, Georgia, serif; font-size: clamp(25px, 3vw, 37px); line-height: 1.2; }.quote-card p { margin: 0; color: #bfe1df; font-size: 12px; }
.cta-section { padding: 76px 0; color: white; background: linear-gradient(120deg, #0a777d, #075a62); }.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; }.cta-inner h2 { max-width: 710px; margin: 9px 0; color: white; }.cta-inner p { margin: 0; color: #c2e0dc; }.eyebrow-light { color: #f4c663; }
.site-footer { padding: 58px 0 20px; color: #d2e2df; background: #123d42; }.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }.footer-grid .brand { color: white; }.brand-footer { margin-bottom: 15px; }.footer-grid p { max-width: 260px; margin: 0; font-size: 14px; }.footer-grid strong { display: block; margin-bottom: 12px; color: white; font-size: 13px; }.footer-grid a:not(.brand) { display: block; margin: 8px 0; color: #d2e2df; font-size: 13px; }.footer-grid a:not(.brand):hover { color: #f8c358; }.footer-bottom { margin-top: 43px; padding-top: 18px; border-top: 1px solid #31585c; color: #94b1ae; font-size: 12px; }

/* Wizard, order, book and admin surfaces */
.page-hero { padding: 70px 0 45px; background: var(--cream); }.page-hero h1 { margin: 10px 0; font-size: clamp(39px, 4.8vw, 60px); }.page-hero p { max-width: 640px; color: var(--muted); font-size: 18px; }.content-section { padding: 55px 0 90px; background: var(--white); }.prose { max-width: 800px; }.prose h2 { margin: 34px 0 12px; font-size: 29px; }.prose h3 { margin: 23px 0 8px; }.prose p, .prose li { color: #53696a; }.prose ul { padding-left: 22px; }
.wizard-shell { display: grid; grid-template-columns: minmax(0, 1fr) 305px; align-items: start; gap: 28px; padding: 42px 0 86px; }.wizard-card, .order-card, .book-panel { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(63, 73, 64, .05); }.wizard-step { display: none; }.wizard-step.active { display: block; }.wizard-step h2 { margin-bottom: 8px; font-size: 31px; }.wizard-step > p { margin-top: 0; color: var(--muted); }.wizard-progress { display: flex; gap: 6px; margin: 0 0 32px; }.wizard-progress span { height: 6px; flex: 1; border-radius: 10px; background: #e6e5e0; }.wizard-progress span.active { background: var(--teal); }.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 25px 0; }.choice { position: relative; display: block; min-height: 126px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }.choice:hover, .choice:has(input:checked) { border-color: var(--teal); background: #f5fffd; }.choice input { position: absolute; opacity: 0; }.choice strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 19px; }.choice small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }.choice .radio-dot { position: absolute; top: 16px; right: 16px; width: 17px; height: 17px; border: 2px solid #bdc9c5; border-radius: 50%; }.choice:has(input:checked) .radio-dot { border: 5px solid var(--teal); }.choice.selected-plan { background: #e7f8f4; }.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }.field { display: grid; gap: 6px; }.field.full { grid-column: 1 / -1; }.field label { color: #466162; font-size: 13px; font-weight: 700; }.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #d8dfda; border-radius: 10px; outline-color: var(--teal); background: #fff; }.field textarea { min-height: 100px; resize: vertical; }.check-field { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; color: #50676a; font-size: 13px; }.check-field input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--teal); }.wizard-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }.button-plain { padding: 10px 0; border: 0; color: var(--teal); background: transparent; font-weight: 700; cursor: pointer; }.summary-card { position: sticky; top: 97px; padding: 26px; border-radius: 21px; background: #183f44; color: white; }.summary-card h3 { color: white; font-size: 24px; }.summary-card > p { color: #b6d5d0; font-size: 13px; }.summary-line { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid #3a6062; font-size: 13px; }.summary-line span:last-child { font-weight: 700; }.summary-total { display: flex; justify-content: space-between; margin: 19px 0; font-size: 19px; font-weight: 700; }.summary-hint { color: #a9c8c4; font-size: 11px; }.upload-zone { display: grid; min-height: 180px; place-items: center; padding: 22px; border: 2px dashed #a6c8c1; border-radius: 16px; background: #f3fbf8; text-align: center; }.upload-zone input { width: min(100%, 340px); }.upload-zone strong { display: block; color: var(--teal); }.upload-zone small { color: var(--muted); }
.status-timeline { display: grid; gap: 0; margin: 26px 0; }.status-item { display: grid; grid-template-columns: 31px 1fr; gap: 13px; min-height: 67px; }.status-icon { width: 25px; height: 25px; margin-top: 2px; display: grid; place-items: center; border-radius: 50%; color: white; background: #c0ccc9; font-size: 11px; }.status-item.done .status-icon, .status-item.current .status-icon { background: var(--teal); }.status-item:not(:last-child) .status-icon::after { position: absolute; width: 2px; height: 42px; margin-top: 68px; background: #dce4e0; content: ""; }.status-item h3 { font-family: "DM Sans", sans-serif; font-size: 15px; }.status-item p { margin: 2px 0; color: var(--muted); font-size: 13px; }.status-item.current h3 { color: var(--teal); }.empty-state { padding: 52px 20px; border: 1px dashed #cbd8d3; border-radius: 18px; text-align: center; }.empty-state h2 { font-size: 29px; }.empty-state p { color: var(--muted); }.book-reader { max-width: 980px; margin: 42px auto 80px; }.book-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 17px; }.book-stage { min-height: 565px; padding: 60px 9%; border-radius: 25px; color: #294847; background: #fffdf8; box-shadow: var(--shadow); }.book-stage h1 { margin: 20px 0; font-size: 56px; }.book-stage.cover { display: grid; place-content: center; background: linear-gradient(140deg, #f7c758, #ef8568 55%, #1c9591); color: white; text-align: center; }.book-stage.cover h1 { color: white; }.book-stage .book-kicker { color: #fff5c7; font-weight: 700; letter-spacing: 2px; }.book-stage .book-page-body { max-width: 620px; font-family: Fraunces, Georgia, serif; font-size: 25px; line-height: 1.5; }.book-nav { display: flex; justify-content: center; gap: 14px; margin: 24px 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }.admin-stat { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }.admin-stat small { color: var(--muted); }.admin-stat strong { display: block; margin-top: 5px; color: var(--teal); font-family: Fraunces, Georgia, serif; font-size: 28px; }.data-table { width: 100%; border-collapse: collapse; background: white; }.data-table th, .data-table td { padding: 14px; border-bottom: 1px solid #edf0eb; text-align: left; font-size: 13px; }.data-table th { color: var(--muted); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }.badge { display: inline-block; padding: 4px 8px; border-radius: 100px; color: #096d70; background: #e3f5f0; font-size: 11px; font-weight: 700; }.badge.warn { color: #945c00; background: #fff1c9; }.badge.error { color: #a53f32; background: #ffe1dc; }

@media (max-width: 800px) {
  .shell { width: min(100% - 32px, 620px); }.site-header { position: relative; }.nav-wrap { min-height: 66px; }.menu-toggle { display: block; }.site-nav { display: none; width: 100%; padding: 0 0 16px; flex-direction: column; align-items: flex-start; gap: 14px; }.site-nav.open { display: flex; }.nav-wrap { flex-wrap: wrap; }.site-nav .button { width: 100%; }.hero { padding-top: 36px; }.hero-grid, .split-layout { grid-template-columns: 1fr; gap: 35px; }.hero-art { min-height: 365px; }.brand-hero-logo { width: min(84vw, 380px); }.orbit-one { width: 320px; height: 320px; }.note-one { right: 2px; bottom: 5px; }.note-two { left: 5px; top: 24px; }.section { padding: 65px 0; }.sample-book { grid-template-columns: 1fr; }.sample-page { min-height: 330px; }.illustration-page { border-radius: 18px 18px 0 0; }.text-page { border-radius: 0 0 18px 18px; }.steps-grid, .plan-grid { grid-template-columns: 1fr; }.step-card { min-height: auto; }.memory-stack { order: 2; height: 276px; }.polaroid { width: 200px; height: 230px; }.polaroid-left { left: 5px; }.polaroid-right { right: 5px; }.polaroid span { font-size: 62px; }.cta-inner { align-items: flex-start; flex-direction: column; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > :first-child { grid-column: 1 / -1; }.wizard-shell { grid-template-columns: 1fr; padding-top: 25px; }.summary-card { position: static; order: -1; }.choice-grid, .form-grid { grid-template-columns: 1fr; }.quote-card { padding: 38px 25px; }.admin-stat-grid { grid-template-columns: repeat(2, 1fr); }.book-stage { min-height: 480px; padding: 48px 32px; }.book-stage h1 { font-size: 44px; }
}
@media (max-width: 420px) { h1 { letter-spacing: -1.8px; }.trust-row { gap: 8px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }.footer-grid { grid-template-columns: 1fr; }.footer-grid > :first-child { grid-column: auto; }.admin-stat-grid { grid-template-columns: 1fr; }.book-toolbar { align-items: flex-start; flex-direction: column; }.book-stage .book-page-body { font-size: 20px; } }

.seasonal-banner { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 11px 16px; border: 1px solid #fac873; border-radius: 15px; color: #835009; background: #fff2ce; }.seasonal-banner > span { font-size: 25px; }.seasonal-banner strong, .seasonal-banner small { display: block; }.seasonal-banner strong { font-size: 13px; }.seasonal-banner small { font-size: 11px; }.notice { margin: 18px 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }.notice.success { color: #075c57; background: #ddf4eb; }.choice b { display: block; margin-top: 11px; color: var(--teal); font-size: 13px; }.seasonal-choice { border-color: #eeb35a; background: #fff8df; }.upload-status { color: var(--muted); font-size: 13px; }.wizard-safe-note { margin-top: 18px; padding: 13px; border-radius: 10px; color: #526d69; background: #eef7f4; font-size: 11px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }.admin-nav a { padding: 7px 10px; border: 1px solid #d6e2de; border-radius: 8px; color: #276468; background: #f7fcfa; font-size: 12px; font-weight: 700; }.admin-nav a:hover { color: white; background: var(--teal); }.table-wrap { overflow-x: auto; margin: 20px 0 30px; border: 1px solid var(--line); border-radius: 15px; }.admin-grid-note { max-width: 720px; margin-top: 38px; padding: 22px; border-radius: 14px; background: #eff7f4; }.admin-grid-note h2 { font-size: 23px; }.admin-grid-note p { color: #536b6a; font-size: 14px; }
.validation-summary-valid { display: none; }.validation-summary-errors { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; color: #963b30; background: #ffe6df; font-size: 13px; }.notice.warn { color: #835009; background: #fff2ce; }.notice.error { color: #963b30; background: #ffe6df; }.field-error { color: #a53f32; font-size: 12px; }.fiscal-card h2 { margin-top: 0; }.fiscal-uuid { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; word-break: break-all; text-align: right; }.admin-form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 12px 0; }.admin-form-row .field { min-width: 120px; }

/* Book reader (private and public demo) */
.reader-stage { display: none; }
.reader-stage.is-current, .reader-no-js .reader-stage { display: block; }
.reader-image { display: block; width: 100%; max-height: 62vh; margin: 0 0 22px; border-radius: 22px; object-fit: contain; background: var(--cream-deep); }
.reader-dedication { text-align: center; }
.reader-dedication .reader-owner { margin: 6px 0 22px; color: var(--teal); font-family: Fraunces, Georgia, serif; font-size: clamp(30px, 6vw, 46px); }
.reader-dedication blockquote { margin: 0 auto; max-width: 520px; font-size: 19px; font-style: italic; white-space: pre-line; }
.reader-counter { color: var(--muted); font-size: 14px; font-weight: 700; }
.reader-audio { width: 100%; margin: 0 0 18px; }
.book-toolbar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--muted); font-size: 13px; font-weight: 600; }
.reader-end { text-align: center; }
.reader-end h2 { max-width: 640px; margin: 14px auto; }
.reader-end p { max-width: 560px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; }
.reader-end-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }

/* Public demo books (/ejemplos) */
.demo-lead { margin-right: auto; margin-left: auto; }
.demo-link-row { margin: 26px 0 0; }
.wizard-example-link { margin: 4px 0 0; font-size: 15px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.demo-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: 0 12px 30px rgba(63, 73, 64, .06); }
.demo-card-cover { display: grid; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; background: linear-gradient(140deg, #f7c758, #ef8568 55%, #1c9591); }
.demo-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.demo-card:hover .demo-card-cover img { transform: scale(1.03); }
.demo-card-cover-fallback { padding: 24px; color: white; font-family: Fraunces, Georgia, serif; font-size: 26px; text-align: center; }
.demo-card-body { display: grid; flex: 1; align-content: start; gap: 10px; padding: 24px; }
.demo-card-body h2 { margin: 0; font-size: 25px; letter-spacing: -.6px; line-height: 1.15; }
.demo-card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.demo-card-body .demo-card-meta { color: #456061; font-size: 13px; font-weight: 600; }
.demo-card-body .button { width: 100%; margin-top: 8px; }
.demo-plan { justify-self: start; }
.demo-fallback { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.demo-fallback h2 { font-size: clamp(27px, 3vw, 36px); }
.demo-fallback p { color: var(--muted); }
.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 58px; padding: 36px; border-radius: 25px; background: var(--mint); }
.demo-cta h2 { margin: 8px 0; font-size: clamp(27px, 3vw, 38px); }
.demo-cta p { margin: 0; color: #4f6766; }
.demo-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* Floating shopping assistant */
.assistant { position: fixed; right: 16px; bottom: 64px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: 14px; }
.assistant-launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 18px 10px 12px; border: 0; border-radius: 100px; color: white; background: var(--teal); box-shadow: 0 12px 28px rgba(5, 99, 103, .28); font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.assistant-launcher:hover { background: var(--teal-dark); transform: translateY(-2px); }
.assistant-launcher-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--teal); background: #fff5c7; font-size: 16px; }
.assistant.is-open .assistant-launcher { display: none; }
.assistant-panel { display: flex; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px)); flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.assistant-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; color: white; background: linear-gradient(120deg, #0a777d, #075a62); }
.assistant-head strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 19px; }
.assistant-head small { display: block; color: #c2e0dc; font-size: 12px; line-height: 1.35; }
.assistant-close { border: 0; color: white; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.assistant-log { display: grid; flex: 1; align-content: start; gap: 10px; overflow-y: auto; padding: 16px; background: var(--cream); }
.assistant-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.assistant-msg p { margin: 0 0 6px; }
.assistant-msg p:last-child { margin-bottom: 0; }
.assistant-msg ul, .assistant-msg ol { margin: 4px 0 6px; padding-left: 18px; }
.assistant-msg a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.assistant-msg-bot { justify-self: start; border: 1px solid var(--line); border-bottom-left-radius: 4px; background: white; }
.assistant-msg-user { justify-self: end; border-bottom-right-radius: 4px; color: white; background: var(--teal); white-space: pre-wrap; }
.assistant-msg-typing { color: var(--muted); font-style: italic; }
.assistant-offer .button { min-height: 36px; margin-top: 6px; padding: 7px 12px; font-size: 12px; }
.assistant-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: var(--white); }
.assistant-chips button { padding: 6px 10px; border: 1px solid #d6e2de; border-radius: 100px; color: #276468; background: #f7fcfa; font-size: 12px; font-weight: 700; cursor: pointer; }
.assistant-chips button:hover { color: white; background: var(--teal); }
.assistant-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--white); }
.assistant-form textarea { flex: 1; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid #d8dfda; border-radius: 12px; outline-color: var(--teal); resize: none; }
.assistant-form .button, .assistant-ticket .button { min-height: 42px; }
.assistant-ticket { display: grid; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--white); }
.assistant-ticket strong { font-size: 14px; }
.assistant-ticket small { color: var(--muted); font-size: 12px; }
.assistant-ticket input, .assistant-ticket textarea { width: 100%; padding: 10px 12px; border: 1px solid #d8dfda; border-radius: 10px; outline-color: var(--teal); }
.assistant-ticket textarea { resize: vertical; }
.assistant-ticket-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.assistant-ticket-status { margin: 0; color: #a53f32; font-size: 12px; }
.assistant-ticket-status:empty { display: none; }
.assistant-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.assistant-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; padding: 6px 16px 12px; background: var(--white); color: var(--muted); font-size: 11px; }
.assistant-foot .button-plain { padding: 4px 0; font-size: 12px; }
.assistant-foot a { color: var(--teal); font-weight: 700; }
.assistant-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.support-ticket { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.support-ticket + .support-ticket { margin-top: 14px; }
.support-ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.support-ticket-message { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--cream); white-space: pre-wrap; }
.support-ticket form textarea { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid #d8dfda; border-radius: 10px; }
@media (max-width: 800px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-cta { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
}
@media (max-width: 520px) {
  .assistant { right: 12px; bottom: 60px; }
  .assistant-launcher { padding: 10px; }
  .assistant-launcher-label { display: none; }
  .assistant.is-open { inset: 0; align-items: stretch; }
  .assistant.is-open .assistant-panel { width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
}
/* Wizard validation: messages next to the field that needs attention. */
.wizard-field-error, .field-validation-error { display: block; margin-top: 6px; color: #c2412c; font-size: 13px; font-weight: 600; }
.input-validation-error:not([type="file"]) { border-color: var(--coral) !important; box-shadow: 0 0 0 3px rgba(236, 105, 82, .14); }

/* Optional customer account (header + /entrar). */
.nav-account { display: inline-flex; align-items: center; gap: 10px; }
.nav-account form { margin: 0; }
.nav-account .button-plain { padding: 0; font-size: 14px; }
.nav-account-name { max-width: 140px; overflow: hidden; color: var(--teal); text-overflow: ellipsis; white-space: nowrap; }
.signin-card { max-width: 520px; margin: auto; }
.signin-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.signin-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 13px; }
.signin-divider::before, .signin-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.account-lock-note { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
@media (min-width: 801px) and (max-width: 1120px) { .site-nav { gap: 18px; } }
