/* JEB-ACCOUNT-01 — header Sign in / profile dropdown.
 * T727U: Sign In = yellow solid button + black text · orange hover (pin exception).
 * T884/T885/T886/T881: My Account dashboard shell (dark sidebar, hero slot, training, glance, orders).
 * T877U: #111 on yellow/orange fills.
 * Specificity beats no-blue-hover `body.jebbs .jb-header a { color: inherit }` (white on dark header).
 */
.jb-header__in { gap: .75rem; }
.jb-header__actions {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-left: auto;
}
.jb-account { position: relative; }
body.jebbs .jb-header a.jb-account__signin,
body.jebbs .jb-header a.jb-account__signin:link,
body.jebbs .jb-header a.jb-account__signin:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--jb-yellow, #fcba12);
	color: var(--jb-black, #111);
	font: 700 .9rem/1.15 var(--jb-f-head, Oswald, Arial, sans-serif);
	letter-spacing: .04em;
	text-transform: none;
	text-decoration: none;
	padding: .55rem 1.15rem;
	min-height: 2.25rem;
	border: 2px solid var(--jb-yellow, #fcba12);
	border-radius: var(--jb-radius, 4px);
	white-space: nowrap;
}
body.jebbs .jb-header a.jb-account__signin:hover,
body.jebbs .jb-header a.jb-account__signin:focus-visible {
	background: var(--jb-orange-dark, #e85d04);
	border-color: var(--jb-orange-dark, #e85d04);
	color: #111111 !important; /* T877U black on orange */
	outline: none;
}
.jb-account__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--jb-orange-dark, #e85d04);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.jb-account__toggle:hover,
.jb-account__toggle:focus-visible,
.jb-account__toggle[aria-expanded="true"] {
	background: var(--jb-orange-dark, #e85d04);
	outline: none;
}
.jb-account__avatar {
	font-weight: 700;
	font-size: .85rem;
	line-height: 1;
}
.jb-account__menu {
	position: absolute;
	right: 0;
	top: calc(100% + .4rem);
	min-width: 11.5rem;
	background: #111;
	border: 1px solid var(--jb-orange-dark, #e85d04);
	border-radius: var(--jb-radius, 4px);
	padding: .35rem 0;
	z-index: 80;
	box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.jb-account__menu[hidden] { display: none !important; }
.jb-account__list { list-style: none; margin: 0; padding: 0; }
.jb-account__link {
	display: block;
	padding: .55rem .9rem;
	color: #fff;
	text-decoration: none;
	font-size: .9rem;
	font-weight: 600;
}
.jb-account__link:hover,
.jb-account__link:focus-visible {
	color: var(--jb-orange-hi, #ff8533);
	background: rgba(255,107,26,.12);
	outline: none;
}
.jb-account__link--out { border-top: 1px solid rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) {
	.jb-account__menu { transition: none; }
}

/* -------------------------------------------------------------------------
   T723U-S1/S2 leftovers — plugin purchases/downloads face helpers.
   Cloudara owns endpoints (T881: downloads=video · my-purchases=receipts).
   Do NOT add woocommerce/myaccount/my-purchases.php theme override.
   ------------------------------------------------------------------------- */
.jebbs-va-purchases,
.jebbs-va-list,
.woocommerce-MyAccount-content .jebbs-va-purchases {
	display: grid;
	gap: 1.25rem;
}
.jebbs-va-item,
.jebbs-va-card {
	border: 1px solid #e5e5e5;
	border-radius: var(--jb-radius, 4px);
	padding: 1rem 1.1rem;
	background: #fff;
	border-top: 3px solid #e85d04;
}
.jebbs-va-item__title,
.jebbs-va-card__title,
.jebbs-va-title {
	font-family: var(--jb-f-head, Oswald, Arial, sans-serif);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #151515;
	margin: 0 0 0.5rem;
}
.jebbs-va-player,
.jebbs-va-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #151515;
	border-radius: var(--jb-radius, 4px);
	overflow: hidden;
}
/* .jebbs-va-video = plugin wrapper (title + pw + __frame + back), not the frame */
.jebbs-va-video {
	position: relative;
	width: 100%;
	aspect-ratio: auto;
	height: auto;
	overflow: visible;
	background: transparent;
	border-radius: 0;
}
.jebbs-va-player iframe,
.jebbs-va-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.jebbs-va-video__frame iframe,
.jebbs-va-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.jebbs-va-empty,
.jebbs-va-locked {
	padding: 1rem 1.15rem;
	background: #f4f4f2;
	border-left: 4px solid #fcba12;
	color: #151515;
	font-weight: 600;
}
.jebbs-va-cta,
.jebbs-va-buy {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.1rem;
	background: #fcba12;
	border: 2px solid #fcba12;
	color: #111 !important;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--jb-radius, 4px);
}
.jebbs-va-cta:hover,
.jebbs-va-buy:hover {
	background: #ffcd45;
	border-color: #ffcd45;
	color: #111 !important;
}

.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-form-register .woocommerce-form-register__submit {
	background: #fcba12 !important;
	border: 2px solid #fcba12 !important;
	color: #111 !important;
	font-weight: 700;
}
.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-form-register .woocommerce-form-register__submit:hover {
	background: #ffcd45 !important;
	border-color: #ffcd45 !important;
	color: #111 !important;
}

/* =========================================================================
   T884 / T885 / T886 / T881 — My Account dashboard shell
   ========================================================================= */

/* T913U — KEEP site header+footer visible on account (T885 = Manage links only, not site footer).
   Still hide crumbs / FAQ-PAA / actionbar / scroll-top for SoT shell. */
body.jb-account-dash .cse-actionbar,
body.jb-account-dash .cse-totop,
body.jb-account-dash .jb-crumbs,
body.jb-account-dash .jb-faq-paa,
body.jb-account-dash .jb-faq,
body.jb-account-dash #ast-scroll-top {
	display: none !important;
}

body.jb-account-dash #page,
body.jb-account-dash #content,
body.jb-account-dash .site-content,
body.jb-account-dash .ast-container,
body.jb-account-dash .entry-content,
body.jb-account-dash .woocommerce {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.jb-account-dash .entry-header,
body.jb-account-dash .page-header,
body.jb-account-dash .ast-breadcrumbs-wrapper {
	display: none !important;
}

/* Shell layout */
.jb-dash {
	display: flex;
	align-items: stretch;
	min-height: 100vh;
	background: #f4f4f2;
	color: #151515;
	font-family: var(--jb-f-body, Inter, system-ui, sans-serif);
}
.jb-dash__main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.jb-dash__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1.5rem;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}
.jb-dash__back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #151515;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}
.jb-dash__back:hover,
.jb-dash__back:focus-visible {
	color: var(--jb-orange-dark, #e85d04);
	outline: none;
}
.jb-dash__back-arrow { font-size: 1.1rem; line-height: 1; }
.jb-dash__back-ico {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
	object-fit: contain;
}
.jb-dash__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: var(--jb-yellow, #fcba12);
	color: #111;
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
}
.jb-dash__content {
	flex: 1 1 auto;
	padding: 1.5rem 1.75rem 2.5rem;
	background: #f4f4f2;
	border: 0 !important;
	border-radius: 0 !important;
}

/* Dark sidebar */
.jb-dash-nav,
.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav {
	flex: 0 0 16.5rem;
	width: 16.5rem;
	max-width: 100%;
	background: #151515;
	border: 0;
	border-radius: 0;
	padding: 1.25rem 0.85rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.jb-dash-nav__brand {
	padding: 0.35rem 0.65rem 0.85rem;
}
.jb-dash-nav__brand .jb-logo,
.jb-dash-nav__brand .jb-logo img,
.jb-dash-nav__brand .custom-logo-link img {
	display: block;
	max-width: 4.5rem;
	height: auto;
	margin: 0 auto;
}
.jb-dash-nav__heading {
	margin: 0 0 0.65rem;
	padding: 0 0.85rem;
	color: rgba(255, 255, 255, 0.55);
	font: 700 0.72rem/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.jb-dash-nav__list,
.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.jb-dash-nav__list a,
.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 0.85rem;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 999px;
	border-left: 0;
}
.jb-dash-nav__list a:hover,
.jb-dash-nav__list a:focus-visible,
.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav a:focus-visible {
	color: #fff;
	background: rgba(255, 107, 26, 0.16);
	outline: none;
}
/* T919U active = solid white + dark text */
.jb-dash-nav__list .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav .is-active a {
	background: #fff;
	color: #111 !important;
	border-left: 0;
	font-weight: 700;
}
.jb-dash-nav__icon {
	display: inline-flex;
	flex: 0 0 1.25rem;
	width: 1.25rem;
	height: 1.25rem;
	align-items: center;
	justify-content: center;
}
.jb-dash-nav__img {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	object-fit: contain;
}
/* T903 Filewing MATCH — img SoT; kill mu-plugin background-image overlay (no double icons) */
.jb-dash-nav__list .jb-dash-nav__icon:has(.jb-dash-nav__img),
.woocommerce-MyAccount-navigation-link .jb-dash-nav__icon:has(.jb-dash-nav__img),
.jb-dash-nav__icon.jb-dash-nav__icon--so {
	background-image: none !important;
}
.jb-dash-nav__label { flex: 1 1 auto; min-width: 0; }

/* Welcome */
.jb-dash-welcome { margin: 0 0 1.25rem; }
.jb-dash-welcome__title {
	margin: 0 0 0.35rem;
	font: 700 clamp(1.55rem, 1.2rem + 1.2vw, 2rem)/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	text-transform: none;
	letter-spacing: 0.01em;
	color: #151515;
}
.jb-dash-welcome__sub {
	margin: 0;
	color: #555;
	font-size: 1rem;
}

/* Hero banner — T903 Filewing JEBBS_DASH_BANNER_URL (theme fallback only) */
.jb-dash-hero {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	min-height: 11.5rem;
	margin: 0 0 1.5rem;
	background: #1a1a1a;
}
.jb-dash-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	pointer-events: none;
}
.jb-dash-hero__img::after { content: none; }
.jb-dash-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.15) 100%);
	pointer-events: none;
	z-index: 0;
}
.jb-dash-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding: 1.75rem 1.75rem;
	min-height: 11.5rem;
}
.jb-dash-hero__copy {
	margin: 0;
	max-width: 22rem;
	color: #fff;
	font: 700 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.25 var(--jb-f-head, Oswald, Arial, sans-serif);
	text-transform: none;
}
.jb-dash-hero__copy strong {
	color: var(--jb-yellow, #fcba12);
	font-weight: 700;
}
.jb-dash-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1.25rem;
	background: #e85d04;
	border: 2px solid #e85d04;
	border-radius: var(--jb-radius, 4px);
	color: #111 !important; /* T877 */
	font-weight: 800;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
}
.jb-dash-hero__cta-ico {
	display: block;
	width: 0.9rem;
	height: 0.9rem;
	object-fit: contain;
	/* orange pack on orange fill — force charcoal-readable via filter if needed */
	filter: brightness(0);
}
.jb-dash-hero__cta:hover,
.jb-dash-hero__cta:focus-visible {
	background: #fcba12;
	border-color: #fcba12;
	color: #111 !important;
	outline: none;
}

/* Grid: training + aside */
.jb-dash-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.9fr);
	gap: 1.25rem 1.5rem;
	margin: 0 0 1.75rem;
	align-items: start;
}
.jb-dash-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.85rem;
}
.jb-dash-section__title {
	margin: 0;
	font: 700 1.15rem/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #151515;
}
.jb-dash-section__all {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: #e85d04;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
}
.jb-dash-section__all img {
	width: 0.75rem;
	height: 0.75rem;
	object-fit: contain;
}
.jb-dash-section__all:hover,
.jb-dash-section__all:focus-visible {
	color: #111;
	text-decoration: underline;
	outline: none;
}

