#bec-smart-app{max-width:1180px;margin:30px auto;padding:24px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#162033}.bst-head{display:flex;justify-content:space-between;align-items:center;background:#102f61;color:#fff;padding:30px;border-radius:22px;margin-bottom:18px}.bst-head small{opacity:.8;letter-spacing:1.5px;font-weight:800}.bst-head h1{margin:7px 0 6px;font-size:32px}.bst-head p{margin:0;opacity:.82}.bst-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.bst-tabs button{border:1px solid #d9dfeb;background:#fff;padding:12px 16px;border-radius:12px;cursor:pointer;font-weight:700}.bst-tabs button.active{background:#102f61;color:#fff}.bst-panel{background:#fff;border:1px solid #e5e9f1;border-radius:20px;padding:26px;box-shadow:0 8px 30px #102f6112}.bst-section-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:8px}.bst-kicker{font-size:12px;font-weight:900;letter-spacing:1.4px;color:#496b9e}.bst-panel h2{margin:5px 0}.bst-section-head p{color:#667085;margin-top:5px}.bst-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.bst-form label{font-weight:750;font-size:14px}.bst-form .bst-wide{grid-column:span 2}.bst-form input,.bst-form select,.bst-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:11px 12px;border:1px solid #ccd4e1;border-radius:10px;background:#fff;font:inherit}.bst-form textarea{resize:vertical}.bst-primary,.bst-secondary,.bst-mini{border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer}.bst-primary{background:#102f61;color:#fff;border:0}.bst-secondary{background:#fff;color:#102f61;border:1px solid #cbd5e1}.bst-mini{padding:7px 10px;border:1px solid #cbd5e1;background:#fff;color:#102f61;font-size:12px;margin-top:7px}.bst-danger{color:#8a1f1f}.bst-card{margin-top:20px;padding:22px;background:#f7f9fc;border-radius:16px}.bst-card h3{margin-top:0;color:#102f61}.bst-meta{color:#667085}.bst-item{padding:13px 0;border-bottom:1px solid #e5e9f1}.bst-item:last-child{border-bottom:0}.bst-options{padding:8px 0}.bst-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.bst-error{margin-top:18px;padding:14px;background:#fff1f1;border:1px solid #f0b7b7;border-radius:10px;color:#8a1f1f}.bst-loading{font-weight:700}.bst-library-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.bst-library-item{border:1px solid #e1e6ef;border-radius:12px;padding:14px;margin:10px 0;background:#fff}.bst-empty{padding:20px;background:#f7f9fc;border-radius:12px;color:#667085}@media(max-width:900px){.bst-form{grid-template-columns:repeat(2,minmax(0,1fr))}.bst-form .bst-wide{grid-column:span 2}.bst-library-grid{grid-template-columns:1fr}}@media(max-width:600px){#bec-smart-app{padding:12px}.bst-head{padding:20px;display:block}.bst-head h1{font-size:25px}.bst-form{grid-template-columns:1fr}.bst-form .bst-wide{grid-column:span 1}.bst-panel{padding:18px}}

.bst-auth-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#f59e0b;margin-right:7px;vertical-align:middle}.bst-auth-dot.ok{background:#16a34a}.bst-login-state{max-width:650px;margin:40px auto;padding:36px;text-align:center;border:1px solid #dbe4f0;border-radius:18px;background:#fff;box-shadow:0 14px 35px rgba(16,47,97,.08)}.bst-login-icon{font-size:38px}.bst-login-state h2{margin:10px 0 8px}.bst-login-state p{color:#5b6472;line-height:1.6}.bst-login-link{display:inline-block;text-decoration:none;margin-top:12px}

