.clickable-mockup-task {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
}

.mockup-phone {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 8px solid #202020;
  border-radius: 30px;
  background: #f4f4f1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
}

.mockup-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  background: #fff;
}

.mockup-topbar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px 8px;
  font-size: .7rem;
  font-weight: 700;
}

.mockup-content {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 20px 20px 28px;
}

.mockup-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #777;
}

.mockup-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #edede8;
  font-size: 4rem;
  color: #777;
}

.mockup-content h4 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.mockup-content p { margin-bottom: 12px; }
.mockup-meta { margin-top: auto; padding-top: 16px; font-size: 1.1rem; }

.mockup-primary {
  width: 100%;
  margin-top: 16px;
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.mockup-success {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #edf8f1;
  color: #24613c;
  font-weight: 700;
  text-align: center;
}

.mockup-tools {
  width: min(100%, 360px);
}

@media (min-width: 640px) {
  .clickable-mockup-task { margin-top: 20px; }
  .mockup-phone { width: 340px; }
  .mockup-tools { width: 340px; }
}

/* Shared controls for interactive learning mockups */
.mockup-content { overflow-y: auto; overscroll-behavior: contain; }
.mockup-field { display: grid; gap: 7px; margin: 12px 0; }
.mockup-field > label { font-size: .83rem; font-weight: 700; }
.mockup-field select {
  width: 100%; min-height: 44px; padding: 9px 12px;
  border: 1px solid #bbbdb8; border-radius: 10px; background: #fff; color: #171717;
}
.mockup-radio-group { display: grid; gap: 7px; }
.mockup-radio {
  display: flex; align-items: center; gap: 9px; min-height: 43px;
  padding: 10px; border: 1px solid #deded7; border-radius: 10px;
  background: #fff; font-size: .85rem;
}
.mockup-radio input { width: 18px; height: 18px; accent-color: #171717; }
.mockup-detail {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding: 12px 0; border-bottom: 1px solid #e6e6e0;
  font-size: .88rem;
}
.mockup-detail strong { text-align: right; }
.mockup-secondary {
  width: 100%; margin-top: 9px; border: 1px solid #aaa;
  border-radius: 10px; background: #fff; color: #171717;
}
.mockup-primary:disabled { opacity: .45; cursor: not-allowed; }
