.custom-plan-host{display:block!important;max-width:980px!important}
.custom-plan-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);border:1px solid #dbe4ef;border-radius:8px;background:#fff;box-shadow:0 18px 50px -34px rgba(15,23,42,.35);overflow:hidden}
.custom-plan-copy{padding:2rem}
.custom-plan-aside{padding:2rem;background:#0f172a;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:1.5rem}
.custom-plan-kicker{font-size:.72rem;font-weight:800;text-transform:uppercase;color:#2563eb;letter-spacing:0}
.custom-plan-title{font-size:1.65rem;line-height:1.2;font-weight:800;color:#0f172a;margin-top:.4rem}
.custom-plan-description{color:#64748b;line-height:1.65;margin-top:.75rem}
.custom-plan-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;margin-top:1.35rem;color:#334155;font-size:.9rem}
.custom-plan-points span{display:flex;align-items:flex-start;gap:.55rem}
.custom-plan-points i{color:#10b981;margin-top:.18rem}
.custom-plan-action{min-height:48px;border-radius:8px;background:#2563eb;color:#fff;font-weight:800;width:100%;transition:background .15s ease}
.custom-plan-action:hover{background:#1d4ed8}
.custom-builder{display:grid;gap:1rem}
.custom-builder-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.custom-builder-group{border-top:1px solid #dbe4ef;padding-top:1rem}
.custom-builder-group:first-of-type{border-top:0;padding-top:0}
.custom-builder-group-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.65rem}
.custom-builder-group-title{font-size:.78rem;font-weight:800;color:#334155;text-transform:uppercase;margin:0}
.custom-cedia-label{display:inline-flex;align-items:center;gap:.35rem;margin-top:.3rem;color:#64748b;font-size:.66rem;font-weight:700}
.custom-group-select{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:36px;padding:.45rem .7rem;border:1px solid #93c5fd;border-radius:8px;background:#fff;color:#1d4ed8;font-size:.72rem;font-weight:800}
.custom-group-select:hover{background:#eff6ff}
.custom-group-reward{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.65rem;padding:.55rem .7rem;border:1px dashed #f59e0b;border-radius:8px;background:#fffbeb;color:#92400e}
.custom-group-reward span{display:flex;align-items:center;gap:.45rem;font-size:.75rem}
.custom-group-reward small{font-size:.69rem;color:#a16207;text-align:right}
.custom-group-reward.unlocked{border-style:solid;border-color:#22c55e;background:linear-gradient(100deg,#ecfdf5,#f0fdf4,#ecfeff);color:#047857;box-shadow:0 8px 24px -18px rgba(16,185,129,.9)}
.custom-group-reward.unlocked small{color:#047857;font-weight:700}
.custom-group-reward.reward-pop{animation:customRewardPop .65s cubic-bezier(.2,.9,.25,1.25)}
@keyframes customRewardPop{0%{transform:scale(.96);box-shadow:0 0 0 0 rgba(34,197,94,.4)}55%{transform:scale(1.02);box-shadow:0 0 0 10px rgba(34,197,94,0)}100%{transform:scale(1)}}
.custom-service-list{display:grid;gap:.5rem}
.custom-service-row{display:grid;grid-template-columns:24px minmax(0,1fr) 76px;gap:.7rem;align-items:center;padding:.8rem;border:1px solid #dbe4ef;border-radius:8px;background:#fff;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.custom-service-row.selected{border-color:#60a5fa;background:#eff6ff;box-shadow:0 8px 22px -20px #2563eb}
.custom-service-row input[type=checkbox]{width:18px;height:18px;accent-color:#2563eb}
.custom-service-content{display:block;min-width:0}
.custom-service-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem}
.custom-service-name{font-size:.9rem;font-weight:750;color:#0f172a}
.custom-service-price{flex:0 0 auto;color:#1d4ed8;font-size:.79rem;text-align:right}
.custom-service-meta{font-size:.72rem;color:#64748b;margin-top:.18rem;line-height:1.35}
.custom-service-frequency{display:flex;align-items:center;gap:.4rem;margin-top:.35rem;color:#0f766e;font-size:.7rem;font-weight:750}
.custom-quantity-offer{display:inline-flex;align-items:center;gap:.35rem;width:max-content;max-width:100%;margin-top:.35rem;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:.25rem .5rem;font-size:.7rem;font-weight:800}
.custom-service-frequency i{color:#14b8a6}
.custom-service-live{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin-top:.45rem;font-size:.71rem}
.custom-service-live>span{color:#1e3a8a;font-weight:800}
.custom-service-live del{color:#94a3b8}
.custom-service-live strong{display:inline-flex;align-items:center;gap:.25rem;color:#047857;background:#d1fae5;border-radius:999px;padding:.18rem .45rem;font-size:.66rem}
.custom-qty-wrap{display:grid;gap:.2rem;color:#64748b;font-size:.62rem;font-weight:800;text-transform:uppercase}
.custom-service-qty{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:.4rem .55rem;font-weight:700;color:#0f172a}
.custom-builder-summary{border:1px solid #93c5fd;background:linear-gradient(145deg,#eff6ff,#fff);border-radius:8px;padding:1rem;box-shadow:0 14px 34px -30px #1d4ed8}
.custom-summary-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.75rem;border-bottom:1px solid #bfdbfe}
.custom-summary-head>div:first-child{display:grid;gap:.15rem;color:#64748b;font-size:.72rem}
.custom-summary-head>div:first-child strong{color:#0f172a;font-size:1rem}
.custom-total-reward{display:flex;align-items:center;gap:.55rem;padding:.5rem .7rem;border:1px solid #22c55e;border-radius:8px;background:#ecfdf5;color:#047857;animation:customRewardGlow 2.3s ease-in-out infinite}
.custom-total-reward>span{display:grid;font-size:.64rem;font-weight:750;text-transform:uppercase}
.custom-total-reward strong{font-size:1.05rem;line-height:1.1}
@keyframes customRewardGlow{50%{box-shadow:0 0 0 5px rgba(34,197,94,.08)}}
.custom-savings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.75rem 0}
.custom-savings-grid>div{display:grid;gap:.2rem;padding:.55rem;border:1px solid #dbeafe;border-radius:8px;background:#fff}
.custom-savings-grid span{font-size:.63rem;color:#64748b;text-transform:uppercase;font-weight:750}
.custom-savings-grid strong{color:#047857;font-size:.85rem}
.custom-savings-grid .custom-list-price{color:#64748b;text-decoration:line-through}
.custom-unlocked-list{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.65rem}
.custom-unlocked-list span{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .5rem;border-radius:999px;background:#fef3c7;color:#92400e;font-size:.66rem;font-weight:800}
.custom-summary-line{display:flex;justify-content:space-between;gap:1rem;padding:.25rem 0;font-size:.84rem;color:#334155}
.custom-summary-total{border-top:1px solid #bfdbfe;margin-top:.55rem;padding-top:.75rem;font-weight:800;color:#1e3a8a}
.custom-empty{border:1px dashed #cbd5e1;border-radius:8px;padding:1.25rem;text-align:center;color:#64748b}
#pub-custom-builder{background:#f8fafc;border-color:#dbe4ef;border-radius:8px}
#pub-custom-builder .soft-select{min-height:44px}
@media(max-width:760px){
  .custom-plan-card{grid-template-columns:1fr}
  .custom-plan-copy,.custom-plan-aside{padding:1.25rem}
  .custom-plan-points{grid-template-columns:1fr}
  .custom-builder-toolbar{grid-template-columns:1fr}
  .custom-builder-group-head,.custom-group-reward,.custom-summary-head{align-items:flex-start;flex-direction:column}
  .custom-group-reward small{text-align:left}
  .custom-group-select{width:100%}
  .custom-service-row{grid-template-columns:24px minmax(0,1fr) 64px;padding:.7rem .6rem}
  .custom-service-top{display:grid;gap:.2rem}
  .custom-service-price{text-align:left}
  .custom-service-name{font-size:.86rem}
  .custom-savings-grid{grid-template-columns:1fr}
  .custom-total-reward{width:100%}
}
@media(prefers-reduced-motion:reduce){.custom-group-reward.reward-pop,.custom-total-reward{animation:none}}
