/**
 * Seal Tutors role-aware dashboard.
 * All rules are scoped to the dashboard wrapper so the template is portable.
 */
.st_profile_dashboard {
	--st_navy: #071b4a;
	--st_navy_2: #10295f;
	--st_gold: #f5b51b;
	--st_gold_soft: #fff5d8;
	--st_mint: #dcf7ef;
	--st_blue_soft: #eef5ff;
	--st_bg: #fffdf8;
	--st_ink: #111827;
	--st_text: #5d6678;
	--st_muted: #8b95a8;
	--st_line: #e8edf5;
	--st_success: #35af62;
	--st_danger: #ef4444;
	--st_shadow: 0 24px 70px rgba(7, 27, 74, .12);
	--st_shadow_soft: 0 14px 40px rgba(7, 27, 74, .08);
	--sidebar_w: 292px;
	margin: 0;
	color: var(--st_ink);
	background: var(--st_bg);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dashboard-page { margin: 0 !important; background: var(--st_bg, #fffdf8); overflow-x: hidden; }
.dashboard-page > #wpadminbar + .st_profile_dashboard,
.dashboard-page .site-main,
.dashboard-page .entry-content { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.dashboard-page article,
.dashboard-page .entry-content > * { margin: 0 !important; max-width: none !important; }
.st_profile_dashboard *, .st_profile_dashboard *::before, .st_profile_dashboard *::after { box-sizing: border-box; }
.st_profile_dashboard button, .st_profile_dashboard input, .st_profile_dashboard select, .st_profile_dashboard textarea { font: inherit; }
.st_profile_dashboard a { color: inherit; text-decoration: none; }

.st_dash_shell {
	min-height: 100vh;
	display: grid;
	grid-template-columns: var(--sidebar_w) minmax(0, 1fr);
	background: linear-gradient(115deg, #fffdf8 0%, #fff 46%, #f7fffc 100%);
	position: relative;
	isolation: isolate;
}
.st_dash_shell::before, .st_dash_shell::after { content: ""; position: fixed; border-radius: 50%; z-index: -1; pointer-events: none; }
.st_dash_shell::before { right: -180px; top: -170px; width: 520px; height: 520px; background: var(--st_gold_soft); }
.st_dash_shell::after { left: -210px; bottom: 18%; width: 430px; height: 430px; background: var(--st_mint); opacity: .9; }

.st_sidebar {
	position: sticky; top: 0; height: 100vh; z-index: 40;
	display: flex; flex-direction: column; padding: 34px 22px;
	background: rgba(255,255,255,.9); backdrop-filter: blur(22px);
	border-right: 1px solid rgba(7,27,74,.07); box-shadow: 12px 0 38px rgba(7,27,74,.045);
}
.st_sidebar_close { display: none; position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border: 0; border-radius: 13px; background: var(--st_blue_soft); color: var(--st_navy); }
.st_brand { display: grid; place-items: center; min-height: 84px; margin-bottom: 32px; }
.st_brand_logo { width: 195px; max-height: 72px; object-fit: contain; }
.st_sidebar_nav { display: grid; gap: 9px; }
.st_side_link {
	width: 100%; display: flex; align-items: center; gap: 13px; padding: 15px 18px;
	border-radius: 20px; border: 0; background: transparent; color: var(--st_navy);
	font-size: 15px; font-weight: 800; text-align: left; cursor: pointer; position: relative;
	transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.st_side_link i { width: 22px; text-align: center; color: #75819a; transition: .25s ease; }
.st_side_link:hover { background: #fff; box-shadow: 0 16px 35px rgba(7,27,74,.07); transform: translateX(5px); }
.st_side_link:hover i, .st_side_link.st_active i { color: var(--st_gold); }
.st_side_link.st_active { background: linear-gradient(135deg,#fff,#f4f7ff); box-shadow: 0 16px 35px rgba(7,27,74,.09); }
.st_side_link.st_active::before { content: ""; position: absolute; left: -22px; top: 11px; bottom: 11px; width: 5px; border-radius: 0 999px 999px 0; background: var(--st_gold); }
.st_sidebar_foot { margin-top: auto; padding: 18px; border-radius: 24px; background: var(--st_navy); color: #fff; overflow: hidden; position: relative; }
.st_sidebar_foot::before { content: ""; position: absolute; right: -40px; top: -45px; width: 120px; height: 120px; border-radius: 50%; background: rgba(245,181,27,.23); }
.st_sidebar_foot b, .st_sidebar_foot span { position: relative; z-index: 1; display: block; }
.st_sidebar_foot b { margin-bottom: 5px; font-size: 15px; }.st_sidebar_foot span { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; }

.st_main { min-width: 0; position: relative; }
.st_topbar {
	position: sticky; top: 0; z-index: 30; min-height: 116px; display: flex; align-items: center; justify-content: space-between;
	padding: 24px clamp(22px,3vw,48px); background: rgba(255,255,255,.88); backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(7,27,74,.07); box-shadow: 0 13px 38px rgba(7,27,74,.045);
}
.admin-bar .st_topbar { top: 32px; }
.st_top_left { display: flex; align-items: center; gap: 24px; min-width: 0; }
.st_mobile_menu_btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 16px; background: var(--st_navy); color: #fff; }
.st_payment_badge { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 26px; background: linear-gradient(145deg,#e9f4ff,#fff); box-shadow: var(--st_shadow_soft); color: #0070ba; font-size: 30px; font-weight: 900; }
.st_welcome { min-width: 0; }.st_welcome small { display: block; margin-bottom: 4px; color: var(--st_muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.st_welcome h1 { margin: 0; color: var(--st_navy); font-size: 24px; letter-spacing: -.035em; font-weight: 900; }.st_welcome h1 span { color: #8b8f9a; font-weight: 700; }
.st_top_actions { display: flex; align-items: center; gap: 12px; }.st_icon_btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--st_line); border-radius: 16px; background: #fff; color: var(--st_navy); box-shadow: 0 12px 28px rgba(7,27,74,.06); cursor: pointer; transition: .25s ease; }
.st_icon_btn:hover { transform: translateY(-3px); background: var(--st_gold_soft); }
.st_content { width: 100%; max-width: 1520px; margin-inline: auto; padding: 38px clamp(22px,3vw,48px) 58px; }
.st_page_panel, .st_class_panel { display: none; }.st_page_panel.st_active, .st_class_panel.st_active { display: block; }
.st_page_head { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 26px; }
.st_kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 9px 13px; border-radius: 999px; background: rgba(245,181,27,.14); color: var(--st_navy); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.st_kicker i { color: var(--st_gold); }
.st_page_title { margin: 0; color: var(--st_navy); font-size: clamp(34px,4vw,54px); line-height: 1; letter-spacing: -.055em; font-weight: 900; }
.st_page_sub { max-width: 720px; margin: 10px 0 0; color: var(--st_text); font-size: 16px; line-height: 1.65; }
.st_btn { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 900; cursor: pointer; transition: .25s ease; }
.st_btn:hover { transform: translateY(-3px); }.st_btn_primary { background: var(--st_navy); color: #fff; box-shadow: 0 16px 34px rgba(7,27,74,.18); }.st_btn_gold { background: var(--st_gold); color: var(--st_navy); }
.st_card { background: rgba(255,255,255,.94); border: 1px solid rgba(7,27,74,.08); border-radius: 32px; box-shadow: var(--st_shadow_soft); overflow: hidden; }.st_card_pad { padding: 28px; }

.st_dash_grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.st_about_card { display: grid; gap: 14px; }.st_info_row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f4f9; }.st_info_row:last-child { border-bottom: 0; }.st_info_row span { color: #9aa3b3; font-weight: 800; }.st_info_row b { color: var(--st_navy); font-weight: 900; overflow-wrap: anywhere; }
.st_stat_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }.st_stat { display: flex; align-items: center; gap: 18px; padding: 25px; border: 1px solid var(--st_line); border-radius: 28px; background: #fff; box-shadow: 0 12px 34px rgba(7,27,74,.05); transition: .25s ease; }.st_stat:hover { transform: translateY(-6px); }
.st_stat_icon { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 30px; }.st_stat_icon.blue { background: var(--st_blue_soft); color: #3777ff; }.st_stat_icon.gold { background: var(--st_gold_soft); color: var(--st_gold); }.st_stat strong { display: block; color: var(--st_navy); font-size: 38px; line-height: 1; font-weight: 900; }.st_stat small { display: block; margin-top: 8px; color: var(--st_navy); font-weight: 800; }
.st_calendar_card { padding: 20px; }.st_calendar_head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 14px; }.st_calendar_head h2 { margin: 0; color: var(--st_navy); font-size: 30px; font-weight: 900; letter-spacing: -.04em; }.st_calendar_legend { display: flex; gap: 10px; flex-wrap: wrap; }.st_legend { display: flex; align-items: center; gap: 6px; color: var(--st_text); font-size: 12px; font-weight: 900; }.st_legend::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--st_navy); }.st_legend.pending::before { background: #FBC02D; }.st_legend.confirmed::before { background: #2f9e68; }.st_legend.gold::before { background: var(--st_gold); }
#ai_st_calendar { --fc-border-color: #e8edf5; --fc-page-bg-color: transparent; --fc-neutral-bg-color: #f8fafc; --fc-today-bg-color: transparent; --fc-event-bg-color: #071b4a; --fc-event-border-color: #fbc02c; }.st_profile_dashboard .fc .fc-toolbar-title { color: var(--st_navy); font-size: 28px !important; font-weight: 900; }.st_profile_dashboard .fc .fc-button-primary { border-color: var(--st_navy) !important; border-radius: 12px !important; background: var(--st_navy) !important; font-weight: 900 !important; text-transform: capitalize !important; }.st_profile_dashboard .fc .fc-daygrid-event { padding: 4px 6px; border-radius: 10px; font-weight: 900; }.st_profile_dashboard .fc .fc-daygrid-day-frame { min-height: 86px; }

.st_profile_grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: start; }.st_upload_box { padding: 26px; text-align: center; }.st_avatar_big { width: 150px; height: 150px; display: grid; place-items: center; margin-inline: auto; border-radius: 50%; background: linear-gradient(135deg,var(--st_navy),#173c8c); color: #fff; font-size: 52px; font-weight: 900; box-shadow: 0 22px 52px rgba(7,27,74,.18); overflow: hidden; position: relative; }.st_avatar_big img { width: 100%; height: 100%; object-fit: cover; }.st_avatar_big::after { content: ""; position: absolute; right: 7px; bottom: 12px; width: 28px; height: 28px; border: 4px solid #fff; border-radius: 50%; background: var(--st_success); }
.st_upload_box h3, .st_form_card h3 { margin: 18px 0 8px; color: var(--st_navy); font-size: 26px; font-weight: 900; letter-spacing: -.04em; }.st_upload_box p { max-width: 100%; color: var(--st_text); line-height: 1.65; }.st_avatar_plugin { padding: 20px; border: 1.5px dashed #d8dfeb; border-radius: 24px; background: #fbfcff; }
.st_profile_dashboard .st_top_avatar { overflow: hidden; border-radius: 22px; }
.st_profile_dashboard .st_top_avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.st_profile_dashboard .st_avatar_big { border-radius: 28px; }
.st_profile_dashboard .st_field label { position: static; left: auto; top: auto; z-index: auto; display: block; margin: 0 0 8px; padding: 0; color: var(--st_navy); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.st_profile_dashboard .st_field input, .st_profile_dashboard .st_field select, .st_profile_dashboard .st_field textarea { padding: 0 16px; }
.st_profile_dashboard .st_field textarea { padding-block: 16px; }

/* WP User Profile Avatar: retain its behavior while matching the dashboard. */
.st_avatar_plugin, .st_avatar_plugin .update-user-profile-avatar { width: 100%; text-align: center; }
.st_avatar_plugin .form-table, .st_avatar_plugin .form-table tbody, .st_avatar_plugin .form-table tr, .st_avatar_plugin .form-table td { display: block; width: 100%; margin: 0; padding: 0; border: 0; }
.st_avatar_plugin .form-table p { margin: 0 0 14px; }
.st_avatar_plugin #wpupa-url { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid var(--st_line); border-radius: 14px; background: #fff; color: var(--st_navy); font-weight: 700; outline: 0; }
.st_avatar_plugin #wpupa-url:focus { border-color: rgba(245,181,27,.8); box-shadow: 0 0 0 4px rgba(245,181,27,.13); }
.st_avatar_plugin #wp-user-profile-avatar-add { min-height: 46px; padding: 0 18px; border: 1px solid var(--st_line); border-radius: 999px; background: #fff; color: var(--st_navy); font-weight: 900; box-shadow: 0 10px 24px rgba(7,27,74,.08); cursor: pointer; }
.st_avatar_plugin #wp-user-profile-avatar-add-button { display: flex; justify-content: center; margin: 0 0 26px; }
.st_avatar_plugin #wp-user-profile-avatar-images-existing { margin-top: 20px; }
.st_avatar_plugin #wp-user-profile-avatar-images-existing td { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px; }
.st_avatar_plugin #wp-user-profile-avatar-preview { display: none; }
.st_avatar_plugin #wp-user-profile-avatar-thumbnail { display: grid; justify-items: center; gap: 7px; margin: 0; }
.st_avatar_plugin #wp-user-profile-avatar-thumbnail img { width: 150px; height: 150px; max-height: none; display: block; border: 0; border-radius: 24px; object-fit: cover; box-shadow: 0 18px 40px rgba(7,27,74,.16); }
.st_avatar_plugin #wp-user-profile-avatar-thumbnail .description { color: var(--st_text); font-size: 12px; font-weight: 800; }
.st_avatar_plugin #wp-user-profile-avatar-undo-button { width: 100%; margin: 0; }
.st_avatar_plugin #wp-user-profile-avatar-undo { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: #eef2f8; color: var(--st_text); font-weight: 800; cursor: pointer; }
.st_avatar_plugin .st_avatar_actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.st_avatar_plugin .st_avatar_actions p { margin: 0; }
.st_avatar_plugin #wp-user-profile-avatar-update-profile, .st_avatar_plugin #wp-user-profile-avatar-remove { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 900; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.st_avatar_plugin #wp-user-profile-avatar-update-profile { background: var(--st_navy); color: #fff; box-shadow: 0 16px 34px rgba(7,27,74,.18); }
.st_avatar_plugin #wp-user-profile-avatar-remove { background: #fff0f3; color: #a51d42; box-shadow: inset 0 0 0 1px rgba(165,29,66,.14); }
.st_avatar_plugin #wp-user-profile-avatar-update-profile:hover, .st_avatar_plugin #wp-user-profile-avatar-remove:hover { transform: translateY(-2px); }
.st_avatar_plugin #upload-avatar-responce { width: 100%; margin-top: 14px; text-align: center; font-size: 13px; font-weight: 900; }
.st_form_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.st_field label { display: block; margin: 0 0 8px; color: var(--st_navy); font-size: 13px; font-weight: 800; }.st_field input, .st_field select, .st_field textarea { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--st_line); border-radius: 16px; background: #fbfcff; color: var(--st_navy); font-weight: 700; outline: 0; transition: .25s ease; }.st_field textarea { min-height: 120px; padding: 16px; resize: vertical; }.st_field input:focus, .st_field select:focus, .st_field textarea:focus { border-color: rgba(245,181,27,.8); background: #fff; box-shadow: 0 0 0 4px rgba(245,181,27,.13); }.st_field.st_full { grid-column: 1/-1; }.st_field_hint { display: block; margin-top: 7px; color: #8792a5; font-size: 12px; font-weight: 700; }.st_form_actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.st_class_tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }.st_class_tab { padding: 14px 18px; border: 1px solid var(--st_navy); border-radius: 14px; background: #fff; color: #175dff; font-weight: 800; cursor: pointer; transition: .25s ease; }.st_class_tab:hover { transform: translateY(-3px); }.st_class_tab.st_active { background: var(--st_navy); color: #fff; box-shadow: 0 16px 36px rgba(7,27,74,.15); }
.st_table_shell { overflow: hidden; border: 1px solid rgba(7,27,74,.08); border-radius: 30px; background: #fff; box-shadow: var(--st_shadow_soft); }.st_table_scroll { overflow: auto; }.st_classes_table { width: 100%; min-width: 930px; margin: 0 !important; border-collapse: separate; border-spacing: 0; }.st_classes_table th { padding: 16px 18px; border: 0; background: var(--st_navy); color: #fff; text-align: left; font-size: 14px; font-weight: 900; }.st_classes_table td { padding: 15px 18px; border: 0; border-bottom: 1px solid var(--st_line); color: #2e3440; font-weight: 650; vertical-align: middle; }.st_classes_table tr:nth-child(even) td { background: #fcfdff; }.st_classes_table tbody tr:hover td { background: #fffaf0; }
.st_mobile_class_cards { display: none; gap: 14px; }.st_class_card_mobile { padding: 18px; border: 1px solid rgba(7,27,74,.08); border-radius: 24px; background: #fff; box-shadow: var(--st_shadow_soft); }.st_class_card_top { margin-bottom: 14px; }.st_booking_badge { display: inline-flex; padding: 8px 11px; border-radius: 999px; background: var(--st_gold_soft); color: var(--st_navy); font-size: 12px; font-weight: 900; }.st_class_meta { display: grid; gap: 9px; margin-bottom: 15px; }.st_class_meta span { display: flex; justify-content: space-between; gap: 14px; color: var(--st_text); font-size: 13px; font-style: normal; }.st_class_meta em { font-style: normal; }.st_class_meta b { color: var(--st_navy); text-align: right; }.st_action_group { display: flex; gap: 8px; flex-wrap: wrap; }.st_action_group a, .st_action_group button, .st_classes_table a, .st_classes_table button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--st_navy); border-radius: 10px; background: #fff; color: var(--st_navy); font-weight: 800; }
.st_empty_state { padding: 58px 22px; text-align: center; }.st_empty_icon { width: 86px; height: 86px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 26px; background: var(--st_gold_soft); color: var(--st_gold); font-size: 34px; }

.st_assignment_wrap { overflow: hidden; }.st_assignment_wrap .ai_st_tabs_content_inner, .st_assignment_wrap form { max-width: none !important; }.st_assignment_wrap select, .st_assignment_wrap input, .st_assignment_wrap textarea { border-radius: 14px !important; }
.st_ebooks_hero { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 24px; padding: 30px; border-radius: 34px; background: linear-gradient(135deg,var(--st_navy),#123377); color: #fff; box-shadow: var(--st_shadow); }
.st_ebooks_hero::before { content: ""; position: absolute; right: -85px; top: -95px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: rgba(245,181,27,.22); }
.st_ebooks_hero::after { content: ""; position: absolute; left: -120px; bottom: -130px; z-index: -1; width: 300px; height: 300px; border-radius: 50%; background: rgba(220,247,239,.13); }
.st_ebooks_hero_grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.st_ebooks_hero h3 { margin: 0 0 10px; color: #fff; font-size: 34px; line-height: 1; letter-spacing: -.045em; font-weight: 900; }
.st_ebooks_hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.76); line-height: 1.7; }
.st_ebooks_filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.st_ebook_chip { padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.09); color: #fff; font-weight: 900; cursor: pointer; transition: .25s ease; }
.st_ebook_chip:hover, .st_ebook_chip.st_active { border-color: var(--st_gold); background: var(--st_gold); color: var(--st_navy); transform: translateY(-2px); }
.st_library_stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; min-width: 310px; }
.st_library_stat { padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.08); text-align: center; }
.st_library_stat strong { display: block; color: #fff; font-size: 28px; line-height: 1; font-weight: 900; }
.st_library_stat span { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; }
.st_bookshelf_scene .ai_st_main_ebooks_cnt { display: grid; align-items: initial; justify-content: initial; min-height: 0; height: auto; gap: 34px; padding: 0; }
.st_bookshelf_scene .ai_st_bookshelf.st_bookshelf_row { position: relative; display: block; flex-shrink: initial; width: auto; max-width: none; height: auto; margin: 0; padding: 18px 22px 34px; overflow: hidden; box-sizing: border-box; border: 1px solid rgba(7,27,74,.06); border-radius: 34px; background: rgba(255,255,255,.72); box-shadow: var(--st_shadow_soft); }
.st_bookshelf_scene .ai_st_bookshelf.st_bookshelf_row::before { content: ""; position: absolute; left: 4%; right: 4%; top: auto; bottom: 24px; z-index: 1; width: auto; height: 22px; border-radius: 6px; background: linear-gradient(180deg,#fff,#e9edf3); box-shadow: 0 18px 35px rgba(7,27,74,.12),inset 0 1px 0 #fff; }
.st_bookshelf_scene .ai_st_bookshelf.st_bookshelf_row::after { content: ""; position: absolute; left: 8%; right: 8%; top: auto; bottom: 9px; z-index: 0; display: block; width: auto; height: 18px; background: linear-gradient(90deg,transparent,rgba(7,27,74,.08),transparent); filter: blur(10px); clip-path: none; }
.st_bookshelf_scene .ai_st_ebooks.st_ebook_grid { position: relative; top: auto; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(130px,1fr)); align-items: end; width: auto; margin: 0; padding: 8px 24px 28px; gap: 26px; transform: none; }
.st_bookshelf_scene .ai_st_ebook.st_ebook_card { position: relative; display: block; width: 100%; min-height: 220px; aspect-ratio: auto; margin: 0; border-radius: 16px 20px 20px 16px; box-shadow: none; transform-style: preserve-3d; perspective: 900px; cursor: pointer; transition: transform .38s cubic-bezier(.22,1,.36,1),filter .35s ease; }
.st_bookshelf_scene .st_ebook_card::before, .st_bookshelf_scene .st_ebook_card::after { content: none !important; }
.st_ebook_cover { position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(7,27,74,.08); border-radius: 16px 20px 20px 16px; background: var(--bg-image) center/cover no-repeat; box-shadow: 0 20px 32px rgba(7,27,74,.18); transition: transform .38s cubic-bezier(.22,1,.36,1),box-shadow .35s ease; }
.st_ebook_cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: linear-gradient(90deg,rgba(7,27,74,.22),rgba(255,255,255,.18),transparent); }
.st_ebook_cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,transparent 35%,rgba(255,255,255,.35) 50%,transparent 65%); transform: translateX(-120%); transition: transform .65s ease; }
.st_bookshelf_scene .st_ebook_card:hover { transform: translateY(-12px) rotate(-1deg); }
.st_bookshelf_scene .st_ebook_card:hover .st_ebook_cover { box-shadow: 0 28px 50px rgba(7,27,74,.24); transform: rotateY(-10deg) rotateX(2deg); }
.st_bookshelf_scene .st_ebook_card:hover .st_ebook_cover::after { transform: translateX(120%); }
.st_ebook_meta { position: absolute; left: 10px; right: 10px; bottom: -62px; z-index: 4; padding: 11px 12px; border: 1px solid rgba(7,27,74,.08); border-radius: 16px; background: #fff; box-shadow: 0 14px 30px rgba(7,27,74,.12); opacity: 0; transform: translateY(8px); transition: .28s ease; }
.st_ebook_card:hover .st_ebook_meta { opacity: 1; transform: translateY(0); }
.st_ebook_meta b { display: block; color: var(--st_navy); font-size: 13px; line-height: 1.25; }
.st_ebook_meta span { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--st_gold); font-size: 12px; font-weight: 900; }
.st_ebook_empty { filter: grayscale(1); opacity: .68; pointer-events: none; }
.st_ebook_empty::after { content: "Coming soon" !important; position: absolute !important; left: 14px; right: 14px; top: 50%; z-index: 5; display: block !important; width: auto !important; height: auto !important; padding: 10px; border-radius: 999px; background: rgba(7,27,74,.86) !important; color: #fff; font-size: 12px; text-align: center; font-weight: 900; opacity: 1 !important; filter: none !important; transform: translateY(-50%) !important; }
.st_ebook_filtered_out { display: none !important; }
.st_bookshelf_row.st_row_filtered_out { display: none !important; }
.st_ebook_modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(7,27,74,.68); backdrop-filter: blur(12px); }
.st_ebook_modal.st_show { display: flex; }
.st_ebook_modal_box { display: grid; grid-template-rows: auto 1fr; width: min(1120px,100%); height: min(82vh,820px); overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 35px 120px rgba(0,0,0,.32); }
.st_ebook_modal_head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--st_line); background: #fbfcff; }
.st_ebook_modal_head h3 { margin: 0; color: var(--st_navy); font-size: 20px; font-weight: 900; }
.st_ebook_close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--st_navy); color: #fff; cursor: pointer; }
.st_ebook_frame { width: 100%; height: 100%; border: 0; background: #fff; }
body.st_ebook_modal_open { overflow: hidden; }
.st_blank_card { padding: 80px 24px; text-align: center; }.st_blank_card > i { width: 94px; height: 94px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 30px; background: var(--st_blue_soft); color: var(--st_navy); font-size: 36px; }.st_blank_card h2 { margin: 0 0 10px; color: var(--st_navy); font-size: 34px; font-weight: 900; }.st_blank_card p { margin: 0 0 20px; color: var(--st_text); line-height: 1.7; }
.st_mobile_overlay, .st_mobile_bottom { display: none; }

@media (max-width: 1180px) {
	.st_profile_dashboard { --sidebar_w: 250px; }
	.st_dash_grid, .st_profile_grid { grid-template-columns: 1fr; }
	.st_info_row { grid-template-columns: 130px 1fr; }
	.st_ebooks_hero_grid { grid-template-columns: 1fr; }
	.st_library_stats { min-width: 0; }
	.st_bookshelf_scene .ai_st_ebooks.st_ebook_grid { grid-template-columns: repeat(3,minmax(130px,1fr)); }
}
@media (max-width: 900px) {
	.admin-bar .st_sidebar { top: 46px; height: calc(100vh - 46px); }
	.admin-bar .st_topbar { top: 46px; }
	.st_dash_shell { grid-template-columns: 1fr; }
	.st_sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 286px; height: 100vh; transform: translateX(-104%); transition: transform .34s cubic-bezier(.22,1,.36,1); }
	.st_sidebar.st_open { transform: translateX(0); }.st_sidebar_close { display: grid; place-items: center; }.st_brand { margin-top: 26px; }
	.st_mobile_overlay { position: fixed; inset: 0; z-index: 35; background: rgba(7,27,74,.48); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .28s ease; }.st_mobile_overlay.st_show { display: block; opacity: 1; pointer-events: auto; }
	.st_mobile_menu_btn { display: grid; place-items: center; }.st_topbar { min-height: 92px; padding: 16px; }.st_content { padding: 24px 16px 96px; }.st_payment_badge, .st_top_actions { display: none; }.st_welcome small { display: none; }.st_welcome h1 { font-size: 19px; }.st_page_head { display: block; }.st_stat_grid { grid-template-columns: 1fr; }.st_form_grid { grid-template-columns: 1fr; }.st_field.st_full { grid-column: auto; }
	.st_table_scroll { display: none; }.st_mobile_class_cards { display: grid; }.st_class_tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scrollbar-width: none; }.st_class_tab { white-space: nowrap; flex: 0 0 auto; }
	.st_mobile_bottom { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 34; display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; padding: 8px; border: 1px solid rgba(7,27,74,.1); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 18px 55px rgba(7,27,74,.18); backdrop-filter: blur(18px); }.st_mobile_bottom button, .st_mobile_bottom a { min-width: 0; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 4px 2px; border: 0; border-radius: 16px; background: transparent; color: var(--st_navy); font-size: 9px; font-weight: 900; text-decoration: none; }.st_mobile_bottom button i, .st_mobile_bottom a i { font-size: 16px; }.st_mobile_bottom button.st_active { background: var(--st_gold); box-shadow: 0 10px 24px rgba(245,181,27,.24); }
	.st_profile_dashboard[data-role="student"] .st_mobile_bottom { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; }
	.st_sidebar_foot { display: none; }
	.st_bookshelf_scene .ai_st_ebooks.st_ebook_grid { grid-template-columns: repeat(2,minmax(130px,1fr)); gap: 22px; padding: 4px 10px 28px; }
	.st_ebooks_hero { padding: 24px; }
	.st_library_stats { grid-template-columns: repeat(3,1fr); }
	.st_bookshelf_scene .ai_st_ebook.st_ebook_card { min-height: 210px; }
	.st_ebook_meta { bottom: -58px; opacity: 1; transform: none; }
}
@media (max-width: 575px) {
	.st_topbar { min-height: 78px; }.st_top_left { gap: 12px; }.st_welcome h1 { font-size: 17px; }.st_page_title { font-size: 36px; }.st_page_sub { font-size: 14px; }.st_card_pad { padding: 20px; }.st_info_row { grid-template-columns: 1fr; gap: 5px; }.st_stat { padding: 18px; }.st_stat_icon { width: 64px; height: 64px; }.st_stat strong { font-size: 30px; }.st_calendar_card { padding: 12px; overflow: hidden; }.st_calendar_head { display: grid; }.st_profile_dashboard .fc .fc-header-toolbar { display: grid !important; gap: 10px; }.st_profile_dashboard .fc .fc-daygrid-day-frame { min-height: 68px; }.st_upload_box h3, .st_form_card h3 { font-size: 23px; }.st_avatar_big { width: 124px; height: 124px; }.st_blank_card { padding: 58px 18px; }
	.st_avatar_plugin { padding: 15px; }
	.st_avatar_plugin #wp-user-profile-avatar-add-button { margin-bottom: 22px; }
	.st_avatar_plugin #wp-user-profile-avatar-thumbnail img { width: 128px; height: 128px; border-radius: 20px; }
	.st_avatar_plugin .st_avatar_actions { flex-wrap: nowrap; gap: 7px; }
	.st_avatar_plugin .st_avatar_actions p { flex: 1 1 0; min-width: 0; }
	.st_avatar_plugin #wp-user-profile-avatar-update-profile, .st_avatar_plugin #wp-user-profile-avatar-remove { width: 100%; min-height: 44px; padding-inline: 10px; font-size: 12px; white-space: nowrap; }
	.st_ebooks_hero h3 { font-size: 28px; }
	.st_library_stats { grid-template-columns: 1fr; }
	.st_bookshelf_scene .ai_st_bookshelf.st_bookshelf_row { padding: 14px 12px 30px; border-radius: 26px; }
	.st_bookshelf_scene .ai_st_ebooks.st_ebook_grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 14px; padding: 0 0 34px; }
	.st_bookshelf_scene .ai_st_ebook.st_ebook_card { min-height: 172px; }
	.st_ebook_meta { left: 5px; right: 5px; bottom: -64px; }
	.st_ebook_meta b { font-size: 11px; }
	.st_ebook_modal { padding: 8px; }
	.st_ebook_modal_box { height: 88vh; border-radius: 22px; }
	.st_ebook_modal_head h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.st_profile_dashboard *, .st_profile_dashboard *::before, .st_profile_dashboard *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
