/* Additive auto-builder controls: no changes to existing Manual/Research/Workbench styling. */
#builder .ppb-auto-tools{border:1px solid #465163;background:#111923;border-radius:9px;padding:13px;margin:10px 0 19px;display:grid;gap:10px}
#builder .ppb-auto-header{display:flex;justify-content:space-between;gap:12px;align-items:center}
#builder .ppb-auto-header b{color:#edf1f6;font-size:15px;font-weight:780}
#builder .ppb-auto-header p{color:#aab5c2;font-size:11px;margin:4px 0 0;line-height:1.4}
#builder .ppb-auto-header button{background:#612537;color:#fff;border:1px solid #b43e57;border-radius:6px;min-height:37px;white-space:nowrap}
#builder .ppb-auto-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#builder .ppb-auto-row label{color:#afbbca;font-size:10px;font-weight:740;display:grid;gap:5px}
#builder .ppb-auto-row select{min-width:0;width:100%;min-height:36px;padding:7px 8px;color:#eef0f3;border-radius:6px;border:1px solid #465261;background:#0d131d;font-family:inherit;font-size:12px}
#builder .ppb-auto-advanced{color:#aeb9c8}
#builder .ppb-auto-advanced>summary{cursor:pointer;font-size:11px;font-weight:760;padding:5px 0}
#builder .ppb-auto-advanced .ppb-auto-row{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0}
#builder .ppb-auto-advanced p,#builder .ppb-auto-tools>.ppb-muted{margin:0}
#builder .ppb-auto-message{border-left:2px solid #c74e68;padding:8px 10px;color:#f1c8d1;background:#29202a;font-size:11px;line-height:1.5;margin:0}
@media(max-width:620px){
 #builder .ppb-auto-header{align-items:stretch;flex-wrap:wrap}
 #builder .ppb-auto-header button{width:100%}
 #builder .ppb-auto-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 #builder .ppb-auto-advanced .ppb-auto-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Payout goal is now an explicit primary setting on large and small screens. */
@media(min-width:1001px){#builder .ppb-auto-tools>.ppb-auto-row{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:621px) and (max-width:1000px){#builder .ppb-auto-tools>.ppb-auto-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
