/* Only the website navigation. Do not apply these rules to shared dialogs. */
.tm-desktop-nav .tm-desktop-nav-paw {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  outline: none;
  color: #0f172a;
  text-decoration: none;
  transition: color 180ms, background-color 180ms, transform 180ms, box-shadow 180ms;
}

.tm-desktop-nav .tm-desktop-nav-paw[aria-current="page"],
.tm-desktop-nav .tm-desktop-nav-paw:hover,
.tm-desktop-nav .tm-desktop-nav-paw:focus-visible {
  color: #247e2d;
  background: var(--nav-soft);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--nav-color);
}

.tm-desktop-nav .tm-desktop-nav-paw:hover,
.tm-desktop-nav .tm-desktop-nav-paw:focus-visible {
  transform: translateY(-2px);
}

.tm-desktop-nav .tm-desktop-nav-paw:focus-visible {
  outline: 3px solid #247e2d;
  outline-offset: 3px;
}

.tm-navigation-sheet.tm-mobile-menu {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overscroll-behavior: contain;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  translate: none;
  transition: none !important;
  filter: none;
  backdrop-filter: none;
  animation-fill-mode: both;
}

.tm-navigation-sheet .tm-mobile-menu-head {
  padding-top: max(1.25rem, var(--tm-nav-safe-top, env(safe-area-inset-top, 0px)));
}

.tm-navigation-sheet .tm-mobile-menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
}

.tm-navigation-sheet .tm-mobile-menu-head img {
  width: 48px;
  height: 48px;
  flex: none;
}

.tm-navigation-sheet .tm-mobile-menu-head a {
  min-width: 0;
  gap: .65rem;
}

.tm-navigation-sheet .tm-mobile-menu-head strong {
  font-size: clamp(1.35rem, 6vw, 1.5rem);
}

.tm-navigation-sheet > div:last-child {
  padding-bottom: max(1.25rem, var(--tm-nav-safe-bottom, env(safe-area-inset-bottom, 0px)));
}

.tm-navigation-sheet.tm-mobile-menu[data-state="open"] {
  animation: tm-navigation-enter 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tm-navigation-sheet.tm-mobile-menu[data-state="closed"] {
  animation: tm-navigation-leave 200ms cubic-bezier(0.4, 0, 1, 1) both;
}

.tm-navigation-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgb(0 0 0 / 80%);
  opacity: 1;
  transition: none !important;
  filter: none !important;
  backdrop-filter: none;
}

.tm-navigation-overlay[data-state="open"] {
  animation: tm-navigation-fade-in 200ms ease-out both;
}

.tm-navigation-overlay[data-state="closed"] {
  animation: tm-navigation-fade-out 200ms ease-in both;
}

.tm-navigation-sheet .tm-mobile-menu-blob {
  filter: none;
}