/* Training cards */
.jb-dash-train__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.jb-dash-train__card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.jb-dash-train__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #2a2a2a;
	overflow: hidden;
}
.jb-dash-train__media img,
.jb-dash-train__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jb-dash-train__ph {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #222 0%, #3a3a3a 100%);
}
.jb-dash-train__body {
	padding: 0.9rem 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1 1 auto;
}
.jb-dash-train__pill {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font: 700 0.68rem/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.jb-dash-train__pill--group {
	background: var(--jb-yellow, #fcba12);
	color: #111;
}
.jb-dash-train__pill--video {
	background: #d9d9d9;
	color: #111;
}
.jb-dash-train__title {
	margin: 0;
	font: 700 1rem/1.25 var(--jb-f-head, Oswald, Arial, sans-serif);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #151515;
}
.jb-dash-train__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin-top: auto;
	padding: 0.65rem 0.9rem;
	background: #e85d04;
	border: 2px solid #e85d04;
	border-radius: var(--jb-radius, 4px);
	color: #111 !important; /* T877 */
	font-weight: 800;
	font-size: 0.88rem;
	text-decoration: none;
	text-align: center;
}
.jb-dash-train__cta img {
	width: 0.75rem;
	height: 0.75rem;
	object-fit: contain;
	filter: brightness(0);
}
.jb-dash-train__cta:hover,
.jb-dash-train__cta:focus-visible {
	background: #fcba12;
	border-color: #fcba12;
	color: #111 !important;
	outline: none;
}

/* Account at a glance + help */
.jb-dash-aside {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.jb-dash-glance,
.jb-dash-help {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 1rem 1.1rem 1.15rem;
}
.jb-dash-glance__list {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.jb-dash-glance__link {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.65rem 0.5rem;
	border-radius: 6px;
	text-decoration: none;
	color: inherit;
}
.jb-dash-glance__link:hover,
.jb-dash-glance__link:focus-visible {
	background: #f4f4f2;
	outline: none;
}
.jb-dash-glance__icon {
	flex: 0 0 2.25rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 6px;
	background: #fff4eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.jb-dash-glance__icon img {
	width: 1.25rem;
	height: 1.25rem;
	object-fit: contain;
}
.jb-dash-glance__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}
.jb-dash-glance__text strong {
	font-size: 0.95rem;
	color: #151515;
}
.jb-dash-glance__text span {
	font-size: 0.82rem;
	color: #666;
}
.jb-dash-help {
	background: #fff8e6;
	border-color: #f0d78c;
}
.jb-dash-help__head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.4rem;
}
.jb-dash-help__ico {
	width: 1.75rem;
	height: 1.75rem;
	object-fit: contain;
}
.jb-dash-help__title {
	margin: 0;
	font: 700 1.05rem/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #151515;
}
.jb-dash-help__copy {
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
	color: #444;
}
.jb-dash-help__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 1rem;
	background: #e85d04;
	border: 2px solid #e85d04;
	border-radius: var(--jb-radius, 4px);
	color: #111 !important;
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
}
.jb-dash-help__cta img {
	width: 0.75rem;
	height: 0.75rem;
	object-fit: contain;
	filter: brightness(0);
}
.jb-dash-help__cta:hover,
.jb-dash-help__cta:focus-visible {
	background: #fcba12;
	border-color: #fcba12;
	color: #111 !important;
	outline: none;
}

