
/* SalonPro owner billing: scoped premium dashboard, no external dependencies. */
.owner-workspace .sp-billing-page{width:100%;max-width:1220px;display:grid;gap:20px;color:#24382e}
.owner-workspace .sp-billing-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.owner-workspace .sp-billing-eyebrow{display:block;letter-spacing:.14em;font-size:.65rem;font-weight:850;color:#659676}
.owner-workspace .sp-billing-heading h1{font-size:clamp(1.75rem,3vw,2.6rem);letter-spacing:-.05em;line-height:1.12;color:#1d422e;margin:8px 0}
.owner-workspace .sp-billing-heading p{color:#6c8171;font-size:.88rem;line-height:1.55}
.owner-workspace .sp-billing-pilot{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe9df;background:#f3f8f4;color:#4d7759;padding:10px 14px;border-radius:30px;font-size:.72rem;font-weight:750}
.owner-workspace .sp-billing-hero{position:relative;overflow:hidden;border-radius:25px;padding:30px 34px;background:linear-gradient(125deg,#173f34 0%,#23634b 62%,#397b5f 100%);color:white;box-shadow:0 18px 45px rgba(21,69,46,.17);isolation:isolate}
.owner-workspace .sp-billing-hero:after{content:'';position:absolute;right:-90px;top:-130px;height:340px;width:340px;border:58px solid rgba(255,255,255,.06);border-radius:50%;z-index:-1}
.owner-workspace .sp-billing-plan-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}
.owner-workspace .sp-billing-hero-icon{display:grid;place-items:center;width:49px;height:49px;background:#ffffff25;border:1px solid #ffffff30;border-radius:15px}
.owner-workspace .sp-billing-status{display:inline-flex;align-items:center;gap:6px;border-radius:30px;font-size:.73rem;font-weight:800;padding:8px 12px;background:#ffffff25;border:1px solid #ffffff33;max-width:65%;text-align:right}
.owner-workspace .sp-billing-status.status-past_due,.owner-workspace .sp-billing-status.status-trial_ended,.owner-workspace .sp-billing-status.status-cancelled{background:#fff0e6;color:#8f4733}
.owner-workspace .sp-billing-muted{font-size:.77rem;color:#cce4d7;font-weight:650}
.owner-workspace .sp-billing-hero h2{color:white;margin:7px 0;font-size:1.25rem;line-height:1.35}
.owner-workspace .sp-billing-price{font-size:clamp(2.35rem,4vw,3.15rem);letter-spacing:-.06em;font-weight:850;line-height:1.2;margin:10px 0 24px}
.owner-workspace .sp-billing-price small{font-weight:500;letter-spacing:0;font-size:.86rem;color:#d0e8d9}
.owner-workspace .sp-billing-hero-bottom{border-top:1px solid #ffffff36;padding-top:19px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.76rem;color:#dbefe2}
.owner-workspace .sp-billing-hero-bottom>span{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.owner-workspace .sp-billing-hero-bottom strong{color:white}
.owner-workspace .sp-billing-days{background:#ffffff20;border-radius:30px;padding:5px 11px}
.owner-workspace .sp-billing-alert{border-radius:15px;border:1px solid #e8d4b6;background:#fff6e8;color:#785020;display:flex;align-items:flex-start;gap:11px;padding:14px 17px}
.owner-workspace .sp-billing-alert p{line-height:1.5;font-size:.82rem}
.owner-workspace .sp-billing-alert svg{flex:0 0 20px}
.owner-workspace .sp-billing-alert.overdue{background:#fff0ed;border-color:#f5d6d0;color:#95483b}
.owner-workspace .sp-billing-alert.pending{background:#eff5fc;border-color:#dce8f5;color:#315f83}
.owner-workspace .sp-billing-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:17px;align-items:start}
.owner-workspace .sp-billing-side{display:grid;gap:17px;min-width:0}
.owner-workspace .sp-billing-panel{background:white;border:1px solid #e2eae2;border-radius:20px;padding:24px;box-shadow:0 6px 22px rgba(26,66,43,.04);min-width:0}
.owner-workspace .sp-billing-panel-title{display:flex;gap:10px;align-items:center;color:#3a8060}
.owner-workspace .sp-billing-panel-title h3{color:#254b35;font-size:1.07rem;line-height:1.3;margin:0}
.owner-workspace .sp-billing-facts dl{margin:16px 0 0}
.owner-workspace .sp-billing-facts dl>div{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eef1eb;padding:13px 0}
.owner-workspace .sp-billing-facts dl>div:last-child{border:0}
.owner-workspace .sp-billing-facts dt{color:#738679;font-size:.79rem}
.owner-workspace .sp-billing-facts dd{color:#234735;font-size:.83rem;font-weight:780;text-align:right;margin:0;overflow-wrap:anywhere}
.owner-workspace .sp-billing-staff-count{margin:16px 0 13px}
.owner-workspace .sp-billing-staff-count strong{font-size:2.4rem;letter-spacing:-.05em;line-height:1;color:#245e40}
.owner-workspace .sp-billing-staff-count span{font-size:1.1rem;color:#8c9e8e}
.owner-workspace .sp-billing-progress{height:10px;border-radius:50px;overflow:hidden;background:#e9f0e9}
.owner-workspace .sp-billing-progress span{display:block;height:100%;border-radius:50px;background:linear-gradient(90deg,#69b18c,#2f855e);transition:width .3s}
.owner-workspace .sp-billing-usage p,.owner-workspace .sp-billing-hint{font-size:.72rem;color:#819086;line-height:1.6;margin-top:12px}
.owner-workspace .sp-billing-how ol{padding-left:23px;margin:16px 0;color:#526b5c;display:grid;gap:9px;font-size:.77rem;line-height:1.55}
.owner-workspace .sp-billing-copy,.owner-workspace .sp-billing-export{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:12px;border:1px solid #cde1d3;background:#eaf4ed;color:#2a704d;font-size:.75rem;font-weight:780;padding:10px 14px;cursor:pointer}
.owner-workspace .sp-billing-copy{width:100%}
.owner-workspace .sp-billing-copy:hover,.owner-workspace .sp-billing-export:hover{background:#dceee2}
.owner-workspace .sp-billing-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.owner-workspace .sp-billing-history-hint{font-size:.75rem;line-height:1.5;color:#7f9082;margin:12px 0 15px}
.owner-workspace .sp-billing-payment-list{display:grid}
.owner-workspace .sp-billing-payment{display:flex;gap:12px;align-items:center;border-top:1px solid #edf1ec;padding:15px 0}
.owner-workspace .sp-billing-pay-icon{width:40px;height:40px;flex:0 0 40px;border-radius:12px;display:grid;place-items:center;background:#f0f5ee;color:#588467}
.owner-workspace .sp-billing-pay-icon.pending{background:#fef5e8;color:#b28242}
.owner-workspace .sp-billing-pay-icon.rejected{background:#fff0ee;color:#b65e50}
.owner-workspace .sp-billing-pay-meta{min-width:0;display:grid;gap:5px;font-size:.78rem;color:#415747}
.owner-workspace .sp-billing-pay-meta strong{font-weight:750}
.owner-workspace .sp-billing-pay-status{font-size:.7rem;color:#528767}
.owner-workspace .sp-billing-pay-status.pending{color:#a67930}
.owner-workspace .sp-billing-pay-status.rejected{color:#b65e50}
.owner-workspace .sp-billing-pay-price{margin-left:auto;white-space:nowrap;font-size:.94rem;color:#28543a}
.owner-workspace .sp-billing-total{display:flex;justify-content:space-between;gap:18px;padding:17px 0 0;border-top:1px solid #e8efe6;font-size:.79rem;color:#66806d}
.owner-workspace .sp-billing-total strong{color:#23573a;font-size:1.16rem}
.owner-workspace .sp-billing-empty{display:grid;place-items:center;gap:10px;text-align:center;color:#8ca091;padding:25px 10px}
.owner-workspace .sp-billing-empty p{font-size:.81rem}
.owner-workspace .sp-billing-footnote{display:flex;align-items:flex-start;gap:8px;font-size:.75rem;color:#76907c;line-height:1.6}
.owner-workspace .sp-billing-footnote svg{flex:0 0 17px}
.owner-workspace .sp-billing-copy:focus-visible,.owner-workspace .sp-billing-export:focus-visible{outline:3px solid #6ca788;outline-offset:3px}
.owner-workspace .sp-billing-renewal{display:grid;gap:9px;background:#f6faf6;border:1px solid #dceade;border-radius:14px;padding:14px;margin:16px 0}
.owner-workspace .sp-billing-renewal strong{display:flex;align-items:center;gap:8px;font-size:.86rem;color:#285741}
.owner-workspace .sp-billing-renewal label{font-size:.76rem;font-weight:700;color:#526e5b}
.owner-workspace .sp-billing-renewal select{width:100%;min-height:44px;padding:9px 13px;border-radius:10px;border:1px solid #bed1c3;background:white;color:#233e2d;font:inherit;font-size:.84rem}
.owner-workspace .sp-billing-renewal select:focus-visible{outline:3px solid #6ca788;outline-offset:2px}
.owner-workspace .sp-billing-renewal p{font-size:.73rem;line-height:1.55;color:#667e6b}
@media(max-width:900px){.owner-workspace .sp-billing-columns{grid-template-columns:1fr}}
@media(max-width:650px){
 .owner-workspace .sp-billing-page{gap:13px}
 .owner-workspace .sp-billing-heading{align-items:flex-start;gap:9px}
 .owner-workspace .sp-billing-heading h1{font-size:1.85rem}
 .owner-workspace .sp-billing-heading p{font-size:.77rem}
 .owner-workspace .sp-billing-pilot{font-size:.67rem;padding:7px 11px}
 .owner-workspace .sp-billing-hero{padding:23px 20px;border-radius:20px}
 .owner-workspace .sp-billing-status{font-size:.68rem;max-width:73%}
 .owner-workspace .sp-billing-hero-bottom{font-size:.72rem}
 .owner-workspace .sp-billing-panel{border-radius:17px;padding:18px 16px}
 .owner-workspace .sp-billing-facts dl>div{gap:10px}
 .owner-workspace .sp-billing-facts dt,.owner-workspace .sp-billing-facts dd{font-size:.73rem}
 .owner-workspace .sp-billing-payment{gap:9px}
 .owner-workspace .sp-billing-pay-icon{width:35px;height:35px;flex-basis:35px}
 .owner-workspace .sp-billing-pay-meta{font-size:.73rem}
 .owner-workspace .sp-billing-pay-price{font-size:.81rem}
 .owner-workspace .sp-billing-export{width:100%}
}
@media(prefers-reduced-motion:reduce){.owner-workspace .sp-billing-progress span{transition:none}}

/* Subscription support: requests are not payments, cancellations or bank confirmations. */
.owner-workspace .sp-billing-send{
  display:flex;align-items:center;justify-content:center;gap:9px;width:100%;
  min-height:46px;border:1px solid #277a5a;border-radius:11px;
  padding:11px 13px;background:#207455;color:#fff;font-size:.81rem;
  line-height:1.35;font-weight:790;cursor:pointer;text-align:center
}
.owner-workspace .sp-billing-send:disabled{background:#e7eee8;border-color:#dae6df;
  color:#738579;cursor:not-allowed}
.owner-workspace .sp-billing-send:focus-visible{outline:3px solid #6ca788;outline-offset:3px}
.owner-workspace .sp-billing-open-requests{padding:10px 12px;border:1px solid #dde9de;
  border-radius:11px;background:#fff;min-width:0}
.owner-workspace .sp-billing-open-requests strong{font-size:.78rem;color:#285741}
.owner-workspace .sp-billing-open-requests p{color:#4f6c59;overflow-wrap:anywhere}
.owner-workspace .sp-billing-request-note{font-size:.74rem;line-height:1.5;color:#53745e}
