:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #f9fbff;
  --line: #d7e0ec;
  --text: #101828;
  --muted: #5d6b82;
  --blue: #1262c4;
  --blue-strong: #084a9c;
  --blue-soft: #e8f1ff;
  --green: #147a55;
  --green-soft: #e8f7ef;
  --amber: #a35d00;
  --amber-soft: #fff4db;
  --danger: #b42318;
  --shadow: 0 14px 42px rgba(21, 37, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  line-height: 1.35;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.app-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 7px solid var(--blue);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0;
  color: #063d7b;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.static-badge {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.icon-text-button,
.secondary-button,
.primary-button,
.mock-button,
.ghost-button,
.menu-button,
.sheet-option,
.segment-button,
.case-button {
  border: 0;
  border-radius: 8px;
}

.icon-text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 8px 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.language-switch button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--blue);
}

.layout {
  flex: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  min-height: 0;
  overflow: hidden;
}

.sidebar,
.workspace,
.guide-panel {
  min-width: 0;
}

.sidebar {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 12px;
  align-self: stretch;
  height: calc(100vh - 104px);
  height: calc(100dvh - 104px);
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  scrollbar-color: #8aa5c8 #e7edf6;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.guide-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-header,
.guide-card,
.workspace,
.simulator-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sidebar-header {
  padding: 18px;
}

.sidebar h1,
.guide-card h3,
.workspace h2,
.guide-card h2 {
  margin: 0;
}

.sidebar h1 {
  font-size: 20px;
}

.sidebar p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
}

.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.segment-button {
  padding: 8px 6px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.segment-button.is-active {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.case-list-shell {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.case-list {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  max-height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2px 26px 16px 2px;
  scrollbar-color: #8aa5c8 #e7edf6;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.case-scrollbar {
  position: absolute;
  top: 2px;
  right: 4px;
  bottom: 16px;
  z-index: 8;
  width: 14px;
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #e7edf6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.case-scrollbar.is-hidden {
  display: none;
}

.case-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 2px;
  right: 2px;
  min-height: 44px;
  border-radius: 999px;
  background: #5f7fa8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
  cursor: grab;
}

.case-scrollbar-thumb:hover {
  background: #3f658f;
}

.case-scrollbar-thumb.is-dragging {
  cursor: grabbing;
  background: #234f80;
}

.sidebar::-webkit-scrollbar,
.case-list::-webkit-scrollbar,
.simulator-frame::-webkit-scrollbar {
  width: 13px;
}

.sidebar::-webkit-scrollbar-track,
.case-list::-webkit-scrollbar-track,
.simulator-frame::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #e7edf6;
}

.sidebar::-webkit-scrollbar-thumb,
.case-list::-webkit-scrollbar-thumb,
.simulator-frame::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 3px solid #e7edf6;
  border-radius: 999px;
  background: #8aa5c8;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.case-list::-webkit-scrollbar-thumb:hover,
.simulator-frame::-webkit-scrollbar-thumb:hover {
  background: #5f7fa8;
}

.sidebar-scroll-hint {
  display: flex;
  justify-content: center;
  min-height: 34px;
  opacity: 1;
  pointer-events: none;
  transition: opacity 160ms ease, min-height 160ms ease, margin 160ms ease;
}

.sidebar-scroll-hint.is-hidden {
  opacity: 0;
  min-height: 0;
  margin-top: -12px;
  overflow: hidden;
}

.sidebar-scroll-hint span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #b8d2ff;
  border-radius: 999px;
  color: #084a9c;
  background: #fff;
  box-shadow: 0 8px 22px rgba(21, 37, 64, 0.18);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  animation: scroll-hint-float 1.35s ease-in-out infinite;
}

.sidebar-scroll-hint span::after {
  content: "↓";
  font-size: 14px;
  line-height: 1;
}

@keyframes scroll-hint-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.case-button {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px 46px 12px 12px;
  color: var(--text);
}

.case-button:hover,
.case-button.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(18, 98, 196, 0.12);
}

.case-button.is-active {
  background: #f8fbff;
}

.case-button.is-completed {
  border-color: #b7dcc8;
}

.case-complete-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: none;
  place-items: center;
  border: 2px solid #147a55;
  border-radius: 6px;
  color: #fff;
  background: #147a55;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.case-button.is-completed .case-complete-mark {
  display: grid;
}

.case-type {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-title {
  font-weight: 800;
  line-height: 1.45;
}

.case-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.workspace {
  display: flex;
  flex-direction: column;
  padding: 16px;
  min-height: 0;
}

.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.workspace h2 {
  font-size: 22px;
  line-height: 1.35;
  margin-top: 3px;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.step-counter {
  flex: 0 0 auto;
  color: var(--muted);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e7edf6;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 160ms ease;
}

.simulator-scroll-shell {
  flex: 1;
  min-height: 0;
  position: relative;
}

.simulator-frame {
  height: 100%;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  background: #eef3f9;
  scrollbar-color: #8aa5c8 #e7edf6;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.stage-scrollbar {
  position: absolute;
  top: 10px;
  right: 8px;
  bottom: 10px;
  z-index: 20;
  width: 14px;
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #e7edf6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.stage-scrollbar.is-hidden {
  display: none;
}

.stage-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 2px;
  right: 2px;
  min-height: 48px;
  border-radius: 999px;
  background: #5f7fa8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
  cursor: grab;
}

.stage-scrollbar-thumb:hover {
  background: #3f658f;
}

.stage-scrollbar-thumb.is-dragging {
  cursor: grabbing;
  background: #234f80;
}

.mobile-case-picker {
  display: none;
}

.mobile-flow-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  text-align: left;
}

.mobile-flow-trigger-type {
  display: inline-flex;
  align-items: center;
  align-self: start;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 900;
}

.mobile-flow-trigger-title {
  min-width: 0;
  font-weight: 900;
  line-height: 1.45;
}

.mobile-flow-trigger-icon {
  color: var(--blue-strong);
  background: #eef5ff;
  border: 1px solid #b8d2ff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mobile-flow-layer {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  align-items: end;
}

.mobile-flow-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: rgba(15, 23, 42, 0.48);
}

.mobile-flow-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-height: min(78dvh, 640px);
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -20px 48px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.mobile-flow-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-flow-sheet-head span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.mobile-flow-sheet-head h3 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.3;
}

.mobile-flow-sheet-head button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font-weight: 900;
}

