/* けいこのカードの旗と「音声を知らせる」の窓（voice-report.js）。ポータルともじの「よむ」の両方で読む。 */
.voice-report-button{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:#b0884d;cursor:pointer;opacity:.75}
.voice-report-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.voice-report-button:hover,.voice-report-button:focus-visible{opacity:1;background:#f4dfb0;border-color:#cfb079}
.voice-report-button:focus-visible{outline:2px solid #93672f;outline-offset:2px}
/* カードの右上の角。カードの中身（題・札）には重ならない。 */
.flashcard>.voice-report-button,.drill-card>.voice-report-button{position:absolute;top:6px;right:6px;z-index:3}
dialog.voice-report{box-sizing:border-box;width:min(420px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:20px 20px 18px;border:4px double #c49d62;border-radius:14px;background:#fff9e7;color:#49341f;font-family:'Noto Sans JP',sans-serif}
dialog.voice-report::backdrop{background:#2d170b99}
.voice-report-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.voice-report-head h2{margin:0;font-size:18px;flex:1}
.voice-report-close{flex-shrink:0;width:34px;height:34px;border:0;border-radius:50%;background:#ead3a8;color:#49341f;font-size:20px;line-height:1;cursor:pointer}
.voice-report-lead{margin:0 0 12px;font-size:13px;color:#86725a}
.voice-report-choices{margin:0 0 12px;padding:0;border:0}
.voice-report-choices legend{padding:0;margin-bottom:6px;font-size:13px;font-weight:700}
.voice-report-choices label{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px;margin-bottom:6px;border:1px solid #e0cfaf;border-radius:10px;background:#fff;cursor:pointer}
.voice-report-choices label:has(input:checked){border-color:#c49d62;background:#fff0cc}
.voice-report-choices input{width:18px;height:18px;margin:0;accent-color:#bd3b2f}
.voice-report-one{margin:0 0 12px;font-size:14px}
.voice-report-one strong{font-size:17px;margin-left:4px}
.voice-report-label{display:block;margin-bottom:6px;font-size:13px;font-weight:700}
.voice-report textarea{box-sizing:border-box;width:100%;min-height:64px;padding:10px 12px;border:1px solid #c9b48c;border-radius:10px;background:#fff;color:#49341f;font:inherit;font-size:16px;resize:vertical}
.voice-report textarea:focus-visible{outline:2px solid #93672f;outline-offset:1px}
.voice-report-error{min-height:1em;margin:8px 0 0;font-size:13px;font-weight:700;color:#b53a3a}
.voice-report-error:empty{margin:0;min-height:0}
.voice-report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.voice-report-actions button{min-height:44px;padding:0 18px;border-radius:12px;font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.voice-report-cancel{border:1px solid #d9c7a4;background:#fff;color:#49341f}
.voice-report-send{border:1px solid #e8b139;background:#ffca4b;color:#45350e;box-shadow:0 3px 0 #d69d25}
.voice-report-send:disabled{opacity:.55;cursor:default}
