/* Setup workspace (v2/setup-guide.html): the guided setup from Account_Editor_Proof_System_v2/
   Setup Guide.html in the site's design. Markup and class names come from that file, scoped to .sg.
   Built by tools/setup_guide.py */
.sg { --ink: #242426; --sub: #5d5d63; --mute: #68686f; --line: #ececf1; --soft: #f6f5fa; --lav: #efe9ff; --deep: #5b2fd6; --dark: #1c1b22; --amber: #fff6e5;
  padding-bottom: 72px; color: var(--ink); }
.sg .container { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sg button, .sg input { font: inherit; }
.sg button { cursor: pointer; }
.sg h1, .sg h2, .sg h3, .sg h4 { margin: 0; color: var(--ink); }

/* buttons (the guide's .button family) */
.sg .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 14px; font-size: 15px; font-weight: 500; transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.sg .button.dark { background: var(--dark); color: #fff; }
.sg .button.dark:hover { background: var(--brand); transform: translateY(-1px); }
.sg .button.lime { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(125, 64, 255, 0.9); }
.sg .button.lime:hover { background: #6a2ff0; }
.sg .button.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(36, 36, 38, 0.14); }
.sg .button.line:hover { box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.5); }
.sg .button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- hero */
.sg-hero { padding: 132px 0 8px; background: radial-gradient(55% 90% at 90% 0%, rgba(184, 155, 255, 0.3), rgba(184, 155, 255, 0) 60%), linear-gradient(180deg, #f8f6fe 0%, #fff 85%); }
.sg .intro { padding-top: 28px; }
.sg .breadcrumbs { margin-bottom: 18px; font-size: 14px; color: var(--mute); }
.sg .introgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.sg .eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.sg h1 { max-width: 15ch; margin: 14px 0 18px; font-family: var(--display); font-size: clamp(42px, 5vw, 68px); font-weight: 400; line-height: 1.02; letter-spacing: -0.045em; }
.sg h1 span { color: inherit; }
.sg .intro p { max-width: 60ch; margin: 0; font-size: 18px; line-height: 1.55; color: var(--sub); }
.sg .intro-aside { padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(36, 36, 38, 0.05), 0 30px 60px -40px rgba(60, 30, 140, 0.45); }
.sg .aside-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; }
.sg .mini-badge { padding: 4px 11px; border-radius: 999px; background: var(--lav); color: var(--deep); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.sg .intro-aside p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--sub); }

/* what are you setting up */
.sg .goalbar { display: flex; align-items: center; gap: 24px; margin-top: 44px; }
.sg .goal-label { flex: none; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--mute); white-space: nowrap; }
.sg .goals { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sg .goal { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 76px; padding: 14px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: left; color: var(--ink); transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.sg .goal:hover { box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.4); transform: translateY(-1px); }
.sg .goal.active { background: #f7f3ff; box-shadow: inset 0 0 0 2px var(--brand); }
.sg .goal-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); font-size: 18px; color: var(--deep); }
.sg .goal.active .goal-icon { background: var(--brand); color: #fff; }
.sg .goal strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.sg .goal small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.3; color: var(--mute); }

/* ---------------------------------------------------------------- workspace */
.sg .workspace { padding: 28px 0 0; }
.sg .workspace-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.sg .panel { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -32px rgba(30, 20, 70, 0.4); }

/* checklist */
.sg .leftpanel { position: sticky; top: 100px; padding: 18px; }
.sg .section-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 12px; font-size: 14px; font-weight: 600; }
.sg .count { font-size: 12.5px; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; }
.sg .progress { height: 6px; margin: 0 4px 16px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.sg .progress > i { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--brand); transition: width 0.3s ease; }
.sg .step-list { display: grid; gap: 4px; }
.sg .stepbtn { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-width: 0; padding: 10px; border: 0; border-radius: 14px; background: none; text-align: left; color: var(--sub); transition: background 0.2s ease; }
.sg .stepbtn:hover { background: var(--soft); }
.sg .stepbtn.active { background: #f7f3ff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.2); }
.sg .stepnum { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #dedde6; font-size: 13px; font-weight: 600; }
.sg .stepbtn.active .stepnum, .sg .stepbtn.done .stepnum { background: var(--brand); box-shadow: none; color: #fff; }
.sg .steptext strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.sg .steptext small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--mute); }
.sg .stepstate { font-size: 13px; font-weight: 600; color: var(--brand); }
.sg .leftfoot { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--soft); }
.sg .leftfoot strong { display: block; font-size: 14px; font-weight: 600; }
.sg .leftfoot p { margin: 6px 0 10px; font-size: 13px; line-height: 1.5; color: var(--sub); }
.sg .leftfoot a { font-size: 13.5px; font-weight: 500; color: var(--brand); }

