/* Beta 32: scoped task-first campaign activation, responsive payment selection.
 * Shared through normal WordPress enqueue on the public/contractor and admin screens. */
.bml32-campaigns{width:100%;max-width:1200px;margin:0 auto;color:#17374b}
.bml32-campaigns *, .bml32-campaigns *::before,.bml32-campaigns *::after{box-sizing:border-box}
.bml32-heading{margin-bottom:18px}
.bml32-heading h1{font-size:clamp(24px,2.4vw,32px);font-weight:780;line-height:1.2;color:#0e2e43;margin:6px 0}
.bml32-heading p{max-width:780px;color:#60778a;font-size:14px;line-height:1.5;margin:6px 0 0}
.bml32-launch-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0 18px}
.bml32-launch-steps>span{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #dce7eb;background:#fff;border-radius:11px;padding:11px 12px;color:#264457;font-size:13px;font-weight:650}
.bml32-launch-steps b{display:inline-flex;flex:0 0 24px;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:#e7f7ee;color:#067c4a;font-weight:800}
.bml32-campaign-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,0.8fr);gap:14px;align-items:start;margin-bottom:14px}
.bml32-campaigns .bmlbo-panel{padding:18px 20px;border:1px solid #dce7eb;border-radius:12px;background:#fff;min-width:0}
.bml32-campaigns h2{font-size:17px!important;font-weight:750;color:#143348;margin:0 0 6px}
.bml32-campaigns .bml32-muted{font-size:13px!important;line-height:1.6;color:#607789;margin:5px 0 12px}
.bml32-action-form{display:flex;flex-direction:column;gap:13px}
.bml32-action-form label:not(.bml32-check){display:flex;flex-direction:column;gap:6px;color:#193b4e;font-size:13px;font-weight:750}
.bml32-action-form select{width:100%!important;max-width:none!important;min-height:44px!important;box-sizing:border-box;border-radius:9px;border:1px solid #cbdde6;padding:9px 11px;color:#173c50;background:#fff;font:inherit;font-size:14px}
.bml32-extra{border:1px solid #dce7eb;background:#f8fbfa;padding:10px 13px;border-radius:10px}
.bml32-extra summary{cursor:pointer;color:#16633f;font-size:13px;font-weight:740}
.bml32-check{display:flex!important;align-items:flex-start;gap:8px;font-weight:500!important;font-size:13px!important;color:#263e4f!important;line-height:1.5;padding:4px 0}
.bml32-check input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px!important;min-height:18px!important;max-width:18px!important;margin:1px 0 0;accent-color:#008a4f;appearance:auto}
.bml32-source-links{display:flex;flex-direction:column;gap:7px}
.bml32-source-links a{display:block;background:#f2f8f6;border:1px solid #dcebe3;border-radius:9px;padding:11px 12px;font-size:13px;font-weight:700;color:#006f45;text-decoration:none}
.bml32-source-links a:hover{background:#e7f6ed}
.bml32-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;flex-wrap:wrap}
.bml32-campaign-list{display:grid;gap:10px}
.bml32-campaign-item{border:1px solid #d9e5eb;border-radius:11px;padding:14px;background:#fcfefe}
.bml32-campaign-item strong{font-size:14px;color:#183b4f;display:block}
.bml32-campaign-item small{display:block;margin-top:4px;font-size:12px;color:#60778a}
.bml32-state{font-size:12px;font-weight:750;border-radius:999px;padding:6px 10px;background:#fff4da;color:#825a12;white-space:nowrap}
.bml32-state.live,.bml32-state.ready{background:#e8f8ec;color:#117e49}
.bml32-checks{margin:9px 0;padding:7px 11px;background:#fff9ed;border-radius:9px;color:#754e23;font-size:13px}
.bml32-checks summary{cursor:pointer;font-weight:700}
.bml32-checks li{line-height:1.6;margin:5px 0}
.bml32-inline-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:10px}
.bml32-inline-actions form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.bml32-inline-actions .bmlbo-button,.bml32-action-form .bmlbo-button{min-height:40px;font-size:13px;font-weight:700}
.bml32-empty{border-radius:10px;padding:24px;background:#f7fafb;border:1px dashed #d2e1e5;text-align:center;color:#5b7280;font-size:14px}

/* Payment method form: the same markup appears in hosted setup and the logged-in contractor portal. */
.bml17-compact-payment,.bml17-compact-payment *{box-sizing:border-box}
.bml17-compact-payment .bml17-payment-form{width:100%;min-width:0;max-width:100%}
.bml17-compact-payment .bml17-methods{border:0!important;min-width:0;padding:0!important;margin:12px 0 8px!important;max-width:100%}
.bml17-compact-payment .bml17-methods legend{font-size:16px!important;font-weight:760!important;color:#12374d!important;margin:0 0 11px;padding:0}
.bml17-compact-payment .bml17-method-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:14px!important;margin:10px 0!important;border:1px solid #d4e3e9!important;border-radius:13px!important;background:#fff!important;cursor:pointer;line-height:1.4!important}
.bml17-compact-payment .bml17-method-row.is-selected{border-color:#00a05e!important;background:#f0faf4!important;box-shadow:0 0 0 1px #00a05e26}
.bml17-compact-payment .bml17-method-row input[type=radio]{display:block!important;appearance:auto!important;accent-color:#008f53!important;position:static!important;width:20px!important;height:20px!important;max-width:20px!important;min-height:20px!important;margin:0!important;flex:none!important}
.bml17-compact-payment .bml17-method-copy{min-width:0!important;max-width:100%!important;flex:1!important}
.bml17-compact-payment .bml17-method-copy strong{display:block!important;font-size:14px!important;line-height:1.35!important;color:#14384d!important;white-space:normal!important}
.bml17-compact-payment .bml17-method-copy small{display:block!important;font-size:12px!important;color:#587083!important;font-weight:450!important;line-height:1.5!important;margin:4px 0 0!important}
.bml17-compact-payment .bml17-method-rate{text-align:right!important;white-space:normal!important;max-width:130px!important;min-width:0!important;font-size:15px!important;font-weight:800!important;color:#153e4d!important;line-height:1.35!important}
.bml17-compact-payment .bml17-method-rate small{display:block!important;font-size:11px!important;line-height:1.5!important;color:#5b7384!important;font-weight:450!important}
.bml17-compact-payment .bml17-payment-summary{display:grid;gap:8px;background:#f3f8fa!important;border-radius:11px!important;padding:13px!important;margin-top:13px!important}
.bml17-compact-payment .bml17-payment-summary>div{display:flex!important;justify-content:space-between!important;align-items:start!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important;font-size:13px!important}
.bml17-compact-payment .bml17-payment-summary strong{color:#14384d;text-align:right;word-break:normal}
.bml17-compact-payment .bml17-payment-disclosure,.bml17-compact-payment .bml17-security{font-size:13px!important;line-height:1.55!important;color:#536d7e!important;margin:12px 0!important}
.bml17-compact-payment .bml17-authorization{display:block;min-width:0;margin:13px 0;font-size:13px}
.bml17-compact-payment .bml17-authorization summary{cursor:pointer;font-weight:750!important;font-size:13px!important;padding:8px 0!important;color:#0a764b!important}
.bml17-compact-payment .bml17-authorization>div{border:1px solid #dce5ec;border-radius:9px;background:#f8fafb;padding:12px;max-height:160px;overflow-y:auto;line-height:1.55}
.bml17-compact-payment .bml17-authorization-check{display:flex!important;align-items:flex-start!important;gap:9px!important;margin:14px 0!important;color:#254051!important;line-height:1.5!important;font-size:13px!important}
.bml17-compact-payment .bml17-authorization-check input[type=checkbox],.bml17-compact-payment .bml31-restart input[type=checkbox]{flex:0 0 18px;appearance:auto!important;accent-color:#009558!important;width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0!important}
.bml17-compact-payment .bml17-primary-pay{display:block!important;width:100%!important;min-height:46px!important;border-radius:10px!important;background:#009a56!important;color:#fff!important;font-weight:750!important;font-size:14px!important;line-height:1.4!important;cursor:pointer;margin:8px 0!important;padding:12px 14px!important}
.bml17-compact-payment .bml17-primary-pay:hover{background:#008049!important}
.bml32-replace-payment{padding:13px 0;margin-top:12px;border-top:1px solid #dce8ed;min-width:0}
.bml32-replace-payment>summary{display:inline-flex;align-items:center;padding:12px 16px!important;border:1px solid #bed8cd;border-radius:10px!important;background:#f0f9f4;font-size:14px!important;color:#006d44;font-weight:750;cursor:pointer;min-height:44px}
.bml32-replace-payment[open]>summary{margin-bottom:14px}
.bml32-replace-payment .bml32-muted{color:#536b7d;font-size:13px;line-height:1.55}
.bml-pay-panel{min-width:0}
.bml-pay-panel .bml32-intro,.bml-pay-panel .bml32-payment-notice{color:#526b7b;font-size:14px;line-height:1.55;max-width:660px}
.bml-pay-panel .bml32-payment-notice{border:1px solid #ead9af;border-radius:10px;padding:11px 13px;background:#fffaf0}
.bml-pay-panel .bml-pay-method{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;padding:15px;border-radius:11px}
.bml-pay-panel .bml-pay-method strong{font-size:14px}
.bml-pay-panel .bml-pay-method span{font-size:12px;color:#276a51}
.bml-pay-panel .bml-pay-success-next{background:#effaf4;border:1px solid #cce7da;border-radius:11px;padding:13px 15px;margin-bottom:14px}
.bml-pay-panel .bml-pay-success-next strong{color:#126543;font-size:14px}
.bml-pay-panel .bml-pay-success-next p{font-size:13px;color:#3a5d52;line-height:1.5;margin:6px 0 0}
@media(max-width:860px){.bml32-launch-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.bml32-campaign-grid{grid-template-columns:1fr}}
@media(max-width:600px){
 .bml32-campaigns .bmlbo-panel{padding:15px}
 .bml32-launch-steps{grid-template-columns:1fr 1fr;gap:7px}
 .bml32-launch-steps>span{font-size:12px;padding:9px}
 .bml32-inline-actions{align-items:stretch;flex-direction:column}
 .bml32-inline-actions>*{width:100%}
 .bml32-inline-actions form{flex-direction:column;align-items:stretch}
 .bml32-inline-actions .bmlbo-button{display:block;width:100%;text-align:center}
 .bml-workspace .bml17-compact-payment .bml17-method-row,.bml17-compact-payment .bml17-method-row{grid-template-columns:22px minmax(0,1fr)!important;gap:9px!important;padding:12px!important}
 .bml17-compact-payment .bml17-method-rate{grid-column:2;text-align:left!important;max-width:none!important;font-size:14px!important}
 .bml17-compact-payment .bml17-method-rate small{display:inline!important;margin-left:4px}
 .bml17-compact-payment .bml17-payment-summary>div{display:grid!important;grid-template-columns:1fr auto;gap:7px}
 .bml32-replace-payment>summary{width:100%;justify-content:center}
 .bml-workspace .bml-pay-panel{padding-bottom:max(25px,env(safe-area-inset-bottom))}
}
