/* Mobile portals share the PC catalogue rhythm while keeping independent layouts. */
.mp-portal { --mp-accent: #2468ba; --mp-tint: #eef5fc; --mp-line: #e3e9f0; color: #273647; display: grid; gap: 10px; padding: 10px 12px 18px; min-width: 0; }
.mp-portal--chengjiao { --mp-accent: #9d642f; --mp-tint: #fff5e9; }
.mp-portal--kaifang { --mp-accent: #287e72; --mp-tint: #eff8f5; }
.mp-portal--zikao { --mp-accent: #2f8f4a; --mp-tint: #edf7ef; }
.mp-portal * { box-sizing: border-box; }
.mp-portal a { text-decoration: none; color: inherit; }
.mp-portal h1, .mp-portal h2, .mp-portal h3, .mp-portal p { margin: 0; }
.mp-portal h1 { font-size: 22px; line-height: 1.4; letter-spacing: 0; }
.mp-portal h2 { font-size: 19px; line-height: 1.45; letter-spacing: 0; }
.mp-portal h3 { font-size: 16px; line-height: 1.5; }
.mp-portal a:focus-visible { outline: 3px solid #91b8fc; outline-offset: 2px; }
.mp-eyebrow { display: block; color: #657789; font-size: 12px; line-height: 1.5; }
.mp-meta { font-size: 12px; color: #718091; line-height: 1.6; }
.mp-stack { display: grid; gap: 8px; min-width: 0; }
.mp-heading { display: flex; position: relative; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-bottom: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--mp-line); }
.mp-heading::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 25px; height: 2px; background: #4baa98; }
.mp-heading > div { min-width: 0; }
.mp-heading > a { display: flex; align-items: center; min-height: 44px; margin: -6px 0; font-size: 12px; color: #557ba4; white-space: nowrap; }
.mp-heading > span { flex-shrink: 0; font-size: 12px; color: #718091; }
.mp-directory, .mp-plan-section, .mp-school-section, .mp-adult-schools, .mp-adult-plans, .mp-open-schools, .mp-open-programs, .mp-fees, .mp-materials, .mp-tools, .mp-events, .mp-region-panel, .mp-adult-path, .mp-catalog { padding: 12px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; min-width: 0; }
/* 频道标头做成主题色圆角卡片：与下方卡片同宽同左边界，颜色跟随 --m-accent（自考蓝/成教棕/开放青）。
   color-mix 不可用时下面第一行纯色兜底。 */
.mp-channel-intro { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 7px 12px; border: 1px solid var(--m-line); border-radius: 10px; background: #f6f9fd; background-image: linear-gradient(135deg, color-mix(in srgb, var(--m-accent) 11%, #fff), color-mix(in srgb, var(--m-accent) 2%, #fff)); border-color: color-mix(in srgb, var(--m-accent) 20%, #fff); }
.mp-channel-intro > div { min-width: 0; }
.mp-channel-intro h1 { font-size: 19px; font-weight: 750; line-height: 1.35; letter-spacing: .4px; color: var(--m-accent); }
.mp-channel-intro > a { display: flex; align-items: center; gap: 4px; flex-shrink: 0; min-height: 32px; padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--m-accent) 24%, #fff); border-radius: 999px; background: #fff; color: var(--m-accent); font-size: 12px; }

/* Distinct silhouettes keep each home shortcut recognizable at phone size. */
.mp-entry-panel { border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; overflow: hidden; }
.mp-entry-panel .mp-quick { border: 0; border-radius: 0; padding: 12px 8px; gap: 10px 4px; }
.mp-entry-panel .mp-quick strong { font-size: 14px; }
.mp-entry-panel .mp-nav-art { width: 44px; height: 44px; }
.mp-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 4px; padding: 12px 8px; border: 1px solid #e6ebf6; border-radius: 8px; background: #fff; box-shadow: none; }
.mp-quick > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; }
.mp-quick strong { min-width: 0; font-size: 15px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.mp-nav-art { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; color: #4870d7; background: #e8edff; }
.mp-nav-art svg { width: 40px; height: 40px; filter: none; }
.mp-nav-art--guide { color: #f78032; background: #fff0df; }
.mp-nav-art--zikao { color: #37bf9e; background: #e0f7ee; }
.mp-nav-art--chengjiao { color: #2eade8; background: #e2f4ff; }
.mp-nav-art--kaifang { color: #6055c9; background: #edeaff; }
.mp-nav-art--major { color: #0ebba0; background: #ddfaf1; }
.mp-nav-art--school { color: #5169cf; background: #e9edff; }
.mp-nav-art--plan { color: #df9b24; background: #fff3d8; }
.mp-nav-art--news { color: #a668e6; background: #f2e7ff; }
.mp-audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mp-audience > a { min-height: 65px; padding: 9px 12px; border: 1px solid #dfe9f6; border-radius: 9px; background: #edf4fd; }
.mp-audience > a:nth-child(2) { border-color: #deece7; background: #eef8f4; }
.mp-audience strong { display: flex; justify-content: space-between; gap: 6px; color: #2e5279; font-size: 16px; line-height: 1.5; }
.mp-audience b { font-size: 13px; font-weight: 400; }
.mp-audience a > span { display: block; margin-top: 2px; color: #637b8d; font-size: 12px; }
.mp-action-strip, .mp-open-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--mp-line); border-radius: 9px; background: #fff; padding: 0 3px; }
.mp-action-strip > a, .mp-open-path > a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; color: #476984; font-size: 13px; }
.mp-action-strip > a + a, .mp-open-path > a + a { position: relative; }
.mp-action-strip > a + a::before, .mp-open-path > a + a::before { content: ''; position: absolute; left: 0; height: 15px; border-left: 1px solid #e8edf2; }
.mp-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.mp-levels > a { padding: 8px 10px; min-height: 64px; border: 1px solid #ebdfcf; border-radius: 9px; background: #fff4e7; }
.mp-levels > a:nth-child(2) { background: #eff5fc; border-color: #dfe8f2; }
.mp-levels > a:nth-child(3) { background: #f0f7f4; border-color: #dfeae5; }
.mp-levels strong { display: block; font-size: 18px; color: #374e65; line-height: 1.4; }
.mp-levels a > span { display: flex; justify-content: space-between; margin-top: 3px; font-size: 12px; color: #6e7c88; }
.mp-levels b { font-weight: 400; }
.mp-inline-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; margin-top: 8px; padding: 8px 11px; border-radius: 7px; background: #eef5fb; color: #3b648d; }
.mp-inline-banner strong { display: block; font-size: 15px; }
.mp-inline-banner small { display: block; margin-top: 2px; font-size: 12px; color: #6d8093; }
.mp-inline-banner > b { font-size: 14px; font-weight: 400; }

/* One schedule per education type, without repeated provincial date cards. */
.mp-schedule, .mp-home-news, .mp-pathways { min-width: 0; padding: 12px; background: #fff; border: 1px solid #e1e7ef; border-radius: 8px; box-shadow: none; }
.mp-feature-head { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #e1e7ef; position: relative; }
.mp-feature-head::after { content: ''; display: block; width: 28px; height: 2px; border-radius: 2px; background: #2fae95; margin-top: 0; position: absolute; left: 0; bottom: -1px; }
.mp-feature-head h2 { display: flex; align-items: center; gap: 6px; min-width: 0; color: #213653; font-size: 18px; font-weight: 700; line-height: 1.5; }
.mp-feature-head h2 .m-icon { display: none; }
.mp-feature-head > span, .mp-feature-head > a { color: #6c7e96; font-size: 12px; white-space: nowrap; margin-left: auto; }
.mp-feature-head > a { display: flex; align-items: center; min-height: 44px; margin-left: auto; }
.mp-segment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border-radius: 0; background: transparent; margin-bottom: 10px; border-bottom: 1px solid #e1e7ef; }
.mp-segment a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 0; font-size: 14px; color: #62708d; position: relative; }
.mp-segment [aria-selected=true] { color: #164b95; background: #fff; box-shadow: none; font-weight: 700; }
.mp-segment [aria-selected=true]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #164b95; }
.mp-countdown { min-height: 96px; padding: 12px 8px; text-align: center; border-radius: 8px; background: #f2f7fd; color: #456581; }
.mp-countdown > p { font-size: 14px; line-height: 1.6; }
.mp-countdown-number { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 6px; color: #164b95; }
.mp-countdown-number [data-countdown-digits] { display: flex; gap: 6px; }
.mp-countdown-number b { display: grid; place-items: center; width: 38px; height: 42px; border-radius: 6px; color: #fff; background: #164b95; box-shadow: none; font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.mp-countdown-number small { font-size: 15px; font-weight: 600; color: #456581; }
.mp-countdown-number > strong { font-size: 22px; }
.mp-countdown--chengjiao { background: #fdf5ec; color: #976b49; }
.mp-countdown--kaifang { background: #eef8f4; color: #3e7e7b; }
.mp-schedule-kicker { font-size: 13px; color: #6c7e96; }
.mp-schedule-intro { display: block; margin: 8px 0 6px; color: #213653; font-size: 18px; }
.mp-schedule-steps { padding: 8px 0 3px 16px; margin: 0; list-style: none; }
.mp-schedule-steps li { position: relative; border-left: 1px solid #e1e7ef; padding: 0 0 0 17px; }
.mp-schedule-steps li::before { content: ''; position: absolute; left: -5px; top: 23px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #2fae95; background: white; box-shadow: 0 0 0 3px #fff; }
.mp-schedule-steps li:last-child { border-color: transparent; }
.mp-schedule-steps a { display: grid; grid-template-columns: 86px minmax(0,1fr); align-items: center; gap: 5px; min-height: 48px; }
.mp-step-label { color: #213653; font-size: 15px; }
.mp-step-value { display: flex; align-items: center; justify-content: space-between; gap: 3px; color: #75839e; font-size: 15px; line-height: 1.5; min-width: 0; }
.mp-step-value b { color: #a9b2c6; font-size: 19px; font-weight: 400; }
.is-exam .mp-step-value { font-size: 15px; font-weight: 600; color: #164b95; }
.mp-schedule-more { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 50px; padding-top: 8px; border-top: 1px solid #e1e7ef; font-size: 14px; color: #164b95!important; }
.mp-schedule-more .m-icon { width: 17px; color: #164b95; }

/* Keep the national-home schedule steady while switching modes, with a denser five-step rhythm. */
.mp-portal--home .mp-schedule-panel { min-height: 364px; }
.mp-portal--home .mp-schedule-panel[hidden] { display: none; }
.mp-portal--home .mp-countdown { display: flex; flex-direction: column; justify-content: center; height: 92px; min-height: 92px; padding: 8px; }
.mp-portal--home .mp-countdown > p { font-size: 13px; line-height: 1.5; white-space: nowrap; }
.mp-portal--home .mp-countdown-number { margin-top: 4px; }
.mp-portal--home .mp-countdown-number b { width: 36px; height: 38px; font-size: 24px; }
.mp-portal--home .mp-schedule-kicker { font-size: 12px; line-height: 1.5; }
.mp-portal--home .mp-schedule-intro { margin: 4px 0 3px; font-size: clamp(16px, 4.6vw, 17px); line-height: 1.5; white-space: nowrap; }
.mp-portal--home .mp-schedule-steps { padding: 4px 0 2px 16px; }
.mp-portal--home .mp-schedule-steps li::before { top: 19px; }
.mp-portal--home .mp-schedule-steps a { min-height: 44px; }
.mp-portal--home .mp-schedule-more { min-height: 46px; padding-top: 4px; }

/* Homepage follows a mobile reading rhythm: entry, schedule, news, choices, directories. */
.mp-portal--home { gap: 10px; padding: 10px 12px 18px; background: transparent; }
.mp-portal--home .m-hero { border: 0; border-radius: 10px; }
.mp-portal--home .m-hero-viewport { height: 146px; }
.mp-portal--home .m-hero-editorial { background: linear-gradient(115deg,#195db5,#3c80c7 64%,#91bddf); }
.mp-portal--home .m-hero-editorial > img { width: 45%; opacity: .92; mask-image: linear-gradient(to right,transparent,#000 40%); }
.mp-portal--home .m-hero-copy { padding: 18px 14px; width: 82%; }
.mp-portal--home .m-hero-copy h2 { color: #fff; font-size: clamp(21px,5.8vw,25px); font-weight: 750; letter-spacing: .3px; }
.mp-portal--home .m-hero-copy p { color: #e2e9ff; font-size: 13px; margin-top: 5px; }
.mp-portal--home .m-hero-copy b { color: #fff; background: #ef9b47; border-radius: 5px; font-size: 13px; padding: 3px 11px; margin-top: 11px; }
.mp-home-services { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; margin: 0 12px; padding: 7px 0; border-top: 1px solid #e1e7ef; }
.mp-home-services a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; font-size: 12px; color: #526580; }
.mp-home-services .m-icon { width: 20px; height: 20px; padding: 0; border-radius: 0; color: #164b95; background: transparent; box-shadow: none; }
.mp-home-news .mp-feature-head { flex-wrap: wrap; }
.mp-news-tabs { display: flex; gap: 4px; margin-left: auto; }
.mp-news-tabs a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; font-size: 13px; color: #74809b; border-radius: 0; position: relative; background: transparent; box-shadow: none; }
.mp-news-tabs [aria-selected=true] { color: #164b95; background: transparent; box-shadow: none; font-weight: 700; }
.mp-news-tabs [aria-selected=true]::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 8px; height: 2px; background: #164b95; }
.mp-news-banner { display: flex; align-items: center; min-height: 80px; padding: 12px 14px; border-radius: 8px; background: #e8f5fb; margin-bottom: 12px; position: relative; overflow: hidden; }
.mp-news-banner > div { position: relative; z-index: 1; width: 74%; }
.mp-news-banner strong { display: block; color: #213653; font-size: 17px; font-weight: 700; }
.mp-news-banner span { display: block; margin-top: 4px; font-size: 12px; color: #53718f; }
.mp-news-banner img { width: 100px; height: 100%; position: absolute; right: 0; top: 0; object-fit: cover; opacity: .85; mask-image: linear-gradient(to right,transparent,#000); }
.mp-home-news .m-news-lead { grid-template-columns: 88px minmax(0,1fr); gap: 11px; padding: 2px 0 10px; }
.mp-home-news .m-news-lead img { width: 88px; height: 77px; border-radius: 9px; }
.mp-home-news .m-news-lead h3 { font-size: 16px; font-weight: 400; color: #213653; line-height: 1.55; }
.mp-editorial-row { display: block; padding: 10px 0; border-top: 1px solid #e1e7ef; }
.mp-news-label { color: #164b95; background: #e8f0fb; font-size: 12px; line-height: 1.4; padding: 2px 6px; border-radius: 4px; flex: none; }
.mp-editorial-row > div { min-width: 0; }
.mp-editorial-row h3 { font-size: 16px; line-height: 1.55; font-weight: 400; color: #213653; }
.mp-editorial-row p { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; font-size: 12px; color: #6c7c94; margin-top: 4px; }
.mp-pathway-grid { display: grid; grid-template-columns: minmax(0,1fr); grid-auto-rows: 1fr; gap: 8px; }
.mp-pathway { display: flex; flex-direction: row-reverse; align-items: center; min-width: 0; border: 1px solid #e1e7ef; border-radius: 8px; overflow: hidden; background: #fff; }
.mp-pathway > img { width: 84px; height: 84px; object-fit: cover; flex: none; }
.mp-pathway > div { padding: 10px 12px; min-width: 0; flex: 1 1 auto; }
.mp-pathway-label { display: block; color: #66758a; font-size: 12px; margin-bottom: 3px; }
.mp-pathway h3 { font-size: 18px; color: #213653; }
.mp-pathway p { font-size: 13px; color: #596a80; line-height: 1.65; margin-top: 4px; }
.mp-pathway b { display: flex; align-items: center; justify-content: space-between; min-height: 0; margin-top: 8px; padding: 0; border: 0; border-radius: 0; color: #164b95; font-size: 13px; font-weight: 500; background: transparent; }
.mp-pathway--zikao { grid-column: auto; position: relative; min-height: 0; border: 1px solid #d8e6f4; color: #213653; background: #eaf3fb; }
.mp-pathway--zikao > img { position: static; right: auto; top: auto; width: 84px; height: 84px; object-fit: cover; border-radius: 0; opacity: 1; flex: none; }
.mp-pathway--zikao > div { position: relative; width: auto; padding: 10px 12px; }
.mp-pathway--zikao .mp-pathway-label { color: #5a7ba6; margin-bottom: 3px; }
.mp-pathway--zikao h3 { font-size: 18px; color: #164b95; }
.mp-pathway--zikao p { width: auto; color: #4a6a8a; font-size: 13px; line-height: 1.65; margin-top: 4px; }
.mp-pathway--zikao b { width: auto; color: #164b95; background: transparent; border-color: transparent; margin-top: 8px; }
.mp-region-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.mp-region-grid > a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 0; border-radius: 5px; color: #475d73; font-size: 13px; white-space: nowrap; }
.mp-region-grid > a:hover, .mp-region-grid .is-current { background: var(--mp-tint); color: var(--mp-accent); font-weight: 650; }
.mp-region-group + .mp-region-group { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--mp-line); }
.mp-region-group h3 { padding-left: 8px; border-left: 2px solid #51a895; color: #50657b; font-size: 15px; }
.mp-region-types { display: grid; gap: 7px; }
.mp-region-types > a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 58px; padding: 9px 12px; border: 1px solid #dfE8f2; border-radius: 9px; background: #edf4fc; }
.mp-region-types > a:nth-child(2) { background: #fff5e9; border-color: #ece2d5; }
.mp-region-types > a:nth-child(3) { background: #eff8f4; border-color: #dcebe4; }
.mp-region-types strong { font-size: 17px; line-height: 1.5; }
.mp-region-types span { font-size: 12px; color: #6d7f90; text-align: right; }

/* Each home channel is a short coloured heading followed by readable rows. */
.mp-channel-zone { --zone: #2b68a8; overflow: hidden; min-width: 0; padding: 0 12px 12px; border: 1px solid var(--mp-line); border-radius: 10px; background: #fff; }
.mp-channel-zone--chengjiao { --zone: #a26936; }
.mp-channel-zone--kaifang { --zone: #287d6e; }
.mp-zone-banner { display: flex; position: relative; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; margin: 0 -12px; padding: 10px 12px; background: #edf4fc; }
.mp-channel-zone--chengjiao .mp-zone-banner { background: #fff4e6; }
.mp-channel-zone--kaifang .mp-zone-banner { background: #edf8f3; }
.mp-zone-banner > div { position: relative; z-index: 1; min-width: 0; }
.mp-zone-banner h2 { color: #304b66; font-size: 20px; }
.mp-zone-banner p { margin-top: 3px; color: #687f93; font-size: 12px; line-height: 1.5; }
.mp-zone-banner b { display: block; margin-top: 2px; color: var(--zone); font-size: 12px; font-weight: 400; }
.mp-zone-banner .mp-eyebrow { font-size: 12px; color: #63798f; }
.mp-zone-banner img { width: 76px; height: 48px; flex: 0 0 76px; object-fit: cover; border-radius: 5px; }
.mp-zone-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 0; border-bottom: 1px solid var(--mp-line); margin-bottom: 5px; }
.mp-zone-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 13px; color: #526c83; }
.mp-zone-nav a span { color: var(--zone); }
.mp-major-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.mp-major-grid > * { min-width: 0; }
/* 首页短卡并排；详细招生信息仍使用频道页的单列组件。 */
.mp-preview-grid, .mp-school-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.mp-preview-grid .m-plan--compact { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--mp-line); border-radius: 6px; box-shadow: none; }
.m-plan--compact .m-plan-title { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.m-plan--compact h3 { width: 100%; }
.m-plan--compact h3 a { min-height: 0; padding: 5px 0; align-items: flex-start; line-height: 1.5; overflow-wrap: anywhere; }
.m-plan--compact .m-meta { margin-top: 4px; font-size: 12px; }
.mp-school-preview .mp-school { border-radius: 6px; }
.mp-school-preview .mp-school-identity { height: 100%; min-height: 104px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 7px; padding: 10px; }
.mp-school-preview .mp-school-identity > img, .mp-school-preview .mp-school-monogram { width: 34px; height: 34px; flex-basis: 34px; }
.mp-school-preview .mp-school-identity h3 { font-size: 15px; line-height: 1.5; }
.mp-school-preview .mp-school-identity > span:last-child { display: none; }
.mp-explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.mp-explore-grid > a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 7px; align-items: center; min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--mp-line); }
/* 每组的最后一行不留分隔线，避免和分组小标题的细线叠成双线。 */
.mp-explore-grid > a:nth-last-child(-n+2) { border-bottom: 0; }
/* 两列排布放不下箭头，用按下反馈替代，暗示整块可点。 */
.mp-explore-grid > a:active { background: #f2f7fd; }
/* 图标是不透明白底，底色靠内边距露在图案外圈，形成按学科配色的圆角色块。
   跨两行居中，避免图标比标题行高而把整行撑高。 */
.mp-explore-grid > a > img { grid-column: 1; grid-row: 1 / 3; width: 28px; height: 28px; padding: 3px; border-radius: 8px; object-fit: contain; background: #eef4fd; }
.mp-explore-grid > a > img[data-major="business"] { background: #fdf3e4; }
.mp-explore-grid > a > img[data-major="education"] { background: #f1edfa; }
.mp-explore-grid > a > img[data-major="law"] { background: #fdeceb; }
.mp-explore-grid > a > img[data-major="construction"] { background: #e6f5f8; }
.mp-explore-grid > a > img[data-major="health"] { background: #e9f7f0; }
.mp-explore-grid > a > img[data-major="agriculture"] { background: #f1f4e4; }
.mp-explore-grid > a > img[data-major="creative"] { background: #fdeee9; }
/* 14px 是让 9 字专业名（如"电气工程及其自动化"=126px）在 130px 列内单行放下的上限。 */
.mp-explore-grid h3 { grid-column: 2; grid-row: 1; font-size: 14px; line-height: 1.4; }
.mp-explore-grid p { grid-column: 2; grid-row: 2; color: #778594; font-size: 12px; line-height: 1.45; }
.mp-explore-grid .mp-meta { display: flex; justify-content: space-between; margin-top: 2px; font-size: 12px; }
.mp-explore-grid b { color: #477ea8; font-weight: 400; }

/* School identity remains complete; related programmes carry their own scope. */
.mp-school { min-width: 0; border: 1px solid var(--mp-line); border-radius: 9px; background: #fff; overflow: hidden; }
.mp-school-identity { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 11px 10px; }
.mp-school-identity > img, .mp-school-monogram { flex: 0 0 44px; width: 44px; height: 44px; padding: 2px; object-fit: contain; border: 1px solid #eef0f3; border-radius: 50%; background: #fff; }
.mp-school-monogram { display: grid; place-items: center; color: #4079ad; background: #f1f6fb; font-size: 20px; font-weight: 650; }
.mp-school-identity > div { flex: 1; min-width: 0; }
.mp-school-identity h3 { color: #263e54; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.mp-school-identity p { color: #788593; font-size: 12px; line-height: 1.5; margin-top: 3px; }
.mp-school-major-names { display: -webkit-box; overflow: hidden; margin-top: 3px; color: #61768b; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mp-school-reading{padding:0 12px 8px;font-size:12px;color:#61768b}
.mp-school-reading a{display:block;padding:9px 0;line-height:1.6;border-top:1px solid #edf1f5}
.mp-directory-rows{padding:0 12px}
.mp-directory-rows article{padding:12px 0;border-top:1px solid #edf1f5;font-size:13px;overflow-wrap:anywhere}
.mp-directory-rows h3{font-size:15px;margin:0 0 4px}
.mp-directory-rows p{font-size:12px;line-height:1.7;color:#61768b;margin:4px 0}
.mp-directory-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.mp-directory-status .public-exam-status{white-space:normal}
.mp-directory-filter{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:8px;padding:0 12px 12px}
.mp-directory-filter input,.mp-directory-filter select{min-width:0;width:100%;min-height:40px;padding:8px;border:1px solid #dce6f3;border-radius:5px;background:#fff;font:inherit;font-size:13px}
.mp-directory-filter input{grid-column:1/-1}
.mp-directory-filter button{border:0;border-radius:5px;background:#eaf2fc;color:#21598e;font:inherit;font-size:13px}
.mp-directory-empty{padding:12px;font-size:13px;color:#61768b}
.mp-school-identity > span:last-child { color: #7b93a8; font-size: 14px; }
.mp-school-section > .mp-stack, .mp-adult-schools > .mp-stack, .mp-open-schools > .mp-stack, .mp-directory > .mp-stack, .mp-channel-zone > .mp-stack { gap: 0; }
.mp-school-section > .mp-stack > .mp-school, .mp-adult-schools > .mp-stack > .mp-school, .mp-open-schools > .mp-stack > .mp-school, .mp-directory > .mp-stack > .mp-school, .mp-channel-zone > .mp-stack > .mp-school { border: 0; border-bottom: 1px solid var(--mp-line); border-radius: 0; }
.mp-school-section > .mp-stack > .mp-school:last-child, .mp-adult-schools > .mp-stack > .mp-school:last-child, .mp-open-schools > .mp-stack > .mp-school:last-child, .mp-directory > .mp-stack > .mp-school:last-child, .mp-channel-zone > .mp-stack > .mp-school:last-child { border-bottom: 0; }
.mp-school-programs { margin: 0 10px 2px; border-top: 1px solid #e9edf2; }
.mp-school-plan { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; min-height: 58px; }
.mp-school-plan + .mp-school-plan { border-top: 1px solid #edf0f4; }
.mp-school-plan strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; }
.mp-school-plan span { display: block; margin-top: 2px; font-size: 12px; color: #738291; line-height: 1.6; }
.mp-school-plan em { flex-shrink: 0; padding: 2px 6px; border-radius: 4px; background: #edf4fb; color: #537ea4; font-size: 12px; font-style: normal; }
.mp-offering { display: block; padding: 9px 0 10px; }
.mp-offering + .mp-offering { border-top: 1px solid #eceef1; }
.mp-offering-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.mp-offering-title strong { color: #334c62; font-size: 15px; line-height: 1.5; }
.mp-offering-title > span { flex-shrink: 0; padding: 2px 6px; border-radius: 4px; color: #9a6b3b; background: #fff3e3; font-size: 12px; }
.mp-offering > .mp-meta { margin-top: 3px; font-size: 12px; }
.mp-offering dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 12px; margin: 5px 0 0; }
.mp-offering dl > div { display: flex; gap: 6px; min-width: 0; font-size: 12px; line-height: 1.6; }
.mp-offering dt { flex-shrink: 0; color: #7b8792; }
.mp-offering dd { margin: 0; color: #455c70; overflow-wrap: anywhere; }
.mp-open-program { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf0f3; }
.mp-open-program:last-child { border-bottom: 0; }
.mp-open-program strong { display: block; font-size: 15px; line-height: 1.5; }
.mp-open-program span { display: block; font-size: 12px; line-height: 1.6; color: #728579; margin-top: 2px; }
.mp-open-program b { color: #6c9a8a; font-size: 14px; font-weight: 400; }

/* Open education keeps headquarters, regional provision and tuition distinct. */
.mp-open-network { padding: 11px 12px; border: 1px solid #dfe9f2; border-radius: 9px; background: #edf5fb; }
.mp-open-network h2 { color: #31566f; font-size: 18px; }
.mp-open-network > div { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 2px; }
.mp-open-network > div > a { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: #447691; }
.mp-open-network strong { color: #247391; font-size: 16px; font-weight: 650; }
.mp-open-network > p { color: #748795; font-size: 12px; line-height: 1.5; }
.mp-open-major-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.mp-open-major-grid > a { min-width: 0; padding: 10px 0; border-bottom: 1px solid var(--mp-line); }
.mp-open-major-grid > a:last-child { border-bottom: 0; }
.mp-open-major-grid h3 { color: #2d5364; font-size: 16px; }
.mp-open-major-grid p { display: inline; margin: 0 8px 0 0; color: #758580; font-size: 12px; line-height: 1.7; }
.mp-open-major-grid a > div { display: flex; justify-content: space-between; margin-top: 3px; font-size: 12px; color: #5c7d70; }
.mp-fee { position: relative; display: block; padding: 11px 0; border-bottom: 1px solid var(--mp-line); background: #fff; }
.mp-fee:last-child { border-bottom: 0; }
.mp-fee > span { color: #5c8273; font-size: 12px; }
.mp-fee h3 { padding-right: 18px; margin-top: 4px; font-size: 15px; line-height: 1.6; }
.mp-fee p { margin-top: 3px; color: #788c80; font-size: 12px; line-height: 1.6; }
.mp-fee > b { position: absolute; right: 0; top: 12px; color: #6e9786; font-size: 14px; font-weight: 400; }
.mp-fee dl { display: grid; gap: 5px; margin: 8px 0 0; }
.mp-fee dl > div { display: flex; gap: 12px; font-size: 13px; }
.mp-fee dt { flex: 0 0 70px; color: #73867d; }
.mp-fee dd { min-width: 0; margin: 0; color: #405c4e; overflow-wrap: anywhere; }
.mp-catalog .mp-text-card { padding: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--mp-line); }
.mp-catalog .mp-text-card:last-child { border-bottom: 0; }
.mp-text-card > summary { min-height: 44px; padding: 9px 0; cursor: pointer; font-size: 15px; }
.mp-catalog .mp-text-card > summary .mp-meta { display: block; padding-left: 15px; }
.mp-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.mp-steps > a { display: flex; align-items: flex-start; gap: 7px; padding: 10px 0; min-height: 60px; border-bottom: 1px solid #e9edf1; }
.mp-steps a > span { color: #9a744a; font-size: 12px; line-height: 23px; }
.mp-steps a > div { min-width: 0; flex: 1; }
.mp-steps strong { font-size: 14px; line-height: 1.5; }
.mp-steps p { margin-top: 2px; font-size: 12px; color: #798796; line-height: 1.5; }
.mp-steps b { color: #94a2ae; font-weight: 400; font-size: 13px; line-height: 23px; }

/* Materials and tools are catalogue entries rather than repeated promotion cards. */
.mp-material-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.mp-material { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 3px 8px; padding: 10px 0; border-bottom: 1px solid var(--mp-line); min-width: 0; }
.mp-material:last-child { border-bottom: 0; }
.mp-material-kind { margin-top: 2px; padding: 2px 5px; border-radius: 4px; color: #507da4; background: #edf4fb; font-size: 12px; line-height: 1.5; }
.mp-material:nth-child(3n + 2) .mp-material-kind { color: #9c7348; background: #fff4e7; }
.mp-material:nth-child(3n) .mp-material-kind { color: #488777; background: #eff8f3; }
.mp-material h3 { font-size: 15px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.mp-material p { grid-column: 2; color: #7b8998; font-size: 12px; line-height: 1.5; }
.mp-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mp-tool-grid > a { min-width: 0; min-height: 68px; padding: 9px 10px; border: 1px solid #e0e8f2; border-radius: 7px; background: #f1f6fd; }
.mp-tool-grid > a:nth-child(2) { border-color: #e0ebe5; background: #f1f8f4; }
.mp-tool-grid h3 { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 14px; }
.mp-tool-grid h3 span { font-weight: 400; color: #7a91aa; }
.mp-tool-grid p { margin-top: 3px; color: #778899; font-size: 12px; line-height: 1.5; }
.mp-service { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin-top: 8px; padding: 6px 10px; border: 1px solid #eee4d6; border-radius: 7px; background: #fff7ed; }
.mp-service strong { font-size: 14px; font-weight: 600; color: #806342; }
.mp-service > span { font-size: 12px; color: #917f69; }
.mp-service b { font-weight: 400; margin-left: 7px; }

/* Shared directory, schedule and province page mechanics. */
.mp-directory-filter { position: sticky; top: 0; z-index: 3; padding: 6px 12px; border: 1px solid var(--mp-line); border-radius: 9px; background: #fff; }
.mp-directory-filter summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; list-style: none; font-size: 14px; cursor: pointer; }
.mp-directory-filter form { display: grid; gap: 10px; padding: 6px 0 10px; }
.mp-directory-filter label { display: grid; gap: 5px; font-size: 13px; color: #63788d; }
.mp-directory-filter select, .mp-directory-filter input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #dce5ed; border-radius: 6px; background: #f9fbfd; font-size: 14px; color: #334d65; }
.mp-directory-filter button { min-height: 44px; border: 0; border-radius: 6px; background: var(--mp-accent); color: #fff; }
.mp-pill-nav { display: flex; gap: 6px; overflow: auto; scrollbar-width: none; padding: 0 0 3px; }
/* 右侧渐隐提示后面还有栏目；滚到最右时移除，免得遮住最后一项。 */
.mp-pill-nav:not(.is-scroll-end) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), #0000); mask-image: linear-gradient(to right, #000 calc(100% - 32px), #0000); }
.mp-pill-nav a { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 7px 12px; border: 1px solid var(--mp-line); border-radius: 7px; background: #fff; font-size: 13px; }
.mp-pill-nav .is-current { border-color: #bdd5e9; background: #edf5fc; color: #286ba3; }
.mp-text-card { padding: 12px; border: 1px solid var(--mp-line); border-radius: 9px; background: #fff; min-width: 0; }
.mp-text-card p { margin-top: 5px; color: #677b8e; font-size: 14px; line-height: 1.75; }
.mp-text-card > a { display: block; min-height: 44px; padding-top: 9px; color: var(--mp-accent); font-size: 13px; }
.mp-subjects { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.mp-subjects span { padding: 5px 8px; border-radius: 5px; background: var(--mp-tint); color: var(--mp-accent); font-size: 13px; line-height: 1.5; }
.mp-reading-list { display: grid; gap: 0; }
.mp-reading-list > a { display: block; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--mp-line); }
.mp-reading-list a:last-child { border-bottom: 0; }
.mp-reading-list h3 { font-size: 16px; font-weight: 400; }
.mp-reading-list .mp-meta { margin-top: 3px; }
.mp-evidence { display: inline-block; min-height: 44px; padding: 9px 0; color: var(--mp-accent); font-size: 13px; line-height: 1.6; }
.mp-official-files { min-width: 0; padding: 12px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; }
.mp-official-files .mp-evidence { display: block; border-bottom: 1px solid var(--mp-line); }
.mp-official-files .mp-evidence > :is(span,small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-official-files .mp-heading p { color: #718091; font-size: 12px; }
.mp-source-context { display: block; padding-top: 3px; color: #718091; font-size: 12px; }
.mp-adult-plans.mc-page { padding: 12px; }
.mp-adult-plans .mc-offering__disclosure > summary { display: block; min-height: 44px; padding: 6px 0; cursor: pointer; }
.mp-adult-plans .mc-offering__summary-main { display: grid; gap: 4px; }
.mp-adult-plans .mc-offering__summary-main small, .mp-adult-plans .mc-offering__summary-main > span { font-size: 12px; color: #718091; }
.mp-adult-plans .mc-offering__summary-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; font-size: 12px; }
.mp-adult-plans .mc-offering__disclosure em { display: block; margin-top: 5px; color: var(--mp-accent); font-size: 12px; font-style: normal; }
.mp-empty { padding: 18px 14px; border: 1px solid var(--mp-line); border-radius: 9px; background: #fff; color: #718195; font-size: 14px; line-height: 1.8; }
.mp-empty a { display: block; min-height: 44px; margin-top: 6px; color: var(--mp-accent); }
.mp-table-wrap { min-width: 0; overflow: auto; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; }
.mp-table-wrap table { min-width: 520px; width: 100%; border-collapse: collapse; font-size: 14px; }
.mp-table-wrap th, .mp-table-wrap td { padding: 10px; text-align: left; border-bottom: 1px solid var(--mp-line); }
.mp-table-wrap th { background: #f0f5fb; color: #536f87; }
.mp-unit-grid { display: grid; gap: 7px; }
.mp-unit { padding: 11px 12px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; }
.mp-unit h3 { font-size: 16px; }
.mp-unit p { margin-top: 3px; color: #728778; font-size: 13px; line-height: 1.6; }

@media (max-width: 359px) {
    .mp-portal { padding-left: 12px; padding-right: 12px; }
    .mp-portal h1 { font-size: 20px; }
    .mp-portal h2 { font-size: 18px; }
    .mp-heading > span { font-size: 12px; }
    .mp-quick { column-gap: 2px; padding-left: 5px; padding-right: 5px; }
    .mp-quick > a { flex-direction: column; gap: 2px; min-height: 62px; }
    .mp-region-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .mp-offering dl { grid-template-columns: minmax(0, 1fr); }
    .mp-zone-banner img { width: 62px; flex-basis: 62px; }
    .mp-audience > a { padding-left: 10px; padding-right: 10px; }
    .mp-action-strip > a, .mp-open-path > a { font-size: 12px; }
}
@media (min-width: 520px) {
    .mp-portal { padding-left: 12px; padding-right: 12px; }
    .mp-region-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .mp-quick strong { font-size: 14px; }
    .mp-open-network > div { gap: 0 24px; }
}

/* ===== 考试时间轴页（/zikao|chengjiao/kaoshi/）===== */
.mp-exam-hero { display: grid; gap: 6px; justify-items: center; margin: 0 0 12px; padding: 18px 14px 16px; border: 1px solid #dfe7f1; border-radius: 10px; background: linear-gradient(180deg, #f2f7ff, #fff); text-align: center; }
.mp-exam-hero > p { margin: 0; color: #5b7089; font-size: 14px; line-height: 1.7; }
.mp-exam-hero > p b { color: #213653; font-weight: 700; }
.mp-exam-hero .mp-countdown-number { margin-top: 2px; }
.mp-exam-hero__date { color: #7b8ca1!important; font-size: 13px!important; }

.mp-province-list { display: grid; gap: 6px; min-width: 0; }
.mp-province { border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; overflow: hidden; }
.mp-province > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; cursor: pointer; list-style: none; }
.mp-province > summary::-webkit-details-marker { display: none; }
.mp-province > summary::after { content: "›"; margin-left: auto; color: #9aa9bb; font-size: 18px; transition: transform .15s ease; }
.mp-province[open] > summary::after { transform: rotate(90deg); }
.mp-province[open] > summary { border-bottom: 1px solid #eef2f7; background: #fafcff; }
.mp-province__name { flex: none; width: 62px; color: #213653; font-size: 15px; font-weight: 700; }
.mp-province__date { min-width: 0; color: #3f5876; font-size: 13px; line-height: 1.5; }
.mp-province__body { padding: 10px 12px 12px; }
.mp-province__facts { display: grid; gap: 0; margin: 0; }
.mp-province__facts > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px dashed #edf1f6; }
.mp-province__facts > div:last-child { border-bottom: 0; }
.mp-province__facts dt { color: #7b8ca1; font-size: 13px; }
.mp-province__facts dd { margin: 0; color: #2b476c; font-size: 14px; font-weight: 600; line-height: 1.6; }
.mp-province__note { margin: 6px 0 0; color: #8593a6; font-size: 12px; line-height: 1.7; }
.mp-province__actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.mp-province__actions a { display: inline-flex; align-items: center; min-height: 40px; color: #164b95; font-size: 13px; }

.mp-node-guides { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mp-node-guides a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; }
.mp-node-guides__index { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: #eef4ff; color: #2f6fc0; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mp-node-guides strong { display: block; color: #213653; font-size: 15px; line-height: 1.5; }
.mp-node-guides p { margin: 2px 0 0; color: #7b8ca1; font-size: 12px; line-height: 1.6; }
.mp-node-guides b { color: #9aa9bb; font-size: 18px; font-weight: 400; }

.mp-note { margin: 8px 0 0; color: #8593a6; font-size: 12px; line-height: 1.75; }

/* 没有分省日程的学历方式（如开放教育）：用「办事节奏」把规律讲清楚 */
.mp-fact-list{margin:0;padding:0}
.mp-fact-list>div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px dashed #edf1f6}
.mp-fact-list>div:last-child{border-bottom:0}
.mp-fact-list dt{color:#7b8ca1;font-size:13px;line-height:1.7}
.mp-fact-list dd{margin:0;color:#2b476c;font-size:14px;line-height:1.8}

/* 表格前两列（年度、地区）不换行：否则「地区」和省份名会被挤成竖排两行 */
.mp-table-wrap :is(th, td):nth-child(-n+2) { white-space: nowrap; }

/* 录取控制分数线：手机上用卡片而不是四列表格，分数才不会落到屏幕外 */
.mp-score-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mp-score-list li { padding: 11px 13px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; }
.mp-score-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mp-score-list__score { color: #175bc2; font-size: 22px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.mp-score-list__score small { margin-left: 2px; color: #64809e; font-size: 12px; font-weight: 600; }
.mp-score-list__meta { flex: none; color: #7b8ca1; font-size: 12px; }
.mp-score-list p { margin: 5px 0 0; color: #3f5876; font-size: 13px; line-height: 1.7; }

.mp-text-card.mp-requirements { border-color: #f0dcc4; background: var(--mp-tint); }
.mp-requirements__eyebrow { display: block; color: #a4753f; font-size: 12px; }
.mp-requirements h2 { margin-top: 3px; font-size: 16px; }
.mp-requirements p { margin-top: 5px; color: #7d6549; font-size: 13px; line-height: 1.75; }
.mp-requirements > .mp-requirements__action { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 9px; padding: 0 13px; border-radius: 7px; background: var(--mp-accent); color: #fff; font-size: 14px; font-weight: 650; }
