/* Compact controls retain V1's existing header flow and responsive positions. */
.topbar .topinner .guide-controls .guide-label{display:none}
.guide-controls{gap:10px;align-items:center}
.header-github{font-size:.875rem;font-weight:700;color:var(--ink)}
.language-meta{gap:10px}
.site-updated{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.75rem;color:var(--muted)}
/* Shared dark dotted surface for the three-loop graphics. */
:is(.framework-orbit,.home-cycle,.core-model,.loop-canvas,.scale-map){
 background-color:#122238;
 background-image:radial-gradient(#35455b .8px,transparent .9px);
 background-size:14px 14px;
}
/* Readable step descriptions and a scannable definition list. */
.framework-step>.framework-step-body{padding:22px 24px;background:var(--white)}
.framework-description{max-width:82ch;font-size:1rem;line-height:1.75}
.framework-description p{margin:0 0 16px;line-height:1.75}
.framework-step>.framework-step-body>dl{gap:0;margin:24px 0;border-block:1px solid var(--line)}
.framework-step-body>dl>div{padding:16px 18px;border-bottom:1px solid var(--line);min-width:0}
.framework-step-body>dl>div:nth-last-child(-n+2){border-bottom:0}
.framework-step-body>dl>div:nth-child(odd){border-right:1px solid var(--line)}
.framework-step-body dt{font-size:.75rem;line-height:1.5}
.framework-step-body dd{font-size:.95rem;line-height:1.65;margin-top:7px}
.framework-step-body .framework-related{line-height:1.9}
/* One shared explorer layout for all 22 steps. */
.workspace.loop-workspace{display:flex;flex-direction:column}
#loop-detail{padding:28px;--context-surface:#f7f9fd;background:var(--white)}
.step-overview .subline{margin:12px 0 0}
.step-content,.step-context{min-width:0}
.step-body{line-height:1.75;font-size:1rem}
.step-body p{margin:0 0 17px;line-height:1.75}
.step-title{margin:0 0 18px;align-items:baseline}
.step-title h3{line-height:1.4}
.step-context{background:var(--context-surface);padding:20px;border:1px solid var(--line);border-radius:10px}
.step-context .step-roles{background:none;border:0;margin:0;padding:0}
.step-context .step-roles h4{font-size:.95rem;line-height:1.5;margin:0 0 18px}
.step-context .disclosure-body{padding:0}
.step-context .responsibility{display:grid;grid-template-columns:1fr;gap:16px;padding:0;border:0}
.step-context .responsibility p{margin:7px 0 0;line-height:1.65}
.step-context .field-label{font-size:.75rem;letter-spacing:.06em}
.step-context .evidence{margin:20px 0;padding:20px 0;background:none;border:0;border-block:1px solid var(--line);display:grid;gap:18px}
.step-context .evidence p{margin:7px 0 0;line-height:1.65}
.step-context .step-appointments{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0 0 18px}
.step-context .step-appointments>summary{padding:0 0 16px;line-height:1.5}
.step-context .step-appointments .step-meetings{padding:0 0 16px;display:flex;flex-wrap:wrap;gap:10px}
.step-context :is(.loop-feedback-note,.cart-example-link){margin:14px 0 0;font-size:.875rem;line-height:1.65}
.step-context .loop-feedback-note{background:none;border:0;padding:0}
.step-content .explorer-relationships{grid-template-columns:1fr}
#loop-detail>.panel-foot{margin:0;padding-top:20px}
html[data-theme=dark] #loop-detail{--context-surface:#101b2c;background:var(--surface)}
html[data-theme=dark] .framework-step>.framework-step-body{background:var(--surface)}
html[data-theme=dark] .step-context :is(.step-roles,.evidence,.step-appointments,.loop-feedback-note){background:none}
@media(min-width:1100px){
 #loop-detail{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(320px,1.75fr) minmax(230px,1fr);gap:26px;align-items:start}
 #loop-detail>.step-overview,#loop-detail>.panel-foot{grid-column:1/-1}
 #loop-detail>.step-navigation{grid-column:1;margin:0}
 #loop-detail>.step-content{grid-column:2}
 #loop-detail>.step-context{grid-column:3}
 #loop-detail .step-list{display:grid;grid-template-columns:1fr;gap:5px;padding:10px}
 #loop-detail .step-list button{display:flex;align-items:baseline;gap:9px;width:100%;text-align:left;padding:10px}
 #loop-detail .step-list button strong{font-size:.875rem;line-height:1.45}
}
@media(max-width:1099px){
 #loop-detail{display:grid;gap:24px}
 #loop-detail .step-navigation{margin:0}
}
@media(max-width:620px){
 #loop-detail{padding:20px}
 .framework-step>.framework-step-body{padding:18px}
 .framework-step-body>dl>div:nth-child(odd){border-right:0}
 .framework-step-body>dl>div:nth-last-child(2){border-bottom:1px solid var(--line)}
 .step-context{padding:18px}
}
#loop-detail .step-context .evidence{box-shadow:none;border-radius:0}
