/* Tryone guided tour + Help button (shared by TRYMEDNEX, TRYRMOS, TryOne ERP) */
.tg-root{position:fixed;inset:0;z-index:2147483000;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Devanagari","Noto Sans Bengali",sans-serif}
.tg-shield{position:fixed;inset:0}
.tg-hole{position:fixed;border-radius:10px;box-shadow:0 0 0 9999px rgba(2,6,23,.62),0 0 0 3px #6CD4E4;transition:all .25s ease;pointer-events:none}
.tg-card{position:fixed;box-sizing:border-box;max-height:calc(100vh - 24px);overflow:auto;padding:16px 16px 14px;border-radius:16px;background:#0b0f08;color:#f1f5f9;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 50px rgba(0,0,0,.5);transition:left .25s ease,top .25s ease}
.tg-card h3{margin:6px 0 6px;font-size:18px;line-height:1.3;color:#fff}
.tg-d{margin:0 0 10px;font-size:14.5px;line-height:1.55;color:#cbd5e1}
.tg-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tg-n{font-size:12px;color:#94a3b8;letter-spacing:.04em}
.tg-lang{background:#1a2113;color:#e2e8f0;border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:4px 6px;font-size:12px}
.tg-voice{display:inline-flex;align-items:center;gap:6px;margin:0 0 8px;padding:7px 12px;border-radius:999px;border:1px solid rgba(163,230,53,.5);background:rgba(163,230,53,.1);color:#d9f99d;font-size:13px;cursor:pointer}
.tg-voice:hover{background:rgba(163,230,53,.2)}
.tg-note{margin:0 0 8px;font-size:12.5px;color:#fcd34d}
.tg-dots{display:flex;gap:5px;margin:2px 0 12px}
.tg-dots i{width:7px;height:7px;border-radius:50%;background:#334155}
.tg-dots i.on{background:#6CD4E4;width:18px;border-radius:4px}
.tg-b{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tg-b span{display:flex;gap:8px}
.tg-card button{font:inherit}
.tg-skip,.tg-back{background:none;border:1px solid rgba(255,255,255,.2);color:#cbd5e1;padding:8px 14px;border-radius:10px;font-size:14px;cursor:pointer}
.tg-skip{border-color:transparent;color:#94a3b8}
.tg-next{background:#6CD4E4;color:#0b0f08;border:0;padding:8px 18px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer}
.tg-next:focus-visible,.tg-back:focus-visible,.tg-skip:focus-visible,.tg-voice:focus-visible,.tg-help:focus-visible,.tg-item:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tg-foot{margin:12px 0 0;font-size:12px;color:#94a3b8}
.tg-help{position:fixed;right:max(14px,env(safe-area-inset-right,0px));bottom:calc(max(14px,env(safe-area-inset-bottom,0px)) + 74px);z-index:2147482000;padding:9px 15px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:#0b0f08;color:#f1f5f9;font:600 14px system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Devanagari","Noto Sans Bengali",sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.35);cursor:pointer}
.tg-help:hover{background:#1a2113}
.tg-menu{position:fixed;right:max(14px,env(safe-area-inset-right,0px));bottom:calc(max(14px,env(safe-area-inset-bottom,0px)) + 122px);z-index:2147482000;width:min(300px,calc(100vw - 28px));padding:8px;border-radius:14px;background:#0b0f08;color:#f1f5f9;border:1px solid rgba(255,255,255,.16);box-shadow:0 16px 40px rgba(0,0,0,.45);font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Devanagari","Noto Sans Bengali",sans-serif}
.tg-menu[hidden]{display:none}
.tg-item{display:block;width:100%;text-align:left;padding:11px 12px;border:0;border-radius:10px;background:none;color:#f1f5f9;font:inherit;font-size:14.5px;cursor:pointer}
.tg-item:hover{background:rgba(163,230,53,.14)}
.tg-lbl{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px 4px;font-size:13px;color:#94a3b8}
@media (max-width:640px){.tg-card{padding:14px}}
@media (prefers-reduced-motion:reduce){.tg-hole,.tg-card{transition:none}}

/* first-use setup form */
.tg-form{display:grid;gap:8px;margin:10px 0 4px;max-height:42vh;overflow:auto;padding-right:2px}
.tg-fl{display:grid;gap:3px;font-size:12px;font-weight:600;color:inherit}
.tg-fl input{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid rgba(128,128,128,.45);border-radius:8px;background:rgba(255,255,255,.96);color:#111;font:inherit;font-weight:500;font-size:14px}
.tg-fl input.bad{border-color:#e5484d;box-shadow:0 0 0 2px rgba(229,72,77,.25)}
.tg-err{margin:6px 0 0;color:#e5484d;font-size:13px;font-weight:600}