/* the step */
.sg .mainpanel { min-width: 0; overflow: hidden; }
.sg .mainhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 28px 30px 24px; border-bottom: 1px solid var(--line); }
.sg .mainhead-left { min-width: 0; }
.sg .step-kicker { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--brand); }
.sg .mainhead h2 { margin-bottom: 10px; font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.sg .mainhead p { max-width: 62ch; margin: 0; font-size: 16px; line-height: 1.55; color: var(--sub); }
.sg .timepill { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 500; color: var(--sub); white-space: nowrap; }
.sg .stepbody { padding: 26px 30px 30px; }
.sg .pathnote { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; margin-bottom: 26px; padding: 16px 18px; border-radius: 18px; background: #f7f3ff; box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.14); }
.sg .pathnote .i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff; color: var(--brand); font-size: 15px; }
.sg .pathnote strong { display: block; font-size: 15px; font-weight: 600; }
.sg .pathnote p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: #4c3f78; }
.sg .action-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sg .action-head h3 { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: -0.03em; }
.sg .action-head span { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 12.5px; font-weight: 500; color: var(--sub); }
.sg .actions { display: grid; gap: 10px; }
.sg .action { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s ease; }
.sg .action:hover { box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.3); }
.sg .actionnum { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--lav); color: var(--deep); font-size: 13px; font-weight: 600; }
.sg .action h4 { margin: 2px 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sg .action p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--sub); }
.sg .action .path { display: inline-block; max-width: 100%; margin-top: 10px; padding: 6px 10px; border-radius: 9px; background: var(--soft); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; color: #4a4a50; overflow-wrap: anywhere; }
.sg .action a { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--brand); white-space: nowrap; }
.sg .action a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sg .tip { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--amber); }
.sg .tip .i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f0a51c; color: #fff; font-size: 13px; font-weight: 700; }
.sg .tip strong { display: block; font-size: 15px; font-weight: 600; color: #5b3d05; }
.sg .tip p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: #6b4a06; }
.sg .controlrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 30px; border-top: 1px solid var(--line); background: #fbfaff; }
.sg .donecheck { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--sub); cursor: pointer; }
.sg .donecheck input { width: 18px; height: 18px; accent-color: var(--brand); }
.sg .stepactions { display: flex; gap: 10px; align-items: center; }

