.ttl-hero{
	margin-bottom: 20px;
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	background: #e8f0ff;
}
.ttl-hero img{
	width: 1920px;
	max-width: none !important;
	height: auto;
	display: block;
	flex-shrink: 0;
}

.ttl-tabs{
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	border-bottom: 1px solid #e6ecf4;
	margin-bottom: 20px;
	background: #fff;
}
.ttl-tab-group{
	display: flex;
	align-items: stretch;
}
.ttl-tab-sep{
	width: 1px;
	margin: 12px 8px;
	background: #e6ecf4;
	flex-shrink: 0;
}
.ttl-tab{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	font-size: 15px;
	color: #3d4d63;
	cursor: pointer;
	position: relative;
	font-weight: 500;
	user-select: none;
	white-space: nowrap;
	border-radius: 6px 6px 0 0;
}
.ttl-tab svg{
	width: 18px;
	height: 18px;
	margin-right: 6px;
	flex-shrink: 0;
}
.ttl-tab .ttl-tab-count{
	margin-left: 6px;
	font-size: 14px;
	font-weight: 600;
}
.ttl-tab.is-active{
	color: #2b64ff;
	font-weight: 700;
	background: #eef4ff;
}
.ttl-tab.is-active:after{
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -1px;
	height: 3px;
	background: #2b64ff;
	border-radius: 2px 2px 0 0;
}
.ttl-tab:hover{ color: #2b64ff; }

/* 题库/工具等未上线栏目：二维码占位 */
.ttl-coming{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 16px 64px;
	text-align: center;
}
.ttl-coming img{
	width: 200px;
	height: 200px;
	object-fit: contain;
	margin-bottom: 20px;
}
.ttl-coming-text{
	font-size: 16px;
	color: #3d4d63;
	line-height: 1.6;
}

.ttl-url-dialog{
	width: 420px;
	background: #fff;
	border-radius: 8px;
	padding: 20px 24px 16px;
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.ttl-url-dialog h3{
	margin: 0 0 16px;
	font-size: 16px;
	color: #04253C;
}
.ttl-url-row{
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.ttl-url-row label{
	width: 56px;
	flex-shrink: 0;
	font-size: 14px;
	color: #404F54;
	text-align: right;
	margin-right: 10px;
}
.ttl-url-row input{
	flex: 1;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #d9e0e8;
	border-radius: 4px;
	font-size: 13px;
}
.ttl-url-row input:focus{
	outline: none;
	border-color: #2b64ff;
}
.ttl-url-actions{
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}
.ttl-url-actions button{
	height: 32px;
	padding: 0 16px;
	border-radius: 4px;
	font-size: 13px;
	cursor: pointer;
	border: 1px solid #d9e0e8;
	background: #fff;
	color: #404F54;
}
.ttl-url-actions .ttl-btn-ok{
	background: #2b64ff;
	border-color: #2b64ff;
	color: #fff;
}

.ttl-seo-head{
	margin: 0 0 18px;
	padding: 8px 0 0;
}
.ttl-seo-head h1{
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.3;
	font-weight: 700;
	color: #1d2b3a;
}
.ttl-seo-head .ttl-seo-sub{
	margin: 0;
	font-size: 15px;
	color: #5b6b80;
	line-height: 1.5;
}
.ttl-seo-body{
	margin: 36px 0 20px;
	padding: 24px 0 8px;
	border-top: 1px solid #e6ecf4;
	color: #3d4d63;
	font-size: 14px;
	line-height: 1.8;
}
.ttl-seo-body h2{
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	color: #1d2b3a;
}
.ttl-seo-body p{ margin: 0 0 12px; }
.ttl-seo-body a{ color: #2b64ff; }

/* One content width for the study portal, exam landings, navigation and tools. */
.kz-content.ttl-page .ttl-wrap > .container {
    width: 1300px;
    max-width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}
.kz-content.ttl-page {
    --study-header-offset: 66px;
    --study-content-top: 140px;
}
.kz-content.ttl-page .ttl-tabs {
    position: sticky;
    top: var(--study-header-offset);
    z-index: 900;
    width: 100%;
    max-width: none;
    margin-bottom: 24px;
}
.kz-content.ttl-page .ttl-tabs.is-stuck {
    background: #fff;
    box-shadow: 0 5px 12px rgba(28, 60, 120, .07);
}
/* Overflow on the exam landing wrapper would disable document-level sticky. */
.kz-content.ttl-page.jai-page .ttl-wrap { overflow: visible; }
html.study-navigation-host { scroll-padding-top: var(--study-content-top, 140px); }
/* Use one gap below the tabs instead of stacking each panel's top padding. */
.kz-content.ttl-page .ttl-nav-panel,
.kz-content.ttl-page .ttl-nav-panel .study-nav,
.kz-content.ttl-page .study-tools-embed .main-container { padding-top: 0; }
/* Exam landings already include their own hero spacing. */
.kz-content.ttl-page.jai-page .ttl-tabs { margin-bottom: 0; }
.ttl-exam-more { display: flex; flex-shrink: 0; }
.ttl-exam-toggle { border: 0; background: transparent; font-family: inherit; line-height: inherit; }
.ttl-exam-toggle[aria-expanded="true"] { color: #2b64ff; background: #eef4ff; }
.ttl-exam-toggle .ttl-exam-chevron { width: 14px; height: 14px; margin: 0 0 0 6px; }
.ttl-exam-toggle[aria-expanded="true"] .ttl-exam-chevron { transform: rotate(180deg); }
.ttl-exam-toggle:focus-visible, .ttl-exam-menu a:focus-visible { outline: 2px solid #2b64ff; outline-offset: -3px; }
/* The popup is moved to body when opened so scrolling tabs cannot clip it. */
.ttl-exam-menu {
    position: fixed;
    z-index: 11010;
    width: 192px;
    max-width: calc(100vw - 24px);
    padding: 6px;
    border: 1px solid #e6ecf4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(28, 60, 120, .12);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    box-sizing: border-box;
}
.ttl-exam-menu[hidden] { display: none !important; }
.ttl-exam-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 5px;
    color: #3d4d63;
    font-size: 14px;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}
.ttl-exam-menu a:hover, .ttl-exam-menu a:focus-visible { color: #2b64ff; background: #eef4ff; text-decoration: none; }
@media (min-width: 801px) {
    .kz-content.ttl-page .study-nav .sn-sidebar,
    .kz-content.ttl-page .study-tools-embed .sidebar-tool-switcher {
        top: var(--study-content-top);
        max-height: calc(100vh - var(--study-content-top) - 20px);
        max-height: calc(100dvh - var(--study-content-top) - 20px);
    }
}
@media (max-width: 1250px) {
    .kz-content.ttl-page .ttl-tabs { overflow-x: auto; overflow-y: hidden; justify-content: flex-start; }
    .kz-content.ttl-page .ttl-tab-group { flex-shrink: 0; }
}
@media (max-width: 760px) {
    .kz-content.ttl-page .ttl-wrap > .container { width: calc(100% - 32px); padding-left: 0; padding-right: 0; }
}

.study-site-desktop {
    margin: 0;
    font: 14px/1.428571 "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1d2b3a;
}
.ttl-wrap { padding-bottom: 24px; }
.ttl-wrap > .min-height-wrap { min-height: 800px; }
.ttl-wrap a { text-decoration: none; }
.ttl-tab:focus-visible { outline: 2px solid #2b64ff; outline-offset: -3px; }
.study-tools-page { background: #eef2f8; }
.ttl-url-dialog { box-sizing: border-box; max-width: calc(100% - 32px); border: 0; }
.ttl-url-dialog::backdrop { background: rgba(0,0,0,.45); }
.ttl-url-dialog .ttl-url-row input { min-width: 0; box-sizing: border-box; }
.ttl-url-dialog .sn-url-status { margin-left: 66px; }
.study-nav .sn-url-status { color: #a53e3a; font-size: 13px; }

/* The original PC public text sits outside the visual flow; reveal it on keyboard focus. */
.ttl-seo-head, .ttl-seo-body {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
    opacity: 1;
}
.ttl-seo-body:focus-within {
    position: static;
    width: auto;
    height: auto;
    margin: 24px 0;
    clip-path: none;
    overflow: visible;
}
@media (max-width: 1199px) {
    .study-site-desktop:has(.jai-page) .public-nav-links { display: none; }
}
