/* Apex's guide (s1-project-guide.js): the first-open setup stepper and the one small suggestion card. Calm by design: neutral surfaces, ink for the action, and colour
 * only where it means something (green = a step is done). Never a modal, never over the page. */
.s1-project-page .s1-project-overview > .s1-guide, .s1-project-page .s1-project-overview > .s1-guide-tip { grid-column: 1 / -1; }
.s1-guide { padding: 0; }
.s1-guide-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: calc(10px * var(--s1-scale, 1)); padding: calc(10px * var(--s1-scale, 1)) calc(12px * var(--s1-scale, 1)) calc(10px * var(--s1-scale, 1)) calc(16px * var(--s1-scale, 1)); border-bottom: 1px solid var(--s1-line-soft); }
.s1-guide-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px calc(10px * var(--s1-scale, 1)); min-width: 0; }
.s1-guide-title strong { font-size: var(--s1-text-base); color: var(--s1-ink); }
.s1-guide-count { font-size: var(--s1-text-small); color: var(--s1-mute); }
.s1-guide-body { display: grid; gap: calc(6px * var(--s1-scale, 1)); padding: calc(12px * var(--s1-scale, 1)) calc(16px * var(--s1-scale, 1)) calc(14px * var(--s1-scale, 1)); }
.s1-guide-step { margin: 0; font-size: var(--s1-text-base); font-weight: 650; color: var(--s1-ink); }
.s1-guide-why { margin: 0; font-size: var(--s1-text-small); color: var(--s1-mute); line-height: 1.45; }
.s1-guide-slot:empty { display: none; }
.s1-guide-slot { margin-top: 4px; }
/* The shared proposal card, flattened into the stepper: the stepper already names the step, so the card's own heading and reassurance line fold away. */
.s1-guide .s1pc-card { border: 0; box-shadow: none; background: transparent; padding: 0; }
.s1-guide .s1pc-card > .s1-panel-head, .s1-guide .s1pc-card .s1ag-quiet { display: none; }
.s1-guide .s1pc-card .s1-panel-body { padding: 0; }
/* A card that is a plain pick from a list (study type, IRB status, funding) says it on its buttons; its before/after line and Open link would only repeat the stepper. */
.s1-guide .s1pc-card[data-type^="project."] .s1pc-change, .s1-guide .s1pc-card [data-open] { display: none; }
.s1-guide .s1pc-choices { margin-bottom: 0; }
.s1-guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: calc(8px * var(--s1-scale, 1)); }
.s1-guide-actions:empty { display: none; }

.s1-guide-tip { display: flex; align-items: center; gap: calc(10px * var(--s1-scale, 1)); min-width: 0; padding: calc(10px * var(--s1-scale, 1)) 0; border: 0; border-top: 1px solid var(--s1-line-soft); border-radius: 0; background: none; }
.s1-guide-tip-text { display: grid; flex: 1 1 auto; min-width: 0; gap: 1px; }
.s1-guide-tip-text strong { font-weight: 650; font-size: var(--s1-text-small); color: var(--s1-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s1-guide-tip-text span { font-size: var(--s1-text-micro); color: var(--s1-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s1-guide-tip .s1-btn { flex: none; }
.s1-guide-tip-x { display: none; }
@media (max-width: 767px) {
  .s1-guide-head { grid-template-columns: auto minmax(0, 1fr) auto; padding: 8px 8px 8px 12px; }
  .s1-guide-body { padding: 10px 12px 12px; }
  .s1-guide-tip { padding: 8px 0; gap: 8px; }
  .s1-guide-tip-no { display: none; }
  .s1-guide-tip-x { display: inline-flex; }
}