/* Recent orders */
.jb-dash-orders {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 1rem 1.15rem 1.25rem;
}
.jb-dash-orders__wrap { overflow-x: auto; }
.jb-dash-orders__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}
.jb-dash-orders__table th {
	text-align: left;
	padding: 0.65rem 0.5rem;
	border-bottom: 2px solid #e5e5e5;
	font: 700 0.75rem/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	letter-spacing: 0.06em;
	color: #666;
}
.jb-dash-orders__table td {
	padding: 0.85rem 0.5rem;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}
.jb-dash-orders__table a {
	color: #151515;
	font-weight: 700;
	text-decoration: none;
}
.jb-dash-orders__table a:hover,
.jb-dash-orders__table a:focus-visible {
	color: #e85d04;
	outline: none;
}
.jb-dash-orders__action {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: #e85d04 !important;
	font-weight: 700;
	white-space: nowrap;
}
.jb-dash-orders__action img {
	width: 0.75rem;
	height: 0.75rem;
	object-fit: contain;
}
.jb-dash-status {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.78rem;
	background: #e8e8e8;
	color: #333;
}
.jb-dash-status--completed {
	background: #d8f5e2;
	color: #146c2e;
}
.jb-dash-status--processing {
	background: #fff3cd;
	color: #7a5b00;
}
.jb-dash-empty {
	margin: 0;
	padding: 1rem;
	background: #fff;
	border: 1px dashed #ccc;
	border-radius: 6px;
	color: #555;
	font-weight: 600;
}