.mobile-flow-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px 24px;
  -webkit-overflow-scrolling: touch;
}

.mobile-flow-option {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 12px 46px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  text-align: left;
}

.mobile-flow-option.is-active {
  border-color: var(--blue);
  background: #f8fbff;
  box-shadow: 0 0 0 2px rgba(18, 98, 196, 0.12);
}

.mobile-flow-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px !important;
  height: 24px;
  display: none !important;
  place-items: center;
  padding: 0 !important;
  border: 2px solid #147a55;
  border-radius: 6px !important;
  color: #fff !important;
  background: #147a55 !important;
  font-size: 15px !important;
  font-weight: 900;
  line-height: 1;
}

.mobile-flow-option.is-completed .mobile-flow-check {
  display: grid !important;
}

.mobile-flow-option span {
  width: max-content;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 900;
}

.mobile-flow-option strong {
  line-height: 1.45;
}

.mobile-flow-option small {
  color: var(--muted);
  line-height: 1.55;
}

.mock-stage {
  min-height: 100%;
}

.guide-panel {
  overflow: auto;
}

.guide-card {
  padding: 18px;
}

.guide-card h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-top: 5px;
}

.guide-card h3 {
  font-size: 16px;
}

.guide-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.hint-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #cbe0ff;
  border-radius: 8px;
  background: var(--blue-soft);
}

.hint-label {
  color: var(--blue-strong);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 4px;
}

.mock-state-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel-soft);
  font-size: 14px;
}

.state-label {
  color: var(--muted);
}

.state-value {
  font-weight: 800;
  text-align: right;
}

.guide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 800;
}

.secondary-button {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}

.primary-button {
  background: var(--blue);
  color: #fff;
}

.mock-page {
  height: 100%;
  min-height: 100%;
  overflow: auto;
  padding: 24px;
  position: relative;
}

.mock-page.is-login {
  display: grid;
  place-items: center;
  background: #f2f4f8;
}

.mock-login-card,
.mock-challenge-card,
.mock-app-card,
.mobile-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mock-login-card {
  width: min(420px, 100%);
  padding: 32px;
}

.mock-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #064687;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 26px;
}

.mock-app-header .mock-logo {
  justify-content: flex-start;
  color: #fff;
  font-size: 16px;
  margin-bottom: 0;
}

.mock-app-header .mock-logo-mark {
  border-color: #fff;
}

.mock-app-header .mock-logo-mark::after {
  background: #fff;
}

.mock-logo-mark {
  width: 26px;
  height: 26px;
  border: 6px solid var(--blue);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.mock-logo-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
}

.mock-input {
  width: 100%;
  border: 1px solid #cdd7e5;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  min-height: 42px;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.mock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 800;
}

.mock-button.primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary-app,
.login-submit-button,
.btn-passkey-app,
.btn-passkey-primary-app,
.btn-passkey-cancel-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary-app {
  color: #fff;
  background: #0b63d8;
}

.btn-primary-app.full {
  width: 100%;
}

.login-submit-button {
  width: 100%;
  color: #fff;
  background: #2b2b2b;
}

.login-submit-button:hover,
.login-submit-button:focus {
  background: #000;
}

.btn-passkey-app {
  width: 100%;
  min-height: 48px;
  color: #1f2937;
  background: #fff;
  border: 1px solid #cfd6df;
}

.btn-passkey-app:hover,
.btn-passkey-app:focus {
  color: #111827;
  background: #f3f6fb;
  border-color: #aeb8c5;
}

.btn-passkey-primary-app {
  width: 100%;
  min-height: 54px;
  color: #fff;
  background: #075be8;
  border-radius: 999px;
  font-size: 20px;
}

.btn-passkey-cancel-app {
  width: 100%;
  min-height: 52px;
  color: #111827;
  background: #f8f8f8;
  border: 1px solid #e2e5ea;
  border-radius: 999px;
  margin-top: 10px;
}

.mock-button.passkey {
  width: 100%;
  color: var(--blue);
  background: #eef5ff;
  border: 1px solid #bcd5ff;
}

.mock-button.outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.mock-button.danger {
  background: #fff;
  border: 1px solid #f3b6b2;
  color: var(--danger);
}