.tm-navigation-sheet .tm-mobile-menu-blob-one {
  background: radial-gradient(ellipse at center, #ffd665 0%, #ffd665 30%, rgb(255 214 101 / 0%) 72%);
}

.tm-navigation-sheet .tm-mobile-menu-blob-two {
  background: radial-gradient(ellipse at center, #97dcff 0%, #97dcff 30%, rgb(151 220 255 / 0%) 72%);
}

@keyframes tm-navigation-enter {
  from { transform: translate3d(100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes tm-navigation-leave {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(100%, 0, 0); }
}

@keyframes tm-navigation-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tm-navigation-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-desktop-nav .tm-desktop-nav-paw,
  .tm-desktop-nav .tm-desktop-nav-paw:hover,
  .tm-desktop-nav .tm-desktop-nav-paw:focus-visible {
    transition: none;
    transform: none;
  }

  .tm-navigation-sheet.tm-mobile-menu {
    transform: none;
    will-change: auto;
  }

  .tm-navigation-sheet.tm-mobile-menu[data-state="open"] {
    animation: tm-navigation-fade-in 1ms linear both;
  }

  .tm-navigation-sheet.tm-mobile-menu[data-state="closed"] {
    animation: tm-navigation-fade-out 1ms linear both;
  }

  .tm-navigation-overlay[data-state="open"] {
    animation-duration: 1ms;
  }

  .tm-navigation-overlay[data-state="closed"] {
    animation-duration: 1ms;
  }
}

/* The same website palette; compact instructions share one layout. */
.tm-compact-guide-shell{padding-bottom:2.5rem}
.tm-compact-heading,.tm-compact-guide{width:min(1040px,calc(100% - 2rem));margin-inline:auto}
.tm-compact-heading{padding:clamp(1.5rem,4vw,3rem) 0 1.25rem;color:#152033}
.tm-compact-heading h1{margin:0;max-width:30ch;font-size:clamp(1.8rem,4vw,2.65rem);font-weight:900;letter-spacing:-.035em;line-height:1.12}
.tm-compact-heading p{margin:.65rem 0 0;max-width:70ch;color:#475569;font-size:1.05rem;line-height:1.6}
.tm-compact-guide{padding-block:1.5rem 2.5rem}
.tm-compact-guide :is(h2,h3){margin:0 0 .75rem;line-height:1.25;font-weight:850;letter-spacing:-.02em}
.tm-compact-guide h2{font-size:1.5rem}
.tm-compact-guide h3{font-size:1.2rem}
.tm-start-download{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1rem 0 1.25rem;border-bottom:1px solid var(--tm-line)}
.tm-start-download>div:first-child{display:flex;align-items:center;gap:.9rem;min-width:0}
.tm-start-download h2{margin:0;font-size:1.15rem}
.tm-content .tm-start-download p{margin:.25rem 0 0;font-size:.95rem}
.tm-compact-number{display:grid;place-items:center;flex-shrink:0;width:2rem;height:2rem;border-radius:50%;background:#ebf9e8;color:var(--tm-green-dark);font-size:1rem;font-weight:850}
.tm-compact-stores{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.tm-compact-stores a{display:flex;align-items:center;min-height:48px;border-radius:7px}
.tm-compact-stores img{width:auto;max-width:100%;height:48px;object-fit:contain}
.tm-start-choices{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.25rem 0 .5rem}
.tm-start-choices a{display:inline-flex;flex:1 1 0;min-height:46px;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;border:1px solid var(--tm-line);border-radius:.75rem;color:var(--tm-green-dark);background:white;font-weight:800;text-decoration:none}
.tm-start-choices a:is(:hover,:focus-visible){background:#ebf9e8;border-color:var(--tm-green-dark)}
.tm-content .tm-start-label-note{margin:.6rem 0 1.75rem;font-size:.875rem}
.tm-start-flow,.tm-start-common{padding-top:1.5rem;margin-top:1rem;border-top:1px solid var(--tm-line)}
.tm-content .tm-flow-intro{margin:.25rem 0 1rem;max-width:75ch}
.tm-compact-steps{display:grid;gap:0;list-style:none;margin:0;padding:0}
.tm-compact-step{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:1rem;align-items:start;padding:1rem 0;border-bottom:1px solid var(--tm-line);min-width:0}
.tm-compact-step-body{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem;min-width:0}
.tm-compact-step--text{grid-template-columns:2rem minmax(0,1fr)}
.tm-compact-number{margin-top:.2rem}
.tm-content .tm-compact-copy p{margin:0;max-width:67ch;font-size:1rem;line-height:1.65;color:var(--tm-ink)}
.tm-compact-copy{flex:1 1 22rem;min-width:0}
.tm-compact-copy strong{font-weight:800}
.tm-compact-copy small{display:block;margin-top:.5rem;color:var(--tm-copy);line-height:1.5}
.tm-compact-shot{display:flex;flex:0 0 160px;min-width:44px;min-height:44px;width:160px;max-width:100%;padding:6px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid var(--tm-line);border-radius:.65rem;background:white;cursor:zoom-in;color:var(--tm-green-dark)}
.tm-compact-shot img{display:block;width:100%;height:124px;max-width:100%;object-fit:contain;border-radius:.3rem}
.tm-compact-shot span{font-size:.72rem;line-height:1.4;font-weight:750}
.tm-content .tm-compact-note{margin:1rem 0;font-size:.95rem}
.tm-continue-link{display:inline-flex;align-items:center;gap:.7rem;min-height:44px;color:var(--tm-green-dark);font-weight:750;padding-block:.5rem}
.tm-start-followup{margin-top:1.75rem}
.tm-compact-faq{margin-top:2rem}
.tm-compact-faq details{border-bottom:1px solid var(--tm-line)}
.tm-compact-faq summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;cursor:pointer;min-height:48px;padding:.85rem .2rem;color:var(--tm-ink);font-weight:750;list-style:none;line-height:1.45}
.tm-compact-faq summary::-webkit-details-marker{display:none}
.tm-compact-faq summary span{font-size:1.4rem;flex-shrink:0;color:var(--tm-green-dark)}
.tm-compact-faq details[open] summary span{transform:rotate(45deg)}
.tm-content .tm-compact-faq p{margin:.1rem 0 1rem;font-size:1rem}
.tm-compact-faq .tm-compact-shot{margin-bottom:1rem}
.tm-guide-contact{margin-top:1.5rem}
.tm-guide-contact a{display:inline-flex;align-items:center;min-height:44px;color:var(--tm-green-dark);font-weight:750}
.tm-compact-breadcrumbs{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.9rem;margin:0 0 .75rem}
.tm-compact-breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--tm-green-dark);font-weight:700}
.tm-content .tm-compact-path{margin:.25rem 0 .5rem;color:var(--tm-ink);font-size:1rem}
.tm-content .tm-compact-requirements{font-size:.9rem;margin:.5rem 0 1.25rem}
.tm-content .tm-compact-result{font-size:1rem;margin:1.25rem 0 0;color:var(--tm-ink)}
.tm-compact-related{display:flex;flex-wrap:wrap;gap:.4rem 1.25rem;margin-top:1.5rem}
.tm-compact-related a{display:inline-flex;align-items:center;min-height:44px;color:var(--tm-green-dark);font-weight:700;line-height:1.4}
.tm-compact-guide .tm-lightbox{padding-top:max(3.4rem,var(--tm-nav-safe-top,env(safe-area-inset-top,0px)));padding-bottom:max(1rem,var(--tm-nav-safe-bottom,env(safe-area-inset-bottom,0px)))}
.tm-compact-guide .tm-lightbox-close{top:max(.65rem,var(--tm-nav-safe-top,env(safe-area-inset-top,0px)))}
.tm-compact-guide .tm-lightbox::backdrop{backdrop-filter:none}
@media(max-width:700px){.tm-start-choices a{flex:1 1 100%}.tm-start-download{align-items:flex-start;flex-direction:column;gap:1rem}.tm-compact-step{grid-template-columns:1.65rem minmax(0,1fr);gap:.65rem}.tm-compact-step-body{gap:.65rem}.tm-compact-copy{flex-basis:10rem}.tm-compact-number{width:1.65rem;height:1.65rem;font-size:.9rem}.tm-compact-shot{flex-basis:100px;width:100px;padding:4px}.tm-compact-shot img{height:116px}.tm-compact-shot span{font-size:.65rem}.tm-compact-step--text{grid-template-columns:1.65rem minmax(0,1fr)}.tm-compact-heading{padding-top:1.4rem}.tm-compact-guide{padding-top:.5rem}}
@media(max-width:380px){.tm-compact-step{gap:.55rem}.tm-compact-shot img{height:100px}.tm-start-choices a{flex:1 1 100%}.tm-compact-stores img{height:42px}}
@media(prefers-reduced-motion:reduce){.tm-compact-faq summary span{transition:none}.tm-compact-guide [id]{scroll-behavior:auto}}

/* Registration guide only. Full screenshots remain untouched; crops and
   instructional outlines are independent HTML/CSS, not fabricated app UI. */
.tm-registration-guide{width:min(1160px,calc(100% - 3rem));padding-top:2rem}
body:has(.tm-registration-guide),#root:has(.tm-registration-guide){overflow-x:clip;overflow-y:visible}
.tm-registration-intro h1{margin:.3rem 0 1rem;color:var(--tm-ink);font-size:clamp(1.8rem,3.4vw,2.65rem);line-height:1.15;font-weight:900;letter-spacing:-.035em}
.tm-content .tm-registration-subtitle{margin:0 0 1rem;font-size:1.05rem;line-height:1.6;color:var(--tm-copy);font-weight:650}
.tm-content .tm-registration-requirements{display:inline-block;margin:0 0 1.25rem;padding:.55rem .9rem;border:1px solid var(--tm-line);border-radius:1.25rem;background:white;font-size:.875rem;line-height:1.5}
.tm-storyboard-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);align-items:start;gap:clamp(1.5rem,4vw,4rem)}
.tm-storyboard-content{min-width:0}
.tm-storyboard-aside{align-self:stretch;min-width:0}
.tm-storyboard-sticky{position:sticky;top:112px;display:flex;flex-direction:column;align-items:center;gap:.75rem;padding-top:1rem}
.tm-storyboard-phone{position:relative;display:block;width:min(100%,calc((100dvh - 280px)*390/844));padding:0;border:10px solid #1e211e;border-radius:38px;background:#fbf6e6;box-shadow:0 22px 35px -20px #15203366;cursor:zoom-in;overflow:hidden}
.tm-storyboard-phone>img{display:block;width:100%;height:auto;margin:0;border-radius:0}
.tm-storyboard-phone>[data-tm-story-marks]{position:absolute;inset:0;pointer-events:none}
.tm-guide-focus{display:block;position:absolute;border:3px solid #2d8436;border-radius:14px;box-shadow:0 0 0 4px #4bb94526;pointer-events:none}
.tm-content .tm-storyboard-count{margin:0;color:#247e2d;font-size:.9rem;font-weight:850;text-align:center}
.tm-content .tm-storyboard-help{max-width:29ch;margin:0;text-align:center;color:var(--tm-copy);font-size:.8rem;line-height:1.5}
.tm-registration-guide .tm-storyboard-step{grid-template-columns:44px minmax(0,1fr);gap:.75rem;border:1px solid transparent;border-radius:16px;padding:.9rem;margin:.1rem 0;align-items:start;scroll-margin-top:125px}
.tm-registration-guide .tm-storyboard-step.is-active{background:white;border-color:#4bb94555;box-shadow:0 8px 24px -20px #247e2d55}
.tm-storyboard-select{display:grid;place-items:center;width:44px;min-height:44px;border:0;background:transparent;cursor:pointer;padding:0;border-radius:50%;color:#247e2d;font-weight:850}
.tm-storyboard-select>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ebf9e8;font-size:1rem}
.tm-storyboard-select[aria-pressed="true"]>span{background:#247e2d;color:white}
.tm-registration-guide .tm-storyboard-step .tm-compact-copy{flex-basis:100%}
.tm-registration-guide .tm-storyboard-step .tm-compact-copy p{font-size:1rem;line-height:1.6}
.tm-guide-crop-button{display:none;width:100%;max-width:320px;min-height:44px;padding:0;border:1px solid var(--tm-line);border-radius:12px;background:#fbf6e6;overflow:hidden;cursor:zoom-in}
.tm-guide-crop{display:block;position:relative;width:100%;overflow:hidden}
.tm-guide-crop>img{position:absolute;left:0;top:0;display:block;width:100%;height:auto;max-width:none;margin:0;border-radius:0;transform:translateY(var(--tm-crop-shift))}
.tm-guide-crop-divider{display:block;background:white;border-block:1px dashed var(--tm-line);padding:.35rem;font-size:.7rem;color:var(--tm-copy);text-align:center}
.tm-registration-guide :is(button,a,summary):focus-visible{outline:3px solid #247e2d;outline-offset:4px}
@media(min-width:768px){.tm-registration-guide .tm-storyboard-step{min-height:94px}.tm-registration-guide .tm-compact-faq{max-width:760px}}
@media(max-width:1000px) and (min-width:768px){.tm-storyboard-layout{grid-template-columns:minmax(0,1fr) 230px;gap:1.25rem}.tm-registration-guide{width:calc(100% - 2rem)}.tm-registration-guide .tm-storyboard-step{padding:.75rem .3rem;gap:.5rem}}
@media(max-width:767px){.tm-registration-guide{width:calc(100% - 2rem);padding-top:1rem}.tm-storyboard-layout{display:block}.tm-storyboard-aside{display:none}.tm-registration-intro h1{font-size:1.8rem}.tm-registration-guide .tm-storyboard-step{grid-template-columns:34px minmax(0,1fr);padding:1.1rem 0;gap:.6rem;border-radius:0;border:0;border-bottom:1px solid var(--tm-line)}.tm-registration-guide .tm-storyboard-step.is-active{box-shadow:none;background:transparent}.tm-storyboard-select{width:44px;transform:translateX(-5px)}.tm-storyboard-select>span{width:30px;height:30px}.tm-registration-guide .tm-compact-step-body{display:block}.tm-guide-crop-button{display:block;margin-top:12px}.tm-registration-guide .tm-compact-copy p{font-size:1rem;line-height:1.65}.tm-registration-guide .tm-storyboard-select[aria-pressed="true"]>span{background:#ebf9e8;color:#247e2d}}
@media(max-height:650px) and (min-width:768px){.tm-storyboard-sticky{top:100px}.tm-storyboard-help{display:none}.tm-storyboard-phone{width:min(100%,calc((100dvh - 160px)*390/844))}}
@media(prefers-reduced-motion:reduce){.tm-storyboard-step,.tm-storyboard-phone{scroll-behavior:auto;transition:none}}

/* The public menu links to /jak-zaczac: the same selected desktop layout must
   be present there, not only on the registration detail page. */
.tm-start-storyboard .tm-start-download{flex-direction:column;align-items:flex-start;gap:.75rem;padding:.5rem 0 1rem}
.tm-start-storyboard .tm-start-choices{margin-top:1rem}
.tm-start-storyboard .tm-start-flow{scroll-margin-top:110px}
.tm-start-storyboard .tm-storyboard-step .tm-compact-shot{display:none}
.tm-start-storyboard .tm-storyboard-step .tm-compact-step-body{display:block}
.tm-start-storyboard .tm-continue-link{font-size:.9rem}
.tm-start-storyboard .tm-storyboard-count{max-width:32ch;line-height:1.5}
@media(max-width:767px){.tm-start-storyboard .tm-storyboard-step .tm-compact-shot{display:block;width:100%;max-width:320px;padding:0;margin-top:12px;overflow:hidden}.tm-start-storyboard .tm-storyboard-step .tm-compact-shot img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:10px}}