/* Non-dashboard account endpoints keep content card look inside shell */
body.jb-account-dash .jb-dash__content > :not(.jb-dash-home):not(.woocommerce-notices-wrapper) {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 1.25rem 1.35rem;
}
body.jb-account-dash .jb-dash__content .jb-dash-home {
	background: transparent;
	border: 0;
	padding: 0;
}
body.jb-account-dash .woocommerce-MyAccount-content h2,
body.jb-account-dash .woocommerce-MyAccount-content h3 {
	font-family: var(--jb-f-head, Oswald, Arial, sans-serif);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #151515;
}

/* T885: never render a bottom Manage strip if anything injects one */
.jb-dash-home .jb-dash-manage,
.jb-dash-manage-strip,
.woocommerce-MyAccount-content .jb-dash-manage {
	display: none !important;
}

/* Mobile = desk structure (T573): stack sidebar above, keep cards readable */
@media (max-width: 960px) {
	.jb-dash {
		flex-direction: column;
	}
	.jb-dash-nav,
	.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav {
		flex: 0 0 auto;
		width: 100%;
		padding-bottom: 1rem;
	}
	.jb-dash-nav__list,
	.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.35rem;
	}
	.jb-dash-grid {
		grid-template-columns: 1fr;
	}
	.jb-dash-train__grid {
		grid-template-columns: 1fr;
	}
	.jb-dash__content {
		padding: 1.15rem 1rem 2rem;
	}
	.jb-dash-hero__inner {
		padding: 1.35rem 1.15rem;
	}
}

@media (max-width: 560px) {
	.jb-dash-nav__list,
	.woocommerce-account .woocommerce-MyAccount-navigation.jb-dash-nav ul {
		grid-template-columns: 1fr;
	}
	.jb-dash-orders__table thead { display: none; }
	.jb-dash-orders__table tr {
		display: block;
		padding: 0.75rem 0;
		border-bottom: 1px solid #eee;
	}
	.jb-dash-orders__table td {
		display: flex;
		justify-content: space-between;
		gap: 0.75rem;
		border: 0;
		padding: 0.25rem 0;
	}
	.jb-dash-orders__table td::before {
		content: attr(data-title);
		font-weight: 700;
		color: #666;
		font-size: 0.75rem;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}
}

/* T900U — kill Woo empty-downloads strip + Browse products; quiet Videos empty */
body.woocommerce-downloads .woocommerce-Message--info a.button.wc-forward,
body.woocommerce-downloads .woocommerce-info a.button.wc-forward,
body.woocommerce-downloads .woocommerce-message a.wc-forward,
body.woocommerce-account.woocommerce-downloads .woocommerce-MyAccount-content > .woocommerce-Message--info a.button,
body.woocommerce-account.woocommerce-downloads .woocommerce-MyAccount-content > .woocommerce-info a.button {
	display: none !important;
}
/* Hide default Woo empty notice text when template not yet overridden / residual */
body.woocommerce-downloads .woocommerce-MyAccount-content > .woocommerce-Message--info:has(a.wc-forward),
body.woocommerce-downloads .woocommerce-MyAccount-content > .woocommerce-info:has(a.wc-forward) {
	display: none !important;
}
.jb-account-videos-empty {
	padding: 1.25rem 0;
}
.jb-account-videos-empty__msg {
	margin: 0;
	color: #555;
	font-size: 1rem;
	font-weight: 500;
}

