/* Keep account actions unobstructed; the global support bubble otherwise
 * covers the navigation on desktop and form controls on mobile. */
body.woocommerce-account #floating-button,
body.woocommerce-account .studi_custom_floating_btn {
	display: none !important;
}

/* Full dashboard redesign. */
body.logged-in.woocommerce-account {
	background: #03070c !important;
	color: #f7f2e9;
}

body.logged-in.woocommerce-account .row.my_acount_topbar {
	min-height: 84px;
	margin: 0;
	padding: 14px 28px;
	border-bottom: 1px solid rgba(101, 158, 184, 0.22);
	background: linear-gradient(90deg, #09111a, #142331) !important;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

body.logged-in.woocommerce-account .sc_dashboard_logo img {
	max-height: 52px;
	padding: 5px 9px;
	border-radius: 12px;
	background: #f7f2e9;
}

body.logged-in.woocommerce-account .sc_dashboard_hamburger .hamburger .line {
	background: #f4ac64;
}

body.logged-in.woocommerce-account .sc_studi_account_info {
	border: 1px solid rgba(101, 158, 184, 0.2);
	background: rgba(9, 17, 26, 0.72);
}

body.logged-in.woocommerce-account .sc_studi_account_info .userTitle,
body.logged-in.woocommerce-account .my_acount_topbar time {
	color: #aebdca !important;
}

body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation {
	padding: 12px;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
	padding: 14px !important;
	border: 1px solid rgba(101, 158, 184, 0.22) !important;
	border-radius: 18px;
	background: linear-gradient(180deg, #142331, #09111a) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0 0 5px !important;
	padding: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	padding: 11px 13px;
	border: 1px solid transparent;
	border-radius: 11px;
	color: #aebdca !important;
	font-size: 13px;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	border-color: rgba(101, 158, 184, 0.24);
	background: rgba(40, 83, 110, 0.34) !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	border-color: #f4ac64 !important;
	background: #f4ac64 !important;
	color: #03070c !important;
	box-shadow: 0 8px 20px rgba(244, 172, 100, 0.2);
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
	padding: 14px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
}

body.logged-in.woocommerce-account .grid-stack {
	border-radius: 22px;
	background: transparent;
}

body.logged-in.woocommerce-account .grid-stack-item-content.sc_dashboard_box,
body.logged-in.woocommerce-account .sc_dashboard_box {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid rgba(101, 158, 184, 0.22) !important;
	border-radius: 16px;
	background:
		radial-gradient(circle at 100% 0, rgba(40, 83, 110, 0.2), transparent 15rem),
		linear-gradient(145deg, #142331, #0d1923) !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
	color: #aebdca;
}

body.logged-in.woocommerce-account .sc_dashboard_box:hover {
	border-color: rgba(244, 172, 100, 0.42) !important;
	transform: translateY(-2px);
}

body.logged-in.woocommerce-account .sc_dashboard_box :where(.wc-amount, .wc-information, a, span) {
	color: #eef4f7;
}

body.logged-in.woocommerce-account .sc_dashboard_box .wc-information {
	color: #8fa6b6;
}

body.logged-in.woocommerce-account .sc_dashboard_box .sc-dahsboard-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(244, 172, 100, 0.24);
	border-radius: 14px;
	background: rgba(244, 172, 100, 0.1);
}

body.logged-in.woocommerce-account .sc_dashboard_box .sc-dahsboard-icon i {
	color: #f4ac64 !important;
}

body.logged-in.woocommerce-account .tabcontent,
body.logged-in.woocommerce-account .sc_dashboard_box :where(.woocommerce-info, .studi_empty_content) {
	border-radius: 12px;
	background: #09111a !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .tab button,
body.logged-in.woocommerce-account .tablinks {
	border-radius: 9px !important;
	background: rgba(244, 172, 100, 0.12) !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .tab button.active,
body.logged-in.woocommerce-account .tablinks.active {
	background: #f4ac64 !important;
	color: #03070c !important;
}

@media (min-width: 1201px) {
	body.sc_woonav_in_side.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation {
		width: 270px;
	}

	body.sc_woonav_in_side.logged-in.woocommerce-account .woocommerce-MyAccount-content {
		width: calc(100% - 286px) !important;
	}
}

@media (max-width: 640px) {
	body.logged-in.woocommerce-account .row.my_acount_topbar {
		background: #09111a !important;
	}

	body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
		padding: 10px !important;
	}

	body.logged-in.woocommerce-account .grid-stack-item-content.sc_dashboard_box,
	body.logged-in.woocommerce-account .sc_dashboard_box {
		padding: 15px;
		border-radius: 14px;
	}
	body.woocommerce-account .row.my_acount_topbar {
		flex-wrap: nowrap;
		gap: 8px;
		min-height: 74px;
		padding: 10px 12px;
	}

	body.woocommerce-account .panel_right_top {
		width: auto;
		flex: 1 1 auto;
		justify-content: flex-end;
		gap: 10px;
	}

	body.woocommerce-account .sc_dashboard_logo img {
		width: auto;
		max-width: 92px;
		max-height: 44px;
	}

	body.woocommerce-account .dashboard_top_nav {
		display: none;
	}

	body.woocommerce-account .dashboard_actions,
	body.woocommerce-account .studi_dash_datebox,
	body.woocommerce-account .studi_dash_datebox .panel_left_top {
		flex: 0 0 auto;
		min-width: 0;
	}

	body.woocommerce-account .studi_dash_datebox .panel_left_top {
		gap: 5px;
		padding: 0;
	}

	body.woocommerce-account .sc_studi_account_info {
		flex: 0 0 auto;
		padding: 0;
	}

	body.woocommerce-account .sc_studi_account_info .userTitle {
		display: none;
	}

	body.woocommerce-account .sc_studi_account_info .account-avatar,
	body.woocommerce-account .sc_studi_account_info .account-avatar img {
		width: 38px;
		height: 38px;
		max-width: 38px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		box-sizing: border-box;
		padding-inline: 14px;
		overflow: visible;
	}

	body.woocommerce-account table.woocommerce-orders-table {
		display: block;
		width: 100%;
		min-width: 0;
		border: 0;
		background: transparent;
	}

	body.woocommerce-account table.woocommerce-orders-table thead {
		display: none;
	}

	body.woocommerce-account table.woocommerce-orders-table tbody,
	body.woocommerce-account table.woocommerce-orders-table tr,
	body.woocommerce-account table.woocommerce-orders-table td {
		display: block;
		width: 100%;
	}

	body.woocommerce-account table.woocommerce-orders-table tr {
		margin-bottom: 14px;
		overflow: hidden;
		border: 1px solid rgba(101, 158, 184, 0.24);
		border-radius: 12px;
		background: #142331;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
	}

	body.woocommerce-account table.woocommerce-orders-table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		box-sizing: border-box;
		min-height: 48px;
		padding: 11px 14px;
		border: 0;
		border-bottom: 1px solid rgba(101, 158, 184, 0.16);
		text-align: left !important;
		white-space: normal;
	}

	body.woocommerce-account table.woocommerce-orders-table td:last-child {
		border-bottom: 0;
	}

	body.woocommerce-account table.woocommerce-orders-table td::before {
		content: attr(data-title);
		flex: 0 0 34%;
		color: #aebdca;
		font-weight: 600;
		text-align: right;
	}

	body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
		font-weight: 700;
	}

	body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
		background: transparent;
	}

	body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status::after {
		padding: 5px 9px;
		border-radius: 999px;
	}

	body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before {
		grid-column: 1 / -1;
		width: 100%;
	}

	body.woocommerce-account table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
		box-sizing: border-box;
		width: 100%;
		margin: 0;
		padding: 9px 10px;
		text-align: center;
	}

	body.scdarkcolors.woocommerce-account table.woocommerce-orders-table tr {
		border-color: rgba(255, 255, 255, 0.1);
		background: var(--dark_secondary_color, #172033);
		box-shadow: none;
	}

	body.scdarkcolors.woocommerce-account table.woocommerce-orders-table td {
		border-bottom-color: rgba(255, 255, 255, 0.08);
	}
}

/* --------------------------------------------------------------------------
 * Account theme bridge
 * Every custom account endpoint ships its own light UI. These rules give all
 * dashboard pages one shared surface, spacing and interaction language.
 * -------------------------------------------------------------------------- */
body.logged-in.woocommerce-account,
body.logged-in.woocommerce-account .wrap,
body.logged-in.woocommerce-account .main-page-content,
body.logged-in.woocommerce-account .site-content,
body.logged-in.woocommerce-account .site-content-inner,
body.logged-in.woocommerce-account .woocommerce,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
	background-color: #03070c !important;
	background-image: none !important;
}

