:root{
  --sbcs-bg:#f4f7fb;
  --sbcs-panel:#ffffff;
  --sbcs-panel-soft:#f8fafc;
  --sbcs-ink:#172130;
  --sbcs-dim:#6d7b90;
  --sbcs-line:#dde5ef;
  --sbcs-gold:#f3cb61;
  --sbcs-gold-deep:#a77511;
  --sbcs-nav:#0f1b2e;
}

body.sbcs-woo-portal{
  margin:0;
  background:var(--sbcs-bg);
  color:var(--sbcs-ink);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.sbcs-woo-portal *{box-sizing:border-box}
body.sbcs-woo-portal a{text-decoration:none}
body.sbcs-woo-portal #wpadminbar{position:fixed}
body.sbcs-woo-portal .site,
body.sbcs-woo-portal .site-main,
body.sbcs-woo-portal .content-area,
body.sbcs-woo-portal .entry-content{max-width:none!important;width:auto!important;margin:0!important;padding:0!important}

.sbcs-portal-header{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px clamp(18px,4vw,64px);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--sbcs-line);
}
.sbcs-portal-brand{display:flex;align-items:center;gap:12px;color:var(--sbcs-ink);flex-shrink:0}
.sbcs-portal-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--sbcs-gold);color:#1a202a;font-weight:900;box-shadow:0 8px 22px rgba(243,203,97,.35)}
.sbcs-portal-brand strong,.sbcs-portal-brand small{display:block;line-height:1.2}
.sbcs-portal-brand strong{font-size:16px}
.sbcs-portal-brand small{font-size:11px;color:var(--sbcs-dim)}
.sbcs-portal-header nav{display:flex;align-items:center;gap:24px}
.sbcs-portal-header nav a{font-size:13px;font-weight:800;color:#516177}
.sbcs-portal-header nav a:hover{color:var(--sbcs-ink)}
.sbcs-portal-header-actions{display:flex;align-items:center;gap:10px}
.sbcs-portal-credit-pill,.sbcs-portal-account-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;font-size:13px;font-weight:800;white-space:nowrap}
.sbcs-portal-credit-pill{background:#fff7dc;border:1px solid #f2dfaa;color:#66470b}
.sbcs-portal-credit-pill span{color:#bf8412}
.sbcs-portal-credit-pill small{font-size:11px;color:#8b6b23}
.sbcs-portal-account-pill{background:var(--sbcs-nav);color:#fff}

.sbcs-portal-main{max-width:1440px;margin:0 auto;padding:clamp(24px,3vw,42px) clamp(18px,4vw,60px) 80px;min-height:calc(100vh - 135px)}
.sbcs-portal-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.sbcs-portal-kicker{display:block;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#b78317;font-weight:900}
.sbcs-portal-page-head h1{margin:8px 0 6px;font-size:clamp(32px,4vw,46px);line-height:1.02}
.sbcs-portal-page-head p{margin:0;color:var(--sbcs-dim);max-width:720px}
.sbcs-portal-profile{width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#fff3c8,var(--sbcs-gold));display:grid;place-items:center;font-size:20px;font-weight:900;color:#3e2d07;box-shadow:0 12px 28px rgba(243,203,97,.35)}
.sbcs-portal-account-shell{background:var(--sbcs-panel);border:1px solid var(--sbcs-line);border-radius:28px;padding:clamp(16px,2.6vw,28px);box-shadow:0 20px 50px rgba(26,39,61,.06)}

.sbcs-portal-portal-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;align-items:start}
.sbcs-portal-sidebar{display:grid;gap:18px;position:sticky;top:88px}
.sbcs-portal-sidebar-card{padding:22px;border-radius:20px;background:linear-gradient(160deg,#10192b,#1b2b45);color:#fff;box-shadow:0 16px 34px rgba(14,27,46,.22)}
.sbcs-portal-sidebar-label{display:block;font-size:12px;color:#c7d0dd;margin-bottom:8px}
.sbcs-portal-sidebar-card strong{display:block;font-size:46px;line-height:1;margin-bottom:8px;color:var(--sbcs-gold)}
.sbcs-portal-sidebar-card small{display:block;font-size:12px;color:#a9b7cb;margin-bottom:16px}
.sbcs-portal-sidebar .sbcs-portal-button{width:100%}
.sbcs-portal-menu{display:grid;gap:8px}
.sbcs-portal-menu a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:14px;color:#4f6077;background:transparent;font-weight:800;font-size:14px;border:1px solid transparent}
.sbcs-portal-menu a:hover{background:#f7f9fc;border-color:var(--sbcs-line);color:var(--sbcs-ink)}
.sbcs-portal-menu a.is-active{background:#fff7df;border-color:#f0d899;color:#6b4f10}
.sbcs-portal-menu-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#eef3f9;color:#56667d;font-size:14px;font-weight:900;flex-shrink:0}
.sbcs-portal-menu a.is-active .sbcs-portal-menu-icon{background:var(--sbcs-gold);color:#392805}

.sbcs-portal-content{min-width:0}
.sbcs-portal-content h3{font-size:20px;margin:26px 0 14px}
.sbcs-portal-tab-head{margin-bottom:22px}
.sbcs-portal-tab-head h2{margin:9px 0 8px;font-size:clamp(26px,3vw,34px);line-height:1.15}
.sbcs-portal-tab-head p{margin:0;color:var(--sbcs-dim);max-width:760px}

.sbcs-portal-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;margin-bottom:18px}
.sbcs-portal-hero-copy,.sbcs-portal-balance-panel{border:1px solid var(--sbcs-line);border-radius:22px;padding:26px;background:linear-gradient(180deg,#fffdf9,#ffffff)}
.sbcs-portal-hero-copy h2{margin:9px 0 10px;font-size:clamp(28px,4vw,38px);line-height:1.05}
.sbcs-portal-hero-copy p{margin:0;color:var(--sbcs-dim);max-width:640px}
.sbcs-portal-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.sbcs-portal-balance-panel{background:linear-gradient(160deg,#172130,#20324e);color:#fff;box-shadow:0 18px 34px rgba(24,35,53,.18)}
.sbcs-portal-panel-label{display:block;font-size:12px;color:#c5cfdd}
.sbcs-portal-balance-panel strong{display:block;font-size:56px;line-height:1.02;margin:8px 0;color:var(--sbcs-gold)}
.sbcs-portal-balance-panel small{display:block;color:#adb7c6}
.sbcs-portal-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.sbcs-portal-mini-stats div{padding:14px;border-radius:14px;background:rgba(255,255,255,.07)}
.sbcs-portal-mini-stats span{display:block;font-size:11px;color:#cdd6e0;margin-bottom:5px}
.sbcs-portal-mini-stats strong{display:block;font-size:24px;line-height:1.1;margin:0;color:#fff}

.sbcs-portal-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}
.sbcs-portal-card{padding:22px;border:1px solid var(--sbcs-line);border-radius:20px;background:var(--sbcs-panel-soft)}
.sbcs-portal-card header{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.sbcs-portal-card-icon{width:40px;height:40px;border-radius:12px;background:#fff3cb;color:#845b09;display:grid;place-items:center;font-weight:900;flex-shrink:0}
.sbcs-portal-card header h3{margin:0 0 6px;font-size:18px}
.sbcs-portal-card header p{margin:0;color:var(--sbcs-dim);font-size:13px}
.sbcs-portal-card-value{font-size:40px;font-weight:900;line-height:1.05;color:var(--sbcs-ink)}
.sbcs-portal-card-meta{margin-top:8px;color:var(--sbcs-dim);font-size:13px}
.sbcs-portal-card-link{display:inline-flex;margin-top:16px;font-size:13px;font-weight:800;color:#8c630f}
.sbcs-portal-link-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:10px}
.sbcs-portal-link-list a{display:block;padding:11px 13px;border-radius:12px;background:#fff;border:1px solid var(--sbcs-line);color:var(--sbcs-ink);font-weight:700}

.sbcs-portal-dashboard-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sbcs-portal-panel{padding:22px;border:1px solid var(--sbcs-line);border-radius:20px;background:#fff}
.sbcs-portal-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.sbcs-portal-panel-head h3{margin:0;font-size:18px}
.sbcs-portal-panel-head a{font-size:13px;font-weight:800;color:#8a6513}

.sbcs-portal-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;background:var(--sbcs-nav);color:#fff!important;font-size:13px;font-weight:850;border:0;cursor:pointer}
.sbcs-portal-button-gold{background:var(--sbcs-gold);color:#231a08!important}

.sbcs-portal-balance{border-radius:20px;background:linear-gradient(150deg,#172130,#20314d);color:white;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.sbcs-portal-balance span,.sbcs-portal-balance small{display:block;color:#afbccf;font-size:12px}
.sbcs-portal-balance strong{display:block;font-size:48px;line-height:1.05;margin:8px 0;color:var(--sbcs-gold)}
.sbcs-portal-balance-side{padding-left:26px;border-left:1px solid rgba(255,255,255,.14)}
.sbcs-portal-balance-side strong{font-size:28px}
.sbcs-portal-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sbcs-portal-plan{padding:22px;border:1px solid var(--sbcs-line);border-radius:18px;background:var(--sbcs-panel-soft)}
.sbcs-portal-plan > span,.sbcs-portal-plan > strong{display:block}
.sbcs-portal-plan > span{font-weight:900;font-size:13px;color:#8f6713;text-transform:uppercase;letter-spacing:.06em}
.sbcs-portal-plan > strong{font-size:24px;margin:10px 0 8px}
.sbcs-portal-plan p{color:var(--sbcs-dim);margin:0 0 14px}

.sbcs-portal-ledger{overflow:auto;border:1px solid var(--sbcs-line);border-radius:16px;background:#fff}
.sbcs-portal-ledger table{width:100%;border-collapse:collapse;min-width:580px}
.sbcs-portal-ledger th,.sbcs-portal-ledger td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--sbcs-line);vertical-align:top}
.sbcs-portal-ledger th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--sbcs-dim);font-weight:900;background:#f8fafc}
.sbcs-portal-ledger tbody tr:last-child td{border-bottom:0}
.sbcs-portal-plus{color:#167348;font-weight:900}
.sbcs-portal-empty{text-align:center;border:1px dashed #ccd7e5;border-radius:20px;background:#f8fafc;padding:56px 26px}
.sbcs-portal-empty-mark{font-size:42px;color:#c59a31}
.sbcs-portal-empty h3{margin:12px 0 8px}
.sbcs-portal-empty p{margin:0 auto;max-width:560px;color:var(--sbcs-dim)}

.sbcs-job-status{display:inline-block;padding:5px 9px;background:#edf2f8;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap}
.sbcs-job-complete{background:#e2f5e9;color:#166534}
.sbcs-job-failed{background:#fff1eb;color:#a84427}
.sbcs-job-processing,.sbcs-job-queued{background:#fff6dd;color:#875d07}
.sbcs-portal-job-download{color:#80590d!important;font-weight:900;text-decoration:underline!important}

.sbcs-portal-login-shell{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;align-items:start}
.sbcs-portal-login-copy{padding:26px;border:1px solid var(--sbcs-line);border-radius:22px;background:linear-gradient(180deg,#fffdf9,#fff)}
.sbcs-portal-login-copy h2{margin:10px 0 12px;font-size:clamp(28px,4vw,38px);line-height:1.05}
.sbcs-portal-login-copy p{margin:0;color:var(--sbcs-dim)}
.sbcs-portal-login-copy ul{margin:18px 0 0;padding-left:18px;color:var(--sbcs-ink)}
.sbcs-portal-login-copy li{margin:8px 0}
.sbcs-portal-login-form{padding:24px;border:1px solid var(--sbcs-line);border-radius:22px;background:#fff}

/* WooCommerce content styling inside the portal */
.sbcs-woo-portal .woocommerce{width:100%;max-width:none!important;margin:0!important}
.sbcs-woo-portal .woocommerce::before,
.sbcs-woo-portal .woocommerce::after{display:none!important}
.sbcs-woo-portal .woocommerce-MyAccount-navigation{display:none!important}
.sbcs-woo-portal .woocommerce-MyAccount-content{float:none!important;width:100%!important;margin:0!important;padding:0!important}
.sbcs-woo-portal .woocommerce-form,
.sbcs-woo-portal form.woocommerce-EditAccountForm,
.sbcs-woo-portal .woocommerce-address-fields,
.sbcs-woo-portal form.edit-account,
.sbcs-woo-portal form.login,
.sbcs-woo-portal form.register{background:#fff;border:1px solid var(--sbcs-line);border-radius:18px;padding:22px}
.sbcs-woo-portal .woocommerce p,
.sbcs-woo-portal .woocommerce form p{color:var(--sbcs-dim)}
.sbcs-woo-portal .woocommerce strong{color:var(--sbcs-ink)}
.sbcs-woo-portal .woocommerce .button,
.sbcs-woo-portal .woocommerce button.button,
.sbcs-woo-portal .woocommerce a.button,
.sbcs-woo-portal .woocommerce input.button{
  background:var(--sbcs-nav)!important;
  color:#fff!important;
  border-radius:12px!important;
  padding:12px 18px!important;
  font-weight:850!important;
  border:none!important;
}
.sbcs-woo-portal .woocommerce .button:hover,
.sbcs-woo-portal .woocommerce button.button:hover,
.sbcs-woo-portal .woocommerce a.button:hover,
.sbcs-woo-portal .woocommerce input.button:hover{filter:brightness(1.05)}
.sbcs-woo-portal .woocommerce form .input-text,
.sbcs-woo-portal .woocommerce input[type="email"],
.sbcs-woo-portal .woocommerce input[type="password"],
.sbcs-woo-portal .woocommerce input[type="text"],
.sbcs-woo-portal .woocommerce input[type="tel"],
.sbcs-woo-portal .woocommerce textarea,
.sbcs-woo-portal .woocommerce select{
  width:100%;
  padding:12px 13px;
  border-radius:12px;
  border:1px solid var(--sbcs-line);
  background:#fff;
  color:var(--sbcs-ink);
  box-shadow:none;
}
.sbcs-woo-portal .woocommerce label{font-weight:700;color:var(--sbcs-ink)}
.sbcs-woo-portal .woocommerce table.shop_table,
.sbcs-woo-portal .woocommerce table.woocommerce-orders-table,
.sbcs-woo-portal .woocommerce table.woocommerce-MyAccount-downloads-table{
  width:100%;
  border:1px solid var(--sbcs-line)!important;
  border-radius:16px!important;
  overflow:hidden;
  background:#fff;
}
.sbcs-woo-portal .woocommerce table.shop_table th,
.sbcs-woo-portal .woocommerce table.shop_table td{padding:14px 16px!important;border-color:var(--sbcs-line)!important}
.sbcs-woo-portal .woocommerce .addresses{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sbcs-woo-portal .woocommerce .woocommerce-Address{margin:0;border:1px solid var(--sbcs-line);border-radius:16px;background:#fff;padding:20px}
.sbcs-woo-portal .woocommerce-notices-wrapper .woocommerce-message,
.sbcs-woo-portal .woocommerce-notices-wrapper .woocommerce-info,
.sbcs-woo-portal .woocommerce-notices-wrapper .woocommerce-error{border-top:0!important;border:1px solid var(--sbcs-line)!important;border-radius:14px!important;background:#fffbe9!important;color:var(--sbcs-ink)!important;padding:14px 16px!important;margin:0 0 18px!important}
.sbcs-woo-portal .woocommerce .woocommerce-pagination{margin-top:18px}
.sbcs-woo-portal .woocommerce .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sbcs-woo-portal .woocommerce .col2-set .col-1,
.sbcs-woo-portal .woocommerce .col2-set .col-2{float:none!important;width:auto!important;max-width:none!important}
.sbcs-woo-portal .woocommerce-privacy-policy-text{font-size:13px}

.sbcs-portal-footer{display:flex;justify-content:space-between;gap:16px;padding:18px clamp(18px,4vw,60px);border-top:1px solid var(--sbcs-line);background:#fff;color:var(--sbcs-dim);font-size:12px}

@media (max-width:1180px){
  .sbcs-portal-portal-grid{grid-template-columns:240px minmax(0,1fr)}
  .sbcs-portal-dashboard-grid{grid-template-columns:1fr}
  .sbcs-portal-dashboard-panels{grid-template-columns:1fr}
}
@media (max-width:980px){
  .sbcs-portal-header nav{display:none}
  .sbcs-portal-hero,
  .sbcs-portal-login-shell,
  .sbcs-portal-plan-grid,
  .sbcs-woo-portal .woocommerce .addresses,
  .sbcs-woo-portal .woocommerce .col2-set{grid-template-columns:1fr}
  .sbcs-portal-portal-grid{grid-template-columns:1fr}
  .sbcs-portal-sidebar{position:static}
  .sbcs-portal-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .sbcs-portal-header{padding:12px 14px}
  .sbcs-portal-main{padding:22px 12px 56px}
  .sbcs-portal-account-shell{padding:14px;border-radius:20px}
  .sbcs-portal-page-head{display:block}
  .sbcs-portal-profile{margin-top:16px}
  .sbcs-portal-menu{grid-template-columns:1fr}
  .sbcs-portal-balance{display:block}
  .sbcs-portal-balance-side{border-left:0;border-top:1px solid rgba(255,255,255,.14);padding-left:0;padding-top:16px;margin-top:16px}
  .sbcs-portal-footer{display:block}
  .sbcs-portal-footer span{display:block;margin:5px 0}
}
@media (max-width:520px){
  body.sbcs-woo-portal.logged-in .sbcs-portal-account-pill{display:none}
  .sbcs-portal-credit-pill{padding:9px 10px}
  .sbcs-portal-credit-pill small{display:none}
  .sbcs-portal-logo{width:36px;height:36px;border-radius:12px}
  .sbcs-portal-brand strong{font-size:14px}
  .sbcs-portal-sidebar-card strong{font-size:40px}
  .sbcs-portal-balance-panel strong{font-size:46px}
  .sbcs-portal-mini-stats{grid-template-columns:1fr}
}

/* v0.4.9 — restrained, modern customer account layout. */
:root{
  --sbcs-bg:#f5f6f7;
  --sbcs-panel:#fff;
  --sbcs-panel-soft:#fafbfc;
  --sbcs-ink:#192334;
  --sbcs-dim:#667385;
  --sbcs-line:#e1e5ea;
  --sbcs-gold:#e9bc50;
  --sbcs-gold-deep:#936613;
  --sbcs-nav:#192334;
}
body.sbcs-woo-portal{font-size:14px;line-height:1.48;letter-spacing:0;background:var(--sbcs-bg)}
body.admin-bar.sbcs-woo-portal .sbcs-portal-header{top:32px}
.sbcs-portal-header{padding:9px clamp(20px,3vw,48px);gap:24px;box-shadow:none;border-color:var(--sbcs-line);background:#fff;backdrop-filter:none}
.sbcs-portal-logo{width:34px;height:34px;border-radius:5px;box-shadow:none;font-size:12px}
.sbcs-portal-brand{gap:10px}
.sbcs-portal-brand strong{font-size:14px;letter-spacing:-.015em}
.sbcs-portal-brand small{font-size:10px}
.sbcs-portal-header nav{gap:22px}
.sbcs-portal-header nav a{font-size:12px;font-weight:650}
.sbcs-portal-account-pill,.sbcs-portal-credit-pill{border-radius:5px;font-size:12px;padding:7px 10px}
.sbcs-portal-account-pill{background:#1c2838}
.sbcs-portal-credit-pill{background:#fff9e9;border-color:#eedaa4}
.sbcs-portal-main{max-width:1480px;padding:28px clamp(18px,3vw,46px) 52px}
.sbcs-portal-page-head{margin-bottom:18px}
.sbcs-portal-page-head h1{font-size:clamp(23px,2.5vw,29px);font-weight:700;line-height:1.2;letter-spacing:-.035em;margin:4px 0 3px}
.sbcs-portal-page-head p{font-size:13px}
.sbcs-portal-kicker{font-size:10px;letter-spacing:.11em;color:#9c731b;font-weight:750}
.sbcs-portal-account-shell{padding:0;border-radius:7px;box-shadow:none;background:#fff;overflow:hidden}
.sbcs-portal-portal-grid{grid-template-columns:224px minmax(0,1fr);gap:0}
.sbcs-portal-sidebar{position:static;align-self:stretch;gap:0;align-content:start;padding:20px 14px 24px;background:#f9fafb;border-right:1px solid var(--sbcs-line)}
.sbcs-portal-sidebar-card{background:transparent;border:0;border-bottom:1px solid var(--sbcs-line);box-shadow:none;padding:4px 8px 20px;margin:0 0 14px;border-radius:0;color:var(--sbcs-ink)}
.sbcs-portal-sidebar-label{font-size:10px;letter-spacing:.11em;color:#798596;font-weight:750}
.sbcs-portal-sidebar-card strong{color:var(--sbcs-ink);font-size:32px;font-weight:720;line-height:1.2;margin:4px 0 4px}
.sbcs-portal-sidebar-card a{font-size:12px;font-weight:700;color:#996d14}
.sbcs-portal-sidebar-card a:hover{color:#68460c}
.sbcs-portal-menu{display:grid;gap:1px}
.sbcs-portal-menu a{padding:10px 10px 10px 11px;gap:12px;color:#4b586c;font-size:12px;font-weight:650;border:0;border-radius:3px;border-left:2px solid transparent;min-height:39px}
.sbcs-portal-menu a:hover{background:#f1f3f6;color:var(--sbcs-ink);border:0;border-left:2px solid transparent}
.sbcs-portal-menu a.is-active{background:#fff7e4;color:#6e4d11;border:0;border-left:2px solid #d7a638}
.sbcs-portal-menu-icon{width:18px;height:20px;line-height:1;background:none!important;color:#79879a;font-size:14px;border-radius:0}
.sbcs-portal-menu a.is-active .sbcs-portal-menu-icon{color:#9f7424;background:none!important}
.sbcs-portal-content{padding:24px clamp(18px,2.5vw,32px) 30px}
.sbcs-portal-content h3{font-weight:720;font-size:17px;letter-spacing:-.02em;margin:24px 0 12px}
.sbcs-portal-overview{border:1px solid var(--sbcs-line);border-radius:5px;background:#fff;margin-bottom:18px}
.sbcs-portal-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px 19px}
.sbcs-portal-overview-heading h2{font-size:clamp(21px,2.5vw,29px);font-weight:730;letter-spacing:-.035em;line-height:1.16;margin:6px 0 7px}
.sbcs-portal-overview-heading p{color:var(--sbcs-dim);font-size:13px;margin:0}
.sbcs-portal-cta-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0}
.sbcs-portal-button{border-radius:5px;font-size:12px;font-weight:750;padding:10px 14px;letter-spacing:0}
.sbcs-portal-button-gold{background:var(--sbcs-gold)}
.sbcs-portal-button-outline{background:white;color:#273246!important;border:1px solid #ccd5df}
.sbcs-portal-button-outline:hover{background:#f8f9fa}
.sbcs-portal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--sbcs-line);background:#fbfcfd}
.sbcs-portal-metrics>a,.sbcs-portal-metrics>div{display:block;min-width:0;padding:16px 24px 17px;color:inherit;border-right:1px solid var(--sbcs-line)}
.sbcs-portal-metrics>*:last-child{border-right:0}
.sbcs-portal-metrics span,.sbcs-portal-metrics small{display:block;color:var(--sbcs-dim);font-size:11px}
.sbcs-portal-metrics strong{display:block;margin:4px 0 3px;font-size:30px;line-height:1.15;letter-spacing:-.04em;font-weight:730;color:#162336}
.sbcs-portal-metrics a:hover{background:#fffdf6}
.sbcs-portal-dashboard-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sbcs-portal-panel{padding:0;border-radius:5px;min-width:0}
.sbcs-portal-panel-head{padding:17px 18px 15px;margin:0;border-bottom:1px solid var(--sbcs-line)}
.sbcs-portal-panel-head h3{font-size:15px;font-weight:700;margin:0;line-height:1.35}
.sbcs-portal-panel-head a{font-size:12px;font-weight:650;color:#93701c}
.sbcs-portal-panel .sbcs-portal-ledger{border:0;border-radius:0}
.sbcs-portal-panel .sbcs-portal-ledger table{min-width:0}
.sbcs-portal-ledger{border-radius:5px;border-color:var(--sbcs-line)}
.sbcs-portal-ledger th,.sbcs-portal-ledger td{padding:11px 13px;line-height:1.45;font-size:12px}
.sbcs-portal-ledger th{background:#fbfcfd;font-size:10px;font-weight:750;letter-spacing:.06em}
.sbcs-portal-ledger td small{color:#8b96a5}
.sbcs-portal-plus{font-weight:700}
.sbcs-job-status{border-radius:3px;padding:3px 7px;font-size:10px;font-weight:750}
.sbcs-portal-balance{border-radius:5px;background:#172334;padding:22px 24px}
.sbcs-portal-balance strong{font-size:42px}
.sbcs-portal-balance-side strong{font-size:25px}
.sbcs-portal-plan-grid{gap:12px}
.sbcs-portal-plan{border-radius:5px;padding:18px;background:#fff}
.sbcs-portal-tab-head{margin-bottom:18px}
.sbcs-portal-tab-head h2{font-size:22px}
.sbcs-portal-empty{border-radius:5px;background:#fafbfc;padding:36px 20px}
.sbcs-portal-login-copy,.sbcs-portal-login-form{border-radius:5px;box-shadow:none}
.sbcs-portal-login-copy h2{font-size:26px}
.sbcs-woo-portal .woocommerce-form,
.sbcs-woo-portal form.woocommerce-EditAccountForm,
.sbcs-woo-portal .woocommerce-address-fields,
.sbcs-woo-portal form.edit-account,
.sbcs-woo-portal form.login,
.sbcs-woo-portal form.register{border-radius:5px}
.sbcs-woo-portal .woocommerce .button,.sbcs-woo-portal .woocommerce button.button,.sbcs-woo-portal .woocommerce a.button,.sbcs-woo-portal .woocommerce input.button{border-radius:5px!important}
.sbcs-woo-portal .woocommerce form .input-text,.sbcs-woo-portal .woocommerce input[type="email"],.sbcs-woo-portal .woocommerce input[type="password"],.sbcs-woo-portal .woocommerce input[type="text"],.sbcs-woo-portal .woocommerce input[type="tel"],.sbcs-woo-portal .woocommerce textarea,.sbcs-woo-portal .woocommerce select{border-radius:5px}
.sbcs-woo-portal .woocommerce table.shop_table,.sbcs-woo-portal .woocommerce table.woocommerce-orders-table,.sbcs-woo-portal .woocommerce table.woocommerce-MyAccount-downloads-table,.sbcs-woo-portal .woocommerce .woocommerce-Address{border-radius:5px!important}
.sbcs-portal-footer{background:#fff;padding:13px clamp(18px,3vw,46px)}
/* Do not surface development notes in the customer experience. */
@media(max-width:1180px){
 .sbcs-portal-portal-grid{grid-template-columns:205px minmax(0,1fr)}
 .sbcs-portal-dashboard-panels{grid-template-columns:1fr}
}
@media(max-width:830px){
 .sbcs-portal-header nav{display:none}
 .sbcs-portal-portal-grid{grid-template-columns:1fr}
 .sbcs-portal-sidebar{padding:14px 16px;border-right:0;border-bottom:1px solid var(--sbcs-line)}
 .sbcs-portal-sidebar-card{display:flex;align-items:center;gap:9px;padding:2px 2px 10px;margin-bottom:8px}
 .sbcs-portal-sidebar-card strong{font-size:23px;margin:0}
 .sbcs-portal-sidebar-card a{margin-left:auto}
 .sbcs-portal-menu{display:flex;overflow-x:auto;gap:8px;scrollbar-width:thin;padding-bottom:3px}
 .sbcs-portal-menu a{min-width:max-content;border-left:0!important;border-bottom:2px solid transparent;padding:9px 10px}
 .sbcs-portal-menu a.is-active{border-bottom:2px solid #d7a638!important}
 .sbcs-portal-content{padding:18px 16px 26px}
 .sbcs-portal-overview-heading{flex-direction:column;align-items:flex-start;padding:20px}
 .sbcs-portal-metrics>a,.sbcs-portal-metrics>div{padding:14px}
}
@media(max-width:540px){
 body.admin-bar.sbcs-woo-portal .sbcs-portal-header{top:46px}
 .sbcs-portal-header{padding:9px 13px}
 .sbcs-portal-main{padding:20px 10px 36px}
 .sbcs-portal-account-shell{padding:0;border-radius:5px}
 .sbcs-portal-page-head{padding:0 5px}
 .sbcs-portal-page-head h1{font-size:25px}
 .sbcs-portal-overview-heading{padding:17px}
 .sbcs-portal-overview-heading h2{font-size:23px}
 .sbcs-portal-overview-heading p{font-size:12px}
 .sbcs-portal-metrics>a,.sbcs-portal-metrics>div{padding:12px 8px}
 .sbcs-portal-metrics strong{font-size:25px}
 .sbcs-portal-metrics span,.sbcs-portal-metrics small{font-size:10px}
 .sbcs-portal-content{padding:13px}
 .sbcs-portal-panel-head{padding:13px}
 .sbcs-portal-ledger th,.sbcs-portal-ledger td{padding:10px 9px;font-size:11px}
 .sbcs-portal-ledger th{font-size:9px}
 .sbcs-portal-ledger table{min-width:0}
 .sbcs-portal-balance{padding:20px}
}

/* v0.4.10 — integrated plan selection and branded WooCommerce checkout. */
.sbcs-portal-buy-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.sbcs-portal-buy-heading h2{font-size:24px;line-height:1.15;letter-spacing:-.035em;margin:6px 0 7px}
.sbcs-portal-buy-heading p{color:var(--sbcs-dim);font-size:13px;margin:0}
.sbcs-portal-buy-heading>a{color:#936b17;font-size:12px;font-weight:700;white-space:nowrap}
.sbcs-portal-plan{border-radius:5px!important;background:#fff!important;padding:24px!important}
.sbcs-portal-plan>strong{color:#172130;font-size:26px;line-height:1.2;margin:11px 0 10px}
.sbcs-portal-plan-credits{background:#fff9e9;border-left:3px solid var(--sbcs-gold);padding:11px 14px;color:#5b4a26!important;font-size:12px}
.sbcs-portal-plan-credits b{color:#172130;font-size:15px}
.sbcs-portal-plan form{margin-top:20px}
.sbcs-portal-plan-unavailable{color:var(--sbcs-dim);font-size:12px;border-top:1px solid var(--sbcs-line);padding-top:16px}
.sbcs-portal-checkout-content{margin:auto;max-width:1180px;min-height:330px;padding:30px clamp(18px,4vw,52px);color:var(--sbcs-ink)}
.sbcs-portal-checkout-content .woocommerce{width:100%;max-width:none;margin:0}
.sbcs-portal-checkout-content .woocommerce form.checkout{display:block;width:100%;margin:0}
.sbcs-portal-checkout-content .woocommerce .col2-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.sbcs-portal-checkout-content .woocommerce .col2-set>.col-1,
.sbcs-portal-checkout-content .woocommerce .col2-set>.col-2{float:none!important;width:100%!important;max-width:none!important}
.sbcs-portal-checkout-content .woocommerce-checkout-review-order,
.sbcs-portal-checkout-content .wc-block-components-sidebar,
.sbcs-portal-checkout-content .wc-block-checkout__main{min-width:0}
.sbcs-portal-checkout-content .woocommerce input.input-text,
.sbcs-portal-checkout-content .woocommerce textarea,
.sbcs-portal-checkout-content .woocommerce select{border:1px solid var(--sbcs-line);border-radius:5px;padding:11px 12px;background:#fff;color:var(--sbcs-ink)}
.sbcs-portal-checkout-content .woocommerce .button,
.sbcs-portal-checkout-content .woocommerce button.button,
.sbcs-portal-checkout-content .woocommerce #place_order{background:var(--sbcs-gold)!important;color:#172130!important;border-radius:5px!important;font-weight:750!important;padding:13px 18px!important}
.sbcs-portal-checkout-content .woocommerce .shop_table{border:1px solid var(--sbcs-line);border-radius:5px;border-collapse:collapse;width:100%}
.sbcs-portal-checkout-content .woocommerce .shop_table td,
.sbcs-portal-checkout-content .woocommerce .shop_table th{padding:12px;border-bottom:1px solid var(--sbcs-line)}
.sbcs-portal-checkout-content .woocommerce-checkout-payment{background:#f8fafc!important;border:1px solid var(--sbcs-line);border-radius:5px!important;padding:12px}
@media(max-width:820px){
  .sbcs-portal-checkout-content .woocommerce .col2-set{grid-template-columns:1fr}
  .sbcs-portal-checkout-content{padding:20px 14px}
}
@media(max-width:540px){
  .sbcs-portal-buy-heading{display:block}
  .sbcs-portal-buy-heading>a{display:inline-block;margin-top:10px}
  .sbcs-portal-plan{padding:18px!important}
  .sbcs-portal-checkout-content{padding:16px 12px}
}

/* v0.4.11 — readable typography and strong contrast, without losing the flat UI. */
:root {
  --sbcs-ink: #172231;
  --sbcs-dim: #4d5d70;
  --sbcs-line: #d9e0e8;
}
body.sbcs-woo-portal {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sbcs-ink);
  -webkit-font-smoothing: antialiased;
}
/* Text hierarchy: normal copy should never rely on 10- or 11-pixel type. */
.sbcs-portal-page-head p,
.sbcs-portal-overview-heading p,
.sbcs-portal-tab-head p,
.sbcs-portal-buy-heading p,
.sbcs-portal-login-copy p,
.sbcs-portal-plan p,
.sbcs-woo-portal .woocommerce p,
.sbcs-woo-portal .woocommerce form p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sbcs-dim);
}
.sbcs-portal-page-head h1 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.22; }
.sbcs-portal-overview-heading h2 { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.25; }
.sbcs-portal-tab-head h2 { font-size: clamp(24px, 2.4vw, 29px); }
.sbcs-portal-content h3 { font-size: 18px; }
.sbcs-portal-kicker { font-size: 12px; letter-spacing: .075em; color: #805b10; }
.sbcs-portal-brand strong { font-size: 15px; }
.sbcs-portal-brand small { font-size: 12px; color: #536277; }
.sbcs-portal-header nav a { font-size: 14px; color: #35445a; }
.sbcs-portal-credit-pill,
.sbcs-portal-account-pill { font-size: 14px; }
.sbcs-portal-credit-pill small { font-size: 12px; color: #64480e; }

/* Navigation stays compact but can be read at normal browser zoom. */
.sbcs-portal-portal-grid { grid-template-columns: 232px minmax(0,1fr); }
.sbcs-portal-sidebar-label { font-size: 12px; color: #526175; }
.sbcs-portal-sidebar-card a { font-size: 14px; color: #805a0e; }
.sbcs-portal-menu a { font-size: 14px; min-height: 42px; line-height: 1.35; color: #33445b; }
.sbcs-portal-menu-icon { font-size: 15px; color: #506078; }
.sbcs-portal-panel-head h3 { font-size: 17px; }
.sbcs-portal-panel-head a,
.sbcs-portal-card-link,
.sbcs-portal-buy-heading>a { font-size: 14px; color: #805a0e; }
.sbcs-portal-button { font-size: 14px; min-height: 38px; }
.sbcs-portal-metrics span,
.sbcs-portal-metrics small { font-size: 13px; color: #4d5d70; line-height: 1.45; }
.sbcs-portal-metrics strong { font-size: 31px; }

/* Most important: prevent generic WooCommerce <strong> rules from making
   the numerical values dark/invisible on the dark balance panel. */
body.sbcs-woo-portal .sbcs-portal-balance,
body.sbcs-woo-portal .woocommerce .sbcs-portal-balance { color: #fff; }
body.sbcs-woo-portal .sbcs-portal-balance strong,
body.sbcs-woo-portal .woocommerce .sbcs-portal-balance strong,
body.sbcs-woo-portal .sbcs-portal-balance-side strong,
body.sbcs-woo-portal .woocommerce .sbcs-portal-balance-side strong {
  color: #ffd86c !important;
  font-weight: 750;
  opacity: 1;
}
body.sbcs-woo-portal .sbcs-portal-balance span,
body.sbcs-woo-portal .sbcs-portal-balance small,
body.sbcs-woo-portal .woocommerce .sbcs-portal-balance span,
body.sbcs-woo-portal .woocommerce .sbcs-portal-balance small {
  font-size: 14px;
  color: #e4ebf5 !important;
  opacity: 1;
  line-height: 1.5;
}
.sbcs-portal-balance-side strong { font-size: 30px; }

/* Activity tables: readable data and labels, without heavier card styling. */
.sbcs-portal-ledger th,
.sbcs-portal-ledger td { font-size: 14px; line-height: 1.5; padding: 12px 14px; color: #243247; }
.sbcs-portal-ledger th {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .045em;
  color: #47576c;
}
.sbcs-portal-ledger td small { font-size: 12px; color: #4f6075; }
.sbcs-portal-plus { color: #11633e !important; }
.sbcs-job-status { font-size: 12px; line-height: 1.35; }
.sbcs-portal-balance strong { font-size: 44px; }
.sbcs-portal-plan-credits { font-size: 14px; color: #5b4821 !important; }
.sbcs-portal-plan-unavailable { font-size: 14px; }
.sbcs-portal-plan>span { font-size: 13px; }
.sbcs-portal-footer { font-size: 13px; color: #4c5a6c; }
.sbcs-woo-portal .woocommerce label,
.sbcs-woo-portal .woocommerce table.shop_table,
.sbcs-woo-portal .woocommerce table.shop_table th,
.sbcs-woo-portal .woocommerce table.shop_table td,
.sbcs-woo-portal .woocommerce input,
.sbcs-woo-portal .woocommerce select,
.sbcs-woo-portal .woocommerce textarea { font-size: 14px; }
.sbcs-woo-portal .woocommerce .button,
.sbcs-woo-portal .woocommerce button.button,
.sbcs-woo-portal .woocommerce a.button,
.sbcs-woo-portal .woocommerce input.button { font-size: 14px; }

@media (max-width: 1180px) {
  .sbcs-portal-portal-grid { grid-template-columns: 218px minmax(0,1fr); }
}
@media (max-width: 830px) {
  .sbcs-portal-portal-grid { grid-template-columns: 1fr; }
  .sbcs-portal-menu a { min-height: 42px; }
}
@media (max-width: 540px) {
  .sbcs-portal-page-head h1 { font-size: 27px; }
  .sbcs-portal-overview-heading h2 { font-size: 24px; }
  .sbcs-portal-overview-heading p { font-size: 14px; }
  .sbcs-portal-metrics span,
  .sbcs-portal-metrics small { font-size: 12px; }
  .sbcs-portal-metrics strong { font-size: 27px; }
  .sbcs-portal-ledger th,
  .sbcs-portal-ledger td { font-size: 13px; padding: 11px 10px; }
  .sbcs-portal-ledger th { font-size: 12px; }
  .sbcs-portal-balance span,
  .sbcs-portal-balance small { font-size: 13px !important; }
}

/* Time-limited video download notices. */
.sbcs-portal-retention-note{color:#53647a;font-size:13px;line-height:1.5;margin:15px 0 0}
.sbcs-portal-job-download{display:inline-block}
.sbcs-portal-job-download + small{display:block;color:#66758a;margin-top:3px;white-space:nowrap}
.sbcs-job-expired{background:#eef1f5;color:#586579}

/* Compact membership indicator on the credit screen. */
.sbcs-woo-portal .sbcs-portal-tool-status{font-size:13px;line-height:1.45;color:#42526b;margin:0 0 12px}
.sbcs-woo-portal .sbcs-portal-tool-status strong{color:#152034}

/* v0.4.18 — monthly, paginated credit activity archive. */
.sbcs-portal-activity-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:26px 0 12px}
.sbcs-portal-activity-head h3{margin:0!important}
.sbcs-portal-activity-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sbcs-portal-activity-filter label{font-size:13px;color:#53647a;font-weight:700}
.sbcs-woo-portal .sbcs-portal-activity-filter select{width:auto!important;min-width:145px!important;max-width:220px;border:1px solid #cdd6e3;padding:9px 12px;border-radius:5px;background:#fff;color:#172130;font-size:13px}
.sbcs-portal-activity-filter button,.sbcs-portal-activity-pages a{border:1px solid #cdd6e3;border-radius:5px;background:#fff;padding:9px 13px;color:#24354b;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none}
.sbcs-portal-activity-filter button:hover,.sbcs-portal-activity-pages a:hover{border-color:#b48b2e;background:#fff9e8}
.sbcs-portal-activity-pages{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:13px;color:#53647a;font-size:13px}
.sbcs-portal-activity-pages nav{display:flex;gap:8px}

/* Site identity is inherited from WordPress Appearance > Customize > Site Identity. */
.sbcs-business-logo{background:transparent!important;overflow:hidden;display:inline-flex!important;align-items:center;justify-content:center;flex:none}
.sbcs-business-logo-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.sbcs-portal-brand strong,.sbcs-sidebar-brand strong{overflow-wrap:anywhere}
/* v0.6.5: scalable plan catalogue instead of a two-card-only layout. */
.sbcs-portal-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
@media(max-width:1200px){.sbcs-portal-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.sbcs-portal-plan-grid{grid-template-columns:1fr}}

/* v0.6.7 — customer-facing plans & credit comparison */
.sbcs-pricing-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--sbcs-line);background:#fafbfc;margin:18px 0 10px}
.sbcs-pricing-summary>div{padding:20px 18px;display:flex;flex-direction:column;gap:7px}
.sbcs-pricing-summary>div+div{border-left:1px solid var(--sbcs-line)}
.sbcs-pricing-summary span{font-size:12px;color:var(--sbcs-dim);font-weight:650}
.sbcs-pricing-summary strong{font-size:23px;line-height:1.25;color:#13243b;letter-spacing:-.025em}
.sbcs-pricing-rate-note{margin:0 0 24px;color:var(--sbcs-dim);font-size:12px;line-height:1.5}
.sbcs-pricing-grid{margin:0 0 26px}
.sbcs-pricing-plan{display:flex;flex-direction:column;gap:0;min-height:355px}
.sbcs-pricing-plan .sbcs-pricing-price{margin:10px 0 1px;font-size:29px;line-height:1.2}
.sbcs-pricing-plan .sbcs-pricing-period{font-size:12px;color:var(--sbcs-dim);font-weight:650}
.sbcs-pricing-plan .sbcs-pricing-description{margin:12px 0 10px;min-height:32px}
.sbcs-pricing-time{margin:5px 0 12px;padding:15px 0;border-top:1px solid var(--sbcs-line);border-bottom:1px solid var(--sbcs-line);display:flex;flex-direction:column;gap:5px}
.sbcs-pricing-time small{font-size:11px;color:#8a6616;text-transform:uppercase;letter-spacing:.05em;font-weight:750}
.sbcs-pricing-time b{font-size:25px;letter-spacing:-.02em;line-height:1.25;color:#172130}
.sbcs-pricing-time span{font-size:12px;color:var(--sbcs-dim)}
.sbcs-pricing-plan .sbcs-pricing-delivery{font-size:12px;line-height:1.65;margin:0 0 20px;color:#596575}
.sbcs-pricing-plan form,.sbcs-pricing-plan .sbcs-portal-plan-unavailable{margin-top:auto}
.sbcs-pricing-explainer{border-top:1px solid var(--sbcs-line);padding:25px 0 16px}
.sbcs-pricing-explainer h3{margin:0 0 16px;font-size:21px}
.sbcs-pricing-explainer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sbcs-pricing-explainer-grid b{color:#15263b;font-size:14px}
.sbcs-pricing-explainer-grid p{font-size:13px;line-height:1.65;color:var(--sbcs-dim);margin:6px 0 0}
.sbcs-pricing-manage{border-top:1px solid var(--sbcs-line);padding-top:18px;font-size:13px}
@media(max-width:780px){.sbcs-pricing-summary{grid-template-columns:1fr}.sbcs-pricing-summary>div+div{border-left:0;border-top:1px solid var(--sbcs-line)}.sbcs-pricing-explainer-grid{grid-template-columns:1fr;gap:18px}.sbcs-pricing-plan{min-height:0}}

/* v0.6.9: Explicit irreversible account deletion on Woo Account Details. */
body.sbcs-woo-portal .sbcs-account-delete{margin-top:48px;border-top:1px solid #d7dee6;padding:30px 0 8px;max-width:900px;color:#273447}
.sbcs-account-delete-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.sbcs-account-delete-heading span:first-child{font-size:11px;letter-spacing:.12em;font-weight:800;color:#805416}
.sbcs-account-delete-heading h2{font-size:25px;margin:8px 0 18px;line-height:1.25}
.sbcs-delete-permanent{color:#922927;border:1px solid #efd4d2;background:#fff8f8;padding:7px 10px;border-radius:4px;font-size:12px;font-weight:800}
.sbcs-account-delete p{color:#46546a;font-size:14px;line-height:1.75;margin:0 0 14px}
.sbcs-account-delete-form{display:grid;gap:12px;max-width:450px;margin-top:22px}
.sbcs-account-delete-form label{font-size:13px;font-weight:800}
body.sbcs-woo-portal .sbcs-account-delete-form input[type=text]{min-height:47px;border:1px solid #abb8c7;background:#fff;border-radius:4px;padding:10px 13px;font:inherit}
body.sbcs-woo-portal .sbcs-account-delete-button{border:0;border-radius:4px;background:#992d2a;color:#fff!important;font-size:14px;font-weight:800;min-height:47px;cursor:pointer;padding:12px 17px}
.sbcs-account-delete-button:hover{background:#7f211e}
.sbcs-account-delete-error{border-left:4px solid #992d2a;background:#fff4f4;padding:11px 13px;color:#77211c!important}
.sbcs-portal-footer nav a{font-size:13px;color:#405475;text-decoration:underline;font-weight:700}

/* v0.7.0: native WooCommerce sign-in / registration tabs. Other plugins can render
   form fields via WooCommerce hooks, including Signup Guard and SingleBuck 2FA. */
.sbcs-portal-auth-tabs{display:flex;gap:0;border-bottom:1px solid var(--sbcs-line);margin:0 0 20px}
.sbcs-portal-auth-tab{display:inline-block;padding:12px 18px;border-bottom:3px solid transparent;color:var(--sbcs-dim);font-weight:800;font-size:14px}
.sbcs-portal-auth-tab:hover,.sbcs-portal-auth-tab.is-active{color:var(--sbcs-ink);border-bottom-color:var(--sbcs-gold-deep)}
.sbcs-portal-login-form.sbcs-auth-tabs-ready #customer_login{display:block!important}
.sbcs-portal-login-form.sbcs-auth-tabs-ready #customer_login .u-column1,
.sbcs-portal-login-form.sbcs-auth-tabs-ready #customer_login .u-column2{width:100%!important;float:none!important;max-width:none!important;margin:0!important}
.sbcs-portal-login-form.sbcs-auth-tabs-ready[data-sbcs-auth-view="login"] #customer_login .u-column2{display:none!important}
.sbcs-portal-login-form.sbcs-auth-tabs-ready[data-sbcs-auth-view="register"] #customer_login .u-column1{display:none!important}
.sbcs-portal-register-admin-note{padding:14px;background:#fff8e1;border-left:3px solid var(--sbcs-gold-deep);font-size:13px}
.sbcs-portal-register-admin-note a{text-decoration:underline!important}

/* v0.7.1: optional per-site email deliverability advisory for Account Details. */
.sbcs-woo-portal .sbcs-account-email-notice{
  max-width:920px;margin:0 0 28px;padding:17px 20px;
  background:#fffaf0;border:1px solid #f2dfb4;border-left:4px solid #bb8b2b;
  color:#51401f;line-height:1.55;border-radius:4px;
}
.sbcs-woo-portal .sbcs-account-email-notice strong{display:block;margin-bottom:6px;font-size:14px;color:#49370e}
.sbcs-woo-portal .sbcs-account-email-notice p{margin:0;font-size:13px;line-height:1.6;color:#604d26}


/* v0.7.2: consistent advisory on registration and dismissible Account Details notice. */
.sbcs-woo-portal .sbcs-email-notice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sbcs-woo-portal .sbcs-email-notice-head strong{margin-bottom:8px}
.sbcs-woo-portal .sbcs-email-notice-dismiss{margin:0;flex:0 0 auto}
.sbcs-woo-portal .sbcs-email-notice-dismiss button{
  display:inline-flex;align-items:center;gap:7px;background:transparent;border:1px solid #d6bd85;
  border-radius:4px;padding:5px 9px;color:#604d26;cursor:pointer;font:inherit;font-size:12px;font-weight:700;
}
.sbcs-woo-portal .sbcs-email-notice-dismiss button:hover,
.sbcs-woo-portal .sbcs-email-notice-dismiss button:focus-visible{background:#f8edce;outline-offset:2px}
.sbcs-woo-portal .sbcs-email-notice-dismiss button span{font-size:17px;line-height:1}
.sbcs-woo-portal form.register .sbcs-registration-email-notice{max-width:none;margin:0 0 20px;padding:14px 16px}
@media(max-width:460px){
  .sbcs-woo-portal .sbcs-account-email-notice{padding:14px}
  .sbcs-woo-portal .sbcs-email-notice-head{align-items:center}
}
