/* Extend the existing cream / deep teal learning workspace. */
.kind-tag{font-weight:700;color:var(--ink,#173d42)}
.kind-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.kind-tabs button{min-height:46px}
.practice-home{margin-top:34px}
.practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.practice-tile h3{margin:8px 0 12px}
.practice-tile .eyebrow{font-size:11px;letter-spacing:.13em}
.tile-total{font-size:40px;font-weight:800;line-height:1.1;color:#16474f}
.tile-total small{font-size:14px;margin-left:6px;font-weight:500}
.practice-tile button{width:100%;margin-top:18px}
.practice-tile .progress{margin:4px 0 0}
.wrong-shortcut{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;padding:16px 20px;border-radius:16px;background:#e6eee9}
.practice-config,.wrong-config{margin-top:20px}
.wrong-config{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.wrong-config h2{margin-top:0}
.wrong-config select{width:auto;min-width:96px}
.choice-options{display:grid;gap:12px;margin:22px 0}
.choice-option{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #d4dfdf;border-radius:14px;background:#fff;cursor:pointer;line-height:1.65;font-weight:500}
.choice-option input{width:18px;height:18px;margin:4px 0 0;flex:none;accent-color:#1f5660}
.choice-option.chosen{border-color:#29656c;background:#edf5f0;box-shadow:0 0 0 1px #29656c}
.choice-option .option-letter{display:inline-flex;min-width:20px;font-weight:800;color:#245b63}
.choice-option input:disabled{opacity:.8}
.choice-options.preview-options>div{padding:9px 12px;background:#f5f7f5;border-radius:8px}
.question-preview summary{cursor:pointer;line-height:1.7;font-weight:600}
.question-preview summary .badge{font-size:11px;margin-right:4px}
.choice-bank-checks{max-height:460px;overflow:auto;overscroll-behavior:contain;border:1px solid #dde7e4;border-radius:12px;padding:8px}
.choice-check>span{display:flex;flex-direction:column;gap:5px;font-weight:400}
.choice-check b{font-weight:600}
.lesson-actions{margin-top:22px}
.lesson-report-button{margin-top:14px}
.sentence-nav button.answered{background:#e1edf0;color:#245560}
.sentence-zh{font-size:25px;line-height:1.85;letter-spacing:.02em}
.concise-feedback h3{font-size:17px}
.concise-feedback ul{margin:10px 0 18px;padding-left:22px}
.concise-feedback li{margin-bottom:8px;line-height:1.65}
.concise-feedback .reference strong{line-height:1.6}
.wrong-details summary{cursor:pointer;color:#245760;font-weight:600}
.wrong-details[open] summary{margin-bottom:16px}
.publish-card{max-width:1050px}
#learn-choice-publish .scope-sentence{padding:14px 10px;border-bottom:1px solid #e0e7e3}
.tabs{flex-wrap:wrap}
.topbar{flex-wrap:wrap;gap:14px}
button:disabled{cursor:not-allowed;opacity:.48}
@media(max-width:850px){.practice-grid{gap:12px}.practice-tile{padding:18px}.tile-total{font-size:34px}.topbar .tabs{order:3;width:100%;justify-content:flex-start}.wrong-config{align-items:flex-start;flex-direction:column}.wrong-config .row{width:100%}}
@media(max-width:600px){.practice-grid{grid-template-columns:1fr}.practice-tile{position:relative;padding:22px}.practice-tile .tile-total{position:absolute;right:22px;top:23px}.practice-tile .tile-total small{font-size:12px}.practice-tile h3{margin-bottom:18px}.practice-tile button{margin-top:12px}.kind-tabs{gap:8px}.kind-tabs button{flex:1;padding:10px 8px;white-space:nowrap;font-size:14px}.tabs button{flex:none;white-space:nowrap;padding:10px 12px}.tabs{gap:5px}.choice-option{padding:14px 12px;gap:9px;font-size:16px}.sentence-zh{font-size:22px}.lesson-actions button{min-height:44px}.study-side .sentence-nav{max-height:200px;overflow:auto}.wrong-shortcut{padding:14px}.choice-bank-checks{max-height:370px}.question-preview{padding:18px}.task-row>div:last-child{width:100%;justify-content:flex-start}.task-row>div:last-child button{min-height:42px}.publish-card{padding:20px}.time-fields{grid-template-columns:1fr}.wrong-config .row button{flex:1}.practice-config{padding:22px}.home-link{white-space:normal;text-align:right}}
.practice-tips{margin-top:18px}.practice-tips summary{cursor:pointer;font-weight:700;color:#245760}.practice-tips h3{font-size:17px;margin-top:24px}.practice-tips p{font-size:15px;line-height:1.8}.wrong-config .row{flex-wrap:wrap}.wrong-config #learn-wrong-group{max-width:210px}

.practice-overview{margin:20px 0 28px}.practice-overview h2{margin:0 0 12px}.practice-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.practice-entry{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:18px 20px;text-align:left;background:#fff;border:1px solid #d4dfdf;color:#173d42;border-radius:14px}.practice-entry:hover{background:#edf5f0}.practice-entry b{font-size:29px;line-height:1.15}.practice-entry b small{font-size:13px;margin-left:4px}.practice-entry>small{font-size:12px;line-height:1.6;font-weight:400}.practice-entry>span{font-size:16px;font-weight:700}@media(max-width:600px){.practice-entry-grid{gap:8px}.practice-entry{padding:14px 10px;gap:7px}.practice-entry b{font-size:24px}.practice-entry>span{font-size:15px}.practice-entry>small{font-size:10px;white-space:normal}}
/* Two broad tense ranges and complete mixed-skill papers. */
.practice-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.scope-title{font-weight:600;color:#245760;line-height:1.8;overflow-wrap:anywhere}.readonly-bank{max-height:440px;overflow:auto;overscroll-behavior:contain}.bank-item{padding:16px 4px;border-bottom:1px solid #dde7e4;line-height:1.8}.bank-item p{white-space:pre-line;margin:8px 0}.bank-item>b{color:#245760}.skill-library{margin:16px 0}.skill-library summary{cursor:pointer;font-weight:600;line-height:1.8}.exercise-prompt{white-space:pre-line;line-height:1.8;font-family:inherit;font-size:23px}.fill-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.fill-fields .field{margin:0}.fill-fields input{min-width:0}.exercise-section{margin:6px 0 18px}.four-kind-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.four-kind-tabs button{white-space:normal}.wrong-config #learn-wrong-group{max-width:100%;min-width:0}#learn-section{margin-top:16px;margin-bottom:14px;max-width:100%}#learn-choice-publish select,#learn-skill-publish select,#learn-start select,#learn-library-choice-scope{min-width:0;width:100%;max-width:100%}
@media(max-width:700px){.practice-entry-grid,.four-kind-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-entry{padding:16px 14px}.practice-entry>span{font-size:16px}.practice-entry>small{font-size:12px}.exercise-prompt{font-size:20px}.fill-fields{grid-template-columns:1fr}.wrong-config .row{max-width:100%}.wrong-config #learn-wrong-group{width:100%}.readonly-bank{max-height:350px}}
#publish fieldset,.practice-config .field,.time-fields>.field{min-width:0}#publish fieldset{width:100%}.skill-library>summary{overflow-wrap:anywhere}.exercise-prompt,.bank-item p,.scope-title{overflow-wrap:anywhere}
.feedback-notice{padding:16px 20px;border:1px solid #cadfd4;background:#eaf4eb;border-radius:12px;margin:18px 0 22px;line-height:1.7}.feedback-notice strong{font-size:15px;color:#245760}.feedback-number-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.feedback-number-buttons button{min-height:38px}.skill-pack-preview{padding:16px 0;border-top:1px solid #d9e4e6}.skill-pack-preview>summary{font-weight:700;cursor:pointer;line-height:1.7}@media(max-width:600px){.feedback-notice{padding:14px}.feedback-notice .row{align-items:flex-start}.feedback-notice .row button{padding-left:0}}
@media(max-width:900px){.study-card{order:1}.study-side{order:2}.study-side .sentence-nav{max-height:150px}}

.skill-downloads{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 18px}.skill-word-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;box-sizing:border-box;border:1px solid #b8ceca;border-radius:9px;color:#1f5660;background:#f0f6f3;font-size:14px;text-decoration:none;font-weight:600}.skill-word-link:hover{background:#e0eeea}.skill-word-link:focus-visible{outline:3px solid #659b9e;outline-offset:3px}

/* Compact library and the source worksheet's four translation judgments. */
.library-tabs{margin-bottom:20px;display:flex;gap:12px}.library-tabs button{flex:1}
.skill-library select,.choice-library select{width:100%;max-width:100%;min-width:0}
.skill-library .field,.choice-library .field,.time-fields{min-width:0}
.skill-library h2{overflow-wrap:anywhere}.skill-pack-preview,.library-choice-preview{margin-top:20px}
.analysis-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.analysis-fields .field{min-width:0}.analysis-fields input{width:100%;min-width:0}
.entry p,.reference{white-space:pre-wrap}
@media(max-width:600px){.skill-library .time-fields,.choice-library .time-fields{grid-template-columns:1fr}.skill-downloads{flex-direction:column}.skill-word-link{text-align:center}.analysis-fields{grid-template-columns:1fr 1fr}}
