.px-frame { max-width: 54rem; margin-inline: auto; color: #211f39; }
.px-frame button,.px-dialog button { font-family: inherit; }
.px-frame .card,.px-replace,.px-empty { background: #fff; border: 1px solid #e4e4ee; border-radius: 20px; }
.px-frame p { line-height: 1.7; }
.px-sr { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.px-topline,.px-exam-meta,.px-qnum,.px-step,.px-actions,.px-dialog-buttons,.px-review-head,.px-stat-block,.px-bank-meta,.px-tab,.px-audio,.px-foot,.px-voice-trial,.px-history-row { display: flex; align-items: center; }
.px-topline,.px-qnum,.px-step,.px-review-head,.px-bank-meta { justify-content: space-between; }
.px-topline { gap: 12px; color: #69687f; font-size: .875rem; padding-bottom: 1.35rem; }
.px-topline .px-back,.px-qnum .px-voice-link { padding-inline: 0; }
.px-exam-meta { flex-wrap: wrap; column-gap: .7rem; row-gap: .4rem; font-weight: 600; font-size: .875rem; color: #646179; }
.px-kind { display: inline-flex; align-items: center; gap: .4rem; color: #514495; background: #eeebff; border-radius: 8px; padding: .35rem .65rem; }
.px-qnum { margin: .65rem 0; gap: .5rem; }
.px-qnum h1,.px-view-head h1 { font-weight: 780; font-size: clamp(1.65rem,3vw,2.15rem); letter-spacing: -.045em; line-height: 1.35; margin: 0; }
.px-qnum h1 span { font-variant-numeric: tabular-nums; }
.px-qnum h1 small { color: #77748c; font-weight: 550; font-size: 1.05rem; letter-spacing: 0; }
.px-progress { display: block; width: 100%; height: 6px; border: 0; appearance: none; border-radius: 99px; background: #e7e5f1; overflow: hidden; }
.px-progress::-webkit-progress-bar { background: #e7e5f1; border-radius: 99px; }
.px-progress::-webkit-progress-value { border-radius: 99px; background: #6353c5; }
.px-progress::-moz-progress-bar { border-radius: 99px; background: #6353c5; }
.px-question { padding: clamp(1.15rem,3.7vw,2.35rem); margin-top: 1.45rem; }
.px-prompt { font-size: clamp(1.2rem,2.5vw,1.65rem); line-height: 1.55; margin: 0 0 1.5rem; font-weight: 670; letter-spacing: -.017em; overflow-wrap: anywhere; white-space: pre-line; }
.px-photo,.px-review-photo { max-height: 330px; width: 100%; object-fit: contain; border-radius: 12px; background:#f3f2f6; margin-bottom: 1.25rem; display: block; }
.px-review-photo { max-height: 255px; }
.px-choices { display: grid; gap: .65rem; }
.px-choice { min-height: 3.25rem; text-align: left; padding: .55rem .9rem; display: flex; align-items: center; gap: .85rem; font-size: 1.025rem; color: #2b293c; background: #fff; border: 1px solid #dcdbe9; border-radius: 12px; cursor: pointer; line-height: 1.45; overflow-wrap: anywhere; }
.px-choice:hover,.px-jump-btn:hover { background: #f7f6fd; border-color: #aca1d9; }
.px-choice[aria-pressed=true] { border-color: #6954c4; box-shadow: inset 0 0 0 1px #6954c4; background: #f4f0ff; color: #382775; }
.px-letter { display: inline-grid; place-items: center; border: 1px solid #e3e1ed; background: #f6f6fa; border-radius: 8px; height: 1.8rem; width: 1.8rem; flex: none; color: #5d5a73; font-size: .9rem; font-weight: 750; }
[aria-pressed=true] > .px-letter { background: #6854c0; border-color: #6854c0; color: white; }
.px-choice-tick { margin-left: auto; visibility: hidden; color: #514295; font-weight: bold; }
[aria-pressed=true] > .px-choice-tick { visibility: visible; }
.px-choices-photo { grid-template-columns: repeat(4,1fr); }
.px-choices-photo .px-choice { justify-content: center; position:relative; min-height: 3.6rem; padding-inline:.4rem; }
.px-choices-photo .px-choice-tick { display: none; }
.px-choices-photo .px-letter { background: none; color: inherit; border: 0; font-size: 1.2rem; }
.px-step { margin: 1.1rem 0; gap: .75rem; }
.px-frame button:disabled { opacity: .42; cursor: default; }
.px-frame button:focus-visible,.px-frame summary:focus-visible,.px-dialog button:focus-visible { outline: 3px solid #5c71d4; outline-offset: 3px; }
.px-audio { background: #f3f4fc; gap: .75rem; padding: .85rem 1rem; border-radius: 12px; margin: 0 0 1.15rem; flex-wrap: wrap; }
.px-headphones { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: #5953a2; background: #e5e6f8; border-radius: 9px; }
.px-audio-title { flex: 1 1 7rem; display: grid; }
.px-audio-title strong { font-size: .93rem; }
[data-play-status] { font-size: .78rem; line-height: 1.5; color:#615d7c; overflow-wrap:anywhere; }
.px-audio .px-play { background: #fff; border: 1px solid #d6d3e8; color: #493c8b; min-height: 2.6rem; }
.px-jump,.px-foot { margin-top: 1.45rem; }
.px-jump { padding: .6rem 0; color:#5a566c; font-size:.875rem; }
.px-jump summary { cursor: pointer; width: fit-content; }
.px-jump div { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.7rem; }
.px-jump-btn { height: 2.55rem; min-width: 2.55rem; font-size:.9rem; color:#4a475e; border:1px solid #d8d5e5; border-radius: 8px; background:#fff; cursor:pointer; }
.px-jump-btn[data-answered=true] { background:#ede9fa; color:#4e3b8d; }
.px-jump-btn[aria-current=step] { border:2px solid #6a57bb; }
.px-view-head { margin: .1rem 0 1.6rem; }
.px-view-head p { color: #666278; margin: .5rem 0 0; }
.px-score,.px-review-head { padding:clamp(1.1rem,3.7vw,2.1rem); }
.px-score { display:flex; align-items:center; gap:clamp(1.15rem,4vw,2.7rem); }
.px-score-ring { width:8.8rem; max-width:35vw; flex:none; aspect-ratio:1; padding:.55rem; border-radius:50%; background:conic-gradient(#6a56c3 var(--score),#ebe9f6 0); }
.px-score-ring > div { height:100%; width:100%; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; flex-direction:column; }
.px-score-ring b { font-size:clamp(1.5rem,5vw,2.45rem); letter-spacing:-.045em; font-variant-numeric:tabular-nums; line-height:1.15; }
.px-score-ring b small {font-size:.83rem; margin-left:.1rem; }
.px-score-ring span,.px-score-copy p,.px-stat-block span:not(.px-stat-icon),.px-summary-main small,.px-history-main small,.px-answer-time,.px-bank-meta span,.px-help { color:#656178; }
.px-score-ring span {font-size:.78rem;}
.px-score-copy h2 { margin:0; font-size:1.2rem; }
.px-score-copy h2 strong { font-size:1.9rem; }
.px-score-copy p { margin: .2rem 0 .95rem; font-size: .95rem; }
.px-actions,.px-dialog-buttons { gap:.65rem; flex-wrap:wrap; }
.px-section-heading,.px-settings-card h2 { margin: 1.7rem 0 .8rem; font-size: 1.12rem; font-weight:700; }
.px-details-list { padding: 0 clamp(.9rem,3vw,1.4rem); }
.px-detail + .px-detail,.px-bank-row + .px-bank-row,.px-history-row + .px-history-row { border-top:1px solid #e9e7ef; }
.px-detail summary { cursor:pointer; display:flex; align-items:center; gap:.8rem; list-style:none; padding:1.1rem .2rem; }
.px-detail summary::-webkit-details-marker { display:none; }
.px-detail summary::after { content:''; width:.44rem; height:.44rem; border-right:1.5px solid #726d81; border-bottom:1.5px solid #726d81; transform:rotate(45deg); margin:0 .3rem 0 auto; flex:none; }
.px-detail[open] summary::after { transform:rotate(225deg); }
.px-indicator { flex:none; display:grid; place-items:center; border-radius:8px; height:2.3rem; width:2.3rem; font-size:1.2rem; font-weight:650; }
.px-indicator.right { background:#e4f4ec; color:#287450; }.px-indicator.wrong { background:#ffedeb; color:#a74c45; }
.px-summary-main,.px-history-main { display:grid; gap:.18rem; min-width:0; }
.px-summary-main small,.px-history-main small,.px-bank-meta span { font-size:.8rem; }
.px-summary-main strong { font-size:1rem; font-weight:600; overflow-wrap:anywhere; line-height:1.5; }
.px-detail-body { padding: 0 .25rem 1.2rem; }
.px-answers { display:grid; grid-template-columns:1fr 1fr; gap:.65rem; }
.px-answers > div { display:grid; align-content:start; gap:.3rem; padding:.7rem .9rem; border-radius:9px; background:#f5f4f8; overflow-wrap:anywhere; }
.px-answers > div:last-child { background:#edf6ef; }
.px-answers small,.px-stat-block span:not(.px-stat-icon) { font-size:.83rem; }
.px-explain,.px-transcript,.px-passage { white-space:pre-line; overflow-wrap:anywhere; }
.px-explain { margin:1rem 0 .3rem; }
.px-explain b,.px-transcript > b { display:block; font-size:.88rem; margin-bottom:.25rem; }
.px-transcript,.px-passage { background:#f5f5fa; border-radius:10px; padding:1rem; margin:1rem 0; }
.px-transcript p { display:flex; gap:.6rem; margin:.55rem 0 0; }
.px-transcript p strong { font-size:.85rem; color:#5b4a91; }
.px-detail-body .px-audio { margin:.9rem 0 0; }
.px-stat-block { gap:.9rem; }
.px-stat-icon,.px-empty-icon,.px-history-symbol { display:grid; place-items:center; flex:none; color:#64539d; background:#efecfa; border-radius:12px; height:2.8rem; width:2.8rem; }
.px-stat-block > div { display:grid; gap:.15rem; }
.px-stat-block strong { font-size:1.7rem; }
.px-stat-block strong small { font-size: .9rem; }
.px-review-head { gap:.6rem; }
.px-tabs { display:flex; gap:.35rem; margin: 1.3rem 0 .85rem; }
.px-tab { border:0; cursor:pointer; background:transparent; color:#6c677b; padding:.6rem .7rem; border-radius:8px; gap:.35rem; font-size:.91rem; }
.px-tab[aria-pressed=true] { background:#eae6fa; color:#4b3c8b; font-weight:650; }
.px-tab b { font-size:.8rem; }
.px-bank-meta { gap:.6rem; padding:0 0 .6rem; }
.px-bank-meta .btn { flex:none; font-size:.85rem; }
.px-empty,.px-empty-inline,.px-replace { padding:clamp(1.6rem,5vw,3rem); }
.px-empty,.px-empty-inline { display:grid; justify-items:center; text-align:center; gap:.75rem; }
.px-empty h1,.px-empty-inline h2,.px-replace h1 { font-size:1.4rem; margin:0; }
.px-empty p,.px-empty-inline p,.px-replace p { max-width:38rem; color:#696578; margin:.15rem 0 .7rem; }
.px-replace p { margin: .75rem 0 1.25rem; line-height:1.75; }
.px-history-list { padding:0 1rem; }
.px-history-row { width:100%; text-align:left; gap:1rem; padding:1.05rem .25rem; background:transparent; border:0; cursor:pointer; color:inherit; }
.px-history-row:hover { background:#f9f8fc; }
.px-history-main strong { overflow-wrap:anywhere; font-size:1rem; }.px-history-score { color:#554593; margin-left:auto; font-size:1.15rem; font-weight:700; }
.px-settings-card { padding:clamp(1.1rem,3.5vw,1.8rem); margin-bottom:1rem; }
.px-settings-card h2 { margin:0 0 1rem; }
.px-settings-card .field { display:grid; gap:.35rem; min-width:0; }
.px-settings-card label { font-size:.9rem; font-weight:650; }
.px-settings-card select { appearance:none; color:#28233a; background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='10' viewBox='0 0 15 10'%3E%3Cpath d='m2 2 5.5 5.5L13 2' fill='none' stroke='%23665f78' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .7rem center; width:100%; max-width:100%; min-width:0; font:inherit; font-size:1rem; border:1px solid #d8d6e5; border-radius:9px; padding:.6rem 2.1rem .6rem .7rem; min-height:2.7rem; }
.px-help { font-size:.875rem; margin:.5rem 0 1.2rem; }.px-help:last-child { margin-bottom:0; }
.px-speaker-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.px-speaker { min-width:0; padding:.85rem; background:#f8f7fc; border-radius:12px; }
.px-avatar { background:#e6efed; color:#2e645a; display:grid; place-items:center; height:2.3rem; width:2.3rem; border-radius:50%; font-weight:700; margin-bottom:.6rem; }
.px-av-A { background:#e1e7f7; color:#39598b; }.px-av-B { background:#f2e1ee; color:#854576; }
.px-voice-trial { margin-top:.75rem; flex-wrap:wrap; gap:.35rem; }.px-voice-trial .btn { font-size:.875rem; }
.px-dialog { color:#302d40; box-sizing:border-box; width:min(26rem,calc(100% - 2rem)); background:#fff; border:1px solid #dedce9; border-radius:16px; padding:1.5rem; box-shadow:0 12px 50px #20193b30; }
.px-dialog::backdrop { background:#201d35a6; }.px-dialog h2 { margin:0; font-size:1.25rem; }.px-dialog p { margin:.6rem 0 1.15rem; line-height:1.65; }.px-dialog-buttons { justify-content:flex-end; }
@media(max-width:600px) {
  .px-score { flex-wrap:wrap; }.px-score-ring { width:6.4rem; }.px-ring b { font-size:1.9rem; }.px-score-copy { flex:1 1 14rem; }
  .px-frame .card { border-radius:14px; }.px-question { margin-top:1rem; }.px-topline { padding-bottom:.85rem; }
  .px-answers,.px-speaker-grid { grid-template-columns:1fr; }.px-review-head { align-items:flex-start; flex-wrap:wrap; }
  .px-audio { padding:.7rem; gap:.5rem; }.px-headphones { width:2.1rem; height:2.1rem; }
  .px-step > button { min-width:6.8rem; }.px-step > button:last-child { flex:1; max-width:13rem; }
  .px-prompt { margin-bottom:.95rem; }.px-choices-photo { gap:.4rem; }
  .px-empty h1,.px-empty-inline h2 { font-size:1.2rem; }
}

.px-text-answer { display:grid; gap:.55rem; }
.px-text-answer label,.px-order b { font-weight:700; }
.px-text-answer textarea { width:100%; min-height:3.5rem; resize:vertical; padding:.85rem 1rem; border:1px solid #bab6ce; border-radius:.65rem; background:white; color:inherit; font:inherit; line-height:1.55; }
.px-text-answer textarea:focus-visible { outline:2px solid #6450bd; outline-offset:2px; }
.px-text-answer small,.px-arranged>span,.px-history-heading small,.px-report-note small { color:#615d73; }
.px-order { display:grid; gap:.55rem; }
.px-arranged,.px-tokens,.px-marks { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; }
.px-arranged { border:1px dashed #aba0d3; background:#faf9fe; min-height:4.3rem; padding:.65rem; border-radius:.75rem; margin-bottom:.35rem; }
.px-token { padding:.5rem .8rem; border:1px solid #c6c0d8; border-radius:.55rem; background:#fff; color:#302b48; font:inherit; min-height:44px; cursor:pointer; }
.px-token.chosen { background:#eeebfd; color:#4a368a; border-color:#bdb1e2; }
.px-token small { font-size:.75rem; color:#68607c; }
.px-token:disabled { opacity:.4; }
.px-indicator.pending,.px-mark.pending { color:#544792; background:#eeeafd; }
.px-report-note,.px-history-card { padding:clamp(1rem,3vw,1.5rem); margin:0 0 .8rem; }
.px-report-note { margin-top:.85rem; }
.px-report-note h3 { display:flex; align-items:center; gap:.5rem; }
.px-history-heading { display:flex; gap:.6rem; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.px-history-heading h2,.px-report-note h3 { margin:0; font-size:1.15rem; overflow-wrap:anywhere; }
.px-history-heading>b { color:#3d4860; font-size:1rem; }
.px-marks { margin-top:.8rem; }
.px-mark { display:inline-block; padding:.25rem .6rem; border-radius:.5rem; font-size:.86rem; font-weight:650; }
.px-mark.right { color:#16614b; background:#e6f6ed; }.px-mark.wrong { color:#9b3a39; background:#fff0ed; }
.px-analysis-status { display:flex; align-items:center; gap:.5rem; margin:.95rem 0 .65rem; padding-top:.8rem; border-top:1px solid #e6e4ee; }
.px-analysis-status span { background:#f0eef6; color:#58536a; padding:.15rem .5rem; border-radius:6px; font-size:.82rem; }
.px-criteria { background:#f4f1fb; padding:.75rem 1rem; border-radius:.65rem; margin-top:.65rem; }
.px-criteria ul,.px-report-note ul { padding-inline-start:1.3rem;margin:.4rem 0 0; }
.px-report-excerpt,.px-report-note p { overflow-wrap:anywhere; white-space:pre-line; }
.px-tabs .px-tab,.px-tab,.px-jump-btn,.px-audio .px-play,.px-bank-meta .btn { min-height:44px; }
.px-tabs { flex-wrap:wrap; }
.px-foot { flex-wrap:wrap; gap:.6rem; }
