/* Build Yard shares the printed atlas, type and inks of Mind Quests. */
.subject-tabs{display:flex;gap:7px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.subject-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px;border:1px solid #b9a181;border-radius:3px;background:#f9f0de;font-size:13px;font-weight:650}
.subject-tabs button[aria-pressed="true"]{background:#dce2c5;border-color:#64744e;box-shadow:inset 0 -3px #64744e}
.subject-tabs .glyph{width:21px;height:21px}
.parent-link{min-height:44px;text-align:center}
.listen-word{min-height:58px;border:1px solid #6e805e;border-radius:3px;background:#e1e7cf;color:#354d3e;font-size:16px;font-weight:650;box-shadow:0 3px 0 #6b775540}
.listen-word:hover{background:#d3debc}
.word-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.word-choices:has(> :last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
.word-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:75px;padding:16px 6px;border:1px solid #aa8e64;border-radius:3px;background:#fff6e3;box-shadow:0 3px 0 #c5ae87}
.word-choice strong,.letter-tile,.placed-tile,.word-slots>strong,.solved-word,.modeled-word,.word-label>strong{font-family:Bitter,Georgia,serif;font-weight:650;font-size:30px;line-height:1.2}
.word-choice:hover{background:#f8e0a1;border-color:#775939;transform:translateY(-1px)}
.word-builder{display:flex;flex-direction:column;gap:15px;min-width:0}
.word-slots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;min-height:76px;border:2px dashed #b9a17a;background:#f0e4ca;padding:10px;overflow-wrap:anywhere}
.slot-placeholder{font-size:13px;color:#74664e;text-align:center}
.word-tiles{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;padding-top:3px}
.letter-tile,.placed-tile{min-width:48px;min-height:50px;padding:6px 11px;background:#fff6e3;border:1px solid #997f59;border-radius:3px;box-shadow:0 3px 0 #c5ae87;font-size:26px}
.letter-tile:disabled{opacity:.27}
.placed-tile{background:#e1e7cf;border-color:#82916c;box-shadow:0 2px 0 #a4ae8d;min-height:46px}
.word-tools{display:flex;justify-content:space-between;gap:8px}
.word-tools button,.actions-row .quiet{min-height:44px}
#word-form{display:flex;flex-direction:column;gap:8px}
#word-form label,#class-lesson+label{font-size:12px;font-weight:600}
#word-form .answer-entry{gap:8px}
#word-answer{min-width:0;width:100%;font-size:22px}
#check-word{flex:none;font-size:13px;padding:10px 13px}
.word-label{border:1px solid #b49a73;background:#eee0c0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;transform:rotate(-1deg)}
.word-label small{font-size:9px;letter-spacing:1px;font-weight:650}
.modeled-word{display:block;margin-bottom:8px}
.solved-word{text-align:center;font-size:45px;padding:20px 8px;border-block:1px solid #ccb796;color:#40543f}
.word-stamps{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.word-stamps>span{padding:12px 14px;border:2px dashed #8b9872;background:#e1e7cf;font-family:Bitter,Georgia,serif;font-size:23px;transform:rotate(-2deg)}
.word-stamps>span:nth-child(2){transform:rotate(2deg)}
.english-journal{padding-bottom:28px;margin-bottom:28px;border-bottom:3px double var(--line)}
.english-journal .skill-dots i{background:#d5c39f;border:1px solid #9c885f}
.english-journal .skill-dots i.done{background:#64744e;border-color:#536442}
#class-lesson{width:100%;min-height:48px;padding:10px;border:1px solid #9e8769;border-radius:3px;background:#fff9eb;font-size:15px;color:var(--ink)}
.modal .input-help a{text-decoration:underline;text-underline-offset:3px}
body[data-subject="english"] .mission-top button{min-height:44px;padding:8px 12px}
@media(min-width:741px) and (max-width:1050px) and (orientation:portrait){
  body[data-subject="english"] .adventure-layout{grid-template-columns:1fr;gap:22px}
  body[data-subject="english"] .world-card #world{height:320px;min-height:320px}
}
@media(max-width:740px){
  .subject-tabs{padding-bottom:13px}
  .fox-note{padding:12px;gap:12px}
  .fox-note>.glyph{width:40px;height:40px}
  body[data-subject="english"] .mission-panel{padding:20px}
  .word-choices{gap:8px}
  .letter-tile{min-width:46px;padding:7px 10px}
  .word-tiles{gap:8px}
  .word-stamps>span{font-size:21px;padding:10px}
}
@media(max-width:360px){
  body[data-subject="english"] .mission-panel{padding:16px}
  .fox-note>.glyph{width:31px;height:31px}
  .word-choice strong{font-size:27px}
  .letter-tile{min-width:43px;padding:7px 9px}
  #word-form .answer-entry{flex-wrap:wrap}
  #check-word{width:100%}
}
.build-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.build-goals button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:15px 8px;min-height:120px;background:#fff4dc;border:1px solid #b89c71;border-radius:3px}
.build-goals button[aria-pressed="true"]{background:#e0e5c9;border-color:#697b52;box-shadow:inset 0 -3px #697b52}
.build-goals strong{font-family:Bitter,Georgia,serif;font-size:13px;line-height:1.4}
.build-goals small{font-size:11px;color:#736345}
.build-goals .glyph{height:30px;width:30px}
.build-plan{display:flex;gap:16px;align-items:center;background:#eadcbb;padding:15px;border-block:1px solid #c7b08a}
.build-plan strong,.build-plan small{display:block}.build-plan strong{font-size:14px;margin-bottom:5px}.build-plan small{font-size:12px;line-height:1.5;color:#6d5b42}
.practice-choice{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid #ccb797}
.practice-choice .track-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.practice-choice .track{min-height:60px;padding:11px}
.part-progress{display:flex;gap:11px;justify-content:center;padding:16px}
.part-progress span{display:grid;place-items:center;width:55px;height:55px;background:#eadabb;border:2px solid #ae9367;box-shadow:0 4px #ac9169;font-size:28px;font-weight:700}
.part-progress span.ready{background:#d5dfb7;color:#405439;border-color:#7e9160;box-shadow:0 4px #697c53}
.yard-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.yard-item{border:1px solid #bea882;background:#f9edd4;border-radius:3px;overflow:hidden}
.yard-item.selected{outline:2px solid #60754c;outline-offset:1px;background:#e2e8ca}
.yard-item button{width:100%;border:0;background:transparent;min-height:44px}
.yard-item>button:first-child{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 5px;min-height:110px}
.yard-item strong{font-family:Bitter,Georgia,serif;font-size:12px;line-height:1.3}
.yard-item small{font-size:10px;color:#6d5d44}
.yard-item>button:last-child{border-top:1px solid #bea882;font-size:11px;font-weight:650;background:#efddaf}
.yard-message{font-size:13px!important;margin:0;background:#ece1c4;border-left:3px solid #6e7e50;padding:12px 14px;min-height:65px}
.yard-paint{display:flex;flex-wrap:wrap;gap:8px}
.yard-paint button{min-width:44px;min-height:44px;padding:7px 10px;font-size:12px;border:1px solid #b39a70;background:#efe1c3;border-radius:3px}
.yard-paint [data-paint]{color:#fff6d9;background:var(--paint);font-size:23px;border:2px solid #f5e7ca;box-shadow:0 0 0 1px #ac9368}
.yard-paint [aria-pressed="true"]{outline:2px solid #382b45;outline-offset:2px}
.yard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.yard-grid button{position:relative;border:1px dashed #ac9469;border-radius:3px;background:#e7dcc0;min-height:49px;font-size:11px;font-weight:600;padding:9px 8px 9px 18px}
.yard-grid button small{position:absolute;left:5px;top:4px;font-size:9px;color:#796744}
.yard-grid .selected{border:2px solid #687b52;background:#dce3c4}
body[data-yard="true"] .mission-panel{gap:13px;padding:21px}
body[data-yard="true"] .world-card{align-self:start;position:sticky;top:16px}
body[data-yard="true"] .world-card #world{height:590px;min-height:590px}
@media(max-width:1050px){body[data-yard="true"] .adventure-layout{grid-template-columns:1fr}body[data-yard="true"] .world-card{position:relative}body[data-yard="true"] .world-card #world{height:360px;min-height:360px}}
@media(max-width:740px){.build-goals strong{font-size:12px}.build-goals button{padding:12px 5px}.yard-catalog{gap:7px}.yard-item strong{font-size:11px}.yard-item small{font-size:9px}body[data-yard="true"] .world-card #world{height:310px;min-height:310px}}


.yard-catalog[hidden],.yard-arrange[hidden]{display:none}
.yard-mode{display:flex;gap:7px}.yard-mode button{flex:1;min-height:46px;border:1px solid #ab946c;background:#f4e7ca;font-size:12px;font-weight:650;border-radius:3px}.yard-mode [aria-pressed="true"]{background:#dce3c4;border-color:#697c53;box-shadow:inset 0 -3px #697c53}
.yard-arrange{display:flex;flex-direction:column;gap:13px}.yard-supplies{display:flex;gap:6px;flex-wrap:wrap}.yard-supplies button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;flex:1 0 100px;min-height:54px;border:1px solid #b29a70;border-radius:3px;background:#f8edcf;font-size:12px;font-weight:650;padding:7px}.yard-supplies small{font-size:10px;color:#766548;font-weight:400}.yard-supplies [aria-pressed="true"]{background:#dce3c4;border-color:#65794c}
