/* One scroll context contains the explanation, specimen and real action. */
#modal-content #menu-action-coach.menu-coach-docked,
#modal-content #creation-tutorial.menu-coach-docked{position:relative!important;inset:auto!important;grid-column:1/-1;flex:1 0 100%;width:100%;min-width:0;max-width:100%;height:auto!important;max-height:none!important;margin:8px 0 12px!important;box-sizing:border-box;overflow:visible}
#modal-content #creation-tutorial .creation-tour-panel{position:relative!important;inset:auto!important;width:auto!important;max-height:none!important;margin:0!important;padding:12px 14px!important;box-shadow:none;overflow:visible}
#modal-content #menu-action-coach.menu-coach-docked .hands-on-portrait{display:none}
#modal-content #menu-action-coach.menu-coach-docked .hands-on-copy>strong,
#modal-content #creation-tutorial .creation-tour-heading strong{font-size:16px;line-height:1.3}
#modal-content #menu-action-coach.menu-coach-docked p,
#modal-content #creation-tutorial #creation-tour-text{font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
#modal-content .menu-coach-docked .hands-on-actions,
#modal-content .menu-coach-docked .creation-tour-footer{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;position:static!important}
#modal-content .menu-guidance-preview{display:block;float:right;width:100px!important;height:50px!important;object-fit:contain;margin:0 0 5px 10px;flex:0 0 100px;background:#fffaf0;border:1px solid #d6d5be;border-radius:8px}
#modal-content .creation-tour-heading:has(.menu-guidance-preview){flex-wrap:wrap}
#modal-content .creation-tour-heading .menu-guidance-preview{float:none;order:2;margin-left:auto}
#modal-content .menu-coach-docked button{min-height:44px}
#modal-content .menu-coach-docked label{font-size:12px!important;line-height:1.35}
#modal-content .menu-coach-docked .hands-on-actions button{font-size:13px}
#modal-content .menu-coach-docked~.editor-preview{position:static}
#creation-tutorial.menu-coach-docked .creation-tour-shade,
#creation-tutorial.menu-coach-docked .creation-tour-arrow{display:none!important}
/* Pulse rather than flash: the pointer remains readable throughout. */
.menu-action-pointer .action-pointer-ring{border-width:3px;box-shadow:0 0 0 2px #214535,0 0 0 5px #fff9;animation:menu-guide-pulse 1.8s ease-in-out infinite}
.menu-action-pointer .action-pointer-outline{stroke-width:12px}
.menu-action-pointer .action-pointer-line{stroke-width:7px}
.menu-action-pointer .action-pointer-arrow{animation:menu-guide-arrow 1.8s ease-in-out infinite}
@keyframes menu-guide-pulse{50%{box-shadow:0 0 0 2px #214535,0 0 0 8px #f9d75b66}}
@keyframes menu-guide-arrow{50%{opacity:.72}}
body.large-text #modal-content #menu-action-coach.menu-coach-docked p,
body.large-text #modal-content #creation-tutorial #creation-tour-text{font-size:18px}
body.high-contrast #modal-content .menu-coach-docked,
body.high-contrast #modal-content #creation-tutorial .creation-tour-panel{background:#fff;color:#111;border-color:#111}
@media(max-width:420px){#modal-content #creation-tutorial .creation-tour-panel{padding:10px!important}#modal-content .menu-guidance-preview{width:80px!important;height:44px!important;flex-basis:80px}#modal-content .menu-coach-docked .creation-tour-footer label{flex:1 1 150px}#modal-content .menu-coach-docked .creation-tour-footer button{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.menu-action-pointer .action-pointer-ring,.menu-action-pointer .action-pointer-arrow{animation:none!important}}
/* Editor form rules must not turn the tutorial opt-out into a full-width field. */
#modal-content .menu-coach-docked .creation-tour-footer>label,
#modal-content .menu-coach-docked .hands-on-never{display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:44px;width:auto!important;margin:0;padding:0;text-align:left}
#modal-content .menu-coach-docked .creation-tour-footer input[type="checkbox"],
#modal-content .menu-coach-docked .hands-on-never input[type="checkbox"]{display:inline-block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px;flex:0 0 18px!important;padding:0!important;margin:0!important;border-radius:4px;appearance:auto;vertical-align:middle}
#modal-content .menu-coach-docked .creation-tour-footer>label>span,
#modal-content .menu-coach-docked .hands-on-never>span{display:inline!important;min-width:0;width:auto!important;white-space:normal;line-height:1.35}
