/* Shared, scoped compact recap. Does not affect room controls or dashboard. */
.recap-chat-preview p,.recap-chat-scroll p{margin-top:8px}.recap-chat-disclosure>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#5F7D63;font-size:13px}.recap-chat-disclosure .recap-chat-collapse{display:none}.recap-chat-disclosure[open] .recap-chat-expand,.recap-chat-disclosure[open]+.recap-chat-preview{display:none}.recap-chat-disclosure[open] .recap-chat-collapse{display:inline}.recap-chat-scroll{max-height:240px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;min-width:0}.recap-chat-disclosure>summary:focus-visible,.recap-chat-scroll:focus-visible{outline:2px solid #5F7D63;outline-offset:2px}
.dayo-recap{color:#51433c;font-family:inherit;overflow-wrap:anywhere;min-width:0;text-align:left;box-sizing:border-box}
.dayo-recap *{box-sizing:border-box}.dayo-recap h3{font-size:18px;margin:0 0 12px;line-height:1.4}.dayo-recap h4{font-size:14px;margin:0 0 6px}.dayo-recap p{font-size:13px;line-height:1.6;margin:0}.dayo-recap small{font-size:11px;line-height:1.6;color:#74685f}
.recap-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.recap-metrics>div{padding:10px 7px;background:#F8F0E3;border-radius:10px;min-width:0}.recap-metrics span{display:block;font-size:10px;color:#74685f;margin-bottom:4px}.recap-metrics strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.dayo-recap .recap-basis{font-size:10px;color:#74685f;margin-top:6px}
.recap-interpretation{padding:12px 0}.recap-section{border-top:1px solid #e8dfd1;padding-top:10px;margin-top:10px}.recap-chip{display:inline-block;padding:4px 9px;margin:3px 4px 0 0;background:#eef2eb;color:#5F7D63;border-radius:20px;font-size:12px}.dayo-recap .recap-expression+.recap-expression{margin-top:5px}.recap-word{padding:9px;background:#FFFBF4;border:1px solid #e8dfd1;border-radius:10px}.recap-word+.recap-word{margin-top:6px}.recap-word h5{font-size:14px;margin:0 0 2px}.recap-primary,.recap-option{font:inherit;font-size:13px;min-height:44px;padding:10px 13px;border:1px solid #5F7D63;border-radius:10px;cursor:pointer;background:#5F7D63;color:white;margin-top:8px;max-width:100%;overflow-wrap:anywhere}.recap-option{background:#FFFBF4;color:#51433c;display:block;width:100%;text-align:left}.recap-primary:focus-visible,.recap-option:focus-visible{outline:3px solid #5F7D63;outline-offset:3px}.recap-option[aria-pressed=true]{background:#F8F0E3}.recap-answer{font-size:13px;color:#5F7D63;line-height:1.6;margin:8px 0}
#quiz-modal .talk-record-capture{background:#FFFBF4;aspect-ratio:auto;height:auto;max-width:100%;padding:16px}#memory-game-modal [data-recap-choices]{width:100%;min-width:0}#memory-game-modal #word-pool-container{width:100%;display:block}#memory-game-modal #answer-slot-container{display:none!important}
@media(max-width:400px){.recap-metrics{gap:4px}.recap-metrics>div{padding:8px 5px}.recap-metrics strong{font-size:12px}.recap-metrics span{font-size:9px}#quiz-modal .talk-record-capture{padding:12px}}

#quiz-modal{padding:12px!important}#quiz-modal .quiz-modal-card{width:100%!important;max-width:480px!important;padding:12px!important;box-sizing:border-box}#quiz-modal .quiz-modal-head{margin-bottom:8px}#quiz-modal .talk-record-capture{width:100%}.recap-word summary{cursor:pointer;min-height:26px;font-size:13px;line-height:1.6}.recap-word[open] small{display:block;margin-top:8px}

.recap-metrics .recap-spoken strong{font-size:17px;color:#3e4a42}.recap-metrics .recap-spoken span{margin:2px 0 0;font-size:11px}.recap-save-status{margin-top:10px!important;color:#74685f}.pr-optional>summary,.recap-help>summary,.ucr-keepsake>summary{cursor:pointer;font-size:13px;color:#5F7D63;min-height:32px;line-height:32px}.recap-help,.ucr-keepsake{margin-top:10px}#quizModalTitle{color:#5F7D63}.ucr-human{border-top-color:#5F7D63}.ucr-letter-pending{color:#74685f}@media(max-width:400px){.recap-metrics .recap-spoken strong{font-size:15px}}
#partner-report-popup .pr-dialog{max-width:540px}#partner-report-popup .pr-dialog button{min-height:44px}#partner-report-popup .pr-dialog button[aria-pressed=true],#partner-report-popup .pr-choice:has(input:checked){background:#eef2eb;border-color:#5F7D63;color:#5F7D63}#partner-report-popup .pr-dialog :focus-visible{outline-color:#5F7D63}#partner-report-popup .pr-choice input{accent-color:#5F7D63}#partner-report-popup .pr-actions #btn-final-partner-submit{background:#5F7D63;border-color:#5F7D63}
#quiz-modal #quizModalTitle{color:#5F7D63}
#quiz-modal #btn-save-talk-card[hidden]{display:none!important}

/* Own word volume and adequate recorded-speech ratio. */
.recap-volume .recap-metrics{grid-template-columns:minmax(0,1fr)}.recap-volume .recap-spoken{display:flex;align-items:baseline;gap:7px;padding:10px 12px}.recap-volume-change{margin-top:7px!important;color:#5F7D63}.recap-volume-chart{display:block;width:100%;max-width:320px;height:84px;margin:8px 0 2px;overflow:visible}.recap-volume-chart polyline{fill:none;stroke:#5F7D63;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.recap-volume-chart circle{fill:#5F7D63}.recap-volume-chart .recap-volume-axis{fill:none;stroke:#e8dfd1;stroke-width:1}.recap-volume-basis{display:block;margin-top:6px}

.recap-interpretation small{display:block;font-size:12px;line-height:1.5;color:#74685f;margin-top:6px}.recap-word{padding:12px;border:1px solid #e8dfd1;background:#F8F0E3;border-radius:12px;overflow-wrap:anywhere}.recap-word+.recap-word{margin-top:8px}.recap-word p{margin:6px 0;line-height:1.5}.recap-word small{font-size:12px;color:#74685f}

.recap-story+.recap-story{margin-top:10px}.recap-story .recap-expression{margin:6px 0 0}.recap-actions{display:flex;gap:8px;margin-top:14px}.recap-actions>.recap-primary{flex:1 1 0;width:0;min-width:0;min-height:46px;margin:0;padding:10px 8px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.4}#quiz-modal #quiz-done-btn[hidden]{display:none!important}

#quiz-modal .talk-record-actions:has(#quiz-done-btn[hidden]){display:none}

.recap-ratio{margin-top:12px}.recap-ratio>p{color:#51433c}.recap-ratio-labels{display:flex;justify-content:space-between;gap:12px;margin:7px 0 5px;font-size:12px;color:#51433c}.recap-ratio-bar{height:8px;background:#d8cdbc;border-radius:8px;overflow:hidden}.recap-ratio-bar>span{display:block;height:100%;background:#5F7D63}.recap-quiz>.recap-word{margin-top:8px}


.recap-quiz-entry{display:flex;align-items:center;justify-content:center;width:fit-content;text-decoration:none;line-height:1.4;margin-top:12px}
.recap-quiz{padding-bottom:14px}

/* Results-only rows: interactive answer choices keep their existing styling. */
#memory-game-modal #word-pool-container:has(>.recap-answer):not(:has(>button)){display:grid;gap:8px}
#memory-game-modal #word-pool-container:has(>.recap-answer):not(:has(>button))>.recap-answer{margin:0;padding:12px 14px;border:1px solid #e8dfd1;border-radius:12px;background:#F8F0E3;color:#51433c;font-size:14px;line-height:1.6;overflow-wrap:anywhere}

/* 2026-10-14 recap/quiz polish (owner request). Presentation only: ids, data-* hooks, texts and order unchanged. */
.dayo-recap h3{font-size:20px;letter-spacing:-.01em;margin-bottom:6px}
.dayo-recap .recap-section{border-top:0;margin-top:14px;padding:16px;background:#FFFFFF;border:1px solid #EFE6D8;border-radius:16px}
.dayo-recap .recap-section>h4{display:flex;align-items:center;gap:8px;font-size:15px;margin-bottom:10px;color:#3e4a42}
.dayo-recap .recap-section>h4::before{content:"";width:6px;height:6px;border-radius:50%;background:#5F7D63;flex:none}
.dayo-recap .recap-expression{position:relative;padding:8px 12px;background:#FBF6EE;border-left:3px solid #C6D1BC;border-radius:4px 10px 10px 4px;font-size:14px}
.dayo-recap .recap-expression+.recap-expression{margin-top:8px}
.dayo-recap .recap-volume-change{color:#7e736b;font-size:12px}
.dayo-recap .recap-volume .recap-spoken{background:#eef2eb}.dayo-recap .recap-volume .recap-spoken strong{font-size:22px;color:#3e4a42}
.dayo-recap .recap-quiz>p{color:#74685f;font-size:12px}
.dayo-recap .recap-word{background:#FBF6EE;border-color:#EFE6D8;padding:14px}
.dayo-recap .recap-word>strong{font-size:17px;color:#3e4a42}
.dayo-recap .recap-word .recap-word-quote{font-size:13px;color:#74685f;font-style:italic}
.recap-actions>.recap-primary[data-recap-home]{background:transparent;color:#5F7D63}
.recap-primary:hover{filter:brightness(.96)}

/* Quiz dialog */
#memory-game-modal .review-panel{padding:24px 20px 20px;box-shadow:0 18px 50px rgba(50,43,36,.18)}
#memory-game-modal #memory-game-title{margin:0 0 4px;font-size:19px;color:#3e4a42}
#memory-game-modal #game-round-badge{font-size:13px;color:#74685f}
#memory-game-modal #review-quiz-timer:not([hidden]){display:inline-block;margin-left:6px;padding:1px 8px;border-radius:20px;background:#F8F0E3;font-size:12px;color:#7e736b}
#memory-game-modal #game-kr-meaning{margin:14px 0 12px;font-size:17px;font-weight:600;line-height:1.5;color:#3e4a42}
#memory-game-modal #word-pool-container{counter-reset:opt}
.recap-quiz-progress[hidden],.recap-quiz-light[hidden]{display:none!important}.recap-quiz-progress{height:6px;margin:0 0 12px;border-radius:6px;background:#EFE6D8;overflow:hidden}.recap-quiz-progress>span{display:block;height:100%;background:#5F7D63;border-radius:6px;transition:width .3s ease}
.recap-quiz-light{margin:0 0 10px!important;font-size:12px!important;color:#7e736b}
#memory-game-modal .recap-option{position:relative;display:flex;align-items:center;gap:12px;margin-top:8px;padding:12px 14px;border:1.5px solid #E2D7C6;border-radius:14px;background:#FFFFFF;font-size:15px;transition:border-color .15s,background .15s}
#memory-game-modal .recap-option::before{counter-increment:opt;content:counter(opt,upper-alpha);flex:none;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#F8F0E3;color:#7e736b;font-size:12px;font-weight:700}
#memory-game-modal .recap-option:not(:disabled):hover{border-color:#5F7D63;background:#FBF6EE}
#memory-game-modal .recap-option:disabled{cursor:default;opacity:1;color:#51433c}
#memory-game-modal .recap-option.is-correct{border-color:#5F7D63;background:#eef2eb}
#memory-game-modal .recap-option.is-correct::before{content:"✓";background:#5F7D63;color:#fff}
#memory-game-modal .recap-option.is-wrong{border-color:#C98F84;background:#FBEFEC}
#memory-game-modal .recap-option.is-wrong::before{content:"✕";background:#C98F84;color:#fff}
#memory-game-modal .recap-option.is-dim{opacity:.55}
#memory-game-modal .recap-answer{margin:12px 0 4px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:600}
#memory-game-modal .recap-answer[data-answer-result=correct]{background:#eef2eb;color:#4a6650}
#memory-game-modal .recap-answer[data-answer-result=correct]::before{content:"👏 "}
#memory-game-modal .recap-answer[data-answer-result=incorrect]{background:#FBEFEC;color:#9a5a4f}
#memory-game-modal #word-pool-container>.recap-primary{display:block;width:100%;min-height:48px;margin-top:10px;font-size:15px;font-weight:600;border-radius:14px}
#memory-game-modal #quiz-skip-btn{display:block;width:100%;margin-top:6px;background:transparent;border-color:transparent;color:#7e736b;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.recap-result-list{display:grid;gap:8px;margin-bottom:6px}
.recap-result-lead{margin:2px 0 4px!important;font-size:15px!important;font-weight:600;color:#3e4a42}
.recap-result-row{margin:0!important;padding:10px 12px 10px 38px;position:relative;border-radius:12px;font-size:14px!important;line-height:1.5;background:#FBF6EE}
.recap-result-row::before{position:absolute;left:12px;top:10px;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff}
.recap-result-row.is-correct::before{content:"✓";background:#5F7D63}.recap-result-row.is-wrong::before{content:"✕";background:#C98F84}
.recap-result-note{display:block;font-size:12px;color:#7e736b;margin-top:2px}

/* Collapsible quiz word list (summary holds the title). */
.dayo-recap .recap-fold>summary{cursor:pointer;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:40px}
.dayo-recap .recap-fold>summary::-webkit-details-marker{display:none}
.dayo-recap .recap-fold>summary>h4{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;color:#3e4a42}
.dayo-recap .recap-fold>summary>h4::before{content:"";width:6px;height:6px;border-radius:50%;background:#5F7D63}
.dayo-recap .recap-fold>summary>p{flex:1 1 100%;margin:0;font-size:12px;color:#74685f;padding-left:14px}
.dayo-recap .recap-fold>summary::after{content:"▾";position:absolute;right:16px;top:18px;color:#7e736b;transition:transform .2s}
.dayo-recap .recap-quiz{position:relative}.dayo-recap .recap-fold[open]>summary::after{transform:rotate(180deg)}
.dayo-recap .recap-fold[open]>summary{margin-bottom:8px}
.ucr-quiz-last{margin-top:14px}.ucr-quiz-last>.recap-section{margin-top:0}
