/* Focus remains visible on the complete field, without a second native ring. */
#ujt-pro-pages .login-input input:focus,
#ujt-pro-pages .login-input input:focus-visible {
  outline:none;
  box-shadow:none;
}
#ujt-pro-pages .login-input:focus-within {
  outline:2px solid var(--cyan);
  outline-offset:-2px;
}

/* Photo and screen share the same coordinate system at every viewport size. */
#ujt-pro-pages .hero.mobile-hero {
  height:clamp(340px,33.333vw,520px);
  min-height:0;
}
#ujt-pro-pages .mobile-hero-art {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
#ujt-pro-pages .mobile-hero .hero-inner { min-height:0; height:100%; }
#ujt-pro-pages .mobile-hero .hero-copy { position:relative; z-index:2; }
#ujt-pro-pages .mobile-hero:after {
  background:linear-gradient(90deg,rgba(20,38,50,.72),rgba(20,38,50,.32) 48%,transparent 67%);
  pointer-events:none;
}
#ujt-pro-pages .hero-phone-screen {
  position:static;
  inset:auto;
  display:block;
  width:300px;
  height:530px;
  transform:none;
  background:var(--white);
  overflow:hidden;
}

/* Lock-screen illustration: readable notification, official house mark. */
#ujt-pro-pages .notification-screen {
  container-type:inline-size;
  position:relative;
  height:100%;
  overflow:hidden;
  padding:0;
  color:var(--white);
  background:linear-gradient(180deg,rgba(17,36,52,.6),rgba(17,36,52,.12) 60%,rgba(17,36,52,.38)),url('/assets/pro-public/terrace.webp') center/cover;
}
#ujt-pro-pages .lock-status { padding:8cqw 0 5cqw; }
#ujt-pro-pages .lock-status svg { width:5cqw; height:5cqw; }
#ujt-pro-pages .notification-screen>small { font-size:4.5cqw; font-weight:var(--font-weight-medium); }
#ujt-pro-pages .notification-screen>strong { font-size:22cqw; line-height:1.2; font-weight:var(--font-weight-medium); letter-spacing:-1cqw; }
#ujt-pro-pages .notification-toast {
  margin:10cqw 3.5cqw 0;
  padding:5cqw;
  border-radius:5cqw;
  background:rgba(255,255,255,.94);
  color:var(--navy);
  box-shadow:0 2cqw 8cqw rgba(20,38,50,.14);
}
#ujt-pro-pages .notification-toast-heading { display:flex; align-items:center; gap:2cqw; margin-bottom:3cqw; }
#ujt-pro-pages .notification-toast-heading>span { display:grid; place-items:center; width:7cqw; height:8cqw; background:var(--white); border-radius:1.5cqw; padding:1cqw; }
#ujt-pro-pages .notification-toast-heading img { width:100%; height:100%; object-fit:contain; }
#ujt-pro-pages .notification-toast-heading b { font-size:4cqw; margin:0; }
#ujt-pro-pages .notification-toast-heading small { font-size:3cqw; color:var(--sub); margin-left:auto; }
#ujt-pro-pages .notification-toast>strong { font-size:4.6cqw; font-weight:var(--font-weight-semibold); line-height:1.4; }
#ujt-pro-pages .notification-toast p { font-size:4cqw; line-height:1.5; margin:2cqw 0 3cqw; }
#ujt-pro-pages .notification-preview { font-size:3.6cqw; color:var(--sub); }
#ujt-pro-pages .lock-bottom { position:absolute; bottom:7cqw; inset-inline:7cqw; display:flex; justify-content:space-between; }
#ujt-pro-pages .lock-bottom svg { box-sizing:content-box; width:6cqw; height:6cqw; padding:4cqw; border-radius:var(--ui-radius-circle); background:rgba(255,255,255,.22); }
#ujt-pro-pages .notification-app { display:grid; place-items:center; padding:10px; }
#ujt-pro-pages .notification-app img { display:block; width:100%; height:100%; object-fit:contain; }
@media(max-width:760px) {
  #ujt-pro-pages .hero.mobile-hero { height:auto; min-height:0; display:flex; flex-direction:column; background:var(--pale); }
  #ujt-pro-pages .mobile-hero .hero-inner { order:0; height:auto; padding:32px 0; }
  #ujt-pro-pages .mobile-hero .hero-copy { width:100%; max-width:none; padding:0; color:var(--navy); }
  #ujt-pro-pages .mobile-hero .hero-copy h1 { color:var(--navy); }
  #ujt-pro-pages .mobile-hero-art { order:1; position:relative; height:320px; }
  #ujt-pro-pages .mobile-hero:after { display:none; }
}
@media(forced-colors:active) {
  #ujt-pro-pages .login-input:focus-within { outline:2px solid Highlight; }
}

/* Keep the active dot within the same accessible touch target as its peers. */
#ujt-pro-pages .carousel-dots button,
#ujt-pro-pages .carousel-dots button.active {
  width:var(--ui-control-min); height:var(--ui-control-min);
  display:grid; place-items:center; padding:0; background:transparent;
}
#ujt-pro-pages .carousel-dots button::before { content:""; width:8px; height:8px; background:var(--line); border-radius:var(--ui-radius-circle); }
#ujt-pro-pages .carousel-dots button.active::before { width:10px; height:10px; background:var(--cyan); }
#ujt-pro-pages .device-group .laptop .sf-dashboard { grid-template-rows:minmax(0,1fr); }
#ujt-pro-pages .device-group .laptop .sf-dashboard>aside { min-height:0; display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); gap:1.5cqw; }
#ujt-pro-pages .device-group .laptop .sf-dashboard>aside>div { margin:0; padding:1cqw; }
#ujt-pro-pages .device-group .laptop .sf-dashboard .sf-completion { width:6cqw; height:6cqw; margin:.5cqw auto 0; display:grid; place-items:center; line-height:normal; }
#ujt-pro-pages .mobile-row .phone, #ujt-pro-pages .mobile-row .phone:has(.sf-screen) { width:min(260px,85%); height:auto; aspect-ratio:.49; padding:26px 8px 25px; }
#ujt-pro-pages .mobile-row .notification-phone .notification-screen { position:absolute; inset:8% 4% 7%; width:92%; height:85%; }
#ujt-pro-pages .device-group .laptop .sf-request-list>div:nth-child(n+4) { display:none; }
