/* A practical lesson occupies one quiet card; the world keeps its space. */
#ui #tut-card{width:min(320px,calc(var(--ui-w,100vw) - var(--sel-w,0px) - var(--right-w,0px) - 24px));padding:12px 14px 8px;border-radius:5px;background:linear-gradient(135deg,#332718f5,#21180ff5);border:1px solid #8e733c;border-top:2px solid #d6b76d;box-shadow:inset 0 0 0 1px #e2c16c0c,0 6px 20px #0007}
.tut-practice-head{display:flex;align-items:center;gap:11px;min-width:0}
.tut-practice-head>div{min-width:0}
.tut-practice-head small{font-size:11px;color:#c3ae80;letter-spacing:.08em;text-transform:uppercase}
.tut-practice-head h3{font-family:var(--font-head,serif);font-size:17px;line-height:1.2;margin:4px 0;color:#f0d388;overflow-wrap:anywhere}
.tut-practice-head>.tut-ic{height:28px;width:28px;flex:none;color:#d6b76d}
.tut-practice-art{width:56px;height:60px;flex:none;display:flex;align-items:center;justify-content:center;overflow:visible}
.tut-practice-art img,.tut-practice-art canvas{max-width:66px;max-height:66px;object-fit:contain}
.tut-practice-art>.tut-ic{width:34px;height:34px;color:#d6b76d}
#tut-card .tut-practice-task{font-size:14px;line-height:1.35;color:#f2e6cb;margin:9px 0 6px}
#tut-card .tut-practice-reason{font-size:12px;line-height:1.35;color:#c4b494;margin:0 0 9px}
.tut-practice-status{font-size:12px;line-height:1.3;color:#dec78e;padding:5px 7px;margin:0 0 8px;border-left:2px solid #a58b54;background:#96784412;overflow-wrap:anywhere}
.tut-practice-actions{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap}
#tut-card .tut-practice-actions .hud-btn{white-space:normal;min-height:34px;font-size:12px;padding:6px 9px;line-height:1.2;max-width:100%}
.tut-practice-actions>.gold{flex:1}
.tut-practice-footer{display:flex;justify-content:space-between;margin-top:7px}
.tut-practice-footer button{font:inherit;font-size:11px;background:none;color:#bca77b;border:0;padding:5px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tut-practice-footer button:hover{color:#ffe19b}
.tut-practice-footer button:focus-visible{outline:2px solid #e6c668;outline-offset:3px}
/* While a ghost or field block is active, keep the useful instruction beside it.
   Full lesson, cancellation and urgent counsel remain accessible at every size. */
#ui #tut-card.tut-placing{width:min(290px,calc(var(--ui-w,100vw) - var(--sel-w,0px) - var(--right-w,0px) - 24px));padding:9px 12px 5px}
#tut-card.tut-placing .tut-practice-head h3{font-size:16px;margin:3px 0 0}
#tut-card.tut-placing .tut-practice-task{font-size:13px;margin:7px 0 5px}
#tut-card .tut-placement-lesson{font-size:11px;line-height:1.35;color:#c4b494;margin:0 0 7px;overflow-wrap:anywhere}
#tut-card.tut-placing .tut-practice-actions{gap:6px}
#tut-card.tut-placing .tut-practice-actions .hud-btn{flex:1 1 100px;padding:5px 8px;min-height:32px}
#tut-card.tut-placing .tut-practice-footer{margin-top:3px}
/* The shared hint also carries actual field/site errors. Their text replaces the
   generic marker, so they stay visible immediately without a timer or observer. */
#ui:has(#tut-card.tut-placing:not(.hidden)) #cursor-hint:has(> [data-placement-instruction]){display:none}
.tut-coach{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px 15px;margin:0 0 16px;border:1px solid #8e733c;border-left:3px solid #e1bc61;border-radius:4px;background:#3a2b18;color:#e7d9b9;flex-wrap:wrap;font-size:14px;line-height:1.4}
.tut-coach>div{display:flex;gap:12px;align-items:center;flex:1 1 260px;min-width:0}
.tut-coach strong{display:block;color:#efce7d;font-size:13px;margin-bottom:3px}
.tut-coach .tut-ic{width:26px;height:26px;color:#d3b16a;flex:none}
.tut-coach>small{color:#dec58b;flex:0 1 180px}
.tut-control{outline:2px solid #e4c361!important;outline-offset:3px}
.tut-menu .tut-step{padding:9px 10px;border-radius:3px}
.tut-menu .tut-step b{font-size:14px}
.tut-menu .tut-step-n{font-size:12px;line-height:1.4}
.tut-menu .tut-menu-note{font-style:normal;font-size:13px;color:#c5b48c}
.tut-menu .tut-steps{max-height:48vh}
.tut-menu .tut-menu-btns{justify-content:flex-start}
.tut-menu .hud-btn{white-space:normal}
@media(max-height:650px){#tut-card .tut-practice-art{height:38px;width:38px}#tut-card .tut-practice-art img{max-height:44px;max-width:44px}#tut-card .tut-practice-head h3{font-size:15px}#ui #tut-card{padding:8px 11px 5px}.tut-practice-reason{font-size:11px!important}.tut-practice-head small{font-size:10px}}
@media(prefers-reduced-motion:reduce){#tut-card,#tut-aim{animation:none!important}.tut-c-bar>span{transition:none}}