body.logged-in.woocommerce-account .main-page-content {
	min-height: calc(100vh - 84px);
	padding: 18px 18px 54px !important;
}

body.logged-in.woocommerce-account .row.sc_dashboard_breadcrumb {
	margin: 0 0 14px;
	padding: 0 10px;
	color: #8fa6b6;
}

body.logged-in.woocommerce-account .row.sc_dashboard_breadcrumb a,
body.logged-in.woocommerce-account .sc_breadcrumb {
	color: #659eb8 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
	color: #aebdca;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(h1, h2, h3, h4, h5, h6, strong, label) {
	color: #f7f2e9;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(p, small, time, .description) {
	color: #aebdca;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
body.logged-in.woocommerce-account .woocommerce-MyAccount-content .select2-selection--single {
	border-color: rgba(101, 158, 184, 0.28) !important;
	background: #09111a !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(input, select, textarea):focus {
	border-color: #f4ac64 !important;
	box-shadow: 0 0 0 3px rgba(244, 172, 100, 0.14) !important;
	outline: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(.button, button[type="submit"], input[type="submit"]) {
	border-color: #f4ac64 !important;
	border-radius: 10px !important;
	background: #f4ac64 !important;
	color: #03070c !important;
	box-shadow: 0 8px 20px rgba(244, 172, 100, 0.16) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(.button, button[type="submit"], input[type="submit"]):hover {
	border-color: #da844a !important;
	background: #da844a !important;
}

/* Live sessions. */
body.logged-in.woocommerce-account .stl-heading {
	border: 1px solid rgba(101, 158, 184, 0.26) !important;
	background:
		radial-gradient(circle at 0 0, rgba(244, 172, 100, 0.12), transparent 18rem),
		linear-gradient(120deg, #142331, #28536e) !important;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

body.logged-in.woocommerce-account .stl-heading :where(h2, p, span) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .stl-tabs,
body.logged-in.woocommerce-account .sth-tabs,
body.logged-in.woocommerce-account .stq-student-tabs {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #09111a !important;
}

body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) a {
	color: #aebdca !important;
}

body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) a:hover {
	background: rgba(40, 83, 110, 0.42) !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) a.is-active {
	background: #f4ac64 !important;
	color: #03070c !important;
	box-shadow: 0 7px 18px rgba(244, 172, 100, 0.15) !important;
}

body.logged-in.woocommerce-account :where(
	.stl-card,
	.stl-empty,
	.stl-hero,
	.stl-panel,
	.stl-channel,
	.stl-table-wrap
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

body.logged-in.woocommerce-account :where(.stl-card, .stl-empty, .stl-hero, .stl-panel) :where(h2, h3, strong) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .stl-card-icon {
	background: rgba(244, 172, 100, 0.12) !important;
	color: #f4ac64 !important;
}

body.logged-in.woocommerce-account .stl-table :where(th, td) {
	border-color: rgba(101, 158, 184, 0.16) !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .stl-text-button,
body.logged-in.woocommerce-account .stl-back {
	color: #f4ac64 !important;
}

/* Homework, assignments and grading. */
body.logged-in.woocommerce-account :where(
	.sth-assignment-card,
	.sth-empty,
	.sth-hero,
	.sth-panel,
	.sth-file-box,
	.sth-submission-row,
	.sth-table-wrap,
	.sth-filter,
	.sth-list-toolbar,
	.sth-submitted-file,
	.sth-upload
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

body.logged-in.woocommerce-account :where(.sth-heading, .sth-hero, .sth-panel, .sth-file-box, .sth-assignment-card) :where(h2, h3, strong, label) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .sth-eyebrow,
body.logged-in.woocommerce-account .sth-text-button,
body.logged-in.woocommerce-account .sth-assignment-link span,
body.logged-in.woocommerce-account .sth-submitted-file a {
	color: #f4ac64 !important;
}

body.logged-in.woocommerce-account .sth-card-icon,
body.logged-in.woocommerce-account .sth-assignment-actions > a {
	background: rgba(244, 172, 100, 0.12) !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .sth-table :where(th, td) {
	border-color: rgba(101, 158, 184, 0.16) !important;
	background: transparent !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .sth-table th {
	background: #09111a !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .sth-feedback {
	border-color: rgba(218, 132, 74, 0.45) !important;
	background: rgba(174, 102, 55, 0.16) !important;
	color: #f9d790 !important;
}

/* Student questions and teacher replies. */
body.logged-in.woocommerce-account :where(
	.stq-card,
	.stq-question-row,
	.stq-message,
	.stq-empty,
	.stq-thread-header,
	.stq-course-filter,
	.stq-upload-field,
	.stq-status-form,
	.stq-closed-note
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

body.logged-in.woocommerce-account .stq-message.is-teacher {
	border-color: rgba(244, 172, 100, 0.32) !important;
	background: linear-gradient(135deg, #142331, rgba(121, 76, 46, 0.34)) !important;
}

body.logged-in.woocommerce-account :where(.stq-page-heading, .stq-thread-header, .stq-message, .stq-question-row) :where(h2, h3, strong, label) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .stq-avatar {
	background: #09111a !important;
	color: #659eb8 !important;
}

body.logged-in.woocommerce-account .is-teacher .stq-avatar {
	background: rgba(244, 172, 100, 0.14) !important;
	color: #f4ac64 !important;
}

body.logged-in.woocommerce-account .stq-question-row.is-unread {
	border-inline-start-color: #f4ac64 !important;
	background: #172938 !important;
}

body.logged-in.woocommerce-account .stq-feedback {
	border-color: rgba(244, 172, 100, 0.36) !important;
	background: rgba(121, 76, 46, 0.2) !important;
	color: #f9d790 !important;
}

/* Staff notifications. */
body.logged-in.woocommerce-account .physictomy-notification-panel {
	--pn-ink: #f7f2e9;
	--pn-muted: #aebdca;
	--pn-line: rgba(101, 158, 184, 0.24);
}

body.logged-in.woocommerce-account :where(.pn-page-heading, .pn-compose-card, .pn-history, .pn-target, .pn-history-item) {
	border-color: var(--pn-line) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

body.logged-in.woocommerce-account .pn-page-heading {
	background: linear-gradient(135deg, #142331, #28536e) !important;
}

body.logged-in.woocommerce-account .pn-heading-icon,
body.logged-in.woocommerce-account .pn-target:has(input:checked) {
	background: rgba(244, 172, 100, 0.14) !important;
}

body.logged-in.woocommerce-account .pn-target:has(input:checked) {
	border-color: #f4ac64 !important;
}

/* Built-in chat. */
body.logged-in.woocommerce-account .stc-chat-members {
	--main: #f4ac64;
	--secondary: #28536e;
	--light: #f7f2e9;
	--heading: #f7f2e9;
	--body: #aebdca;
	--body4: #09111a;
	--input-background: #09111a;
	--input-background2: #09111a;
	--background-body: #142331;
	--border-color2: rgba(101, 158, 184, 0.2);
	border: 1px solid rgba(101, 158, 184, 0.22);
	background: #142331 !important;
	color: #aebdca;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

body.logged-in.woocommerce-account .stc-chat-members :where(.chat-sidebar, .chat-content, .conversation-header, .use-profile-media) {
	border-color: rgba(101, 158, 184, 0.18) !important;
	background: #142331 !important;
}

body.logged-in.woocommerce-account .stc-chat-members :where(.message-wrap, #stc-file-container, #stc-gif-container, #stc-gift-container .gift-row) {
	background: #09111a !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .stc-chat-members .conversation-item.active {
	background: #28536e !important;
}

/* Support tickets. */
body.logged-in.woocommerce-account :where(
	#swss_tickets_container,
	.swss_ticket_area_description,
	.swss_top_filter,
	.swss_single_ticket_info,
	.swss_new_message_container,
	.swss_message,
	.swss_panel,
	.swss_accordion
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.swss_ticket_subject, #swss_new_ticket_box_title, .swss_new_ticket_label, .swss_attachments_label) {
	background: transparent !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account #swss_new_ticket_box :where(input, select, textarea) {
	border-color: rgba(101, 158, 184, 0.28) !important;
	background: #09111a !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .swss_table_holder :where(table, thead, tbody, tr, th, td) {
	border-color: rgba(101, 158, 184, 0.16) !important;
	background: transparent !important;
	color: #aebdca !important;
}

/* Theme-native notification, course and comment screens. */
body.logged-in.woocommerce-account :where(
	.studi_notifs_page ul.sc_notifs_holder li,
	.studiare-course-card,
	.singleCommentHolder,
	.singleCommentContent,
	.profile-picture-section,
	.purchased-date,
	.studi_empty_dl
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16) !important;
}

body.logged-in.woocommerce-account :where(.studi_notif_title, .studiare-course-detail .course-title, .studiare-course-detail .course-content) {
	border-color: rgba(101, 158, 184, 0.24) !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .studiare-course-card:hover,
body.logged-in.woocommerce-account .studi_notifs_page ul.sc_notifs_holder li:hover,
body.logged-in.woocommerce-account .singleCommentHolder:hover {
	border-color: rgba(244, 172, 100, 0.48) !important;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}

body.logged-in.woocommerce-account .studiare-course-card :where(.course-title, a),
body.logged-in.woocommerce-account .singleCommentHolder :where(.singleCommentTitle, strong, a) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .studiare-course-card .course-date,
body.logged-in.woocommerce-account .singleCommentTitle time {
	color: #8fa6b6 !important;
}

/* Certificates. The plugin prints several light inline defaults in wp_head. */
body.logged-in.woocommerce-account .govahiar-subnav {
	border-color: rgba(101, 158, 184, 0.24) !important;
}

body.logged-in.woocommerce-account .govahiar-subnav a {
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .govahiar-subnav a:is(:hover, .active) {
	border-bottom-color: #f4ac64 !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .govahiar-certificate-info-form fieldset {
	border-color: rgba(101, 158, 184, 0.24) !important;
	border-radius: 14px !important;
	background: #142331 !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .govahiar-certificate-info-form legend {
	padding-inline: 10px;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .govahiar-certificate-info-form input[readonly] {
	background: #101b25 !important;
	color: #8fa6b6 !important;
	cursor: not-allowed;
}

body.logged-in.woocommerce-account .govahiar-certificate-popup {
	border: 1px solid rgba(101, 158, 184, 0.24) !important;
	background: #142331 !important;
	color: #aebdca !important;
}

/* Quiz player and the quiz-results account endpoint. */
body.logged-in.woocommerce-account :where(
	.studiare-quiz,
	.studiare-quiz-results,
	.quiz-description,
	.quiz-previous-results,
	.quiz-result-entry,
	.quiz-attempt,
	.quiz-question,
	.quiz-restricted,
	.quiz-modal-content,
	.quiz-start-countdown,
	.quiz-timer,
	.studiare-quiz-empty
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.quiz-question-title, .quiz-result-entry h3, .quiz-attempt h4, .studiare-quiz-results h2) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account :where(.quiz-question-description, .quiz-pre-start p, .studiare-quiz-message) {
	color: #aebdca !important;
}

body.logged-in.woocommerce-account :where(.quiz-stats-table, .studiare-quiz-results-table) {
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid rgba(101, 158, 184, 0.22) !important;
	border-radius: 12px;
	background: #142331 !important;
}

body.logged-in.woocommerce-account :where(.quiz-stats-table, .studiare-quiz-results-table) :where(th, td, tr) {
	border-color: rgba(101, 158, 184, 0.16) !important;
	background: transparent !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account :where(.quiz-stats-table, .studiare-quiz-results-table) th {
	background: #09111a !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account :where(.studiare-quiz .start-quiz-button, .studiare-quiz .quiz-pagination button, .quiz-result-details, .show-all-attempts) {
	border-color: #f4ac64 !important;
	background: #f4ac64 !important;
	color: #03070c !important;
}

body.logged-in.woocommerce-account .studiare-quiz .quiz-pagination button:disabled {
	border-color: rgba(101, 158, 184, 0.18) !important;
	background: #22313d !important;
	color: #718696 !important;
}

body.logged-in.woocommerce-account :where(.status-passed, .quiz-status.status-passed) {
	color: #8ed9b5 !important;
}

body.logged-in.woocommerce-account :where(.status-failed, .quiz-status.status-failed) {
	color: #f1a6a0 !important;
}

/* Wallet and miscellaneous third-party account panels. */
body.logged-in.woocommerce-account :where(
	.woo-wallet-my-wallet-container,
	.woo-wallet-content,
	.woo-wallet-sidebar,
	.woo-wallet-transactions-items li,
	.woo-wallet-add-amount,
	.woo-wallet-balance
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: none !important;
}

/* Faraz user panel (its light CSS is emitted inline inside the endpoint). */
body.logged-in.woocommerce-account .farazsms-up :where(.farazsms-up-nav, .farazsms-up-main, .farazsms-up-card) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16) !important;
}

body.logged-in.woocommerce-account .farazsms-up .farazsms-up-nav-title {
	border-color: rgba(101, 158, 184, 0.2) !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .farazsms-up .farazsms-up-nav a {
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .farazsms-up .farazsms-up-nav a:hover {
	background: rgba(40, 83, 110, 0.34) !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .farazsms-up .farazsms-up-nav a.is-active {
	background: #f4ac64 !important;
	color: #03070c !important;
}

body.logged-in.woocommerce-account .farazsms-up :where(.farazsms-up-h, .farazsms-up-card-v) {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .farazsms-up :where(.farazsms-up-note, .farazsms-up-card-l) {
	color: #8fa6b6 !important;
}

body.logged-in.woocommerce-account .farazsms-up .farazsms-up-msg-ok {
	border-color: rgba(78, 188, 139, 0.35) !important;
	background: rgba(78, 188, 139, 0.12) !important;
	color: #8ed9b5 !important;
}

body.logged-in.woocommerce-account .farazsms-up .farazsms-up-msg-err {
	border-color: rgba(225, 94, 85, 0.35) !important;
	background: rgba(225, 94, 85, 0.12) !important;
	color: #f1a6a0 !important;
}

/* Event bookings and any remaining plain plugin table. */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > table,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > .table-responsive > table {
	width: 100%;
	border: 1px solid rgba(101, 158, 184, 0.22) !important;
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 14px;
	background: #142331 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content > table :where(th, td),
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > .table-responsive > table :where(th, td) {
	border-color: rgba(101, 158, 184, 0.16) !important;
	background: transparent !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content > table th,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > .table-responsive > table th {
	background: #09111a !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content .page-numbers {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content .page-numbers.current {
	border-color: #f4ac64 !important;
	background: #f4ac64 !important;
	color: #03070c !important;
}

/* Native WooCommerce account endpoints: orders, addresses, profile, downloads. */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(
	.woocommerce-info,
	.woocommerce-message,
	.woocommerce-error,
	.woocommerce-Address,
	.woocommerce-order-details,
	.woocommerce-customer-details,
	form.woocommerce-EditAccountForm,
	form.woocommerce-address-fields,
	.shop_table
) {
	border-color: rgba(101, 158, 184, 0.22) !important;
	background: #142331 !important;
	color: #aebdca !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16) !important;
}

@media (max-width: 767px) {
	body.logged-in.woocommerce-account .main-page-content {
		padding: 10px 8px 36px !important;
	}

	body.logged-in.woocommerce-account :where(.stl-heading, .stl-panel, .sth-panel, .sth-hero, .stq-card, .stq-thread-header, .pn-page-heading, .pn-compose-card, .pn-history) {
		padding: 16px !important;
		border-radius: 14px !important;
	}

	body.logged-in.woocommerce-account .sth-table tr {
		border-color: rgba(101, 158, 184, 0.2) !important;
		background: #142331 !important;
	}

	body.logged-in.woocommerce-account .sth-table td:first-child {
		background: #09111a !important;
	}
}

/* --------------------------------------------------------------------------
 * Cohesion pass: one actual dashboard shell instead of a collection of plugin
 * boxes. Kept last intentionally so plugin endpoint styles cannot fragment it.
 * -------------------------------------------------------------------------- */
body.logged-in.woocommerce-account {
	--account-bg: #03070c;
	--account-panel: #09111a;
	--account-card: #142331;
	--account-card-2: #182a39;
	--account-line: rgba(101, 158, 184, 0.22);
	--account-line-strong: rgba(244, 172, 100, 0.38);
	--account-text: #f7f2e9;
	--account-muted: #aebdca;
	--account-subtle: #7f95a5;
	--account-gold: #f4ac64;
	--account-gold-light: #f9d790;
}

body.logged-in.woocommerce-account .main-page-content {
	position: relative;
	padding: 22px clamp(12px, 2vw, 34px) 64px !important;
	background:
		radial-gradient(circle at 85% 8%, rgba(40, 83, 110, 0.2), transparent 30rem),
		linear-gradient(180deg, #071019 0%, var(--account-bg) 34rem) !important;
}

body.logged-in.woocommerce-account .main-page-content > .container,
body.logged-in.woocommerce-account .main-page-content > .container-fluid {
	width: min(100%, 1560px) !important;
	max-width: 1560px !important;
	margin-inline: auto !important;
}

body.logged-in.woocommerce-account .row.sc_dashboard_breadcrumb {
	min-height: 34px;
	margin: 0 0 14px !important;
	padding: 0 12px !important;
	align-items: center;
	font-size: 12px;
}

body.sc_woonav_in_side.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation {
	position: sticky;
	top: 18px;
	width: 252px !important;
	padding: 0 !important;
	z-index: 5;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0 !important;
	padding: 10px !important;
	border-radius: 20px !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	border: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex !important;
	align-items: center;
	min-height: 43px;
	margin: 0 !important;
	padding: 9px 12px !important;
	border-radius: 11px !important;
	font-size: 12px !important;
	line-height: 1.6;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
	width: 23px;
	margin-inline-end: 7px !important;
	color: #659eb8;
	font-size: 14px;
	text-align: center;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::before {
	color: #03070c !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child a {
	margin-top: 8px !important;
	border-top: 1px solid rgba(225, 94, 85, 0.18) !important;
	color: #f1a6a0 !important;
}

body.sc_woonav_in_side.logged-in.woocommerce-account .woocommerce-MyAccount-content {
	width: calc(100% - 272px) !important;
}

body.logged-in.woocommerce-account:not(.woocommerce-dashboard) .woocommerce-MyAccount-content {
	min-height: 0;
	padding: clamp(18px, 2.2vw, 30px) !important;
	border: 1px solid var(--account-line) !important;
	border-radius: 20px !important;
	background:
		linear-gradient(145deg, rgba(20, 35, 49, 0.98), rgba(9, 17, 26, 0.98)) !important;
	box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24) !important;
}

/* Teacher homework table: explicit contrast and restrained row hover. */
body.logged-in.woocommerce-account .sth-table {
	table-layout: fixed;
}

body.logged-in.woocommerce-account .sth-table th,
body.logged-in.woocommerce-account .sth-table td {
	padding: 15px 16px !important;
	vertical-align: middle;
	line-height: 1.85;
}

body.logged-in.woocommerce-account .sth-table th {
	color: #f9d790 !important;
	font-size: 11px;
	font-weight: 700;
}

body.logged-in.woocommerce-account .sth-table td {
	color: #d6e0e6 !important;
	font-size: 12px;
}

body.logged-in.woocommerce-account .sth-table tbody tr,
body.logged-in.woocommerce-account .sth-table tbody td {
	transition: background-color .16s ease, color .16s ease, border-color .16s ease !important;
}

body.logged-in.woocommerce-account .sth-table tbody tr:hover,
body.logged-in.woocommerce-account .sth-table tbody tr:hover td {
	background: #182a39 !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .sth-assignment-link {
	color: #f7f2e9 !important;
	text-decoration: none !important;
}

body.logged-in.woocommerce-account .sth-assignment-link strong {
	color: #f7f2e9 !important;
	font-weight: 700;
}

body.logged-in.woocommerce-account .sth-assignment-link span {
	color: #f4ac64 !important;
	font-weight: 600;
}

body.logged-in.woocommerce-account .sth-assignment-link:hover strong,
body.logged-in.woocommerce-account .sth-assignment-link:hover span {
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .sth-table td:last-child form {
	display: flex;
	justify-content: center;
	margin: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content .sth-text-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 98px;
	min-height: 34px;
	padding: 6px 13px !important;
	border: 1px solid rgba(244, 172, 100, 0.38) !important;
	border-radius: 9px !important;
	background: rgba(244, 172, 100, 0.1) !important;
	color: #f9d790 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	white-space: nowrap;
	box-shadow: none !important;
	cursor: pointer;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content .sth-text-button:hover {
	border-color: #f4ac64 !important;
	background: #f4ac64 !important;
	color: #03070c !important;
	transform: none !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content .sth-text-button.is-pause {
	border-color: rgba(225, 94, 85, 0.34) !important;
	background: rgba(225, 94, 85, 0.09) !important;
	color: #f1a6a0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content .sth-text-button.is-pause:hover {
	border-color: #e15e55 !important;
	background: #e15e55 !important;
	color: #fff !important;
}

/* My courses empty state: one compact component instead of a tall blank panel. */
body.logged-in.woocommerce-account .studiare-course-empty {
	display: flex;
	min-height: 300px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
	padding: 42px 24px;
	border: 1px dashed rgba(101, 158, 184, 0.34);
	border-radius: 16px;
	background:
		radial-gradient(circle at 50% 0, rgba(40, 83, 110, 0.2), transparent 18rem),
		rgba(9, 17, 26, 0.62);
	text-align: center;
}

body.logged-in.woocommerce-account .studiare-course-empty img {
	width: min(150px, 42vw);
	height: auto;
	max-height: 118px;
	opacity: .72;
}

body.logged-in.woocommerce-account .studiare-course-empty__copy h2 {
	margin: 0 0 7px !important;
	color: #f7f2e9 !important;
	font-size: 18px;
}

body.logged-in.woocommerce-account .studiare-course-empty__copy p {
	margin: 0 !important;
	color: #aebdca !important;
	font-size: 13px;
}

body.logged-in.woocommerce-account .studiare-course-empty .button {
	min-width: 150px;
	margin: 0 !important;
}

body.logged-in.woocommerce-account.woocommerce-dashboard .woocommerce-MyAccount-content {
	padding-block: 0 30px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0 !important;
}

body.logged-in.woocommerce-account :where(.stl-heading, .sth-heading, .sth-hero, .stq-page-heading, .stq-thread-header, .pn-page-heading) {
	min-height: 112px;
	margin-bottom: 18px !important;
	padding: 20px 22px !important;
	border: 1px solid var(--account-line) !important;
	border-radius: 16px !important;
	background:
		radial-gradient(circle at 8% 20%, rgba(244, 172, 100, 0.12), transparent 14rem),
		linear-gradient(115deg, #142331, #28536e) !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.stl-heading, .sth-heading, .sth-hero, .stq-page-heading, .stq-thread-header, .pn-page-heading) :where(h1, h2) {
	margin: 2px 0 6px !important;
	color: var(--account-text) !important;
	font-size: clamp(20px, 2vw, 25px) !important;
	line-height: 1.55;
}

body.logged-in.woocommerce-account :where(.stl-heading, .sth-heading, .sth-hero, .stq-page-heading, .stq-thread-header, .pn-page-heading) p {
	margin: 0 !important;
	color: #d7e1e7 !important;
	font-size: 12px;
}

body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) {
	display: flex;
	width: fit-content;
	max-width: 100%;
	gap: 5px !important;
	margin: 0 0 18px !important;
	padding: 5px !important;
	border: 1px solid var(--account-line) !important;
	border-radius: 12px !important;
	background: var(--account-panel) !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) a {
	min-height: 38px;
	padding: 8px 16px !important;
	border-radius: 8px !important;
	color: var(--account-muted) !important;
}

body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) a:is(:hover, .is-active) {
	background: var(--account-gold) !important;
	color: #03070c !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.stl-grid, .sth-grid, .stq-list, .sth-submission-list) {
	display: grid;
	gap: 12px !important;
}

body.logged-in.woocommerce-account :where(.stl-card, .sth-assignment-card, .stq-question-row, .sth-submission-row) {
	min-height: 82px;
	padding: 16px 18px !important;
	border: 1px solid var(--account-line) !important;
	border-radius: 14px !important;
	background: var(--account-card) !important;
	box-shadow: none !important;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

body.logged-in.woocommerce-account :where(.stl-card, .sth-assignment-card, .stq-question-row, .sth-submission-row):hover {
	border-color: var(--account-line-strong) !important;
	background: var(--account-card-2) !important;
	transform: translateY(-1px);
}

body.logged-in.woocommerce-account :where(.stl-empty, .sth-empty, .stq-empty, .studi_empty_dl, .studiare-quiz-empty) {
	display: flex !important;
	min-height: 220px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 34px 22px !important;
	border: 1px dashed rgba(101, 158, 184, 0.34) !important;
	border-radius: 16px !important;
	background: rgba(9, 17, 26, 0.62) !important;
	box-shadow: none !important;
	text-align: center;
}

body.logged-in.woocommerce-account :where(.stl-empty, .sth-empty, .stq-empty, .studi_empty_dl, .studiare-quiz-empty) img {
	max-width: 128px !important;
	max-height: 110px;
	opacity: .58;
}

body.logged-in.woocommerce-account :where(.stl-empty, .sth-empty, .stq-empty, .studi_empty_dl, .studiare-quiz-empty) :where(strong, p) {
	max-width: 560px;
	margin: 0 !important;
}

body.logged-in.woocommerce-account :where(
	.stl-panel,
	.sth-panel,
	.stq-card,
	.pn-compose-card,
	.pn-history,
	.govahiar-certificate-info-form fieldset,
	.farazsms-up-nav,
	.farazsms-up-main
) {
	padding: 20px !important;
	border: 1px solid var(--account-line) !important;
	border-radius: 15px !important;
	background: var(--account-card) !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.stl-form-grid, .sth-form-grid) {
	gap: 14px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	min-height: 44px;
	border-radius: 9px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content input[type="file"]::file-selector-button {
	margin-inline-end: 12px;
	padding: 8px 12px;
	border: 0;
	border-radius: 7px;
	background: rgba(244, 172, 100, 0.14);
	color: var(--account-gold-light);
	cursor: pointer;
}

body.logged-in.woocommerce-account :where(.stl-state, .sth-status, .stq-status, .sth-state, .event_booking_status) {
	border: 1px solid rgba(101, 158, 184, 0.18) !important;
	background: rgba(101, 158, 184, 0.1) !important;
	color: #c3d0d8 !important;
}

body.logged-in.woocommerce-account :where(.stl-state-upcoming, .sth-status-pending, .stq-status-unassigned, .event_booking_status.pending) {
	border-color: rgba(244, 172, 100, 0.3) !important;
	background: rgba(244, 172, 100, 0.12) !important;
	color: var(--account-gold-light) !important;
}

body.logged-in.woocommerce-account :where(.stl-state-live, .sth-status-needs_revision, .event_booking_status.cancelled) {
	border-color: rgba(225, 94, 85, 0.32) !important;
	background: rgba(225, 94, 85, 0.12) !important;
	color: #f1a6a0 !important;
}

body.logged-in.woocommerce-account :where(.sth-status-approved, .sth-status-submitted, .stq-status-answered, .event_booking_status.completed) {
	border-color: rgba(101, 158, 184, 0.34) !important;
	background: rgba(40, 83, 110, 0.34) !important;
	color: #cfe3ec !important;
}

body.logged-in.woocommerce-account :where(.sth-table-wrap, .stl-table-wrap, .swss_table_holder, .shop_table, .studiare-quiz-results-table) {
	overflow: hidden auto;
	border: 1px solid var(--account-line) !important;
	border-radius: 14px !important;
	background: var(--account-card) !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account :where(.sth-table, .stl-table, .shop_table, .studiare-quiz-results-table) th {
	background: var(--account-panel) !important;
	color: var(--account-gold-light) !important;
	font-size: 11px;
}

body.logged-in.woocommerce-account :where(.sth-table, .stl-table, .shop_table, .studiare-quiz-results-table) td {
	color: var(--account-muted) !important;
}

body.logged-in.woocommerce-account .pdp-default.sth-calendar {
	border-color: var(--account-line) !important;
	background: var(--account-card) !important;
	color: var(--account-text) !important;
	box-shadow: 0 18px 46px rgba(0, 0, 0, .38) !important;
}

body.logged-in.woocommerce-account .pdp-default.sth-calendar :where(.pdp-header, .dows, .pdp-footer) {
	background: var(--account-panel) !important;
	color: var(--account-gold-light) !important;
}

body.logged-in.woocommerce-account .pdp-default.sth-calendar :where(.days, .nextArrow, .prevArrow, .yearSelect, .monthSelect) {
	border-color: var(--account-line) !important;
	background: var(--account-card) !important;
	color: var(--account-text) !important;
}

body.logged-in.woocommerce-account .pdp-default.sth-calendar .day {
	border-color: transparent !important;
	color: var(--account-muted) !important;
}

body.logged-in.woocommerce-account .pdp-default.sth-calendar .day:is(:hover, .today, .selday) {
	background: var(--account-gold) !important;
	color: #03070c !important;
}

@media (max-width: 1200px) {
	body.sc_woonav_in_side.logged-in.woocommerce-account .woocommerce-MyAccount-content {
		width: 100% !important;
	}

	body.logged-in.woocommerce-account:not(.woocommerce-dashboard) .woocommerce-MyAccount-content {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	body.logged-in.woocommerce-account .main-page-content {
		padding: 10px 8px 40px !important;
	}

	body.logged-in.woocommerce-account:not(.woocommerce-dashboard) .woocommerce-MyAccount-content {
		padding: 14px !important;
		border-radius: 15px !important;
	}

	body.logged-in.woocommerce-account :where(.stl-heading, .sth-heading, .sth-hero, .stq-page-heading, .stq-thread-header, .pn-page-heading) {
		min-height: 0;
		padding: 17px !important;
	}

	body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) {
		width: 100%;
		overflow-x: auto;
	}

	body.logged-in.woocommerce-account :where(.stl-tabs, .sth-tabs, .stq-student-tabs) a {
		flex: 1 0 auto;
		white-space: nowrap;
		text-align: center;
	}

	body.logged-in.woocommerce-account :where(.stl-card, .sth-assignment-card, .stq-question-row, .sth-submission-row) {
		padding: 14px !important;
	}

	body.logged-in.woocommerce-account :where(.stl-empty, .sth-empty, .stq-empty, .studi_empty_dl, .studiare-quiz-empty) {
		min-height: 180px;
		padding: 28px 16px !important;
	}
}

/* Final interaction repair: intentionally last in the cascade. */
body.logged-in.woocommerce-account .sth-table tbody td {
	background: transparent !important;
	color: #d6e0e6 !important;
}

body.logged-in.woocommerce-account .sth-table tbody tr:hover td {
	background: #182a39 !important;
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .sth-table .sth-assignment-link strong {
	color: #f7f2e9 !important;
}

body.logged-in.woocommerce-account .sth-table .sth-assignment-link span {
	color: #f4ac64 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content button.sth-text-button {
	border: 1px solid rgba(244, 172, 100, 0.38) !important;
	background: rgba(244, 172, 100, 0.1) !important;
	color: #f9d790 !important;
	box-shadow: none !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content button.sth-text-button:hover {
	border-color: #f4ac64 !important;
	background: #f4ac64 !important;
	color: #03070c !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content button.sth-text-button.is-pause {
	border-color: rgba(225, 94, 85, 0.34) !important;
	background: rgba(225, 94, 85, 0.09) !important;
	color: #f1a6a0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content button.sth-text-button.is-pause:hover {
	border-color: #e15e55 !important;
	background: #e15e55 !important;
	color: #fff !important;
}

@media (max-width: 760px) {
	body.logged-in.woocommerce-account .sth-table tr {
		background: #142331 !important;
	}

	body.logged-in.woocommerce-account .sth-table td:first-child,
	body.logged-in.woocommerce-account .sth-table tbody tr:hover td:first-child {
		background: #101d28 !important;
	}

	body.logged-in.woocommerce-account .sth-table td::before {
		color: #8fa6b6 !important;
	}

	body.logged-in.woocommerce-account .woocommerce-MyAccount-content button.sth-text-button {
		width: 100%;
	}

	body.logged-in.woocommerce-account .studiare-course-empty {
		min-height: 240px;
		padding: 32px 18px;
	}
}

/* Navigation contrast and hover behavior must beat the legacy theme rules. */
body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a,
body.logged-in.woocommerce-account .mobile-dropdown-menu .top_accoun_nav_item a {
	color: #c7d5dd !important;
	box-shadow: none !important;
	transform: none !important;
}

body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a:hover,
body.logged-in.woocommerce-account .mobile-dropdown-menu .top_accoun_nav_item a:hover {
	border-color: rgba(244, 172, 100, 0.26) !important;
	background: #1b3040 !important;
	color: #f9d790 !important;
	box-shadow: none !important;
	transform: none !important;
}

body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation ul li.is-active a,
body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation ul li.is-active a:hover,
body.logged-in.woocommerce-account .mobile-dropdown-menu .top_accoun_nav_item.is-active a,
body.logged-in.woocommerce-account .mobile-dropdown-menu .top_accoun_nav_item.is-active a:hover {
	border-color: #f4ac64 !important;
	background: #f4ac64 !important;
	color: #03070c !important;
	box-shadow: 0 8px 20px rgba(244, 172, 100, 0.16) !important;
}

body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation ul li.is-active a::before,
body.logged-in.woocommerce-account .mobile-dropdown-menu .top_accoun_nav_item.is-active a::before {
	color: #03070c !important;
}

/* Comment approval labels inherited white-on-pale colors from the old theme. */
body.logged-in.woocommerce-account .singleCommentHolder .comSitu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 104px;
	padding: 6px 10px;
	border: 1px solid rgba(101, 158, 184, 0.24) !important;
	border-radius: 999px;
	background: #09111a !important;
	color: #d6e0e6 !important;
	font-size: 11px;
	font-weight: 700;
}

body.logged-in.woocommerce-account .singleCommentHolder .comSitu:has(.text-success),
body.logged-in.woocommerce-account .singleCommentHolder .comSitu .text-success {
	border-color: rgba(78, 188, 139, 0.3) !important;
	background: rgba(78, 188, 139, 0.12) !important;
	color: #8ed9b5 !important;
}

body.logged-in.woocommerce-account .singleCommentHolder .comSitu:has(.text-warning),
body.logged-in.woocommerce-account .singleCommentHolder .comSitu .text-warning {
	border-color: rgba(244, 172, 100, 0.3) !important;
	background: rgba(244, 172, 100, 0.12) !important;
	color: #f9d790 !important;
}

body.logged-in.woocommerce-account .singleCommentHolder .comSitu:has(.text-danger),
body.logged-in.woocommerce-account .singleCommentHolder .comSitu .text-danger {
	border-color: rgba(225, 94, 85, 0.3) !important;
	background: rgba(225, 94, 85, 0.12) !important;
	color: #f1a6a0 !important;
}
