.inm-first-steps,
.inm-first-steps-admin {
  color: var(--inm-text-dark, #303431);
  font-family: var(--inm-font, 'Poppins', sans-serif);
  font-size: 14px;
  line-height: 1.6;
  max-width: 1140px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.inm-first-steps h2 {
  font-family: var(--inm-font-display, 'Bebas Neue', sans-serif);
  font-size: var(--inm-widget-title-size, 32px);
  font-weight: var(--inm-weight-display, 400);
  line-height: 1.1;
  margin: 0 0 16px;
}
.inm-first-steps h3 { font: 600 18px/1.35 var(--inm-font, 'Poppins', sans-serif); margin: 0 0 8px; }
.inm-first-steps p { margin: 8px 0; }
.inm-first-steps-list { list-style-position: outside; padding-left: 24px; margin: 16px 0; }
.inm-first-steps-item { padding: 16px 0; border-bottom: 1px solid var(--inm-border-line, #D5DBD0); }
.inm-first-steps-status { font-weight: 600; }
.inm-first-steps-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.inm-first-steps .inm-btn,
.inm-first-steps-admin .inm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 16px; box-sizing: border-box;
  color: var(--inm-text-dark, #303431); background: var(--inm-green, #EF8F10);
  border: 0; border-radius: 0; box-shadow: none; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: normal; line-height: 1.4;
}
.inm-first-steps .inm-btn--secondary { background: var(--inm-accent-bg, #F1F6E0); }
.inm-first-steps .inm-btn:hover,
.inm-first-steps-admin .inm-btn:hover { background: var(--inm-brand-hover, #ECEFE7); color: var(--inm-text-dark, #303431); }
.inm-first-steps :is(a, button, input):focus-visible,
.inm-first-steps-admin :is(a, button, input, select):focus-visible { outline: none; box-shadow: 0 3px 0 currentColor; }
.inm-first-steps button:disabled { cursor: wait; opacity: .65; }
.inm-first-steps progress { width: 100%; height: 8px; border: 0; border-radius: 0; background: #F1F6E0; color: #303431; }
.inm-first-steps progress::-webkit-progress-bar { background: #F1F6E0; }
.inm-first-steps progress::-webkit-progress-value { background: #303431; }
.inm-first-steps progress::-moz-progress-bar { background: #303431; }
.inm-first-steps-field { display: block; margin: 12px 0; }
.inm-first-steps-field input:not([type=checkbox]) { display: block; max-width: 100%; width: 600px; }
.inm-first-steps-table { max-width: 100%; overflow-x: auto; margin: 16px 0; }
.inm-first-steps-admin .inm-card { padding: 16px 0; border: 0; box-shadow: none; border-radius: 0; }
.inm-first-steps [hidden] { display: none !important; }
@media (max-width: 767px) { .inm-first-steps h2 { font-size: var(--inm-widget-title-size-sm, 28px); } }

.inm-first-steps-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 32%); gap: 24px; align-items: start; }
.inm-first-steps-description, .inm-first-steps-controls { min-width: 0; overflow-wrap: anywhere; }
.inm-first-steps-controls { text-align: right; }
.inm-first-steps-description p, .inm-first-steps-complete p { white-space: pre-line; }
.inm-first-steps-complete { background: var(--inm-accent-bg, #F1F6E0); padding: 20px; margin: 16px 0; }
.inm-first-steps-copy-group { padding: 12px 0; border-bottom: 1px solid var(--inm-border-line, #D5DBD0); }
.inm-first-steps-copy-group summary { cursor: pointer; font-weight: 600; min-height: 44px; }
.inm-first-steps-field textarea { display: block; width: 100%; max-width: 720px; box-sizing: border-box; }
.inm-first-steps-admin :is(textarea, summary):focus-visible { outline: none; box-shadow: 0 3px 0 currentColor; }
@media (max-width: 767px) {
  .inm-first-steps-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .inm-first-steps-controls { text-align: left; }
}

.inm-first-steps-controls .inm-first-steps-actions { justify-content: flex-end; }
.inm-first-steps-completion { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; padding: 8px 12px; box-sizing: border-box; }
.inm-first-steps-completion input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--inm-text-dark, #303431); }
.inm-first-steps-completion input:enabled { cursor: pointer; }
.inm-first-steps-status--done { background: var(--inm-accent-bg, #F1F6E0); color: var(--inm-text-dark, #303431); }
.inm-first-steps-status--waiting { background: var(--inm-green, #EF8F10); color: var(--inm-text-dark, #303431); }
.inm-first-steps-status--todo { background: var(--inm-brand-hover, #ECEFE7); color: var(--inm-text-dark, #303431); }
.inm-first-steps-status--unavailable { background: transparent; color: var(--inm-text-dark, #303431); }
@media (max-width: 767px) {
  .inm-first-steps-completion { justify-content: space-between; text-align: left; }
  .inm-first-steps-controls .inm-first-steps-actions { justify-content: flex-start; }
}
