:root{--vocabulary:#248572;--vocabulary-deep:#176451;--vocabulary-soft:#def2e9}
.vocabulary-header{max-width:1560px;min-height:72px;padding:10px 24px;gap:14px}.vocabulary-header h1{font-size:25px;margin:0;letter-spacing:-.8px}.vocabulary-header nav{gap:8px}.vocabulary-header nav button{font-size:14px;min-height:48px;padding:8px 12px}
.vocabulary-shell{max-width:1500px;padding:0 24px 16px}.vocabulary-shell button.primary{background:var(--vocabulary);border-color:var(--vocabulary-deep);box-shadow:0 4px 0 var(--vocabulary-deep)}.vocabulary-shell :focus-visible{outline-color:#ae6817}
.vocabulary-toolbar{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:18px;margin:5px 0 18px}.mode-choices,.level-choices{display:flex;gap:4px;padding:4px;background:#e0ebe9;border-radius:19px}.mode-choices button,.level-choices button{border:0;background:transparent;box-shadow:none;font-weight:750}.mode-choices button{min-width:150px;min-height:52px}.mode-choices button[aria-pressed=true]{background:var(--vocabulary);color:white;box-shadow:0 3px 0 var(--vocabulary-deep)}.level-choices button{min-width:75px;font-size:15px;padding:8px}.level-choices button[aria-pressed=true]{background:white;color:var(--vocabulary-deep);box-shadow:0 2px 0 #bed5cc}.level-choices button span{display:block;font-size:12px;font-weight:500}.vocabulary-language{display:flex;align-items:center;gap:8px;font-size:15px;min-height:48px;padding:4px}.vocabulary-language input{accent-color:var(--vocabulary);min-height:22px;width:22px;height:22px;padding:0}
#status{font-size:15px;color:var(--vocabulary-deep);margin:0 0 12px}#status:empty{display:none}
.vocabulary-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr);grid-template-rows:auto 1fr auto;gap:8px 28px;align-items:start}.question-block{grid-column:2;grid-row:1}.question-block .eyebrow{color:var(--vocabulary);margin:5px 0 8px;font-size:12px}.question-block h2{font-size:clamp(28px,2.6vw,40px);letter-spacing:-.9px;line-height:1.16;margin:0 0 12px}#question-help{font-size:15px;color:var(--muted);margin:0 0 8px}#question-help:empty{display:none}
.cards-panel{grid-column:1;grid-row:1/4;background:white;border:1px solid var(--line);border-radius:26px;padding:18px;box-shadow:0 5px 0 #dce6e2;min-width:0}.cards-heading{margin-bottom:14px}.cards-heading h2{font-size:24px;margin:0 0 4px}.cards-heading p{font-size:15px;color:var(--muted);margin:0}
.picture-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;background:none}.picture-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:118px;min-height:44px;padding:8px;border:1px solid #ccddd7;background:#f6fbf8;border-radius:18px;touch-action:manipulation;box-shadow:0 3px 0 #e1ece7}.picture-card svg{width:88px;height:88px;max-width:100%;pointer-events:none}.picture-card:hover{background:#e9f5ed;border-color:#91b6a6}.picture-card.selected-object{border:3px solid #bc8533;background:#fff7df}.picture-card.marked-object{border:3px dashed #ac6d17;background:#fff4cd}.picture-card.marked-object:after{content:'★';position:absolute;top:2px;right:5px;font-size:16px;color:#8e5c10}.card-name{font-size:15px;font-weight:750;text-align:center;line-height:1.2;margin-top:4px;pointer-events:none}.learning-cards .picture-card{height:142px}.learning-cards .picture-card svg{width:84px;height:84px}
.response-block{grid-column:2;grid-row:2;min-width:0}#answer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#answer-options:empty{display:none}#answer-options button{font-weight:750;min-height:56px;padding:9px;font-size:20px}.response-block label{display:block;font-size:14px;margin:0 0 6px}.response-block input{width:100%;min-width:0;background:white;margin:0 0 9px}.response-block #check,.response-block #check-sentence{width:100%;min-height:52px;font-size:18px}.build-label{font-size:14px;color:var(--muted);margin:0 0 7px}#sentence-output,#word-bank{display:flex;gap:6px;flex-wrap:wrap;padding:8px;min-height:54px;border-radius:14px;margin-bottom:8px}#sentence-output{background:#fff;border:1px dashed #a9c5b9}#word-bank{background:#e4eee9}#sentence-output button,#word-bank button{min-height:44px;font-size:16px;padding:6px 10px;border-radius:11px}
#feedback{font-size:19px;font-weight:750;margin:12px 0;color:#8c5915}#feedback:empty{display:none}#feedback[data-result=correct]{color:var(--vocabulary-deep)}.support-actions{display:flex;gap:6px;margin-top:12px}.support-actions button{flex:1;padding:7px 5px;min-height:44px;font-size:14px;white-space:nowrap}.support-actions #show-model{flex:1.4}#hint,#model{font-size:17px;padding:13px;border-radius:15px;margin:10px 0 0}#hint{background:#fff1d9;color:#735422}#model{background:var(--vocabulary-soft);color:var(--vocabulary-deep);font-weight:650}#explore-name{margin:0 0 8px;font-size:31px}#explore-translation{color:var(--muted);margin:0 0 12px;font-size:20px}.explore-model{background:var(--vocabulary-soft);padding:16px;border-radius:16px;color:var(--vocabulary-deep);font-size:21px}
.next-block{grid-column:2;grid-row:3}#next{width:100%;min-height:62px;font-size:22px;font-weight:750}.vocabulary-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);padding:20px 0 0}.vocabulary-footer span:first-child{color:var(--vocabulary-deep);font-weight:700}
.vocabulary-board .vocabulary-toolbar button{min-height:56px}.vocabulary-board #answer-options button{min-height:56px}.vocabulary-board #next{min-height:64px}.vocabulary-board .support-actions button{min-height:44px}.vocabulary-board .level-choices button{font-size:16px}
@media(min-width:1001px) and (max-height:820px){.vocabulary-header{min-height:62px;padding-top:7px;padding-bottom:7px}.vocabulary-toolbar{margin:0 0 12px;gap:14px}.vocabulary-workspace{gap:8px 22px}.cards-panel{padding:14px}.cards-heading{margin-bottom:10px}.cards-heading h2{font-size:22px}.cards-heading p{font-size:14px}.question-block h2{font-size:30px}.question-block .eyebrow{margin:0 0 6px}.vocabulary-footer{padding-top:14px}.picture-grid{gap:8px}.picture-card{height:94px}.picture-card svg{width:72px;height:72px}.learning-cards .picture-card{height:120px}.learning-cards .picture-card svg{width:76px;height:76px}#hint,#model{padding:10px;font-size:16px}.support-actions{margin-top:8px}.response-block #check,.response-block #check-sentence{min-height:48px}}
@media(max-width:1000px){.vocabulary-workspace{display:flex;flex-direction:column;gap:14px}.question-block,.cards-panel,.response-block,.next-block{width:100%}.question-block h2{font-size:32px;margin-bottom:5px}.question-block .eyebrow{display:none}.vocabulary-toolbar{gap:10px}.vocabulary-header{padding:10px 20px;flex-wrap:wrap}.vocabulary-header h1{font-size:23px}.vocabulary-shell{padding:0 20px 16px}.mode-choices button{min-width:135px}.cards-panel{padding:16px}.picture-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.picture-card{height:112px}.response-block,.next-block{max-width:760px;align-self:center}.vocabulary-footer{padding-top:18px}.support-actions button{min-height:48px}}
@media(max-width:560px){.vocabulary-header{padding:8px 14px;gap:7px;min-height:62px;flex-wrap:nowrap}.vocabulary-header .brand{font-size:0;gap:0}.vocabulary-header .brand>span:last-child{display:none}.vocabulary-header h1{font-size:18px;white-space:nowrap;letter-spacing:-.5px}.vocabulary-header nav{gap:5px}.vocabulary-header nav button{font-size:12px;padding:6px 8px;min-height:44px}.vocabulary-header #board{font-size:0}.vocabulary-header #board:after{content:'Board';font-size:12px}.vocabulary-shell{padding:0 14px 15px}.vocabulary-toolbar{display:grid;grid-template-columns:1fr auto;gap:7px;margin:0 0 14px}.mode-choices{grid-column:1/-1}.mode-choices button{flex:1;min-width:0;min-height:48px;font-size:17px}.level-choices{gap:2px;min-width:0}.level-choices button{flex:1;min-width:0;padding:5px;font-size:14px}.level-choices button span{font-size:11px}.vocabulary-language{padding:4px;font-size:14px;min-height:48px}.question-block h2{font-size:27px}.cards-panel{padding:12px;border-radius:20px}.cards-heading h2{font-size:21px}.picture-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.picture-card{height:104px;padding:5px;border-radius:15px}.picture-card svg{width:78px;height:78px}.learning-cards .picture-card{height:126px}.learning-cards .picture-card svg{width:72px;height:72px}.card-name{font-size:14px}.vocabulary-board .vocabulary-toolbar button{min-height:48px}#answer-options button{font-size:19px;min-height:52px}#next{min-height:58px;font-size:20px}#hint,#model{font-size:16px}.vocabulary-footer{font-size:12px}.vocabulary-footer span:last-child{display:none}}
