/* ADM-1: Businesses → Package & licences */
.bp-root{display:grid;gap:20px;max-width:1280px}
.bp-muted{color:var(--admin-muted,#5b6b61);margin:.2rem 0}
.bp-error{color:#b3261e}
.bp-head h1{margin:4px 0 0;font-size:1.8rem}
.bp-root .bp-back{background:none;border:0;padding:0;min-height:0;color:#1e5c3a;font-weight:700;cursor:pointer}
.bp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bp-stat{background:var(--admin-surface,#fff);border:1px solid var(--admin-border,#dfe5df);border-radius:14px;padding:14px 16px;display:grid;gap:2px}
.bp-stat span{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--admin-muted,#5b6b61)}
.bp-stat strong{font-size:1.35rem}
.bp-stat small{color:var(--admin-muted,#5b6b61)}
.bp-stat.ok strong{color:#1e7a46}.bp-stat.warn strong{color:#b45309}
.bp-note{background:#fff3df;color:#5c3d0b;border-radius:12px;padding:12px 16px;margin:0}
.bp-section{background:var(--admin-surface,#fff);border:1px solid var(--admin-border,#dfe5df);border-radius:16px;padding:20px 22px}
.bp-section-head{margin-bottom:14px}
.bp-section-head h2{margin:0;font-size:1.25rem}
.bp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.bp-card{border:1px solid var(--admin-border,#dfe5df);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px}
.bp-card.current{border:2px solid #1e5c3a;background:rgba(30,92,58,.05)}
.bp-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.bp-card-name{font-size:1.15rem}
.bp-card-price strong{font-size:1.6rem}.bp-card-price span{color:var(--admin-muted,#5b6b61);margin-left:2px}
.bp-card-desc{margin:0;color:var(--admin-muted,#5b6b61);min-height:1.2em}
.bp-card ul{list-style:none;margin:0;padding:0;display:grid;gap:3px;font-size:.92rem}
.bp-card-limits{font-weight:600}
.bp-card-features{border-top:1px solid var(--admin-border,#e6ebe6);padding-top:8px!important;flex:1}
.bp-card-features li{display:flex;gap:8px}
.bp-mark{width:1em;text-align:center;font-weight:800}
.bp-included .bp-mark{color:#1e7a46}.bp-addon .bp-mark{color:#1d4ed8}.bp-not_available{color:#9aa49d}
.bp-card > button{margin-top:6px;width:100%}
.bp-chip{background:#1e5c3a;color:#fff;border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:700}
.bp-chip.soft{background:#e3f1e7;color:#1e5c3a}
.bp-rows{display:grid}
.bp-row{display:grid;grid-template-columns:1fr auto 90px 56px;gap:14px;align-items:center;padding:10px 0;border-top:1px solid var(--admin-border,#e6ebe6)}
.bp-row:first-child{border-top:0}
.bp-row-info strong{display:block}.bp-row-info small{color:var(--admin-muted,#5b6b61)}
.bp-row-price{text-align:right;font-weight:700}
.bp-tag{display:inline-block;border-radius:999px;padding:3px 10px;font-size:.82rem;font-weight:700;background:#eef1ee;color:#3c4a41;white-space:nowrap}
.bp-tag.on{background:#e3f1e7;color:#1e5c3a}.bp-tag.warn{background:#fdecd2;color:#8a4b06}.bp-tag.muted{color:#8a958d}
.bp-root .bp-switch{width:48px;height:28px;min-height:0;border-radius:999px;border:0;background:#cfd8d0;position:relative;padding:0;cursor:pointer}
.bp-switch span{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:left .15s}
.bp-root .bp-switch.on{background:#1e5c3a}.bp-switch.on span{left:23px}
.bp-root .bp-switch:disabled{opacity:.5;cursor:not-allowed}
.bp-licences{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.bp-licence{border:1px solid var(--admin-border,#dfe5df);border-radius:14px;padding:14px 16px;display:grid;gap:8px}
.bp-licence.off{opacity:.7}
.bp-licence-top{display:flex;justify-content:space-between;gap:8px;align-items:center}
.bp-meter{height:8px;background:#eef1ee;border-radius:999px;overflow:hidden}
.bp-meter span{display:block;height:100%;background:#1e5c3a}
.bp-stepper{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.bp-root .bp-stepper > button:not([data-variant]){width:36px;min-height:36px;padding:0;border-radius:8px;border:1px solid var(--admin-border,#cfd8d0);background:var(--admin-surface,#fff);font-weight:800}
.bp-stepper input{width:64px;min-height:36px;border:1px solid var(--admin-border,#cfd8d0);border-radius:8px;text-align:center;font:inherit}
.bp-stepper > button[data-variant]{margin-left:auto}
.bp-inline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.bp-section .bp-inline:first-of-type{margin-top:0}
.bp-actions{display:flex;gap:8px;flex-wrap:wrap}
.bp-compare{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.bp-compare-box{flex:1;border:1px solid #dfe5df;border-radius:12px;padding:10px 14px;display:grid}
.bp-compare-box span{font-size:.8rem;color:#5b6b61}.bp-compare-box strong{font-size:1.3rem}
.bp-compare-box.up strong{color:#9a3412}.bp-compare-box.down strong{color:#1e7a46}
.bp-arrow{font-size:1.4rem;color:#5b6b61}
.bp-change{border-radius:10px;padding:10px 14px;margin:8px 0}
.bp-change ul{margin:4px 0 0 18px;padding:0}.bp-change p{margin:2px 0}
.bp-change.gain{background:#e8f5ec}.bp-change.lose{background:#fdecea}.bp-change.neutral{background:#eef2fb}
.bp-input{width:100%;box-sizing:border-box;border:1px solid #cfd8d0;border-radius:10px;padding:8px 12px;font:inherit;margin-top:8px}
label.bp-check{display:flex;flex-direction:row;gap:10px;align-items:center;margin-top:10px;font-weight:600}
label.bp-check input{width:20px;height:20px;margin:0;flex:none}
@media (max-width:900px){.bp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-row{grid-template-columns:1fr auto;}.bp-row-price{text-align:left}.bp-section{padding:16px}}
@media (max-width:520px){.bp-stats{grid-template-columns:1fr}.bp-compare{flex-direction:column;align-items:stretch}.bp-arrow{display:none}}
dialog textarea.bp-input,.bp-root textarea.bp-input{height:76px;min-height:0;max-height:160px;resize:vertical}
