/* Shared reading scale: display titles, clear labels, comfortable body copy. */
:root{--sans:"Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif;--serif:"Batang","바탕","Noto Serif KR",Georgia,serif;--ink:#3f2b24;--ink-soft:#69503d;--title-wine:#712c3d;--text-body:18px;--text-label:17px;--text-note:15px}
html,body{font:400 var(--text-body)/1.8 var(--sans);letter-spacing:-.015em;-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,input,select,textarea{font-family:var(--sans)}
.brand{font-size:36px;font-weight:700}
.sound{font-size:14px;line-height:1.5;min-height:44px;padding:9px 15px}.sound svg{width:18px;height:18px}
.speaker{font-size:14px;font-weight:600;letter-spacing:.1em}
.greeting h1{font-size:clamp(28px,2.6vw,38px);font-weight:700;line-height:1.55;letter-spacing:-.025em}
.book-open .greeting h1{font-size:29px;font-weight:700}
.question-caption{font-size:16px;letter-spacing:.02em;font-weight:500;line-height:1.65;margin-bottom:16px;color:#ffe6bc}
.topic{min-height:62px;font-size:22px;font-weight:700;letter-spacing:0;line-height:1.45;padding:14px 22px}
.direct label{font-size:23px;font-weight:700;line-height:1.5}.direct input{font-size:18px;min-height:54px}.direct input::placeholder{font-size:16px;color:#ddc8b0}.submit{font-size:17px;font-weight:600}.back{font-size:15px;min-height:44px}
.replay{font-size:15px;min-height:46px;padding:10px 18px}.skip{font-size:15px;min-height:44px}
footer{font-size:14px;line-height:1.6;color:#efd9bd}.preview-status{max-width:360px}.error{font-size:15px}
.room.book-open{padding-bottom:126px}.book-open .controls{bottom:64px}.book-open footer{bottom:18px}

.book-form{font-size:var(--text-body);line-height:1.8;color:var(--ink)}
.record-heading{gap:22px;margin-bottom:28px;padding:25px 27px;border:3px solid #c29b5d;border-radius:9px;background:#5b152a;box-shadow:inset 0 0 0 4px #e4c78717,0 8px 20px #42132124}
.record-heading>div{min-width:0}
.record-kicker{display:inline-block;font:700 15px/1.5 var(--sans);letter-spacing:.07em;color:#f5dcac;padding:0;margin:0 0 12px;border:0;background:none}
.record-heading h2{font:700 40px/1.45 var(--serif);color:#fff5dd;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:anywhere;margin:0;text-shadow:0 2px 1px #290b1640}
.record-heading h2::after{content:"";display:block;width:80px;height:4px;margin:17px 0 0;background:#e0bb75;border-radius:2px}
.record-intro{font:400 17px/1.85 var(--sans);color:#f2dfbe;margin:16px 0 0;word-break:keep-all;overflow-wrap:anywhere}
.record-seal{font-size:21px;font-weight:700;padding:8px 9px;flex:none;align-self:flex-start;margin-top:5px;border:2px solid #dec084;color:#fff0cd;background:#7a304144}
.entry-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;font-size:17px;line-height:1.6;color:#684830;margin-bottom:32px;padding-bottom:24px;border-bottom:2px solid #b999665e}
.entry-steps li{gap:10px;min-height:60px;padding:10px 13px;border:1px solid #b89765;border-radius:5px;background:#fff6e2}
.entry-steps span{font:700 24px/1.3 var(--serif);color:#906421}
.entry-steps [aria-current="step"]{font-weight:700;color:#fff5dd;background:#5b152a;border:2px solid #bd914f;border-bottom:5px solid #d8ad64;box-shadow:0 4px 9px #51291b1a;text-decoration:none}
.entry-steps [aria-current="step"] span{color:#f1cf88}
.section-heading h3,.topic-intro h3,.entry-review h3{font:700 32px/1.5 var(--serif);color:#fff5dd;letter-spacing:-.025em;border:2px solid #b68c50;border-left:6px solid #dfb76d;border-radius:5px;background:#672039;box-shadow:0 4px 0 #d7b57955;padding:17px 20px;margin:0 0 20px;word-break:keep-all;overflow-wrap:anywhere}
.section-heading p,.topic-intro p{font:400 17px/1.85 var(--sans);color:var(--ink-soft);word-break:keep-all;overflow-wrap:anywhere}
.topic-intro{margin-bottom:34px}.topic-section{min-width:0;padding-top:30px;padding-bottom:30px;border-top:2px solid #b8945a70}
#topicDetails{counter-reset:question-chapter}.topic-section{counter-increment:question-chapter}
.topic-section>h4,.topic-section>legend{display:flex;align-items:center;gap:13px;width:100%;font:700 25px/1.5 var(--serif);color:#592333;letter-spacing:-.015em;margin:0 0 24px;padding:12px 16px;border:2px solid #be975c;border-radius:4px;background:#ecd09e;box-shadow:inset 0 0 0 3px #fff2cd8c;word-break:keep-all;overflow-wrap:anywhere}
.topic-section>h4::before,.topic-section>legend::before{content:counter(question-chapter,decimal-leading-zero);flex:none;display:grid;place-items:center;min-width:42px;min-height:42px;border-radius:3px;background:#672039;color:#ffe9b5;font:700 25px/1 var(--serif)}
.details-grid,.topic-section .details-grid{column-gap:32px;row-gap:27px}
.book-form .detail-field>label,.detail-field legend,.field-label-row>label:first-child{font:700 var(--text-label)/1.6 var(--sans);color:#4c3229;text-shadow:none;margin-bottom:11px}
.book-form select,.book-form input[type="text"],.book-form input[type="time"],.book-form input[type="number"],.book-form input[type="month"]{font:400 18px/1.5 var(--sans);min-height:54px;height:auto;padding:12px 13px;color:#392821}
.book-form textarea{font:400 18px/1.85 var(--sans);min-height:128px;padding:13px 15px;color:#392821}
.book-form :is(input,textarea)::placeholder{font-size:16px;font-weight:400;color:#79644f;opacity:1}
.book-form .choice-group label,.book-form .detail-field:has(input[type="checkbox"]):not(:has(input[type="text"])) label,.book-form .checkbox-group label{font:500 16px/1.6 var(--sans)}
.choice-group span{height:auto;min-height:46px;padding:8px 10px;line-height:1.55;color:#5b4030}.gender-group span{font-size:18px;min-height:54px}
.field-label-row{flex-wrap:wrap;gap:8px 15px;align-items:center;margin-bottom:11px}.field-label-row>label:first-child{margin:0}
.book-form label.unknown-time{font:500 15px/1.6 var(--sans);margin:0;color:#624333;gap:7px}.unknown-time input{width:18px;height:18px;margin:0}
.optional{font:500 14px/1.5 var(--sans);color:#735b43;margin-left:8px;white-space:normal}
.field-hint{font:400 15px/1.8 var(--sans);color:#705842;margin-top:10px}
.book-form summary{font:700 24px/1.6 var(--serif);color:#592333;min-height:44px;word-break:keep-all}
.book-form details{padding:23px;border:2px solid #be975c;background:#fff8e8}.book-form details[open] summary{margin-bottom:27px;padding-bottom:18px;border-bottom:2px solid #c6a16b}
.record-actions{flex-wrap:wrap;gap:18px;margin-top:26px;padding-top:23px}.record-actions p{font:400 15px/1.7 var(--sans);color:#705640;flex:1;min-width:170px}
.record-actions button{font:700 20px/1.5 var(--sans);min-height:60px;padding:14px 25px;gap:23px;border:2px solid #b48a51}.record-actions button span{font-size:24px}
.book-form .record-actions button.previous-step{font:500 16px/1.6 var(--sans);min-height:48px;white-space:normal}
.entry-status,.topic-status,.photo-error{font:500 16px/1.7 var(--sans)}
.entry-review dl{grid-template-columns:150px 1fr;gap:17px 23px}.entry-review dt{font-size:16px;line-height:1.75;font-weight:600;color:#71503a}.entry-review dd{font-size:18px;line-height:1.8;color:#3f2b24}
.photo-guidance{font:400 16px/1.8 var(--sans);color:#664a36}.book-form label.photo-consent{font:500 15px/1.75 var(--sans);color:#644833;gap:9px}.photo-consent input{width:18px;height:18px;margin-top:4px}
.photo-pick{font:600 17px/1.5 var(--sans);min-height:50px;height:auto;padding:12px 21px}.photo-count{font-size:15px;color:#654a35}.photo-local-note{font-size:14px;line-height:1.7;color:#705a43}.photo-remove{font-size:14px;min-height:40px;padding:7px 12px}

@media(max-width:720px){
  :root{--text-body:17px;--text-label:17px}
  .brand{font-size:31px}.sound{font-size:14px;padding:8px 11px}.speaker{font-size:14px}.greeting h1{font-size:27px;line-height:1.5}.greeting{top:105px}
  .question-caption{font-size:15px;margin-bottom:12px}.topic{font-size:21px;min-height:54px;padding:11px 10px}.question-panel{bottom:88px}
  footer{font-size:13px;gap:10px}.preview-status{max-width:205px}.replay{font-size:14px;min-height:46px;padding:9px 13px}.room.book-open{padding-bottom:145px}.book-open .controls{bottom:78px}.book-open footer{bottom:20px}
  .book-form{padding:24px 21px}.record-heading{gap:10px;padding:21px 18px}.record-heading h2{font-size:32px;line-height:1.5}.record-heading h2::after{width:64px;margin-top:15px}.record-kicker{font-size:14px;letter-spacing:.03em;padding:0}.record-intro{font-size:16px;line-height:1.85;margin-top:15px}.record-seal{font-size:18px;padding:6px 7px;margin-left:0}
  .entry-steps{gap:7px;font-size:16px}.entry-steps li{flex-direction:column;justify-content:center;gap:4px;padding:10px 5px;text-align:center;min-height:83px}.entry-steps span{font-size:24px}
  .section-heading h3,.topic-intro h3,.entry-review h3{font-size:28px;line-height:1.55;padding:14px 15px}.section-heading p,.topic-intro p{font-size:17px;line-height:1.9}
  .topic-section>h4,.topic-section>legend{font-size:24px;padding:11px 12px;gap:10px}.topic-section>h4::before,.topic-section>legend::before{min-width:36px;min-height:40px;font-size:23px}.details-grid,.topic-section .details-grid{row-gap:25px}
  .book-form .detail-field>label,.detail-field legend,.field-label-row>label:first-child{font-size:17px}.book-form :is(select,input[type="text"],input[type="time"],textarea){font-size:17px}.book-form :is(input,textarea)::placeholder{font-size:16px}
  .date-parts{grid-template-columns:1.25fr 1fr 1fr;gap:6px}.date-parts select{padding:12px 6px}
  .book-form .choice-group label{font-size:16px}.choice-group span{min-height:46px;padding:8px 5px}.gender-group span{font-size:18px;min-height:54px}.optional{font-size:14px}.field-hint{font-size:15px;line-height:1.8}
  .record-actions{gap:15px}.record-actions p{font-size:15px;min-width:0}.record-actions button{font-size:20px;min-height:60px}.record-actions #entryHint{order:3}.book-form .record-actions button.previous-step{font-size:16px}
  .entry-review dl{grid-template-columns:1fr;gap:5px}.entry-review dt{font-size:15px;margin-top:14px}.entry-review dd{font-size:17px;margin-bottom:9px}
  .book-form details{padding:20px 16px}.book-form summary{font-size:23px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-image{height:140px}.photo-remove{font-size:14px;min-height:40px}.photo-controls{flex-wrap:wrap;gap:11px}
}
@media(max-width:440px){.record-heading{display:block}.record-seal{display:none}.record-heading h2{font-size:32px}.entry-steps{font-size:15px}}

/* Form reading scale: keep display headings, enlarge everything people enter or read. */
#bookForm{
  --ink:#26211e;--ink-soft:#443a31;--text-body:20px;--text-label:21px;--text-note:18px;
  font:500 20px/1.8 var(--sans);color:#26211e;
}
#bookForm .record-kicker{font-size:18px;font-weight:700;line-height:1.6}
#bookForm .record-intro{font:500 20px/1.8 var(--sans)}
#bookForm :is(.section-heading p,.topic-intro p){font:500 20px/1.8 var(--sans);color:#443a31}
#bookForm .entry-steps{font:650 20px/1.65 var(--sans);color:#443a31}
#bookForm .entry-steps li{min-width:0;height:auto;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
#bookForm .entry-steps [aria-current="step"]{color:#fff5dd}
#bookForm :is(.details-grid,.detail-field,.field-label-row,.photo-controls){min-width:0}
#bookForm label,
#bookForm .detail-field legend,
#bookForm .photo-field-label{
  font:650 21px/1.65 var(--sans);color:#26211e;text-shadow:none;
  white-space:normal;word-break:keep-all;overflow-wrap:anywhere;
}
#bookForm .photo-field-label{margin-bottom:16px}
#bookForm :is(select,input[type="text"],input[type="time"],input[type="number"],input[type="month"],input[type="date"]){
  width:100%;min-width:0;height:auto;min-height:60px;padding:12px 14px;
  font:500 20px/1.6 var(--sans);color:#26211e;background:#fffaf0;
}
#bookForm select{padding-right:30px}
#bookForm select option{font-size:20px;color:#26211e;background:#fffaf0}
#bookForm textarea{
  min-height:160px;font:500 20px/1.8 var(--sans);padding:14px 16px;
  color:#26211e;background:#fffaf0;overflow-wrap:anywhere;
}
#bookForm :is(input,textarea)::placeholder{font:500 20px/1.65 var(--sans);color:#62584e;opacity:1}
#bookForm :is(input,select,textarea):disabled{opacity:1;color:#62584e;background:#e1d6c3}
#bookForm .choice-group{flex-wrap:wrap;gap:10px}
#bookForm .choice-group label{flex:1 1 110px;min-width:0;font-size:20px}
#bookForm .choice-group span{
  height:auto;min-height:58px;padding:11px 12px;font:600 20px/1.55 var(--sans);
  color:#26211e;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;
}
#bookForm .choice-group input:checked+span{color:#fff2d6}
#bookForm .field-label-row{flex-wrap:wrap;align-items:center;gap:12px 16px}
#bookForm :is(label.unknown-time,label.photo-consent,.checkbox-group label){font:600 20px/1.7 var(--sans);color:#26211e}
#bookForm :is(.unknown-time,.photo-consent) input{width:22px;height:22px;flex:none;margin-top:5px}
#bookForm :is(.field-hint,.optional,.photo-guidance,.photo-local-note,.photo-count,.record-actions p){
  font:500 18px/1.8 var(--sans);color:#443a31;
  white-space:normal;word-break:keep-all;overflow-wrap:anywhere;
}
#bookForm .optional{font-weight:600}
#bookForm :is(.field-hint,.photo-guidance,.photo-local-note){margin-top:12px}
#bookForm :is(.entry-status,.topic-status,.photo-error){font:650 20px/1.8 var(--sans);color:#26211e;overflow-wrap:anywhere}
#bookForm .record-actions{height:auto;align-items:center;gap:18px;flex-wrap:wrap}
#bookForm .record-actions button{font:700 20px/1.6 var(--sans);height:auto;min-height:62px;white-space:normal;overflow-wrap:anywhere}
#bookForm .record-actions button.previous-step{font:650 20px/1.65 var(--sans);min-height:56px;color:#443a31}
#bookForm .entry-review dl{grid-template-columns:minmax(155px,.38fr) minmax(0,1fr);gap:18px 25px}
#bookForm .entry-review dt{font:650 20px/1.75 var(--sans);color:#443a31;overflow-wrap:anywhere}
#bookForm .entry-review dd{font:500 21px/1.8 var(--sans);color:#26211e;min-width:0;overflow-wrap:anywhere}
#bookForm .entry-review #reviewFields{max-height:none;overflow:visible;padding-right:0}
#bookForm .photo-controls{flex-wrap:wrap;gap:12px 18px}
#bookForm .photo-pick{font:650 20px/1.6 var(--sans);height:auto;min-height:58px;padding:12px 20px;white-space:normal}
#bookForm .photo-pick:disabled{color:#443a31;opacity:1}
#bookForm .photo-remove{font:650 20px/1.5 var(--sans);min-height:48px;padding:9px 13px}

@media(max-width:900px){
  #bookForm .details-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:720px){
  #bookForm{font-size:20px;line-height:1.8}
  #bookForm :is(label,.detail-field legend,.photo-field-label){font-size:20px}
  #bookForm .entry-steps{font-size:20px;gap:7px}
  #bookForm .entry-steps li{padding:12px 6px;min-height:94px}
  #bookForm .entry-review dl{grid-template-columns:minmax(0,1fr);gap:6px}
  #bookForm .entry-review dt{margin-top:18px}
  #bookForm .entry-review dd{font-size:20px;margin-bottom:12px}
  #bookForm .record-actions{align-items:stretch}
  #bookForm .record-actions button{width:100%}
}
@media(max-width:520px){
  #bookForm .date-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #bookForm .date-parts select:first-child{grid-column:1 / -1}
  #bookForm .date-parts select{padding:13px 30px 13px 14px}
  #bookForm .entry-steps li{padding:12px 4px;line-height:1.65}
}
