/* Tutorial accents stay warm and independent of business/status ticket colors. */
:root { --sc-guide-accent: #b96029; --sc-guide-ink: #98491f; --sc-guide-soft: #fff3e8; --sc-guide-highlight: #efb27d; --sc-guide-line: #ead9cb; }
/* The menu is in the live document; practice styles are scoped to its own body. */
#sc-guide-trigger { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(40px, env(safe-area-inset-bottom)); z-index: 1050; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid #d4854f; border-radius: 50%; background: #ba622d; color: #fff; box-shadow: 0 3px 10px #7a43132b, 0 0 0 4px #fff6efb3; cursor: grab; font-size: 21px; line-height: 1; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#sc-guide-trigger:hover { background: #a65223; }
#sc-guide-trigger:focus-visible { outline: 3px solid #e4a16e; outline-offset: 4px; }
#sc-guide-trigger[aria-expanded="true"] { background: #a65223; box-shadow: 0 0 0 5px #efb27d40, 0 4px 16px #7a43112e; }
#sc-guide-trigger.is-repositioning { cursor: grabbing; box-shadow: 0 7px 22px #7a431147; }
#sc-guide-trigger i { pointer-events: none; color: inherit; }
#sc-guide-trigger[hidden] { display: none !important; }
.sc-guide-dialog { box-sizing: border-box; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 26px; border: 1px solid #d5ddd8; border-radius: 20px; background: #fff; color: #263238; font: 14px/1.5 system-ui, sans-serif; box-shadow: 0 24px 80px #10291d26; }
.sc-guide-dialog::backdrop, .sc-guide-practice::backdrop { background: #12221d80; }
.sc-guide-dialog header, .sc-guide-practice > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sc-guide-dialog h2 { margin: 4px 0; font: 600 22px/1.3 system-ui, sans-serif; }
.sc-guide-dialog small { font-size: 10px; letter-spacing: 1.5px; color: var(--sc-guide-ink); }
.sc-guide-dialog p { color: #586571; }
.sc-guide-dialog > header button, .sc-guide-dialog > footer button, .sc-guide-practice > header button, .sc-practice-page .sc-guide-hint button { cursor: pointer; font: inherit; border: 1px solid #d5ddd8; border-radius: 10px; background: #fff; color: #263238; padding: 10px 14px; }
.sc-guide-dialog header > button { font-size: 24px; line-height: 1; border: none; }
.sc-guide-dialog footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.sc-guide-dialog > footer .sc-guide-primary { background: var(--sc-guide-accent); border-color: var(--sc-guide-accent); color: white; }
.sc-guide-practice { box-sizing: border-box; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #f7f8f6; color: #263238; }
.sc-guide-practice[open] { display: flex; flex-direction: column; }
.sc-guide-practice > header { padding: 10px 20px; background: #fff; border-bottom: 1px solid #d5ddd8; font: 14px/1.4 system-ui, sans-serif; flex-shrink: 0; }
.sc-guide-practice iframe { flex: 1; min-height: 0; width: 100%; border: 0; background: #f7f8f6; }
.sc-guide-practice [data-guide-loading] { padding: 10px 20px; margin: 0; }

/* Clone the live Salon Center surface; only tutorial chrome and viewport framing live here. */
.sc-practice-page { margin: 0; padding: 10px; height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--theme-mode-bs-100, #f7f8f6); color: #263238; font: 13px/1.45 system-ui, sans-serif; }
.sc-practice-page * { box-sizing: border-box; }
.sc-practice-heading { display: none; }
.sc-practice-page #practice-board { flex: 1 1 0; min-height: 0; width: 100%; overflow: hidden; }
.sc-practice-page .sc-practice-frames { --fst: 1fr; --fsw: 1fr; --fsi: 1fr; --fsp: 1fr; height: 100%; min-height: 0; grid-template-columns: minmax(170px, .8fr) repeat(2, minmax(210px, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(120px, .7fr); grid-template-areas: "t w i" "t p p"; transition: none; }
.sc-practice-page .sc-practice-frames > .column-gap { min-height: 0; min-width: 0; }
.sc-practice-page .sc-practice-frames > .column-gap > .body-append-form { min-height: 0; flex: 1 1 0; overflow: auto; }
.sc-practice-page .sc-practice-frames .sc-guide-source { touch-action: none !important; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sc-practice-page .sc-practice-frames .sc-guide-source button { pointer-events: none; }
.sc-guide-spotlight { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; }
.sc-guide-hand { position: fixed; width: 48px; height: 56px; z-index: 140; pointer-events: none; }
.sc-guide-hand svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 4px #10291d66); }
.sc-guide-hand-ring { position: absolute; left: 7px; top: -6px; width: 26px; height: 26px; border: 3px solid var(--sc-guide-highlight); border-radius: 50%; background: #efb27d40; }
.sc-guide-ticket-ghost.salon-center-page-body { position: fixed; display: block; height: auto; overflow: visible; background: transparent; z-index: 130; pointer-events: none; }
.sc-guide-ticket-ghost .body-append-form.ticket.sc2-ticket-list { display: block; padding: 0; margin: 0; height: auto; overflow: visible; }
.sc-guide-ticket-ghost .body-append-form.ticket.sc2-ticket-list > .sc-ticket-card { width: 100%; margin: 0; }
.sc-guide-ticket-ghost[hidden] { display: none !important; }
.sc-guide-hand-caption { position: absolute; width: 190px; top: 56px; padding: 8px; background: white; border: 1px solid #d5ddd8; border-radius: 8px; color: #263238; font-size: 11px; }
.sc-practice-page .sc-guide-source:focus-visible, .sc-practice-page .sc-guide-target:focus-visible { outline: 2px solid var(--sc-guide-accent); outline-offset: 2px; }
.sc-practice-page #practice-group-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sc-practice-page #practice-group-preview h3 { margin: 0 0 8px; font-size: 12px; color: #586571; }
.sc-practice-page #practice-group-preview .salon-center-page-body { display: block; height: auto; overflow: visible; background: transparent; }
.sc-practice-page #practice-group-preview .body-append-form.ticket { display: block; padding: 0; height: auto; overflow: visible; }
.sc-practice-page #practice-group-preview .sc-ticket-card { width: 100%; }
/* The inner card and its offset backing own the group surfaces. A full-size
   outer fill exposes white wedges around their rounded corners. */
.sc-practice-page #practice-board #salon-center-page-body-id .sc-practice-group > .sc-ticket-card.sc-frame-group { background-color: transparent; }
.sc-guide-dialog > footer button, .sc-guide-dialog > header button, .sc-guide-practice > header button { min-height: 44px; }
@media (max-width: 1024px) {
    .sc-practice-page #practice-board:is([data-lesson-mode="move"], [data-lesson-mode="group"], [data-lesson-mode="result"]) .sc-practice-frames { grid-template-areas: none; grid-template-rows: minmax(0, 1fr); grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-practice-page #practice-board:is([data-lesson-mode="move"], [data-lesson-mode="group"], [data-lesson-mode="result"]) .column-gap { grid-area: auto; }
    .sc-practice-page #practice-board:is([data-lesson-mode="move"], [data-lesson-mode="group"], [data-lesson-mode="result"]) .column-gap[data-guide-visible="false"] { display: none; }
    .sc-practice-page #practice-board:is([data-lesson-mode="group"], [data-lesson-mode="result"]) .sc-practice-frames { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    #sc-guide-trigger { left: 12px; bottom: max(20px, env(safe-area-inset-bottom)); }
    .sc-guide-practice > header { padding: 6px 10px; font-size: 11px; }
    .sc-practice-page { padding: 6px; }
    .sc-practice-page #practice-group-preview { grid-template-columns: 1fr; }
}
@media (max-height: 760px) {
    .sc-practice-page #practice-board[data-lesson-mode="group"] .sc-practice-frames { grid-template-areas: none; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
    .sc-practice-page #practice-board[data-lesson-mode="group"] .column-gap { grid-area: auto; }
    .sc-practice-page #practice-board[data-lesson-mode="group"] .column-gap[data-guide-visible="false"] { display: none; }
    .sc-practice-page #practice-board[data-lesson-mode="group"] .body-append-form.ticket.sc2-ticket-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}
@media (prefers-reduced-motion: reduce) { .sc-guide-hand-ring { display: none; } }

/* Anchored, non-modal feature picker. Its arrow is positioned against the launcher center. */
#sc-guide-menu.sc-guide-popover { position: fixed; inset: auto; margin: 0; padding: 0; width: 364px; max-width: none; max-height: none; z-index: 1060; overflow: visible; border: 1px solid var(--sc-guide-line); border-radius: 16px; background: #fff; color: #263238; box-shadow: 0 12px 36px #34261b26, 0 2px 8px #34261b0d; font: 13px/1.5 var(--ruma-font-family, system-ui, sans-serif); }
#sc-guide-menu::before { content: ''; position: absolute; left: -8px; top: calc(var(--sc-guide-arrow-top, 40px) - 7px); width: 14px; height: 14px; transform: rotate(45deg); border-left: 1px solid var(--sc-guide-line); border-bottom: 1px solid var(--sc-guide-line); background: #fff; z-index: -1; }
.sc-guide-menu-surface { max-height: var(--sc-guide-menu-max-height, calc(100dvh - 24px)); overflow: auto; border-radius: inherit; background: #fff; }
#sc-guide-menu header { display: flex; align-items: center; gap: 10px; padding: 18px 18px 0; }
.sc-guide-menu-symbol { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; border: 1px solid #f0d8c5; background: var(--sc-guide-soft); color: var(--sc-guide-ink); font-size: 17px; }
#sc-guide-menu header > div { flex: 1; min-width: 0; }
#sc-guide-menu small { display: block; color: #957358; font-size: 9px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.5; }
#sc-guide-menu h2 { margin: 2px 0 0; font-size: 18px; font-weight: 600; line-height: 1.3; color: #2d3438; }
#sc-guide-menu [data-guide-close] { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 0; border-radius: 8px; padding: 0; background: transparent; color: #7b858b; cursor: pointer; font-size: 16px; }
#sc-guide-menu [data-guide-close]:hover { background: #f8f4f0; color: #98491f; }
#sc-guide-menu > .sc-guide-menu-surface > p { margin: 12px 18px 14px; color: #758087; font-size: 12px; line-height: 1.5; }
.sc-guide-menu-lessons { display: grid; gap: 8px; padding: 0 12px 14px; }
#sc-guide-menu .sc-guide-lesson { display: grid; grid-template-columns: 36px minmax(0, 1fr) 10px; align-items: start; gap: 10px; width: 100%; margin: 0; padding: 13px 12px; text-align: left; border: 1px solid #eee3d9; border-radius: 12px; background: #fffcf9; color: #29323a; cursor: pointer; }
#sc-guide-menu .sc-guide-lesson:hover { border-color: #dfb08c; background: #fff5eb; }
.sc-guide-lesson-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fbe8d7; color: #a65926; font-size: 17px; }
.sc-guide-lesson-content { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
#sc-guide-menu .sc-guide-lesson strong { color: #3c332d; font-size: 14px; font-weight: 600; line-height: 1.4; }
.sc-guide-lesson-description { color: #748087; font-size: 11px; line-height: 1.6; }
.sc-guide-lesson-state { display: inline-flex; padding: 2px 7px; border: 1px solid #e9d4c2; border-radius: 5px; background: #fff3e8; color: #9c602e; font-size: 9px; font-weight: 500; line-height: 1.5; }
.sc-guide-lesson-arrow { align-self: center; color: #b9a18c; font-size: 10px; }
#sc-guide-menu footer { display: flex; align-items: center; gap: 8px; margin: 0; padding: 11px 18px; border-top: 1px solid #f0e8e0; background: #faf7f4; color: #96806d; font-size: 10px; line-height: 1.5; }
#sc-guide-menu footer > i { color: #bf9778; font-size: 12px; }
#sc-guide-menu button:focus-visible { outline: 2px solid var(--sc-guide-accent); outline-offset: 2px; }
@media (max-width: 480px) {
    #sc-guide-menu header { gap: 8px; padding: 14px 12px 0; }
    #sc-guide-menu h2 { font-size: 16px; }
    .sc-guide-menu-symbol { display: none; }
    #sc-guide-menu > .sc-guide-menu-surface > p { margin: 10px 12px 12px; }
    .sc-guide-menu-lessons { padding: 0 8px 10px; }
    #sc-guide-menu .sc-guide-lesson { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 10px 8px; }
    .sc-guide-lesson-icon { width: 28px; height: 30px; font-size: 15px; }
    #sc-guide-menu .sc-guide-lesson strong { font-size: 12px; }
    .sc-guide-lesson-description { font-size: 10px; }
    .sc-guide-lesson-arrow { display: none; }
    #sc-guide-menu footer { padding: 10px 12px; font-size: 9px; }
}
/* The live stylesheet also styles generic footer/header elements; keep popover chrome local. */
#sc-guide-menu .sc-guide-menu-surface > header,
#sc-guide-menu .sc-guide-menu-surface > footer { position: static; inset: auto; width: auto; min-width: 0; height: auto; transform: none; box-shadow: none; }
#sc-guide-menu .sc-guide-lesson[data-completed="true"] .sc-guide-lesson-state::before { content: '✓'; margin-right: 4px; }
.sc-practice-page .sc-practice-frames .sc-guide-source.is-drag-ready { box-shadow: 0 10px 24px #54321b33 !important; }
@media (max-width: 600px) { #sc-guide-trigger { left: max(12px, env(safe-area-inset-left)); } }

/* Practice header and coach card have their own hierarchy, independent of live frame controls. */
#sc-guide-practice > header { min-height: 56px; padding: 6px 18px; border-bottom: 1px solid #e9e2db; background: #fff; gap: 12px; }
.sc-guide-practice-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sc-guide-practice-mark { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #eed8c6; border-radius: 9px; background: #fff6ee; color: var(--sc-guide-ink); font-size: 14px; }
.sc-guide-practice-context { display: inline-flex; align-items: center; gap: 12px; color: #8d969b; font-size: 11px; white-space: nowrap; }
.sc-guide-practice-context i { color: #c4c9cc; font-size: 9px; }
.sc-guide-practice-identity > strong { color: #30383d; font-size: 12px; line-height: 1.4; font-weight: 600; }
.sc-guide-sample-badge { display: inline-flex; align-items: center; flex-shrink: 0; gap: 5px; border: 1px solid #eedfd1; border-radius: 5px; padding: 3px 7px; background: #fcf7f2; color: #987356; font-size: 9px; font-weight: 400; white-space: nowrap; }
.sc-guide-sample-badge > span { width: 4px; height: 4px; border-radius: 50%; background: #c9956e; }
#sc-guide-practice > header .sc-guide-practice-exit { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; min-height: 40px; margin: 0; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #737e85; font-size: 11px; font-weight: 400; line-height: 1.4; }
#sc-guide-practice > header .sc-guide-practice-exit:hover { background: #faf4ef; border-color: #edddcf; color: var(--sc-guide-ink); }
#sc-guide-practice > header .sc-guide-practice-exit i { font-size: 14px; color: #98a0a5; }
#practice-hint { position: relative; z-index: 200; flex-shrink: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 12px 14px; align-items: center; margin: 0 0 10px; padding: 15px 18px 10px; border: 1px solid #e7d9cd; border-radius: 14px; background: #fff; color: #30383d; box-shadow: 0 3px 12px #4e31100a; }
#practice-hint .sc-guide-coach-symbol { grid-column: 1; grid-row: 1; align-self: start; display: grid; place-items: center; width: 42px; height: 42px; margin-top: 2px; border: 1px solid #efd6c1; border-radius: 12px; background: #fff3e7; color: var(--sc-guide-ink); font-size: 19px; }
#practice-hint .sc-guide-coach-content { grid-column: 2; grid-row: 1; min-width: 0; }
#practice-hint .sc-guide-coach-eyebrow { display: block; margin: 0 0 5px; color: #b18a6b; font-size: 8px; font-weight: 500; letter-spacing: 1.35px; line-height: 1.4; }
#practice-hint [data-guide-title] { margin: 0; color: #30383d; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.2px; }
#practice-hint [data-guide-text] { max-width: 880px; margin: 5px 0 0; color: #79838b; font-size: 12px; font-weight: 400; line-height: 1.6; }
#practice-hint .sc-guide-hint-actions { grid-column: 3; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; }
#practice-hint .sc-guide-hint-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid #e8ded5; border-radius: 9px; background: #fff; color: #775c49; font-size: 11px; font-weight: 500; line-height: 1.4; box-shadow: none; cursor: pointer; white-space: nowrap; }
#practice-hint .sc-guide-hint-actions button i { font-size: 13px; }
#practice-hint .sc-guide-hint-actions .sc-guide-primary { padding-inline: 17px; border-color: #b65b25; background: #bd632c; color: #fff; box-shadow: 0 2px 4px #7e42181a; }
#practice-hint .sc-guide-hint-actions .sc-guide-primary:hover { background: #a75022; border-color: #a75022; }
#practice-hint .sc-guide-hint-actions .sc-guide-secondary { border-color: #e8d2bf; background: #fffaf5; color: #9a5b2d; }
#practice-hint .sc-guide-hint-actions .sc-guide-secondary:hover { background: #fff0e1; border-color: #d8b18f; }
#practice-hint .sc-guide-hint-actions .sc-guide-tertiary { border-color: transparent; background: transparent; color: #8a9297; }
#practice-hint .sc-guide-hint-actions .sc-guide-tertiary:hover { border-color: #eee4da; background: #faf7f4; color: #8b5b37; }
#practice-hint .sc-guide-coach-footer { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; min-width: 0; min-height: 30px; padding-top: 9px; border-top: 1px solid #f2ebe4; }
#practice-hint .sc-guide-coach-progress { display: flex; align-items: center; gap: 12px; position: relative; white-space: nowrap; }
#practice-hint [data-guide-count] { color: #9d704e; font-size: 10px; line-height: 1.5; font-weight: 500; }
#practice-hint .sc-guide-step-segments { display: flex; align-items: center; gap: 3px; }
#practice-hint .sc-guide-step-segments > span { width: 12px; height: 4px; border-radius: 3px; background: #eee5dd; }
#practice-hint .sc-guide-step-segments > span.is-done { background: #c47b44; }
#practice-hint .sc-guide-step-segments > span.is-current { background: #e8b184; }
#practice-hint .sc-guide-accessible-progress { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#practice-hint .sc-practice-status { height: 30px; display:flex; align-items: center; min-width: 0; width: auto; margin: 0; padding: 0; overflow: auto; color: #a27049; font-size: 10px; font-weight: 400; line-height: 15px; }
#practice-hint[data-kind="intro"] .sc-practice-status, #practice-hint[data-kind="result"]:not([data-phase="completed"]) .sc-practice-status { display: none; }
#practice-hint .sc-guide-controls { position: relative; justify-self: end; color: #8c969d; font-size: 10px; }
#practice-hint .sc-guide-controls > summary { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 6px; border-radius: 5px; color: inherit; list-style: none; cursor: pointer; }
#practice-hint .sc-guide-controls > summary::-webkit-details-marker { display: none; }
#practice-hint .sc-guide-controls > summary i:last-child { font-size: 8px; }
#practice-hint .sc-guide-controls[open] > summary, #practice-hint .sc-guide-controls > summary:hover { color: #9a5b2d; background: #fdf5ee; }
#practice-hint .sc-guide-controls > p { position: absolute; z-index: 2; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 32px)); margin: 0; padding: 14px; border: 1px solid #e7d9cd; border-radius: 10px; background: #fff; color: #768088; font-size: 11px; line-height: 1.7; box-shadow: 0 6px 24px #4e31101f; }
#practice-hint button:focus-visible, #practice-hint summary:focus-visible { outline: 2px solid #d48c55; outline-offset: 3px; }
#practice-hint [hidden], .sc-guide-spotlight[hidden], .sc-guide-hand[hidden] { display: none !important; }
@media (max-width: 760px) {
    #practice-hint { grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 9px 10px; padding: 12px; margin-bottom: 8px; border-radius: 12px; }
    #practice-hint .sc-guide-coach-symbol { width: 32px; height: 34px; border-radius: 10px; font-size: 15px; }
    #practice-hint [data-guide-title] { font-size: 14px; }
    #practice-hint [data-guide-text] { margin-top: 4px; font-size: 11px; line-height: 1.5; }
    #practice-hint .sc-guide-hint-actions { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
    #practice-hint .sc-guide-coach-footer { grid-row: 3; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding-top: 7px; }
    #practice-hint .sc-guide-coach-progress { gap: 8px; }
    #practice-hint .sc-guide-step-segments { gap: 2px; }
    #practice-hint .sc-guide-step-segments > span { width: 8px; }
    #practice-hint .sc-guide-controls { grid-column: 2; grid-row: 1; }
    #practice-hint .sc-practice-status { grid-column: 1 / -1; grid-row: 2; }
    #sc-guide-practice > header { padding: 5px 10px; }
    .sc-guide-practice-context { display: none; }
    .sc-guide-practice-identity { gap: 8px; }
}
@media (max-width: 480px) {
    .sc-guide-practice-mark { display: none; }
    .sc-guide-practice-identity > strong { font-size: 11px; }
    .sc-guide-sample-badge { font-size: 8px; padding: 3px 5px; }
    #sc-guide-practice > header .sc-guide-practice-exit { width: 40px; padding: 8px; }
    .sc-guide-practice-exit > span { display: none; }
}
@media (max-height: 600px) {
    #practice-hint { padding-top: 8px; padding-bottom: 6px; row-gap: 7px; }
    #practice-hint .sc-guide-coach-eyebrow { display: none; }
    #practice-hint [data-guide-title] { font-size: 13px; }
    #practice-hint [data-guide-text] { font-size: 10px; line-height: 1.5; margin-top: 3px; }
    #practice-hint .sc-guide-coach-footer { padding-top: 5px; }
    #practice-hint .sc-practice-status { height: 15px; }
}

/* Step browsing is available independently of completing a gesture. */
#practice-hint .sc-guide-step-nav { display: inline-flex; align-items: center; gap: 3px; margin-left: 2px; padding-left: 10px; border-left: 1px solid #eee3d8; }
#practice-hint .sc-guide-step-nav button, .sc-guide-dialog-navigation button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 32px; margin: 0; padding: 8px 10px; border: 1px solid #9a5a2db5; border-radius: 7px; background: transparent; color: #9a5b2d; font: 500 10px/1.5 var(--ruma-font-family, system-ui, sans-serif); cursor: pointer; }
#practice-hint .sc-guide-step-nav button i, .sc-guide-dialog-navigation button i { font-size: 9px; }
#practice-hint .sc-guide-step-nav button:hover:not(:disabled), .sc-guide-dialog-navigation button:hover { background: #fff3e8; border-color: #eddbc9; }
#practice-hint .sc-guide-step-nav button:disabled { opacity: .3; cursor: default; }
.sc-guide-dialog-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 12px; border-bottom: 1px solid #f0e7de; }
.sc-guide-dialog-navigation > span { color: #9d704e; font-size: 10px; }
.sc-guide-dialog-navigation button:focus-visible { outline: 2px solid #d48c55; outline-offset: 2px; }
@media (max-width: 760px) {
    #practice-hint .sc-guide-coach-progress { grid-column: 1 / -1; grid-row: 1; }
    #practice-hint .sc-guide-step-nav { margin-left: auto; }
    #practice-hint .sc-guide-controls { grid-row: 2; }
    #practice-hint .sc-practice-status { grid-column: 1; grid-row: 2; }
}
@media (max-width: 480px) {
    #practice-hint .sc-guide-step-nav button > span { display: none; }
    #practice-hint .sc-guide-step-nav { padding-left: 6px; }
}

/* Match the live two-column setting: shared queues above Pending, Tech on the left. */
.sc-practice-page #practice-board .sc-practice-frames[data-sc-combined-view="1"] {
    grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr);
    grid-template-rows: minmax(0, 1fr) minmax(120px, .7fr);
    grid-template-areas: "t combinedtickets" "t p";
}
.sc-practice-page #practice-board .sc-practice-frames[data-sc-combined-view="1"] > :is(.tech-form, .pending-form) { display: flex; }
.sc-practice-page #practice-board .sc-practice-frames[data-sc-combined-view="1"] > .tech-form { grid-area: t; }
.sc-practice-page #practice-board .sc-practice-frames[data-sc-combined-view="1"] > .pending-form { grid-area: p; }
.sc-practice-page #practice-board .sc-practice-frames[data-sc-combined-view="1"] > :is(.inservice-form, .wait-form) { grid-area: combinedtickets; }
.sc-practice-page #practice-board .sc-practice-frames[data-sc-combined-view="1"] .body-append-form.ticket.sc2-ticket-list { display: flex; flex-wrap: wrap; align-content: flex-start; }
