@font-face{font-family:"BBBSC System Font";src:url("/wp-content/uploads/bbb-cert-font/font1.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap}
:root{--bbbsc-system-font:"BBBSC System Font",Tahoma,Arial,sans-serif}
html,body,button,input,select,textarea{font-family:'BBBSC System Font',Tahoma,Arial,sans-serif}
.bbbsc-front-wrap,.bbbsc-front-wrap *,body .bbbsc-front-wrap,body .bbbsc-front-wrap *{font-family:'BBBSC System Font',Tahoma,Arial,sans-serif}
.bbbsc-front-wrap{max-width:1280px;margin:24px auto;padding:0 16px;font-family:inherit}.bbbsc-front-grid{display:grid;grid-template-columns:2.2fr 1fr;gap:20px}.bbbsc-front-grid--single{grid-template-columns:minmax(0,1fr)}.bbbsc-front-hero{background:#fff;border:1px solid #dcdcde;border-radius:18px;padding:22px 24px;box-shadow:0 6px 24px rgba(0,0,0,.04);margin-bottom:16px}.bbbsc-front-hero h2{margin:0 0 8px;font-size:28px}.bbbsc-front-hero p{margin:0;color:#50575e;line-height:1.8}.bbbsc-front-alert{border-radius:14px;padding:14px 16px;margin:0 0 16px;font-weight:600}.bbbsc-front-alert--success{background:#ecfdf3;color:#166534;border:1px solid #a7f3d0}.bbbsc-front-alert--error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.bbbsc-front-alert--info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.bbbsc-front-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.bbbsc-front-step{padding:12px 14px;border-radius:12px;border:1px solid #dcdcde;background:#fff;text-align:center;font-weight:700}.bbbsc-front-step--current{background:#111827;color:#fff;border-color:#111827}.bbbsc-front-step--done{background:#ecfdf3;border-color:#bbf7d0;color:#166534}.bbbsc-front-main,.bbbsc-front-side{min-width:0}.bbbsc-front-form,.bbbsc-front-card,.bbbsc-front-joinbox{background:#fff;border:1px solid #dcdcde;border-radius:18px;padding:18px 20px;box-shadow:0 6px 24px rgba(0,0,0,.04)}.bbbsc-front-form label{display:block;font-weight:700;margin-bottom:12px}.bbbsc-front-form input,.bbbsc-front-form select,.bbbsc-inline-form input,.bbbsc-inline-form select{width:100%;margin-top:6px;padding:10px 12px;border:1px solid #c3c4c7;border-radius:12px;background:#fff}.bbbsc-front-form .button,.bbbsc-inline-form .button{margin-top:8px}.bbbsc-front-card h3{margin-top:0;font-size:22px}.bbbsc-front-meta{list-style:none;margin:0;padding:0;display:grid;gap:10px}.bbbsc-front-meta li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #e5e7eb;padding-bottom:8px}.bbbsc-front-meta li span{color:#6b7280}.bbbsc-front-joinbox p{margin:10px 0}.bbbsc-front-side{position:sticky;top:24px;height:max-content}.bbbsc-table-wrap{overflow:auto}.bbbsc-inline-form{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;align-items:end}.bbbsc-inline-form label{margin:0}.bbbsc-inline-form .button{white-space:nowrap}.bbbsc-front-card code{display:inline-block;max-width:100%;overflow:auto;background:#f6f7f7;border:1px solid #e2e8f0;border-radius:8px;padding:4px 8px}.bbbsc-front-card table td{vertical-align:top}.bbbsc-front-card table strong{display:block;margin-bottom:4px}.bbbsc-front-card .button.button-primary{box-shadow:none}.bbbsc-front-side .bbbsc-front-card{margin-bottom:16px}@media (max-width:1100px){.bbbsc-front-grid{grid-template-columns:1fr}.bbbsc-front-side{position:static}.bbbsc-inline-form{grid-template-columns:1fr 1fr}}@media (max-width:900px){.bbbsc-front-steps{grid-template-columns:1fr 1fr}.bbbsc-inline-form{grid-template-columns:1fr}}.bbbsc-portal{display:grid;gap:18px}.bbbsc-portal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.bbbsc-stat-card{background:#fff;border:1px solid #dcdcde;border-radius:18px;padding:18px 20px;box-shadow:0 6px 24px rgba(0,0,0,.04)}.bbbsc-stat-card__title{font-size:13px;color:#6b7280;font-weight:700;margin-bottom:8px}.bbbsc-stat-card__value{font-size:30px;font-weight:800;line-height:1.2}.bbbsc-stat-card__sub{margin-top:6px;color:#6b7280}.bbbsc-list{line-height:2;padding-right:18px}.bbbsc-list code{background:#f3f4f6;padding:2px 6px;border-radius:6px}@media (max-width:900px){.bbbsc-portal-stats{grid-template-columns:1fr 1fr}}@media (max-width:600px){.bbbsc-portal-stats{grid-template-columns:1fr}}
.bbbsc-front-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.bbbsc-front-tab{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:999px;background:#fff;border:1px solid #dcdcde;box-shadow:0 6px 24px rgba(0,0,0,.04);text-decoration:none;font-weight:700}.bbbsc-front-tab--active{background:#111827;color:#fff;border-color:#111827}.bbbsc-front-split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bbbsc-front-card h4{margin:0 0 12px;font-size:18px}.bbbsc-front-card textarea{width:100%;margin-top:6px;padding:10px 12px;border:1px solid #c3c4c7;border-radius:12px;background:#fff;min-height:100px}@media (max-width:900px){.bbbsc-front-split{grid-template-columns:1fr}}
.bbbsc-front-button-row{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px}.bbbsc-front-button-row form{margin:0}.bbbsc-front-button-row .button{width:100%}@media (max-width:900px){.bbbsc-front-button-row{grid-template-columns:1fr}}

.bbbsc-plan-wrap{display:grid;gap:18px}.bbbsc-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bbbsc-plan-card{background:#fff;border:1px solid #dcdcde;border-radius:20px;padding:20px;box-shadow:0 6px 24px rgba(0,0,0,.04);display:grid;gap:16px}.bbbsc-plan-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.bbbsc-plan-card__code code{font-size:12px}.bbbsc-plan-card h3{margin:8px 0 0;font-size:24px}.bbbsc-plan-card__price{font-size:24px;font-weight:800;white-space:nowrap}.bbbsc-plan-card__desc{margin:0;color:#50575e;line-height:1.9}.bbbsc-plan-card__features h4{margin:0 0 10px;font-size:16px}.bbbsc-plan-feature-list{margin:0;padding-right:18px;line-height:2}.bbbsc-plan-action-row{display:flex;flex-wrap:wrap;gap:10px}.bbbsc-plan-action-box{display:grid;gap:12px}.bbbsc-plan-action-box__desc{margin:0;color:#50575e;line-height:1.9}@media (max-width:1100px){.bbbsc-plan-grid{grid-template-columns:1fr 1fr}}@media (max-width:700px){.bbbsc-plan-grid{grid-template-columns:1fr}.bbbsc-plan-card__head{flex-direction:column}.bbbsc-plan-action-row{flex-direction:column}.bbbsc-plan-action-row .button{width:100%;text-align:center}}

body.bbbsc-no-sidebar #secondary,body.bbbsc-no-sidebar .sidebar,body.bbbsc-no-sidebar aside.sidebar,body.bbbsc-no-sidebar .widget-area,body.bbbsc-no-sidebar .page-sidebar,body.bbbsc-no-sidebar .content-sidebar,body.bbbsc-no-sidebar .blog-sidebar,body.bbbsc-no-sidebar .site-sidebar{display:none!important}body.bbbsc-no-sidebar .content-area,body.bbbsc-no-sidebar .site-content,body.bbbsc-no-sidebar .page-content,body.bbbsc-no-sidebar .entry-content,body.bbbsc-no-sidebar .vc_row,body.bbbsc-no-sidebar .container,body.bbbsc-no-sidebar .content_wrapper{max-width:100%!important;width:100%!important;flex:1 1 100%!important}.bbbsc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}@media (max-width:900px){.bbbsc-grid{grid-template-columns:1fr}}

.bbbsc-portal-auth{max-width:520px;margin:0 auto}.bbbsc-portal-auth-card{display:grid;gap:16px}.bbbsc-portal-auth-card__header h3{margin:0 0 6px;font-size:22px}.bbbsc-portal-auth-card__header p{margin:0;color:#50575e;line-height:1.8}.bbbsc-portal-auth-form{box-shadow:none;border:none;padding:0;background:transparent}.bbbsc-front-button-row--single{grid-template-columns:1fr}


.bbbsc-front-bulk-users{display:grid;gap:12px;margin:14px 0}.bbbsc-front-bulk-users__toolbar{display:flex;gap:8px;flex-wrap:wrap}.bbbsc-front-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:360px;overflow:auto;padding:4px}.bbbsc-front-checkitem{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(140px,180px);align-items:center;gap:10px;padding:12px;border:1px solid #dcdcde;border-radius:14px;background:#fff;cursor:pointer}.bbbsc-front-checkitem input{width:auto!important;margin-top:2px}.bbbsc-front-checkitem span{display:grid;gap:4px}.bbbsc-front-checkitem select{width:100%;min-width:140px}.bbbsc-front-checkitem.is-disabled{opacity:.65}.bbbsc-front-checkitem small{color:#6b7280}.bbbsc-front-checkitem strong{font-size:14px}@media (max-width:900px){.bbbsc-front-checklist{grid-template-columns:1fr}.bbbsc-front-checkitem{grid-template-columns:auto minmax(0,1fr)}}

.bbbsc-portal-shell,.bbbsc-class-portal{position:relative}.bbbsc-portal-shell.is-loading:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.55);backdrop-filter:blur(2px);border-radius:24px;z-index:5}.bbbsc-portal-shell.is-loading:before{content:"در حال بارگذاری...";position:absolute;top:18px;left:18px;z-index:6;background:#111827;color:#fff;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700}
.bbbsc-portal{display:grid;gap:22px}.bbbsc-front-hero--class{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border:none}.bbbsc-front-hero--class p{color:rgba(255,255,255,.84)}.bbbsc-class-focus{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;padding:14px 16px;border-radius:14px;margin:-8px 0 8px}
.bbbsc-front-tabs{padding:8px;background:#f3f4f6;border-radius:16px;box-shadow:none}.bbbsc-front-tab{border:none;background:transparent;box-shadow:none}.bbbsc-front-tab--active{background:#fff;color:#111827;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.bbbsc-class-auth-card{max-width:560px;margin:0 auto;display:grid;gap:16px}.bbbsc-class-auth-card__header h3{margin:0 0 8px;font-size:24px}.bbbsc-class-auth-card__header p{margin:0;color:#6b7280;line-height:1.9}.bbbsc-class-auth-note{font-size:13px;color:#64748b;text-align:center}
.bbbsc-class-dashboard{display:grid;gap:18px}.bbbsc-class-dashboard__top{display:flex;justify-content:space-between;align-items:center;gap:16px}.bbbsc-class-dashboard__top h3{margin:0 0 6px;font-size:24px}.bbbsc-class-dashboard__top p{margin:0;color:#475569}.bbbsc-class-dashboard__actions{display:flex;gap:10px;flex-wrap:wrap}.bbbsc-class-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bbbsc-class-sections{display:grid;gap:18px}.bbbsc-class-section__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.bbbsc-class-section__head h3{margin:0;font-size:20px}.bbbsc-class-section__head span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-weight:700}.bbbsc-class-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bbbsc-class-card{border:1px solid #e5e7eb;border-radius:18px;padding:16px;background:linear-gradient(180deg,#fff,#f8fafc);display:grid;gap:14px}.bbbsc-class-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.bbbsc-class-card__head h4{margin:0;font-size:18px}.bbbsc-class-card__badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.bbbsc-class-card__badge--current{background:#ecfdf3;color:#166534}.bbbsc-class-card__badge--future{background:#eff6ff;color:#1d4ed8}.bbbsc-class-card__badge--past{background:#f3f4f6;color:#334155}.bbbsc-class-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bbbsc-class-card__meta div{padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #eef2f7}.bbbsc-class-card__meta span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.bbbsc-class-card__meta strong{font-size:14px;color:#0f172a}.bbbsc-class-card__user,.bbbsc-class-card__hint{color:#475569;line-height:1.8}.bbbsc-class-card__actions{display:flex;gap:10px;flex-wrap:wrap}.bbbsc-class-card__recordings{display:grid;gap:10px}.bbbsc-class-recording{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;background:#fff;border:1px solid #eef2f7;flex-wrap:wrap}.bbbsc-class-empty{color:#64748b;line-height:1.9}.bbbsc-class-guest-card{margin:0 0 16px}.bbbsc-class-guest-card h4{margin:0 0 8px;font-size:18px}.bbbsc-class-guest-card p{margin:0 0 12px;color:#475569;line-height:1.8}.bbbsc-class-dashboard__actions .button{white-space:nowrap}
@media (max-width:960px){.bbbsc-class-stat-grid,.bbbsc-class-card-grid{grid-template-columns:1fr}.bbbsc-class-dashboard__top{flex-direction:column;align-items:flex-start}.bbbsc-class-card__meta{grid-template-columns:1fr}}

.bbbsc-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.bbbsc-card-head p{margin:6px 0 0;color:#64748b;line-height:1.8}.bbbsc-card-tools{min-width:260px}.bbbsc-card-tools input{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc}.bbbsc-class-dashboard__tools{display:flex;justify-content:space-between;align-items:center;gap:16px}.bbbsc-class-filters{display:flex;gap:10px;flex-wrap:wrap}.bbbsc-class-filter{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:10px 14px;font-weight:700;cursor:pointer}.bbbsc-class-filter.is-active{background:#111827;color:#fff;border-color:#111827}.bbbsc-class-search{min-width:260px;flex:0 0 320px}.bbbsc-class-search input{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc}.bbbsc-class-auth-form .button{min-height:44px}.bbbsc-class-card{transition:transform .18s ease, box-shadow .18s ease}.bbbsc-class-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.08)}.bbbsc-portal-shell .bbbsc-front-card,.bbbsc-class-portal .bbbsc-front-card{box-shadow:0 10px 34px rgba(15,23,42,.05)}@media (max-width:900px){.bbbsc-card-head,.bbbsc-class-dashboard__tools{flex-direction:column;align-items:stretch}.bbbsc-card-tools,.bbbsc-class-search{min-width:0;flex:1 1 auto}}

.bbbsc-card-tools--actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bbbsc-card-tools--actions .button{white-space:nowrap}.bbbsc-admin-table th,.bbbsc-admin-table td{vertical-align:middle}.bbbsc-admin-table--users input,.bbbsc-admin-table--users select{margin-top:0!important}.bbbsc-input-readonly{background:#f8fafc!important;color:#475569}.bbbsc-muted-text{color:#64748b;font-size:13px}.bbbsc-empty-state{padding:28px;border:1px dashed #cbd5e1;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);text-align:center}.bbbsc-empty-state h4{margin:0 0 8px;font-size:20px}.bbbsc-empty-state p{margin:0;color:#64748b;line-height:1.9}.bbbsc-autosave-state{display:inline-flex;align-items:center;justify-content:center;min-width:82px;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:800}.bbbsc-autosave-state[data-status="pending"]{background:#fff7ed;color:#c2410c}.bbbsc-autosave-state[data-status="saving"]{background:#eff6ff;color:#1d4ed8}.bbbsc-portal-summary-pills{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px}.bbbsc-summary-pill{display:flex;flex-direction:column;gap:4px;min-width:120px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 8px 24px rgba(15,23,42,.04)}.bbbsc-summary-pill strong{font-size:24px;line-height:1}.bbbsc-summary-pill small{color:#64748b;font-weight:700}.bbbsc-class-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bbbsc-class-admin-card{display:grid;gap:18px;padding:22px;border:1px solid #e2e8f0;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 12px 34px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease}.bbbsc-class-admin-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.1)}.bbbsc-class-admin-card__hero{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.bbbsc-class-admin-card__eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e2e8f0;color:#0f172a;font-size:12px;font-weight:800;margin-bottom:10px}.bbbsc-class-admin-card h4{margin:0 0 8px;font-size:24px;line-height:1.4}.bbbsc-class-admin-card p{margin:0;color:#64748b;line-height:1.8}.bbbsc-class-admin-card__badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.bbbsc-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;font-size:12px;font-weight:800}.bbbsc-status-pill--draft{background:#f1f5f9;color:#334155}.bbbsc-status-pill--scheduled{background:#ede9fe;color:#6d28d9}.bbbsc-status-pill--running{background:#dcfce7;color:#166534}.bbbsc-status-pill--finished{background:#e0f2fe;color:#0f766e}.bbbsc-status-pill--cancelled{background:#fee2e2;color:#b91c1c}.bbbsc-status-pill--archived{background:#e5e7eb;color:#374151}.bbbsc-guest-join-badge{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;font-size:12px;font-weight:900;box-shadow:0 4px 14px rgba(4,120,87,.08)}.bbbsc-guest-join-badge--off{background:#fff7ed;color:#c2410c;border-color:#fed7aa;box-shadow:none}.bbbsc-class-admin-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bbbsc-class-admin-card__meta div{padding:14px;border-radius:18px;background:#fff;border:1px solid #e2e8f0}.bbbsc-class-admin-card__meta span{display:block;color:#64748b;font-size:12px;font-weight:700;margin-bottom:6px}.bbbsc-class-admin-card__meta strong{font-size:14px;line-height:1.7}.bbbsc-class-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid #dbeafe;border-radius:20px;background:#fff}.bbbsc-class-edit-grid label{display:grid;gap:8px;font-weight:700;color:#0f172a}.bbbsc-class-edit-grid input,.bbbsc-class-edit-grid select,.bbbsc-class-edit-grid textarea{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc}.bbbsc-class-switch{display:flex!important;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;font-weight:700}.bbbsc-class-switch input{width:auto!important;margin:0!important}.bbbsc-class-switch span{margin:0}.bbbsc-class-switch--compact{padding:8px 10px;gap:8px;border-radius:14px;font-size:13px}.bbbsc-class-switch--compact span{font-weight:800}.bbbsc-class-sale-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;grid-column:1/-1}.bbbsc-class-sale-fields label{display:grid;gap:8px;font-weight:700;color:#0f172a}.bbbsc-class-sale-fields[data-hidden="1"]{display:none!important}.bbbsc-class-sale-fields .bbbsc-class-switch{min-height:100%;align-content:center}.bbbsc-class-form{display:grid;grid-template-columns:1fr;gap:16px}.bbbsc-form-section{display:grid;gap:14px;padding:16px;border:1px solid #dbe7f5;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 10px 26px rgba(15,23,42,.04)}.bbbsc-form-section__header h5{margin:0 0 6px;font-size:17px;line-height:1.5}.bbbsc-form-section__header p{margin:0;color:#64748b;line-height:1.9;font-size:13px}.bbbsc-form-section__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bbbsc-form-span-2{grid-column:1/-1}.bbbsc-class-form .bbbsc-class-edit-grid__footer,.bbbsc-class-form .bbbsc-class-modal-grid__actions{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:12px}.bbbsc-class-form .bbbsc-class-sale-fields{grid-column:1/-1}.bbbsc-admin-table--users .bbbsc-col-id{width:72px;max-width:72px;white-space:nowrap}.bbbsc-admin-table--users .bbbsc-col-name{min-width:260px}.bbbsc-admin-table--users .bbbsc-col-role{min-width:190px}.bbbsc-admin-table--users .bbbsc-col-status{min-width:180px}.bbbsc-admin-table--users .bbbsc-col-mobile{min-width:170px}.bbbsc-admin-table--users .bbbsc-col-password{min-width:190px}.bbbsc-admin-table--users .bbbsc-col-last-login,.bbbsc-admin-table--users .bbbsc-col-created{min-width:140px}.bbbsc-admin-table--users .bbbsc-col-save-state{min-width:110px}.bbbsc-admin-table--users .bbbsc-col-name input,.bbbsc-admin-table--users .bbbsc-col-role select,.bbbsc-admin-table--users .bbbsc-col-status select{font-size:14px;font-weight:700;padding:12px 14px}.bbbsc-class-edit-grid__footer{grid-column:1/-1;display:flex;justify-content:flex-end}.bbbsc-class-admin-card__links,.bbbsc-class-admin-card__actions{display:flex;gap:10px;flex-wrap:wrap}.bbbsc-copy-link-btn.is-copied{background:#dcfce7!important;border-color:#86efac!important;color:#166534!important}.bbbsc-copy-link-btn.is-copy-error{background:#fee2e2!important;border-color:#fca5a5!important;color:#991b1b!important}.bbbsc-class-admin-card__actions form{margin:0}.bbbsc-class-admin-card__footnote code{display:block;white-space:nowrap;overflow:auto;background:#0f172a;color:#e2e8f0;border:none;padding:10px 12px;border-radius:14px}.bbbsc-front-modal{position:fixed;inset:0;display:none;z-index:9999}.bbbsc-front-modal.is-open{display:block}.bbbsc-front-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(3px)}.bbbsc-front-modal__dialog{position:relative;z-index:1;max-width:560px;margin:5vh auto;padding:24px;border-radius:24px;background:#fff;box-shadow:0 26px 80px rgba(15,23,42,.24)}.bbbsc-front-modal__dialog--wide{max-width:860px}.bbbsc-front-modal__header h3{margin:0 0 8px;font-size:26px}.bbbsc-front-modal__header p{margin:0 0 18px;color:#64748b;line-height:1.8}.bbbsc-front-modal__close{position:absolute;top:14px;left:14px;width:40px;height:40px;border:none;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:24px;cursor:pointer}.bbbsc-front-form--compact{box-shadow:none;padding:0;border:none;background:transparent}.bbbsc-class-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bbbsc-class-modal-grid__actions{grid-column:1/-1;display:flex;justify-content:flex-end}.bbbsc-modal-open{overflow:hidden}@media (max-width:1100px){.bbbsc-class-admin-grid{grid-template-columns:1fr}.bbbsc-class-admin-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:782px){.bbbsc-card-tools--actions{align-items:stretch}.bbbsc-card-tools--actions .button,.bbbsc-card-tools--actions input{width:100%}.bbbsc-class-admin-card__hero,.bbbsc-class-admin-card__links,.bbbsc-class-admin-card__actions{flex-direction:column}.bbbsc-class-admin-card__badges{justify-content:flex-start}.bbbsc-class-admin-card__meta,.bbbsc-class-edit-grid,.bbbsc-class-modal-grid,.bbbsc-class-sale-fields,.bbbsc-form-section__grid{grid-template-columns:1fr}.bbbsc-front-modal__dialog{margin:2vh 12px;padding:20px}.bbbsc-admin-table--users{min-width:880px}}

.bbbsc-calendar-proxy{direction:ltr !important;text-align:left !important;font-variant-numeric:tabular-nums;background:#fff !important;background-image:none !important;border:1px solid rgba(148,163,184,.38);box-shadow:0 10px 24px rgba(15,23,42,.06);padding-inline-end:58px !important;position:relative;z-index:1}
.bbbsc-calendar-note{display:none !important}
.bbbsc-calendar-field{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:46px}
.bbbsc-calendar-field .bbbsc-calendar-proxy{flex:1 1 auto;border-radius:16px}
.bbbsc-calendar-trigger{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);cursor:pointer;font-size:0;line-height:1;padding:0;border-radius:12px;opacity:1;box-shadow:0 10px 24px rgba(37,99,235,.18);color:#1d4ed8;z-index:2;overflow:hidden}
.bbbsc-calendar-trigger:hover{transform:translateY(-50%) scale(1.04)}
.bbbsc-calendar-trigger__icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;pointer-events:none}
.bbbsc-calendar-trigger__icon svg{display:block;width:18px;height:18px;fill:currentColor}

.bbbsc-calendar-picker{z-index:99999;width:min(360px,calc(100vw - 24px));background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(248,250,252,.98) 100%);backdrop-filter:blur(18px);border:1px solid rgba(148,163,184,.25);border-radius:26px;box-shadow:0 30px 70px rgba(15,23,42,.22),0 10px 24px rgba(37,99,235,.08);padding:16px;direction:rtl;overflow:hidden}
.bbbsc-calendar-picker::before{content:'';position:absolute;inset:0 0 auto 0;height:76px;background:radial-gradient(circle at top right,rgba(59,130,246,.18),transparent 58%),radial-gradient(circle at top left,rgba(168,85,247,.12),transparent 45%);pointer-events:none}
.bbbsc-calendar-picker[hidden]{display:none !important}
.bbbsc-calendar-picker__header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bbbsc-calendar-picker__title-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.bbbsc-calendar-picker__badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 12px;border-radius:999px;background:rgba(37,99,235,.1);color:#1d4ed8;font-size:11px;font-weight:800;letter-spacing:.02em}
.bbbsc-calendar-picker__title{font-weight:800;color:#0f172a;font-size:16px;text-shadow:0 1px 0 rgba(255,255,255,.65)}
.bbbsc-calendar-picker__preview{display:flex;align-items:center;justify-content:center;text-align:center;margin-bottom:12px;padding:10px 12px;border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.9) 0%,rgba(239,246,255,.92) 100%);border:1px solid rgba(191,219,254,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.9);font-size:12px;color:#1e3a8a;min-height:42px}
.bbbsc-calendar-picker__nav{position:relative;z-index:1;border:1px solid rgba(148,163,184,.28);background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%);color:#0f172a;border-radius:14px;width:38px;height:38px;cursor:pointer;font-size:21px;line-height:1;box-shadow:0 10px 24px rgba(15,23,42,.08)}
.bbbsc-calendar-picker__nav:hover{background:linear-gradient(180deg,#ffffff 0%,#dbeafe 100%)}
.bbbsc-calendar-picker__weekdays,.bbbsc-calendar-picker__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.bbbsc-calendar-picker__weekdays{margin-bottom:10px}
.bbbsc-calendar-picker__weekdays span{font-size:12px;font-weight:800;color:#64748b;text-align:center}
.bbbsc-calendar-picker__empty,.bbbsc-calendar-picker__day{min-height:40px}
.bbbsc-calendar-picker__day{border:1px solid rgba(226,232,240,.92);background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border-radius:15px;cursor:pointer;font-size:14px;font-weight:700;color:#0f172a;box-shadow:0 6px 16px rgba(15,23,42,.04);transition:all .16s ease}
.bbbsc-calendar-picker__day:hover{transform:translateY(-1px);border-color:#60a5fa;background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%);box-shadow:0 12px 24px rgba(37,99,235,.12)}
.bbbsc-calendar-picker__day.is-selected{background:linear-gradient(135deg,#2563eb 0%,#7c3aed 100%);border-color:#2563eb;color:#fff;box-shadow:0 14px 26px rgba(37,99,235,.28)}
.bbbsc-calendar-picker__day.is-today{border-color:#0ea5e9;box-shadow:inset 0 0 0 1px rgba(14,165,233,.2)}
.bbbsc-calendar-picker__time{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.bbbsc-calendar-picker__time label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#475569;font-weight:700}
.bbbsc-calendar-picker__time select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);font-variant-numeric:tabular-nums}
.bbbsc-calendar-picker__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}
.bbbsc-calendar-picker__action{border:1px solid rgba(148,163,184,.28);background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);color:#0f172a;border-radius:12px;padding:9px 13px;cursor:pointer;font-size:12px;font-weight:700;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.bbbsc-calendar-picker__action:hover{transform:translateY(-1px)}
.bbbsc-calendar-picker__action--primary{background:linear-gradient(135deg,#2563eb 0%,#7c3aed 100%);border-color:#2563eb;color:#fff;box-shadow:0 16px 28px rgba(37,99,235,.24)}


/* v1.71.30 portal compact redesign */
.bbbsc-portal-shell{
  --bbbsc-bg:#f5f7fb;
  --bbbsc-surface:#ffffff;
  --bbbsc-surface-soft:#f8fafc;
  --bbbsc-border:#e2e8f0;
  --bbbsc-border-strong:#cbd5e1;
  --bbbsc-text:#0f172a;
  --bbbsc-text-soft:#475569;
  --bbbsc-shadow:0 10px 30px rgba(15,23,42,.06);
  --bbbsc-shadow-hover:0 18px 34px rgba(15,23,42,.1);
}
.bbbsc-portal{
  gap:16px;
}
.bbbsc-front-hero,
.bbbsc-stat-card,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-class-admin-card,
.bbbsc-class-card,
.bbbsc-summary-pill,
.bbbsc-front-tab,
.bbbsc-front-checkitem,
.bbbsc-class-edit-grid,
.bbbsc-front-modal__dialog{
  border-color:var(--bbbsc-border);
  box-shadow:var(--bbbsc-shadow);
}
.bbbsc-front-hero,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-class-admin-card,
.bbbsc-class-card,
.bbbsc-class-edit-grid{
  background:var(--bbbsc-surface);
}
.bbbsc-front-hero{
  border-radius:20px;
  padding:18px 20px;
  margin-bottom:10px;
}
.bbbsc-front-hero h2{font-size:24px;margin-bottom:6px}
.bbbsc-front-hero p{font-size:14px;line-height:1.9}
.bbbsc-portal-stats{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:10px;
}
.bbbsc-stat-card{
  border-radius:18px;
  padding:14px 16px;
}
.bbbsc-stat-card__title{font-size:12px;margin-bottom:6px}
.bbbsc-stat-card__value{font-size:24px}
.bbbsc-stat-card__sub{font-size:12px;margin-top:4px}
.bbbsc-front-tabs{
  position:sticky;
  top:12px;
  z-index:4;
  gap:8px;
  margin-bottom:10px;
  padding:6px;
  border:1px solid var(--bbbsc-border);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}
.bbbsc-front-tab{
  min-height:40px;
  padding:10px 14px;
  border-radius:12px;
  font-size:13px;
  font-weight:800;
  color:var(--bbbsc-text-soft);
}
.bbbsc-front-tab:hover{background:#eef2ff;color:#1e293b}
.bbbsc-front-tab--active{background:#111827;color:#fff;box-shadow:none}
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox{
  border-radius:20px;
  padding:16px 18px;
}
.bbbsc-front-card h3{font-size:18px;margin-bottom:10px}
.bbbsc-front-card h4{font-size:16px;margin-bottom:10px}
.bbbsc-front-meta li{padding-bottom:6px}
.bbbsc-portal-summary-pills{gap:10px;margin-bottom:12px}
.bbbsc-summary-pill{
  min-width:108px;
  padding:12px 14px;
  border-radius:16px;
}
.bbbsc-summary-pill strong{font-size:20px}
.bbbsc-summary-pill small{font-size:12px}

/* Make class management cards single-column and compact */
.bbbsc-class-admin-grid,
.bbbsc-class-card-grid{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}
.bbbsc-class-admin-card,
.bbbsc-class-card{
  border-radius:20px;
  padding:16px 18px;
  gap:12px;
}
.bbbsc-class-admin-card:hover,
.bbbsc-class-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--bbbsc-shadow-hover);
}
.bbbsc-class-admin-card__hero,
.bbbsc-class-card__head{
  align-items:center;
  gap:12px;
}
.bbbsc-class-admin-card__eyebrow{
  margin-bottom:8px;
  padding:5px 9px;
  font-size:11px;
}
.bbbsc-class-admin-card h4,
.bbbsc-class-card__head h4{
  margin:0;
  font-size:18px;
  line-height:1.6;
}
.bbbsc-class-admin-card p,
.bbbsc-class-card__user,
.bbbsc-class-card__hint{
  font-size:13px;
  line-height:1.9;
}
.bbbsc-class-admin-card__badges,
.bbbsc-class-admin-card__links,
.bbbsc-class-admin-card__actions,
.bbbsc-class-card__actions{
  gap:8px;
}
.bbbsc-status-pill,
.bbbsc-guest-join-badge,
.bbbsc-class-card__badge{
  padding:6px 10px;
  font-size:11px;
  font-weight:800;
}
.bbbsc-class-admin-card__meta,
.bbbsc-class-card__meta{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.bbbsc-class-admin-card__meta div,
.bbbsc-class-card__meta div{
  padding:10px 12px;
  border-radius:14px;
  background:var(--bbbsc-surface-soft);
}
.bbbsc-class-admin-card__meta span,
.bbbsc-class-card__meta span{
  font-size:11px;
  margin-bottom:4px;
}
.bbbsc-class-admin-card__meta strong,
.bbbsc-class-card__meta strong{
  font-size:13px;
  line-height:1.8;
}
.bbbsc-class-admin-card__footnote code{
  border-radius:12px;
  padding:8px 10px;
}
.bbbsc-class-section__head{
  margin-bottom:10px;
}
.bbbsc-class-section__head h3{font-size:18px}
.bbbsc-class-section__head span{font-size:12px;padding:5px 9px;min-width:auto}

/* Tables / participants area */
.bbbsc-table-wrap{
  border:1px solid var(--bbbsc-border);
  border-radius:18px;
  background:#fff;
}
.table.bbbsc-admin-table,
.bbbsc-admin-table{
  margin:0;
}
.bbbsc-admin-table th,
.bbbsc-admin-table td{
  padding:12px 10px;
}
.bbbsc-card-tools--actions{
  gap:10px;
}

/* Forms */
.bbbsc-front-form input,
.bbbsc-front-form select,
.bbbsc-front-form textarea,
.bbbsc-inline-form input,
.bbbsc-inline-form select,
.bbbsc-class-edit-grid input,
.bbbsc-class-edit-grid select,
.bbbsc-class-sale-fields input,
.bbbsc-class-sale-fields select{
  min-height:44px;
  border-color:var(--bbbsc-border-strong);
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}
.bbbsc-front-form label,
.bbbsc-class-edit-grid label,
.bbbsc-class-sale-fields label{
  margin-bottom:10px;
  font-size:13px;
}
.bbbsc-class-edit-grid,
.bbbsc-class-modal-grid{
  gap:12px;
  padding:16px;
}
.bbbsc-class-switch{
  min-height:44px;
  padding:10px 12px;
  border-radius:14px;
}
.bbbsc-front-button-row,
.bbbsc-class-modal-grid__actions{
  gap:8px;
}

/* Modal polish */
.bbbsc-front-modal__dialog{
  border-radius:22px;
  padding:20px;
}
.bbbsc-front-modal__dialog--scrollable{
  max-height:90vh;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.bbbsc-front-modal__header h3{font-size:22px}
.bbbsc-front-modal__header p{font-size:13px}
.bbbsc-front-modal__close{width:36px;height:36px;font-size:22px}

/* Buttons */
.bbbsc-portal-shell .button{
  border-radius:12px;
  min-height:40px;
  padding:0 14px;
  font-weight:800;
}
.bbbsc-portal-shell .button.button-secondary,
.bbbsc-portal-shell .button:not(.button-primary){
  border-color:var(--bbbsc-border-strong);
}

/* Responsive tightening */
@media (max-width:1200px){
  .bbbsc-class-admin-card__meta,
  .bbbsc-class-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:960px){
  .bbbsc-portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bbbsc-front-tabs{position:static}
}
@media (max-width:782px){
  .bbbsc-front-hero,
  .bbbsc-front-card,
  .bbbsc-front-form,
  .bbbsc-front-joinbox,
  .bbbsc-class-admin-card,
  .bbbsc-class-card{padding:14px}
  .bbbsc-class-admin-card__hero,
  .bbbsc-class-card__head,
  .bbbsc-class-admin-card__links,
  .bbbsc-class-admin-card__actions,
  .bbbsc-class-card__actions{flex-direction:column;align-items:flex-start}
  .bbbsc-class-admin-card__meta,
  .bbbsc-class-card__meta,
  .bbbsc-portal-stats{grid-template-columns:1fr}
}

/* Classes table / row actions / status */
.bbbsc-class-table-wrap table{min-width:980px}
.bbbsc-class-table-wrap .bbbsc-col-class-code{width:120px}
.bbbsc-class-table-wrap .bbbsc-col-class-title{min-width:220px}
.bbbsc-class-table-wrap .bbbsc-col-class-type{min-width:180px}
.bbbsc-class-table-wrap .bbbsc-col-class-status{min-width:240px;text-align:center}
.bbbsc-class-table-wrap .bbbsc-col-class-actions{min-width:460px}
.bbbsc-class-table-wrap td{vertical-align:top}
.bbbsc-class-status-box{display:grid;gap:8px}
.bbbsc-class-status-clock{font-weight:700;color:#0f172a}
.bbbsc-table-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start}
.bbbsc-table-actions form{margin:0}
.bbbsc-table-actions .button{white-space:nowrap}
.bbbsc-class-status-toggle-form{display:grid;gap:10px;justify-items:center}
.bbbsc-switch{position:relative;display:inline-flex;align-items:center;gap:12px;min-inline-size:0;cursor:pointer;user-select:none}
.bbbsc-switch__input{position:absolute;opacity:0;pointer-events:none}
.bbbsc-switch__ui{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:70px;block-size:34px;flex:0 0 70px;overflow:hidden;border-radius:999px}
.bbbsc-switch__track{position:absolute;inset:0;border-radius:999px;background:linear-gradient(180deg,#dbe4ef 0%,#a8b6c8 100%);box-shadow:inset 0 0 0 1px rgba(15,23,42,.08), inset 0 8px 16px rgba(255,255,255,.28), 0 8px 18px rgba(15,23,42,.10);transition:background .22s ease, box-shadow .22s ease, filter .22s ease}
.bbbsc-switch__thumb{position:absolute;inset-block-start:3px;inset-inline-start:3px;inline-size:28px;block-size:28px;border-radius:50%;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 8px 16px rgba(15,23,42,.16), 0 2px 4px rgba(15,23,42,.10);transition:inset-inline-start .22s ease, box-shadow .22s ease;will-change:inset-inline-start}
.bbbsc-switch__state{position:absolute;inset-block-start:50%;transform:translateY(-50%);font-size:10px;font-weight:800;line-height:1;color:#ffffff;letter-spacing:-.01em;transition:opacity .2s ease}
.bbbsc-switch__state--on{inset-inline-start:11px;opacity:0}
.bbbsc-switch__state--off{inset-inline-end:10px;opacity:1}
.bbbsc-switch__meta{display:grid;gap:2px;min-inline-size:0}
.bbbsc-switch__label{font-size:12px;font-weight:800;color:#0f172a;line-height:1.35}
.bbbsc-switch__hint{font-size:11px;color:#64748b;line-height:1.45}
.bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__track{background:linear-gradient(135deg,#2563eb 0%,#0f766e 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 20px rgba(37,99,235,.28)}
.bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__thumb{inset-inline-start:39px}
.bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__state--on{opacity:1}
.bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__state--off{opacity:0}
.bbbsc-switch__input:not(:checked) + .bbbsc-switch__ui .bbbsc-switch__state--off{opacity:1}
.bbbsc-switch__input:focus-visible + .bbbsc-switch__ui{outline:3px solid rgba(37,99,235,.20);outline-offset:4px;border-radius:999px}
.bbbsc-switch:hover .bbbsc-switch__track{filter:saturate(1.04)}
.bbbsc-switch:hover .bbbsc-switch__thumb{box-shadow:0 10px 20px rgba(15,23,42,.18),0 2px 4px rgba(15,23,42,.10)}
@media (max-width:900px){
  .bbbsc-class-table-wrap table{min-width:860px}
  .bbbsc-customer-hero__actions{gap:8px}
  .bbbsc-customer-hero__action{min-height:36px;padding:0 12px}
}

/* ===== BBBSC 1.79.0 Public / Portal Luxury Compact Theme ===== */
:root{
    --bbbsc-font:"BBBSC Iran",Tahoma,"Segoe UI",sans-serif;
    --bbbsc-bg:#f4f7fb;
    --bbbsc-surface:#ffffff;
    --bbbsc-surface-2:#f8fbff;
    --bbbsc-line:#e2e8f0;
    --bbbsc-line-strong:#d9e4f2;
    --bbbsc-text:#0f172a;
    --bbbsc-muted:#64748b;
    --bbbsc-primary:#2563eb;
    --bbbsc-primary-2:#4f46e5;
    --bbbsc-success:#059669;
    --bbbsc-danger:#dc2626;
    --bbbsc-warning:#d97706;
    --bbbsc-shadow:0 20px 48px rgba(15,23,42,.08);
    --bbbsc-shadow-soft:0 12px 30px rgba(15,23,42,.06);
    --bbbsc-radius-xl:28px;
    --bbbsc-radius-lg:22px;
    --bbbsc-radius-md:18px;
    --bbbsc-radius-sm:14px;
}

.bbbsc-front-wrap,
.bbbsc-front-wrap *,
.bbbsc-portal-shell,
.bbbsc-portal-shell *,
.bbbsc-class-portal,
.bbbsc-class-portal *{
    font-family:var(--bbbsc-font);
}

.bbbsc-front-wrap,
.bbbsc-portal-shell,
.bbbsc-class-portal{
    color:var(--bbbsc-text);
}

.bbbsc-front-wrap{
    max-width:1360px;
    margin:26px auto;
    padding:0 16px;
}

.bbbsc-portal-shell,
.bbbsc-class-portal,
.bbbsc-front-wrap{
    background:
      radial-gradient(circle at top right, rgba(37,99,235,.08), transparent 24%),
      radial-gradient(circle at top left, rgba(99,102,241,.05), transparent 20%);
}

.bbbsc-front-hero,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-stat-card,
.bbbsc-plan-card,
.bbbsc-summary-pill,
.bbbsc-class-admin-card,
.bbbsc-form-section,
.bbbsc-empty-state,
.bbbsc-class-edit-grid,
.bbbsc-front-modal__dialog{
    background:linear-gradient(180deg,var(--bbbsc-surface) 0%,var(--bbbsc-surface-2) 100%);
    border:1px solid var(--bbbsc-line);
    box-shadow:var(--bbbsc-shadow-soft);
}

.bbbsc-front-hero,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-form-section,
.bbbsc-front-modal__dialog{
    border-radius:24px;
}

.bbbsc-front-hero{
    position:relative;
    overflow:hidden;
    padding:24px 24px;
}

.bbbsc-front-hero:not(.bbbsc-front-hero--class){
    background:
      radial-gradient(circle at top right, rgba(59,130,246,.16), transparent 30%),
      radial-gradient(circle at top left, rgba(99,102,241,.10), transparent 22%),
      linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#f4f8ff 100%);
    border-color:rgba(191,219,254,.7);
    box-shadow:var(--bbbsc-shadow);
}

.bbbsc-front-hero h2,
.bbbsc-front-card h3,
.bbbsc-plan-card h3,
.bbbsc-class-admin-card h4,
.bbbsc-front-modal__header h3{
    color:var(--bbbsc-text);
    font-weight:900;
    line-height:1.5;
}

.bbbsc-front-hero h2{font-size:28px}
.bbbsc-front-card h3{font-size:21px}
.bbbsc-front-hero p,
.bbbsc-front-card p,
.bbbsc-plan-card__desc,
.bbbsc-front-modal__header p,
.bbbsc-muted-text,
.bbbsc-empty-state p,
.bbbsc-class-admin-card p,
.bbbsc-form-section__header p{
    color:var(--bbbsc-muted);
    line-height:1.95;
    font-size:13px;
}

.bbbsc-portal-stats,
.bbbsc-class-stat-grid,
.bbbsc-plan-grid,
.bbbsc-front-split,
.bbbsc-class-admin-grid,
.bbbsc-form-section__grid,
.bbbsc-class-modal-grid,
.bbbsc-class-sale-fields,
.bbbsc-class-edit-grid,
.bbbsc-grid,
.bbbsc-front-button-row{
    gap:14px;
}

.bbbsc-stat-card,
.bbbsc-summary-pill{
    border-radius:20px;
    padding:16px 16px 14px;
}

.bbbsc-stat-card__title,
.bbbsc-summary-pill small,
.bbbsc-class-admin-card__meta span{
    color:var(--bbbsc-muted);
    font-size:12px;
    font-weight:800;
}

.bbbsc-stat-card__value,
.bbbsc-summary-pill strong{
    font-size:26px;
    font-weight:900;
}

.bbbsc-front-tabs{
    padding:8px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(226,232,240,.85);
    border-radius:18px;
    box-shadow:var(--bbbsc-shadow-soft);
}

.bbbsc-front-tab{
    min-height:40px;
    padding:10px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    color:var(--bbbsc-muted);
}

.bbbsc-front-tab--active{
    background:#fff;
    color:var(--bbbsc-text);
    box-shadow:0 10px 22px rgba(15,23,42,.08);
}

.bbbsc-card-head{
    margin-bottom:12px;
}

.bbbsc-card-tools input,
.bbbsc-class-search input,
.bbbsc-filter-input,
.bbbsc-front-form input,
.bbbsc-front-form select,
.bbbsc-front-form textarea,
.bbbsc-inline-form input,
.bbbsc-inline-form select,
.bbbsc-class-edit-grid input,
.bbbsc-class-edit-grid select,
.bbbsc-class-edit-grid textarea,
.bbbsc-front-bulk-users textarea,
.bbbsc-front-modal input,
.bbbsc-front-modal select,
.bbbsc-front-modal textarea{
    min-height:42px;
    border-radius:14px !important;
    border:1px solid var(--bbbsc-line-strong) !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
    color:var(--bbbsc-text);
    padding:10px 12px;
    transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.bbbsc-front-form textarea,
.bbbsc-class-edit-grid textarea,
.bbbsc-front-modal textarea{
    min-height:112px;
}

.bbbsc-card-tools input:focus,
.bbbsc-class-search input:focus,
.bbbsc-filter-input:focus,
.bbbsc-front-form input:focus,
.bbbsc-front-form select:focus,
.bbbsc-front-form textarea:focus,
.bbbsc-inline-form input:focus,
.bbbsc-inline-form select:focus,
.bbbsc-class-edit-grid input:focus,
.bbbsc-class-edit-grid select:focus,
.bbbsc-class-edit-grid textarea:focus,
.bbbsc-front-modal input:focus,
.bbbsc-front-modal select:focus,
.bbbsc-front-modal textarea:focus{
    border-color:rgba(37,99,235,.55) !important;
    box-shadow:0 0 0 4px rgba(37,99,235,.10) !important;
    outline:none;
}

.bbbsc-portal-shell .button,
.bbbsc-class-portal .button,
.bbbsc-front-wrap .button{
    min-height:38px;
    border-radius:12px;
    padding:0 14px;
    font-size:12px;
    font-weight:800;
    line-height:36px;
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.bbbsc-portal-shell .button:hover,
.bbbsc-class-portal .button:hover,
.bbbsc-front-wrap .button:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 24px rgba(15,23,42,.08);
}

.bbbsc-portal-shell .button.button-primary,
.bbbsc-class-portal .button.button-primary,
.bbbsc-front-wrap .button.button-primary{
    border-color:transparent;
    background:linear-gradient(135deg,var(--bbbsc-primary) 0%,var(--bbbsc-primary-2) 100%);
}

.bbbsc-portal-shell .button:not(.button-primary),
.bbbsc-class-portal .button:not(.button-primary),
.bbbsc-front-wrap .button:not(.button-primary){
    background:#fff;
    border-color:var(--bbbsc-line-strong);
    color:var(--bbbsc-text);
}

.table.bbbsc-admin-table,
.bbbsc-admin-table,
.bbbsc-front-card table,
.bbbsc-table-wrap table{
    border:1px solid var(--bbbsc-line);
    border-radius:18px;
    overflow:hidden;
    background:#fff;
}

.bbbsc-admin-table thead th,
.bbbsc-front-card table thead th,
.bbbsc-table-wrap table thead th{
    background:#f7faff;
    color:#334155;
    border-bottom:1px solid var(--bbbsc-line);
    font-size:12px;
    font-weight:900;
    padding:12px;
}

.bbbsc-admin-table td,
.bbbsc-front-card table td,
.bbbsc-table-wrap table td{
    padding:12px;
    border-bottom:1px solid #eef3f8;
    vertical-align:middle;
}

.bbbsc-admin-table tbody tr:nth-child(even) td,
.bbbsc-front-card table tbody tr:nth-child(even) td,
.bbbsc-table-wrap table tbody tr:nth-child(even) td{
    background:#fcfdff;
}

.bbbsc-admin-table tbody tr:hover td,
.bbbsc-front-card table tbody tr:hover td,
.bbbsc-table-wrap table tbody tr:hover td{
    background:#f8fbff;
}

.bbbsc-front-modal__backdrop{
    background:rgba(15,23,42,.64);
    backdrop-filter:blur(6px);
}

.bbbsc-front-modal__dialog{
    margin:4vh auto;
    max-height:92vh;
    padding:22px;
    box-shadow:0 32px 90px rgba(15,23,42,.26);
}

.bbbsc-front-modal__dialog--wide{
    max-width:920px;
}

.bbbsc-front-modal__dialog--scrollable{
    overflow:auto;
}

.bbbsc-front-modal__close{
    top:14px;
    left:14px;
    width:38px;
    height:38px;
    border:1px solid var(--bbbsc-line);
    background:#fff;
    box-shadow:0 10px 22px rgba(15,23,42,.08);
}

.bbbsc-autosave-state,
.bbbsc-status-pill,
.bbbsc-guest-join-badge,
.bbbsc-front-alert,
.bbbsc-front-step,
.bbbsc-summary-pill,
.bbbsc-class-switch,
.bbbsc-class-filter,
.bbbsc-front-tab,
.bbbsc-front-checkitem,
.bbbsc-card-tools input,
.bbbsc-class-search input{
    border-radius:16px;
}

.bbbsc-status-pill,
.bbbsc-guest-join-badge,
.bbbsc-autosave-state,
.bbbsc-class-filter{
    font-size:11px;
    font-weight:900;
}

.bbbsc-class-admin-card,
.bbbsc-plan-card{
    padding:18px;
}

.bbbsc-class-admin-card__meta div,
.bbbsc-summary-pill,
.bbbsc-front-checkitem,
.bbbsc-preview-box{
    background:#fff;
    border-color:var(--bbbsc-line);
}

.bbbsc-class-switch,
.bbbsc-front-checkitem,
.bbbsc-class-filter,
.bbbsc-front-step,
.bbbsc-summary-pill{
    box-shadow:none;
}

.bbbsc-portal-shell.is-loading:after{
    background:rgba(255,255,255,.58);
    backdrop-filter:blur(3px);
}

.bbbsc-portal-shell.is-loading:before{
    font-size:11px;
    letter-spacing:.01em;
    box-shadow:0 10px 24px rgba(15,23,42,.12);
}

::-webkit-scrollbar{
    width:10px;
    height:10px;
}
::-webkit-scrollbar-track{
    background:#edf2f8;
    border-radius:999px;
}
::-webkit-scrollbar-thumb{
    background:#c8d6e9;
    border-radius:999px;
}
::-webkit-scrollbar-thumb:hover{
    background:#9fb3cf;
}

@media (max-width: 900px){
    .bbbsc-front-wrap{padding:0 12px}
    .bbbsc-front-hero,.bbbsc-front-card,.bbbsc-front-form,.bbbsc-front-joinbox,.bbbsc-plan-card,.bbbsc-class-admin-card,.bbbsc-front-modal__dialog{padding:18px}
    .bbbsc-front-modal__dialog{margin:1.5vh 10px;max-height:94vh}
}

/* ===== BBBSC 1.79.4 Unified Internal Panel Theme ===== */
:root{
    --bbbsc-font:"BBBSC Panel",Tahoma,"Segoe UI",sans-serif;
    --bbbsc-bg:#f3f6fb;
    --bbbsc-surface:#ffffff;
    --bbbsc-surface-2:#fbfcff;
    --bbbsc-text:#162033;
    --bbbsc-muted:#66758f;
    --bbbsc-primary:#2563eb;
    --bbbsc-primary-2:#4f46e5;
    --bbbsc-primary-soft:#edf4ff;
    --bbbsc-accent:#0f172a;
    --bbbsc-success:#16a34a;
    --bbbsc-warning:#d97706;
    --bbbsc-danger:#dc2626;
    --bbbsc-line:#dce5f2;
    --bbbsc-line-strong:#cdd8e8;
    --bbbsc-shadow-soft:0 12px 34px rgba(15,23,42,.06);
    --bbbsc-shadow-card:0 14px 36px rgba(15,23,42,.07);
    --bbbsc-shadow-pop:0 24px 60px rgba(15,23,42,.14);
    --bbbsc-radius-sm:12px;
    --bbbsc-radius-md:16px;
    --bbbsc-radius-lg:22px;
    --bbbsc-radius-xl:28px;
    --bbbsc-field-h:42px;
    --bbbsc-gap:14px;
}

body[class*="bbb-saas-core"],
body[class*="bbb-saas-core"] *,
.bbbsc-front-wrap,
.bbbsc-front-wrap *,
.bbbsc-front-modal,
.bbbsc-front-modal *,
.bbbsc-class-portal,
.bbbsc-class-portal *,
.bbbsc-portal-shell,
.bbbsc-portal-shell *{
    font-family:var(--bbbsc-font);
    box-sizing:border-box;
}

body[class*="bbb-saas-core"],
.bbbsc-front-wrap,
.bbbsc-class-portal,
.bbbsc-portal-shell{
    color:var(--bbbsc-text);
}

body[class*="bbb-saas-core"]{
    background:var(--bbbsc-bg);
}

.bbbsc-front-wrap,
.bbbsc-class-portal,
.bbbsc-portal-shell,
.bbbsc-plan-wrap,
.bbbsc-portal{
    direction:rtl;
}

.bbbsc-front-wrap{
    max-width:1360px;
    padding-inline:18px;
}

body[class*="bbb-saas-core"] #wpcontent{
    background:linear-gradient(180deg,#f5f7fc 0%,#eef3fa 100%);
}

body[class*="bbb-saas-core"] .wrap,
.bbbsc-front-wrap,
.bbbsc-portal-shell,
.bbbsc-class-portal{
    line-height:1.85;
}

body[class*="bbb-saas-core"] h1,
body[class*="bbb-saas-core"] h2,
body[class*="bbb-saas-core"] h3,
body[class*="bbb-saas-core"] h4,
.bbbsc-front-wrap h1,
.bbbsc-front-wrap h2,
.bbbsc-front-wrap h3,
.bbbsc-front-wrap h4,
.bbbsc-class-portal h1,
.bbbsc-class-portal h2,
.bbbsc-class-portal h3,
.bbbsc-class-portal h4{
    color:#0f172a;
    letter-spacing:-.015em;
}

body[class*="bbb-saas-core"] h1,
.bbbsc-front-wrap h1{font-size:clamp(24px,2vw,31px);line-height:1.35;margin:0 0 14px}
body[class*="bbb-saas-core"] h2,
.bbbsc-front-wrap h2{font-size:clamp(19px,1.5vw,24px);line-height:1.45;margin:0 0 12px}
body[class*="bbb-saas-core"] h3,
.bbbsc-front-wrap h3{font-size:17px;line-height:1.55;margin:0 0 10px}
body[class*="bbb-saas-core"] h4,
.bbbsc-front-wrap h4{font-size:14px;line-height:1.65;margin:0 0 8px}

body[class*="bbb-saas-core"] p,
.bbbsc-front-wrap p,
.bbbsc-class-portal p{margin:0 0 10px;color:var(--bbbsc-muted)}

body[class*="bbb-saas-core"] .bbbsc-panel,
body[class*="bbb-saas-core"] .bbbsc-card,
body[class*="bbb-saas-core"] .bbbsc-stat-card,
body[class*="bbb-saas-core"] .postbox,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-front-hero,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-front-modal__dialog,
.bbbsc-class-section,
.bbbsc-class-auth-card,
.bbbsc-portal-auth-card,
.bbbsc-front-step,
.bbbsc-summary-pill{
    background:linear-gradient(180deg,var(--bbbsc-surface) 0%,var(--bbbsc-surface-2) 100%);
    border:1px solid var(--bbbsc-line);
    border-radius:var(--bbbsc-radius-lg);
    box-shadow:var(--bbbsc-shadow-card);
}

body[class*="bbb-saas-core"] .bbbsc-panel,
body[class*="bbb-saas-core"] .bbbsc-card,
body[class*="bbb-saas-core"] .bbbsc-stat-card,
body[class*="bbb-saas-core"] .postbox,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-front-hero,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-class-section,
.bbbsc-class-auth-card,
.bbbsc-portal-auth-card{
    padding:18px;
}

.bbbsc-front-hero,
body[class*="bbb-saas-core"] .bbbsc-hero{
    position:relative;
    overflow:hidden;
    border-radius:var(--bbbsc-radius-xl);
}

.bbbsc-front-hero::before,
body[class*="bbb-saas-core"] .bbbsc-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top right,rgba(37,99,235,.09),transparent 34%),radial-gradient(circle at left bottom,rgba(79,70,229,.08),transparent 38%);
    pointer-events:none;
}

.bbbsc-front-hero > *,
body[class*="bbb-saas-core"] .bbbsc-hero > *{position:relative;z-index:1}

body[class*="bbb-saas-core"] .bbbsc-stat-card,
.bbbsc-stat-card,
.bbbsc-class-admin-card,
.bbbsc-front-step,
.bbbsc-summary-pill{
    min-height:116px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.bbbsc-stat-card__title,
.bbbsc-class-admin-card__meta .label,
body[class*="bbb-saas-core"] .description,
.bbbsc-front-step small,
.bbbsc-front-meta li span,
.bbbsc-class-dashboard__top p,
.bbbsc-class-auth-note{
    font-size:12px;
    color:var(--bbbsc-muted);
}

.bbbsc-stat-card__value,
.bbbsc-front-hero h2,
.bbbsc-plan-card h3,
.bbbsc-class-dashboard__top h3{
    font-size:clamp(22px,2vw,28px);
    font-weight:900;
    line-height:1.28;
}

body[class*="bbb-saas-core"] label,
.bbbsc-front-form label,
.bbbsc-class-portal label,
.bbbsc-front-modal label{
    display:block;
    margin-bottom:8px;
    color:#21304a;
    font-size:12px;
    font-weight:800;
}

body[class*="bbb-saas-core"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body[class*="bbb-saas-core"] select,
body[class*="bbb-saas-core"] textarea,
.bbbsc-front-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.bbbsc-front-form select,
.bbbsc-front-form textarea,
.bbbsc-class-portal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.bbbsc-class-portal select,
.bbbsc-class-portal textarea,
.bbbsc-front-modal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.bbbsc-front-modal select,
.bbbsc-front-modal textarea,
.bbbsc-inline-form input,
.bbbsc-inline-form select{
    width:100%;
    min-height:var(--bbbsc-field-h);
    border:1px solid var(--bbbsc-line-strong);
    border-radius:14px;
    background:#fff;
    color:var(--bbbsc-text);
    padding:9px 12px;
    font-size:13px;
    line-height:1.55;
    box-shadow:0 1px 0 rgba(255,255,255,.7), inset 0 1px 2px rgba(15,23,42,.02);
    transition:border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

body[class*="bbb-saas-core"] textarea,
.bbbsc-front-form textarea,
.bbbsc-class-portal textarea,
.bbbsc-front-modal textarea{
    min-height:110px;
    resize:vertical;
}

body[class*="bbb-saas-core"] input:focus,
body[class*="bbb-saas-core"] select:focus,
body[class*="bbb-saas-core"] textarea:focus,
.bbbsc-front-form input:focus,
.bbbsc-front-form select:focus,
.bbbsc-front-form textarea:focus,
.bbbsc-class-portal input:focus,
.bbbsc-class-portal select:focus,
.bbbsc-class-portal textarea:focus,
.bbbsc-front-modal input:focus,
.bbbsc-front-modal select:focus,
.bbbsc-front-modal textarea:focus,
.bbbsc-inline-form input:focus,
.bbbsc-inline-form select:focus{
    border-color:#8cb2ff;
    outline:none;
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.10),0 10px 24px rgba(37,99,235,.06);
}

body[class*="bbb-saas-core"] .button,
body[class*="bbb-saas-core"] .button-primary,
body[class*="bbb-saas-core"] .button-secondary,
.bbbsc-front-wrap .button,
.bbbsc-class-portal .button,
.bbbsc-front-modal .button,
.bbbsc-front-tab,
.bbbsc-front-step,
.bbbsc-badge,
.bbbsc-pill,
.bbbsc-chip,
.bbbsc-status-pill,
.bbbsc-guest-join-badge,
.bbbsc-autosave-state,
.bbbsc-class-filter{
    font-size:12px;
    font-weight:800;
}

body[class*="bbb-saas-core"] .button,
body[class*="bbb-saas-core"] .button-primary,
body[class*="bbb-saas-core"] .button-secondary,
.bbbsc-front-wrap .button,
.bbbsc-class-portal .button,
.bbbsc-front-modal .button{
    min-height:40px;
    border-radius:14px;
    padding:0 14px;
    border:1px solid transparent;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    white-space:nowrap;
    box-shadow:none;
}

body[class*="bbb-saas-core"] .button-primary,
.bbbsc-front-wrap .button.button-primary,
.bbbsc-class-portal .button.button-primary,
.bbbsc-front-modal .button.button-primary{
    background:linear-gradient(135deg,var(--bbbsc-primary) 0%,var(--bbbsc-primary-2) 100%);
    color:#fff;
}

body[class*="bbb-saas-core"] .button:not(.button-primary),
body[class*="bbb-saas-core"] .button-secondary,
.bbbsc-front-wrap .button:not(.button-primary),
.bbbsc-class-portal .button:not(.button-primary),
.bbbsc-front-modal .button:not(.button-primary){
    background:#fff;
    color:var(--bbbsc-text);
    border-color:var(--bbbsc-line-strong);
}

body[class*="bbb-saas-core"] .button:hover,
body[class*="bbb-saas-core"] .button-primary:hover,
body[class*="bbb-saas-core"] .button-secondary:hover,
.bbbsc-front-wrap .button:hover,
.bbbsc-class-portal .button:hover,
.bbbsc-front-modal .button:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 26px rgba(15,23,42,.08);
}

body[class*="bbb-saas-core"] .button:active,
.bbbsc-front-wrap .button:active,
.bbbsc-class-portal .button:active,
.bbbsc-front-modal .button:active{
    transform:translateY(0);
}

body[class*="bbb-saas-core"] .widefat,
body[class*="bbb-saas-core"] .wp-list-table,
.bbbsc-table,
.bbbsc-admin-table,
.bbbsc-front-card table,
.bbbsc-table-wrap table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    border:1px solid var(--bbbsc-line);
    border-radius:18px;
    overflow:hidden;
    background:#fff;
}

body[class*="bbb-saas-core"] .widefat thead th,
body[class*="bbb-saas-core"] .wp-list-table thead th,
.bbbsc-table thead th,
.bbbsc-admin-table thead th,
.bbbsc-front-card table thead th,
.bbbsc-table-wrap table thead th{
    background:#f6f9ff;
    color:#31415d;
    font-size:12px;
    font-weight:900;
    padding:12px 13px;
    border-bottom:1px solid var(--bbbsc-line);
}

body[class*="bbb-saas-core"] .widefat td,
body[class*="bbb-saas-core"] .wp-list-table td,
.bbbsc-table td,
.bbbsc-admin-table td,
.bbbsc-front-card table td,
.bbbsc-table-wrap table td{
    padding:12px 13px;
    font-size:13px;
    color:var(--bbbsc-text);
    background:#fff;
    border-bottom:1px solid #edf2f8;
    vertical-align:middle;
}

body[class*="bbb-saas-core"] .nav-tab-wrapper,
.bbbsc-front-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:8px;
    border-radius:18px;
    background:rgba(255,255,255,.84);
    border:1px solid var(--bbbsc-line);
    box-shadow:var(--bbbsc-shadow-soft);
}

body[class*="bbb-saas-core"] .nav-tab,
.bbbsc-front-tab{
    min-height:38px;
    padding:0 14px;
    border-radius:999px;
    border:1px solid transparent;
    background:transparent;
    color:var(--bbbsc-muted);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

body[class*="bbb-saas-core"] .nav-tab-active,
body[class*="bbb-saas-core"] .nav-tab:hover,
.bbbsc-front-tab--active,
.bbbsc-front-tab:hover{
    background:#fff;
    color:var(--bbbsc-text);
    border-color:var(--bbbsc-line);
    box-shadow:0 8px 24px rgba(15,23,42,.07);
}

.bbbsc-front-modal__backdrop{
    background:rgba(15,23,42,.62);
    backdrop-filter:blur(8px);
}

.bbbsc-front-modal__dialog{
    max-width:min(980px,calc(100vw - 28px));
    max-height:min(92vh,980px);
    margin:3vh auto;
    overflow:auto;
    border-radius:26px;
    padding:20px;
    box-shadow:var(--bbbsc-shadow-pop);
}

.bbbsc-front-modal__dialog--wide{
    max-width:min(1120px,calc(100vw - 24px));
}

.bbbsc-front-modal__close{
    width:38px;
    height:38px;
    border-radius:14px;
    background:#fff;
    border:1px solid var(--bbbsc-line);
    box-shadow:0 10px 24px rgba(15,23,42,.08);
}

.bbbsc-front-checkitem,
.bbbsc-class-filter,
.bbbsc-class-switch,
.bbbsc-front-alert,
.bbbsc-preview-box,
.bbbsc-feature-card,
.bbbsc-pattern-var-card,
.bbbsc-feature-group,
.bbbsc-calendar-proxy,
.bbbsc-calendar-picker,
.bbbsc-plan-action-box,
.bbbsc-front-meta li,
.bbbsc-class-admin-card__meta div,
.bbbsc-template-card{
    border-radius:16px;
}

.bbbsc-class-search input,
.bbbsc-card-tools input,
.bbbsc-card-tools select,
.bbbsc-front-button-row .button,
.bbbsc-plan-action-row .button,
.bbbsc-class-dashboard__actions .button,
.bbbsc-actions-row .button{
    min-height:40px;
}

.bbbsc-front-button-row,
.bbbsc-plan-action-row,
.bbbsc-actions-row,
.bbbsc-class-dashboard__actions,
.bbbsc-front-bulk-users__toolbar,
.bbbsc-template-badges,
.bbbsc-chip-list,
.bbbsc-front-button-row form{
    gap:8px;
}

.bbbsc-class-section__head,
.bbbsc-template-card__head,
.bbbsc-plan-card__head,
.bbbsc-class-dashboard__top{
    margin-bottom:14px;
    padding-bottom:12px;
    border-bottom:1px solid #edf2f8;
}

.bbbsc-front-meta li,
.bbbsc-kv li{
    align-items:center;
    padding:10px 0;
    border-bottom:1px dashed #e3ebf5;
}

.bbbsc-list,
.bbbsc-plan-feature-list,
.bbbsc-kv-list{
    display:grid;
    gap:6px;
    padding-right:18px;
    line-height:1.9;
}

.bbbsc-badge,
.bbbsc-pill,
.bbbsc-chip,
.bbbsc-status-pill,
.bbbsc-guest-join-badge,
.bbbsc-autosave-state,
.bbbsc-class-filter{
    border-radius:999px;
    padding:6px 10px;
}

.bbbsc-badge--success{background:#eaf8ef;color:#136d34}
.bbbsc-badge--danger{background:#feeceb;color:#a61b1b}
.bbbsc-badge--warn{background:#fff4de;color:#9a6500}
.bbbsc-badge--neutral{background:#edf2f8;color:#42546d}

.bbbsc-front-alert{
    border:1px solid transparent;
    padding:12px 14px;
}

.bbbsc-front-alert--success{background:#ecfdf3;border-color:#b7efcc;color:#11653a}
.bbbsc-front-alert--error{background:#fff1f1;border-color:#fecaca;color:#a12121}
.bbbsc-front-alert--info{background:#eff6ff;border-color:#c5dcff;color:#1f53c5}

.bbbsc-calendar-picker,
.bbbsc-calendar-proxy,
.bbbsc-calendar-picker__time select{
    font-family:var(--bbbsc-font);
}

::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#edf2f8;border-radius:999px}
::-webkit-scrollbar-thumb{background:#c4d3e7;border-radius:999px}
::-webkit-scrollbar-thumb:hover{background:#9cb1cf}

@media (max-width: 1100px){
    .bbbsc-front-wrap{padding-inline:14px}
    .bbbsc-front-hero,.bbbsc-front-card,.bbbsc-front-form,.bbbsc-front-joinbox,.bbbsc-plan-card,.bbbsc-class-admin-card,.bbbsc-front-modal__dialog{padding:16px}
}

@media (max-width: 820px){
    body[class*="bbb-saas-core"] .bbbsc-panel,
    body[class*="bbb-saas-core"] .bbbsc-card,
    body[class*="bbb-saas-core"] .bbbsc-stat-card,
    .bbbsc-front-card,
    .bbbsc-front-form,
    .bbbsc-front-joinbox,
    .bbbsc-front-hero,
    .bbbsc-plan-card,
    .bbbsc-class-admin-card,
    .bbbsc-class-section,
    .bbbsc-class-auth-card,
    .bbbsc-portal-auth-card,
    .bbbsc-front-modal__dialog{padding:15px}

    .bbbsc-front-modal__dialog,
    .bbbsc-front-modal__dialog--wide{max-width:calc(100vw - 16px);margin:1.5vh auto}
    .bbbsc-front-wrap{padding-inline:10px}
}


/* ===== BBBSC 1.80.0 Office Compact Visual Rewrite ===== */
:root{
    --bbbsc-font:"BBBSC Office",Tahoma,"Segoe UI",sans-serif;
    --bbbsc-bg:#f4f6fa;
    --bbbsc-surface:#ffffff;
    --bbbsc-surface-2:#fbfcfe;
    --bbbsc-text:#1f2937;
    --bbbsc-title:#111827;
    --bbbsc-muted:#6b7280;
    --bbbsc-line:#dbe2ea;
    --bbbsc-line-strong:#cfd8e3;
    --bbbsc-primary:#1d4ed8;
    --bbbsc-primary-soft:#eff5ff;
    --bbbsc-success:#15803d;
    --bbbsc-danger:#b91c1c;
    --bbbsc-warning:#b45309;
    --bbbsc-shadow-card:0 8px 22px rgba(15,23,42,.05);
    --bbbsc-shadow-pop:0 18px 44px rgba(15,23,42,.10);
    --bbbsc-radius-xs:8px;
    --bbbsc-radius-sm:10px;
    --bbbsc-radius-md:14px;
    --bbbsc-radius-lg:18px;
    --bbbsc-radius-xl:22px;
    --bbbsc-field-h:38px;
    --bbbsc-btn-h:36px;
    --bbbsc-gap:12px;
    --bbbsc-gap-lg:16px;
}

body[class*="bbb-saas-core"],
body[class*="bbb-saas-core"] *,
.bbbsc-front-wrap,
.bbbsc-front-wrap *,
.bbbsc-class-portal,
.bbbsc-class-portal *,
.bbbsc-portal-shell,
.bbbsc-portal-shell *,
.bbbsc-front-modal,
.bbbsc-front-modal *{
    font-family:var(--bbbsc-font);
    box-sizing:border-box;
}

body[class*="bbb-saas-core"],
.bbbsc-front-wrap,
.bbbsc-class-portal,
.bbbsc-portal-shell{
    color:var(--bbbsc-text);
}

body[class*="bbb-saas-core"]{
    background:linear-gradient(180deg,#f6f8fc 0%,#f1f4f9 100%);
}

body[class*="bbb-saas-core"] #wpcontent,
body[class*="bbb-saas-core"] #wpbody-content,
body[class*="bbb-saas-core"] .wrap,
.bbbsc-front-wrap,
.bbbsc-class-portal,
.bbbsc-portal-shell{
    line-height:1.7;
}

body[class*="bbb-saas-core"] #wpcontent{
    padding-right:10px;
    background:transparent;
}

body[class*="bbb-saas-core"] .wrap{
    max-width:1420px;
    margin:16px 0 0;
}

.bbbsc-front-wrap{
    max-width:1340px;
    margin:18px auto;
    padding-inline:12px;
}

body[class*="bbb-saas-core"] h1,
body[class*="bbb-saas-core"] h2,
body[class*="bbb-saas-core"] h3,
body[class*="bbb-saas-core"] h4,
.bbbsc-front-wrap h1,
.bbbsc-front-wrap h2,
.bbbsc-front-wrap h3,
.bbbsc-front-wrap h4,
.bbbsc-class-portal h1,
.bbbsc-class-portal h2,
.bbbsc-class-portal h3,
.bbbsc-class-portal h4{
    color:var(--bbbsc-title);
    letter-spacing:-.01em;
    margin:0 0 8px;
    font-weight:700;
}

body[class*="bbb-saas-core"] h1,
.bbbsc-front-wrap h1,
.bbbsc-class-portal h1{font-size:22px;line-height:1.45}
body[class*="bbb-saas-core"] h2,
.bbbsc-front-wrap h2,
.bbbsc-class-portal h2{font-size:18px;line-height:1.5}
body[class*="bbb-saas-core"] h3,
.bbbsc-front-wrap h3,
.bbbsc-class-portal h3{font-size:15px;line-height:1.55}
body[class*="bbb-saas-core"] h4,
.bbbsc-front-wrap h4,
.bbbsc-class-portal h4{font-size:13px;line-height:1.6}

body[class*="bbb-saas-core"] p,
body[class*="bbb-saas-core"] li,
.bbbsc-front-wrap p,
.bbbsc-front-wrap li,
.bbbsc-class-portal p,
.bbbsc-class-portal li{
    font-size:12.75px;
}

body[class*="bbb-saas-core"] p,
.bbbsc-front-wrap p,
.bbbsc-class-portal p{
    color:var(--bbbsc-muted);
    margin:0 0 8px;
}

body[class*="bbb-saas-core"] .bbbsc-panel,
body[class*="bbb-saas-core"] .bbbsc-card,
body[class*="bbb-saas-core"] .bbbsc-stat-card,
body[class*="bbb-saas-core"] .postbox,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-front-hero,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-front-modal__dialog,
.bbbsc-class-section,
.bbbsc-class-auth-card,
.bbbsc-portal-auth-card,
.bbbsc-front-step,
.bbbsc-summary-pill,
.bbbsc-template-card,
.bbbsc-feature-group,
.bbbsc-feature-card,
.bbbsc-pattern-var-card,
.bbbsc-plan-action-box,
.bbbsc-preview-box,
.bbbsc-calendar-proxy,
.bbbsc-calendar-picker{
    background:linear-gradient(180deg,var(--bbbsc-surface) 0%,var(--bbbsc-surface-2) 100%);
    border:1px solid var(--bbbsc-line);
    border-radius:var(--bbbsc-radius-lg);
    box-shadow:var(--bbbsc-shadow-card);
}

body[class*="bbb-saas-core"] .bbbsc-panel,
body[class*="bbb-saas-core"] .bbbsc-card,
body[class*="bbb-saas-core"] .bbbsc-stat-card,
body[class*="bbb-saas-core"] .postbox,
.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-front-hero,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-class-section,
.bbbsc-class-auth-card,
.bbbsc-portal-auth-card,
.bbbsc-template-card,
.bbbsc-feature-group,
.bbbsc-preview-box,
.bbbsc-plan-action-box{
    padding:14px;
}

.bbbsc-front-hero,
body[class*="bbb-saas-core"] .bbbsc-hero{
    position:relative;
    overflow:hidden;
    border-radius:var(--bbbsc-radius-xl);
    padding:16px;
    background:
        radial-gradient(circle at top right,rgba(29,78,216,.07),transparent 34%),
        linear-gradient(180deg,#ffffff 0%,#f9fbfe 100%);
}

.bbbsc-front-hero::before,
body[class*="bbb-saas-core"] .bbbsc-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(29,78,216,.035) 100%);
    pointer-events:none;
}

.bbbsc-front-hero > *,
body[class*="bbb-saas-core"] .bbbsc-hero > *{position:relative;z-index:1}

.bbbsc-portal,
.bbbsc-plan-wrap,
.bbbsc-class-dashboard,
.bbbsc-class-sections,
body[class*="bbb-saas-core"] .bbbsc-wrap{
    display:grid;
    gap:14px;
}

.bbbsc-front-grid,
.bbbsc-front-split,
.bbbsc-grid,
body[class*="bbb-saas-core"] .bbbsc-grid,
body[class*="bbb-saas-core"] .bbbsc-grid-2,
body[class*="bbb-saas-core"] .bbbsc-grid-3,
.bbbsc-class-modal-grid,
.bbbsc-form-section__grid,
.bbbsc-feature-grid,
.bbbsc-pattern-var-grid,
.bbbsc-template-grid,
.bbbsc-mini-grid,
.bbbsc-class-stat-grid,
.bbbsc-portal-stats,
body[class*="bbb-saas-core"] .bbbsc-stats{
    gap:12px;
}

.bbbsc-portal-stats,
body[class*="bbb-saas-core"] .bbbsc-stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.bbbsc-plan-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px}
.bbbsc-template-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
.bbbsc-feature-grid,.bbbsc-pattern-var-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.bbbsc-class-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

.bbbsc-stat-card,
body[class*="bbb-saas-core"] .bbbsc-stat-card,
.bbbsc-summary-pill,
.bbbsc-front-step{
    min-height:88px;
    padding:12px 14px;
    justify-content:flex-start;
    gap:4px;
}

.bbbsc-stat-card__title,
body[class*="bbb-saas-core"] .bbbsc-stat-card__label,
.bbbsc-front-step small,
.bbbsc-summary-pill strong,
.bbbsc-front-meta li span,
.bbbsc-class-admin-card__eyebrow,
.bbbsc-class-admin-card__footnote,
.bbbsc-front-subtle,
.bbbsc-subtle,
.bbbsc-muted-text,
.bbbsc-class-auth-note,
body[class*="bbb-saas-core"] .description{
    font-size:11.5px;
    color:var(--bbbsc-muted);
    line-height:1.75;
}

.bbbsc-stat-card__value,
body[class*="bbb-saas-core"] .bbbsc-stat-card__value{
    font-size:22px;
    line-height:1.25;
    font-weight:800;
    color:var(--bbbsc-title);
}

.bbbsc-stat-card__sub{margin-top:2px;font-size:11.5px;color:var(--bbbsc-muted)}

body[class*="bbb-saas-core"] .button,
body[class*="bbb-saas-core"] .button-primary,
body[class*="bbb-saas-core"] .button-secondary,
.bbbsc-front-wrap .button,
.bbbsc-class-portal .button,
.bbbsc-front-button-row .button,
.bbbsc-plan-action-row .button,
.bbbsc-actions-row .button,
.bbbsc-table-actions .button,
.bbbsc-class-dashboard__actions .button,
.bbbsc-front-bulk-users__toolbar .button{
    min-height:var(--bbbsc-btn-h);
    height:var(--bbbsc-btn-h);
    padding:0 12px;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
    line-height:34px;
    box-shadow:none;
}

body[class*="bbb-saas-core"] .button,
.bbbsc-front-wrap .button,
.bbbsc-class-portal .button{
    border:1px solid var(--bbbsc-line-strong);
    background:#fff;
    color:var(--bbbsc-title);
}

body[class*="bbb-saas-core"] .button:hover,
.bbbsc-front-wrap .button:hover,
.bbbsc-class-portal .button:hover{
    border-color:#bdd0ea;
    background:#f9fbff;
}

body[class*="bbb-saas-core"] .button-primary,
.bbbsc-front-wrap .button-primary,
.bbbsc-class-portal .button-primary,
.bbbsc-calendar-picker__action--primary{
    background:linear-gradient(180deg,#2b67e9 0%,#1d4ed8 100%);
    border-color:#1d4ed8;
    color:#fff;
}

body[class*="bbb-saas-core"] .button-primary:hover,
.bbbsc-front-wrap .button-primary:hover,
.bbbsc-class-portal .button-primary:hover,
.bbbsc-calendar-picker__action--primary:hover{
    background:linear-gradient(180deg,#255dd3 0%,#1e40af 100%);
    border-color:#1e40af;
    color:#fff;
}

body[class*="bbb-saas-core"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
body[class*="bbb-saas-core"] select,
body[class*="bbb-saas-core"] textarea,
.bbbsc-front-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
.bbbsc-front-wrap select,
.bbbsc-front-wrap textarea,
.bbbsc-class-portal input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
.bbbsc-class-portal select,
.bbbsc-class-portal textarea,
.bbbsc-calendar-picker__time select{
    width:100%;
    border:1px solid var(--bbbsc-line-strong);
    background:#fff;
    color:var(--bbbsc-title);
    border-radius:10px;
    box-shadow:none;
    font-size:12.5px;
    padding:0 11px;
}

body[class*="bbb-saas-core"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
body[class*="bbb-saas-core"] select,
.bbbsc-front-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
.bbbsc-front-wrap select,
.bbbsc-class-portal input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
.bbbsc-class-portal select,
.bbbsc-calendar-picker__time select{
    min-height:var(--bbbsc-field-h);
    height:var(--bbbsc-field-h);
}

body[class*="bbb-saas-core"] textarea,
.bbbsc-front-wrap textarea,
.bbbsc-class-portal textarea{
    min-height:88px;
    padding:10px 11px;
    line-height:1.85;
}

body[class*="bbb-saas-core"] input:focus,
body[class*="bbb-saas-core"] select:focus,
body[class*="bbb-saas-core"] textarea:focus,
.bbbsc-front-wrap input:focus,
.bbbsc-front-wrap select:focus,
.bbbsc-front-wrap textarea:focus,
.bbbsc-class-portal input:focus,
.bbbsc-class-portal select:focus,
.bbbsc-class-portal textarea:focus,
.bbbsc-calendar-picker__time select:focus{
    border-color:#9ab7ea;
    outline:none;
    box-shadow:0 0 0 3px rgba(29,78,216,.10);
}

body[class*="bbb-saas-core"] label,
.bbbsc-front-wrap label,
.bbbsc-class-portal label,
.bbbsc-field > label,
.bbbsc-front-form label{
    display:block;
    margin:0 0 6px;
    font-size:12px;
    font-weight:700;
    color:var(--bbbsc-title);
}

body[class*="bbb-saas-core"] .form-table th,
body[class*="bbb-saas-core"] .form-table td,
body[class*="bbb-saas-core"] .bbbsc-field,
.bbbsc-front-wrap .bbbsc-field,
.bbbsc-form-section,
.bbbsc-front-form,
.bbbsc-front-form--compact,
.bbbsc-front-form--inline{
    margin-bottom:0;
}

.bbbsc-form-section,
.bbbsc-feature-group,
.bbbsc-template-test-form,
.bbbsc-pattern-map,
.bbbsc-class-sale-fields,
.bbbsc-sale-fields{
    display:grid;
    gap:10px;
    padding:12px;
    border:1px solid #e7edf5;
    background:#fcfdff;
    border-radius:14px;
}

.bbbsc-form-section__header,
.bbbsc-class-section__head,
.bbbsc-template-card__head,
.bbbsc-plan-card__head,
.bbbsc-class-dashboard__top,
.bbbsc-card-head,
.bbbsc-section-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
    padding-bottom:10px;
    border-bottom:1px solid #edf1f6;
}

.bbbsc-class-admin-card,
.bbbsc-plan-card,
.bbbsc-template-card{
    gap:12px;
}

.bbbsc-card-tools,
.bbbsc-card-tools--actions,
.bbbsc-front-button-row,
.bbbsc-plan-action-row,
.bbbsc-actions-row,
.bbbsc-table-actions,
.bbbsc-front-bulk-users__toolbar,
.bbbsc-class-dashboard__actions,
.bbbsc-template-badges,
.bbbsc-chip-list,
.bbbsc-plan-action-box,
.bbbsc-search-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}

.bbbsc-front-button-row form,
.bbbsc-table-actions form,
.bbbsc-card-tools form{margin:0}

.bbbsc-front-tabs,
body[class*="bbb-saas-core"] .nav-tab-wrapper{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    padding:6px;
    border:1px solid var(--bbbsc-line);
    border-radius:14px;
    background:#f7f9fc;
    box-shadow:none;
}

.bbbsc-front-tab,
body[class*="bbb-saas-core"] .nav-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:10px;
    border:1px solid transparent;
    background:transparent;
    color:var(--bbbsc-muted);
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    box-shadow:none;
}

.bbbsc-front-tab--active,
body[class*="bbb-saas-core"] .nav-tab-active{
    background:#fff;
    color:var(--bbbsc-title);
    border-color:var(--bbbsc-line);
}

body[class*="bbb-saas-core"] table,
.bbbsc-front-table,
.bbbsc-admin-table,
.bbbsc-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    font-size:12.5px;
    color:var(--bbbsc-text);
}

body[class*="bbb-saas-core"] table th,
body[class*="bbb-saas-core"] table td,
.bbbsc-front-table th,
.bbbsc-front-table td,
.bbbsc-admin-table th,
.bbbsc-admin-table td,
.bbbsc-table th,
.bbbsc-table td{
    padding:10px 12px;
    vertical-align:middle;
    border-bottom:1px solid #edf1f6;
}

body[class*="bbb-saas-core"] table th,
.bbbsc-front-table th,
.bbbsc-admin-table th,
.bbbsc-table th{
    font-size:11.5px;
    font-weight:800;
    color:#475569;
    background:#f8fafc;
    white-space:nowrap;
}

body[class*="bbb-saas-core"] table tr:last-child td,
.bbbsc-front-table tr:last-child td,
.bbbsc-admin-table tr:last-child td,
.bbbsc-table tr:last-child td{border-bottom:none}

.bbbsc-table-wrap,
.bbbsc-class-table-wrap,
body[class*="bbb-saas-core"] .table-wrap{
    border:1px solid var(--bbbsc-line);
    border-radius:16px;
    overflow:auto;
    background:#fff;
    box-shadow:var(--bbbsc-shadow-card);
}

.bbbsc-badge,
.bbbsc-pill,
.bbbsc-chip,
.bbbsc-status-pill,
.bbbsc-autosave-state,
.bbbsc-summary-pill,
.bbbsc-class-admin-card__status,
.bbbsc-front-alert,
.bbbsc-inline-notice{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:4px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    line-height:1.6;
}

.bbbsc-badge,
.bbbsc-pill,
.bbbsc-chip,
.bbbsc-status-pill,
.bbbsc-summary-pill,
.bbbsc-class-admin-card__status{
    background:#f3f6fb;
    color:#334155;
    border:1px solid #e4ebf3;
}

.bbbsc-badge--success,.bbbsc-status-pill--running{background:#ebf8ef;color:#166534;border-color:#cbead3}
.bbbsc-badge--danger,.bbbsc-status-pill--finished{background:#fef0f0;color:#b91c1c;border-color:#f8d0d0}
.bbbsc-badge--warn,.bbbsc-status-pill--scheduled{background:#fff6e8;color:#9a5a00;border-color:#f4dfb7}
.bbbsc-badge--neutral{background:#f3f5f8;color:#475569;border-color:#e2e8f0}

.bbbsc-front-alert,
.bbbsc-inline-notice{
    border:1px solid transparent;
    border-radius:12px;
    padding:10px 12px;
    font-size:12px;
    justify-content:flex-start;
}

.bbbsc-front-alert--success{background:#ecfdf3;border-color:#bce7cb;color:#166534}
.bbbsc-front-alert--error{background:#fff2f2;border-color:#fecaca;color:#b91c1c}
.bbbsc-front-alert--info{background:#eff6ff;border-color:#cfe0ff;color:#1d4ed8}

.bbbsc-list,
.bbbsc-plan-feature-list,
.bbbsc-kv-list,
.bbbsc-front-meta,
.bbbsc-kv{
    display:grid;
    gap:6px;
}

.bbbsc-front-meta li,
.bbbsc-kv li,
.bbbsc-class-admin-card__meta div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px 0;
    border-bottom:1px dashed #e5ebf3;
}

.bbbsc-front-meta li:last-child,
.bbbsc-kv li:last-child,
.bbbsc-class-admin-card__meta div:last-child{border-bottom:none}

.bbbsc-front-modal__dialog,
.bbbsc-front-modal__dialog--wide{
    width:min(980px,calc(100vw - 28px));
    max-width:min(980px,calc(100vw - 28px));
    max-height:92vh;
    margin:4vh auto;
    padding:0;
    overflow:hidden;
    box-shadow:var(--bbbsc-shadow-pop);
}

.bbbsc-front-modal__dialog--scrollable{overflow:hidden}

.bbbsc-front-modal__header{
    position:sticky;
    top:0;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px 14px;
    border-bottom:1px solid #edf1f6;
    background:#fff;
}

.bbbsc-front-modal__dialog > form,
.bbbsc-front-modal__dialog > .bbbsc-front-card,
.bbbsc-front-modal__dialog > .bbbsc-front-form,
.bbbsc-front-modal__dialog > .bbbsc-class-form,
.bbbsc-front-modal__dialog .bbbsc-front-modal__body,
.bbbsc-front-modal__dialog .bbbsc-class-modal-grid{
    padding:14px;
}

.bbbsc-front-modal__dialog--scrollable > form,
.bbbsc-front-modal__dialog--scrollable .bbbsc-class-form,
.bbbsc-front-modal__dialog--scrollable .bbbsc-class-modal-grid,
.bbbsc-front-modal__dialog--scrollable .bbbsc-front-modal__body{
    max-height:calc(92vh - 58px);
    overflow:auto;
}

.bbbsc-front-modal__close,
.bbbsc-modal-close,
.bbbsc-close-modal,
body[class*="bbb-saas-core"] .notice-dismiss{
    width:32px;
    height:32px;
    min-height:32px;
    border-radius:10px;
    border:1px solid var(--bbbsc-line);
    background:#fff;
    color:#475569;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.bbbsc-class-switch,
.bbbsc-inline-toggle,
.bbbsc-auth-switches{
    display:inline-flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    font-size:12px;
    font-weight:700;
    color:var(--bbbsc-title);
}

.bbbsc-auth-switches .button{
    flex:1 1 220px;
    text-align:center;
    white-space:normal;
    line-height:1.7;
}

.bbbsc-class-switch input,
.bbbsc-inline-toggle input,
.bbbsc-auth-switches input{margin:0}

.bbbsc-calendar-picker{
    width:min(320px,calc(100vw - 24px));
    padding:12px;
    border-radius:20px;
}

.bbbsc-calendar-picker__header{margin-bottom:10px}
.bbbsc-calendar-picker__title{font-size:14px}
.bbbsc-calendar-picker__badge{font-size:10px;padding:4px 10px}
.bbbsc-calendar-picker__preview{min-height:36px;padding:8px 10px;font-size:11px}
.bbbsc-calendar-picker__weekdays,.bbbsc-calendar-picker__grid{gap:5px}
.bbbsc-calendar-picker__weekdays span{font-size:10.5px}
.bbbsc-calendar-picker__day{min-height:34px;border-radius:11px;font-size:12px}
.bbbsc-calendar-picker__nav{width:32px;height:32px;border-radius:10px;font-size:18px;box-shadow:none}
.bbbsc-calendar-picker__time{gap:8px;margin-top:10px}
.bbbsc-calendar-picker__footer{margin-top:12px}
.bbbsc-calendar-picker__action{padding:7px 11px;border-radius:10px;font-size:11.5px;box-shadow:none}

.bbbsc-plan-card__price,
.bbbsc-front-hero h2,
.bbbsc-class-dashboard__top h3,
.bbbsc-class-auth-card__header h3,
.bbbsc-portal-auth-card__header h3{
    font-size:20px;
    line-height:1.45;
}

.bbbsc-front-steps{gap:8px}
.bbbsc-front-step{padding:10px 12px;text-align:center}
.bbbsc-front-step--current{background:#1f2937;border-color:#1f2937;color:#fff}

.bbbsc-empty-state,
.bbbsc-front-empty{
    padding:24px 14px;
    text-align:center;
    border:1px dashed #d9e3f0;
    border-radius:16px;
    background:#fbfdff;
}

.bbbsc-search-row input,
.bbbsc-filter-input,
.bbbsc-card-tools input,
.bbbsc-card-tools select,
.bbbsc-inline-form input,
.bbbsc-inline-form select{
    min-width:140px;
}

.bbbsc-front-checklist{
    gap:8px;
    max-height:320px;
}

.bbbsc-front-checkitem{
    grid-template-columns:auto minmax(0,1fr) minmax(120px,150px);
    gap:8px;
    padding:10px;
    border-radius:12px;
}

.bbbsc-front-checkitem strong{font-size:12.5px}
.bbbsc-front-checkitem small{font-size:11px}

::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#eef2f7;border-radius:999px}
::-webkit-scrollbar-thumb{background:#c5cfdb;border-radius:999px}
::-webkit-scrollbar-thumb:hover{background:#9aa8ba}

@media (max-width:1100px){
    .bbbsc-front-wrap{padding-inline:10px}
    .bbbsc-front-grid,.bbbsc-front-split,.bbbsc-grid,body[class*="bbb-saas-core"] .bbbsc-grid,body[class*="bbb-saas-core"] .bbbsc-grid-2,body[class*="bbb-saas-core"] .bbbsc-grid-3{grid-template-columns:1fr}
}

@media (max-width:820px){
    body[class*="bbb-saas-core"] .wrap{margin-top:12px}
    body[class*="bbb-saas-core"] .bbbsc-panel,
    body[class*="bbb-saas-core"] .bbbsc-card,
    body[class*="bbb-saas-core"] .bbbsc-stat-card,
    .bbbsc-front-card,
    .bbbsc-front-form,
    .bbbsc-front-joinbox,
    .bbbsc-front-hero,
    .bbbsc-plan-card,
    .bbbsc-class-admin-card,
    .bbbsc-class-section,
    .bbbsc-class-auth-card,
    .bbbsc-portal-auth-card,
    .bbbsc-front-modal__dialog,
    .bbbsc-template-card,
    .bbbsc-feature-group{padding:12px}

    .bbbsc-front-modal__dialog,
    .bbbsc-front-modal__dialog--wide{width:calc(100vw - 16px);max-width:calc(100vw - 16px);margin:2vh auto}
    .bbbsc-front-modal__dialog--scrollable > form,
    .bbbsc-front-modal__dialog--scrollable .bbbsc-class-form,
    .bbbsc-front-modal__dialog--scrollable .bbbsc-class-modal-grid,
    .bbbsc-front-modal__dialog--scrollable .bbbsc-front-modal__body{max-height:calc(94vh - 54px)}
    .bbbsc-front-button-row,.bbbsc-actions-row,.bbbsc-card-tools,.bbbsc-search-row{gap:6px}
    .bbbsc-front-checkitem{grid-template-columns:auto minmax(0,1fr)}
    .bbbsc-portal-stats,body[class*="bbb-saas-core"] .bbbsc-stats,.bbbsc-plan-grid,.bbbsc-template-grid,.bbbsc-feature-grid,.bbbsc-pattern-var-grid,.bbbsc-class-stat-grid{grid-template-columns:1fr}
}

.bbbsc-class-user-manager .bbbsc-card-head{align-items:flex-start}
.bbbsc-class-user-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:14px}
.bbbsc-class-user-board__col{padding:14px;border:1px solid #d9e4f3;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.bbbsc-class-user-board__col h5{margin:0 0 12px;font-size:14px;font-weight:800;color:#0f172a}
.bbbsc-class-user-pool .bbbsc-front-bulk-users__toolbar{margin-bottom:10px}
.bbbsc-class-user-pool-table td,.bbbsc-class-user-pool-table th{vertical-align:middle}
.bbbsc-class-user-pool-table select{min-width:130px}
.bbbsc-class-card__schedule{display:grid;gap:6px;padding:10px 12px;margin:10px 0;border:1px solid #dbe7f5;border-radius:14px;background:#f8fbff}
.bbbsc-class-card__schedule-clock{font-weight:800;color:#0f172a}
.bbbsc-class-card__schedule-note{font-size:12px;color:#64748b}
@media (max-width: 900px){.bbbsc-class-user-board{grid-template-columns:1fr}}

/* v1.81.1 class user modal compact + toast system */
.bbbsc-front-modal__dialog--xwide{max-width:min(1180px,calc(100vw - 28px));width:min(1180px,calc(100vw - 28px))}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-manager{margin-top:0!important;padding:14px 14px 12px;border-radius:20px;box-shadow:none;border:1px solid #dbe5f1;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.bbbsc-front-modal__dialog--xwide .bbbsc-front-alert{margin-bottom:12px;padding:10px 12px;border-radius:14px;font-size:12px;line-height:1.8}
.bbbsc-class-user-manager .bbbsc-card-head{margin-bottom:10px;gap:12px}
.bbbsc-class-user-manager .bbbsc-card-head h4{margin:0 0 4px;font-size:18px;line-height:1.6}
.bbbsc-class-user-manager .bbbsc-card-head p{margin:0;color:#64748b;font-size:12px;line-height:1.9}
.bbbsc-class-user-manager .bbbsc-card-tools--actions{gap:8px}
.bbbsc-class-user-manager .bbbsc-card-tools--actions .button{min-height:38px;padding:0 14px;border-radius:12px}
.bbbsc-class-user-board{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:12px;margin-top:12px}
.bbbsc-class-user-board__col{padding:12px;border-radius:18px;border:1px solid #dbe4ef;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04);min-width:0}
.bbbsc-class-user-board__title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.bbbsc-class-user-board__title h5{margin:0;font-size:13px;font-weight:900}
.bbbsc-class-user-board__title span{color:#64748b;font-size:11px;line-height:1.8}
.bbbsc-class-user-pool .bbbsc-front-bulk-users__toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.bbbsc-class-user-pool .bbbsc-filter-input{min-width:220px;flex:1 1 220px;height:38px;padding:0 12px;border-radius:12px}
.bbbsc-class-user-pool .button,.bbbsc-class-members-table .button,.bbbsc-front-form--inline .button{min-height:34px;padding:0 12px;border-radius:11px;font-size:12px}
.bbbsc-class-user-pool-table,.bbbsc-class-members-table{table-layout:fixed}
.bbbsc-class-user-pool-table th,.bbbsc-class-user-pool-table td,.bbbsc-class-members-table th,.bbbsc-class-members-table td{padding:10px 10px!important;vertical-align:middle;font-size:12px;line-height:1.8}
.bbbsc-class-user-pool-table th:nth-child(1),.bbbsc-class-members-table th:nth-child(1){width:56px}
.bbbsc-class-user-pool-table th:nth-child(3){width:170px}
.bbbsc-class-members-table th:nth-child(3){width:180px}
.bbbsc-class-members-table th:nth-child(4){width:180px}
.bbbsc-class-user-pool-table strong,.bbbsc-class-members-table strong{font-size:13px;font-weight:800;color:#0f172a}
.bbbsc-class-user-pool-table select,.bbbsc-class-members-table select,.bbbsc-class-user-manager input[type="search"]{width:100%;height:36px;min-height:36px;padding:0 10px;border:1px solid #d6dfeb;border-radius:11px;background:#f8fafc;font-size:12px}
.bbbsc-class-members-table .bbbsc-front-form--inline{display:flex;align-items:center;gap:6px;margin:0}
.bbbsc-class-members-table .bbbsc-front-button-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.bbbsc-class-members-table .bbbsc-front-button-row .button{margin:0}
.bbbsc-class-user-chip{display:inline-flex;align-items:center;justify-content:center;margin-top:5px;padding:2px 8px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:800}
.bbbsc-toast-stack{position:fixed;left:18px;bottom:18px;z-index:10050;display:grid;gap:10px;pointer-events:none;max-width:min(360px,calc(100vw - 24px))}
.bbbsc-toast{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.28);background:rgba(15,23,42,.94);color:#fff;box-shadow:0 18px 44px rgba(15,23,42,.28);backdrop-filter:blur(12px);transform:translateY(12px);opacity:0;transition:opacity .22s ease,transform .22s ease}
.bbbsc-toast.is-visible{transform:translateY(0);opacity:1}
.bbbsc-toast.is-leaving{transform:translateY(10px);opacity:0}
.bbbsc-toast__icon{width:22px;height:22px;border-radius:999px;background:rgba(255,255,255,.18);position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.bbbsc-toast__icon::before{content:"";position:absolute;inset:0;display:block;margin:auto;width:8px;height:8px;border-radius:999px;background:#fff;top:7px}
.bbbsc-toast__body{font-size:12px;font-weight:700;line-height:1.9}
.bbbsc-toast--success{background:rgba(5,102,70,.95)}
.bbbsc-toast--error{background:rgba(127,29,29,.96)}
.bbbsc-toast--info{background:rgba(30,64,175,.95)}
@media (max-width:980px){.bbbsc-front-modal__dialog--xwide{max-width:calc(100vw - 18px);width:calc(100vw - 18px)}.bbbsc-class-user-board{grid-template-columns:1fr}.bbbsc-class-user-board__title{flex-direction:column}.bbbsc-class-members-table th:nth-child(4){width:150px}}

/* v1.81.2 class-user manager compact polish */
.bbbsc-front-modal__dialog--xwide{max-width:min(1240px,calc(100vw - 24px));width:min(1240px,calc(100vw - 24px))}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-manager{padding:12px 12px 10px;border-radius:18px}
.bbbsc-class-user-manager .bbbsc-card-head{margin-bottom:8px;gap:10px}
.bbbsc-class-user-manager .bbbsc-card-head h4{font-size:15px;line-height:1.5}
.bbbsc-class-user-manager .bbbsc-card-head p{font-size:11px;line-height:1.8}
.bbbsc-class-user-manager .bbbsc-card-tools--actions .button{min-height:32px;height:32px;padding:0 12px;border-radius:10px;font-size:11.5px}
.bbbsc-class-user-manager .bbbsc-front-alert{padding:8px 10px;border-radius:12px;font-size:11px;line-height:1.75;margin-bottom:10px}
.bbbsc-class-user-board{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:10px;margin-top:10px}
.bbbsc-class-user-board__col{padding:10px;border-radius:16px}
.bbbsc-class-user-board__title{margin-bottom:8px;gap:8px}
.bbbsc-class-user-board__title h5{font-size:12.5px}
.bbbsc-class-user-board__title span{font-size:10.5px;line-height:1.7}
.bbbsc-class-user-pool .bbbsc-front-bulk-users__toolbar{gap:5px;margin-bottom:7px}
.bbbsc-class-user-pool .bbbsc-filter-input{min-width:200px;flex:1 1 200px;height:32px;min-height:32px;padding:0 10px;border-radius:10px;font-size:11.5px}
.bbbsc-class-user-pool .button,
.bbbsc-class-members-table .button,
.bbbsc-class-user-manager .bbbsc-front-form--inline .button,
.bbbsc-class-user-manager .bbbsc-front-bulk-users__toolbar .button{min-height:30px;height:30px;padding:0 10px;border-radius:9px;font-size:11px;line-height:28px}
.bbbsc-class-user-pool-table th,.bbbsc-class-user-pool-table td,
.bbbsc-class-members-table th,.bbbsc-class-members-table td{padding:7px 8px !important;font-size:11.5px;line-height:1.65}
.bbbsc-class-user-pool-table strong,.bbbsc-class-members-table strong{font-size:12px}
.bbbsc-class-user-pool-table th:nth-child(1),.bbbsc-class-members-table th:nth-child(1){width:42px}
.bbbsc-class-user-pool-table th:nth-child(3){width:150px}
.bbbsc-class-members-table th:nth-child(3){width:156px}
.bbbsc-class-members-table th:nth-child(4){width:130px}
.bbbsc-class-user-pool-table select,
.bbbsc-class-members-table select,
.bbbsc-class-user-manager input[type="search"]{height:30px;min-height:30px;padding:0 8px;border-radius:9px;font-size:11px}
.bbbsc-class-members-table .bbbsc-front-form--inline{gap:5px}
.bbbsc-class-members-table .bbbsc-class-role-autosave{display:grid;gap:6px}.bbbsc-class-members-table .bbbsc-class-role-autosave .bbbsc-autosave-state{justify-self:flex-start;min-width:0;padding:4px 8px;font-size:10px}
.bbbsc-class-members-table .bbbsc-front-button-row{gap:5px}
.bbbsc-class-user-chip{margin-top:4px;padding:1px 7px;font-size:10px}
.bbbsc-class-user-manager input[type="checkbox"],
.bbbsc-class-user-manager input[type="radio"]{width:15px !important;height:15px !important;min-width:15px;min-height:15px;margin:0;vertical-align:middle;accent-color:#2563eb;box-shadow:none}
.bbbsc-class-user-manager .bbbsc-table-wrap{border-radius:14px;overflow:auto}
.bbbsc-class-user-manager .bbbsc-muted-text{font-size:10.5px;line-height:1.7}
@media (max-width:980px){
  .bbbsc-front-modal__dialog--xwide{max-width:calc(100vw - 14px);width:calc(100vw - 14px)}
  .bbbsc-class-user-board{grid-template-columns:1fr}
  .bbbsc-class-members-table th:nth-child(4){width:110px}
}

/* v1.83.0 office-grade compact portal polish */
.bbbsc-portal-shell,
.bbbsc-portal-shell *,
.bbbsc-class-portal,
.bbbsc-class-portal *,
.bbbsc-front-modal,
.bbbsc-front-modal *{
    font-family:'BBBSCOfficeUI',Tahoma,'Segoe UI',sans-serif !important;
}

:root{
    --bbbsc-office-bg:#f4f7fb;
    --bbbsc-office-surface:#ffffff;
    --bbbsc-office-surface-soft:#f8fafc;
    --bbbsc-office-border:#dbe3ee;
    --bbbsc-office-border-strong:#cad4e2;
    --bbbsc-office-text:#1e293b;
    --bbbsc-office-muted:#64748b;
    --bbbsc-office-primary:#2563eb;
    --bbbsc-office-primary-strong:#1d4ed8;
    --bbbsc-office-shadow:0 12px 30px rgba(15,23,42,.06);
    --bbbsc-office-radius:14px;
}

.bbbsc-portal-shell,
.bbbsc-class-portal,
.bbbsc-front-wrap{
    background:var(--bbbsc-office-bg) !important;
    color:var(--bbbsc-office-text) !important;
    font-size:13px !important;
    line-height:1.85 !important;
}

.bbbsc-portal-shell{max-width:1380px !important;padding:16px !important;gap:14px !important}
.bbbsc-front-wrap{max-width:1380px !important;padding:0 14px !important;margin:20px auto !important}
.bbbsc-portal{gap:14px !important}

.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-front-hero,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-class-card,
.bbbsc-class-section,
.bbbsc-class-auth-card,
.bbbsc-portal-auth-card,
.bbbsc-stat-card,
.bbbsc-front-modal__dialog{
    background:var(--bbbsc-office-surface) !important;
    border:1px solid var(--bbbsc-office-border) !important;
    border-radius:var(--bbbsc-office-radius) !important;
    box-shadow:var(--bbbsc-office-shadow) !important;
}

.bbbsc-front-card,
.bbbsc-front-form,
.bbbsc-front-joinbox,
.bbbsc-front-hero,
.bbbsc-plan-card,
.bbbsc-class-admin-card,
.bbbsc-class-card,
.bbbsc-class-section,
.bbbsc-class-auth-card,
.bbbsc-portal-auth-card{
    padding:14px 15px !important;
}

.bbbsc-front-modal__dialog{padding:18px !important;border-radius:18px !important}
.bbbsc-front-modal__dialog--wide{max-width:1040px !important}
.bbbsc-front-modal__dialog--xwide{max-width:min(1180px,calc(100vw - 24px)) !important;width:min(1180px,calc(100vw - 24px)) !important}

.bbbsc-front-hero h2,
.bbbsc-front-card h3,
.bbbsc-plan-card h3,
.bbbsc-class-admin-card h4,
.bbbsc-front-modal__header h3{
    font-size:17px !important;
    line-height:1.6 !important;
    margin:0 0 10px !important;
    font-weight:800 !important;
    color:#0f172a !important;
}

.bbbsc-front-card h4,
.bbbsc-form-section__header h5{font-size:14px !important;line-height:1.6 !important}

.bbbsc-front-hero p,
.bbbsc-front-card p,
.bbbsc-plan-card__desc,
.bbbsc-front-modal__header p,
.bbbsc-class-admin-card p,
.bbbsc-form-section__header p,
.bbbsc-card-head p,
.bbbsc-muted-text{
    font-size:12px !important;
    line-height:1.9 !important;
    color:var(--bbbsc-office-muted) !important;
}

.bbbsc-stat-card{padding:12px 13px !important;border-radius:13px !important;box-shadow:0 8px 18px rgba(15,23,42,.05) !important}
.bbbsc-portal-stats{gap:10px !important;margin-bottom:14px !important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important}
.bbbsc-stat-card__title{font-size:11px !important;margin-bottom:4px !important;color:var(--bbbsc-office-muted) !important}
.bbbsc-stat-card__value{font-size:22px !important;line-height:1.25 !important}
.bbbsc-stat-card__sub{font-size:11px !important;margin-top:4px !important;color:var(--bbbsc-office-muted) !important}

.bbbsc-front-tabs{gap:8px !important;margin:0 0 14px !important}
.bbbsc-front-tab{padding:8px 12px !important;border-radius:999px !important;font-size:12px !important;box-shadow:none !important;border:1px solid var(--bbbsc-office-border) !important}
.bbbsc-front-tab--active{background:var(--bbbsc-office-primary) !important;border-color:var(--bbbsc-office-primary) !important}

.bbbsc-card-head{gap:8px !important;margin-bottom:12px !important;align-items:flex-end !important}
.bbbsc-card-tools,.bbbsc-card-tools--actions,.bbbsc-front-button-row,.bbbsc-table-actions,.bbbsc-actions-row{gap:7px !important}

.bbbsc-portal-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.bbbsc-portal-shell select,
.bbbsc-portal-shell textarea,
.bbbsc-class-portal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.bbbsc-class-portal select,
.bbbsc-class-portal textarea,
.bbbsc-front-modal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.bbbsc-front-modal select,
.bbbsc-front-modal textarea{
    min-height:36px !important;
    height:36px;
    border:1px solid var(--bbbsc-office-border-strong) !important;
    border-radius:10px !important;
    background:#fbfcfe !important;
    box-shadow:none !important;
    padding:0 11px !important;
    font-size:12.5px !important;
    color:var(--bbbsc-office-text) !important;
}

.bbbsc-portal-shell textarea,
.bbbsc-class-portal textarea,
.bbbsc-front-modal textarea{min-height:94px !important;height:auto;padding:10px 11px !important}

.bbbsc-portal-shell input:focus,
.bbbsc-portal-shell select:focus,
.bbbsc-portal-shell textarea:focus,
.bbbsc-class-portal input:focus,
.bbbsc-class-portal select:focus,
.bbbsc-class-portal textarea:focus,
.bbbsc-front-modal input:focus,
.bbbsc-front-modal select:focus,
.bbbsc-front-modal textarea:focus{
    border-color:rgba(37,99,235,.44) !important;
    box-shadow:0 0 0 3px rgba(37,99,235,.10) !important;
    outline:none !important;
}

.bbbsc-portal-shell .button,
.bbbsc-class-portal .button,
.bbbsc-front-modal .button{
    min-height:34px !important;
    height:34px !important;
    line-height:32px !important;
    padding:0 12px !important;
    border-radius:10px !important;
    font-size:12px !important;
    font-weight:700 !important;
    box-shadow:none !important;
}

.bbbsc-portal-shell .button.button-primary,
.bbbsc-class-portal .button.button-primary,
.bbbsc-front-modal .button.button-primary{background:var(--bbbsc-office-primary) !important;border-color:var(--bbbsc-office-primary) !important}
.bbbsc-portal-shell .button.button-primary:hover,
.bbbsc-class-portal .button.button-primary:hover,
.bbbsc-front-modal .button.button-primary:hover{background:var(--bbbsc-office-primary-strong) !important;border-color:var(--bbbsc-office-primary-strong) !important}
.bbbsc-portal-shell .button:not(.button-primary),
.bbbsc-class-portal .button:not(.button-primary),
.bbbsc-front-modal .button:not(.button-primary){background:#fff !important;border-color:var(--bbbsc-office-border-strong) !important;color:var(--bbbsc-office-text) !important}

.bbbsc-front-card table,
.bbbsc-admin-table,
.bbbsc-table-wrap table,
.bbbsc-class-user-pool-table,
.bbbsc-class-members-table{
    border:1px solid var(--bbbsc-office-border) !important;
    border-radius:12px !important;
    overflow:hidden;
    box-shadow:none !important;
}

.bbbsc-front-card table thead th,
.bbbsc-admin-table thead th,
.bbbsc-table-wrap table thead th,
.bbbsc-class-user-pool-table thead th,
.bbbsc-class-members-table thead th{
    background:#f8fafc !important;
    color:#475569 !important;
    font-size:11px !important;
    font-weight:800 !important;
    padding:9px 10px !important;
    border-bottom:1px solid var(--bbbsc-office-border) !important;
}

.bbbsc-front-card table td,
.bbbsc-admin-table td,
.bbbsc-table-wrap table td,
.bbbsc-class-user-pool-table td,
.bbbsc-class-members-table td{
    padding:9px 10px !important;
    font-size:12px !important;
    line-height:1.7 !important;
    border-bottom:1px solid #edf2f7 !important;
    vertical-align:top !important;
}

.bbbsc-table-actions .button,
.bbbsc-class-members-table .button,
.bbbsc-class-user-pool .button,
.bbbsc-class-user-manager .button{min-height:31px !important;height:31px !important;font-size:11.5px !important;padding:0 10px !important;border-radius:9px !important}

.bbbsc-class-user-manager .bbbsc-card-head h4{font-size:14px !important}
.bbbsc-class-user-manager .bbbsc-card-head p{font-size:11px !important}
.bbbsc-class-user-manager .bbbsc-front-alert{padding:8px 10px !important;font-size:11px !important;border-radius:11px !important}
.bbbsc-class-user-board{gap:10px !important}
.bbbsc-class-user-board__col{padding:10px !important;border-radius:14px !important}
.bbbsc-class-user-pool-table th,.bbbsc-class-user-pool-table td,.bbbsc-class-members-table th,.bbbsc-class-members-table td{padding:7px 8px !important}
.bbbsc-class-user-manager input[type="checkbox"],.bbbsc-class-user-manager input[type="radio"]{width:14px !important;height:14px !important;min-width:14px !important;min-height:14px !important}

.bbbsc-front-alert{padding:10px 12px !important;border-radius:12px !important;font-size:12px !important}
.bbbsc-toast-stack{left:14px !important;bottom:14px !important;gap:8px !important}
.bbbsc-toast{padding:10px 12px !important;border-radius:14px !important;grid-template-columns:20px minmax(0,1fr) !important}
.bbbsc-toast__body{font-size:11.5px !important;line-height:1.85 !important}

.bbbsc-plan-grid,.bbbsc-front-grid,.bbbsc-front-split,.bbbsc-class-admin-grid,.bbbsc-class-modal-grid,.bbbsc-form-section__grid{gap:12px !important}
.bbbsc-plan-card__price{font-size:20px !important}
.bbbsc-class-table-wrap .bbbsc-col-class-actions{min-width:360px !important}

@media (max-width:980px){
  .bbbsc-front-grid,.bbbsc-front-split,.bbbsc-plan-grid,.bbbsc-class-admin-grid,.bbbsc-class-modal-grid,.bbbsc-form-section__grid{grid-template-columns:1fr !important}
  .bbbsc-front-modal__dialog,.bbbsc-front-modal__dialog--wide,.bbbsc-front-modal__dialog--xwide{width:calc(100vw - 16px) !important;max-width:calc(100vw - 16px) !important;margin:2vh auto !important}
}

@media (max-width:640px){
  .bbbsc-portal-shell{padding:10px !important}
  .bbbsc-front-card,.bbbsc-front-form,.bbbsc-front-joinbox,.bbbsc-front-hero,.bbbsc-plan-card,.bbbsc-class-admin-card,.bbbsc-class-card,.bbbsc-class-section,.bbbsc-class-auth-card,.bbbsc-portal-auth-card{padding:12px !important}
  .bbbsc-portal-stats{grid-template-columns:1fr !important}
}


.bbbsc-recordings-filter{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(2,minmax(185px,1fr)) auto;align-items:end;gap:12px;width:100%}
.bbbsc-recordings-filter__field{min-width:0}
.bbbsc-recordings-filter__field label{display:flex;flex-direction:column;gap:8px;margin:0;height:100%}
.bbbsc-recordings-filter__field select,.bbbsc-recordings-filter__field input{width:100%;margin-top:0}
.bbbsc-recordings-filter__actions{display:flex;align-items:flex-end;justify-content:flex-start;min-width:max-content;align-self:end}
.bbbsc-recordings-filter__actions .button{min-width:96px;margin-top:0}
@media (max-width:1100px){.bbbsc-recordings-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.bbbsc-recordings-filter__actions{min-width:0}}
@media (max-width:680px){.bbbsc-recordings-filter{grid-template-columns:1fr;align-items:stretch}.bbbsc-recordings-filter__actions{justify-content:stretch}.bbbsc-recordings-filter__actions .button{width:100%}}

/* overview redesign */
.bbbsc-overview-actions-card{
  overflow:hidden;
}

.bbbsc-overview-action-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.bbbsc-overview-action{
  width:100%;
  min-height:178px;
  border:1px solid #dbe7f5;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.06);
  display:grid;
  gap:16px;
  align-content:space-between;
  padding:20px;
  text-align:right;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bbbsc-overview-action:hover,
.bbbsc-overview-action:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(15,23,42,.1);
  border-color:#bfdbfe;
  outline:none;
}

.bbbsc-overview-action__icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#111827 0%,#334155 100%);
  color:#ffffff;
  box-shadow:0 10px 24px rgba(15,23,42,.18);
}

.bbbsc-overview-action__icon svg{
  width:28px;
  height:28px;
}

.bbbsc-overview-action__body{
  display:grid;
  gap:8px;
}

.bbbsc-overview-action__body strong{
  font-size:18px;
  line-height:1.7;
  color:#0f172a;
}

.bbbsc-overview-action__body small{
  font-size:13px;
  line-height:2;
  color:#64748b;
}

@media (max-width:960px){
  .bbbsc-overview-action-grid{
    grid-template-columns:1fr;
  }

  .bbbsc-overview-action{
    min-height:136px;
  }
}

/* customer portal hero and top stats refresh */
.bbbsc-front-hero--customer{
  position:relative;
  overflow:hidden;
  border:1px solid #dbe7f5;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#eef6ff 100%);
}

.bbbsc-front-hero--customer::before{
  content:"";
  position:absolute;
  inset:auto -40px -60px auto;
  width:220px;
  height:220px;
  border-radius:999px;
  background:radial-gradient(circle,#dbeafe 0%,rgba(219,234,254,0) 70%);
  pointer-events:none;
}

.bbbsc-customer-hero{
  position:relative;
  z-index:1;
  display:grid;
  gap:16px;
}

.bbbsc-customer-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#e0f2fe;
  color:#0f172a;
  font-size:12px;
  font-weight:800;
}

.bbbsc-customer-hero__main h2{
  margin:10px 0 0;
}

.bbbsc-customer-hero__meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.bbbsc-customer-hero__chip{
  display:grid;
  gap:6px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(191,219,254,.9);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.bbbsc-customer-hero__chip small{
  color:#64748b;
  font-size:12px;
  font-weight:700;
}

.bbbsc-customer-hero__chip strong{
  color:#0f172a;
  font-size:15px;
  font-weight:800;
}

.bbbsc-stat-card{
  display:flex;
  flex-direction:column;
  min-height:168px;
}

.bbbsc-stat-card__footer{
  margin-top:auto;
  padding-top:10px;
}

.bbbsc-stat-card__action.button{
  min-height:auto;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  line-height:1.6;
}

@media (max-width:900px){
  .bbbsc-customer-hero__meta{
    grid-template-columns:1fr;
  }

  .bbbsc-stat-card{
    min-height:unset;
  }
}


/* portal plans + class filters + rtl-safe status toggle */
.bbbsc-subscription-filter{min-width:220px;height:40px;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:0 12px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05)}
.bbbsc-portal-plan-board{display:grid;gap:18px}
.bbbsc-portal-plan-group{display:grid;gap:14px}
.bbbsc-portal-plan-group__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bbbsc-portal-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.bbbsc-portal-plan-card{border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:18px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 18px 36px rgba(15,23,42,.06);display:grid;gap:14px}
.bbbsc-portal-plan-card--inactive{background:linear-gradient(180deg,#fff,#fcfcfd)}
.bbbsc-portal-plan-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.bbbsc-portal-plan-card__eyebrow{font-size:12px;color:#64748b;margin-bottom:6px}
.bbbsc-portal-plan-card h5{margin:0;font-size:16px}
.bbbsc-portal-plan-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bbbsc-portal-plan-card__meta div,.bbbsc-portal-limit-card{border:1px solid rgba(15,23,42,.07);border-radius:14px;padding:12px;background:#fff;display:grid;gap:6px}
.bbbsc-portal-plan-card__meta span,.bbbsc-portal-limit-card span{font-size:12px;color:#64748b}
.bbbsc-portal-plan-card__meta strong,.bbbsc-portal-limit-card strong{font-size:14px;color:#0f172a}
.bbbsc-portal-plan-card__actions{display:flex;flex-wrap:wrap;gap:8px}
.bbbsc-portal-limit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.bbbsc-class-table-wrap .bbbsc-col-class-status{min-width:110px;text-align:center}
.bbbsc-class-table-wrap td.bbbsc-col-class-status,.bbbsc-class-table-wrap th.bbbsc-col-class-status{vertical-align:middle;text-align:center}
.bbbsc-class-status-box--simple{display:flex;justify-content:center;align-items:center;min-height:42px}
.bbbsc-class-status-toggle-form{display:flex;justify-content:center;align-items:center;min-height:42px}
.bbbsc-switch--portal-simple{display:inline-flex;align-items:center;justify-content:center;direction:ltr;cursor:pointer}
.bbbsc-switch--portal-simple .bbbsc-switch__ui{position:relative;display:inline-flex;width:54px;height:30px;align-items:center;justify-content:center}
.bbbsc-switch--portal-simple .bbbsc-switch__track{position:absolute;inset:0;border-radius:999px;background:#dbe4f0;transition:all .2s ease}
.bbbsc-switch--portal-simple .bbbsc-switch__thumb{position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 6px 16px rgba(15,23,42,.22);transition:all .2s ease}
.bbbsc-switch--portal-simple .bbbsc-switch__input{position:absolute;opacity:0;pointer-events:none}
.bbbsc-switch--portal-simple .bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__track{background:#2563eb}
.bbbsc-switch--portal-simple .bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__thumb{left:28px}
.bbbsc-switch--portal-simple .bbbsc-switch__state,.bbbsc-switch--portal-simple .bbbsc-switch__meta{display:none!important}
.bbbsc-copy-link-btn.is-copied{background:#dcfce7!important;border-color:#86efac!important;color:#166534!important}
.bbbsc-copy-link-btn.is-copy-error{background:#fee2e2!important;border-color:#fca5a5!important;color:#991b1b!important}
.bbbsc-status-pill--active,.bbbsc-status-pill--running{background:#dcfce7;color:#166534}
.bbbsc-status-pill--draft,.bbbsc-status-pill--expired,.bbbsc-status-pill--archived{background:#e2e8f0;color:#475569}
.bbbsc-status-pill--grace_period,.bbbsc-status-pill--pending,.bbbsc-status-pill--scheduled{background:#fef3c7;color:#92400e}
.bbbsc-status-pill--cancelled,.bbbsc-status-pill--suspended{background:#fee2e2;color:#991b1b}
@media (max-width: 782px){.bbbsc-portal-plan-card__meta,.bbbsc-portal-limit-grid{grid-template-columns:1fr}.bbbsc-subscription-filter{min-width:0;width:100%}}


.bbbsc-class-presentation-current {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
}

.bbbsc-class-presentation-current a {
  word-break: break-word;
}

.bbbsc-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* v1.83.0 password autosave feedback + scrollable class modals */
.bbbsc-password-inline{display:flex;align-items:center;gap:8px}
.bbbsc-password-inline .bbbsc-password-field{min-width:0;flex:1 1 auto}
.bbbsc-password-inline .bbbsc-password-toggle{flex:0 0 auto;white-space:nowrap}
.bbbsc-col-password{min-width:220px}
.bbbsc-front-modal__dialog--scrollable > .bbbsc-front-card,
.bbbsc-front-modal__dialog--scrollable > form,
.bbbsc-front-modal__dialog--scrollable .bbbsc-class-form,
.bbbsc-front-modal__dialog--scrollable .bbbsc-class-modal-grid,
.bbbsc-front-modal__dialog--scrollable .bbbsc-front-modal__body{
    max-height:calc(92vh - 58px);
    overflow:auto;
    overscroll-behavior:contain;
}
@media (max-width:782px){
    .bbbsc-password-inline{flex-direction:column;align-items:stretch}
    .bbbsc-password-inline .bbbsc-password-toggle{width:100%}
}


.bbbsc-quick-add-box{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;padding:0 !important;border-radius:12px !important;border:1px solid #bfdbfe !important;background:#eff6ff !important;color:#1d4ed8 !important;font-size:24px !important;font-weight:900 !important;line-height:1 !important;box-shadow:0 6px 16px rgba(37,99,235,.12);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.bbbsc-quick-add-box:hover,.bbbsc-quick-add-box:focus{background:#dbeafe !important;box-shadow:0 10px 20px rgba(37,99,235,.18);transform:translateY(-1px)}
.bbbsc-quick-add-box:disabled{opacity:.45;box-shadow:none;transform:none}
.bbbsc-class-user-chip--in-class{background:#ecfdf5;color:#047857}
.bbbsc-class-user-pool-table th:last-child,.bbbsc-class-user-pool-table td:last-child{text-align:center}
.bbbsc-class-user-pool-table th:nth-child(4){width:84px}

.bbbsc-front-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.bbbsc-front-modal__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bbbsc-front-modal__actions .button{white-space:nowrap}

/* support tickets */
.bbbsc-support-ticket-card{display:grid;gap:14px;padding:18px;border:1px solid #e2e8f0;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 10px 28px rgba(15,23,42,.05);margin-bottom:16px}.bbbsc-support-ticket-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.bbbsc-support-ticket-card__head h4{margin:0 0 6px;font-size:20px}.bbbsc-support-ticket-card__head p{margin:0;color:#64748b;line-height:1.8}.bbbsc-support-ticket-card__meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bbbsc-support-ticket-card__meta span{display:grid;gap:4px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e2e8f0}.bbbsc-support-ticket-card__meta small{color:#64748b;font-weight:700}.bbbsc-support-ticket-card__meta strong{font-size:13px;line-height:1.8}.bbbsc-support-thread{display:grid;gap:10px}.bbbsc-support-message{display:grid;gap:8px;max-width:920px;padding:14px 16px;border-radius:18px;border:1px solid #e2e8f0;background:#fff}.bbbsc-support-message--admin{background:#eff6ff;border-color:#bfdbfe}.bbbsc-support-message--customer{background:#f8fafc;border-color:#e2e8f0}.bbbsc-support-message__meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#475569;font-size:12px;font-weight:800}.bbbsc-support-message__body{line-height:2;color:#0f172a}.bbbsc-status-pill--open{background:#e0f2fe;color:#075985}.bbbsc-status-pill--in_progress{background:#fef3c7;color:#92400e}.bbbsc-status-pill--answered{background:#dcfce7;color:#166534}.bbbsc-status-pill--closed{background:#e5e7eb;color:#475569}@media (max-width:782px){.bbbsc-support-ticket-card__meta{grid-template-columns:1fr}}

/* customer portal header cards unification */
.bbbsc-customer-hero__meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}

.bbbsc-customer-hero__chip{
  display:grid;
  gap:4px;
  min-height:98px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(191,219,254,.95);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.bbbsc-customer-hero__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:34px;
}

.bbbsc-customer-hero__label-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.bbbsc-customer-hero__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:12px;
  background:linear-gradient(180deg,#eff6ff,#dbeafe);
  color:#1d4ed8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  flex:0 0 34px;
}

.bbbsc-customer-hero__icon svg{
  width:18px;
  height:18px;
  display:block;
}

.bbbsc-customer-hero__chip small{
  color:#64748b;
  font-size:12px !important;
  font-weight:700;
  margin:0;
  line-height:1.5;
}

.bbbsc-customer-hero__chip strong{
  color:#0f172a;
  font-size:16px !important;
  font-weight:800;
  line-height:1.5;
  margin:0;
}

.bbbsc-customer-hero__sub{
  margin-top:0;
  color:#64748b !important;
  font-size:11.5px !important;
  line-height:1.8;
}

.bbbsc-customer-hero__mini-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid #bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  text-decoration:none;
  font-size:11.5px;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 6px 14px rgba(37,99,235,.10);
}

.bbbsc-customer-hero__mini-action:hover{
  background:#dbeafe;
  border-color:#93c5fd;
  color:#1e40af;
}

.bbbsc-customer-hero__mini-action-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:13px;
  font-weight:900;
  line-height:1;
}

@media (max-width:900px){
  .bbbsc-customer-hero__meta{
    grid-template-columns:1fr;
  }

  .bbbsc-customer-hero__chip{
    min-height:auto;
  }
}

/* v1.84.5 portal tabs polish + class code chip + rtl-safe toggle */
.bbbsc-class-table-wrap .bbbsc-col-class-code{min-width:132px}
.bbbsc-class-code-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 14px;
    border:1px solid rgba(37,99,235,.14);
    border-radius:12px;
    background:linear-gradient(180deg,#ffffff 0%,#f6faff 100%);
    color:#1e3a8a;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
    box-shadow:0 10px 22px rgba(37,99,235,.08);
}

.bbbsc-front-tabs--portal{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
    gap:6px !important;
    margin:0 0 18px !important;
    padding:0 !important;
    border:none !important;
    background:transparent !important;
    box-shadow:none !important;
}

.bbbsc-front-tab--portal{
    position:relative;
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 12px !important;
    border:1px solid rgba(148,163,184,.18) !important;
    border-radius:13px !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
    color:#334155 !important;
    text-align:center;
    text-decoration:none;
    box-shadow:0 10px 20px rgba(15,23,42,.045) !important;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.bbbsc-front-tab--portal::after{
    content:"";
    position:absolute;
    inset-inline-start:0;
    top:8px;
    bottom:8px;
    width:3px;
    border-radius:999px;
    background:transparent;
    transition:background .18s ease, opacity .18s ease;
    opacity:0;
}

.bbbsc-front-tab--portal .bbbsc-front-tab__icon{
    display:none !important;
}

.bbbsc-front-tab--portal .bbbsc-front-tab__label{
    display:block;
    width:100%;
    font-size:12.5px;
    font-weight:800;
    line-height:1.45;
}

.bbbsc-front-tab--portal:hover{
    transform:translateY(-1px);
    border-color:rgba(37,99,235,.16) !important;
    background:linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%) !important;
    color:#0f172a !important;
    box-shadow:0 14px 28px rgba(15,23,42,.07) !important;
}

.bbbsc-front-tab--portal:hover::after,
.bbbsc-front-tab--portal.bbbsc-front-tab--active::after{
    opacity:1;
    background:linear-gradient(180deg,#2563eb 0%,#4f46e5 100%);
}

.bbbsc-front-tab--portal.bbbsc-front-tab--active{
    border-color:rgba(37,99,235,.18) !important;
    background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%) !important;
    color:#0f172a !important;
    box-shadow:0 16px 30px rgba(37,99,235,.11) !important;
}

.bbbsc-class-status-toggle-form{
    justify-content:center;
    align-items:center;
    min-height:44px;
}

.bbbsc-switch--portal-simple{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    direction:ltr;
    cursor:pointer;
    line-height:0;
}

.bbbsc-switch--portal-simple .bbbsc-switch__ui{
    position:relative;
    display:inline-flex;
    width:58px;
    height:32px;
    flex:0 0 58px;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:999px;
}

.bbbsc-switch--portal-simple .bbbsc-switch__track{
    position:absolute;
    inset:0;
    border-radius:999px;
    background:linear-gradient(180deg,#d9e2ee 0%,#c9d4e3 100%);
    border:1px solid rgba(100,116,139,.18);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(148,163,184,.2);
    transition:background .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.bbbsc-switch--portal-simple .bbbsc-switch__thumb{
    position:absolute;
    top:4px;
    left:4px;
    width:24px;
    height:24px;
    border-radius:50%;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    box-shadow:0 8px 18px rgba(15,23,42,.18),0 2px 4px rgba(15,23,42,.08);
    transition:transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease;
    will-change:transform;
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__track{
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);
    border-color:rgba(37,99,235,.22);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 10px 20px rgba(37,99,235,.16);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__thumb{
    transform:translateX(26px);
    box-shadow:0 10px 22px rgba(37,99,235,.22),0 2px 4px rgba(15,23,42,.08);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:focus-visible + .bbbsc-switch__ui{
    outline:3px solid rgba(37,99,235,.18);
    outline-offset:4px;
}

.bbbsc-switch--portal-simple:hover .bbbsc-switch__thumb{
    box-shadow:0 12px 24px rgba(15,23,42,.2),0 2px 4px rgba(15,23,42,.08);
}

.bbbsc-switch--portal-simple .bbbsc-switch__state,
.bbbsc-switch--portal-simple .bbbsc-switch__meta{display:none !important}

@media (max-width: 980px){
    .bbbsc-front-tabs--portal{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 640px){
    .bbbsc-front-tabs--portal{grid-template-columns:1fr}
    .bbbsc-front-tab--portal{min-height:50px}
    .bbbsc-front-tab--portal .bbbsc-front-tab__label{font-size:12.5px}
}


/* v1.84.6 active tab indicator polish */
.bbbsc-front-tabs,
body[class*="bbb-saas-core"] .nav-tab-wrapper{
    position:relative;
    gap:10px;
    padding:8px;
    border-radius:16px;
    background:linear-gradient(180deg,#f8fbff 0%,#f3f6fb 100%);
    border-color:rgba(148,163,184,.28);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 12px 30px rgba(15,23,42,.04);
}

.bbbsc-front-tab,
body[class*="bbb-saas-core"] .nav-tab{
    position:relative;
    isolation:isolate;
    gap:8px;
    min-height:40px;
    padding:0 14px;
    border-radius:12px;
    overflow:hidden;
    transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.bbbsc-front-tab::before,
body[class*="bbb-saas-core"] .nav-tab::before{
    content:"";
    position:absolute;
    inset:6px auto 6px 6px;
    width:3px;
    border-radius:999px;
    background:transparent;
    opacity:0;
    transform:scaleY(.5);
    transition:opacity .18s ease,transform .18s ease,background-color .18s ease,box-shadow .18s ease;
}

.bbbsc-front-tab::after,
body[class*="bbb-saas-core"] .nav-tab::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(180deg,rgba(255,255,255,.45) 0%,rgba(255,255,255,0) 100%);
    opacity:0;
    z-index:-1;
    transition:opacity .18s ease;
}

.bbbsc-front-tab:hover,
body[class*="bbb-saas-core"] .nav-tab:hover{
    color:#0f172a;
    background:rgba(255,255,255,.72);
    border-color:rgba(148,163,184,.2);
    box-shadow:0 8px 18px rgba(15,23,42,.06);
    transform:translateY(-1px);
}

.bbbsc-front-tab--active,
body[class*="bbb-saas-core"] .nav-tab-active{
    color:#0f172a;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    border-color:rgba(99,102,241,.18);
    box-shadow:0 10px 24px rgba(99,102,241,.12),0 2px 8px rgba(15,23,42,.05);
}

.bbbsc-front-tab--active::before,
body[class*="bbb-saas-core"] .nav-tab-active::before{
    background:linear-gradient(180deg,#6366f1 0%,#8b5cf6 100%);
    opacity:1;
    transform:scaleY(1);
    box-shadow:0 0 0 3px rgba(99,102,241,.10);
}

.bbbsc-front-tab--active::after,
body[class*="bbb-saas-core"] .nav-tab-active::after{
    opacity:1;
}

@media (max-width:782px){
    .bbbsc-front-tabs,
    body[class*="bbb-saas-core"] .nav-tab-wrapper{
        gap:8px;
        padding:7px;
        border-radius:14px;
    }

    .bbbsc-front-tab,
    body[class*="bbb-saas-core"] .nav-tab{
        min-height:38px;
        padding:0 12px;
        font-size:11.5px;
    }
}

/* v1.84.9 hotfix: hero actions row, portal toggle, tighter tabs */
.bbbsc-customer-hero__main{
  display:grid;
  gap:10px;
}

.bbbsc-customer-hero__headline-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.bbbsc-customer-hero__headline-row h2{
  margin:0;
  min-width:0;
}

.bbbsc-customer-hero__actions{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  flex-wrap:wrap;
}

.bbbsc-customer-hero__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.22);
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  color:#0f172a;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.bbbsc-customer-hero__action:hover{
  color:#0f172a;
  background:rgba(255,255,255,.9);
  border-color:rgba(148,163,184,.26);
  box-shadow:0 12px 26px rgba(15,23,42,.08);
  transform:translateY(-1px);
}

.bbbsc-customer-hero__action.is-active{
  color:#0f172a;
  border-color:rgba(99,102,241,.22);
  background:linear-gradient(180deg,#ffffff 0%,#f5f7ff 100%);
  box-shadow:0 12px 28px rgba(99,102,241,.14),0 2px 8px rgba(15,23,42,.05);
}

.bbbsc-front-tabs--portal{
  gap:8px;
}

.bbbsc-front-tab--portal{
  min-height:38px;
  padding:0 12px;
}

.bbbsc-switch--portal-simple{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  direction:ltr;
  cursor:pointer;
  line-height:0;
  width:60px;
  height:34px;
}

.bbbsc-switch--portal-simple .bbbsc-switch__ui{
  position:relative;
  display:block;
  width:60px;
  height:34px;
  flex:0 0 60px;
  overflow:hidden;
  border-radius:999px;
}

.bbbsc-switch--portal-simple .bbbsc-switch__track{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:linear-gradient(180deg,#d9e2ee 0%,#c9d4e3 100%);
  border:1px solid rgba(100,116,139,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72), inset 0 -1px 0 rgba(148,163,184,.18);
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.bbbsc-switch--portal-simple .bbbsc-switch__thumb{
  position:absolute;
  inset-block-start:4px;
  inset-inline-start:4px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 8px 18px rgba(15,23,42,.18),0 2px 4px rgba(15,23,42,.08);
  transition:inset-inline-start .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease;
  will-change:inset-inline-start;
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__track{
  background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);
  border-color:rgba(37,99,235,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 22px rgba(37,99,235,.16);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:checked + .bbbsc-switch__ui .bbbsc-switch__thumb{
  inset-inline-start:30px;
  box-shadow:0 10px 22px rgba(37,99,235,.22),0 2px 4px rgba(15,23,42,.08);
}

.bbbsc-switch--portal-simple:hover .bbbsc-switch__thumb{
  box-shadow:0 12px 24px rgba(15,23,42,.2),0 2px 4px rgba(15,23,42,.08);
}

.bbbsc-switch--portal-simple .bbbsc-switch__state,
.bbbsc-switch--portal-simple .bbbsc-switch__meta{
  display:none !important;
}

@media (max-width: 900px){
  .bbbsc-customer-hero__headline-row{
    align-items:flex-start;
  }

  .bbbsc-customer-hero__actions{
    width:100%;
  }
}


/* v1.84.11 final fix: portal class status toggle rebuilt on checkbox itself */
.bbbsc-class-status-toggle-form{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:40px;
  margin:0;
}

.bbbsc-switch--portal-simple{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  direction:ltr;
  line-height:1;
}

.bbbsc-switch--portal-simple .bbbsc-switch__ui,
.bbbsc-switch--portal-simple .bbbsc-switch__state,
.bbbsc-switch--portal-simple .bbbsc-switch__meta{
  display:none !important;
}

.bbbsc-switch--portal-simple .bbbsc-switch__input{
  -webkit-appearance:none;
  appearance:none;
  position:relative !important;
  display:inline-block;
  inline-size:58px;
  block-size:32px;
  margin:0 !important;
  opacity:1 !important;
  pointer-events:auto !important;
  cursor:pointer;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.28);
  box-sizing:border-box;
  overflow:hidden;
  outline:none;
  background:linear-gradient(180deg,#dbe4ef 0%,#cad6e6 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78), inset 0 -1px 0 rgba(148,163,184,.16), 0 6px 16px rgba(15,23,42,.08);
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.bbbsc-switch--portal-simple .bbbsc-switch__input::before{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:26px;
  height:26px;
  border-radius:50%;
  box-sizing:border-box;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 2px 4px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.92);
  transition:left .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease;
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:hover{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78), inset 0 -1px 0 rgba(148,163,184,.16), 0 8px 18px rgba(15,23,42,.12);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:hover::before{
  box-shadow:0 3px 8px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.94);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:checked{
  background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);
  border-color:rgba(37,99,235,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px rgba(37,99,235,.20);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:checked::before{
  left:28px;
  box-shadow:0 3px 8px rgba(37,99,235,.18), inset 0 1px 0 rgba(255,255,255,.94);
}

.bbbsc-switch--portal-simple .bbbsc-switch__input:focus-visible{
  box-shadow:0 0 0 4px rgba(59,130,246,.18), inset 0 1px 0 rgba(255,255,255,.78), inset 0 -1px 0 rgba(148,163,184,.16), 0 6px 16px rgba(15,23,42,.08);
}


/* v1.84.14 modal close visibility fix */
.bbbsc-front-modal__dialog{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  max-height:min(92vh,920px);
}
.bbbsc-front-modal__dialog > form,
.bbbsc-front-modal__dialog > .bbbsc-front-card,
.bbbsc-front-modal__dialog > .bbbsc-front-form,
.bbbsc-front-modal__dialog > .bbbsc-class-form,
.bbbsc-front-modal__dialog .bbbsc-front-modal__body,
.bbbsc-front-modal__dialog .bbbsc-class-modal-grid{
  padding:16px 18px 18px;
}
.bbbsc-front-modal__header{
  position:sticky;
  top:0;
  z-index:3;
  padding:18px 18px 14px 70px;
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 100%);
  border-bottom:1px solid #edf1f6;
  backdrop-filter:blur(8px);
}
.bbbsc-front-modal__header h3,
.bbbsc-front-modal__header p{
  max-width:100%;
}
.bbbsc-front-modal__close{
  position:absolute;
  top:14px;
  left:14px;
  z-index:5;
  width:38px;
  height:38px;
  min-height:38px;
  border-radius:12px;
  border:1px solid var(--bbbsc-line,#dbe3ef);
  background:rgba(255,255,255,.98);
  color:#334155;
  box-shadow:0 10px 24px rgba(15,23,42,.12);
  backdrop-filter:blur(8px);
}
.bbbsc-front-modal__close:hover{
  background:#f8fafc;
  color:#0f172a;
}
.bbbsc-front-modal__dialog--scrollable > form,
.bbbsc-front-modal__dialog--scrollable .bbbsc-class-form,
.bbbsc-front-modal__dialog--scrollable .bbbsc-class-modal-grid,
.bbbsc-front-modal__dialog--scrollable .bbbsc-front-modal__body{
  max-height:calc(92vh - 86px);
  overflow:auto;
}
@media (max-width:782px){
  .bbbsc-front-modal__dialog{
    max-height:94vh;
  }
  .bbbsc-front-modal__header{
    padding:16px 16px 12px 60px;
  }
  .bbbsc-front-modal__close{
    top:12px;
    left:12px;
    width:36px;
    height:36px;
    min-height:36px;
  }
  .bbbsc-front-modal__dialog > form,
  .bbbsc-front-modal__dialog > .bbbsc-front-card,
  .bbbsc-front-modal__dialog > .bbbsc-front-form,
  .bbbsc-front-modal__dialog > .bbbsc-class-form,
  .bbbsc-front-modal__dialog .bbbsc-front-modal__body,
  .bbbsc-front-modal__dialog .bbbsc-class-modal-grid{
    padding:14px 14px 16px;
  }
}


/* v1.84.15 class card toggle status text */
.bbbsc-class-status-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.bbbsc-class-status-toggle__text{
  min-width:54px;
  text-align:center;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  color:#334155;
}
.bbbsc-class-status-toggle__text[data-status="active"]{
  color:#166534;
}
.bbbsc-class-status-toggle__text[data-status="inactive"]{
  color:#64748b;
}


.bbbsc-front-modal__header--attendance{
  display:block;
  padding-left:70px;
}

.bbbsc-front-modal__title{
  display:grid;
  gap:6px;
}

.bbbsc-front-modal__actions--attendance{
  position:relative;
  z-index:2;
  padding:12px 18px 0;
  justify-content:flex-start;
}

.bbbsc-front-modal__actions--attendance .button{
  min-width:120px;
}

.bbbsc-front-modal__actions--footer{
  padding:14px 18px 18px;
  border-top:1px solid #edf1f6;
  margin-top:14px;
}

@media (max-width:782px){
  .bbbsc-front-modal__header--attendance{
    padding-left:60px;
  }

  .bbbsc-front-modal__actions--attendance{
    padding:10px 16px 0;
  }

  .bbbsc-front-modal__actions--footer{
    padding:12px 16px 16px;
  }
}


/* v1.84.17 class link share modal */
.bbbsc-front-modal__dialog--share{max-width:min(560px,calc(100vw - 24px))!important;width:min(560px,calc(100vw - 24px))!important}
.bbbsc-class-share-modal{display:grid;gap:14px}
.bbbsc-class-share-modal__box{display:grid;gap:12px;padding:14px;border:1px solid #dbe5f1;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.bbbsc-class-share-modal__field{display:grid;gap:8px}
.bbbsc-class-share-modal__field span{font-weight:700;color:#0f172a}
.bbbsc-class-share-modal__field input{direction:ltr!important;text-align:left!important;font-size:13px!important;letter-spacing:.01em!important}
.bbbsc-class-share-modal__actions{justify-content:flex-start}
.bbbsc-class-share-modal__help{margin:0;color:#475569;font-size:13px;line-height:2}
@media (max-width:782px){
  .bbbsc-class-share-modal__actions{display:grid;grid-template-columns:1fr;gap:8px}
  .bbbsc-class-share-modal__actions .button{width:100%}
}

/* Enrollments tab class selector emphasis */
.bbbsc-enrollment-class-selector{
  margin:0 0 16px;
  padding:14px 16px;
  border:1px solid #bfdbfe;
  border-radius:18px;
  background:linear-gradient(180deg,#eff6ff 0%,#f8fbff 100%);
  box-shadow:0 10px 24px rgba(37,99,235,.08);
}
.bbbsc-enrollment-class-selector__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.bbbsc-enrollment-class-selector__head strong{
  display:block;
  margin:0 0 4px;
  font-size:14px;
  font-weight:900;
  color:#1e3a8a;
}
.bbbsc-enrollment-class-selector__head span{
  display:block;
  font-size:12px;
  line-height:1.8;
  color:#1d4ed8;
}
.bbbsc-enrollment-class-selector__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:#dbeafe;
  border:1px solid #93c5fd;
  color:#1e40af;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.bbbsc-enrollment-class-selector__form{
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.bbbsc-enrollment-class-selector__form label{
  margin:0;
}
.bbbsc-enrollment-class-selector__form select{
  border-color:#93c5fd;
  background:#fff;
}

@media (max-width:900px){
  .bbbsc-enrollment-class-selector__head{
    flex-direction:column;
    align-items:stretch;
  }
  .bbbsc-enrollment-class-selector__badge{
    width:100%;
    justify-content:flex-start;
    white-space:normal;
    padding:8px 12px;
  }
}


/* v1.84.27 fullscreen portal loader */
.bbbsc-portal-shell.is-loading::before,
.bbbsc-portal-shell.is-loading::after{
  content:none !important;
  display:none !important;
}
.bbbsc-portal-loader{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.38);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease, visibility .22s ease;
  z-index:99998;
}
.bbbsc-portal-shell.is-loading .bbbsc-portal-loader{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.bbbsc-portal-loader__panel{
  position:relative;
  width:min(340px,calc(100vw - 32px));
  padding:30px 26px 24px;
  border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(248,250,252,.96) 100%);
  border:1px solid rgba(226,232,240,.92);
  box-shadow:0 32px 90px rgba(15,23,42,.28), 0 12px 30px rgba(37,99,235,.12);
  text-align:center;
  overflow:hidden;
}
.bbbsc-portal-loader__panel::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:120px;
  background:radial-gradient(circle at top right,rgba(59,130,246,.18),transparent 56%), radial-gradient(circle at top left,rgba(168,85,247,.14),transparent 46%);
  pointer-events:none;
}
.bbbsc-portal-loader__visual{
  position:relative;
  width:88px;
  height:88px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
}
.bbbsc-portal-loader__glow{
  position:absolute;
  inset:12px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.22) 0%,rgba(14,165,233,.14) 42%,rgba(255,255,255,0) 74%);
  filter:blur(2px);
}
.bbbsc-portal-loader__ring{
  position:relative;
  width:88px;
  height:88px;
  border-radius:50%;
  background:conic-gradient(from 0deg,#2563eb 0deg,#7c3aed 125deg,#06b6d4 235deg,#2563eb 360deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 calc(100% - 7px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 calc(100% - 7px));
  animation:bbbscPortalLoaderSpin 1.15s linear infinite;
  box-shadow:0 10px 24px rgba(37,99,235,.18);
}
.bbbsc-portal-loader__dot{
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  background:linear-gradient(135deg,#2563eb 0%,#7c3aed 100%);
  box-shadow:0 0 0 6px rgba(37,99,235,.08),0 10px 18px rgba(37,99,235,.24);
  animation:bbbscPortalLoaderPulse 1.8s ease-in-out infinite;
}
.bbbsc-portal-loader__title{
  position:relative;
  z-index:1;
  margin:0 0 8px;
  font-size:20px;
  font-weight:900;
  color:#0f172a;
}
.bbbsc-portal-loader__subtitle{
  position:relative;
  z-index:1;
  margin:0;
  color:#475569;
  font-size:13px;
  line-height:1.9;
}
@keyframes bbbscPortalLoaderSpin{
  to{transform:rotate(360deg)}
}
@keyframes bbbscPortalLoaderPulse{
  0%,100%{transform:scale(.92);opacity:.88}
  50%{transform:scale(1.08);opacity:1}
}
@media (max-width:782px){
  .bbbsc-portal-loader__panel{
    width:min(300px,calc(100vw - 24px));
    padding:26px 20px 20px;
    border-radius:26px;
  }
  .bbbsc-portal-loader__visual,
  .bbbsc-portal-loader__ring{
    width:78px;
    height:78px;
  }
  .bbbsc-portal-loader__title{font-size:18px}
  .bbbsc-portal-loader__subtitle{font-size:12px}
}

/* v1.84.28 class builder modal redesign + attendance export button cleanup */
.bbbsc-front-modal__dialog--class-builder{
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 12%,#ffffff 100%);
  border:1px solid #dbe7f5;
  box-shadow:0 34px 90px rgba(15,23,42,.18);
}
.bbbsc-front-modal__header--class-builder{
  background:linear-gradient(135deg,rgba(239,246,255,.98) 0%,rgba(248,250,255,.98) 55%,rgba(255,255,255,.98) 100%);
  border-bottom:1px solid #dbe7f5;
}
.bbbsc-front-modal__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  margin:0 0 10px;
  padding:0 12px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-form{
  gap:18px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section{
  position:relative;
  gap:16px;
  padding:18px;
  border:1px solid #dbe7f5;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 16px 34px rgba(15,23,42,.05);
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section::before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  border-radius:24px 0 0 24px;
  background:linear-gradient(180deg,#3b82f6 0%,#8b5cf6 100%);
  opacity:.9;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header h5{
  margin:0 0 6px;
  font-size:16px;
  font-weight:900;
  color:#0f172a;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header p{
  max-width:720px;
  color:#475569;
  font-size:13px;
  line-height:2;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid{
  gap:16px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2{
  display:grid;
  gap:8px;
  padding:14px 16px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.03);
}
.bbbsc-front-modal__dialog--class-builder label > span{
  display:block;
  font-size:13px;
  font-weight:900;
  color:#0f172a;
}
.bbbsc-front-modal__dialog--class-builder input:not([type="checkbox"]):not([type="file"]),
.bbbsc-front-modal__dialog--class-builder select,
.bbbsc-front-modal__dialog--class-builder textarea{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#f8fafc;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height:92px;
  resize:vertical;
}
.bbbsc-front-modal__dialog--class-builder input:not([type="checkbox"]):not([type="file"]):focus,
.bbbsc-front-modal__dialog--class-builder select:focus,
.bbbsc-front-modal__dialog--class-builder textarea:focus{
  border-color:#60a5fa;
  background:#fff;
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
  outline:none;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  min-height:92px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid #e2e8f0;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields{
  gap:16px;
  margin-top:2px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-presentation-current{
  display:grid;
  gap:10px;
  padding:16px 18px;
  border:1px dashed #93c5fd;
  border-radius:20px;
  background:#eff6ff;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
  position:sticky;
  bottom:0;
  z-index:2;
  padding:16px 0 0;
  margin-top:2px;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.88) 18%,rgba(255,255,255,.98) 40%);
  backdrop-filter:blur(6px);
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions .button-primary{
  min-width:180px;
  min-height:48px;
  border-radius:16px;
  font-weight:900;
  box-shadow:0 18px 32px rgba(37,99,235,.18);
}
.bbbsc-front-modal__actions--attendance{
  padding:14px 18px 0;
  justify-content:flex-start;
}
.bbbsc-front-modal__actions--footer{
  position:sticky;
  bottom:0;
  z-index:2;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.92) 18%,rgba(255,255,255,.98) 45%);
  backdrop-filter:blur(6px);
}
.bbbsc-front-modal__actions--attendance .button{
  min-width:150px;
  min-height:44px;
  border-radius:14px;
  font-weight:900;
}
.bbbsc-attendance-export-source .bbbsc-portal-summary-pills{
  margin-bottom:16px;
}
.bbbsc-attendance-empty{
  margin:0;
}
@media (max-width:782px){
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section{
    padding:16px;
    border-radius:20px;
  }
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header{
    display:block;
  }
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > label,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields > label,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2{
    padding:12px 14px;
  }
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
    min-height:auto;
  }
  .bbbsc-front-modal__actions--attendance{
    padding:12px 16px 0;
  }
}


/* v1.84.30 class builder modal layout polish */
.bbbsc-front-modal__dialog--class-builder{
  max-width: 1080px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-form{
  gap: 14px;
  padding-top: 6px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section{
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section::before{
  width: 5px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header{
  display: grid;
  gap: 8px;
  padding: 18px 22px 16px;
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-bottom: 1px solid #e6eef8;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header h5{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header h5::before{
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg,#3b82f6 0%,#8b5cf6 100%);
  box-shadow: 0 0 0 6px rgba(59,130,246,.10);
  flex: 0 0 auto;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header p{
  max-width: none;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid{
  grid-template-columns: repeat(2,minmax(280px,1fr));
  gap: 12px;
  padding: 18px 22px 22px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  align-content: start;
  gap: 10px;
  min-height: 122px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2{
  min-height: auto;
}
.bbbsc-front-modal__dialog--class-builder label > span,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch span{
  min-height: 42px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 900;
  color: #0f172a;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch input{
  justify-self: end;
}
.bbbsc-front-modal__dialog--class-builder input:not([type="checkbox"]):not([type="file"]),
.bbbsc-front-modal__dialog--class-builder select,
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height: 50px;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.7;
  border-radius: 15px;
}
.bbbsc-front-modal__dialog--class-builder input[type="file"]{
  width: 100%;
  padding: 12px 14px;
  border: 1px dashed #93c5fd;
  border-radius: 15px;
  background: #eff6ff;
}
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height: 118px;
}
.bbbsc-front-modal__dialog--class-builder small.bbbsc-muted-text,
.bbbsc-front-modal__dialog--class-builder .bbbsc-muted-text{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.8;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-presentation-current{
  padding: 18px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
  padding: 16px 22px 0;
  margin-top: -4px;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions .button-primary{
  min-width: 220px;
  min-height: 52px;
  font-size: 15px;
}
@media (max-width: 900px){
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 782px){
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
    padding-left: 16px;
    padding-right: 16px;
  }
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header h5{
    font-size: 16px;
  }
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > label,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields > label,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
    min-height: auto;
    padding: 14px 15px;
  }
  .bbbsc-front-modal__dialog--class-builder label > span,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch span{
    min-height: auto;
  }
}


/* v1.84.31 class builder modal content visibility hotfix */
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-form{
  gap:16px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section{
  overflow:visible !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header{
  padding:16px 20px 12px !important;
  gap:6px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header h5{
  font-size:17px !important;
  line-height:1.5 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header p{
  font-size:13px !important;
  line-height:1.9 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid{
  padding:14px 20px 18px !important;
  gap:12px !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  min-height:0 !important;
  height:auto !important;
  padding:14px 16px !important;
  gap:8px !important;
  align-content:start !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
.bbbsc-front-modal__dialog--class-builder [data-bbbsc-sale-fields]{
  grid-column:1 / -1 !important;
}
.bbbsc-front-modal__dialog--class-builder label > span,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch span{
  min-height:0 !important;
  display:block !important;
  font-size:13px !important;
  line-height:1.8 !important;
  white-space:normal !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch input{
  justify-self:end;
  align-self:center;
}
.bbbsc-front-modal__dialog--class-builder input:not([type="checkbox"]):not([type="file"]),
.bbbsc-front-modal__dialog--class-builder select,
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height:46px !important;
  height:auto !important;
  padding:11px 14px !important;
  font-size:14px !important;
  line-height:1.7 !important;
}
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height:96px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-muted-text,
.bbbsc-front-modal__dialog--class-builder small.bbbsc-muted-text{
  margin-top:0 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
  padding:14px 20px 0 !important;
  margin-top:0 !important;
}
@media (max-width: 900px){
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid{
    grid-template-columns:1fr !important;
  }
}
@media (max-width: 782px){
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
    padding-left:16px !important;
    padding-right:16px !important;
  }
}


/* v1.84.32 class modal field layout and hide admin bar companion */
.bbbsc-form-section__grid--single{grid-template-columns:minmax(0,1fr) !important}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid--single,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid--single > label{
  grid-column:1 / -1 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid--single > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid--single .bbbsc-front-alert{
  min-height:0 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > .bbbsc-class-switch--compact{
  min-height:82px !important;
}


/* v1.84.33 single-column class builder modal on desktop */
.bbbsc-front-modal__dialog--class-builder{
  max-width:760px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-form{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
  grid-column:1 / -1 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section{
  padding:0 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header{
  padding:16px 18px 12px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header h5{
  font-size:16px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header p{
  font-size:12px !important;
  line-height:1.8 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid{
  grid-template-columns:1fr !important;
  padding:12px 18px 16px !important;
  gap:10px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields > label,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-span-2,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  min-height:0 !important;
  height:auto !important;
  padding:12px 14px !important;
  gap:7px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
}
.bbbsc-front-modal__dialog--class-builder label > span,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch span{
  min-height:0 !important;
  font-size:13px !important;
  line-height:1.75 !important;
}
.bbbsc-front-modal__dialog--class-builder input:not([type="checkbox"]):not([type="file"]),
.bbbsc-front-modal__dialog--class-builder select,
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height:44px !important;
  padding:10px 13px !important;
}
.bbbsc-front-modal__dialog--class-builder textarea{
  min-height:90px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-muted-text,
.bbbsc-front-modal__dialog--class-builder small.bbbsc-muted-text{
  font-size:11px !important;
  line-height:1.7 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-presentation-current{
  padding:14px !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
  padding:12px 18px 0 !important;
  justify-content:flex-end !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions .button-primary{
  min-width:190px !important;
  min-height:48px !important;
}
@media (max-width:782px){
  .bbbsc-front-modal__dialog--class-builder{
    max-width:none !important;
  }
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid,
  .bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
    padding-left:16px !important;
    padding-right:16px !important;
  }
}


/* v1.84.34 calendar field text/icon spacing fix */
.bbbsc-calendar-field{position:relative;display:block;min-height:auto;overflow:visible}
.bbbsc-calendar-field .bbbsc-calendar-proxy{display:block;width:100%;min-height:48px;box-sizing:border-box;padding-inline-start:14px !important;padding-inline-end:72px !important;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbbsc-calendar-trigger{inset-inline-end:12px;width:34px;height:34px;border-radius:10px;z-index:3}
.bbbsc-calendar-trigger__icon,.bbbsc-calendar-trigger__icon svg{width:16px;height:16px}
.bbbsc-calendar-proxy::-ms-clear,.bbbsc-calendar-proxy::-ms-reveal{display:none}


/* v1.84.35: class recording toggle, rtl selects, calendar trigger root fix */
.bbbsc-front-modal__dialog--class-builder select,
.bbbsc-front-form select,
.bbbsc-front-wrap select,
.bbbsc-class-portal select,
.bbbsc-portal-shell select,
.bbbsc-front-modal select,
.bbbsc-inline-form select,
.bbbsc-calendar-picker__time select{
  direction: rtl !important;
  text-align: right !important;
  text-align-last: right !important;
}
.bbbsc-front-modal__dialog--class-builder select option,
.bbbsc-front-form select option,
.bbbsc-front-wrap select option,
.bbbsc-class-portal select option,
.bbbsc-portal-shell select option,
.bbbsc-front-modal select option,
.bbbsc-inline-form select option,
.bbbsc-calendar-picker__time select option{
  direction: rtl;
  text-align: right;
}
.bbbsc-class-switch[data-bbbsc-recording-auto="1"].is-disabled{
  opacity: .58;
  background: #f1f5f9 !important;
  border-color: #dbe3ee !important;
}
.bbbsc-class-switch[data-bbbsc-recording-auto="1"].is-disabled span{
  color: #64748b !important;
}
.bbbsc-class-switch[data-bbbsc-recording-auto="1"].is-disabled input[type="checkbox"]{
  pointer-events: none;
}
.bbbsc-calendar-field{
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 40px;
  align-items: center;
  gap: 8px !important;
  width: 100%;
  min-height: auto !important;
  overflow: visible !important;
}
.bbbsc-calendar-field .bbbsc-calendar-proxy{
  width: 100% !important;
  min-width: 0;
  display: block;
  padding-inline-start: 14px !important;
  padding-inline-end: 14px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.bbbsc-calendar-trigger{
  position: static !important;
  inset: auto !important;
  top: auto !important;
  transform: none !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(37,99,235,.14) !important;
  z-index: 1 !important;
  flex: 0 0 40px;
}
.bbbsc-calendar-trigger:hover{
  transform: none !important;
}
.bbbsc-calendar-trigger__icon,
.bbbsc-calendar-trigger__icon svg{
  width: 16px !important;
  height: 16px !important;
}
input[type="date"],
input[type="datetime-local"]{
  padding-inline-end: 14px !important;
}

/* v1.84.35 portal users + download refinements */
.bbbsc-admin-table--users .bbbsc-col-role{min-width:210px}
.bbbsc-admin-table--users .bbbsc-col-password{min-width:320px}
.bbbsc-password-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%}
.bbbsc-password-inline .bbbsc-password-field{width:100%;min-width:0}
.bbbsc-autosave-state--hidden{display:none!important}
#portal-users-import-preview-modal td:first-child,#portal-users-import-preview-modal th:first-child{text-align:center}
#portal-users-import-preview-modal input[type="checkbox"],.bbbsc-import-preview-check{width:16px!important;height:16px!important;min-width:16px;min-height:16px;margin:0 auto!important;transform:scale(.85)}
@media (max-width:782px){
  .bbbsc-admin-table--users{min-width:760px}
  .bbbsc-admin-table--users .bbbsc-col-password{min-width:250px}
}


/* support tickets portal refresh */
.bbbsc-support-note{margin:0 0 16px;padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid #dbe4f0;color:#334155;line-height:2}
.bbbsc-support-table tbody tr.is-active td{background:#eff6ff}
.bbbsc-support-table tbody td{vertical-align:middle}
.bbbsc-support-table tbody td a{color:inherit;text-decoration:none;display:block}
.bbbsc-support-detail{display:grid;gap:18px}
.bbbsc-support-detail__actions{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.8fr);gap:16px;align-items:start}
.bbbsc-support-reply-form textarea{min-height:150px}
.bbbsc-support-close-form{height:100%;display:grid;align-content:start;gap:12px}
.bbbsc-support-close-form p{margin:0;color:#64748b;line-height:1.9}
@media (max-width:782px){.bbbsc-support-detail__actions{grid-template-columns:1fr}}

.bbbsc-recording-mode-fieldset{margin:0;padding:0;border:none;display:grid;gap:12px}
.bbbsc-recording-mode-fieldset legend{font-weight:800;color:#0f172a;margin-bottom:4px}
.bbbsc-recording-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bbbsc-recording-mode-option{position:relative;display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #dbe7f5;border-radius:18px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.bbbsc-recording-mode-option:hover{border-color:#93c5fd;box-shadow:0 10px 24px rgba(37,99,235,.08);transform:translateY(-1px)}
.bbbsc-recording-mode-option input{margin-top:4px;flex:0 0 auto}
.bbbsc-recording-mode-option__body{display:grid;gap:4px}
.bbbsc-recording-mode-option__body strong{font-size:14px;line-height:1.7;color:#0f172a}
.bbbsc-recording-mode-option__body small{color:#64748b;line-height:1.8}
.bbbsc-recording-mode-option:has(input:checked){border-color:#2563eb;background:linear-gradient(180deg,#eff6ff,#ffffff);box-shadow:0 14px 30px rgba(37,99,235,.12)}
.bbbsc-delete-warning-box{display:grid;gap:10px;padding:16px 18px;border:1px solid #fecaca;border-radius:18px;background:linear-gradient(180deg,#fff5f5,#fff)}
.bbbsc-delete-warning-box strong{color:#991b1b;font-size:15px}
.bbbsc-delete-warning-box p,.bbbsc-delete-warning-box li{color:#7f1d1d;line-height:1.9}
.bbbsc-delete-warning-box ul{margin:0;padding-right:18px}
.bbbsc-delete-warning-check{display:flex!important;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}
.bbbsc-delete-warning-check input{margin-top:4px}
.bbbsc-delete-warning-check span{line-height:1.9;color:#0f172a;font-weight:700}
@media (max-width:782px){.bbbsc-recording-mode-grid{grid-template-columns:1fr}}


/* v1.84.36 ui refinements: class builder rtl, support modal, bulk rows, logout */
.bbbsc-front-modal__dialog--class-builder,
.bbbsc-front-modal__dialog--class-builder .bbbsc-front-modal__header,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-modal-grid__actions{
  direction: rtl !important;
  text-align: right !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__header,
.bbbsc-front-modal__dialog--class-builder .bbbsc-front-modal__header{
  align-items: flex-start !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch span,
.bbbsc-front-modal__dialog--class-builder label > span{
  text-align: right !important;
  justify-items: start;
}
.bbbsc-recording-mode-grid{
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
.bbbsc-recording-mode-option{
  direction: rtl;
  text-align: right;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 14px;
}
.bbbsc-recording-mode-option input{
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  margin-top: 3px;
}
.bbbsc-recording-mode-option__body strong{font-size:13px}
.bbbsc-recording-mode-option__body small{font-size:12px;line-height:1.7}
.bbbsc-customer-hero__action--logout{
  background: linear-gradient(180deg,#ef4444 0%,#dc2626 100%) !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(220,38,38,.20) !important;
}
.bbbsc-customer-hero__action--logout:hover,
.bbbsc-customer-hero__action--logout:focus{
  color:#ffffff !important;
  background: linear-gradient(180deg,#f87171 0%,#dc2626 100%) !important;
  border-color:#991b1b !important;
}
.bbbsc-customer-hero__action-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  margin-left:2px;
  font-size:15px;
  line-height:1;
}
.bbbsc-bulk-user-builder{display:grid;gap:14px}
.bbbsc-bulk-user-builder__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bbbsc-bulk-user-builder__rows{display:grid;gap:10px}
.bbbsc-bulk-user-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.9fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}
.bbbsc-bulk-user-row label{display:grid;gap:8px;margin:0}
.bbbsc-bulk-user-row__remove{align-self:stretch;display:inline-flex;align-items:center;justify-content:center;min-width:86px}
@media (max-width:782px){.bbbsc-bulk-user-row{grid-template-columns:1fr}.bbbsc-bulk-user-row__remove{min-height:40px}}
.bbbsc-support-table .bbbsc-status-pill--open{background:#fef3c7;color:#92400e}
.bbbsc-support-close-form .button-link-delete{min-height:44px;font-weight:800}


/* v1.84.38 users/password + recording radio line fix */
.bbbsc-admin-table--users .bbbsc-password-inline{
  display:block;
}
.bbbsc-admin-table--users .bbbsc-password-inline .bbbsc-password-field{
  width:100%;
}
.bbbsc-recording-mode-grid{
  grid-template-columns:1fr !important;
  gap:10px !important;
}
.bbbsc-recording-mode-option{
  display:grid !important;
  grid-template-columns:auto 1fr !important;
  align-items:center !important;
  column-gap:10px !important;
  row-gap:0 !important;
  direction:rtl !important;
  text-align:right !important;
}
.bbbsc-recording-mode-option input{
  margin:0 !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  align-self:center !important;
}
.bbbsc-recording-mode-option__body{
  display:flex !important;
  align-items:center !important;
  gap:4px !important;
  min-width:0;
  flex-wrap:wrap;
}
.bbbsc-recording-mode-option__body strong,
.bbbsc-recording-mode-option__body small{
  display:inline !important;
  margin:0 !important;
  line-height:1.9 !important;
}
.bbbsc-recording-mode-option__body small{
  font-size:12px !important;
}


.bbbsc-upgrade-modal .bbbsc-front-modal__header p strong{color:#0f172a}
.bbbsc-upgrade-modal__list{display:grid;gap:16px}
.bbbsc-upgrade-option{display:grid;gap:14px;padding:18px;border:1px solid #dbe7f5;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff)}
.bbbsc-upgrade-option__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.bbbsc-upgrade-option__head h4{margin:0 0 6px;font-size:20px;line-height:1.5}
.bbbsc-upgrade-option__head p{margin:0;color:#64748b}
.bbbsc-upgrade-option__price{display:grid;justify-items:end;font-size:24px;font-weight:900;color:#0f172a}
.bbbsc-upgrade-option__price small{font-size:12px;color:#64748b;font-weight:700}
.bbbsc-upgrade-option__meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bbbsc-upgrade-option__meta div{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e2e8f0}
.bbbsc-upgrade-option__meta span{display:block;margin-bottom:6px;color:#64748b;font-size:12px;font-weight:700}
.bbbsc-upgrade-option__meta strong{font-size:14px;line-height:1.7}
.bbbsc-upgrade-option__features{display:flex;flex-wrap:wrap;gap:8px}
.bbbsc-upgrade-option__form{display:flex;justify-content:flex-end}
@media (max-width:782px){.bbbsc-upgrade-option__head{flex-direction:column}.bbbsc-upgrade-option__price{justify-items:start}.bbbsc-upgrade-option__meta{grid-template-columns:1fr}}


.bbbsc-field-error{display:none;margin-top:6px;color:#b42318;font-size:12px;line-height:1.7;font-weight:600}
input[data-bbbsc-mobile-validate="1"].is-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important;background:#fff5f5!important}
.bbbsc-bulk-user-row.is-invalid,.bbbsc-bulk-user-row:has(input.is-invalid){border-color:#f5c2c7;background:#fff5f5}
.bbbsc-admin-table--import-preview tr.bbbsc-import-preview-row--invalid{background:#fff1f2!important}
.bbbsc-admin-table--import-preview tr.bbbsc-import-preview-row--invalid td{color:#7f1d1d}
.bbbsc-import-preview-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.4}
.bbbsc-import-preview-status--valid{background:#ecfdf3;color:#027a48}
.bbbsc-import-preview-status--invalid{background:#fef3f2;color:#b42318}
.bbbsc-admin-table--import-preview input[type="checkbox"]:disabled{cursor:not-allowed;opacity:.45}

/* v1.84.42 finance tab redesign */
.bbbsc-finance-dashboard{display:grid;gap:18px}
.bbbsc-finance-hero{overflow:hidden}
.bbbsc-finance-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.bbbsc-finance-stat-card{display:grid;gap:8px;padding:18px 18px 16px;border:1px solid #e2e8f0;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 10px 24px rgba(15,23,42,.04);text-align:right}
.bbbsc-finance-stat-card--light{background:linear-gradient(180deg,#fcfdff 0%,#f8fafc 100%)}
.bbbsc-finance-stat-card span{font-size:13px;color:#475569;font-weight:700}
.bbbsc-finance-stat-card strong{font-size:24px;line-height:1.5;color:#0f172a}
.bbbsc-finance-stat-card small{font-size:12px;line-height:1.9;color:#64748b}
.bbbsc-finance-table-wrap{overflow:auto}
.bbbsc-finance-table th,.bbbsc-finance-table td{text-align:right;white-space:nowrap}
.bbbsc-finance-table td code{direction:ltr;display:inline-block}
.bbbsc-finance-timeline{display:grid;gap:12px}
.bbbsc-finance-timeline__item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid #e2e8f0;border-radius:20px;background:#fff}
.bbbsc-finance-timeline__date{font-size:13px;font-weight:800;color:#0f766e;background:#ecfeff;border:1px solid #bae6fd;border-radius:14px;padding:10px 12px;text-align:center}
.bbbsc-finance-timeline__body{display:grid;gap:8px;text-align:right}
.bbbsc-finance-timeline__body h4{margin:0;font-size:15px;color:#0f172a}
.bbbsc-finance-timeline__meta{display:flex;flex-wrap:wrap;gap:10px 14px;color:#64748b;font-size:12px}
.bbbsc-finance-timeline__body strong{font-size:18px;color:#0f172a}
@media (max-width:782px){.bbbsc-finance-timeline__item{grid-template-columns:1fr}.bbbsc-finance-timeline__date{text-align:right}}


/* v1.84.43 class modal switch rtl alignment fix */
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch--compact,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields .bbbsc-class-switch,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid .bbbsc-class-switch{
  direction: rtl !important;
  text-align: right !important;
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  justify-items: start !important;
  column-gap: 10px !important;
  row-gap: 0 !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch input[type="checkbox"],
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch--compact input[type="checkbox"]{
  grid-column: 1 !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: start !important;
}
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch span,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-switch--compact span,
.bbbsc-front-modal__dialog--class-builder .bbbsc-class-sale-fields .bbbsc-class-switch span,
.bbbsc-front-modal__dialog--class-builder .bbbsc-form-section__grid .bbbsc-class-switch span{
  grid-column: 2 !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: right !important;
  line-height: 1.9 !important;
}

/* Stage 4 storefront sales UX */
.bbbsc-storefront-filter-bar .bbbsc-form-section__grid{align-items:end}.bbbsc-storefront-filter-actions{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.bbbsc-front-meta--compact{margin-top:12px}.bbbsc-front-meta--compact li{min-width:0}.bbbsc-storefront-class-card .bbbsc-front-meta strong{font-size:13px;line-height:1.8}.bbbsc-storefront-class-card .bbbsc-front-meta span{font-size:12px}.bbbsc-storefront-page .bbbsc-front-card .bbbsc-front-meta{margin-top:12px}.bbbsc-class-sale-fields small.bbbsc-muted-text{margin-top:-2px}
@media (max-width:782px){.bbbsc-storefront-filter-actions{width:100%}.bbbsc-storefront-filter-actions .button{width:100%;text-align:center}}

/* Stage 5 storefront sales reports */
.bbbsc-storefront-page .widefat tr.is-selected td{background:#f8fafc}.bbbsc-subtle{font-size:11px;color:#64748b}.bbbsc-storefront-page .bbbsc-front-card .bbbsc-front-meta li{min-width:120px}.bbbsc-recordings-filter .bbbsc-recordings-filter__field input[type=text]{min-width:160px}

/* Stage 8 storefront final polish */
.bbbsc-storefront-page .bbbsc-badge{vertical-align:middle}.bbbsc-storefront-page .bbbsc-front-alert .bbbsc-badge{margin-inline-start:6px}.bbbsc-storefront-page .bbbsc-subtle .bbbsc-badge{margin-inline-end:6px}


/* v1.84.63 storefront/cards/portal wallet refresh */
.bbbsc-customer-hero--split{grid-template-columns:minmax(0,1.8fr) minmax(280px,.95fr);align-items:start;gap:18px}
.bbbsc-customer-hero__content{display:grid;gap:14px}
.bbbsc-customer-wallet-panel{display:grid;gap:12px;padding:18px;border-radius:24px;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#38bdf8 100%);color:#fff;box-shadow:0 22px 46px rgba(37,99,235,.22)}
.bbbsc-customer-wallet-panel__eyebrow{font-size:12px;font-weight:800;opacity:.8}
.bbbsc-customer-wallet-panel__amount{font-size:28px;font-weight:900;line-height:1.2}
.bbbsc-customer-wallet-panel__sub{font-size:13px;line-height:1.8;opacity:.92}
.bbbsc-customer-wallet-panel__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bbbsc-customer-wallet-panel__meta div{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.bbbsc-customer-wallet-panel__meta span{display:block;font-size:11px;opacity:.82;margin-bottom:4px}
.bbbsc-customer-wallet-panel__meta strong{font-size:13px;font-weight:800}
.bbbsc-customer-wallet-panel__actions{display:flex;gap:10px;flex-wrap:wrap}
.bbbsc-customer-wallet-panel__actions .button{border:none;min-height:42px;border-radius:14px;box-shadow:none}
.bbbsc-customer-wallet-panel__actions .button.button-primary{background:#fff;color:#0f172a}
.bbbsc-customer-wallet-panel__actions .button:not(.button-primary){background:rgba(255,255,255,.14);color:#fff}
.bbbsc-sales-tab-shell{display:grid;gap:16px}
.bbbsc-sales-subtabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.bbbsc-sales-subtab{appearance:none;border:1px solid rgba(148,163,184,.22);background:linear-gradient(180deg,#fff,#f8fbff);border-radius:16px;min-height:46px;padding:0 14px;font-size:13px;font-weight:800;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.05);cursor:pointer;transition:all .18s ease}
.bbbsc-sales-subtab:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(15,23,42,.08)}
.bbbsc-sales-subtab.is-active{border-color:rgba(37,99,235,.22);background:linear-gradient(180deg,#fff,#eff6ff);box-shadow:0 16px 30px rgba(37,99,235,.12)}
.bbbsc-sales-panel{display:none;gap:16px}
.bbbsc-sales-panel.is-active{display:grid}
.bbbsc-sales-class-grid,.bbbsc-storefront-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bbbsc-sales-class-card{overflow:hidden;border:1px solid rgba(148,163,184,.16);border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 18px 38px rgba(15,23,42,.06);display:grid}
.bbbsc-sales-class-card__media,.bbbsc-storefront-class-card__media{position:relative;min-height:200px;background:linear-gradient(135deg,#dbeafe,#eff6ff);overflow:hidden}
.bbbsc-sales-class-card__media img,.bbbsc-storefront-class-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.bbbsc-sales-class-card__placeholder,.bbbsc-storefront-class-card__media-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:18px;font-weight:800;padding:20px;text-align:center}
.bbbsc-sales-class-card__status{position:absolute;top:14px;inset-inline-start:14px;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:12px;font-weight:800;backdrop-filter:blur(8px)}
.bbbsc-sales-class-card__status.is-active{background:rgba(22,163,74,.88)}
.bbbsc-sales-class-card__body{display:grid;gap:14px;padding:18px}
.bbbsc-sales-class-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.bbbsc-sales-class-card__head h4{margin:0 0 6px;font-size:18px}
.bbbsc-sales-class-card__head p{margin:0;color:#64748b;line-height:1.8}
.bbbsc-sales-class-card__price{display:grid;justify-items:end;font-size:22px;font-weight:900;color:#0f172a}
.bbbsc-sales-class-card__price small{font-size:11px;color:#64748b;font-weight:700}
.bbbsc-sales-class-card__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bbbsc-sales-class-card__stats div{padding:12px 14px;border-radius:16px;border:1px solid rgba(148,163,184,.14);background:#fff;display:grid;gap:4px}
.bbbsc-sales-class-card__stats span{font-size:11px;color:#64748b}
.bbbsc-sales-class-card__stats strong{font-size:14px;color:#0f172a}
.bbbsc-sales-class-card__list{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.bbbsc-sales-class-card__list li{padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);color:#334155;font-size:12px;font-weight:700}
.bbbsc-sales-class-card__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bbbsc-sales-class-card__hint{font-size:12px;color:#64748b;line-height:1.9}
.bbbsc-storefront-class-card{overflow:hidden}
.bbbsc-storefront-class-card.is-featured{border-color:rgba(37,99,235,.22);box-shadow:0 20px 42px rgba(37,99,235,.16)}
.bbbsc-storefront-class-card__price{display:grid;justify-items:end;font-size:22px;font-weight:900;color:#0f172a}
.bbbsc-storefront-class-card__price small{font-size:11px;color:#64748b;font-weight:700}
@media (max-width:1180px){.bbbsc-sales-class-grid,.bbbsc-storefront-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbbsc-customer-hero--split{grid-template-columns:1fr}}
@media (max-width:782px){.bbbsc-sales-class-grid,.bbbsc-storefront-grid{grid-template-columns:1fr}.bbbsc-customer-wallet-panel__meta{grid-template-columns:1fr}.bbbsc-sales-subtabs{grid-template-columns:1fr}}


/* v1.84.64 portal summary + storefront wizard refinement */
.bbbsc-customer-hero--full{display:grid;gap:14px}
.bbbsc-customer-hero__lede{margin:0;color:#475569;line-height:1.95;max-width:860px}
.bbbsc-customer-hero__summary-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(310px,1.15fr);gap:16px;margin:0 0 18px;align-items:stretch}
.bbbsc-customer-hero__summary-grid .bbbsc-customer-hero__chip{min-height:150px}
.bbbsc-customer-hero__summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-content:stretch}
.bbbsc-customer-wallet-panel--summary{min-height:100%;align-self:stretch;position:relative;overflow:hidden}
.bbbsc-customer-wallet-panel--summary::after{content:"";position:absolute;inset:auto -42px -42px auto;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.08);filter:blur(2px)}
.bbbsc-customer-wallet-panel__actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:auto}
.bbbsc-customer-wallet-panel__cta{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none;backdrop-filter:blur(10px);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.bbbsc-customer-wallet-panel__cta:hover{transform:translateY(-1px);background:rgba(255,255,255,.19);box-shadow:0 14px 28px rgba(15,23,42,.16);color:#fff}
.bbbsc-customer-wallet-panel__cta.is-primary{background:#fff;color:#0f172a;border-color:#fff}
.bbbsc-customer-wallet-panel__cta.is-primary:hover{color:#0f172a;background:#f8fafc}
.bbbsc-customer-wallet-panel__cta-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:14px;background:rgba(15,23,42,.14);font-size:20px;font-weight:900;flex:0 0 40px}
.bbbsc-customer-wallet-panel__cta.is-primary .bbbsc-customer-wallet-panel__cta-icon{background:#dbeafe;color:#1d4ed8}
.bbbsc-customer-wallet-panel__cta-body{display:grid;gap:4px}
.bbbsc-customer-wallet-panel__cta-body strong{font-size:14px;line-height:1.4}
.bbbsc-customer-wallet-panel__cta-body small{font-size:12px;opacity:.86;line-height:1.8}

.bbbsc-front-modal__dialog.bbbsc-storefront-wizard{max-width:min(980px,calc(100vw - 28px))!important;width:min(980px,calc(100vw - 28px))!important;border-radius:30px;overflow:hidden;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 18%,#ffffff 100%)}
.bbbsc-storefront-purchase-form{display:grid;gap:18px}
.bbbsc-storefront-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bbbsc-storefront-step{display:grid;gap:4px;padding:14px 16px;border-radius:18px;border:1px solid #dbe5f1;background:linear-gradient(180deg,#fff,#f8fbff);font-size:13px;font-weight:900;color:#334155;box-shadow:0 10px 24px rgba(15,23,42,.04);transition:all .18s ease}
.bbbsc-storefront-step.is-active{background:linear-gradient(135deg,#1d4ed8,#38bdf8);border-color:transparent;color:#fff;box-shadow:0 18px 34px rgba(37,99,235,.18)}
.bbbsc-storefront-step small{font-size:11px;font-weight:700;opacity:.84}
.bbbsc-storefront-wizard-step{display:none;gap:14px}
.bbbsc-storefront-wizard-step.is-active{display:grid}
.bbbsc-storefront-wizard-hero{padding:18px 20px;border-radius:22px;border:1px solid #dbe7f5;background:linear-gradient(135deg,#eef4ff 0%,#f8fbff 100%);box-shadow:0 14px 34px rgba(15,23,42,.05)}
.bbbsc-storefront-wizard-hero .bbbsc-front-meta{margin-top:0}
.bbbsc-storefront-config-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.bbbsc-storefront-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bbbsc-storefront-choice{display:flex!important;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:20px;border:1px solid #dbe5f1;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 10px 24px rgba(15,23,42,.04);font-weight:700;color:#0f172a}
.bbbsc-storefront-choice input[type="checkbox"]{-webkit-appearance:none;appearance:none;width:18px;height:18px;min-width:18px;margin:2px 0 0;border:2px solid #94a3b8;border-radius:6px;background:#fff;display:inline-grid;place-items:center;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.bbbsc-storefront-choice input[type="checkbox"]::after{content:"";width:8px;height:8px;border-radius:2px;background:#2563eb;transform:scale(0);transition:transform .14s ease}
.bbbsc-storefront-choice input[type="checkbox"]:checked{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
.bbbsc-storefront-choice input[type="checkbox"]:checked::after{transform:scale(1)}
.bbbsc-storefront-choice input[type="checkbox"]:disabled{opacity:.45;cursor:not-allowed}
.bbbsc-storefront-choice__body{display:grid;gap:4px}
.bbbsc-storefront-choice__body strong{font-size:14px;line-height:1.5}
.bbbsc-storefront-choice__body small{color:#64748b;font-size:12px;line-height:1.9;font-weight:600}
.bbbsc-storefront-participants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bbbsc-storefront-seat{display:grid;gap:14px;padding:18px;border-radius:24px;border:1px solid #dbe5f1;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 14px 28px rgba(15,23,42,.05)}
.bbbsc-storefront-seat__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.bbbsc-storefront-seat__head strong{font-size:15px;line-height:1.5;color:#0f172a}
.bbbsc-storefront-seat__head small{display:block;color:#64748b;font-size:12px;line-height:1.8;font-weight:700}
.bbbsc-storefront-seat.is-self{border-color:#93c5fd;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)}
.bbbsc-storefront-seat__badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:900;white-space:nowrap}
.bbbsc-storefront-review-card{border-radius:24px;border:1px solid #dbe7f5;box-shadow:0 16px 32px rgba(15,23,42,.05)}
.bbbsc-storefront-review-items{display:grid;gap:10px;margin-top:14px}
.bbbsc-storefront-review-item{display:grid;grid-template-columns:120px 1fr 1fr;gap:10px;padding:12px 14px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;align-items:center}
.bbbsc-storefront-review-item strong{font-size:13px;color:#0f172a}
.bbbsc-storefront-review-item span{color:#475569;line-height:1.8}
.bbbsc-storefront-participants-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;color:#64748b;line-height:2;text-align:center}
.bbbsc-storefront-wizard .bbbsc-class-modal-grid__actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.bbbsc-storefront-wizard .bbbsc-class-modal-grid__actions .button{min-height:46px;padding:0 18px;border-radius:16px;font-weight:800}

@media (max-width:1280px){.bbbsc-customer-hero__summary-grid{grid-template-columns:minmax(0,1fr)}.bbbsc-customer-hero__summary-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.bbbsc-storefront-config-grid,.bbbsc-storefront-choice-grid,.bbbsc-storefront-participants{grid-template-columns:1fr}.bbbsc-storefront-review-item{grid-template-columns:1fr}.bbbsc-storefront-steps{grid-template-columns:1fr}.bbbsc-storefront-wizard .bbbsc-class-modal-grid__actions{justify-content:stretch}.bbbsc-storefront-wizard .bbbsc-class-modal-grid__actions .button{width:100%}}
@media (max-width:900px){.bbbsc-customer-hero__summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:782px){.bbbsc-customer-hero__summary-grid{grid-template-columns:1fr}.bbbsc-customer-hero__summary-cards{grid-template-columns:1fr}.bbbsc-customer-hero__summary-grid .bbbsc-customer-hero__chip{min-height:unset}}


.bbbsc-class-presentation-current__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;line-height:1.9}
.bbbsc-class-presentation-current__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.bbbsc-class-presentation-current__actions .button{border-radius:12px;min-height:38px;padding:0 14px;font-weight:800}
.bbbsc-class-inline-file{margin-top:6px;font-size:12px;line-height:1.9;color:#475569}
.bbbsc-class-inline-file span{font-weight:700;color:#334155}
@media (max-width:782px){.bbbsc-class-presentation-current__actions{flex-direction:column;align-items:flex-start}}

.bbbsc-plan-lock-hint{display:block;margin-top:6px;color:#b45309;font-size:12px;line-height:1.9}
.bbbsc-plan-locked{opacity:.92}
.bbbsc-plan-locked input:disabled,.bbbsc-plan-locked select:disabled,.bbbsc-plan-locked textarea:disabled{cursor:not-allowed;opacity:.85}


/* v1.84.63 users import hint + password row cleanup */
.bbbsc-admin-table--users .bbbsc-password-inline{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:10px !important;
  align-items:center !important;
}
.bbbsc-admin-table--users .bbbsc-password-inline .bbbsc-password-field{
  width:100% !important;
  min-width:0 !important;
}
.bbbsc-admin-table--users .bbbsc-password-inline .bbbsc-password-save{
  white-space:nowrap;
  min-height:38px;
  padding-inline:14px;
}
@media (max-width:782px){
  .bbbsc-admin-table--users .bbbsc-password-inline{
    grid-template-columns:minmax(0,1fr) auto !important;
  }
  .bbbsc-admin-table--users .bbbsc-password-inline .bbbsc-password-save{
    min-height:40px;
  }
}

/* v11 wallet icons + portal media picker */
.bbbsc-customer-wallet-panel__cta-icon svg{display:block;width:20px;height:20px}
.bbbsc-media-picker{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:14px;align-items:start;padding:14px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}
.bbbsc-media-picker__preview{aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:#e2e8f0;display:flex;align-items:center;justify-content:center}
.bbbsc-media-picker__preview img{display:block;width:100%;height:100%;object-fit:cover}
.bbbsc-media-picker__placeholder{padding:16px;text-align:center;color:#64748b;font-weight:700;line-height:1.8}
.bbbsc-media-picker__body{display:grid;gap:10px;align-content:start}
.bbbsc-media-picker__actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:782px){.bbbsc-media-picker{grid-template-columns:1fr}}

/* Unified user portal */
.bbbsc-user-portal-dashboard{gap:18px}
.bbbsc-user-portal-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;overflow:hidden;position:relative;background:linear-gradient(135deg,#0f172a 0%,#172554 48%,#2563eb 100%);color:#fff;border:none;padding:20px 22px;min-height:unset}
.bbbsc-user-portal-hero:before{content:"";position:absolute;inset:-40% auto auto -6%;width:240px;height:240px;border-radius:999px;background:rgba(255,255,255,.08);filter:blur(10px)}
.bbbsc-user-portal-hero__main,.bbbsc-user-portal-hero__actions{position:relative;z-index:1}
.bbbsc-user-portal-hero__main{display:grid;gap:12px;min-width:0}
.bbbsc-user-portal-hero__eyebrow{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.12);font-size:11px;font-weight:900;letter-spacing:.03em}
.bbbsc-user-portal-hero h3{margin:0;font-size:24px;line-height:1.4;color:#fff}
.bbbsc-user-portal-hero__chips{display:flex;gap:10px;flex-wrap:wrap}
.bbbsc-user-portal-hero__chip{display:grid;gap:4px;padding:10px 14px;border-radius:16px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);min-width:140px}
.bbbsc-user-portal-hero__chip small{display:block;font-size:11px;color:rgba(255,255,255,.68)}
.bbbsc-user-portal-hero__chip strong{display:block;font-size:14px;color:#fff;line-height:1.6}
.bbbsc-user-portal-hero__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.bbbsc-user-portal-hero__actions .button{margin:0 !important;min-height:44px;padding:0 18px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.14);color:#fff;box-shadow:none}
.bbbsc-user-portal-hero__actions .button.button-primary{background:#fff;color:#1d4ed8;border-color:#fff;font-weight:900}
.bbbsc-user-portal-hero__actions .button:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(15,23,42,.18)}
.bbbsc-user-portal-hero__logout{background:rgba(15,23,42,.28) !important;color:#fff !important}
.bbbsc-user-portal-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.bbbsc-user-portal-shell{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;align-items:start}
.bbbsc-user-portal-shell__content{display:grid;gap:18px;min-width:0}
.bbbsc-user-portal-content{display:grid;gap:18px;min-height:220px;align-content:start}
.bbbsc-user-portal-shell.is-loading .bbbsc-user-portal-tab{pointer-events:none;opacity:.72}
.bbbsc-user-portal-loading{display:grid;place-items:center;gap:10px;min-height:220px;padding:30px 18px;border:1px dashed #cbd5e1;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#fff);text-align:center}
.bbbsc-user-portal-loading .spinner{float:none;margin:0;width:26px;height:26px}
.bbbsc-user-portal-loading strong{font-size:15px;color:#0f172a}
.bbbsc-user-portal-loading p{margin:0;color:#64748b}
.bbbsc-user-portal-tabs{display:grid;gap:10px;position:sticky;top:18px}
.bbbsc-user-portal-tab{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:14px 16px;border:1px solid #dbe6f3;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);font-weight:800;color:#0f172a;cursor:pointer;transition:all .18s ease;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.bbbsc-user-portal-tab:hover{transform:translateY(-1px);border-color:#bfdbfe}
.bbbsc-user-portal-tab.is-active{background:linear-gradient(135deg,#1d4ed8,#7c3aed);color:#fff;border-color:transparent;box-shadow:0 16px 34px rgba(29,78,216,.24)}
.bbbsc-user-portal-panels{display:grid;gap:18px}
.bbbsc-user-portal-panel{display:none;gap:18px}
.bbbsc-user-portal-panel.is-active{display:grid}
.bbbsc-user-portal-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bbbsc-user-portal-mini-card{display:grid;gap:14px}
.bbbsc-user-portal-list,.bbbsc-user-portal-notices,.bbbsc-user-portal-orders,.bbbsc-user-portal-registrations{display:grid;gap:12px}
.bbbsc-user-portal-list__item,.bbbsc-user-portal-notice,.bbbsc-user-portal-order-card,.bbbsc-user-portal-registration-card{padding:14px 16px;border:1px solid #e6edf5;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc)}
.bbbsc-user-portal-list__item{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.bbbsc-user-portal-list__item strong,.bbbsc-user-portal-order-card h4,.bbbsc-user-portal-registration-card h4{display:block;margin:0 0 6px;font-size:16px;color:#0f172a}
.bbbsc-user-portal-list__item p,.bbbsc-user-portal-order-card p,.bbbsc-user-portal-registration-card p{margin:0;color:#64748b;line-height:1.9}
.bbbsc-user-portal-list__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bbbsc-user-portal-list__meta{font-size:12px;font-weight:800;color:#475569}
.bbbsc-user-portal-order-card,.bbbsc-user-portal-registration-card{display:grid;gap:14px}
.bbbsc-user-portal-order-card__head,.bbbsc-user-portal-registration-card__head,.bbbsc-user-portal-notice__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.bbbsc-user-portal-order-card__badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bbbsc-user-portal-order-card__meta,.bbbsc-user-portal-registration-card__meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bbbsc-user-portal-order-card__meta div,.bbbsc-user-portal-registration-card__meta div,.bbbsc-user-portal-order-card__summary-item{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e6edf5}
.bbbsc-user-portal-order-card__meta span,.bbbsc-user-portal-registration-card__meta span,.bbbsc-user-portal-order-card__summary-item span{display:block;font-size:11px;color:#64748b;margin-bottom:4px}
.bbbsc-user-portal-order-card__meta strong,.bbbsc-user-portal-registration-card__meta strong,.bbbsc-user-portal-order-card__summary-item strong{font-size:14px;color:#0f172a}
.bbbsc-user-portal-order-card__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bbbsc-user-portal-order-card__actions,.bbbsc-user-portal-registration-card__actions,.bbbsc-user-portal-order-card__editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bbbsc-user-portal-order-card__actions .button,.bbbsc-user-portal-order-card__editor-actions .button{margin:0 !important}
.bbbsc-user-portal-order-card__editor{display:grid;gap:14px;padding-top:4px}
.bbbsc-user-portal-order-card.is-expanded{border-color:#bfdbfe;box-shadow:0 18px 36px rgba(37,99,235,.08)}
.bbbsc-user-portal-order-form{display:grid;gap:14px}
.bbbsc-user-portal-notice__head span{font-size:12px;color:#64748b}
.bbbsc-user-portal-notice p{margin:0;color:#334155;line-height:2}
@media (max-width:1200px){.bbbsc-user-portal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.bbbsc-user-portal-overview-grid{grid-template-columns:1fr}.bbbsc-user-portal-shell{grid-template-columns:1fr}.bbbsc-user-portal-tabs{position:static;grid-template-columns:repeat(4,minmax(0,1fr))}.bbbsc-user-portal-order-card__summary{grid-template-columns:1fr}}
@media (max-width:960px){.bbbsc-user-portal-hero{flex-direction:column;align-items:flex-start}.bbbsc-user-portal-hero__actions{width:100%;justify-content:flex-start}.bbbsc-user-portal-order-card__meta,.bbbsc-user-portal-registration-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}.bbbsc-user-portal-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.bbbsc-user-portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bbbsc-user-portal-tabs{grid-template-columns:1fr}.bbbsc-user-portal-order-card__meta,.bbbsc-user-portal-registration-card__meta{grid-template-columns:1fr}.bbbsc-user-portal-list__item,.bbbsc-user-portal-order-card__head,.bbbsc-user-portal-registration-card__head,.bbbsc-user-portal-notice__head{flex-direction:column;align-items:flex-start}}

/* User portal premium refresh v15 */
.bbbsc-user-portal-stats--compact{gap:12px !important}
.bbbsc-user-portal-stats--compact .bbbsc-stat-card,
body[class*="bbb-saas-core"] .bbbsc-user-portal-stats--compact .bbbsc-stat-card{
padding:12px 14px !important;
border-radius:16px !important;
min-height:auto !important;
box-shadow:0 10px 22px rgba(15,23,42,.05) !important;
display:grid;
gap:4px;
align-content:start;
}
.bbbsc-user-portal-stats--compact .bbbsc-stat-card__title{font-size:11.5px !important;line-height:1.8 !important;margin-bottom:0 !important;color:#526277 !important}
.bbbsc-user-portal-stats--compact .bbbsc-stat-card__value{font-size:22px !important;line-height:1.15 !important}
.bbbsc-user-portal-section{display:grid;gap:16px}
.bbbsc-user-portal-section__hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.bbbsc-user-portal-section__hero h3{margin:0;font-size:20px;color:#0f172a}
.bbbsc-user-portal-section__hero p{margin:6px 0 0;color:#64748b;line-height:1.9}
.bbbsc-user-portal-section__hero-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bbbsc-user-portal-section__count{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:12px;font-weight:900;white-space:nowrap}
.bbbsc-user-portal-section__count.is-soft{background:#f8fafc;border-color:#dbe5f0;color:#475569}
.bbbsc-user-portal-section__tools{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap}
.bbbsc-user-portal-section__search{display:grid;gap:6px;min-width:min(100%,340px);font-weight:800;color:#334155}
.bbbsc-user-portal-section__search span{font-size:12px;color:#64748b}
.bbbsc-user-portal-section__search input{min-height:44px;border-radius:14px !important;border:1px solid #dbe6f3 !important;background:linear-gradient(180deg,#fff,#f8fbff) !important;padding:10px 14px !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.bbbsc-user-portal-empty-state{padding:20px;border-radius:18px;border:1px dashed #c9d8ea;background:linear-gradient(180deg,#f8fbff,#fff);text-align:right}
.bbbsc-user-portal-empty-state strong{display:block;margin-bottom:6px;color:#0f172a;font-size:15px}
.bbbsc-user-portal-empty-state p{margin:0;color:#64748b;line-height:2}
.bbbsc-user-portal-list__item,.bbbsc-user-portal-notice,.bbbsc-user-portal-order-card,.bbbsc-user-portal-registration-card,.bbbsc-class-card{box-shadow:0 10px 26px rgba(15,23,42,.04)}
.bbbsc-user-portal-notice{position:relative;padding:16px 18px;border-radius:20px;overflow:hidden}
.bbbsc-user-portal-notice:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#2563eb,#7c3aed)}
.bbbsc-user-portal-notice--action:before{background:linear-gradient(180deg,#f59e0b,#f97316)}
.bbbsc-user-portal-notice--live:before{background:linear-gradient(180deg,#10b981,#14b8a6)}
.bbbsc-user-portal-notice--log:before{background:linear-gradient(180deg,#64748b,#334155)}
.bbbsc-user-portal-notice__title-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bbbsc-user-portal-notice__badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900}
.bbbsc-user-portal-notice--action .bbbsc-user-portal-notice__badge{background:#fff7ed;color:#c2410c}
.bbbsc-user-portal-notice--live .bbbsc-user-portal-notice__badge{background:#ecfdf5;color:#047857}
.bbbsc-user-portal-notice--log .bbbsc-user-portal-notice__badge{background:#f1f5f9;color:#334155}
.bbbsc-user-portal-registration-card,.bbbsc-user-portal-order-card{border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff)}
.bbbsc-user-portal-registration-card__head h4,.bbbsc-user-portal-order-card h4{font-size:17px}
.bbbsc-user-portal-registration-card__actions .button,.bbbsc-user-portal-list__actions .button,.bbbsc-user-portal-notices .button,.bbbsc-class-card__actions .button{margin:0 !important;border-radius:12px !important;min-height:40px;padding:0 14px !important}
.bbbsc-user-portal-overview-grid .bbbsc-user-portal-mini-card{border-radius:22px;background:linear-gradient(180deg,#fff,#fbfdff)}
.bbbsc-user-portal-overview-grid .bbbsc-card-head{margin-bottom:4px}
.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card{height:100%;padding:16px 16px 14px;border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff);display:grid;gap:12px;align-content:start}
.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card__meta{gap:8px}
.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card__meta>div{padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e7eef6}
.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card__hint,.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card__user{margin:0;padding:10px 12px;border-radius:14px;background:#f8fbff;border:1px solid #e4eef9;color:#475569}
.bbbsc-class-section.bbbsc-user-portal-section .bbbsc-class-card__actions{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:960px){
  .bbbsc-user-portal-stats--compact{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:680px){
  .bbbsc-user-portal-section__hero,.bbbsc-user-portal-section__tools{flex-direction:column;align-items:flex-start}
  .bbbsc-user-portal-stats--compact{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

/* v16 user portal premium orders/profile */
.bbbsc-user-portal-section--orders{display:grid;gap:16px}
.bbbsc-user-portal-order-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bbbsc-user-portal-order-stat{padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #e4edf7;box-shadow:0 10px 24px rgba(15,23,42,.04);display:grid;gap:6px}
.bbbsc-user-portal-order-stat span{font-size:12px;font-weight:800;color:#64748b}
.bbbsc-user-portal-order-stat strong{font-size:20px;line-height:1.2;color:#0f172a}
.bbbsc-user-portal-order-stat small{font-size:12px;line-height:1.9;color:#475569}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card{padding:16px 18px;border:1px solid #dfe9f5;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 14px 32px rgba(15,23,42,.05)}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__head p{font-size:13px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__actions .button{margin:0 !important;min-height:42px;padding:0 14px !important;border-radius:13px !important}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__actions .button.button-primary{box-shadow:0 12px 24px rgba(37,99,235,.18)}
.bbbsc-user-portal-section--orders .bbbsc-storefront-seat{border-radius:16px;border:1px solid #e4edf7;background:#fff;box-shadow:none}
.bbbsc-user-portal-profile-card{display:grid;gap:18px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)}
.bbbsc-user-portal-profile-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.bbbsc-user-portal-profile-card__head h3{margin:6px 0 0;font-size:22px;color:#0f172a}
.bbbsc-user-portal-profile-card__head p{margin:8px 0 0;color:#64748b;line-height:1.95;max-width:760px}
.bbbsc-user-portal-profile-card__eyebrow{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900}
.bbbsc-user-portal-profile-card__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bbbsc-user-portal-profile-card__actions .button{margin:0 !important;min-height:42px;padding:0 16px !important;border-radius:13px !important}
.bbbsc-user-portal-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bbbsc-user-portal-profile-item{padding:16px 18px;border-radius:18px;border:1px solid #e4edf7;background:#fff;display:grid;gap:6px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.bbbsc-user-portal-profile-item span{font-size:12px;font-weight:800;color:#64748b}
.bbbsc-user-portal-profile-item strong{font-size:18px;line-height:1.5;color:#0f172a}
.bbbsc-user-portal-profile-item small{font-size:12px;line-height:1.9;color:#475569}
.bbbsc-user-portal-profile-note{padding:14px 16px;border-radius:18px;border:1px solid #dbe7f5;background:linear-gradient(180deg,#eef6ff,#fff)}
.bbbsc-user-portal-profile-note strong{display:block;margin-bottom:6px;font-size:14px;color:#1d4ed8}
.bbbsc-user-portal-profile-note p{margin:0;color:#475569;line-height:1.95}
@media (max-width:960px){.bbbsc-user-portal-order-stats,.bbbsc-user-portal-profile-grid{grid-template-columns:1fr}.bbbsc-user-portal-profile-card__head{flex-direction:column;align-items:flex-start}}

/* v17: fix user portal hero text contrast */
.bbbsc-user-portal-hero,
.bbbsc-user-portal-hero *,
body .bbbsc-user-portal-hero,
body .bbbsc-user-portal-hero *{
  -webkit-text-fill-color: initial;
}
.bbbsc-user-portal-hero{
  color:#f8fbff !important;
}
.bbbsc-user-portal-hero__eyebrow,
.bbbsc-user-portal-hero h3,
.bbbsc-user-portal-hero__chip strong,
.bbbsc-user-portal-hero__chip small,
.bbbsc-user-portal-hero__actions .button,
.bbbsc-user-portal-hero__actions .button span,
.bbbsc-user-portal-hero__actions .button strong{
  color:#ffffff !important;
  text-shadow:0 1px 1px rgba(15,23,42,.18);
}
.bbbsc-user-portal-hero__chip{
  background:rgba(255,255,255,.14) !important;
  border-color:rgba(255,255,255,.18) !important;
}
.bbbsc-user-portal-hero__chip small{
  color:rgba(255,255,255,.82) !important;
}
.bbbsc-user-portal-hero__actions .button.button-primary,
body .bbbsc-user-portal-hero__actions .button.button-primary{
  background:#ffffff !important;
  color:#1d4ed8 !important;
  border-color:#ffffff !important;
  text-shadow:none;
}
.bbbsc-user-portal-hero__actions .button.button-primary span,
.bbbsc-user-portal-hero__actions .button.button-primary strong{
  color:#1d4ed8 !important;
}
.bbbsc-user-portal-hero__logout,
body .bbbsc-user-portal-hero__logout{
  background:rgba(15,23,42,.34) !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.18) !important;
}


/* v18: user portal hero, contiguous side menu, recordings */
.bbbsc-user-portal-hero{
  display:grid !important;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.95fr) auto !important;
  gap:16px !important;
  align-items:center !important;
  padding:18px 20px !important;
  border:1px solid #dbe6f3 !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
  color:#0f172a !important;
  box-shadow:0 16px 34px rgba(15,23,42,.06) !important;
}
.bbbsc-user-portal-hero:before{display:none !important}
.bbbsc-user-portal-hero,
.bbbsc-user-portal-hero *,
body .bbbsc-user-portal-hero,
body .bbbsc-user-portal-hero *{
  color:inherit !important;
  -webkit-text-fill-color:initial !important;
  text-shadow:none !important;
}
.bbbsc-user-portal-hero__identity{display:flex;align-items:center;gap:14px;min-width:0}
.bbbsc-user-portal-hero__avatar{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff !important;font-size:24px;font-weight:900;box-shadow:0 16px 28px rgba(37,99,235,.22);flex:0 0 56px}
.bbbsc-user-portal-hero__copy{display:grid;gap:6px;min-width:0}
.bbbsc-user-portal-hero__eyebrow{background:#eff6ff !important;color:#1d4ed8 !important;border:1px solid #bfdbfe;font-size:11px;padding:6px 12px}
.bbbsc-user-portal-hero h3{font-size:22px !important;line-height:1.45 !important;color:#0f172a !important;margin:0 !important}
.bbbsc-user-portal-hero__copy p{margin:0 !important;color:#64748b !important;line-height:1.95;font-size:13px}
.bbbsc-user-portal-hero__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.bbbsc-user-portal-hero__meta-item{display:grid;gap:4px;padding:12px 14px;border-radius:16px;background:#ffffff;border:1px solid #e3ebf5;min-width:0}
.bbbsc-user-portal-hero__meta-item span{font-size:11px;font-weight:800;color:#64748b !important}
.bbbsc-user-portal-hero__meta-item strong{font-size:14px;line-height:1.7;color:#0f172a !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbbsc-user-portal-hero__actions{display:flex;flex-direction:column;gap:10px;align-items:stretch;justify-content:center}
.bbbsc-user-portal-hero__actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px !important;border-radius:14px !important;margin:0 !important;font-weight:800;border:1px solid #dbe6f3 !important;background:#fff !important;color:#0f172a !important;box-shadow:none !important}
.bbbsc-user-portal-hero__actions .button.button-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;border-color:#2563eb !important;color:#fff !important;box-shadow:0 14px 28px rgba(37,99,235,.20) !important}
.bbbsc-user-portal-hero__ghost{background:#f8fbff !important}
.bbbsc-user-portal-hero__logout{background:#fff7ed !important;border-color:#fed7aa !important;color:#c2410c !important}
.bbbsc-user-portal-hero__actions .button:hover{transform:translateY(-1px)}

.bbbsc-user-portal-shell{grid-template-columns:220px minmax(0,1fr) !important;gap:18px !important}
.bbbsc-user-portal-tabs{gap:0 !important;padding:0 !important;border:1px solid #dbe6f3;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.bbbsc-user-portal-tab{padding:15px 16px !important;border:none !important;border-bottom:1px solid #e8eef6 !important;border-radius:0 !important;background:#fff !important;box-shadow:none !important;justify-content:flex-start !important;text-align:right}
.bbbsc-user-portal-tab:last-child{border-bottom:none !important}
.bbbsc-user-portal-tab:first-child{border-top-left-radius:22px !important;border-top-right-radius:22px !important}
.bbbsc-user-portal-tab:last-child{border-bottom-left-radius:22px !important;border-bottom-right-radius:22px !important}
.bbbsc-user-portal-tab:hover{transform:none !important;background:#f8fbff !important;border-color:transparent !important}
.bbbsc-user-portal-tab.is-active{background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;color:#fff !important;border-color:transparent !important;box-shadow:none !important}

.bbbsc-class-card__recording-count{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:12px;font-weight:900}
.bbbsc-user-portal-recordings{display:grid;gap:12px}
.bbbsc-user-portal-recording-card{display:grid;gap:12px;padding:16px 18px;border-radius:20px;border:1px solid #e2ebf5;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 10px 26px rgba(15,23,42,.04)}
.bbbsc-user-portal-recording-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.bbbsc-user-portal-recording-card__head h4{margin:0 0 6px;font-size:17px;color:#0f172a}
.bbbsc-user-portal-recording-card__head p{margin:0;color:#64748b;line-height:1.9}
.bbbsc-user-portal-recording-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bbbsc-user-portal-recording-card__meta > div{padding:12px 14px;border-radius:16px;border:1px solid #e6edf5;background:#fff}
.bbbsc-user-portal-recording-card__meta span{display:block;font-size:11px;color:#64748b;margin-bottom:4px}
.bbbsc-user-portal-recording-card__meta strong{font-size:14px;color:#0f172a;line-height:1.7}
.bbbsc-user-portal-recording-card__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bbbsc-user-portal-recording-card__actions .button{margin:0 !important;min-height:42px;padding:0 14px !important;border-radius:13px !important}
.bbbsc-user-portal-recording-card__processing{padding:10px 12px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#c2410c;font-size:13px;line-height:1.9}
.bbbsc-user-portal-recording-card__status{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}
.bbbsc-user-portal-recording-card__status.is-ready,.bbbsc-user-portal-recording-card__status.is-published{background:#ecfdf5;color:#047857}
.bbbsc-user-portal-recording-card__status.is-processing{background:#fff7ed;color:#c2410c}
.bbbsc-user-portal-recordings-modal .bbbsc-front-modal__dialog{max-width:840px}

@media (max-width:1200px){
  .bbbsc-user-portal-hero{grid-template-columns:1fr !important}
  .bbbsc-user-portal-hero__meta{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bbbsc-user-portal-hero__actions{flex-direction:row;justify-content:flex-start;flex-wrap:wrap}
  .bbbsc-user-portal-shell{grid-template-columns:1fr !important}
  .bbbsc-user-portal-tabs{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .bbbsc-user-portal-tab{border-bottom:1px solid #e8eef6 !important;border-left:1px solid #e8eef6 !important}
  .bbbsc-user-portal-tab:nth-child(3n){border-left:none !important}
}
@media (max-width:782px){
  .bbbsc-user-portal-hero__identity{align-items:flex-start}
  .bbbsc-user-portal-hero__meta{grid-template-columns:1fr}
  .bbbsc-user-portal-tabs{grid-template-columns:1fr}
  .bbbsc-user-portal-tab{border-left:none !important}
  .bbbsc-user-portal-recording-card__meta{grid-template-columns:1fr}
}

/* v20 user portal polish */
.bbbsc-user-portal-shell .bbbsc-user-portal-hero{
  display:grid !important;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.95fr) auto !important;
  gap:16px !important;
  align-items:center !important;
  padding:18px 20px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
  border:1px solid #dbe7f3 !important;
  border-radius:24px !important;
  box-shadow:0 14px 34px rgba(15,23,42,.06) !important;
  color:#0f172a !important;
}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero,
.bbbsc-user-portal-shell .bbbsc-user-portal-hero *{color:inherit !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__avatar{background:linear-gradient(135deg,#1d4ed8,#7c3aed) !important;color:#fff !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__eyebrow{background:#eff6ff !important;color:#1d4ed8 !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero h3{font-size:24px !important;color:#0f172a !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__copy p{color:#64748b !important;margin:0 !important;font-size:13px !important;line-height:1.9 !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__meta{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__meta-item{background:#fff !important;border:1px solid #e2e8f0 !important;border-radius:16px !important;padding:12px 14px !important;box-shadow:0 6px 18px rgba(15,23,42,.03)}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__meta-item span{display:block;font-size:11px !important;font-weight:800 !important;color:#64748b !important;margin-bottom:4px}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__meta-item strong{display:block;font-size:14px !important;color:#0f172a !important;line-height:1.7 !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__actions{display:grid !important;gap:10px !important;align-items:stretch !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__actions .button{min-height:42px !important;padding:0 16px !important;border-radius:14px !important;font-weight:800 !important;border:1px solid #dbe7f3 !important;background:#fff !important;color:#0f172a !important;box-shadow:0 8px 18px rgba(15,23,42,.04) !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__actions .button.button-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;border-color:#2563eb !important;color:#fff !important;box-shadow:0 14px 26px rgba(37,99,235,.18) !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__ghost{background:#f8fbff !important;color:#1e293b !important}
.bbbsc-user-portal-shell .bbbsc-user-portal-hero__logout{background:#fff7ed !important;border-color:#fdba74 !important;color:#c2410c !important}

.bbbsc-user-portal-tabs{gap:0 !important;padding:0 !important;border-radius:22px !important;overflow:hidden !important;border:1px solid #dbe7f3 !important;background:#fff !important;box-shadow:0 14px 28px rgba(15,23,42,.05) !important}
.bbbsc-user-portal-tab{padding:14px 16px !important;border:none !important;border-bottom:1px solid #e8eef6 !important;border-radius:0 !important;background:#fff !important;color:#0f172a !important;justify-content:flex-start !important;box-shadow:none !important;transition:background .18s ease,color .18s ease !important}
.bbbsc-user-portal-tab:first-child{border-top-left-radius:22px !important;border-top-right-radius:22px !important}
.bbbsc-user-portal-tab:last-child{border-bottom:none !important;border-bottom-left-radius:22px !important;border-bottom-right-radius:22px !important}
.bbbsc-user-portal-tab:hover{background:#f8fbff !important;transform:none !important}
.bbbsc-user-portal-tab.is-active{background:linear-gradient(135deg,#1d4ed8,#2563eb) !important;color:#fff !important}
.bbbsc-user-portal-tab.is-active .bbbsc-user-portal-tab__count{background:rgba(255,255,255,.16) !important;color:#fff !important}

.bbbsc-user-portal-notice__actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.bbbsc-user-portal-notice__actions .button{min-height:40px;padding:0 14px !important;border-radius:12px !important;margin:0 !important}

.bbbsc-user-portal-order-accordion{overflow:hidden}
.bbbsc-user-portal-order-accordion__toggle{width:100%;text-align:right;background:none;border:none;padding:0;cursor:pointer}
.bbbsc-user-portal-order-accordion__chevron{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:18px;font-weight:900;transition:transform .18s ease,background .18s ease}
.bbbsc-user-portal-order-card.is-expanded .bbbsc-user-portal-order-accordion__chevron{transform:rotate(180deg);background:#dbeafe}
.bbbsc-user-portal-order-card__inline-note{font-size:12px;color:#64748b}
.bbbsc-user-portal-order-card__editor{border-top:1px dashed #dbe7f3;padding-top:14px;margin-top:4px}

.bbbsc-portal-loader--inline{position:relative !important;inset:auto !important;display:grid !important;place-items:center !important;min-height:240px !important;background:linear-gradient(180deg,#f8fbff,#fff) !important;border:1px dashed #dbe7f3;border-radius:24px}
.bbbsc-portal-loader--inline .bbbsc-portal-loader__panel{box-shadow:none !important;background:transparent !important;border:none !important;padding:18px 22px !important}

@media (max-width: 1100px){
  .bbbsc-user-portal-shell .bbbsc-user-portal-hero{grid-template-columns:1fr !important}
  .bbbsc-user-portal-shell .bbbsc-user-portal-hero__actions{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media (max-width: 720px){
  .bbbsc-user-portal-shell .bbbsc-user-portal-hero__meta{grid-template-columns:1fr !important}
  .bbbsc-user-portal-shell .bbbsc-user-portal-hero__actions{grid-template-columns:1fr !important}
}

/* v22: user portal fresh tabs, accordion fix, modern side menu */
[data-bbbsc-user-order-editor][hidden],
.bbbsc-user-portal-order-card__editor[hidden]{display:none !important}
.bbbsc-user-portal-order-card__editor{display:grid;gap:14px}
.bbbsc-user-portal-shell{align-items:start}
.bbbsc-user-portal-tabs{position:sticky;top:18px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important}
.bbbsc-user-portal-tab{position:relative;font-weight:800 !important;min-height:54px;padding:15px 18px !important}
.bbbsc-user-portal-tab span{display:block;line-height:1.5}
.bbbsc-user-portal-tab:before{content:"";position:absolute;inset:8px auto 8px 0;width:3px;border-radius:999px;background:transparent;transition:background .18s ease,opacity .18s ease;opacity:0}
.bbbsc-user-portal-tab:hover{background:#f5f9ff !important;color:#0f172a !important}
.bbbsc-user-portal-tab:hover:before{background:#cfe0ff;opacity:1}
.bbbsc-user-portal-tab.is-active{background:linear-gradient(135deg,#1d4ed8,#2563eb) !important;color:#fff !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.bbbsc-user-portal-tab.is-active:before{background:#ffffff;opacity:1}
.bbbsc-user-portal-order-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.bbbsc-user-portal-order-card__head > div:first-child{min-width:0}
.bbbsc-user-portal-order-card__head h4{margin:0 0 4px}
.bbbsc-user-portal-order-card__head p{margin:0;color:#64748b;line-height:1.9}
.bbbsc-user-portal-order-card__badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.bbbsc-user-portal-order-card__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bbbsc-user-portal-order-card__summary-item{padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #e3ebf5}
.bbbsc-user-portal-order-card__summary-item span{display:block;font-size:11px;font-weight:700;color:#64748b;margin-bottom:4px}
.bbbsc-user-portal-order-card__summary-item strong{display:block;font-size:14px;color:#0f172a;line-height:1.7}
.bbbsc-user-portal-order-card__actions{justify-content:space-between}
.bbbsc-user-portal-order-card.is-expanded{border-color:#93c5fd !important;box-shadow:0 18px 38px rgba(37,99,235,.1) !important}
@media (max-width:900px){.bbbsc-user-portal-order-card__summary{grid-template-columns:1fr}}


.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card{padding:12px 14px !important;gap:10px !important}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__head{align-items:center;gap:10px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__head h4{font-size:15px !important;margin:0 0 2px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__head p{font-size:12px !important;line-height:1.7;margin:0}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__badges{gap:6px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__meta--compact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__meta--compact div{padding:8px 10px !important;border-radius:12px !important;background:#fff !important;border:1px solid #e5edf6 !important;min-width:0}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__meta--compact span{font-size:10px !important;margin-bottom:2px !important;color:#64748b !important;font-weight:700}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__meta--compact strong{font-size:12px !important;line-height:1.6;color:#0f172a !important;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__editor{padding-top:12px;margin-top:2px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__summary-item{padding:10px 12px !important;border-radius:12px !important}
@media (max-width:960px){.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__meta--compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__meta--compact,.bbbsc-user-portal-section--orders .bbbsc-user-portal-order-card__summary{grid-template-columns:1fr}}

/* v25 plan comparison + categories */
.bbbsc-plan-card__category{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:800;margin-bottom:8px}
.bbbsc-plan-compare-wrap{display:grid;gap:18px}
.bbbsc-plan-compare{display:grid;gap:16px}
.bbbsc-plan-compare__hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-radius:28px;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#38bdf8 100%);color:#fff;box-shadow:0 22px 46px rgba(37,99,235,.22)}
.bbbsc-plan-compare__hero h2{margin:0 0 8px;font-size:28px;line-height:1.3;color:#fff}
.bbbsc-plan-compare__hero p{margin:0;line-height:1.9;color:rgba(255,255,255,.9)}
.bbbsc-plan-compare__badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:800;white-space:nowrap}
.bbbsc-plan-compare__table-wrap{overflow:auto;border:1px solid #dbe4f3;border-radius:26px;background:#fff;box-shadow:0 18px 36px rgba(15,23,42,.06)}
.bbbsc-plan-compare__table{width:100%;border-collapse:separate;border-spacing:0;min-width:880px}
.bbbsc-plan-compare__table th,.bbbsc-plan-compare__table td{padding:14px 16px;border-bottom:1px solid #eef2ff;vertical-align:top;text-align:center}
.bbbsc-plan-compare__table thead th{position:sticky;top:0;background:#fff;z-index:1}
.bbbsc-plan-compare__feature-col{min-width:240px;text-align:right;background:#f8fbff}
.bbbsc-plan-compare__plan-col{min-width:230px}
.bbbsc-plan-compare__plan-head{display:grid;gap:8px;align-content:start;min-height:100%}
.bbbsc-plan-compare__mini-badge{display:inline-flex;align-items:center;justify-content:center;justify-self:center;padding:5px 10px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:800}
.bbbsc-plan-compare__plan-title{font-size:18px;font-weight:900;color:#0f172a;line-height:1.5}
.bbbsc-plan-compare__plan-code code{font-size:12px}
.bbbsc-plan-compare__price{font-size:20px;font-weight:900;color:#1d4ed8;line-height:1.4}
.bbbsc-plan-compare__duration{font-size:12px;color:#475569;line-height:1.8}
.bbbsc-plan-compare__actions .button{width:100%;border:none;border-radius:16px;min-height:42px;box-shadow:none;background:#fff;color:#0f172a}
.bbbsc-plan-compare__actions .button.button-primary,.bbbsc-plan-compare__footer-row .button.button-primary{background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#38bdf8 100%);color:#fff;border:none;box-shadow:0 16px 30px rgba(37,99,235,.22)}
.bbbsc-plan-compare__group-row td{background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:900;letter-spacing:.02em;text-align:right}
.bbbsc-plan-compare__feature-name{text-align:right;background:#fcfdff}
.bbbsc-plan-compare__feature-name span{display:block;font-weight:800;color:#0f172a;line-height:1.6}
.bbbsc-plan-compare__feature-name small{display:block;margin-top:4px;color:#64748b;font-size:11px;line-height:1.6;direction:ltr;text-align:left}
.bbbsc-plan-compare__value{font-weight:700;color:#0f172a;line-height:1.8}
.bbbsc-plan-compare__value.is-yes{color:#15803d}
.bbbsc-plan-compare__value.is-no{color:#94a3b8}
.bbbsc-plan-compare__footer-row td,.bbbsc-plan-compare__footer-row th{background:#fafcff;border-bottom:none}
.bbbsc-plan-compare__footer-row .button{width:100%;border-radius:16px;min-height:42px}
@media (max-width:991px){.bbbsc-plan-compare__hero{padding:18px 20px;border-radius:24px}.bbbsc-plan-compare__hero h2{font-size:24px}}
@media (max-width:782px){.bbbsc-plan-compare__hero{display:grid}.bbbsc-plan-compare__table{min-width:720px}.bbbsc-plan-compare__feature-col{min-width:180px}.bbbsc-plan-compare__plan-col{min-width:180px}}

/* v1.84.65 feature journey showcase */
.bbbsc-journey{position:relative;margin:0 auto}
.bbbsc-journey__shell{position:relative;overflow:hidden;padding:28px;border-radius:28px;background:linear-gradient(135deg,#eff6ff 0%,#f8fbff 38%,#ffffff 100%);border:1px solid rgba(147,197,253,.34);box-shadow:0 24px 56px rgba(15,23,42,.09)}
.bbbsc-journey__shell::before{content:"";position:absolute;inset:-80px auto auto -70px;width:220px;height:220px;border-radius:999px;background:radial-gradient(circle,rgba(59,130,246,.16) 0%,rgba(59,130,246,0) 72%);pointer-events:none}
.bbbsc-journey__shell::after{content:"";position:absolute;inset:auto -90px -100px auto;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,rgba(14,165,233,.13) 0%,rgba(14,165,233,0) 74%);pointer-events:none}
.bbbsc-journey__intro{position:relative;z-index:1;display:grid;gap:14px;max-width:760px;margin:0 auto 24px;text-align:center}
.bbbsc-journey__badge{justify-self:center;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(29,78,216,.08);border:1px solid rgba(59,130,246,.18);color:#1d4ed8;font-size:12px;font-weight:900;line-height:1.3}
.bbbsc-journey__title{margin:0;font-size:clamp(28px,3vw,40px);line-height:1.45;color:#0f172a;font-weight:900}
.bbbsc-journey__subtitle{margin:0;color:#475569;font-size:15px;line-height:2;max-width:720px;justify-self:center}
.bbbsc-journey__cta-wrap{display:flex;justify-content:center}
.bbbsc-journey__cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:16px;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 62%,#38bdf8 100%);box-shadow:0 20px 40px rgba(37,99,235,.18);color:#fff!important;text-decoration:none;font-size:14px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.bbbsc-journey__cta:hover{transform:translateY(-2px);box-shadow:0 24px 44px rgba(37,99,235,.24);filter:saturate(1.06)}
.bbbsc-journey__grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bbbsc-journey__card{position:relative;display:grid;gap:14px;padding:22px 20px;border-radius:24px;background:rgba(255,255,255,.84);border:1px solid rgba(191,219,254,.72);backdrop-filter:blur(8px);box-shadow:0 18px 34px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bbbsc-journey__card:hover{transform:translateY(-4px);border-color:rgba(59,130,246,.34);box-shadow:0 22px 38px rgba(37,99,235,.12)}
.bbbsc-journey__card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bbbsc-journey__step-no{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 10px;border-radius:16px;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 62%,#38bdf8 100%);color:#fff;font-size:15px;font-weight:900;line-height:1;box-shadow:0 16px 28px rgba(37,99,235,.22)}
.bbbsc-journey__icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:18px;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px rgba(59,130,246,.12)}
.bbbsc-journey__icon svg,.bbbsc-journey__icon i{width:22px;height:22px;font-size:22px}
.bbbsc-journey__card-title{margin:0;color:#0f172a;font-size:17px;font-weight:900;line-height:1.7}
.bbbsc-journey__card-text{margin:0;color:#475569;font-size:14px;line-height:2}
@media (max-width:1024px){.bbbsc-journey__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.bbbsc-journey__shell{padding:22px 16px;border-radius:22px}.bbbsc-journey__intro{margin-bottom:18px;text-align:right}.bbbsc-journey__badge{justify-self:flex-start}.bbbsc-journey__cta-wrap{justify-content:flex-start}.bbbsc-journey__grid{grid-template-columns:1fr;gap:14px}.bbbsc-journey__card{padding:18px 16px;border-radius:20px}.bbbsc-journey__title{font-size:24px}.bbbsc-journey__subtitle{font-size:14px;line-height:1.95}}

/* v1.84.80 elementor header menu widget */
.bbbsc-header-menu{position:relative;display:block}
.bbbsc-header-menu__shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:18px 22px;border-radius:30px;background:linear-gradient(135deg,rgba(15,23,42,.96) 0%,rgba(29,78,216,.95) 56%,rgba(14,165,233,.92) 100%);border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 70px rgba(15,23,42,.22);overflow:visible;isolation:isolate}
.bbbsc-header-menu.is-glow .bbbsc-header-menu__shell::before,.bbbsc-header-menu.is-glow .bbbsc-header-menu__shell::after{content:"";position:absolute;border-radius:999px;pointer-events:none;z-index:-1}
.bbbsc-header-menu.is-glow .bbbsc-header-menu__shell::before{inset:-88px auto auto -70px;width:240px;height:240px;background:radial-gradient(circle,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 74%)}
.bbbsc-header-menu.is-glow .bbbsc-header-menu__shell::after{inset:auto -80px -110px auto;width:270px;height:270px;background:radial-gradient(circle,rgba(125,211,252,.24) 0%,rgba(125,211,252,0) 76%)}
.bbbsc-header-menu__brand{display:flex;align-items:center;gap:14px;min-width:0}
.bbbsc-header-menu__logo{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:20px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.14);backdrop-filter:blur(12px);overflow:hidden;flex:0 0 58px}
.bbbsc-header-menu__logo img{display:block;width:100%;height:100%;object-fit:cover}
.bbbsc-header-menu__brand-copy{display:grid;gap:5px;min-width:0}
.bbbsc-header-menu__eyebrow{display:inline-flex;align-items:center;gap:8px;max-width:max-content;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#dbeafe;font-size:11px;font-weight:800;line-height:1.2}
.bbbsc-header-menu__title{display:block;margin:0;color:#fff;font-size:19px;font-weight:900;line-height:1.45;letter-spacing:-.01em}
.bbbsc-header-menu__subtitle{display:block;color:rgba(255,255,255,.76);font-size:12px;line-height:1.9}
.bbbsc-header-menu__toggle{display:none;align-items:center;gap:10px;justify-self:end;min-height:46px;padding:0 14px;border:none;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff;cursor:pointer;backdrop-filter:blur(12px);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.bbbsc-header-menu__toggle:hover{transform:translateY(-1px);background:rgba(255,255,255,.16);box-shadow:0 14px 32px rgba(15,23,42,.16)}
.bbbsc-header-menu__toggle-label{font-size:13px;font-weight:800;line-height:1}
.bbbsc-header-menu__toggle-icon{display:grid;gap:4px}
.bbbsc-header-menu__toggle-icon span{display:block;width:20px;height:2px;border-radius:999px;background:currentColor;transition:transform .22s ease,opacity .22s ease}
.bbbsc-header-menu.is-open .bbbsc-header-menu__toggle-icon span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.bbbsc-header-menu.is-open .bbbsc-header-menu__toggle-icon span:nth-child(2){opacity:0}
.bbbsc-header-menu.is-open .bbbsc-header-menu__toggle-icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.bbbsc-header-menu__panel{display:flex;align-items:center;gap:14px;justify-content:flex-end;min-width:0}
.bbbsc-header-menu__nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.bbbsc-header-menu__link{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:0 16px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff!important;text-decoration:none;backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.bbbsc-header-menu__link::after{content:"";position:absolute;left:14px;right:14px;bottom:9px;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.88) 50%,rgba(255,255,255,0) 100%);opacity:0;transform:scaleX(.45);transition:transform .18s ease,opacity .18s ease}
.bbbsc-header-menu__link:hover{transform:translateY(-2px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);box-shadow:0 16px 30px rgba(15,23,42,.16);color:#fff!important}
.bbbsc-header-menu__link:hover::after,.bbbsc-header-menu__link.is-active::after{opacity:1;transform:scaleX(1)}
.bbbsc-header-menu__link.is-active{background:#fff;color:#0f172a!important;border-color:#fff;box-shadow:0 18px 34px rgba(15,23,42,.2)}
.bbbsc-header-menu__link.is-active .bbbsc-header-menu__badge{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe}
.bbbsc-header-menu__link.is-active .bbbsc-header-menu__link-icon{background:#eff6ff;color:#1d4ed8}
.bbbsc-header-menu__link.is-primary{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.24);box-shadow:0 16px 32px rgba(15,23,42,.15)}
.bbbsc-header-menu__link.is-ghost{background:rgba(255,255,255,.05)}
.bbbsc-header-menu__link-main{display:inline-flex;align-items:center;gap:10px;min-width:0}
.bbbsc-header-menu__link-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:rgba(15,23,42,.16);color:#fff;flex:0 0 34px;transition:background .18s ease,color .18s ease}
.bbbsc-header-menu__link-icon i,.bbbsc-header-menu__link-icon svg{width:16px;height:16px;font-size:16px}
.bbbsc-header-menu__link-text{display:block;font-size:14px;font-weight:800;line-height:1.4;white-space:nowrap}
.bbbsc-header-menu__badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:24px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#dbeafe;font-size:11px;font-weight:900;line-height:1.2}
.bbbsc-header-menu__cta-wrap{display:flex;align-items:center}
.bbbsc-header-menu__mobile-actions{display:flex;align-items:center;justify-self:end;gap:10px}
.bbbsc-header-menu__mobile-cta{display:none}
.bbbsc-header-menu__cta{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border-radius:18px;background:#fff;color:#0f172a!important;text-decoration:none;font-size:14px;font-weight:900;border:1px solid #fff;box-shadow:0 20px 36px rgba(15,23,42,.16);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.bbbsc-header-menu__cta:hover{transform:translateY(-2px);background:#eff6ff;color:#0f172a!important;box-shadow:0 24px 40px rgba(15,23,42,.2)}
.bbbsc-header-menu__cta.is-static{cursor:default;pointer-events:none;opacity:.96}
.bbbsc-header-menu.is-no-brand .bbbsc-header-menu__shell{grid-template-columns:auto auto;justify-content:space-between}
.bbbsc-header-menu.is-no-panel .bbbsc-header-menu__shell{grid-template-columns:minmax(0,1fr)}
.bbbsc-header-menu.is-no-panel .bbbsc-header-menu__brand{justify-content:flex-start}
@media (max-width:1120px){.bbbsc-header-menu__shell{grid-template-columns:minmax(0,1fr) auto;gap:14px}.bbbsc-header-menu__panel{grid-column:1/-1;justify-content:space-between}}
@media (max-width:782px){.bbbsc-header-menu__shell{grid-template-columns:minmax(0,1fr) auto;padding:16px;border-radius:24px;overflow:visible}.bbbsc-header-menu__mobile-actions{display:inline-flex;align-items:center;gap:8px}.bbbsc-header-menu__mobile-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 12px;max-width:min(42vw,170px);border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.12);backdrop-filter:blur(12px)}.bbbsc-header-menu__mobile-cta:hover{background:rgba(255,255,255,.16);color:#fff!important;transform:none;box-shadow:0 14px 30px rgba(15,23,42,.14)}.bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-label{display:inline-block;max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800}.bbbsc-header-menu__toggle{display:inline-flex}.bbbsc-header-menu__panel{position:absolute;top:calc(100% + 12px);right:0;left:0;display:grid;gap:12px;padding:14px;border-radius:24px;background:rgba(15,23,42,.96);border:1px solid rgba(255,255,255,.12);box-shadow:0 26px 60px rgba(15,23,42,.24);backdrop-filter:blur(18px);opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease;z-index:30}.bbbsc-header-menu.is-open .bbbsc-header-menu__panel{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}.bbbsc-header-menu__nav{display:grid;gap:10px}.bbbsc-header-menu__link{width:100%;min-height:54px;padding:0 14px}.bbbsc-header-menu__cta-wrap,.bbbsc-header-menu__cta{width:100%}.bbbsc-header-menu__panel .bbbsc-header-menu__cta-wrap{display:none}.bbbsc-header-menu__cta{min-height:52px}.bbbsc-header-menu__subtitle{display:none}}
@media (max-width:520px){.bbbsc-header-menu__brand{gap:10px}.bbbsc-header-menu__logo{width:50px;height:50px;border-radius:16px;flex-basis:50px}.bbbsc-header-menu__title{font-size:16px}.bbbsc-header-menu__eyebrow{font-size:10px}.bbbsc-header-menu__toggle{padding:0 12px;border-radius:16px}.bbbsc-header-menu__toggle-label{display:none}}
/* bbbsc header menu: clasio logo + mobile logo/hamburger refinement */
.bbbsc-header-menu__brand{gap:18px}
.bbbsc-header-menu__logo{width:auto;min-width:0;height:auto;min-height:58px;padding:0;background:transparent;border:none;box-shadow:none;backdrop-filter:none;overflow:visible;flex:0 1 auto}
.bbbsc-header-menu__logo img{display:block;width:auto;max-width:min(100%,240px);height:auto;max-height:72px;object-fit:contain}
@media (max-width:782px){.bbbsc-header-menu__brand-copy{display:none}.bbbsc-header-menu__logo{min-height:50px}.bbbsc-header-menu__logo img{max-width:min(62vw,190px);max-height:50px}.bbbsc-header-menu__toggle-label{display:none}.bbbsc-header-menu__toggle{padding:0 12px;min-width:48px;justify-content:center}}
@media (max-width:520px){.bbbsc-header-menu__shell{padding:14px 14px 12px}.bbbsc-header-menu__brand{gap:8px}.bbbsc-header-menu__logo img{max-width:min(54vw,168px);max-height:46px}.bbbsc-header-menu__mobile-actions{gap:6px}.bbbsc-header-menu__mobile-cta{padding:0 10px;max-width:min(40vw,144px)}.bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-label{max-width:74px;font-size:11px}}

.bbbsc-footer-nav{position:relative;display:block}
.bbbsc-footer-nav__shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto;align-items:center;gap:20px;padding:24px 24px 22px;border-radius:30px;background:linear-gradient(135deg,rgba(15,23,42,.98) 0%,rgba(30,41,59,.96) 34%,rgba(37,99,235,.96) 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 70px rgba(15,23,42,.2);overflow:hidden;isolation:isolate}
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::before,.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::after{content:"";position:absolute;border-radius:999px;pointer-events:none;z-index:-1}
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::before{inset:-120px auto auto -80px;width:260px;height:260px;background:radial-gradient(circle,rgba(56,189,248,.24) 0%,rgba(56,189,248,0) 72%)}
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::after{inset:auto -80px -130px auto;width:280px;height:280px;background:radial-gradient(circle,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 74%)}
.bbbsc-footer-nav__intro{display:grid;gap:8px;align-content:center;min-width:0}
.bbbsc-footer-nav__eyebrow{display:inline-flex;align-items:center;gap:8px;max-width:max-content;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#dbeafe;font-size:11px;font-weight:900;line-height:1.2}
.bbbsc-footer-nav__title{display:block;color:#fff;font-size:21px;font-weight:900;line-height:1.45;letter-spacing:-.01em}
.bbbsc-footer-nav__subtitle{display:block;color:rgba(255,255,255,.74);font-size:13px;line-height:1.9}
.bbbsc-footer-nav__nav{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:12px;min-width:0}
.bbbsc-footer-nav__link{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-width:168px;min-height:74px;padding:12px 16px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);text-decoration:none!important;color:#fff!important;backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.bbbsc-footer-nav__link:hover{transform:translateY(-3px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.2);box-shadow:0 18px 36px rgba(15,23,42,.18)}
.bbbsc-footer-nav__link.is-active{background:#fff;border-color:#fff;color:#0f172a!important;box-shadow:0 22px 42px rgba(15,23,42,.2)}
.bbbsc-footer-nav__link.is-primary{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.22)}
.bbbsc-footer-nav__link.is-ghost{background:rgba(255,255,255,.05)}
.bbbsc-footer-nav__link-main{display:inline-flex;align-items:center;gap:12px;min-width:0}
.bbbsc-footer-nav__link-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:16px;background:rgba(15,23,42,.16);color:#fff;flex:0 0 44px;transition:background .18s ease,color .18s ease,transform .18s ease}
.bbbsc-footer-nav__link:hover .bbbsc-footer-nav__link-icon{transform:translateY(-1px)}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__link-icon{background:#eff6ff;color:#2563eb}
.bbbsc-footer-nav__link-icon i,.bbbsc-footer-nav__link-icon svg{width:18px;height:18px;font-size:18px}
.bbbsc-footer-nav__link-copy{display:grid;gap:4px;min-width:0}
.bbbsc-footer-nav__link-text{display:block;font-size:14px;font-weight:900;line-height:1.35;white-space:nowrap}
.bbbsc-footer-nav__link-caption{display:block;color:rgba(255,255,255,.68);font-size:11px;font-weight:700;line-height:1.4}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__link-caption{color:#475569}
.bbbsc-footer-nav__badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:26px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#dbeafe;font-size:11px;font-weight:900;line-height:1.2}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__badge{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe}
.bbbsc-footer-nav__meta{display:flex;align-items:center;justify-content:flex-end;padding-inline-start:18px;color:#dbeafe;font-size:13px;font-weight:800;line-height:1.8;white-space:nowrap}
.bbbsc-footer-nav__mobile-spacer,.bbbsc-footer-nav__mobile{display:none}
@media (max-width:1180px){.bbbsc-footer-nav__shell{grid-template-columns:minmax(0,1fr);justify-items:stretch}.bbbsc-footer-nav__nav{justify-content:flex-start}.bbbsc-footer-nav__meta{justify-content:flex-start;padding-inline-start:0}}
@media (max-width:782px){.bbbsc-footer-nav__shell{display:none}.bbbsc-footer-nav__mobile-spacer{display:block;height:98px}.bbbsc-footer-nav.is-mobile-sticky .bbbsc-footer-nav__mobile{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));z-index:60}.bbbsc-footer-nav__mobile{display:grid;grid-template-columns:repeat(var(--bbbsc-footer-mobile-count,5),minmax(0,1fr));gap:8px;padding:10px 10px calc(10px + env(safe-area-inset-bottom)/3);border-radius:28px;background:rgba(15,23,42,.94);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px rgba(15,23,42,.26),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(18px)}
.bbbsc-footer-nav__mobile-link{position:relative;display:grid;justify-items:center;gap:6px;padding:6px 4px 4px;text-decoration:none!important;color:rgba(226,232,240,.78)!important;transition:transform .18s ease,color .18s ease}
.bbbsc-footer-nav__mobile-link:hover{transform:translateY(-1px);color:#fff!important}
.bbbsc-footer-nav__mobile-link::after{content:"";position:absolute;top:-2px;left:50%;width:28px;height:3px;border-radius:999px;background:linear-gradient(90deg,#38bdf8 0%,#2563eb 100%);opacity:0;transform:translateX(-50%) scaleX(.45);transition:transform .18s ease,opacity .18s ease}
.bbbsc-footer-nav__mobile-link.is-active{color:#fff!important}
.bbbsc-footer-nav__mobile-link.is-active::after{opacity:1;transform:translateX(-50%) scaleX(1)}
.bbbsc-footer-nav__mobile-icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.bbbsc-footer-nav__mobile-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);color:inherit;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.bbbsc-footer-nav__mobile-link:hover .bbbsc-footer-nav__mobile-icon{transform:translateY(-2px);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}
.bbbsc-footer-nav__mobile-link.is-active .bbbsc-footer-nav__mobile-icon{background:linear-gradient(180deg,#eff6ff 0%,#dbeafe 100%);border-color:#bfdbfe;color:#2563eb;box-shadow:0 16px 26px rgba(37,99,235,.22)}
.bbbsc-footer-nav__mobile-icon i,.bbbsc-footer-nav__mobile-icon svg{width:19px;height:19px;font-size:19px}
.bbbsc-footer-nav__mobile-badge{position:absolute;top:-3px;left:-8px;display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 7px;border-radius:999px;background:linear-gradient(135deg,#38bdf8 0%,#2563eb 100%);color:#fff;font-size:10px;font-weight:900;line-height:1.2;box-shadow:0 12px 22px rgba(37,99,235,.26)}
.bbbsc-footer-nav__mobile-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;line-height:1.25}}
@media (max-width:420px){.bbbsc-footer-nav__mobile{gap:6px;padding:9px 8px calc(9px + env(safe-area-inset-bottom)/3);border-radius:24px}.bbbsc-footer-nav__mobile-icon{width:42px;height:42px;border-radius:16px}.bbbsc-footer-nav__mobile-icon i,.bbbsc-footer-nav__mobile-icon svg{width:18px;height:18px;font-size:18px}.bbbsc-footer-nav__mobile-text{font-size:10px}}


.bbbsc-header-menu__cta{gap:10px}
.bbbsc-header-menu__cta-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px}
.bbbsc-header-menu__cta-icon i,.bbbsc-header-menu__cta-icon svg{width:20px;height:20px;font-size:20px}
.bbbsc-quick-access-modal__dialog{max-width:520px}
.bbbsc-quick-access-modal__surface{display:grid;gap:18px}
.bbbsc-quick-access-modal__header p{margin-bottom:0}
.bbbsc-auth-switches--quick{display:flex;flex-wrap:wrap;gap:10px}
.bbbsc-quick-access-form{display:grid;gap:14px}
.bbbsc-quick-access-form label{display:grid;gap:8px;font-weight:700;color:#0f172a}
.bbbsc-quick-access-form label span{font-size:13px;color:#475569}
.bbbsc-quick-access-form input{width:100%;min-height:48px;padding:0 14px;border-radius:16px;border:1px solid rgba(148,163,184,.35);background:#fff;color:#0f172a;box-sizing:border-box}
.bbbsc-quick-access-form input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.bbbsc-quick-access-success{display:grid;gap:14px;justify-items:center;text-align:center;padding:10px 0 4px}
.bbbsc-quick-access-success__icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%);color:#fff;font-size:30px;font-weight:900;box-shadow:0 20px 36px rgba(34,197,94,.28)}
.bbbsc-quick-access-success h4{margin:0;color:#0f172a;font-size:22px;font-weight:900}
.bbbsc-quick-access-success p{margin:0;color:#475569;line-height:1.9}
.bbbsc-quick-access-modal__links{margin-top:4px}
.bbbsc-footer-nav__mobile-link{--bbbsc-mobile-icon-color:inherit;--bbbsc-mobile-icon-active-color:#2563eb}
.bbbsc-footer-nav__mobile-icon{color:var(--bbbsc-mobile-icon-color,inherit)}
.bbbsc-footer-nav__mobile-link.is-active .bbbsc-footer-nav__mobile-icon{color:var(--bbbsc-mobile-icon-active-color,#2563eb)}
@media (max-width:782px){.bbbsc-header-menu__cta{padding:0;min-width:50px;width:50px}.bbbsc-header-menu__cta-label{display:none}.bbbsc-header-menu__cta-icon{width:20px;height:20px;flex:0 0 20px}.bbbsc-header-menu__toggle-label{display:none}.bbbsc-header-menu__panel .bbbsc-header-menu__cta{width:100%;justify-content:center;padding:0 18px}.bbbsc-header-menu__panel .bbbsc-header-menu__cta-label{display:inline-flex}.bbbsc-header-menu__panel .bbbsc-header-menu__cta-icon{width:18px;height:18px;flex:0 0 18px}.bbbsc-header-menu__panel .bbbsc-header-menu__cta-icon i,.bbbsc-header-menu__panel .bbbsc-header-menu__cta-icon svg{width:18px;height:18px;font-size:18px}}
@media (max-width:782px){.bbbsc-header-menu__mobile-cta{width:auto;min-width:0;padding:0 12px}.bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-label{display:inline-block}.bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-icon{width:18px;height:18px;flex:0 0 18px}.bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-icon i,.bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-icon svg{width:18px;height:18px;font-size:18px}}


.bbbsc-header-menu{--bbbsc-header-toggle-icon-color:#fff;--bbbsc-header-cta-icon-color:#0f172a}
.bbbsc-header-menu__toggle{color:var(--bbbsc-header-toggle-icon-color,#fff)}
.bbbsc-header-menu__link{--bbbsc-header-icon-color:#fff;--bbbsc-header-icon-active-color:#1d4ed8}
.bbbsc-header-menu__link-icon{color:var(--bbbsc-header-icon-color,#fff)}
.bbbsc-header-menu__link.is-active .bbbsc-header-menu__link-icon{color:var(--bbbsc-header-icon-active-color,#1d4ed8)}
.bbbsc-header-menu__cta-icon{color:var(--bbbsc-header-cta-icon-color,currentColor)}
.bbbsc-footer-nav__link{--bbbsc-footer-icon-color:#fff;--bbbsc-footer-icon-active-color:#2563eb}
.bbbsc-footer-nav__link-icon{color:var(--bbbsc-footer-icon-color,#fff)}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__link-icon{color:var(--bbbsc-footer-icon-active-color,#2563eb)}
.bbbsc-footer-nav__extras{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.bbbsc-footer-nav__trusts{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.bbbsc-footer-nav__trust{display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:74px;padding:10px 12px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(16px);transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.bbbsc-footer-nav__trust:hover{transform:translateY(-2px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.18);box-shadow:0 18px 34px rgba(15,23,42,.18)}
.bbbsc-footer-nav__trust img{display:block;max-width:84px;max-height:56px;object-fit:contain}
@media (max-width:1180px){.bbbsc-footer-nav__extras{justify-content:flex-start}.bbbsc-footer-nav__trusts{justify-content:flex-start}}

/* v1.84.87 header/footer refinements */
.bbbsc-header-menu__link-icon i,
.bbbsc-header-menu__link-icon svg,
.bbbsc-header-menu__cta-icon i,
.bbbsc-header-menu__cta-icon svg,
.bbbsc-header-menu__toggle-icon,
.bbbsc-header-menu__toggle-icon span,
.bbbsc-footer-nav__link-icon i,
.bbbsc-footer-nav__link-icon svg,
.bbbsc-footer-nav__mobile-icon i,
.bbbsc-footer-nav__mobile-icon svg{color:currentColor}
.bbbsc-header-menu__link-icon svg *,
.bbbsc-header-menu__cta-icon svg *,
.bbbsc-footer-nav__link-icon svg *,
.bbbsc-footer-nav__mobile-icon svg *{fill:currentColor;stroke:currentColor}

.bbbsc-footer-nav__shell{
  grid-template-columns:minmax(220px,.9fr) minmax(420px,1.45fr) minmax(140px,.72fr);
  gap:22px;
  padding:20px 22px;
  border-radius:30px;
  background:linear-gradient(135deg,rgba(15,23,42,.96) 0%,rgba(29,78,216,.95) 56%,rgba(14,165,233,.92) 100%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 70px rgba(15,23,42,.22);
}
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::before,
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::after{content:"";position:absolute;border-radius:999px;pointer-events:none;z-index:-1}
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::before{inset:-88px auto auto -70px;width:240px;height:240px;background:radial-gradient(circle,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 74%)}
.bbbsc-footer-nav.is-glow .bbbsc-footer-nav__shell::after{inset:auto -80px -110px auto;width:270px;height:270px;background:radial-gradient(circle,rgba(125,211,252,.24) 0%,rgba(125,211,252,0) 76%)}
.bbbsc-footer-nav__intro{display:grid;align-content:center;gap:6px;min-width:0}
.bbbsc-footer-nav__eyebrow{display:inline-flex;align-items:center;gap:8px;max-width:max-content;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#dbeafe;font-size:11px;font-weight:800;line-height:1.2}
.bbbsc-footer-nav__title{display:block;margin:0;color:#fff;font-size:19px;font-weight:900;line-height:1.45;letter-spacing:-.01em}
.bbbsc-footer-nav__subtitle{display:block;color:rgba(255,255,255,.76);font-size:12px;line-height:1.9}
.bbbsc-footer-nav__nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(162px,1fr));align-items:stretch;gap:12px;width:100%;min-width:0}
.bbbsc-footer-nav__link{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;width:100%;min-height:50px;padding:12px 16px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff!important;text-decoration:none;backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.bbbsc-footer-nav__link::after{content:"";position:absolute;left:14px;right:14px;bottom:9px;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.88) 50%,rgba(255,255,255,0) 100%);opacity:0;transform:scaleX(.45);transition:transform .18s ease,opacity .18s ease}
.bbbsc-footer-nav__link:hover{transform:translateY(-2px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);box-shadow:0 16px 30px rgba(15,23,42,.16);color:#fff!important}
.bbbsc-footer-nav__link:hover::after,.bbbsc-footer-nav__link.is-active::after{opacity:1;transform:scaleX(1)}
.bbbsc-footer-nav__link.is-active{background:#fff;color:#0f172a!important;border-color:#fff;box-shadow:0 18px 34px rgba(15,23,42,.2)}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__badge{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__link-icon{background:#eff6ff;color:var(--bbbsc-footer-icon-active-color,#1d4ed8)}
.bbbsc-footer-nav__link.is-primary{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.24);box-shadow:0 16px 32px rgba(15,23,42,.15)}
.bbbsc-footer-nav__link.is-ghost{background:rgba(255,255,255,.05)}
.bbbsc-footer-nav__link-main{display:inline-flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}
.bbbsc-footer-nav__link-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:rgba(15,23,42,.16);color:var(--bbbsc-footer-icon-color,#fff);flex:0 0 34px;transition:background .18s ease,color .18s ease,transform .18s ease}
.bbbsc-footer-nav__link:hover .bbbsc-footer-nav__link-icon{transform:translateY(-1px)}
.bbbsc-footer-nav__link-icon i,.bbbsc-footer-nav__link-icon svg{width:16px;height:16px;font-size:16px}
.bbbsc-footer-nav__link-copy{display:grid;gap:3px;min-width:0}
.bbbsc-footer-nav__link-text{display:block;font-size:14px;font-weight:800;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbbsc-footer-nav__link-caption{display:block;color:rgba(255,255,255,.68);font-size:11px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__link-caption{color:#475569}
.bbbsc-footer-nav__badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:24px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#dbeafe;font-size:11px;font-weight:900;line-height:1.2}
.bbbsc-footer-nav__extras{display:flex;align-items:stretch;justify-content:flex-end;min-width:0}
.bbbsc-footer-nav__trusts{display:flex;align-items:stretch;justify-content:flex-end;gap:14px;flex-wrap:nowrap;min-width:0}
.bbbsc-footer-nav__trust{display:inline-flex;align-items:center;justify-content:center;width:104px;min-width:104px;height:118px;padding:12px;border-radius:24px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(16px);transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.bbbsc-footer-nav__trust:hover{transform:translateY(-2px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.18);box-shadow:0 18px 34px rgba(15,23,42,.18)}
.bbbsc-footer-nav__trust img{display:block;max-width:90px;max-height:92px;object-fit:contain}

@media (max-width:1320px){
  .bbbsc-footer-nav__shell{grid-template-columns:minmax(220px,.95fr) minmax(340px,1.25fr) auto}
  .bbbsc-footer-nav__nav{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
}
@media (max-width:1180px){
  .bbbsc-footer-nav__shell{grid-template-columns:minmax(0,1fr);justify-items:stretch}
  .bbbsc-footer-nav__nav{justify-content:flex-start}
  .bbbsc-footer-nav__extras{justify-content:flex-start}
  .bbbsc-footer-nav__trusts{justify-content:flex-start;flex-wrap:wrap}
}
@media (max-width:782px){
  .bbbsc-footer-nav__shell{display:none}
}


/* Header mobile menu alignment and one-line items */
@media (max-width:782px){
  .bbbsc-header-menu__mobile-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
  .bbbsc-header-menu__toggle,
  .bbbsc-header-menu__mobile-cta{min-height:48px;height:48px;border-radius:16px;box-sizing:border-box}
  .bbbsc-header-menu__toggle{min-width:48px;width:48px;padding:0;justify-content:center;flex:0 0 48px}
  .bbbsc-header-menu__mobile-cta{padding:0 14px;max-width:min(48vw,190px);flex:0 1 auto}
  .bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-label{display:inline-block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .bbbsc-header-menu__panel{position:fixed;top:var(--bbbsc-header-mobile-top,84px);left:var(--bbbsc-header-mobile-left,12px);right:var(--bbbsc-header-mobile-right,12px);max-height:calc(100vh - var(--bbbsc-header-mobile-top,84px) - 12px);overflow:auto;overscroll-behavior:contain;z-index:99999}
  .bbbsc-header-menu__nav{display:grid;gap:10px}
  .bbbsc-header-menu__link{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;min-height:54px;padding:0 14px}
  .bbbsc-header-menu__link-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto;flex-wrap:nowrap;overflow:hidden}
  .bbbsc-header-menu__link-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .bbbsc-header-menu__badge{flex:0 0 auto;margin-inline-start:8px}
}
@media (max-width:520px){
  .bbbsc-header-menu__toggle,
  .bbbsc-header-menu__mobile-cta{min-height:46px;height:46px;border-radius:15px}
  .bbbsc-header-menu__toggle{min-width:46px;width:46px;flex-basis:46px}
  .bbbsc-header-menu__mobile-cta{padding:0 12px;max-width:min(50vw,176px)}
  .bbbsc-header-menu__mobile-cta .bbbsc-header-menu__cta-label{max-width:92px;font-size:11px}
}


/* Class suite modal refresh v1.93.10 */
.bbbsc-front-modal__dialog--class-suite{
  max-width:min(1200px,calc(100vw - 24px))!important;
  width:min(1200px,calc(100vw - 24px))!important;
  border:1px solid #d7e3f4!important;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 14%,#ffffff 100%)!important;
  box-shadow:0 22px 70px rgba(15,23,42,.18)!important;
}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header{
  margin:-2px -2px 14px!important;
  padding:18px 20px 16px!important;
  border-radius:20px 20px 18px 18px!important;
  background:linear-gradient(135deg,#111827 0%,#1e3a8a 100%)!important;
  color:#fff!important;
}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header h3,
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header p,
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__eyebrow{color:#fff!important}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__eyebrow{opacity:.82;letter-spacing:.02em}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__body{gap:14px!important}
.bbbsc-class-suite-pills{margin-bottom:12px!important}
.bbbsc-class-suite-pills .bbbsc-summary-pill{
  border:1px solid #d8e3f2!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
}
.bbbsc-class-suite-intro{
  display:grid;
  gap:10px;
  margin:0 0 14px;
  padding:14px 16px;
  border:1px solid #dbe7f5;
  border-radius:18px;
  background:linear-gradient(180deg,#eef6ff 0%,#f8fbff 100%);
  color:#334155;
  line-height:1.9;
}
.bbbsc-class-suite-card{
  border:1px solid #dbe5f1!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section{
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:14px;
  background:#f8fbff;
  margin-bottom:12px;
}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section__header{margin-bottom:12px}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section__header h5{margin:0 0 4px;font-size:14px}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section__header p{margin:0;color:#64748b;font-size:12px;line-height:1.8}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-span-2{grid-column:1/-1}
.bbbsc-class-suite-check{
  display:flex!important;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  background:#fff;
  border:1px solid #d8e3f2;
  border-radius:14px;
  margin-top:6px;
}
.bbbsc-class-suite-check input{width:auto!important;margin:0!important}
.bbbsc-front-modal__dialog--class-suite .bbbsc-table-wrap table{border-radius:16px;overflow:hidden}
.bbbsc-front-modal__dialog--class-suite .bbbsc-table-wrap thead th{background:#eff6ff}
.bbbsc-front-modal__dialog--class-suite-resources .bbbsc-front-modal__header{background:linear-gradient(135deg,#0f766e 0%,#0f172a 100%)!important}
.bbbsc-front-modal__dialog--class-suite-exams .bbbsc-front-modal__header{background:linear-gradient(135deg,#1d4ed8 0%,#111827 100%)!important}
.bbbsc-front-modal__dialog--class-suite-certificates .bbbsc-front-modal__header{background:linear-gradient(135deg,#7c3aed 0%,#111827 100%)!important}
@media (max-width:900px){
  .bbbsc-front-modal__dialog--class-suite .bbbsc-form-section__grid{grid-template-columns:1fr}
}


.bbbsc-bank-bulk-form{margin-bottom:14px!important}
.bbbsc-bank-bulk-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.bbbsc-bank-bulk-toolbar select{min-width:220px}
.bbbsc-bank-checkbox{width:42px;text-align:center}
.bbbsc-bank-question-actions{display:grid;gap:10px;min-width:280px}
.bbbsc-bank-question-editor{border:1px solid #dbe7f5;border-radius:16px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);padding:10px 12px}
.bbbsc-bank-question-editor summary{cursor:pointer;font-weight:700;color:#1d4ed8;list-style:none}
.bbbsc-bank-question-editor summary::-webkit-details-marker{display:none}
.bbbsc-bank-question-editor[open] summary{margin-bottom:10px}
@media (max-width:782px){.bbbsc-bank-bulk-toolbar{flex-direction:column;align-items:stretch}.bbbsc-bank-bulk-toolbar select,.bbbsc-bank-bulk-toolbar .button{width:100%}.bbbsc-bank-question-actions{min-width:0}}

.bbbsc-modal-load-state{display:grid;justify-items:center;gap:16px;padding:28px;border:1px solid rgba(148,163,184,.22);border-radius:24px;background:radial-gradient(circle at top,#eff6ff 0%,#f8fafc 46%,#ffffff 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 20px 46px rgba(15,23,42,.10)}
.bbbsc-modal-load-state__visual{position:relative;width:88px;height:88px;display:grid;place-items:center}
.bbbsc-modal-load-state__orb{width:18px;height:18px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#0ea5e9);box-shadow:0 0 0 10px rgba(37,99,235,.08),0 12px 24px rgba(14,165,233,.18);z-index:2}
.bbbsc-modal-load-state__ring{position:absolute;inset:0;border-radius:999px;border:2px solid rgba(37,99,235,.18);border-top-color:#2563eb;animation:bbbscSpin 1.1s linear infinite}
.bbbsc-modal-load-state__ring--delay{inset:10px;border-color:rgba(14,165,233,.18);border-bottom-color:#0ea5e9;animation-duration:1.55s;animation-direction:reverse}
.bbbsc-modal-load-state__content{display:grid;gap:6px;text-align:center}.bbbsc-modal-load-state__content strong{font-size:18px;color:#0f172a}.bbbsc-modal-load-state__content small{color:#64748b}
@keyframes bbbscSpin{to{transform:rotate(360deg)}}
.bbbsc-inline-action-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.bbbsc-inline-action-field__button{min-width:44px;height:44px;border-radius:14px!important;font-size:24px!important;font-weight:800!important;line-height:1!important;padding:0 0 3px!important}
.bbbsc-resource-category-panel{border:1px solid #dbeafe;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.bbbsc-resource-category-list{display:grid;gap:10px}.bbbsc-resource-category-chip{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #dbeafe;border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05)}
.bbbsc-resource-category-chip small{display:block;color:#64748b;margin-top:4px}.bbbsc-resource-category-chip__actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bbbsc-upload-progress{display:grid;gap:10px;margin-top:14px;padding:14px 16px;border-radius:18px;border:1px solid #dbeafe;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%);box-shadow:0 10px 28px rgba(37,99,235,.10)}
.bbbsc-upload-progress__meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.bbbsc-upload-progress__meta strong{font-size:14px;color:#0f172a}.bbbsc-upload-progress__meta span{font-weight:800;color:#2563eb}
.bbbsc-upload-progress__track{position:relative;height:10px;border-radius:999px;background:#dbeafe;overflow:hidden}.bbbsc-upload-progress__track span{position:absolute;inset:0 auto 0 0;width:0;border-radius:999px;background:linear-gradient(90deg,#2563eb 0%,#0ea5e9 55%,#22c55e 100%);box-shadow:0 8px 18px rgba(37,99,235,.25);transition:width .25s ease}
.bbbsc-upload-progress__hint{font-size:12px;color:#64748b}.bbbsc-upload-progress.is-complete .bbbsc-upload-progress__meta span{color:#16a34a}
.bbbsc-front-modal__dialog--class-suite{backdrop-filter:blur(12px)}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header{position:relative;overflow:hidden;border-radius:26px;padding:26px 28px;margin:-2px -2px 18px}.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header:before{content:"";position:absolute;inset:auto -18% -55% auto;width:240px;height:240px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.24) 0%,rgba(255,255,255,0) 68%)}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header h3{font-size:28px;font-weight:900;letter-spacing:-.02em}.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header p{max-width:760px;line-height:2;opacity:.92}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__body{display:grid;gap:18px}.bbbsc-front-modal__dialog--class-suite .bbbsc-front-card,.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section{border-radius:24px}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-card{border:1px solid rgba(226,232,240,.95);box-shadow:0 18px 44px rgba(15,23,42,.08);background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.bbbsc-front-modal__dialog--class-suite .bbbsc-card-head h4{font-size:19px;margin-bottom:4px}.bbbsc-front-modal__dialog--class-suite .bbbsc-card-head p{line-height:1.9}
.bbbsc-front-modal__dialog--class-suite .bbbsc-form-section{border:1px solid #dbeafe;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
.bbbsc-front-modal__dialog--class-suite-resources .bbbsc-front-modal__header{background:linear-gradient(135deg,#0f766e 0%,#0f172a 92%)!important}
.bbbsc-front-modal__dialog--class-suite-exams .bbbsc-front-modal__header{background:linear-gradient(135deg,#2563eb 0%,#0f172a 92%)!important}
.bbbsc-front-modal__dialog--class-suite-certificates .bbbsc-front-modal__header{background:linear-gradient(135deg,#7c3aed 0%,#111827 92%)!important}
@media (max-width:782px){.bbbsc-inline-action-field{grid-template-columns:1fr}.bbbsc-resource-category-chip{flex-direction:column;align-items:flex-start}.bbbsc-upload-progress__meta{flex-direction:column;align-items:flex-start}}

/* Certificate template studio */
.bbbsc-certificate-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:18px}
.bbbsc-template-card{border:1px solid #dbe4f0;border-radius:24px;background:linear-gradient(180deg,#fff, #f8fbff);overflow:hidden;box-shadow:0 18px 38px rgba(15,23,42,.08)}
.bbbsc-template-card__preview{padding:16px;background:radial-gradient(circle at top right,#eff6ff,transparent 45%),linear-gradient(180deg,#f8fafc,#eef2ff)}
.bbbsc-template-card__canvas{height:248px;overflow:hidden;border-radius:18px;border:1px solid #dbe4f0;background:#fff;display:flex;align-items:flex-start;justify-content:center;padding:12px}
.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.2);transform-origin:top center;width:1120px;min-height:760px;margin:0 auto}
.bbbsc-template-card__body{padding:16px 18px 18px}
.bbbsc-template-card__body h5{margin:0 0 8px;font-size:16px;color:#0f172a}
.bbbsc-template-card__body p{margin:0 0 14px;color:#64748b;font-size:12px;line-height:1.8}
.bbbsc-template-card__meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.bbbsc-template-card__pill{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:700}
.bbbsc-template-card__actions{display:flex;gap:8px;flex-wrap:wrap}
.bbbsc-template-selector{margin-top:16px;padding:18px;border-radius:24px;border:1px solid #dbe4f0;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 18px 38px rgba(15,23,42,.06)}
.bbbsc-template-selector__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.bbbsc-template-selector__header h5{margin:0 0 6px;font-size:17px;color:#0f172a}.bbbsc-template-selector__header p{margin:0;color:#64748b;font-size:12px;line-height:1.9}.bbbsc-template-selector__meta{display:flex;gap:8px;flex-wrap:wrap}.bbbsc-template-selector__meta span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:700}
.bbbsc-template-selector__stage{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(240px,.95fr);gap:18px;align-items:start;margin-bottom:16px}.bbbsc-template-selector__preview{min-height:320px;border-radius:24px;padding:16px;background:radial-gradient(circle at top right,#dbeafe,transparent 28%),linear-gradient(180deg,#eff6ff,#f8fafc);overflow:auto}.bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.42);transform-origin:top center;width:1120px;min-height:760px;margin:0 auto}.bbbsc-template-selector__summary{display:grid;gap:8px;align-content:start;padding:18px;border-radius:22px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 14px 30px rgba(15,23,42,.05)}.bbbsc-template-selector__summary strong{font-size:18px;color:#0f172a}.bbbsc-template-selector__summary span{font-size:12px;color:#4338ca;font-weight:700}.bbbsc-template-selector__summary p{margin:0;color:#64748b;line-height:1.9;font-size:13px}
.bbbsc-template-selector__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.bbbsc-template-selector__card{appearance:none;border:1px solid #dbe4f0;border-radius:22px;background:#fff;padding:0;overflow:hidden;cursor:pointer;text-align:right;box-shadow:0 14px 28px rgba(15,23,42,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;position:relative}.bbbsc-template-selector__card:hover{transform:translateY(-2px);border-color:#6366f1;box-shadow:0 18px 34px rgba(79,70,229,.12)}.bbbsc-template-selector__card.is-active{border-color:#4338ca;box-shadow:0 0 0 3px rgba(99,102,241,.14),0 22px 34px rgba(67,56,202,.16)}.bbbsc-template-selector__card.is-active:after{content:"✓";position:absolute;top:12px;left:12px;width:28px;height:28px;border-radius:999px;background:linear-gradient(135deg,#4338ca,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 10px 20px rgba(67,56,202,.28)}
.bbbsc-template-selector__card-canvas{height:208px;overflow:hidden;padding:12px;background:radial-gradient(circle at top right,#eff6ff,transparent 42%),linear-gradient(180deg,#f8fafc,#eef2ff);border-bottom:1px solid #e2e8f0}.bbbsc-template-selector__card-canvas .bbbsc-certificate-sheet{transform:scale(.17);transform-origin:top center;width:1120px;min-height:760px;margin:0 auto}.bbbsc-template-selector__card-body{padding:14px 16px 16px}.bbbsc-template-selector__card-body h6{margin:0 0 6px;font-size:14px;color:#0f172a}.bbbsc-template-selector__card-body p{margin:0;color:#64748b;font-size:12px;line-height:1.8}.bbbsc-template-selector__badge{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#0f172a;color:#fff;font-size:11px;font-weight:700;z-index:2}
.bbbsc-template-selector__empty-preview{min-height:212px;display:grid;place-items:center;text-align:center;gap:10px;padding:20px;color:#475569}.bbbsc-template-selector__empty-preview strong{font-size:18px;color:#0f172a}.bbbsc-template-selector__empty-preview span{font-size:13px;line-height:1.9;max-width:320px}.bbbsc-template-selector__empty-icon{width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,#4338ca,#7c3aed);color:#fff;font-size:24px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 16px 28px rgba(67,56,202,.24)}.bbbsc-template-selector__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.bbbsc-template-selector__actions .button{white-space:nowrap}.bbbsc-template-editor__preview-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.bbbsc-template-selector--compact{margin-top:10px;padding:14px;border-radius:20px}.bbbsc-template-selector--compact .bbbsc-template-selector__header{margin-bottom:10px}.bbbsc-template-selector--compact .bbbsc-template-selector__header h5{font-size:15px}.bbbsc-template-selector--compact .bbbsc-template-selector__header p{font-size:11px;line-height:1.8}.bbbsc-template-selector--compact .bbbsc-template-selector__stage{grid-template-columns:minmax(0,.95fr) minmax(180px,1.05fr);gap:12px;margin-bottom:12px}.bbbsc-template-selector--compact .bbbsc-template-selector__preview{min-height:260px;padding:12px;border-radius:20px}.bbbsc-template-selector--compact .bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.33);width:1120px;min-height:760px}.bbbsc-template-selector--compact .bbbsc-template-selector__summary{padding:14px;border-radius:18px}.bbbsc-template-selector--compact .bbbsc-template-selector__summary strong{font-size:15px}.bbbsc-template-selector--compact .bbbsc-template-selector__summary p{font-size:12px}.bbbsc-template-selector--compact .bbbsc-template-selector__grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.bbbsc-template-selector--compact .bbbsc-template-selector__card{border-radius:18px}.bbbsc-template-selector--compact .bbbsc-template-selector__card-canvas{height:156px;padding:10px}.bbbsc-template-selector--compact .bbbsc-template-selector__card-canvas .bbbsc-certificate-sheet{transform:scale(.15);width:1120px;min-height:760px}.bbbsc-template-selector--compact .bbbsc-template-selector__card-body{padding:11px 12px 13px}.bbbsc-template-selector--compact .bbbsc-template-selector__card-body h6{font-size:13px}.bbbsc-template-selector--compact .bbbsc-template-selector__card-body p{font-size:11px}.bbbsc-template-selector--compact .bbbsc-template-selector__badge{top:10px;right:10px;padding:4px 8px;font-size:10px}.bbbsc-certificate-issue-form{display:grid;gap:10px;min-width:min(100%,860px)}.bbbsc-certificate-issue-form__controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;align-items:end}.bbbsc-certificate-issue-form__controls>label{display:grid;gap:6px}.bbbsc-certificate-issue-form .button{justify-self:start}

.bbbsc-template-editor{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(0,1.18fr);gap:20px;align-items:start}
.bbbsc-template-editor__form,.bbbsc-template-editor__preview{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:18px;box-shadow:0 18px 38px rgba(15,23,42,.06)}
.bbbsc-template-editor__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bbbsc-template-editor__toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px 14px;border-radius:16px;background:#f8fafc;border:1px dashed #cbd5e1}
.bbbsc-template-editor__toolbar strong{font-size:12px;color:#0f172a}
.bbbsc-template-editor__preview-canvas{min-height:640px;border-radius:22px;background:radial-gradient(circle at top right,#dbeafe,transparent 28%),linear-gradient(180deg,#eff6ff,#f8fafc);padding:16px;overflow:auto}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(.58);transform-origin:top center;width:1120px;min-height:760px;margin:0 auto}
.bbbsc-template-editor textarea[name="body_html"]{direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}

.bbbsc-certificate-sheet--builder{position:relative;background:#fff;border-radius:28px;min-height:760px;padding:38px;overflow:hidden;border:8px solid var(--bbbsc-accent,#0f766e);box-shadow:0 22px 60px rgba(15,23,42,.14);direction:rtl;text-align:center;font-family:Tahoma,Vazirmatn,sans-serif}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-frame{position:absolute;inset:18px;border:2px dashed color-mix(in srgb,var(--bbbsc-accent,#0f766e) 32%, white);border-radius:18px;pointer-events:none}
.bbbsc-certificate-frame--inner{inset:30px;border-style:solid;opacity:.3}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-inner{position:relative;z-index:2}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-topline{color:var(--bbbsc-accent,#0f766e);font-weight:800;font-size:18px;margin-bottom:16px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-title{font-size:42px;color:#0f172a;margin:18px 0 10px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-subtitle{font-size:16px;color:#475569;margin-bottom:16px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-user{font-size:34px;font-weight:800;color:#111827;margin:0 0 18px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-body{font-size:18px;line-height:2;color:#334155;max-width:900px;margin:0 auto 24px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-body p{margin:0 0 10px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-meta-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-meta-grid span{display:block;color:#64748b;font-size:12px;margin-bottom:6px}.bbbsc-certificate-sheet--builder .bbbsc-certificate-meta-grid strong{display:block;color:#0f172a;font-size:15px;word-break:break-word}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-top:26px}.bbbsc-certificate-sheet--builder .bbbsc-certificate-sign,.bbbsc-certificate-sheet--builder .bbbsc-certificate-qr{width:220px;min-height:140px}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-note{font-size:12px;color:#64748b;margin-top:22px;word-break:break-word}
.bbbsc-certificate-sheet__hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 18px;border-radius:18px;background:linear-gradient(90deg,var(--bbbsc-accent-soft,#d1fae5),transparent)}
.bbbsc-certificate-sheet__hero--compact{padding:10px 14px}
.bbbsc-certificate-sheet__hero-badge,.bbbsc-certificate-sheet__medal{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:999px;background:var(--bbbsc-accent,#0f766e);color:#fff;font-size:12px;font-weight:800;box-shadow:0 10px 20px rgba(15,23,42,.12)}
.bbbsc-certificate-sheet__medal{margin:0 auto 18px}
.bbbsc-certificate-sheet__corner{position:absolute;width:160px;height:160px;border-radius:36px;background:linear-gradient(135deg,var(--bbbsc-accent-soft,#fce7f3),transparent)}
.bbbsc-certificate-sheet__corner--top{top:-48px;right:-30px}.bbbsc-certificate-sheet__corner--bottom{left:-30px;bottom:-48px}
.bbbsc-certificate-qr__mock{width:120px;height:120px;border:8px solid #0f172a;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:2px;margin:0 auto;color:#0f172a;background:repeating-linear-gradient(45deg,#fff,#fff 10px,#f1f5f9 10px,#f1f5f9 20px)}
@media (max-width:1100px){.bbbsc-template-editor{grid-template-columns:1fr}.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(.4)}.bbbsc-template-selector__stage{grid-template-columns:1fr}.bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.32)}}
@media (max-width:760px){.bbbsc-template-editor__grid{grid-template-columns:1fr}.bbbsc-certificate-template-grid{grid-template-columns:1fr}.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.16)}.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(.24)}.bbbsc-template-selector{padding:14px}.bbbsc-template-selector__grid{grid-template-columns:1fr}.bbbsc-template-selector__card-canvas{height:148px}.bbbsc-template-selector__card-canvas .bbbsc-certificate-sheet{transform:scale(.13)}.bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.22)}}


/* v1.93.17 portal polish */
.bbbsc-customer-portal-toolbar{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.bbbsc-customer-portal-toolbar .bbbsc-customer-hero__actions{margin:0;justify-content:flex-end}
.bbbsc-front-modal__dialog--class-suite{padding-top:72px!important;border:1px solid rgba(148,163,184,.16);background:linear-gradient(180deg,#f8fbff 0%,#ffffff 22%)}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header{background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#38bdf8 100%)!important;border-radius:28px!important;box-shadow:0 24px 46px rgba(37,99,235,.22)!important}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header h3{font-size:29px;font-weight:950;line-height:1.35;text-shadow:0 1px 1px rgba(15,23,42,.18)}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__header p{font-size:14px;font-weight:600;line-height:2;color:rgba(255,255,255,.9)!important}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);font-size:12px;font-weight:900;line-height:1.2}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__close{top:20px!important;left:auto!important;right:22px!important;width:46px;height:46px;border-radius:16px;border:1px solid rgba(255,255,255,.24);background:linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.08) 100%);backdrop-filter:blur(12px);box-shadow:0 16px 28px rgba(15,23,42,.18);color:#fff;font-size:28px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__close:hover,.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__close:focus{transform:translateY(-1px);background:linear-gradient(180deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,.14) 100%);box-shadow:0 18px 36px rgba(15,23,42,.22)}
.bbbsc-class-suite-card .bbbsc-card-head{align-items:flex-start!important}
.bbbsc-class-suite-card .bbbsc-card-head h4{margin:0 0 8px;font-size:20px;font-weight:950;line-height:1.45;color:#0f172a}
.bbbsc-class-suite-card .bbbsc-card-head p{margin:0;font-size:13px;font-weight:600;line-height:2;color:#475569}
.bbbsc-upload-progress{gap:12px;padding:16px 18px;border-radius:22px;border:1px solid rgba(37,99,235,.16)!important;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)!important;box-shadow:0 16px 34px rgba(37,99,235,.12)!important}
.bbbsc-upload-progress__meta strong{font-size:15px;font-weight:900}
.bbbsc-upload-progress__file{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:#eff6ff;border:1px solid #dbeafe}
.bbbsc-upload-progress__file strong{font-size:13px;font-weight:900;color:#0f172a;line-height:1.8;word-break:break-word}
.bbbsc-upload-progress__file small{font-size:12px;font-weight:700;color:#2563eb;white-space:nowrap}
.bbbsc-upload-progress__track{height:12px!important;background:#dbeafe!important}
.bbbsc-upload-progress__hint{font-size:12px;font-weight:600;line-height:1.9;color:#475569}
.bbbsc-upload-progress.is-complete .bbbsc-upload-progress__hint{color:#166534}
@media (max-width:782px){.bbbsc-customer-portal-toolbar{justify-content:stretch}.bbbsc-customer-portal-toolbar .bbbsc-customer-hero__actions{width:100%;justify-content:stretch}.bbbsc-front-modal__dialog--class-suite{padding-top:76px!important}.bbbsc-front-modal__dialog--class-suite .bbbsc-front-modal__close{right:16px!important;top:16px!important;width:42px;height:42px}.bbbsc-upload-progress__file{flex-direction:column;align-items:flex-start}}

.bbbsc-avatar-field{display:grid;gap:10px;margin:6px 0 14px;padding:12px 14px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:linear-gradient(180deg,rgba(248,250,252,.96),rgba(255,255,255,.985));box-shadow:0 8px 24px rgba(15,23,42,.045)}
.bbbsc-avatar-field__head{display:grid;gap:3px}
.bbbsc-avatar-field__head strong{font-size:13px;font-weight:800;color:#0f172a}
.bbbsc-avatar-field__head small{font-size:11px;line-height:1.7;color:#64748b}
.bbbsc-avatar-field__body{display:grid;grid-template-columns:minmax(88px,96px) minmax(0,1fr);align-items:center;gap:12px}
.bbbsc-avatar-field__preview{position:relative;width:96px;height:96px;border-radius:24px;background:linear-gradient(145deg,#eef4ff 0%,#f8fbff 55%,#ffffff 100%);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(148,163,184,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 12px 26px rgba(15,23,42,.07)}
.bbbsc-avatar-field__preview::before{content:'';position:absolute;inset:9px;border-radius:19px;background:linear-gradient(145deg,rgba(255,255,255,.82) 0%,rgba(219,234,254,.72) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.bbbsc-avatar-field__preview.has-image::before{opacity:0}
.bbbsc-avatar-field__preview-media{position:relative;z-index:2;width:100%;height:100%}
.bbbsc-avatar-field__preview img{width:100%;height:100%;object-fit:cover;display:block}
.bbbsc-avatar-field__placeholder{position:absolute;inset:0;z-index:2;display:grid;place-content:center;justify-items:center;gap:7px;padding:10px;color:#475569;font-weight:800;font-size:11px;text-align:center;line-height:1.35}
.bbbsc-avatar-field__controls{display:grid;gap:8px;min-width:0}
.bbbsc-avatar-field__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bbbsc-avatar-field__button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px!important;border-radius:12px!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;margin:0!important}
.bbbsc-avatar-field__button--ghost{background:#fff!important;border:1px solid rgba(148,163,184,.28)!important;color:#475569!important;box-shadow:none!important}
.bbbsc-avatar-field__meta{font-size:11px;line-height:1.7;color:#64748b}
@media (max-width:640px){.bbbsc-avatar-field__body{grid-template-columns:1fr;justify-items:center}.bbbsc-avatar-field__controls{width:100%}.bbbsc-avatar-field__actions{width:100%}}

.bbbsc-avatar-cropper-modal__dialog{max-width:880px!important}
.bbbsc-avatar-cropper-modal__layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}
.bbbsc-avatar-cropper-modal__stage{position:relative;width:320px;height:320px;max-width:100%;margin-inline:auto;border-radius:28px;overflow:hidden;background:radial-gradient(circle at top,#dbeafe,#eff6ff 58%,#e2e8f0 100%);border:1px solid rgba(148,163,184,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 16px 42px rgba(15,23,42,.12);cursor:grab;touch-action:none}
.bbbsc-avatar-cropper-modal__stage.is-dragging{cursor:grabbing}
.bbbsc-avatar-cropper-modal__stage img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:none;user-select:none;-webkit-user-drag:none;pointer-events:none}
.bbbsc-avatar-cropper-modal__mask{position:absolute;inset:0;box-shadow:inset 0 0 0 999px rgba(15,23,42,.28),inset 0 0 0 2px rgba(255,255,255,.88);border-radius:28px;pointer-events:none}
.bbbsc-avatar-cropper-modal__mask::after{content:"";position:absolute;inset:14px;border:1px dashed rgba(255,255,255,.72);border-radius:20px}
.bbbsc-avatar-cropper-modal__sidebar{display:grid;gap:16px}
.bbbsc-avatar-cropper-modal__zoom{display:grid;gap:8px;font-weight:800;color:#0f172a}
.bbbsc-avatar-cropper-modal__zoom input{width:100%}
.bbbsc-avatar-cropper-modal__hint{padding:12px 14px;border-radius:16px;background:#eff6ff;color:#1d4ed8;font-weight:800;text-align:center}
@media (max-width: 782px){.bbbsc-avatar-cropper-modal__layout{grid-template-columns:1fr}.bbbsc-avatar-cropper-modal__stage{width:min(100%,320px);height:min(100vw - 110px,320px)}}

.bbbsc-inline-person{display:flex;align-items:center;gap:10px;min-width:0}.bbbsc-inline-person>div{min-width:0}.bbbsc-inline-avatar{width:40px;height:40px;border-radius:14px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dbeafe,#eff6ff);border:1px solid rgba(148,163,184,.28);box-shadow:0 8px 18px rgba(15,23,42,.08);font-weight:800;color:#1e3a8a;flex:0 0 auto}.bbbsc-inline-avatar img{width:100%;height:100%;object-fit:cover;display:block}.bbbsc-inline-avatar--sm{width:34px;height:34px;border-radius:12px;font-size:12px}.bbbsc-user-portal-hero__avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.bbbsc-class-card__user{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.bbbsc-class-card__user .bbbsc-inline-person strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.bbbsc-template-background-field{display:grid;gap:10px;padding:14px;border:1px dashed #cbd5e1;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff)}.bbbsc-template-background-field>label{display:grid;gap:6px;font-weight:800}.bbbsc-template-background-field__controls{display:flex;gap:10px;flex-wrap:wrap}.bbbsc-template-background-field__preview{width:min(100%,280px);border-radius:18px;overflow:hidden;border:1px solid #dbe5f1;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.08)}.bbbsc-template-background-field__preview img{display:block;width:100%;height:170px;object-fit:cover}.bbbsc-certificate-sheet--builder.bbbsc-certificate-sheet--with-background::before{content:'';position:absolute;inset:0;background-image:var(--bbbsc-bg-image);background-position:center;background-size:cover;opacity:.16;pointer-events:none}.bbbsc-certificate-sheet--builder.bbbsc-certificate-sheet--with-background::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(255,255,255,.86));pointer-events:none}.bbbsc-certificate-sheet--builder .bbbsc-certificate-inner,.bbbsc-certificate-sheet--builder .bbbsc-certificate-frame,.bbbsc-certificate-sheet__hero,.bbbsc-certificate-sheet__corner{position:relative;z-index:2}

/* v1.93.21 certificate studio polish */
.bbbsc-template-card__preview{padding:18px;background:radial-gradient(circle at top right,#dbeafe 0%,transparent 42%),linear-gradient(180deg,#f8fbff 0%,#eef2ff 100%)}
.bbbsc-template-card__canvas{height:236px;padding:14px;border-radius:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 14px 28px rgba(15,23,42,.06)}
.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.29);transform-origin:top center;width:1120px;min-height:760px}
.bbbsc-template-selector__preview{min-height:300px;padding:18px}
.bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.4);transform-origin:top center;width:1120px;min-height:760px}
.bbbsc-template-editor__preview-canvas{min-height:520px;padding:18px}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(.56);transform-origin:top center;width:1120px;min-height:760px}
.bbbsc-template-background-field__head{display:grid;gap:4px;margin-bottom:12px}.bbbsc-template-background-field__head strong{font-size:15px;font-weight:900;color:#0f172a}.bbbsc-template-background-field__head p{margin:0;color:#64748b;line-height:1.9;font-size:12px}
.bbbsc-template-background-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:14px}
.bbbsc-template-background-presets__card{display:grid;gap:8px;text-align:right;padding:10px;border-radius:18px;border:1px solid #dbe4f0;background:#fff;box-shadow:0 12px 26px rgba(15,23,42,.05);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.bbbsc-template-background-presets__card:hover,.bbbsc-template-background-presets__card.is-selected{transform:translateY(-1px);border-color:#2563eb;box-shadow:0 16px 32px rgba(37,99,235,.12)}
.bbbsc-template-background-presets__thumb{display:block;height:86px;border-radius:14px;background-size:cover;background-position:center;border:1px solid rgba(148,163,184,.22)}
.bbbsc-template-background-presets__card strong{font-size:13px;font-weight:900;color:#0f172a}.bbbsc-template-background-presets__card small{color:#64748b;font-size:11px;line-height:1.8}
.bbbsc-certificate-sheet--builder{background:#fff;border-width:10px;border-radius:30px;box-shadow:0 30px 70px rgba(15,23,42,.15)}
.bbbsc-certificate-sheet--builder.bbbsc-certificate-sheet--with-background::before{content:"";position:absolute;inset:0;background-image:var(--bbbsc-bg-image);background-size:cover;background-position:center;opacity:.26;pointer-events:none}
.bbbsc-certificate-sheet--builder.bbbsc-certificate-sheet--with-background::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.97));pointer-events:none}
.bbbsc-certificate-sheet--builder .bbbsc-certificate-inner{position:relative;z-index:2}
.bbbsc-certificate-identity{display:grid;grid-template-columns:136px minmax(0,1fr);gap:20px;align-items:center;max-width:760px;margin:0 auto 22px;padding:16px 20px;border-radius:26px;background:rgba(255,255,255,.76);border:1px solid rgba(226,232,240,.9);box-shadow:0 18px 36px rgba(15,23,42,.06);backdrop-filter:blur(8px)}
.bbbsc-certificate-identity__copy{text-align:right}
.bbbsc-certificate-user-media{display:flex;justify-content:center;align-items:center}.bbbsc-certificate-user-media__frame{position:relative;width:122px;height:122px;border-radius:32px;padding:8px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(241,245,249,.92));border:1px solid rgba(148,163,184,.24);box-shadow:0 16px 32px rgba(15,23,42,.12)}
.bbbsc-certificate-user-media__avatar{display:flex;width:100%;height:100%;border-radius:24px;overflow:hidden;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bbbsc-accent-soft,#d1fae5),#eff6ff);font-size:34px;font-weight:900;color:#0f172a}.bbbsc-certificate-user-media__avatar img{width:100%;height:100%;object-fit:cover;display:block}.bbbsc-certificate-user-media__tag{position:absolute;left:10px;bottom:10px;padding:4px 8px;border-radius:999px;background:#0f172a;color:#fff;font-size:10px;font-weight:800}
.bbbsc-certificate-user{font-size:38px;font-weight:950;letter-spacing:-.02em;margin:0 0 4px}.bbbsc-certificate-body{max-width:940px}
.bbbsc-certificate-sheet__glow{position:absolute;left:58px;top:50px;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,var(--bbbsc-accent-soft,#dbeafe) 0%,transparent 70%);filter:blur(8px);opacity:.9}
.bbbsc-certificate-sheet__ribbon{position:absolute;left:0;top:110px;width:180px;height:12px;border-radius:0 999px 999px 0;background:linear-gradient(90deg,var(--bbbsc-accent,#334155),transparent);opacity:.22}
.bbbsc-certificate-sheet--midnight{color:#e5eefc}.bbbsc-certificate-sheet--midnight .bbbsc-certificate-title,.bbbsc-certificate-sheet--midnight .bbbsc-certificate-user,.bbbsc-certificate-sheet--midnight .bbbsc-certificate-meta-grid strong{color:#e5eefc}.bbbsc-certificate-sheet--midnight .bbbsc-certificate-subtitle,.bbbsc-certificate-sheet--midnight .bbbsc-certificate-body,.bbbsc-certificate-sheet--midnight .bbbsc-certificate-note{color:#c7d2fe}.bbbsc-certificate-sheet--midnight .bbbsc-certificate-meta-grid div{background:rgba(15,23,42,.42);border-color:rgba(191,219,254,.15)}.bbbsc-certificate-sheet--midnight .bbbsc-certificate-identity{background:rgba(15,23,42,.48);border-color:rgba(191,219,254,.18)}
.bbbsc-certificate-sheet--golden .bbbsc-certificate-sheet__medal{box-shadow:0 18px 36px rgba(180,83,9,.22)}
.bbbsc-certificate-sheet--rose .bbbsc-certificate-identity{background:rgba(255,255,255,.8)}
.bbbsc-certificate-sheet--graphite .bbbsc-certificate-identity{background:rgba(248,250,252,.84)}
@media (max-width:1100px){.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.24)}.bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.32)}.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(.42)}}
@media (max-width:760px){.bbbsc-template-background-presets{grid-template-columns:1fr 1fr}.bbbsc-template-card__canvas{height:190px}.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.2)}.bbbsc-template-editor__preview-canvas{min-height:360px}.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(.24)}.bbbsc-template-selector__preview{min-height:220px}.bbbsc-template-selector__preview .bbbsc-certificate-sheet{transform:scale(.21)}.bbbsc-certificate-identity{grid-template-columns:1fr;justify-items:center;text-align:center}.bbbsc-certificate-identity__copy{text-align:center}.bbbsc-certificate-user{font-size:30px}}

/* v1.93.22 template photo controls */
.bbbsc-template-photo-field{display:grid;gap:12px;padding:14px;border:1px dashed #cbd5e1;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff)}
.bbbsc-template-photo-field__head{display:grid;gap:4px}
.bbbsc-template-photo-field__head strong{font-size:14px}
.bbbsc-template-photo-field__head p{margin:0;color:#64748b;font-size:12px;line-height:1.9}
.bbbsc-template-photo-field__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.bbbsc-template-photo-field__grid label{display:grid;gap:6px;font-weight:800}
.bbbsc-template-photo-field__grid input[type=checkbox]{margin-left:6px}
.bbbsc-certificate-user-media{display:flex;justify-content:center;align-items:center;transform:translate(var(--bbbsc-user-photo-shift-x,0px),var(--bbbsc-user-photo-shift-y,0px))}
.bbbsc-certificate-identity--no-photo{grid-template-columns:minmax(0,1fr)}
.bbbsc-certificate-identity__copy--full{text-align:center}
.bbbsc-certificate-user-media__frame{width:var(--bbbsc-user-photo-size,122px);height:var(--bbbsc-user-photo-size,122px);border-radius:var(--bbbsc-user-photo-radius,32px)}
.bbbsc-certificate-user-media__avatar{border-radius:calc(max(0px,var(--bbbsc-user-photo-radius,32px) - 8px))}
.bbbsc-class-share-modal__feedback{margin-top:10px;padding:10px 12px;border-radius:14px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:800}.bbbsc-class-share-modal__feedback.is-error{border-color:#fecaca;background:#fff1f2;color:#be123c}.bbbsc-class-share-modal__feedback.is-success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}


/* v1.93.25 waiting room polish */
.bbbsc-class-waiting-card{position:relative;overflow:hidden;border:1px solid #d9e7f5;background:linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%)}
.bbbsc-class-waiting-card::after{content:"";position:absolute;inset:auto -40% -55% auto;width:220px;height:220px;background:radial-gradient(circle at center,rgba(59,130,246,.12),rgba(59,130,246,0));pointer-events:none}
.bbbsc-class-waiting-card h3{margin:0 0 10px;font-size:22px;font-weight:800;color:#0f172a;text-align:center}
.bbbsc-class-waiting-card__loader{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 16px}
.bbbsc-class-waiting-card__loader span{width:14px;height:14px;border-radius:999px;background:linear-gradient(135deg,#1d4ed8,#60a5fa);box-shadow:0 10px 20px rgba(37,99,235,.18);animation:bbbscWaitingPulse 1.2s infinite ease-in-out}
.bbbsc-class-waiting-card__loader span:nth-child(2){animation-delay:.18s}
.bbbsc-class-waiting-card__loader span:nth-child(3){animation-delay:.36s}
.bbbsc-class-waiting-card__meta{margin-top:12px;color:#475569;font-size:12px;line-height:2;text-align:center}
@keyframes bbbscWaitingPulse{0%,80%,100%{transform:translateY(0) scale(.88);opacity:.55}40%{transform:translateY(-6px) scale(1);opacity:1}}

/* v1.93.29 user portal overview refresh + profile modal scroll */
#class-profile-modal .bbbsc-front-modal__dialog{
  width:min(760px,calc(100vw - 24px));
  max-width:min(760px,calc(100vw - 24px));
  max-height:min(94vh,920px);
}
#class-profile-modal .bbbsc-front-modal__dialog--scrollable > form{
  max-height:calc(94vh - 96px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:18px 18px 22px;
}
#class-profile-modal .bbbsc-front-form--compact{
  display:grid;
  gap:14px;
}
#class-profile-modal .bbbsc-front-button-row{
  position:sticky;
  bottom:0;
  padding-top:10px;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.98) 42%,#fff 100%);
}

.bbbsc-user-portal-overview{
  display:grid;
  gap:18px;
}
.bbbsc-user-portal-overview-spotlight{
  position:relative;
  overflow:hidden;
  display:grid;
  gap:18px;
  border:1px solid #dbe8f6;
  background:linear-gradient(135deg,#f8fbff 0%,#eef4ff 52%,#ffffff 100%);
  box-shadow:0 22px 44px rgba(15,23,42,.06);
}
.bbbsc-user-portal-overview-spotlight:before,
.bbbsc-user-portal-overview-spotlight:after{
  content:"";
  position:absolute;
  border-radius:999px;
  pointer-events:none;
}
.bbbsc-user-portal-overview-spotlight:before{
  width:240px;
  height:240px;
  top:-110px;
  left:-70px;
  background:radial-gradient(circle,rgba(59,130,246,.16) 0%,rgba(59,130,246,0) 72%);
}
.bbbsc-user-portal-overview-spotlight:after{
  width:210px;
  height:210px;
  bottom:-120px;
  right:-40px;
  background:radial-gradient(circle,rgba(14,165,233,.12) 0%,rgba(14,165,233,0) 70%);
}
.bbbsc-user-portal-overview-spotlight__copy,
.bbbsc-user-portal-overview-spotlight__stats,
.bbbsc-user-portal-overview-spotlight__actions{
  position:relative;
  z-index:1;
}
.bbbsc-user-portal-overview-spotlight__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:6px 12px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:11px;
  font-weight:900;
}
.bbbsc-user-portal-overview-spotlight__copy h3{
  margin:10px 0 8px;
  font-size:24px;
  line-height:1.5;
  color:#0f172a;
}
.bbbsc-user-portal-overview-spotlight__copy p{
  margin:0;
  max-width:760px;
  color:#475569;
  line-height:2;
}
.bbbsc-user-portal-overview-spotlight__stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.bbbsc-user-portal-overview-stat{
  display:grid;
  gap:8px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  border:1px solid #dbe7f3;
  box-shadow:0 14px 28px rgba(15,23,42,.05);
}
.bbbsc-user-portal-overview-stat span{
  font-size:12px;
  font-weight:800;
  color:#64748b;
}
.bbbsc-user-portal-overview-stat strong{
  font-size:28px;
  line-height:1.1;
  color:#0f172a;
}
.bbbsc-user-portal-overview-stat.is-live{background:linear-gradient(180deg,#ecfdf5 0%,#ffffff 100%);border-color:#bbf7d0}
.bbbsc-user-portal-overview-stat.is-future{background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%);border-color:#bfdbfe}
.bbbsc-user-portal-overview-stat.is-resource{background:linear-gradient(180deg,#f5f3ff 0%,#ffffff 100%);border-color:#ddd6fe}
.bbbsc-user-portal-overview-stat.is-action{background:linear-gradient(180deg,#fff7ed 0%,#ffffff 100%);border-color:#fed7aa}
.bbbsc-user-portal-overview-spotlight__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.bbbsc-user-portal-overview-spotlight__actions .button{
  min-height:42px;
  border-radius:14px;
  padding:0 16px;
  font-weight:800;
}
.bbbsc-user-portal-mini-card{
  position:relative;
  border:1px solid #e3ebf6;
  box-shadow:0 14px 30px rgba(15,23,42,.05);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bbbsc-user-portal-mini-card:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 36px rgba(15,23,42,.08);
  border-color:#cfe0f5;
}
.bbbsc-user-portal-mini-card--wide{
  grid-column:span 2;
}
.bbbsc-user-portal-overview-grid .bbbsc-card-head h4{
  margin:0;
  font-size:18px;
}
.bbbsc-user-portal-overview-grid .bbbsc-card-head p{
  margin:6px 0 0;
  color:#64748b;
  line-height:1.9;
}
@media (max-width:1200px){
  .bbbsc-user-portal-overview-spotlight__stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bbbsc-user-portal-mini-card--wide{
    grid-column:auto;
  }
}
@media (max-width:782px){
  #class-profile-modal .bbbsc-front-modal__dialog--scrollable > form{
    max-height:calc(94vh - 88px);
    padding:14px 14px 18px;
  }
  .bbbsc-user-portal-overview-spotlight__copy h3{
    font-size:20px;
  }
  .bbbsc-user-portal-overview-spotlight__stats{
    grid-template-columns:1fr;
  }
  .bbbsc-user-portal-overview-spotlight__actions{
    display:grid;
    grid-template-columns:1fr;
  }
}


/* v1.93.32 quick access header refinements */

.bbbsc-inline-avatar.is-icon-placeholder,.bbbsc-header-menu__cta-avatar.is-icon-placeholder,.bbbsc-quick-access-profile-card__avatar.is-icon-placeholder{position:relative;color:#334155}
.bbbsc-inline-avatar__icon-wrap{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%}
.bbbsc-inline-avatar__icon{display:block;width:58%;height:58%;min-width:16px;min-height:16px;position:relative;z-index:1}
.bbbsc-inline-avatar.is-icon-placeholder::after,.bbbsc-header-menu__cta-avatar.is-icon-placeholder::after,.bbbsc-quick-access-profile-card__avatar.is-icon-placeholder::after{content:"";position:absolute;inset:21%;background:currentColor;opacity:.92;pointer-events:none;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12C14.7614 12 17 9.76142 17 7C17 4.23858 14.7614 2 12 2C9.23858 2 7 4.23858 7 7C7 9.76142 9.23858 12 12 12Z'/%3E%3Cpath d='M4.75 20.5C4.75 17.6005 7.1005 15.25 10 15.25H14C16.8995 15.25 19.25 17.6005 19.25 20.5C19.25 21.3284 18.5784 22 17.75 22H6.25C5.42157 22 4.75 21.3284 4.75 20.5Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12C14.7614 12 17 9.76142 17 7C17 4.23858 14.7614 2 12 2C9.23858 2 7 4.23858 7 7C7 9.76142 9.23858 12 12 12Z'/%3E%3Cpath d='M4.75 20.5C4.75 17.6005 7.1005 15.25 10 15.25H14C16.8995 15.25 19.25 17.6005 19.25 20.5C19.25 21.3284 18.5784 22 17.75 22H6.25C5.42157 22 4.75 21.3284 4.75 20.5Z'/%3E%3C/svg%3E") center/contain no-repeat}
.bbbsc-avatar-field__placeholder-badge{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#dbeafe 0%,#eff6ff 100%);color:#2563eb;box-shadow:0 10px 22px rgba(37,99,235,.14), inset 0 1px 0 rgba(255,255,255,.75)}
.bbbsc-avatar-field__placeholder small{display:block;font-size:10px;font-weight:800;color:#64748b}
.bbbsc-avatar-field__placeholder-icon{width:26px;height:26px;display:block;color:currentColor}
.bbbsc-header-menu__cta{position:relative;gap:12px;min-height:56px;padding:0 18px 0 14px;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(255,255,255,.86);box-shadow:0 20px 40px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.92)}
.bbbsc-header-menu__cta:hover{background:linear-gradient(180deg,#ffffff 0%,#eef6ff 100%)}
.bbbsc-header-menu__cta-copy{display:grid;gap:2px;min-width:0;text-align:right}
.bbbsc-header-menu__cta-eyebrow{display:block;color:#64748b;font-size:10px;font-weight:900;letter-spacing:.04em;line-height:1.2;text-transform:uppercase}
.bbbsc-header-menu__cta-label{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;line-height:1.5}
.bbbsc-header-menu__cta.is-authenticated{justify-content:space-between;min-width:min(100%,248px);padding-inline:12px 14px;background:linear-gradient(135deg,#ffffff 0%,#eff6ff 44%,#eef2ff 100%)}
.bbbsc-header-menu__cta-profile{display:flex;align-items:center;gap:10px;min-width:0}
.bbbsc-header-menu__cta-avatar{width:40px;height:40px;border-radius:15px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dbeafe,#eff6ff);border:1px solid rgba(148,163,184,.28);box-shadow:0 10px 18px rgba(15,23,42,.08);color:#1d4ed8;flex:0 0 40px}
.bbbsc-header-menu__cta-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.bbbsc-header-menu__cta-chevron{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:12px;background:rgba(37,99,235,.1);color:#1d4ed8;flex:0 0 28px}
.bbbsc-header-menu__cta-chevron svg{width:16px;height:16px;display:block}
.bbbsc-header-menu__cta-fallback-icon{width:20px;height:20px;display:block}
.bbbsc-quick-access-modal__dialog{max-width:560px;max-height:92vh;display:flex;flex-direction:column;overflow:hidden}
.bbbsc-quick-access-modal__surface{display:grid;gap:20px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-inline-end:4px}
.bbbsc-quick-access-modal__surface::-webkit-scrollbar{width:10px}
.bbbsc-quick-access-modal__surface::-webkit-scrollbar-thumb{background:rgba(148,163,184,.45);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
.bbbsc-quick-access-modal__surface::-webkit-scrollbar-track{background:transparent}
.bbbsc-quick-access-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 22px;border-radius:26px;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#38bdf8 100%);color:#fff;box-shadow:0 26px 54px rgba(37,99,235,.24)}
.bbbsc-quick-access-modal__header h3{margin:0 0 6px;font-size:25px;font-weight:950;line-height:1.35;color:#fff}
.bbbsc-quick-access-modal__header p{margin:0;max-width:420px;color:#fff!important;font-size:13px;line-height:2;text-shadow:0 1px 1px rgba(15,23,42,.18)}
.bbbsc-quick-access-modal__header-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);font-size:11px;font-weight:900;white-space:nowrap}
.bbbsc-quick-access-modal__hero{display:grid;gap:12px;padding:16px 18px;border-radius:24px;border:1px solid rgba(37,99,235,.14);background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);box-shadow:0 18px 36px rgba(15,23,42,.06)}
.bbbsc-quick-access-modal__hero-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:22px;background:linear-gradient(135deg,#dbeafe 0%,#eff6ff 100%);color:#1d4ed8;box-shadow:0 18px 30px rgba(37,99,235,.12)}
.bbbsc-quick-access-modal__hero-icon-svg{width:32px;height:32px;display:block}
.bbbsc-quick-access-modal__hero-copy{display:grid;gap:6px}
.bbbsc-quick-access-modal__hero-copy strong{font-size:18px;font-weight:950;color:#0f172a}
.bbbsc-quick-access-modal__hero-copy span{font-size:13px;line-height:1.95;color:#475569}
.bbbsc-quick-access-modal__hero-badges{display:flex;gap:8px;flex-wrap:wrap}
.bbbsc-quick-access-modal__hero-badges span{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #dbeafe;font-size:11px;font-weight:900}
.bbbsc-quick-access-profile-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:24px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef2ff 100%);border:1px solid rgba(148,163,184,.18);box-shadow:0 18px 34px rgba(15,23,42,.06)}
.bbbsc-quick-access-profile-card__avatar{width:62px;height:62px;border-radius:22px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dbeafe,#eff6ff);border:1px solid rgba(148,163,184,.24);color:#1d4ed8;flex:0 0 62px}
.bbbsc-quick-access-profile-card__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.bbbsc-quick-access-profile-card__copy{display:grid;gap:4px;min-width:0;flex:1 1 auto}
.bbbsc-quick-access-profile-card__copy strong{display:block;color:#0f172a;font-size:16px;font-weight:950;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbbsc-quick-access-profile-card__copy span{display:block;color:#64748b;font-size:12px;font-weight:700;line-height:1.8}
.bbbsc-quick-access-profile-card__status{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0;font-size:11px;font-weight:900;white-space:nowrap}
.bbbsc-quick-access-form{padding:2px 2px 0}
.bbbsc-quick-access-form label{padding:12px 14px;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);box-shadow:0 12px 26px rgba(15,23,42,.04)}
.bbbsc-quick-access-form input{margin-top:2px;border:none!important;background:transparent!important;box-shadow:none!important;padding:0;min-height:34px}
.bbbsc-quick-access-form input:focus{box-shadow:none!important}
.bbbsc-quick-access-modal__links .button{min-height:48px;border-radius:16px}
@media (max-width:782px){.bbbsc-quick-access-modal__header{padding:18px;border-radius:22px}.bbbsc-quick-access-modal__header{display:grid}.bbbsc-quick-access-modal__header-chip{justify-self:start}.bbbsc-quick-access-profile-card{align-items:flex-start}.bbbsc-quick-access-profile-card__status{margin-inline-start:auto}}
@media (max-width:520px){.bbbsc-header-menu__cta{padding-inline:12px}.bbbsc-header-menu__cta-label{max-width:138px}.bbbsc-header-menu__cta.is-authenticated{min-width:0;width:auto}.bbbsc-header-menu__cta-avatar{width:36px;height:36px;border-radius:14px}.bbbsc-quick-access-modal__hero-badges{gap:6px}.bbbsc-quick-access-profile-card{flex-wrap:wrap}.bbbsc-quick-access-profile-card__status{order:3}}


/* v1.95.1 class action button theme */
.bbbsc-class-action-btn{border-width:1px!important;border-style:solid!important;font-weight:800!important;transition:all .18s ease!important}
.bbbsc-class-action-btn--success{border-color:#16a34a!important;background:#f0fdf4!important;color:#166534!important;box-shadow:0 6px 16px rgba(22,163,74,.08)!important}
.bbbsc-class-action-btn--success:hover,.bbbsc-class-action-btn--success:focus{border-color:#15803d!important;background:#dcfce7!important;color:#14532d!important}
.bbbsc-class-action-btn--danger{border-color:#ef4444!important;background:#fef2f2!important;color:#b91c1c!important;box-shadow:0 6px 16px rgba(239,68,68,.08)!important}
.bbbsc-class-action-btn--danger:hover,.bbbsc-class-action-btn--danger:focus{border-color:#dc2626!important;background:#fee2e2!important;color:#991b1b!important}

.bbbsc-mobile-change-panel {
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.06));
  margin: 8px 0 12px;
}
.bbbsc-mobile-change-panel .bbbsc-front-button-row {
  margin-top: 8px;
}
.bbbsc-mobile-change-panel label {
  margin-top: 10px;
}
.bbbsc-mobile-change-panel input[name="mobile_change_otp"] {
  direction: ltr;
  text-align: center;
  letter-spacing: 0.18em;
  font-weight: 700;
}

/* v1.95.11: class card action button polish */
.bbbsc-table-actions .bbbsc-class-action-btn--edit,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit{
  border:1px solid #16a34a !important;
  background:#ffffff !important;
  color:#166534 !important;
  box-shadow:0 6px 16px rgba(22,163,74,.08) !important;
}
.bbbsc-table-actions .bbbsc-class-action-btn--edit:hover,
.bbbsc-table-actions .bbbsc-class-action-btn--edit:focus,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit:hover,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit:focus{
  border-color:#15803d !important;
  background:#f0fdf4 !important;
  color:#14532d !important;
}
.bbbsc-table-actions .bbbsc-class-action-btn--danger,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--danger{
  border-color:#dc2626 !important;
  background:#dc2626 !important;
  color:#ffffff !important;
  box-shadow:0 8px 18px rgba(220,38,38,.18) !important;
}
.bbbsc-table-actions .bbbsc-class-action-btn--danger:hover,
.bbbsc-table-actions .bbbsc-class-action-btn--danger:focus,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--danger:hover,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--danger:focus{
  border-color:#b91c1c !important;
  background:#b91c1c !important;
  color:#ffffff !important;
}

/* BBBSC v1.95.12 resource modal fixes */
.bbbsc-resource-category-panel--inline{margin-top:14px;border-style:dashed!important}
.bbbsc-resource-category-panel[hidden]{display:none!important}
.bbbsc-resource-modal-form .bbbsc-upload-progress[hidden]{display:none!important}
.bbbsc-resource-modal-form .bbbsc-upload-progress.is-visible{display:grid!important}

/* Certificate template layer editor - v1.95.17 */
.bbbsc-certificate-sheet{position:relative;overflow:hidden}
.bbbsc-certificate-layers{position:absolute;inset:0;pointer-events:none;z-index:8}
.bbbsc-certificate-layer{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;line-height:1.35;box-sizing:border-box;white-space:normal;word-break:break-word;padding:4px}
.bbbsc-certificate-layer img{max-width:100%;max-height:100%;object-fit:contain;display:block;margin:auto}
.bbbsc-certificate-layer--text{font-family:Tahoma,Vazirmatn,sans-serif}
.bbbsc-certificate-layer--image,.bbbsc-certificate-layer--qr,.bbbsc-certificate-layer--user_image{padding:0}
.bbbsc-certificate-layer__placeholder{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:38px;border:1px dashed rgba(15,23,42,.25);border-radius:12px;background:rgba(255,255,255,.45);color:#64748b;font-size:13px}
.bbbsc-template-asset-panel,.bbbsc-template-layer-panel{border:1px solid #e2e8f0;border-radius:18px;padding:14px;background:#f8fafc}
.bbbsc-template-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bbbsc-template-asset-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;display:grid;gap:8px}
.bbbsc-template-asset-card strong{display:block;color:#0f172a}
.bbbsc-template-asset-card__preview{border:1px dashed #cbd5e1;border-radius:12px;background:#fff;min-height:72px;display:flex;align-items:center;justify-content:center;padding:8px}
.bbbsc-template-asset-card__preview img{max-width:100%;max-height:96px;object-fit:contain}
.bbbsc-template-layer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.bbbsc-template-layer-list{display:grid;gap:12px}
.bbbsc-template-layer-row{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.bbbsc-template-layer-row__head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}
.bbbsc-template-layer-row__head strong{color:#0f172a}
.bbbsc-template-layer-row__head span{margin-inline-end:auto;color:#64748b;font-size:12px;background:#f1f5f9;border-radius:999px;padding:3px 8px}
.bbbsc-template-layer-row__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bbbsc-template-layer-row__grid label{display:grid;gap:5px;font-size:12px;color:#475569}
.bbbsc-template-layer-row__grid input,.bbbsc-template-layer-row__grid select{width:100%}
@media(max-width:900px){.bbbsc-template-asset-grid,.bbbsc-template-layer-row__grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.bbbsc-template-asset-grid,.bbbsc-template-layer-row__grid{grid-template-columns:1fr}}

/* v1.95.20 portal UX fixes */
.bbbsc-required-badge{display:inline-flex;align-items:center;justify-content:center;margin-right:6px;padding:2px 8px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:11px;font-style:normal;font-weight:900;line-height:1.6;vertical-align:middle}
.bbbsc-quick-access-success__topline{display:inline-flex;align-items:center;justify-content:center;padding:7px 14px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:13px;font-weight:900}
.bbbsc-quick-access-success__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin-top:4px}
.bbbsc-quick-access-success-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:92px;padding:16px 14px;border:1px solid rgba(16,185,129,.28);border-radius:24px;background:#fff;color:#0f172a;text-decoration:none;box-shadow:0 16px 34px rgba(15,23,42,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bbbsc-quick-access-success-card:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(15,23,42,.12);border-color:#10b981;color:#0f172a}
.bbbsc-quick-access-success-card strong{font-size:15px;font-weight:950;text-align:center}
.bbbsc-quick-access-success-card small{font-size:12px;color:#64748b;line-height:1.8;text-align:center}
.bbbsc-quick-access-success-card.is-primary{background:linear-gradient(135deg,#ecfdf5 0%,#f8fafc 100%);border-color:rgba(5,150,105,.34)}
.bbbsc-subscription-gate-notice{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:center;width:100%;max-width:100%;box-sizing:border-box;margin:14px 0 18px;padding:18px!important;overflow:hidden;border:1px solid rgba(245,158,11,.35)!important;border-radius:24px!important;background:linear-gradient(135deg,#fffbeb 0%,#fff 100%)!important;box-shadow:0 16px 38px rgba(146,64,14,.08)!important;outline:none!important;direction:rtl;text-align:right}
.bbbsc-subscription-gate-notice--blocked{border-color:rgba(239,68,68,.28)!important;background:linear-gradient(135deg,#fff1f2 0%,#fff 100%)!important}
.bbbsc-subscription-gate-notice__icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:18px;background:#f97316;color:#fff;font-weight:950;font-size:22px;line-height:1;box-shadow:0 14px 28px rgba(249,115,22,.22);flex:0 0 48px}
.bbbsc-subscription-gate-notice--blocked .bbbsc-subscription-gate-notice__icon{background:#ef4444;box-shadow:0 14px 28px rgba(239,68,68,.22)}
.bbbsc-subscription-gate-notice__body{min-width:0}
.bbbsc-subscription-gate-notice__body strong{display:block;margin-bottom:4px;color:#0f172a;font-size:16px;font-weight:950;line-height:1.7}
.bbbsc-subscription-gate-notice__body p{margin:0;color:#475569;line-height:1.9;word-break:normal;overflow-wrap:anywhere}
.bbbsc-subscription-gate-notice__actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;min-width:180px}
.bbbsc-subscription-gate-notice__actions .button{margin:0!important;white-space:nowrap}
.bbbsc-admin-table--users .bbbsc-col-actions{white-space:nowrap;text-align:center}
.bbbsc-admin-table--users .button-link-delete{color:#b91c1c;border-color:#fecaca;background:#fff5f5;font-weight:800}
@media(max-width:720px){.bbbsc-quick-access-success__actions{grid-template-columns:1fr}.bbbsc-subscription-gate-notice{grid-template-columns:1fr!important;gap:12px;padding:16px!important}.bbbsc-subscription-gate-notice__icon{width:44px;height:44px}.bbbsc-subscription-gate-notice__actions{justify-content:stretch;min-width:0;width:100%}.bbbsc-subscription-gate-notice__actions .button{width:100%;text-align:center}}


/* BBBSC v1.95.23 quick access account menu and manual user save fixes */
.bbbsc-quick-access-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.bbbsc-quick-access-menu__item{display:flex!important;align-items:center;gap:12px;min-height:74px;padding:14px 16px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;color:#0f172a!important;text-decoration:none!important;text-align:right!important;box-shadow:0 12px 28px rgba(15,23,42,.06)!important;cursor:pointer!important;font-family:inherit!important}
.bbbsc-quick-access-menu__item:hover,.bbbsc-quick-access-menu__item:focus{transform:translateY(-1px);box-shadow:0 16px 34px rgba(15,23,42,.1)!important;border-color:#bfdbfe!important}
.bbbsc-quick-access-menu__item.is-primary{background:linear-gradient(135deg,#eff6ff,#ecfdf5)!important;border-color:#bfdbfe!important}
.bbbsc-quick-access-menu__item.is-danger{background:#fff7ed!important;border-color:#fed7aa!important;color:#c2410c!important}
.bbbsc-quick-access-menu__item strong{display:block;font-size:14px;font-weight:950;line-height:1.5}
.bbbsc-quick-access-menu__item small{display:block;margin-top:3px;color:#64748b;font-size:11px;font-weight:700;line-height:1.7}
.bbbsc-quick-access-menu__item.is-danger small{color:#c2410c}
.bbbsc-quick-access-menu__icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:14px;background:#eef2ff;color:#1d4ed8;font-weight:950}
.bbbsc-quick-access-menu__item.is-danger .bbbsc-quick-access-menu__icon{background:#ffedd5;color:#c2410c}
.bbbsc-quick-access-account-panel{display:grid;gap:12px;margin-top:14px}
.bbbsc-quick-access-account-panel__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}
.bbbsc-quick-access-account-panel__head strong{display:block;font-size:14px;font-weight:950;color:#0f172a}
.bbbsc-quick-access-account-panel__head small{display:block;color:#64748b;font-size:12px;line-height:1.7}
.bbbsc-admin-table--users .bbbsc-col-actions{min-width:150px}
.bbbsc-admin-table--users .bbbsc-col-actions .button{margin:2px}
.bbbsc-table-actions .bbbsc-class-action-btn--edit,.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit{border-color:#2563eb!important;background:#2563eb!important;color:#fff!important;box-shadow:0 8px 18px rgba(37,99,235,.2)!important}
.bbbsc-table-actions .bbbsc-class-action-btn--edit:hover,.bbbsc-table-actions .bbbsc-class-action-btn--edit:focus,.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit:hover,.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit:focus{border-color:#1d4ed8!important;background:#1d4ed8!important;color:#fff!important}
.bbbsc-table-actions .bbbsc-class-action-btn--danger,.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--danger{border-color:#dc2626!important;background:#dc2626!important;color:#fff!important;box-shadow:0 8px 18px rgba(220,38,38,.2)!important}
@media (max-width:620px){.bbbsc-quick-access-menu{grid-template-columns:1fr}.bbbsc-quick-access-account-panel__head{align-items:flex-start;flex-direction:column}}

/* BBBSC v1.95.30 class/recording/wallet polish */
.bbbsc-front-modal__dialog--attendance{max-height:88vh!important;overflow:auto!important;-webkit-overflow-scrolling:touch}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__body,.bbbsc-front-modal__dialog--attendance .bbbsc-attendance-modal__body{max-height:none!important;overflow:visible!important}
.bbbsc-media-image-preview,.bbbsc-portal-media-preview{aspect-ratio:16/9;max-width:360px;width:100%;overflow:hidden;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0}
.bbbsc-media-image-preview img,.bbbsc-portal-media-preview img{width:100%;height:100%;object-fit:cover;display:block}
.bbbsc-wallet-unit-hint{display:block;margin-top:8px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px dashed #cbd5e1;color:#334155;font-size:15px;font-weight:900;line-height:1.8}
input[data-bbbsc-money-input="1"]{font-size:22px!important;font-weight:950!important;letter-spacing:.02em;text-align:center}
.bbbsc-start-sms-choice{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.54);backdrop-filter:blur(5px)}
.bbbsc-start-sms-choice__box{position:relative;width:min(520px,100%);border-radius:28px;background:#fff;padding:26px;box-shadow:0 28px 90px rgba(15,23,42,.28);border:1px solid rgba(148,163,184,.35);text-align:right}
.bbbsc-start-sms-choice__close{position:absolute;top:12px;left:12px;border:0;background:#f1f5f9;border-radius:999px;width:34px;height:34px;font-size:22px;line-height:1;cursor:pointer;color:#334155}
.bbbsc-start-sms-choice__eyebrow{display:inline-flex;padding:6px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:950;margin-bottom:10px}
.bbbsc-start-sms-choice h3{margin:0 0 8px;color:#0f172a;font-size:21px;font-weight:950}
.bbbsc-start-sms-choice p{margin:0;color:#475569;line-height:1.9;font-size:14px}
.bbbsc-start-sms-choice__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;justify-content:flex-start}


/* v1.95.31 wallet/classes/sales UI hotfixes */
.bbbsc-datetime-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.45fr);gap:10px;align-items:center}
.bbbsc-datetime-split input[type=date],.bbbsc-datetime-split input[type=time]{width:100%;min-width:0}
.bbbsc-front-modal__dialog--scrollable.bbbsc-upgrade-modal{max-height:88vh!important;overflow-y:auto!important;overscroll-behavior:contain}
.bbbsc-upgrade-modal__list{padding-bottom:16px}
.bbbsc-front-modal__dialog--class-builder .bbbsc-datetime-split{grid-template-columns:minmax(0,1.3fr) minmax(110px,.7fr)}
@media(max-width:782px){.bbbsc-datetime-split,.bbbsc-front-modal__dialog--class-builder .bbbsc-datetime-split{grid-template-columns:1fr}}

/* v1.95.33 - unified class lists, server-clock timers and secure resource access */
.bbbsc-class-filter-bar--unified{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.bbbsc-class-filter-bar--unified .button{display:inline-flex;align-items:center;gap:6px;border-radius:999px}.bbbsc-class-filter-bar--unified .button.is-active{box-shadow:0 0 0 2px rgba(37,99,235,.16)}.bbbsc-class-filter-bar--unified .button span{font-weight:700}.bbbsc-user-class-table-wrap{width:100%;overflow:auto;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#fff}.bbbsc-user-class-table{width:100%;border-collapse:separate;border-spacing:0;min-width:920px}.bbbsc-user-class-table th,.bbbsc-user-class-table td{padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08);text-align:right;vertical-align:top}.bbbsc-user-class-table th{font-size:12px;color:#64748b;background:#f8fafc;font-weight:700}.bbbsc-user-class-table tbody tr:last-child td{border-bottom:0}.bbbsc-user-class-title,.bbbsc-user-class-time,.bbbsc-user-class-person{display:flex;flex-direction:column;gap:4px}.bbbsc-user-class-title span,.bbbsc-user-class-time small,.bbbsc-user-class-person span,.bbbsc-user-class-muted{color:#64748b;font-size:12px}.bbbsc-user-class-row-actions{display:flex;flex-wrap:wrap;gap:8px}.bbbsc-user-class-row-actions--secondary .button{white-space:nowrap}.bbbsc-class-card__schedule--compact{margin-top:8px;padding:8px 10px;border-radius:12px;background:#f8fafc}.bbbsc-class-timeline-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:12px 0 16px}.bbbsc-class-timeline-summary__item{border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:12px 14px;background:#fff;display:flex;align-items:center;justify-content:space-between}.bbbsc-class-timeline-summary__item span{color:#64748b;font-size:12px}.bbbsc-class-timeline-summary__item strong{font-size:18px}.bbbsc-class-timeline-summary__item--current{background:#ecfdf5}.bbbsc-class-timeline-summary__item--future{background:#eff6ff}.bbbsc-class-timeline-summary__item--past{background:#f8fafc}.bbbsc-class-timeline-summary__item--inactive{background:#fff7ed}@media(max-width:782px){.bbbsc-user-class-table{min-width:760px}.bbbsc-class-filter-bar--unified .button{flex:1 1 auto;justify-content:center}}

/* v1.95.35 - compact customer users table: account name is read-only, only class display name is editable */
.bbbsc-table-wrap--users{overflow:visible!important;max-width:100%}.bbbsc-admin-table--users-compact{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse}.bbbsc-admin-table--users-compact th,.bbbsc-admin-table--users-compact td{padding:8px 7px!important;vertical-align:middle;white-space:normal;word-break:break-word}.bbbsc-admin-table--users-compact .bbbsc-col-id{width:7%!important;max-width:none!important}.bbbsc-admin-table--users-compact .bbbsc-col-real{width:27%!important}.bbbsc-admin-table--users-compact .bbbsc-col-display{width:25%!important}.bbbsc-admin-table--users-compact .bbbsc-col-mobile{width:16%!important}.bbbsc-admin-table--users-compact .bbbsc-col-role{width:14%!important}.bbbsc-admin-table--users-compact .bbbsc-col-actions{width:11%!important;text-align:center}.bbbsc-admin-table--users-compact input{width:100%;min-width:0;padding:8px 10px!important;border-radius:10px}.bbbsc-admin-table--users-compact code{display:inline-block;direction:ltr;font-size:12px;white-space:nowrap}.bbbsc-inline-person--compact{gap:8px}.bbbsc-inline-person--compact .bbbsc-inline-person__meta strong{font-size:13px;line-height:1.5}.bbbsc-inline-person--compact .bbbsc-inline-person__meta small{font-size:11px;line-height:1.5}.bbbsc-role-badge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800}.bbbsc-icon-actions{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.bbbsc-icon-button{width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important;line-height:1!important;font-weight:900!important}.bbbsc-icon-button--save{background:#0f766e!important;border-color:#0f766e!important;color:#fff!important}.bbbsc-icon-button--delete{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}.bbbsc-delete-user-form{display:inline;margin:0}.bbbsc-bulk-user-row--compact{grid-template-columns:minmax(0,1fr) minmax(150px,.8fr) auto!important}
@media (max-width:900px){.bbbsc-table-wrap--users{overflow:auto!important}.bbbsc-admin-table--users-compact{min-width:760px!important}.bbbsc-bulk-user-row--compact{grid-template-columns:1fr!important}}

/* BBBSC v1.95.38 UI fixes */
.bbbsc-hidden-action-form{display:none!important}
.bbbsc-resource-category-field{margin-bottom:0!important}
.bbbsc-resource-category-panel--inline.bbbsc-form-span-2{grid-column:1/-1!important;margin-top:0!important;margin-bottom:4px!important;border-style:dashed!important;box-shadow:0 12px 28px rgba(15,23,42,.06)!important}
.bbbsc-resource-category-panel--inline .bbbsc-card-head{margin-bottom:10px!important}
.bbbsc-resource-category-panel--inline .bbbsc-form-section{padding:12px!important}
.bbbsc-resource-modal-form [data-bbbsc-resource-release-at-wrap][hidden]{display:none!important}
.bbbsc-front-wrap .bbbsc-class-action-btn.bbbsc-class-action-btn--edit,
.bbbsc-front-wrap .bbbsc-table-actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit,
.bbbsc-front-wrap .bbbsc-class-admin-card__actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit{
  border-color:#2563eb!important;
  background:#2563eb!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(37,99,235,.22)!important;
}
.bbbsc-front-wrap .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:hover,
.bbbsc-front-wrap .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:focus{
  border-color:#1d4ed8!important;
  background:#1d4ed8!important;
  color:#fff!important;
}
.bbbsc-front-wrap .bbbsc-class-action-btn.bbbsc-class-action-btn--danger,
.bbbsc-front-wrap .bbbsc-table-actions .bbbsc-class-action-btn.bbbsc-class-action-btn--danger,
.bbbsc-front-wrap .bbbsc-class-admin-card__actions .bbbsc-class-action-btn.bbbsc-class-action-btn--danger,
.bbbsc-front-wrap .button-link-delete.bbbsc-class-action-btn.bbbsc-class-action-btn--danger{
  border-color:#dc2626!important;
  background:#dc2626!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(220,38,38,.22)!important;
}
.bbbsc-front-wrap .bbbsc-class-action-btn.bbbsc-class-action-btn--danger:hover,
.bbbsc-front-wrap .bbbsc-class-action-btn.bbbsc-class-action-btn--danger:focus,
.bbbsc-front-wrap .button-link-delete.bbbsc-class-action-btn.bbbsc-class-action-btn--danger:hover,
.bbbsc-front-wrap .button-link-delete.bbbsc-class-action-btn.bbbsc-class-action-btn--danger:focus{
  border-color:#b91c1c!important;
  background:#b91c1c!important;
  color:#fff!important;
}


/* BBBSC v1.95.38 class users modal table */
.bbbsc-class-user-pool-table-wrap{max-height:390px;overflow:auto;border-radius:14px;background:#fff}
.bbbsc-class-user-pool-table{table-layout:fixed;width:100%}
.bbbsc-class-user-pool-table th,.bbbsc-class-user-pool-table td{vertical-align:middle!important;white-space:normal;word-break:break-word}
.bbbsc-class-user-pool-table th:nth-child(1){width:58px;text-align:center}
.bbbsc-class-user-pool-table th:nth-child(2){width:30%}
.bbbsc-class-user-pool-table th:nth-child(3){width:24%}
.bbbsc-class-user-pool-table th:nth-child(4){width:116px}
.bbbsc-class-user-pool-table th:nth-child(5){width:112px}
.bbbsc-class-user-pool-table th:nth-child(6){width:66px;text-align:center}
.bbbsc-class-user-pool-table input[type="text"],.bbbsc-class-user-pool-table select{width:100%;max-width:100%;box-sizing:border-box}
.bbbsc-table-center{text-align:center!important;vertical-align:middle!important}
.bbbsc-icon-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:32px!important;padding:0!important;border-radius:10px!important;font-size:18px!important;font-weight:900!important;line-height:1!important}
.bbbsc-icon-button--add{background:#16a34a!important;border-color:#15803d!important;color:#fff!important;box-shadow:0 8px 18px rgba(22,163,74,.20)!important}
.bbbsc-icon-button--add:hover,.bbbsc-icon-button--add:focus{background:#15803d!important;border-color:#166534!important;color:#fff!important}
.bbbsc-class-user-pool-table .bbbsc-inline-person{min-width:0}
.bbbsc-class-user-pool-table .bbbsc-inline-person__meta{min-width:0}
.bbbsc-class-user-pool-table .bbbsc-inline-person__meta strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:980px){.bbbsc-class-user-pool-table{table-layout:auto}.bbbsc-class-user-pool-table-wrap{max-height:none}.bbbsc-class-user-pool-table th:nth-child(n){width:auto}}

/* 1.95.38 exam completion */
.bbbsc-question-category-manager{border:1px solid rgba(15,23,42,.10);border-radius:16px;background:#f8fafc;padding:14px;margin:12px 0;display:block;width:100%}
.bbbsc-question-category-manager__form,.bbbsc-question-category-manager__row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
.bbbsc-question-category-manager__form input[type="text"],.bbbsc-question-category-manager__row input[type="text"]{min-width:220px;flex:1}
.bbbsc-question-category-manager__list{display:grid;gap:8px;margin-top:10px}
.bbbsc-question-category-manager__row{justify-content:space-between;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:12px;padding:8px}
.bbbsc-question-category-manager__row form{display:flex;gap:8px;align-items:center;flex:1;margin:0}
.bbbsc-button-danger{border-color:#dc2626!important;color:#dc2626!important;background:#fff5f5!important}
.bbbsc-button-danger:hover{background:#dc2626!important;color:#fff!important}

/* BBBSC v1.95.39 user/class modal polish */
.bbbsc-table-actions .bbbsc-class-action-btn--edit,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit{
  border-color:#16a34a !important;
  background:linear-gradient(135deg,#22c55e,#16a34a) !important;
  color:#ffffff !important;
  box-shadow:0 10px 22px rgba(22,163,74,.22) !important;
}
.bbbsc-table-actions .bbbsc-class-action-btn--edit:hover,
.bbbsc-table-actions .bbbsc-class-action-btn--edit:focus,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit:hover,
.bbbsc-class-admin-card__actions .bbbsc-class-action-btn--edit:focus{
  border-color:#15803d !important;
  background:linear-gradient(135deg,#16a34a,#15803d) !important;
  color:#ffffff !important;
}
.bbbsc-admin-table--users .bbbsc-col-display small,
.bbbsc-class-user-card__field small{display:block;margin-top:5px;line-height:1.7}
.bbbsc-admin-table--users .bbbsc-col-role select{width:100%;min-width:128px;padding:9px 10px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;font-weight:800;color:#0f172a}
.bbbsc-class-user-pool-cards{display:grid;gap:10px;max-height:430px;overflow:auto;padding:4px 2px 6px}
.bbbsc-class-user-card{display:grid;grid-template-columns:72px minmax(220px,1.6fr) minmax(190px,1fr) 124px 132px 58px;align-items:center;gap:10px;padding:12px;border:1px solid #dbe7f5;border-radius:18px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 10px 24px rgba(15,23,42,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.bbbsc-class-user-card:hover{transform:translateY(-1px);border-color:#bfdbfe;box-shadow:0 16px 34px rgba(15,23,42,.08)}
.bbbsc-class-user-card__check{display:grid;justify-items:center;gap:4px;color:#64748b;font-size:11px;font-weight:800}
.bbbsc-class-user-card__check input{width:18px;height:18px;margin:0}
.bbbsc-class-user-card__person .bbbsc-inline-person{min-width:0}
.bbbsc-class-user-card__person .bbbsc-inline-person__meta strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bbbsc-class-user-card__field{display:grid;gap:5px;margin:0;font-size:11px;font-weight:900;color:#475569}
.bbbsc-class-user-card__field input,.bbbsc-class-user-card__field select{width:100%;height:38px;min-height:38px;border:1px solid #d6dfeb;border-radius:12px;background:#fff;padding:0 10px;font-size:12px;font-weight:800;color:#0f172a;box-sizing:border-box}
.bbbsc-class-user-card__mobile{display:grid;gap:4px;font-size:11px;font-weight:900;color:#475569}
.bbbsc-class-user-card__mobile code{display:inline-flex;justify-content:center;direction:ltr;padding:8px 10px;border-radius:12px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;font-weight:900;font-size:12px}
.bbbsc-class-user-card__action{display:flex;justify-content:center}.bbbsc-class-user-card__action .bbbsc-icon-button--add{width:38px;height:38px;border-radius:14px;font-size:20px;font-weight:950;box-shadow:0 10px 22px rgba(37,99,235,.18)}
@media (max-width:1120px){.bbbsc-class-user-card{grid-template-columns:58px minmax(180px,1fr) minmax(180px,1fr);}.bbbsc-class-user-card__mobile,.bbbsc-class-user-card__role,.bbbsc-class-user-card__action{grid-column:auto}.bbbsc-class-user-card__action{justify-content:flex-start}}
@media (max-width:720px){.bbbsc-class-user-card{grid-template-columns:1fr}.bbbsc-class-user-card__check{justify-items:start;grid-auto-flow:column;justify-content:start}.bbbsc-class-user-card__action{justify-content:stretch}.bbbsc-class-user-card__action .bbbsc-icon-button--add{width:100%}}
.bbbsc-start-sms-choice{background:radial-gradient(circle at top right,rgba(34,197,94,.20),transparent 32%),rgba(15,23,42,.64)!important;backdrop-filter:blur(8px)!important}
.bbbsc-start-sms-choice__box{width:min(560px,100%)!important;border-radius:32px!important;padding:30px!important;background:linear-gradient(145deg,#ffffff 0%,#f8fbff 58%,#ecfdf5 100%)!important;border:1px solid rgba(187,247,208,.85)!important;box-shadow:0 34px 110px rgba(15,23,42,.34)!important;overflow:hidden!important}
.bbbsc-start-sms-choice__box::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,#22c55e,#06b6d4,#2563eb)}
.bbbsc-start-sms-choice__icon{width:58px;height:58px;border-radius:22px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;background:linear-gradient(135deg,#dcfce7,#dbeafe);color:#047857;font-size:28px;box-shadow:0 14px 34px rgba(22,163,74,.18)}
.bbbsc-start-sms-choice__eyebrow{background:#dcfce7!important;color:#166534!important;border:1px solid #bbf7d0!important;box-shadow:0 8px 18px rgba(22,163,74,.12)!important}
.bbbsc-start-sms-choice h3{font-size:25px!important;margin-bottom:10px!important}.bbbsc-start-sms-choice p{font-size:14px!important;color:#334155!important}
.bbbsc-start-sms-choice__summary{display:grid;gap:4px;margin:16px 0 0;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.75);border:1px solid #dbeafe;color:#475569;font-size:12px;line-height:1.8}.bbbsc-start-sms-choice__summary strong{color:#0f172a}.bbbsc-start-sms-choice__actions{gap:12px!important;margin-top:20px!important}.bbbsc-start-sms-choice__primary{background:linear-gradient(135deg,#22c55e,#16a34a)!important;border-color:#16a34a!important;color:#fff!important;box-shadow:0 12px 24px rgba(22,163,74,.22)!important}.bbbsc-start-sms-choice__secondary{background:#ffffff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;font-weight:900!important}

/* BBBSC v1.95.41 sms checkout and class edit green override */
.bbbsc-front-wrap .bbbsc-table-actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit,
.bbbsc-front-wrap .bbbsc-class-admin-card__actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit,
.bbbsc-front-wrap .bbbsc-class-admin-card .bbbsc-class-action-btn.bbbsc-class-action-btn--edit{
  border-color:#16a34a!important;
  background:linear-gradient(135deg,#22c55e,#16a34a)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(22,163,74,.24)!important;
}
.bbbsc-front-wrap .bbbsc-table-actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:hover,
.bbbsc-front-wrap .bbbsc-table-actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:focus,
.bbbsc-front-wrap .bbbsc-class-admin-card__actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:hover,
.bbbsc-front-wrap .bbbsc-class-admin-card__actions .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:focus,
.bbbsc-front-wrap .bbbsc-class-admin-card .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:hover,
.bbbsc-front-wrap .bbbsc-class-admin-card .bbbsc-class-action-btn.bbbsc-class-action-btn--edit:focus{
  border-color:#15803d!important;
  background:linear-gradient(135deg,#16a34a,#15803d)!important;
  color:#fff!important;
}
.bbbsc-sms-topup-count-form{align-items:flex-end!important}
.bbbsc-sms-topup-count-form input[type=number]{min-width:180px;font-weight:900}
.bbbsc-sms-checkout-wrap .bbbsc-front-meta strong{font-size:16px}

/* BBBSC v1.95.42 compact class user modal cards */
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-manager{
  padding:10px!important;
}
.bbbsc-front-modal__dialog--xwide.bbbsc-front-modal__dialog--scrollable{
  overflow:visible!important;
}
.bbbsc-class-user-manager .bbbsc-card-head{
  margin-bottom:6px!important;
}
.bbbsc-class-user-manager .bbbsc-card-head h4{
  font-size:13px!important;
  line-height:1.4!important;
}
.bbbsc-class-user-manager .bbbsc-card-head p{
  font-size:10.5px!important;
  line-height:1.55!important;
}
.bbbsc-class-user-board{
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  margin-top:8px!important;
}
.bbbsc-class-user-board__col{
  padding:8px!important;
  border-radius:14px!important;
}
.bbbsc-class-user-board__title{
  align-items:center!important;
  margin-bottom:6px!important;
}
.bbbsc-class-user-board__title h5{
  font-size:12px!important;
}
.bbbsc-class-user-board__title span{
  font-size:10px!important;
  line-height:1.45!important;
}
.bbbsc-class-user-pool-cards{
  max-height:none!important;
  overflow:visible!important;
  gap:6px!important;
  padding:2px!important;
}
.bbbsc-class-user-card{
  grid-template-columns:34px minmax(150px,1.25fr) minmax(150px,1fr) 105px 108px 42px!important;
  gap:6px!important;
  padding:6px 8px!important;
  border-radius:12px!important;
  min-height:44px!important;
  box-shadow:0 5px 14px rgba(15,23,42,.035)!important;
}
.bbbsc-class-user-card:hover{
  transform:none!important;
  box-shadow:0 8px 18px rgba(15,23,42,.055)!important;
}
.bbbsc-class-user-card__check{
  gap:0!important;
  font-size:0!important;
}
.bbbsc-class-user-card__check span{
  display:none!important;
}
.bbbsc-class-user-card__check input{
  width:14px!important;
  height:14px!important;
}
.bbbsc-class-user-card .bbbsc-inline-avatar,
.bbbsc-class-member-card .bbbsc-inline-avatar{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  font-size:11px!important;
}
.bbbsc-class-user-card__person .bbbsc-inline-person,
.bbbsc-class-member-card__person .bbbsc-inline-person{
  gap:7px!important;
}
.bbbsc-class-user-card__person .bbbsc-inline-person__meta strong,
.bbbsc-class-member-card__person .bbbsc-inline-person__meta strong{
  font-size:11.5px!important;
  line-height:1.3!important;
}
.bbbsc-class-user-card__person .bbbsc-inline-person__meta small,
.bbbsc-class-member-card__person .bbbsc-inline-person__meta small{
  font-size:9.5px!important;
  line-height:1.35!important;
}
.bbbsc-class-user-card__field{
  gap:2px!important;
  font-size:9.5px!important;
  line-height:1.2!important;
}
.bbbsc-class-user-card__field input,
.bbbsc-class-user-card__field select{
  height:28px!important;
  min-height:28px!important;
  border-radius:9px!important;
  padding:0 8px!important;
  font-size:10.5px!important;
}
.bbbsc-class-user-card__mobile{
  gap:2px!important;
  font-size:9.5px!important;
}
.bbbsc-class-user-card__mobile code{
  padding:5px 7px!important;
  border-radius:9px!important;
  font-size:10.5px!important;
}
.bbbsc-class-user-card__action .bbbsc-icon-button--add{
  width:30px!important;
  height:30px!important;
  min-height:30px!important;
  border-radius:10px!important;
  font-size:17px!important;
}
.bbbsc-class-user-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:18px!important;
  padding:1px 6px!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  line-height:1.1!important;
}
.bbbsc-class-members-cards{
  display:grid!important;
  gap:6px!important;
  max-height:none!important;
  overflow:visible!important;
}
.bbbsc-class-member-card{
  display:grid!important;
  grid-template-columns:minmax(150px,1.25fr) 106px minmax(230px,1.25fr) 70px 98px!important;
  align-items:center!important;
  gap:6px!important;
  padding:7px 8px!important;
  border:1px solid #dbe7f5!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#fff 0%,#f8fbff 100%)!important;
  box-shadow:0 5px 14px rgba(15,23,42,.035)!important;
  min-height:46px!important;
}
.bbbsc-class-member-card__person{min-width:0!important}
.bbbsc-class-member-card__person .bbbsc-inline-person__meta strong{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bbbsc-class-member-card__mobile{
  display:grid!important;
  gap:2px!important;
  color:#64748b!important;
  font-size:9.5px!important;
  font-weight:900!important;
}
.bbbsc-class-member-card__mobile code{
  direction:ltr!important;
  display:inline-flex!important;
  justify-content:center!important;
  padding:5px 7px!important;
  border-radius:9px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  border:1px solid #bfdbfe!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
.bbbsc-class-member-card__edit{
  display:grid!important;
  grid-template-columns:minmax(120px,1fr) 96px auto!important;
  align-items:end!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.bbbsc-class-member-card__edit label{
  display:grid!important;
  gap:2px!important;
  margin:0!important;
  color:#475569!important;
  font-size:9.5px!important;
  font-weight:900!important;
}
.bbbsc-class-member-card__edit input,
.bbbsc-class-member-card__edit select{
  width:100%!important;
  height:28px!important;
  min-height:28px!important;
  border-radius:9px!important;
  padding:0 8px!important;
  font-size:10.5px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}
.bbbsc-class-member-card__edit .bbbsc-autosave-state{
  align-self:center!important;
  min-width:42px!important;
  padding:4px 6px!important;
  font-size:9.5px!important;
  border-radius:8px!important;
  white-space:nowrap!important;
}
.bbbsc-class-member-card__status{
  display:flex!important;
  justify-content:center!important;
}
.bbbsc-class-member-card__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
}
.bbbsc-class-member-card__actions .button{
  min-height:28px!important;
  height:28px!important;
  padding:0 8px!important;
  border-radius:9px!important;
  font-size:10.5px!important;
  line-height:26px!important;
}
.bbbsc-member-action--delete{
  border-color:#ef4444!important;
  background:#fee2e2!important;
  color:#b91c1c!important;
  font-weight:900!important;
}
.bbbsc-member-action--join{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-weight:900!important;
}
@media (max-width:980px){
  .bbbsc-class-user-card,
  .bbbsc-class-member-card{
    grid-template-columns:1fr!important;
  }
  .bbbsc-class-member-card__edit{
    grid-template-columns:1fr!important;
  }
  .bbbsc-class-member-card__actions{
    justify-content:stretch!important;
  }
  .bbbsc-class-member-card__actions .button{
    flex:1 1 auto!important;
  }
}

/* BBBSC v1.95.44: two-column compact class users modal and scheduled timer polish */
.bbbsc-front-modal__dialog--xwide {
  max-width: min(1360px, calc(100vw - 20px)) !important;
  width: min(1360px, calc(100vw - 20px)) !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  direction: rtl !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board__col {
  min-width: 0 !important;
  direction: rtl !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-list,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-list {
  max-height: none !important;
  overflow: visible !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card {
  grid-template-columns: 24px minmax(92px, 1.15fr) minmax(76px, .78fr) 78px 78px 32px !important;
  gap: 4px !important;
  padding: 5px 6px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  align-items: center !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card {
  grid-template-columns: minmax(96px, 1fr) 82px minmax(132px, 1.2fr) 52px 74px !important;
  gap: 4px !important;
  padding: 5px 6px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  align-items: center !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card *,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card * {
  font-size: 11px !important;
  line-height: 1.35 !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card__name,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__name {
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card input,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card select,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card input,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card select {
  min-height: 30px !important;
  height: 30px !important;
  padding: 3px 6px !important;
  font-size: 11px !important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card .button,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card .button {
  min-height: 28px !important;
  height: 28px !important;
  padding: 2px 7px !important;
  font-size: 11px !important;
}
.bbbsc-class-card__schedule--admin {
  margin-top: 6px !important;
  padding: 6px 7px !important;
  border-radius: 10px !important;
  background: rgba(34, 197, 94, .08) !important;
  border: 1px solid rgba(34, 197, 94, .18) !important;
}
.bbbsc-class-card__schedule--admin .bbbsc-class-card__schedule-clock,
.bbbsc-class-card__schedule--admin .bbbsc-class-card__schedule-note {
  font-size: 11px !important;
}
.bbbsc-storefront-sale-note {
  margin-top: 10px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
}
@media (max-width: 980px) {
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board {
    grid-template-columns: 1fr !important;
  }
}

/* v1.95.45 compact class users + OTP voice */
.bbbsc-class-user-board {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr) !important;
  gap: 14px !important;
  align-items: start;
}
.bbbsc-class-user-board > .bbbsc-front-card { min-width: 0; }
.bbbsc-class-members-cards--compact { display: grid; gap: 8px; }
.bbbsc-class-member-card--minimal {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 9px 10px !important;
  border-radius: 14px !important;
}
.bbbsc-class-member-card--minimal .bbbsc-member-card__identity strong { font-size: 12px; line-height: 1.4; }
.bbbsc-class-member-card--minimal .bbbsc-member-card__identity small { font-size: 10.5px; opacity: .76; }
.bbbsc-class-member-card--minimal .bbbsc-member-card__form {
  display: grid !important;
  grid-template-columns: minmax(110px, 1fr) minmax(76px, .7fr) auto !important;
  gap: 6px !important;
  align-items: center !important;
}
.bbbsc-class-member-card--minimal input,
.bbbsc-class-member-card--minimal select { min-height: 30px !important; font-size: 11px !important; padding: 4px 7px !important; }
.bbbsc-class-member-card--minimal .button { min-height: 30px !important; padding: 3px 8px !important; font-size: 11px !important; }
button[disabled][data-role="class-resend-otp"],
button[disabled][data-role="class-voice-otp"],
button[disabled][data-role="class-voice-otp-request"] { opacity: .68; cursor: not-allowed; }
@media (max-width: 900px) {
  .bbbsc-class-user-board { grid-template-columns: 1fr !important; }
  .bbbsc-class-member-card--minimal,
  .bbbsc-class-member-card--minimal .bbbsc-member-card__form { grid-template-columns: 1fr !important; }
}
.bbbsc-class-member-card--minimal .bbbsc-class-member-card__person strong { font-size: 12px; line-height: 1.35; }
.bbbsc-class-member-card--minimal .bbbsc-class-member-card__person small { font-size: 10.5px; color:#64748b; }
.bbbsc-class-member-card--minimal .bbbsc-class-member-card__edit { display:grid !important; grid-template-columns:minmax(110px,1fr) minmax(72px,.65fr) !important; gap:6px !important; align-items:end !important; }
.bbbsc-class-member-card--minimal .bbbsc-class-member-card__actions { display:flex; justify-content:flex-end; }

/* BBBSC v1.95.46: class users modal ratio, compact participant cards, OTP UI polish */
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board,
.bbbsc-class-user-board{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr)!important;
  gap:12px!important;
  align-items:start!important;
  direction:rtl!important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board__col--users,
.bbbsc-class-user-board__col--users{
  grid-column:1!important;
  min-width:0!important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board__col--members,
.bbbsc-class-user-board__col--members{
  grid-column:2!important;
  min-width:0!important;
}
.bbbsc-class-user-board__col--users{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border-color:#dbeafe!important;
}
.bbbsc-class-user-board__col--members{
  background:linear-gradient(180deg,#ffffff 0%,#fff7ed 100%)!important;
  border-color:#fed7aa!important;
}
.bbbsc-class-user-board__col--members .bbbsc-class-members-cards{
  gap:7px!important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card,
.bbbsc-class-user-board__col--members .bbbsc-class-member-card{
  grid-template-columns:minmax(86px,1fr) minmax(134px,1.25fr) 34px!important;
  gap:6px!important;
  padding:7px!important;
  min-height:42px!important;
  border-radius:12px!important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__edit,
.bbbsc-class-user-board__col--members .bbbsc-class-member-card__edit{
  grid-template-columns:minmax(82px,1fr) 78px!important;
  gap:5px!important;
}
.bbbsc-class-user-board__col--members .bbbsc-class-member-card__person .bbbsc-inline-person{
  gap:6px!important;
}
.bbbsc-class-user-board__col--members .bbbsc-class-member-card__person .bbbsc-inline-person__meta strong{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bbbsc-member-action--x{
  width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  border-radius:999px!important;
  font-size:22px!important;
  line-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#dc2626!important;
  border-color:#dc2626!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(220,38,38,.22)!important;
}
.bbbsc-member-action--x:hover,
.bbbsc-member-action--x:focus{
  background:#b91c1c!important;
  border-color:#b91c1c!important;
  color:#fff!important;
}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card{
  grid-template-columns:24px minmax(120px,1.25fr) minmax(108px,1fr) 82px 86px 34px!important;
}
.bbbsc-quick-access-success [data-bbbsc-quick-access-logout]{display:none!important}
@media (max-width:980px){
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board,
  .bbbsc-class-user-board{
    grid-template-columns:1fr!important;
  }
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board__col--users,
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-board__col--members,
  .bbbsc-class-user-board__col--users,
  .bbbsc-class-user-board__col--members{
    grid-column:auto!important;
  }
}


/* BBBSC v1.95.48: premium auth forms, inline class-user add form, certificate workspace */
@keyframes bbbscAuthEnter{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bbbscAuthGlow{0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.72}50%{transform:translate3d(-14px,10px,0) scale(1.04);opacity:1}}
.bbbsc-portal-auth{max-width:640px!important;margin:24px auto!important;perspective:1200px}
.bbbsc-class-auth-card:not(.bbbsc-quick-access-card),.bbbsc-portal-auth-card{position:relative!important;overflow:hidden!important;border:1px solid rgba(148,163,184,.38)!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,250,252,.92))!important;box-shadow:0 28px 80px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.78)!important;padding:clamp(18px,3vw,32px)!important;animation:bbbscAuthEnter .55s cubic-bezier(.2,.8,.2,1) both!important;backdrop-filter:blur(16px);isolation:isolate}
.bbbsc-class-auth-card:not(.bbbsc-quick-access-card)::before,.bbbsc-portal-auth-card::before{content:"";position:absolute;inset:-38% -28% auto auto;width:360px;height:360px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.22),rgba(99,102,241,.08) 48%,transparent 70%);animation:bbbscAuthGlow 7s ease-in-out infinite;z-index:-1;pointer-events:none}
.bbbsc-class-auth-card:not(.bbbsc-quick-access-card)::after,.bbbsc-portal-auth-card::after{content:"";position:absolute;inset:auto auto -34% -22%;width:310px;height:310px;border-radius:999px;background:radial-gradient(circle,rgba(16,185,129,.18),rgba(14,165,233,.07) 48%,transparent 72%);z-index:-1;pointer-events:none}
.bbbsc-class-auth-card__header,.bbbsc-portal-auth-card__header{position:relative;padding-inline-start:58px;margin-bottom:4px!important}.bbbsc-class-auth-card__header::before,.bbbsc-portal-auth-card__header::before{content:"";position:absolute;inset-inline-start:0;top:2px;width:46px;height:46px;border-radius:18px;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 14px 28px rgba(37,99,235,.26)}.bbbsc-class-auth-card__header::after,.bbbsc-portal-auth-card__header::after{content:"↗";position:absolute;inset-inline-start:14px;top:10px;color:#fff;font-size:21px;font-weight:900;transform:rotate(-45deg)}
.bbbsc-class-auth-card__header h3,.bbbsc-portal-auth-card__header h3{font-size:clamp(22px,2vw,28px)!important;font-weight:950!important;letter-spacing:-.04em!important;margin-bottom:6px!important}.bbbsc-class-auth-card__header p,.bbbsc-portal-auth-card__header p{color:#64748b!important;line-height:2!important;font-size:13px!important}
.bbbsc-portal-auth-card .bbbsc-auth-switches,.bbbsc-class-auth-card .bbbsc-auth-switches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:6px!important;border-radius:18px!important;background:rgba(241,245,249,.78)!important;border:1px solid rgba(203,213,225,.74)!important}.bbbsc-portal-auth-card .bbbsc-auth-switches .button,.bbbsc-class-auth-card .bbbsc-auth-switches .button{border-radius:14px!important;min-height:48px!important;box-shadow:none!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important}.bbbsc-portal-auth-card .bbbsc-auth-switches .button-primary,.bbbsc-class-auth-card .bbbsc-auth-switches .button-primary{background:linear-gradient(135deg,#0f172a,#2563eb)!important;border-color:transparent!important;box-shadow:0 10px 24px rgba(37,99,235,.22)!important}
.bbbsc-portal-auth-form,.bbbsc-class-auth-form{display:grid!important;gap:14px!important;padding:14px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important}.bbbsc-portal-auth-form label,.bbbsc-class-auth-form label{position:relative!important;margin:0!important;color:#1e293b!important;font-size:12px!important;font-weight:900!important}.bbbsc-portal-auth-form input:not([type="checkbox"]):not([type="radio"]),.bbbsc-class-auth-form input:not([type="checkbox"]):not([type="radio"]){margin-top:7px!important;min-height:52px!important;border-radius:17px!important;border:1px solid rgba(148,163,184,.65)!important;background:rgba(255,255,255,.86)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 8px 18px rgba(15,23,42,.035)!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;font-size:14px!important;padding:0 15px!important}.bbbsc-portal-auth-form input:focus,.bbbsc-class-auth-form input:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.13),0 16px 30px rgba(37,99,235,.08)!important;transform:translateY(-1px)!important;outline:0!important}
.bbbsc-portal-auth-card .bbbsc-front-button-row,.bbbsc-class-auth-card .bbbsc-front-button-row{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important;align-items:center!important}.bbbsc-portal-auth-card .button,.bbbsc-class-auth-card .button{border-radius:15px!important;min-height:48px!important;font-weight:900!important;transition:transform .18s ease,box-shadow .18s ease!important}.bbbsc-portal-auth-card .button:hover,.bbbsc-class-auth-card .button:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.12)!important}.bbbsc-portal-auth-card .button-primary,.bbbsc-class-auth-card .button-primary{background:linear-gradient(135deg,#2563eb,#4f46e5)!important;border-color:transparent!important;color:#fff!important}.bbbsc-class-guest-card{animation:bbbscAuthEnter .5s ease both;background:linear-gradient(145deg,#ffffff,#f0fdf4)!important;border-color:#bbf7d0!important}
.bbbsc-class-user-direct-form--inline{display:grid!important;grid-template-columns:minmax(140px,.85fr) minmax(210px,1.2fr) minmax(120px,.65fr) max-content!important;gap:8px!important;align-items:end!important;padding:8px!important;border-radius:14px!important;background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;border:1px solid #dbeafe!important;box-shadow:none!important}.bbbsc-class-user-direct-form--inline label{margin:0!important;min-width:0!important;font-size:10.5px!important;line-height:1.45!important}.bbbsc-class-user-direct-form--inline input,.bbbsc-class-user-direct-form--inline select{height:36px!important;min-height:36px!important;border-radius:10px!important;font-size:11.5px!important;padding:0 9px!important}.bbbsc-class-user-direct-form--inline .bbbsc-muted-text{display:block!important;margin-top:2px!important;font-size:9.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}.bbbsc-class-user-direct-form--inline .button{height:36px!important;min-height:36px!important;border-radius:11px!important;padding:0 12px!important;white-space:nowrap!important;font-size:11.5px!important}
.bbbsc-certificate-workspace{display:grid;gap:16px}.bbbsc-certificate-tabs{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:12px;z-index:5;padding:8px;border-radius:18px;background:rgba(248,250,252,.88);border:1px solid #e2e8f0;backdrop-filter:blur(12px)}.bbbsc-certificate-tabs .button{border-radius:14px!important;font-weight:900!important;min-height:42px!important}.bbbsc-certificate-panel{display:none;gap:16px;animation:bbbscAuthEnter .32s ease both}.bbbsc-certificate-panel.is-active{display:grid}.bbbsc-issued-class-list{display:grid;gap:8px;margin-top:10px}.bbbsc-issued-class-list>div{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:10px 12px}.bbbsc-issued-class-list span{color:#64748b;font-size:12px;font-weight:800}
.bbbsc-template-selector--lite{display:grid!important;gap:8px!important;padding:10px!important;border:1px solid #dbeafe!important;background:linear-gradient(135deg,#fff,#f8fbff)!important;border-radius:16px!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important;margin:0 0 10px!important}.bbbsc-template-selector--lite .bbbsc-select2-lite__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.bbbsc-template-selector--lite .bbbsc-select2-lite__head strong{font-size:12px;color:#0f172a}.bbbsc-template-selector--lite .bbbsc-select2-lite__head span,.bbbsc-select2-lite__hint{font-size:10.5px;color:#64748b;line-height:1.7}.bbbsc-select2-lite__field{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.2fr);gap:8px;align-items:center}.bbbsc-select2-lite__field input,.bbbsc-select2-lite__field select{height:38px!important;min-height:38px!important;border-radius:12px!important;font-size:12px!important}.bbbsc-select2-lite__field input{background:#fff!important;padding-left:34px!important}
.bbbsc-certificate-issue-form{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(130px,.75fr) minmax(130px,.85fr) auto!important;gap:8px!important;align-items:center!important;box-shadow:none!important;border:0!important;padding:0!important;background:transparent!important}.bbbsc-certificate-issue-form select,.bbbsc-certificate-issue-form input{min-height:36px!important;border-radius:10px!important}.bbbsc-certificate-issue-form .button{min-height:36px!important;border-radius:10px!important;white-space:nowrap!important}
@media (max-width:980px){.bbbsc-class-user-direct-form--inline,.bbbsc-select2-lite__field,.bbbsc-certificate-issue-form{grid-template-columns:1fr!important}.bbbsc-certificate-tabs{position:relative;top:auto}.bbbsc-portal-auth-card .bbbsc-auth-switches,.bbbsc-class-auth-card .bbbsc-auth-switches{grid-template-columns:1fr!important}}
.bbbsc-certificate-tabs .button.is-active{background:linear-gradient(135deg,#2563eb,#4f46e5)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 10px 22px rgba(37,99,235,.2)!important}

/* BBBSC v1.95.50: interactive certificate live editor */
.bbbsc-template-editor{--bbbsc-cert-editor-zoom:.56;--bbbsc-cert-grid-size:2%}
.bbbsc-certificate-live-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,auto));gap:10px;align-items:center;margin:14px 0;padding:12px;border:1px solid rgba(148,163,184,.35);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(248,250,252,.88));box-shadow:0 12px 30px rgba(15,23,42,.07)}
.bbbsc-certificate-live-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#334155;margin:0}
.bbbsc-certificate-live-toolbar select,.bbbsc-certificate-live-toolbar input[type=number]{height:34px;min-width:76px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;padding:0 9px}
.bbbsc-certificate-live-toolbar__buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-start;grid-column:1/-1}
.bbbsc-certificate-live-toolbar .button[disabled]{opacity:.45;cursor:not-allowed}
.bbbsc-certificate-editor-hint{margin-top:10px;padding:10px 12px;border-radius:14px;background:#ecfeff;color:#155e75;border:1px solid #a5f3fc;font-size:12px;line-height:1.8}
.bbbsc-template-editor__preview-canvas{position:relative;background-image:linear-gradient(rgba(15,23,42,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(15,23,42,.045) 1px,transparent 1px),radial-gradient(circle at top right,#dbeafe,transparent 28%),linear-gradient(180deg,#eff6ff,#f8fafc);background-size:var(--bbbsc-cert-grid-size) var(--bbbsc-cert-grid-size),var(--bbbsc-cert-grid-size) var(--bbbsc-cert-grid-size),auto,auto}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-sheet{transform:scale(var(--bbbsc-cert-editor-zoom,.56));transform-origin:top center;width:1120px;min-height:760px;margin:0 auto 24px;transition:transform .18s ease}
.bbbsc-template-editor__preview-canvas [data-bbbsc-preview-layer-stage]{pointer-events:auto}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-layer{pointer-events:auto;cursor:grab;border:1px solid transparent;border-radius:10px;transition:box-shadow .14s ease,border-color .14s ease,background .14s ease}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-layer:hover{border-color:rgba(14,165,233,.55);background:rgba(240,249,255,.18);box-shadow:0 0 0 3px rgba(14,165,233,.12)}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-layer.is-selected{border-color:#0ea5e9;background:rgba(240,249,255,.24);box-shadow:0 0 0 4px rgba(14,165,233,.18),0 16px 35px rgba(15,23,42,.12);z-index:999!important}
.bbbsc-template-editor__preview-canvas .bbbsc-certificate-layer.is-dragging{cursor:grabbing;box-shadow:0 0 0 5px rgba(34,197,94,.2),0 22px 50px rgba(15,23,42,.16)}
.bbbsc-certificate-layer__handle{display:none;position:absolute;width:13px;height:13px;border:2px solid #fff;background:#0ea5e9;border-radius:999px;box-shadow:0 4px 12px rgba(15,23,42,.25);z-index:4}
.bbbsc-certificate-layer.is-selected .bbbsc-certificate-layer__handle{display:block}
.bbbsc-certificate-layer__handle--nw{top:-8px;left:-8px;cursor:nwse-resize}.bbbsc-certificate-layer__handle--ne{top:-8px;right:-8px;cursor:nesw-resize}.bbbsc-certificate-layer__handle--sw{bottom:-8px;left:-8px;cursor:nesw-resize}.bbbsc-certificate-layer__handle--se{bottom:-8px;right:-8px;cursor:nwse-resize}
.bbbsc-template-layer-row.is-selected{border-color:#38bdf8;background:linear-gradient(180deg,#f0f9ff,#fff);box-shadow:0 12px 32px rgba(14,165,233,.14)}
.bbbsc-template-layer-row__tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:flex-start}
.bbbsc-template-layer-row__tools .button{min-height:28px;line-height:26px;padding:0 8px;font-size:11px}
.bbbsc-template-preview-window__sheet .bbbsc-certificate-layer__handle{display:none!important}
@media print{.bbbsc-certificate-layer__handle{display:none!important}.bbbsc-certificate-layer{border-color:transparent!important;box-shadow:none!important;background:transparent!important}}
@media(max-width:760px){.bbbsc-certificate-live-toolbar{grid-template-columns:1fr}.bbbsc-certificate-live-toolbar label{justify-content:space-between}.bbbsc-certificate-live-toolbar__buttons{display:grid;grid-template-columns:1fr 1fr}.bbbsc-certificate-live-toolbar__buttons .button{width:100%}}

/* BBBSC Certificate Fabric Phase 1 */
.bbbsc-fabric-editor{border:1px solid rgba(15,118,110,.14);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,253,250,.72));box-shadow:0 24px 70px rgba(15,23,42,.1);padding:16px;overflow:hidden}.bbbsc-fabric-editor__form{display:block!important}.bbbsc-fabric-editor__topbar{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(130px,.6fr) minmax(110px,.45fr) minmax(110px,.45fr) auto;gap:12px;align-items:end;margin-bottom:14px}.bbbsc-fabric-editor__topbar label,.bbbsc-fabric-editor__inspector label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#0f172a}.bbbsc-fabric-editor__topbar input,.bbbsc-fabric-editor__topbar select,.bbbsc-fabric-editor__inspector input{border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:9px 11px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.bbbsc-fabric-editor__save{display:flex;gap:8px;justify-content:flex-end;align-items:center}.bbbsc-fabric-editor__body{display:grid;grid-template-columns:238px minmax(0,1fr) 270px;gap:14px;align-items:start}.bbbsc-fabric-editor__tools,.bbbsc-fabric-editor__inspector{background:rgba(255,255,255,.84);border:1px solid rgba(226,232,240,.85);border-radius:22px;padding:14px;box-shadow:0 14px 38px rgba(15,23,42,.08);max-height:760px;overflow:auto}.bbbsc-fabric-editor h5{margin:0 0 10px;color:#0f172a;font-size:14px}.bbbsc-fabric-tool-grid,.bbbsc-fabric-token-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.bbbsc-fabric-token-grid{grid-template-columns:1fr}.bbbsc-fabric-tool-grid .button,.bbbsc-fabric-token-grid .button{justify-content:center;border-radius:13px!important;min-height:36px;white-space:normal;line-height:1.5}.bbbsc-fabric-editor__stage{min-width:0}.bbbsc-fabric-editor__stage-head{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px;padding:10px 12px;border-radius:18px;background:rgba(15,23,42,.88);color:#fff}.bbbsc-fabric-editor__stage-head span{font-size:12px;color:#cbd5e1}.bbbsc-fabric-editor__stage-head label{display:flex;align-items:center;gap:7px;font-size:12px;color:#e2e8f0}.bbbsc-fabric-canvas-wrap{overflow:auto;min-height:610px;padding:20px;border-radius:24px;background:radial-gradient(circle at top,#ecfeff,#f8fafc 50%,#e2e8f0);border:1px solid rgba(148,163,184,.26);box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)}.bbbsc-fabric-canvas-wrap canvas{display:block;background:#fff;margin:0 auto;border-radius:18px;box-shadow:0 24px 90px rgba(15,23,42,.22);transition:width .18s ease,height .18s ease}.bbbsc-fabric-inspector-form{display:grid;gap:10px}.bbbsc-fabric-inspector-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bbbsc-fabric-empty-inspector{padding:18px;border-radius:18px;background:#f8fafc;color:#64748b;text-align:center;border:1px dashed #cbd5e1;margin-bottom:12px}.bbbsc-fabric-layer-list{display:grid;gap:8px;margin-top:8px;max-height:220px;overflow:auto}.bbbsc-fabric-layer-item{width:100%;border:1px solid rgba(148,163,184,.35);background:#fff;border-radius:13px;padding:9px 10px;text-align:right;cursor:pointer;color:#334155;font-weight:700}.bbbsc-fabric-layer-item.is-selected{background:#ecfeff;border-color:#0f766e;color:#0f766e;box-shadow:0 10px 24px rgba(15,118,110,.14)}.bbbsc-fabric-editor__notice{margin-top:14px;border:1px solid rgba(14,165,233,.22);background:linear-gradient(135deg,#eff6ff,#ecfeff);color:#075985;padding:12px 14px;border-radius:18px;font-weight:700}.bbbsc-fabric-cert-sheet{position:relative;direction:rtl;overflow:hidden;margin:0 auto;background:#fff;border-radius:18px;box-shadow:0 18px 60px rgba(15,23,42,.14);font-family:Tahoma,Vazirmatn,sans-serif;transform-origin:top center;max-width:100%}.bbbsc-fabric-cert-safe{position:absolute;inset:36px;border:1px dashed rgba(15,118,110,.16);border-radius:18px;pointer-events:none;z-index:0}.bbbsc-fabric-cert-object{position:absolute;box-sizing:border-box;transform-origin:center center;display:flex;align-items:center;justify-content:center;line-height:1.55;white-space:pre-wrap;word-break:break-word}.bbbsc-fabric-cert-object--text{padding:2px 8px;direction:rtl;unicode-bidi:plaintext}.bbbsc-fabric-cert-object--image img,.bbbsc-fabric-cert-object--qr img,.bbbsc-fabric-cert-object--text img{max-width:100%;max-height:100%;object-fit:contain;display:block;margin:auto}.bbbsc-fabric-cert-object--qr .bbbsc-certificate-verify-link{display:none}@media(max-width:1100px){.bbbsc-fabric-editor__body{grid-template-columns:1fr}.bbbsc-fabric-editor__topbar{grid-template-columns:1fr 1fr}.bbbsc-fabric-editor__tools,.bbbsc-fabric-editor__inspector{max-height:none}.bbbsc-fabric-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.bbbsc-fabric-editor__topbar{grid-template-columns:1fr}.bbbsc-fabric-tool-grid{grid-template-columns:1fr 1fr}.bbbsc-fabric-canvas-wrap{padding:10px;min-height:420px}}

/* BBBSC Certificate Fabric Phase 2 */
.bbbsc-fabric-editor__samples{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;padding:10px 12px;border:1px solid rgba(37,99,235,.16);border-radius:18px;background:linear-gradient(135deg,#eff6ff,#f8fafc)}
.bbbsc-fabric-editor__samples strong{font-size:12px;color:#0f172a;margin-left:4px}.bbbsc-fabric-editor__samples span{font-size:11px;color:#64748b;line-height:1.8}.bbbsc-fabric-editor__samples .button{border-radius:12px!important;min-height:34px!important;font-size:12px!important}
.bbbsc-fabric-upload-button{display:flex!important;align-items:center;justify-content:center;cursor:pointer;margin:0!important;min-height:36px!important;border-radius:13px!important;line-height:1.5!important;white-space:normal!important}
.bbbsc-fabric-layer-item{display:flex;justify-content:space-between;gap:8px;align-items:center}.bbbsc-fabric-layer-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bbbsc-fabric-layer-item small{color:#94a3b8;font-size:10px}.bbbsc-fabric-layer-item.is-hidden{opacity:.55;background:#f8fafc;border-style:dashed}.bbbsc-fabric-layer-item.is-locked{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fff)}
.bbbsc-fabric-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:9px 10px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.bbbsc-fabric-check input{width:auto!important;margin:0!important}
.bbbsc-fabric-editor__inspector select{border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:9px 11px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
@media(max-width:720px){.bbbsc-fabric-editor__samples{display:grid;grid-template-columns:1fr 1fr}.bbbsc-fabric-editor__samples strong,.bbbsc-fabric-editor__samples span{grid-column:1/-1}}

/* BBB Certificate editor phase 3 */
.bbbsc-fabric-editor__samples .button{box-shadow:0 7px 18px rgba(37,99,235,.08)}
.bbbsc-fabric-editor__samples .button:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(37,99,235,.14)}
.bbbsc-fabric-cert-sheet{page-break-inside:avoid;isolation:isolate}
.bbbsc-fabric-cert-object--image{overflow:hidden}
.bbbsc-fabric-cert-object--image img{width:100%;height:100%}
@page{size:A4 landscape;margin:0}
@media print{.bbbsc-fabric-cert-sheet{width:297mm!important;height:210mm!important;border-radius:0!important;box-shadow:none!important}.bbbsc-fabric-cert-safe{display:none!important}.bbbsc-fabric-cert-object{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.bbbsc-fabric-preview-data{display:grid;grid-template-columns:minmax(180px,1.2fr) repeat(4,minmax(110px,1fr));gap:10px;align-items:end;margin:0 0 14px;padding:12px;border:1px solid rgba(15,118,110,.16);border-radius:20px;background:linear-gradient(135deg,rgba(240,253,250,.9),rgba(255,255,255,.94));box-shadow:0 14px 34px rgba(15,118,110,.07)}
.bbbsc-fabric-preview-data>div{display:flex;flex-direction:column;gap:4px}.bbbsc-fabric-preview-data strong{font-size:13px;color:#0f172a}.bbbsc-fabric-preview-data span{font-size:11px;color:#64748b;line-height:1.7}.bbbsc-fabric-preview-data label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#334155}.bbbsc-fabric-preview-data input[type=text]{border:1px solid rgba(148,163,184,.35);border-radius:12px;padding:8px 10px;background:#fff}.bbbsc-fabric-preview-data .bbbsc-fabric-preview-toggle{justify-content:center;min-height:38px;padding:8px 10px;border:1px dashed rgba(15,118,110,.28);border-radius:14px;background:#ecfdf5;color:#065f46}.bbbsc-fabric-layer-item.is-hidden{opacity:.55}.bbbsc-fabric-layer-item.is-locked span:before{content:'قفل ';font-size:10px;color:#64748b}
@media(max-width:1100px){.bbbsc-fabric-preview-data{grid-template-columns:1fr 1fr}.bbbsc-fabric-preview-data>div{grid-column:1/-1}}@media(max-width:720px){.bbbsc-fabric-preview-data{grid-template-columns:1fr}}


.bbbsc-certificate-qr-local{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:100%;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:6px;box-sizing:border-box;color:#0f172a;text-decoration:none}
.bbbsc-certificate-qr-local__image{display:block;width:min(86%,126px);max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.bbbsc-certificate-qr-local__fallback{display:flex;align-items:center;justify-content:center;width:min(86%,126px);aspect-ratio:1;border:1px dashed rgba(15,23,42,.22);border-radius:10px;font-size:11px;font-weight:800;color:#0f172a;background:#f8fafc}
.bbbsc-certificate-qr-local__matrix{display:grid;grid-template-columns:repeat(21,1fr);grid-template-rows:repeat(21,1fr);width:min(82%,120px);aspect-ratio:1;background:#fff;gap:0}
.bbbsc-certificate-qr-local__matrix i{display:block;background:#0f172a}
.bbbsc-certificate-qr-local .bbbsc-certificate-verify-link{font-size:8px;line-height:1.4;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155}
.bbbsc-fabric-editor__stage-head input[type=number]{width:64px;min-height:28px;border:0;border-radius:10px;padding:4px 6px;background:#fff;color:#0f172a}
.bbbsc-fabric-canvas-wrap{position:relative}.bbbsc-fabric-canvas-wrap:before{content:'حاشیه امن چاپ و خطوط مرکز فقط راهنما هستند و در PDF نهایی چاپ نمی‌شوند.';display:block;margin:0 auto 10px;max-width:1123px;color:#64748b;font-size:11px;text-align:center}.bbbsc-fabric-editor__save{flex-wrap:wrap}.bbbsc-fabric-editor__save .button{min-height:36px}

/* BBB certificate editor final UX polish v1.95.58 */
.bbbsc-fabric-editor--pro{background:linear-gradient(145deg,#f8fbff,#eef6ff 54%,#ecfeff);border:1px solid rgba(37,99,235,.14);border-radius:32px;padding:18px;box-shadow:0 28px 80px rgba(15,23,42,.12)}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar{grid-template-columns:minmax(190px,.9fr) minmax(220px,1.2fr) minmax(120px,.55fr) 92px 92px minmax(220px,1fr);align-items:end;background:rgba(255,255,255,.88);border:1px solid rgba(226,232,240,.9);border-radius:24px;padding:12px;box-shadow:0 16px 42px rgba(15,23,42,.07)}
.bbbsc-fabric-editor__brand{display:flex;align-items:center;gap:10px;color:#0f172a}.bbbsc-fabric-editor__brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#0f766e);color:#fff;font-weight:900;box-shadow:0 12px 28px rgba(37,99,235,.28)}.bbbsc-fabric-editor__brand strong{display:block;font-size:15px}.bbbsc-fabric-editor__brand small{display:block;color:#64748b;font-weight:700;font-size:11px;margin-top:2px}.bbbsc-fabric-autosave{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#ecfeff;color:#0f766e;font-size:11px;font-weight:900;padding:7px 10px;border:1px solid rgba(15,118,110,.16)}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__body{grid-template-columns:260px minmax(0,1fr) 310px;gap:16px}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__tools,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__inspector{background:rgba(255,255,255,.94);border:1px solid rgba(226,232,240,.95);border-radius:26px;box-shadow:0 18px 50px rgba(15,23,42,.09);padding:16px}.bbbsc-fabric-panel-title{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.bbbsc-fabric-panel-title strong{font-size:15px;color:#0f172a}.bbbsc-fabric-panel-title span{font-size:11px;color:#64748b;line-height:1.8;font-weight:700}.bbbsc-fabric-panel-title--layers{margin-top:16px}
.bbbsc-fabric-tool-section{border:1px solid rgba(226,232,240,.85);background:linear-gradient(180deg,#fff,#f8fafc);border-radius:20px;padding:10px;margin-bottom:12px}.bbbsc-fabric-tool-section h5{margin:0 0 8px;color:#334155;font-size:12px}.bbbsc-fabric-tool-section--advanced{background:#fbfdff}.bbbsc-fabric-tool-btn{display:flex!important;align-items:center;justify-content:flex-start!important;gap:8px;min-height:42px!important;width:100%;border-radius:16px!important;background:#fff!important;border:1px solid rgba(148,163,184,.28)!important;color:#0f172a!important;font-weight:900!important;line-height:1.45!important;padding:8px 10px!important;cursor:pointer;box-shadow:0 8px 18px rgba(15,23,42,.04);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.bbbsc-fabric-tool-btn:hover{transform:translateY(-1px);border-color:rgba(37,99,235,.34)!important;box-shadow:0 14px 28px rgba(37,99,235,.12)}.bbbsc-fabric-tool-btn__icon{display:grid;place-items:center;min-width:28px;width:28px;height:28px;border-radius:11px;background:linear-gradient(135deg,#eff6ff,#ecfeff);color:#2563eb;font-size:12px;font-weight:900}.bbbsc-fabric-tool-btn--token{min-height:38px!important}.bbbsc-fabric-upload-button input{display:none!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:0}.bbbsc-fabric-editor--pro .bbbsc-fabric-token-grid{display:grid;grid-template-columns:1fr;gap:7px;margin-bottom:0;max-height:260px;overflow:auto;padding-inline-end:2px}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__stage-head{justify-content:center;background:rgba(15,23,42,.92);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:10px;margin-bottom:12px}.bbbsc-fabric-zoom-control{display:flex;align-items:center;gap:10px;color:#fff}.bbbsc-fabric-zoom-control label{display:flex;align-items:center;gap:8px;margin:0;color:#fff;font-weight:900}.bbbsc-fabric-zoom-control input[type=range]{width:220px;accent-color:#22d3ee}.bbbsc-fabric-zoom-control span{min-width:44px;text-align:center;background:rgba(255,255,255,.11);border-radius:999px;padding:5px 8px;font-weight:900}.bbbsc-fabric-zoom-btn{width:34px;height:34px;border:0;border-radius:13px;background:#fff;color:#0f172a;font-size:18px;font-weight:900;cursor:pointer}.bbbsc-fabric-canvas-wrap:before{display:none!important;content:none!important}.bbbsc-fabric-editor--pro .bbbsc-fabric-canvas-wrap{background:radial-gradient(circle at top,#ffffff 0,#eef6ff 42%,#dbeafe 100%);border-radius:28px;padding:22px;min-height:640px}.bbbsc-fabric-editor--pro .bbbsc-fabric-canvas-wrap canvas{border-radius:0;box-shadow:0 28px 110px rgba(15,23,42,.24);background:#fff}.bbbsc-fabric-inspector-section{border:1px solid rgba(226,232,240,.9);border-radius:20px;background:#fff;padding:11px;margin-bottom:10px}.bbbsc-fabric-inspector-section h5{margin:0 0 10px;font-size:12px;color:#2563eb}.bbbsc-fabric-inspector-form label small{display:block;color:#64748b;font-size:10px;line-height:1.8;margin-top:3px}.bbbsc-fabric-toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bbbsc-fabric-layer-item{display:flex;align-items:center;justify-content:space-between;gap:8px}.bbbsc-fabric-layer-item.is-hidden{opacity:.55}.bbbsc-fabric-layer-item.is-locked{border-style:dashed}.bbbsc-fabric-sample-gallery{margin:0 0 16px;padding:14px;border-radius:26px;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);box-shadow:0 18px 48px rgba(15,23,42,.08)}.bbbsc-fabric-sample-gallery__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bbbsc-fabric-sample-gallery__head strong{font-size:16px;color:#0f172a}.bbbsc-fabric-sample-gallery__head span{color:#64748b;font-size:12px;font-weight:800}.bbbsc-certificate-template-grid--samples .bbbsc-template-card{min-height:100%}.bbbsc-template-card--sample .bbbsc-template-card__preview{min-height:150px}.bbbsc-template-card--sample .bbbsc-template-card__canvas{transform:scale(.155);transform-origin:top center;height:130px}.bbbsc-fabric-editor__notice{display:none!important}.bbbsc-fabric-preview-data{border-radius:22px;background:rgba(255,255,255,.9);border:1px solid rgba(226,232,240,.9);box-shadow:0 12px 34px rgba(15,23,42,.06)}
.bbbsc-fabric-cert-object--background{z-index:-1000!important}.bbbsc-fabric-cert-object--background img{width:100%!important;height:100%!important;object-fit:cover!important}
@page{size:A4 landscape;margin:0}
@media print{html,body{margin:0!important;padding:0!important;width:297mm!important;height:210mm!important;background:#fff!important;overflow:hidden!important}.bbbsc-certificate-view{width:297mm!important;height:210mm!important;margin:0!important;padding:0!important;overflow:hidden!important}.bbbsc-fabric-cert-sheet{width:297mm!important;height:210mm!important;margin:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important}.bbbsc-fabric-cert-safe{display:none!important}}
@media(max-width:1200px){.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__body{grid-template-columns:1fr}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar{grid-template-columns:1fr 1fr}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__tools,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__inspector{max-height:none}.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.bbbsc-fabric-editor--pro{padding:10px;border-radius:20px}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar{grid-template-columns:1fr}.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid{grid-template-columns:1fr 1fr}.bbbsc-fabric-zoom-control{flex-wrap:wrap}.bbbsc-fabric-zoom-control input[type=range]{width:150px}.bbbsc-fabric-sample-gallery__head{align-items:flex-start;flex-direction:column}}


.bbbsc-fabric-sample-gallery__hero{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:16px;align-items:center;margin-bottom:14px;padding:14px;border-radius:24px;background:linear-gradient(135deg,#f8fbff 0%,#edf6ff 100%);border:1px solid rgba(191,219,254,.8)}
.bbbsc-fabric-sample-gallery__hero-copy{display:grid;gap:8px}
.bbbsc-fabric-sample-gallery__hero-copy strong{font-size:18px;color:#0f172a}
.bbbsc-fabric-sample-gallery__hero-copy span{font-size:12px;font-weight:800;color:#2563eb}
.bbbsc-fabric-sample-gallery__hero-copy h4{margin:0;font-size:20px;color:#0f172a}
.bbbsc-fabric-sample-gallery__hero-copy p{margin:0;color:#475569;line-height:1.9;font-size:13px}
.bbbsc-fabric-sample-gallery__hero-preview{min-width:0}
.bbbsc-fabric-sample-gallery__hero-canvas{height:250px;overflow:hidden;border-radius:22px;border:1px solid #dbe4f0;background:#fff;padding:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 12px 30px rgba(15,23,42,.06)}
.bbbsc-fabric-sample-gallery__hero-canvas .bbbsc-certificate-sheet,.bbbsc-fabric-sample-gallery__hero-canvas .bbbsc-fabric-cert-sheet{transform:scale(.31);transform-origin:top center;width:1120px;min-height:760px;margin:0 auto}
.bbbsc-template-card--sample .bbbsc-template-card__meta,.bbbsc-template-card--sample [data-bbbsc-template-preview-action]{display:none!important}
.bbbsc-template-card--sample .bbbsc-template-card__actions{grid-template-columns:1fr}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar{grid-template-columns:minmax(180px,1.2fr) repeat(5,minmax(108px,.78fr)) auto;gap:10px;padding:12px 14px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar label{margin:0;font-size:11px;font-weight:800;color:#475569;display:grid;gap:5px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar input,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar select{margin-top:0;min-height:38px;padding:8px 10px;border-radius:12px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__save{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__save .button{margin:0;min-height:38px;padding:0 12px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-autosave{font-size:11px;padding:6px 10px}
.bbbsc-fabric-preview-data{grid-template-columns:1.15fr repeat(8,minmax(0,1fr));gap:8px;padding:10px 12px}
.bbbsc-fabric-preview-data>div{min-width:0}
.bbbsc-fabric-preview-data label{margin:0;font-size:11px}
.bbbsc-fabric-preview-data input{margin-top:4px;min-height:36px;padding:7px 9px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__body{grid-template-columns:252px minmax(0,1fr) 276px;gap:12px;align-items:start}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__tools,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__inspector{padding:12px 12px 10px;max-height:none;overflow:visible}
.bbbsc-fabric-editor--pro .bbbsc-fabric-panel-title{margin-bottom:10px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-panel-title strong{font-size:15px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-panel-title span{font-size:11px;line-height:1.8}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-section{padding:10px 10px 9px;border-radius:18px;margin-bottom:8px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-section h5{margin-bottom:8px;font-size:11px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-token-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:none;overflow:visible}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-btn{min-height:48px;padding:7px 6px;font-size:10.5px;border-radius:14px;gap:4px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-btn__icon{font-size:15px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__stage-head{padding:8px 12px;margin-bottom:10px;border-radius:18px}
.bbbsc-fabric-zoom-control{gap:8px}
.bbbsc-fabric-zoom-control input[type=range]{width:170px}
.bbbsc-fabric-zoom-btn{width:30px;height:30px;border-radius:11px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-canvas-wrap{padding:16px;min-height:0}
.bbbsc-fabric-editor--pro .bbbsc-fabric-canvas-wrap canvas{background:linear-gradient(45deg,#f8fafc 25%,transparent 25%,transparent 75%,#f8fafc 75%,#f8fafc),linear-gradient(45deg,#f8fafc 25%,transparent 25%,transparent 75%,#f8fafc 75%,#f8fafc),#fff;background-position:0 0,10px 10px;background-size:20px 20px;box-shadow:0 18px 70px rgba(15,23,42,.18)}
.bbbsc-fabric-editor--pro .bbbsc-fabric-empty-inspector,.bbbsc-fabric-editor--pro .bbbsc-fabric-inspector-form{font-size:12px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-inspector-section{padding:10px 10px 8px;margin-bottom:8px;border-radius:18px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-inspector-section label{margin-bottom:8px;font-size:11px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-inspector-section input,.bbbsc-fabric-editor--pro .bbbsc-fabric-inspector-section select{margin-top:4px;min-height:36px;padding:7px 9px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-inspector-grid{gap:8px}
.bbbsc-fabric-editor--pro .bbbsc-fabric-layer-list{display:grid;gap:6px;max-height:none;overflow:visible}
.bbbsc-fabric-editor--pro .bbbsc-fabric-layer-item{padding:8px 10px;border-radius:14px}
.bbbsc-fabric-editor--pro.is-bg-transparent .bbbsc-fabric-canvas-wrap,.bbbsc-fabric-editor--pro.is-bg-none .bbbsc-fabric-canvas-wrap{background:linear-gradient(180deg,#f8fafc 0%,#eef2ff 100%)}
@media(max-width:1280px){.bbbsc-fabric-preview-data{grid-template-columns:repeat(4,minmax(0,1fr))}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__body{grid-template-columns:1fr}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.bbbsc-fabric-sample-gallery__hero{grid-template-columns:1fr}}
@media(max-width:760px){.bbbsc-fabric-sample-gallery__hero-canvas{height:190px}.bbbsc-fabric-sample-gallery__hero-canvas .bbbsc-certificate-sheet,.bbbsc-fabric-sample-gallery__hero-canvas .bbbsc-fabric-cert-sheet{transform:scale(.21)}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__topbar{grid-template-columns:1fr}.bbbsc-fabric-preview-data{grid-template-columns:1fr 1fr}.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid,.bbbsc-fabric-editor--pro .bbbsc-fabric-token-grid{grid-template-columns:1fr 1fr}}






/* v1.95.59 certificate editor corrections */
.bbbsc-fabric-sample-gallery__hero{display:none!important}
.bbbsc-fabric-sample-gallery{margin:0 0 12px!important;padding:12px!important}
.bbbsc-certificate-template-grid--samples{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:12px!important;margin-top:10px!important}
.bbbsc-template-card--sample .bbbsc-template-card__preview{display:block!important;min-height:168px!important;padding:0!important}
.bbbsc-template-card--sample .bbbsc-template-card__preview{min-height:auto!important}.bbbsc-template-card--sample .bbbsc-template-card__canvas{height:208px!important;transform:none!important;padding:10px!important;overflow:hidden!important;border-radius:18px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important}.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{transform:scale(.175)!important;transform-origin:top center!important;width:1123px!important;height:794px!important;margin:0 auto!important;display:block!important}

.bbbsc-template-card--sample .bbbsc-template-card__body{padding:10px 12px!important}
.bbbsc-template-card--sample .bbbsc-template-card__body h5{margin:0 0 5px!important;font-size:13px!important}
.bbbsc-template-card--sample .bbbsc-template-card__body p{margin:0 0 8px!important;font-size:11px!important;line-height:1.7!important}
.bbbsc-template-card--sample .bbbsc-template-card__actions{display:grid!important;grid-template-columns:1fr!important}
.bbbsc-template-card--sample .bbbsc-template-card__meta,.bbbsc-template-card--sample [data-bbbsc-template-preview-action]{display:none!important}
.bbbsc-fabric-editor--pro{padding:12px!important;border-radius:22px!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__body{grid-template-columns:176px minmax(520px,1fr) 246px!important;gap:10px!important;align-items:start!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__tools{padding:10px!important;border-radius:18px!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid,.bbbsc-fabric-editor--pro .bbbsc-fabric-token-grid{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;max-height:none!important;overflow:visible!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-section{padding:8px!important;margin-bottom:7px!important;border-radius:14px!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-section h5{font-size:11px!important;margin-bottom:6px!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-btn{min-height:34px!important;width:100%!important;padding:5px 7px!important;font-size:10.5px!important;line-height:1.35!important;gap:6px!important;overflow:hidden!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-btn__icon{min-width:22px!important;width:22px!important;height:22px!important;font-size:11px!important;border-radius:8px!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__stage{position:sticky!important;top:32px!important;z-index:4!important;align-self:start!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__tools,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__inspector{position:sticky!important;top:32px!important;align-self:start!important;max-height:calc(100vh - 56px)!important;overflow:auto!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-canvas-wrap{min-height:0!important;padding:12px!important;border-radius:20px!important}
.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__stage-head{padding:7px 10px!important;margin-bottom:8px!important}
.bbbsc-fabric-zoom-control input[type=range]{width:130px!important}
.bbbsc-fabric-preview-data>div span{display:none!important}
@media(max-width:1280px){.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__body{grid-template-columns:1fr!important}.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__stage,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__tools,.bbbsc-fabric-editor--pro .bbbsc-fabric-editor__inspector{position:static!important;max-height:none!important;overflow:visible!important}.bbbsc-fabric-editor--pro .bbbsc-fabric-tool-grid,.bbbsc-fabric-editor--pro .bbbsc-fabric-token-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* v1.95.63 certificate font/path + complete sample-card preview fix */
.bbbsc-template-card__canvas{position:relative!important;height:232px!important;overflow:hidden!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:10px!important;background:#fff!important}
.bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.265)!important;transform-origin:top center!important;width:1123px!important;height:794px!important;min-height:794px!important;margin:0 auto!important;display:block!important;flex:0 0 auto!important}
.bbbsc-certificate-template-grid--samples .bbbsc-template-card__preview,.bbbsc-template-card--sample .bbbsc-template-card__preview{min-height:auto!important}
.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas,.bbbsc-template-card--sample .bbbsc-template-card__canvas{height:232px!important;padding:10px!important}
.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.265)!important;transform-origin:top center!important;width:1123px!important;height:794px!important;min-height:794px!important;margin:0 auto!important;display:block!important}
@media (max-width:1100px){.bbbsc-template-card__canvas{height:206px!important}.bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.235)!important}.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas,.bbbsc-template-card--sample .bbbsc-template-card__canvas{height:206px!important}.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.235)!important}}
@media (max-width:760px){.bbbsc-template-card__canvas{height:164px!important}.bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.185)!important}.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas,.bbbsc-template-card--sample .bbbsc-template-card__canvas{height:164px!important}.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-certificate-template-grid--samples .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet,.bbbsc-template-card--sample .bbbsc-template-card__canvas .bbbsc-certificate-sheet{transform:scale(.185)!important}}

/* BBB SaaS Core v1.95.70 - advanced Elementor header/footer skin controls */
.bbbsc-header-menu{
  --bbbsc-header-bg:linear-gradient(135deg,#0f172a 0%,#1d4ed8 56%,#0ea5e9 100%);
  --bbbsc-header-text-color:#fff;
  --bbbsc-header-muted-color:rgba(255,255,255,.76);
  --bbbsc-header-border-color:rgba(255,255,255,.14);
  --bbbsc-header-shadow:0 30px 70px rgba(15,23,42,.22);
  --bbbsc-header-backdrop-filter:blur(18px);
  --bbbsc-header-max-width:100%;
  --bbbsc-header-min-height:74px;
  --bbbsc-header-padding-x:22px;
  --bbbsc-header-padding-y:18px;
  --bbbsc-header-radius:30px;
  --bbbsc-header-item-bg:rgba(255,255,255,.08);
  --bbbsc-header-item-hover-bg:rgba(255,255,255,.14);
  --bbbsc-header-active-bg:#fff;
  --bbbsc-header-active-text:#0f172a;
  --bbbsc-header-cta-bg:#fff;
  --bbbsc-header-cta-text:#0f172a;
  --bbbsc-header-cta-hover-bg:#eff6ff;
  --bbbsc-header-cta-radius:18px;
}
.bbbsc-header-menu__shell{
  max-width:var(--bbbsc-header-max-width)!important;
  min-height:var(--bbbsc-header-min-height)!important;
  margin-inline:auto!important;
  padding:var(--bbbsc-header-padding-y) var(--bbbsc-header-padding-x)!important;
  border-radius:var(--bbbsc-header-radius)!important;
  background:var(--bbbsc-header-bg)!important;
  border-color:var(--bbbsc-header-border-color)!important;
  box-shadow:var(--bbbsc-header-shadow)!important;
  backdrop-filter:var(--bbbsc-header-backdrop-filter)!important;
  -webkit-backdrop-filter:var(--bbbsc-header-backdrop-filter)!important;
}
.bbbsc-header-menu.is-bg-none .bbbsc-header-menu__shell,
.bbbsc-header-menu.is-template-outline .bbbsc-header-menu__shell{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.bbbsc-header-menu.is-template-outline .bbbsc-header-menu__shell{border-color:var(--bbbsc-header-border-color)!important}
.bbbsc-header-menu.is-template-clean .bbbsc-header-menu__shell,
.bbbsc-header-menu.is-template-light .bbbsc-header-menu__shell{--bbbsc-header-text-color:#0f172a;--bbbsc-header-muted-color:#64748b;--bbbsc-header-item-bg:rgba(15,23,42,.045);--bbbsc-header-item-hover-bg:rgba(29,78,216,.09);--bbbsc-header-active-bg:#1d4ed8;--bbbsc-header-active-text:#fff;--bbbsc-header-cta-bg:#1d4ed8;--bbbsc-header-cta-text:#fff;--bbbsc-header-cta-hover-bg:#0f172a;background:var(--bbbsc-header-bg,#fff)!important;border-color:rgba(15,23,42,.08)!important}
.bbbsc-header-menu.is-template-clean .bbbsc-header-menu__shell{box-shadow:0 16px 45px rgba(15,23,42,.08)!important}
.bbbsc-header-menu.is-template-dark .bbbsc-header-menu__shell{--bbbsc-header-bg:#020617;--bbbsc-header-text-color:#f8fafc;--bbbsc-header-muted-color:#cbd5e1;--bbbsc-header-border-color:rgba(148,163,184,.22)}
.bbbsc-header-menu.is-template-glass .bbbsc-header-menu__shell{background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.08))!important;border-color:rgba(255,255,255,.24)!important;box-shadow:0 24px 60px rgba(15,23,42,.16)!important}
.bbbsc-header-menu__title,
.bbbsc-header-menu__toggle,
.bbbsc-header-menu__link,
.bbbsc-header-menu__link:hover{color:var(--bbbsc-header-text-color)!important}
.bbbsc-header-menu__subtitle{color:var(--bbbsc-header-muted-color)!important}
.bbbsc-header-menu__eyebrow,.bbbsc-header-menu__badge{color:var(--bbbsc-header-muted-color)!important;border-color:var(--bbbsc-header-border-color)!important}
.bbbsc-header-menu__link{background:var(--bbbsc-header-item-bg)!important;border-color:var(--bbbsc-header-border-color)!important}
.bbbsc-header-menu__link:hover{background:var(--bbbsc-header-item-hover-bg)!important}
.bbbsc-header-menu__link.is-active{background:var(--bbbsc-header-active-bg)!important;color:var(--bbbsc-header-active-text)!important;border-color:var(--bbbsc-header-active-bg)!important}
.bbbsc-header-menu__cta{position:relative;overflow:hidden;background:var(--bbbsc-header-cta-bg)!important;color:var(--bbbsc-header-cta-text)!important;border-color:var(--bbbsc-header-cta-bg)!important;border-radius:var(--bbbsc-header-cta-radius)!important}
.bbbsc-header-menu__cta:hover{background:var(--bbbsc-header-cta-hover-bg)!important;color:var(--bbbsc-header-cta-text)!important}
.bbbsc-header-menu__cta-icon{color:var(--bbbsc-header-cta-icon-color,var(--bbbsc-header-cta-text))!important}
.bbbsc-header-menu.is-hover-none .bbbsc-header-menu__link:hover,
.bbbsc-header-menu.is-hover-none .bbbsc-header-menu__cta:hover,
.bbbsc-footer-nav.is-hover-none .bbbsc-footer-nav__link:hover,
.bbbsc-footer-nav.is-hover-none .bbbsc-footer-nav__mobile-link:hover{transform:none!important;box-shadow:inherit!important}
.bbbsc-header-menu.is-hover-glow .bbbsc-header-menu__link:hover,
.bbbsc-header-menu.is-hover-glow .bbbsc-header-menu__cta:hover{box-shadow:0 0 0 4px rgba(255,255,255,.14),0 22px 44px rgba(37,99,235,.22)!important}
.bbbsc-header-menu.is-hover-scale .bbbsc-header-menu__link:hover,
.bbbsc-header-menu.is-hover-scale .bbbsc-header-menu__cta:hover{transform:scale(1.035)!important}
.bbbsc-header-menu.has-entry-animation.is-entry-fade-up .bbbsc-header-menu__shell,
.bbbsc-footer-nav.has-entry-animation.is-entry-fade-up .bbbsc-footer-nav__shell{animation:bbbscWidgetFadeUp .58s cubic-bezier(.2,.75,.25,1) both}
.bbbsc-header-menu.has-entry-animation.is-entry-fade-down .bbbsc-header-menu__shell,
.bbbsc-footer-nav.has-entry-animation.is-entry-fade-down .bbbsc-footer-nav__shell{animation:bbbscWidgetFadeDown .58s cubic-bezier(.2,.75,.25,1) both}
.bbbsc-header-menu.has-entry-animation.is-entry-scale .bbbsc-header-menu__shell,
.bbbsc-footer-nav.has-entry-animation.is-entry-scale .bbbsc-footer-nav__shell{animation:bbbscWidgetScale .52s cubic-bezier(.2,.75,.25,1) both}
.bbbsc-header-menu.has-entry-animation.is-entry-slide-right .bbbsc-header-menu__shell,
.bbbsc-footer-nav.has-entry-animation.is-entry-slide-right .bbbsc-footer-nav__shell{animation:bbbscWidgetSlideRight .58s cubic-bezier(.2,.75,.25,1) both}
.bbbsc-header-menu.has-stagger-animation .bbbsc-header-menu__link,
.bbbsc-header-menu.has-stagger-animation .bbbsc-header-menu__cta,
.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__link,
.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__mobile-link{animation:bbbscWidgetButtonIn .45s cubic-bezier(.2,.75,.25,1) both}
.bbbsc-header-menu.has-stagger-animation .bbbsc-header-menu__link:nth-child(2),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__link:nth-child(2),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__mobile-link:nth-child(2){animation-delay:.04s}
.bbbsc-header-menu.has-stagger-animation .bbbsc-header-menu__link:nth-child(3),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__link:nth-child(3),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__mobile-link:nth-child(3){animation-delay:.08s}
.bbbsc-header-menu.has-stagger-animation .bbbsc-header-menu__link:nth-child(4),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__link:nth-child(4),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__mobile-link:nth-child(4){animation-delay:.12s}
.bbbsc-header-menu.has-stagger-animation .bbbsc-header-menu__link:nth-child(5),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__link:nth-child(5),.bbbsc-footer-nav.has-stagger-animation .bbbsc-footer-nav__mobile-link:nth-child(5){animation-delay:.16s}
.bbbsc-header-menu.is-cta-anim-shine .bbbsc-header-menu__cta::before{content:"";position:absolute;inset:-120% auto -120% -70%;width:48%;transform:rotate(18deg);background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));animation:bbbscCtaShine 3.6s ease-in-out infinite;pointer-events:none}
.bbbsc-header-menu.is-cta-anim-pulse .bbbsc-header-menu__cta{animation:bbbscCtaPulse 2.6s ease-in-out infinite}
.bbbsc-header-menu.is-cta-anim-float .bbbsc-header-menu__cta{animation:bbbscCtaFloat 3s ease-in-out infinite}

.bbbsc-footer-nav{
  --bbbsc-footer-bg:linear-gradient(135deg,#0f172a 0%,#1d4ed8 56%,#0ea5e9 100%);
  --bbbsc-footer-mobile-bg:rgba(15,23,42,.94);
  --bbbsc-footer-text-color:#fff;
  --bbbsc-footer-muted-color:rgba(255,255,255,.76);
  --bbbsc-footer-border-color:rgba(255,255,255,.14);
  --bbbsc-footer-shadow:0 30px 70px rgba(15,23,42,.22);
  --bbbsc-footer-backdrop-filter:blur(18px);
  --bbbsc-footer-max-width:100%;
  --bbbsc-footer-min-height:94px;
  --bbbsc-footer-padding-x:22px;
  --bbbsc-footer-padding-y:20px;
  --bbbsc-footer-radius:30px;
  --bbbsc-footer-item-bg:rgba(255,255,255,.08);
  --bbbsc-footer-item-hover-bg:rgba(255,255,255,.14);
  --bbbsc-footer-active-bg:#fff;
  --bbbsc-footer-active-text:#0f172a;
}
.bbbsc-footer-nav__shell{
  max-width:var(--bbbsc-footer-max-width)!important;
  min-height:var(--bbbsc-footer-min-height)!important;
  margin-inline:auto!important;
  padding:var(--bbbsc-footer-padding-y) var(--bbbsc-footer-padding-x)!important;
  border-radius:var(--bbbsc-footer-radius)!important;
  background:var(--bbbsc-footer-bg)!important;
  border-color:var(--bbbsc-footer-border-color)!important;
  box-shadow:var(--bbbsc-footer-shadow)!important;
  backdrop-filter:var(--bbbsc-footer-backdrop-filter)!important;
  -webkit-backdrop-filter:var(--bbbsc-footer-backdrop-filter)!important;
}
.bbbsc-footer-nav.is-bg-none .bbbsc-footer-nav__shell,
.bbbsc-footer-nav.is-template-outline .bbbsc-footer-nav__shell{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.bbbsc-footer-nav.is-template-outline .bbbsc-footer-nav__shell{border-color:var(--bbbsc-footer-border-color)!important}
.bbbsc-footer-nav.is-template-clean .bbbsc-footer-nav__shell,
.bbbsc-footer-nav.is-template-light .bbbsc-footer-nav__shell{--bbbsc-footer-text-color:#0f172a;--bbbsc-footer-muted-color:#64748b;--bbbsc-footer-item-bg:rgba(15,23,42,.045);--bbbsc-footer-item-hover-bg:rgba(29,78,216,.09);--bbbsc-footer-active-bg:#1d4ed8;--bbbsc-footer-active-text:#fff;background:var(--bbbsc-footer-bg,#fff)!important;border-color:rgba(15,23,42,.08)!important}
.bbbsc-footer-nav.is-template-dark .bbbsc-footer-nav__shell{--bbbsc-footer-bg:#020617;--bbbsc-footer-text-color:#f8fafc;--bbbsc-footer-muted-color:#cbd5e1;--bbbsc-footer-border-color:rgba(148,163,184,.22)}
.bbbsc-footer-nav.is-template-glass .bbbsc-footer-nav__shell{background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.08))!important;border-color:rgba(255,255,255,.24)!important;box-shadow:0 24px 60px rgba(15,23,42,.16)!important}
.bbbsc-footer-nav__title,.bbbsc-footer-nav__link,.bbbsc-footer-nav__link:hover{color:var(--bbbsc-footer-text-color)!important}
.bbbsc-footer-nav__subtitle,.bbbsc-footer-nav__link-caption{color:var(--bbbsc-footer-muted-color)!important}
.bbbsc-footer-nav__eyebrow,.bbbsc-footer-nav__badge{color:var(--bbbsc-footer-muted-color)!important;border-color:var(--bbbsc-footer-border-color)!important}
.bbbsc-footer-nav__link{background:var(--bbbsc-footer-item-bg)!important;border-color:var(--bbbsc-footer-border-color)!important}
.bbbsc-footer-nav__link:hover{background:var(--bbbsc-footer-item-hover-bg)!important}
.bbbsc-footer-nav__link.is-active{background:var(--bbbsc-footer-active-bg)!important;color:var(--bbbsc-footer-active-text)!important;border-color:var(--bbbsc-footer-active-bg)!important}
.bbbsc-footer-nav__mobile{background:var(--bbbsc-footer-mobile-bg)!important;border-color:var(--bbbsc-footer-border-color)!important;backdrop-filter:var(--bbbsc-footer-backdrop-filter)!important;-webkit-backdrop-filter:var(--bbbsc-footer-backdrop-filter)!important}
.bbbsc-footer-nav.is-mobile-bg-none .bbbsc-footer-nav__mobile{background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.bbbsc-footer-nav.is-hover-glow .bbbsc-footer-nav__link:hover,.bbbsc-footer-nav.is-hover-glow .bbbsc-footer-nav__mobile-link:hover .bbbsc-footer-nav__mobile-icon{box-shadow:0 0 0 4px rgba(255,255,255,.14),0 22px 44px rgba(37,99,235,.22)!important}
.bbbsc-footer-nav.is-hover-scale .bbbsc-footer-nav__link:hover,.bbbsc-footer-nav.is-hover-scale .bbbsc-footer-nav__mobile-link:hover{transform:scale(1.035)!important}
@keyframes bbbscWidgetFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes bbbscWidgetFadeDown{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:translateY(0)}}
@keyframes bbbscWidgetScale{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes bbbscWidgetSlideRight{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:translateX(0)}}
@keyframes bbbscWidgetButtonIn{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bbbscCtaShine{0%,54%{left:-80%;opacity:0}64%{opacity:1}100%{left:130%;opacity:0}}
@keyframes bbbscCtaPulse{0%,100%{box-shadow:0 20px 36px rgba(15,23,42,.16)}50%{box-shadow:0 20px 36px rgba(15,23,42,.16),0 0 0 8px rgba(37,99,235,.12)}}
@keyframes bbbscCtaFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.bbbsc-header-menu *,.bbbsc-footer-nav *{animation:none!important;transition:none!important}}
@media (max-width:782px){
  .bbbsc-header-menu__panel{background:var(--bbbsc-header-bg)!important;border-color:var(--bbbsc-header-border-color)!important;backdrop-filter:var(--bbbsc-header-backdrop-filter)!important;-webkit-backdrop-filter:var(--bbbsc-header-backdrop-filter)!important}
  .bbbsc-header-menu.is-bg-none .bbbsc-header-menu__panel{background:rgba(15,23,42,.96)!important;border-color:rgba(255,255,255,.12)!important}
}

/* v1.95.71 advanced button state styling for header/footer and plan compare */
.bbbsc-header-menu__link,
.bbbsc-footer-nav__link,
.bbbsc-footer-nav__mobile-link{
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease,opacity .18s ease!important;
}
.bbbsc-header-menu__link{
  padding:var(--bbbsc-header-button-padding-y,10px) var(--bbbsc-header-button-padding-x,14px)!important;
  border-width:var(--bbbsc-header-button-border-width,1px)!important;
  border-style:solid!important;
  border-radius:var(--bbbsc-header-button-radius,18px)!important;
  background:var(--bbbsc-header-button-bg,var(--bbbsc-header-item-bg))!important;
  color:var(--bbbsc-header-button-text,var(--bbbsc-header-text-color))!important;
  border-color:var(--bbbsc-header-button-border,var(--bbbsc-header-border-color))!important;
  box-shadow:var(--bbbsc-header-button-shadow,0 12px 26px rgba(15,23,42,.08))!important;
}
.bbbsc-header-menu__link:hover{
  background:var(--bbbsc-header-button-hover-bg,var(--bbbsc-header-item-hover-bg))!important;
  color:var(--bbbsc-header-button-hover-text,var(--bbbsc-header-button-text,var(--bbbsc-header-text-color)))!important;
  border-color:var(--bbbsc-header-button-hover-border,var(--bbbsc-header-border-color))!important;
}
.bbbsc-header-menu__link .bbbsc-header-menu__link-icon{color:var(--bbbsc-header-icon-color,var(--bbbsc-header-button-icon,var(--bbbsc-header-text-color)))!important}
.bbbsc-header-menu__link:hover .bbbsc-header-menu__link-icon{color:var(--bbbsc-header-button-hover-icon,var(--bbbsc-header-icon-color,var(--bbbsc-header-button-icon,var(--bbbsc-header-text-color))))!important}
.bbbsc-header-menu__link.is-active{
  background:var(--bbbsc-header-button-active-bg,var(--bbbsc-header-active-bg))!important;
  color:var(--bbbsc-header-button-active-text,var(--bbbsc-header-active-text))!important;
  border-color:var(--bbbsc-header-button-active-border,var(--bbbsc-header-button-active-bg,var(--bbbsc-header-active-bg)))!important;
}
.bbbsc-header-menu__link.is-active .bbbsc-header-menu__link-icon{color:var(--bbbsc-header-icon-active-color,var(--bbbsc-header-button-active-icon,var(--bbbsc-header-button-active-text,var(--bbbsc-header-active-text))))!important}
.bbbsc-header-menu__link.is-disabled,
.bbbsc-header-menu__link[aria-disabled=true]{
  cursor:not-allowed!important;pointer-events:none!important;
  opacity:var(--bbbsc-header-button-disabled-opacity,.62)!important;
  background:var(--bbbsc-header-button-disabled-bg,rgba(148,163,184,.18))!important;
  color:var(--bbbsc-header-button-disabled-text,rgba(226,232,240,.68))!important;
  border-color:var(--bbbsc-header-button-disabled-border,rgba(148,163,184,.18))!important;
  transform:none!important;box-shadow:none!important;
}
.bbbsc-header-menu__link.is-disabled .bbbsc-header-menu__link-icon{color:var(--bbbsc-header-button-disabled-icon,rgba(226,232,240,.56))!important}
.bbbsc-header-menu.is-button-style-pill .bbbsc-header-menu__link{border-radius:999px!important}
.bbbsc-header-menu.is-button-style-solid .bbbsc-header-menu__link{background:var(--bbbsc-header-button-bg,#1d4ed8)!important;color:var(--bbbsc-header-button-text,#fff)!important}
.bbbsc-header-menu.is-button-style-outline .bbbsc-header-menu__link{background:transparent!important;border-color:var(--bbbsc-header-button-border,var(--bbbsc-header-border-color))!important}
.bbbsc-header-menu.is-button-style-glass .bbbsc-header-menu__link{background:rgba(255,255,255,.12)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.bbbsc-header-menu.is-button-style-minimal .bbbsc-header-menu__link{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.bbbsc-header-menu.is-button-style-underline .bbbsc-header-menu__link{background:transparent!important;border-color:transparent!important;border-bottom-color:var(--bbbsc-header-button-border,var(--bbbsc-header-border-color))!important;border-radius:0!important;box-shadow:none!important}
.bbbsc-header-menu.is-button-style-neon .bbbsc-header-menu__link{box-shadow:0 0 0 1px rgba(255,255,255,.10),0 0 24px rgba(56,189,248,.26)!important}

.bbbsc-footer-nav__link{
  padding:var(--bbbsc-footer-button-padding-y,10px) var(--bbbsc-footer-button-padding-x,14px)!important;
  border-width:var(--bbbsc-footer-button-border-width,1px)!important;
  border-style:solid!important;
  border-radius:var(--bbbsc-footer-button-radius,18px)!important;
  background:var(--bbbsc-footer-button-bg,var(--bbbsc-footer-item-bg))!important;
  color:var(--bbbsc-footer-button-text,var(--bbbsc-footer-text-color))!important;
  border-color:var(--bbbsc-footer-button-border,var(--bbbsc-footer-border-color))!important;
  box-shadow:var(--bbbsc-footer-button-shadow,0 12px 26px rgba(15,23,42,.08))!important;
}
.bbbsc-footer-nav__link:hover{
  background:var(--bbbsc-footer-button-hover-bg,var(--bbbsc-footer-item-hover-bg))!important;
  color:var(--bbbsc-footer-button-hover-text,var(--bbbsc-footer-button-text,var(--bbbsc-footer-text-color)))!important;
  border-color:var(--bbbsc-footer-button-hover-border,var(--bbbsc-footer-border-color))!important;
}
.bbbsc-footer-nav__link .bbbsc-footer-nav__link-icon{color:var(--bbbsc-footer-icon-color,var(--bbbsc-footer-button-icon,var(--bbbsc-footer-text-color)))!important}
.bbbsc-footer-nav__link:hover .bbbsc-footer-nav__link-icon{color:var(--bbbsc-footer-button-hover-icon,var(--bbbsc-footer-icon-color,var(--bbbsc-footer-button-icon,var(--bbbsc-footer-text-color))))!important}
.bbbsc-footer-nav__link.is-active,
.bbbsc-footer-nav__mobile-link.is-active .bbbsc-footer-nav__mobile-icon{
  background:var(--bbbsc-footer-button-active-bg,var(--bbbsc-footer-active-bg))!important;
  color:var(--bbbsc-footer-button-active-text,var(--bbbsc-footer-active-text))!important;
  border-color:var(--bbbsc-footer-button-active-border,var(--bbbsc-footer-button-active-bg,var(--bbbsc-footer-active-bg)))!important;
}
.bbbsc-footer-nav__link.is-active .bbbsc-footer-nav__link-icon,
.bbbsc-footer-nav__mobile-link.is-active .bbbsc-footer-nav__mobile-icon{color:var(--bbbsc-footer-icon-active-color,var(--bbbsc-footer-button-active-icon,var(--bbbsc-footer-button-active-text,var(--bbbsc-footer-active-text))))!important}
.bbbsc-footer-nav__link.is-disabled,
.bbbsc-footer-nav__mobile-link.is-disabled,
.bbbsc-footer-nav__link[aria-disabled=true],
.bbbsc-footer-nav__mobile-link[aria-disabled=true]{cursor:not-allowed!important;pointer-events:none!important;opacity:var(--bbbsc-footer-button-disabled-opacity,.62)!important;transform:none!important}
.bbbsc-footer-nav__link.is-disabled{background:var(--bbbsc-footer-button-disabled-bg,rgba(148,163,184,.18))!important;color:var(--bbbsc-footer-button-disabled-text,rgba(226,232,240,.68))!important;border-color:var(--bbbsc-footer-button-disabled-border,rgba(148,163,184,.18))!important;box-shadow:none!important}
.bbbsc-footer-nav__link.is-disabled .bbbsc-footer-nav__link-icon,
.bbbsc-footer-nav__mobile-link.is-disabled .bbbsc-footer-nav__mobile-icon{color:var(--bbbsc-footer-button-disabled-icon,rgba(226,232,240,.56))!important}
.bbbsc-footer-nav__mobile-link.is-disabled .bbbsc-footer-nav__mobile-icon{background:var(--bbbsc-footer-button-disabled-bg,rgba(148,163,184,.18))!important;border-color:var(--bbbsc-footer-button-disabled-border,rgba(148,163,184,.18))!important}
.bbbsc-footer-nav.is-button-style-pill .bbbsc-footer-nav__link{border-radius:999px!important}
.bbbsc-footer-nav.is-button-style-solid .bbbsc-footer-nav__link{background:var(--bbbsc-footer-button-bg,#1d4ed8)!important;color:var(--bbbsc-footer-button-text,#fff)!important}
.bbbsc-footer-nav.is-button-style-outline .bbbsc-footer-nav__link{background:transparent!important;border-color:var(--bbbsc-footer-button-border,var(--bbbsc-footer-border-color))!important}
.bbbsc-footer-nav.is-button-style-glass .bbbsc-footer-nav__link{background:rgba(255,255,255,.12)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.bbbsc-footer-nav.is-button-style-minimal .bbbsc-footer-nav__link{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.bbbsc-footer-nav.is-button-style-underline .bbbsc-footer-nav__link{background:transparent!important;border-color:transparent!important;border-bottom-color:var(--bbbsc-footer-button-border,var(--bbbsc-footer-border-color))!important;border-radius:0!important;box-shadow:none!important}
.bbbsc-footer-nav.is-button-style-neon .bbbsc-footer-nav__link{box-shadow:0 0 0 1px rgba(255,255,255,.10),0 0 24px rgba(56,189,248,.26)!important}

.bbbsc-plan-compare{--bbbsc-compare-surface:#fff;--bbbsc-compare-text:#0f172a;--bbbsc-compare-muted:#64748b;--bbbsc-compare-border:#dbe4f3;--bbbsc-compare-header-bg:#fff;--bbbsc-compare-header-text:#0f172a;--bbbsc-compare-feature-bg:#f8fbff;--bbbsc-compare-feature-text:#0f172a;--bbbsc-compare-group-bg:#eff6ff;--bbbsc-compare-group-text:#1e3a8a;--bbbsc-compare-price:#1d4ed8;--bbbsc-compare-yes:#15803d;--bbbsc-compare-no:#94a3b8;--bbbsc-compare-button-bg:#1d4ed8;--bbbsc-compare-button-text:#fff;--bbbsc-compare-button-hover-bg:#0f172a;--bbbsc-compare-button-hover-text:#fff;--bbbsc-compare-radius:28px;--bbbsc-compare-cell-px:16px;--bbbsc-compare-cell-py:14px;--bbbsc-compare-table-min-width:920px;--bbbsc-compare-feature-col-width:230px;--bbbsc-compare-plan-col-width:230px;--bbbsc-compare-mobile-feature-width:150px;color:var(--bbbsc-compare-text)}
.bbbsc-plan-compare__hero{background:var(--bbbsc-compare-hero-bg)!important;border-radius:var(--bbbsc-compare-radius)!important}
.bbbsc-plan-compare.is-bg-none .bbbsc-plan-compare__hero{box-shadow:none!important;border:1px solid var(--bbbsc-compare-border)!important;color:var(--bbbsc-compare-text)!important}.bbbsc-plan-compare.is-bg-none .bbbsc-plan-compare__hero h2,.bbbsc-plan-compare.is-bg-none .bbbsc-plan-compare__hero p{color:var(--bbbsc-compare-text)!important}
.bbbsc-plan-compare__table-wrap{background:var(--bbbsc-compare-surface)!important;border-color:var(--bbbsc-compare-border)!important;border-radius:var(--bbbsc-compare-radius)!important;box-shadow:none!important;scrollbar-width:thin;scrollbar-color:var(--bbbsc-compare-primary,#1d4ed8) rgba(148,163,184,.18)}
.bbbsc-plan-compare.has-shadow .bbbsc-plan-compare__table-wrap{box-shadow:0 22px 48px rgba(15,23,42,.10)!important}.bbbsc-plan-compare.has-no-shadow .bbbsc-plan-compare__table-wrap{box-shadow:none!important}
.bbbsc-plan-compare__table{min-width:var(--bbbsc-compare-table-min-width)!important;background:var(--bbbsc-compare-surface)!important}.bbbsc-plan-compare__table th,.bbbsc-plan-compare__table td{padding:var(--bbbsc-compare-cell-py) var(--bbbsc-compare-cell-px)!important;border-color:var(--bbbsc-compare-border)!important;color:var(--bbbsc-compare-text)}
.bbbsc-plan-compare__table thead th{background:var(--bbbsc-compare-header-bg)!important;color:var(--bbbsc-compare-header-text)!important;box-shadow:0 1px 0 var(--bbbsc-compare-border)}.bbbsc-plan-compare__feature-col{min-width:var(--bbbsc-compare-feature-col-width)!important;background:var(--bbbsc-compare-feature-bg)!important;color:var(--bbbsc-compare-feature-text)!important}.bbbsc-plan-compare__plan-col{min-width:var(--bbbsc-compare-plan-col-width)!important}.bbbsc-plan-compare__feature-name{background:var(--bbbsc-compare-feature-bg)!important;color:var(--bbbsc-compare-feature-text)!important}.bbbsc-plan-compare__feature-name span{color:var(--bbbsc-compare-feature-text)!important}.bbbsc-plan-compare__group-row td{background:var(--bbbsc-compare-group-bg)!important;color:var(--bbbsc-compare-group-text)!important}.bbbsc-plan-compare__price{color:var(--bbbsc-compare-price)!important}.bbbsc-plan-compare__duration,.bbbsc-plan-compare__hero p{color:var(--bbbsc-compare-muted)!important}.bbbsc-plan-compare .bbbsc-plan-compare__value.is-yes{color:var(--bbbsc-compare-yes)!important}.bbbsc-plan-compare .bbbsc-plan-compare__value.is-no{color:var(--bbbsc-compare-no)!important}
.bbbsc-plan-compare .bbbsc-plan-compare__actions .button.button-primary,.bbbsc-plan-compare .bbbsc-plan-compare__footer-row .button.button-primary{background:var(--bbbsc-compare-button-bg)!important;color:var(--bbbsc-compare-button-text)!important;border:0!important;border-radius:16px!important;box-shadow:0 16px 30px rgba(37,99,235,.20)!important;transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important}.bbbsc-plan-compare .bbbsc-plan-compare__actions .button.button-primary:hover,.bbbsc-plan-compare .bbbsc-plan-compare__footer-row .button.button-primary:hover{background:var(--bbbsc-compare-button-hover-bg)!important;color:var(--bbbsc-compare-button-hover-text)!important;transform:translateY(-2px);box-shadow:0 22px 38px rgba(15,23,42,.18)!important}
.bbbsc-plan-compare.has-alt-rows tbody tr:not(.bbbsc-plan-compare__group-row):nth-child(even) td,.bbbsc-plan-compare.has-alt-rows tbody tr:not(.bbbsc-plan-compare__group-row):nth-child(even) th{background:var(--bbbsc-compare-alt-row-bg,#fbfdff)!important}.bbbsc-plan-compare.is-template-glass .bbbsc-plan-compare__table-wrap{background:rgba(255,255,255,.72)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.bbbsc-plan-compare.is-template-dark{--bbbsc-compare-surface:#020617;--bbbsc-compare-text:#f8fafc;--bbbsc-compare-muted:#cbd5e1;--bbbsc-compare-border:rgba(148,163,184,.22);--bbbsc-compare-header-bg:#0f172a;--bbbsc-compare-header-text:#f8fafc;--bbbsc-compare-feature-bg:#0b1220;--bbbsc-compare-feature-text:#f8fafc;--bbbsc-compare-group-bg:rgba(59,130,246,.18);--bbbsc-compare-group-text:#bfdbfe}.bbbsc-plan-compare.is-template-bordered .bbbsc-plan-compare__table th,.bbbsc-plan-compare.is-template-bordered .bbbsc-plan-compare__table td{border-inline-start:1px solid var(--bbbsc-compare-border)}.bbbsc-plan-compare.is-template-carded .bbbsc-plan-compare__plan-head{padding:12px;border-radius:20px;background:linear-gradient(180deg,rgba(29,78,216,.07),rgba(56,189,248,.04));border:1px solid rgba(59,130,246,.14)}
.bbbsc-plan-compare.has-sticky-header .bbbsc-plan-compare__table thead th{position:sticky;top:0;z-index:5}.bbbsc-plan-compare.has-sticky-feature .bbbsc-plan-compare__feature-col,.bbbsc-plan-compare.has-sticky-feature .bbbsc-plan-compare__feature-name{position:sticky;right:0;z-index:4;box-shadow:-10px 0 18px rgba(15,23,42,.06)}.bbbsc-plan-compare.has-sticky-feature .bbbsc-plan-compare__table thead .bbbsc-plan-compare__feature-col{z-index:7}
@media (max-width:782px){.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__table-wrap{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;direction:rtl;max-width:100%;border-radius:min(var(--bbbsc-compare-radius),22px)!important}.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__table{min-width:max(var(--bbbsc-compare-table-min-width),720px)!important;width:max-content!important;table-layout:auto!important}.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__feature-col,.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__feature-name{min-width:var(--bbbsc-compare-mobile-feature-width)!important;width:var(--bbbsc-compare-mobile-feature-width)!important;max-width:var(--bbbsc-compare-mobile-feature-width)!important;white-space:normal;position:sticky;right:0;z-index:8;box-shadow:-12px 0 24px rgba(15,23,42,.10)}.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__plan-col{min-width:var(--bbbsc-compare-plan-col-width)!important}.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__table thead .bbbsc-plan-compare__feature-col{z-index:10}.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__hero{display:grid;gap:14px;padding:18px;border-radius:22px!important}.bbbsc-plan-compare.is-mobile-horizontal .bbbsc-plan-compare__hero h2{font-size:22px}}


/* Exam workflow tabs - aligned with certificate tab UI */
.bbbsc-exam-workspace{direction:rtl;display:grid;gap:16px}
.bbbsc-exam-tabs.bbbsc-certificate-tabs{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:12px;z-index:6;padding:8px;border-radius:18px;background:rgba(248,250,252,.92);border:1px solid #e2e8f0;backdrop-filter:blur(12px);margin:0 0 14px}
.bbbsc-exam-tabs button{border-radius:14px!important;font-weight:900!important;min-height:42px!important;cursor:pointer!important}
.bbbsc-exam-tabs button.is-active{background:linear-gradient(135deg,#2563eb,#4f46e5)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 10px 22px rgba(37,99,235,.2)!important}
.bbbsc-local-panel[data-bbbsc-local-panel]{display:none;gap:16px;animation:bbbscAuthEnter .28s ease both}
.bbbsc-local-panel[data-bbbsc-local-panel].is-active{display:grid}
.bbbsc-exam-category-field{display:grid;gap:8px}
.bbbsc-inline-action-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.bbbsc-inline-action-field__button{min-width:42px!important;font-size:18px!important;font-weight:900!important;line-height:1!important}
.bbbsc-exam-category-panel--inline{margin-top:8px;border:1px solid #dbeafe!important;background:linear-gradient(180deg,#f8fbff,#fff)!important;border-radius:18px!important;padding:14px!important;box-shadow:0 14px 34px rgba(15,23,42,.07)!important}
.bbbsc-exam-inline-category-editor{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;gap:8px;align-items:center;margin:10px 0 12px}
.bbbsc-question-category-manager__list{display:grid;gap:8px}
.bbbsc-question-category-manager__row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:9px 10px}
.bbbsc-question-category-manager__row span{font-weight:900;color:#0f172a}
@media(max-width:780px){.bbbsc-exam-tabs.bbbsc-certificate-tabs{position:relative;top:auto}.bbbsc-exam-inline-category-editor{grid-template-columns:1fr}.bbbsc-question-category-manager__row{display:grid}}

/* Exam bank workflow refinements */
.bbbsc-bank-filter-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end;margin:14px 0 18px;padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:16px;background:rgba(248,250,252,.82)}
.bbbsc-bank-filter-bar label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#334155}
.bbbsc-bank-filter-bar input,.bbbsc-bank-filter-bar select{width:100%;min-height:38px;border-radius:10px}

.bbbsc-bank-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:14px 0 4px}
.bbbsc-bank-pagination[hidden]{display:none!important}
.bbbsc-bank-pagination__info{font-weight:800;color:#475569;margin-inline:6px}
.bbbsc-bank-pagination__dots{color:#64748b;font-weight:800;padding:0 2px}
.bbbsc-bank-pagination .button.is-active{background:#0f172a;color:#fff;border-color:#0f172a}
.bbbsc-bank-question-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.bbbsc-bank-question-editor{width:100%}
.bbbsc-bank-question-editor>summary{display:inline-flex;align-items:center;cursor:pointer;list-style:none;margin-bottom:8px}
.bbbsc-bank-question-editor>summary::-webkit-details-marker{display:none}
.bbbsc-bank-question-editor[open]{padding:10px;border:1px solid rgba(15,23,42,.08);border-radius:14px;background:#fff}
.bbbsc-bank-question-table td{vertical-align:top}

/* v1.95.84 exam builder polish */
.bbbsc-exam-builder-card{border:1px solid rgba(37,99,235,.12)!important;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important}
.bbbsc-exam-score-meter{display:grid;gap:8px;margin-top:12px;padding:12px 14px;border-radius:16px;border:1px solid #dbeafe;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.bbbsc-exam-score-meter__top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:900;color:#0f172a}.bbbsc-exam-score-meter__top span{font-size:12px;color:#475569}.bbbsc-exam-score-meter__track{height:10px;overflow:hidden;border-radius:999px;background:#e2e8f0}.bbbsc-exam-score-meter__track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);transition:width .25s ease}.bbbsc-exam-score-meter__hint{font-size:12px;font-weight:800;color:#475569}.bbbsc-exam-score-meter--done .bbbsc-exam-score-meter__track span{background:linear-gradient(90deg,#16a34a,#22c55e)}.bbbsc-exam-score-meter--done .bbbsc-exam-score-meter__hint{color:#15803d}.bbbsc-exam-score-meter--over{border-color:#fecaca;background:#fff7f7}.bbbsc-exam-score-meter--over .bbbsc-exam-score-meter__track span{background:linear-gradient(90deg,#ef4444,#f97316)}.bbbsc-exam-score-meter--over .bbbsc-exam-score-meter__hint{color:#b91c1c}.bbbsc-exam-category-add-form{border:1px dashed #bfdbfe;border-radius:16px;padding:12px;margin:0 0 14px;background:#f8fbff}.bbbsc-inline-copy-form{display:flex!important;gap:8px!important;align-items:center!important;grid-template-columns:none!important}.bbbsc-bank-row-added{opacity:.48;filter:grayscale(.25);background:#f8fafc!important}.bbbsc-added-badge{display:inline-flex;align-items:center;min-height:32px;border-radius:999px;padding:0 12px;background:#e2e8f0;color:#475569;font-weight:900;font-size:12px}.bbbsc-bank-question-edit-modal .bbbsc-front-modal__dialog{max-width:min(980px,96vw)}
/* v1.95.90 user exam take page */
.bbbsc-user-portal-dashboard--exam-take{max-width:1120px;margin:24px auto;direction:rtl}.bbbsc-exam-take-page{display:grid;gap:18px;direction:rtl}.bbbsc-exam-take-header{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.9fr);gap:16px;align-items:stretch;padding:22px;border-radius:28px;background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;box-shadow:0 24px 54px rgba(15,23,42,.22)}.bbbsc-exam-take-title span{display:inline-flex;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.14);font-weight:900;font-size:12px}.bbbsc-exam-take-title h1{margin:10px 0 6px;color:#fff;font-size:28px}.bbbsc-exam-take-title p{margin:0;color:rgba(255,255,255,.78)}.bbbsc-exam-take-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bbbsc-exam-take-meta>div{padding:12px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px)}.bbbsc-exam-take-meta span{display:block;font-size:11px;color:rgba(255,255,255,.68);font-weight:800}.bbbsc-exam-take-meta strong{display:block;margin-top:4px;color:#fff;font-size:18px}.bbbsc-exam-take-meta .is-timer{background:linear-gradient(135deg,rgba(34,197,94,.25),rgba(14,165,233,.22))}.bbbsc-exam-take-progress{display:grid;gap:10px;padding:14px 16px;border-radius:20px;background:#fff;border:1px solid #dbeafe;box-shadow:0 12px 32px rgba(15,23,42,.08)}.bbbsc-exam-take-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.bbbsc-exam-take-progress strong{color:#0f172a}.bbbsc-exam-take-progress span{font-size:12px;color:#64748b}.bbbsc-exam-progress-track{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.bbbsc-exam-progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);transition:width .25s ease}.bbbsc-exam-take-form{display:grid;gap:16px}.bbbsc-exam-question-card{display:grid;gap:14px;padding:20px;border-radius:24px;background:#fff;border:1px solid rgba(37,99,235,.13);box-shadow:0 14px 38px rgba(15,23,42,.08)}.bbbsc-exam-question-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.bbbsc-exam-question-card__head span{display:inline-flex;border-radius:999px;padding:6px 12px;background:#eff6ff;color:#1d4ed8;font-weight:900}.bbbsc-exam-question-card__head strong{color:#0f172a}.bbbsc-exam-question-card__text{font-size:16px;line-height:1.9;color:#0f172a}.bbbsc-exam-options{display:grid;gap:10px}.bbbsc-exam-option{display:flex!important;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc;cursor:pointer}.bbbsc-exam-option:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 8px 20px rgba(37,99,235,.12)}.bbbsc-exam-option input{margin:0}.bbbsc-exam-take-form textarea{resize:vertical;min-height:150px;border-radius:16px!important}.bbbsc-exam-question-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.bbbsc-exam-submit-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-radius:22px;background:#f8fbff;border:1px solid #bfdbfe;box-shadow:0 12px 28px rgba(15,23,42,.07)}.bbbsc-exam-submit-card strong{display:block;color:#0f172a}.bbbsc-exam-submit-card p{margin:.25rem 0 0;color:#64748b}.bbbsc-exam-review-question{margin:12px 0;padding:16px;border-radius:18px;border:1px solid #e2e8f0;background:#fff}.bbbsc-exam-review-option{display:flex;justify-content:space-between;gap:10px;margin:8px 0;padding:10px 12px;border-radius:14px;border:1px solid #e2e8f0;background:#f8fafc}.bbbsc-exam-review-option.is-selected{border-color:#2563eb;background:#eff6ff}.bbbsc-exam-review-option.is-correct{border-color:#16a34a;background:#f0fdf4}.bbbsc-exam-review-answer{padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;line-height:1.9}.bbbsc-grader-assignment-grid{display:grid;gap:14px}.bbbsc-grader-question{margin:12px 0}.bbbsc-grader-workspace{border-color:#bfdbfe!important}.bbbsc-exam-take-form[data-bbbsc-no-paste="1"] textarea,.bbbsc-exam-take-form[data-bbbsc-no-paste="1"] input[type="text"]{-webkit-user-select:text;user-select:text}@media(max-width:780px){.bbbsc-exam-take-header{grid-template-columns:1fr;padding:18px;border-radius:22px}.bbbsc-exam-take-meta{grid-template-columns:1fr}.bbbsc-exam-submit-card{display:grid}.bbbsc-exam-question-card__head{display:grid}}

/* BBBSC v1.95.92 - user exam cards and stable exam flow */
.bbbsc-user-exam-dashboard{display:flex;flex-direction:column;gap:18px}
.bbbsc-user-exam-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:4px;padding:0 2px;color:#172033}
.bbbsc-user-exam-section-title strong{font-size:15px;font-weight:900}
.bbbsc-user-exam-section-title span{font-size:12px;color:#64748b}
.bbbsc-user-exam-section-title--secondary{margin-top:10px;color:#475569}
.bbbsc-user-exam-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}
.bbbsc-user-exam-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid rgba(15,23,42,.08);border-radius:22px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 16px 38px rgba(15,23,42,.07);overflow:hidden}
.bbbsc-user-exam-card:before{content:"";position:absolute;inset:auto 18px -34px 18px;height:70px;border-radius:999px;background:rgba(37,99,235,.10);filter:blur(18px);pointer-events:none}
.bbbsc-user-exam-card.is-active-exam{border-color:rgba(37,99,235,.24);background:linear-gradient(145deg,#ffffff,#eef6ff)}
.bbbsc-user-exam-card.is-muted-exam{background:#fff;opacity:.92}
.bbbsc-user-exam-card__main,.bbbsc-user-exam-card__footer{position:relative;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.bbbsc-user-exam-card__main h4{margin:3px 0 0;font-size:16px;font-weight:900;color:#0f172a}
.bbbsc-user-exam-card__eyebrow{display:block;font-size:11px;font-weight:800;color:#2563eb;letter-spacing:-.01em}
.bbbsc-user-exam-status{display:inline-flex;align-items:center;justify-content:center;min-width:74px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;background:#eef2ff;color:#3730a3;white-space:nowrap}
.bbbsc-user-exam-status--active{background:#dcfce7;color:#166534}.bbbsc-user-exam-status--ended,.bbbsc-user-exam-status--archived{background:#f1f5f9;color:#475569}.bbbsc-user-exam-status--draft{background:#fef3c7;color:#92400e}.bbbsc-user-exam-status--scheduled{background:#e0f2fe;color:#075985}
.bbbsc-user-exam-card__meta{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bbbsc-user-exam-card__meta>div{padding:9px 10px;border-radius:14px;background:rgba(255,255,255,.72);border:1px solid rgba(148,163,184,.18)}
.bbbsc-user-exam-card__meta span{display:block;font-size:10px;color:#64748b;font-weight:800}.bbbsc-user-exam-card__meta strong{display:block;margin-top:2px;font-size:12px;color:#0f172a;font-weight:900}
.bbbsc-user-exam-card__result{font-size:12px;color:#475569;line-height:1.8;font-weight:700}.bbbsc-user-exam-card__actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.bbbsc-user-exam-card__actions .button{border-radius:12px!important;min-height:34px}
.bbbsc-user-exam-card__reason{position:relative;padding:9px 11px;border-radius:14px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:800;line-height:1.8;border:1px solid rgba(251,146,60,.18)}
@media(max-width:720px){.bbbsc-user-exam-card__main,.bbbsc-user-exam-card__footer,.bbbsc-user-exam-section-title{flex-direction:column;align-items:stretch}.bbbsc-user-exam-card__actions{justify-content:flex-start}.bbbsc-user-exam-card__meta{grid-template-columns:1fr}}

/* BBB v1.95.93 - Exam user flow RTL and single-question UX fixes */
.bbbsc-user-portal-dashboard--exam-take,
.bbbsc-exam-take-page,
.bbbsc-exam-take-page *{box-sizing:border-box}
.bbbsc-exam-take-page{direction:rtl;text-align:right;unicode-bidi:plaintext}
.bbbsc-exam-take-form{direction:rtl;text-align:right}
.bbbsc-exam-single-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:18px;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8fbff);box-shadow:0 12px 30px rgba(15,23,42,.06)}
.bbbsc-exam-single-status strong{color:#1e3a8a;font-weight:900}.bbbsc-exam-single-status span{color:#475569;font-size:12px;font-weight:800}
.bbbsc-exam-question-card{position:relative;overflow:hidden}.bbbsc-exam-question-card.is-active{border-color:#2563eb;box-shadow:0 18px 48px rgba(37,99,235,.14)}.bbbsc-exam-question-card.is-answered:before{content:'پاسخ ثبت شد';position:absolute;top:14px;left:16px;z-index:1;padding:5px 10px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:11px;font-weight:900;border:1px solid #bbf7d0}
.bbbsc-exam-options{display:grid;gap:12px}.bbbsc-exam-option{position:relative;display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-height:54px;padding:14px 16px!important;border-radius:18px!important;border:1px solid #dbe3ef!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;box-shadow:0 8px 20px rgba(15,23,42,.045);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;color:#0f172a}.bbbsc-exam-option:hover{transform:translateY(-1px);border-color:#93c5fd!important;box-shadow:0 14px 28px rgba(37,99,235,.1)}.bbbsc-exam-option input[type=radio]{position:absolute;opacity:0;pointer-events:none}.bbbsc-exam-option__mark{width:22px;height:22px;border-radius:999px;border:2px solid #94a3b8;background:#fff;box-shadow:inset 0 0 0 5px #fff;transition:.18s ease}.bbbsc-exam-option__text{font-weight:800;line-height:1.9;color:#0f172a}.bbbsc-exam-option.is-selected,.bbbsc-exam-option:has(input:checked){border-color:#2563eb!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;box-shadow:0 16px 34px rgba(37,99,235,.14)}.bbbsc-exam-option.is-selected .bbbsc-exam-option__mark,.bbbsc-exam-option:has(input:checked) .bbbsc-exam-option__mark{border-color:#2563eb;background:#2563eb;box-shadow:inset 0 0 0 5px #fff,0 0 0 4px rgba(37,99,235,.12)}
.bbbsc-exam-question-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px dashed #dbeafe}.bbbsc-exam-nav-button{min-height:44px!important;border-radius:14px!important;font-weight:900!important}.bbbsc-exam-nav-button:disabled{opacity:.45;cursor:not-allowed}.bbbsc-exam-submit-card[hidden],.bbbsc-exam-question-card[hidden]{display:none!important}.bbbsc-exam-submit-card.is-ready{border-color:#86efac;background:linear-gradient(135deg,#f0fdf4,#ffffff);box-shadow:0 18px 44px rgba(22,163,74,.14)}
@media(max-width:780px){.bbbsc-exam-single-status{display:grid}.bbbsc-exam-question-card.is-answered:before{position:static;display:inline-flex;margin-bottom:8px}.bbbsc-exam-question-nav{display:grid}.bbbsc-exam-nav-button{width:100%}.bbbsc-exam-option{grid-template-columns:auto 1fr}}


/* BBB v1.95.94 - Exam submit result screen and return flow */
.bbbsc-exam-result-card{direction:rtl;text-align:right;border:1px solid rgba(148,163,184,.22)!important;background:linear-gradient(180deg,#ffffff,#f8fafc)!important;box-shadow:0 24px 70px rgba(15,23,42,.10)!important}
.bbbsc-exam-result-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px;border-radius:22px;background:linear-gradient(135deg,#eff6ff,#ffffff);border:1px solid rgba(37,99,235,.14)}
.bbbsc-exam-result-hero span{display:block;font-size:12px;font-weight:900;color:#2563eb;margin-bottom:4px}.bbbsc-exam-result-hero h3{margin:0 0 6px;color:#0f172a;font-size:22px}.bbbsc-exam-result-hero p{margin:0;color:#475569;font-weight:700;line-height:1.9}
.bbbsc-exam-result-badge{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:11px 16px;border-radius:999px;font-weight:950;border:1px solid transparent}.bbbsc-exam-result-badge--success{background:#dcfce7;color:#166534;border-color:#bbf7d0}.bbbsc-exam-result-badge--error{background:#fee2e2;color:#991b1b;border-color:#fecaca}.bbbsc-exam-result-badge--warning{background:#fef3c7;color:#92400e;border-color:#fde68a}
.bbbsc-exam-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.bbbsc-exam-result-stat{padding:16px;border-radius:20px;background:#fff;border:1px solid rgba(148,163,184,.22);box-shadow:0 10px 26px rgba(15,23,42,.055)}.bbbsc-exam-result-stat span{display:block;color:#64748b;font-size:12px;font-weight:900}.bbbsc-exam-result-stat strong{display:block;margin:6px 0 4px;color:#0f172a;font-size:24px;font-weight:950;letter-spacing:-.02em}.bbbsc-exam-result-stat small{display:block;color:#475569;font-weight:800;line-height:1.7}
.bbbsc-exam-result-message{line-height:2;margin-top:12px!important}.bbbsc-exam-review-list{display:grid;gap:14px;margin-top:18px}.bbbsc-exam-result-actions{margin-top:18px!important;gap:10px!important}.bbbsc-exam-result-actions .button{min-height:42px!important;border-radius:14px!important;font-weight:900!important}
@media(max-width:980px){.bbbsc-exam-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbbsc-exam-result-hero{align-items:stretch;flex-direction:column}.bbbsc-exam-result-badge{width:max-content}}
@media(max-width:620px){.bbbsc-exam-result-grid{grid-template-columns:1fr}.bbbsc-exam-result-actions{display:grid!important}.bbbsc-exam-result-actions .button{width:100%;text-align:center}}

/* BBB v1.96.02 - Full AJAX exam grading workspace */
.bbbsc-grading-board{display:grid;gap:18px;direction:rtl}.bbbsc-grader-workspace--active{border:1px solid rgba(37,99,235,.16)!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 24px 70px rgba(15,23,42,.08)!important}.bbbsc-grader-attempt-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-radius:24px;background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #dbeafe;margin-bottom:14px}.bbbsc-grader-attempt-hero span{display:block;color:#2563eb;font-weight:900;font-size:12px}.bbbsc-grader-attempt-hero h3{margin:6px 0;color:#0f172a;font-size:24px}.bbbsc-grader-attempt-hero p{margin:0;color:#475569;line-height:1.9}.bbbsc-grader-attempt-score{min-width:132px;text-align:center;padding:14px;border-radius:22px;background:#fff;box-shadow:0 16px 36px rgba(37,99,235,.12);border:1px solid #dbeafe}.bbbsc-grader-attempt-score strong{display:block;font-size:30px;color:#0f172a;font-weight:950}.bbbsc-grader-attempt-score small{display:block;color:#64748b}.bbbsc-grader-mini-stats,.bbbsc-grader-card-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.bbbsc-grader-mini-stats>div,.bbbsc-grader-card-stats>div{padding:12px;border-radius:18px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 24px rgba(15,23,42,.045)}.bbbsc-grader-mini-stats span,.bbbsc-grader-card-stats span{display:block;color:#64748b;font-size:11px;font-weight:900}.bbbsc-grader-mini-stats strong,.bbbsc-grader-card-stats strong{display:block;margin-top:5px;color:#0f172a;font-size:18px;font-weight:950}.bbbsc-grader-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bbbsc-grader-assignment-card{border-radius:24px;background:#fff;border:1px solid rgba(148,163,184,.24);box-shadow:0 18px 44px rgba(15,23,42,.06);padding:14px;overflow:hidden}.bbbsc-grader-assignment-card__head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:right;border:0;background:linear-gradient(135deg,#f8fafc,#fff);border-radius:18px;padding:14px 16px;cursor:pointer;color:#0f172a}.bbbsc-grader-assignment-card__head span{display:block;color:#2563eb;font-size:12px;font-weight:900}.bbbsc-grader-assignment-card__head h4{margin:5px 0;color:#0f172a;font-size:18px}.bbbsc-grader-assignment-card__head small{display:block;color:#64748b;line-height:1.8}.bbbsc-grader-assignment-card__head>strong{white-space:nowrap;padding:8px 12px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px}.bbbsc-grader-card-progress{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin:4px 0 12px}.bbbsc-grader-card-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#22c55e)}.bbbsc-grader-attempt-list{display:grid;gap:10px;margin-top:10px}.bbbsc-grader-attempt-list[hidden]{display:none!important}.bbbsc-grader-attempt-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(110px,.5fr) auto;align-items:center;gap:12px;padding:12px;border-radius:18px;border:1px solid #e2e8f0;background:#f8fafc}.bbbsc-grader-attempt-row.is-pending{background:#fffbeb;border-color:#fde68a}.bbbsc-grader-attempt-row.is-graded{background:#f0fdf4;border-color:#bbf7d0}.bbbsc-grader-attempt-row strong{color:#0f172a}.bbbsc-grader-attempt-row span{display:block;color:#64748b;font-size:12px;line-height:1.8}.bbbsc-grader-question-card{padding:16px;border-radius:22px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 30px rgba(15,23,42,.045);margin:14px 0}.bbbsc-grader-question-card.is-subjective{border-color:#bfdbfe}.bbbsc-grader-question-card__head{display:flex;justify-content:space-between;gap:14px;margin-bottom:12px}.bbbsc-grader-question-card__head span{display:block;color:#2563eb;font-size:12px;font-weight:900}.bbbsc-grader-question-card__head h4{margin:4px 0 0;color:#0f172a;line-height:1.9}.bbbsc-grader-question-card__head>strong{white-space:nowrap;height:max-content;padding:7px 11px;border-radius:999px;background:#f1f5f9;color:#334155}.bbbsc-grader-auto-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bbbsc-grader-auto-grid>div{padding:12px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0}.bbbsc-grader-auto-grid span,.bbbsc-grader-answer-box span{display:block;color:#64748b;font-size:12px;font-weight:900;margin-bottom:5px}.bbbsc-grader-answer-box{padding:14px;border-radius:18px;background:#f8fafc;border:1px dashed #cbd5e1;margin:10px 0}.bbbsc-grader-answer-box p{margin:0;line-height:2;color:#0f172a}.bbbsc-grader-grade-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px}.bbbsc-grader-grade-row input{border-radius:14px!important}.bbbsc-grader-explanation{margin-top:10px;padding:10px 12px;border-radius:16px;background:#eff6ff;color:#1e3a8a;line-height:1.9}.bbbsc-grader-sticky-actions{position:sticky;bottom:10px;z-index:3;padding:10px;border-radius:18px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid #e2e8f0;box-shadow:0 18px 40px rgba(15,23,42,.08)}.bbbsc-customer-grader-form{border:1px solid #dbeafe;border-radius:22px;padding:14px;background:linear-gradient(180deg,#fff,#f8fbff)}
@media(max-width:980px){.bbbsc-grader-assignment-grid,.bbbsc-grader-mini-stats,.bbbsc-grader-card-stats,.bbbsc-grader-auto-grid{grid-template-columns:1fr 1fr}.bbbsc-grader-attempt-row{grid-template-columns:1fr}.bbbsc-grader-attempt-hero{display:grid}.bbbsc-grader-grade-row{grid-template-columns:1fr}}
@media(max-width:620px){.bbbsc-grader-mini-stats,.bbbsc-grader-card-stats,.bbbsc-grader-auto-grid{grid-template-columns:1fr}.bbbsc-grader-assignment-card__head{display:grid}.bbbsc-grader-attempt-score{width:100%}}

/* v1.96.05 customer exam grading board */
.bbbsc-customer-grading-board{display:grid;gap:16px}
.bbbsc-customer-grading-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}
.bbbsc-customer-grading-card{border:1px solid #dbe7f3;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 14px 34px rgba(15,23,42,.06);overflow:hidden}
.bbbsc-customer-grading-card__head{width:100%;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px;border:0;background:transparent;text-align:right;cursor:pointer;color:#0f172a}
.bbbsc-customer-grading-card__head h5{margin:4px 0 6px;font-size:17px;line-height:1.7;color:#0f172a}.bbbsc-customer-grading-card__head span,.bbbsc-customer-grading-card__head small{display:block;color:#64748b;line-height:1.8}.bbbsc-customer-grading-card__head strong{white-space:nowrap;color:#2563eb;font-size:12px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:999px;padding:7px 10px}
.bbbsc-customer-grading-attempt-list{display:grid;gap:10px;padding:0 14px 14px}.bbbsc-customer-grading-attempt-list[hidden]{display:none!important}
.bbbsc-customer-grading-attempt-list .bbbsc-empty-state{margin:0}.bbbsc-customer-grading-card .bbbsc-grader-card-stats{padding:0 14px 12px}.bbbsc-customer-grading-card .bbbsc-grader-card-progress{margin:0 14px 12px}
@media (max-width:640px){.bbbsc-customer-grading-grid{grid-template-columns:1fr}.bbbsc-customer-grading-card__head{display:grid}.bbbsc-customer-grading-card__head strong{justify-self:start}}

/* Guest join mode controls */
.bbbsc-guest-mode-field{display:block;padding:12px;border:1px solid rgba(59,130,246,.12);border-radius:16px;background:linear-gradient(180deg,rgba(248,250,252,.96),rgba(239,246,255,.48));}
.bbbsc-guest-mode-field .bbbsc-field-title{display:block;margin-bottom:9px;font-weight:800;color:#0f172a;font-size:13px;}
.bbbsc-guest-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;}
.bbbsc-guest-mode-option{position:relative;display:flex;align-items:flex-start;gap:8px;min-height:72px;padding:10px 11px;border:1px solid #dbeafe;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;box-shadow:0 8px 20px rgba(15,23,42,.04);}
.bbbsc-guest-mode-radio{position:relative;flex:0 0 16px;width:16px;height:16px;margin-top:2px;display:inline-grid;place-items:center;}
.bbbsc-guest-mode-radio input{position:absolute;inset:0;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;opacity:0;cursor:pointer;}
.bbbsc-guest-mode-radio i{display:block;width:14px;height:14px;border-radius:999px;border:1.5px solid #94a3b8;background:#fff;box-shadow:inset 0 0 0 3px #fff;transition:.18s ease;}
.bbbsc-guest-mode-option input:checked + i,.bbbsc-guest-mode-option.is-selected .bbbsc-guest-mode-radio i{border-color:#2563eb;background:#2563eb;box-shadow:inset 0 0 0 3px #fff,0 0 0 3px rgba(37,99,235,.12);}
.bbbsc-guest-mode-copy{display:grid;gap:3px;min-width:0;}
.bbbsc-guest-mode-option strong{color:#0f172a;font-size:12.5px;line-height:1.65;font-weight:850;}
.bbbsc-guest-mode-option small{color:#64748b;line-height:1.75;font-size:11.5px;font-weight:500;}
.bbbsc-guest-mode-option:hover,.bbbsc-guest-mode-option:has(input:checked),.bbbsc-guest-mode-option.is-selected{border-color:#60a5fa;background:linear-gradient(180deg,#fff,#eff6ff);box-shadow:0 12px 28px rgba(37,99,235,.10);transform:translateY(-1px);}
.bbbsc-class-guest-card{border:1px solid rgba(37,99,235,.14)!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;}
.bbbsc-class-guest-card h4{margin-top:0;color:#0f172a;font-weight:900;}
.bbbsc-class-guest-card p{color:#475569;line-height:1.9;}
@media (max-width: 1024px){.bbbsc-guest-mode-options{grid-template-columns:1fr;}}

/* ===== BBBSC 1.96.14 quick access modal polish ===== */
.bbbsc-quick-access-modal .bbbsc-front-modal__dialog{max-width:520px!important;border-radius:32px!important;background:linear-gradient(145deg,#ffffff,#f8fbff)!important;box-shadow:0 34px 100px rgba(15,23,42,.24)!important;border:1px solid rgba(226,232,240,.9)!important;padding:18px!important;overflow:hidden!important}
.bbbsc-quick-access-modal .bbbsc-front-modal__close{top:14px!important;left:14px!important;right:auto!important;width:38px!important;height:38px!important;border-radius:14px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#0f172a!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important;z-index:5}
.bbbsc-quick-access-modal__surface{gap:14px!important;padding:6px!important;max-height:calc(92vh - 36px)!important;overflow-y:auto!important;scrollbar-width:thin}
.bbbsc-quick-access-modal__header{display:none!important}
.bbbsc-quick-access-modal__hero{position:relative!important;grid-template-columns:58px 1fr!important;align-items:center!important;padding:16px 18px!important;border-radius:26px!important;background:linear-gradient(135deg,#eff6ff 0%,#ffffff 54%,#ecfdf5 100%)!important;border:1px solid rgba(191,219,254,.85)!important;box-shadow:0 18px 46px rgba(37,99,235,.10)!important;overflow:hidden!important}
.bbbsc-quick-access-modal__hero:before{content:"";position:absolute;inset:-70px auto auto -54px;width:150px;height:150px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.18),transparent 70%);pointer-events:none}
.bbbsc-quick-access-modal__hero-icon{width:54px!important;height:54px!important;border-radius:20px!important;background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;box-shadow:0 18px 34px rgba(37,99,235,.28)!important;z-index:1}
.bbbsc-quick-access-modal__hero-icon-svg{width:28px!important;height:28px!important}
.bbbsc-quick-access-modal__hero-copy{z-index:1!important}
.bbbsc-quick-access-modal__hero-copy strong{font-size:17px!important;color:#0f172a!important}
.bbbsc-quick-access-modal__hero-copy span{font-size:12px!important;line-height:1.9!important;color:#475569!important}
.bbbsc-quick-access-modal__hero-badges{grid-column:1/-1;z-index:1;gap:7px!important;margin-top:2px}
.bbbsc-quick-access-modal__hero-badges span{min-height:25px!important;padding:0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid #dbeafe!important;font-size:10.5px!important;color:#1d4ed8!important;box-shadow:0 8px 18px rgba(37,99,235,.06)!important}
.bbbsc-auth-switches--quick{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:6px!important;border-radius:20px!important;background:#eef4ff!important;border:1px solid #dbeafe!important;margin:0!important}
.bbbsc-auth-switches--quick .button{min-height:42px!important;border:0!important;border-radius:15px!important;background:transparent!important;box-shadow:none!important;color:#334155!important;font-weight:900!important;font-size:12.5px!important}
.bbbsc-auth-switches--quick .button.button-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important;box-shadow:0 14px 30px rgba(37,99,235,.22)!important}
.bbbsc-quick-access-form{gap:10px!important;padding:0!important}
.bbbsc-quick-access-form[hidden],.bbbsc-quick-access-form[aria-hidden="true"]{display:none!important}
.bbbsc-quick-access-form label{padding:10px 12px!important;border-radius:17px!important;border:1px solid rgba(203,213,225,.8)!important;background:rgba(255,255,255,.92)!important;box-shadow:0 10px 22px rgba(15,23,42,.045)!important}
.bbbsc-quick-access-form label span{display:flex!important;align-items:center!important;gap:6px!important;font-size:12px!important;font-weight:900!important;color:#334155!important}
.bbbsc-quick-access-form label small{font-size:10px!important;font-weight:800!important;color:#94a3b8!important}
.bbbsc-quick-access-form input{min-height:36px!important;font-size:14px!important;color:#0f172a!important}
.bbbsc-quick-access-inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bbbsc-quick-access-modal .bbbsc-front-button-row .button{min-height:42px!important;border-radius:15px!important;font-weight:900!important}
.bbbsc-quick-access-success{padding:6px 0 0!important;gap:10px!important}
.bbbsc-quick-access-success__icon{width:56px!important;height:56px!important;border-radius:20px!important;font-size:26px!important}
.bbbsc-quick-access-success h4{font-size:19px!important}
.bbbsc-quick-access-success p{font-size:12.5px!important;line-height:1.9!important;max-width:380px!important}
.bbbsc-quick-access-success__actions{grid-template-columns:1fr!important;gap:10px!important}
.bbbsc-quick-access-success-card{min-height:78px!important;align-items:flex-start!important;text-align:right!important;padding:14px 16px!important;border-radius:20px!important}
.bbbsc-quick-access-success-card strong{font-size:14px!important}
.bbbsc-quick-access-success-card small{font-size:11.5px!important;text-align:right!important}
.bbbsc-quick-access-profile-card{padding:12px 14px!important;border-radius:22px!important}
.bbbsc-quick-access-profile-card__avatar{width:54px!important;height:54px!important;border-radius:19px!important;flex-basis:54px!important}
.bbbsc-quick-access-menu{grid-template-columns:1fr!important;gap:9px!important;margin-top:10px!important}
.bbbsc-quick-access-menu__item{min-height:64px!important;border-radius:17px!important;padding:12px 14px!important}
.bbbsc-quick-access-menu__icon{width:34px!important;height:34px!important;border-radius:13px!important;flex-basis:34px!important}
.bbbsc-quick-access-account-panel{gap:10px!important;margin-top:10px!important}
.bbbsc-quick-access-account-panel__head{padding:11px 12px!important;border-radius:17px!important}
.bbbsc-quick-access-account-panel__head small{font-size:11.5px!important}
@media(max-width:560px){.bbbsc-quick-access-modal .bbbsc-front-modal__dialog{max-width:calc(100vw - 22px)!important;padding:14px!important}.bbbsc-quick-access-inline-fields{grid-template-columns:1fr}.bbbsc-auth-switches--quick{grid-template-columns:1fr!important}.bbbsc-quick-access-modal__hero{grid-template-columns:1fr!important}.bbbsc-quick-access-modal__hero-icon{display:none!important}}

/* BBBSC v1.96.17 customer user role compact fix */
.bbbsc-admin-table--users-compact .bbbsc-col-role{width:9%!important;min-width:96px!important;max-width:130px!important}
.bbbsc-admin-table--users-compact .bbbsc-col-role select{min-width:0!important;width:100%!important;padding:7px 8px!important;font-size:12px!important;border-radius:10px!important}
.bbbsc-admin-table--users-compact .bbbsc-col-display{width:28%!important}
.bbbsc-class-members-table .bbbsc-class-role-autosave select,.bbbsc-class-member-card__edit select[name="role_key"]{max-width:138px!important;padding:7px 8px!important;font-size:12px!important;border-radius:10px!important}
.bbbsc-class-card__badge--archived,.bbbsc-user-class-row--archived .bbbsc-class-card__badge{background:#e2e8f0!important;color:#475569!important;border-color:#cbd5e1!important}
.bbbsc-user-class-row--archived{opacity:.92;background:linear-gradient(90deg,#f8fafc,#fff)!important}

.bbbsc-front-form .bbbsc-input-error,
.bbbsc-front-form input.bbbsc-input-error,
.bbbsc-front-form select.bbbsc-input-error,
.bbbsc-front-form textarea.bbbsc-input-error{
  border-color:#dc2626!important;
  box-shadow:0 0 0 3px rgba(220,38,38,.12)!important;
  background:#fff5f5!important;
}


/* BBBSC 1.96.22 exam builder clarity */
.bbbsc-exam-selected-workspace{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(37,99,235,.22)!important;
  background:linear-gradient(135deg,#eff6ff 0%,#ffffff 48%,#f5f3ff 100%)!important;
  box-shadow:0 18px 46px rgba(37,99,235,.13)!important;
  scroll-margin-top:96px;
}
.bbbsc-exam-selected-workspace:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,#2563eb,#7c3aed,#06b6d4);
}
.bbbsc-exam-selected-workspace__hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
}
.bbbsc-exam-selected-workspace__hero h4{
  margin:6px 0 8px;
  font-size:20px;
  font-weight:900;
  color:#0f172a;
}
.bbbsc-exam-selected-workspace__hero p{
  margin:0;
  color:#475569;
  line-height:1.95;
}
.bbbsc-exam-selected-workspace__eyebrow,
.bbbsc-exam-selected-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  max-width:100%;
  padding:6px 11px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  font-size:11px;
  font-weight:900;
}
.bbbsc-exam-selected-badge{
  margin:6px 0;
  background:#ecfdf5;
  color:#047857;
  border-color:#bbf7d0;
}
.bbbsc-exam-selected-workspace__grid{margin-top:12px;}
.bbbsc-exam-picker-card,
.bbbsc-exam-current-questions-card{border-color:rgba(37,99,235,.12)!important;}
tr.is-selected-exam td{
  background:#eff6ff!important;
  box-shadow:inset 4px 0 0 #2563eb;
}
.bbbsc-exam-selected-workspace.is-attention{
  animation:bbbscExamBuilderPulse 1.8s ease both;
}
@keyframes bbbscExamBuilderPulse{
  0%,100%{box-shadow:0 18px 46px rgba(37,99,235,.13)}
  25%,70%{box-shadow:0 24px 70px rgba(37,99,235,.28)}
}
@media (max-width:780px){
  .bbbsc-exam-selected-workspace__hero{display:block;}
  .bbbsc-exam-selected-workspace__hero .bbbsc-front-button-row{margin-top:12px;}
}

/* v1.96.23 - dedicated exam grading pages */
.bbbsc-grader-assignment-card__head,
.bbbsc-customer-grading-card__head{text-decoration:none!important}
.bbbsc-grader-exam-page,
.bbbsc-customer-grading-exam-page{display:grid;gap:14px}
.bbbsc-grader-attempt-list--page{margin-top:12px}
.bbbsc-grader-exam-page .bbbsc-grader-attempt-hero,
.bbbsc-customer-grading-exam-page .bbbsc-grader-attempt-hero{margin-bottom:0}

/* v1.96.24 - Quick access: after successful login, show only success state and panel links. */
.bbbsc-quick-access-modal.is-quick-access-login-success [data-bbbsc-quick-access-auth-area],
.bbbsc-quick-access-modal.is-quick-access-login-success .bbbsc-auth-switches--quick,
.bbbsc-quick-access-modal.is-quick-access-login-success .bbbsc-portal-auth-form:not([data-bbbsc-quick-access-form="account"]),
.bbbsc-quick-access-modal.is-quick-access-login-success .bbbsc-quick-access-modal__hero{display:none!important}
.bbbsc-quick-access-modal.is-quick-access-login-success [data-bbbsc-quick-access-success]{display:grid!important}
.bbbsc-quick-access-success[hidden],
.bbbsc-quick-access-auth-area[hidden]{display:none!important}

/* BBBSC v1.96.30 fixes */
#bbbsc-portal-auth .bbbsc-portal-auth-form[hidden],
#bbbsc-portal-auth .bbbsc-portal-auth-form[aria-hidden="true"],
#bbbsc-portal-auth .bbbsc-portal-auth-form[style*="display:none"],
#bbbsc-portal-auth .bbbsc-portal-auth-form[style*="display: none"],
.bbbsc-standalone-join__auth .bbbsc-front-form[hidden],
.bbbsc-standalone-join__auth .bbbsc-front-form[aria-hidden="true"],
.bbbsc-standalone-join__auth .bbbsc-front-form[style*="display:none"],
.bbbsc-standalone-join__auth .bbbsc-front-form[style*="display: none"] {
  display: none !important;
}

.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card {
  grid-template-columns: 28px minmax(150px, 1.25fr) minmax(140px, 1fr) 112px minmax(128px, .75fr) 38px !important;
}

.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card__role,
.bbbsc-class-user-card__role {
  min-width: 128px !important;
}

.bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card__role select,
.bbbsc-class-user-card__role select,
.bbbsc-class-member-card__edit select[name="role"] {
  min-width: 128px !important;
  width: 100% !important;
  font-size: 12px !important;
  padding-inline: 10px !important;
}

.bbbsc-class-user-board__col--members .bbbsc-class-member-card__edit,
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__edit {
  grid-template-columns: minmax(120px, 1fr) minmax(128px, .85fr) !important;
  gap: 8px !important;
}

.bbbsc-client-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  flex-wrap: wrap;
  direction: rtl;
}

.bbbsc-client-pager__info {
  min-width: 170px;
  text-align: center;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .28);
}

.bbbsc-client-pager__btn {
  min-width: 74px;
}

@media (max-width: 760px) {
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card {
    grid-template-columns: 1fr !important;
  }
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card__role,
  .bbbsc-class-user-card__role,
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-user-card__role select,
  .bbbsc-class-user-card__role select,
  .bbbsc-class-member-card__edit select[name="role"] {
    min-width: 0 !important;
  }
  .bbbsc-class-user-board__col--members .bbbsc-class-member-card__edit,
  .bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__edit {
    grid-template-columns: 1fr !important;
  }
}

/* BBBSC v1.96.31 portal refinements */
.bbbsc-inline-action-field__button.is-expanded{background:#111827!important;color:#fff!important;border-color:#111827!important}
.bbbsc-sales-share-box{margin-top:14px;padding:14px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.08)}
.bbbsc-sales-share-box label{display:block;margin:0 0 10px}.bbbsc-sales-share-box input{width:100%;direction:ltr;text-align:left}
.bbbsc-sales-class-card__description,.bbbsc-storefront-class-card__description{margin:10px 0 0;color:#475569;font-size:13px;line-height:1.9;font-weight:600}
.bbbsc-class-status-box small{display:block;margin-top:6px;color:#64748b;font-size:11.5px;line-height:1.7}

/* v1.96.33 user portal refinements */
.bbbsc-avatar-field__placeholder[hidden]{display:none!important}
.bbbsc-avatar-field__preview.has-image .bbbsc-avatar-field__placeholder{display:none!important}
.bbbsc-user-portal-section--certificates-compact .bbbsc-user-portal-recordings{gap:10px}
.bbbsc-user-portal-section--certificates-compact .bbbsc-user-portal-recording-card{padding:14px!important;border-radius:18px!important}
.bbbsc-user-portal-section--certificates-compact .bbbsc-user-portal-recording-card__head{margin-bottom:10px!important}
.bbbsc-user-portal-section--certificates-compact .bbbsc-user-portal-recording-card__head h4{font-size:15px!important;line-height:1.8!important;margin:0!important}
.bbbsc-user-portal-section--certificates-compact .bbbsc-user-portal-recording-card__meta{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px!important;margin:8px 0!important}
.bbbsc-user-portal-section--certificates-compact .bbbsc-user-portal-recording-card__meta>div{padding:8px 10px!important;border-radius:12px!important}
.bbbsc-user-portal-mini-action{margin-top:10px;display:flex;justify-content:flex-start}
.bbbsc-user-portal-resources-modal .bbbsc-user-portal-recordings,
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings{max-height:65vh;overflow:auto;padding-inline-end:4px}
.bbbsc-certificate-order-modal .bbbsc-front-modal__dialog{max-width:680px}


/* v1.96.34 class title limits and organizer note */
.bbbsc-organizer-note{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  max-width:100%;
  margin:6px 0 0;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  line-height:1.7;
  white-space:normal;
  vertical-align:middle;
}
.bbbsc-organizer-note--inline{margin-inline-start:8px;margin-top:0;vertical-align:middle;}
.bbbsc-organizer-note--blue{color:#1d4ed8;background:#eff6ff;border:1px solid rgba(37,99,235,.18);}
.bbbsc-organizer-note--green{color:#047857;background:#ecfdf5;border:1px solid rgba(16,185,129,.20);}
.bbbsc-organizer-note--red{color:#b91c1c;background:#fef2f2;border:1px solid rgba(239,68,68,.20);}
.bbbsc-user-class-title .bbbsc-organizer-note,
.bbbsc-class-card__head .bbbsc-organizer-note{display:flex;width:max-content;margin-top:6px;}


/* v1.96.35 portal financial labels, template previews, guest mode spacing */
.bbbsc-guest-mode-field .bbbsc-field-title{display:block;margin-bottom:10px;font-weight:900;color:#0f172a}
.bbbsc-guest-mode-options{gap:12px!important}
.bbbsc-guest-mode-option{padding-top:12px!important;padding-bottom:12px!important}
.bbbsc-guest-mode-copy strong{display:block;margin-bottom:7px!important;line-height:1.65!important}
.bbbsc-guest-mode-copy small{display:block;line-height:1.9!important;color:#64748b!important}
.bbbsc-guest-membership-notice{border-color:rgba(22,163,74,.28)!important;background:#ecfdf5!important;color:#166534!important;font-weight:850!important}
.bbbsc-template-card__preview{overflow:hidden!important}
.bbbsc-template-card__canvas{position:relative!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;background:#f8fafc!important}
.bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{max-width:none!important;box-sizing:border-box!important}
.bbbsc-certificate-template-grid .bbbsc-template-card__canvas{height:230px!important}
.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{transform:scale(.255)!important;transform-origin:center center!important;width:1123px!important;height:794px!important;min-height:794px!important;margin:0!important;flex:0 0 auto!important}
@media (max-width:760px){.bbbsc-certificate-template-grid .bbbsc-template-card__canvas{height:168px!important}.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{transform:scale(.185)!important}}

/* v1.96.36 user exam card labels and class auto-join polish */
.bbbsc-user-exam-card__titles{display:grid;gap:3px;min-width:0}
.bbbsc-user-exam-card__label{display:block;font-size:11px;font-weight:900;color:#64748b;line-height:1.4}
.bbbsc-user-exam-card__class-title{display:block;font-size:13px;font-weight:850;color:#2563eb;line-height:1.6;word-break:break-word}
.bbbsc-class-auto-join-card{text-align:center;max-width:620px;margin:0 auto}
.bbbsc-class-auto-join-card h3{margin:14px 0 12px;font-size:20px;font-weight:950;line-height:1.8;color:#0f172a}


/* BBBSC v1.96.37 refinements */
.bbbsc-avatar-cropper-modal{z-index:2147483646!important}
.bbbsc-avatar-cropper-modal .bbbsc-front-modal__backdrop{z-index:0!important}
.bbbsc-avatar-cropper-modal .bbbsc-front-modal__dialog{z-index:2!important}
.bbbsc-datetime-split{grid-template-columns:minmax(0,1fr) 76px 76px!important;gap:8px!important}
.bbbsc-front-modal__dialog--class-builder .bbbsc-datetime-split{grid-template-columns:minmax(0,1.25fr) 74px 74px!important}
.bbbsc-datetime-split input[type=date],.bbbsc-datetime-split select{width:100%!important;min-width:0!important;height:42px!important;border-radius:12px!important}
.bbbsc-datetime-split__hour,.bbbsc-datetime-split__minute{direction:ltr;text-align:center;font-weight:800;font-variant-numeric:tabular-nums;background:#fff}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card,
.bbbsc-class-user-board__col--members .bbbsc-class-member-card{grid-template-columns:minmax(72px,.95fr) minmax(118px,1.1fr) 32px!important;gap:5px!important}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__edit,
.bbbsc-class-user-board__col--members .bbbsc-class-member-card__edit{grid-template-columns:minmax(74px,1fr) 68px!important;gap:4px!important;min-width:0!important}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__edit select[name="role_key"],
.bbbsc-class-user-board__col--members .bbbsc-class-member-card__edit select[name="role_key"]{max-width:68px!important;min-width:0!important;width:68px!important;padding:0 4px!important;font-size:10.5px!important;text-overflow:ellipsis!important}
.bbbsc-front-modal__dialog--xwide .bbbsc-class-member-card__actions,
.bbbsc-class-user-board__col--members .bbbsc-class-member-card__actions{justify-content:center!important;min-width:32px!important}
.bbbsc-member-action--x{width:28px!important;height:28px!important;min-height:28px!important;font-size:20px!important;line-height:24px!important}
.bbbsc-bank-question-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;min-width:0!important;flex-wrap:wrap!important}
.bbbsc-bank-question-actions form{margin:0!important}
.bbbsc-bank-question-actions .button{min-height:34px!important;padding:0 12px!important;border-radius:12px!important;font-size:12px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;white-space:nowrap!important}
.bbbsc-bank-question-actions .button-secondary{background:#eef2ff!important;border-color:#c7d2fe!important;color:#3730a3!important}
.bbbsc-bank-question-actions .button-link-delete{background:#fee2e2!important;border-color:#fecaca!important;color:#b91c1c!important;text-decoration:none!important}
.bbbsc-bank-pagination{padding:10px 0!important;border-top:1px solid rgba(148,163,184,.18);margin-top:12px!important}
.bbbsc-bank-pagination .button{border-radius:999px!important;min-height:34px!important;font-weight:900!important}
@media (max-width:782px){.bbbsc-datetime-split,.bbbsc-front-modal__dialog--class-builder .bbbsc-datetime-split{grid-template-columns:1fr 1fr!important}.bbbsc-datetime-split input[type=date]{grid-column:1/-1}.bbbsc-bank-question-actions{align-items:stretch!important}.bbbsc-bank-question-actions .button{width:100%!important}}

/* v1.96.40 unified centered date-time picker: modal backdrop */
.bbbsc-calendar-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(15,23,42,.38);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.bbbsc-calendar-backdrop[hidden]{display:none!important}
body.bbbsc-calendar-open{overflow:hidden!important}
.bbbsc-calendar-picker{position:fixed!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;z-index:99999!important;width:min(392px,calc(100vw - 28px))!important;max-height:calc(100vh - 32px);overflow:auto;padding:18px!important}
.bbbsc-calendar-picker__close{position:absolute;top:12px;inset-inline-end:12px;z-index:3;width:34px;height:34px;border:0;border-radius:12px;background:rgba(15,23,42,.08);color:#0f172a;font-size:24px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.bbbsc-calendar-picker__close:hover{background:rgba(239,68,68,.12);color:#dc2626}
.bbbsc-calendar-picker__time{display:grid!important}
.bbbsc-calendar-picker__header{padding-inline-end:34px}
.bbbsc-datetime-split{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.bbbsc-front-modal__dialog--class-builder .bbbsc-datetime-split{grid-template-columns:minmax(0,1fr)!important}
.bbbsc-datetime-split input[type=date]{width:100%!important;min-width:0!important;height:42px!important;border-radius:12px!important}
.bbbsc-datetime-split__hour,.bbbsc-datetime-split__minute{display:block!important}
@media(max-width:640px){.bbbsc-calendar-picker{width:calc(100vw - 16px)!important;border-radius:22px!important;max-height:calc(100vh - 18px);padding:14px!important}.bbbsc-calendar-picker__grid{gap:5px!important}.bbbsc-calendar-picker__day{min-height:38px!important}}

/* v1.96.40 unified centered date-time picker */
.bbbsc-calendar-picker__time{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 4px;padding:10px;border-radius:16px;background:rgba(248,250,252,.92);border:1px solid rgba(148,163,184,.28)}
.bbbsc-calendar-picker__time label{display:grid;gap:6px;font-size:12px;font-weight:900;color:#475569}
.bbbsc-calendar-picker__time select{display:block!important;width:100%;height:42px;border-radius:12px;border:1px solid rgba(148,163,184,.45);background:#fff;color:#0f172a;font-weight:900;text-align:center;direction:ltr;font-variant-numeric:tabular-nums}
.bbbsc-datetime-unified-field input[type=datetime-local]{width:100%!important;min-width:0!important;height:42px!important;border-radius:12px!important}
.bbbsc-datetime-split__hour,.bbbsc-datetime-split__minute{display:block!important}

/* v1.96.41 toast-only validation: keep required display-name errors at bottom notification */


/* v1.96.42 fixes: bottom toast only, certificate preview fit, RTL calendar arrows, financial Persian polish */
.bbbsc-toast-stack{left:18px!important;right:auto!important;bottom:18px!important;z-index:100000!important}
.bbbsc-calendar-picker__header .bbbsc-calendar-picker__nav{font-family:Tahoma,Arial,sans-serif!important;direction:ltr!important}
.bbbsc-certificate-template-grid .bbbsc-template-card__preview{overflow:hidden!important;border-radius:24px!important;background:linear-gradient(135deg,#f8fafc,#e2e8f0)!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:250px!important}
.bbbsc-certificate-template-grid .bbbsc-template-card__canvas{width:100%!important;height:250px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;box-sizing:border-box!important}
.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-certificate-sheet,
.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{transform:scale(.245)!important;transform-origin:center center!important;width:1123px!important;height:794px!important;min-width:1123px!important;min-height:794px!important;margin:0!important;box-shadow:0 16px 40px rgba(15,23,42,.16)!important}
.bbbsc-template-card__preview img,.bbbsc-template-selector__card-canvas img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;display:block!important}
.bbbsc-portal-finance-table th,.bbbsc-portal-finance-table td,
.bbbsc-billing-table th,.bbbsc-billing-table td,
.bbbsc-wallet-table th,.bbbsc-wallet-table td{direction:rtl!important;text-align:right!important;font-family:var(--bbbsc-system-font,"IRANSansX","Vazirmatn",Tahoma,Arial,sans-serif)!important}
@media(max-width:760px){.bbbsc-certificate-template-grid .bbbsc-template-card__preview{min-height:180px!important}.bbbsc-certificate-template-grid .bbbsc-template-card__canvas{height:180px!important}.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-certificate-sheet,.bbbsc-certificate-template-grid .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{transform:scale(.17)!important}}


/* v1.96.43 sales subtabs hover contrast + question bank tag cleanup */
.bbbsc-sales-subtab:hover,
.bbbsc-sales-subtab:focus,
.bbbsc-sales-subtab:focus-visible{
  color:#0f172a!important;
  background:linear-gradient(180deg,#ffffff 0%,#eef6ff 100%)!important;
  border-color:rgba(37,99,235,.38)!important;
}
.bbbsc-sales-subtab.is-active,
.bbbsc-sales-subtab.is-active:hover,
.bbbsc-sales-subtab.is-active:focus,
.bbbsc-sales-subtab.is-active:focus-visible{
  color:#0b3b8f!important;
  background:linear-gradient(180deg,#ffffff 0%,#dbeafe 100%)!important;
  border-color:rgba(37,99,235,.48)!important;
}


/* BBBSC 1.96.48 - Elementor editor/preview compatibility */
.elementor-editor-active .elementor-widget-bbbsc_header_menu,
.elementor-editor-active .elementor-widget-bbbsc_footer_dock,
.elementor-editor-active .elementor-widget-bbbsc_online_hero_content,
.elementor-editor-active .elementor-widget-bbbsc_random_stats,
.elementor-editor-active .elementor-widget-bbbsc_lux_reviews_slider,
.elementor-editor-active .elementor-widget-bbbsc_only_faq_box,
.elementor-editor-active .elementor-widget-bbbsc_plan_comparison,
.elementor-editor-active .elementor-widget-bbbsc_feature_journey,
.elementor-editor-preview .elementor-widget-bbbsc_header_menu,
.elementor-editor-preview .elementor-widget-bbbsc_footer_dock,
.elementor-editor-preview .elementor-widget-bbbsc_online_hero_content,
.elementor-editor-preview .elementor-widget-bbbsc_random_stats,
.elementor-editor-preview .elementor-widget-bbbsc_lux_reviews_slider,
.elementor-editor-preview .elementor-widget-bbbsc_only_faq_box,
.elementor-editor-preview .elementor-widget-bbbsc_plan_comparison,
.elementor-editor-preview .elementor-widget-bbbsc_feature_journey{direction:rtl;font-family:var(--bbbsc-system-font,Tahoma,Arial,sans-serif);max-width:100%;}
.elementor-editor-active .elementor-widget-bbbsc_header_menu *,
.elementor-editor-active .elementor-widget-bbbsc_footer_dock *,
.elementor-editor-active .elementor-widget-bbbsc_online_hero_content *,
.elementor-editor-active .elementor-widget-bbbsc_random_stats *,
.elementor-editor-active .elementor-widget-bbbsc_lux_reviews_slider *,
.elementor-editor-active .elementor-widget-bbbsc_only_faq_box *,
.elementor-editor-active .elementor-widget-bbbsc_plan_comparison *,
.elementor-editor-active .elementor-widget-bbbsc_feature_journey *{box-sizing:border-box;}
.elementor-editor-active .bbbsc-header-menu,
.elementor-editor-active .bbbsc-footer-nav,
.elementor-editor-active .bbbsc-online-hero-content,
.elementor-editor-active .bbbsc-random-stats-widget,
.elementor-editor-active .bbbsc-lux-reviews-widget,
.elementor-editor-active .bbbsc-only-faq-widget,
.elementor-editor-active .bbbsc-journey,
.elementor-editor-active .bbbsc-plan-comparison{width:100%;max-width:100%;}
.elementor-editor-active .bbbsc-header-menu__shell,
.elementor-editor-preview .bbbsc-header-menu__shell{z-index:2;}
.elementor-editor-active .bbbsc-header-menu__panel{z-index:99999;}
.elementor-editor-active .bbbsc-quick-access-modal[aria-hidden="true"]{display:none!important;}
.elementor-editor-active .lux-track{will-change:transform;}
.elementor-editor-active .faq-answer{overflow:hidden;}
.elementor-editor-active .bbbsc-front-wrap{max-width:100%;}
.bbbsc-required-star{display:inline-block;margin:0 4px;color:#dc2626;font-weight:900;font-size:15px;line-height:1;vertical-align:middle}


/* bbbsc header menu mobile fullscreen premium controls */
.bbbsc-header-menu__mobile-panel-head{display:none}
.bbbsc-header-menu{--bbbsc-header-mobile-bg:rgba(15,23,42,.96);--bbbsc-header-mobile-bg-2:rgba(29,78,216,.92);--bbbsc-header-mobile-text:#fff;--bbbsc-header-mobile-muted:rgba(226,232,240,.72);--bbbsc-header-mobile-border:rgba(255,255,255,.14);--bbbsc-header-mobile-glow-1:rgba(56,189,248,.25);--bbbsc-header-mobile-glow-2:rgba(124,58,237,.22);--bbbsc-header-mobile-toggle-bg:rgba(255,255,255,.14);--bbbsc-header-mobile-toggle-bg-2:rgba(255,255,255,.08);--bbbsc-header-mobile-toggle-icon:#fff;--bbbsc-header-mobile-toggle-border:rgba(255,255,255,.18);--bbbsc-header-mobile-toggle-size:50px;--bbbsc-header-mobile-toggle-radius:18px;--bbbsc-header-mobile-toggle-line-width:22px;--bbbsc-header-mobile-toggle-line-height:2px;--bbbsc-header-mobile-item-bg:rgba(255,255,255,.10);--bbbsc-header-mobile-item-hover-bg:rgba(255,255,255,.18);--bbbsc-header-mobile-item-text:#fff;--bbbsc-header-mobile-item-active-bg:#fff;--bbbsc-header-mobile-item-active-text:#0f172a;--bbbsc-header-mobile-item-border:rgba(255,255,255,.13);--bbbsc-header-mobile-item-radius:20px;--bbbsc-header-mobile-item-min-height:62px;--bbbsc-header-mobile-item-gap:12px;--bbbsc-header-mobile-close-bg:rgba(255,255,255,.10);--bbbsc-header-mobile-close-color:#fff}
@media (max-width:782px){
body.bbbsc-header-menu-open{overflow:hidden}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle{width:var(--bbbsc-header-mobile-toggle-size);height:var(--bbbsc-header-mobile-toggle-size);min-width:var(--bbbsc-header-mobile-toggle-size);min-height:var(--bbbsc-header-mobile-toggle-size);padding:0;border-radius:var(--bbbsc-header-mobile-toggle-radius);background:linear-gradient(135deg,var(--bbbsc-header-mobile-toggle-bg),var(--bbbsc-header-mobile-toggle-bg-2));border-color:var(--bbbsc-header-mobile-toggle-border);color:var(--bbbsc-header-mobile-toggle-icon);box-shadow:0 16px 38px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.10)}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-hamburger-pill .bbbsc-header-menu__toggle{width:auto;min-width:calc(var(--bbbsc-header-mobile-toggle-size) + 22px);padding:0 16px;border-radius:999px}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-hamburger-circle .bbbsc-header-menu__toggle{border-radius:999px}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-hamburger-minimal .bbbsc-header-menu__toggle{background:transparent;box-shadow:none;border-color:transparent}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-hamburger-gradient .bbbsc-header-menu__toggle{background:linear-gradient(135deg,var(--bbbsc-header-primary,#1d4ed8),var(--bbbsc-header-secondary,#0ea5e9));border-color:transparent}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle-icon{gap:5px}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle-icon span{width:var(--bbbsc-header-mobile-toggle-line-width);height:var(--bbbsc-header-mobile-toggle-line-height);background:var(--bbbsc-header-mobile-toggle-icon)}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel{position:fixed;inset:0;right:0;left:0;top:0;width:100vw;height:100vh;height:100dvh;z-index:999999;display:flex;flex-direction:column;gap:18px;padding:calc(22px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));border-radius:0;background:radial-gradient(circle at 12% 12%,var(--bbbsc-header-mobile-glow-1),transparent 28%),radial-gradient(circle at 88% 18%,var(--bbbsc-header-mobile-glow-2),transparent 30%),linear-gradient(135deg,var(--bbbsc-header-mobile-bg),var(--bbbsc-header-mobile-bg-2));border:0;border-inline-start:1px solid var(--bbbsc-header-mobile-border);box-shadow:none;backdrop-filter:blur(22px);overflow:auto;overscroll-behavior:contain;color:var(--bbbsc-header-mobile-text);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px);transition:opacity .28s ease,transform .32s cubic-bezier(.2,.8,.2,1),visibility .28s ease}
.bbbsc-header-menu.is-mobile-fullscreen.is-open .bbbsc-header-menu__panel{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0,0) scale(1);animation:bbbscHeaderMobileItems .42s ease both}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-open-fade .bbbsc-header-menu__panel{transform:none}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-open-slide-up .bbbsc-header-menu__panel{transform:translateY(36px)}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-open-slide-down .bbbsc-header-menu__panel{transform:translateY(-36px)}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-open-slide-right .bbbsc-header-menu__panel{transform:translateX(42px)}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-open-scale .bbbsc-header-menu__panel{transform:scale(.94)}
.bbbsc-header-menu.is-mobile-fullscreen.is-mobile-open-blur .bbbsc-header-menu__panel{transform:scale(.98);filter:blur(8px)}
.bbbsc-header-menu.is-mobile-fullscreen.is-open.is-mobile-open-blur .bbbsc-header-menu__panel{filter:blur(0)}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:2;flex:0 0 auto;padding-bottom:4px}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-brand{display:flex;align-items:center;gap:12px;min-width:0;color:var(--bbbsc-header-mobile-text)}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-brand img{width:auto;max-width:min(46vw,170px);max-height:46px;object-fit:contain}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-brand strong{display:block;font-size:16px;font-weight:900;line-height:1.4}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-brand span{display:block;margin-top:3px;color:var(--bbbsc-header-mobile-muted);font-size:12px;line-height:1.7;max-width:50vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-close{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border-radius:999px;border:1px solid var(--bbbsc-header-mobile-border);background:var(--bbbsc-header-mobile-close-bg);color:var(--bbbsc-header-mobile-close-color);backdrop-filter:blur(14px);cursor:pointer;font-weight:800;white-space:nowrap}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-close i{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;background:rgba(255,255,255,.12);font-style:normal;font-size:20px;line-height:1}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__nav{display:grid;gap:var(--bbbsc-header-mobile-item-gap);width:100%;margin-top:6px;flex:0 0 auto}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link{width:100%;min-height:var(--bbbsc-header-mobile-item-min-height);padding:10px 14px;border-radius:var(--bbbsc-header-mobile-item-radius);background:var(--bbbsc-header-mobile-item-bg);border-color:var(--bbbsc-header-mobile-item-border);color:var(--bbbsc-header-mobile-item-text)!important;box-shadow:0 14px 30px rgba(15,23,42,.10),inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(14px);transform:none;opacity:0;animation:bbbscHeaderMobileLink .42s ease forwards}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link:nth-child(1){animation-delay:.05s}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link:nth-child(2){animation-delay:.09s}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link:nth-child(3){animation-delay:.13s}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link:nth-child(4){animation-delay:.17s}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link:nth-child(n+5){animation-delay:.21s}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link:hover{background:var(--bbbsc-header-mobile-item-hover-bg);color:var(--bbbsc-header-mobile-item-text)!important;transform:translateY(-1px)}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link.is-active{background:var(--bbbsc-header-mobile-item-active-bg);color:var(--bbbsc-header-mobile-item-active-text)!important;border-color:var(--bbbsc-header-mobile-item-active-bg)}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link-icon{background:rgba(255,255,255,.12);color:currentColor}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link-text{font-size:15px}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__badge{margin-inline-start:auto}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel .bbbsc-header-menu__cta-wrap{display:flex;width:100%;margin-top:auto;padding-top:12px}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel .bbbsc-header-menu__cta{display:flex;width:100%;min-height:58px;border-radius:var(--bbbsc-header-cta-radius,18px);justify-content:center}
.bbbsc-header-menu.is-mobile-theme-bright-glass{--bbbsc-header-mobile-bg:rgba(248,250,252,.94);--bbbsc-header-mobile-bg-2:rgba(219,234,254,.90);--bbbsc-header-mobile-text:#0f172a;--bbbsc-header-mobile-muted:#475569;--bbbsc-header-mobile-border:rgba(15,23,42,.10);--bbbsc-header-mobile-item-bg:rgba(255,255,255,.70);--bbbsc-header-mobile-item-text:#0f172a;--bbbsc-header-mobile-item-hover-bg:#fff;--bbbsc-header-mobile-toggle-icon:#0f172a}
.bbbsc-header-menu.is-mobile-theme-blue-gradient{--bbbsc-header-mobile-bg:rgba(30,64,175,.96);--bbbsc-header-mobile-bg-2:rgba(14,165,233,.92)}
.bbbsc-header-menu.is-mobile-theme-purple-glow{--bbbsc-header-mobile-bg:rgba(49,46,129,.96);--bbbsc-header-mobile-bg-2:rgba(124,58,237,.92);--bbbsc-header-mobile-glow-1:rgba(236,72,153,.22);--bbbsc-header-mobile-glow-2:rgba(59,130,246,.24)}
.bbbsc-header-menu.is-mobile-theme-minimal-light{--bbbsc-header-mobile-bg:#ffffff;--bbbsc-header-mobile-bg-2:#f8fafc;--bbbsc-header-mobile-text:#0f172a;--bbbsc-header-mobile-muted:#64748b;--bbbsc-header-mobile-border:rgba(15,23,42,.10);--bbbsc-header-mobile-item-bg:#f1f5f9;--bbbsc-header-mobile-item-hover-bg:#e2e8f0;--bbbsc-header-mobile-item-text:#0f172a;--bbbsc-header-mobile-toggle-icon:#0f172a}
}
@keyframes bbbscHeaderMobileLink{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes bbbscHeaderMobileItems{from{opacity:.98}to{opacity:1}}


/* bbbsc header mobile fullscreen hotfix: visibility + open-state precedence */
@media (max-width:1024px){
.bbbsc-header-menu.is-mobile-fullscreen{position:relative;z-index:1000}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__shell{grid-template-columns:minmax(0,1fr) auto!important;overflow:visible!important}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;position:relative;z-index:1002}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;position:relative;z-index:1003;color:var(--bbbsc-header-mobile-toggle-icon,#fff)!important}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle-icon{display:grid!important;place-items:center;gap:5px!important;min-width:var(--bbbsc-header-mobile-toggle-line-width,22px)}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle-icon span{display:block!important;opacity:1;width:var(--bbbsc-header-mobile-toggle-line-width,22px)!important;height:var(--bbbsc-header-mobile-toggle-line-height,2px)!important;background:var(--bbbsc-header-mobile-toggle-icon,#fff)!important}
.bbbsc-header-menu.is-mobile-fullscreen.is-open .bbbsc-header-menu__toggle-icon span:nth-child(2){opacity:0!important}
.bbbsc-header-menu.is-mobile-fullscreen.is-open .bbbsc-header-menu__panel{display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate3d(0,0,0) scale(1)!important;filter:none!important}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel{right:0!important;left:0!important;top:0!important;bottom:0!important}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-head{display:flex!important}
}
@media (min-width:783px) and (max-width:1024px){
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel{position:absolute;inset:auto 0 auto 0;height:auto;min-height:0;border-radius:24px}
}


/* bbbsc footer mobile no horizontal scroll hotfix */
.bbbsc-footer-nav,
.bbbsc-footer-nav *{box-sizing:border-box}
.bbbsc-footer-nav{max-width:100%;width:100%;overflow-x:clip}
@supports not (overflow: clip){.bbbsc-footer-nav{overflow-x:hidden}}
@media (max-width:782px){
.bbbsc-footer-nav{inline-size:100%;max-inline-size:100vw;overflow-x:hidden}
.bbbsc-footer-nav__shell{display:none!important}
.bbbsc-footer-nav__mobile-spacer{display:block;width:100%;max-width:100%;height:calc(92px + env(safe-area-inset-bottom));overflow:hidden}
.bbbsc-footer-nav__mobile{
  display:grid!important;
  grid-template-columns:repeat(var(--bbbsc-footer-mobile-count,5),minmax(0,1fr))!important;
  width:auto!important;
  max-width:calc(100vw - 20px)!important;
  min-width:0!important;
  left:10px!important;
  right:10px!important;
  margin:0!important;
  padding:8px 8px calc(8px + env(safe-area-inset-bottom)/3)!important;
  gap:6px!important;
  overflow:hidden!important;
  transform:none!important;
}
.bbbsc-footer-nav:not(.is-mobile-sticky) .bbbsc-footer-nav__mobile{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:100%!important;
}
.bbbsc-footer-nav.is-mobile-sticky .bbbsc-footer-nav__mobile{
  position:fixed!important;
  inset-inline-start:max(8px,env(safe-area-inset-left))!important;
  inset-inline-end:max(8px,env(safe-area-inset-right))!important;
  bottom:calc(8px + env(safe-area-inset-bottom))!important;
  width:auto!important;
  max-width:none!important;
}
.bbbsc-footer-nav__mobile-link{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  padding-inline:2px!important;
}
.bbbsc-footer-nav__mobile-icon{
  width:40px!important;
  height:40px!important;
  max-width:100%!important;
  flex:0 0 auto!important;
}
.bbbsc-footer-nav__mobile-icon-wrap{max-width:100%;min-width:0}
.bbbsc-footer-nav__mobile-badge{
  left:0!important;
  right:auto!important;
  transform:translateX(-10%)!important;
  max-width:32px!important;
  overflow:hidden!important;
}
.bbbsc-footer-nav__mobile-text{
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bbbsc-footer-nav__extras,
.bbbsc-footer-nav__trusts,
.bbbsc-footer-nav__trust{max-width:100%;min-width:0}
}
@media (max-width:420px){
.bbbsc-footer-nav.is-mobile-sticky .bbbsc-footer-nav__mobile{
  inset-inline-start:6px!important;
  inset-inline-end:6px!important;
  bottom:calc(6px + env(safe-area-inset-bottom))!important;
}
.bbbsc-footer-nav__mobile{max-width:calc(100vw - 12px)!important;border-radius:22px!important;gap:4px!important;padding-inline:6px!important}
.bbbsc-footer-nav__mobile-icon{width:38px!important;height:38px!important;border-radius:14px!important}
.bbbsc-footer-nav__mobile-text{font-size:9.5px!important}
}


/* bbbsc mobile global no-horizontal-scroll guard for all plugin widgets */
@media (max-width:782px){
html,body{max-width:100%!important;overflow-x:hidden!important}
.elementor-widget-bbbsc_header_menu,
.elementor-widget-bbbsc_footer_dock,
.elementor-widget-bbbsc_open_classes_carousel,
.elementor-widget-bbbsc_online_hero_content,
.elementor-widget-bbbsc_lux_reviews_slider,
.elementor-widget-bbbsc_only_faq_box,
.elementor-widget-bbbsc_random_stats,
.elementor-widget-bbbsc_feature_journey,
.elementor-widget-bbbsc_plan_comparison,
.elementor-widget-bbbsc_header_menu > .elementor-widget-container,
.elementor-widget-bbbsc_footer_dock > .elementor-widget-container,
.elementor-widget-bbbsc_open_classes_carousel > .elementor-widget-container,
.elementor-widget-bbbsc_online_hero_content > .elementor-widget-container,
.elementor-widget-bbbsc_lux_reviews_slider > .elementor-widget-container,
.elementor-widget-bbbsc_only_faq_box > .elementor-widget-container,
.elementor-widget-bbbsc_random_stats > .elementor-widget-container,
.elementor-widget-bbbsc_feature_journey > .elementor-widget-container,
.elementor-widget-bbbsc_plan_comparison > .elementor-widget-container{
  max-width:100%!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:clip!important;
  box-sizing:border-box!important;
}
@supports not (overflow:clip){
  .elementor-widget-bbbsc_header_menu,
  .elementor-widget-bbbsc_footer_dock,
  .elementor-widget-bbbsc_open_classes_carousel,
  .elementor-widget-bbbsc_online_hero_content,
  .elementor-widget-bbbsc_lux_reviews_slider,
  .elementor-widget-bbbsc_only_faq_box,
  .elementor-widget-bbbsc_random_stats,
  .elementor-widget-bbbsc_feature_journey,
  .elementor-widget-bbbsc_plan_comparison{overflow-x:hidden!important}
}
.bbbsc-header-menu,
.bbbsc-footer-nav,
.bbbsc-open-classes-carousel,
.bbbsc-online-hero-content,
.bbbsc-random-stats-widget,
.bbbsc-lux-reviews-widget,
.bbbsc-only-faq-widget,
.bbb-random-stats,
.lux-reviews-only,
.only-faq-box{
  max-width:100%!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow-x:clip!important;
}
@supports not (overflow:clip){
  .bbbsc-header-menu,
  .bbbsc-footer-nav,
  .bbbsc-open-classes-carousel,
  .bbbsc-online-hero-content,
  .bbbsc-random-stats-widget,
  .bbbsc-lux-reviews-widget,
  .bbbsc-only-faq-widget,
  .bbb-random-stats,
  .lux-reviews-only,
  .only-faq-box{overflow-x:hidden!important}
}
.bbbsc-header-menu *,
.bbbsc-footer-nav *,
.bbbsc-open-classes-carousel *,
.bbbsc-online-hero-content *,
.bbbsc-random-stats-widget *,
.bbbsc-lux-reviews-widget *,
.bbbsc-only-faq-widget *,
.bbb-random-stats *,
.lux-reviews-only *,
.only-faq-box *{box-sizing:border-box}
.bbbsc-header-menu img,
.bbbsc-footer-nav img,
.bbbsc-open-classes-carousel img,
.bbbsc-online-hero-content img,
.bbbsc-lux-reviews-widget img,
.bbbsc-only-faq-widget img{max-width:100%;height:auto}
.bbbsc-header-menu__shell,
.bbbsc-footer-nav__shell,
.bbbsc-open-classes-carousel__shell,
.bbbsc-open-classes-carousel__viewport,
.bbbsc-online-hero-content,
.bbbsc-online-hero-content .hero-wrap,
.bbbsc-random-stats-widget,
.bbbsc-lux-reviews-widget,
.bbbsc-only-faq-widget{max-width:100%!important;min-width:0!important}
.bbbsc-open-classes-carousel__track{min-width:0!important}
.bbbsc-open-classes-carousel__item{min-width:0!important}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  inset:0!important;
  right:0!important;
  left:0!important;
  margin:0!important;
  overflow-x:hidden!important;
}
.bbbsc-header-menu__mobile-actions,
.bbbsc-header-menu__brand,
.bbbsc-header-menu__logo,
.bbbsc-header-menu__panel,
.bbbsc-header-menu__nav,
.bbbsc-header-menu__link,
.bbbsc-header-menu__link-main,
.bbbsc-footer-nav__mobile,
.bbbsc-footer-nav__mobile-link,
.bbbsc-footer-nav__mobile-icon-wrap,
.bbbsc-footer-nav__mobile-text{min-width:0!important;max-width:100%!important}
.bbbsc-footer-nav__mobile-badge{max-width:28px!important;min-width:18px!important;padding-inline:5px!important;left:0!important}
}
@media (max-width:520px){
.bbbsc-header-menu__mobile-cta{max-width:42vw!important}
.bbbsc-header-menu__logo img{max-width:min(50vw,160px)!important}
}


/* bbbsc footer final mobile width clamp */
@media (max-width:782px){
.bbbsc-footer-nav .bbbsc-footer-nav__mobile{
  box-sizing:border-box!important;
  inline-size:auto!important;
  max-inline-size:none!important;
  min-inline-size:0!important;
  inset-inline-start:max(6px,env(safe-area-inset-left))!important;
  inset-inline-end:max(6px,env(safe-area-inset-right))!important;
}
.bbbsc-footer-nav:not(.is-mobile-sticky) .bbbsc-footer-nav__mobile{
  inline-size:100%!important;
  max-inline-size:100%!important;
  inset-inline-start:auto!important;
  inset-inline-end:auto!important;
}
.bbbsc-footer-nav__trusts{flex-wrap:wrap!important}
.bbbsc-footer-nav__trust{max-width:100%!important;min-width:0!important;width:auto!important}
}

/* v1.96.62 header mobile fullscreen + sticky polished defaults */
.bbbsc-header-menu{--bbbsc-header-sticky-top:12px;--bbbsc-header-sticky-mobile-top:8px;--bbbsc-header-sticky-bg:rgba(255,255,255,.92);--bbbsc-header-sticky-text:#0f172a;--bbbsc-header-sticky-muted:#475569;--bbbsc-header-sticky-border:rgba(15,23,42,.10);--bbbsc-header-sticky-shadow-color:rgba(15,23,42,.14)}
@media (min-width:1025px){.bbbsc-header-menu.is-sticky-desktop{position:sticky!important;top:var(--bbbsc-header-sticky-top,12px)!important;z-index:9990!important;transition:transform .25s ease,filter .25s ease}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__shell{background:var(--bbbsc-header-sticky-bg)!important;color:var(--bbbsc-header-sticky-text)!important;border-color:var(--bbbsc-header-sticky-border)!important;box-shadow:0 18px 46px var(--bbbsc-header-sticky-shadow-color)!important;backdrop-filter:blur(18px)!important}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__title,.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__link{color:var(--bbbsc-header-sticky-text)!important}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__subtitle,.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__eyebrow{color:var(--bbbsc-header-sticky-muted)!important}.bbbsc-header-menu.is-sticky-desktop.is-sticky-compact.is-scrolled .bbbsc-header-menu__shell{min-height:58px!important;padding-block:10px!important;border-radius:22px!important}.bbbsc-header-menu.is-sticky-desktop.is-sticky-compact.is-scrolled .bbbsc-header-menu__logo img{max-height:50px!important}.bbbsc-header-menu.is-sticky-desktop.is-sticky-compact.is-scrolled .bbbsc-header-menu__subtitle,.bbbsc-header-menu.is-sticky-desktop.is-sticky-compact.is-scrolled .bbbsc-header-menu__eyebrow{display:none!important}.bbbsc-header-menu.is-sticky-desktop.is-sticky-compact.is-scrolled .bbbsc-header-menu__link,.bbbsc-header-menu.is-sticky-desktop.is-sticky-compact.is-scrolled .bbbsc-header-menu__cta{min-height:42px!important}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__link{background:rgba(15,23,42,.04)!important;border-color:rgba(15,23,42,.08)!important}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__link:hover{background:rgba(15,23,42,.08)!important}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__link.is-active{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}.bbbsc-header-menu.is-sticky-desktop.is-scrolled .bbbsc-header-menu__cta{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}}
@media (min-width:783px) and (max-width:1024px){.bbbsc-header-menu.is-sticky-tablet{position:sticky!important;top:var(--bbbsc-header-sticky-top,12px)!important;z-index:9990!important}.bbbsc-header-menu.is-sticky-tablet.is-scrolled .bbbsc-header-menu__shell{background:var(--bbbsc-header-sticky-bg)!important;color:var(--bbbsc-header-sticky-text)!important;border-color:var(--bbbsc-header-sticky-border)!important;box-shadow:0 18px 46px var(--bbbsc-header-sticky-shadow-color)!important;backdrop-filter:blur(18px)!important}.bbbsc-header-menu.is-sticky-tablet.is-sticky-compact.is-scrolled .bbbsc-header-menu__shell{padding-block:10px!important;border-radius:22px!important}}
@media (max-width:782px){
.bbbsc-header-menu.is-sticky-mobile{position:sticky!important;top:var(--bbbsc-header-sticky-mobile-top,8px)!important;z-index:9990!important}.bbbsc-header-menu.is-sticky-mobile.is-scrolled .bbbsc-header-menu__shell{background:var(--bbbsc-header-sticky-bg)!important;color:var(--bbbsc-header-sticky-text)!important;border-color:var(--bbbsc-header-sticky-border)!important;box-shadow:0 16px 38px var(--bbbsc-header-sticky-shadow-color)!important;backdrop-filter:blur(18px)!important}.bbbsc-header-menu.is-sticky-mobile.is-sticky-compact.is-scrolled .bbbsc-header-menu__shell{padding:9px 10px!important;border-radius:18px!important}.bbbsc-header-menu.is-sticky-mobile.is-sticky-compact.is-scrolled .bbbsc-header-menu__logo img{max-height:38px!important}.bbbsc-header-menu.is-sticky-mobile.is-sticky-compact.is-scrolled .bbbsc-header-menu__toggle{--bbbsc-header-mobile-toggle-size:44px}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle{background:linear-gradient(135deg,var(--bbbsc-header-mobile-toggle-bg,#fff),var(--bbbsc-header-mobile-toggle-bg-2,#e0f2fe))!important;color:var(--bbbsc-header-mobile-toggle-icon,#0f172a)!important;border-color:var(--bbbsc-header-mobile-toggle-border,rgba(15,23,42,.14))!important;box-shadow:0 16px 32px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.65)!important}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__toggle-icon span{background:var(--bbbsc-header-mobile-toggle-icon,#0f172a)!important}
.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__panel{position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;max-width:none!important;min-width:0!important;height:100vh!important;height:100dvh!important;margin:0!important;border-radius:0!important;padding:calc(22px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:999999!important;background:radial-gradient(circle at 10% 8%,var(--bbbsc-header-mobile-glow-1,rgba(56,189,248,.25)),transparent 28%),radial-gradient(circle at 90% 18%,var(--bbbsc-header-mobile-glow-2,rgba(124,58,237,.22)),transparent 30%),linear-gradient(135deg,var(--bbbsc-header-mobile-bg,rgba(15,23,42,.96)),var(--bbbsc-header-mobile-bg-2,rgba(29,78,216,.92)))!important;box-shadow:none!important}.bbbsc-header-menu.is-mobile-fullscreen.is-open .bbbsc-header-menu__panel{display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate3d(0,0,0) scale(1)!important;filter:none!important}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__mobile-panel-head{display:flex!important;width:100%!important}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__nav{width:100%!important}.bbbsc-header-menu.is-mobile-fullscreen .bbbsc-header-menu__link{width:100%!important;max-width:100%!important}.bbbsc-header-menu.is-mobile-theme-bright-glass .bbbsc-header-menu__panel,.bbbsc-header-menu.is-mobile-theme-minimal-light .bbbsc-header-menu__panel{background:radial-gradient(circle at 10% 8%,rgba(14,165,233,.16),transparent 28%),radial-gradient(circle at 90% 18%,rgba(99,102,241,.13),transparent 30%),linear-gradient(135deg,var(--bbbsc-header-mobile-bg,#fff),var(--bbbsc-header-mobile-bg-2,#f8fafc))!important}.bbbsc-header-menu.is-mobile-theme-bright-glass .bbbsc-header-menu__mobile-close,.bbbsc-header-menu.is-mobile-theme-minimal-light .bbbsc-header-menu__mobile-close{color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;background:rgba(255,255,255,.72)!important}.bbbsc-header-menu.is-mobile-theme-bright-glass .bbbsc-header-menu__link,.bbbsc-header-menu.is-mobile-theme-minimal-light .bbbsc-header-menu__link{box-shadow:0 14px 32px rgba(15,23,42,.08)!important}.bbbsc-header-menu.is-mobile-theme-bright-glass .bbbsc-header-menu__link.is-active,.bbbsc-header-menu.is-mobile-theme-minimal-light .bbbsc-header-menu__link.is-active{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
}

/* BBBSC 1.96.84 global UI font */
@font-face{font-family:"BBBSC System Font";src:url("/wp-content/uploads/bbb-cert-font/font1.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap}
.bbbsc-front-wrap,.bbbsc-front-wrap *,.bbbsc-standalone-join,.bbbsc-standalone-join *,.bbbsc-class-portal-page,.bbbsc-class-portal-page *,.bbbsc-customer-portal,.bbbsc-customer-portal *,.bbbsc-user-portal,.bbbsc-user-portal *{font-family:var(--bbbsc-system-font,"BBBSC System Font",Tahoma,Arial,sans-serif)!important}
.bbbsc-front-wrap input,.bbbsc-front-wrap textarea,.bbbsc-front-wrap select,.bbbsc-front-wrap button,.bbbsc-standalone-join input,.bbbsc-standalone-join textarea,.bbbsc-standalone-join select,.bbbsc-standalone-join button{font-family:var(--bbbsc-system-font,"BBBSC System Font",Tahoma,Arial,sans-serif)!important}
.bbbsc-class-start-countdown{margin:12px 0 16px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#ffffff);box-shadow:0 14px 34px rgba(37,99,235,.08);text-align:center;direction:rtl}
.bbbsc-class-start-countdown__label{display:block;color:#1e3a8a;font-size:13px;font-weight:900;margin-bottom:8px}
.bbbsc-class-start-countdown__time{direction:ltr;unicode-bidi:plaintext;display:inline-flex;align-items:center;justify-content:center;min-width:178px;padding:9px 15px;border-radius:16px;background:#1d4ed8;color:#fff;font-size:24px;font-weight:950;letter-spacing:.04em;box-shadow:0 14px 28px rgba(29,78,216,.22)}
.bbbsc-class-start-countdown__date{display:block;margin-top:9px;color:#475569;font-size:12px;font-weight:800;line-height:1.9}
.bbbsc-class-start-countdown__hint{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.8}


/* BBBSC 1.96.86 - live classes standalone landing page */
.bbbsc-live-classes-page{min-height:calc(100vh - 32px);direction:rtl;background:radial-gradient(circle at 22% 48%,rgba(37,99,235,.18) 0 18%,transparent 19%),linear-gradient(135deg,#f7fbff 0%,#eaf2fb 46%,#f8fbff 100%);color:#172554;border-radius:0;overflow:hidden;padding:0!important;margin:0 auto!important;max-width:none!important;width:100%!important}
.bbbsc-live-classes-page *{box-sizing:border-box}
.bbbsc-live-classes-shell{width:min(1240px,calc(100vw - 44px));min-height:calc(100vh - 32px);margin:0 auto;display:grid;grid-template-columns:minmax(360px,1fr) minmax(390px,540px);align-items:center;gap:90px;padding:44px 0}
.bbbsc-live-classes-visual{position:relative;min-height:470px;display:grid;place-items:center}
.bbbsc-live-classes-page .bbbsc-standalone-join__orb{position:absolute;border-radius:999px;filter:drop-shadow(0 25px 45px rgba(37,99,235,.14))}
.bbbsc-live-classes-page .bbbsc-standalone-join__orb--blue{width:390px;height:390px;background:#2168d9;right:0;top:72px}
.bbbsc-live-classes-page .bbbsc-standalone-join__orb--white{width:420px;height:420px;background:#fff;right:190px;top:70px;box-shadow:0 22px 80px rgba(15,23,42,.08)}
.bbbsc-live-classes-page .bbbsc-standalone-join__device{position:relative;z-index:2;width:min(520px,92%);border-radius:24px;padding:18px 18px 0;background:linear-gradient(180deg,#f8fbff,#d8e4f0);border:1px solid rgba(148,163,184,.45);box-shadow:0 24px 70px rgba(15,23,42,.18)}
.bbbsc-live-classes-page .bbbsc-standalone-join__screen{height:265px;border-radius:16px;background:linear-gradient(135deg,#0f172a,#1e3a8a);overflow:hidden;position:relative;padding:18px}
.bbbsc-live-classes-page .bbbsc-standalone-join__screen:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:36px 36px;opacity:.35}
.bbbsc-live-classes-page .bbbsc-standalone-join__screen-card{position:relative;z-index:1;margin:auto;margin-top:35px;width:74%;min-height:126px;border-radius:18px;background:rgba(255,255,255,.94);padding:22px;text-align:center;box-shadow:0 18px 45px rgba(0,0,0,.18);display:grid;place-items:center}
.bbbsc-live-classes-page .bbbsc-standalone-join__screen-card img{display:block;width:min(190px,86%);max-height:82px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(30,58,138,.16))}
.bbbsc-live-classes-page .bbbsc-standalone-join__base{height:18px;margin:0 auto;width:112%;transform:translateX(6%);border-radius:0 0 60px 60px;background:linear-gradient(90deg,#b6c5d7,#f8fafc,#b6c5d7)}
.bbbsc-live-classes-page .bbbsc-standalone-join__feature{position:absolute;z-index:3;width:72px;height:72px;border-radius:18px;background:linear-gradient(145deg,#1f6bd8,#1d4ed8);color:#fff;display:grid;place-items:center;font-weight:950;font-size:22px;box-shadow:0 18px 42px rgba(37,99,235,.32);border:1px solid rgba(255,255,255,.45);animation:bbbscJoinFeatureFloat 5.8s ease-in-out infinite;will-change:transform}
.bbbsc-live-classes-page .bbbsc-standalone-join__feature:before{content:"";position:absolute;inset:-8px;border-radius:inherit;background:radial-gradient(circle,rgba(37,99,235,.26),transparent 66%);z-index:-1;animation:bbbscJoinFeatureGlow 2.6s ease-in-out infinite}
.bbbsc-live-classes-page .bbbsc-standalone-join__feature--1{top:48px;right:320px;width:88px;height:88px;border-radius:22px}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--2{top:130px;right:520px;width:64px;height:64px}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--3{top:286px;right:582px;width:72px;height:72px}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--4{bottom:62px;right:320px;width:88px;height:88px;border-radius:22px}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--5{bottom:126px;right:520px;width:64px;height:64px}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--2{animation-delay:-1.1s}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--3{animation-delay:-2.2s}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--4{animation-delay:-3.1s}.bbbsc-live-classes-page .bbbsc-standalone-join__feature--5{animation-delay:-4.2s}
.bbbsc-live-classes-panel{position:relative;z-index:4;padding:28px 26px;border-radius:30px;background:rgba(255,255,255,.56);border:1px solid rgba(255,255,255,.72);box-shadow:0 24px 70px rgba(15,23,42,.10);backdrop-filter:blur(10px)}
.bbbsc-live-classes-page .bbbsc-standalone-join__brand{display:grid;justify-items:center;gap:8px;margin-bottom:18px}.bbbsc-live-classes-page .bbbsc-standalone-join__brand img{max-width:132px;height:auto;display:block}.bbbsc-live-classes-page .bbbsc-standalone-join__brand-name{font-size:13px;color:#64748b;font-weight:800}.bbbsc-live-classes-page .bbbsc-standalone-join__title{margin:0 0 10px;text-align:center;font-size:22px;line-height:1.8;color:#0f172a;font-weight:950}.bbbsc-live-classes-page .bbbsc-standalone-join__subtitle{margin:0 0 16px;text-align:center;color:#334155;line-height:2;font-size:14px}.bbbsc-live-classes-page .bbbsc-standalone-join__footer-note{margin-top:14px;text-align:center;color:#64748b;font-size:12px}
.bbbsc-live-classes-auth .bbbsc-class-auth-card{box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important;margin:0!important}.bbbsc-live-classes-auth .bbbsc-class-auth-card__header{display:none!important}.bbbsc-live-classes-auth .bbbsc-front-alert{border-radius:16px!important;margin:10px 0!important}.bbbsc-live-classes-auth .bbbsc-auth-switches{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0!important;padding:6px;border-radius:18px;background:rgba(226,232,240,.78);border:1px solid rgba(203,213,225,.9)}.bbbsc-live-classes-auth .bbbsc-auth-switches .button{border:0!important;box-shadow:none!important}.bbbsc-live-classes-auth .bbbsc-front-form{display:grid!important;gap:10px!important;margin-top:0!important;padding:14px;border-radius:20px;background:rgba(255,255,255,.58);border:1px solid rgba(203,213,225,.75);box-shadow:0 16px 34px rgba(15,23,42,.07)}.bbbsc-live-classes-auth .bbbsc-front-form[hidden],.bbbsc-live-classes-auth .bbbsc-front-form[aria-hidden="true"],.bbbsc-live-classes-auth .bbbsc-front-form[style*="display:none"],.bbbsc-live-classes-auth .bbbsc-front-form[style*="display: none"]{display:none!important}.bbbsc-live-classes-auth label{display:grid!important;gap:6px!important;color:#0f172a!important;font-weight:850!important}.bbbsc-live-classes-auth input[type="text"],.bbbsc-live-classes-auth input[type="password"]{width:100%!important;height:46px!important;border:1px solid #dbe5f1!important;border-radius:15px!important;background:#fff!important;padding:0 13px!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important}.bbbsc-live-classes-auth .button,.bbbsc-live-classes-auth button{border-radius:15px!important;min-height:42px!important;font-weight:900!important}.bbbsc-live-classes-auth .button-primary{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}.bbbsc-live-classes-auth .bbbsc-front-button-row{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.bbbsc-live-classes-auth .bbbsc-front-button-row .button{flex:1 1 auto!important}
.bbbsc-live-classes-dashboard{display:grid;gap:14px}.bbbsc-live-classes-dashboard__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px;border-radius:22px;background:rgba(255,255,255,.62);border:1px solid rgba(203,213,225,.74);box-shadow:0 14px 36px rgba(15,23,42,.08)}.bbbsc-live-classes-dashboard__head h3{margin:2px 0 4px;font-size:18px;line-height:1.7;color:#0f172a}.bbbsc-live-classes-dashboard__head p{margin:0;color:#64748b;font-size:12px;line-height:1.8}.bbbsc-live-classes-eyebrow{display:inline-flex;padding:4px 9px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:950}.bbbsc-live-classes-logout{white-space:nowrap;background:#fff!important;border:1px solid #dbe5f1!important;color:#334155!important}.bbbsc-live-classes-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bbbsc-live-classes-stats>div{padding:12px;border-radius:18px;background:rgba(255,255,255,.7);border:1px solid rgba(203,213,225,.75);display:flex;justify-content:space-between;align-items:center}.bbbsc-live-classes-stats span{font-size:12px;color:#64748b;font-weight:800}.bbbsc-live-classes-stats strong{font-size:20px;color:#1d4ed8}.bbbsc-live-classes-grid{display:grid;grid-template-columns:1fr;gap:12px;max-height:min(58vh,620px);overflow:auto;padding-inline-end:3px}.bbbsc-live-class-card{display:grid;gap:10px;text-decoration:none!important;color:inherit!important;padding:14px;border-radius:22px;background:rgba(255,255,255,.78);border:1px solid rgba(203,213,225,.78);box-shadow:0 16px 38px rgba(15,23,42,.08);transition:.18s ease}.bbbsc-live-class-card:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(37,99,235,.16);border-color:#93c5fd}.bbbsc-live-class-card__top{display:flex;justify-content:space-between;align-items:center;gap:8px}.bbbsc-live-class-card__badge,.bbbsc-live-class-card__code{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:950}.bbbsc-live-class-card__badge--current{background:#dcfce7;color:#047857}.bbbsc-live-class-card__badge--future{background:#dbeafe;color:#1d4ed8}.bbbsc-live-class-card__code{background:#f1f5f9;color:#475569;direction:ltr}.bbbsc-live-class-card h4{margin:0;font-size:16px;line-height:1.75;color:#0f172a}.bbbsc-live-class-card__meta{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.bbbsc-live-class-card__meta span{font-size:12px;color:#64748b;line-height:1.8}.bbbsc-live-class-card__meta strong{color:#0f172a}.bbbsc-live-class-card__countdown{margin:0!important;padding:10px 12px!important}.bbbsc-live-class-card__countdown .bbbsc-class-start-countdown__time{font-size:18px!important;min-width:136px!important}.bbbsc-live-class-card__schedule{margin:0!important}.bbbsc-live-class-card__ready{padding:10px 12px;border-radius:16px;background:#eff6ff;color:#1e40af;font-weight:900;font-size:12px;text-align:center}.bbbsc-live-class-card__action{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:4px;color:#1d4ed8;font-weight:950}.bbbsc-live-class-card__action b{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#2563eb;color:#fff;direction:ltr}.bbbsc-live-classes-empty{padding:18px;border-radius:22px;background:rgba(255,255,255,.75);border:1px dashed #bfdbfe;text-align:center;color:#334155;line-height:1.9}.bbbsc-live-classes-empty strong{display:block;color:#0f172a;margin-bottom:4px}.bbbsc-live-classes-empty p{margin:0;font-size:13px}
@keyframes bbbscJoinFeatureFloat{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(0,-12px,0) rotate(2deg)}}@keyframes bbbscJoinFeatureGlow{0%,100%{opacity:.35;transform:scale(.92)}50%{opacity:.8;transform:scale(1.08)}}
@media (max-width:980px){.bbbsc-live-classes-shell{grid-template-columns:1fr;gap:22px;padding:26px 0;width:min(1180px,calc(100vw - 36px))}.bbbsc-live-classes-visual{min-height:340px;order:1}.bbbsc-live-classes-panel{order:2}.bbbsc-live-classes-page .bbbsc-standalone-join__orb--blue{width:270px;height:270px;right:calc(50% - 250px);top:45px}.bbbsc-live-classes-page .bbbsc-standalone-join__orb--white{width:300px;height:300px;right:calc(50% - 52px);top:42px}.bbbsc-live-classes-page .bbbsc-standalone-join__device{width:min(420px,90%)}.bbbsc-live-classes-page .bbbsc-standalone-join__screen{height:210px}.bbbsc-live-classes-page .bbbsc-standalone-join__feature{display:none}.bbbsc-live-classes-grid{max-height:none}}
@media (max-width:560px){.bbbsc-live-classes-shell{width:min(100vw - 22px,520px);padding:18px 0}.bbbsc-live-classes-visual{display:none}.bbbsc-live-classes-panel{padding:22px 14px;border-radius:24px;background:rgba(255,255,255,.52);box-shadow:0 18px 50px rgba(15,23,42,.08)}.bbbsc-live-classes-page .bbbsc-standalone-join__title{font-size:19px}.bbbsc-live-class-card__meta{grid-template-columns:1fr}.bbbsc-live-classes-dashboard__head{display:grid}.bbbsc-live-classes-logout{width:100%}.bbbsc-live-classes-stats{grid-template-columns:1fr}}

/* BBBSC 1.96.87 - locked future live-class cards */
.bbbsc-live-class-card--locked{cursor:default!important;pointer-events:auto;opacity:.96}
.bbbsc-live-class-card--locked:hover{transform:none!important;box-shadow:0 16px 38px rgba(15,23,42,.08)!important;border-color:rgba(203,213,225,.78)!important}
.bbbsc-live-class-card--locked .bbbsc-live-class-card__action{color:#64748b!important}
.bbbsc-live-class-card--locked .bbbsc-live-class-card__action b{background:#e2e8f0!important;color:#475569!important}

/* BBBSC 1.96.88 - attendance archive completion notice */
.bbbsc-attendance-pending-card{border:1px solid rgba(245,158,11,.28);background:linear-gradient(135deg,#fffbeb,#fff7ed);border-radius:18px;padding:16px 18px;box-shadow:0 14px 34px rgba(245,158,11,.09);color:#78350f;margin:0 0 16px;line-height:1.9}
.bbbsc-attendance-pending-card strong{display:block;font-size:15px;color:#92400e;margin-bottom:4px}
.bbbsc-attendance-pending-card p{margin:0}
.bbbsc-attendance-pending-card small{display:block;color:#9a3412;margin-top:6px}

/* BBBSC 1.96.91 - attendance modal redesign + global modal font */
body .bbbsc-front-modal,
body .bbbsc-front-modal *,
body .bbbsc-modal-load-state,
body .bbbsc-modal-load-state *,
body .bbbsc-toast-stack,
body .bbbsc-toast-stack *{
  font-family:var(--bbbsc-system-font,"BBBSC System Font",Tahoma,Arial,sans-serif)!important;
}

.bbbsc-front-modal__dialog--attendance{
  width:min(1120px,calc(100vw - 24px))!important;
  max-width:min(1120px,calc(100vw - 24px))!important;
  max-height:90vh!important;
  padding:0!important;
  border:1px solid rgba(226,232,240,.95)!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 32px 90px rgba(15,23,42,.24)!important;
  overflow:hidden!important;
  direction:rtl!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__header--attendance{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:22px 26px 18px 68px!important;
  border-bottom:1px solid #e2e8f0!important;
  background:radial-gradient(circle at 10% 0%,rgba(37,99,235,.13),transparent 32%),linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__header--attendance h3{
  margin:0!important;
  color:#0f172a!important;
  font-size:20px!important;
  font-weight:950!important;
  line-height:1.7!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__eyebrow{
  margin:0 0 8px!important;
  min-height:28px!important;
  padding:0 12px!important;
  border:1px solid #bfdbfe!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:12px!important;
  font-weight:900!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__close{
  top:18px!important;
  left:18px!important;
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
  color:#334155!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-attendance-modal__body{
  padding:20px 24px 22px!important;
  max-height:calc(90vh - 160px)!important;
  overflow:auto!important;
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 72%)!important;
}
.bbbsc-attendance-list-head,
.bbbsc-attendance-viewbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 16px!important;
}
.bbbsc-attendance-list-head h4,
.bbbsc-attendance-table-card__head h4{
  margin:0!important;
  color:#0f172a!important;
  font-size:16px!important;
  font-weight:950!important;
}
.bbbsc-attendance-list-head span,
.bbbsc-attendance-table-card__head span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#3730a3!important;
  font-size:12px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.bbbsc-attendance-session-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr))!important;
  gap:14px!important;
}
.bbbsc-attendance-session-card{
  position:relative!important;
  display:grid!important;
  gap:10px!important;
  padding:16px!important;
  min-height:158px!important;
  border:1px solid #e2e8f0!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06)!important;
  color:#0f172a!important;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.bbbsc-attendance-session-card:hover{
  transform:translateY(-2px)!important;
  border-color:#93c5fd!important;
  box-shadow:0 22px 44px rgba(37,99,235,.13)!important;
}
.bbbsc-attendance-session-card__top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.bbbsc-attendance-session-card__top strong{
  font-size:15px!important;
  font-weight:950!important;
  color:#0f172a!important;
}
.bbbsc-attendance-session-card__top em{
  font-style:normal!important;
  padding:4px 9px!important;
  border-radius:999px!important;
  background:#ecfeff!important;
  color:#0e7490!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.bbbsc-attendance-session-card__date{
  color:#475569!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.9!important;
}
.bbbsc-attendance-session-card__meta{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#334155!important;
  font-size:12px!important;
  font-weight:800!important;
}
.bbbsc-attendance-session-card__meta b{
  font-size:18px!important;
  color:#2563eb!important;
}
.bbbsc-attendance-session-card__action{
  margin-top:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  border-radius:14px!important;
  background:#2563eb!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:950!important;
}
.bbbsc-attendance-viewbar{
  padding:14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(15,23,42,.05)!important;
}
.bbbsc-attendance-back-btn{
  border-radius:14px!important;
  min-height:38px!important;
  padding:0 14px!important;
  font-weight:900!important;
  border-color:#cbd5e1!important;
  color:#334155!important;
  background:#f8fafc!important;
}
.bbbsc-attendance-viewbar__title{
  display:grid!important;
  gap:3px!important;
  text-align:left!important;
  margin-inline-start:auto!important;
}
.bbbsc-attendance-viewbar__title strong{
  color:#0f172a!important;
  font-size:14px!important;
  font-weight:950!important;
}
.bbbsc-attendance-viewbar__title span{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:700!important;
}
.bbbsc-attendance-session-summary{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 0 14px!important;
}
.bbbsc-attendance-session-summary span{
  display:grid!important;
  gap:4px!important;
  align-content:center!important;
  min-height:82px!important;
  padding:12px!important;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 26px rgba(15,23,42,.045)!important;
}
.bbbsc-attendance-session-summary strong{
  color:#0f172a!important;
  font-size:18px!important;
  font-weight:950!important;
  line-height:1.4!important;
}
.bbbsc-attendance-session-summary small{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:850!important;
}
.bbbsc-attendance-session-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 16px!important;
  padding:11px 14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:16px!important;
  background:#f8fafc!important;
}
.bbbsc-attendance-session-meta span{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:900!important;
}
.bbbsc-attendance-session-meta code{
  direction:ltr!important;
  color:#0f172a!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  padding:4px 8px!important;
}
.bbbsc-attendance-table-card{
  margin:0 0 16px!important;
  border:1px solid #e2e8f0!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 16px 34px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
}
.bbbsc-attendance-table-card__head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:14px 16px!important;
  border-bottom:1px solid #e2e8f0!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
}
.bbbsc-attendance-table-wrap{
  margin:0!important;
  border-radius:0!important;
}
.bbbsc-attendance-table{
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
}
.bbbsc-attendance-table th{
  background:#f8fafc!important;
  color:#334155!important;
  font-size:12px!important;
  font-weight:950!important;
  padding:12px 10px!important;
  white-space:nowrap!important;
}
.bbbsc-attendance-table td{
  padding:12px 10px!important;
  color:#334155!important;
  font-size:12px!important;
  vertical-align:middle!important;
}
.bbbsc-attendance-status-chip{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.bbbsc-attendance-table-card__empty,
.bbbsc-attendance-empty{
  padding:18px!important;
  border:1px dashed #cbd5e1!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  color:#64748b!important;
  font-size:13px!important;
  font-weight:850!important;
  text-align:center!important;
}
.bbbsc-attendance-table-card__empty{
  margin:14px!important;
}
.bbbsc-attendance-compact-alert{
  margin:0 0 14px!important;
  padding:10px 12px!important;
  border-radius:14px!important;
}
.bbbsc-attendance-pending-card--compact{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:12px 14px!important;
  margin:0 0 14px!important;
  border-radius:16px!important;
}
.bbbsc-attendance-pending-card--compact span{
  font-size:12px!important;
  font-weight:800!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__actions--footer{
  padding:14px 24px 18px!important;
  margin:0!important;
  border-top:1px solid #e2e8f0!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(8px)!important;
}
.bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__actions--footer .button{
  min-height:42px!important;
  min-width:136px!important;
  border-radius:14px!important;
  font-weight:950!important;
}
@media (max-width:980px){
  .bbbsc-attendance-session-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:720px){
  .bbbsc-front-modal__dialog--attendance{width:calc(100vw - 14px)!important;max-width:calc(100vw - 14px)!important;border-radius:22px!important}
  .bbbsc-front-modal__dialog--attendance .bbbsc-front-modal__header--attendance{padding:18px 18px 14px 60px!important}
  .bbbsc-front-modal__dialog--attendance .bbbsc-attendance-modal__body{padding:16px!important;max-height:calc(90vh - 150px)!important}
  .bbbsc-attendance-session-grid{grid-template-columns:1fr!important}
  .bbbsc-attendance-session-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bbbsc-attendance-viewbar{display:grid!important}
  .bbbsc-attendance-viewbar__title{text-align:right!important;margin-inline-start:0!important}
}

/* Certificate issued/issue lists: searchable full-list pagination */
.bbbsc-certificate-issue-toolbar{display:flex!important;gap:12px!important;align-items:flex-end!important;justify-content:space-between!important;flex-wrap:wrap!important;margin:12px 0!important}
.bbbsc-certificate-issue-toolbar label{min-width:260px!important;max-width:460px!important;flex:1!important;font-weight:800!important}
.bbbsc-certificate-issue-toolbar input[type=search]{width:100%!important;margin-top:6px!important}
.bbbsc-certificate-issue-toolbar__count{color:#64748b!important;font-size:12px!important;font-weight:800!important}
.bbbsc-certificate-pagination{display:flex!important;gap:10px!important;align-items:center!important;justify-content:center!important;margin:14px 0!important;flex-wrap:wrap!important}
.bbbsc-certificate-bulk-form{border:1px solid rgba(15,23,42,.08)!important;border-radius:14px!important;padding:12px!important;margin:10px 0!important;background:#fff!important}

/* v1.96.125 certificate page-size selector + header sticky hard fix */
.bbbsc-certificate-issue-toolbar select[data-bbbsc-certificate-page-size-select],
.bbbsc-certificate-issue-toolbar select[data-bbbsc-certificate-class-filter]{width:100%;min-height:38px;margin-top:6px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;padding:8px 10px;font-weight:800;color:#0f172a}
.bbbsc-certificate-issue-toolbar label:has(select[data-bbbsc-certificate-page-size-select]){max-width:180px;min-width:150px;flex:0 0 170px}
.bbbsc-header-menu[data-bbbsc-header-menu],
.bbbsc-header-menu[data-bbbsc-header-menu] *{box-sizing:border-box}
.bbbsc-header-sticky-spacer{display:none;height:0;pointer-events:none;visibility:hidden}
.bbbsc-header-menu.is-sticky-fixed{position:fixed!important;top:var(--bbbsc-header-fixed-top,var(--bbbsc-header-sticky-top,12px))!important;left:var(--bbbsc-header-fixed-left,0px)!important;right:auto!important;width:var(--bbbsc-header-fixed-width,100%)!important;z-index:999999!important;margin:0!important;transform:none!important}
.bbbsc-header-menu.is-sticky-fixed .bbbsc-header-menu__shell{transform:none!important}
.bbbsc-header-menu.is-sticky-fixed.is-scrolled .bbbsc-header-menu__shell,
.bbbsc-header-menu.is-sticky-enabled.is-scrolled .bbbsc-header-menu__shell{background:var(--bbbsc-header-bg)!important;color:var(--bbbsc-header-text-color)!important;border-color:transparent!important;box-shadow:var(--bbbsc-header-shadow)!important;backdrop-filter:var(--bbbsc-header-backdrop-filter)!important;-webkit-backdrop-filter:var(--bbbsc-header-backdrop-filter)!important;padding:var(--bbbsc-header-padding-y) var(--bbbsc-header-padding-x)!important;border-radius:var(--bbbsc-header-radius)!important;min-height:var(--bbbsc-header-min-height)!important}
.bbbsc-header-menu.is-sticky-fixed.is-scrolled .bbbsc-header-menu__title,
.bbbsc-header-menu.is-sticky-enabled.is-scrolled .bbbsc-header-menu__title,
.bbbsc-header-menu.is-sticky-fixed.is-scrolled .bbbsc-header-menu__link,
.bbbsc-header-menu.is-sticky-enabled.is-scrolled .bbbsc-header-menu__link{color:var(--bbbsc-header-text-color)!important}
.bbbsc-header-menu.is-sticky-fixed.is-scrolled .bbbsc-header-menu__subtitle,
.bbbsc-header-menu.is-sticky-enabled.is-scrolled .bbbsc-header-menu__subtitle,
.bbbsc-header-menu.is-sticky-fixed.is-scrolled .bbbsc-header-menu__eyebrow,
.bbbsc-header-menu.is-sticky-enabled.is-scrolled .bbbsc-header-menu__eyebrow{color:var(--bbbsc-header-muted-color)!important}
.bbbsc-header-menu.is-sticky-fixed .bbbsc-header-menu__shell,
.bbbsc-header-menu.is-sticky-enabled .bbbsc-header-menu__shell{border-color:transparent!important;outline:0!important}
.bbbsc-header-menu.is-sticky-fixed .bbbsc-header-menu__link{background:var(--bbbsc-header-button-bg,var(--bbbsc-header-item-bg))!important;border-color:var(--bbbsc-header-button-border,var(--bbbsc-header-border-color))!important;color:var(--bbbsc-header-button-text,var(--bbbsc-header-text-color))!important}
.bbbsc-header-menu.is-sticky-fixed .bbbsc-header-menu__link:hover{background:var(--bbbsc-header-button-hover-bg,var(--bbbsc-header-item-hover-bg))!important;color:var(--bbbsc-header-button-hover-text,var(--bbbsc-header-button-text,var(--bbbsc-header-text-color)))!important;border-color:var(--bbbsc-header-button-hover-border,var(--bbbsc-header-border-color))!important}
.bbbsc-header-menu.is-sticky-fixed .bbbsc-header-menu__link.is-active{background:var(--bbbsc-header-button-active-bg,var(--bbbsc-header-active-bg))!important;color:var(--bbbsc-header-button-active-text,var(--bbbsc-header-active-text))!important;border-color:var(--bbbsc-header-button-active-border,var(--bbbsc-header-button-active-bg,var(--bbbsc-header-active-bg)))!important}
@media (max-width:782px){.bbbsc-certificate-issue-toolbar label:has(select[data-bbbsc-certificate-page-size-select]){max-width:none;min-width:0;flex:1 1 100%}.bbbsc-header-menu.is-sticky-fixed{top:var(--bbbsc-header-fixed-top,var(--bbbsc-header-sticky-mobile-top,8px))!important}}

/* v1.96.130 certificate mobile fixes */
@media (max-width: 720px){
  .bbbsc-certificate-print-link{display:none!important}
  .bbbsc-certificate-verify-page{padding-inline:10px!important;box-sizing:border-box}
  .bbbsc-certificate-verify-page .bbbsc-front-card{max-width:100%!important;box-sizing:border-box;overflow:hidden;border-radius:18px!important;padding:14px!important}
  .bbbsc-certificate-verify-page .bbbsc-front-form{grid-template-columns:1fr!important}
  .bbbsc-certificate-verify-page .bbbsc-front-form label,.bbbsc-certificate-verify-page .bbbsc-form-span-2{grid-column:1/-1!important;width:100%!important}
  .bbbsc-certificate-verify-page .bbbsc-keyval-grid{grid-template-columns:1fr!important;gap:8px!important}
  .bbbsc-certificate-verify-page .bbbsc-certificate-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin:14px 0!important}
  .bbbsc-certificate-verify-page .bbbsc-certificate-toolbar .button{width:100%!important;text-align:center!important;justify-content:center!important}
  .bbbsc-certificate-verify-page .bbbsc-certificate-view{width:100%!important;max-width:100%!important;overflow:hidden!important;margin:14px auto 0!important;box-sizing:border-box}
}

.bbbsc-col-class-capacity{min-width:120px;text-align:center;white-space:nowrap}
.bbbsc-class-capacity-cell{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:7px 10px;border-radius:12px;background:rgba(15,23,42,.04);border:1px solid rgba(15,23,42,.08)}
.bbbsc-class-capacity-cell strong{font-weight:800;color:#0f172a}
.bbbsc-class-capacity-cell small{font-size:11px;color:#64748b}
.bbbsc-class-quota-alert{margin-bottom:14px}
@media (max-width: 720px){.bbbsc-col-class-capacity{white-space:normal}.bbbsc-class-capacity-cell{align-items:flex-start;width:100%;box-sizing:border-box}}

/* v1.96.146 advanced customer finance tab */
.bbbsc-finance-dashboard--advanced{gap:18px}
.bbbsc-finance-control-card{display:grid;gap:16px}
.bbbsc-finance-subtabs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;border-bottom:1px solid #e2e8f0;padding-bottom:12px}
.bbbsc-finance-subtab{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:13px;font-weight:800;transition:all .18s ease}
.bbbsc-finance-subtab:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a;text-decoration:none}
.bbbsc-finance-subtab.is-active{background:#0f766e;border-color:#0f766e;color:#fff;box-shadow:0 8px 18px rgba(15,118,110,.18)}
.bbbsc-finance-filter-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}
.bbbsc-finance-filter-form label{display:grid;gap:6px;margin:0;font-size:12px;font-weight:800;color:#475569;text-align:right}
.bbbsc-finance-filter-form input,.bbbsc-finance-filter-form select{width:100%;max-width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:7px 10px}
.bbbsc-finance-filter-form__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bbbsc-finance-income-table th,.bbbsc-finance-income-table td{vertical-align:middle}
.bbbsc-finance-income-table small{display:block;margin-top:4px;color:#64748b;font-size:11px;white-space:normal;max-width:320px}
@media (max-width:782px){.bbbsc-finance-subtabs{overflow:auto;flex-wrap:nowrap;padding-bottom:10px}.bbbsc-finance-subtab{white-space:nowrap}.bbbsc-finance-filter-form{grid-template-columns:1fr}.bbbsc-finance-filter-form__actions .button{width:100%;text-align:center;justify-content:center}}

/* v1.96.149 stable batch certificate issuing */
.bbbsc-certificate-batch-status{margin-top:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(14,165,233,.25);background:rgba(14,165,233,.08);color:#075985;font-size:13px;font-weight:700;line-height:1.8}
tr[data-bbbsc-certificate-batch-state="done"] td{background:rgba(16,185,129,.06)!important}
tr[data-bbbsc-certificate-batch-state="failed"] td{background:rgba(239,68,68,.06)!important}

/* Stage 1 certificate design launcher + create modal */
.bbbsc-certificate-design-launcher .bbbsc-card-head{align-items:center!important;gap:16px!important}
.bbbsc-certificate-create-btn{white-space:nowrap!important;box-shadow:0 12px 28px rgba(37,99,235,.22)!important}
.bbbsc-certificate-built-templates .bbbsc-empty-state{margin-top:12px!important;border:1px dashed #cbd5e1!important;background:#f8fafc!important;border-radius:22px!important}
.bbbsc-certificate-create-modal .bbbsc-front-modal__dialog{max-width:min(1180px,96vw)!important}
.bbbsc-certificate-create-modal__name{display:grid;gap:8px;margin-bottom:16px;padding:14px;border:1px solid #dbe7f5;border-radius:22px;background:linear-gradient(135deg,#f8fbff 0%,#eff6ff 100%)}
.bbbsc-certificate-create-modal__name label{display:grid;gap:7px;font-weight:900;color:#0f172a}
.bbbsc-certificate-create-modal__name input{height:44px!important;border-radius:15px!important;border:1px solid #cbd8e7!important;padding:0 14px!important;font-weight:800!important;background:#fff!important}
.bbbsc-certificate-create-modal__name small{color:#64748b;font-size:12px;font-weight:700;line-height:1.8}
.bbbsc-certificate-create-gallery{margin:0!important;box-shadow:none!important;background:#fff!important}
.bbbsc-certificate-blank-preview{width:100%;height:100%;min-height:180px;border:2px dashed #cbd5e1;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);display:grid;place-items:center;text-align:center;color:#334155;padding:18px}
.bbbsc-certificate-blank-preview span{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:22px;background:#eff6ff;color:#2563eb;font-size:13px;font-weight:900;letter-spacing:.05em}
.bbbsc-certificate-blank-preview strong{font-size:17px;color:#0f172a;margin-top:8px}
.bbbsc-certificate-blank-preview small{font-size:12px;color:#64748b;font-weight:800}
.bbbsc-template-card--blank .bbbsc-template-card__canvas{align-items:center!important}
@media(max-width:760px){.bbbsc-certificate-design-launcher .bbbsc-card-head{display:grid!important}.bbbsc-certificate-create-btn{width:100%!important}.bbbsc-certificate-create-modal__name{padding:12px}.bbbsc-certificate-blank-preview{min-height:140px}}


/* v1.96.151 certificate create/save workflow */
.bbbsc-certificate-create-form{display:block!important}
.bbbsc-certificate-create-form .bbbsc-certificate-create-modal__name{margin-bottom:14px!important}
.bbbsc-template-card--built .bbbsc-template-card__actions--two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.bbbsc-template-card--built .bbbsc-template-card__actions--two .button{width:100%!important;text-align:center!important;justify-content:center!important}
.bbbsc-template-card--blank .bbbsc-fabric-cert-sheet{box-shadow:inset 0 0 0 2px rgba(15,23,42,.08),0 16px 40px rgba(15,23,42,.12)!important}
@media(max-width:760px){.bbbsc-template-card--built .bbbsc-template-card__actions--two{grid-template-columns:1fr!important}}

/* v1.96.152 certificate builder fixes */
.bbbsc-certificate-create-form .bbbsc-input-error{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.16)!important}
.bbbsc-template-card__actions--three{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
.bbbsc-template-card__actions--three .button{flex:1 1 98px!important;text-align:center!important;justify-content:center!important}
.bbbsc-template-card__actions--three .bbbsc-inline-delete-form{display:flex!important;margin:0!important;flex:1 1 98px!important}
.bbbsc-template-card__actions--three .bbbsc-inline-delete-form .button{width:100%!important}

/* v1.96.153 - compact customer-built certificate cards */
.bbbsc-template-card--built-compact{
    border-radius:18px!important;
    overflow:hidden!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__meta,
.bbbsc-template-card--built-compact .bbbsc-template-card__pill,
.bbbsc-template-card--built-compact .bbbsc-template-card__body p{
    display:none!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__preview{
    min-height:158px!important;
    padding:8px!important;
    border-radius:18px 18px 0 0!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__canvas{
    height:158px!important;
    padding:8px!important;
    border-radius:14px!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__canvas .bbbsc-certificate-sheet,
.bbbsc-template-card--built-compact .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{
    transform:scale(.19)!important;
    transform-origin:center center!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__body{
    padding:10px 12px 12px!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__body h5{
    margin:0 0 9px!important;
    font-size:13px!important;
    line-height:1.7!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--three{
    gap:6px!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--three .button{
    min-height:34px!important;
    padding:5px 8px!important;
    font-size:12px!important;
    border-radius:10px!important;
}
@media(max-width:760px){
    .bbbsc-template-card--built-compact .bbbsc-template-card__preview,
    .bbbsc-template-card--built-compact .bbbsc-template-card__canvas{height:138px!important;min-height:138px!important}
    .bbbsc-template-card--built-compact .bbbsc-template-card__canvas .bbbsc-certificate-sheet,
    .bbbsc-template-card--built-compact .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{transform:scale(.16)!important}
}

/* Stage 5: make customer-created certificate cards 20% width on desktop. */
@media (min-width: 1024px){
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples){
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card{
    border-radius: 18px !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__preview{
    min-height: 145px !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__canvas{
    height: 145px !important;
    padding: 6px !important;
    border-radius: 14px !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__canvas .bbbsc-certificate-sheet,
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__canvas .bbbsc-fabric-cert-sheet{
    transform: scale(.145) !important;
    transform-origin: center center !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__body{
    padding: 10px 12px 12px !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__body h5{
    font-size: 13px !important;
    margin-bottom: 8px !important;
    line-height: 1.55 !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__actions{
    gap: 6px !important;
  }
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__actions .button,
  .bbbsc-certificate-template-grid:not(.bbbsc-certificate-template-grid--samples) .bbbsc-template-card__actions button{
    padding: 6px 9px !important;
    min-height: 32px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
  }
}

/* v1.96.155 - icon-only actions for customer-created certificate cards */
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-inline-delete-form,
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-delete-form{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 auto!important;
  width:auto!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action,
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-inline-delete-form .bbbsc-certificate-card-action{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:12px!important;
  color:#fff!important;
  box-shadow:0 9px 18px rgba(15,23,42,.13)!important;
  cursor:pointer!important;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease!important;
  overflow:visible!important;
  line-height:1!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--edit{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--preview{background:linear-gradient(135deg,#059669,#047857)!important}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--delete{background:linear-gradient(135deg,#dc2626,#b91c1c)!important}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:hover,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:focus-visible{
  transform:translateY(-2px)!important;
  box-shadow:0 13px 24px rgba(15,23,42,.18)!important;
  filter:saturate(1.08)!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:17px!important;
  height:17px!important;
  pointer-events:none!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon svg{
  width:17px!important;
  height:17px!important;
  display:block!important;
  stroke:currentColor!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__tooltip{
  position:absolute!important;
  left:50%!important;
  bottom:calc(100% + 8px)!important;
  transform:translateX(-50%) translateY(4px)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:max-content!important;
  max-width:140px!important;
  padding:6px 9px!important;
  border-radius:10px!important;
  background:#0f172a!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  box-shadow:0 12px 24px rgba(15,23,42,.2)!important;
  z-index:30!important;
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__tooltip:after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  transform:translateX(-50%);
  border-width:5px 5px 0 5px;
  border-style:solid;
  border-color:#0f172a transparent transparent transparent;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:hover .bbbsc-certificate-card-action__tooltip,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:focus-visible .bbbsc-certificate-card-action__tooltip{
  opacity:1!important;
  visibility:visible!important;
  transform:translateX(-50%) translateY(0)!important;
}
@media (max-width:760px){
  .bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons{gap:10px!important}
  .bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action{flex-basis:38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important}
}

/* v1.96.156 - robust internal icons for customer-created certificate cards, no CDN/external assets */
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  color:#fff!important;
  line-height:1!important;
  font-size:17px!important;
  font-weight:900!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:visible!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__fallback-glyph{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1!important;
  opacity:1!important;
  visibility:visible!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--preview .bbbsc-certificate-card-action__fallback-glyph{font-size:18px!important;transform:translateY(-.5px)!important}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--delete .bbbsc-certificate-card-action__fallback-glyph{font-size:20px!important;transform:translateY(-.5px)!important}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--edit{
  --bbbsc-card-action-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.25V20h2.75L17.8 8.95l-2.75-2.75L4 17.25Zm15.92-10.42c.38-.38.38-1 0-1.38l-1.37-1.37a.98.98 0 0 0-1.38 0l-1.07 1.07 2.75 2.75 1.07-1.07Z'/%3E%3C/svg%3E");
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--preview{
  --bbbsc-card-action-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.5 5 2.2 9.4 1 12c1.2 2.6 5.5 7 11 7s9.8-4.4 11-7c-1.2-2.6-5.5-7-11-7Zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2.1a1.9 1.9 0 1 0 0-3.8 1.9 1.9 0 0 0 0 3.8Z'/%3E%3C/svg%3E");
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--delete{
  --bbbsc-card-action-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8l1 2h4v2H3V6h4l1-2Zm1 6h2v8H9v-8Zm4 0h2v8h-2v-8Zm4 0h2v8h-2v-8ZM6 9h12l-1 12H7L6 9Z'/%3E%3C/svg%3E");
}
@supports ((-webkit-mask: url("")) or (mask: url(""))) {
  .bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon::before{
    content:""!important;
    display:block!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    background:#fff!important;
    -webkit-mask:var(--bbbsc-card-action-mask) center / contain no-repeat!important;
    mask:var(--bbbsc-card-action-mask) center / contain no-repeat!important;
    opacity:1!important;
    visibility:visible!important;
  }
  .bbbsc-template-card--built-compact .bbbsc-certificate-card-action__fallback-glyph{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
  }
}


/* v1.96.157 - force actual inline SVG icons inside customer-created certificate card buttons */
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon::before{
  content:none!important;
  display:none!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:visible!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon .bbbsc-certificate-card-svg,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon svg.bbbsc-certificate-card-svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:visible!important;
  color:#fff!important;
  stroke:#fff!important;
  fill:none!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
  transform:none!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon .bbbsc-certificate-card-svg--edit path:first-child,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__icon .bbbsc-certificate-card-svg--edit path:nth-child(2){
  fill:#fff!important;
  stroke:none!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action__fallback-glyph{
  display:none!important;
}


/* v1.96.158 - guaranteed visible pure-CSS internal icons for customer-created certificate action buttons */
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action,
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-inline-delete-form .bbbsc-certificate-card-action{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action .bbbsc-certificate-card-action__icon,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action .bbbsc-certificate-card-action__icon svg,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action .bbbsc-certificate-card-action__icon img{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action::before,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  display:block!important;
  pointer-events:none!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:3!important;
  box-sizing:border-box!important;
}
/* Edit: pencil icon */
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--edit::before{
  width:18px!important;
  height:6px!important;
  border-radius:5px!important;
  background:#fff!important;
  transform:translate(-50%,-50%) rotate(-42deg)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.02)!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--edit::after{
  width:5px!important;
  height:5px!important;
  border-radius:1px!important;
  background:#fff!important;
  transform:translate(4px,-7px) rotate(-42deg)!important;
  box-shadow:-14px 0 0 -1px rgba(255,255,255,.95)!important;
}
/* Preview: eye icon */
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--preview::before{
  width:19px!important;
  height:19px!important;
  border:2.2px solid #fff!important;
  border-radius:80% 12% 80% 12%!important;
  background:transparent!important;
  transform:translate(-50%,-50%) rotate(45deg)!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--preview::after{
  width:6px!important;
  height:6px!important;
  border-radius:999px!important;
  background:#fff!important;
  transform:translate(-50%,-50%)!important;
}
/* Delete: trash icon */
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--delete::before{
  width:14px!important;
  height:13px!important;
  border:2px solid #fff!important;
  border-top:0!important;
  border-radius:0 0 3px 3px!important;
  background:linear-gradient(90deg,transparent 0 31%,#fff 31% 43%,transparent 43% 57%,#fff 57% 69%,transparent 69%)!important;
  transform:translate(-50%,-28%)!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action--delete::after{
  width:18px!important;
  height:2.4px!important;
  border-radius:999px!important;
  background:#fff!important;
  transform:translate(-50%,-9px)!important;
  box-shadow:0 -4px 0 -1px #fff!important;
}
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:hover::before,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:hover::after,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:focus-visible::before,
.bbbsc-template-card--built-compact .bbbsc-certificate-card-action:focus-visible::after{
  filter:drop-shadow(0 1px 1px rgba(15,23,42,.18))!important;
}

/* v1.96.159 - real internal SVG image icons loaded from plugin assets for customer-created certificate cards */
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action::before,
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action::after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action,
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-inline-delete-form .bbbsc-certificate-card-action{
  background-color:transparent!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  color:#fff!important;
  border:0!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action--edit{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action--preview{background:linear-gradient(135deg,#059669,#047857)!important}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action--delete{background:linear-gradient(135deg,#dc2626,#b91c1c)!important}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action .bbbsc-certificate-card-action__icon{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:visible!important;
  z-index:4!important;
  pointer-events:none!important;
}
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action .bbbsc-certificate-card-action__icon img.bbbsc-certificate-card-icon-img,
.bbbsc-template-card--built-compact .bbbsc-template-card__actions--icons .bbbsc-certificate-card-action img.bbbsc-certificate-card-icon-img{
  display:block!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  opacity:1!important;
  visibility:visible!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:none!important;
  clip:auto!important;
  clip-path:none!important;
  position:static!important;
  inset:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  pointer-events:none!important;
}

/* v1.96.165 - Customer user groups and archive-safe class membership */
.bbbsc-user-subtabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 18px;
}
.bbbsc-user-subtab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#1f2937;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}
.bbbsc-user-subtab:hover,
.bbbsc-user-subtab:focus{
  color:#b91c1c;
  border-color:rgba(185,28,28,.28);
  text-decoration:none;
}
.bbbsc-user-subpanel{
  margin-top:16px;
}
.bbbsc-user-groups-panel{
  display:grid;
  gap:16px;
}
.bbbsc-group-create-card,
.bbbsc-group-card,
.bbbsc-class-group-panel{
  border:1px solid rgba(15,23,42,.1);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.07);
  padding:16px;
}
.bbbsc-group-create-card summary,
.bbbsc-group-card summary{
  cursor:pointer;
  font-weight:800;
  color:#111827;
}
.bbbsc-group-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px;
}
.bbbsc-group-card__head,
.bbbsc-class-group-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.bbbsc-group-card__title,
.bbbsc-class-group-panel__title{
  font-size:1rem;
  font-weight:900;
  margin:0;
  color:#0f172a;
}
.bbbsc-group-card__meta,
.bbbsc-class-group-panel__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.bbbsc-source-badge,
.bbbsc-group-badge{
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:999px;
  padding:4px 9px;
  background:rgba(15,23,42,.06);
  color:#475569;
  font-size:.78rem;
  font-weight:700;
}
.bbbsc-member-checklist{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:8px;
  max-height:320px;
  overflow:auto;
  padding:10px;
  border:1px solid rgba(15,23,42,.1);
  border-radius:16px;
  background:#f8fafc;
  margin:10px 0;
}
.bbbsc-member-checklist__item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  font-weight:700;
  color:#334155;
}
.bbbsc-member-checklist__item input{
  margin:0;
}
.bbbsc-member-checklist__phone{
  color:#64748b;
  font-size:.82rem;
  font-weight:600;
}
.bbbsc-group-actions,
.bbbsc-class-group-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:12px;
}
.bbbsc-class-connected-groups{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.bbbsc-class-connected-group{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(15,23,42,.09);
  border-radius:16px;
  padding:10px 12px;
  background:#f8fafc;
}
.bbbsc-class-connected-group__name{
  font-weight:900;
  color:#0f172a;
}
.bbbsc-class-connected-group__meta{
  color:#64748b;
  font-size:.84rem;
  font-weight:700;
}
.bbbsc-class-participant-sources{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}
@media (max-width:640px){
  .bbbsc-group-card__head,
  .bbbsc-class-group-panel__head,
  .bbbsc-class-connected-group{
    flex-direction:column;
    align-items:stretch;
  }
  .bbbsc-member-checklist{
    grid-template-columns:1fr;
  }
}

.bbbsc-user-groups-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:14px}
.bbbsc-user-group-card{border:1px solid rgba(15,23,42,.1);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.07);padding:16px}
.bbbsc-user-group-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.bbbsc-user-group-card__head h5{margin:0 0 6px;font-size:1rem;font-weight:900;color:#0f172a}
.bbbsc-user-group-card__head p{margin:0;color:#64748b;font-weight:700;font-size:.86rem}
.bbbsc-user-group-card__edit{border-top:1px solid rgba(15,23,42,.08);padding-top:10px;margin-top:10px}
.bbbsc-user-group-card__edit summary{cursor:pointer;font-weight:800;color:#334155}
.bbbsc-group-member-checklist{max-height:320px;overflow:auto;border-radius:16px;background:#f8fafc}
.bbbsc-class-group-assign-panel{border:1px solid rgba(15,23,42,.1);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.06);padding:16px;margin-bottom:16px}
.bbbsc-connected-groups{display:grid;gap:10px;margin-top:12px}
.bbbsc-connected-group-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:16px;border:1px solid rgba(15,23,42,.09);background:#f8fafc;font-weight:800;color:#334155}
.bbbsc-class-member-sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.bbbsc-class-member-source-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;background:rgba(15,23,42,.06);color:#475569;font-size:.76rem;font-weight:800}
@media (max-width:640px){.bbbsc-user-group-card__head,.bbbsc-connected-group-chip{flex-direction:column;align-items:stretch}}
.bbbsc-source-badges{display:inline-flex;align-items:center;align-self:flex-start;margin-top:4px;border-radius:999px;padding:3px 8px;background:rgba(15,23,42,.06);color:#475569;font-size:.76rem;font-weight:800}

/* v1.96.166 - Clean UI/UX for customer user groups subpage */
.bbbsc-users-page-card .bbbsc-user-subtabs{
  position:relative;
  display:flex;
  gap:8px;
  padding:6px;
  margin:16px 0 22px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#f8fafc;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.bbbsc-users-page-card .bbbsc-user-subtab{
  flex:0 0 auto;
  min-width:150px;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid transparent;
  background:transparent;
  color:#475569;
  box-shadow:none;
  font-weight:900;
}
.bbbsc-users-page-card .bbbsc-user-subtab.is-active,
.bbbsc-users-page-card .bbbsc-user-subtab[aria-selected="true"]{
  background:#fff;
  color:#b91c1c;
  border-color:rgba(185,28,28,.18);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.bbbsc-users-page-card .bbbsc-user-subpanel[hidden]{display:none!important}
.bbbsc-users-page-card .bbbsc-user-subpanel{display:block;margin-top:0}
.bbbsc-user-groups-page{display:grid;gap:16px}
.bbbsc-user-groups-page__head{align-items:flex-start}
.bbbsc-user-groups-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bbbsc-user-groups-summary>div{padding:16px;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 8px 22px rgba(15,23,42,.05)}
.bbbsc-user-groups-summary strong{display:block;font-size:26px;line-height:1;color:#0f172a;margin-bottom:8px}
.bbbsc-user-groups-summary span{display:block;color:#64748b;font-size:13px;font-weight:800}
.bbbsc-user-groups-toolbar{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.bbbsc-user-groups-toolbar input{min-width:min(360px,100%);border-radius:14px}
.bbbsc-user-groups-grid--clean{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:0}
.bbbsc-user-group-card{display:grid;gap:14px;padding:18px;border-radius:22px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bbbsc-user-group-card:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(15,23,42,.1);border-color:rgba(185,28,28,.16)}
.bbbsc-user-group-card__head{margin-bottom:0;align-items:flex-start}
.bbbsc-user-group-card__head h5{font-size:1.08rem;margin-bottom:6px}
.bbbsc-user-group-card__head p{line-height:1.8;font-size:.82rem}
.bbbsc-user-group-card__badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.76rem;font-weight:900;white-space:nowrap}
.bbbsc-user-group-card__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bbbsc-user-group-card__stats>div{padding:12px;border-radius:16px;border:1px solid rgba(15,23,42,.07);background:#f8fafc}
.bbbsc-user-group-card__stats strong{display:block;color:#0f172a;font-size:22px;line-height:1;margin-bottom:6px}
.bbbsc-user-group-card__stats small{color:#64748b;font-weight:800}
.bbbsc-user-group-card__members{display:flex;gap:7px;flex-wrap:wrap;min-height:34px;align-content:flex-start}
.bbbsc-user-group-card__members span{display:inline-flex;align-items:center;max-width:100%;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.78rem;font-weight:800;line-height:1.4}
.bbbsc-user-group-card__members--empty{padding:10px 12px;border-radius:14px;background:#f8fafc;color:#94a3b8;font-weight:800}
.bbbsc-user-group-card__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding-top:4px;border-top:1px solid rgba(15,23,42,.07)}
.bbbsc-user-group-card__actions form{margin:0}
.bbbsc-user-group-modal .bbbsc-front-modal__dialog{max-width:980px}
.bbbsc-user-group-modal .bbbsc-front-modal__dialog--scrollable{max-height:92vh;overflow:auto}
.bbbsc-user-group-form{display:grid;gap:16px}
.bbbsc-user-group-form>label:first-of-type input{font-size:16px;font-weight:800}
.bbbsc-user-group-form .bbbsc-group-member-checklist{max-height:44vh;border:1px solid rgba(15,23,42,.08);background:#f8fafc;padding:8px}
.bbbsc-user-groups-empty{display:grid;gap:12px;justify-items:center}
@media (max-width:782px){
  .bbbsc-users-page-card .bbbsc-user-subtabs{display:grid;grid-template-columns:1fr}
  .bbbsc-users-page-card .bbbsc-user-subtab{width:100%;min-width:0}
  .bbbsc-user-groups-summary{grid-template-columns:1fr}
  .bbbsc-user-group-card__head,.bbbsc-user-group-card__actions{flex-direction:column;align-items:stretch}
  .bbbsc-user-group-card__stats{grid-template-columns:1fr}
}


/* v1.96.167 - User groups one-line list + explicit member manager */
.bbbsc-user-groups-list--singleline{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin-top:0!important;
}
.bbbsc-user-group-row{
  display:grid;
  grid-template-columns:minmax(260px,1.45fr) minmax(220px,.85fr) auto;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.09);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:0 8px 22px rgba(15,23,42,.055);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.bbbsc-user-group-row:hover{
  transform:translateY(-1px);
  border-color:rgba(185,28,28,.18);
  box-shadow:0 14px 34px rgba(15,23,42,.085);
}
.bbbsc-user-group-row__main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.bbbsc-user-group-row__icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#f1f5f9;
  color:#0f172a;
  font-size:19px;
}
.bbbsc-user-group-row__main h5{
  margin:0 0 5px;
  color:#0f172a;
  font-size:1rem;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bbbsc-user-group-row__main p{
  margin:0;
  color:#64748b;
  font-size:.83rem;
  font-weight:750;
  line-height:1.55;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bbbsc-user-group-row__stats{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  flex-wrap:wrap;
}
.bbbsc-user-group-row__stats span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:7px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.07);
  color:#475569;
  font-size:.8rem;
  font-weight:850;
  white-space:nowrap;
}
.bbbsc-user-group-row__stats strong{
  color:#0f172a;
  font-size:.98rem;
  line-height:1;
}
.bbbsc-user-group-row__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:nowrap;
}
.bbbsc-user-group-row__actions form{margin:0;display:inline-flex}
.bbbsc-user-group-row__actions .button{white-space:nowrap}
.bbbsc-group-member-manager{
  display:grid;
  gap:12px;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#f8fafc;
}
.bbbsc-group-member-manager__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.07);
}
.bbbsc-group-member-manager__summary strong{
  display:block;
  margin-bottom:5px;
  color:#0f172a;
  font-size:.95rem;
  font-weight:950;
}
.bbbsc-group-member-manager__summary span{
  display:block;
  color:#64748b;
  font-size:.83rem;
  font-weight:750;
  line-height:1.65;
}
.bbbsc-group-member-manager__picker{
  display:grid;
  gap:10px;
}
.bbbsc-group-member-manager__picker>summary{
  width:max-content;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.bbbsc-group-member-manager__picker>summary::-webkit-details-marker{display:none}
.bbbsc-group-member-picker{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(15,23,42,.08);
}
.bbbsc-group-member-picker .bbbsc-front-bulk-users__toolbar{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.bbbsc-group-member-picker .bbbsc-front-bulk-users__toolbar input{
  min-width:min(360px,100%);
  border-radius:14px;
}
.bbbsc-group-member-checklist{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:8px;
  max-height:46vh!important;
  overflow:auto!important;
  padding:8px!important;
}
.bbbsc-group-member-checklist .bbbsc-front-checkitem{
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}
@media (max-width:960px){
  .bbbsc-user-group-row{grid-template-columns:1fr;align-items:stretch}
  .bbbsc-user-group-row__actions{justify-content:flex-start;flex-wrap:wrap}
  .bbbsc-user-group-row__main h5,.bbbsc-user-group-row__main p{white-space:normal}
}
@media (max-width:640px){
  .bbbsc-group-member-checklist{grid-template-columns:1fr}
  .bbbsc-group-member-manager__picker>summary{width:100%;text-align:center}
}

/* v1.96.168 - Always-visible member selector inside create/edit user group modals */
.bbbsc-group-member-manager--always-open{
  border:1px solid rgba(185,28,28,.16);
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#fff7f7);
  padding:16px;
  box-shadow:0 14px 34px rgba(15,23,42,.07);
}
.bbbsc-group-member-manager__title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(15,23,42,.08);
  margin-bottom:12px;
}
.bbbsc-group-member-manager__title strong{
  display:block;
  font-size:16px;
  color:#0f172a;
  margin-bottom:6px;
}
.bbbsc-group-member-manager__title span{
  display:block;
  color:#64748b;
  font-size:13px;
  font-weight:800;
  line-height:1.9;
}
.bbbsc-group-member-manager__title em{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 12px;
  border-radius:999px;
  background:#fee2e2;
  color:#991b1b;
  font-style:normal;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.bbbsc-group-member-manager--always-open .bbbsc-group-member-manager__summary{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  margin-bottom:12px;
}
.bbbsc-group-member-picker--visible{
  display:grid;
  gap:12px;
}
.bbbsc-group-member-picker__toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#fff;
}
.bbbsc-group-member-picker__toolbar input{
  min-width:min(380px,100%);
  flex:1 1 300px;
}
.bbbsc-group-member-manager__hint{
  margin:0;
}
.bbbsc-group-member-checkitem{
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.bbbsc-group-member-checkitem:has(input:checked){
  border-color:rgba(185,28,28,.38);
  background:#fff7f7;
  box-shadow:0 10px 24px rgba(185,28,28,.08);
}
.bbbsc-group-member-checkitem input[type="checkbox"]{
  width:18px;
  height:18px;
}
@media(max-width:760px){
  .bbbsc-group-member-manager__title{flex-direction:column;align-items:stretch}
  .bbbsc-group-member-manager__title em{align-self:flex-start}
}

/* v1.96.169 - User group member picker UX: selected users table + separate add-users modal */
.bbbsc-group-member-manager--modal-pick{
  padding:18px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  box-shadow:0 14px 32px rgba(15,23,42,.06);
  display:grid;
  gap:14px;
}
.bbbsc-group-member-manager__toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#fff;
}
.bbbsc-group-member-manager__toolbar small{
  color:#64748b;
  font-weight:800;
  line-height:1.9;
}
.bbbsc-selected-group-members-wrap,
.bbbsc-group-picker-list-wrap{
  overflow:auto;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#fff;
}
.bbbsc-selected-group-members-table,
.bbbsc-group-picker-table{
  width:100%;
  min-width:680px;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
}
.bbbsc-selected-group-members-table th,
.bbbsc-selected-group-members-table td,
.bbbsc-group-picker-table th,
.bbbsc-group-picker-table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(15,23,42,.07);
  text-align:right;
  vertical-align:middle;
  white-space:nowrap;
}
.bbbsc-selected-group-members-table th,
.bbbsc-group-picker-table th{
  position:sticky;
  top:0;
  z-index:1;
  background:#f8fafc;
  color:#475569;
  font-size:12px;
  font-weight:900;
}
.bbbsc-selected-group-members-table tr:last-child td,
.bbbsc-group-picker-table tr:last-child td{border-bottom:0}
.bbbsc-group-member-selected-row strong,
.bbbsc-group-picker-table strong{
  display:block;
  color:#0f172a;
  font-weight:950;
  margin-bottom:3px;
}
.bbbsc-group-member-selected-row small,
.bbbsc-group-picker-table small{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.bbbsc-group-member-empty td,
.bbbsc-group-picker-empty td{
  color:#64748b;
  font-weight:850;
  text-align:center;
  padding:22px 14px;
  background:#f8fafc;
}
.bbbsc-user-group-picker-modal .bbbsc-front-modal__dialog{
  max-width:min(900px,calc(100vw - 28px));
}
.bbbsc-group-picker-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#f8fafc;
}
.bbbsc-group-picker-toolbar input{
  flex:1 1 320px;
  min-width:min(360px,100%);
}
.bbbsc-group-picker-toolbar>div{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.bbbsc-group-picker-table input[type="checkbox"]{
  width:18px;
  height:18px;
}
@media(max-width:760px){
  .bbbsc-group-member-manager__toolbar{align-items:stretch;flex-direction:column}
  .bbbsc-group-member-manager__toolbar .button{width:100%;justify-content:center}
  .bbbsc-selected-group-members-table,
  .bbbsc-group-picker-table{min-width:620px}
}

/* v1.96.170 - Compact class user group assignment panel */
.bbbsc-class-group-assign-panel--compact{
  display:grid;
  gap:12px;
  padding:14px;
  border-radius:18px;
  margin-bottom:14px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}
.bbbsc-class-group-assign-panel__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.bbbsc-class-group-assign-panel__top h5{
  margin:0 0 4px;
  color:#0f172a;
  font-size:.98rem;
  font-weight:950;
}
.bbbsc-class-group-assign-panel__top span{
  display:block;
  color:#64748b;
  font-size:.8rem;
  font-weight:800;
  line-height:1.7;
}
.bbbsc-class-group-count{
  flex:0 0 auto;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3!important;
  border:1px solid rgba(99,102,241,.18);
  white-space:nowrap;
}
.bbbsc-class-group-quick-form{
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto;
  gap:8px;
  align-items:center;
  padding:9px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}
.bbbsc-class-group-quick-form select{
  width:100%;
  min-height:40px;
  border-radius:12px;
  margin:0;
}
.bbbsc-class-group-quick-form .button{
  min-height:40px;
  border-radius:12px;
  white-space:nowrap;
}
.bbbsc-class-connected-groups-compact{
  display:grid;
  gap:8px;
}
.bbbsc-class-connected-group-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:48px;
  padding:8px 10px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.075);
}
.bbbsc-class-connected-group-row__main{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.bbbsc-class-connected-group-row__icon{
  flex:0 0 30px;
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 12px rgba(15,23,42,.06);
}
.bbbsc-class-connected-group-row strong{
  display:block;
  color:#0f172a;
  font-size:.88rem;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbbsc-class-connected-group-row small{
  display:block;
  color:#64748b;
  font-size:.76rem;
  font-weight:800;
  margin-top:2px;
}
.bbbsc-class-connected-group-row form{
  margin:0;
}
.bbbsc-class-group-detach-btn{
  border-radius:11px!important;
  color:#991b1b!important;
  border-color:rgba(185,28,28,.25)!important;
  background:#fff!important;
  white-space:nowrap;
}
.bbbsc-class-group-detach-btn:hover{
  background:#fef2f2!important;
  border-color:rgba(185,28,28,.42)!important;
}
.bbbsc-class-connected-groups-empty,
.bbbsc-class-group-empty-note{
  margin:0;
  border-radius:14px;
  font-weight:800;
}
@media (max-width:720px){
  .bbbsc-class-group-assign-panel__top,
  .bbbsc-class-connected-group-row{
    grid-template-columns:1fr;
    display:grid;
  }
  .bbbsc-class-group-count{
    justify-self:start;
  }
  .bbbsc-class-group-quick-form{
    grid-template-columns:1fr;
  }
  .bbbsc-class-connected-group-row form,
  .bbbsc-class-connected-group-row form .button{
    width:100%;
  }
}

/* v1.96.171 - Class group add button + small picker modal */
.bbbsc-class-group-add-trigger-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px dashed rgba(37,99,235,.28);
  border-radius:14px;
  background:#f8fbff;
}
.bbbsc-class-group-add-trigger-row small{
  color:#64748b;
  font-size:.78rem;
  font-weight:800;
  line-height:1.8;
}
.bbbsc-class-group-add-trigger{
  border-radius:12px!important;
  min-height:38px;
  white-space:nowrap;
}
.bbbsc-class-group-add-modal__dialog{
  max-width:min(520px,calc(100vw - 24px))!important;
  border-radius:24px;
}
.bbbsc-class-group-modal-form{
  display:grid;
  gap:14px;
}
.bbbsc-class-group-modal-form label{
  display:grid;
  gap:8px;
  color:#0f172a;
  font-weight:900;
}
.bbbsc-class-group-modal-form select{
  width:100%;
  min-height:44px;
  border-radius:14px;
  margin:0;
}
.bbbsc-class-group-modal-form .bbbsc-front-button-row{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-top:2px;
}
.bbbsc-class-group-modal-form .button{
  min-height:38px;
  border-radius:12px!important;
}
@media(max-width:720px){
  .bbbsc-class-group-add-trigger-row{
    align-items:stretch;
    flex-direction:column;
  }
  .bbbsc-class-group-add-trigger-row .button,
  .bbbsc-class-group-modal-form .bbbsc-front-button-row .button{
    width:100%;
    justify-content:center;
  }
}

/* v1.96.173 recurring class builder */
.bbbsc-recurring-builder,
.bbbsc-admin-recurring-box{
  border:1px solid rgba(15,23,42,.12);
  background:linear-gradient(180deg, rgba(248,250,252,.95), rgba(255,255,255,.98));
  border-radius:16px;
  padding:14px;
  margin-top:10px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.bbbsc-recurring-builder__header,
.bbbsc-recurring-slots__head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:12px;
}
.bbbsc-recurring-builder__header small,
.bbbsc-recurring-slots__head small,
.bbbsc-recurring-preview{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-top:4px;
}
.bbbsc-recurring-grid,
.bbbsc-recurring-slot-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  align-items:end;
}
.bbbsc-recurring-slots{
  margin-top:12px;
}
.bbbsc-recurring-slot-row{
  padding:10px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:12px;
  background:#fff;
  margin-bottom:8px;
}
.bbbsc-recurring-slot-row label,
.bbbsc-recurring-grid label{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.bbbsc-recurring-slot-row input,
.bbbsc-recurring-slot-row select,
.bbbsc-recurring-grid input,
.bbbsc-recurring-grid select{
  width:100%;
  min-height:38px;
}
.bbbsc-recurring-add-row,
.bbbsc-recurring-remove-row{
  white-space:nowrap;
}
.bbbsc-recurring-preview{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(59,130,246,.08);
  color:#1e3a8a;
}
@media (max-width: 782px){
  .bbbsc-recurring-grid,
  .bbbsc-recurring-slot-row{
    grid-template-columns:1fr;
  }
}


/* v1.96.179 - Customer portal certificates > issued certificates top layout */
.bbbsc-certificate-issued-top{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:14px !important;
  align-items:start;
  direction:rtl;
}
.bbbsc-certificate-issued-top > .bbbsc-front-card{
  min-width:0;
  width:100%;
}
.bbbsc-certificate-issued-top .bbbsc-issued-class-list{
  margin-top:10px;
}
@media (max-width:900px){
  .bbbsc-certificate-issued-top{
    grid-template-columns:1fr !important;
  }
}

/* v1.96.181 - Customer portal certificates > manual class issue rebuilt as server-side lazy list */
.bbbsc-certificate-manual-card .bbbsc-certificate-manual-filter{
  display:grid !important;
  grid-template-columns:minmax(260px,1.25fr) minmax(220px,1fr) minmax(180px,.75fr) auto !important;
  gap:12px !important;
  align-items:end !important;
}
.bbbsc-certificate-manual-card .bbbsc-certificate-manual-filter label{
  margin:0 !important;
  font-weight:800 !important;
}
.bbbsc-certificate-manual-card .bbbsc-certificate-manual-filter input,
.bbbsc-certificate-manual-card .bbbsc-certificate-manual-filter select{
  width:100% !important;
  min-height:40px !important;
  margin-top:6px !important;
}
.bbbsc-certificate-manual-result-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin:14px 0 10px !important;
  padding:10px 12px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  border-radius:14px !important;
  background:#f8fafc !important;
}
.bbbsc-certificate-manual-result-head strong{font-weight:900 !important;color:#0f172a !important}
.bbbsc-certificate-manual-result-head span{font-size:12px !important;font-weight:800 !important;color:#64748b !important}
.bbbsc-certificate-manual-table-wrap{margin-top:8px !important}
.bbbsc-certificate-status-badge{display:inline-flex !important;align-items:center !important;border-radius:999px !important;padding:4px 10px !important;font-size:12px !important;font-weight:900 !important;white-space:nowrap !important}
.bbbsc-certificate-status-badge--ready{background:#ecfdf5 !important;color:#047857 !important;border:1px solid rgba(4,120,87,.18) !important}
.bbbsc-certificate-status-badge--issued{background:#f1f5f9 !important;color:#475569 !important;border:1px solid rgba(71,85,105,.18) !important}
.bbbsc-certificate-manual-bulk-form{margin-top:14px !important}
.bbbsc-certificate-manual-empty{margin-top:14px !important}
@media (max-width:900px){
  .bbbsc-certificate-manual-card .bbbsc-certificate-manual-filter{grid-template-columns:1fr !important}
  .bbbsc-certificate-manual-card .bbbsc-class-modal-grid__actions{justify-content:stretch !important}
  .bbbsc-certificate-manual-card .bbbsc-class-modal-grid__actions .button{width:100% !important;text-align:center !important}
}

/* v1.96.183 - Manual certificate class select/filter handled with document-level Ajax guards; class list stays lazy and page-safe. */

.bbbsc-certificate-all-job-panel {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(30, 41, 59, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.bbbsc-certificate-all-job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.bbbsc-certificate-all-job-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.bbbsc-certificate-all-job-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: currentColor;
  transition: width 0.25s ease;
}
.bbbsc-certificate-all-job-text {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.78;
}

.bbbsc-certificate-all-job-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}
.bbbsc-certificate-all-job-dismiss:hover,
.bbbsc-certificate-all-job-dismiss:focus {
  background: rgba(185, 28, 28, 0.12);
  outline: none;
}
.bbbsc-certificate-all-job-dismiss[hidden] {
  display: none !important;
}
.bbbsc-certificate-all-job-head [data-bbbsc-certificate-job-title] {
  margin-inline-end: auto;
}

/* v1.96.209 single-user class checkout */
.bbbsc-storefront-single-checkout{max-width:min(760px,calc(100vw - 28px))!important;width:min(760px,calc(100vw - 28px))!important;border-radius:28px;overflow:hidden;background:linear-gradient(180deg,#f8fbff 0%,#fff 22%,#fff 100%)}
.bbbsc-storefront-single-form{display:grid;gap:16px}
.bbbsc-storefront-single-summary{margin:0;border-radius:22px}
.bbbsc-storefront-single-buyer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bbbsc-storefront-single-buyer>div{display:grid;gap:5px;padding:16px 18px;border:1px solid #dbe7f5;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 12px 26px rgba(15,23,42,.05)}
.bbbsc-storefront-single-buyer span{font-size:12px;color:#64748b;font-weight:800}
.bbbsc-storefront-single-buyer strong{font-size:16px;color:#0f172a;font-weight:900;line-height:1.6}
.bbbsc-storefront-single-buyer small{font-size:12px;color:#64748b;font-weight:700;line-height:1.7}
@media (max-width:782px){.bbbsc-storefront-single-buyer{grid-template-columns:1fr}.bbbsc-storefront-single-checkout .bbbsc-class-modal-grid__actions .button{width:100%;text-align:center}}


/* v1.96.210 mobile quick-access account modal: keep above fullscreen mobile menu */
body .bbbsc-quick-access-modal{
  z-index:1000020!important;
}
body .bbbsc-quick-access-modal .bbbsc-front-modal__backdrop{
  z-index:0!important;
}
body .bbbsc-quick-access-modal .bbbsc-front-modal__dialog{
  z-index:2!important;
}
@media (max-width:782px){
  body .bbbsc-quick-access-modal.is-open{
    display:flex!important;
    align-items:stretch!important;
    justify-content:stretch!important;
  }
  body .bbbsc-quick-access-modal .bbbsc-front-modal__backdrop{
    background:rgba(2,6,23,.68)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }
  body .bbbsc-quick-access-modal .bbbsc-front-modal__dialog,
  body .bbbsc-quick-access-modal .bbbsc-quick-access-modal__dialog{
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:100vh!important;
    max-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
    padding:0!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
    box-shadow:none!important;
  }
  body .bbbsc-quick-access-modal .bbbsc-front-modal__close{
    position:fixed!important;
    top:calc(14px + env(safe-area-inset-top))!important;
    left:calc(14px + env(safe-area-inset-left))!important;
    z-index:5!important;
  }
  body .bbbsc-quick-access-modal__surface{
    width:100%!important;
    flex:1 1 auto!important;
    max-height:none!important;
    height:100%!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    border-radius:0!important;
    padding:calc(64px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))!important;
    display:grid!important;
    align-content:start!important;
    gap:14px!important;
  }
  body .bbbsc-quick-access-menu{
    gap:12px!important;
  }
  body .bbbsc-quick-access-menu__item{
    min-height:72px!important;
    border-radius:20px!important;
    padding:14px 16px!important;
  }
  body .bbbsc-quick-access-account-panel{
    min-height:0!important;
  }
  body .bbbsc-quick-access-account-panel__head{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    background:rgba(248,251,255,.92)!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
    border-radius:18px!important;
    padding:10px!important;
    margin-bottom:10px!important;
  }
}

/* 1.96.235 admin/ui polish */
.bbbsc-certificate-manual-top-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 10px;padding:12px 14px;border:1px solid rgba(37,99,235,.14);border-radius:16px;background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);box-shadow:0 10px 24px rgba(15,23,42,.05)}
.bbbsc-certificate-manual-top-actions span{font-size:12px;font-weight:800;color:#475569}.bbbsc-certificate-manual-top-actions .button{margin:0!important}
.bbbsc-class-capacity-summary{padding:12px!important;border:1px solid rgba(59,130,246,.16)!important;border-radius:18px!important;background:linear-gradient(135deg,#f8fbff 0%,#ffffff 52%,#f0fdfa 100%)!important;box-shadow:0 12px 28px rgba(15,23,42,.06)!important;overflow:hidden;position:relative}.bbbsc-class-capacity-summary:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#2563eb,#14b8a6);opacity:.9}.bbbsc-class-capacity-summary__title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.bbbsc-class-capacity-summary__title strong{font-size:14px;color:#0f172a;line-height:1.6}.bbbsc-class-capacity-summary__title span{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;background:#ecfeff;color:#0f766e;font-size:11px;font-weight:900;border:1px solid #a5f3fc}.bbbsc-class-capacity-summary__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bbbsc-class-capacity-summary__grid>div{min-width:0;padding:9px 10px;border-radius:13px;background:rgba(255,255,255,.88);border:1px solid rgba(148,163,184,.22);box-shadow:0 6px 16px rgba(15,23,42,.035)}.bbbsc-class-capacity-summary__grid span{display:block;margin-bottom:3px;font-size:10.5px;font-weight:900;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bbbsc-class-capacity-summary__grid strong{display:block;font-size:13px;font-weight:900;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bbbsc-class-capacity-summary__live{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding:9px 10px;border-radius:13px;background:#0f172a;color:#e2e8f0}.bbbsc-class-capacity-summary__live span{font-size:12px;font-weight:800;color:#cbd5e1}.bbbsc-class-capacity-summary__live strong{font-size:15px;font-weight:900;color:#fff}.bbbsc-class-capacity-summary.is-over-limit{border-color:#f87171!important;background:linear-gradient(135deg,#fff1f2 0%,#ffffff 100%)!important}.bbbsc-class-capacity-summary.is-over-limit:before{background:linear-gradient(90deg,#ef4444,#f97316)}.bbbsc-class-capacity-summary.is-over-limit .bbbsc-class-capacity-summary__live{background:#991b1b}
.bbbsc-front-modal__dialog--class-suite-resources .bbbsc-front-modal__close,.bbbsc-front-modal__dialog--class-suite-certificates .bbbsc-front-modal__close{background:#ffffff!important;color:#0f172a!important;border:1px solid rgba(15,23,42,.14)!important;box-shadow:0 14px 34px rgba(15,23,42,.22)!important;text-shadow:none!important;font-size:28px!important;font-weight:900!important;z-index:20!important}.bbbsc-front-modal__dialog--class-suite-resources .bbbsc-front-modal__close:hover,.bbbsc-front-modal__dialog--class-suite-resources .bbbsc-front-modal__close:focus,.bbbsc-front-modal__dialog--class-suite-certificates .bbbsc-front-modal__close:hover,.bbbsc-front-modal__dialog--class-suite-certificates .bbbsc-front-modal__close:focus{background:#0f172a!important;color:#fff!important;transform:translateY(-1px) scale(1.03)!important}
@media (max-width:782px){.bbbsc-certificate-manual-top-actions{align-items:stretch}.bbbsc-certificate-manual-top-actions .button{width:100%;text-align:center}.bbbsc-class-capacity-summary{padding:10px!important;border-radius:16px!important}.bbbsc-class-capacity-summary__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.bbbsc-class-capacity-summary__grid>div{padding:8px}.bbbsc-class-capacity-summary__title{align-items:flex-start;flex-direction:column;gap:6px}.bbbsc-storefront-page .bbbsc-front-hero{padding:14px!important;margin-bottom:10px!important;border-radius:18px!important}.bbbsc-storefront-page .bbbsc-front-hero h2,.bbbsc-storefront-page .bbbsc-front-hero h3{font-size:19px!important;line-height:1.55!important;margin-bottom:4px!important}.bbbsc-storefront-page .bbbsc-front-hero p{font-size:12.5px!important;line-height:1.75!important;margin:0!important}.bbbsc-storefront-page .bbbsc-front-card:not(.bbbsc-storefront-class-card){padding:12px!important;border-radius:18px!important;margin-bottom:10px!important}.bbbsc-storefront-page .bbbsc-front-card .bbbsc-card-head{gap:8px!important;margin-bottom:8px!important}.bbbsc-storefront-page .bbbsc-front-card .bbbsc-card-head h3,.bbbsc-storefront-page .bbbsc-front-card .bbbsc-card-head h4{font-size:17px!important;margin-bottom:3px!important}.bbbsc-storefront-page .bbbsc-front-card .bbbsc-card-head p{font-size:12px!important;line-height:1.65!important}.bbbsc-storefront-page .bbbsc-storefront-filter-bar .bbbsc-form-section{padding:10px!important;border-radius:16px!important;gap:8px!important}.bbbsc-storefront-page .bbbsc-storefront-filter-bar .bbbsc-form-section__grid{gap:8px!important}.bbbsc-storefront-page .bbbsc-storefront-filter-bar input,.bbbsc-storefront-page .bbbsc-storefront-filter-bar select{min-height:38px!important;padding:8px 10px!important;font-size:13px!important}.bbbsc-storefront-page .bbbsc-front-meta{gap:6px!important;margin-top:8px!important}.bbbsc-storefront-page .bbbsc-front-meta li{min-width:0!important;padding:7px 8px!important;border-radius:12px!important}.bbbsc-storefront-page .bbbsc-front-meta span{font-size:10.5px!important}.bbbsc-storefront-page .bbbsc-front-meta strong{font-size:12px!important;line-height:1.45!important}.bbbsc-storefront-class-card__media{min-height:128px!important}.bbbsc-storefront-class-card .bbbsc-card-head{padding:0!important}.bbbsc-storefront-class-card__description{font-size:12px!important;line-height:1.65!important;margin-top:6px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bbbsc-storefront-class-card__price{font-size:18px!important}.bbbsc-storefront-class-card .bbbsc-front-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* 1.96.236 - recurring class portal/student/teacher polish */
.bbbsc-recurring-class-meta{
    display:grid;
    gap:6px;
    min-width:210px;
}
.bbbsc-recurring-class-meta strong{
    color:#1d4ed8;
    font-weight:900;
}
.bbbsc-recurring-class-meta span{
    color:#475569;
    font-size:12px;
    line-height:1.8;
}
.bbbsc-class-status-box--recurring{
    display:grid;
    gap:7px;
    justify-items:center;
    text-align:center;
    min-width:190px;
    padding:10px 12px!important;
    border:1px solid rgba(37,99,235,.14);
    border-radius:18px;
    background:linear-gradient(135deg,#ffffff 0%,#eff6ff 100%);
    box-shadow:0 12px 24px rgba(37,99,235,.06);
}
.bbbsc-class-card__schedule--recurring,
.bbbsc-class-card__schedule--user-recurring{
    background:linear-gradient(135deg,#eef6ff 0%,#f8fbff 100%)!important;
    border:1px solid rgba(37,99,235,.18)!important;
    box-shadow:0 10px 22px rgba(37,99,235,.07)!important;
}
.bbbsc-user-class-row--type-recurring td:first-child{
    border-right:4px solid #2563eb;
}
.bbbsc-user-class-row--type-recurring .bbbsc-user-class-title strong::after,
.bbbsc-class-card--type-recurring .bbbsc-class-card__head h4::after{
    content:"تکرارشونده";
    display:inline-flex;
    align-items:center;
    margin-inline-start:8px;
    padding:2px 8px;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    font-size:11px;
    font-weight:900;
    line-height:1.6;
    vertical-align:middle;
}
.bbbsc-class-card--type-recurring{
    border-color:rgba(37,99,235,.22)!important;
    box-shadow:0 18px 38px rgba(37,99,235,.08)!important;
}
.bbbsc-class-card--type-recurring .bbbsc-class-card__meta li:first-child,
.bbbsc-user-class-row--type-recurring .bbbsc-user-class-meta span:first-child{
    color:#1d4ed8;
    font-weight:900;
}
.bbbsc-recurring-builder input[data-bbbsc-time24="1"]{
    direction:ltr;
    text-align:center;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
    letter-spacing:.03em;
}
@media (max-width:782px){
    .bbbsc-recurring-class-meta,
    .bbbsc-class-status-box--recurring{
        min-width:0;
        width:100%;
    }
    .bbbsc-class-card__schedule--user-recurring,
    .bbbsc-class-card__schedule--recurring{
        padding:8px 10px!important;
        border-radius:14px!important;
    }
}

/* 1.96.238 - compact live class capacity summary beside capacity fields */
.bbbsc-class-capacity-summary{
  margin-top:-2px!important;
  padding:8px 10px!important;
  border-radius:14px!important;
  box-shadow:0 6px 16px rgba(15,23,42,.045)!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;
}
.bbbsc-class-capacity-summary:before{height:2px!important;opacity:.75!important}
.bbbsc-class-capacity-summary__title{
  margin-bottom:6px!important;
  gap:8px!important;
}
.bbbsc-class-capacity-summary__title strong{
  font-size:12.5px!important;
  line-height:1.4!important;
}
.bbbsc-class-capacity-summary__title span{
  padding:2px 7px!important;
  font-size:10px!important;
  line-height:1.4!important;
}
.bbbsc-class-capacity-summary__grid{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
}
.bbbsc-class-capacity-summary__grid>div{
  flex:1 1 92px!important;
  min-width:92px!important;
  padding:5px 7px!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.bbbsc-class-capacity-summary__grid span{
  margin-bottom:1px!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
.bbbsc-class-capacity-summary__grid strong{
  font-size:11.5px!important;
  line-height:1.45!important;
}
.bbbsc-class-capacity-summary__live{
  margin-top:6px!important;
  padding:6px 8px!important;
  border-radius:10px!important;
  background:#e0f2fe!important;
  color:#0f172a!important;
}
.bbbsc-class-capacity-summary__live span{
  font-size:10.5px!important;
  color:#0369a1!important;
}
.bbbsc-class-capacity-summary__live strong{
  font-size:12.5px!important;
  color:#0f172a!important;
}
.bbbsc-class-capacity-summary.is-over-limit .bbbsc-class-capacity-summary__live{
  background:#fee2e2!important;
}
.bbbsc-class-capacity-summary.is-over-limit .bbbsc-class-capacity-summary__live span,
.bbbsc-class-capacity-summary.is-over-limit .bbbsc-class-capacity-summary__live strong{
  color:#991b1b!important;
}
@media (max-width:782px){
  .bbbsc-class-capacity-summary{padding:7px 8px!important;border-radius:12px!important}
  .bbbsc-class-capacity-summary__grid>div{flex:1 1 calc(50% - 6px)!important;min-width:0!important;padding:5px 6px!important}
  .bbbsc-class-capacity-summary__title{flex-direction:row!important;align-items:center!important;gap:6px!important}
}

/* BBB SaaS Core - Affiliate dashboard */
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;position:sticky;top:16px;z-index:5;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);padding:10px;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs a{padding:9px 14px;border-radius:14px;text-decoration:none;background:#f8fafc;color:#0f172a;font-weight:700;border:1px solid rgba(15,23,42,.06)}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs a:hover{background:#eef2ff;color:#1d4ed8}
.bbbsc-affiliate-dashboard .bbbsc-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:12px 0}
.bbbsc-affiliate-dashboard .bbbsc-mini-stat{padding:16px;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 24px rgba(15,23,42,.05)}
.bbbsc-affiliate-dashboard .bbbsc-mini-stat span{display:block;color:#64748b;font-size:12px;margin-bottom:8px}
.bbbsc-affiliate-dashboard .bbbsc-mini-stat strong{font-size:20px;color:#0f172a}
.bbbsc-affiliate-dashboard .bbbsc-copy-box{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bbbsc-affiliate-dashboard .bbbsc-copy-box input{flex:1;min-width:260px;direction:ltr;text-align:left;font-family:monospace;border-radius:14px;border:1px solid rgba(15,23,42,.12);padding:12px}
.bbbsc-affiliate-dashboard section{scroll-margin-top:90px;margin-bottom:16px}
.bbbsc-responsive-table{width:100%;overflow-x:auto;border-radius:16px;border:1px solid rgba(15,23,42,.08)}
.bbbsc-responsive-table table{min-width:720px;margin:0}
@media(max-width:720px){.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs{position:static}.bbbsc-affiliate-dashboard .bbbsc-copy-box{display:block}.bbbsc-affiliate-dashboard .bbbsc-copy-box input{width:100%;min-width:0;margin-bottom:8px}}

/* Affiliate dashboard settlement/bank-account polish */
.bbbsc-affiliate-dashboard .bbbsc-affiliate-settlement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin:16px 0}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-bank-box,
.bbbsc-affiliate-dashboard .bbbsc-affiliate-withdraw-box{padding:16px;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 26px rgba(15,23,42,.045)}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-bank-box h4,
.bbbsc-affiliate-dashboard .bbbsc-affiliate-withdraw-box h4{margin-top:0}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-settlement-card .widefat td[dir="ltr"]{font-family:monospace;text-align:left;direction:ltr}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs{align-items:center}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs a[href="#bbbsc-aff-settlement"]{background:#ecfeff;border-color:#a5f3fc;color:#0e7490}
@media(max-width:720px){.bbbsc-affiliate-dashboard .bbbsc-affiliate-settlement-grid{grid-template-columns:1fr}.bbbsc-affiliate-dashboard .bbbsc-affiliate-bank-box,.bbbsc-affiliate-dashboard .bbbsc-affiliate-withdraw-box{padding:13px}}

/* Checkout discount apply field */
.bbbsc-checkout-discount-field {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.bbbsc-checkout-discount-field > label {
  font-weight: 800;
  color: #0f172a;
}
.bbbsc-checkout-discount-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.bbbsc-checkout-discount-row input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #d1d5db;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.bbbsc-checkout-discount-row .button {
  white-space: nowrap;
}
.bbbsc-checkout-discount-field.is-valid input[type="text"] {
  border-color: #16a34a !important;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .14);
}
.bbbsc-checkout-discount-field.is-invalid input[type="text"] {
  border-color: #dc2626 !important;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.bbbsc-checkout-discount-message {
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  padding: 8px 10px;
}
.bbbsc-checkout-discount-message--success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.bbbsc-checkout-discount-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
@media (max-width: 520px) {
  .bbbsc-checkout-discount-row {
    flex-direction: column;
  }
  .bbbsc-checkout-discount-row .button {
    width: 100%;
  }
}

/* Affiliate dashboard: real tab pages */
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs a.is-active,
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tabs a[aria-current="page"]{
    background:#1d4ed8;
    color:#fff;
    border-color:#1d4ed8;
    box-shadow:0 10px 24px rgba(29,78,216,.22);
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-tab-page{
    margin-top:14px;
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-panel{
    animation:bbbscAffiliatePanelIn .18s ease-out;
}
@keyframes bbbscAffiliatePanelIn{
    from{opacity:.45;transform:translateY(6px)}
    to{opacity:1;transform:translateY(0)}
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-lead{
    margin:0 0 14px;
    color:#475569;
    font-size:15px;
    line-height:1.9;
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:16px;
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid article{
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    padding:16px;
    box-shadow:0 12px 28px rgba(15,23,42,.04);
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid h4{
    margin:0 0 8px;
    font-size:15px;
    color:#0f172a;
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid p,
.bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid li{
    color:#475569;
    line-height:1.9;
    margin:0 0 8px;
}
.bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid ul{
    margin:0;
    padding-inline-start:20px;
}
@media(max-width:780px){
    .bbbsc-affiliate-dashboard .bbbsc-affiliate-guide-grid{grid-template-columns:1fr}
}



.bbbsc-wallet-toggle-card {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(33, 43, 96, .14) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  margin: 0 0 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045) !important;
  direction: rtl !important;
  overflow: hidden !important;
}
.bbbsc-wallet-toggle-card--compact {
  display: block !important;
  width: 100% !important;
}
.bbbsc-wallet-toggle-card.is-wallet-on {
  border-color: rgba(18, 183, 106, .45) !important;
  background: linear-gradient(180deg, rgba(18, 183, 106, .055), #fff 78%) !important;
}
.bbbsc-wallet-toggle {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  cursor: pointer !important;
}
.bbbsc-wallet-toggle__control {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 32px !important;
  flex: 0 0 54px !important;
}
.bbbsc-wallet-toggle__control input[type="checkbox"],
.bbbsc-wallet-toggle input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bbbsc-wallet-toggle__switch {
  display: block !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 32px !important;
  border-radius: 999px !important;
  background: #cfd8e3 !important;
  position: relative !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08) !important;
  transition: background .2s ease, box-shadow .2s ease !important;
}
.bbbsc-wallet-toggle__switch::before {
  content: "" !important;
  position: absolute !important;
  top: 4px !important;
  left: 4px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .22) !important;
  transition: transform .2s ease !important;
}
.bbbsc-wallet-toggle input[type="checkbox"]:checked + .bbbsc-wallet-toggle__switch,
.bbbsc-wallet-toggle__control input[type="checkbox"]:checked + .bbbsc-wallet-toggle__switch {
  background: #12b76a !important;
  box-shadow: inset 0 0 0 1px rgba(18, 183, 106, .18), 0 0 0 4px rgba(18, 183, 106, .12) !important;
}
.bbbsc-wallet-toggle input[type="checkbox"]:checked + .bbbsc-wallet-toggle__switch::before,
.bbbsc-wallet-toggle__control input[type="checkbox"]:checked + .bbbsc-wallet-toggle__switch::before {
  transform: translateX(22px) !important;
}
.bbbsc-wallet-toggle input[type="checkbox"]:disabled + .bbbsc-wallet-toggle__switch {
  opacity: .55 !important;
  filter: grayscale(.1) !important;
}
.bbbsc-wallet-toggle__content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  direction: rtl !important;
}
.bbbsc-wallet-toggle__body {
  display: grid !important;
  gap: 4px !important;
  line-height: 1.5 !important;
  min-width: 0 !important;
  text-align: right !important;
  flex: 1 1 auto !important;
}
.bbbsc-wallet-toggle__body strong {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #101828 !important;
  white-space: normal !important;
}
.bbbsc-wallet-toggle__body small {
  color: #667085 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.bbbsc-wallet-toggle__amount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  background: rgba(33, 43, 96, .06) !important;
  color: #212b60 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  line-height: 1.5 !important;
}
.bbbsc-wallet-toggle-card.is-wallet-on .bbbsc-wallet-toggle__amount {
  background: rgba(18, 183, 106, .1) !important;
  color: #027a48 !important;
}
.bbbsc-wallet-toggle__balance-pill {
  display: none !important;
}
.bbbsc-wallet-payment-breakdown {
  margin-top: 8px !important;
}
.bbbsc-wallet-toggle__description {
  margin-top: 6px !important;
}
@media(max-width:540px){
  .bbbsc-wallet-toggle-card {
    padding: 12px !important;
  }
  .bbbsc-wallet-toggle {
    gap: 12px !important;
    min-height: 52px !important;
  }
  .bbbsc-wallet-toggle__control,
  .bbbsc-wallet-toggle__switch {
    width: 50px !important;
    min-width: 50px !important;
    flex-basis: 50px !important;
    height: 30px !important;
  }
  .bbbsc-wallet-toggle__switch::before {
    width: 22px !important;
    height: 22px !important;
    top: 4px !important;
    left: 4px !important;
  }
  .bbbsc-wallet-toggle input[type="checkbox"]:checked + .bbbsc-wallet-toggle__switch::before,
  .bbbsc-wallet-toggle__control input[type="checkbox"]:checked + .bbbsc-wallet-toggle__switch::before {
    transform: translateX(20px) !important;
  }
  .bbbsc-wallet-toggle__content {
    gap: 10px !important;
  }
  .bbbsc-wallet-toggle__body strong {
    font-size: 14px !important;
  }
  .bbbsc-wallet-toggle__amount {
    font-size: 12px !important;
    padding: 5px 10px !important;
  }
}




/* v1.96.248 wallet toggle root UI fix v3: full-width payment wallet card + isolated toggle */
.bbbsc-wallet-paybox-v3{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;grid-column:1/-1!important;justify-self:stretch!important;align-self:stretch!important;float:none!important;clear:both!important;margin:0 0 12px!important;padding:14px 16px!important;border:1px solid rgba(33,43,96,.16)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.05)!important;direction:rtl!important;overflow:hidden!important}.bbbsc-wallet-paybox-v3.is-wallet-on{border-color:rgba(18,183,106,.48)!important;background:linear-gradient(180deg,rgba(18,183,106,.065),#fff 82%)!important}.bbbsc-wallet-paybox-v3__toggle{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;width:100%!important;min-height:60px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;direction:ltr!important;cursor:pointer!important;color:#101828!important}.bbbsc-wallet-paybox-v3__control{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:92px!important;min-width:92px!important;height:36px!important;flex:0 0 92px!important;order:1!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer!important;z-index:3!important}.bbbsc-wallet-paybox-v3__switch{display:block!important;width:92px!important;min-width:92px!important;height:36px!important;border-radius:999px!important;background:#cfd8e3!important;position:relative!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.10)!important;transition:background .2s ease,box-shadow .2s ease!important;overflow:hidden!important}.bbbsc-wallet-paybox-v3__switch:before{content:""!important;position:absolute!important;top:4px!important;left:4px!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.25)!important;transition:transform .2s ease!important;z-index:2!important}.bbbsc-wallet-paybox-v3__switch:after{content:"غیرفعال"!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;padding:0 12px 0 38px!important;box-sizing:border-box!important;color:#475569!important;font-size:11px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;z-index:1!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]:checked+.bbbsc-wallet-paybox-v3__switch{background:#12b76a!important;box-shadow:inset 0 0 0 1px rgba(18,183,106,.20),0 0 0 4px rgba(18,183,106,.12)!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]:checked+.bbbsc-wallet-paybox-v3__switch:before{transform:translateX(56px)!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]:checked+.bbbsc-wallet-paybox-v3__switch:after{content:"فعال"!important;justify-content:flex-start!important;padding:0 38px 0 14px!important;color:#fff!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]:disabled+.bbbsc-wallet-paybox-v3__switch{opacity:.55!important;filter:grayscale(.1)!important}.bbbsc-wallet-paybox-v3__content{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;direction:rtl!important;order:2!important}.bbbsc-wallet-paybox-v3__body{display:grid!important;gap:4px!important;line-height:1.55!important;min-width:0!important;text-align:right!important;flex:1 1 auto!important}.bbbsc-wallet-paybox-v3__body strong{font-size:15px!important;font-weight:900!important;color:#101828!important;white-space:normal!important;margin:0!important}.bbbsc-wallet-paybox-v3__body small{font-size:12px!important;font-weight:800!important;color:#667085!important;margin:0!important}.bbbsc-wallet-paybox-v3__amount{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;flex:0 0 auto!important;border-radius:999px!important;padding:7px 13px!important;background:rgba(33,43,96,.07)!important;color:#212b60!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;line-height:1.5!important}.bbbsc-wallet-paybox-v3.is-wallet-on .bbbsc-wallet-paybox-v3__amount{background:rgba(18,183,106,.12)!important;color:#027a48!important}.bbbsc-wallet-paybox-v3+.bbbsc-wallet-payment-breakdown{width:100%!important;max-width:none!important;grid-column:1/-1!important}.bbbsc-wallet-paybox-v3~.bbbsc-wallet-toggle__description{grid-column:1/-1!important}@media(max-width:540px){.bbbsc-wallet-paybox-v3{padding:12px!important}.bbbsc-wallet-paybox-v3__toggle{gap:12px!important;min-height:56px!important}.bbbsc-wallet-paybox-v3__control{width:82px!important;min-width:82px!important;flex-basis:82px!important;height:34px!important}.bbbsc-wallet-paybox-v3__switch{width:82px!important;min-width:82px!important;height:34px!important}.bbbsc-wallet-paybox-v3__switch:before{width:26px!important;height:26px!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]:checked+.bbbsc-wallet-paybox-v3__switch:before{transform:translateX(48px)!important}.bbbsc-wallet-paybox-v3__switch:after{font-size:10px!important;padding-right:10px!important;padding-left:34px!important}.bbbsc-wallet-paybox-v3__control input[type="checkbox"]:checked+.bbbsc-wallet-paybox-v3__switch:after{padding-right:34px!important;padding-left:12px!important}.bbbsc-wallet-paybox-v3__content{gap:10px!important}.bbbsc-wallet-paybox-v3__body strong{font-size:14px!important}.bbbsc-wallet-paybox-v3__amount{font-size:12px!important;padding:6px 10px!important}}

/* BBBSC v1.96.250 support ajax/header badge fixes */
.bbbsc-header-menu__support-link{position:relative!important}
.bbbsc-header-menu__support-icon{font-weight:900!important;font-size:17px!important;line-height:1!important}
.bbbsc-header-menu__support-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:20px!important;width:auto!important;height:20px!important;padding:0 6px!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;border:2px solid rgba(255,255,255,.95)!important;box-shadow:0 8px 18px rgba(239,68,68,.28)!important;font-size:11px!important;font-weight:900!important;line-height:1!important;margin-inline-start:8px!important;flex:0 0 auto!important}
.bbbsc-header-menu__support-link.is-active .bbbsc-header-menu__support-count{background:#dc2626!important;color:#fff!important;border-color:#fff!important}
.bbbsc-support-form-target{min-height:220px}
.bbbsc-support-empty-prompt{background:#fff;border:1px dashed #cbd5e1;border-radius:22px;padding:28px;text-align:center;color:#475569}
.bbbsc-support-empty-prompt h3{margin:0 0 8px;color:#0f172a}
.bbbsc-support-loading{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:24px;text-align:center;color:#475569;box-shadow:0 12px 32px rgba(15,23,42,.045)}
.bbbsc-support-loading:before{content:"";display:block;width:34px;height:34px;margin:0 auto 12px;border-radius:50%;border:3px solid #dbeafe;border-top-color:#212b60;animation:bbbscSpin .75s linear infinite}
@keyframes bbbscSpin{to{transform:rotate(360deg)}}
.bbbsc-support-custom-topic-field[hidden]{display:none!important}
@media(max-width:782px){.bbbsc-header-menu__support-count{margin-inline-start:auto!important}}

/* BBBSC v1.96.251 support ajax nonce loader fix */

/* BBBSC support center full width v1.96.252 */
.bbbsc-front-wrap.bbbsc-support-center-wrap,
.bbbsc-support-center-wrap{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.bbbsc-support-center-wrap *,
.bbbsc-support-center-wrap *::before,
.bbbsc-support-center-wrap *::after{box-sizing:border-box!important}
.bbbsc-support-center-wrap .bbbsc-support-center,
.bbbsc-support-center{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.bbbsc-support-center__grid{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.bbbsc-support-center__main,.bbbsc-support-center__side{min-width:0!important;width:100%!important;box-sizing:border-box!important}

/* BBBSC v1.96.255 support center 60/40 layout */
.bbbsc-support-center__grid{
  display:grid!important;
  grid-template-columns:minmax(0,3fr) minmax(320px,2fr)!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:start!important;
}
.bbbsc-support-center__main{
  width:100%!important;
  min-width:0!important;
}
.bbbsc-support-center__side{
  width:100%!important;
  min-width:0!important;
}
@media(max-width:900px){
  .bbbsc-support-center__grid{grid-template-columns:1fr!important}
  .bbbsc-support-center__side{order:0!important}
}

/* BBBSC v1.96.256 header support icon + dropdown submenu builder */
.bbbsc-header-menu__nav{
  overflow: visible !important;
}
.bbbsc-header-menu__item{
  position: relative !important;
  display: inline-flex !important;
  align-items: stretch !important;
  overflow: visible !important;
}
.bbbsc-header-menu__item > .bbbsc-header-menu__link{
  width: 100% !important;
}
.bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link{
  padding-inline-end: 12px !important;
}
.bbbsc-header-menu__submenu-caret{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  margin-inline-start: 2px !important;
  color: currentColor !important;
  opacity: .88 !important;
  transition: transform .18s ease, opacity .18s ease !important;
  flex: 0 0 18px !important;
}
.bbbsc-header-menu__submenu-caret svg{
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}
.bbbsc-header-menu__submenu-toggle{
  display: none !important;
}
.bbbsc-header-menu__submenu{
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  min-width: 220px !important;
  width: max-content !important;
  max-width: min(320px, 90vw) !important;
  display: grid !important;
  gap: 6px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, .10) !important;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .20) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) scale(.98) !important;
  pointer-events: none !important;
  z-index: 99999 !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__submenu,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__submenu,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__submenu{
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret{
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}
.bbbsc-header-menu__submenu-link{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 13px !important;
  color: #0f172a !important;
  text-decoration: none !important;
  background: rgba(15, 23, 42, .035) !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  transition: background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease !important;
  white-space: nowrap !important;
}
.bbbsc-header-menu__submenu-link:hover,
.bbbsc-header-menu__submenu-link.is-active{
  background: #212b60 !important;
  color: #ffffff !important;
  border-color: #212b60 !important;
  transform: translateY(-1px) !important;
}
.bbbsc-header-menu__submenu-link span{
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
}
.bbbsc-header-menu__submenu-link small{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 20px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(33,43,96,.10) !important;
  color: #212b60 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.bbbsc-header-menu__submenu-link:hover small,
.bbbsc-header-menu__submenu-link.is-active small{
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
.bbbsc-header-menu__support-icon svg{
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}
.bbbsc-header-menu__support-link{
  overflow: visible !important;
}
.bbbsc-header-menu__support-link:not(.has-unread) .bbbsc-header-menu__support-icon{
  background: rgba(255,255,255,.12) !important;
}
.bbbsc-header-menu__support-link.has-unread .bbbsc-header-menu__support-icon{
  background: rgba(239,68,68,.16) !important;
  color: #fff !important;
}
.bbbsc-header-menu__support-count{
  position: absolute !important;
  top: -7px !important;
  left: -7px !important;
  margin: 0 !important;
  min-width: 21px !important;
  height: 21px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 8px 18px rgba(239,68,68,.34) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  z-index: 5 !important;
}
@media(max-width:782px){
  .bbbsc-header-menu__item{
    display: grid !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .bbbsc-header-menu__item > .bbbsc-header-menu__link{
    width: 100% !important;
  }
  .bbbsc-header-menu__item.has-submenu{
    grid-template-columns: minmax(0, 1fr) 46px !important;
    align-items: center !important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link{
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }
  .bbbsc-header-menu__submenu-toggle{
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.10) !important;
    color: currentColor !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }
  .bbbsc-header-menu__submenu-toggle span{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
  }
  .bbbsc-header-menu__submenu-toggle svg{
    width: 20px !important;
    height: 20px !important;
    transition: transform .16s ease !important;
  }
  .bbbsc-header-menu__item.is-submenu-open > .bbbsc-header-menu__submenu-toggle svg{
    transform: rotate(180deg) !important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret{
    display: none !important;
  }
  .bbbsc-header-menu__submenu{
    grid-column: 1 / -1 !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    display: none !important;
    padding: 8px !important;
    margin: -2px 0 4px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
  }
  .bbbsc-header-menu__item.is-submenu-open > .bbbsc-header-menu__submenu{
    display: grid !important;
  }
  .bbbsc-header-menu__submenu-link{
    width: 100% !important;
    color: #fff !important;
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.12) !important;
    white-space: normal !important;
  }
  .bbbsc-header-menu__submenu-link small{
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
  }
}


/* BBBSC v1.96.261 header submenu final polish */
.bbbsc-header-menu,
.bbbsc-header-menu__shell,
.bbbsc-header-menu__panel,
.bbbsc-header-menu__nav{
  overflow: visible !important;
}
.bbbsc-header-menu__nav{
  align-items: center !important;
}
.bbbsc-header-menu__item{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  isolation: isolate !important;
  overflow: visible !important;
}
.bbbsc-header-menu__item.has-submenu{
  z-index: 30 !important;
}
.bbbsc-header-menu__item.has-submenu:hover,
.bbbsc-header-menu__item.has-submenu:focus-within,
.bbbsc-header-menu__item.has-submenu.is-submenu-open{
  z-index: 99998 !important;
}
.bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link{
  min-width: max-content !important;
  padding-inline-end: 14px !important;
}
.bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link .bbbsc-header-menu__link-main{
  min-width: 0 !important;
}
.bbbsc-header-menu__submenu-caret{
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline-start: 0 !important;
  opacity: .9 !important;
  transform-origin: center !important;
  transition: transform .18s ease, opacity .18s ease !important;
}
.bbbsc-header-menu__submenu-caret svg{
  display: block !important;
  width: 18px !important;
  height: 18px !important;
}
.bbbsc-header-menu__submenu{
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 238px !important;
  width: max-content !important;
  max-width: min(360px, calc(100vw - 28px)) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  padding: 10px !important;
  margin: 0 !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.97) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 24px 58px rgba(15,23,42,.24) !important;
  color: #0f172a !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) scale(.98) !important;
  transform-origin: top right !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
  z-index: 999999 !important;
}
.bbbsc-header-menu__submenu::before{
  content: "" !important;
  position: absolute !important;
  top: -6px !important;
  right: 24px !important;
  width: 12px !important;
  height: 12px !important;
  background: rgba(255,255,255,.97) !important;
  border-inline-start: 1px solid rgba(15,23,42,.08) !important;
  border-top: 1px solid rgba(15,23,42,.08) !important;
  transform: rotate(45deg) !important;
  z-index: -1 !important;
}
.bbbsc-header-menu__item.is-submenu-align-left > .bbbsc-header-menu__submenu{
  right: auto !important;
  left: 0 !important;
  transform-origin: top left !important;
}
.bbbsc-header-menu__item.is-submenu-align-left > .bbbsc-header-menu__submenu::before{
  right: auto !important;
  left: 24px !important;
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__submenu,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__submenu,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__submenu{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__link{
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.24) !important;
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret{
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}
.bbbsc-header-menu__submenu-link{
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 9px 12px !important;
  border-radius: 14px !important;
  color: #0f172a !important;
  background: rgba(15,23,42,.035) !important;
  border: 1px solid rgba(15,23,42,.065) !important;
  text-decoration: none !important;
  line-height: 1.55 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease !important;
}
.bbbsc-header-menu__submenu-link:hover,
.bbbsc-header-menu__submenu-link:focus,
.bbbsc-header-menu__submenu-link.is-active{
  background: #212b60 !important;
  color: #fff !important;
  border-color: #212b60 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 24px rgba(33,43,96,.18) !important;
  outline: none !important;
}
.bbbsc-header-menu__submenu-link span{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.65 !important;
}
.bbbsc-header-menu__submenu-link small{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 21px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(33,43,96,.10) !important;
  color: #212b60 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.bbbsc-header-menu__submenu-link:hover small,
.bbbsc-header-menu__submenu-link:focus small,
.bbbsc-header-menu__submenu-link.is-active small{
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
@media(max-width:782px){
  .bbbsc-header-menu__item.has-submenu{
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 48px !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: center !important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link{
    grid-column: 1 / 2 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .bbbsc-header-menu__submenu-toggle{
    grid-column: 2 / 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }
  .bbbsc-header-menu__submenu-toggle span{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
  }
  .bbbsc-header-menu__submenu-toggle svg{
    width: 20px !important;
    height: 20px !important;
    transition: transform .16s ease !important;
  }
  .bbbsc-header-menu__item.is-submenu-open > .bbbsc-header-menu__submenu-toggle svg{
    transform: rotate(180deg) !important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret{
    display: none !important;
  }
  .bbbsc-header-menu__submenu,
  .bbbsc-header-menu__item.is-submenu-align-left > .bbbsc-header-menu__submenu{
    grid-column: 1 / -1 !important;
    position: static !important;
    right: auto !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 8px !important;
    margin: 0 0 4px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.13) !important;
    box-shadow: none !important;
  }
  .bbbsc-header-menu__submenu::before{
    display: none !important;
  }
  .bbbsc-header-menu__item.is-submenu-open > .bbbsc-header-menu__submenu{
    display: grid !important;
  }
  .bbbsc-header-menu__submenu-link{
    min-height: 44px !important;
    width: 100% !important;
    color: #fff !important;
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.12) !important;
    white-space: normal !important;
  }
  .bbbsc-header-menu__submenu-link:hover,
  .bbbsc-header-menu__submenu-link:focus,
  .bbbsc-header-menu__submenu-link.is-active{
    background: rgba(255,255,255,.18) !important;
    border-color: rgba(255,255,255,.22) !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .bbbsc-header-menu__submenu-link small{
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
  }
}

/* BBBSC v1.96.262 header submenu hover + graphical builder fixes */
@media (min-width:783px){
  .bbbsc-header-menu__item.has-submenu{
    padding-bottom:14px!important;
    margin-bottom:-14px!important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__submenu{
    top:100%!important;
  }
  .bbbsc-header-menu__submenu::after{
    content:""!important;
    position:absolute!important;
    top:-16px!important;
    left:0!important;
    right:0!important;
    height:18px!important;
    background:transparent!important;
    pointer-events:auto!important;
  }
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__link{
  background:var(--bbbsc-header-button-hover-bg,var(--bbbsc-header-item-hover-bg))!important;
  color:var(--bbbsc-header-button-hover-text,var(--bbbsc-header-button-text,var(--bbbsc-header-text-color)))!important;
  border-color:var(--bbbsc-header-button-hover-border,var(--bbbsc-header-border-color))!important;
  box-shadow:var(--bbbsc-header-button-shadow,0 12px 26px rgba(15,23,42,.08))!important;
}
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link .bbbsc-header-menu__link-icon,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link .bbbsc-header-menu__link-icon,
.bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__link .bbbsc-header-menu__link-icon{
  color:var(--bbbsc-header-button-hover-icon,var(--bbbsc-header-icon-color,var(--bbbsc-header-button-icon,var(--bbbsc-header-text-color))))!important;
}
.bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link.is-active,
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link.is-active,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link.is-active{
  background:var(--bbbsc-header-button-active-bg,var(--bbbsc-header-active-bg))!important;
  color:var(--bbbsc-header-button-active-text,var(--bbbsc-header-active-text))!important;
  border-color:var(--bbbsc-header-button-active-border,var(--bbbsc-header-button-active-bg,var(--bbbsc-header-active-bg)))!important;
}
.bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link.is-active .bbbsc-header-menu__link-icon,
.bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__link.is-active .bbbsc-header-menu__link-icon,
.bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__link.is-active .bbbsc-header-menu__link-icon{
  color:var(--bbbsc-header-icon-active-color,var(--bbbsc-header-button-active-icon,var(--bbbsc-header-button-active-text,var(--bbbsc-header-active-text))))!important;
}
.bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__link .bbbsc-header-menu__submenu-caret{
  color:currentColor!important;
}
@media(max-width:782px){
  .bbbsc-header-menu__item.has-submenu{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }
  .bbbsc-header-menu__submenu::after{
    display:none!important;
  }
}


/* BBBSC v1.96.264 header submenu close-delay safety */
@media (min-width:783px){
  .bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__submenu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0) scale(1)!important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__submenu{
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  }
  .bbbsc-header-menu__submenu::after{
    content:""!important;
    position:absolute!important;
    top:-22px!important;
    left:-8px!important;
    right:-8px!important;
    height:24px!important;
    background:transparent!important;
    pointer-events:auto!important;
  }
}

/* BBBSC v1.96.265 header submenu durable hover + z-index fix */
.bbbsc-header-menu{
  position:relative!important;
  z-index:1000000!important;
  overflow:visible!important;
}
.bbbsc-header-menu__shell,
.bbbsc-header-menu__panel,
.bbbsc-header-menu__nav{
  overflow:visible!important;
}
.bbbsc-header-menu__nav{
  position:relative!important;
  z-index:1000001!important;
}
.bbbsc-header-menu__item.has-submenu{
  position:relative!important;
  overflow:visible!important;
  z-index:1000002!important;
}
.bbbsc-header-menu__item.has-submenu:hover,
.bbbsc-header-menu__item.has-submenu:focus-within,
.bbbsc-header-menu__item.has-submenu.is-submenu-open{
  z-index:2147483000!important;
}
@media (min-width:783px){
  .bbbsc-header-menu__item.has-submenu{
    padding-bottom:24px!important;
    margin-bottom:-24px!important;
  }
  .bbbsc-header-menu__item.has-submenu > .bbbsc-header-menu__submenu{
    top:calc(100% - 2px)!important;
    z-index:2147483000!important;
    pointer-events:none!important;
    overflow:visible!important;
  }
  .bbbsc-header-menu__submenu::before,
  .bbbsc-header-menu__submenu::after{
    content:""!important;
    position:absolute!important;
    left:-14px!important;
    right:-14px!important;
    top:-30px!important;
    height:34px!important;
    display:block!important;
    background:transparent!important;
    pointer-events:auto!important;
  }
  .bbbsc-header-menu__item.has-submenu:hover > .bbbsc-header-menu__submenu,
  .bbbsc-header-menu__item.has-submenu:focus-within > .bbbsc-header-menu__submenu,
  .bbbsc-header-menu__item.has-submenu.is-submenu-open > .bbbsc-header-menu__submenu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0) scale(1)!important;
  }
  .bbbsc-header-menu__submenu:hover{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0) scale(1)!important;
  }
  .bbbsc-header-menu__submenu-link{
    width:100%!important;
    min-width:100%!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
    position:relative!important;
    z-index:1!important;
    background:rgba(15,23,42,.045)!important;
    border:1px solid rgba(15,23,42,.075)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.62)!important;
  }
  .bbbsc-header-menu__submenu-link:hover,
  .bbbsc-header-menu__submenu-link:focus,
  .bbbsc-header-menu__submenu-link:focus-visible,
  .bbbsc-header-menu__submenu-link.is-active{
    background:linear-gradient(135deg,#212b60 0%,#2f3c82 100%)!important;
    color:#fff!important;
    border-color:rgba(33,43,96,.92)!important;
    box-shadow:0 12px 24px rgba(33,43,96,.22)!important;
    transform:translateY(-1px)!important;
    outline:none!important;
  }
  .bbbsc-header-menu__submenu-link:hover span,
  .bbbsc-header-menu__submenu-link:focus span,
  .bbbsc-header-menu__submenu-link:focus-visible span,
  .bbbsc-header-menu__submenu-link.is-active span{
    color:#fff!important;
  }
  .bbbsc-header-menu__submenu-link:hover small,
  .bbbsc-header-menu__submenu-link:focus small,
  .bbbsc-header-menu__submenu-link:focus-visible small,
  .bbbsc-header-menu__submenu-link.is-active small{
    background:rgba(255,255,255,.18)!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.24)!important;
  }
}
@media (max-width:782px){
  .bbbsc-header-menu{
    z-index:99999!important;
  }
  .bbbsc-header-menu__panel{
    z-index:2147483000!important;
  }
}


/* BBBSC v1.96.266 targeted fixes: group picker state + avatar cropper layer */
.bbbsc-user-group-picker-modal .bbbsc-group-picker-table tr.is-already-member{background:#f8fafc;color:#64748b}
.bbbsc-user-group-picker-modal .bbbsc-group-picker-table tr.is-already-member input[type=checkbox]{cursor:not-allowed;opacity:.45}
.bbbsc-group-picker-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}
.bbbsc-group-picker-status--member{background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1}
.bbbsc-group-picker-status--available{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.bbbsc-avatar-cropper-modal{position:fixed!important;inset:0!important;z-index:2147483646!important}
.bbbsc-avatar-cropper-modal.is-open{display:flex!important;align-items:center;justify-content:center}
.bbbsc-avatar-cropper-modal .bbbsc-front-modal__dialog{position:relative!important;z-index:2147483647!important}
.bbbsc-class-waiting-card__login-summary{margin:10px 0 14px;padding:12px 14px;border:1px solid #dbeafe;border-radius:16px;background:rgba(239,246,255,.72);text-align:right}
.bbbsc-class-waiting-card__login-summary>strong{display:block;margin-bottom:8px;color:#1e3a8a;font-size:13px;font-weight:950}
.bbbsc-class-waiting-card__login-summary .bbbsc-front-meta{margin-top:0;gap:7px}
.bbbsc-class-waiting-card__login-summary .bbbsc-front-meta li{padding-bottom:6px}

/* Recording modal table polish: organizer/user panels now share a compact table layout. */
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings-table-wrap{max-height:65vh;overflow:auto;border-radius:18px;border:1px solid #e2e8f0;background:#fff}
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings-table{width:100%;min-width:680px;border-collapse:separate;border-spacing:0;margin:0;background:#fff}
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#0f172a;font-weight:900;border-bottom:1px solid #e2e8f0;padding:12px 14px;text-align:right;white-space:nowrap}
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings-table td{padding:13px 14px;border-bottom:1px solid #eef2f7;vertical-align:middle;line-height:1.9}
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings-table tbody tr:last-child td{border-bottom:none}
.bbbsc-user-portal-recordings-modal .bbbsc-user-portal-recordings-table .button{margin:0!important;min-height:40px;padding:0 14px!important;border-radius:13px!important;white-space:nowrap}

/* 1.96.289 — class users/groups Excel fixes */
#portal-bulk-users-modal .bbbsc-front-modal__dialog--scrollable{max-height:92vh;overflow:auto;overscroll-behavior:contain}
#portal-bulk-users-modal .bbbsc-bulk-user-builder__rows{max-height:46vh;overflow:auto;padding-inline-end:4px;overscroll-behavior:contain}
#portal-bulk-users-modal .bbbsc-front-button-row,#portal-bulk-users-modal form > .button.button-primary{position:sticky;bottom:0;z-index:2;align-self:start}
.bbbsc-class-user-board__title--with-action{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.bbbsc-group-users-import-form{margin:12px 0;padding:12px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc}
.bbbsc-group-import-warning{margin:10px 0}
.bbbsc-confirm-update-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px;direction:rtl}
.bbbsc-confirm-update-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(2px)}
.bbbsc-confirm-update-modal__dialog{position:relative;z-index:1;width:min(440px,100%);background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.28);padding:22px;display:grid;gap:12px;text-align:right}
.bbbsc-confirm-update-modal__dialog h3{margin:0;font-size:18px}.bbbsc-confirm-update-modal__dialog p{margin:0;line-height:1.9;color:#334155}.bbbsc-confirm-update-modal__actions{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap}
.bbbsc-hidden-external-form{display:none!important}

/* 1.96.293 — Bale-first OTP and post-registration onboarding */
.bbbsc-otp-channel-card{margin:14px 0;padding:16px;border:1px solid #dbe7ff;border-radius:18px;background:linear-gradient(145deg,#f8fbff 0%,#f1f6ff 100%);box-shadow:0 12px 34px rgba(30,64,175,.08);direction:rtl;text-align:right}
.bbbsc-otp-channel-card[hidden]{display:none!important}
.bbbsc-otp-channel-card__head{display:flex;align-items:flex-start;gap:12px}
.bbbsc-otp-channel-card__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:13px;background:#2563eb;color:#fff;font-size:20px;font-weight:950;box-shadow:0 8px 18px rgba(37,99,235,.22)}
.bbbsc-otp-channel-card__head strong{display:block;margin:1px 0 5px;color:#0f172a;font-size:15px;font-weight:950;line-height:1.7}
.bbbsc-otp-channel-card__head p{margin:0;color:#475569;font-size:13px;line-height:1.9}
.bbbsc-otp-channel-card--bale_connect .bbbsc-otp-channel-card__icon{background:#0f766e}
.bbbsc-otp-channel-card--sms_sent .bbbsc-otp-channel-card__icon{background:#7c3aed}
.bbbsc-otp-channel-card--waiting_fallback .bbbsc-otp-channel-card__icon{background:#64748b}
.bbbsc-bale-connect-grid{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:18px;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid rgba(148,163,184,.28)}
.bbbsc-bale-connect-qr{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px;border:1px solid #dbeafe;border-radius:16px;background:#fff}
.bbbsc-bale-connect-qr img{display:block;width:min(100%,190px);height:auto;aspect-ratio:1/1;border-radius:10px}
.bbbsc-bale-connect-qr span{color:#64748b;font-size:11px;line-height:1.7;text-align:center}
.bbbsc-bale-connect-actions{display:grid;gap:12px;align-content:center}
.bbbsc-bale-connect-actions ol{margin:0;padding-right:20px;color:#334155;font-size:13px;line-height:2}
.bbbsc-bale-connect-actions .button{width:100%;min-height:44px;justify-content:center}
.bbbsc-bale-connection-status{display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:#475569;font-size:12px;font-weight:800;line-height:1.8}
.bbbsc-bale-connection-status.is-connected{border-color:#86efac;background:#f0fdf4;color:#166534}
.bbbsc-bale-status-dot{display:inline-block;flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.12);animation:bbbsc-bale-status-pulse 1.4s ease-in-out infinite}
.bbbsc-bale-connection-status.is-connected .bbbsc-bale-status-dot{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12);animation:none}
.bbbsc-otp-channel-card.is-connected{border-color:#86efac;background:linear-gradient(145deg,#f0fdf4 0%,#ecfdf5 100%)}
.bbbsc-otp-fallback-button{transition:opacity .2s ease,transform .2s ease}
.bbbsc-otp-fallback-button[hidden]{display:none!important}
.bbbsc-otp-fallback-button:disabled{opacity:.7;cursor:not-allowed;transform:none!important}
@keyframes bbbsc-bale-status-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.78);opacity:.55}}

.bbbsc-bale-onboarding-modal{position:fixed!important;inset:0!important;z-index:2147483646!important;display:flex!important;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.56);backdrop-filter:blur(7px)}
.bbbsc-bale-onboarding-modal .bbbsc-front-modal__dialog{position:relative;z-index:2147483647;width:min(760px,100%);max-height:92vh;overflow:auto;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.32)}
.bbbsc-bale-onboarding-card{padding:28px;direction:rtl;text-align:right}
.bbbsc-bale-onboarding-card__badge{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin:0 auto 12px;border-radius:18px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;font-size:28px;font-weight:950;box-shadow:0 13px 28px rgba(22,163,74,.24)}
.bbbsc-bale-onboarding-card>h3{margin:0;text-align:center;color:#0f172a;font-size:22px;font-weight:950;line-height:1.7}
.bbbsc-bale-onboarding-card>p{max-width:610px;margin:8px auto 20px;text-align:center;color:#475569;font-size:14px;line-height:2}
.bbbsc-bale-onboarding-grid{display:grid;grid-template-columns:minmax(180px,250px) minmax(0,1fr);gap:22px;align-items:center;padding:18px;border:1px solid #e2e8f0;border-radius:20px;background:#f8fafc}
.bbbsc-bale-onboarding-qr{display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px;border:1px solid #dbeafe;border-radius:17px;background:#fff}
.bbbsc-bale-onboarding-qr img{display:block;width:min(100%,220px);height:auto;aspect-ratio:1/1;border-radius:11px}
.bbbsc-bale-onboarding-qr span{color:#64748b;font-size:11px;text-align:center;line-height:1.8}
.bbbsc-bale-onboarding-actions{display:grid;gap:13px}
.bbbsc-bale-onboarding-actions ol{margin:0;padding-right:22px;color:#334155;font-size:13px;line-height:2.1}
.bbbsc-bale-onboarding-actions>a{width:100%;min-height:46px;justify-content:center}
.bbbsc-bale-onboarding-card>.bbbsc-front-button-row{margin-top:18px;justify-content:center}

@media (max-width:700px){
  .bbbsc-bale-connect-grid,.bbbsc-bale-onboarding-grid{grid-template-columns:1fr}
  .bbbsc-bale-connect-qr,.bbbsc-bale-onboarding-qr{display:none}
  .bbbsc-otp-channel-card{padding:14px;border-radius:16px}
  .bbbsc-bale-connect-actions ol,.bbbsc-bale-onboarding-actions ol{font-size:12px}
  .bbbsc-bale-onboarding-modal{padding:10px;align-items:flex-end}
  .bbbsc-bale-onboarding-modal .bbbsc-front-modal__dialog{width:100%;max-height:94vh;border-radius:24px 24px 0 0}
  .bbbsc-bale-onboarding-card{padding:22px 16px}
  .bbbsc-bale-onboarding-card>h3{font-size:19px}
  .bbbsc-bale-onboarding-card>.bbbsc-front-button-row{display:grid;grid-template-columns:1fr;width:100%}
  .bbbsc-bale-onboarding-card>.bbbsc-front-button-row .button{width:100%;justify-content:center}
}


/* v2.0.2 compact customer wallet summary */
.bbbsc-customer-wallet-panel--summary{
  min-height:0;
  height:auto;
  align-self:start;
  gap:9px;
  padding:14px;
  border-radius:20px;
  box-shadow:0 16px 34px rgba(37,99,235,.18);
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__intro{
  display:grid;
  gap:2px;
  min-width:0;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__eyebrow{
  font-size:11px;
  line-height:1.45;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__amount{
  flex:0 0 auto;
  font-size:23px;
  line-height:1.15;
  white-space:nowrap;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__sub{
  font-size:10px;
  line-height:1.45;
  opacity:.82;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta{
  position:relative;
  z-index:1;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta div{
  min-width:0;
  padding:8px 9px;
  border-radius:12px;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta span{
  margin-bottom:2px;
  font-size:9px;
  line-height:1.45;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta strong{
  display:block;
  overflow:hidden;
  font-size:12px;
  line-height:1.4;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__actions{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:0;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta{
  min-width:0;
  gap:8px;
  padding:9px 10px;
  border-radius:13px;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-icon{
  width:32px;
  height:32px;
  flex-basis:32px;
  border-radius:10px;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-icon svg{
  width:17px;
  height:17px;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-body{
  min-width:0;
  gap:1px;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-body strong{
  overflow:hidden;
  font-size:12px;
  line-height:1.35;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-body small{
  overflow:hidden;
  font-size:9px;
  line-height:1.45;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.bbbsc-customer-wallet-panel--summary::after{
  width:110px;
  height:110px;
}
@media (max-width:520px){
  .bbbsc-customer-wallet-panel--summary{
    padding:12px;
    gap:8px;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__amount{
    font-size:21px;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta{
    grid-template-columns:1fr;
    gap:5px;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:6px 9px;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__meta span{
    margin:0;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta{
    justify-content:center;
    padding:8px;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-icon{
    width:29px;
    height:29px;
    flex-basis:29px;
  }
  .bbbsc-customer-wallet-panel--summary .bbbsc-customer-wallet-panel__cta-body small{
    display:none;
  }
}
