/* Comment, questionnaire and completion pages; loaded after the base styles. */
.survey-intro{margin:18px 0 24px;color:#60735f;font-size:13px;line-height:2;overflow-wrap:anywhere}
.survey-intro strong{color:var(--ink);font-weight:600}
.survey-intro p{margin:0 0 8px}
.survey-intro p:last-child{margin-bottom:0}
.scene-copy .scene-continue-note{margin-top:20px;color:var(--green);font-size:13px;font-weight:600}
.reflection-card{border-color:#d3dfcf;border-top:5px solid var(--green);box-shadow:0 18px 55px #264e3b0d}
.reflection-heading{display:flex;align-items:center;gap:13px}
.reflection-symbol{display:grid;place-items:center;flex:0 0 42px;height:42px;border:1px solid #d5e2cc;border-radius:12px;background:#eaf2e4;color:var(--green)}
.reflection-symbol svg{width:25px;height:25px}
.reflection-intro{margin:23px 0 25px;overflow-wrap:anywhere}
.reflection-opening{color:var(--ink);font-size:16px;line-height:1.95;font-weight:500;margin-bottom:12px}
.reflection-context{font-size:14px;line-height:1.95;color:#60735f;margin:0}
.memory-definitions{padding:20px 23px 22px;border:1px solid #e3dfcc;border-left:3px solid #b68c48;border-radius:9px;background:#fbf8ee}
.memory-definitions h2{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.6;letter-spacing:0;color:#715c32;margin:0 0 15px;font-weight:650}
.memory-definitions h2>span{display:grid;place-items:center;width:18px;height:18px;border:1px solid #bba573;border-radius:50%;font-size:12px;line-height:1;font-weight:600}
.memory-definitions dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}
.memory-definitions dl>div{min-width:0}
.memory-definitions dt{font-size:14px;font-weight:600;line-height:1.9;color:var(--ink);margin:0 0 5px}
.memory-definitions dd{font-size:13px;line-height:1.95;color:#69725f;margin:0;overflow-wrap:anywhere}
.comprehension-form{margin-top:25px}
.reflection-check{padding:22px 23px;border:1px solid #d8e3d2;border-radius:10px;background:#f5f8f0}
.reflection-check .survey-question{padding:0;border:0}
.reflection-check .question-title{font-size:17px;line-height:1.85;font-weight:600;margin-bottom:18px}
.reflection-check .rating-options{grid-template-columns:repeat(7,minmax(0,1fr))}
.reflection-check .rating-option span{min-width:0}
.reflection-check .rating-option span{background:var(--white);border-color:#c6d5bd;min-height:48px}
.reflection-check .rating-option:hover span{background:#e8f0e1}
.reflection-check .rating-option input:checked+span{background:var(--green);border-color:var(--green)}
.reflection-check .scale-anchors{color:#65785b;font-size:11px;margin-top:10px}
.reflection-card .survey-actions{margin-top:23px}
@media(max-width:640px){
  .memory-definitions dl{grid-template-columns:minmax(0,1fr);gap:15px}
  .memory-definitions dl>div+div{padding-top:15px;border-top:1px solid #e8e2d0}
}
@media(max-width:520px){
  .reflection-card{padding:24px 20px 22px}
  .reflection-heading{gap:10px}
  .reflection-symbol{flex-basis:35px;height:35px;border-radius:10px}
  .reflection-symbol svg{width:22px;height:22px}
  .reflection-intro{margin:20px 0}
  .reflection-opening{font-size:15px;line-height:1.95;margin-bottom:11px}
  .reflection-context{font-size:13px;line-height:1.95}
  .memory-definitions{padding:17px 16px 18px}
  .memory-definitions h2{font-size:13px;margin-bottom:12px}
  .memory-definitions dt{font-size:13px}
  .memory-definitions dd{font-size:12px;line-height:1.95}
  .comprehension-form{margin-top:20px}
  .reflection-check{padding:19px 15px}
  .reflection-check .question-title{font-size:15px;line-height:1.9;margin-bottom:15px}
  .reflection-check .rating-option span{min-height:44px}
  .reflection-check .scale-anchors{font-size:10px}
}
.actions.actions-end{justify-content:flex-end}
.writing-info{justify-content:flex-end}
.single-question{margin-top:28px}
.survey-form{width:100%;min-width:0;margin-top:24px}
.survey-question{min-width:0;margin:0;padding:25px 0;border:0;border-top:1px solid var(--line);scroll-margin-top:24px}
.survey-form>.survey-question:first-child{border-top:0;padding-top:0}
.survey-question fieldset,.survey-form fieldset{min-inline-size:0;max-width:100%;margin-inline:0;padding-inline:0;border-inline:0;border-bottom:0}
.survey-question fieldset{margin:0;padding:0;border:0}
.question-title,.survey-question legend{display:block;max-width:100%;width:100%;padding:0;margin:0 0 16px;font-size:16px;line-height:1.9;font-weight:550;color:var(--ink);overflow-wrap:anywhere}
.question-number{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;margin-right:8px;padding:0 5px;border-radius:5px;background:#eaf1e3;color:#648155;font-size:11px;line-height:1.2;font-weight:550;vertical-align:2px;font-variant-numeric:tabular-nums}
.rating-options{display:grid;grid-template-columns:repeat(7,minmax(32px,1fr));gap:6px;min-width:0;width:100%;margin:0}
.rating-option{position:relative;display:block;min-width:0;margin:0;cursor:pointer;touch-action:manipulation}
.rating-option input[type=radio]{position:absolute;width:1px;height:1px;margin:0;opacity:0;clip-path:inset(50%);overflow:hidden}
.rating-option span{display:flex;align-items:center;justify-content:center;min-width:32px;min-height:46px;padding:7px 3px;border:1px solid #ccd8c5;border-radius:6px;background:#fbfcf7;color:#62765d;font-size:15px;font-variant-numeric:tabular-nums;line-height:1.3;transition:background .15s,border-color .15s,color .15s}
.rating-option:hover span{background:#edf3e7;border-color:#8da582}
.rating-option input:checked+span{background:var(--green);border-color:var(--green);color:#fffefa;box-shadow:0 2px 7px #214f4417;font-weight:650}
.rating-option input:focus-visible+span{outline:3px solid #d2b578;outline-offset:3px}
.rating-option input:disabled+span{opacity:.45;cursor:default}
.scale-anchors{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-top:9px;color:#849278;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.scale-anchors>*{max-width:48%;min-width:0}
.scale-anchors>:last-child{text-align:right}
.scale-anchors-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scale-anchors-three>*{max-width:100%}
.scale-anchors-three>:nth-child(2){text-align:center}
.survey-section-label{margin:25px 0 0;color:var(--ink);font-size:13px;line-height:1.9;font-weight:550}
.demographic-options{grid-template-columns:repeat(2,minmax(0,1fr));max-width:320px;gap:12px}
.age-input-row{display:flex;align-items:center;gap:12px;max-width:280px;color:var(--ink);font-size:14px}
.age-input-row input{width:100%;min-width:0;min-height:46px;padding:10px 13px;border:1px solid #ccd8c5;border-radius:6px;background:#fbfcf7;color:var(--ink);font:inherit;font-size:16px;line-height:1.5}
.age-input-row input:focus-visible{outline:3px solid #d2b578;outline-offset:3px}
.question-error{margin-top:9px;margin-bottom:0;color:#9d5f49;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.form-error{margin:18px 0 0;padding:11px 14px;border:1px solid #e3c6b7;border-radius:6px;background:#fbf3ec;color:#975a43;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.survey-question[aria-invalid=true] .rating-option span{border-color:#cca38e}
.survey-question[aria-invalid=true] .rating-option input:checked+span{border-color:var(--green)}
.comment-area{min-width:0;width:100%;margin-top:22px}
.comment-area textarea{display:block;width:100%;max-width:100%;min-height:160px;margin-top:10px;resize:vertical;padding:15px 16px;border:1px solid #ccd8c5;border-radius:7px;background:#fbfcf7;color:var(--ink);font-size:14px;line-height:2;outline:none}
.comment-area textarea:focus{border-color:#6c9677;box-shadow:0 0 0 3px #83a57b12}
.comment-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-top:7px;font-size:10px;color:#8c9980;line-height:1.8;overflow-wrap:anywhere}
.comment-meta>*{min-width:0}
.comment-meta>:last-child{margin-left:auto;flex-shrink:0;font-variant-numeric:tabular-nums}
.comment-photo-heading{margin:25px 0 12px;font-size:14px;font-weight:550;color:#375646;line-height:1.8}
.comment-photo-heading h2{font-size:14px;letter-spacing:0}
.comment-photo-heading small{font-size:10px;font-weight:400;color:#8c9980;margin-left:6px}
.comment-photo-heading p{font-size:11px;font-weight:400;color:#849278;margin-top:7px}
textarea.comment-area{display:block;min-height:160px;margin-top:10px}
.photo-choice span b{float:right;margin-left:6px;font-weight:500}
.review-comment{white-space:pre-wrap}
.photo-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0;width:100%;margin-top:12px}
.photo-choice{position:relative;min-width:0}
button.photo-choice,.photo-choice button{display:block;position:relative;width:100%;padding:0;border:1px solid #d4deca;border-radius:7px;overflow:hidden;background:#f8faf3;text-align:left;color:#6d8060;cursor:pointer;touch-action:manipulation}
button.photo-choice:hover,.photo-choice button:hover{border-color:#89a077;background:#edf3e7}
.photo-choice img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.photo-choice span{display:block;padding:7px 9px;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
button.photo-choice[aria-pressed=true],.photo-choice button[aria-pressed=true]{border-color:var(--green);background:#eaf1e3;box-shadow:0 0 0 2px var(--green);color:var(--green)}
button.photo-choice[aria-pressed=true]::after,.photo-choice button[aria-pressed=true]::after{content:'✓';position:absolute;right:7px;top:7px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #fffdf6;border-radius:50%;background:var(--green);color:#fffefa;font-size:14px;line-height:1;box-shadow:0 2px 8px #193e3830}
.survey-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.survey-actions .primary{margin-left:auto;max-width:100%;min-height:44px}
.survey-actions .secondary{min-height:44px;max-width:100%;padding:9px 0}
.completion-mark{display:grid;place-items:center;width:66px;height:66px;margin:0 0 22px;border:1px solid #cdddc4;border-radius:50%;background:#edf4e6;color:#537846;font-size:30px;line-height:1;font-weight:500}
.completion-copy{margin-top:17px;color:#667b5e;font-size:14px;line-height:2.1;overflow-wrap:anywhere}
.completion-copy p{margin:0 0 12px}
.completion-code-instruction{margin:20px 0;color:#506850;font-size:15px;line-height:2}
.completion-code-reference{display:flex;flex-direction:column;gap:5px;margin:23px 0;padding:18px 22px;border:1px solid #d4dfcb;border-radius:9px;background:#edf4e7}
.completion-code-reference>span{font-size:12px;color:#657e5b}
.completion-code-reference strong{font-size:27px;letter-spacing:.09em;font-weight:600;color:var(--green);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.completion-code-card input{font-variant-numeric:tabular-nums;letter-spacing:.06em}
.completion-stay-note{font-size:12px;color:#718267;margin-top:20px;line-height:1.9}
@media(max-width:520px){
  .completion-code-instruction{font-size:14px}
  .completion-code-reference{padding:16px 18px}
  .completion-code-reference strong{font-size:23px;letter-spacing:.06em}
}
.preview-jumps{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin-top:18px;font-size:11px;line-height:1.8}
.preview-jumps button{min-height:36px;max-width:100%;padding:6px 0;background:none;border:0;color:#5e7952;text-decoration:underline;text-underline-offset:4px;white-space:normal;text-align:left}
.preview-review{margin-top:25px;border:1px solid var(--line);border-radius:7px;background:#f8faf4;overflow:hidden}
.preview-review>summary{padding:13px 16px;color:#526c49;font-size:12px;font-weight:550;cursor:pointer;line-height:1.9;overflow-wrap:anywhere}
.preview-review[open]>summary{border-bottom:1px solid var(--line)}
.preview-review>div{min-width:0;padding:15px 17px}
.review-list{max-width:100%;margin:0;padding-left:19px;color:#77866d;font-size:12px;line-height:2;overflow-wrap:anywhere}
.review-list li+li{margin-top:8px}
.review-list strong,.review-list dt{color:#44603e;font-weight:550}
dl.review-list{padding-left:0}
.review-list dd{margin:3px 0 12px;color:#77866d}
.photo-review-image{display:block;max-width:100%;width:100%;height:auto;max-height:360px;margin:15px 0 0;border:1px solid var(--line);border-radius:6px;object-fit:contain;background:#edf2e8}
.progress ol{gap:5px}
.progress li{flex:1;min-width:0;text-align:center}
.progress li>span:last-child{max-width:100%;overflow-wrap:anywhere}

@media(max-width:640px){
  .progress ol{justify-content:center;gap:10px}
  .progress li{display:none;flex:1;max-width:105px;min-width:0}
  .progress li.active,.progress li:has(+li.active),.progress li.active+li{display:flex}
  .progress ol:not(:has(li.active)) li:nth-last-child(-n+2){display:flex}
  .progress ol:before{left:16%;right:16%}
  .photo-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:520px){
  .survey-intro{margin:15px 0 20px;font-size:12px;line-height:1.95}
  .survey-form{margin-top:21px}
  .survey-question{padding:23px 0;scroll-margin-top:16px}
  .question-title,.survey-question legend{font-size:14px;line-height:1.95;margin-bottom:13px}
  .question-number{min-width:21px;height:21px;margin-right:6px;font-size:10px;vertical-align:1px}
  .rating-options{gap:2px}
  .rating-option span{min-height:44px;padding:7px 2px;border-radius:5px;font-size:13px}
  .scale-anchors{gap:10px;font-size:10px;line-height:1.8;margin-top:8px}
  .question-error{font-size:10px;margin-top:8px}
  .form-error{padding:10px 12px;font-size:11px}
  .comment-area{margin-top:19px}
  .comment-area textarea{min-height:160px;padding:12px;font-size:16px;line-height:1.9}
  textarea.comment-area{font-size:16px;line-height:1.9}
  .comment-meta{font-size:9px;gap:9px}
  .comment-photo-heading{margin:22px 0 10px;font-size:12px}
  .photo-choice span{padding:6px 7px;font-size:9px}
  button.photo-choice[aria-pressed=true]::after,.photo-choice button[aria-pressed=true]::after{width:21px;height:21px;right:5px;top:5px;font-size:12px}
  .survey-actions{gap:10px;margin-top:24px;padding-top:19px}
  .survey-actions .primary{padding:10px 16px;gap:12px;font-size:11px}
  .survey-actions .secondary{font-size:10px}
  .completion-mark{width:58px;height:58px;margin-bottom:18px;font-size:27px}
  .completion-copy{margin-top:15px;font-size:13px;line-height:2}
  .preview-jumps{gap:5px 14px;font-size:10px;margin-top:15px}
  .preview-review{margin-top:21px}
  .preview-review>summary{padding:12px 13px;font-size:11px}
  .preview-review>div{padding:13px}
  .review-list{font-size:11px;padding-left:17px}
  .photo-review-image{max-height:250px;margin-top:12px}
}
@media(max-width:360px){
  .card:has(.survey-form){padding-left:18px;padding-right:18px}
}

.completion-receipt strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;letter-spacing:.02em}