.mock-button.full {
  width: 100%;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 18px 0;
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.mock-app {
  min-height: 100%;
  background: #f5f7fa;
}

.mock-app-header {
  height: 54px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.mock-nav {
  display: flex;
  gap: 16px;
  color: #d8e8ff;
  font-size: 14px;
}

.mock-app-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.mock-side-menu {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.mock-side-item {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.mock-side-item.is-active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.mock-app-card {
  padding: 20px;
  box-shadow: none;
}

.heading-1-ttl {
  margin: 0 0 12px;
  color: #172033;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.passkey-registration-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.passkey-help-link {
  white-space: nowrap;
  color: #0b63d8;
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.mock-app-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.lead {
  margin: 0;
  color: var(--muted);
}

.passkey-guide-strip {
  counter-reset: passkey-step;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px auto 0;
  max-width: 820px;
  position: relative;
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  padding: 28px 22px 30px;
}

.passkey-guide-strip::before {
  background: #0b63d8;
  border-radius: 999px;
  bottom: 96px;
  content: "";
  left: 114px;
  opacity: 0.9;
  position: absolute;
  top: 96px;
  width: 3px;
}

.passkey-guide-step {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(214, 229, 251, 0.82);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.1);
  column-gap: 28px;
  counter-increment: passkey-step;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 150px;
  padding: 24px 36px 24px 48px;
  position: relative;
  text-align: left;
  z-index: 1;
}

.passkey-guide-step::before {
  align-items: center;
  background: #0b63d8;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(11, 99, 216, 0.28);
  color: #fff;
  content: counter(passkey-step);
  display: flex;
  font-size: 20px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  left: 22px;
  line-height: 1;
  position: absolute;
  top: 22px;
  width: 40px;
}

.passkey-step-icon {
  background: #edf5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 132px;
  justify-self: center;
  width: 132px;
}

.passkey-guide-icon {
  display: block;
  width: auto;
}

.passkey-guide-icon-device {
  height: 62px;
}

.passkey-guide-icon-shield {
  height: 68px;
}

.passkey-step-icon-auth {
  gap: 6px;
}

.passkey-guide-icon-face {
  height: 34px;
}

.passkey-guide-icon-fingerprint {
  height: 40px;
}

.passkey-guide-icon-pin {
  height: 34px;
}

.passkey-step-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.passkey-step-text {
  color: #536171;
  font-size: 16px;
  line-height: 1.75;
  margin: 10px 0 0;
}

.info-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid #cce0ff;
  background: #f3f8ff;
  border-radius: 8px;
  color: var(--muted);
  margin-top: 16px;
  font-size: 14px;
}

.passkey-info {
  align-items: center;
  background: #f3f8ff;
  border: 1px solid #d6e5fb;
  border-radius: 6px;
  color: #243143;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  margin-top: 16px;
  padding: 12px 16px;
}

.passkey-list-head {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.passkey-list {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(23, 32, 51, 0.07);
  margin-top: 20px;
  overflow: visible;
  padding: 26px 24px 30px;
}

.passkey-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.passkey-list-header h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.passkey-sticky-cta {
  display: none;
}

.passkey-list-head h4 {
  margin: 0;
  font-size: 18px;
}

.empty-state {
  text-align: center;
  border: 1px dashed #cad6e6;
  border-radius: 8px;
  padding: 38px 16px;
  color: var(--muted);
  margin-top: 14px;
}

.empty-state strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 8px;
}

.passkey-item {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.device-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #eef2f7;
  border-radius: 8px;
  font-weight: 900;
  color: var(--muted);
}

.device-name {
  font-size: 18px;
  font-weight: 900;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.current-badge {
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 900;
}

.device-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.menu-button {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 900;
}

.mock-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.54);
  padding: 18px;
  z-index: 2000;
}

.browser-modal,
.browser-modal-light {
  width: min(520px, 100%);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.browser-modal {
  color: #f8fafc;
  background: #1f1f1f;
  border: 1px solid #6f7378;
  padding: 22px;
}

.browser-modal-light {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

.modal-title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 12px;
}

.chrome-app-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.chrome-app-icon,
.google-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.chrome-app-icon {
  color: #fff;
  background: radial-gradient(circle at 50% 50%, #4285f4 0 22%, #fff 23% 34%, #34a853 35% 52%, #fbbc05 53% 68%, #ea4335 69%);
}

.google-dot {
  color: #fff;
  background: #4285f4;
}

.modal-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.modal-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-weight: 900;
}

.modal-copy {
  color: #e5e7eb;
  font-size: 14px;
}

.browser-modal-light .modal-copy {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.fingerprint {
  width: 72px;
  height: 72px;
  margin: 18px auto;
  border-radius: 50%;
  border: 3px solid #e14668;
  position: relative;
}

.fingerprint::before,
.fingerprint::after {
  content: "";
  position: absolute;
  border: 3px solid #e14668;
  border-radius: 50%;
}

.fingerprint::before {
  inset: 12px;
}

.fingerprint::after {
  inset: 24px;
}

.qr-wrap {
  display: grid;
  place-items: center;
  margin: 18px 0;
}

.qr {
  width: 220px;
  height: 220px;
  background:
    linear-gradient(90deg, #000 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#000 10px, transparent 10px) 0 0 / 22px 22px,
    #fff;
  border: 14px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
  position: relative;
}

.qr::before,
.qr::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border: 12px solid #000;
  background: #fff;
}

.qr::before {
  top: 0;
  left: 0;
}

.qr::after {
  right: 0;
  bottom: 0;
}

.qr-modal {
  width: min(560px, 100%);
}

.modal-separator {
  height: 1px;
  background: #52525b;
  margin: 18px 0;
}

.save-option-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.sheet-option {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 12px;
}

.browser-modal .sheet-option {
  color: #f8fafc;
  background: #2b2c2f;
  border-color: #565a60;
}

.browser-modal .option-sub {
  color: #c7cbd1;
}

.browser-modal .option-icon {
  color: #fff;
  background: #3b4350;
}

.sheet-option:hover,
.active-target {
  outline: 3px solid rgba(18, 98, 196, 0.25);
  outline-offset: 2px;
}

.option-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.option-title {
  font-weight: 900;
}

.option-sub {
  color: var(--muted);
  font-size: 13px;
}

.success-modal {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.success-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 34px;
  font-weight: 900;
}

.mock-challenge-card {
  width: min(440px, 100%);
  padding: 32px;
  text-align: center;
}

.mock-challenge-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.auth-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.auth-method {
  display: grid;
  gap: 7px;
  justify-items: center;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.auth-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
}

.auth-icon img {
  display: block;
  max-width: 78px;
  max-height: 78px;
}

.help-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  background: transparent;
  border: 0;
  margin-top: 14px;
}

.help-panel {
  display: none;
  text-align: left;
  color: var(--muted);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
}

.help-panel.is-open {
  display: block;
}

.mobile-zone {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
}

.mobile-shell {
  width: min(390px, 100%);
  height: 640px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.mobile-header {
  height: 52px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-weight: 900;
}

.mobile-header .mock-logo-mark {
  border-color: #fff;
}

.mobile-header .mock-logo-mark::after {
  background: #fff;
}

.hamburger {
  width: 28px;
  display: grid;
  gap: 4px;
}

.hamburger span {
  height: 3px;
  background: #fff;
  border-radius: 999px;
}

.mobile-content {
  height: calc(100% - 52px);
  overflow: auto;
  padding: 18px;
  background: #f7f9fc;
}

.mobile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}

.mobile-card h3 {
  margin: 0 0 10px;
}

.mobile-sticky {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
}

.mobile-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.18);
}

.mobile-sheet h4 {
  margin: 0 0 10px;
}

.sheet-muted {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}

.nudge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: var(--amber-soft);
  border: 1px solid #ffd58a;
  color: var(--amber);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  max-width: 540px;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 280px minmax(0, 1fr);
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    overflow: hidden;
  }

  .guide-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px 260px;
    align-items: start;
  }

  .guide-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  .app-shell {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .topbar {
    height: auto;
    align-items: flex-start;
    padding: 14px;
    flex-direction: column;
  }

  .layout {
    grid-template-columns: 1fr;
    padding: 12px;
    height: auto;
    overflow: visible;
  }

  .sidebar {
    display: none;
  }

  .workspace {
    order: 1;
    min-height: 620px;
  }

  .guide-panel {
    order: 2;
    display: flex;
  }

  .mobile-case-picker {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
  }

  .mobile-case-picker > span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
  }

  .mock-app-body {
    grid-template-columns: 1fr;
  }

  .mock-side-menu {
    display: none;
  }

  .passkey-sticky-cta {
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4;
  }

  .passkey-guide-strip {
    padding: 18px 14px;
  }

  .passkey-guide-strip::before {
    display: none;
  }

  .passkey-guide-step {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 120px;
    padding: 18px 16px 18px 42px;
  }

  .passkey-step-icon {
    height: 76px;
    width: 76px;
  }

  .passkey-guide-icon-device,
  .passkey-guide-icon-shield {
    height: 42px;
  }

  .passkey-guide-icon-face,
  .passkey-guide-icon-fingerprint,
  .passkey-guide-icon-pin {
    height: 24px;
  }

  .workspace-head {
    flex-direction: column;
  }

  .mock-page {
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .mock-login-card,
  .mock-challenge-card {
    padding: 22px;
  }

  .passkey-registration-head,
  .passkey-list-header,
  .passkey-item {
    align-items: start;
    flex-direction: column;
  }

  .passkey-item {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Focused documentation mode */
.focused-doc {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  padding: 14px;
  background: #eef3f9;
}

.focused-doc.single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
  align-content: center;
}

.focus-panel {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.focus-panel h3 {
  margin: 4px 0 16px;
  color: #172033;
  font-size: 20px;
}

.focus-copy {
  margin: -6px 0 16px;
  color: #536171;
  font-size: 14px;
  line-height: 1.75;
}

.panel-kicker {
  color: #0b63d8;
  font-size: 12px;
  font-weight: 900;
}

.cc-card,
.login-slice,
.challenge-slice,
.phone-frame,
.browser-empty,
.chrome-success {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
}

.cc-card {
  padding: 22px;
}

.cc-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.cc-head h4,
.cc-card h4,
.challenge-slice h4 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 22px;
  font-weight: 900;
}

.cc-head p,
.cc-card p,
.challenge-slice p {
  margin: 0;
  color: #536171;
  line-height: 1.7;
}

.cc-help {
  color: #0b63d8;
  white-space: nowrap;
  font-weight: 900;
}

.cc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff, #f6f9ff);
}

