/* Overview task entries are buttons. Normalize the native button chrome so
   each entry behaves like a full-width list row. */
.compact-task {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid #edf0ed;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  appearance: none;
}

.compact-task > div {
  min-width: 0;
}

.compact-task > div > b,
.compact-task > div > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-task:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.first-run {
  margin-bottom: 20px;
  overflow: hidden;
}

.first-run-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px 16px;
  border-bottom: 1px solid #e1e5e2;
}

.first-run-head h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.first-run-head p:not(.kicker) {
  margin: 0;
  color: #7b857f;
  font-size: 10px;
}

.first-run-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.first-run-step {
  min-width: 0;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 15px;
  border-right: 1px solid #edf0ed;
}

.first-run-step:last-child { border-right: 0; }
.first-run-step.is-complete .first-run-index { width: auto; padding: 0 8px; border-radius: 12px; background: var(--green); color: #fff; white-space: nowrap; }
.first-run-step.is-current .first-run-index { background: #fff1cf; color: #916315; }
.first-run-step.is-error .first-run-index { background: #f8e6e4; color: #a7433b; }
.first-run-index { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #edf1ee; color: #67736b; font: 700 10px Consolas, monospace; }
.first-run-step strong { display: block; font-size: 11px; }
.first-run-step p { margin: 5px 0 0; color: #7c8780; font-size: 9px; line-height: 1.55; }
.first-run-step-action { display: flex; align-items: center; gap: 5px; margin-top: auto; }
.first-run-step select { min-width: 0; flex: 1; height: 32px; padding: 0 7px; border: 1px solid #cbd3cd; border-radius: 4px; background: #fff; color: var(--ink); font-size: 9px; }
.first-run-step button { height: 32px; padding: 0 10px; font-size: 9px; }
.first-run-help { margin-top: auto; color: var(--green); font-size: 9px; font-weight: 700; }
.first-run-feedback { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: #f7faf7; border-top: 1px solid #e1e5e2; }
.first-run-feedback strong { font-size: 10px; }
.first-run-feedback p { flex: 1; margin: 0; color: #6e7972; font-size: 9px; line-height: 1.5; }
.first-run-feedback.error { background: #fff8f7; }

@media (max-width: 1150px) {
  .first-run-steps { grid-template-columns: repeat(3, 1fr); }
  .first-run-step { border-bottom: 1px solid #edf0ed; }
  .first-run-step:nth-child(3) { border-right: 0; }
}

@media (max-width: 760px) {
  .first-run-head { padding: 16px 14px; }
  .first-run-steps { grid-template-columns: 1fr; }
  .first-run-step, .first-run-step:nth-child(3) { min-height: 86px; flex-direction: row; align-items: flex-start; border-right: 0; }
  .first-run-step > div:nth-child(2) { flex: 1; }
  .first-run-step-action, .first-run-step > button, .first-run-help { margin: 0 0 0 auto; }
  .first-run-feedback { align-items: flex-start; flex-wrap: wrap; padding: 12px 14px; }
  .first-run-feedback p { flex-basis: 100%; order: 3; }
}