/* T896/T898 — Cloudara owns markup+AJAX; theme face only (T877 readable) */
.jebbs-va-pw-box {
	margin: 0 0 1.25rem;
	padding: 1rem 1.15rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.22);
}
.jebbs-va-pw-box__hint {
	margin: 0 0 0.75rem;
	color: #d6d6d6;
	font-size: 0.95rem;
	line-height: 1.45;
	font-weight: 500;
}
.jebbs-va-pw-box__btn.button,
.jebbs-va-pw-box__btn {
	color: #111 !important;
	background: #f5a623 !important;
	border-color: #e09410 !important;
	font-weight: 700;
}
.jebbs-va-pw-box__btn.button:hover,
.jebbs-va-pw-box__btn.button:focus-visible,
.jebbs-va-pw-box__btn:hover,
.jebbs-va-pw-box__btn:focus-visible {
	color: #111 !important;
	background: #ffb84d !important;
	border-color: #f5a623 !important;
}
.jebbs-va-pw-box__status {
	margin-left: 0.5rem;
	color: #d6d6d6;
	font-size: 0.875rem;
}

/* T920U full width ~50px gutters */
body.jb-account-dash .jb-dash {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-inline: 50px;
}
body.jb-account-dash .jb-dash__main,
body.jb-account-dash .jb-dash__content,
body.jb-account-dash .woocommerce-MyAccount-content,
body.jb-account-dash .jb-dash-home {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	flex: 1 1 auto;
	min-width: 0;
}
body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav { float: none !important; }
@media (max-width: 960px) {
	body.jb-account-dash .jb-dash { padding-inline: 24px; }
}
@media (max-width: 560px) {
	body.jb-account-dash .jb-dash { padding-inline: 16px; }
}

/* ===== T934U (0.1.7.42) pin 7b990f2eb467 — tabs square · welcome gap · CTA exceptions ===== */
html body.jb-account-dash .jb-dash-nav__list a,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav a,
html body.jb-account-dash .jb-dash-nav__list a:hover,
html body.jb-account-dash .jb-dash-nav__list a:focus-visible,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav a:hover,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav a:focus-visible,
html body.jb-account-dash .jb-dash-nav__list .is-active a,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav .is-active a {
	border-radius: 0 !important;
}
html body.jb-account-dash .jb-dash-nav__list li:not(.is-active) a,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav li:not(.is-active) a,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav li:not(.is-active) a .jb-dash-nav__label {
	color: #fcba12 !important;
	-webkit-text-fill-color: #fcba12 !important;
}
html body.jb-account-dash .jb-dash-nav__list .is-active a,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav .is-active a,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav .is-active a .jb-dash-nav__label {
	background: #fff !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
}
html body.jb-account-dash .jb-dash__content > .woocommerce-notices-wrapper:empty { display: none !important; }
html body.jb-account-dash .jb-dash__content > .woocommerce-notices-wrapper {
	background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
}
html body.jebbs.jb-account-dash .jb-dash-hero__cta,
html body.jb-account-dash .jb-dash-hero__cta {
	background: #fcba12 !important; border-color: #fcba12 !important;
	color: #111 !important; -webkit-text-fill-color: #111 !important;
}
html body.jebbs.jb-account-dash .jb-dash-hero__cta:hover,
html body.jebbs.jb-account-dash .jb-dash-hero__cta:focus-visible,
html body.jb-account-dash .jb-dash-hero__cta:hover,
html body.jb-account-dash .jb-dash-hero__cta:focus-visible {
	background: #e85d04 !important; border-color: #e85d04 !important;
	color: #fff !important; -webkit-text-fill-color: #fff !important;
}
html body.jebbs.jb-account-dash .jb-dash-help__cta,
html body.jebbs.jb-account-dash .jb-dash-help__cta:hover,
html body.jebbs.jb-account-dash .jb-dash-help__cta:focus-visible,
html body.jb-account-dash .jb-dash-help__cta,
html body.jb-account-dash .jb-dash-help__cta:hover,
html body.jb-account-dash .jb-dash-help__cta:focus-visible {
	color: #fff !important; -webkit-text-fill-color: #fff !important;
}
/* T934U dual-H1 guard: only Welcome h1 on dash */
html body.jb-account-dash h1.entry-title,
html body.jb-account-dash .wp-block-post-title,
html body.jb-account-dash .ast-archive-title { display: none !important; }