.cc-steps div {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  border: 1px solid rgba(214, 229, 251, 0.82);
  border-radius: 8px;
  padding: 14px 8px;
}

.cc-steps img {
  max-height: 46px;
  max-width: 70px;
}

.cc-info {
  margin: 14px 0;
  padding: 12px 14px;
  background: #f3f8ff;
  border: 1px solid #d6e5fb;
  border-radius: 6px;
  color: #243143;
}

.cc-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.cc-primary,
.cc-dark,
.cc-passkey-button,
.cc-blue-pill,
.cc-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 0;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 900;
}

.cc-primary {
  color: #fff;
  background: #0b63d8;
}

.cc-dark {
  width: 100%;
  color: #fff;
  background: #2b2b2b;
}

.cc-passkey-button {
  width: 100%;
  color: #1f2937;
  background: #fff;
  border: 1px solid #cfd6df;
}

.cc-blue-pill {
  width: 100%;
  color: #fff;
  background: #075be8;
  border-radius: 999px;
  min-height: 54px;
  font-size: 20px;
}

.cc-cancel {
  width: 100%;
  color: #111827;
  background: #f8f8f8;
  border: 1px solid #e2e5ea;
  margin-top: 10px;
}

.cc-empty {
  margin-top: 14px;
  text-align: center;
  border: 1px dashed #cad6e6;
  border-radius: 8px;
  padding: 32px 14px;
  color: #536171;
  font-weight: 700;
}

.cc-passkey-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(23, 32, 51, 0.08);
}

.cc-device {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2f7;
  color: #536171;
  font-weight: 900;
}

.cc-passkey-row p {
  margin: 3px 0 0;
  color: #536171;
  font-size: 13px;
}

.cc-menu {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e0eb;
  background: #fff;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
}

.login-slice,
.challenge-slice {
  max-width: 430px;
  margin: 0 auto;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.cc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #064687;
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 24px;
}

.cc-logo.small {
  justify-content: flex-start;
  color: #fff;
  font-size: 15px;
  margin: 0;
}

.cc-logo span {
  width: 24px;
  height: 24px;
  border: 6px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.cc-logo span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  top: 3px;
  left: 3px;
}

.login-slice label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: #172033;
  font-weight: 700;
}

.login-slice input {
  min-height: 42px;
  border: 1px solid #cdd7e5;
  border-radius: 6px;
  padding: 0 12px;
}

.cc-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  color: #536171 !important;
  font-weight: 500 !important;
}

.cc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: #6c757d;
  font-size: 13px;
}

.cc-divider::before,
.cc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e5ea;
}

.challenge-slice {
  text-align: center;
}

.auth-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 26px 0;
}

.auth-icons div {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #111827;
  font-weight: 800;
}

.auth-icons img {
  display: block;
  object-fit: contain;
  max-width: 72px;
  max-height: 72px;
}

.cc-help-toggle {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1266f1;
  font-weight: 900;
}

.phone-frame {
  width: min(390px, 100%);
  height: 620px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.phone-header {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: #0b63d8;
  font-weight: 900;
}

.phone-body {
  height: calc(100% - 54px);
  overflow: auto;
  padding: 18px;
  background: #f7f9fc;
}

.phone-sticky {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: calc(100% - 24px);
}

.browser-empty,
.chrome-success {
  padding: 24px;
  color: #536171;
}

.browser-empty strong,
.chrome-success strong {
  color: #172033;
  font-size: 18px;
}

.chrome-dialog-wrap {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 8px;
}

.chrome-dialog {
  width: min(520px, 100%);
  color: #f8fafc;
  background: #1f1f1f;
  border: 1px solid #6f7378;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.passkey-hero-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2d5fba;
  box-shadow: 0 0 0 12px rgba(45, 95, 186, 0.18);
}

.passkey-hero-icon img {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.chrome-title-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.chrome-icon,
.google-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.chrome-icon {
  background: radial-gradient(circle at 50% 50%, #4285f4 0 22%, #fff 23% 34%, #34a853 35% 52%, #fbbc05 53% 68%, #ea4335 69%);
}

.google-icon {
  color: #fff;
  background: #4285f4;
}

.dialog-heading {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.chrome-dialog p {
  color: #e5e7eb;
  margin: 10px 0;
}

.chrome-dialog .center {
  text-align: center;
}

.touch-symbol {
  width: 72px;
  height: 72px;
  margin: 18px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #425b85;
  background: #223149;
  position: relative;
}

.touch-symbol::before,
.touch-symbol::after {
  display: none;
}

.touch-symbol img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.account-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 16px 0;
}

.account-row > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #3b4350;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.chrome-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.chrome-actions.triple {
  justify-content: space-between;
}

.chrome-actions button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
}

.chrome-actions.triple button:first-child {
  margin-right: auto;
  color: #bae4ff;
  background: transparent;
  border: 1px solid #1186c9;
}

.chrome-actions button:last-child {
  color: #fff;
  background: #0b63d8;
}

.chrome-option-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.chrome-option-list button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 1px solid #565a60;
  border-radius: 8px;
  background: #2b2c2f;
  color: #f8fafc;
  padding: 12px;
}

