@media only screen and (max-width: 900px) {

	/* ========== user1 头部比普通页面高，覆盖 index-mobile.css 的 88px ========== */
	.layout.qmshome {
		padding-top: 106px;
	}

	/* ========== 公共：页面背景与容器 ========== */
	.layout.qmshome .hpage {
		padding: 0;
		background: #eef3fb;
		overflow-x: hidden;
	}

	.layout.qmshome .notice-container {
		max-width: none;
		margin: 0;
		padding: 0;
	}

	/* 面包屑 */
	.layout.qmshome .breadcrumb {
		max-width: none;
		margin: 20px 0 0 !important;
		padding: 14px 16px;
		border-radius: 0;
		box-sizing: border-box;
		font-size: 15px;
	}

	.layout.qmshome .breadcrumb > li {
		font-size: 15px;
	}

	.layout.qmshome .breadcrumb > li + li:before {
		padding: 0 6px;
	}

	.layout.qmshome .page-navigation .container {
		max-width: none;
		margin: 12px 0;
		padding: 12px 16px;
		border-radius: 0;
		box-sizing: border-box;
	}

	/* ========== index.jsp 个人中心（左右贴边） ========== */
	.layout.qmshome .user-center-container {
		flex-direction: column;
		max-width: none;
		margin: 0;
		padding: 0;
		gap: 12px;
		box-sizing: border-box;
	}

	.layout.qmshome .user-profile {
		width: 100%;
		margin: 0;
		padding: 20px 16px;
		border-radius: 0;
		box-sizing: border-box;
		border: none;
		border-bottom: 1px solid #e8eef5;
		box-shadow: none;
	}

	.layout.qmshome .user-profile:hover {
		transform: none;
		box-shadow: none;
	}

	.layout.qmshome .user-info {
		margin-bottom: 16px;
	}

	.layout.qmshome .user-info h2 {
		font-size: 20px;
		margin-bottom: 16px;
		padding-bottom: 12px;
		border-bottom: 1px solid #eef2f8;
	}

	.layout.qmshome .user-info p {
		flex-direction: column;
		align-items: flex-start;
		border-bottom: 1px solid #f0f3f8;
		border-bottom-style: solid;
		padding: 10px 0;
		margin: 0;
		gap: 4px;
	}

	.layout.qmshome .user-info p span:first-child {
		font-size: 12px;
		font-weight: 400;
		color: #999;
	}

	.layout.qmshome .user-info p span:last-child {
		font-size: 15px;
		line-height: 1.5;
		word-break: break-all;
	}

	.layout.qmshome .course-stats {
		display: flex;
		gap: 10px;
		margin-top: 4px;
		padding: 0;
		background: transparent;
		border-radius: 0;
	}

	.layout.qmshome .stat-item {
		flex: 1;
		background: #f5f7fa;
		border-radius: 8px;
		padding: 14px 8px;
	}

	.layout.qmshome .stat-item:first-child::after {
		display: none;
	}

	.layout.qmshome .stat-number {
		font-size: 22px;
		margin-bottom: 4px;
	}

	.layout.qmshome .stat-label {
		font-size: 12px;
	}

	.layout.qmshome .total-hours {
		margin-top: 10px;
		padding: 12px;
		border-radius: 8px;
	}

	.layout.qmshome .total-hours .stat-number {
		font-size: 20px;
	}

	.layout.qmshome .courses-container {
		width: 100%;
		margin: 0;
		padding: 16px;
		border-radius: 0;
		box-sizing: border-box;
		border: none;
		box-shadow: none;
		overflow: visible;
	}

	.layout.qmshome .courses-container .course-card:hover {
		transform: none;
	}

	.layout.qmshome .courses-header {
		margin-bottom: 16px;
		padding-bottom: 0;
		border-bottom: none;
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	/* Tab 单行横向滑动，文字横排不换行 */
	.layout.qmshome .courses-header ul,
	.layout.qmshome .courses-header1 ul,
	.layout.qmshome .courses-header2 ul {
		display: block !important;
		white-space: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		max-width: 100%;
		padding-bottom: 6px;
		margin: 0 !important;
		list-style: none;
		scrollbar-width: none;
		box-sizing: border-box;
		font-size: 0;
	}

	.layout.qmshome .courses-header ul::-webkit-scrollbar,
	.layout.qmshome .courses-header1 ul::-webkit-scrollbar,
	.layout.qmshome .courses-header2 ul::-webkit-scrollbar {
		display: none;
	}

	.layout.qmshome .courses-header li:not([data-tab="course-list1"]):not([data-tab="hours-archives"]):not([data-tab="my-exams"]):not([data-tab="invoice-management"]),
	.layout.qmshome .courses-header1 li,
	.layout.qmshome .courses-header2 li,
	.layout.qmshome .courses-header .tab-item:not([data-tab="course-list1"]):not([data-tab="hours-archives"]):not([data-tab="my-exams"]):not([data-tab="invoice-management"]),
	.layout.qmshome .courses-header1 .tab-item1,
	.layout.qmshome .courses-header2 .tab-item2 {
		display: inline-block !important;
		vertical-align: middle;
		flex: none !important;
		min-width: auto !important;
		width: auto !important;
		max-width: none !important;
		min-height: 38px;
		line-height: 38px;
		padding: 0 16px !important;
		margin: 0 8px 0 0 !important;
		white-space: nowrap !important;
		word-wrap: normal !important;
		overflow-wrap: normal !important;
		word-break: keep-all !important;
		writing-mode: horizontal-tb !important;
		font-size: 13px !important;
		float: none !important;
		box-sizing: border-box;
		cursor: pointer;
	}

	.layout.qmshome .courses-header2,
	.layout.qmshome .courses-header1 {
		display: flex !important;
		flex-wrap: wrap !important;
		flex-direction: row !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		margin-top: 0;
		margin-bottom: 12px;
		width: 100%;
	}

	/* 提示语换行展示在二级 Tab 下方 */
	.layout.qmshome .courses-header2 > ul,
	.layout.qmshome .courses-header1 > ul {
		order: 1;
		flex: 0 1 auto;
		width: auto !important;
		max-width: 100%;
	}

	.layout.qmshome .courses-header2 > div,
	.layout.qmshome .courses-header1 > div {
		order: 2;
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 8px 0 0 0 !important;
		padding: 0;
		background: transparent;
		border: none;
		box-sizing: border-box;
	}

	.layout.qmshome .courses-header2 ul,
	.layout.qmshome .courses-header1 ul {
		width: auto !important;
		max-width: 100% !important;
		margin-bottom: 0;
	}

	.layout.qmshome .courses-header2 > div > div,
	.layout.qmshome .courses-header1 > div > div {
		font-size: 13px !important;
	}

	.layout.qmshome .course-tip-notice {
		font-size: 12px !important;
		color: #ee5f5b !important;
		line-height: 1.45 !important;
		white-space: normal !important;
		word-wrap: break-word;
		padding: 6px 10px;
		background: #fff8f8;
		border-left: 3px solid #ee5f5b;
		border-radius: 4px;
		box-sizing: border-box;
	}

	/* ========== 选课子模块：一屏紧凑展示 ========== */
	.layout.qmshome .course-list1.active {
		display: block !important;
		gap: 0;
	}

	.layout.qmshome .course-list1 .courses-header2 {
		margin-bottom: 6px;
	}

	.layout.qmshome .course-list .courses-header1 {
		margin-bottom: 6px;
	}

	.layout.qmshome .course-list1 .course-search {
		margin: 0 0 8px 0 !important;
		padding: 8px !important;
		gap: 6px !important;
		background: #f8fafc;
		border: 1px solid #eef2f8;
		border-radius: 6px;
	}

	.layout.qmshome .course-list1 .course-search > div:first-child {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 6px !important;
	}

	.layout.qmshome .course-list1 .course-search #courseSearch {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		min-height: 36px !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 6px 10px !important;
		font-size: 13px !important;
	}

	.layout.qmshome .course-list1 .course-search > div:first-child button {
		flex: 0 0 58px !important;
		width: 58px !important;
		min-height: 36px !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 0 6px !important;
		font-size: 13px !important;
	}

	.layout.qmshome .course-list1 .course-search > div:last-child {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
	}

	.layout.qmshome .course-list1 .course-search > div:last-child button {
		flex: 1 1 50% !important;
		width: auto !important;
		min-height: 36px !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 0 8px !important;
		font-size: 13px !important;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.layout.qmshome .course-list1 #table2List3,
	.layout.qmshome .course-list1 #table2List4 {
		max-height: calc(100vh - 290px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 2px;
	}

	.layout.qmshome .course-list1 .course-summary {
		font-size: 11px;
		padding: 4px 0;
		margin-top: 4px;
		color: #999;
	}

	.layout.qmshome .course-list1 .pagination {
		margin-top: 6px;
		gap: 4px;
	}

	.layout.qmshome .course-list1 .pagination a,
	.layout.qmshome .course-list1 .pagination span {
		min-width: 32px;
		min-height: 32px;
		line-height: 32px;
		padding: 0 8px;
		font-size: 12px;
	}

	/* 选课卡片：紧凑横排信息 */
	.layout.qmshome #table2List3 .styled-table tbody tr,
	.layout.qmshome #table2List4 .styled-table tbody tr,
	.layout.qmshome .study-list1 .styled-table tbody tr,
	.layout.qmshome .final-list1 .styled-table tbody tr {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: flex-start !important;
		padding: 10px 12px !important;
		margin-bottom: 8px !important;
		border-radius: 8px;
		border: 1px solid #e0e6f5;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 71, 179, 0.04);
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(1),
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(1),
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(1),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(1) {
		display: block !important;
		width: 22px !important;
		flex: 0 0 22px !important;
		order: 1;
		padding: 2px 0 0 !important;
		margin: 0 !important;
		border: none !important;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(1):before,
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(1):before,
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(1):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(1):before {
		display: none !important;
		content: none !important;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(2),
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(2),
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(2),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(2) {
		display: block !important;
		width: calc(100% - 26px) !important;
		flex: 1 1 calc(100% - 26px) !important;
		order: 2;
		font-size: 14px !important;
		font-weight: 600;
		color: #3366cc;
		line-height: 1.35 !important;
		padding: 0 0 6px 0 !important;
		margin: 0 0 6px 0 !important;
		border-bottom: 1px solid #f0f3f8 !important;
		text-align: left;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(3),
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(3),
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(3),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(3),
	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(4),
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(4),
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(4),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(4) {
		display: inline-flex !important;
		width: 50% !important;
		flex: 0 0 50% !important;
		order: 3;
		padding: 2px 0 !important;
		margin: 0 !important;
		font-size: 12px !important;
		justify-content: flex-start;
		align-items: center;
		border: none !important;
		white-space: nowrap !important;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(3):before,
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(3):before,
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(3):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(3):before {
		content: "时长 " !important;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(4):before,
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(4):before,
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(4):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(4):before {
		content: "学时 " !important;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(5),
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(5),
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(5),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(5) {
		display: inline-flex !important;
		width: 50% !important;
		flex: 0 0 50% !important;
		order: 4;
		padding: 2px 0 !important;
		margin: 0 !important;
		font-size: 12px !important;
		justify-content: flex-end;
		align-items: center;
		border: none !important;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(6),
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(6),
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(6),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(6) {
		display: inline-flex !important;
		width: 50% !important;
		flex: 0 0 50% !important;
		order: 4;
		padding: 2px 0 !important;
		margin: 0 !important;
		font-size: 11px !important;
		color: #999;
		justify-content: flex-end;
		align-items: center;
		border: none !important;
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(5):before,
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(5):before,
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(5):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(5):before,
	.layout.qmshome #table2List3 .styled-table tbody td:nth-child(6):before,
	.layout.qmshome #table2List4 .styled-table tbody td:nth-child(6):before,
	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(6):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(6):before {
		display: none !important;
		content: none !important;
	}

	.layout.qmshome #table2List3 .select-course-btn,
	.layout.qmshome #table2List4 .select-course-btn,
	.layout.qmshome .study-list1 .select-course-btn,
	.layout.qmshome .final-list1 .select-course-btn {
		padding: 2px 10px !important;
		font-size: 12px !important;
		line-height: 24px !important;
		min-height: 26px !important;
		border-radius: 4px !important;
	}

	.layout.qmshome .courses-container {
		padding: 12px !important;
	}

	.layout.qmshome .courses-header {
		margin-bottom: 10px;
	}

	/* 搜索区 */
	.layout.qmshome .course-search {
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 10px;
		margin: 0 0 14px 0 !important;
		padding: 12px;
		background: #f8fafc;
		border-radius: 8px;
		border: 1px solid #eef2f8;
	}

	.layout.qmshome .course-search > div {
		width: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 8px;
	}

	.layout.qmshome .course-search > div[style] {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.layout.qmshome .course-search > div:first-child > div[style] {
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
	}

	.layout.qmshome .course-search > div:last-child {
		flex-direction: row !important;
		gap: 10px;
	}

	.layout.qmshome .course-search input[type="text"],
	.layout.qmshome .course-search select {
		width: 100% !important;
		max-width: none;
		margin: 0 !important;
		min-height: 42px;
		padding: 10px 12px !important;
		border-radius: 6px !important;
		box-sizing: border-box;
		font-size: 14px;
	}

	.layout.qmshome .course-search > div:last-child button {
		flex: 1;
		width: auto !important;
		min-height: 42px;
		margin: 0 !important;
		border-radius: 6px !important;
		font-size: 14px;
	}

	.layout.qmshome .course-search > div:first-child button {
		width: 100% !important;
		min-height: 42px;
		margin: 0 !important;
		border-radius: 6px !important;
	}

	.layout.qmshome .study-list1 .styled-table thead th,
	.layout.qmshome .final-list1 .styled-table thead th {
		white-space: nowrap !important;
		word-wrap: normal !important;
		word-break: keep-all !important;
		writing-mode: horizontal-tb !important;
		padding: 10px 8px !important;
	}

	/* 选课表格：卡片化 */
	.layout.qmshome .study-list1 .styled-table,
	.layout.qmshome .final-list1 .styled-table {
		display: block;
		width: 100%;
		overflow-x: visible;
		border: none;
		box-shadow: none;
		background: transparent;
	}

	.layout.qmshome .study-list1 .styled-table thead,
	.layout.qmshome .final-list1 .styled-table thead {
		display: none;
	}

	.layout.qmshome .study-list1 .styled-table tbody,
	.layout.qmshome .final-list1 .styled-table tbody {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.layout.qmshome .study-list1 .styled-table tbody tr,
	.layout.qmshome .final-list1 .styled-table tbody tr {
		display: block;
		margin-bottom: 12px;
		padding: 14px;
		background: #fff;
		border: 1px solid #e0e6f5;
		border-radius: 8px;
		box-shadow: 0 1px 4px rgba(0, 71, 179, 0.05);
	}

	.layout.qmshome .study-list1 .styled-table tbody tr:nth-child(even),
	.layout.qmshome .final-list1 .styled-table tbody tr:nth-child(even) {
		background: #fff;
	}

	.layout.qmshome .study-list1 .styled-table tbody td,
	.layout.qmshome .final-list1 .styled-table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 7px 0;
		border: none;
		text-align: right;
		font-size: 14px;
		white-space: normal;
		word-break: break-word;
	}

	.layout.qmshome .study-list1 .styled-table tbody td:before,
	.layout.qmshome .final-list1 .styled-table tbody td:before {
		flex-shrink: 0;
		font-size: 12px;
		font-weight: 500;
		color: #999;
		text-align: left;
		margin-right: 12px;
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(1),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(1) {
		justify-content: flex-start;
		padding-bottom: 10px;
		margin-bottom: 6px;
		border-bottom: 1px solid #f0f3f8;
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(1):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(1):before {
		content: "勾选";
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(2),
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(2) {
		display: block;
		font-size: 15px;
		font-weight: 600;
		color: #3366cc;
		line-height: 1.45;
		padding-top: 0;
		padding-bottom: 10px;
		margin-bottom: 4px;
		border-bottom: 1px solid #f0f3f8;
		text-align: left;
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(2):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(2):before {
		display: none;
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(3):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(3):before {
		content: "总时长";
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(4):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(4):before {
		content: "学时数";
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(5):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(5):before {
		content: "选择";
	}

	.layout.qmshome .study-list1 .styled-table tbody td:nth-child(6):before,
	.layout.qmshome .final-list1 .styled-table tbody td:nth-child(6):before {
		content: "选课时间";
	}

	.layout.qmshome .study-list1 .select-course-btn,
	.layout.qmshome .final-list1 .select-course-btn {
		display: inline-block;
		min-width: 64px;
		min-height: 32px;
		line-height: 32px;
		padding: 0 14px;
		text-align: center;
		border-radius: 6px;
		box-sizing: border-box;
	}

	.layout.qmshome .study-list1 .pagination,
	.layout.qmshome .final-list1 .pagination {
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px;
		margin-top: 8px;
	}

	.layout.qmshome .study-list1 .pagination a,
	.layout.qmshome .study-list1 .pagination span,
	.layout.qmshome .final-list1 .pagination a,
	.layout.qmshome .final-list1 .pagination span {
		min-width: 36px;
		min-height: 36px;
		line-height: 36px;
		padding: 0 10px;
		margin: 0;
		border-radius: 6px;
		text-align: center;
		box-sizing: border-box;
	}

	.layout.qmshome .course-summary {
		font-size: 12px;
		padding: 8px 0;
	}

	/* 课程卡片：进度/方式/状态同一行，按钮单独一行 */
	.layout.qmshome .course-card {
		padding: 10px 12px;
		border-radius: 8px;
		border-color: #e0e6f5;
		box-shadow: 0 1px 4px rgba(0, 71, 179, 0.05);
		box-sizing: border-box;
	}

	.layout.qmshome .course-card .title-container {
		align-items: flex-start !important;
		gap: 4px;
		margin-bottom: 6px;
	}

	.layout.qmshome .course-card .course-title {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 0;
	}

	.layout.qmshome .course-card .year-tag {
		flex: 0 0 auto;
		font-size: 11px !important;
		margin-bottom: 0 !important;
		white-space: nowrap;
	}

	.layout.qmshome .course-card .progress-container {
		height: 6px;
		margin-bottom: 8px;
	}

	.layout.qmshome .course-card .course-meta-row {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 4px 8px;
		width: 100%;
		margin-bottom: 6px !important;
	}

	.layout.qmshome .course-card .course-meta-row .course-info {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px;
		min-width: 0;
		margin-bottom: 0 !important;
		font-size: 11px !important;
		color: #666;
		box-sizing: border-box;
	}

	.layout.qmshome .course-card .course-meta-row .course-info span {
		display: inline-block;
		margin-bottom: 0 !important;
		white-space: nowrap;
		flex: 0 1 auto;
		min-width: 0;
	}

	.layout.qmshome .course-card .course-meta-row .course-info span:first-child {
		flex-shrink: 0;
	}

	.layout.qmshome .course-card .course-meta-row .course-info span:last-child {
		flex-shrink: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: right;
	}

	.layout.qmshome .course-card .course-meta-row .status-group {
		display: inline-flex !important;
		flex: 0 0 auto;
		flex-wrap: nowrap !important;
		align-items: center;
		gap: 4px;
		margin-bottom: 0 !important;
	}

	.layout.qmshome .course-card .course-meta-row .status-group .status-tag {
		min-width: auto;
		padding: 2px 8px;
		font-size: 11px;
		margin-bottom: 0 !important;
		white-space: nowrap;
	}

	.layout.qmshome .course-card .course-action-row {
		display: flex !important;
		justify-content: flex-end !important;
		align-items: center;
		width: 100%;
		margin-top: 0;
	}

	.layout.qmshome .course-card .course-action-row .status-group {
		display: none !important;
	}

	.layout.qmshome .course-card .course-action-row .button-group {
		width: auto;
		margin-left: 0;
		flex-wrap: nowrap;
		gap: 8px;
	}

	.layout.qmshome .course-card .button-group .action-button,
	.layout.qmshome .course-card .button-group button,
	.layout.qmshome .course-card .button-group a.action-button {
		min-height: 32px;
		padding: 4px 12px;
		font-size: 12px;
		flex: 0 1 auto;
	}

	/* 学时情况表 */
	.layout.qmshome .hours-archives.active > div {
		border-radius: 0;
		padding: 16px !important;
		box-sizing: border-box;
	}

	.layout.qmshome .archive-stat-row {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-bottom: 18px;
	}

	.layout.qmshome .archive-stat-row > div {
		flex: 0 0 calc(50% - 6px);
		margin-right: 0 !important;
		margin-bottom: 12px;
		box-sizing: border-box;
	}

	.layout.qmshome .hours-archives.active > div > div[style*="margin-bottom:18px"]:not(.archive-stat-row) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.layout.qmshome .hours-archives.active select,
	.layout.qmshome .hours-archives.active button {
		width: 100%;
		max-width: none;
		margin: 4px 0 !important;
		min-height: 40px;
		box-sizing: border-box;
	}

	.layout.qmshome .hours-archives.active > div > table[style] {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}

	/* 表格横向滚动（选课列表卡片化，不在此规则内） */
	.layout.qmshome .hours-archives .styled-table,
	.layout.qmshome .invoice-management .styled-table,
	.layout.qmshome .exams-table,
	.layout.qmshome .myTableIssuce,
	.layout.qmshome .table-scroll-wrap {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.layout.qmshome .hours-archives .styled-table thead,
	.layout.qmshome .hours-archives .styled-table tbody,
	.layout.qmshome .invoice-management .styled-table thead,
	.layout.qmshome .invoice-management .styled-table tbody,
	.layout.qmshome .exams-table thead,
	.layout.qmshome .exams-table tbody {
		display: table;
		width: 100%;
		min-width: 640px;
	}

	/* 表单 */
	.layout.qmshome .form-row {
		flex-direction: column;
		gap: 10px;
	}

	.layout.qmshome .region-select {
		flex-direction: column;
		gap: 10px;
	}

	.layout.qmshome .form-section {
		padding: 0 16px;
		box-sizing: border-box;
	}

	.layout.qmshome .merge-invoice-btn {
		width: 100%;
		min-height: 40px;
		box-sizing: border-box;
	}

	/* 弹窗 */
	.layout.qmshome .confirmModal,
	.layout.qmshome .myalert {
		width: 90% !important;
		left: 50% !important;
		margin-left: -45% !important;
		right: auto;
	}

	/* ========== table1 / table2 侧栏布局 ========== */
	.layout.qmshome .home-content {
		background: #eef3fb;
	}

	.layout.qmshome .home-content .container {
		max-width: none;
		margin: 0;
		padding: 0;
		background: transparent;
	}

	.layout.qmshome .home-content .container .content-t {
		margin: 12px 0 0;
		padding: 12px 16px;
		background: #fff;
		box-sizing: border-box;
	}

	.layout.qmshome .home-content .container .content-l {
		float: none;
		width: 100%;
		padding: 16px;
		margin: 0 0 12px;
		border-right: none;
		border-bottom: 1px solid #f2f2f2;
		background: #fff;
		box-sizing: border-box;
	}

	.layout.qmshome .home-content .container .content-l #user1west1Ul {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	.layout.qmshome .home-content .container .content-l #user1west1Ul a {
		flex-shrink: 0;
		text-decoration: none;
		margin-right: 8px;
	}

	.layout.qmshome .home-content .container .content-l #user1west1Ul li {
		white-space: nowrap;
		padding: 8px 14px;
		border: 1px solid #e8e8e8;
		border-radius: 4px;
		font-size: 14px;
	}

	.layout.qmshome .home-content .container .content-r {
		float: none;
		width: 100%;
		padding: 16px;
		margin: 0;
		background: #fff;
		box-sizing: border-box;
	}

	.layout.qmshome .home-content .container .content-r .r-box .d1,
	.layout.qmshome .home-content .container .content-r .r-box .d2 {
		float: none;
		width: 100%;
		box-sizing: border-box;
	}

	.layout.qmshome .home-content .container .content-r .searchbox .input-append {
		height: auto !important;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.layout.qmshome .home-content .container .content-r .searchbox .input-append input,
	.layout.qmshome .home-content .container .content-r .searchbox .input-append button {
		width: 100% !important;
		height: 40px !important;
		box-sizing: border-box;
	}

	.layout.qmshome .home-content .container .content-r .r-box .tabbable .nav-tabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.layout.qmshome .home-content .container .content-r .r-box .tabbable .nav-tabs li {
		flex-shrink: 0;
	}

	.layout.qmshome .home-content .container .content-r .r-box .tabbable .tab-content .tab-pane .table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* ========== table2Page1 发票 ========== */
	.layout.qmshome > .container {
		max-width: none;
		width: 100%;
		padding: 0;
		margin: 0;
	}

	.layout.qmshome .container .invoice-card {
		margin: 0 0 12px;
		border-radius: 0;
	}

	.layout.qmshome .container .invoice-card-body {
		padding: 16px;
	}

	.layout.qmshome .container .row-fluid .span6,
	.layout.qmshome .container .row-fluid .span12 {
		width: 100%;
		float: none;
		margin-left: 0;
	}

	.layout.qmshome .container .form-horizontal .control-label {
		float: none;
		width: auto;
		text-align: left;
		padding-bottom: 4px;
	}

	.layout.qmshome .container .form-horizontal .controls {
		margin-left: 0;
	}

	/* ========== table3Page1 学时档案 ========== */
	.layout.qmshome .notice-container > div[style] {
		border-radius: 0 !important;
		padding: 16px !important;
		box-sizing: border-box;
	}

	.layout.qmshome .notice-container > div[style] > div[style*="margin-bottom:18px"] {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.layout.qmshome .notice-container select,
	.layout.qmshome .notice-container button {
		width: 100%;
		max-width: none;
		margin: 4px 0 !important;
		min-height: 40px;
		box-sizing: border-box;
	}

	.layout.qmshome .notice-container table[style] {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* ========== table7Page1 课程详情 ========== */
	.layout.qmshome .container-narrow {
		max-width: none;
		margin: 0;
		padding: 0;
	}

	.layout.qmshome .container-narrow .breadcrumb {
		margin: 12px 0;
	}

	.layout.qmshome .container-narrow .row-fluid .span4,
	.layout.qmshome .container-narrow .row-fluid .span8,
	.layout.qmshome .container-narrow .row-fluid .span2,
	.layout.qmshome .container-narrow .row-fluid .span10,
	.layout.qmshome .container-narrow .row-fluid .span12 {
		width: 100%;
		float: none;
		margin-left: 0;
	}

	.layout.qmshome .container-narrow .row-fluid {
		margin-bottom: 8px;
	}

	.layout.qmshome .container-narrow .tabbable .nav-tabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.layout.qmshome .container-narrow .tabbable .nav-tabs li {
		flex-shrink: 0;
	}

	.layout.qmshome .container-narrow .table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* ========== table12 考试详情 ========== */
	.layout.qmshome .container-fluid {
		padding: 0;
	}

	.layout.qmshome .exam-detail-container {
		margin: 0 0 12px;
		border-radius: 0;
		padding: 16px;
		box-sizing: border-box;
	}

	.layout.qmshome .paper-key-info {
		flex-wrap: wrap;
		gap: 12px;
	}

	.layout.qmshome .paper-key-item {
		flex: 0 0 calc(50% - 6px);
		box-sizing: border-box;
	}

	.layout.qmshome .exam-detail-container .table,
	.layout.qmshome .exam-detail-container table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* ========== index1.jsp 注册页 ========== */
	.layout.qmshome .register-container {
		flex-direction: column;
		max-width: none;
		margin: 0;
		padding: 12px 0 24px;
		gap: 0;
		min-height: auto;
		background: #eef3fb;
	}

	.layout.qmshome .register-main {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 16px;
		border-radius: 0;
		box-shadow: none;
		box-sizing: border-box;
	}

	.layout.qmshome .register-sidebar {
		width: 100%;
		border-radius: 0;
	}

	.layout.qmshome .register-form {
		max-width: none;
	}

	.layout.qmshome .register-container .form-row {
		flex-direction: column;
	}

	.layout.qmshome .register-container .form-group {
		width: 100%;
		margin-left: 0 !important;
		flex-direction: column;
		align-items: stretch;
	}

	.layout.qmshome .register-container .form-group label {
		width: auto;
		margin-bottom: 6px;
	}

	/* ========== 页脚内边距 ========== */
	.layout.qmshome .footer .wrap {
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
	}

	/* 弹窗（挂载在 body，不在 .layout 内） */
	.custom-modal {
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		right: auto !important;
		transform: translate(-50%, -50%) !important;
		min-width: 0 !important;
		width: 88% !important;
		max-width: 360px !important;
		margin: 0 !important;
		box-sizing: border-box;
		z-index: 1050;
	}

	.custom-modal-backdrop {
		z-index: 1040;
	}

	.custom-modal-body {
		word-wrap: normal;
		word-break: normal;
		white-space: normal;
		text-align: center;
	}

	.custom-modal-footer {
		text-align: center;
	}

	.custom-btn,
	.custom-btn span {
		white-space: nowrap !important;
		word-break: keep-all !important;
	}

	/* 手机端仅保留：我的课程、个人信息、修改密码 */
	.layout.qmshome .courses-header .tab-item[data-tab="course-list1"],
	.layout.qmshome .courses-header .tab-item[data-tab="hours-archives"],
	.layout.qmshome .courses-header .tab-item[data-tab="my-exams"],
	.layout.qmshome .courses-header .tab-item[data-tab="invoice-management"] {
		display: none !important;
	}

	.layout.qmshome .courses-header ul {
		text-align: center;
	}
}
