/* Compact, calm yellow lessons. Green stage keeps its existing layout. */
#verb-course-panel{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 15px;margin-bottom:10px;border:1px solid #e6d599;border-radius:16px;background:#fff7dd;flex-shrink:0}#verb-course-panel small{display:block;font-size:10px;color:#948057}#verb-course-panel strong{display:block;font-size:23px;color:#795f25;line-height:1.5}#verb-course-panel strong span{font-weight:400;font-size:12px}#verb-course-panel p{font-size:10px;color:#9b875f;margin:2px 0}#verb-course-panel button{background:#efe3bc;padding:8px 11px;border-radius:14px;font-size:10px;color:#7e6b39;white-space:nowrap}#verb-course-panel button b{display:block;font-size:15px;margin-top:3px}.verb-course .heading{display:none}.verb-course .collection-head{padding-top:9px;padding-bottom:7px}.verb-course .collection-head #new-count{font-size:12px!important;color:#8f7435}.verb-course .scroll-hint{font-size:10px;line-height:1.6;padding-bottom:7px}.verb-course #items.course-grid{grid-template-columns:repeat(var(--course-columns,3),minmax(0,1fr))!important;gap:11px}.verb-course .course-warm-card{padding:18px 9px;background:#fbf5e5;border:1px solid #e5d6aa;border-radius:16px;text-align:center;touch-action:manipulation}.verb-course .course-warm-card svg{display:block;width:55px;height:50px;margin:0 auto 9px}.verb-course .course-word{font-size:18px;line-height:1.5;display:block;font-weight:600;color:#6f5828}.verb-course .course-warm-card .cn{font-size:12px;margin:8px 0}.verb-course .course-warm-card small{font-size:9px;color:#a38e5c}.verb-course .item .illustration{height:48px}.verb-course .item .illustration svg{height:42px;width:50px}.verb-course .memory-card,.verb-course .card-inner{height:138px;min-height:138px}.verb-course .card-front svg{width:44px;height:40px}.verb-course .card-front .course-word{font-size:17px;min-height:0}.verb-course .cn{font-size:11px}.verb-course #empty{padding:12px 8px;font-size:12px}.verb-course #course-table-tools{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:7px 16px;font-size:10px;color:#978254;border-bottom:1px solid #eee6ca}.verb-course #course-table-tools button{background:#f2e7c2;border-radius:10px;padding:4px 10px;font-size:10px;color:#8a7138}.course-table-reward{background:#faf1d7;border:1px solid #e8d8a6;border-radius:15px;padding:13px}.course-table-reward strong{display:block;font-size:20px;color:#84692e;font-family:Georgia,'Songti SC',serif;font-weight:400}.course-table-reward p{font-size:11px;color:#9c8758;margin:4px}.course-table-reward .primary{font-size:12px;padding:10px 18px}.verb-goal-dialog{max-width:640px}.verb-goal-dialog>p{font-size:11px}.verb-goal-dialog input{width:100%;padding:11px 13px;border:1px solid #ded4b6;border-radius:12px;background:#fffdf6;font:inherit;font-size:13px}#verb-goal-rows{max-height:47vh;overflow:auto;margin-top:12px;text-align:left}.verb-goal-row{display:grid;grid-template-columns:1fr 1.5fr;gap:4px 12px;border-bottom:1px solid #eee5ce;padding:10px 5px}.verb-goal-row strong{font-size:15px;color:#7f662f}.verb-goal-row span{font-size:11px;color:#8d7a53}.verb-goal-row small{grid-column:1/-1;font-size:10px;color:#a1916b}@media(max-width:700px){#verb-course-panel{padding:9px 12px;margin-bottom:8px}#verb-course-panel strong{font-size:21px}#verb-course-panel strong span{font-size:10px}#verb-course-panel p{font-size:9px}.verb-course #items.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.verb-course .course-warm-card{padding:14px 6px}.verb-course .course-word{font-size:16px}.verb-course .card-front .course-word{font-size:16px}.verb-course .memory-card,.verb-course .card-inner{height:122px;min-height:122px}.verb-course .card-front svg{width:35px;height:32px}.verb-course .course-warm-card svg{width:42px;height:39px}.verb-course .course-warm-card .cn{font-size:11px}.verb-course .scroll-hint{font-size:9px}.verb-course .workspace{grid-template-columns:90px minmax(0,1fr)}.verb-course .room .room-art{width:36px}.verb-course .room strong{font-size:10px}.verb-course .primary{font-size:12px;padding:11px 18px}}@media(max-width:380px){.verb-course .workspace{grid-template-columns:76px minmax(0,1fr)}.verb-course .course-word,.verb-course .card-front .course-word{font-size:14px}#verb-course-panel strong span{display:block}#verb-course-panel strong{line-height:1.35}}

.verb-course #round-plan{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 9px}.course-stage-progress{width:88px;height:5px;border:0;border-radius:9px;overflow:hidden;appearance:none;background:#eee4c5;color:#ba913f}.course-stage-progress::-webkit-progress-bar{background:#eee4c5;border-radius:9px}.course-stage-progress::-webkit-progress-value{background:#ba913f;border-radius:9px}.course-stage-progress::-moz-progress-bar{background:#ba913f;border-radius:9px}

