/* Shared tutorial layout: a short instruction sits directly above the active board. */
.salon-panel .sp-lesson.lesson-tip {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:.7rem 1rem; padding:clamp(.78rem,1.6vw,1.35rem);
  margin:0; border:0; border-radius:14px 14px 0 0;
  background:#fff9e9; color:#1f3048; box-shadow:inset 0 -1px #d9ccb0;
}
.sp-lesson-copy {display:flex;flex:1 1 28rem;gap:.8rem;align-items:center;min-width:0}
.sp-lesson-mentor {width:58px;height:62px;flex:none;overflow:hidden;background:#f8eac2;border-radius:19px 19px 13px 19px}
.sp-lesson-mentor img {display:block;width:100%;height:100%;object-fit:cover;object-position:39% center}
.sp-lesson-meta {display:flex;align-items:center;gap:.65rem;color:#534b35;font-size:.8rem;font-weight:700}
.sp-lesson-steps {display:inline-flex;gap:3px}
.sp-lesson-steps i {display:block;width:13px;height:4px;border-radius:10px;background:#d1cbbd}
.sp-lesson-steps .sp-lesson-current {background:#b0790d}
.sp-lesson-steps .sp-lesson-past {background:#246351}
.salon-panel .sp-lesson h2 {font-family:var(--head,system-ui);color:#202d49;font-size:clamp(1.03rem,2.1vw,1.5rem);margin:.18rem 0 .22rem;line-height:1.16}
.salon-panel .sp-lesson p {margin:0;font-size:.98rem;line-height:1.38;max-width:60ch;color:#26394b}
.sp-lesson-actions {display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.sp-lesson-actions button {min-height:44px;min-width:44px;padding:.3rem .65rem;border:1px solid #b5b7a5;border-radius:9px;background:#fffcf2;color:#244644;font:700 .9rem/1.15 var(--body,system-ui);cursor:pointer}
.sp-lesson-actions .sp-lesson-primary {background:#195348;border-color:#195348;color:#fffaf0}
.sp-lesson-actions button:hover {text-decoration:underline;text-underline-offset:2px}
.sp-lesson-actions button:focus-visible {outline:3px solid #3153a5;outline-offset:2px}
.sp-lesson .sp-lesson-show {color:#264e72}
.salon-panel .lesson-target {position:relative;outline:3px dashed #ffe086;outline-offset:1px;z-index:2;box-shadow:0 0 0 1px #263650,0 0 0 5px #28443b}
.salon-panel :is(.sp-col:has(.lesson-target) .sp-col-title i,.sp-stock.lesson-target strong)::before {content:'↓';margin-right:.18em;font-weight:900}
.sp-lesson-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px) {
  .salon-panel .sp-lesson.lesson-tip {gap:.45rem;padding:.66rem .72rem;border-radius:12px 12px 0 0}
  .sp-lesson-copy {gap:.55rem;align-items:flex-start}
  .sp-lesson-mentor {width:36px;height:41px;border-radius:12px}
  .sp-lesson-actions {gap:.45rem;margin-inline-start:calc(36px + .55rem)}
  .salon-panel .sp-lesson p {font-size:.88rem;line-height:1.31}
}
@media(forced-colors:active) {
  .salon-panel .lesson-target {outline-color:Highlight}
}
