:root {
	--twcud-primary: var(--tutor-color-primary, #3e64de);
	--twcud-primary-hover: #3154c8;
	--twcud-text: #1f2937;
	--twcud-muted: #667085;
	--twcud-border: #e5e7eb;
	--twcud-soft: #f8fafc;
	--twcud-surface: #fff;
}
.twcud-commerce { color: var(--twcud-text); }
.twcud-header { margin: 0 0 8px; }
.twcud-eyebrow { margin: 0 0 5px; color: var(--twcud-primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.twcud-intro,.twcud-heading p { max-width: 720px; margin: 8px 0 22px; color: var(--twcud-muted); }
.twcud-section-title { margin: 0 0 18px; font-size: 22px; line-height: 1.3; }
.twcud-nav { margin: 0 0 28px; border-bottom: 1px solid var(--twcud-border); }
.twcud-nav__inner { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 1px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.twcud-nav__link { position: relative; flex: 0 0 auto; padding: 11px 14px 13px; border-radius: 7px 7px 0 0; color: #4b5563; font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.twcud-nav__link:hover { background: rgba(62,100,222,.06); color: var(--twcud-primary); }
.twcud-nav__link.is-active { color: var(--twcud-primary); }
.twcud-nav__link.is-active::after { content: ""; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 3px; border-radius: 3px 3px 0 0; background: var(--twcud-primary); }
.twcud-nav__link:focus-visible,.twcud-button:focus-visible,.twcud-card:focus-visible { outline: 3px solid rgba(62,100,222,.28); outline-offset: 2px; }
.twcud-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.twcud-card { display: flex; min-height: 145px; flex-direction: column; padding: 20px; border: 1px solid var(--twcud-border); border-radius: 10px; background: var(--twcud-surface); color: var(--twcud-text); text-decoration: none !important; transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.twcud-card:hover { border-color: rgba(62,100,222,.42); box-shadow: 0 8px 22px rgba(31,41,55,.08); transform: translateY(-2px); }
.twcud-card span { font-weight: 700; }
.twcud-card strong { margin: 14px 0 8px; font-size: 30px; line-height: 1; }
.twcud-card small { margin-top: auto; color: var(--twcud-muted); }
.twcud-heading--action { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.twcud-heading--action .twcud-section-title { margin-bottom: 4px; }
.twcud-heading--action p { margin-bottom: 18px; }
.twcud-button,.twcud-commerce .button,.twcud-native-account .woocommerce-MyAccount-content .button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid var(--twcud-primary); border-radius: 6px; background: var(--twcud-primary); color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.25; text-decoration: none !important; box-shadow: none; cursor: pointer; }
.twcud-button:hover,.twcud-commerce .button:hover,.twcud-native-account .woocommerce-MyAccount-content .button:hover { background: var(--twcud-primary-hover); border-color: var(--twcud-primary-hover); }
.twcud-button--secondary { background: #fff; color: var(--twcud-primary) !important; }
.twcud-button--secondary:hover { background: rgba(62,100,222,.07); color: var(--twcud-primary) !important; }
.twcud-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.twcud-table-wrap { width: 100%; overflow-x: auto; }
.twcud-table { width: 100%; border: 1px solid var(--twcud-border); border-collapse: separate; border-spacing: 0; border-radius: 9px; overflow: hidden; background: #fff; }
.twcud-table th,.twcud-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--twcud-border); text-align: left; vertical-align: middle; }
.twcud-table th { background: var(--twcud-soft); font-size: 13px; font-weight: 700; }
.twcud-table tr:last-child td { border-bottom: 0; }
.twcud-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: rgba(62,100,222,.09); color: var(--twcud-primary); font-size: 12px; font-weight: 700; }
.twcud-pagination { margin-top: 22px; }
.twcud-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 18px; margin-bottom: 22px; }
.twcud-fields .form-row { float: none; width: auto; margin: 0; }
.twcud-fields .form-row-wide,#billing_address_1_field,#billing_address_2_field { grid-column: 1/-1; }
.twcud-commerce input,.twcud-commerce select,.twcud-commerce textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d7d9dd; border-radius: 7px; background: #fff; }
.twcud-commerce input:focus,.twcud-commerce select:focus,.twcud-commerce textarea:focus { outline: 3px solid rgba(62,100,222,.16); outline-offset: 1px; border-color: var(--twcud-primary); }
.twcud-commerce table.shop_table,.twcud-native-account table.shop_table { width: 100%; border: 1px solid var(--twcud-border); border-collapse: separate; border-spacing: 0; border-radius: 9px; overflow: hidden; }
.twcud-commerce table.shop_table th,.twcud-commerce table.shop_table td,.twcud-native-account table.shop_table th,.twcud-native-account table.shop_table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--twcud-border); text-align: left; }
.twcud-native-account .woocommerce { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 28px; align-items: start; }
.twcud-native-account .woocommerce-MyAccount-navigation { padding: 10px; border: 1px solid var(--twcud-border); border-radius: 10px; background: #fff; }
.twcud-native-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.twcud-native-account .woocommerce-MyAccount-navigation a { display: block; padding: 11px 13px; border-radius: 6px; color: #374151; font-weight: 600; text-decoration: none; }
.twcud-native-account .woocommerce-MyAccount-navigation a:hover,.twcud-native-account .woocommerce-MyAccount-navigation .is-active a { background: rgba(62,100,222,.09); color: var(--twcud-primary); }
.twcud-native-account .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
@media (max-width: 767px) {
	.twcud-summary,.twcud-fields { grid-template-columns: 1fr; }
	.twcud-fields .form-row-wide,#billing_address_1_field,#billing_address_2_field { grid-column: auto; }
	.twcud-heading--action { flex-direction: column; }
	.twcud-heading--action .twcud-button { width: 100%; }
	.twcud-table thead { display: none; }
	.twcud-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--twcud-border); }
	.twcud-table td { display: flex; justify-content: space-between; gap: 16px; border-bottom: 0; text-align: right; }
	.twcud-table td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	.twcud-native-account .woocommerce { grid-template-columns: 1fr; }
	.twcud-native-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; overflow-x: auto; }
	.twcud-native-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .twcud-card { transition: none; } }