/* Dense cards keep phrases readable while reducing scrolling. */
#list{padding:7px 8px}#items{gap:6px;align-content:start}.item{padding:5px;border-radius:11px}.illustration{height:30px}.illustration svg{width:34px;height:29px}.word{min-height:30px}.memory-card,.card-inner{height:96px;min-height:96px}.card-front{padding:5px}.card-front svg{width:30px;height:26px}.card-front .word{min-height:0}.card-back span{font-size:27px}.card-back small{font-size:6px}.card-back:before{inset:5px}
body.verb-course #verb-course-panel{padding:7px 11px;margin-bottom:6px;gap:8px;border-radius:12px}#verb-course-panel>div{min-width:0}#verb-course-panel strong{font-size:20px;line-height:1.25}#verb-course-panel p{margin:3px 0 0;font-size:9px}#verb-course-panel .course-forms{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:4px}#verb-course-panel .course-forms>span{display:flex;gap:4px;align-items:baseline}#verb-course-panel .course-forms small{font-size:9px;display:inline;color:#99804b}#verb-course-panel .course-forms b{font-size:13px;font-weight:550;color:#755b27}
body.verb-course #items.course-grid{gap:6px;align-content:start}body.verb-course .course-warm-card{padding:7px 6px;border-radius:11px;display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:6px;align-content:center;min-height:78px}body.verb-course .course-warm-card>svg{grid-column:1;grid-row:1/4;width:28px;height:28px;margin:0;align-self:center}body.verb-course .course-warm-card .course-word,body.verb-course .course-warm-card .cn,body.verb-course .course-warm-card small{grid-column:2}body.verb-course .course-warm-card .cn{margin:2px 0;font-size:10px}body.verb-course .course-warm-card small{font-size:8px}body.verb-course .course-word{font-size:16px;line-height:1.3;overflow-wrap:anywhere}body.verb-course .item{min-height:0;padding:6px}body.verb-course #items .illustration{height:28px}body.verb-course #items .illustration svg{width:30px;height:26px}body.verb-course .memory-card,body.verb-course .card-inner{height:100px;min-height:100px}body.verb-course .card-front>svg{width:28px;height:24px;max-height:24px}body.verb-course .card-front .course-word{font-size:16px;line-height:1.25;min-height:0}body.verb-course .card-front .cn{font-size:10px;line-height:1.2;margin-top:2px}body.verb-course #empty{padding:7px 5px}body.verb-course #empty p{margin:5px 0}body.verb-course #course-table-tools{padding:4px 10px}body.verb-course .feedback{padding:5px 8px;min-height:27px}body.verb-course .collection-head{padding:5px 10px 4px}body.verb-course .scroll-hint{padding:0 10px 4px}
@media(max-width:700px){body.verb-course .course-warm-card{grid-template-columns:22px minmax(0,1fr);column-gap:4px;padding:6px 4px;min-height:82px}body.verb-course .course-warm-card>svg{width:22px;height:24px}body.verb-course .course-word,body.verb-course .card-front .course-word{font-size:15px}body.verb-course .memory-card,body.verb-course .card-inner{height:110px;min-height:110px}#verb-course-panel strong{font-size:19px}#verb-course-panel .course-forms{gap:2px 9px}#verb-course-panel .course-forms b{font-size:12px}#verb-course-panel .course-forms small{font-size:8px}#verb-course-panel button{padding:6px 8px}body.verb-course .card-front{padding:4px}body.verb-course .course-warm-card small{font-size:7px}body.verb-course .collection-head #new-count{font-size:10px!important}.memory-card,.card-inner{height:93px;min-height:93px}}

/* Let long phrases determine height; both flip faces share the same grid cell. */
body.verb-course .memory-card{display:grid;height:auto;min-height:104px;align-self:stretch}
body.verb-course .card-inner{display:grid;height:auto;min-height:100%;width:100%}
body.verb-course .card-front,body.verb-course .card-back{position:relative;inset:auto;grid-area:1 / 1;min-width:0;min-height:104px}
body.verb-course .card-front{display:flex;flex-direction:column;gap:4px;padding:8px 7px;overflow:visible}
body.verb-course .card-front>svg{flex:none;margin:0}
body.verb-course .card-front .course-word,body.verb-course .card-front .cn{flex:none;width:100%;margin:0;min-width:0;overflow-wrap:anywhere;line-height:1.3}
body.verb-course .card-back{overflow:hidden}
body.verb-course .course-word{min-width:0;white-space:normal;overflow-wrap:anywhere}
body.verb-course .cn{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
body.verb-course .course-warm-card{align-content:center;row-gap:3px}
body.verb-course .course-warm-card .cn{margin:0}
body.verb-course .item .course-word{margin:3px 0}
body.verb-course #items.course-grid{align-items:stretch}
@media(max-width:700px){body.verb-course .card-front{padding:7px 5px;gap:3px}body.verb-course .card-front .course-word{font-size:14px;line-height:1.3}body.verb-course .card-front .cn{font-size:10px;line-height:1.35}}
