/* V9-35b: existing production typography and tokens; numbered chambers keep the estimate scanable. */
.auto-build{margin-bottom:var(--space-section);min-width:0}
.auto-build .auto-build-status:empty{display:none}
.auto-build-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3);margin:0}
.auto-build-summary>div{padding:var(--space-3);background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-control)}
.auto-build-summary dt{color:var(--muted);font-size:var(--text-sm)}
.auto-build-summary dd{margin:var(--space-1) 0 0;font-size:var(--text-2xl);font-weight:650;font-variant-numeric:tabular-nums}
.auto-build-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:var(--space-3)}
.auto-build-card{padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius);min-width:0;background:var(--surface)}
.auto-build-card>.cluster{margin-bottom:var(--space-3)}
.auto-build :is(h3,p,a,dt){overflow-wrap:anywhere}
.auto-build-parts{list-style:none;margin:0;padding:0}
.auto-build-parts>li{display:flex;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--line-soft);min-width:0}
.auto-build-parts>li>:first-child{min-width:0;overflow-wrap:anywhere}
.auto-build-parts>li>strong{flex-shrink:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.auto-build-parts p{margin:var(--space-1) 0 0}
.auto-build-card>.muted:last-child{margin:var(--space-2) 0 0}
.auto-build-remainder summary{padding:var(--space-2) 0;cursor:pointer;font-weight:600}
.auto-build-confirm{padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius);background:var(--accent-soft)}
.auto-build-actions:empty{display:none}
@media(max-width:600px){
 .auto-build-summary{gap:var(--space-2)}
 .auto-build-summary>div{padding:var(--space-2)}
 .auto-build-actions>.btn,.auto-build-confirm .btn{flex:1 1 100%;min-height:44px;white-space:normal}
 .auto-build .panel-head{align-items:flex-start;padding-block:var(--space-2)}
}
/* V9-36b (w9-davky-web-5): the optional source builds of the fill; the list wraps to one column on a phone. */
.auto-fill-sources{margin:0;padding:0;border:0;min-width:0}
.auto-fill-sources legend{padding:0;font-weight:600}
.auto-fill-source-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:var(--space-2)}
.auto-fill-source-list label{display:flex;align-items:flex-start;gap:var(--space-2);min-width:0;overflow-wrap:anywhere}
.auto-fill-source-list input{flex-shrink:0;margin-top:2px}