.bst-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.bst-stat{padding:20px;border:1px solid #e1e6ef;border-radius:16px;background:#f7f9fc}.bst-stat span{display:block;color:#667085;font-size:13px;font-weight:700}.bst-stat strong{display:block;margin-top:6px;font-size:30px;color:#102f61}.bst-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bst-quick{border:1px solid #dbe3ef;background:#fff;border-radius:16px;padding:20px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:8px}.bst-quick b{font-size:17px;color:#102f61}.bst-quick span{color:#667085;line-height:1.5}.bst-quick-info{cursor:default;background:#f7f9fc}@media(max-width:700px){.bst-stats{grid-template-columns:1fr}.bst-quick-grid{grid-template-columns:1fr}}

/* v2.1 Worksheet Generator */
.bst-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.bst-ws-section{margin:18px 0;padding:14px 0;border-top:1px solid #e4e9f2;}
.bst-ws-section h4{margin:0 0 8px;}
.bst-ws-student-fields{display:flex;justify-content:space-between;gap:24px;padding:12px 0;border-bottom:1px solid #e4e9f2;margin-bottom:10px;}
.bst-answer-key{margin-top:28px;padding-top:18px;border-top:2px dashed #cbd5e1;}
.bst-check{display:flex!important;align-items:center;gap:10px;}
.bst-check input{width:auto!important;}
@media(max-width:900px){.bst-library-grid{grid-template-columns:1fr 1fr;}.bst-ws-student-fields{flex-direction:column;gap:8px;}}
@media(max-width:600px){.bst-library-grid{grid-template-columns:1fr;}}

.bst-note-section{padding:14px 0;border-bottom:1px solid #e5e9f1}.bst-note-section h4{margin-bottom:8px;color:#102f61}.bst-note-box{padding:14px;background:#eef4fb;border-radius:12px;margin:14px 0}.bst-example{padding:10px 12px;background:#fff;border-left:3px solid #102f61;border-radius:8px;margin-top:10px}.bst-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.bst-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.bst-library-grid{grid-template-columns:1fr}}

.bst-rubric-block{margin:18px 0}
.bst-rubric-table{width:100%;border-collapse:collapse;margin:10px 0;background:#fff}
.bst-rubric-table th,.bst-rubric-table td{border:1px solid #d9e1ee;padding:10px;text-align:left;vertical-align:top}
.bst-rubric-table th{background:#eef3fa}
.bst-rubric-table small{font-weight:600}
@media (max-width:720px){
  .bst-rubric-table{font-size:13px}
  .bst-rubric-table th,.bst-rubric-table td{padding:7px}
}
@media print{
  .bst-rubric-table th,.bst-rubric-table td{border:1px solid #888}
}

/* v2.3.1 Subscription Foundation */
.bst-sub-plan{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px;border:1px solid #dbe4f0;border-radius:16px;background:#f7f9fc;margin-top:18px}.bst-sub-plan h3{font-size:28px;margin:5px 0}.bst-sub-plan p{margin:0;color:#667085}.bst-sub-badge{padding:9px 12px;border-radius:999px;background:#102f61;color:#fff;font-size:12px;font-weight:900;letter-spacing:.8px}.bst-sub-notice{margin:14px 0;padding:13px 15px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12}.bst-sub-safe{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.bst-usage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.bst-usage-card{padding:16px;border:1px solid #e1e6ef;border-radius:14px;background:#fff}.bst-usage-card>b{display:block;color:#475467;font-size:13px}.bst-usage-card>strong{display:block;font-size:24px;color:#102f61;margin:6px 0}.bst-usage-card small{color:#667085}.bst-usage-bar{height:7px;border-radius:99px;background:#e9eef5;overflow:hidden;margin:8px 0}.bst-usage-bar span{display:block;height:100%;background:#496b9e}.bst-quick-info{background:#f7f9fc}@media(max-width:1000px){.bst-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.bst-sub-plan{display:block}.bst-sub-badge{display:inline-block;margin-top:12px}.bst-usage-grid{grid-template-columns:1fr}}


/* v2.3.2 Premium Subscription UI */
.bst-sub-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 30px;border-radius:20px;background:linear-gradient(135deg,#102f61 0%,#244f89 100%);color:#fff;margin:18px 0 16px;box-shadow:0 14px 35px rgba(16,47,97,.14)}
.bst-sub-hero .bst-kicker{color:#dbeafe}.bst-sub-hero h3{font-size:30px;margin:6px 0}.bst-sub-hero p{margin:0;max-width:760px;color:#e6eef9;line-height:1.55}.bst-sub-hero-icon{width:66px;height:66px;border-radius:18px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:32px;flex:0 0 auto}
.bst-usage-heading{display:flex;justify-content:space-between;align-items:end;margin:28px 0 8px}.bst-usage-heading h3,.bst-pricing-intro h3{margin:4px 0}.bst-usage-month{font-size:13px;font-weight:800;color:#667085}.bst-pricing-intro{margin:30px 0 14px}.bst-pricing-intro p{margin:5px 0;color:#667085}
.bst-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.bst-price-card{position:relative;border:1px solid #dfe5ef;border-radius:20px;padding:24px;background:#fff;box-shadow:0 8px 25px rgba(16,47,97,.06);display:flex;flex-direction:column}.bst-price-card.bst-price-pro{border:2px solid #315f9b;box-shadow:0 14px 35px rgba(16,47,97,.13);transform:translateY(-4px)}.bst-price-card.bst-price-current{background:#f8fbff}.bst-popular{position:absolute;top:-12px;right:18px;background:#102f61;color:#fff;border-radius:999px;padding:6px 11px;font-size:10px;font-weight:900;letter-spacing:1px}.bst-price-name{font-size:23px;font-weight:900;color:#102f61}.bst-price-top p{margin:5px 0 0;color:#667085;font-size:13px;min-height:38px}.bst-price{display:flex;align-items:baseline;gap:4px;margin:18px 0 8px;padding-bottom:17px;border-bottom:1px solid #e7ebf2}.bst-price span{font-size:18px;font-weight:800}.bst-price strong{font-size:40px;color:#102f61;line-height:1}.bst-price small{color:#667085;font-weight:700}.bst-feature-list{list-style:none;padding:0;margin:8px 0 20px;display:grid;gap:10px;flex:1}.bst-feature-list li{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#344054}.bst-feature-list li>span:first-child{width:18px;text-align:center;font-weight:900;color:#16803c}.bst-feature-list li.is-locked{color:#98a2b3}.bst-feature-list li.is-locked>span:first-child{color:#98a2b3}.bst-feature-list b{display:block}.bst-feature-list small{display:block;color:#667085;margin-top:2px}.bst-plan-btn{width:100%;padding:13px 16px;border-radius:11px;font-weight:850;cursor:pointer;font:inherit}.bst-plan-primary{border:0;background:#102f61;color:#fff}.bst-plan-primary:hover{filter:brightness(1.08)}.bst-plan-secondary{border:1px solid #cbd5e1;background:#fff;color:#102f61}.bst-plan-current{border:1px solid #cbd5e1;background:#eef4fb;color:#315f9b;cursor:default}.bst-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.bst-value-card{display:flex;gap:12px;padding:17px;border:1px solid #e1e6ef;border-radius:15px;background:#f8fafc}.bst-value-icon{width:36px;height:36px;border-radius:10px;background:#eaf1fb;display:grid;place-items:center;flex:0 0 auto}.bst-value-card b{display:block;color:#102f61;margin-bottom:3px}.bst-value-card span{display:block;color:#667085;font-size:12px;line-height:1.45}.bst-subscription-meta{padding:12px 0;color:#667085;font-size:13px}.bst-subscription-meta span{padding:0 7px}.bst-sub-notes{margin-top:12px;padding:19px;background:#f7f9fc;border:1px solid #e4e9f1;border-radius:15px}.bst-sub-notes b{color:#102f61}.bst-sub-notes p{margin:7px 0;color:#667085;line-height:1.55}.bst-sub-notes .bst-meta{font-size:12px}
@media(max-width:1000px){.bst-pricing-grid{grid-template-columns:1fr 1fr}.bst-price-card.bst-price-pro{transform:none}.bst-value-grid{grid-template-columns:1fr}}
@media(max-width:700px){.bst-sub-hero{padding:22px;display:block}.bst-sub-hero h3{font-size:24px}.bst-sub-hero-icon{display:none}.bst-pricing-grid{grid-template-columns:1fr}.bst-usage-heading{display:block}.bst-usage-month{display:block;margin-top:6px}.bst-price-card.bst-price-pro{order:-1}}

/* v2.3.5 Regional Language Support */
.bst-language-bar{margin:12px 0 14px;padding:12px 16px;border:1px solid #dbe4f0;border-radius:14px;background:#f7f9fc}
.bst-language-bar label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0}
.bst-language-bar label>span{font-weight:800;color:#102f61;font-size:13px}
.bst-language-bar select{min-width:190px;width:auto;padding:9px 34px 9px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#102f61;font-weight:700}
.bst-language-bar small{color:#667085;font-size:12px;flex:1 1 300px}
@media(max-width:600px){.bst-language-bar label{align-items:flex-start;flex-direction:column;gap:7px}.bst-language-bar select{width:100%;min-width:0}.bst-language-bar small{flex:auto}}
