/* DIGITRAN Track Manager - guided tour (welcome dialog + highlighted steps) */

#tmTour{position:fixed;inset:0;z-index:100000;display:none;font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif}
#tmTour.tm-open{display:block}

/* dimmed layer; in step mode a hole is cut out around the highlighted area (clip-path),
   so everything else is blocked and the highlighted area stays visible */
.tm-dim{position:absolute;inset:0;background:rgba(0,35,88,.6)}
.tm-ring{position:absolute;display:none;border:3px solid var(--orange,#F36B22);border-radius:10px;
	box-shadow:0 0 0 4px rgba(243,107,34,.28);pointer-events:none;transition:left .15s,top .15s,width .15s,height .15s}
.tm-ring.tm-block{pointer-events:auto}
#tmTour.tm-step .tm-ring{display:block}

.tm-box{position:absolute;width:min(400px,calc(100vw - 24px));box-sizing:border-box;background:#fff;
	border-radius:10px;border-top:4px solid var(--orange,#F36B22);padding:16px 18px 14px;
	box-shadow:0 10px 40px rgba(0,35,88,.4);color:var(--text,#1B2A44);font-size:15px;line-height:1.5}
/* tour steps: the pop-up always sits at the same place, bottom centre */
#tmTour.tm-step .tm-box{left:50%;bottom:20px;transform:translateX(-50%)}
#tmTour.tm-welcome .tm-box{left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 24px));text-align:center;padding:24px 26px 20px}

.tm-count{font-size:12.5px;color:var(--muted,#6B7794);margin:0 0 2px}
.tm-title{font-size:18px;font-weight:600;color:var(--blue,#002358);margin:0 0 6px}
.tm-text{margin:0;font-size:14.5px}
.tm-wtext{font-family:"FLTitle","Segoe UI",sans-serif;font-size:17px;line-height:1.45;color:var(--blue,#002358);margin:0 0 18px}
.tm-never{display:inline-flex;align-items:center;gap:8px;font-size:14px;margin:16px 0 0;cursor:pointer;color:var(--muted,#6B7794)}
.tm-never input{width:17px;height:17px;margin:0;accent-color:var(--orange,#F36B22)}

.tm-foot{display:flex;gap:8px;margin-top:14px}
.tm-foot .fl-btn{flex:1 1 0;text-align:center}
.tm-wbtns{display:flex;gap:10px;justify-content:center}
.tm-wbtns .fl-btn{min-width:120px}

/* button in the page header to start the guide again */
.tm-guide-btn{font-weight:600}
.tm-guide-btn::before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;
	border-radius:50%;background:var(--orange,#F36B22);color:#fff;font-size:12px;font-weight:700}

/* plugin: hidden elements (menu 5, film widths in 9) - visible in expert mode */
html:not(.tm-expert) .tm-x{display:none !important}
.tm-hbtns{display:inline-flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.tm-expert-btn.fl-on{border-color:var(--orange,#F36B22);background:#FFF6F1;font-weight:600}
.tm-pw{width:100%;padding:9px;border:1px solid var(--line,#DCE1EC);border-radius:6px;font:inherit;margin:10px 0 4px}
.tm-pw:focus{outline:2px solid rgba(243,107,34,.35);border-color:var(--orange,#F36B22)}
.tm-pwerr{color:var(--red,#C0392B);font-size:13px;min-height:19px;margin:0 0 6px}
