/* ClassJot Website Core 0.4.2 — precise, three-language visual corrections.
   Keep this stylesheet last so legacy design layers cannot override it. */
body.cjcore-managed-site .cjcore-site-brand img,
body.cjcore-managed-site .cjcore-footer-logo img{
  box-sizing:content-box!important;width:45px!important;height:45px!important;
  padding:0!important;object-fit:contain!important;object-position:center!important;
  image-rendering:auto!important;border:0!important;background:transparent!important;
  border-radius:0!important;filter:none!important;box-shadow:none!important;
}
body.cjcore-managed-site .cjcore-site-brand{gap:11px!important;font-size:1.35rem!important;font-weight:800!important;letter-spacing:-.035em!important}
body.cjcore-managed-site .cjcore-footer-logo img{width:42px!important;height:42px!important}
/* The former update selected classes that did not exist. These selectors match the real Gutenberg blocks. */
body.cjcore-managed-site .cj-site p.cj-feature-icon{
  font-weight:750!important;font-variant-numeric:tabular-nums!important;
  letter-spacing:-.035em!important;color:#3164a8!important;
}
body.cjcore-managed-site .cj-site .cj-steps-grid p.cj-feature-icon{
  font-weight:780!important;letter-spacing:-.025em!important;
}
body.cjcore-managed-site .cj-site p.cj-plan-highlight{
  font-weight:740!important;font-variant-numeric:tabular-nums!important;
  letter-spacing:-.034em!important;color:#253d5b!important;
}
body.cjcore-managed-site .cj-site .cj-pricing :is(.cj-plan-free,.cj-plan-pro){height:100%}
body.cjcore-managed-site .cjsite-page .cjsite-steps :is(h3,.cjsite-step-num){font-weight:730!important}
body.cjcore-managed-site .cjsite-page .cjsite-status{font-weight:710!important}
/* Keep intentionally authored page headings, hide only WordPress/Astra generated page titles. */
body.cjcore-managed-site :is(.entry-header,.ast-single-post-order .entry-title,.ast-single-post-order>.post-thumb,.wp-block-post-title):not(.cjsite-hero-heading){display:none!important}
/* Aligned introductions and predictable whitespace. */
body.cjcore-homepage .cj-site .cj-features>.cj-section-intro,
body.cjcore-homepage .cj-site .cj-features>.cj-section-intro p{margin-inline-start:0;text-align:start}
body.cjcore-managed-site .cj-site .cj-showcase-gallery{overflow:visible}
body.cjcore-managed-site .cj-site .cj-section{padding-block:clamp(35px,4.2vw,57px)!important}
body.cjcore-managed-site .cj-site .cj-hero{padding-block:clamp(32px,4.3vw,56px)!important}
body.cjcore-managed-site .cj-site .cj-section-intro{margin-bottom:23px!important}
/* Deliberately illustrated, app-faithful sample dashboard (fictional data). */
.cjcore-phone-visual{width:min(100%,348px);margin-inline:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;isolation:isolate}
.cjcore-phone{
  box-sizing:border-box!important;width:min(100%,308px);height:543px;
  position:relative;border:10px solid #14253c;border-radius:47px;
  background:#f5f7fb;overflow:hidden;box-shadow:0 27px 52px rgba(16,38,70,.20),0 7px 13px rgba(16,38,70,.09);
  direction:ltr;text-align:left;transform:rotate(-1.5deg);font-family:Inter,system-ui,-apple-system,sans-serif;
}
.cjcore-phone:before{content:"";position:absolute;top:5px;left:50%;transform:translateX(-50%);width:87px;height:18px;border-radius:100px;background:#14253c;z-index:3}
.cjcore-phone-screen{height:100%;padding:0;overflow:hidden;background:#f6f8fc;border-radius:36px}
.cjcore-phone-top{background:#112542;display:flex;align-items:center;gap:8px;padding:28px 18px 14px;color:white}
.cjcore-phone-top img{width:25px;height:25px;object-fit:contain;border-radius:5px;background:white;padding:2px;box-sizing:border-box}
.cjcore-phone-top strong{color:#fff;font-size:13px;font-weight:800;line-height:1}
.cjcore-phone-body{padding:15px 13px 14px;color:#182c46}
.cjcore-phone-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.cjcore-phone-title-row strong{font-size:17px;font-weight:820;letter-spacing:-.035em}
.cjcore-phone-class{border:1px solid #dde5f1;border-radius:9px;background:white;padding:5px 9px;font-size:11px;font-weight:760;color:#274366}
.cjcore-phone-profile{background:#fff;border:1px solid #e6ebf3;border-radius:15px;display:flex;align-items:center;gap:10px;padding:12px;box-shadow:0 3px 10px #1a2a4808}
.cjcore-phone-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e7efff;color:#1764e8;font-weight:800;flex:none;font-size:19px}
.cjcore-phone-profile strong{display:block;color:#192b43;font-size:12px;font-weight:790}
.cjcore-phone-profile small{display:block;color:#73839a;font-size:9px;line-height:1.5}
.cjcore-phone-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.cjcore-phone-metric{background:white;border:1px solid #e6ebf3;border-radius:12px;padding:11px 10px 10px;min-width:0}
.cjcore-phone-metric span{font-size:9px;color:#647891;display:block;line-height:1.28}
.cjcore-phone-metric strong{font-size:22px;line-height:1.35;color:#182c48;font-weight:800;font-variant-numeric:tabular-nums}
.cjcore-phone-panel{background:white;border:1px solid #e6ebf3;border-radius:13px;margin-top:10px;padding:11px 12px}
.cjcore-phone-panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px;margin-bottom:8px}
.cjcore-phone-panel-head strong{font-size:12px;font-weight:780;color:#22364e}
.cjcore-phone-panel-head small{font-size:8px;color:#7c8a9a}
.cjcore-phone-session{display:flex;align-items:center;gap:8px;border-radius:9px;background:#f3f7ff;padding:9px 8px;margin-bottom:6px}
.cjcore-phone-session:last-child{margin-bottom:0}
.cjcore-phone-session-dot{background:#1764e8;flex:none;width:7px;height:7px;border-radius:50%}
.cjcore-phone-session-details{flex:1;min-width:0}
.cjcore-phone-session-details strong{display:block;font-size:10px;color:#203c63;font-weight:760;line-height:1.2}
.cjcore-phone-session-details small{display:block;font-size:9px;color:#687e9c;line-height:1.4}
.cjcore-phone-session-time{font-size:9px;color:#2860b4;font-weight:790;white-space:nowrap}
.cjcore-phone-visual[dir="rtl"] .cjcore-phone{direction:rtl;text-align:right;transform:rotate(1.5deg)}
.cjcore-phone-visual[dir="rtl"] .cjcore-phone-title-row strong{letter-spacing:0}
.cjcore-phone-caption{font-size:11px!important;line-height:1.35;color:#59718e!important;text-align:center;margin:0!important}
/* Do not cut off the bottom of the phone. */
body.cjcore-homepage .cj-site :is(.cj-showcase-hero-visual,.cj-hero-visual,.cj-showcase-phone-column){min-height:0!important;overflow:visible!important}
body.cjcore-homepage .cj-site .cj-hero-columns{align-items:center}
body.cjcore-homepage .cj-site .cj-showcase-hero-visual:has(.cjcore-phone-visual){max-width:unset!important;min-height:0!important}
/* RTL text remains readable while numbers and time ranges do not reverse. */
.cjcore-phone-visual[dir="rtl"] .cjcore-phone-metric strong,
.cjcore-phone-visual[dir="rtl"] .cjcore-phone-session-time{direction:ltr;unicode-bidi:isolate}
@media(max-width:820px){body.cjcore-managed-site .cjcore-site-brand img{width:39px!important;height:39px!important}.cjcore-phone{transform:none;width:286px;height:513px}.cjcore-phone-visual[dir="rtl"] .cjcore-phone{transform:none}}
@media(max-width:420px){body.cjcore-managed-site .cjcore-site-brand img{width:34px!important;height:34px!important}.cjcore-phone{width:264px;height:491px;border-width:9px}.cjcore-phone-body{padding:12px 11px}.cjcore-phone-visual{gap:9px}}
@media(prefers-reduced-motion:reduce){.cjcore-phone{transform:none!important}}
