/* Provider checkpoint progress. Keep step counts accurate to the verified server state. */
.checkpoint-progress { margin-top: 22px; padding: 21px; border: 1px solid #866ba953; border-radius: 11px; background: linear-gradient(145deg,#272035b3,#171821); }
.checkpoint-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkpoint-progress-head .eyebrow { letter-spacing: 1px; font-size: 10px; }
.checkpoint-progress-head strong { color: #e4d2ff; font: 800 24px 'DM Mono',monospace; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.checkpoint-progress-track { height: 10px; margin-top: 16px; border: 1px solid #ffffff1d; border-radius: 100px; background: #0c0e15; overflow: hidden; }
.checkpoint-progress-track span { display: block; width: 0%; height: 100%; background: linear-gradient(90deg,#9580c8,#d0b9f8); border-radius: inherit; transition: width .3s ease; }
.checkpoint-progress-details { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font: 10px/1.5 'DM Mono',monospace; color: #a6a1b0; }
.checkpoint-progress-details span:last-child { color: #cfb8ed; }
.checkpoint-progress-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-top: 22px; }
.checkpoint-progress-actions .button { min-width: 0; min-height: 44px; padding: 11px 15px; font-size: 11px; }
.checkpoint-progress-actions .button-primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkpoint-progress-actions .button-primary span { font-size: 15px; }
.checkpoint-progress-actions #checkpoint-close { color: #c5bfce; }
.checkpoint-progress-actions .button:disabled { opacity: .55; cursor: progress; }
.checkpoint-progress:not([hidden]) + .getkey-actions { margin-top: 13px; }
.checkpoint-progress:not([hidden]) ~ .getkey-status { margin-top: 12px; }
@media(max-width:560px) {
  .checkpoint-progress { padding: 16px; }
  .checkpoint-progress-actions { grid-template-columns: 1fr; }
  .checkpoint-progress-actions .button { width: 100%; }
}
@media(prefers-reduced-motion:reduce) { .checkpoint-progress-track span { transition: none; } }

/* Loader: keep the complete command on one scrollable line at every viewport width. */
.hero-card .sample-code {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 68px;
  min-height: 68px;
  padding: 10px 51px 10px 14px;
  overflow: hidden;
}
.hero-card .sample-code-scroll {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #80708f transparent;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.hero-card .sample-code-scroll:focus-visible { outline: 2px solid #c8acf1; outline-offset: -2px; border-radius: 4px; }
.hero-card .sample-code-scroll code {
  display: inline-block;
  width: max-content;
  min-width: max-content;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 5px 0 7px;
  font: 11px/1.4 'DM Mono',monospace;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.hero-card .sample-code-scroll code span {
  display: inline;
  font-size: inherit;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.hero-card .sample-code.is-hidden code span { display: none; }
.hero-card .sample-code.is-hidden code::after {
  content: '••••••••••••••••••••';
  font: 11px/1.4 'DM Mono',monospace;
  color: #b1a5c8;
  letter-spacing: 1px;
}
.hero-card .sample-eye { top: 16px; right: 12px; z-index: 2; }
.hero-card .sample-copy { justify-content: center; gap: 11px; }
.hero-card .sample-copy .copy-symbol {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #d8c2fc;
}
@media(max-width:560px) {
  .hero-card .sample-code { height: 66px; min-height: 66px; padding-right: 49px; }
  .hero-card .sample-code-scroll code { font-size: 11px; }
}