/* side panel */
.sg .rightpanel { position: sticky; top: 100px; display: grid; gap: 14px; }
.sg .visualcard { overflow: hidden; }
.sg .visualhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.sg .visualhead strong { font-size: 14.5px; font-weight: 600; }
.sg .visualhead small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.sg .visualbody { padding: 16px; background: radial-gradient(80% 80% at 100% 0%, rgba(184, 155, 255, 0.28), rgba(184, 155, 255, 0) 60%), var(--soft); }
.sg .mockwindow { border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(36, 36, 38, 0.06), 0 16px 30px -22px rgba(30, 20, 70, 0.5); }
.sg .mocktop { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; background: #f6f5fa; border-bottom: 1px solid var(--line); }
.sg .m-dot { width: 7px; height: 7px; border-radius: 50%; background: #dcdbe3; }
.sg .mockcontent { padding: 14px; }
.sg .mock-title, .sg .mocktitle { margin-bottom: 10px; font-size: 11px !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute) !important; }
.sg .mockline { height: 8px; width: 100%; margin: 7px 0; border-radius: 4px; background: var(--soft); }
.sg .mockline.short { width: 55%; } .sg .mockline.mid { width: 76%; }
.sg .mockfield { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; padding: 9px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: #3a3a3d; }
.sg .mockfield b { font-weight: 600; }
.sg .mockfield.active { background: #f7f3ff; box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.35); color: var(--deep); }
.sg .mockbutton { margin-top: 10px; padding: 9px; border-radius: 9px; background: var(--dark); color: #fff; font-size: 12.5px; text-align: center; }
.sg .mockpill { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--lav); color: var(--deep); font-size: 11.5px; }
.sg .visualcaption { margin: 12px 2px 0; font-size: 13px; line-height: 1.5; color: var(--sub); }
.sg .wherecard { padding: 18px; }
.sg .wherecard h3 { margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.sg .wherecard > p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--sub); }
.sg .dest-list { display: grid; }
.sg .dest { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.sg .desticon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--soft); font-size: 13px; color: var(--deep); }
.sg .dest.active .desticon { background: var(--lav); }
.sg .dest strong { display: block; font-size: 14px; font-weight: 600; }
.sg .dest small { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.sg .dest.active strong { color: var(--deep); }
.sg .helpbox { padding: 22px 20px; border-radius: 22px; background: radial-gradient(120% 90% at 100% 0%, rgba(125, 64, 255, 0.5), rgba(125, 64, 255, 0) 60%), var(--dark); color: rgba(255, 255, 255, 0.72); }
.sg .helpbox .eyebrow { font-size: 11.5px; color: #c9b6ff; }
.sg .helpbox h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.sg .helpbox p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.sg .helpbox a { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.sg .trouble { border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sg .trouble summary { display: flex; justify-content: space-between; gap: 10px; padding: 16px 18px; list-style: none; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.sg .trouble summary::-webkit-details-marker { display: none; }
.sg .trouble summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--brand); }
.sg .trouble[open] summary::after { content: "\2212"; }
.sg .trouble-content { padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.sg .trouble-content p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--sub); }
.sg .trouble-content a { font-size: 13.5px; font-weight: 500; color: var(--brand); }

/* checklist complete */
.sg .finish { display: none; margin-top: 18px; padding: clamp(28px, 3.5vw, 44px); border-radius: 28px; color: rgba(255, 255, 255, 0.72); background: radial-gradient(60% 120% at 100% 0%, rgba(125, 64, 255, 0.55), rgba(125, 64, 255, 0) 60%), var(--dark); }
.sg .finish.show { display: block; }
.sg .finish .eyebrow { color: #c9b6ff !important; }
.sg .finish h3 { margin: 10px 0; font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 400; letter-spacing: -0.04em; color: #fff; }
.sg .finish p { max-width: 62ch; font-size: 15.5px; line-height: 1.55; }
.sg .finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.sg .finish-item { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.sg .finish-item strong { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.sg .finish-item span { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.5; }
.sg .finish .button.line { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }

/* the guide's own footer note */
.sg .footer { margin-top: 40px; }
.sg .footerrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-radius: 22px; background: var(--soft); }
.sg .footbrand { font-size: 15px; font-weight: 600; }
.sg .footer p { margin: 4px 0 0; font-size: 13.5px; color: var(--sub); }
.sg .footlinks { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.sg .footlinks a { font-weight: 500; color: var(--brand); }

/* toast */
.sg .toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; padding: 12px 18px; border-radius: 14px; background: var(--dark); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity 0.2s ease, transform 0.2s ease; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.sg .toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1100px) {
  .sg .introgrid { grid-template-columns: minmax(0, 1fr) 300px; }
  .sg .goalbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sg .goals { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg .workspace-grid { grid-template-columns: 230px minmax(0, 1fr); }
  .sg .rightpanel { position: static; grid-column: 2; grid-template-columns: 1fr 1fr; align-items: start; }
  .sg .visualcard { grid-row: span 2; }
}
@media (max-width: 760px) {
  .sg .container { width: calc(100% - 32px); }
  .sg-hero { padding-top: 108px; }
  .sg .introgrid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sg .intro p { font-size: 16.5px; }
  .sg .goal { min-height: 70px; padding: 12px; gap: 10px; }
  .sg .goal-icon { width: 34px; height: 34px; }
  .sg .goal strong { font-size: 14px; } .sg .goal small { font-size: 12px; }
  .sg .workspace-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sg .workspace-grid > * { min-width: 0; }
  .sg .leftpanel { position: static; padding: 12px; }
  .sg .step-list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
  .sg .stepbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 92px; padding: 10px; }
  .sg .steptext small, .sg .stepstate, .sg .leftfoot { display: none; }
  .sg .mainhead { flex-direction: column; padding: 22px 18px 18px; }
  .sg .stepbody { padding: 18px; }
  .sg .action { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .sg .actionnum { width: 30px; height: 30px; }
  .sg .action a { grid-column: 2; justify-self: start; }
  .sg .controlrow { flex-direction: column; align-items: stretch; padding: 16px 18px; }
  .sg .donecheck { order: 2; }
  .sg .stepactions .button { flex: 1; }
  .sg .rightpanel { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .sg .visualcard { grid-row: auto; }
  .sg .finish-grid { grid-template-columns: minmax(0, 1fr); }
  .sg .footerrow { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .sg * { transition: none !important; } }

/* Install: one section for every path, before "What are you setting up?" */
.sg .sg-install { margin-top: 44px; }
.sg .sg-install__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(60, 30, 140, 0.5); }
.sg .sg-install h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(30px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.04em; }
.sg .sg-install__d { max-width: 52ch; margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--sub); }
.sg .sg-install .timepill { display: inline-flex; }
.sg .sg-install .pathnote { margin: 20px 0 18px; }
.sg .sg-install__do .action-head { margin-top: 2px; }
.sg .sg-install.is-done .sg-install__in, .sg .sg-install__in.is-done { box-shadow: 0 0 0 1.5px rgba(47, 163, 90, 0.45), 0 30px 60px -44px rgba(60, 30, 140, 0.5); }
@media (max-width: 1100px) { .sg .sg-install__in { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 760px) { .sg .sg-install { margin-top: 28px; } .sg .sg-install__in { padding: 20px 18px; border-radius: 22px; } }
/* the install title and checkbox stay in view while its actions scroll past */
@media (min-width: 1101px) { .sg .sg-install__in { align-items: stretch; } .sg .sg-install__copy { position: sticky; top: 100px; align-self: start; } }

/* illustration polish (same content): window dots, status pills, a marker on the active row */
.sg .mocktop { gap: 6px; }
.sg .m-dot:nth-child(1) { background: #ff8f80; } .sg .m-dot:nth-child(2) { background: #ffd36b; } .sg .m-dot:nth-child(3) { background: #7fd68f; }
.sg .mock-title { letter-spacing: 0.1em; }
.sg .mockline { background: linear-gradient(90deg, #f1eff7 0%, #e9e6f3 50%, #f1eff7 100%); background-size: 200% 100%; animation: sg-shimmer 2.4s ease-in-out infinite; }
@keyframes sg-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sg .mockfield { position: relative; min-height: 34px; background: #fff; transition: box-shadow 0.2s ease; }
.sg .mockfield.active { padding-left: 14px; background: #f7f3ff; box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.3); font-weight: 500; }
.sg .mockfield.active::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.sg .mockfield b { padding: 2px 8px; border-radius: 999px; background: var(--soft); font-size: 11.5px; font-weight: 600; color: #3a3a3d; white-space: nowrap; }
.sg .mockfield b:is([class]), .sg .mockfield.active b { background: #fff; color: var(--deep); }
.sg .mockbutton { border-radius: 10px; background: var(--brand); font-weight: 600; box-shadow: 0 10px 20px -12px rgba(125, 64, 255, 0.9); }
.sg .mockpill { font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .sg .mockline { animation: none; } }
.sg .mockfield b.ok { background: #e7f6ec; color: #0c7a43; }

/* phones: the four checklist steps share the row instead of scrolling off the edge */
@media (max-width: 760px) {
  .sg .step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .sg .step-list .stepbtn { min-width: 0; padding: 8px 6px; align-items: center; text-align: center; }
  .sg .step-list .stepbtn > * { max-width: 100%; }
}
@media (max-width: 760px) { .sg .step-list .steptext strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* portrait tablets (761–900): the checklist runs as one row of four steps above the step, so the
   step and its two preview cards get the full width instead of a squeezed column */
@media (min-width: 761px) and (max-width: 900px) {
  .sg .workspace-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sg .workspace-grid > * { min-width: 0; }
  .sg .leftpanel { position: static; padding: 14px; }
  .sg .step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sg .step-list .stepbtn { grid-template-columns: 30px minmax(0, 1fr); min-width: 0; padding: 10px; }
  .sg .step-list .stepstate { display: none; }
  .sg .leftfoot { display: none; }
  .sg .rightpanel { grid-column: auto; grid-template-columns: 1fr 1fr; }
}

/* hero: the same dark rounded card as every other inner page (breadcrumb 40px from the card top,
   white type, the plain eyebrow pill); the setup-path card stays white on top of it */
.sg .sg-hero { position: relative; margin: 86px 30px 0; padding: 40px 0 100px; border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(50% 70% at 82% 30%, rgba(125, 64, 255, 0.42), rgba(125, 64, 255, 0) 65%), radial-gradient(45% 60% at 10% 115%, rgba(125, 64, 255, 0.24), rgba(125, 64, 255, 0) 70%), #111312; }
.sg .sg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(55% 70% at 75% 45%, #000, transparent 75%); mask-image: radial-gradient(55% 70% at 75% 45%, #000, transparent 75%); }
.sg .sg-hero .intro { padding-top: 0; }
.sg .sg-hero .intro .crumb { margin-bottom: 72px !important; }
.sg .sg-hero h1 { color: #fff; }
.sg .sg-hero .intro-aside { color: var(--ink); }
.sg .sg-hero .introgrid > div > p:not(.hero__new) { color: rgba(255, 255, 255, 0.62); }
@media (max-width: 1100px) { .sg .sg-hero { padding-bottom: 88px; } }
@media (max-width: 760px) {
  .sg .sg-hero { margin: 72px 12px 0; padding: 28px 0 72px; border-radius: 22px; }
  .sg .sg-hero .intro .crumb { margin-bottom: 48px !important; }
}
/* the install step and the goal picker sit below the hero card, one section gap away */
.sg .sg-pick .sg-install { margin-top: 0; }

/* phones: Back takes its own width and "Mark done & continue" the rest, on one line */
@media (max-width: 760px) {
  .sg .stepactions .button { flex: 0 0 auto; padding-inline: 16px; }
  .sg .stepactions #nextBtn { flex: 1 1 auto; white-space: nowrap; }
}