.chrome-option-list .option-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #3b4350;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.chrome-option-list .option-phone {
  color: #d9ecff;
  background: #164b7d;
}

.chrome-option-list .option-gpm {
  color: #fff;
  background: #2f6fed;
}

.option-arrow {
  color: #c7cbd1;
  font-size: 24px;
  line-height: 1;
}

.chrome-option-list small {
  display: block;
  color: #c7cbd1;
  margin-top: 3px;
}

.chrome-separator {
  height: 1px;
  background: #52525b;
  margin: 18px 0;
}

.qr-code {
  width: 172px;
  height: 172px;
  margin: 18px auto;
  border: 12px solid #fff;
  background:
    linear-gradient(#111 0 0) 0 0 / 42px 42px no-repeat,
    linear-gradient(#111 0 0) 100% 0 / 42px 42px no-repeat,
    linear-gradient(#111 0 0) 0 100% / 42px 42px no-repeat,
    repeating-linear-gradient(90deg, #111 0 7px, #fff 7px 14px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(0, 0, 0, 0.35) 10px 14px);
  box-shadow: 0 0 0 1px #45474d;
}

.qr-code span {
  display: none;
}

.android-sheet-preview {
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.52), rgba(15, 23, 42, 0.52)),
    linear-gradient(#0b63d8 0 56px, #f6f8fb 56px);
}

.android-sheet {
  position: relative;
  width: min(430px, 100%);
  color: #e8efe5;
  background: #1d2a1d;
  border-radius: 28px 28px 8px 8px;
  padding: 34px 26px 26px;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.22);
}

.android-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #dfe9dd;
  background: rgba(0, 0, 0, 0.22);
  font-size: 26px;
  line-height: 1;
}

.android-key {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: #0b63d8;
  font-weight: 900;
}

.android-sheet strong {
  display: block;
  padding-right: 34px;
  color: #f6fbf3;
  font-size: 26px;
  line-height: 1.35;
}

.android-sheet p {
  color: #c4cec0;
  line-height: 1.75;
}

.android-account {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  padding: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.android-account > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6d786b;
  font-weight: 900;
}

.android-account small {
  display: block;
  color: #c4cec0;
}

.android-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.android-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
}

.android-actions button:first-child {
  color: #bde8ac;
  background: transparent;
}

.android-actions button:last-child {
  color: #1d2a1d;
  background: #b7e3a8;
}

@media (max-width: 860px) {
  .focused-doc {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .focus-panel {
    padding: 14px;
  }

  .service-panel {
    order: 1;
  }

  .browser-panel {
    order: 2;
  }

  .cc-steps {
    grid-template-columns: 1fr;
  }

  .cc-list-head,
  .cc-head {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-frame {
    height: 560px;
  }
}

@media (max-width: 520px) {
  .auth-icons {
    gap: 16px;
  }

  .auth-icons img {
    max-width: 52px;
    max-height: 52px;
  }

  .login-slice,
  .challenge-slice {
    padding: 20px;
  }
}

/* Extracted UI-part document */
.simulator-frame {
  overflow-y: scroll;
  overflow-x: hidden;
}

.part-doc {
  min-height: 100%;
  padding: 18px;
  background: #eef3f9;
}

.part-doc-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #d6e0ed;
  border-radius: 8px;
  background: #fff;
}

.part-doc-head span,
.part-label {
  color: #0b63d8;
  font-size: 12px;
  font-weight: 900;
}

.part-doc-head h3 {
  margin: 4px 0 8px;
  color: #172033;
  font-size: 22px;
  line-height: 1.45;
}

.part-doc-head p {
  margin: 0;
  color: #536171;
}

.flow-overview {
  display: grid;
  gap: 5px;
  max-width: 980px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #b8d2ff;
  border-radius: 8px;
  background: #f3f8ff;
}

.flow-overview strong {
  color: #074d9b;
  font-size: 13px;
  line-height: 1.4;
}

.flow-overview span {
  color: #243143;
  line-height: 1.65;
}

.part-doc-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.flow-restart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  color: #172033;
  background: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.flow-restart-button:hover {
  border-color: #0b63d8;
  color: #0b63d8;
}

.sample-image-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 2px 0 12px;
  padding: 7px 10px;
  border: 1px solid #ffd166;
  border-radius: 999px;
  color: #5f3b00;
  background: #fff8dc;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.sample-image-callout strong {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #0b63d8;
  font-size: 12px;
}

.sample-image-callout span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.part-doc-step {
  flex: 0 0 auto;
  min-width: 52px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  color: #36445c;
  background: #f8fbff;
  font-weight: 900;
}

.part-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
}

.part-grid.has-modal {
  min-height: 560px;
}

.part-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d6e0ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.service-part-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.part-card h4 {
  margin: 4px 0 8px;
  color: #172033;
  font-size: 20px;
  line-height: 1.4;
}

.part-card > p {
  margin: 0 0 16px;
  color: #536171;
  font-size: 14px;
  line-height: 1.75;
}

.part-card.is-muted {
  background: #f8fbff;
}

.scenario-guide {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(640px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #b8d2ff;
  border-radius: 8px;
  background: #f3f8ff;
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.2);
  transform: translateX(-50%);
}

.scenario-guide strong {
  display: block;
  color: #074d9b;
  font-size: 14px;
  line-height: 1.4;
}

.scenario-guide p {
  margin: 3px 0 0;
  color: #172033;
  line-height: 1.6;
}

.scenario-guide button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0b63d8;
  font-weight: 900;
}

