.smg-lc{--blue:#0976D6;--pink:#C4238E;--ink:#222529;--muted:#5F6670;--line:#D5DCE3;--gapbg:#FCF2F8;--gapline:#E3A6CB;
  container-type:inline-size;font-family:inherit;color:var(--ink);background:#F4F6F8;border-radius:16px;padding:32px 24px 28px;box-sizing:border-box}
.smg-lc *{box-sizing:border-box}
.smg-lc ol{list-style:none;margin:0;padding:0}
.smg-lc p{margin:0;padding:0}
.smg-lc__track{display:grid;grid-template-columns:1fr 1fr 3fr 1fr;gap:0 8px;position:relative}
.smg-lc__track::before{content:"";position:absolute;left:8%;right:8%;top:92px;height:2px;background:var(--line);z-index:0}
.smg-lc__gap{position:relative;border:2px dashed var(--gapline);background:var(--gapbg);border-radius:14px;padding:0 4px 18px;margin-top:-12px}
.smg-lc__gap-head{height:76px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding-top:12px}
.smg-lc__gap-kicker{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--pink);line-height:1.2}
.smg-lc__gap-title{font-size:15px;font-weight:600;color:var(--ink);line-height:1.3;margin-top:4px}
.smg-lc__gap ol{display:grid;grid-template-columns:repeat(3,1fr);gap:0 8px}
.smg-lc__stage{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 4px}
.smg-lc__tag{height:64px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;padding-bottom:10px;font-size:14px;font-weight:600;color:var(--ink);line-height:1.2}
.smg-lc__tag--quiet{color:var(--muted);font-weight:400}
.smg-lc__gap .smg-lc__tag{display:none}
.smg-lc__badge{display:inline-flex;align-items:center;gap:4px;background:var(--blue);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:4px 10px;line-height:1}
.smg-lc__badge svg{width:11px;height:11px}
.smg-lc__icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:2px dashed #B8C2CC;color:#5F6670;flex:none}
.smg-lc__stage--measured .smg-lc__icon{background:var(--blue);border:2px solid var(--blue);color:#fff}
.smg-lc__icon svg{width:26px;height:26px}
.smg-lc__num{margin-top:12px !important;font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--muted)}
.smg-lc__stage--measured .smg-lc__num{color:var(--blue)}
.smg-lc__name{margin-top:2px !important;font-size:21px;font-weight:700;line-height:1.2;color:var(--ink)}
.smg-lc__q{margin-top:6px !important;font-size:14px;line-height:1.4;color:var(--muted);max-width:18ch}
.smg-lc__legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;margin-top:24px;font-size:14px;color:var(--muted);line-height:1.4}
.smg-lc__legend span{display:inline-flex;align-items:center;gap:8px}
.smg-lc__dot{width:14px;height:14px;border-radius:50%;background:var(--blue);display:inline-block;flex:none}
.smg-lc__dot--gap{background:var(--gapbg);border:2px dashed var(--gapline)}

/* Narrow: vertical timeline */
@container (max-width: 820px){
  .smg-lc__track{display:flex;flex-direction:column;gap:0}
  .smg-lc__track::before{left:27px;right:auto;top:28px;bottom:28px;width:2px;height:auto}
  .smg-lc__gap{margin:8px -10px;padding:14px 10px 4px}
  .smg-lc__gap-head{height:auto;align-items:flex-start;text-align:left;padding:0 0 10px 68px}
  .smg-lc__gap ol{display:flex;flex-direction:column}
  .smg-lc__stage{display:grid;grid-template-columns:56px 1fr;column-gap:14px;align-items:start;text-align:left;padding:10px 0}
  .smg-lc__icon{grid-column:1;grid-row:1 / span 4}
  .smg-lc__tag{grid-column:2;height:auto;flex-direction:row;justify-content:flex-start;padding:0;font-size:13px;flex-wrap:wrap}
  .smg-lc__tag:empty{display:none}
  .smg-lc__num{grid-column:2;margin-top:4px !important}
  .smg-lc__name{grid-column:2;font-size:19px}
  .smg-lc__q{grid-column:2;max-width:none}
  .smg-lc__legend{justify-content:flex-start}
}
/* Fallback for browsers without container queries */
@supports not (container-type:inline-size){
  @media (max-width: 860px){
    .smg-lc__track{display:flex;flex-direction:column}
    .smg-lc__track::before{left:27px;right:auto;top:28px;bottom:28px;width:2px;height:auto}
    .smg-lc__gap ol{display:flex;flex-direction:column}
    .smg-lc__gap-head{height:auto;align-items:flex-start;text-align:left;padding:0 0 10px 68px}
    .smg-lc__stage{display:grid;grid-template-columns:56px 1fr;column-gap:14px;text-align:left;padding:10px 0}
    .smg-lc__icon{grid-row:1 / span 4}
    .smg-lc__tag{height:auto;flex-direction:row;justify-content:flex-start;padding:0}
  }
}