/* Continuazione della guida iniziale nella pagina Capitoli. */
.chapter-tour[hidden]{display:none!important}
.chapter-tour{position:fixed;inset:0;z-index:99995;isolation:isolate;pointer-events:auto;font-family:'Outfit',system-ui,sans-serif;color:#173f2d}
.chapter-tour-shade{position:absolute;inset:0;background:transparent;backdrop-filter:none;pointer-events:none}
.chapter-tour.no-highlight .chapter-tour-shade{background:#061e17b7}
.chapter-tour-spotlight{position:fixed;z-index:1;background:transparent;box-shadow:0 0 0 4px #ffe16b,0 0 30px 8px #ffe16b91,0 0 0 9999px #052419c9;border:2px solid #ffdb61;border-radius:17px;pointer-events:none;transition:top .24s ease,left .24s ease,width .24s ease,height .24s ease}
.chapter-tour-target-live{filter:brightness(1.14) saturate(1.09)!important;transition:filter .2s ease!important}
.chapter-tour-figure{position:fixed;z-index:2;right:clamp(10px,7vw,90px);bottom:clamp(190px,26dvh,270px);width:min(35vw,420px);height:min(53dvh,540px);object-fit:contain;object-position:right bottom;filter:drop-shadow(0 15px 24px #001d15ba);pointer-events:none;transition:opacity .18s ease}
.chapter-tour-figure.is-duo{width:min(49vw,600px)}
.chapter-tour-panel{position:fixed;z-index:3;bottom:calc(14px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(690px,calc(100vw - 28px));box-sizing:border-box;background:#fff;border-radius:22px;padding:23px 28px;box-shadow:0 14px 45px #002e1e88;max-height:min(40dvh,355px);overflow-y:auto}
.chapter-tour-label{display:block;color:#1b8554;font-size:11px;letter-spacing:.1em;font-weight:800;margin-bottom:7px}
.chapter-tour-panel h2{font-size:clamp(20px,3vw,27px);line-height:1.15;margin:0 0 9px;color:#103e30}
.chapter-tour-panel p{font-size:15px;line-height:1.45;color:#4b6b5a;margin:0 0 17px}
.chapter-tour-buttons{display:flex;gap:12px;align-items:center;justify-content:space-between}
.chapter-tour-buttons button{border:0;border-radius:12px;padding:11px 17px;min-height:44px;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;touch-action:manipulation}
#chapterTourSkip{background:transparent;color:#507462}
#chapterTourNext{background:#0c784d;color:#fff;box-shadow:0 5px 15px #17694233}
#chapterTourNext:focus-visible,#chapterTourSkip:focus-visible{outline:3px solid #f0be3b;outline-offset:3px}
.chapter-tour-replay{background:#e5f5e9;color:#11693f;border:1px solid #b9ddc8;border-radius:9px;padding:7px 11px;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}
@media(max-width:760px){
 .chapter-tour-figure{width:47vw;max-width:240px;height:33dvh;right:2%;bottom:clamp(216px,34dvh,320px)}
 .chapter-tour-figure.is-duo{width:65vw;max-width:325px}
 .chapter-tour-panel{padding:18px 20px;border-radius:19px;max-height:min(35dvh,310px)}
 .chapter-tour-panel h2{font-size:21px}
 .chapter-tour-panel p{font-size:13px;line-height:1.35;margin-bottom:12px}
 .chapter-tour-buttons button{padding:10px 14px;min-height:43px}
}
@media(max-width:420px) and (max-height:750px){
 .chapter-tour-figure{height:25dvh;bottom:36dvh}
 .chapter-tour-panel{max-height:37dvh}
}
/* Always-visible replay and correctly lit copy of the selected progress/card. */
.chapter-tour-replay{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;width:max-content!important;max-width:100%!important;
 min-height:36px!important;margin:8px 0 2px!important;
 border:1px solid #97cfad!important;
 border-radius:10px!important;background:#e5f6eb!important;
 color:#0d6640!important;cursor:pointer!important;
 opacity:1!important;visibility:visible!important;
}
.chapter-tour-bright-copy{
 pointer-events:none!important;
 box-shadow:0 0 0 2px #ffda69,0 0 28px 7px #ffe17899!important;
 isolation:isolate;
}
.chapter-tour-bright-copy,.chapter-tour-bright-copy *{
 opacity:1!important;visibility:visible!important;
}
.chapter-tour .chapter-tour-figure{z-index:3!important}
.chapter-tour .chapter-tour-panel{z-index:4!important}
@media(max-width:760px){
 .chapter-tour-replay{min-height:32px!important;padding:6px 10px!important;margin:5px 0 0!important}
}

/* --- Editor docente della guida Capitoli (ottobre 2026) --- */
.chapter-tour-home-actions{
 display:flex;align-items:center;justify-content:flex-start;gap:9px;
 flex-wrap:wrap;margin:8px 0 0;
}
.chapter-tour-home-actions .chapter-tour-replay{margin:0!important}
.chapter-tour-home-actions .chapter-tour-edit{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 flex:0 0 auto;min-height:36px;padding:8px 13px;
 border:1px solid #d2bd65;border-radius:10px;
 background:#fffae9;color:#375d35;
 font:700 12px 'Outfit',system-ui,sans-serif;
 cursor:pointer;box-shadow:0 3px 12px #184e3314;
}
.chapter-tour-home-actions button:focus-visible{outline:3px solid #e6b92c;outline-offset:3px}
.chapter-tour-figure{
 left:var(--chapter-x,73%)!important;
 top:var(--chapter-y,53%)!important;
 right:auto!important;bottom:auto!important;
 width:min(38vw,430px)!important;
 height:min(54dvh,540px)!important;
 max-width:none!important;max-height:none!important;
 transform:translate(-50%,-50%) scale(var(--chapter-scale,1)) scaleX(var(--chapter-flip,1))!important;
 transform-origin:center center!important;
 object-fit:contain!important;object-position:center center!important;
}
.chapter-tour-figure.is-duo{width:min(50vw,600px)!important}
.chapter-tour.is-edit-preview .chapter-tour-figure.is-draggable{
 cursor:grab!important;pointer-events:auto!important;touch-action:none!important;
 filter:drop-shadow(0 10px 24px #001e1499) drop-shadow(0 0 8px #e8c95d);
}
.chapter-tour.is-edit-preview .chapter-tour-figure.is-draggable:active{cursor:grabbing!important}
.chapter-tour-preview-return[hidden]{display:none!important}
.chapter-tour-preview-return{
 position:fixed;z-index:7;top:calc(12px + env(safe-area-inset-top,0px));right:14px;
 border:1px solid #b4d8c3;border-radius:12px;background:#fff;
 padding:10px 16px;font:800 13px 'Outfit',system-ui,sans-serif;
 color:#14523a;box-shadow:0 5px 18px #031c1555;cursor:pointer;
}
.chapter-tour-editor[hidden]{display:none!important}
.chapter-tour-editor{
 position:fixed;z-index:100010;inset:0;
 background:#051e16c4;display:grid;place-items:center;
 padding:16px;box-sizing:border-box;
 font-family:'Outfit',system-ui,sans-serif;color:#123e2b;
}
.chapter-tour-editor-dialog{
 width:min(950px,100%);height:min(790px,94dvh);
 display:flex;flex-direction:column;overflow:hidden;
 background:#f8fcf8;border:1px solid #f2f6ea;
 border-radius:23px;box-shadow:0 22px 70px #001b1377;
}
.chapter-tour-editor-head{
 flex:none;display:flex;align-items:start;justify-content:space-between;gap:14px;
 padding:20px 24px 14px;border-bottom:1px solid #d6e5d7;background:#fefefa;
}
.chapter-tour-editor-head small{display:block;color:#1a9363;font-size:10px;font-weight:800;letter-spacing:.12em}
.chapter-tour-editor-head h2{font-size:clamp(23px,3vw,31px);font-weight:850;margin:3px 0 6px;color:#123c2c}
.chapter-tour-editor-head p{font-size:12px;line-height:1.4;color:#607e69;margin:0}
.chapter-tour-editor-exit{width:38px;height:38px;flex:none;cursor:pointer;border-radius:12px;border:1px solid #bed6c5;color:#23533e;background:#fff;font-size:17px}
.chapter-tour-editor-content{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:0;flex:1;overflow:hidden}
.chapter-tour-step-nav{background:#eff7f0;border-right:1px solid #d7e7db;overflow-y:auto;padding:14px 10px;display:flex;flex-direction:column;gap:8px}
.chapter-tour-step-nav button{width:100%;text-align:left;border-radius:10px;border:1px solid #d2e3d5;background:#fff;color:#315944;font:700 13px 'Outfit',system-ui,sans-serif;padding:11px 12px;cursor:pointer;line-height:1.2;overflow-wrap:anywhere}
.chapter-tour-step-nav button.is-selected{background:#0b754b;color:white;border-color:#0b754b;box-shadow:0 4px 12px #12663d33}
.chapter-tour-step-nav button.chapter-tour-add-step{color:#0c774f;border:1px dashed #80c49b;background:#edfbf1}
.chapter-tour-editor-body{overflow:auto;min-height:0;padding:18px 22px}
.chapter-tour-edit-fields{display:flex;flex-direction:column;gap:14px}
.chapter-tour-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.chapter-tour-editor-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#245d42;font-size:12px;font-weight:750}
.chapter-tour-editor-field input:not([type=range]),
.chapter-tour-editor-field textarea,
.chapter-tour-editor-field select{
 width:100%;box-sizing:border-box;min-height:43px;border:1px solid #bcd8c7;
 border-radius:10px;background:white;color:#174632;
 padding:10px 12px;font:600 14px 'Outfit',system-ui,sans-serif;
}
.chapter-tour-editor-field textarea{min-height:110px;resize:vertical;line-height:1.45}
.chapter-tour-editor-field input[type=range]{width:100%;accent-color:#0c8452}
.chapter-tour-editor-check{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#315c44}
.chapter-tour-editor-check input{width:17px;height:17px;accent-color:#0c8452}
.chapter-tour-image-preview{display:block;align-self:flex-start;width:145px;height:155px;object-fit:contain;object-position:center bottom;border:1px solid #d4e9d8;border-radius:11px;background:linear-gradient(135deg,#e2f5e9,#f9fcf5)}
.chapter-tour-position-controls{background:#edf7ef;border:1px solid #d2e6d6;border-radius:14px;padding:13px;display:flex;flex-direction:column;gap:10px}
.chapter-tour-position-controls h3{font-size:16px;color:#195037;margin:0}
.chapter-tour-position-controls p{font-size:12px;color:#537762;margin:0}
.chapter-tour-edit-buttons{display:flex;gap:8px;flex-wrap:wrap}
.chapter-tour-edit-buttons button{padding:9px 13px;min-height:40px;border:1px solid #a6d5b8;border-radius:10px;background:#fff;color:#155f40;font:750 12px 'Outfit',system-ui,sans-serif;cursor:pointer}
.chapter-tour-editor-preview{background:#e4f6ec!important;border-color:#69b88a!important}
.chapter-tour-editor-remove{color:#9b4227!important;border-color:#e7c1ad!important}
.chapter-tour-editor-reset{margin-left:auto}
.chapter-tour-editor-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 22px;border-top:1px solid #d3e6d7;background:#fff}
.chapter-tour-editor-status{font-size:12px;line-height:1.35;color:#557260;margin:0;flex:1;min-width:0}
.chapter-tour-editor-status[data-kind=error]{color:#b13d23;font-weight:750}
.chapter-tour-editor-status[data-kind=success]{color:#087449;font-weight:750}
.chapter-tour-editor-status[data-kind=dirty]{color:#976322}
.chapter-tour-editor-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.chapter-tour-editor-actions button{min-height:43px;padding:9px 13px;border:1px solid #b8d6c2;border-radius:11px;color:#20583e;background:#f7fcf8;font:750 12px 'Outfit',system-ui,sans-serif;cursor:pointer}
.chapter-tour-editor-actions .chapter-tour-editor-publish{background:#0c784d;color:#fff;border-color:#0c784d;box-shadow:0 6px 14px #0b674323}
.chapter-tour-editor button:focus-visible,.chapter-tour-editor input:focus-visible,.chapter-tour-editor select:focus-visible,.chapter-tour-editor textarea:focus-visible{outline:3px solid #ecba38;outline-offset:2px}
@media(max-width:760px){
 .chapter-tour-figure{width:min(54vw,260px)!important;height:37dvh!important}
 .chapter-tour-figure.is-duo{width:min(68vw,350px)!important;height:39dvh!important}
 .chapter-tour-editor{padding:7px}
 .chapter-tour-editor-dialog{width:100%;height:calc(100dvh - 14px);border-radius:16px}
 .chapter-tour-editor-head{padding:13px 14px 11px}
 .chapter-tour-editor-head h2{font-size:22px}
 .chapter-tour-editor-head p{font-size:11px}
 .chapter-tour-editor-content{display:flex;flex-direction:column}
 .chapter-tour-step-nav{flex:none;overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:row;min-height:56px;padding:9px 10px;border-right:0;border-bottom:1px solid #d7e7db}
 .chapter-tour-step-nav button{width:auto;min-width:120px;flex:none;white-space:nowrap;font-size:12px;overflow:hidden;text-overflow:ellipsis}
 .chapter-tour-editor-body{padding:13px}
 .chapter-tour-edit-grid{gap:9px}
 .chapter-tour-editor-field input:not([type=range]),.chapter-tour-editor-field select{font-size:13px;padding:9px;min-height:41px}
 .chapter-tour-editor-footer{display:block;padding:10px 12px}
 .chapter-tour-editor-status{margin-bottom:8px}
 .chapter-tour-editor-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .chapter-tour-editor-actions button{font-size:11px;min-height:42px;padding:7px 6px}
 .chapter-tour-home-actions{margin:5px 0 0;gap:7px}
 .chapter-tour-home-actions .chapter-tour-edit{min-height:32px;font-size:11px;padding:6px 9px}
 .chapter-tour-preview-return{top:calc(9px + env(safe-area-inset-top,0px));font-size:12px;padding:9px 12px}
}
@media(max-width:400px){
 .chapter-tour-edit-grid{grid-template-columns:1fr}
 .chapter-tour-editor-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
 .chapter-tour-editor-head p{display:none}
}

/* Fix: in tutorial.html the dashboard title intentionally has pointer-events:none.
   The chapter guide buttons are descendants, so they need an explicit interactive hit area. */
.dashboard-heading .dashboard-heading-title .chapter-tour-home-actions{
 position:relative!important;
 z-index:20!important;
 pointer-events:auto!important;
 isolation:isolate;
}
.dashboard-heading .dashboard-heading-title .chapter-tour-home-actions > button{
 position:relative!important;
 z-index:21!important;
 pointer-events:auto!important;
 touch-action:manipulation!important;
 -webkit-tap-highlight-color:transparent;
 cursor:pointer!important;
}

/* Editor guida Capitoli: anteprima reale visibile accanto ai cursori. */
.chapter-tour-position-layout{
 display:grid;grid-template-columns:minmax(170px,.95fr) minmax(160px,1fr);
 align-items:start;gap:15px;min-width:0;
}
.chapter-tour-preview-holder{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.chapter-tour-mini-stage{
 position:relative;box-sizing:border-box;width:100%;max-width:400px;
 overflow:hidden;isolation:isolate;aspect-ratio:9/17.2;
 border:3px solid #2a805a;border-radius:15px;
 background:#edf8ee;box-shadow:0 8px 25px #164d2e25;
 touch-action:pan-y;
}
.chapter-tour-mini-stage.is-desktop{aspect-ratio:16/9.5;max-width:600px;border-radius:12px}
.chapter-tour-position-layout.is-wide{grid-template-columns:1fr}
.chapter-tour-mini-screen{
 position:absolute;inset:0;z-index:1;
 background:radial-gradient(ellipse at 87% 92%,#b6e8bc 0%,transparent 60%),linear-gradient(130deg,#f5fcf5,#e0f3e1);
 display:flex;flex-direction:column;gap:4%;padding:9% 6% 0;box-sizing:border-box;
}
.chapter-tour-mini-header{
 display:flex;flex-direction:column;gap:3px;color:#164d38;
 filter:brightness(.68);flex:none;
}
.chapter-tour-mini-header strong{font-size:clamp(10px,2vw,19px);font-weight:850;line-height:1.1}
.chapter-tour-mini-header small{font-size:clamp(5px,.9vw,10px);font-weight:700;opacity:.85}
.chapter-tour-mini-progress{
 padding:6% 5%;background:#c5d8ca;border-radius:8px;
 min-height:9%;box-sizing:border-box;display:flex;flex-direction:column;gap:5px;
 filter:brightness(.70);flex:none;
}
.chapter-tour-mini-progress span:first-child{font-size:clamp(5px,.8vw,9px);font-weight:800;color:#214a39}
.chapter-tour-mini-bar{display:block!important;height:5px;border-radius:9px;background:#97c1a6;overflow:hidden}
.chapter-tour-mini-bar i{display:block;width:42%;height:100%;background:#188a54;border-radius:9px}
.chapter-tour-mini-grid{
 flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 grid-template-rows:repeat(3,minmax(0,1fr));gap:3%;
 padding-bottom:0;max-height:63%;box-sizing:border-box;
}
.chapter-tour-mini-tile{
 min-width:0;min-height:0;padding:7%;display:flex;flex-direction:column;gap:9%;
 background:#b9d4c3;border:1px solid #b5ccbb;border-radius:8px;
 box-shadow:0 3px 5px #1e613322;filter:brightness(.68);
 overflow:hidden;
}
.chapter-tour-mini-tile small{font-size:clamp(6px,1vw,10px);font-weight:800}
.chapter-tour-mini-tile strong{font-size:clamp(7px,1.1vw,12px);line-height:1.12;font-weight:800}
.chapter-tour-mini-progress.is-highlighted,.chapter-tour-mini-tile.is-highlighted{
 filter:brightness(1.1) saturate(1.07)!important;
 background:#fffef9!important;
 border:2px solid #ffd95a!important;
 box-shadow:0 0 0 2px #ffd95a,0 0 20px 5px #ffe06b9a!important;
}
.chapter-tour-mini-character{
 position:absolute;z-index:4;
 left:var(--preview-x,73%);top:var(--preview-y,53%);
 width:54%;height:37%;max-width:none;max-height:none;
 transform:translate(-50%,-50%) scale(var(--preview-scale,1)) scaleX(var(--preview-flip,1));
 transform-origin:center center;
 object-fit:contain;object-position:center;
 filter:drop-shadow(0 4px 8px #022c1b99);
 pointer-events:auto;touch-action:none!important;user-select:none;
 -webkit-user-select:none;cursor:grab;
}
.chapter-tour-mini-character:active{cursor:grabbing}
.chapter-tour-mini-character.is-duo{width:68%;height:39%}
.chapter-tour-mini-stage.is-desktop .chapter-tour-mini-character{width:38%;height:54%}
.chapter-tour-mini-stage.is-desktop .chapter-tour-mini-character.is-duo{width:50%;height:54%}
.chapter-tour-mini-dialog{
 position:absolute;bottom:0;left:0;right:0;z-index:5;
 height:27%;box-sizing:border-box;padding:5% 6%;overflow:hidden;
 background:#fff;border-radius:12px 12px 0 0;
 box-shadow:0 -4px 12px #06382227;
 color:#174334;
}
.chapter-tour-mini-dialog strong{
 display:block;max-height:33%;overflow:hidden;
 font-size:clamp(8px,1.3vw,12px);line-height:1.1;font-weight:850;margin-bottom:5%;
}
.chapter-tour-mini-dialog p{
 font-size:clamp(6px,.92vw,10px);line-height:1.27;margin:0;
 max-height:48%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
 color:#4f6b5d;
}
.chapter-tour-mini-device{
 position:absolute;z-index:6;right:4px;top:4px;
 border-radius:6px;background:#0a6b46e6;color:#fff;
 font-size:clamp(6px,.8vw,9px);font-weight:800;
 letter-spacing:.05em;padding:4px 5px;pointer-events:none;
}
.chapter-tour-mini-caption{font-size:11px;color:#547662;text-align:center;line-height:1.2}
.chapter-tour-position-adjust{
 display:flex;flex-direction:column;gap:12px;min-width:0;
}
.chapter-tour-position-sliders{
 display:grid!important;grid-template-columns:1fr!important;gap:10px!important;
}
.chapter-tour-position-sliders .chapter-tour-editor-field{gap:5px}
.chapter-tour-position-sliders input[type=range]{
 width:100%!important;min-height:20px;touch-action:pan-x;accent-color:#0a8555;
}
.chapter-tour-editor-open-stage{
 width:100%;min-height:41px;padding:9px 11px;border-radius:11px;
 border:1px solid #4fa478;background:#0d784d;color:#fff;
 font:800 12px 'Outfit',system-ui,sans-serif;cursor:pointer;
 box-shadow:0 4px 12px #1d734032;
}
.chapter-tour-editor-open-stage:focus-visible{outline:3px solid #f0c453;outline-offset:3px}
.chapter-tour-live-controls[hidden]{display:none!important}
.chapter-tour-live-controls{
 position:fixed;z-index:8;top:calc(57px + env(safe-area-inset-top,0px));
 left:50%;transform:translateX(-50%);
 width:min(720px,calc(100vw - 24px));
 box-sizing:border-box;background:#fffffff4;
 color:#164634;border:1px solid #a7cfb3;border-radius:15px;
 padding:10px 13px;box-shadow:0 8px 35px #00241775;
 pointer-events:auto;max-height:40dvh;overflow:auto;
 font-family:'Outfit',system-ui,sans-serif;
}
.chapter-tour-live-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}
.chapter-tour-live-heading strong{font-size:14px;line-height:1.15}
.chapter-tour-live-heading span{font-size:11px;color:#5a7965}
.chapter-tour-live-sliders{
 display:grid;grid-template-columns:1fr 1fr 1.15fr auto;gap:10px;align-items:center;
}
.chapter-tour-live-range{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:11px;font-weight:750}
.chapter-tour-live-range input{width:100%;min-width:0;accent-color:#0c8955;touch-action:pan-x}
.chapter-tour-live-flip{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:11px;font-weight:750}
.chapter-tour-live-flip input{accent-color:#0b8153}
.chapter-tour-live-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}
.chapter-tour-live-foot small{font-size:10px;line-height:1.2;color:#597563}
.chapter-tour-live-foot button{
 border:0;border-radius:9px;background:#0c784d;color:#fff;
 font:750 12px 'Outfit',system-ui,sans-serif;cursor:pointer;
 padding:7px 12px;white-space:nowrap;
}
@media(max-width:760px){
 .chapter-tour-position-layout{
  grid-template-columns:minmax(112px,48%) minmax(0,1fr);
  gap:10px;
 }
 .chapter-tour-mini-stage{aspect-ratio:9/17.4;border-radius:11px;border-width:2px}
 .chapter-tour-mini-caption{font-size:9px}
 .chapter-tour-mini-dialog{border-radius:9px 9px 0 0}
 .chapter-tour-mini-header strong{font-size:12px}
 .chapter-tour-mini-header small{font-size:6px}
 .chapter-tour-mini-progress span:first-child{font-size:6px}
 .chapter-tour-mini-tile small{font-size:6px}
 .chapter-tour-mini-tile strong{font-size:8px}
 .chapter-tour-mini-dialog strong{font-size:9px}
 .chapter-tour-mini-dialog p{font-size:7px}
 .chapter-tour-position-sliders{gap:7px!important}
 .chapter-tour-position-adjust{gap:8px}
 .chapter-tour-position-sliders .chapter-tour-editor-field{font-size:10px}
 .chapter-tour-editor-open-stage{font-size:10px;line-height:1.2;padding:8px}
 .chapter-tour-live-controls{padding:8px 10px;top:calc(57px + env(safe-area-inset-top,0px));max-height:35dvh}
 .chapter-tour-live-heading{margin-bottom:5px}
 .chapter-tour-live-heading strong{font-size:12px}
 .chapter-tour-live-heading span{font-size:9px}
 .chapter-tour-live-sliders{grid-template-columns:1fr 1fr;row-gap:6px;column-gap:9px}
 .chapter-tour-live-range{font-size:10px}
 .chapter-tour-live-foot small{font-size:9px}
 .chapter-tour-live-foot button{font-size:11px;padding:6px 10px}
}
@media(max-width:360px){
 .chapter-tour-position-layout{grid-template-columns:minmax(105px,45%) minmax(0,1fr);gap:7px}
 .chapter-tour-mini-caption{font-size:8px}
}

.chapter-tour-mini-stage.is-desktop .chapter-tour-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));max-height:55%}