.next-action-target {
  position: relative;
  z-index: 3;
  outline: 3px solid #ffd166;
  outline-offset: 4px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(18, 98, 196, 0.32) !important;
  animation: next-action-pulse 1.6s ease-in-out infinite;
}

.next-action-target::after {
  content: attr(data-guide-label);
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 4;
  padding: 5px 9px;
  border: 1px solid #ffd166;
  border-radius: 999px;
  color: #5f3b00;
  background: #fff8dc;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.next-action-target::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: calc(100% + 2px);
  z-index: 4;
  width: 10px;
  height: 10px;
  background: #fff8dc;
  border-right: 1px solid #ffd166;
  border-bottom: 1px solid #ffd166;
  transform: rotate(45deg);
  pointer-events: none;
}

.chrome-list-real .next-action-target::after {
  top: 50%;
  right: 38px;
  bottom: auto;
  transform: translateY(-50%);
}

.chrome-list-real .next-action-target::before {
  top: 50%;
  right: 24px;
  bottom: auto;
  transform: translateY(-50%) rotate(45deg);
}

@keyframes next-action-pulse {
  0%,
  100% {
    outline-color: #ffd166;
  }

  50% {
    outline-color: #ffffff;
  }
}

.celebration-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #b8e5cf;
  border-radius: 8px;
  background: #ecfdf3;
  box-shadow: 0 8px 24px rgba(20, 122, 85, 0.12);
}

.celebration-panel span {
  display: block;
  color: #147a55;
  font-size: 13px;
  font-weight: 900;
}

.celebration-panel strong {
  display: block;
  margin-top: 2px;
  color: #172033;
  font-size: 22px;
  line-height: 1.45;
}

.confetti-burst {
  position: relative;
  width: 70px;
  height: 70px;
  background: transparent;
}

.confetti-burst::before,
.confetti-burst::after {
  content: "";
  position: absolute;
  display: block;
}

.confetti-burst::before {
  left: 16px;
  bottom: 8px;
  width: 38px;
  height: 34px;
  border-radius: 6px 6px 18px 6px;
  background: linear-gradient(135deg, #0b63d8 0 48%, #f2b705 49% 66%, #e8516b 67%);
  clip-path: polygon(0 100%, 100% 0, 78% 100%);
  transform: rotate(-18deg);
}

.confetti-burst::after {
  left: 12px;
  top: 12px;
  width: 46px;
  height: 34px;
  border-top: 4px solid #147a55;
  border-radius: 50%;
  background: transparent;
  transform: rotate(-20deg);
}

.confetti-burst i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 13px;
  border-radius: 2px;
  background: #0b63d8;
  transform-origin: 0 44px;
  animation: confetti-pop 900ms ease-out both;
}

.confetti-burst i:nth-child(2n) {
  background: #f2b705;
}

.confetti-burst i:nth-child(3n) {
  background: #e8516b;
}

.confetti-burst i:nth-child(1) { transform: rotate(12deg) translateY(-54px); }
.confetti-burst i:nth-child(2) { transform: rotate(54deg) translateY(-58px); }
.confetti-burst i:nth-child(3) { transform: rotate(102deg) translateY(-52px); }
.confetti-burst i:nth-child(4) { transform: rotate(148deg) translateY(-60px); }
.confetti-burst i:nth-child(5) { transform: rotate(204deg) translateY(-54px); }
.confetti-burst i:nth-child(6) { transform: rotate(252deg) translateY(-59px); }
.confetti-burst i:nth-child(7) { transform: rotate(302deg) translateY(-51px); }
.confetti-burst i:nth-child(8) { transform: rotate(338deg) translateY(-57px); }

@keyframes confetti-pop {
  from {
    opacity: 0;
    scale: 0.2;
  }
  60% {
    opacity: 1;
    scale: 1.08;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.service-part-shell,
.browser-part-shell {
  min-width: 0;
}

.cc-extract,
.intro-extract,
.login-extract,
.challenge-extract,
.success-extract {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.cc-extract {
  padding: 24px;
}

.intro-extract {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.intro-extract h4 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  line-height: 1.45;
}

.intro-extract > p {
  max-width: 880px;
  margin: 0;
  color: #536171;
  line-height: 1.8;
}

.intro-sample-section {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.intro-section-heading {
  display: grid;
  gap: 6px;
}

.intro-section-heading h5 {
  margin: 0;
  color: #172033;
  font-size: 20px;
  line-height: 1.45;
}

.intro-section-heading p {
  max-width: 880px;
  margin: 0;
  color: #536171;
  line-height: 1.7;
}

.intro-shot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.intro-shot-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  background: #f8fbff;
}

.intro-shot-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.intro-shot-button:focus-visible {
  outline: 3px solid rgba(11, 99, 216, 0.45);
  outline-offset: -3px;
}

.intro-shot-button img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #edf3fb;
  border-bottom: 1px solid #d6e5fb;
}

.intro-zoom-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 59, 114, 0.9);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  font-size: 12px;
  font-weight: 900;
}

.intro-zoom-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.intro-zoom-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 1px;
  left: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.intro-zoom-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: 0;
  bottom: 1px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.intro-shot-card figcaption {
  padding: 10px 12px;
  color: #123b72;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-lightbox-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.72);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100dvh - 48px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.image-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 112px);
  object-fit: contain;
  background: #edf3fb;
}

.image-lightbox-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: #172033;
  font-weight: 900;
  line-height: 1.45;
}

.image-lightbox-panel figcaption small {
  flex: 0 0 auto;
  color: #536171;
  font-size: 13px;
  font-weight: 900;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.image-lightbox-nav.is-prev {
  left: 14px;
}

.image-lightbox-nav.is-next {
  right: 14px;
}

.image-lightbox-nav:hover,
.image-lightbox-close:hover {
  background: rgba(11, 99, 216, 0.88);
}

.intro-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.intro-note-grid div {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 150px;
  padding: 16px;
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  background: #f8fbff;
}

.intro-note-grid strong {
  color: #123b72;
  line-height: 1.45;
}

.intro-note-grid span {
  color: #536171;
  line-height: 1.7;
}

.cc-extract-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cc-extract-title h5,
.phone-content-real h5,
.challenge-extract h5,
.success-extract h5 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  line-height: 1.45;
}

.cc-extract-title p,
.phone-content-real p,
.challenge-extract p,
.success-extract p {
  margin: 6px 0 0;
  color: #536171;
  line-height: 1.7;
}

