/* CEBES Core 0.14 — onboarding, gracias, acceso y dashboard */
body.cebes-account-v2,
body.cebes-order-received-v2{
  background:#f7f4ee;
  color:var(--cebes-ink,#0b2237);
  font-family:var(--cebes-font,"Segoe UI",Arial,Helvetica,sans-serif);
  -webkit-font-smoothing:antialiased;
}
body.cebes-account-v2 *,body.cebes-account-v2 *::before,body.cebes-account-v2 *::after,
body.cebes-order-received-v2 *,body.cebes-order-received-v2 *::before,body.cebes-order-received-v2 *::after{box-sizing:border-box}

/* ---------- Gracias / pedido recibido ---------- */
body.cebes-order-received-v2 .woocommerce{max-width:1180px!important;margin:0 auto!important;padding:52px 24px 86px!important}
body.cebes-order-received-v2 .woocommerce-notice--success,
body.cebes-order-received-v2 .woocommerce-thankyou-order-received{margin:0 0 18px!important;color:#526570!important;font-size:16px!important}
.cebes-thankyou-hero{background:#071d31;color:#fff;border-radius:24px;padding:clamp(30px,4vw,48px);margin:0 0 28px;box-shadow:0 24px 60px rgba(7,29,49,.15);position:relative;overflow:hidden}
.cebes-thankyou-hero::after{content:"";position:absolute;right:-54px;top:-54px;width:180px;height:180px;border:1px solid rgba(213,173,99,.26);border-radius:50%}
.cebes-thankyou-hero .cebes-kicker{color:#d5ad63;margin:0 0 10px}
.cebes-thankyou-hero h2{color:#fff!important;font-size:clamp(30px,4vw,46px)!important;line-height:1.08!important;letter-spacing:-.025em;margin:0 0 14px!important;max-width:760px}
.cebes-thankyou-hero>p:not(.cebes-kicker){color:rgba(255,255,255,.78);font-size:17px;line-height:1.65;max-width:760px;margin:0 0 24px}
.cebes-thankyou-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 26px}
.cebes-thankyou-actions .cebes-btn{min-height:54px;border-radius:12px;text-decoration:none!important}
.cebes-btn-outline{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 26px;border:1px solid rgba(255,255,255,.42);border-radius:12px;color:#fff!important;text-decoration:none!important;font-weight:600}
.cebes-btn-outline:hover{border-color:#d5ad63;color:#d5ad63!important}
.cebes-thankyou-checks{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:22px;border-top:1px solid rgba(255,255,255,.13);color:rgba(255,255,255,.78);font-size:14px}
.cebes-thankyou-checks span::first-letter{color:#d5ad63}

body.cebes-order-received-v2 .woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;margin:0 0 28px!important;padding:0!important;list-style:none!important;background:#fff;border:1px solid #e2dbcf;border-radius:18px;overflow:hidden}
body.cebes-order-received-v2 .woocommerce-order-overview li{margin:0!important;padding:20px 22px!important;border-right:1px solid #ece5d9!important;border-bottom:0!important;font-size:12px!important;color:#667681!important;text-transform:uppercase!important;letter-spacing:.06em}
body.cebes-order-received-v2 .woocommerce-order-overview li:last-child{border-right:0!important}
body.cebes-order-received-v2 .woocommerce-order-overview strong{display:block;margin-top:6px;color:#071d31!important;font-size:17px!important;line-height:1.35!important;text-transform:none!important;letter-spacing:0!important}
body.cebes-order-received-v2 .woocommerce-order-details,
body.cebes-order-received-v2 .woocommerce-customer-details{background:#fff;border:1px solid #e2dbcf;border-radius:18px;margin:0 0 28px!important;overflow:hidden}
body.cebes-order-received-v2 .woocommerce-order-details>h2,
body.cebes-order-received-v2 .woocommerce-customer-details>h2{margin:0!important;padding:20px 24px!important;border-bottom:1px solid #e9e2d7;color:#071d31!important;font-size:22px!important}
body.cebes-order-received-v2 table.woocommerce-table{margin:0!important;border:0!important;border-radius:0!important}
body.cebes-order-received-v2 table.woocommerce-table th,
body.cebes-order-received-v2 table.woocommerce-table td{padding:15px 18px!important;border-color:#ebe4d9!important;font-size:15px!important}
body.cebes-order-received-v2 .woocommerce-customer-details address{border:0!important;padding:22px 24px!important;font-size:15px!important;line-height:1.7!important}

/* Facturación post-compra */
.cebes-invoice-request{background:#fffaf1;border:1px solid #e5d7bb;border-radius:18px;padding:25px 28px;margin:28px 0;box-shadow:0 14px 34px rgba(7,29,49,.04)}
.cebes-invoice-request .cebes-kicker{margin:0 0 5px}
.cebes-invoice-request h3{font-size:22px!important;color:#071d31!important;margin:0 0 7px!important}
.cebes-invoice-copy>p:last-child{margin-bottom:0;color:#5d6d78}
.cebes-invoice-details{margin-top:16px;border-top:1px solid #e6dac3;padding-top:16px}
.cebes-invoice-details summary{cursor:pointer;color:#071d31;font-weight:650;font-size:16px;list-style:none}
.cebes-invoice-details summary::-webkit-details-marker{display:none}
.cebes-invoice-details summary::after{content:" +";color:#a87925}
.cebes-invoice-details[open] summary::after{content:" −"}
.cebes-invoice-details form{padding-top:22px}
.cebes-invoice-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
.cebes-invoice-fields label{display:grid;gap:7px;color:#294050;font-size:14px;font-weight:600}
.cebes-invoice-fields input,.cebes-invoice-fields select{width:100%;min-height:50px;border:1px solid #d8d4cb;border-radius:10px;background:#fff;padding:0 13px;color:#173045;font:inherit;box-shadow:none}
.cebes-invoice-fields input:focus,.cebes-invoice-fields select:focus{outline:none;border-color:#d5ad63;box-shadow:0 0 0 3px rgba(213,173,99,.16)}
.cebes-invoice-note{font-size:13.5px;color:#667681;margin:16px 0}
.cebes-invoice-status{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e8f4ea;color:#245e32;font-size:13px;font-weight:650}

/* ---------- WooCommerce Mi cuenta / login ---------- */
body.cebes-account-v2 .site-content>.ast-container,
body.cebes-account-v2 .ast-container{max-width:1180px!important;width:min(1180px,calc(100% - 40px))!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important}
body.cebes-account-v2 .woocommerce{padding:58px 0 86px}
body.cebes-account-login-v2 .woocommerce{max-width:620px;margin:0 auto}
.cebes-account-login-intro{text-align:left;margin:0 0 22px;padding:0 4px}
.cebes-account-login-intro .cebes-kicker{margin-bottom:9px}
.cebes-account-login-intro h1{margin:0 0 10px;color:#071d31;font-size:clamp(34px,5vw,46px);line-height:1.08;letter-spacing:-.025em}
.cebes-account-login-intro p:last-child{margin:0;color:#60717d;font-size:16px;line-height:1.6}
body.cebes-account-login-v2 .woocommerce h2{display:none!important}
body.cebes-account-login-v2 form.woocommerce-form-login,
body.cebes-account-login-v2 form.woocommerce-ResetPassword{background:#fff!important;border:1px solid #e2dbcf!important;border-radius:22px!important;padding:30px!important;box-shadow:0 20px 52px rgba(7,29,49,.08)!important;margin:0!important}
body.cebes-account-login-v2 form label{font-size:15px!important;font-weight:600!important;color:#263b4b!important}
body.cebes-account-login-v2 form input.input-text{min-height:54px!important;width:100%!important;border:1px solid #d8d6d0!important;border-radius:11px!important;background:#fcfbf8!important;padding:0 14px!important;font-size:16px!important;box-shadow:none!important}
body.cebes-account-login-v2 form input.input-text:focus{outline:none!important;border-color:#d5ad63!important;box-shadow:0 0 0 3px rgba(213,173,99,.16)!important;background:#fff!important}
body.cebes-account-login-v2 .woocommerce-form-login__submit,
body.cebes-account-login-v2 .woocommerce-Button{width:100%!important;min-height:54px!important;border:0!important;border-radius:11px!important;background:#d5ad63!important;color:#071d31!important;font-size:16px!important;font-weight:650!important;margin:16px 0 10px!important}
body.cebes-account-login-v2 .woocommerce-LostPassword{margin:12px 0 0!important;text-align:right}
body.cebes-account-login-v2 .woocommerce-LostPassword a{color:#7d5c22!important;font-weight:600}
body.cebes-account-login-v2 .woocommerce-form-login__rememberme{font-size:14px!important;color:#53636f}
body.cebes-account-login-v2 [class*="captcha" i]{max-width:100%!important}

/* ---------- Tutor LMS dashboard ---------- */
body.cebes-tutor-dashboard-v2{background:#f5f6f6}
body.cebes-tutor-dashboard-v2 .tutor-dashboard{max-width:1280px!important;margin:0 auto!important;padding:50px 24px 82px!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-header{background:#fff;border:1px solid #e2e5e6;border-radius:20px;padding:24px!important;margin-bottom:24px!important;box-shadow:0 12px 32px rgba(7,29,49,.04)}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-left-menu{background:#071d31!important;border-radius:18px!important;padding:12px!important;overflow:hidden}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-permalinks{padding:0!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item{margin:4px 0!important;border-radius:10px!important;overflow:hidden}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item a{min-height:48px!important;padding:12px 14px!important;color:rgba(255,255,255,.78)!important;border-radius:10px!important;font-size:15px!important;font-weight:540!important;transition:background .2s ease,color .2s ease!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item.active a,
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item a.tutor-dashboard-menu-item-link.is-active{background:#d5ad63!important;color:#071d31!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item-icon{color:#d5ad63!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item.active .tutor-dashboard-menu-item-icon{color:#071d31!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content{padding-left:34px!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content h3,
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content h4{color:#071d31!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-info-cards{gap:18px!important}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-info-card,
body.cebes-tutor-dashboard-v2 .tutor-card{border:1px solid #e0e4e6!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(7,29,49,.045)!important}
body.cebes-tutor-dashboard-v2 .tutor-ratings,
body.cebes-tutor-dashboard-v2 .tutor-course-ratings{display:none!important}
body.cebes-tutor-dashboard-v2 .tutor-progress-bar{background:#e4e7e8!important;border-radius:999px!important;overflow:hidden!important}
body.cebes-tutor-dashboard-v2 .tutor-progress-value{background:#d5ad63!important}
body.cebes-tutor-dashboard-v2 .tutor-btn-primary{background:#071d31!important;border-color:#071d31!important;color:#fff!important;border-radius:10px!important}
body.cebes-tutor-dashboard-v2 .tutor-btn-primary:hover{background:#0b2b47!important;border-color:#0b2b47!important}

/* Woo orders from the dashboard link */
body.cebes-account-v2 .woocommerce-MyAccount-navigation ul{border-radius:16px;overflow:hidden;border:1px solid #e2dbcf}
body.cebes-account-v2 .woocommerce-MyAccount-navigation a{padding:12px 15px!important;color:#173045!important}
body.cebes-account-v2 .woocommerce-MyAccount-content{background:#fff;border:1px solid #e2dbcf;border-radius:18px;padding:26px!important}

@media(max-width:900px){
  body.cebes-order-received-v2 .woocommerce-order-overview{grid-template-columns:1fr 1fr}
  body.cebes-order-received-v2 .woocommerce-order-overview li:nth-child(2){border-right:0!important}
  body.cebes-order-received-v2 .woocommerce-order-overview li{border-bottom:1px solid #ece5d9!important}
  .cebes-invoice-fields{grid-template-columns:1fr}
  body.cebes-tutor-dashboard-v2 .tutor-dashboard{padding-inline:16px!important}
  body.cebes-tutor-dashboard-v2 .tutor-dashboard-content{padding-left:0!important;margin-top:22px!important}
}
@media(max-width:620px){
  body.cebes-order-received-v2 .woocommerce{padding:30px 14px 68px!important}
  body.cebes-order-received-v2 .woocommerce-order-overview{grid-template-columns:1fr}
  body.cebes-order-received-v2 .woocommerce-order-overview li{border-right:0!important}
  .cebes-thankyou-actions{display:grid}
  .cebes-thankyou-actions .cebes-btn,.cebes-btn-outline{width:100%}
  .cebes-thankyou-checks{display:grid;gap:8px}
  .cebes-invoice-request{padding:22px 18px}
  body.cebes-account-v2 .ast-container{width:min(100% - 24px,1180px)!important}
  body.cebes-account-login-v2 form.woocommerce-form-login,
  body.cebes-account-login-v2 form.woocommerce-ResetPassword{padding:22px!important}
  body.cebes-tutor-dashboard-v2 .tutor-dashboard{padding:26px 12px 64px!important}
}
body.cebes-order-received-v2 .woocommerce-thankyou-order-received:empty{display:none!important}
/* Login nativo de Tutor LMS (página /escritorio/ sin sesión) */
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-page-wrap{background:#f7f4ee!important;padding:54px 16px 78px!important;min-height:70vh}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-login-wrap{width:min(620px,100%)!important;margin:0 auto!important;border:1px solid #e2dbcf!important;border-radius:22px!important;background:#fff!important;box-shadow:0 20px 52px rgba(7,29,49,.08)!important;padding:0!important;overflow:hidden!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-login-form-wrapper{padding:32px!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-login-form-wrapper>.tutor-h3,
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-login-form-wrapper>.tutor-fs-4{font-size:28px!important;line-height:1.2!important;color:#071d31!important;margin-bottom:24px!important;font-weight:650!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-form-control{min-height:54px!important;border:1px solid #d8d6d0!important;border-radius:11px!important;background:#fcfbf8!important;font-size:16px!important;box-shadow:none!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-form-control:focus{border-color:#d5ad63!important;box-shadow:0 0 0 3px rgba(213,173,99,.16)!important;background:#fff!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-btn-primary{width:100%!important;min-height:54px!important;background:#d5ad63!important;border-color:#d5ad63!important;color:#071d31!important;font-size:16px!important;font-weight:650!important;border-radius:11px!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-btn-primary:hover{background:#e3c47e!important;border-color:#e3c47e!important}
body.cebes-tutor-dashboard-v2:not(.logged-in) .tutor-login-form-wrapper [class*="captcha" i]{max-width:100%!important;overflow:hidden!important}

/* ---------- Pedidos y facturación CEBES dentro de Tutor ---------- */
.cebes-dashboard-orders{max-width:920px}
.cebes-dashboard-orders-head{margin-bottom:22px}.cebes-dashboard-orders-head .cebes-kicker{margin:0 0 6px;color:#a67d31;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cebes-dashboard-orders-head h2{margin:0 0 8px!important;font-size:30px!important;line-height:1.15!important;color:#071d31!important}.cebes-dashboard-orders-head p:last-child{margin:0;color:#60717d;line-height:1.6}
.cebes-orders-alert{margin:0 0 18px;padding:13px 16px;border:1px solid #cfe2d2;border-radius:12px;background:#eef8ef;color:#245e32;font-weight:600}
.cebes-orders-list{display:grid;gap:18px}.cebes-order-card{background:#fff;border:1px solid #e0e4e6;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(7,29,49,.045)}
.cebes-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #ece5d9}.cebes-order-card-head h3{margin:2px 0 0!important;font-size:21px!important}.cebes-order-label{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#a67d31}
.cebes-order-status{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#eef1f3;color:#405461;font-size:13px;font-weight:650}.cebes-order-status-completed,.cebes-order-status-processing{background:#e8f4ea;color:#245e32}.cebes-order-status-on-hold,.cebes-order-status-pending{background:#fff3d9;color:#78570f}
.cebes-order-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #ece5d9}.cebes-order-meta>div{padding:16px 20px;border-right:1px solid #ece5d9}.cebes-order-meta>div:last-child{border-right:0}.cebes-order-meta span{display:block;margin-bottom:4px;color:#6b7a84;font-size:12px}.cebes-order-meta strong{display:block;color:#071d31;font-size:15px;line-height:1.35}
.cebes-order-products{padding:6px 20px}.cebes-order-product-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #f0ece5}.cebes-order-product-row:last-child{border-bottom:0}.cebes-order-product-row strong{display:block;color:#071d31}.cebes-order-product-row div span{display:block;margin-top:4px;color:#71808a;font-size:13px}
.cebes-order-note{margin:4px 20px 20px;padding:13px 15px;border-radius:11px;background:#fff8e9;color:#6e5317;font-size:14px;line-height:1.5}.cebes-order-actions{display:flex;flex-wrap:wrap;gap:10px;padding:4px 20px 20px}.cebes-order-actions .cebes-btn{min-height:44px;padding:0 16px;font-size:14px;text-decoration:none!important}
.cebes-order-card .cebes-invoice-request{margin:0;border-width:1px 0 0;border-radius:0;box-shadow:none;background:#fffaf1}.cebes-orders-empty{background:#fff;border:1px solid #e0e4e6;border-radius:18px;padding:28px}.cebes-orders-empty h3{margin-top:0!important}
body.cebes-tutor-dashboard-v2 a.cebes-continue-program{background:#071d31!important;border-color:#071d31!important;color:#fff!important;text-decoration:none!important;text-align:center!important;border-radius:10px!important}
body.cebes-tutor-dashboard-v2 a.cebes-continue-program:hover{background:#0b2b47!important;border-color:#0b2b47!important;color:#fff!important}
@media(max-width:720px){.cebes-order-meta{grid-template-columns:1fr}.cebes-order-meta>div{border-right:0;border-bottom:1px solid #ece5d9}.cebes-order-meta>div:last-child{border-bottom:0}.cebes-order-product-row{display:grid}.cebes-order-actions{display:grid}.cebes-order-actions .cebes-btn{width:100%}}

/* ---------- 0.15: pulido de programas y páginas cortas ---------- */
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .cebes-dashboard-continue,
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content a.cebes-dashboard-continue{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  padding:10px 16px!important;
  border:1px solid #071d31!important;
  border-radius:10px!important;
  background:#071d31!important;
  color:#fff!important;
  font-weight:650!important;
  line-height:1.25!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .cebes-dashboard-continue:hover{
  background:#0b2b47!important;
  border-color:#0b2b47!important;
  color:#fff!important;
}
body.cebes-tutor-dashboard-v2 .tutor-course-card,
body.cebes-tutor-dashboard-v2 .tutor-card{
  border-radius:16px!important;
  overflow:hidden!important;
  border-color:#e0e4e6!important;
  box-shadow:0 10px 28px rgba(7,29,49,.045)!important;
}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .tutor-course-card .tutor-card-body,
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .tutor-card .tutor-card-body{
  padding:18px!important;
}
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .tutor-course-card img,
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .tutor-card img{
  aspect-ratio:16/9!important;
  object-fit:cover!important;
}
body.cebes-account-v2 #page,
body.cebes-order-received-v2 #page{
  min-height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
}
body.cebes-account-v2 #content,
body.cebes-account-v2 .site-content,
body.cebes-order-received-v2 #content,
body.cebes-order-received-v2 .site-content{
  flex:1 0 auto!important;
}
body.cebes-account-v2 footer,
body.cebes-account-v2 .site-footer,
body.cebes-order-received-v2 footer,
body.cebes-order-received-v2 .site-footer{
  margin-top:auto!important;
}

/* ---------- 0.15.1: descubrimiento de nuevos programas ---------- */
.cebes-dashboard-discover{margin:36px 0 0;padding-top:28px;border-top:1px solid #dfe4e7}
.cebes-dashboard-discover-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.cebes-dashboard-discover-head .cebes-kicker{margin:0 0 6px;color:#a67d31;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cebes-dashboard-discover-head h2{margin:0 0 7px!important;color:#071d31!important;font-size:28px!important;line-height:1.15!important}
.cebes-dashboard-discover-head p:last-child{margin:0;color:#60717d;line-height:1.55}
.cebes-dashboard-discover-all{color:#7c5b20!important;text-decoration:none!important;font-weight:650;white-space:nowrap}
.cebes-dashboard-discover-all:hover{color:#071d31!important}
.cebes-dashboard-discover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cebes-dashboard-discover-card{display:grid;grid-template-columns:160px minmax(0,1fr);background:#fff;border:1px solid #e0e4e6;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(7,29,49,.045)}
.cebes-dashboard-discover-media{display:block;min-height:150px;background:#e8ecee}
.cebes-dashboard-discover-media img{width:100%;height:100%;object-fit:cover;display:block}
.cebes-dashboard-discover-body{padding:18px;display:flex;flex-direction:column;align-items:flex-start}
.cebes-dashboard-discover-type{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#a67d31;font-weight:700}
.cebes-dashboard-discover-body h3{margin:6px 0 10px!important;font-size:18px!important;line-height:1.25!important}
.cebes-dashboard-discover-body h3 a{color:#071d31!important;text-decoration:none!important}
.cebes-dashboard-discover-price{margin-top:auto;margin-bottom:12px;color:#071d31;font-weight:650}
.cebes-dashboard-discover-price del{color:#8b969d;font-weight:400;margin-right:6px}.cebes-dashboard-discover-price ins{text-decoration:none}
.cebes-dashboard-discover-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:9px;background:#071d31;color:#fff!important;text-decoration:none!important;font-weight:620}
.cebes-dashboard-discover-cta:hover{background:#0b2b47;color:#fff!important}
@media(max-width:900px){.cebes-dashboard-discover-grid{grid-template-columns:1fr}.cebes-dashboard-discover-head{align-items:flex-start;flex-direction:column}.cebes-dashboard-discover-card{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:560px){.cebes-dashboard-discover{margin-top:28px}.cebes-dashboard-discover-card{grid-template-columns:1fr}.cebes-dashboard-discover-media{aspect-ratio:16/9;min-height:0}.cebes-dashboard-discover-head h2{font-size:24px!important}}

/* ---------- 0.15.2: dashboard CEBES como hub del alumno ---------- */
.cebes-dashboard-hub{margin-top:34px}
.cebes-dashboard-promo{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 26px;padding:22px 24px;border:1px solid #dfc88f;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#f7efe0);box-shadow:0 10px 28px rgba(7,29,49,.04)}
.cebes-dashboard-promo .cebes-kicker{margin:0 0 5px;color:#a67d31;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cebes-dashboard-promo h2{margin:0 0 6px!important;color:#071d31!important;font-size:24px!important;line-height:1.15!important}
.cebes-dashboard-promo p:last-child{margin:0;color:#526775;line-height:1.55}
.cebes-dashboard-resources{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;margin-top:28px}
.cebes-dashboard-library-card,.cebes-dashboard-news-card{background:#fff;border:1px solid #e0e4e6;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(7,29,49,.045)}
.cebes-dashboard-library-card{display:grid;grid-template-columns:220px minmax(0,1fr)}
.cebes-dashboard-library-media{min-height:210px;background:#ece8df}.cebes-dashboard-library-media img{width:100%;height:100%;object-fit:cover;display:block}
.cebes-dashboard-library-copy{padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.cebes-dashboard-library-copy .cebes-kicker,.cebes-dashboard-news-card .cebes-kicker{margin:0 0 6px;color:#a67d31;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cebes-dashboard-library-copy h2,.cebes-dashboard-news-card h2{margin:0 0 8px!important;color:#071d31!important;font-size:24px!important;line-height:1.15!important}.cebes-dashboard-library-copy p{margin:0 0 16px;color:#60717d;line-height:1.55}
.cebes-dashboard-news-card{padding:22px}.cebes-dashboard-news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.cebes-dashboard-news-head a{color:#7c5b20!important;text-decoration:none!important;font-weight:650;white-space:nowrap}
.cebes-dashboard-news-list{display:grid}.cebes-dashboard-news-list a{display:grid;gap:3px;padding:13px 0;border-top:1px solid #eceff0;text-decoration:none!important}.cebes-dashboard-news-list span{font-size:11px;color:#7c8991;text-transform:uppercase;letter-spacing:.04em}.cebes-dashboard-news-list strong{color:#071d31;font-size:15px;line-height:1.35}

/* Biblioteca y tienda dentro del dashboard */
.cebes-dashboard-library-store{max-width:980px}.cebes-library-feature-card{display:grid;grid-template-columns:300px minmax(0,1fr);margin:0 0 28px;border:1px solid #e0e4e6;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(7,29,49,.045)}
.cebes-library-feature-media{min-height:250px;background:#ece8df}.cebes-library-feature-media img{width:100%;height:100%;object-fit:cover;display:block}.cebes-library-feature-copy{padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.cebes-library-feature-copy h3{margin:0 0 10px!important;font-size:27px!important;color:#071d31!important}.cebes-library-feature-copy p{color:#60717d;line-height:1.6}.cebes-dashboard-store-head{margin:0 0 15px}.cebes-dashboard-store-head h3{margin:0!important;font-size:24px!important}.cebes-dashboard-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cebes-dashboard-store-card{border:1px solid #e0e4e6;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(7,29,49,.04)}.cebes-dashboard-store-media{display:block;aspect-ratio:4/3;background:#eef0ef}.cebes-dashboard-store-media img{width:100%;height:100%;object-fit:cover;display:block}.cebes-dashboard-store-body{padding:16px}.cebes-dashboard-store-body h4{margin:0 0 9px!important;font-size:17px!important;line-height:1.3!important}.cebes-dashboard-store-body h4 a{color:#071d31!important;text-decoration:none!important}.cebes-dashboard-store-price{margin:0 0 12px;color:#071d31;font-weight:650}.cebes-dashboard-store-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:9px;background:#071d31;color:#fff!important;text-decoration:none!important;font-weight:620}.cebes-store-empty{padding:22px;border:1px dashed #cfd6d9;border-radius:14px;background:#f9faf9;color:#526775}.cebes-store-empty strong{display:block;color:#071d31;margin-bottom:5px}

/* Pedidos: transparencia de cupones y facturación */
.cebes-order-totals{display:grid;padding:8px 20px 14px;border-top:1px solid #f0ece5;background:#fcfbf8}.cebes-order-totals>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;color:#536773}.cebes-order-totals strong{color:#071d31}.cebes-order-totals .cebes-order-discount strong{color:#7b5b20}.cebes-order-totals .cebes-order-total-final{margin-top:3px;padding-top:11px;border-top:1px solid #e7dfd2;font-weight:700}.cebes-order-invoice-unavailable{margin:0;padding:20px;border-top:1px solid #e7dfd2;background:#fffaf1}.cebes-order-invoice-unavailable .cebes-kicker{margin:0 0 5px;color:#a67d31;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.cebes-order-invoice-unavailable h4{margin:0 0 6px!important;font-size:18px!important;color:#071d31!important}.cebes-order-invoice-unavailable p:last-child{margin:0;color:#60717d;line-height:1.55}

@media(max-width:980px){.cebes-dashboard-resources{grid-template-columns:1fr}.cebes-dashboard-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.cebes-dashboard-promo{align-items:flex-start;flex-direction:column}.cebes-dashboard-promo .cebes-btn{width:100%}.cebes-dashboard-library-card,.cebes-library-feature-card{grid-template-columns:1fr}.cebes-dashboard-library-media{aspect-ratio:16/9;min-height:0}.cebes-library-feature-media{aspect-ratio:16/9;min-height:0}.cebes-dashboard-store-grid{grid-template-columns:1fr}.cebes-dashboard-news-head{align-items:flex-start;flex-direction:column}.cebes-dashboard-orders-head h2{font-size:26px!important}}
@media(max-width:620px){body.cebes-tutor-dashboard-v2 .tutor-dashboard-left-menu{width:100%!important;max-width:100%!important}body.cebes-tutor-dashboard-v2 .tutor-dashboard-menu-item a{min-height:44px!important;font-size:14px!important}.cebes-dashboard-library-copy,.cebes-library-feature-copy{padding:22px}.cebes-dashboard-promo{padding:19px}.cebes-order-totals{padding-inline:16px}}

/* ---------- 0.15.3: perfil unificado + blog dentro del dashboard ---------- */
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .cebes-dashboard-blog{max-width:1040px}
.cebes-dashboard-blog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:22px}
.cebes-dashboard-blog-head .cebes-kicker{margin:0 0 6px;color:#a67d31;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cebes-dashboard-blog-head h2{margin:0 0 7px!important;color:#071d31!important;font-size:30px!important;line-height:1.1!important}
.cebes-dashboard-blog-head p{margin:0;color:#60717d;line-height:1.55;max-width:680px}
.cebes-dashboard-blog-all{color:#7c5b20!important;text-decoration:none!important;font-weight:650;white-space:nowrap}
.cebes-dashboard-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cebes-dashboard-blog-card{display:grid;grid-template-columns:170px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid #e0e4e6;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(7,29,49,.045)}
.cebes-dashboard-blog-card.is-featured{grid-column:1/-1;grid-template-columns:minmax(300px,.95fr) minmax(0,1.05fr)}
.cebes-dashboard-blog-media{display:block;min-height:180px;background:#e8ecee;overflow:hidden}
.cebes-dashboard-blog-card.is-featured .cebes-dashboard-blog-media{min-height:280px}
.cebes-dashboard-blog-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.cebes-dashboard-blog-card:hover .cebes-dashboard-blog-media img{transform:scale(1.025)}
.cebes-dashboard-blog-body{padding:20px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.cebes-dashboard-blog-date{font-size:11px;color:#8a969e;text-transform:uppercase;letter-spacing:.05em}
.cebes-dashboard-blog-body h3{margin:7px 0 8px!important;font-size:19px!important;line-height:1.25!important}
.cebes-dashboard-blog-card.is-featured .cebes-dashboard-blog-body h3{font-size:27px!important}
.cebes-dashboard-blog-body h3 a{color:#071d31!important;text-decoration:none!important}
.cebes-dashboard-blog-body p{margin:0 0 16px;color:#60717d;line-height:1.55;font-size:14px}
.cebes-dashboard-blog-cta{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:9px;background:#071d31;color:#fff!important;text-decoration:none!important;font-weight:620}
.cebes-dashboard-blog-cta:hover{background:#0b2b47;color:#fff!important}
/* Tutor llama internamente “settings” a la pantalla editable; CEBES la presenta como el único Mi perfil. */
body.cebes-tutor-dashboard-v2 .tutor-dashboard-content .tutor-dashboard-setting-header{color:#071d31!important}
@media(max-width:900px){.cebes-dashboard-blog-grid{grid-template-columns:1fr}.cebes-dashboard-blog-card,.cebes-dashboard-blog-card.is-featured{grid-column:auto;grid-template-columns:180px minmax(0,1fr)}.cebes-dashboard-blog-card.is-featured .cebes-dashboard-blog-media{min-height:200px}.cebes-dashboard-blog-card.is-featured .cebes-dashboard-blog-body h3{font-size:21px!important}.cebes-dashboard-blog-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.cebes-dashboard-blog-card,.cebes-dashboard-blog-card.is-featured{grid-template-columns:1fr}.cebes-dashboard-blog-media,.cebes-dashboard-blog-card.is-featured .cebes-dashboard-blog-media{aspect-ratio:16/9;min-height:0}.cebes-dashboard-blog-body{padding:18px}.cebes-dashboard-blog-head h2{font-size:26px!important}}


/* ---------- 0.15.4: navegación limpia + biblioteca/blog compactos ---------- */
body.cebes-account-v2 .cebes-utility-bar,
body.cebes-tutor-dashboard-v2 .cebes-utility-bar{display:none!important}
body.cebes-account-v2 .cebes-header,
body.cebes-tutor-dashboard-v2 .cebes-header{top:0!important}
body.admin-bar.cebes-account-v2 .cebes-header,
body.admin-bar.cebes-tutor-dashboard-v2 .cebes-header{top:32px!important}
body.cebes-tutor-dashboard-v2 .cebes-menu-blog .tutor-dashboard-menu-item-icon::before{content:"✎"!important;font-family:Arial,sans-serif!important;font-size:19px!important;font-weight:700!important;line-height:1!important}
body.cebes-tutor-dashboard-v2 .cebes-menu-blog .tutor-dashboard-menu-item-icon{color:#d5ad63!important}
body.cebes-tutor-dashboard-v2 .cebes-menu-blog.active .tutor-dashboard-menu-item-icon{color:#071d31!important}
.cebes-dashboard-store-more{margin:15px 0 0;text-align:right}.cebes-dashboard-store-more a{color:#7c5b20!important;font-weight:650;text-decoration:none!important}
/* Dentro del dashboard mostramos sólo tres lecturas: una destacada + dos compactas equilibradas. */
.cebes-dashboard-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
.cebes-dashboard-blog-card:not(.is-featured){display:flex!important;flex-direction:column!important;min-height:0!important}
.cebes-dashboard-blog-card:not(.is-featured) .cebes-dashboard-blog-media{width:100%!important;min-height:0!important;aspect-ratio:16/8.5!important}
.cebes-dashboard-blog-card:not(.is-featured) .cebes-dashboard-blog-body{flex:1!important;min-height:220px!important}
.cebes-dashboard-blog-card:not(.is-featured) .cebes-dashboard-blog-body h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.cebes-dashboard-blog-card:not(.is-featured) .cebes-dashboard-blog-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:782px){body.admin-bar.cebes-account-v2 .cebes-header,body.admin-bar.cebes-tutor-dashboard-v2 .cebes-header{top:46px!important}}
@media(max-width:700px){.cebes-dashboard-blog-grid{grid-template-columns:1fr!important}.cebes-dashboard-blog-card:not(.is-featured) .cebes-dashboard-blog-body{min-height:0!important}}

/* ---------- 0.15.5: dashboard móvil CEBES + sin Bundles ---------- */
body.cebes-tutor-dashboard-v2 .cebes-bundle-option-hidden,
body.cebes-tutor-dashboard-v2 .cebes-program-type-only{display:none!important}

/* Refuerzo del menú principal CEBES en dashboard: evita texto claro sobre fondo claro. */
@media(max-width:1080px){
  body.cebes-tutor-dashboard-v2 .cebes-nav,
  body.cebes-account-v2 .cebes-nav{background:#071d31!important;border:1px solid rgba(255,255,255,.13)!important;color:#fff!important}
  body.cebes-tutor-dashboard-v2 .cebes-nav a,
  body.cebes-account-v2 .cebes-nav a{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.15)!important}
  body.cebes-tutor-dashboard-v2 .cebes-nav a:hover,
  body.cebes-account-v2 .cebes-nav a:hover{background:rgba(255,255,255,.07)!important;color:#d5ad63!important}
}

.cebes-mobile-dashboard-nav,
.cebes-dashboard-menu-overlay{display:none}
.cebes-hide-native-mobile-nav{display:none!important}

@media(max-width:820px){
  body.cebes-tutor-dashboard-v2{padding-bottom:88px!important}
  body.cebes-tutor-dashboard-v2 .tutor-dashboard{padding:28px 16px 104px!important}
  body.cebes-tutor-dashboard-v2 .tutor-dashboard-content{padding-left:0!important;width:100%!important;min-width:0!important}
  body.cebes-tutor-dashboard-v2 .tutor-dashboard-header{margin-bottom:22px!important}

  /* Sidebar como drawer CEBES; ya no empuja el contenido ni aparece perdido arriba. */
  body.cebes-tutor-dashboard-v2 .cebes-dashboard-sidebar{
    display:block!important;position:fixed!important;left:14px!important;right:14px!important;bottom:92px!important;top:auto!important;
    width:auto!important;max-width:none!important;max-height:calc(100vh - 132px)!important;overflow:auto!important;
    z-index:10052!important;margin:0!important;padding:14px!important;border-radius:18px!important;
    background:#071d31!important;box-shadow:0 22px 65px rgba(3,20,34,.38)!important;
    transform:translateY(calc(100% + 130px))!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    transition:transform .24s ease,opacity .2s ease,visibility .2s ease!important;
  }
  body.cebes-tutor-dashboard-v2.cebes-dashboard-menu-open .cebes-dashboard-sidebar{
    transform:translateY(0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
  body.cebes-tutor-dashboard-v2 .cebes-dashboard-sidebar .tutor-dashboard-menu-item a{font-size:15px!important;min-height:48px!important}

  .cebes-dashboard-menu-overlay{
    position:fixed;inset:0;z-index:10050;border:0;padding:0;background:rgba(4,21,34,.36);backdrop-filter:blur(2px);cursor:pointer;
  }
  body.cebes-dashboard-menu-open .cebes-dashboard-menu-overlay{display:block}

  .cebes-mobile-dashboard-nav{
    position:fixed;left:12px;right:12px;bottom:10px;z-index:10060;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;
    padding:7px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:#071d31;
    box-shadow:0 16px 42px rgba(7,29,49,.30)
  }
  .cebes-mobile-dashboard-link{
    appearance:none;border:0;min-width:0;min-height:58px;padding:7px 5px;border-radius:12px;background:transparent;color:#fff!important;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;text-decoration:none!important;
    font-family:inherit;font-size:12px;font-weight:620;line-height:1.15;cursor:pointer
  }
  .cebes-mobile-dashboard-link:hover,.cebes-mobile-dashboard-link:focus-visible{background:rgba(255,255,255,.08);color:#fff!important;outline:none}
  .cebes-mobile-dashboard-link[aria-expanded="true"]{background:#d5ad63;color:#071d31!important}
  .cebes-mobile-dashboard-icon{color:#d5ad63;font-size:19px;line-height:1}
  .cebes-mobile-dashboard-link[aria-expanded="true"] .cebes-mobile-dashboard-icon{color:#071d31}

  /* El dashboard nativo de Tutor puede añadir una barra móvil propia. Si JS la identifica se oculta. */
  body.cebes-tutor-dashboard-v2 .cebes-hide-native-mobile-nav{display:none!important}
}

/* ---------- 0.15.6: navegación móvil legible + etiqueta de notificaciones ---------- */
body.cebes-tutor-dashboard-v2 .cebes-notification-trigger{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  width:auto!important;min-width:0!important;max-width:100%!important;padding:8px 12px!important;border-radius:999px!important;
  color:#27435a!important;text-decoration:none!important;white-space:nowrap!important
}
body.cebes-tutor-dashboard-v2 .cebes-notification-label{display:inline-block!important;font-size:13px!important;font-weight:650!important;line-height:1.1!important;color:#27435a!important}

@media(max-width:820px){
  /* Siempre usamos la navegación CEBES, no la barra gris nativa de Tutor. */
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-nav{
    display:grid!important;grid-template-columns:.82fr 1.08fr 1.1fr!important;left:10px!important;right:10px!important;bottom:10px!important;
    padding:7px!important;background:#071d31!important;border:1px solid rgba(213,173,99,.34)!important
  }
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-link{color:#fff!important;background:transparent!important;font-size:11.5px!important}
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-link > span:last-child{color:inherit!important}
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-link:hover,
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-link:focus-visible{background:#123957!important;color:#fff!important}
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-link[aria-expanded="true"]{background:#d5ad63!important;color:#071d31!important}
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-icon{color:#d5ad63!important}
  body.cebes-tutor-dashboard-v2 .cebes-mobile-dashboard-link[aria-expanded="true"] .cebes-mobile-dashboard-icon{color:#071d31!important}

  body.cebes-tutor-dashboard-v2 .cebes-dashboard-sidebar{
    left:12px!important;right:12px!important;bottom:92px!important;padding:14px!important;background:#071d31!important;border:1px solid rgba(213,173,99,.24)!important
  }
  body.cebes-tutor-dashboard-v2 .cebes-dashboard-sidebar .tutor-dashboard-menu-item a{color:#fff!important;background:transparent!important}
  body.cebes-tutor-dashboard-v2 .cebes-dashboard-sidebar .tutor-dashboard-menu-item.active a,
  body.cebes-tutor-dashboard-v2 .cebes-dashboard-sidebar .tutor-dashboard-menu-item a:hover{background:#d5ad63!important;color:#071d31!important}

  body.cebes-tutor-dashboard-v2 .cebes-notification-trigger{padding:7px 10px!important;gap:6px!important}
  body.cebes-tutor-dashboard-v2 .cebes-notification-label{font-size:12px!important}
}


/* ---------- 0.15.7: notificaciones visibles y accesibles ---------- */
body.cebes-tutor-dashboard-v2 .cebes-notification-trigger{
  overflow:visible!important;flex-wrap:nowrap!important;position:relative!important
}
body.cebes-tutor-dashboard-v2 .cebes-notification-trigger .cebes-notification-label{
  display:inline-flex!important;align-items:center!important;visibility:visible!important;opacity:1!important;
  width:auto!important;height:auto!important;max-width:none!important;overflow:visible!important;white-space:nowrap!important;
  margin:0!important;padding:0!important;pointer-events:none!important;color:#27435a!important
}
@media(max-width:820px){
  body.cebes-tutor-dashboard-v2 .cebes-notification-trigger .cebes-notification-label{
    font-size:12px!important;line-height:1!important
  }
}


/* ---------- 0.15.10: notificaciones CEBES visibles aunque Tutor use un botón de ancho fijo ---------- */
body.cebes-tutor-dashboard-v2 .cebes-notification-host{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;overflow:visible!important}
body.cebes-tutor-dashboard-v2 .cebes-notification-label-outside{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:6px 10px!important;border-radius:999px!important;background:#eef3ff!important;color:#27435a!important;font-size:13px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
body.cebes-tutor-dashboard-v2 .cebes-notification-helper{width:fit-content!important;max-width:calc(100% - 48px)!important;margin:8px 24px 18px auto!important;padding:8px 12px!important;border:1px solid #e2c273!important;border-radius:12px!important;background:#fff5d9!important;color:#6a4b10!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;font-size:12.5px!important;font-weight:600!important;line-height:1.35!important;position:relative!important;z-index:3!important;box-shadow:0 6px 18px rgba(7,29,49,.08)!important}
@media(max-width:820px){
  body.cebes-tutor-dashboard-v2 .cebes-notification-label-outside{font-size:11.5px!important;padding:5px 8px!important}
  body.cebes-tutor-dashboard-v2 .cebes-notification-helper{width:fit-content!important;max-width:calc(100% - 32px)!important;margin:8px 16px 16px auto!important;font-size:12px!important}
}


/* ---------- 1.0.7: pedido recibido, datos legibles y sin recortes ---------- */
body.cebes-order-received-v2 .woocommerce-order-overview{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.cebes-order-received-v2 .woocommerce-order-overview li{
  min-width:0!important;
  overflow:hidden!important;
}
body.cebes-order-received-v2 .woocommerce-order-overview strong,
body.cebes-order-received-v2 .woocommerce-order-overview a{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  white-space:normal!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-columns--addresses{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  margin:0!important;
  padding:22px 24px 24px!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--billing-address,
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--shipping-address{
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e9e2d7!important;
  border-radius:14px!important;
  background:#fbfaf7!important;
  overflow:hidden!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column__title{
  margin:0!important;
  padding:18px 20px 0!important;
  border:0!important;
  color:#071d31!important;
  font-size:18px!important;
  line-height:1.3!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details address{
  margin:0!important;
  padding:12px 20px 20px!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details address a{
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
body.cebes-order-received-v2 .woocommerce-bacs-bank-details,
body.cebes-order-received-v2 .wc-bacs-bank-details{
  margin:26px 0!important;
  padding:22px 24px!important;
  border:1px solid #e2dbcf!important;
  border-radius:18px!important;
  background:#fff!important;
}
@media(max-width:860px){
  body.cebes-order-received-v2 .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  body.cebes-order-received-v2 .woocommerce-order-overview{grid-template-columns:1fr!important}
  body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-columns--addresses{grid-template-columns:1fr!important;padding:18px!important}
}

/* ---------- 1.0.8: confirmación de pedido — jerarquía y alineación final ---------- */
/* WooCommerce añade ::before/::after a .col2-set; al convertirlo en grid esos
   pseudo-elementos se vuelven celdas y desplazaban las tarjetas en diagonal. */
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-columns--addresses::after{
  content:none!important;
  display:none!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-columns--addresses{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--billing-address{
  grid-column:1!important;
  grid-row:1!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--shipping-address{
  grid-column:2!important;
  grid-row:1!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--billing-address,
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--shipping-address{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
}
body.cebes-order-received-v2 .woocommerce-customer-details address{
  flex:1 1 auto!important;
}

/* En escritorio, los cinco datos clave caben en una sola línea. El correo recibe
   más espacio para que no salte a una segunda fila sin necesidad. */
@media(min-width:1081px){
  body.cebes-order-received-v2 .woocommerce-order-overview{
    grid-template-columns:1.15fr .95fr 1.65fr .8fr 1.45fr!important;
  }
  body.cebes-order-received-v2 .woocommerce-order-overview li{
    border-bottom:0!important;
  }
}
@media(min-width:681px) and (max-width:1080px){
  body.cebes-order-received-v2 .woocommerce-order-overview{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.cebes-order-received-v2 .woocommerce-order-overview li:nth-child(odd){border-right:1px solid #ece5d9!important}
  body.cebes-order-received-v2 .woocommerce-order-overview li:nth-child(even){border-right:0!important}
  body.cebes-order-received-v2 .woocommerce-order-overview li{border-bottom:1px solid #ece5d9!important}
  body.cebes-order-received-v2 .woocommerce-order-overview li:last-child{border-bottom:0!important}
}
@media(max-width:680px){
  body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--billing-address,
  body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column--shipping-address{
    grid-column:1!important;
    grid-row:auto!important;
  }
}

/* ---------- 1.0.9: confirmación de pedido — resumen respirable y pesos tipográficos ---------- */
/* El bloque superior deja de intentar meter cinco datos en una sola línea. Se
   prioriza legibilidad: pedido, fecha y total arriba; correo y pago abajo. */
body.cebes-order-received-v2 .woocommerce-order-overview{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr)!important;
  grid-template-areas:
    "order date total"
    "email email method"!important;
  gap:0!important;
}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__order{grid-area:order!important}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__date{grid-area:date!important}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__email{grid-area:email!important}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__total{grid-area:total!important}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__payment-method{grid-area:method!important}
body.cebes-order-received-v2 .woocommerce-order-overview li{
  overflow:visible!important;
  min-width:0!important;
  padding:18px 20px!important;
  border-right:1px solid #ece5d9!important;
  border-bottom:1px solid #ece5d9!important;
  font-weight:450!important;
}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__total,
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__payment-method{border-right:0!important}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__email,
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__payment-method{border-bottom:0!important}
body.cebes-order-received-v2 .woocommerce-order-overview strong{
  font-weight:600!important;
  font-size:16px!important;
  line-height:1.38!important;
}
body.cebes-order-received-v2 .woocommerce-order-overview a{
  font-weight:560!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__email strong,
body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__email a{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Jerarquía más amable: títulos con presencia, datos corrientes sin exceso de negrita. */
body.cebes-order-received-v2 .woocommerce-order-details>h2,
body.cebes-order-received-v2 .woocommerce-customer-details>h2,
body.cebes-order-received-v2 .woocommerce-bacs-bank-details h2,
body.cebes-order-received-v2 .wc-bacs-bank-details h2{font-weight:650!important}
body.cebes-order-received-v2 table.woocommerce-table th{font-weight:600!important}
body.cebes-order-received-v2 table.woocommerce-table td{font-weight:450!important}
body.cebes-order-received-v2 table.woocommerce-table tfoot th{font-weight:600!important}
body.cebes-order-received-v2 table.woocommerce-table tfoot td{font-weight:560!important}
body.cebes-order-received-v2 table.woocommerce-table tfoot tr:last-child th,
body.cebes-order-received-v2 table.woocommerce-table tfoot tr:last-child td{font-weight:650!important}
body.cebes-order-received-v2 .woocommerce-customer-details .woocommerce-column__title{font-weight:620!important}
body.cebes-order-received-v2 .woocommerce-customer-details address{font-weight:430!important}
body.cebes-order-received-v2 .woocommerce-bacs-bank-details strong,
body.cebes-order-received-v2 .wc-bacs-bank-details strong{font-weight:600!important}

@media(max-width:900px){
  body.cebes-order-received-v2 .woocommerce-order-overview{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "order date"
      "email email"
      "total method"!important;
  }
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__date,
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__email,
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__payment-method{border-right:0!important}
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__email{border-bottom:1px solid #ece5d9!important}
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__total,
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__payment-method{border-bottom:0!important}
}
@media(max-width:620px){
  body.cebes-order-received-v2 .woocommerce-order-overview{
    grid-template-columns:1fr!important;
    grid-template-areas:"order" "date" "email" "total" "method"!important;
  }
  body.cebes-order-received-v2 .woocommerce-order-overview li{
    border-right:0!important;
    border-bottom:1px solid #ece5d9!important;
  }
  body.cebes-order-received-v2 .woocommerce-order-overview .woocommerce-order-overview__payment-method{border-bottom:0!important}
}

/* CEBES 1.0.10 — valoración de programas completados y avisos en campanita */
body.cebes-tutor-dashboard-v2 .cebes-notification-helper{display:none!important}
body.cebes-tutor-dashboard-v2 .cebes-notification-host{position:relative!important}
body.cebes-tutor-dashboard-v2 .cebes-notification-trigger{position:relative!important;overflow:visible!important}
body.cebes-tutor-dashboard-v2 .cebes-notification-unread{position:absolute!important;top:3px!important;right:3px!important;width:9px!important;height:9px!important;border-radius:50%!important;background:#d93f36!important;border:2px solid #fff!important;box-sizing:content-box!important;z-index:4!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-popover{position:absolute!important;top:calc(100% + 12px)!important;right:0!important;width:min(380px,calc(100vw - 34px))!important;padding:20px 20px 18px!important;border:1px solid #dfc88f!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 48px rgba(7,29,49,.18)!important;color:#243c50!important;text-align:left!important;z-index:10020!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-popover:before{content:""!important;position:absolute!important;top:-7px!important;right:22px!important;width:12px!important;height:12px!important;background:#fff!important;border-left:1px solid #dfc88f!important;border-top:1px solid #dfc88f!important;transform:rotate(45deg)!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-popover .cebes-notice-eyebrow{margin:0 34px 5px 0!important;color:#9a7026!important;font-size:11px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-popover h3{margin:0 34px 8px 0!important;color:#071d31!important;font-size:20px!important;line-height:1.2!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-popover .cebes-notice-copy{margin:0!important;color:#536773!important;font-size:14px!important;line-height:1.55!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-close{position:absolute!important;top:11px!important;right:12px!important;width:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f2f5f7!important;color:#526775!important;font-size:22px!important;line-height:30px!important;cursor:pointer!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin-top:16px!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-primary,body.cebes-tutor-dashboard-v2 .cebes-notice-secondary{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 14px!important;border-radius:9px!important;font-size:13px!important;font-weight:750!important;line-height:1.2!important;text-decoration:none!important;cursor:pointer!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-primary{border:1px solid #071d31!important;background:#071d31!important;color:#fff!important}
body.cebes-tutor-dashboard-v2 .cebes-notice-secondary{border:1px solid #d7dde2!important;background:#fff!important;color:#27435a!important}
body.cebes-tutor-dashboard-v2 .cebes-completed-actions{display:flex!important;flex-direction:column!important;gap:8px!important}
body.cebes-tutor-dashboard-v2 .cebes-completed-actions>.cebes-rating-action,body.cebes-tutor-dashboard-v2 .cebes-completed-actions>.cebes-rating-status{margin-top:8px!important}
body.cebes-tutor-dashboard-v2 .cebes-rating-action,body.cebes-tutor-dashboard-v2 .cebes-rating-status{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;padding:9px 13px!important;border-radius:8px!important;box-sizing:border-box!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important}
body.cebes-tutor-dashboard-v2 .cebes-rating-action{border:1px solid #d2ad69!important;background:#fffaf0!important;color:#071d31!important}
body.cebes-tutor-dashboard-v2 .cebes-rating-action:hover{background:#f6ebd2!important;color:#071d31!important}
body.cebes-tutor-dashboard-v2 .cebes-rating-status{border:1px solid #dbe4df!important;background:#f3f8f5!important;color:#35634b!important}
@media(max-width:620px){body.cebes-tutor-dashboard-v2 .cebes-notice-popover{position:fixed!important;top:auto!important;right:16px!important;bottom:92px!important;left:16px!important;width:auto!important;max-width:none!important}body.cebes-tutor-dashboard-v2 .cebes-notice-popover:before{display:none!important}body.cebes-tutor-dashboard-v2 .cebes-notice-actions{flex-direction:column!important}body.cebes-tutor-dashboard-v2 .cebes-notice-primary,body.cebes-tutor-dashboard-v2 .cebes-notice-secondary{width:100%!important;box-sizing:border-box!important}}
