/* Tianjin MBBS programme presentation. Only this route loads this namespaced stylesheet. */
body.tm-mbbs-programme { background:#f8fafb; color:#132e40; }
.tm-page { font-size:17px; line-height:1.65; color:#132e40; background:#f8fafb; overflow-wrap:anywhere; }
.tm-page *, .tm-page *::before, .tm-page *::after { box-sizing:border-box; }
.tm-wrap { width:min(1180px,calc(100% - 48px)); margin-inline:auto; min-width:0; }
.tm-page h1, .tm-page h2, .tm-page h3, .tm-page h4 { color:#132e40; letter-spacing:-.025em; overflow-wrap:anywhere; }
.tm-page h1 { font-size:clamp(32px,4vw,52px); line-height:1.12; max-width:18ch; margin:14px 0 22px; }
.tm-page h2 { font-size:clamp(28px,3vw,38px); line-height:1.2; margin:7px 0 14px; }
.tm-page h3 { font-size:20px; line-height:1.4; margin:0 0 10px; }
.tm-page h4 { font-size:18px; line-height:1.4; margin:22px 0 7px; }
.tm-page p { margin:0 0 16px; }
.tm-page a { color:#123d55; text-underline-offset:4px; }
.tm-page .button.dark { display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#123d55; color:#fff; border:1px solid #123d55; box-shadow:none; text-decoration:none; min-height:48px; padding:13px 21px; border-radius:9px; font-size:16px; line-height:1.4; white-space:normal; text-align:center; }
.tm-page .button.dark:hover { background:#0e3043; }
.tm-page .button:focus-visible, .tm-page a:focus-visible, .tm-page button:focus-visible, .tm-page summary:focus-visible, .tm-page input:focus-visible { outline:3px solid #287aba; outline-offset:4px; }
.tm-breadcrumb { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:14px; line-height:1.6; padding-block:24px; color:#526573; }
.tm-breadcrumb a { text-decoration:none; }
.tm-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:48px; align-items:center; padding-top:6px; padding-bottom:34px; }
.tm-hero-copy { min-width:0; }
.tm-university { display:flex; align-items:center; gap:12px; margin-bottom:25px; font-size:12px; line-height:1.65; letter-spacing:.06em; color:#526573; }
.tm-university strong { font-size:14px; font-weight:600; letter-spacing:0; color:#132e40; }
.tm-logo { width:168px; height:60px; display:grid; place-items:center; border:1px solid #d9e3e8; border-radius:10px; background:#fff; flex:none; }
.tm-logo img { width:150px; height:42px; object-fit:contain; filter:none; }
.tm-page .tm-kicker { color:#436579; font-size:12px; line-height:1.6; letter-spacing:.12em; font-weight:750; margin:0; }
.tm-lead { font-size:18px; line-height:1.65; color:#526573; max-width:48ch; }
.tm-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:25px; }
.tm-text-link { display:inline-flex; align-items:center; min-height:48px; font-weight:650; font-size:16px; line-height:1.6; }
.tm-hero-photo { margin:0; align-self:center; min-width:0; }
.tm-hero-photo>img { display:block; width:100%; height:auto; aspect-ratio:5042/3361; object-fit:contain; border-radius:14px; background:#eaf1f4; box-shadow:0 18px 36px -24px #132e4055; }
.tm-hero-photo figcaption { font-size:12px; line-height:1.6; color:#526573; margin-top:12px; text-align:left; }
.tm-facts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.75fr) minmax(0,1.2fr) minmax(0,1.6fr); margin:0; border-top:1px solid #d9e3e8; border-bottom:1px solid #d9e3e8; padding:23px 0; gap:24px; }
.tm-facts>div { min-width:0; }
.tm-facts>div+div { border-left:1px solid #d9e3e8; padding-left:24px; }
.tm-facts dt { font-size:14px; line-height:1.6; color:#526573; margin-bottom:8px; }
.tm-facts dd { font-size:20px; font-weight:650; line-height:1.4; margin:0; letter-spacing:-.02em; }
.tm-facts dd small { font-size:14px; font-weight:450; color:#526573; }
.tm-facts .tm-award { font-size:16px; line-height:1.6; max-width:28ch; }
.tm-intake { display:flex; align-items:flex-start; gap:14px; margin-top:24px; padding:18px 20px; background:#eaf1f4; border:1px solid #d9e3e8; border-radius:10px; }
.tm-intake>div { min-width:0; }
.tm-status-dot { width:8px; height:8px; background:#a47926; border-radius:50%; flex:none; margin-top:10px; }
.tm-intake strong { font-size:16px; }
.tm-intake p { font-size:16px; line-height:1.65; color:#526573; margin:4px 0 0; max-width:74ch; }
.tm-intake>a { margin-left:auto; align-self:center; flex:none; }
.tm-section-nav { display:flex; gap:10px 26px; border-bottom:1px solid #d9e3e8; padding-top:15px; padding-bottom:10px; flex-wrap:wrap; }
.tm-section-nav a { min-height:48px; display:inline-flex; align-items:center; text-decoration:none; font-size:16px; line-height:1.5; font-weight:600; }
.tm-section { padding-top:56px; padding-bottom:56px; scroll-margin-top:100px; }
.tm-section-head { display:flex; gap:28px; align-items:flex-start; margin-bottom:26px; }
.tm-section-head>div { max-width:74ch; min-width:0; }
.tm-section-head p:not(.tm-kicker) { font-size:16px; line-height:1.7; color:#526573; max-width:70ch; margin-bottom:0; }
.tm-resource-link { display:inline-flex; align-items:center; min-height:48px; margin-left:auto; font-size:16px; line-height:1.6; flex:none; align-self:center; }
.tm-year-switch { display:inline-flex; background:#eaf1f4; padding:4px; border:1px solid #d9e3e8; border-radius:10px; margin-bottom:20px; max-width:100%; }
.tm-year-switch[hidden] { display:none; }
.tm-year-switch button { font:inherit; font-size:16px; line-height:1.4; font-weight:600; cursor:pointer; border:0; background:transparent; color:#526573; padding:11px 22px; border-radius:7px; min-height:48px; }
.tm-year-switch button[aria-selected=true] { background:#123d55; color:#fff; }
.tm-cost-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:32px; align-items:start; }
.tm-cost-panels { min-width:0; }
.tm-cost-panel { background:#fff; border:1px solid #d9e3e8; border-radius:13px; overflow:hidden; margin-bottom:20px; }
.tm-cost-panel[hidden] { display:none; }
.tm-cost-panel>h3 { padding:22px 24px 0; }
.tm-cost-table { border-collapse:collapse; width:100%; font-size:16px; line-height:1.6; table-layout:fixed; border:0; margin:0; }
.tm-cost-table caption { text-align:left; padding:0 24px 18px; font-size:12px; line-height:1.6; color:#526573; caption-side:top; }
.tm-cost-table th, .tm-cost-table td { padding:14px 24px; border:0; border-bottom:1px solid #e9eef1; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.tm-cost-table th:first-child { width:74%; font-weight:550; }
.tm-cost-table td, .tm-cost-table th:last-child:not([colspan]) { width:26%; text-align:right; font-variant-numeric:tabular-nums; white-space:normal; }
.tm-cost-table thead th { font-size:14px; line-height:1.6; text-transform:uppercase; letter-spacing:.06em; color:#526573; background:#f8fafb; }
.tm-cost-table th small { display:block; font-size:14px; line-height:1.65; font-weight:400; color:#526573; margin-top:5px; }
.tm-cost-table .tm-table-group th { font-size:14px; line-height:1.6; text-transform:uppercase; letter-spacing:.05em; background:#edf3f6; padding-block:12px; font-weight:700; }
.tm-cost-table .tm-subtotal th, .tm-cost-table .tm-subtotal td { font-weight:750; border-bottom:0; }
.tm-cost-table .tm-included th, .tm-cost-table .tm-included td { background:#f7fafb; font-size:14px; color:#526573; }
.tm-total { padding:22px 24px; background:#123d55; color:#fff; }
.tm-total>div { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.tm-total span { font-size:14px; line-height:1.6; max-width:24ch; }
.tm-total strong { font-size:28px; line-height:1.25; white-space:normal; letter-spacing:-.025em; }
.tm-total p { font-size:14px; line-height:1.65; margin:8px 0 0; color:#dae5ec; }
.tm-page .tm-calculation { padding:18px 24px; font-size:14px; line-height:1.7; color:#526573; margin:0; }
.tm-budget-note { min-width:0; background:#eaf1f4; border-radius:13px; padding:28px; border:1px solid #d9e3e8; }
.tm-note-icon { width:34px; height:34px; display:grid; place-items:center; border:1px solid #bdcfd9; border-radius:50%; font-size:22px; margin-bottom:18px; }
.tm-budget-note p { font-size:16px; color:#526573; line-height:1.75; margin:0; }
.tm-budget-note .tm-text-link { margin-top:24px; }
.tm-note-divider { height:1px; background:#cedbe3; margin:24px 0; }
.tm-details { border-top:1px solid #d9e3e8; border-bottom:1px solid #d9e3e8; padding:0 0 2px; font-size:16px; color:#526573; margin-top:24px; }
.tm-details summary { padding:16px 0; min-height:56px; cursor:pointer; font-weight:650; color:#132e40; font-size:16px; line-height:1.6; list-style:disclosure-closed; }
.tm-details[open] summary { list-style:disclosure-open; }
.tm-details p, .tm-details ul { font-size:16px; line-height:1.75; }
.tm-details ul { padding-left:22px; }
.tm-details li { padding:5px 0; }
.tm-payment-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; padding-left:22px; }
.tm-payment-stages strong { color:#132e40; }
.tm-payment-stages p { font-size:16px; line-height:1.7; margin:8px 0 12px; }
.tm-soft-band { background:#edf3f5; border-top:1px solid #e1eaef; border-bottom:1px solid #e1eaef; }
.tm-requirements { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.tm-requirements article { min-width:0; border:1px solid #d9e3e8; padding:24px; background:#fff; border-radius:11px; }
.tm-step { display:inline-block; font-size:12px; line-height:1.6; letter-spacing:.08em; color:#527184; margin-bottom:20px; }
.tm-requirements p { font-size:16px; line-height:1.75; color:#526573; margin:0; }
.tm-two-col { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.tm-two-col h3 { font-size:18px; }
.tm-photo-note { display:grid; grid-template-columns:minmax(0,240px) minmax(0,1fr); align-items:center; gap:32px; margin-top:32px; }
.tm-photo-note img { display:block; width:100%; max-width:240px; height:auto; aspect-ratio:500/750; object-fit:contain; border-radius:10px; }
.tm-photo-note h3 { font-size:23px; line-height:1.4; max-width:35ch; margin-top:7px; }
.tm-photo-note p:not(.tm-kicker) { font-size:16px; line-height:1.75; color:#526573; max-width:55ch; }
.tm-progress { font-size:14px; line-height:1.6; color:#526573; margin-left:auto; align-self:center; }
.tm-document-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.tm-document-grid label { display:flex; align-items:flex-start; gap:12px; padding:20px; border:1px solid #d9e3e8; border-radius:9px; background:#fff; cursor:pointer; min-width:0; }
.tm-document-grid input { width:20px; height:20px; accent-color:#123d55; flex:none; margin:4px 0 0; }
.tm-document-grid label>span { min-width:0; }
.tm-document-grid strong { font-size:16px; display:block; line-height:1.55; }
.tm-document-grid small { font-size:14px; line-height:1.7; color:#526573; display:block; margin-top:5px; }
.tm-preparation { display:flex; align-items:center; gap:30px; background:#eaf1f4; border:1px solid #d9e3e8; border-radius:11px; padding:26px; margin-top:26px; }
.tm-preparation>div { max-width:68ch; min-width:0; }
.tm-preparation p { font-size:16px; line-height:1.7; color:#526573; margin:0; }
.tm-preparation>a { margin-left:auto; flex:none; }
.tm-next-section { padding-top:0; padding-bottom:25px; }
.tm-next { border-radius:14px; background:#eaf1f4; border:1px solid #d9e3e8; padding:36px; max-width:none; }
.tm-next>p:not(.tm-kicker) { max-width:58ch; color:#526573; font-size:17px; line-height:1.7; }
.tm-guidance-note { background:#fff; border:1px solid #d9e3e8; border-left:3px solid #123d55; border-radius:6px; padding:18px; max-width:74ch; margin:22px 0 0; }
.tm-guidance-note strong { display:block; font-size:16px; line-height:1.6; }
.tm-guidance-note span { display:block; font-size:16px; line-height:1.7; color:#526573; margin-top:5px; }
.tm-page .tm-registration-note { font-size:14px; line-height:1.7; max-width:74ch; margin:16px 0 0; color:#526573; }
.tm-resources { padding-bottom:45px; scroll-margin-top:100px; }
.tm-resources .tm-details { margin:0; }
.tm-resources li { padding:2px 0; }
.tm-resources a { min-height:48px; display:inline-flex; align-items:center; font-size:16px; line-height:1.6; }
.tm-page [id] { scroll-margin-top:110px; }
@media (max-width:1000px) {
 .tm-hero { gap:28px; }
 .tm-cost-layout { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:20px; }
 .tm-total>div { align-items:flex-start; flex-direction:column; gap:10px; }
 .tm-budget-note { padding:22px; }
 .tm-progress { white-space:normal; }
 .tm-preparation { align-items:flex-start; flex-direction:column; }
 .tm-preparation>a { margin-left:0; }
 .tm-intake { flex-wrap:wrap; }
 .tm-intake>div { flex:1; }
 .tm-intake>a { margin-left:22px; }
}
@media (max-width:800px) {
 .tm-wrap { width:calc(100% - 40px); }
 .tm-breadcrumb { font-size:14px; gap:9px; padding-block:18px; }
 .tm-hero { grid-template-columns:minmax(0,1fr); gap:24px; padding-top:4px; padding-bottom:25px; }
 .tm-hero h1 { font-size:36px; max-width:22ch; margin:12px 0 16px; }
 .tm-university { margin-bottom:18px; }
 .tm-lead { font-size:17px; margin-bottom:0; }
 .tm-actions { margin-top:20px; gap:16px; }
 .tm-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding:20px 0; }
 .tm-facts>div+div { padding-left:0; border-left:0; }
 .tm-facts dd { font-size:19px; }
 .tm-facts .tm-award { font-size:15px; }
 .tm-intake { padding:16px; gap:10px; }
 .tm-intake>a { width:100%; margin-left:18px; }
 .tm-section-nav { gap:2px 20px; padding-top:10px; padding-bottom:8px; }
 .tm-section { padding:38px 0; }
 .tm-section h2 { font-size:29px; }
 .tm-section-head { gap:12px; flex-wrap:wrap; margin-bottom:22px; }
 .tm-resource-link { margin:0; }
 .tm-cost-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
 .tm-total>div { flex-direction:row; align-items:center; }
 .tm-budget-note { padding:24px; }
 .tm-payment-stages { grid-template-columns:minmax(0,1fr); gap:6px; }
 .tm-requirements { grid-template-columns:minmax(0,1fr); gap:12px; }
 .tm-requirements article { padding:22px; }
 .tm-step { margin-bottom:12px; }
 .tm-two-col { grid-template-columns:minmax(0,1fr); gap:16px; }
 .tm-photo-note { grid-template-columns:minmax(0,1fr); gap:22px; }
 .tm-photo-note img { width:min(220px,100%); max-width:220px; }
 .tm-document-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .tm-document-grid label { padding:18px 14px; gap:10px; }
 .tm-progress { margin:0; }
 .tm-preparation { padding:22px; gap:20px; }
 .tm-preparation .button { width:100%; justify-content:center; }
 .tm-next-section { padding-top:0; padding-bottom:20px; }
 .tm-next { padding:25px; }
 .tm-resources { padding-bottom:30px; }
}
@media (max-width:390px) {
 .tm-wrap { width:calc(100% - 32px); }
 .tm-hero h1 { font-size:32px; }
 .tm-logo { width:140px; height:50px; }
 .tm-logo img { width:124px; height:34px; }
 .tm-university { gap:10px; }
 .tm-university strong { font-size:13px; }
 .tm-actions { gap:14px; }
 .tm-page .tm-primary { width:100%; }
 .tm-section h2 { font-size:27px; }
 .tm-cost-table th, .tm-cost-table td { padding:14px; }
 .tm-cost-table caption { padding-inline:14px; }
 .tm-cost-panel>h3 { padding-inline:14px; }
 .tm-cost-table th:first-child { width:65%; }
 .tm-cost-table td, .tm-cost-table th:last-child:not([colspan]) { width:35%; }
 .tm-total { padding:21px 17px; }
 .tm-total strong { font-size:26px; }
 .tm-total>div { flex-direction:column; align-items:flex-start; gap:10px; }
 .tm-page .tm-calculation { padding:17px; }
 .tm-document-grid { grid-template-columns:minmax(0,1fr); }
 .tm-document-grid label { padding:18px; }
 .tm-next { padding:23px 20px; }
 .tm-next .tm-actions .button { width:100%; }
 .tm-year-switch { display:flex; width:100%; }
 .tm-year-switch button { flex:1; padding-inline:14px; }
 .tm-budget-note { padding:22px; }
}
@media (prefers-reduced-motion:reduce) {
 .tm-page * { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* Programme hero captions stay inside the rounded figure edge. */
body[data-fl-redesign="navy-91"] #main .tm-hero figure.tm-hero-photo>figcaption {
  margin:0!important;
  padding:12px 16px!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* Readable school label on the navy MBBS hero. */
body[data-fl-redesign="navy-91"] #main .tm-hero .tm-university strong{color:inherit!important}