.cc-real-primary,
.doc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0b63d8;
  font-weight: 900;
  text-align: center;
  overflow-wrap: normal;
  white-space: nowrap;
}

.cc-empty-real {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 160px;
  padding: 26px 16px;
  border: 1px dashed #cad6e6;
  border-radius: 8px;
  color: #536171;
  text-align: center;
}

.cc-empty-real strong {
  color: #172033;
  font-size: 18px;
}

.cc-passkey-real-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 32, 51, 0.08);
}

.cc-passkey-real-row > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2f7;
  color: #536171;
  font-weight: 900;
}

.cc-passkey-real-row strong {
  display: block;
  color: #172033;
  font-size: 18px;
}

.cc-passkey-real-row small {
  display: block;
  margin-top: 4px;
  color: #536171;
  line-height: 1.55;
}

.cc-passkey-real-row button {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e0eb;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font-size: 20px;
  font-weight: 900;
}

.login-extract {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 30px;
}

.cc-login-logo,
.cc-mini-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #064687;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 24px;
}

.cc-login-logo i,
.cc-mini-logo i {
  width: 25px;
  height: 25px;
  border: 6px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.cc-login-logo i::after,
.cc-mini-logo i::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: currentColor;
}

.login-extract label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: #172033;
  font-weight: 700;
}

.login-extract input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cdd7e5;
  border-radius: 6px;
  background: #fff;
}

.remember-line {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 8px !important;
  color: #536171 !important;
  font-weight: 500 !important;
}

.remember-line input {
  width: auto;
  min-height: 0;
}

.login-dark-real,
.passkey-button-real,
.challenge-primary-real,
.challenge-cancel-real {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
}

.login-dark-real {
  color: #fff;
  background: #2b2b2b;
  border: 0;
}

.passkey-button-real {
  color: #1f2937;
  background: #fff;
  border: 1px solid #cfd6df;
}

.login-passkey-note-real {
  padding: 10px 12px;
  border: 1px solid #cbe0ff;
  border-radius: 8px;
  color: #123b72;
  background: #f3f8ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.is-target {
  box-shadow: 0 0 0 3px rgba(11, 99, 216, 0.18);
}

.login-or-real {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: #6c757d;
  font-size: 13px;
}

.login-or-real::before,
.login-or-real::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e5ea;
}

.challenge-extract {
  width: min(450px, 100%);
  margin: 0 auto;
  padding: 34px 42px;
  text-align: center;
}

.auth-icons-real {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 26px 0 32px;
}

.auth-icons-real div {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: #111827;
  font-weight: 800;
}

.auth-icons-real img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.challenge-primary-real {
  color: #fff;
  background: #075be8;
  border: 0;
  border-radius: 999px;
  font-size: 20px;
}

.challenge-cancel-real {
  margin-top: 10px;
  color: #111827;
  background: #f8f8f8;
  border: 1px solid #e2e5ea;
  border-radius: 999px;
}

.challenge-help-real {
  margin-top: 18px;
  padding: 0;
  color: #1266f1;
  background: transparent;
  border: 0;
  font-weight: 900;
}

.success-extract {
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 42px 24px;
  text-align: center;
}

.success-extract > div {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #147a55;
  font-size: 28px;
  font-weight: 900;
}

.phone-extract {
  width: min(390px, 100%);
  height: 620px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: #f7f9fc;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.1);
}

.phone-extract.is-login {
  height: auto;
  padding: 18px;
}

.phone-top-real {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: #0b63d8;
}

.phone-top-real .cc-mini-logo {
  color: #fff;
  font-size: 15px;
  margin: 0;
}

.phone-content-real {
  height: calc(100% - 58px);
  overflow: auto;
  padding: 20px 18px 88px;
}

.phone-info-real {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  color: #243143;
  background: #f3f8ff;
  line-height: 1.65;
}

.phone-list-real {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
}

.phone-list-real .cc-passkey-real-row {
  grid-template-columns: 46px minmax(0, 1fr);
}

.phone-list-real .cc-passkey-real-row button {
  display: none;
}

.phone-sticky-real {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0b63d8;
  font-size: 18px;
  font-weight: 900;
}

.chrome-real-dialog {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 22px;
  color: #f8fafc;
  background: #1f1f1f;
  border: 1px solid #6f7378;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.webauthn-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 88px 24px 24px;
}

.webauthn-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.54);
}

.webauthn-modal-body {
  position: relative;
  z-index: 1;
}

.webauthn-modal-body {
  width: min(520px, 100%);
  max-height: calc(100vh - 112px);
  overflow: auto;
  border-radius: 8px;
}

.webauthn-modal-body .chrome-real-dialog,
.webauthn-modal-body .android-sheet-real {
  width: 100%;
  margin: 0;
}

.webauthn-modal-layer.is-mobile-sheet {
  align-items: start;
}

.webauthn-modal-layer.is-mobile-sheet .webauthn-modal-body {
  width: min(430px, 100%);
}

.chrome-real-dialog h5 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.chrome-real-dialog p {
  margin: 10px 0;
  color: #e5e7eb;
  line-height: 1.65;
}

.chrome-real-dialog .center {
  text-align: center;
}

.chrome-art-real {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #2d5fba;
  box-shadow: 0 0 0 12px rgba(45, 95, 186, 0.18);
}

.chrome-art-real img,
.chrome-touch-real img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.chrome-title-real {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.chrome-title-real span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-weight: 900;
}

.chrome-account-real {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 10px 0;
  border-top: 1px solid #484b50;
  border-bottom: 1px solid #484b50;
}

.chrome-account-real span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #3b4350;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.chrome-touch-real {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 18px auto;
  border: 2px solid #425b85;
  border-radius: 50%;
  background: #223149;
}

.chrome-actions-real {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chrome-actions-real.three {
  justify-content: space-between;
}

.chrome-actions-real button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.chrome-actions-real .primary {
  color: #fff;
  background: #0b63d8;
}

.chrome-actions-real .outline {
  margin-right: auto;
  color: #bae4ff;
  background: transparent;
  border: 1px solid #1186c9;
}

.chrome-list-real {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.chrome-list-real button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #565a60;
  border-radius: 8px;
  color: #f8fafc;
  background: #2b2c2f;
  text-align: left;
}

.chrome-list-real button > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #3b4350;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.chrome-list-real b {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  line-height: 1.35;
}

.chrome-list-real small {
  grid-column: 2;
  grid-row: 2;
  display: block;
  margin-top: 3px;
  color: #c7cbd1;
  line-height: 1.45;
}

