.wld-wrap{max-width:1200px;margin:0 auto;color:#142b4d}.wld-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.wld-head h2{margin:0;font-size:25px}.wld-head p,.wld-note{color:#667c9c;font-size:13px;line-height:1.55}.wld-panel{background:white;border:1px solid #d8e2f0;border-radius:12px;padding:18px;margin-bottom:14px}.wld-toolbar,.wld-form,.wld-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.wld-toolbar label,.wld-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;flex:1;min-width:160px}.wld-wrap button{background:#f5f8fc;border:1px solid #d4dfef;color:#142b4d;border-radius:8px;padding:10px 12px;font-weight:600;cursor:pointer}.wld-wrap button:hover{background:#e8eff9}.wld-wrap button:disabled{opacity:.4;cursor:not-allowed}.wld-wrap input,.wld-wrap select{border:1px solid #cbd8ea;border-radius:8px;padding:10px;background:white;color:#142b4d;max-width:100%}.wld-form button,.wld-toolbar #wldNewGroup{background:#142b4d;color:white}.wld-title{display:flex;align-items:center;justify-content:space-between}.wld-title h3{margin:0 0 14px}.wld-list{margin-top:14px}.wld-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e6edf6}.wld-item>div:first-child{min-width:160px}.wld-item strong{display:block}.wld-item small{display:block;color:#667c9c;font-size:11px;margin-top:5px}.wld-actions button{font-size:12px;padding:8px 10px}#wldMessage{color:#b42318}@media(max-width:700px){.wld-head,.wld-item{align-items:stretch;flex-direction:column}.wld-actions{gap:6px}.wld-actions button{flex:1}.wld-panel{padding:12px}.wld-head h2{font-size:21px}}
/* Consolidated administration polish: preserve existing controls and behavior. */
.wld-wrap{max-width:1250px}.wld-head{padding:5px 0 3px}.wld-head h2{font-size:27px;letter-spacing:-.4px}.wld-panel{border-radius:14px;padding:22px;box-shadow:0 1px 2px rgba(20,43,77,.025)}.wld-toolbar{align-items:end;gap:12px}.wld-toolbar label{flex:1 1 320px}.wld-form{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(190px,1fr) auto;gap:12px;align-items:end}.wld-form label{min-width:0}.wld-form button{min-height:43px}.wld-wrap input,.wld-wrap select{width:100%;min-height:43px}.wld-toolbar button{min-height:43px}.wld-title{gap:12px}.wld-title span{font-size:12px;color:#617795;background:#f0f4f9;padding:7px 11px;border-radius:30px}.wld-item{padding:13px 0}.wld-actions{justify-content:flex-end}.wld-actions button{white-space:nowrap}.wld-note{margin:12px 0 4px}@media(max-width:1050px){.wld-form{grid-template-columns:repeat(2,minmax(0,1fr))}.wld-form button{justify-self:start}}@media(max-width:700px){.wld-form{grid-template-columns:1fr}.wld-toolbar label{flex:1 1 100%}.wld-toolbar button{flex:1}.wld-actions{justify-content:flex-start}}

/* Lead Settings UI: management-only layout */
.wld-wrap{max-width:1240px;margin:0 auto;padding:4px 0 28px}.wld-head{margin-bottom:16px}.wld-head h2{font-size:clamp(22px,2.3vw,28px);line-height:1.2}.wld-subtitle{display:block;color:#617795;font-size:13px;margin-top:5px}.wld-panel{padding:20px 22px}.wld-toolbar{display:flex;align-items:end;gap:12px}.wld-toolbar label{min-width:0;flex:1}.wld-title h3{margin:0}.wld-list{margin-top:12px}.wld-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}.wld-item-label{display:flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}.wld-item-label strong{font-size:14px;line-height:1.4}.wld-inactive{font-size:11px;border-radius:99px;background:#fff0e5;color:#8e450e;padding:3px 7px}.wld-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.wld-actions button{min-height:38px}.wld-actions button[data-op="up"],.wld-actions button[data-op="down"]{min-width:38px;padding:8px}.wld-wrap button:focus-visible,.wld-wrap select:focus-visible{outline:2px solid #2676d4;outline-offset:2px}#wldMessage:empty{display:none}@media(max-width:700px){.wld-wrap{padding:0 2px 22px}.wld-head{flex-direction:row;align-items:center}.wld-head h2{font-size:22px}.wld-head button{flex-shrink:0}.wld-panel{padding:14px}.wld-toolbar{flex-direction:column;align-items:stretch}.wld-toolbar label,.wld-toolbar button{width:100%;flex:none}.wld-title{align-items:center}.wld-item{flex-direction:column;align-items:stretch;gap:10px}.wld-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px;gap:6px}.wld-actions button{padding:8px 5px;font-size:12px;white-space:nowrap}.wld-actions button[data-op="up"],.wld-actions button[data-op="down"]{min-width:0}}

/* Responsive Add Option alignment — scoped to Lead Settings only. */
.wld-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wld-title h3{margin:0}
.wld-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.wld-title-actions #wldAddOption{min-height:39px;white-space:nowrap}
.wld-add-panel[hidden]{display:none!important}
.wld-add-panel{margin-top:14px;padding:14px 16px;border:1px solid #d8e2f0;border-radius:10px;background:#f8fafd}
.wld-inline-add{display:block;margin:0;max-width:100%}
.wld-add-label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}
.wld-add-controls{display:flex;align-items:center;gap:10px;min-width:0}
.wld-add-controls input{flex:1 1 auto;min-width:0;width:auto;max-width:none;min-height:42px}
.wld-add-buttons{display:flex;gap:8px;flex:0 0 auto}
.wld-add-buttons button{min-height:42px;white-space:nowrap}
.wld-add-buttons button[type=submit]{background:var(--theme-primary,var(--primary,#142b4d));color:#fff;border-color:var(--theme-primary,var(--primary,#142b4d))}
@media(max-width:700px){
 .wld-title{align-items:stretch;flex-direction:column;gap:10px}
 .wld-title-actions{width:100%;display:grid;grid-template-columns:1fr;justify-items:stretch;gap:9px}
 .wld-title-actions span{justify-self:start}
 .wld-title-actions #wldAddOption{width:100%}
 .wld-add-panel{padding:12px;margin-top:10px}
 .wld-add-controls{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .wld-add-controls input{width:100%;flex:none}
 .wld-add-buttons{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 .wld-add-buttons button{min-width:0;width:100%;padding:9px 6px}
 .wld-item .wld-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px}
}
