/* Shared, subtle depth; readable contrast and visible keyboard focus. */
button,
.button,
.runner-download {
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.19),
    rgba(255, 255, 255, 0) 55%,
    rgba(0, 0, 0, 0.045)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 3px 8px rgba(22, 64, 46, 0.13);
  border: 1px solid rgba(25, 74, 54, 0.2);
  transition:
    box-shadow 0.16s ease,
    transform 0.16s ease,
    filter 0.16s ease;
}
button:not(:disabled):hover,
.button:hover,
.runner-download:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 5px 13px rgba(22, 64, 46, 0.18);
}
button:not(:disabled):active,
.button:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #2183a7;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.step-heading {
  padding: 0.8rem 1rem;
  border-left: 4px solid #43846b;
  border-radius: 8px;
  background: #edf5ef;
  color: #203f34;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.step-heading:nth-of-type(even) {
  background: #edf3f8;
  border-left-color: #64869e;
}
.setup-panel,
.credit-card {
  background: #f6f4e9;
  border: 1px solid #e0dfce;
  border-radius: 14px;
  padding: 1.1rem;
  margin: 1rem 0;
}
.setup-panel summary {
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0;
}
.setup-panel[open] summary {
  margin-bottom: 1rem;
}
#runner-files {
  max-height: 19rem;
  overflow: auto;
}
#runner-panel {
  background: linear-gradient(145deg, #fff, #f4f8f5);
}
@media (prefers-reduced-motion: reduce) {
  button,
  .button,
  .runner-download {
    transition: none;
  }
}

/* Shared controls and setup media */
button, .button, .runner-download { background-image:none; box-shadow:none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid #21866a; outline-offset:2px; }
.setup-video iframe, .video-placeholder { width:100%; aspect-ratio:16/9; border:1px solid #cfdfd4; border-radius:14px; }
.video-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; background:#eaf3ec; text-align:center; padding:20px; }
.video-placeholder > span { font-size:44px; color:#16715a; }
.video-placeholder h3 { margin:12px 0 0; }
.setup-video { max-width:1000px; margin:28px auto; }
#runner-panel button, #runner-panel .runner-download { background:#16715a; }
#runner-panel .job-active { border-left:4px solid #16715a; background:#eef6ef; padding:16px; border-radius:8px; }
#runner-panel .job-finished { border-bottom:1px solid #dbe7df; padding:16px; }
.job-progress { color:#145a43; font-weight:700; }
[hidden] { display:none !important; }