.chrome-list-real i {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: #c7cbd1;
  font-style: normal;
  font-size: 24px;
}

.qr-code-real {
  width: 174px;
  height: 174px;
  margin: 18px auto;
  border: 12px solid #fff;
  background:
    linear-gradient(#111 0 0) 0 0 / 42px 42px no-repeat,
    linear-gradient(#111 0 0) 100% 0 / 42px 42px no-repeat,
    linear-gradient(#111 0 0) 0 100% / 42px 42px no-repeat,
    repeating-linear-gradient(90deg, #111 0 7px, #fff 7px 14px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(0, 0, 0, 0.35) 10px 14px);
  box-shadow: 0 0 0 1px #45474d;
}

.chrome-line-real {
  height: 1px;
  margin: 18px 0;
  background: #52525b;
}

.android-sheet-real {
  position: relative;
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 34px 26px 26px;
  color: #e8efe5;
  background: #1d2a1d;
  border-radius: 28px 28px 8px 8px;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.22);
}

.android-close-real {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #dfe9dd;
  background: rgba(0, 0, 0, 0.22);
  font-size: 26px;
}

.android-key-real {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: #0b63d8;
  font-weight: 900;
}

.android-sheet-real h5 {
  margin: 0 0 12px;
  color: #f6fbf3;
  font-size: 22px;
  text-align: center;
}

.android-sheet-real h6 {
  margin: 0;
  color: #f6fbf3;
  font-size: 24px;
  line-height: 1.45;
  text-align: center;
}

.android-sheet-real p {
  color: #c4cec0;
  line-height: 1.75;
}

.android-account-real {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  padding: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.android-account-real > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6d786b;
  font-weight: 900;
}

.android-account-real small {
  display: block;
  color: #c4cec0;
}

.android-actions-real {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.android-actions-real button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.android-actions-real button:first-child {
  color: #bde8ac;
  background: transparent;
}

.android-actions-real button:last-child {
  color: #1d2a1d;
  background: #b7e3a8;
}

.android-device-sheet-real {
  background: #1d2a1d;
}

.android-save-sheet-real {
  background: #1d2a1d;
}

.android-save-options-real {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.android-save-options-real button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(196, 206, 192, 0.2);
  border-radius: 16px;
  color: #edf7ea;
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
}

.android-save-options-real button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #3f4b3c;
  font-size: 12px;
  font-weight: 900;
}

.android-save-options-real button strong {
  display: block;
  line-height: 1.35;
}

.android-save-options-real button small {
  display: block;
  margin-top: 3px;
  color: #c4cec0;
  line-height: 1.45;
}

.android-save-options-real .android-save-target-real {
  border-color: #b7e3a8;
  box-shadow: 0 0 0 3px rgba(183, 227, 168, 0.14);
}

.android-device-options-real {
  display: grid;
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
}

.android-device-options-real button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid rgba(196, 206, 192, 0.12);
  border-radius: 0;
  color: #edf7ea;
  background: transparent;
  text-align: left;
}

.android-device-options-real button:last-child {
  border-bottom: 0;
}

.android-device-options-real button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #c4cec0;
  background: transparent;
  border-radius: 6px;
  padding: 0;
  font-size: 18px;
  font-weight: 900;
}

.android-device-options-real button strong {
  font-size: 17px;
  line-height: 1.35;
}

.android-device-options-real button:hover {
  background: rgba(183, 227, 168, 0.08);
}

.android-device-options-real .android-device-target-real {
  box-shadow: inset 3px 0 0 #b7e3a8;
}

.android-more-options-real {
  margin-top: 22px;
  padding: 0;
  border: 0;
  color: #8f9a8b;
  background: transparent;
  font-weight: 900;
  text-align: left;
}

@media (max-width: 860px) {
  .scenario-guide {
    top: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .scenario-guide button {
    width: 100%;
  }

  .celebration-panel {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 14px;
  }

  .celebration-panel strong {
    font-size: 18px;
  }

  .confetti-burst {
    width: 50px;
    height: 50px;
  }

  .webauthn-modal-layer {
    padding: 18px 12px 12px;
  }

  .webauthn-modal-body {
    max-height: calc(100dvh - 32px);
  }

  .part-doc {
    padding: 12px;
  }

  .part-doc-head {
    flex-direction: column;
    padding: 14px;
  }

  .part-doc-actions {
    width: 100%;
    justify-content: space-between;
  }

  .flow-restart-button {
    flex: 1 1 auto;
    white-space: normal;
  }

  .part-card {
    padding: 14px;
  }

  .intro-shot-row,
  .intro-note-grid {
    grid-template-columns: 1fr;
  }

  .intro-shot-button img {
    height: 180px;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox-panel {
    max-height: calc(100dvh - 24px);
  }

  .image-lightbox-panel img {
    max-height: calc(100dvh - 88px);
  }

  .image-lightbox-panel figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-lightbox-nav {
    width: 42px;
    height: 56px;
    font-size: 34px;
  }

  .image-lightbox-nav.is-prev {
    left: 8px;
  }

  .image-lightbox-nav.is-next {
    right: 8px;
  }

  .android-sheet-real {
    padding: 24px 22px 22px;
    border-radius: 22px;
  }

  .android-key-real {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .android-sheet-real h5 {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .android-sheet-real h6 {
    font-size: 20px;
    line-height: 1.35;
  }

  .android-sheet-real p {
    margin: 12px 0;
    line-height: 1.55;
  }

  .android-account-real {
    margin: 16px 0;
    padding: 12px;
  }

  .android-actions-real button {
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  .cc-extract,
  .intro-extract,
  .login-extract,
  .challenge-extract {
    padding: 20px;
  }

  .cc-extract-title {
    align-items: stretch;
    flex-direction: column;
  }

  .cc-real-primary,
  .doc-primary {
    white-space: normal;
  }

  .cc-passkey-real-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .cc-passkey-real-row button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .auth-icons-real {
    gap: 14px;
  }

  .auth-icons-real img {
    width: 48px;
    height: 48px;
  }

  .chrome-actions-real,
  .chrome-actions-real.three,
  .android-actions-real {
    align-items: stretch;
    flex-direction: column;
  }

  .chrome-actions-real .outline {
    margin-right: 0;
  }

  .android-sheet-real h6 {
    font-size: 20px;
  }
}
