.practice-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0}.practice-entry{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:18px;padding:30px;border:1px solid #cbded1;border-radius:18px;background:#fff;color:#193e34;font:inherit;box-shadow:0 8px 24px #193e3408}.practice-entry:nth-child(2){background:#f0f5eb}.practice-entry strong{font-size:27px}.practice-entry-art{font-size:32px;color:#39715b}.practice-entry b{margin-top:auto}.practice-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0}.practice-compose{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px;align-items:start}.practice-sheet{background:#fff;border:1px solid #d5ded7;box-shadow:0 10px 35px #234f3e14;padding:30px}.practice-sheet-brand{display:flex;align-items:center;justify-content:flex-end;gap:10px}.practice-sheet-brand img{width:34px}.practice-slot{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px dashed #b8cbbb;border-radius:8px;margin:20px 0;min-height:110px}.practice-slot small{line-height:1.5;color:#62786c}.practice-slot .actions{justify-content:flex-end}.practice-slot [data-fill-handle]{cursor:ns-resize;touch-action:none;min-width:44px}.practice-toolbox{position:sticky;top:20px;max-height:85vh;overflow:auto;padding:0 4px 20px}.practice-toolbox .practice-topic{flex-wrap:wrap}.practice-toolbox [data-drag-skill]{width:100%;text-align:left;display:grid;gap:10px;cursor:grab;border:0;background:transparent;color:inherit;font:inherit;padding:0}.practice-workspace .card{margin:22px 0}.practice-workspace .practice-topic{min-width:0}.practice-workspace .practice-topic strong{overflow-wrap:anywhere}.practice-workspace .practice-topic button{flex-shrink:0}.practice-workspace .practice-topic label{min-width:0}.nav-suboptions [data-practice-mode],.nav-child [data-private-practice-mode]{display:flex!important;justify-content:flex-start!important;align-items:center;text-align:left!important;width:100%;min-height:44px;padding:12px 14px!important;margin:0!important;line-height:1.4;border-radius:8px}.nav-suboptions [data-practice-mode].active,.nav-child [data-private-practice-mode].active{background:#e9f3e8!important;color:#225f4b!important;font-weight:650}.practice-sheet .eyebrow{color:#61766a}.practice-entry:hover{transform:translateY(-2px);box-shadow:0 12px 28px #193e3412}.practice-entry{transition:transform .2s,box-shadow .2s}
@media(max-width:760px){.practice-entry-grid,.practice-compose{grid-template-columns:1fr}.practice-entry{padding:24px}.practice-sheet{padding:16px}.practice-toolbox{position:static;max-height:none}.practice-compose .practice-toolbox{grid-row:1}.practice-slot .actions{flex-wrap:wrap}.practice-workspace .practice-topic{flex-wrap:wrap}.practice-workspace .practice-topic>label{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.practice-entry{transition:none}}
.practice-system .extra-data-table{width:100%;border-collapse:collapse;margin:18px 0;background:#fff}.practice-system .extra-data-table th,.practice-system .extra-data-table td{padding:10px;border:1px solid #cbded1;text-align:center;overflow-wrap:anywhere}.practice-system .extra-data-table th{background:#eef4ec}.practice-system .extra-data-table caption{text-align:left;margin-bottom:10px;font-weight:650}.practice-slot.is-fill-target{background:#e9f3e8;border-color:#225f4b}
.offline-steps{display:flex;list-style:none;gap:20px;padding:0;margin:24px 0}.offline-steps li{display:flex;align-items:center;gap:9px;color:#718178;flex:1}.offline-steps li span{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid #cbd8ce;border-radius:50%}.offline-steps [aria-current=step]{color:#225f4b;font-weight:650}.offline-steps [aria-current=step] span{background:#225f4b;color:#fff;border-color:#225f4b}.offline-clock{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0}.offline-clock strong{font-size:40px;font-variant-numeric:tabular-nums}@media(max-width:600px){.offline-steps{gap:10px}.offline-steps li{flex-direction:column;align-items:flex-start;font-size:12px}.offline-clock{flex-wrap:wrap}}

.practice-filters{padding:16px;border:1px solid #cbded1;border-radius:12px;background:#f5f8f2;display:grid;gap:12px}.practice-filters fieldset{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 14px}.practice-filters legend{font-weight:650;margin-bottom:8px}.practice-filters label{display:flex;align-items:center;gap:7px;font-size:14px;min-height:32px}.practice-filters input{min-height:18px;width:18px;height:18px;accent-color:#225f4b}.practice-workspace .card{min-width:0;overflow-wrap:anywhere}.practice-workspace .card p,.practice-workspace .card li{white-space:normal;overflow-wrap:anywhere}

.practice-workspace:has(.practice-compose){max-width:1400px;width:100%}.practice-compose{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:28px}.practice-sheet{padding:22px}.practice-slot{padding:16px;margin:14px 0;min-height:90px}.practice-toolbox [data-drag-skill]{padding:16px;border:1px solid #bfd3c6;border-radius:10px;background:#fff;box-shadow:0 3px 8px #193e3410;transition:box-shadow .18s,transform .18s,border-color .18s}.practice-toolbox [data-drag-skill]:hover{transform:translateY(-2px);box-shadow:0 7px 16px #193e341a;border-color:#568a70}.practice-toolbox .practice-topic{padding:12px;gap:12px}.drag-hint{font-size:13px;color:#47725c}.practice-toolbox .is-dragging{opacity:.55;transform:scale(.97)}.is-topic-dragging .practice-slot{border-color:#568a70;background:#f2f8f0}.practice-slot [data-fill-handle]{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfd3c6;border-radius:9px;background:#edf5ed;color:#225f4b;width:46px;height:46px}.practice-slot [data-fill-handle] svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}@media(max-width:760px){.practice-compose{grid-template-columns:minmax(0,1fr)}.practice-sheet{padding:16px}}

#app:has(.practice-compose),#course-app:has(.practice-compose){max-width:1440px}

.practice-topic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.practice-topic-toolbar h2{margin:0}.practice-topic-toolbar button{display:flex;align-items:center;justify-content:center;gap:5px;width:46px;height:46px;border:1px solid #bfd3c6;border-radius:10px;background:#fff;color:#225f4b}.practice-topic-toolbar svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:#fff}.practice-scope-title{font-size:20px;margin:16px 0 10px}.practice-ready-bar{display:block;padding:0 16px 14px;transition:transform .25s ease;z-index:12}.practice-ready-bar.is-retracted{transform:translateY(calc(100% - 12px))}.practice-ready-content{display:flex;align-items:center;justify-content:space-between;gap:12px}.practice-ready-bar.is-retracted .practice-ready-content{visibility:hidden}.practice-ready-bar [data-ready-toggle]{display:flex;justify-content:center;align-items:center;width:100%;min-height:18px;height:18px;background:transparent;border:0;padding:0;color:#225f4b}.practice-ready-bar [data-ready-toggle] span{width:42px;height:4px;border-radius:9px;background:#87ac94}.practice-ready-bar.is-retracted [data-ready-toggle]{min-height:12px;height:12px}@media(prefers-reduced-motion:reduce){.practice-ready-bar{transition:none}}

.practice-exit-actions{display:flex;justify-content:flex-end;margin:14px 0}.practice-question-chart{display:flex;height:16px;border-radius:9px;overflow:hidden;background:#edf1ec;margin:18px 0 12px}.practice-question-chart .correct{background:#225f4b}.practice-question-chart .partial{background:#d5a34a}.practice-question-chart .incorrect{background:#b95f50}.practice-chart-key{display:flex;flex-wrap:wrap;gap:8px 20px}.practice-review-question{padding:0!important;overflow:hidden}.practice-review-question summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;padding:20px;min-height:60px;list-style:none}.practice-review-question summary::after{content:'+';font-size:22px;flex:none}.practice-review-question[open] summary::after{content:'−'}.practice-review-content{padding:0 20px 24px;border-top:1px solid #dce6dd}.practice-review-content>p:first-child{margin-top:20px}.practice-system .extra-diagram{margin:18px auto;max-width:520px}.practice-system .extra-diagram svg text{fill:#263f51;stroke:none;font:13px Arial,sans-serif}.practice-question{scroll-margin-top:100px}.practice-question label{display:block;margin:18px 0}.practice-question input[aria-invalid=true]{border:2px solid #aa4b3d}.practice-system .practice-review-content ol{padding-left:24px}.practice-system .practice-review-content svg{display:block;max-width:100%;height:auto}

/* Keep the offline Test flow within the same narrow viewport as its course shell. */
#private-offline-paper,#journey-offline-paper,.offline-test-workspace{min-width:0;max-width:100%;box-sizing:border-box}.offline-test-workspace{width:100%;overflow-wrap:anywhere}.offline-test-workspace .offline-steps li{min-width:0;flex:1 1 0;overflow-wrap:anywhere}.offline-test-workspace .actions{flex-wrap:wrap}.offline-test-workspace button{max-width:100%;white-space:normal}
body.ready #course-app:has(.offline-test-workspace){transition:none}

.offline-records-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 12px}.offline-records-header h2{margin:0;min-width:0;overflow-wrap:anywhere}.offline-records-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;flex:none}.offline-records-toggle svg{width:18px;height:18px;flex:none}.offline-records-toggle[aria-expanded=false] svg{transform:rotate(180deg)}.offline-records-list[hidden]{display:none}
@media(max-width:480px){.offline-records-header{gap:10px}.offline-records-header h2{font-size:20px}.offline-records-toggle{padding:10px;font-size:13px;gap:6px}}
.setting-note{display:block;color:#5b6f66;font-size:12.5px;line-height:1.45;margin-top:4px}
