/* Preserve the replay-first toolbar; its third action is an inline-area shortcut. */
.fullscreen-tools.has-structure-practice > #sentencePause,
.fullscreen-tools.has-structure-practice > #rangeRepeatButton,
.fullscreen-tools.has-structure-practice > #structurePracticeButton {
 box-sizing:border-box;flex:0 1 calc((100% - 12px)/3);min-width:0;max-width:146px;
 min-height:44px;padding:6px 5px;font-size:12px;line-height:1.35;overflow-wrap:anywhere;
}
#structurePracticeButton {background:#edf5ef;color:#214f39;border:1px solid #97b69f;}
#structurePracticeSection {
 box-sizing:border-box;width:100%;max-width:860px;margin:24px auto 12px;padding:20px;
 border:1px solid #b7cbbb;border-radius:14px;background:#fffdf7;color:#172d40;text-align:left;
 scroll-margin-top:16px;font:15px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:normal;
}
#structurePracticeSection .structure-practice-head {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;padding-bottom:10px;border-bottom:1px solid #d5dfe2;}
#structurePracticeSection h2 {font-size:24px;line-height:1.4;margin:0;overflow-wrap:anywhere;}
#structurePracticeSection .structure-practice-head span {font-size:13px;color:#526575;}
#structurePracticeSection h3 {font-size:20px;line-height:1.4;margin:0 0 8px;color:#123f8c;}
#structurePracticeSection h4 {font-size:13px;line-height:1.5;margin:0 0 8px;color:#42566c;}
#structurePracticeSection button,#structurePracticeSection select {
 box-sizing:border-box;min-width:0;min-height:44px;border:1px solid #9caeb9;border-radius:7px;
 padding:10px 12px;font:inherit;line-height:1.4;background:#fff;color:#1b435f;white-space:normal;
}
#structurePracticeSection button {cursor:pointer;}
#structurePracticeSection button:disabled {background:#edf0ee;color:#647268;border-color:#c5cfc7;cursor:not-allowed;}
#structurePracticeSection p {margin:12px 0;font-size:15px;font-weight:400;line-height:1.7;overflow-wrap:anywhere;}
#structurePracticeSection .structure-practice-current {font-weight:700;color:#214f39;}
#structurePracticeSection .structure-practice-options {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:16px 0 8px;}
#structurePracticeSection label {display:block;min-width:0;margin:0;font-size:13px;font-weight:600;}
#structurePracticeSection select {display:block;width:100%;margin-top:4px;font-size:16px;}
#structurePracticeSection details {margin:8px 0 16px;}
#structurePracticeSection summary {display:list-item;box-sizing:border-box;min-height:44px;padding:10px 0;cursor:pointer;color:#174c72;line-height:1.5;}
#structurePracticeSection #structurePracticeSourceText {font-size:17px;color:#123f8c;}
#structurePracticeSection .structure-practice-card {padding:18px;border:1px solid #c6d4d9;border-radius:10px;background:#f5f8f8;}
#structurePracticeSection .structure-practice-primary {width:100%;margin:6px 0;background:#236548;color:#fff;border-color:#1c553b;font-weight:600;}
#structurePracticeSection .structure-practice-progress {margin:12px 0;font-weight:700;color:#214f39;}
#structurePracticeSection #structurePracticeThink {font-size:14px;}
#structurePracticeSection .structure-practice-prompt {padding:14px;border:1px solid #c6d4d9;border-radius:8px;background:#fff;font-size:19px;line-height:1.7;overflow-wrap:anywhere;}
#structurePracticeSection .structure-practice-audio-actions,#structurePracticeSection .structure-practice-answer-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;}
#structurePracticeSection #structurePracticeReverseReveal {grid-column:1/-1;}
#structurePracticeSection #structurePracticeReveal,#structurePracticeSection #structurePracticeReverseReveal {background:#e8f3e9;color:#214f39;border-color:#8fae95;}
#structurePracticeSection .structure-practice-answer {padding:14px;margin:12px 0;border:1px solid #cad8cc;border-radius:8px;background:#fff;}
#structurePracticeSection #structurePracticeEnglish {font-size:21px;color:#123f8c;margin:0;line-height:1.65;}
#structurePracticeSection #structurePracticeJapanese {font-size:17px;color:#172d40;margin:0;line-height:1.75;}
#structurePracticeSection #structurePracticeNext {width:100%;font-weight:600;background:#e8f1f7;border-color:#91afc5;}
#structurePracticeSection #structurePracticeStatus {color:#21543e;font-size:14px;font-weight:600;}
#structurePracticeSection #structurePracticeStatus:empty {display:none;}
#structurePracticeSection #structurePracticeStop {width:100%;margin-top:4px;}
#structurePracticeSection .structure-practice-note {font-size:13px;color:#526575;}
#structurePracticeSection #structurePracticeReturn {width:100%;margin-top:6px;}
#structurePracticeSection :focus-visible {outline:3px solid #0a6ca8;outline-offset:2px;}
#structurePracticeSection [hidden] {display:none!important;}
@media(max-width:480px) {
 #structurePracticeSection {padding:14px;margin-top:18px;}
 #structurePracticeSection .structure-practice-card {padding:12px;}
 #structurePracticeSection .structure-practice-options {grid-template-columns:minmax(0,1fr);gap:8px;}
}
@media(max-width:360px) {
 #structurePracticeSection {padding:12px;}
 #structurePracticeSection h2 {font-size:21px;}
 #structurePracticeSection .structure-practice-answer-actions {grid-template-columns:minmax(0,1fr);}
 #structurePracticeSection .structure-practice-card {padding:10px;}
}
