.tg-login-tutorial { margin: 28px 0 24px; color: #20272d; background: #fff; line-height: 1.6; min-width: 0; }
.tg-login-tutorial, .tg-login-tutorial * { box-sizing: border-box; }
.tg-login-tutorial button { font: inherit; cursor: pointer; }
.tg-login-tutorial button:focus-visible, .tg-login-tutorial a:focus-visible, .tg-login-rail:focus-visible { outline: 3px solid #157fbb; outline-offset: 3px; }
.tg-login-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e8edef; padding-bottom: 8px; }
.tg-login-header h2 { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 700; }
.tg-login-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tg-login-video-link { color: #197bb3; font-size: 14px; text-decoration: none; padding: 10px 0; }
.tg-login-icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 9px; border: 1px solid #dce4e8; border-radius: 6px; color: #235574; background: #fff; flex-shrink: 0; }
.tg-login-icon-button:hover:not(:disabled) { background: #eef8ff; border-color: #8bbfd9; }
.tg-login-icon-button:disabled { cursor: default; opacity: .32; }
.tg-login-icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tg-login-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-top: 12px; -webkit-overflow-scrolling: touch; }
.tg-login-rail::-webkit-scrollbar { display: none; }
.tg-login-slide { flex: 0 0 100%; min-width: 0; margin: 0; display: grid; place-items: center; scroll-snap-align: start; scroll-snap-stop: always; }
.tg-login-image-wrap { position: relative; width: min(100%, 400px); aspect-ratio: 1 / 2; background: #fafbfc; }
.tg-login-slide img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; -webkit-user-drag: none; }
.tg-login-tutorial [hidden] { display: none !important; }
.tg-login-image-fallback { position: absolute; inset: 0; padding: 20px; display: flex; justify-content: center; flex-direction: column; gap: 18px; line-height: 1.8; background: #f4f9fc; }
.tg-login-image-fallback h3 { margin: 0; font-size: 20px; }
.tg-login-image-fallback p { margin: 0; }
.tg-login-image-fallback span { font-size: 12px; color: #65747e; }
.tg-login-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 470px; margin: 8px auto 0; }
.tg-login-step-status { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; line-height: 1.5; }
#tg-login-position { flex-shrink: 0; font-size: 13px; color: #63717a; font-variant-numeric: tabular-nums; }
#tg-login-step-title { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.tg-login-steps { display: flex; justify-content: center; gap: 4px; margin: 5px auto 0; }
.tg-login-steps button { display: grid; place-items: center; width: 34px; height: 36px; padding: 0; border-radius: 6px; border: 0; background: transparent; color: #64747e; font-size: 13px; }
.tg-login-steps button:hover { background: #edf6fb; }
.tg-login-steps button[aria-current="step"] { background: #197fbb; color: #fff; font-weight: 700; }
.tg-login-note { margin: 12px 0 0; color: #65747e; font-size: 13px; line-height: 1.7; }
#tg-login-image-dialog { position: fixed; inset: 0; margin: auto; padding: 44px 8px 8px; border: 0; border-radius: 6px; width: min(96vw, 1100px); height: 96dvh; max-width: none; max-height: none; background: #fff; }
#tg-login-image-dialog::backdrop { background: rgb(14 21 26 / .76); }
.tg-login-dialog-close { position: absolute; right: 8px; top: 3px; width: 36px; height: 36px; }
#tg-login-zoom-image { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 540px) {
  .tg-login-header { gap: 8px; }
  .tg-login-header h2 { font-size: 18px; }
  .tg-login-header-actions { gap: 8px; }
  .tg-login-video-link { font-size: 12px; }
  .tg-login-header .tg-login-icon-button { width: 36px; height: 36px; }
  .tg-login-step-status { gap: 6px; }
  #tg-login-step-title { font-size: 14px; }
}