/* ===== T569/T920 re-prove: true ~50px viewport-edge inset @desktop ===== */
html body.jb-account-dash .jb-dash {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
}
html body.jb-account-dash .jb-dash__content {
	padding-left: 1.75rem !important;
	padding-right: 0 !important;
}
@media (max-width: 960px) {
	html body.jb-account-dash .jb-dash { padding-left: 24px !important; padding-right: 24px !important; }
	html body.jb-account-dash .jb-dash__content { padding-left: 0 !important; }
}
@media (max-width: 560px) {
	html body.jb-account-dash .jb-dash { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ===== T938U (0.1.7.42) pin 0cd6f3aefdc4 — pw hint black on light box · video full room ===== */
html body .jebbs-va-pw-box {
	background: #fff !important;
	border: 1px solid #d6d6d6 !important;
}
html body .jebbs-va-pw-box__hint,
html body .jebbs-va-pw-box__status {
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
}
/* ===== T953U/T957U/T958U (0.1.7.44) pins 6d629851ba1d / 8c8af45c0e5b / 9e46da87addb
   amends T948 — outer .jebbs-va-video is wrapper; real frame = .jebbs-va-video__frame.
   Narrow centered max-width OK. Full bottom + Vimeo chrome (FAIL 0f8e2541ef00). No T938 blank gap. ===== */
html body .jebbs-va-video {
	position: relative !important;
	aspect-ratio: auto !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
	background: transparent !important;
}
html body .jebbs-va-video__title {
	margin: 0 0 0.75rem !important;
}
html body .jebbs-va-pw-box {
	margin: 0 0 1rem !important;
}
/* Kill empty white-card dead space under pw when frame would otherwise inflate the card */
html body .jb-dash__content > .woocommerce-MyAccount-content .jebbs-va-video {
	background: transparent !important;
}
html body .jebbs-va-player,
html body .jebbs-va-embed,
html body .jebbs-va-video__frame {
	position: relative !important;
	/* taller than 16:9 so multi-view + native controls clear the crop (T953/T958) */
	aspect-ratio: 16 / 10 !important;
	width: 100% !important;
	/* T957: narrow/centered OK so full height + controls fit */
	max-width: 880px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	height: auto !important;
	min-height: 0 !important;
	/* kill plugin inline padding-top:56.25% so aspect-ratio alone sizes the box */
	padding: 0 !important;
	overflow: visible !important;
	background: #111;
	border: 0;
}
html body .jebbs-va-player iframe,
html body .jebbs-va-embed iframe,
html body .jebbs-va-video__frame iframe,
html body .jebbs-va-video iframe,
html body .jebbs-va-player video,
html body .jebbs-va-video video {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border: 0;
	aspect-ratio: unset !important;
	min-height: 0 !important;
}
html body .jebbs-va-player > div,
html body .jebbs-va-embed > div {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	overflow: visible !important;
}
html body .jebbs-va-video__back {
	margin: 1rem 0 0 !important;
}

/* ===== T934U residual (0.1.7.44) — kill ~50–60px white strip between site header and account shell
   Astra `.ast-plain-container.ast-no-sidebar #primary { margin-top:60px }` @≥1200 + article padding ===== */
html body.jb-account-dash #primary,
html body.jb-account-dash .content-area,
html body.jb-account-dash .jb-primary,
html body.jb-account-dash article,
html body.jb-account-dash .ast-article-single,
html body.jb-account-dash .hentry,
html body.jb-account-dash .site-main,
html body.jb-account-dash .ast-woocommerce-container {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
html body.jb-account-dash .jb-dash {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
html body.jb-account-dash .jb-dash__content {
	padding-top: 1.25rem !important; /* keep readable inset; no pre-shell white band */
}
html body.jb-account-dash .woocommerce-notices-wrapper:empty,
html body.jb-account-dash .jb-dash__content > .woocommerce-notices-wrapper:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

/* ===== T920U residual (0.1.7.44) — re-prove true ~50px L/R gutters @wide (Optima ~33px / x=0 FAIL) ===== */
html body.jb-account-dash #page,
html body.jb-account-dash #content,
html body.jb-account-dash .site-content,
html body.jb-account-dash .ast-container,
html body.jb-account-dash #primary,
html body.jb-account-dash .content-area,
html body.jb-account-dash .entry-content,
html body.jb-account-dash .woocommerce,
html body.jb-account-dash .ast-woocommerce-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
html body.jb-account-dash .jb-dash {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
}
html body.jb-account-dash .jb-dash-nav,
html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
html body.jb-account-dash .jb-dash__content,
html body.jb-account-dash .jb-dash__main {
	padding-right: 0 !important;
}
html body.jb-account-dash .jb-dash__content {
	padding-left: 1.75rem !important;
}
@media (max-width: 960px) {
	html body.jb-account-dash .jb-dash { padding-left: 24px !important; padding-right: 24px !important; }
	html body.jb-account-dash .jb-dash__content { padding-left: 0 !important; }
}
@media (max-width: 560px) {
	html body.jb-account-dash .jb-dash { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ===== T942U (0.1.7.42) pin 930bd58ab6ce — Payment Methods CTA yellow + #111 (extends T925) ===== */
html body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content a.button,
html body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content .button,
html body.woocommerce-account .woocommerce-PaymentMethods a.button,
html body.woocommerce-account .woocommerce-MyAccount-paymentMethods ~ a.button,
html body.woocommerce-account .woocommerce-Message a.button,
html body.woocommerce-account .woocommerce-info a.button,
html body.jb-account-dash .woocommerce-MyAccount-content a.button,
html body.jb-account-dash .woocommerce-MyAccount-content .button:not(.jebbs-va-pw-box__btn) {
	background: #fcba12 !important;
	background-image: none !important;
	border: 1px solid #fcba12 !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}
html body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content a.button:hover,
html body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content a.button:focus-visible,
html body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content .button:hover,
html body.woocommerce-account .woocommerce-PaymentMethods a.button:hover,
html body.woocommerce-account .woocommerce-Message a.button:hover,
html body.woocommerce-account .woocommerce-info a.button:hover,
html body.jb-account-dash .woocommerce-MyAccount-content a.button:hover,
html body.jb-account-dash .woocommerce-MyAccount-content a.button:focus-visible,
html body.jb-account-dash .woocommerce-MyAccount-content .button:not(.jebbs-va-pw-box__btn):hover {
	background: #f5a623 !important;
	border-color: #e85d04 !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
}

/* ===== T944U (0.1.7.42) pin d4fb62763fb7 — menu items Title Case safety net (CMS fixed) ===== */
html body .jb-nav__list a,
html body .jb-nav a,
html body .jb-footer a[href]:not([href^="mailto"]):not([href^="tel"]),
html body .site-footer .menu a,
html body .jb-account__signin {
	text-transform: capitalize;
}

/* ===== T920U residual (0.1.7.46) — true ~50px L/R @1280 AND @1920 (Queen NO-MATCH 045)
   Soft KEEP Astra max-width:1240 kill @≥922. DROP 100vw breakout (scrollbar ate ~7px/side → 1920 ~42).
   Prefer width:100% / no 100vw; gutters = padding vs visible viewport edge excluding scrollbar.
   Soft KEEP T934/T953/T957/T958 (do not touch video/header-strip rules). ===== */
@media (min-width: 922px) {
	html body.jb-account-dash .site-content > .ast-container,
	html body.jb-account-dash #content > .ast-container,
	html body.jb-account-dash .ast-container,
	html body.jb-account-dash.ast-plain-container .ast-container,
	html body.jb-account-dash.ast-plain-container.ast-no-sidebar .site-content > .ast-container {
		max-width: none !important;
		width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
html body.jb-account-dash #page,
html body.jb-account-dash #content,
html body.jb-account-dash .site-content,
html body.jb-account-dash #primary,
html body.jb-account-dash .content-area,
html body.jb-account-dash .site-main,
html body.jb-account-dash article.ast-article-single,
html body.jb-account-dash .ast-article-single,
html body.jb-account-dash .hentry,
html body.jb-account-dash .entry-content,
html body.jb-account-dash .woocommerce,
html body.jb-account-dash .ast-woocommerce-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* width:100% only — no 100vw / no calc(50%-50vw). Soft KEEP 50px L/R vs visible edge. */
html body.jb-account-dash .jb-dash,
html body.jb-account-dash #primary .jb-dash,
html body.jb-account-dash .ast-container .jb-dash,
html body.jb-account-dash .entry-content > .jb-dash,
html body.jb-account-dash .woocommerce > .jb-dash {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important; /* Soft KEEP T934 — no header strip */
	padding-top: 0 !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
}
@media (max-width: 960px) {
	html body.jb-account-dash .jb-dash,
	html body.jb-account-dash #primary .jb-dash,
	html body.jb-account-dash .ast-container .jb-dash,
	html body.jb-account-dash .entry-content > .jb-dash,
	html body.jb-account-dash .woocommerce > .jb-dash {
		padding-left: 24px !important;
		padding-right: 24px !important;
		width: 100% !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
@media (max-width: 560px) {
	html body.jb-account-dash .jb-dash,
	html body.jb-account-dash #primary .jb-dash,
	html body.jb-account-dash .ast-container .jb-dash,
	html body.jb-account-dash .entry-content > .jb-dash,
	html body.jb-account-dash .woocommerce > .jb-dash {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* ===== Videos empty-state icon overlap (0.1.7.46) — Queen NO-MATCH 045 / Isle Soft GO 046
   Live markup: Cloudara `.woocommerce-info.jebbs-va-list-empty` ("No videos yet").
   Woo ::before absolute icon sat on "No". Soft KEEP plugin PHP; face CSS only. Soft KEEP quiet empty. ===== */
html body.woocommerce-account .woocommerce-info.jebbs-va-list-empty,
html body .jebbs-va-list-empty.woocommerce-info {
	display: flex !important;
	align-items: center !important;
	gap: 0.65rem !important;
	position: relative !important;
	padding: 1em 1.25em !important;
	margin: 0 0 1rem !important;
}
html body.woocommerce-account .woocommerce-info.jebbs-va-list-empty::before,
html body .jebbs-va-list-empty.woocommerce-info::before {
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	line-height: 1 !important;
}
/* Soft KEEP theme empty template path if still reachable */
html body .jb-account-videos-empty {
	padding: 1.25rem 0;
}
html body .jb-account-videos-empty__msg {
	margin: 0;
	color: #555;
	font-size: 1rem;
	font-weight: 500;
}

/* ===== t1445u (0.1.7.64) — numbered watch steps + mobile content before account menu ===== */
html body .jebbs-va-pw-box.jebbs-va-pw-box--steps,
html body .jebbs-va-pw-box {
	background: #fcba12 !important;
	border: 3px solid #111 !important;
	border-radius: 10px !important;
	padding: 1.15rem 1.25rem 1.25rem !important;
	margin: 0 0 1.15rem !important;
	color: #111 !important;
	box-shadow: 0 2px 0 #111;
}
html body .jebbs-va-pw-box__title {
	margin: 0 0 0.85rem !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	font-family: var(--jb-f-display, Inter, system-ui, sans-serif);
	font-size: 1.35rem !important;
	line-height: 1.25 !important;
	font-weight: 800 !important;
	letter-spacing: 0.01em;
}
html body .jebbs-va-pw-box__steps {
	list-style: none !important;
	margin: 0 0 1rem !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
html body .jebbs-va-pw-box__step {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 0 !important;
	padding: 0 !important;
	color: #111 !important;
}
html body .jebbs-va-pw-box__num {
	flex: 0 0 1.85rem;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 999px;
	background: #111;
	color: #fcba12;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.85rem;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
html body .jebbs-va-pw-box__text {
	flex: 1 1 auto;
	min-width: 0;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	font-size: 1.05rem !important;
	line-height: 1.45 !important;
	font-weight: 600 !important;
}
html body .jebbs-va-pw-box__text strong {
	font-weight: 800 !important;
	color: #111 !important;
}
html body .jebbs-va-pw-box__hint,
html body .jebbs-va-pw-box__status {
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
}
html body .jebbs-va-pw-box__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
}
html body .jebbs-va-pw-box__btn.button,
html body .jebbs-va-pw-box__btn {
	color: #fcba12 !important;
	-webkit-text-fill-color: #fcba12 !important;
	background: #111 !important;
	border: 2px solid #111 !important;
	border-radius: 8px !important;
	font-weight: 800 !important;
	font-size: 1.05rem !important;
	line-height: 1.2 !important;
	padding: 0.7rem 1.15rem !important;
	min-height: 2.75rem;
}
html body .jebbs-va-pw-box__btn.button:hover,
html body .jebbs-va-pw-box__btn.button:focus-visible,
html body .jebbs-va-pw-box__btn:hover,
html body .jebbs-va-pw-box__btn:focus-visible {
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	background: #fff !important;
	border-color: #111 !important;
	outline: 3px solid #111;
	outline-offset: 2px;
}
@media (max-width: 960px) {
	/* Put video / account content above the account menu so instructions are not below the fold. */
	html body.jb-account-dash .jb-dash,
	html body.jb-account-dash #primary .jb-dash,
	html body.jb-account-dash .ast-container .jb-dash,
	html body.jb-account-dash .entry-content > .jb-dash,
	html body.jb-account-dash .woocommerce > .jb-dash {
		display: flex !important;
		flex-direction: column !important;
	}
	html body.jb-account-dash .jb-dash__main {
		order: -1 !important;
	}
	html body.jb-account-dash .woocommerce-MyAccount-navigation.jb-dash-nav,
	html body.jb-account-dash .jb-dash-nav {
		order: 2 !important;
		width: 100% !important;
		flex: 0 0 auto !important;
	}
	html body .jebbs-va-pw-box__title {
		font-size: 1.25rem !important;
	}
	html body .jebbs-va-pw-box__text {
		font-size: 1.02rem !important;
	}
}

/* t1455u — Expired purchases: greyed image + Expired badge */
.jb-purchase-media,
.jb-dash-train__media {
	position: relative;
}
.jb-purchase-media {
	display: block;
	flex: 0 0 auto;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 4px;
	overflow: hidden;
	background: #2a2a2a;
}
.jb-purchase-media__img,
.jb-purchase-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jb-purchase-media__ph,
.jb-dash-train__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #222 0%, #3a3a3a 100%);
}
.jb-purchase-media--expired img,
.jb-dash-train__media.jb-purchase-media--expired img,
.jb-dash-train__card--expired .jb-dash-train__media img {
	filter: grayscale(1);
	opacity: 0.45;
}
.jb-expired-badge {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	background: #1a1a1a;
	color: #fff;
	font: 700 0.7rem/1 var(--jb-f-head, Oswald, Arial, sans-serif);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.35rem 0.55rem;
	border-radius: 2px;
	pointer-events: none;
	white-space: nowrap;
}
.jb-dash-train__media .jb-expired-badge {
	font-size: 0.85rem;
	padding: 0.45rem 0.7rem;
}
.jb-purchase-product {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}
.jb-purchase-product__item,
.jb-purchase-product--line {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	text-align: left;
}
body.jb-account-dash .woocommerce-table--order-details td.product-name {
	text-align: left;
	vertical-align: middle;
}
.jb-purchase-product__name {
	min-width: 0;
	font-weight: 600;
	color: #151515;
	line-height: 1.3;
}
.jb-purchase-product--line .jb-purchase-media {
	width: 4.75rem;
	height: 4.75rem;
}
body.jb-account-dash .woocommerce-table--order-details .product-name .jb-purchase-product--line {
	margin-right: 0.5rem;
}
body.jb-account-dash .woocommerce-orders-table td,
body.jb-account-dash .shop_table.my_account_orders td {
	vertical-align: middle;
}
@media (max-width: 560px) {
	.jb-dash-orders__table td:has(.jb-purchase-product) {
		flex-direction: column;
		align-items: stretch;
	}
	.jb-purchase-media {
		width: 4rem;
		height: 4rem;
	}
}
