:root {
  /* Corner radius (老板 2026-10-24「所有的图片、方框、按钮等，都应该圆角」): sm = inputs, buttons, tags, small chips;
     md = cards, photos, info boxes, panels, dropdown lists; lg = dialogs and large panels. Circles use 50%. */
  --radius-xs: 4px; /* checkboxes (老板 2026-11-07 21:32) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px; /* 老板 2026-11-16 10:13「圆角不够圆」: the home search card (claude.com sign-in card) */
  font-family: Arial, Helvetica, sans-serif;
  color: #141413;
  background: #ffffff; /* 老板 2026-11-07 19:48「所有的底色用白色」 */
  --accent: #b72b35;
  --accent-hover: #9a222b;
  /* 老板 2026-11-07 18:09「官网可以进一步减少品牌红色的使用」: buttons, selections, focus rings and form controls are
     brand black; the red accent stays only on offer prices and guide step numbers. */
  --action: #141413;
  --action-hover: #141413; /* claude.com: a black button keeps its colour on hover and grows a ring */
  --hover-ink: #141413; /* 老板 2026-11-07 22:59: clickable text is dark grey and turns black on hover (was: black turning grey) */
  --line: #e5e3dd;
  --surface: #f4f3ef;
  font-synthesis: none;
  letter-spacing: 0;
}
/* 12-column layout system (老板 2026-11-06 09:22; server/tools/website-grid-convert.py, guarded by test/website-grid.test.cjs).
   Breakpoints (Apple): small <= 734px, medium <= 1068px, large <= 1440px. Spacing: 4 8 16 24 32 48 64 96.
   Equal-column grids with the gutter are exact 12-column spans; two-column page layouts use
   calc((100% + var(--gutter)) * A / 12 - var(--gutter)) for a span of A columns. */
:root {
  --wide: 1280px; --text: 980px; --page-margin: 24px; --gutter: 24px;
  --text-10: calc((var(--text) - 11 * var(--gutter)) / 12 * 10 + 9 * var(--gutter));
  --text-8: calc((var(--text) - 11 * var(--gutter)) / 12 * 8 + 7 * var(--gutter));
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px;
}
@media (max-width: 734px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 54px; line-height: 1.1; font-weight: 600; }
h2 { font-size: 32px; line-height: 1.18; font-weight: 600; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
p { line-height: 1.58; }
.muted { color: #73726c; }
.eyebrow, .hero-overline { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.eyebrow { color: #5e5d59; }
.shell { width: min(100% - 2 * var(--page-margin), var(--wide)); margin-inline: auto; }
/* 官网审查三第34项: every in-page target (article TOC sections, FAQ answers, legal/policy headings, any #id) stops below
   the sticky header — on a click, on a reload with the hash and for scrollIntoView. --tz-header is 56px (58px on phones). */
:root { --site-anchor-offset: calc(var(--tz-header, 56px) + 16px); }
[id], .faq-item, :target { scroll-margin-top: var(--site-anchor-offset); }
#residences, #room-results, #available-rooms, #find-rooms { scroll-margin-top: 64px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 30; padding: 16px 16px; background: #fff; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 20; height: 56px; background: rgba(255, 255, 255,.96); border-bottom: 1px solid #e5e3dd; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-inner { height: 56px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 124px; height: auto; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 4px; flex: 1; }
.main-nav a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: var(--radius-sm); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background-color .18s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav a[data-active-section="true"] { background: #f4f3ef; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 14px; font-weight: 700; color: var(--tz-ink, #141413); }
/* 老板 2026-11-16 13:58「为什么是蓝色的？」: Safari on iPhone draws a button's text in its own blue unless the page says
   otherwise; every button without a colour of its own takes the colour of the text around it. */
:where(button) { color: inherit; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 168px; min-height: 42px; padding: 0 24px; border: 1px solid #141413; border-radius: var(--radius-sm); background: #141413; color: #fff; text-align: center; text-decoration: none; font-size: 14px; font-weight: 700; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.pill:hover { background: #3d3d3a; border-color: #3d3d3a; }
.pill:active { transform: translateY(1px); }
.pill.light { background: #fff; color: #141413; border-color: #e5e3dd; }
.pill.light:hover { background: #ecebe6; }
.text-link { display: inline-block; font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.loading { padding: 96px 24px; text-align: center; }

.home-hero, .hero, .detail-hero, .residence-panel { position: relative; isolation: isolate; overflow: hidden; background: #4d4c48; color: #fff; }
.hero-image, .residence-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.home-hero { height: min(760px, calc(100svh - 150px)); min-height: 520px; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.54) 0%, rgba(0,0,0,.18) 42%, transparent 72%); }
.home-hero-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 48px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.home-hero h1 { font-size: 54px; }
.home-tagline { max-width: min(90%, 620px); margin-top: 16px; font-size: 20px; line-height: 1.35; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
.hero-overline { margin-bottom: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; text-shadow: none; }
.home-hero .hero-actions { justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; text-shadow: 0 1px 8px #141413; white-space: nowrap; }
.scroll-cue span { margin-left: 8px; }
.hero { min-height: 500px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.04) 78%); }
.hero.compact { min-height: 430px; }
.hero-content { padding-block: 64px; }
.hero-content h1 { max-width: var(--text-10); }
.hero-content p { max-width: var(--text-8); margin-top: 16px; font-size: 16px; }
.hero-credit { position: absolute; right: 24px; bottom: 16px; color: #fff; font-size: 12px; text-shadow: 0 1px 4px #141413; }
.hero .pill, .detail-hero .pill, .residence-panel .pill { background: #fff; border-color: #fff; color: #141413; }
.hero .pill.light, .residence-panel .pill.light { background: rgba(255,255,255,.84); border-color: rgba(255,255,255,.84); }
.hero .pill:hover, .detail-hero .pill:hover, .residence-panel .pill:hover { background: #ecebe6; border-color: #ecebe6; }
.home-hero .hero-actions .pill:first-child, .hero .hero-actions .pill:first-child, .detail-hero .pill { background: var(--action); border-color: var(--action); color: #fff; }
.home-hero .hero-actions .pill:first-child:hover, .hero .hero-actions .pill:first-child:hover, .detail-hero .pill:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }

.section { padding-block: 96px; }
.section.soft, .soft { background: #ffffff; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-top p { margin-top: 8px; }
.grid { display: grid; gap: 24px; }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }

.residences-section { padding-top: 48px; }
.residences-section > .shell { margin-bottom: 24px; }
.residence-panel { min-height: min(700px, 78svh); display: flex; align-items: flex-start; margin-bottom: 8px; }
.residence-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.67), rgba(0,0,0,.12) 50%, transparent 78%); }
.residence-panel-copy { width: min(100% - 2 * var(--page-margin), var(--wide)); margin-inline: auto; padding: 48px 0 32px; text-align: center; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.residence-panel-copy h3 { font-size: 32px; }
.residence-panel-copy > p:not(.hero-overline) { font-size: 16px; margin-top: 8px; }
.residence-panel .hero-actions { justify-content: center; }
.featured-section { padding-top: 96px; }
.room-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.room-card { overflow: hidden; }
.room-card img, .room-card .media-empty { aspect-ratio: 4/3; border-radius: var(--radius-md); background: #ecebe6; }
.room-card img { transition: transform .28s ease; }
.media-empty { display: grid; place-items: center; width: 100%; background: #ecebe6; color: #73726c; font-size: 13px; }
.room-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 0 0; }
.room-card h3 { font-size: 16px; line-height: 1.35; min-height: 0; }
.room-card .property-name { margin-top: 8px; color: #73726c; font-size: 13px; }
.room-card .price { margin-top: auto; padding-top: 16px; font-size: 18px; font-weight: 700; }
.room-card .price small { color: #5e5d59; font-size: 12px; font-weight: 400; }
.room-card .features { margin-top: 8px; color: #73726c; font-size: 13px; }
.room-card-body > p:last-child:not(.price) { margin-top: auto; padding-top: 16px; }
.room-card:hover h3 { color: var(--hover-ink); text-decoration: none; }
.school-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 16px; }
.school-grid .school-card { grid-column: span 3; min-height: 220px; }
.school-grid .school-card:nth-child(-n+2) { grid-column: span 6; min-height: 300px; }
.brand-story { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)) minmax(0, 1fr); align-items: center; gap: 64px calc((100% + 13 * var(--gutter)) / 12); }
.brand-story h2 { margin: 16px 0 24px; font-size: 44px; }
.brand-story p:not(.eyebrow) { max-width: 49ch; margin-bottom: 16px; font-size: 16px; }
.brand-story img { aspect-ratio: 5/4; border-radius: var(--radius-md); background: #ecebe6; }
.brand-story .text-link { margin-top: 8px; }
.confidence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 var(--gutter); border-top: 1px solid #e5e3dd; }
.confidence-grid > div { padding: 32px 32px 0 0; }
.confidence-grid > div + div { padding-left: 32px; border-left: 1px solid #e5e3dd; }
.confidence-grid span { color: #73726c; font-size: 13px; font-weight: 700; }
.confidence-grid h3 { margin: 24px 0 8px; }
.confidence-grid p { max-width: 34ch; color: #5e5d59; font-size: 16px; }
.app-section { background: #141413; color: #fff; text-align: center; }
.app-section .shell { max-width: var(--text-10); }
.app-section .eyebrow { color: #d1cfc5; }
.app-section h2 { margin: 16px 0 16px; font-size: 44px; }
.app-section p:not(.eyebrow) { color: #e5e3dd; font-size: 16px; }
.app-section .pill { margin-top: 32px; background: #fff; border-color: #fff; color: #141413; }
.app-section .pill:hover { background: #ecebe6; border-color: #ecebe6; }
.faq-preview-list { border-top: 1px solid #dedcd1; }
.faq-preview-list a { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid #dedcd1; text-decoration: none; font-size: 18px; font-weight: 600; }
.faq-preview-list a:hover span:first-child { color: var(--hover-ink); text-decoration: none; }
.wide-band { padding: 48px 0; background: #141413; color: #fff; }
.wide-band .shell { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.wide-band h2 { font-size: 32px; }
.wide-band p { margin-top: 8px; color: #e5e3dd; }
.wide-band .pill { background: #fff; border-color: #fff; color: #141413; }

.page-head { padding: 64px 0 32px; }
.page-head p { max-width: var(--text-8); margin-top: 16px; font-size: 16px; color: #5e5d59; }
.page-head .pill { margin-top: 24px; }
.residence-directory { margin-bottom: 96px; }
.find-rooms-section { scroll-margin-top: 96px; border-top: 1px solid var(--line); padding-top: 64px; }
#rooms { scroll-margin-top: 64px; }
.search-room-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px var(--gutter); margin: 32px 0; }
.search-room-card { min-width: 0; background: #ffffff; }
.search-room-card > .eyebrow { display: block; padding: 24px 24px 16px; color: #5e5d59; text-decoration: none; }
.search-room-photo { display: block; aspect-ratio: 4/3; overflow: hidden; }
.search-room-photo img, .search-room-photo .media-empty { width: 100%; height: 100%; object-fit: cover; }
.search-room-body { padding: 24px; }
.search-room-body h3 { font-size: 20px; line-height: 1.25; }
.search-room-body h3 a { text-decoration: none; }
.search-room-body p { margin: 8px 0; }
.search-room-price { font-weight: 700; }
/* 官网深度测试报告 2026-11-05 #27: one card for the free beds of a twin-sharing room type in the same flat */
.search-room-body p.search-room-beds { margin: -4px 0 8px; font-size: 13px; font-weight: 600; color: var(--status-available); }
.search-room-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.results-pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 32px 0; }
.physical-room-detail { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 6 / 12 - var(--gutter)) minmax(0, 1fr); gap: 48px calc((100% + 13 * var(--gutter)) / 12); align-items: center; }
.physical-room-detail > img, .physical-room-detail > .media-empty { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.physical-room-detail h2 { font-size: 32px; }
.physical-room-detail .hero-actions { margin-top: 24px; }
@media (max-width: 1068px) { .search-room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 734px) { .residence-directory { margin-bottom: 64px; } .find-rooms-section { padding-top: 48px; } .search-room-grid, .physical-room-detail { grid-template-columns: 1fr; } .physical-room-detail { gap: 24px; } .search-room-actions { flex-wrap: wrap; } }
/* 老板 2026-10-29「下拉框的下拉符号贴着边框了」: the browser's own arrow sits hard against the right border, so the
   selects draw their own and keep it 14px clear of the edge. */
.booking-fields select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373726c' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 16px; }
.listing-count { margin-bottom: 24px; font-size: 14px; color: #73726c; }
.empty { padding: 32px; background: #ffffff; border-radius: var(--radius-md); }
.empty p { margin: 8px 0 16px; }
.property-row { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 410px; text-decoration: none; background: #ffffff; }
.property-row img, .property-row .media-empty { height: 100%; min-height: 410px; }
.property-row-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 64px; }
.property-row-content h3 { font-size: 26px; }
.property-row-content .pill { margin-top: 24px; }
.property-row:hover h3 { color: var(--hover-ink); text-decoration: none; }
.property-row .card-image-link { display: block; min-width: 0; }
.property-row .card-image-link img, .property-row .card-image-link .media-empty { width: 100%; height: 100%; }
.property-row-content h2 { font-size: 26px; }
.property-row-content h2 a { text-decoration: none; }
.property-row-content h2 a:hover { color: var(--hover-ink); text-decoration: none; }
.property-row-content p { color: #5e5d59; }
.property-row-content .pill { margin-top: 16px; }
.breadcrumbs { width: min(100% - 2 * var(--page-margin), var(--wide)); margin: 24px auto 0; color: #73726c; font-size: 13px; }
.breadcrumbs a { text-underline-offset: 3px; }
/* 老板 2026-10-29「行高不对」: the fees footnote is a trailing note, not a section of its own. It carried 20px of its
   own padding on top of the page's full bottom padding, which left a block of empty space before the next band. */
.catalog-note { padding: 0; color: #5e5d59; font-size: 14px; }
.school-search { display: flex; flex-direction: column; gap: 8px; width: min(100%, 340px); margin-bottom: 24px; font-size: 14px; font-weight: 600; }
.school-search input { width: 100%; height: 44px; padding: 0 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); }
.photo-credit { display: block; margin-top: 16px; color: #73726c; font-size: 12px; }
.school-card .photo-credit { position: absolute; z-index: 2; left: 16px; bottom: 10px; color: #fff; }
.school-card-main { font-size: 18px; }
.school-card-main:hover { color: var(--hover-ink); text-decoration: none; }
/* 官网审查第4项: selected-rooms tray (selection kept across result pages). */
.steps { padding-left: 24px; }
.steps li { margin: 16px 0; line-height: 1.55; }
.prose > .grid { margin: 24px 0; }
.prose > h2 { margin-top: 32px; font-size: 26px; }
.prose > img, .prose > .media-empty { width: 100%; max-height: 560px; margin-bottom: 24px; object-fit: cover; }
[hidden] { display: none !important; }
.school-card { position: relative; display: flex; align-items: end; min-height: 230px; overflow: hidden; border-radius: var(--radius-md); background: #30302e; color: #fff; font-size: 18px; font-weight: 700; }
.school-card img { position: absolute; inset: 0; height: 100%; }
.school-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent,rgba(0,0,0,.75)); }
.school-card-main { position: relative; z-index: 1; display: flex; align-items: end; width: 100%; min-height: inherit; padding: 24px 24px 48px; text-decoration: none; }
.school-card-main span { max-width: 30ch; }
.school-credit { position: absolute; right: 14px; bottom: 12px; z-index: 2; max-width: calc(100% - 28px); color: #fff; font-size: 12px; font-weight: 400; text-align: right; text-shadow: 0 1px 4px #141413; }
.school-card.no-image { background: #ecebe6; color: #141413; }
.school-card.no-image::after { display: none; }
.school-card-main:hover span { color: var(--hover-ink); text-decoration: none; }
.simple-card { padding: 32px; background: #fff; border: 1px solid #e5e3dd; border-radius: var(--radius-md); }
.simple-card p { margin-top: 8px; color: #5e5d59; font-size: 16px; }
.simple-card a { display: inline-block; margin-top: 24px; }
.help-link { text-decoration: none; }

.detail-hero { display: flex; align-items: end; min-height: min(670px,75svh); }
.detail-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top,rgba(0,0,0,.75),transparent 65%); }
.detail-hero-copy { padding-block: 96px 48px; }
.detail-hero h1 { max-width: var(--text-10); font-size: 44px; }
.detail-hero-copy > p:not(.breadcrumb) { margin-top: 16px; font-size: 16px; }
.detail-hero-copy .image-disclaimer { font-size: 13px !important; color: #ecebe6; }
.detail-hero .pill { margin-top: 24px; }
.detail-hero .breadcrumb { color: #fff; }
.room-summary { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 7 / 12 - var(--gutter)) minmax(0, 1fr); gap: 48px calc((100% + 13 * var(--gutter)) / 12); padding-block: 64px; }
.room-summary h2 { margin: 8px 0 16px; }
.room-summary .price { font-size: 26px; font-weight: 700; }
.room-summary .price small { font-size: 14px; font-weight: 400; }
.summary-price > p.muted { margin-top: 8px; font-size: 14px; }
.room-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.room-actions .muted { font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid #e5e3dd; }
.facts div { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px; border-right: 1px solid #e5e3dd; }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts small { color: #73726c; font-size: 13px; }
.facts strong { font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px var(--gutter); }
.gallery img, .gallery video { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #ecebe6; }
.breadcrumb { margin-bottom: 16px; font-size: 14px; }
.breadcrumb a { text-underline-offset: 3px; }
.prose { max-width: var(--text-10); }
.prose p { margin-top: 16px; font-size: 16px; }
.contact-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px var(--gutter); border-top: 1px solid #e5e3dd; }
.contact-details p { margin-top: 24px; }
.contact-details .pill { margin-top: 24px; }
.faq-group { max-width: var(--text-10); margin-bottom: 48px; }
.faq-group h2, .faq-group h3 { margin-bottom: 16px; font-size: clamp(20px, 2.4vw, 26px); }
.faq-item { padding: 24px 0; border-top: 1px solid #e5e3dd; }
.faq-item:last-child { border-bottom: 1px solid #e5e3dd; }
.faq-item summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq-item summary::after { content: "+"; float: right; font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 16px; max-width: 74ch; color: #5e5d59; white-space: pre-line; }
.sync-warning { padding: 8px 24px; background: #fff3da; color: #503c0b; font-size: 13px; text-align: center; }
.site-error { min-height: 48svh; padding-block: 96px; }
.site-error h1 { font-size: 32px; }
.site-error p { margin: 16px 0 24px; }

.contact-strip { padding: 64px 0; border-top: 1px solid #e5e3dd; }
.contact-strip .shell { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.contact-strip p { max-width: var(--text-8); margin: 16px 0; color: #5e5d59; }
.contact-actions { display: flex; gap: 16px; }
.site-footer { padding: 64px 0 32px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 32px var(--gutter); padding-bottom: 64px; }
.footer-grid h3, .footer-grid .footer-title { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: #141413; }
.footer-grid a, .footer-grid .footer-link { display: block; width: fit-content; margin-top: 8px; color: #4d4c48; font-size: 13px; line-height: 1.45; text-decoration: none; }
.footer-grid .footer-link, .cookie-inline-button { border: 0; background: transparent; padding: 0; text-align: left; }
.footer-grid a:hover, .footer-grid .footer-link:hover, .cookie-inline-button:hover { color: var(--hover-ink); text-decoration: none; }
.policy-draft-note { padding: 16px 24px; border-left: 3px solid var(--action); background: #ffffff; margin-bottom: 32px; }
.policy-draft-note p { margin-top: 8px; }
.cookie-settings-dialog { width: min(100% - 32px, 560px); max-height: min(90vh, 700px); padding: 0; border: 1px solid #e5e3dd; border-radius: var(--radius-lg); color: #141413; box-shadow: 0 20px 60px #0003; }
.cookie-settings-dialog::backdrop { background: #0008; }
.cookie-settings-panel { padding: 32px; }
.cookie-settings-panel > p { margin: 16px 0; }
.cookie-settings-heading, .cookie-setting-row, .cookie-settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-settings-heading h2 { font-size: 26px; }
.cookie-close { border: 0; background: transparent; font-size: 26px; line-height: 1; }
.cookie-setting-row { border-block: 1px solid #e5e3dd; padding: 16px 0; }
.cookie-setting-row p { font-size: 14px; color: #73726c; }
.cookie-setting-row > span { white-space: nowrap; font-size: 13px; }
.cookie-settings-actions { justify-content: flex-end; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid #dedcd1; }
.footer-bottom small { color: #73726c; }

@media (max-width: 1068px) {
  .shell { width: min(100% - 2 * var(--page-margin), var(--wide)); }
  .main-nav { gap: 0; }
  .main-nav a { font-size: 13px; }
  .header-inner { gap: 16px; }
  .header-actions { gap: 16px; }
  .header-actions .pill { min-width: 132px; padding-inline: 16px; }
  .residence-panel-copy { width: min(100% - 2 * var(--page-margin), var(--wide)); }
  .grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1068px) {
  h1 { font-size: 44px; }
  h2 { font-size: 26px; }
  .shell { width: min(100% - 2 * var(--page-margin), var(--wide)); }
  .site-header, .header-inner { height: 58px; }
  .header-inner { justify-content: space-between; }
  .brand img { width: 120px; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 57px; left: 0; right: 0; z-index: 21; padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid #e5e3dd; box-shadow: 0 15px 24px rgba(0,0,0,.1); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 46px; padding: 16px; font-size: 16px; }
  .header-actions { display: none; }
  .home-hero { height: calc(100svh - 162px); min-height: 500px; }
  .home-hero-content { padding-top: 48px; }
  .home-hero h1 { font-size: 44px; }
  .home-tagline { max-width: none; font-size: 18px; }
  .hero-actions { width: 100%; max-width: var(--text-8); justify-content: center; }
  .home-hero .hero-actions { gap: 8px; }
  .home-hero .pill { flex: 1 1 145px; min-width: 0; padding-inline: 8px; }
  .scroll-cue { bottom: 15px; }
  .hero, .hero.compact { min-height: 390px; }
  .hero-content { padding-block: 48px; }
  .hero-content p { font-size: 16px; }
  .section { padding-block: 48px; }
  .residences-section { padding-top: 48px; }
  .residence-panel { min-height: 530px; }
  .residence-panel-copy { width: min(100% - 2 * var(--page-margin), var(--wide)); padding: 48px 0 32px; }
  .residence-panel-copy h3 { font-size: 26px; }
  .grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-grid .school-card { grid-column: span 6; }
  .school-grid .school-card:nth-child(-n+2) { min-height: 260px; }
  .brand-story { grid-template-columns: 1fr; gap: 32px; }
  .brand-story img { aspect-ratio: 4/3; }
  .brand-story h2 { font-size: 32px; }
  .confidence-grid { grid-template-columns: 1fr; }
  .confidence-grid > div, .confidence-grid > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid #e5e3dd; }
  .confidence-grid h3 { margin-top: 8px; }
  .app-section h2 { font-size: 32px; }
  .wide-band .shell, .contact-strip .shell { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 48px 0 24px; }
  .page-head p { font-size: 16px; }
  .property-row { grid-template-columns: 1fr; }
  .property-row img, .property-row .media-empty { min-height: 0; height: 280px; }
  .property-row-content { padding: 32px; }
  .breadcrumbs { width: min(100% - 2 * var(--page-margin), var(--wide)); }
  .detail-hero { min-height: 500px; }
  .detail-hero h1 { font-size: 32px; }
  .detail-hero-copy { padding-bottom: 48px; }
  .room-summary { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid #e5e3dd; }
  .facts div:nth-child(3) { padding-left: 0; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-details { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 734px) {
  .home-hero { height: calc(100svh - 152px); min-height: 450px; }
  .home-hero .hero-image { object-position: center bottom; }
  .home-hero-content { padding-top: 32px; }
  .home-hero h1 { font-size: 32px; }
  .home-tagline { max-width: 18ch; font-size: 18px; }
  .grid.four, .grid.three, .grid.two { grid-template-columns: 1fr; }
  .room-card h3 { min-height: 0; }
  .room-card img { aspect-ratio: 4/3; } /* 2026-11-07 23:42: listing photos are 4:3 on every screen (Airbnb measured 4:3 on desktop and phone) */
  .school-grid { gap: 8px; }
  .school-grid .school-card, .school-grid .school-card:nth-child(-n+2) { grid-column: span 12; min-height: 230px; }
  .residence-panel { min-height: 490px; }
  .residences-section { padding-top: 48px; }
  .residence-panel-copy h3 { font-size: 26px; }
  .residence-panel .hero-actions { justify-content: center; }
  .residence-panel .pill { flex: 1 1 140px; min-width: 0; padding-inline: 8px; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .app-section h2 { font-size: 26px; }
  .contact-actions { width: 100%; flex-wrap: wrap; }
  .contact-actions .pill { flex: 1 1 145px; min-width: 0; }
  .footer-grid { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Public pages: a restrained, image-led rhythm with consistent controls. */
:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body { font-size: 16px; }
h1 { font-size: 54px; line-height: 1.1; }
h2 { font-size: 32px; line-height: 1.18; }
h3 { font-size: 20px; line-height: 1.3; }
p { line-height: 1.6; }
.section { padding-block: 96px; }
#residences.section, .about-intro.section, .property-overview.section { padding-top: 64px; }
.section-top { align-items: flex-end; margin-bottom: 32px; }
.section-top .eyebrow { margin-bottom: 16px; }
.section-top .muted { max-width: 60ch; }
.pill { min-width: 190px; min-height: 44px; padding-inline: 24px; border-radius: var(--radius-sm); line-height: 1.25; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.hero-actions { align-items: center; gap: 16px; }
.hero-actions .pill { min-width: 204px; }
.header-inner { gap: 32px; }
.main-nav { gap: 4px; }
.main-nav a, .header-actions .text-link { font-size: 14px; }
.main-nav .mobile-nav-link { display: none; }
.header-actions { gap: 24px; }
.header-actions .pill { min-width: 154px; min-height: 38px; font-size: 13px; }
.mobile-find-link { display: none; }
.home-hero { height: min(680px, calc(100svh - 178px)); min-height: 500px; }
.home-hero-content { padding-top: 64px; }
.home-hero h1 { font-size: 54px; }
.home-tagline { max-width: var(--text-8); font-size: 18px; line-height: 1.4; }
.home-hero .hero-actions { margin-top: 24px; }
.brand-story { grid-template-columns: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); }
.brand-story img { width: 100%; aspect-ratio: 5/4; }
.brand-story p:not(.eyebrow) { color: #5e5d59; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #dedcd1; }
.choice-grid > div { min-height: 245px; padding: 32px 48px 24px 0; }
.choice-grid > div + div { padding-left: 48px; border-left: 1px solid #dedcd1; }
.choice-grid h3 { margin: 24px 0 16px; }
.choice-grid p { max-width: 48ch; color: #5e5d59; }
.choice-grid .text-link { margin-top: 16px; }
.choice-number { color: #73726c; font-size: 13px; font-weight: 700; }
.app-section { padding-block: 96px; }
.app-section .shell { max-width: var(--text-8); }
.app-section .pill { margin-top: 24px; }
.faq-preview-list a { font-size: 18px; }
.page-head { padding: 64px 0 16px; }
.page-head h1 { max-width: var(--text); font-size: 44px; }
.page-head p { max-width: var(--text-10); font-size: 18px; }
.page-content { padding-top: 24px; }
.page-content.wide { max-width: none; }
.listing-heading { margin-top: 24px; }
.property-row { min-height: 390px; }
.property-row img, .property-row .media-empty { min-height: 390px; }
.property-row-content { padding: 48px 64px; }
.property-row-content h2 { font-size: 32px; }
.property-row-content .pill { margin-top: 16px; }
.related-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; }
.catalog-note, .section-note { max-width: 84ch; margin-top: 16px; color: #73726c; font-size: 14px; line-height: 1.6; }
.school-search-form { max-width: 650px; margin-bottom: 32px; }
.school-search-form > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.school-search-form .search-line { display: flex; align-items: stretch; gap: 16px; }
.school-search-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #c2c0b6; border-radius: var(--radius-sm); color: #141413; background: #fff; }
.school-search-form .pill { min-width: 170px; min-height: 48px; }
.school-search-form > .text-link { margin-top: 8px; }
.featured-school-grid, .search-school-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px var(--gutter); }
.featured-school-grid .school-card, .featured-school-grid .school-card:nth-child(-n+2),
.search-school-grid .school-card, .search-school-grid .school-card:nth-child(-n+2) { grid-column: auto; min-height: 280px; }
.school-card .school-card-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; padding: 32px 24px 48px; font-size: 20px; line-height: 1.25; }
.school-card .school-card-main small { font-size: 13px; font-weight: 600; }
.school-card img { object-position: center; }
.school-card .photo-credit { max-width: calc(100% - 28px); left: 24px; bottom: 12px; line-height: 1.35; }
.school-directory { margin-top: 64px; }
.school-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); }
.school-link-grid a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 0; border-top: 1px solid #e5e3dd; text-decoration: none; font-size: 14px; font-weight: 600; }
.school-link-grid a span:last-child { color: #73726c; }
.school-link-grid a:hover span:first-child { color: var(--hover-ink); text-decoration: none; }
.school-context { padding: 32px 32px; background: #ffffff; }
.school-context h2 { font-size: 26px; }
.school-context p { margin-top: 8px; }
.room-update-note { margin-top: 32px; }
.room-samples { margin-top: 96px; }
.room-samples .room-card img { width: 100%; }
.room-samples .room-card h3 { min-height: 0; }
.room-samples .room-card h3 a { text-decoration: none; }
.room-samples .room-card h3 a:hover { color: var(--hover-ink); text-decoration: none; }
.room-samples .room-card-body p { margin-top: 8px; font-size: 14px; }
.about-hero { position: relative; isolation: isolate; display: flex; height: min(650px, calc(100svh - 185px)); min-height: 460px; align-items: flex-start; overflow: hidden; background: #3d3d3a; color: #fff; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.57), rgba(0,0,0,.10) 72%); }
.about-hero-copy { display: flex; flex-direction: column; align-items: center; padding-block: 96px 64px; text-align: center; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.about-hero-copy h1 { margin-top: 8px; }
.about-hero-copy > p:last-child { max-width: var(--text-8); margin-top: 16px; font-size: 18px; line-height: 1.45; }
.about-intro-grid, .property-overview { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); }
.about-intro .eyebrow { margin-bottom: 16px; }
.about-intro-grid h2 { max-width: 15ch; font-size: 44px; }
.about-intro-grid p, .property-overview p { max-width: 58ch; color: var(--ink-1); font-size: 18px; }
.about-intro-grid p + p, .property-overview p + p { margin-top: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid #dedcd1; }
.values-grid > div { padding: 24px 24px 16px 0; }
.values-grid > div + div { padding-left: 24px; border-left: 1px solid #dedcd1; }
.values-grid span { color: #73726c; font-size: 13px; font-weight: 700; }
.values-grid h3 { margin: 24px 0 8px; }
.values-grid p { color: #5e5d59; font-size: 16px; }
.about-story { grid-template-columns: 1fr 1fr; }
.about-story .text-link { margin-top: 16px; }
.about-story img { aspect-ratio: 5/4; }
.about-journey .shell { display: grid; grid-template-columns: minmax(210px,.34fr) minmax(0,1fr); column-gap: clamp(32px,5vw,96px); align-items: start; }
.about-journey-heading .eyebrow { margin-bottom: 16px; }
.about-journey-heading h2 { max-width: 13ch; margin: 0; font-size: clamp(26px,2.8vw,44px); line-height: 1.13; }
.about-journey .confidence-grid { border-top: 1px solid #c2c0b6; }
.about-journey .confidence-grid > div { padding: 24px 16px 4px 0; }
.about-journey .confidence-grid > div + div { padding-left: 16px; }
.about-journey .confidence-grid h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.25; }
.about-journey .confidence-grid p { max-width: 31ch; font-size: 14px; line-height: 1.55; }
.wide-band .hero-actions { margin-top: 0; }
.wide-band .pill { min-width: 168px; }
.property-hero { height: min(640px, calc(100svh - 185px)); min-height: 460px; }
.property-hero .detail-hero-copy { padding-block: 64px 48px; }
.property-hero h1 { font-size: 44px; }
.property-hero .hero-actions { margin-top: 24px; }
.property-hero .pill.light { background: #fff; border-color: #fff; color: #141413; }
.property-hero .pill.light:hover { background: #ecebe6; border-color: #ecebe6; color: #141413; }
.property-overview h2 { max-width: 17ch; }
.property-overview .eyebrow { margin-bottom: 16px; }
.property-overview .section-note { font-size: 14px; }
.gallery-section { padding-top: 0; }
.gallery-section .gallery { gap: 16px; }
.gallery-section .gallery img { border-radius: var(--radius-md); }
.property-pending { max-width: var(--text-8); padding: 32px 0; }
.property-pending .pill { margin-top: 24px; }
.property-location { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 64px var(--gutter); }
.property-location h2 { max-width: 16ch; margin: 16px 0 24px; }
.property-location p { max-width: 56ch; margin-top: 16px; color: #5e5d59; }
.property-location .text-link { margin-top: 24px; }
.property-location-panel { display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 48px; background: #f4f3ef; }
.property-location-panel span { color: #73726c; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.property-location-panel strong { margin-top: 16px; font-size: 26px; }
.property-location-panel p { margin-top: 16px; }
.property-location-panel small { max-width: 44ch; margin-top: 32px; color: #73726c; line-height: 1.55; }
.school-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.school-shortcuts a { padding: 16px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-md); background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.school-shortcuts a:hover { border-color: #141413; }
.faq-guide-links { padding-bottom: 64px; border-bottom: 1px solid #e5e3dd; }
.faq-guide-links h2, .faq-published > h2 { margin-bottom: 24px; }
.faq-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e5e3dd; }
.faq-guide-grid a { display: flex; flex-direction: column; gap: 8px; min-height: 160px; padding: 24px 24px 16px 0; text-decoration: none; }
.faq-guide-grid a + a { padding-left: 24px; border-left: 1px solid #e5e3dd; }
.faq-guide-grid strong { font-size: 18px; }
.faq-guide-grid span { color: #5e5d59; font-size: 14px; line-height: 1.55; }
.faq-guide-grid a:hover strong { color: var(--hover-ink); text-decoration: none; }
.faq-published { padding-top: 64px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--gutter); }
.blog-card { min-width: 0; }
.blog-card > a { display: block; overflow: hidden; border-radius: var(--radius-md); }
.blog-card img, .blog-card .media-empty { width: 100%; aspect-ratio: 4/3; }
.blog-card > div { padding-top: 24px; }
.blog-card h2 { margin: 8px 0; font-size: 26px; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--hover-ink); text-decoration: none; }
.blog-card p:not(.eyebrow) { min-height: 3.1em; color: #5e5d59; font-size: 16px; }
.blog-card .text-link { margin-top: 16px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid #e5e3dd; }
.blog-filters a { padding: 8px 0; color: #5e5d59; text-decoration: none; font-size: 14px; }
.blog-filters a.active, .blog-filters a:hover { color: #141413; box-shadow: inset 0 -2px #141413; }
.blog-empty { padding: 48px 0 48px; color: #5e5d59; }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; }
.blog-pagination a { color: #141413; font-weight: 600; }
.blog-article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 32px; color: #73726c; font-size: 13px; }
.blog-toc { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 32px; padding-block: 16px; border-block: 1px solid #e5e3dd; }
.blog-toc a { color: var(--ink-2); }
.blog-article-body h2, .blog-article-body h3 { margin: 32px 0 16px; }
.blog-article-body ul { margin: 0 0 24px; padding-left: 24px; }
.blog-article-body li { margin: 8px 0; line-height: 1.6; }
.blog-article-body figure { margin: 32px 0; }
.blog-article-body figure img, .blog-article-body figure video { display: block; max-width: 100%; }
.blog-article-body figcaption { margin-top: 8px; color: #73726c; font-size: 13px; }
.blog-table-wrap { max-width: 100%; overflow-x: auto; }
.blog-table-wrap table { width: 100%; border-collapse: collapse; }
.blog-table-wrap th, .blog-table-wrap td { padding: 16px 16px; border-bottom: 1px solid #e5e3dd; text-align: left; }
.blog-related-properties, .blog-related-articles { margin-top: 64px; padding-top: 24px; border-top: 1px solid #e5e3dd; }
.blog-related-properties .grid, .blog-related-articles { gap: 24px; }
.blog-related-properties article { padding: 16px 0; }
.blog-related-articles a { display: block; margin-top: 16px; }
.related-links button.text-link { border: 0; background: transparent; cursor: pointer; font: inherit; text-decoration: underline; }
.room-resident-restriction { display: block; margin-top: 8px; color: #141413; font-size: 13px; font-weight: 700; line-height: 1.4; }
.booking-assurance { padding: 24px 0 32px; border-top: 1px solid #dedcd1; }
.booking-assurance h2 { margin: 8px 0 16px; font-size: 26px; }
.booking-assurance > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px var(--gutter); }
.booking-assurance p { margin: 0 0 16px; color: #5e5d59; font-size: 14px; line-height: 1.6; }
.booking-assurance strong { color: #141413; }
.blog-follow { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid #e5e3dd; }
.blog-follow p { max-width: 44ch; color: #5e5d59; }
.blog-article-image { margin: 32px 0 48px; }
.blog-article-image img, .blog-article-image .media-empty { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-md); }
.blog-article-body p { margin: 0 0 24px; color: var(--ink-1); font-size: 18px; line-height: 1.72; }
.blog-article-body + .related-links { padding-top: 24px; border-top: 1px solid #e5e3dd; }
.contact-details { gap: 48px 64px; }
.contact-details section { padding-top: 24px; border-top: 1px solid #e5e3dd; }
.contact-details .eyebrow { margin-bottom: 16px; }
.contact-details h2 { font-size: 26px; }
.contact-details p { max-width: 54ch; color: #5e5d59; }
.contact-details .text-link { margin-top: 16px; }
.partner-intro { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); padding-bottom: 64px; }
.partner-intro h2 { max-width: 17ch; margin-top: 16px; }
.partner-intro p:not(.eyebrow) { max-width: 60ch; margin-bottom: 16px; color: #5e5d59; font-size: 18px; }
.partner-process { padding: 64px 0; border-top: 1px solid #e5e3dd; border-bottom: 1px solid #e5e3dd; }
.partner-process > h2 { margin: 16px 0 32px; }
.partner-contact { padding-top: 64px; }
.partner-contact p { max-width: 54ch; margin-top: 16px; color: #5e5d59; }
.partner-contact .pill { margin-top: 32px; }

@media (max-width: 1068px) {
  .main-nav { gap: 0; }
  .header-inner { gap: 16px; }
  .header-actions { gap: 16px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid #dedcd1; }
  .values-grid > div:nth-child(4) { border-top: 1px solid #dedcd1; }
}
@media (max-width: 1068px) {
  .about-journey .shell { grid-template-columns: 1fr; row-gap: 32px; }
  .about-journey-heading h2 { max-width: none; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .section { padding-block: 64px; }
  .main-nav .mobile-nav-link { display: block; }
  .mobile-find-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-left: auto; padding: 0 16px; border-radius: var(--radius-sm); background: #141413; color: #fff; text-decoration: none; white-space: nowrap; font-size: 13px; font-weight: 700; }
  .mobile-find-link:hover { background: #3d3d3a; }
  .header-inner { gap: 8px; }
  .home-hero { height: calc(100svh - 132px); min-height: 480px; }
  .home-hero h1 { font-size: 44px; }
  .home-hero-content { padding-top: 48px; }
  .brand-story, .about-story, .about-intro-grid, .property-overview, .property-location { grid-template-columns: 1fr; gap: 32px; }
  .about-story img { order: -1; }
  .about-hero { min-height: calc(100svh - 128px); }
  .about-hero-copy { padding-top: 64px; }
  .property-hero { min-height: calc(100svh - 128px); }
  .property-row img, .property-row .media-empty { min-height: 0; height: 320px; }
  .property-row-content { padding: 32px; }
  .featured-school-grid, .search-school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-school-grid .school-card, .featured-school-grid .school-card:nth-child(-n+2),
  .search-school-grid .school-card, .search-school-grid .school-card:nth-child(-n+2) { min-height: 260px; }
  .school-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-follow { align-items: flex-start; flex-direction: column; }
  .partner-intro { grid-template-columns: 1fr; gap: 24px; }
  .faq-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-guide-grid a:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid #e5e3dd; }
  .faq-guide-grid a:nth-child(4) { border-top: 1px solid #e5e3dd; }
  .wide-band .shell { align-items: flex-start; }
  .wide-band .hero-actions { margin-top: 8px; }
}
@media (max-width: 734px) {
  .brand img { width: 108px; }
  .header-inner { gap: 8px; }
  .mobile-find-link { padding-inline: 8px; font-size: 12px; }
  .menu-button { padding-inline: 2px; font-size: 13px; }
  h1, .home-hero h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding-block: 64px; }
  .page-head { padding-top: 48px; padding-bottom: 8px; }
  .page-content { padding-top: 16px; }
  .page-head h1 { font-size: 32px; }
  .page-head p { font-size: 16px; }
  .home-hero { height: clamp(410px, calc(100svh - 185px), 620px); min-height: 0; }
  .home-hero-content { padding-top: 48px; }
  .home-tagline { max-width: 21ch; font-size: 18px; }
  .hero-actions { width: 100%; }
  .hero-actions .pill { flex: 1 1 145px; min-width: 0; padding-inline: 8px; }
  .about-hero { height: clamp(390px, calc(100svh - 128px), 640px); min-height: 0; }
  .about-hero-copy { padding-top: 64px; }
  .about-hero-copy > p:last-child { font-size: 18px; }
  .about-intro-grid h2 { font-size: 32px; }
  .about-intro-grid p, .property-overview p { font-size: 16px; }
  .values-grid, .choice-grid { grid-template-columns: 1fr; }
  .values-grid > div, .values-grid > div + div, .values-grid > div:nth-child(3) { padding: 24px 0; border-left: 0; border-top: 1px solid #dedcd1; }
  .values-grid > div:first-child { border-top: 0; }
  .choice-grid > div, .choice-grid > div + div { min-height: 0; padding: 24px 0; border-left: 0; border-top: 1px solid #dedcd1; }
  .choice-grid > div:first-child { border-top: 0; }
  .choice-grid h3 { margin-top: 16px; }
  .featured-school-grid, .search-school-grid { grid-template-columns: 1fr; }
  .featured-school-grid .school-card, .featured-school-grid .school-card:nth-child(-n+2),
  .search-school-grid .school-card, .search-school-grid .school-card:nth-child(-n+2) { min-height: 240px; }
  .school-link-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-card p:not(.eyebrow) { min-height: 0; }
  .blog-follow { margin-top: 64px; }
  .contact-details { gap: 24px; }
  .contact-details h2 { font-size: 26px; }
  .partner-intro { padding-bottom: 48px; }
  .partner-process { padding-block: 48px; }
  .school-directory { margin-top: 48px; }
  .school-search-form .search-line { flex-direction: column; }
  .school-search-form { margin-bottom: 32px; }
  .school-search-form input { flex: 0 0 48px; width: 100%; }
  .school-search-form .pill { width: 100%; }
  .property-hero { height: clamp(390px, calc(100svh - 128px), 640px); min-height: 0; }
  .property-hero h1 { font-size: 32px; }
  .property-location-panel { min-height: 260px; padding: 32px; }
  .gallery-section .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-samples { margin-top: 48px; }
  .wide-band .hero-actions { flex-direction: column; align-items: stretch; }
  .faq-guide-grid { grid-template-columns: 1fr; }
  .faq-guide-grid a, .faq-guide-grid a + a, .faq-guide-grid a:nth-child(3), .faq-guide-grid a:nth-child(4) { min-height: 0; padding: 16px 0; border-left: 0; border-top: 1px solid #e5e3dd; }
  .faq-guide-grid a:first-child { border-top: 0; }
}

/* Image-led homepage interactions. All slide media comes from published content. */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 3px 18px rgba(19, 16, 13, .08); }
.home-hero::before { content: none; }
.home-hero-slide { position: absolute; inset: 0; isolation: isolate; opacity: 0; visibility: hidden; pointer-events: none; }
.home-hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; }
.home-hero-slide:not(.is-active) .home-hero-content { visibility: hidden; }
.home-hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.12) 56%, rgba(0,0,0,.1)); }
.home-hero-slide .hero-image { z-index: -2; }
.home-hero h1, .home-hero h2 { max-width: var(--text); font-size: 54px; line-height: 1.08; font-weight: 600; }
.home-hero-content { z-index: 1; }
.carousel-arrow { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.64); border-radius: var(--radius-sm); background: rgba(255,255,255,.88); color: #141413; transition: background .2s ease, transform .2s ease, opacity .2s ease; }
.carousel-arrow:hover:not(:disabled) { background: #fff; transform: translateY(-2px); }
.carousel-arrow:disabled { opacity: .38; cursor: default; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); transition: background-color .25s ease, transform .25s ease; }
.carousel-dot.is-active { background: #fff; } /* 老板 2026-11-07 20:58: no scale, so the first dot is never clipped by the overflow-hidden shell */
.showcase-section { padding-top: 64px; padding-bottom: 64px; }
.showcase-section .section-top { margin-bottom: 32px; }
.showcase-shell { overflow: hidden; }
.showcase-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-slide { position: relative; isolation: isolate; flex: 0 0 min(86%, 1040px); height: clamp(430px, 48vw, 600px); overflow: hidden; scroll-snap-align: start; border-radius: var(--radius-md); background: #3d3d3a; color: #fff; }
.showcase-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.08) 68%); }
.showcase-slide > img, .showcase-slide > .media-empty { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.showcase-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 48px 48px; text-shadow: 0 1px 8px rgba(0,0,0,.28); }
.showcase-copy h3 { margin-top: 8px; font-size: 44px; line-height: 1.12; }
.showcase-copy > p:not(.hero-overline) { margin-top: 8px; font-size: 16px; }
.showcase-copy .showcase-room-types { color: #ecebe6; font-size: 14px !important; }
.showcase-copy .pill { min-width: 190px; margin-top: 24px; background: #fff; border-color: #fff; color: #141413; text-shadow: none; }
.showcase-copy .pill:hover { background: #ecebe6; border-color: #ecebe6; }
.showcase-controls { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 16px; }
.showcase-controls .carousel-dots { justify-content: flex-start; }
.showcase-controls .carousel-dot { background: #c2c0b6; }
.showcase-controls .carousel-dot.is-active { background: #141413; }
.showcase-arrows { display: flex; gap: 8px; }
.showcase-arrows .carousel-arrow { border-color: #dedcd1; background: #f4f3ef; }
.showcase-arrows .carousel-arrow:hover:not(:disabled) { background: #ecebe6; }
.school-card img, .property-row .card-image-link img, .blog-card img { transition: transform .6s ease; }
.school-card { flex-direction: column; align-items: stretch; }
.school-card .school-card-main { flex: 1; padding-bottom: 8px; }
.school-card .photo-credit { position: relative; left: auto; bottom: auto; max-width: 100%; margin-top: 0; padding: 0 24px 16px; color: #fff; font-weight: 400; line-height: 1.35; }
.main-nav.open { animation: menu-in .25s ease-out both; }
.property-row .card-image-link { overflow: hidden; }
/* 2026-10-22: hero banners are static (no slideshow, zoom or slide-in). */
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Editorial guide pages share the site's photo-led visual language. */
.guide-hero, .guide-feature { position: relative; isolation: isolate; overflow: hidden; background: #3d3d3a; color: #fff; }
.guide-hero { height: min(660px, calc(100svh - 210px)); min-height: 470px; }
.guide-hero::before, .guide-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.guide-hero::before { background: linear-gradient(to bottom, rgba(0,0,0,.58), rgba(0,0,0,.28) 48%, rgba(0,0,0,.08)); }
.guide-hero-image, .guide-feature-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.guide-hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 64px; text-align: center; text-shadow: 0 1px 12px rgba(0,0,0,.38); }
.guide-hero h1 { max-width: var(--text); font-size: 54px; line-height: 1.1; }
.guide-hero-copy > p:not(.hero-overline) { max-width: var(--text-8); margin-top: 16px; font-size: 18px; line-height: 1.45; }
.guide-hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 32px; text-shadow: none; }
.guide-hero-actions .pill { min-width: 204px; }
.guide-hero-actions .pill:first-child { border-color: var(--action); background: var(--action); color: #fff; }
.guide-hero-actions .pill:first-child:hover { border-color: var(--action-hover); background: var(--action-hover); }
.guide-hero-actions .pill.light { border-color: #fff; background: #fff; color: #141413; }
.guide-hero-actions .pill.light:hover { border-color: #ecebe6; background: #ecebe6; }
.guide-index { padding-block: 64px 96px; scroll-margin-top: 64px; }
.guide-index-heading, .guide-process-heading { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 6 / 12 - var(--gutter)) minmax(0, 1fr); align-items: end; gap: 64px calc((100% + 13 * var(--gutter)) / 12); }
.guide-index-heading h2, .guide-process-heading h2 { max-width: var(--text-8); margin-top: 16px; font-size: 44px; }
.guide-index-heading > p, .guide-process-heading > p { max-width: 48ch; color: #5e5d59; font-size: 16px; }
.guide-index-list { margin-top: 48px; border-top: 1px solid #dedcd1; }
.guide-index-item { display: grid; grid-template-columns: 62px minmax(0,1fr) 44px; align-items: center; gap: 24px; min-height: 112px; padding: 24px 8px 24px 0; border-bottom: 1px solid #dedcd1; text-decoration: none; transition: background .22s ease, padding-left .22s ease; }
.guide-index-item:hover { padding-left: 16px; background: #f4f3ef; }
.guide-index-number { align-self: start; padding-top: 8px; color: var(--accent); font-size: 13px; font-weight: 700; }
.guide-index-text { display: flex; flex-direction: column; gap: 8px; }
.guide-index-text strong { font-size: 26px; line-height: 1.25; font-weight: 600; }
.guide-index-text > span { color: #73726c; font-size: 16px; line-height: 1.5; }
.guide-index-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dedcd1; border-radius: var(--radius-sm); transition: transform .22s ease, background .22s ease; }
.guide-index-item:hover .guide-index-arrow { transform: translateX(3px); background: #fff; }
.guide-feature { height: min(650px, 76svh); min-height: 470px; }
.guide-feature::before { background: linear-gradient(to top, rgba(0,0,0,.74), rgba(0,0,0,.15) 65%); }
.guide-feature-copy { display: flex; height: 100%; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-bottom: 64px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.guide-feature h2 { max-width: var(--text-10); font-size: 44px; }
.guide-feature-copy > p:not(.hero-overline) { max-width: 56ch; margin-top: 16px; font-size: 18px; }
.guide-feature .pill { margin-top: 24px; border-color: #fff; background: #fff; color: #141413; text-shadow: none; }
.guide-feature .pill:hover { border-color: #ecebe6; background: #ecebe6; }
.guide-process { padding-block: 96px 96px; scroll-margin-top: 64px; }
.guide-process-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 var(--gutter); margin: 48px 0 0; padding: 0; border-top: 1px solid #d1cfc5; list-style: none; }
.guide-process-list li { min-width: 0; padding: 32px 32px 0 0; }
.guide-process-list li + li { padding-left: 32px; border-left: 1px solid #d1cfc5; }
.guide-process-list li > span { color: var(--accent); font-size: 13px; font-weight: 700; }
.guide-process-list h3 { margin-top: 24px; font-size: 26px; }
.guide-process-list p { max-width: 34ch; margin-top: 8px; color: #5e5d59; font-size: 16px; }
.guide-close { padding-block: 96px; background: #141413; color: #fff; text-align: center; }
.guide-close .shell { max-width: var(--text-10); }
.guide-close h2 { font-size: 44px; }
.guide-close p { max-width: 60ch; margin: 16px auto 0; color: #dedcd1; font-size: 16px; }
.guide-close-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.guide-close-actions .pill { min-width: 204px; }
.guide-close-actions .pill.light { border-color: #fff; background: #fff; color: #141413; }
.guide-close-actions .pill.outline { border-color: #d1cfc5; background: transparent; color: #fff; }
.guide-close-actions .pill.outline:hover { background: #3d3d3a; }

@media (max-width: 1068px) {
  .home-hero h1, .home-hero h2 { font-size: 44px; }
  .showcase-slide { flex-basis: 88%; height: 520px; }
  .showcase-copy { padding: 32px 32px 32px; }
  .showcase-copy h3 { font-size: 32px; }
  .guide-index-heading, .guide-process-heading { gap: 32px; }
  .guide-index-heading h2, .guide-process-heading h2 { font-size: 32px; }
}
@media (max-width: 734px) {
  .home-hero h1, .home-hero h2 { font-size: 32px; }
  .hero-carousel-controls { inset: auto 20px 10px; }
  .hero-carousel-controls .carousel-dots { bottom: 0; }
  .hero-carousel-controls .carousel-arrow { width: 40px; height: 40px; }
  .showcase-section { padding-top: 64px; padding-bottom: 64px; }
  .showcase-slide { flex-basis: 92%; height: 470px; }
  .showcase-copy { padding: 24px 24px 32px; }
  .showcase-copy h3 { font-size: 26px; }
  .showcase-copy > p:not(.hero-overline) { font-size: 14px; }
  .showcase-copy .pill { width: 100%; max-width: 260px; }
  .guide-hero { height: clamp(380px, calc(100svh - 220px), 620px); min-height: 0; }
  .guide-hero-copy { padding-top: 48px; }
  .guide-hero h1 { font-size: 32px; }
  .guide-hero-copy > p:not(.hero-overline) { max-width: 32ch; font-size: 16px; }
  .guide-hero-actions { width: 100%; max-width: var(--text-8); gap: 8px; margin-top: 24px; }
  .guide-hero-actions .pill { flex: 1 1 155px; min-width: 0; min-height: 44px; padding-inline: 8px; }
  .guide-index { padding-block: 64px 64px; }
  .guide-index-heading, .guide-process-heading { grid-template-columns: 1fr; gap: 16px; }
  .guide-index-heading h2, .guide-process-heading h2 { font-size: 32px; }
  .guide-index-heading > p, .guide-process-heading > p { font-size: 16px; }
  .guide-index-list { margin-top: 32px; }
  .guide-index-item { grid-template-columns: 30px minmax(0,1fr) 34px; gap: 16px; min-height: 106px; padding-block: 24px; }
  .guide-index-number { padding-top: 4px; }
  .guide-index-text strong { font-size: 18px; }
  .guide-index-text > span { font-size: 13px; }
  .guide-index-arrow { width: 34px; height: 34px; }
  .guide-feature { height: clamp(440px, 66svh, 560px); min-height: 0; }
  .guide-feature-copy { padding-bottom: 48px; }
  .guide-feature h2 { font-size: 32px; }
  .guide-feature-copy > p:not(.hero-overline) { font-size: 16px; }
  .guide-process { padding-block: 64px 64px; }
  .guide-process-list { grid-template-columns: 1fr; margin-top: 32px; }
  .guide-process-list li, .guide-process-list li + li { padding: 24px 0 24px; border-left: 0; border-bottom: 1px solid #d1cfc5; }
  .guide-process-list h3 { margin-top: 8px; font-size: 20px; }
  .guide-close { padding-block: 64px; }
  .guide-close h2 { font-size: 32px; }
  .guide-close-actions { flex-direction: column; align-items: stretch; }
  .guide-close-actions .pill { width: 100%; min-height: 44px; }
}
@media (max-width: 360px) {
  .guide-hero-actions { flex-direction: column; align-items: stretch; }
  .guide-hero-actions .pill { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-slide, .home-hero-slide.is-active .hero-image, .home-hero-slide.is-active .home-hero-content, .about-hero .hero-image, .detail-hero .hero-image, .guide-hero-image, .guide-index-item, .guide-index-arrow, .main-nav.open, .reveal-pending { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .showcase-track { scroll-behavior: auto; }
}

/* Room discovery, room detail and first-request flow share one product rhythm. */
.room-type-hero, .room-product-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; background: #3d3d3a; color: #fff; }
.room-type-hero { height: min(680px, calc(100svh - 165px)); min-height: 470px; }
.room-product-hero { height: min(700px, calc(100svh - 165px)); min-height: 490px; }
.room-type-hero > img, .room-product-hero > img,
.room-type-hero > .media-empty, .room-product-hero > .media-empty { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.room-type-hero::before, .room-product-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.18) 56%, rgba(0,0,0,.1)); }
.room-type-hero-copy, .room-product-hero-copy { padding-block: 48px 48px; text-shadow: 0 1px 12px rgba(0,0,0,.32); }
.room-type-hero h1 { font-size: 54px; }
.room-product-hero h1 { max-width: 19ch; font-size: 54px; line-height: 1.11; }
.room-type-hero-copy > p:not(.hero-overline), .room-product-hero-copy > p:not(.hero-overline) { max-width: 54ch; margin-top: 16px; font-size: 18px; }
.room-type-hero-copy > strong { display: block; margin-top: 24px; font-size: 20px; font-weight: 600; }
.room-type-hero .hero-actions, .room-product-hero .hero-actions { margin-top: 24px; text-shadow: none; }
.room-type-hero .pill, .room-product-hero .pill { min-width: 185px; border-color: #fff; background: #fff; color: #141413; }
.room-type-hero .pill:first-child, .room-product-hero .pill:last-child { border-color: var(--action); background: var(--action); color: #fff; }
.room-type-hero .pill:hover, .room-product-hero .pill:hover { border-color: #e5e3dd; background: #e5e3dd; color: #141413; }
.room-type-switch { display: flex; gap: 32px; border-bottom: 1px solid #e5e3dd; }
.room-type-switch a { display: inline-flex; align-items: center; min-height: 66px; border-bottom: 2px solid transparent; text-decoration: none; font-size: 14px; font-weight: 600; }
.room-type-switch a[aria-current="page"] { border-color: #141413; }
.room-type-switch a:not([aria-current="page"]) { color: #73726c; }
.room-type-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px var(--gutter); padding-block: 64px 64px; }
.room-type-intro h2 { max-width: 15ch; margin-top: 16px; font-size: 44px; }
.room-type-intro > div:last-child { align-self: end; }
.room-type-intro > div:last-child p { max-width: 49ch; color: #5e5d59; font-size: 18px; }
.room-type-intro > div:last-child p + p { margin-top: 16px; font-size: 14px; }
.room-choice-section { padding-bottom: 96px; scroll-margin-top: 96px; }
.room-choice-section .section-top { margin-bottom: 32px; }
.room-option-list { border-top: 1px solid #e5e3dd; }
.room-option { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); min-height: 310px; border-bottom: 1px solid #e5e3dd; }
.room-option-image { min-width: 0; height: 310px; overflow: hidden; }
.room-option-image img, .room-option-image .media-empty { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.room-option-content { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px 48px; }
.room-option-content h3 { max-width: 31ch; margin-top: 16px; font-size: 26px; line-height: 1.2; }
.room-option-content h3 a { text-decoration: none; }
.room-option-content h3 a:hover { color: var(--hover-ink); text-decoration: none; }
.room-option-facts { margin-top: 16px; color: #5e5d59; font-size: 14px; }
.room-option-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.room-option-bottom strong { font-size: 26px; font-weight: 600; }
.room-option-bottom span { color: #73726c; font-size: 13px; }
.room-option-bottom .pill { min-width: 150px; }
.room-type-empty { padding: 32px 0; color: #5e5d59; }
.room-type-details { padding-block: 96px 96px; background: #ffffff; }
.room-type-details-heading h2 { margin-top: 16px; font-size: 44px; }
.room-type-details-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 48px; border-top: 1px solid #dedcd1; }
.room-type-details-grid > div { padding: 24px 32px 32px 0; }
.room-type-details-grid > div + div { padding-left: 32px; border-left: 1px solid #dedcd1; }
.room-type-details-grid span { color: #73726c; font-size: 13px; font-weight: 700; }
.room-type-details-grid h3 { margin-top: 24px; }
.room-type-details-grid p { margin-top: 8px; color: #5e5d59; font-size: 16px; }
.room-type-next { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 32px; border-top: 1px solid #dedcd1; }
.room-type-next h3 { font-size: 26px; }
.room-type-next p { max-width: 53ch; margin-top: 8px; color: #5e5d59; }
.room-type-next .pill { flex: none; }
.room-type-links { margin-top: 24px; font-size: 14px; }
.room-common-section { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 4 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); padding-block: 96px; }
.room-common-section h2 { margin-top: 16px; }
.room-common-section img { max-height: 470px; aspect-ratio: 16/9; }
.room-common-section p:last-child { margin-top: 16px; color: #5e5d59; font-size: 14px; }

.room-product-layout { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 7 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); align-items: start; padding-block: 96px 96px; scroll-margin-top: 96px; }
.room-product-layout > * { min-width: 0; }
.room-product-photo-main > img, .room-product-photo-main > .media-empty { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f4f3ef; }
.room-product-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; max-width: 100%; gap: 8px; overflow-x: auto; padding: 16px 0 8px; scrollbar-width: thin; }
.room-product-thumbs button { width: 112px; height: 78px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-sm); background: #ecebe6; }
.room-product-thumbs button[aria-pressed="true"] { border-color: #141413; }
.room-product-thumbs img { width: 100%; height: 100%; }
.room-product-summary { position: sticky; top: 88px; }
.room-product-summary h2 { max-width: 23ch; margin: 16px 0; font-size: 32px; line-height: 1.15; }
.room-product-address { color: #5e5d59; font-size: 14px; }
.room-product-price { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; padding-block: 24px; border-block: 1px solid #e5e3dd; }
.room-product-price small, .room-product-price span { color: #73726c; font-size: 14px; }
.room-product-price strong { font-size: 44px; line-height: 1.15; font-weight: 600; }
.room-product-specs { padding-block: 24px; border-bottom: 1px solid #e5e3dd; }
.room-product-specs h3 { margin-bottom: 16px; font-size: 18px; }
.room-product-specs dl { margin: 0; }
.room-product-specs dl div { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding-block: 8px; }
.room-product-specs dt { color: #87867f; font-size: 13px; }
.room-product-specs dd { margin: 0; font-size: 16px; }
.room-product-availability { margin: 24px 0; color: #5e5d59; font-size: 14px; }
.room-product-primary { width: 100%; }
.room-product-summary > .text-link { margin-top: 8px; }
.room-product-surroundings { padding-block: 64px; background: #ffffff; }
.room-product-surroundings h2 { margin-top: 16px; }
.room-product-labels { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px var(--gutter); margin-top: 32px; border-top: 1px solid #dedcd1; }
.room-product-labels span { min-width: 0; padding-top: 24px; font-size: 14px; font-weight: 600; }
.room-product-next { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 32px; padding-block: 96px; border-bottom: 1px solid #e5e3dd; }
.room-product-next h2 { max-width: 16ch; margin-top: 16px; }
.room-product-next > p { color: #5e5d59; }
.room-product-related { padding-block: 96px 96px; }
.room-product-related .room-card h3 { min-height: 0; }

.booking-flow-head { padding-block: 64px 48px; }
.booking-flow-head h1 { margin-top: 16px; font-size: 44px; }
.booking-flow-head > p:last-child { max-width: 65ch; margin-top: 16px; color: #5e5d59; font-size: 18px; }
.booking-flow { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 6 / 12 - var(--gutter)) minmax(0, 1fr); align-items: start; gap: 64px calc((100% + 13 * var(--gutter)) / 12); padding-bottom: 96px; }
.booking-selected { position: sticky; top: 88px; min-width: 0; }
.booking-selected-photo img, .booking-selected-photo .media-empty { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f4f3ef; }
.booking-selected > .eyebrow { margin-top: 24px; }
.booking-selected h2 { max-width: 24ch; margin-top: 8px; font-size: 32px; line-height: 1.2; }
.booking-selected > p:not(.eyebrow) { margin-top: 8px; color: #5e5d59; font-size: 14px; }
.booking-selected-unit { font-weight: 600; }
.booking-selected-price { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; padding-block: 24px; border-block: 1px solid #e5e3dd; }
.booking-selected-price small { color: #73726c; font-size: 13px; }
.booking-selected-price strong { font-size: 20px; line-height: 1.3; font-weight: 600; }
.booking-selected .booking-selected-note { margin-top: 24px !important; line-height: 1.55; }
.booking-selected .text-link { margin-top: 16px; }
.booking-form { min-width: 0; }
.booking-form-step { padding: 0 0 48px; border-top: 1px solid #e5e3dd; }
.booking-form-step + .booking-form-step { padding-top: 32px; }
.booking-step-label { display: flex; gap: 24px; align-items: start; margin: 32px 0 24px; }
.booking-form-step + .booking-form-step .booking-step-label { margin-top: 0; }
.booking-step-label > span { min-width: 27px; padding-top: 4px; color: #73726c; font-size: 13px; font-weight: 700; }
.booking-step-label h2 { margin-top: 8px; font-size: 26px; }
.booking-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px var(--gutter); }
.booking-fields label { display: flex; flex-direction: column; min-width: 0; gap: 8px; color: var(--ink-1); font-size: 13px; font-weight: 600; }
.booking-fields input, .booking-fields select { width: 100%; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: #141413; font-size: 14px; }
.booking-fields input:focus, .booking-fields select:focus { border-color: var(--action); }
.booking-fields .booking-full { grid-column: 1 / -1; }
.booking-fields .booking-plan-field { grid-column: 1 / -1; }
.booking-plan-deposit { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-block: 1px solid #e5e3dd; }
.booking-plan-deposit strong { font-size: 18px; line-height: 1.3; font-weight: 600; }
.booking-plan-deposit span { color: #73726c; font-size: 13px; line-height: 1.5; }
#booking-price-preview { padding: 24px 32px; background: #ffffff; }
#booking-price-preview h3 { margin-bottom: 16px; font-size: 18px; }
#booking-price-preview .booking-price-line { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-block: 8px; border-top: 1px solid #e5e3dd; font-size: 14px; }
#booking-price-preview .booking-price-line strong { flex: 0 0 39%; font-weight: 600; }
#booking-price-preview .booking-price-line span { flex: 1; color: #5e5d59; text-align: right; }
#booking-price-preview[data-status="pending"] .booking-price-line span { text-align: left; }
.booking-section-note { margin-top: 16px; color: #73726c; font-size: 13px; }
.booking-check { display: flex; align-items: start; gap: 16px; padding: 16px 0; border-top: 1px solid #e5e3dd; color: var(--ink-1); font-size: 14px; line-height: 1.5; }
.booking-check input { width: 19px; height: 19px; flex: none; margin: 1px 0 0; accent-color: var(--action); }
#booking-request-error { margin-top: 16px; color: #a3282d; font-size: 14px; font-weight: 600; }
.booking-submit-bar { position: sticky; z-index: 10; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 16px 0; border-top: 1px solid #e5e3dd; background: rgba(255,255,255,.98); box-shadow: 0 -10px 16px rgba(255,255,255,.92); }
.booking-submit-bar div { display: flex; flex-direction: column; gap: 4px; }
.booking-submit-bar strong { font-size: 14px; }
.booking-submit-bar span { color: #73726c; font-size: 12px; }
.booking-submit-bar .pill { flex: none; }
#booking-request-dialog { width: min(100% - 32px, 500px); padding: 32px; border: 0; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.24); }
#booking-request-dialog::backdrop { background: rgba(0,0,0,.55); }
#booking-request-dialog h2 { font-size: 26px; }
#booking-request-dialog p { margin-top: 16px; color: #5e5d59; }
#booking-request-dialog .pill { margin-top: 24px; }

@media (max-width: 1068px) {
  .room-type-intro, .room-common-section { grid-template-columns: 1fr; gap: 24px; }
  .room-option-content { padding: 24px; }
  .room-product-layout { grid-template-columns: 1fr; gap: 32px; }
  .room-product-summary, .booking-selected { position: static; }
  .room-product-next { grid-template-columns: 1fr 1fr; }
  .room-product-next .pill { grid-column: 1 / -1; justify-self: start; }
  .booking-flow { grid-template-columns: 1fr; gap: 48px; }
  .booking-selected { max-width: var(--text-10); }
}
@media (max-width: 734px) {
  .booking-assurance > div { grid-template-columns: 1fr; gap: 4px; }
  .about-journey .confidence-grid > div, .about-journey .confidence-grid > div + div { padding: 24px 0; border-left: 0; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .room-type-hero, .room-product-hero { height: clamp(440px, calc(100svh - 135px), 620px); min-height: 0; }
  .room-type-hero-copy, .room-product-hero-copy { padding-block: 32px 48px; }
  .room-type-hero h1, .room-product-hero h1 { font-size: 32px; }
  .room-type-hero-copy > p:not(.hero-overline), .room-product-hero-copy > p:not(.hero-overline) { font-size: 16px; }
  .room-type-hero-copy > strong { margin-top: 16px; font-size: 18px; }
  .room-type-hero .hero-actions, .room-product-hero .hero-actions { justify-content: flex-start; gap: 8px; }
  .room-type-hero .pill, .room-product-hero .pill { min-width: 0; flex: 1 1 145px; padding-inline: 8px; }
  .room-type-switch { gap: 24px; }
  .room-type-switch a { min-height: 56px; font-size: 14px; }
  .room-type-intro { padding-block: 64px 48px; }
  .room-type-intro h2, .room-type-details-heading h2 { font-size: 32px; }
  .room-type-intro > div:last-child p { font-size: 16px; }
  .room-choice-section { padding-bottom: 64px; }
  .room-option { grid-template-columns: 1fr; }
  .room-option-image { height: auto; aspect-ratio: 4/3; }
  .room-option-content { padding: 24px 0 32px; }
  .room-option-content h3 { font-size: 20px; }
  .room-option-bottom { align-items: center; }
  .room-option-bottom strong { font-size: 26px; }
  .room-option-bottom .pill { min-width: 125px; }
  .room-type-details { padding-block: 64px; }
  .room-type-details-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .room-type-details-grid > div, .room-type-details-grid > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid #dedcd1; }
  .room-type-details-grid h3 { margin-top: 8px; }
  .room-type-next { flex-direction: column; align-items: stretch; }
  .room-type-next .pill { width: 100%; }
  .room-common-section { padding-block: 64px; }
  .room-product-layout { padding-block: 48px 64px; }
  .room-product-summary h2 { font-size: 32px; }
  .room-product-price strong { font-size: 44px; }
  .room-product-surroundings { padding-block: 64px; }
  .room-product-labels { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px var(--gutter); }
  .room-product-next { grid-template-columns: 1fr; gap: 16px; padding-block: 64px; }
  .room-product-next .pill { grid-column: auto; justify-self: stretch; }
  .room-product-related { padding-block: 64px; }
  .booking-flow-head { padding-block: 32px 24px; }
  .booking-flow-head h1 { font-size: 32px; }
  .booking-flow-head > p:last-child { font-size: 16px; }
  .booking-flow { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .booking-selected { display: block; }
  .booking-selected > .eyebrow { margin-top: 24px; }
  .booking-selected-photo img, .booking-selected-photo .media-empty { max-height: 250px; aspect-ratio: 16/9; }
  .booking-selected h2 { font-size: 26px; }
  .booking-form-step { padding-bottom: 32px; }
  .booking-step-label h2 { font-size: 26px; }
  #booking-price-preview { padding: 24px; }
  #booking-price-preview .booking-price-line { gap: 16px; font-size: 13px; }
  .booking-submit-bar .pill { min-width: 0; padding-inline: 16px; }
}
@media (max-width: 360px) {
  .room-type-hero .hero-actions, .room-product-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .room-type-hero .hero-actions .pill, .room-product-hero .hero-actions .pill { flex: none; min-height: 44px; }
  .room-option-bottom { align-items: stretch; flex-direction: column; }
  .booking-submit-bar div { display: none; }
  .booking-submit-bar .pill { width: 100%; }
}

/* Display only: preserve the entered passport spelling and order in the underlying value. */
.passport-name { text-transform: uppercase; }

/* 招租中心: limited-time price on room-type pages */
.room-offer { margin: 8px 0 0; font-size: 16px; }
.room-offer strong { color: var(--accent); }
.room-offer s { color: #9c9a92; margin-left: 4px; }

/* 统一预订入口: online booking form on room pages */
.booking-request { padding-block: 64px; border-bottom: 1px solid #e5e3dd; display: grid; grid-template-columns: calc((100% + var(--gutter)) * 4 / 12 - var(--gutter)) minmax(0, 1fr); gap: 48px calc((100% + 13 * var(--gutter)) / 12); }
.booking-request-head h2 { margin-top: 16px; }
.booking-request-head p:last-child { color: #5e5d59; }
.booking-form fieldset { border: 0; border-top: 1px solid #e5e3dd; padding: 24px 0 8px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px var(--gutter); }
.booking-form legend { font-weight: 600; padding: 0 0 8px; }
.booking-form .bk-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.booking-form .bk-field small { color: #5e5d59; }
.booking-form input, .booking-form select, .booking-form textarea { font: inherit; padding: 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; min-height: 42px; width: 100%; box-sizing: border-box; }
.booking-form .bk-phone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; grid-column: 1 / -1; }
.booking-form .bk-quote, .booking-form .bk-check, .booking-form #bk-wechat-box { grid-column: 1 / -1; }
.booking-form .bk-quote { background: #f4f3ef; border-radius: var(--radius-md); padding: 16px 16px; }
.booking-form .bk-quote dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.booking-form .bk-quote dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.booking-form .bk-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.booking-form .bk-check input { width: auto; min-height: 0; margin-top: 4px; }
.booking-form .bk-error { color: #b42318; min-height: 1.2em; }
.booking-form .bk-warn { color: #8a5300; margin: 0 0 8px; }
.booking-form .bk-small, .booking-request .bk-small { font-size: 13px; }
.booking-form button[type="submit"] { margin-top: 8px; border: 0; cursor: pointer; }
.booking-form button[disabled] { opacity: .6; cursor: progress; }
.bk-receipt { background: #f4f3ef; border-radius: var(--radius-md); padding: 24px; }
@media (max-width: 734px) { .booking-request { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; } .booking-form fieldset { grid-template-columns: 1fr; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ======================================================================================
   2026-10-22 Tesla-style refresh (reference: tesla.com design language, not its brand):
   full-bleed photography, headline at the top, paired actions at the bottom, quiet type,
   generous space, no motion. Colours: text #141413 / #5e5d59, actions brand black #141413 (red #b72b35 only as a rare accent).
   ====================================================================================== */
/* 文字与图标颜色规则 (老板 2026-11-17 12:59「整理一下使用规则，规范一下使用规则，然后所有的网站相对应的地方都使用该规则」).
   On white and the light fills, text uses three levels only (guarded by server/test/colour-rules-1117.test.cjs):
     --ink-1 #141413  headings, titles (also when they are links), body text, key values (prices, times, counts), facts, form labels;
     --ink-2 #5e5d59  supporting text under a title, navigation and inline links (ink-1 on hover), table and field labels;
     --ink-3 #73726c  supporting details: distances, units ("Walk"), dates, sources and notes, captions, and options that are not the
                       one recommended (the other ways to a school).
   An icon takes the colour of the text it goes with (--ic-color: currentColor). Colour means status only: green Available,
   Union Jack blue Coming, red offers, the required-field asterisk and the residence pins on maps, amber warnings. The dark footer and dark photo bands
   keep their own light scale.
   Fills (老板 13:11「整体的配色…有秩序，有规律」): the page is white; #f4f3ef is the one light surface (filled cards, chips, the
   current menu item, icon badges, the call-to-action card); #ecebe6 is one step darker: a surface under the pointer, the track
   of a segmented switch, the place an image loads into; #141413 is the black button and the dark bands; #fff8e6 the warning box.
   Lines: #e5e3dd for every hairline (dividers, tables, outlined cards such as Nearby and schools, the header's bottom line);
   #d1cfc5 for form fields and the white secondary button; #b0aea5 for the small checkboxes and radios; #e3b341 the warning box. */
/* Maps (老板 2026-11-17 17:42「地图上公寓位置用品牌红色，其他的位置用深灰色和黑色进行区分。适用于官网所有的地图」): the Singroost
   residence pins are the brand red #b72b35 (onemap.css reads --om-residence), campuses black #141413, nearby places dark grey
   #5e5d59; the map keeps OneMap's own credit in its corner and no other credit line. */
:root { --ink-1: #141413; --ink-2: #5e5d59; --ink-3: #73726c; }
:root { --om-residence: #b72b35; }
:root { --tz-ink: #141413; --tz-muted: #5e5d59; --tz-blue: var(--action); --tz-blue-hover: var(--action-hover); --tz-light: #f4f3ef; --tz-header: 56px; }
body { color: var(--tz-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; }
.eyebrow, .tz-overline { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--tz-muted); }
.site-header { background: rgba(255, 255, 255,.92); border-bottom-color: transparent; }
.main-nav a { border-radius: var(--radius-sm); font-weight: 500; }
.main-nav a:hover { background: rgba(26, 25, 24,.06); }

.pill.tz-primary { min-width: 264px; min-height: 40px; border: 0; border-radius: var(--radius-sm); background: var(--tz-blue); color: #fff; font-weight: 500; }
.pill.tz-primary:hover { background: var(--tz-blue-hover); color: #fff; }
.pill.tz-secondary { min-width: 264px; min-height: 40px; border: 0; border-radius: var(--radius-sm); background: rgba(244, 243, 239,.82); color: var(--ink-1); font-weight: 500; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pill.tz-secondary:hover { background: #fff; color: var(--tz-ink); }
.tz-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; }

/* Full-screen hero / panel */
.home-hero { height: auto; min-height: 0; background: transparent; }
.home-hero::before { display: none; }
.tz-hero, .tz-panel { position: relative; isolation: isolate; overflow: hidden; height: calc(100svh - var(--tz-header)); min-height: 560px; max-height: 1000px; color: #fff; background: #3d3d3a; }
.tz-hero > img, .tz-hero > .hero-image, .tz-panel > img, .tz-panel > .media-empty { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tz-hero::after, .tz-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.38) 100%); }
.tz-hero-top { position: absolute; top: clamp(48px, 11vh, 120px); left: 0; right: 0; padding: 0 24px; text-align: center; text-shadow: 0 1px 14px rgba(0,0,0,.25); }
.tz-hero-top h1, .tz-hero-top h2 { margin: 8px auto 0; max-width: var(--text); font-size: clamp(32px, 4vw, 44px); line-height: 1.15; color: #fff; }
.tz-hero-top .tz-overline { color: rgba(255,255,255,.88); }
.tz-sub { margin: 8px auto 0; max-width: var(--text-8); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.94); }
.tz-hero-bottom { position: absolute; left: 0; right: 0; bottom: clamp(32px, 7vh, 64px); padding: 0 24px; }
.tz-panel .tz-sub { max-width: var(--text-8); }

/* Residence carousel (manual; arrows, dots and swipe) */
.showcase-section { padding-top: 96px; padding-bottom: 96px; }
.showcase-section .section-top h2 { font-size: 32px; }
.tz-card.showcase-slide { flex-basis: min(88%, 1180px); height: clamp(480px, 62vh, 680px); border-radius: var(--radius-md); }
.tz-card.showcase-slide::before { background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.05) 58%); }
.tz-card.showcase-slide:hover > img { transform: none; }
.tz-card-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 48px 48px; color: #fff; }
.tz-card-copy .tz-overline { color: rgba(255,255,255,.82); }
.tz-card-copy h3 { margin-top: 8px; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; color: #fff; }
.tz-card-copy > p { margin-top: 8px; font-size: 16px; color: rgba(255,255,255,.92); }
.tz-card-copy .tz-card-types { font-size: 13px; color: rgba(255,255,255,.8); }
.tz-card-copy .tz-actions { justify-content: flex-start; margin-top: 24px; }
.tz-card-copy .pill.tz-primary, .tz-card-copy .pill.tz-secondary { min-width: 200px; }
.showcase-controls { margin-top: 24px; }
.showcase-controls .carousel-dot.is-active { background: var(--tz-ink); }

/* Room detail page */
.tz-room-hero .tz-hero-top h1 { font-size: clamp(26px, 3.4vw, 44px); }
.tz-specs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 64px; margin: 0 auto 32px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.tz-specs div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; }
.tz-specs dd { margin: 0; font-size: 20px; font-weight: 500; }
.tz-specs dt { margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.85); }
.tz-gallery { padding: 64px 0 8px; }
.tz-gallery-track { display: flex; gap: 16px; padding: 0 max(24px, calc((100vw - 1248px) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tz-gallery-item { flex: 0 0 auto; margin: 0; scroll-snap-align: center; }
.tz-gallery-item img { display: block; height: clamp(300px, 58vh, 620px); width: auto; max-width: 88vw; object-fit: cover; border-radius: var(--radius-md); }
.tz-room-info { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 7 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); align-items: start; padding-top: 64px; padding-bottom: 64px; }
.tz-room-copy h2 { margin-top: 8px; font-size: 32px; line-height: 1.2; }
.tz-room-copy h3 { margin-top: 32px; font-size: 18px; }
.tz-facts { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid #e5e3dd; }
.tz-facts li { padding: 16px 0; border-bottom: 1px solid #e5e3dd; font-size: 16px; }
.tz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tz-chips span { padding: 8px 16px; border-radius: var(--radius-sm); background: var(--tz-light); font-size: 13px; }
.tz-note { margin-top: 32px; }
.tz-order-card { position: sticky; top: calc(var(--tz-header) + 24px); display: grid; gap: 16px; padding: 32px; border-radius: var(--radius-md); background: var(--tz-light); }
.tz-order-card .pill { width: 100%; min-width: 0; }
.tz-order-card .pill.tz-secondary { background: #fff; }
.tz-price { margin: 0; font-size: 32px; font-weight: 500; line-height: 1.1; }
.tz-small { font-size: 12px; line-height: 1.5; }
.tz-related { padding-bottom: 96px; }
.tz-sticky-bar { display: none; }

/* Booking step */
.tz-book { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.tz-book-summary { position: sticky; top: calc(var(--tz-header) + 24px); display: grid; gap: 8px; }
.tz-book-summary img, .tz-book-summary .media-empty { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.tz-book-summary h2 { font-size: 20px; line-height: 1.25; }
.tz-book-main h1 { font-size: clamp(26px, 3vw, 32px); }
.tz-book-main > .muted { margin-top: 8px; max-width: var(--text-8); }
.tz-book .booking-request { margin-top: 32px; padding: 0; background: none; }
.booking-form fieldset[data-step] { border: 0; padding: 0; margin: 0; }
.booking-form fieldset[data-step] > legend { margin-bottom: 16px; font-size: 20px; font-weight: 500; }
.bk-sub { margin: 24px 0 8px; font-size: 16px; }
.bk-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.bk-nav .pill { min-width: 180px; }
.bk-review { display: grid; gap: 0; margin: 16px 0; border-top: 1px solid #e5e3dd; }
.bk-review div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e5e3dd; }
.bk-review dt { color: var(--tz-muted); font-size: 13px; }
.bk-review dd { margin: 0; font-size: 14px; }
.bk-review dd .text-link { margin-left: 8px; font-size: 12px; border: 0; background: none; padding: 0; cursor: pointer; }
.tz-book-closed { display: grid; justify-items: start; gap: 16px; padding-top: 96px; padding-bottom: 128px; }

@media (max-width: 1068px) {
  .tz-room-info, .tz-book { grid-template-columns: 1fr; gap: 32px; }
  .tz-order-card, .tz-book-summary { position: static; }
  .tz-book-summary { grid-template-columns: 112px 1fr; align-items: center; }
  .tz-book-summary img, .tz-book-summary .media-empty { grid-row: span 3; }
}
@media (max-width: 734px) {
  :root { --tz-header: 58px; }
  .tz-hero, .tz-panel { min-height: 520px; }
  .tz-actions { flex-direction: column; align-items: stretch; gap: 16px; padding: 0 8px; }
  .pill.tz-primary, .pill.tz-secondary { min-width: 0; width: 100%; }
  .tz-specs { gap: 8px 32px; }
  .tz-specs dd { font-size: 18px; }
  .tz-card.showcase-slide { flex-basis: 92%; height: 540px; }
  .tz-card-copy { padding: 24px 24px 24px; }
  .tz-card-copy .tz-actions { padding: 0; }
  .tz-gallery-item img { height: 300px; }
  /* 老板 2026-11-17 09:46 (WeChat and other in-app browsers): the page showed through the see-through bar and the bar looked
     cut off. Solid white, its own layer (no ghosting while the page scrolls under it), and padding that older webviews
     without env() still keep (the first padding line). */
  .tz-sticky-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 16px; padding: 24px 16px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e5e3dd; background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.08); -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .tz-sticky-bar div { display: grid; min-width: 0; flex: 1; }
  .tz-sticky-bar strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .tz-sticky-bar span { font-size: 13px; color: var(--tz-muted); }
  .tz-sticky-bar .pill { width: auto; min-width: 144px; min-height: 48px; } /* 老板 2026-11-17 10:17「悬浮栏是否可以加高度」 */
  /* 老板 2026-11-16 13:55: the bar below has the price and Request to book; the card does not repeat them on phones */
  body.has-sticky-bar .tz-order-card .tz-order-from, body.has-sticky-bar .tz-order-card .tz-order-book { display: none; }
  body.has-sticky-bar .tz-order-card .tz-tiers { margin-top: 0; padding-top: 0; border-top: 0; }
  /* 老板 2026-11-16 13:57: the photos run edge to edge on phones; the note under them keeps the page margin */
  html body .ab-room .ab-photo-note:not(#_) { padding-inline: var(--page-margin); }
  body.has-sticky-bar .site-footer { padding-bottom: calc(96px + 32px); } /* no :has(): older in-app webviews do not read it */
  .bk-review div { grid-template-columns: 1fr; gap: 2px; }
  .bk-nav .pill { flex: 1; min-width: 0; }
}
.tz-book .booking-request { display: block; max-width: var(--text-10); }
.tz-book .booking-form { display: block; padding: 0; border: 0; background: none; box-shadow: none; }
.tz-book .booking-form fieldset[data-step] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); }
.tz-book .booking-form fieldset[data-step][hidden] { display: none; }
.tz-book .booking-form fieldset[data-step] > legend, .tz-book .booking-form fieldset[data-step] > p, .tz-book .bk-nav, .tz-book .bk-review, .tz-book .bk-check, .tz-book #bk-guarantor, .tz-book .bk-phone, .tz-book #bk-wechat-box, .tz-book label[for="bk-note"] { grid-column: 1 / -1; }
.tz-book #bk-guarantor:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); }
.tz-book #bk-guarantor > h3 { grid-column: 1 / -1; }
.tz-book .bk-phone { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; }
@media (max-width: 734px) {
  .tz-room-hero .tz-specs { display: none; }
  .tz-hero, .tz-panel { height: min(calc(100svh - var(--tz-header)), 720px); }
  .tz-book .booking-form fieldset[data-step], .tz-book #bk-guarantor:not([hidden]) { grid-template-columns: 1fr; }
  .tz-book .bk-phone { grid-template-columns: 1fr 1.4fr; }
}

/* Secondary heroes follow the same language: full-bleed photo, centred headline near the top, quiet type. */
.detail-hero, .room-type-hero, .guide-hero, .about-hero { height: min(78svh, 760px); min-height: 520px; }
.detail-hero { align-items: flex-start; }
.detail-hero::before, .room-type-hero::before { background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%) !important; }
.detail-hero-copy, .room-type-hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; padding-block: clamp(48px, 11vh, 96px) 48px; text-align: center; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.detail-hero h1, .room-type-hero h1, .guide-hero h1, .about-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 500; }
.detail-hero .hero-actions, .room-type-hero .hero-actions, .guide-hero .hero-actions, .about-hero .hero-actions { justify-content: center; }
.detail-hero .pill, .room-type-hero .pill, .guide-hero .pill { min-width: 220px; min-height: 40px; border: 0; border-radius: var(--radius-sm); font-weight: 500; }
.detail-hero .hero-actions .pill:first-child, .room-type-hero .hero-actions .pill:first-child, .guide-hero .hero-actions .pill:first-child { background: var(--tz-blue); color: #fff; }
.detail-hero .hero-actions .pill + .pill, .room-type-hero .hero-actions .pill + .pill, .guide-hero .hero-actions .pill + .pill { background: #fff; border-color: #d1cfc5; color: #141413; }
.pill { border-radius: var(--radius-sm); font-weight: 500; }
.tz-type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.tz-type-tabs a { padding: 8px 16px; border-radius: var(--radius-sm); background: var(--tz-light); color: var(--tz-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.tz-type-tabs a[aria-current] { background: var(--tz-ink); color: #fff; }
@media (max-width: 734px) { .detail-hero, .room-type-hero, .guide-hero, .about-hero { height: min(72svh, 640px); min-height: 460px; } }
.room-type-hero { align-items: flex-start; }
.tz-actions .pill { flex: 0 0 auto; }
@media (max-width: 1068px) {
  .tz-book-summary { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
  .tz-book-summary img, .tz-book-summary .media-empty { grid-row: 1 / span 3; aspect-ratio: 1; }
  .tz-book-summary > .tz-small, .tz-book-summary > .text-link { grid-column: 1 / -1; }
  .tz-book-summary h2 { font-size: 18px; }
}

/* Booking page, Booking.com-style: one column of compact cards, one button. */
.bk-quick .booking-form { display: grid; gap: 16px; }
.tz-book .bk-quick { max-width: var(--text-10); }
.bk-card { padding: 24px 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.bk-card h2 { margin: 0 0 8px; font-size: 18px; }
.bk-card > .muted { margin: 0 0 16px; }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); margin-top: 8px; }
.bk-grid .bk-wide, .bk-grid .bk-phone { grid-column: 1 / -1; }
.bk-grid .bk-phone { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; }
.bk-stay { background: var(--tz-light); border-color: transparent; }
.bk-sub-card { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e3dd; }
.bk-sub-card h3 { margin: 0; font-size: 16px; }
.bk-more { margin-top: 16px; }
.bk-more summary { cursor: pointer; color: var(--tz-blue); font-size: 14px; font-weight: 500; }
.bk-finish { display: grid; gap: 16px; }
.bk-submit { width: 100%; min-height: 48px !important; font-size: 16px; }
.bk-assure { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--tz-ink); font-size: 13px; }
.bk-assure li::before { content: "✓ "; font-weight: 700; color: var(--action); }
.tz-book .bk-field[hidden] { display: none; }
@media (max-width: 734px) {
  .bk-card { padding: 16px 16px; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-grid .bk-phone { grid-template-columns: 1fr 1.5fr; }
}
@media (max-width: 734px) { .bk-stay .bk-grid { grid-template-columns: 1fr 1fr; } }
.bk-upload input[type="file"] { padding: 8px; border: 1px dashed #c2c0b6; border-radius: var(--radius-sm); background: #ffffff; }

/* 2026-10-22 home banner carousel modelled on the first carousel of Tesla's homepage (layout, sizes, timing; Singroost
   photos, words and brand blue): stacked slides cross-fading 1 s every 5 s, title + buttons at the top, square 40 px
   arrows at the sides, 12 px dots at the bottom. The rest of the homepage keeps its own design. */
.tz-carousel { position: relative; isolation: isolate; overflow: hidden; height: clamp(520px, calc(100svh - var(--tz-header) - 184px), 900px); background: #3d3d3a; }
.tz-carousel::before { display: none; }
.tz-carousel > .hero-slide { position: absolute; inset: 0; height: 100%; min-height: 0; max-height: none; opacity: 0; visibility: hidden; transition: opacity 1s ease-out, visibility 1s ease-out; }
.tz-carousel > .hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.tz-carousel > .hero-slide::after { background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,0) 50%); }
.tz-slide-copy { position: absolute; top: 48px; left: 0; right: 0; padding: 0 24px; text-align: center; text-shadow: 0 1px 14px rgba(0,0,0,.22); }
.tz-slide-copy h1, .tz-slide-copy h2 { margin: 0 auto; max-width: none; color: #fff; font-size: 54px; line-height: 56px; font-weight: 500; letter-spacing: 0; }
.tz-slide-copy .tz-sub { margin: 8px auto 0; max-width: var(--text-8); color: #fff; font-size: 18px; line-height: 24px; }
.tz-slide-copy .tz-actions { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; padding: 0; flex-wrap: nowrap; }
.tz-slide-copy .pill { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-height: 40px; width: 200px; min-width: 0; max-width: none; flex: 0 0 auto; padding: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 0; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; line-height: 16.8px; text-shadow: none; box-shadow: none; transition: background-color .33s, color .33s; }
.tz-slide-copy .pill.tz-primary { background: var(--tz-blue); color: #fff; }
.tz-slide-copy .pill.tz-primary:hover { background: var(--action-hover); }
.tz-slide-copy .pill.tz-secondary { background: #fff; color: var(--ink-1); }
.tz-slide-copy .pill.tz-secondary:hover { background: #f4f3ef; }
.tz-nav { position: absolute; z-index: 3; top: 50%; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 0; padding: 0; border: 0; border-radius: var(--radius-sm); background: rgba(255,255,255,.75); color: var(--ink-1); box-shadow: 0 4px 4px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: pointer; transition: background-color .33s, opacity .33s, transform .33s cubic-bezier(.5,0,0,.75); }
.tz-nav:hover { background: rgba(255,255,255,.95); }
.tz-nav:disabled { opacity: 0; pointer-events: none; }
.tz-nav-prev { left: 48px; } .tz-nav-next { right: 48px; }
.tz-hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); min-height: 0; gap: 8px; }
.tz-hero-dots .carousel-dot { width: 12px; height: 12px; border-radius: 50%; transform: none; transition: opacity .3s, background-color .3s; }
.tz-hero-dots .carousel-dot { background: #fff; opacity: .5; }
.tz-hero-dots .carousel-dot.is-active { background: #fff; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tz-carousel > .hero-slide { transition: none; } }
@media (max-width: 1068px) {
  .tz-nav-prev { left: 24px; } .tz-nav-next { right: 24px; }
}
@media (max-width: 734px) {
  .tz-carousel { height: clamp(480px, calc(100svh - var(--tz-header) - 92px), 760px); }
  .tz-slide-copy { top: 40px; padding: 0 24px; }
  .tz-slide-copy h1, .tz-slide-copy h2 { font-size: 44px; line-height: 48px; }
  .tz-slide-copy .tz-sub { font-size: 16px; }
  .tz-slide-copy .pill { width: auto; flex: 1 1 0; }
  .tz-carousel .tz-nav { display: none; }
}
/* 2026-10-22 room page review: gallery arrows + counter (Tesla controls), rent by lease length, availability. */
.tz-gallery { position: relative; }
.tz-gallery .tz-nav { top: calc(64px + clamp(300px, 58vh, 620px) / 2 - 20px); }
.tz-gallery-count { margin: 16px 0 0; text-align: center; color: var(--tz-muted); font-size: 14px; }
.tz-gallery-track { scrollbar-width: none; }
.tz-gallery-track::-webkit-scrollbar { display: none; }
.tz-tiers { display: grid; gap: 8px; margin: 4px 0 0; padding: 16px 0; border-top: 1px solid #e5e3dd; border-bottom: 1px solid #e5e3dd; }
.tz-tiers div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.tz-tiers dt { color: var(--tz-muted); } .tz-tiers dd { margin: 0; font-weight: 500; color: var(--tz-ink); }
@media (max-width: 734px) { .tz-gallery .tz-nav { display: none; } }
/* 2026-10-22 booking page: rent, payment plan choice and instalments */
.bk-price h3 { margin: 24px 0 8px; font-size: 16px; font-weight: 600; }
.bk-rent { margin: 4px 0 16px; font-size: 18px; font-weight: 500; color: var(--tz-ink, #141413); }
.bk-plans { margin: 0; padding: 0; border: 0; }
.bk-plans legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.bk-plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.bk-plan { position: relative; display: flex; gap: 8px; align-items: flex-start; padding: 16px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-md); background: #fff; cursor: pointer; }
.bk-plan.is-on, .bk-plan:has(input:checked) { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.bk-plan input { margin-top: 4px; accent-color: var(--action); }
.bk-plan span { display: grid; gap: 2px; }
.bk-plan small { color: var(--tz-muted, #5e5d59); font-size: 13px; }
.bk-schedule { display: grid; gap: 8px; }
/* 老板 2026-11-17 21:53: booking gifts this stay can get (booking form and the confirmation after sending) */
.bk-perks { margin-top: 24px; }
.bk-perk-list { margin: 8px 0; font-size: 14px; }
.bk-perk-list li + li { margin-top: 8px; }
.bk-inst { padding: 16px 16px; border-radius: var(--radius-md); background: #f4f3ef; }
.bk-inst header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 14px; }
.bk-inst header span { color: var(--tz-muted, #5e5d59); }
.bk-inst dl { display: grid; gap: 4px; margin: 0; }
.bk-inst dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.bk-inst dt { color: var(--tz-muted, #5e5d59); } .bk-inst dd { margin: 0; text-align: right; color: var(--tz-ink, #141413); }
.bk-inst .bk-inst-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid #e5e3dd; font-size: 14px; font-weight: 600; }
.bk-inst .bk-inst-total dt { color: var(--tz-ink, #141413); }
.booking-form fieldset.bk-plans { display: block; border: 0; padding: 0; margin: 0; }
.bk-plan-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booking-form .bk-plan input { width: auto; min-height: 0; height: auto; padding: 0; flex: none; }
@media (max-width: 734px) { .bk-plan-options { grid-template-columns: 1fr; } }
/* country code search */
.bk-cc { position: relative; }
.bk-cc-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; margin: 0; padding: 0; list-style: none; border: 6px solid #fff; border-radius: var(--radius-md); background: #fff; box-shadow: 0 0 0 1px #d1cfc5, 0 8px 24px rgba(0,0,0,.12); min-width: 260px; scrollbar-width: thin; scrollbar-color: #d1cfc5 transparent; }
.bk-cc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 16px; font-size: 14px; cursor: pointer; }
.bk-cc-list li small { color: var(--tz-muted, #5e5d59); }
.bk-cc-list li b { font-weight: 500; color: var(--tz-muted, #5e5d59); }
.bk-cc-list li.is-active, .bk-cc-list li:hover { background: #f4f3ef; }
.bk-cc-list li[aria-selected="true"] b { color: var(--action); }
.bk-cc-empty { margin: 8px 0 0; font-size: 13px; color: #b42318; }
/* 2026-10-22 room page photos modelled on Airbnb: 1120 px wide, ~476 px tall grid (1 large + 2 × 2), 8 px gaps,
   12 px outer corners, "Show all photos" bottom-right; phones: full-width swipe with a "1 / n" counter. */
.ab-room { width: min(100% - 2 * var(--page-margin), var(--wide)); margin: 0 auto; padding-top: 24px; }
.ab-photos { position: relative; }
.ab-grid { display: grid; gap: 8px; height: min(476px, calc(100svh - var(--tz-header) - 220px)); min-height: 320px; border-radius: var(--radius-md); overflow: hidden; }
.ab-cell { position: relative; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: #ecebe6; cursor: zoom-in; overflow: hidden; }
.ab-cell img, .ab-cell .media-empty { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s ease; }
.ab-cell:hover img { filter: brightness(.88); }
.ab-cell:focus-visible { outline: 3px solid var(--action); outline-offset: -3px; }
.ab-n1 .ab-grid { grid-template-columns: 1fr; }
.ab-n2 .ab-grid { grid-template-columns: 1fr 1fr; }
.ab-n3 .ab-grid { grid-template-columns: 50% 1fr; grid-template-rows: 1fr 1fr; }
.ab-n3 .ab-cell-0 { grid-row: 1 / 3; }
.ab-n4 .ab-grid { grid-template-columns: 50% 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ab-n4 .ab-cell-0 { grid-row: 1 / 3; } .ab-n4 .ab-cell-3 { grid-column: 2 / 4; }
.ab-n5 .ab-grid { grid-template-columns: 50% 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ab-n5 .ab-cell-0 { grid-row: 1 / 3; }
.ab-cell-5, .ab-cell-6, .ab-cell-7, .ab-cell-8, .ab-cell-9, .ab-cell-10, .ab-cell-11, .ab-cell-12, .ab-cell-13, .ab-cell-14, .ab-cell-15, .ab-cell-16, .ab-cell-17, .ab-cell-18, .ab-cell-19, .ab-cell-20, .ab-cell-21, .ab-cell-22, .ab-cell-23, .ab-cell-24, .ab-cell-25, .ab-cell-26, .ab-cell-27, .ab-cell-28, .ab-cell-29 { display: none; }
.ab-showall { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 16px; border: 1px solid #141413; border-radius: var(--radius-sm); background: #fff; color: #141413; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; }
.ab-showall:hover { background: #f4f3ef; }
.ab-count { display: none; }
.ab-n0 .media-empty { height: 320px; border-radius: var(--radius-md); }
.ab-head { padding: 24px 0 0; }
.ab-overline { margin: 0 0 8px; color: var(--tz-muted, #5e5d59); font-size: 13px; line-height: 18px; letter-spacing: .02em; }
.ab-head h1 { margin: 0; font-size: 26px; line-height: 30px; font-weight: 500; color: #141413; }
.ab-sub { margin: 8px 0 0; color: #141413; font-size: 16px; line-height: 22px; }
.ab-room + .tz-room-info { padding-top: 32px; }
/* viewer */
.ab-viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #141413; color: #fff; }
.ab-viewer::backdrop { background: #141413; }
.ab-viewer[open] { display: grid; grid-template-rows: 56px 1fr; grid-template-columns: 64px 1fr 64px; align-items: center; }
.ab-viewer-bar { grid-column: 1 / 4; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; font-size: 14px; }
.ab-viewer-bar span { margin: 0 auto; }
.ab-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; line-height: 36px; cursor: pointer; }
.ab-viewer figure { grid-row: 2; grid-column: 2; display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 16px 0 48px; min-height: 0; }
.ab-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ab-arrow { grid-row: 2; justify-self: center; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.ab-arrow:hover { background: rgba(255,255,255,.12); }
.ab-arrow:disabled { opacity: .25; cursor: default; }
.ab-arrow-prev { grid-column: 1; } .ab-arrow-next { grid-column: 3; }
@media (max-width: 734px) {
  .ab-room { width: 100%; padding-top: 0; }
  .ab-grid { display: flex; height: auto; min-height: 0; gap: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ab-grid::-webkit-scrollbar { display: none; }
  .ab-cell, .ab-cell[class*="ab-cell-"] { display: block; flex: 0 0 100%; height: auto; aspect-ratio: 375 / 356; scroll-snap-align: start; grid-row: auto; grid-column: auto; cursor: pointer; }
  .ab-showall { display: none; }
  .ab-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); background: rgba(38, 38, 36,.66); color: #fff; font-size: 12px; line-height: 1; pointer-events: none; }
  .ab-head { padding: 24px 24px 0; }
  .ab-head h1 { font-size: 20px; line-height: 26px; }
  .ab-viewer[open] { grid-template-columns: 0 1fr 0; }
  .ab-arrow { display: none; }
}
/* Room page: everything below the photos shares the photo grid's left and right edges (1120 px). */
.ab-width { width: min(100% - 2 * var(--page-margin), var(--wide)); max-width: none; margin-inline: auto; padding-inline: 0; }
.tz-room-info.ab-width { padding-top: 48px; }
@media (max-width: 734px) { .ab-width { width: min(100% - 2 * var(--page-margin), var(--wide)); } .tz-room-info.ab-width { padding-top: 32px; } }
/* 2026-10-22 alignment pass (老板：「图片文字按钮的对齐、居中、行高等细节」)
   One button system: header 40 px; every page button 44 px with the label centred; the single form submit 48 px. */
.pill { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; }
.header-actions .pill { min-height: 40px; height: 40px; }
.tz-actions .pill, .tz-slide-copy .pill, .tz-order-card .pill, .contact-actions .pill, .hero-actions .pill, .guide-hero-actions .pill, .guide-close-actions .pill, .shell > .pill, .app-section .pill { min-height: 44px; height: 44px; }
.bk-submit { min-height: 48px; height: 48px; }
/* Readable small text */
.booking-form .bk-field small, .booking-form .bk-small, .booking-request .bk-small, .bk-assure, .bk-assure li { line-height: 1.45; }
.guide-process-list li { line-height: 1.5; }
.tz-facts li, .tz-tiers div, .bk-inst dl div { line-height: 1.4; }
/* Phone: the two hero buttons share the width instead of running off-screen */
@media (max-width: 734px) {
  .guide-hero-actions { flex-wrap: wrap; width: calc(100% - 32px); max-width: var(--text-8); margin-inline: auto; }
  .guide-hero-actions .pill { flex: 1 1 140px; min-width: 0; }
}
main li { line-height: 1.5; }
main .tz-facts li, main .bk-inst li, main nav li { line-height: 1.4; }
@media (max-width: 734px) { .guide-hero-actions .pill { flex-basis: 100%; } }

/* 老板 2026-10-23：首页「Single Room / Twin Sharing Room」改为两张卡片，与住宅、院校板块同一套视觉。 */
.space-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gutter); }
.space-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; color: inherit; text-decoration: none; transition: box-shadow .2s ease; }
.space-card:hover { box-shadow: 0 10px 30px rgba(26, 25, 24,.08); }
.space-card:hover .text-link { color: var(--hover-ink); text-decoration: none; }
.space-media { display: block; aspect-ratio: 4 / 3; background: #ecebe6; overflow: hidden; }
.space-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.space-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 32px 24px; }
.space-body h3 { font-size: 20px; line-height: 1.25; }
.space-body p { color: #5e5d59; font-size: 16px; line-height: 1.55; }
.space-body .space-price { color: #141413; font-weight: 700; }
.space-body .text-link { margin-top: 2px; }
@media (max-width: 734px) { .space-grid { grid-template-columns: 1fr; gap: 16px; } .space-body { padding: 24px; } }

/* 老板 2026-10-23：房间详情页细节——房间要素改为两列卡片格，图片首屏即加载，区块间距统一。 */
main .tz-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); margin-top: 24px; border-top: 0; }
main .tz-fact-grid li { padding: 16px 16px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); font-size: 16px; font-weight: 600; line-height: 1.35; }
.tz-room-copy h3 { margin-top: 32px; }
.tz-room-copy > p.muted { margin-top: 8px; line-height: 1.6; }
.tz-room-copy .tz-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid #e5e3dd; font-size: 14px; }
.ab-cell { background: #f4f3ef; }
@media (max-width: 734px) { main .tz-fact-grid { grid-template-columns: 1fr 1fr; gap: 8px var(--gutter); } main .tz-fact-grid li { padding: 16px 16px; font-size: 14px; } }

/* 2026-10-23 stamp duty amount line on the booking page */
.bk-stamp { margin-top: 16px; padding: 16px 16px; border-radius: var(--radius-md); background: #ffffff; font-size: 14px; line-height: 1.5; color: #141413; }
.room-card-photo { display: block; overflow: hidden; cursor: pointer; }
.room-card-photo img { transition: transform .35s ease; }

/* 2026-10-23 stamp duty: underlined label toggles an explanation row */
/* 老板 2026-10-24: booking form add-ons */
.bk-addon span { display: flex; flex-direction: column; gap: 2px; }
.bk-addon small { font-size: 13px; color: #5e5d59; }
.bk-addon .bk-addon-price { color: #141413; font-weight: 600; }
/* 老板 2026-10-24: booking summary — room facts and "Book with confidence" toggles */
.tz-book-facts { list-style: none; margin: 8px 0 16px; padding: 0; font-size: 14px; line-height: 1.6; color: var(--ink-1); }
.bk-confidence { margin: 16px 0; padding: 16px 16px; border-radius: var(--radius-md); background: #ffffff; }
.bk-confidence ul { list-style: none; margin: 4px 0 0; padding: 0; }
.bk-confidence li { margin: 8px 0; }
.bk-confidence-toggle { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bk-confidence-toggle:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.bk-confidence-detail p { margin: 4px 0 8px; font-size: 13px; line-height: 1.5; color: var(--ink-1); }
.bk-confidence-detail[hidden] { display: none; }
.bk-stamp-toggle { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bk-stamp-toggle:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.bk-inst dl .bk-stamp-detail { display: block; grid-column: 1 / -1; }
.bk-stamp-detail p { margin: 2px 0 8px; padding: 8px 16px; border-radius: var(--radius-sm); background: #ffffff; font-size: 13px; line-height: 1.5; color: var(--ink-1); }
.bk-inst dl .bk-stamp-detail[hidden] { display: none; }

/* 官网审查二 (2026-10-24) — items 19–28. Same tokens and restrained style as the rest of the site. */
/* 20: one stable page title above the slides; slide text sits below it (the pause button was removed on 2026-10-25). */
.tz-carousel { --tz-title-top: 48px; }
.tz-carousel .tz-carousel-title { position: absolute; z-index: 2; top: var(--tz-title-top); left: 0; right: 0; max-width: none; margin: 0 auto; padding: 0 24px; color: #fff; text-align: center; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; font-weight: 500; letter-spacing: 0; text-shadow: 0 1px 14px rgba(0,0,0,.22); pointer-events: none; }
.tz-carousel .tz-slide-copy { top: calc(var(--tz-title-top) + var(--tz-title-h, 64px) + 8px); }
.tz-slide-title { margin: 0 auto; color: #fff; font-size: 20px; line-height: 28px; font-weight: 500; }
.tz-slide-title + .tz-sub { margin-top: 4px; }
.tz-hero-controls { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; }
.tz-hero-controls .tz-hero-dots { position: static; transform: none; }
@media (max-width: 734px) {
  .tz-carousel { --tz-title-top: 40px; }
  .tz-slide-title { font-size: 18px; line-height: 24px; }
}

/* 22: FAQ search feedback. */
.faq-result-count { min-height: 24px; margin: 8px 0 16px; color: #5e5d59; font-size: 14px; }
.faq-empty h3 { font-size: 20px; }
.faq-empty .hero-actions { margin-top: 16px; }

/* 23: schools near this residence (one list, basis stated). */
ul.school-shortcuts { margin-top: 24px; padding: 0; list-style: none; }
ul.school-shortcuts li { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-md); background: #fff; }
ul.school-shortcuts li a { padding: 0; border: 0; background: none; font-size: 14px; }
ul.school-shortcuts li span { color: #5e5d59; font-size: 13px; }

/* 24: facilities as a description list. */
.facility-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 32px; margin: 24px 0 0; }
.facility-list dt { color: #5e5d59; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.facility-list dd { margin: 8px 0 0; }
.facility-list ul { margin: 0; padding-left: 16px; line-height: 1.6; }
.physical-room-detail h2 { margin-top: 24px; font-size: 20px; }

/* 25: room / bed counts. */
.room-count { margin-top: 8px; font-size: 14px; }

/* 26: link groups as lists. */
ul.faq-preview-list, .blog-related-articles ul { margin: 0; padding: 0; list-style: none; }
.tz-book-room { font-size: 20px; line-height: 1.25; font-weight: 600; }
@media (max-width: 734px) { .tz-book-room { font-size: 18px; } }

/* 27/28: upload limits, per-file errors and the passport privacy notice. */
.booking-form .bk-upload .bk-limits { color: var(--ink-1); font-weight: 600; }
.booking-form .bk-field .bk-file-error { color: #a3282d; }
.bk-file-error:empty { display: none; }
.bk-privacy { padding: 16px 16px; border-radius: var(--radius-md); background: #ffffff; font-size: 14px; line-height: 1.5; color: var(--ink-1); }
.bk-privacy p { margin: 0; }
.bk-privacy p + p { margin-top: 8px; }

/* 官网审查三第32项: an out-of-range lease length in the link was adjusted */
.term-notice { margin: 0 0 16px; padding: 8px 16px; border-left: 3px solid var(--action); border-radius: var(--radius-md); background: #ffffff; color: #141413; font-size: 14px; }

/* 老板 2026-10-24: agreement line before submit; legal names are underlined inline links. */
.bk-terms-note .text-link { display: inline; min-height: 0; font-size: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* ==== room-page-design (老板 2026-10-24): small icons beside features, room facilities, location, rent-included dialog ==== */
:root { --ic-size: 20px; --ic-size-sm: 16px; --ic-color: currentColor; --ic-gap: 8px; } /* 老板 2026-11-07 23:30: finer icons — 1.5 px line, a step softer than the text */
.ic { flex: none; width: var(--ic-size); height: var(--ic-size); color: var(--ic-color); vertical-align: middle; }
.ic-list { list-style: none; margin: 0; padding: 0; }
.ic-list li { display: flex; align-items: flex-start; gap: var(--ic-gap); line-height: 1.45; }
.ic-list li > .ic { margin-top: 1px; }
.ic-list li.no-ic { padding-left: calc(var(--ic-size) + var(--ic-gap)); }
.ic-list li > span { min-width: 0; }
.ic-list:not(.ic-grid):not(.ic-inline) li + li { margin-top: 8px; }
.ic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); margin-top: 16px; }
main .tz-fact-grid.ic-grid li { display: flex; align-items: center; gap: var(--ic-gap); }
main .tz-fact-grid.ic-grid li.no-ic { padding-left: 16px; }
.ic-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ic-inline li { align-items: center; gap: 8px; font-size: 14px; color: var(--ink-1); }
.ic-inline .ic { width: var(--ic-size-sm); height: var(--ic-size-sm); }
.ic-inline li.no-ic { padding-left: 0; }
.ic-link { display: inline-flex; align-items: center; gap: 8px; }
.ic-after { width: var(--ic-size-sm); height: var(--ic-size-sm); color: currentColor; }
.ic-label { display: inline-flex; align-items: center; gap: 8px; }
.ic-label .ic { width: 18px; height: 18px; }
/* Room page sections inside the room column */
.tz-room-sub { margin-top: 48px; }
.tz-room-sub h2 { font-size: 26px; }
.tz-room-sub .facility-list { margin-top: 16px; }
.tz-room-sub .tz-small { margin-top: 16px; }
/* 老板 2026-11-12: optional floor plan on the room page (shown only when the room has one) */
.tz-floor-plan-link { display: block; margin-top: 16px; max-width: 640px; border: 1px solid var(--line, #e5e3dd); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.tz-floor-plan-link img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.tz-floor-plan-link:focus-visible { outline: 2px solid #141413; outline-offset: 2px; }
.facility-list dt { display: flex; align-items: center; gap: 8px; }
.facility-list dt .ic { width: 18px; height: 18px; }
.tz-location { padding-block: 0; }
.tz-location h2 { margin-bottom: 24px; }
.tz-location h3 { margin: 32px 0 8px; font-size: 18px; }
.tz-location-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px var(--gutter); align-items: start; }
.tz-location-grid > div > h3:first-child { margin-top: 0; }
.tz-location .ic-link { margin-top: 16px; }
ul.school-shortcuts li { display: grid; grid-template-columns: var(--ic-size) minmax(0, 1fr); column-gap: var(--ic-gap); row-gap: 2px; align-items: start; }
ul.school-shortcuts li > .ic { grid-row: span 2; margin-top: 1px; }
.residence-facts { margin-top: 24px; padding-top: 24px; border-top: 1px solid #e5e3dd; }
.room-card-facts { margin: 8px 0; font-size: 14px; }
.room-card-facts li + li { margin-top: 8px !important; }
/* Booking page summary */
.tz-book-facts.ic-list li + li { margin-top: 8px; }
.bk-confidence li { display: grid; grid-template-columns: var(--ic-size) minmax(0, 1fr); column-gap: var(--ic-gap); align-items: start; }
.bk-confidence li > .ic { margin-top: 1px; }
.bk-confidence li > .bk-confidence-detail { grid-column: 2; }
.bk-assure.ic-list li::before { content: none; }
.bk-assure.ic-list li { gap: 8px; }
.bk-assure .ic { width: var(--ic-size-sm); height: var(--ic-size-sm); color: var(--action); margin-top: 1px; }
.tz-book-included { margin: 2px 0 8px; }
/* "What's included in your rent": underlined secondary link + modal dialog (Tesla-like detail panel) */
.tz-included-link { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--tz-ink, #141413); text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tz-included-link:hover { color: #141413; }
.tz-included-link:focus-visible, .tz-modal-close:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.tz-modal { width: min(100% - 32px, 560px); max-height: min(100% - 48px, 760px); padding: 0; border: 0; border-radius: var(--radius-lg); color: #141413; background: #fff; box-shadow: 0 24px 64px rgba(0, 0, 0, .24); }
.tz-modal::backdrop { background: rgba(26, 25, 24, .48); }
.tz-modal-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px 16px; background: #fff; }
.tz-modal-head h2 { font-size: 26px; }
.tz-modal-close { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-1); }
.tz-modal-close:hover { background: #f4f3ef; }
.tz-modal-close .ic { color: currentColor; }
.tz-modal-body { padding: 4px 32px 32px; }
.tz-modal-body h3 { margin: 24px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #5e5d59; }
.tz-rent-list li { padding: 16px 0; border-bottom: 1px solid #f4f3ef; }
.tz-rent-list li + li { margin-top: 0 !important; }
.tz-rent-list strong { display: block; font-size: 14px; font-weight: 500; }
.tz-rent-list small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #5e5d59; }
.tz-rent-list .ic { color: #141413; }
.tz-rent-list.is-separate .ic { color: var(--ic-color); }
.tz-modal-body .tz-small { margin-top: 16px; }
@media (max-width: 1068px) {
  .tz-location-grid { grid-template-columns: 1fr; }
  /* Booking summary on tablets / phones is photo + text columns: the fact list, the rent-included link and "Book with
     confidence" take the full width below them. */
  .tz-book-summary > .tz-book-facts, .tz-book-summary > .tz-book-included, .tz-book-summary > .bk-confidence { grid-column: 1 / -1; }
}
@media (max-width: 734px) {
  .ic-grid { grid-template-columns: 1fr 1fr; gap: 8px var(--gutter); }
  .tz-room-sub { margin-top: 32px; }
  .tz-room-sub h2, .tz-modal-head h2 { font-size: 20px; }
  .tz-modal { width: 100%; max-width: 100%; max-height: 92%; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .tz-modal-head { padding: 24px 16px 8px; } .tz-modal-body { padding: 4px 16px 24px; }
}
/* Corner radius normalisation (老板 2026-10-24「所有的图片、方框、按钮等，都应该圆角」; tokens on :root).
   Exception: full-bleed images that touch the viewport edges keep square corners (home carousel, residence /
   room-type / guide heroes, the phone room gallery that swipes edge to edge). */
main img, main video, .media-empty, .space-media, .room-product-photo-main > img, .room-product-photo-main > .media-empty,
.booking-selected-photo img, .booking-selected-photo .media-empty { border-radius: var(--radius-md); }
.home-hero img, .tz-carousel img, .tz-hero img, .hero-image, .detail-hero img, .property-hero img, .room-type-hero img, .room-product-hero img,
.guide-hero img, .about-hero img, .ab-grid img, .ab-cell, .ab-grid .media-empty { border-radius: 0; }
.ab-viewer img { border-radius: var(--radius-lg); }
/* Boxes: cards, panels, info boxes, location box, notices. (老板 2026-10-30: .confidence-grid and .room-type-details-grid columns are divided by plain
   lines, not boxes; a radius bent the divider lines at both ends, so they are no longer listed here.) */
.search-room-card, .property-row, .room-option, .sync-warning, .policy-draft-note, .school-context,
.property-location-panel, .property-pending, .room-product-surroundings, #booking-price-preview,
.faq-empty { border-radius: var(--radius-md); }
.search-room-card, .property-row, .room-option { overflow: hidden; }
/* Controls: every button-styled control and input shares --radius-sm; circles (dots, round close / arrow buttons) stay 50%. */
main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), main select, main textarea,
.cookie-settings-dialog input:not([type="checkbox"]):not([type="radio"]), .cookie-settings-dialog select,
.cookie-settings-dialog button, .site-header .pill, .header-actions a, .mobile-nav-link, .blog-filters a,
.guide-index-item, .bk-cc-list li, .school-combobox [role="option"], .tz-chips span { border-radius: var(--radius-sm); }
main button:not(.carousel-dot):not(.ab-close):not(.ab-arrow):not(.tz-modal-close):not(.ab-cell) { border-radius: var(--radius-sm); }
/* Focus rings follow the element's radius (Chromium / Firefox / Safari draw outlines along border-radius). */
.pill:focus-visible, main input:focus-visible, main select:focus-visible, main textarea:focus-visible { outline-offset: 2px; }
/* ==== end room-page-design block ==== */
/* ==== availability-badge (老板 2026-10-24「房间状态可以分为2种」): Available now (green, check icon) / Coming (green, 老板 2026-11-16「coming都用绿色的字体颜色」) ==== */
/* --status-available (green): 5.0:1 on white, 4.6:1 on the light grey #f4f3ef fill (WCAG AA). --status-coming (blue,
   老板 2026-11-17 12:08「Coming 用蓝色，Available 用绿色」, 12:49「蓝色参考英国国旗蓝色」: Union Jack blue, as the App's Upcoming): 14.8:1 on white, 13.3:1 on #f4f3ef. */
:root { --status-available: #1a7f37; --status-coming: #012169; }
.avail-badge { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.avail-badge.is-now { color: var(--status-available); }
.avail-badge.is-now .ic { width: var(--ic-size-sm); height: var(--ic-size-sm); color: var(--status-available); }
.avail-badge.is-coming { color: var(--status-coming); }
.avail-badge .avail-date { font-weight: 400; }
.tz-order-card .avail-badge, .tz-book-summary .avail-badge { margin: 0; }
.tz-book-summary .avail-badge { grid-column: 1 / -1; }
/* ==== end availability-badge block ==== */
/* ==== roomtype-redesign (老板 2026-10-24「公寓单双人间的房型页面 重新设计一下」): /student-accommodation/<residence>/<kind> ==== */
/* Tesla design-page feel: rounded photos beside the title (no text over a photo), stats with icons, a segmented type
   switch, short tiles, a card grid, quiet tables, one call to action. Radius via the tokens only; no image hover zoom. */
.rt-page { padding-bottom: var(--section-space); }
.rt-section { margin-top: var(--section-space); }
.rt-page h2 { font-size: 32px; line-height: 1.2; }
.rt-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 32px; }
.rt-media { display: grid; gap: 8px; height: clamp(340px, 40vw, 540px); }
.rt-media-n2 { grid-template-columns: 1fr 1fr; }
.rt-media-n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.rt-media-n3 .rt-media-cell:first-child { grid-row: 1 / span 2; }
.rt-media-cell { min-width: 0; min-height: 0; overflow: hidden; border-radius: var(--radius-md); }
.rt-media img, .rt-media .media-empty { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.rt-hero-copy h1 { margin-top: 8px; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.1; }
.rt-lede { margin-top: 16px; max-width: 46ch; font-size: 18px; color: var(--tz-muted); }
.rt-stats { margin-top: 24px; border-top: 1px solid #e5e3dd; }
.rt-stats li { padding: 16px 0; border-bottom: 1px solid #e5e3dd; font-size: 16px; }
.ic-list.rt-stats li + li { margin-top: 0; }
.rt-stats strong { font-size: 20px; font-weight: 500; }
.rt-stats small { display: block; margin-top: 2px; font-size: 13px; color: var(--tz-muted); }
.rt-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.rt-actions .pill.tz-primary, .rt-actions .pill.tz-secondary { min-width: 200px; min-height: 44px; height: 44px; }
.rt-actions .pill.tz-secondary { background: var(--tz-light); }
.rt-actions .pill.tz-secondary:hover { background: #ecebe6; }
/* Segmented control */
.rt-switch { margin-top: 48px; display: flex; justify-content: center; }
.rt-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-sm); background: var(--tz-light); }
.rt-seg a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 24px; border-radius: var(--radius-sm); color: var(--ink-1); font-size: 14px; font-weight: 500; text-decoration: none; }
.rt-seg a[aria-current="page"] { background: #fff; color: var(--tz-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.rt-seg a:not([aria-current]):hover { color: var(--tz-ink); }
.rt-seg a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
/* Why tiles */
.rt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.rt-tiles li { padding: 32px; border-radius: var(--radius-md); background: var(--tz-light); }
.rt-tiles .ic, .rt-steps .ic { width: 28px; height: 28px; color: var(--tz-ink); }
.rt-tiles h3, .rt-steps h3 { margin-top: 16px; font-size: 18px; }
.rt-tiles p, .rt-steps p { margin-top: 8px; color: var(--tz-muted); font-size: 16px; }
/* Rooms */
.rt-rooms { scroll-margin-top: 96px; }
.rt-rooms-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.rt-rooms-head .muted { margin-top: 8px; font-size: 16px; }
.rt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.rt-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tz-muted); }
.rt-sort select { height: 44px; padding: 0 32px 0 16px; border: 1px solid #d1cfc5; background-color: #fff; color: var(--tz-ink); font-size: 14px; }
.rt-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; cursor: pointer; }
.rt-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--action); }
.rt-apply.pill { min-width: 0; height: 44px; padding-inline: 24px; }
.rt-tools.is-enhanced .rt-apply { display: none; }
.rt-count { margin-top: 24px; color: var(--tz-muted); font-size: 14px; }
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px 24px; margin: 16px 0 0; padding: 0; list-style: none; }
.rt-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.rt-card[hidden] { display: none; }
.rt-card-media { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: #ecebe6; }
.rt-card-media img, .rt-card-media .media-empty { width: 100%; height: 100%; object-fit: cover; }
.rt-card-body { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.rt-card h3 { font-size: var(--card-title-size, 20px); line-height: 1.25; font-weight: 500; }
.rt-card-link { text-decoration: none; }
.rt-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-md); }
.rt-card:hover .rt-card-link { color: var(--hover-ink); text-decoration: none; }
.rt-card-link:focus-visible { outline: none; }
.rt-card-link:focus-visible::after { outline: 2px solid var(--action); outline-offset: 4px; }
.rt-chips { gap: 8px 16px; }
.rt-card .avail-badge, .rt-card .room-resident-restriction { margin: 0; }
.rt-card-price { margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--tz-muted); }
.rt-card-price strong { color: var(--tz-ink); font-size: 20px; font-weight: 500; }
.rt-empty { margin-top: 24px; padding: 24px; border-radius: var(--radius-md); background: var(--tz-light); }
.rt-empty[hidden] { display: none; }
/* Rent and lease */
.rt-rent { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)) minmax(0, 1fr); gap: 32px calc((100% + 13 * var(--gutter)) / 12); align-items: start; }
.rt-rent-copy .muted { margin-top: 8px; max-width: 46ch; }
.rt-rent-copy .tz-included-link { margin-top: 16px; min-height: 44px; }
.rt-rent-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rt-rent-table th, .rt-rent-table td { padding: 16px 0; border-bottom: 1px solid #e5e3dd; text-align: left; font-weight: 400; }
.rt-rent-table thead th { padding-top: 0; color: var(--tz-muted); font-size: 13px; }
.rt-rent-table thead th + th { text-align: right; }
.rt-rent-table tbody th { color: var(--ink-1); }
.rt-rent-table td { text-align: right; color: var(--tz-muted); }
.rt-rent-table td strong { color: var(--tz-ink); font-size: 18px; font-weight: 500; }
/* Shared facilities, location */
.rt-page .tz-location { padding-block: 0; }
/* How booking works + final band */
.rt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.rt-steps li { padding-top: 24px; border-top: 1px solid #e5e3dd; }
.rt-links { margin-top: 24px; }
.rt-cta { margin-top: var(--section-space); padding-block: 64px; background: var(--tz-light); text-align: center; }
.rt-cta p { margin-top: 8px; color: var(--tz-muted); }
.rt-cta .rt-actions { justify-content: center; }
.rt-cta .pill.tz-secondary { background: #fff; }
.rt-page .term-notice { margin-top: 24px; }
@media (max-width: 1068px) {
  .rt-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .rt-media { height: auto; aspect-ratio: 4 / 3; }
  .rt-tiles, .rt-steps { grid-template-columns: 1fr; gap: 16px; }
  .rt-steps { gap: 24px; }
  .rt-rent { grid-template-columns: 1fr; }
  .rt-page h2 { font-size: 26px; }
}
@media (max-width: 734px) {
  .rt-media-n2, .rt-media-n3 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .rt-media-n2 .rt-media-cell + .rt-media-cell, .rt-media-n3 .rt-media-cell + .rt-media-cell { display: none; }
  .rt-media-n3 .rt-media-cell:first-child { grid-row: auto; }
  .rt-lede { font-size: 16px; }
  .rt-actions { flex-direction: column; }
  .rt-actions .pill.tz-primary, .rt-actions .pill.tz-secondary { width: 100%; min-width: 0; }
  .rt-switch { margin-top: 32px; }
  .rt-seg { display: flex; width: 100%; }
  .rt-seg a { flex: 1 1 0; padding: 0 8px; font-size: 14px; text-align: center; }
  .rt-rooms-head { align-items: stretch; }
  .rt-tools { width: 100%; }
  .rt-sort { flex: 1 1 100%; }
  .rt-sort select { flex: 1; min-width: 0; }
  .rt-tiles li, .rt-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .rt-tiles li { padding: 16px; }
  .rt-tiles h3, .rt-steps h3 { margin-top: 2px; font-size: 18px; }
  .rt-tiles p, .rt-steps p { grid-column: 2; }
  .rt-cta { padding-block: 64px; }
  .rt-rent-table td { font-size: 13px; }
  .rt-rent-table td strong { display: block; }
}
/* ==== end roomtype-redesign block ==== */
/* ==== section-redesign (老板 2026-10-25): one template for the top-level section pages ==== */
/* Page hero (breadcrumb, eyebrow, h1, one-line intro, optional rounded photo beside the text), section headers, one card
   component, icon lists, steps and one CTA band — the same restrained look as the room-type collection page. Radius via
   the tokens only, no image hover zoom, icons from website-icons.cjs. */
.sx-page:not(:has(> .sx-cta:last-child)) { padding-bottom: var(--section-space); }
.sx-page h2 { font-size: 32px; line-height: 1.2; }
.sx-section { margin-top: var(--section-space); }
.sx-small { font-size: 14px; }
/* Hero */
.sx-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 32px; }
.sx-hero.has-media { grid-template-columns: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)) minmax(0, 1fr); gap: 64px calc((100% + 13 * var(--gutter)) / 12); }
.sx-crumbs { margin: 0 0 24px; padding: 0; }
.sx-crumbs [aria-current] { color: var(--tz-muted); }
.sx-hero h1 { margin-top: 8px; max-width: 18ch; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; }
.sx-hero:not(.has-media) h1 { max-width: 24ch; }
.sx-lede { margin-top: 16px; max-width: 52ch; font-size: 18px; color: var(--tz-muted); }
/* 老板 2026-11-12 09:51: further lede paragraphs (body size) */
.sx-lede-more { font-size: 16px; line-height: 1.6; }
/* 老板 2026-11-16 16:42「重新设计一下，去掉右边的图片」+ 16:52「从上到下设计排版，不要分为左右2部分」(费用与预订): no picture, one
   column from top to bottom: breadcrumb, title, the first line as the lead, the other lines, the buttons; a hairline under it */
.sx-hero.sx-hero-split { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 0; border-bottom: 0; } /* 19:43: no line under it; the next section's own space follows */
.sx-hero-split h1 { margin-top: 0; max-width: 20ch; } /* size: the site's h1 (--sg-h1) */
.sx-hero-split .sx-lede { max-width: none; font-size: 20px; line-height: 1.45; color: #141413; }
.sx-hero-split .sx-hero-aside { padding-top: 24px; }
.sx-hero.sx-hero-split .sx-hero-copy { max-width: none; } /* 17:44「文字可以整栏铺开吗」: the intro runs the full width of the page */
.sx-hero-aside p { margin: 0 0 16px; max-width: none; font-size: 16px; line-height: 1.65; color: #5e5d59; }
.sx-hero-aside .sx-actions { margin-top: 32px; }
@media (max-width: 734px) { .sx-hero-split .sx-lede { font-size: 18px; } }
.sx-hero-media { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: #ecebe6; }
.sx-hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
/* 老板 2026-10-30: App page hero — a transparent two-phone picture, shown whole (no crop, no grey panel). */
.sx-hero-media.is-device { aspect-ratio: auto; overflow: visible; background: none; display: flex; justify-content: center; }
.sx-hero-media.is-device img { width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain; }
@media (max-width: 1068px) { .sx-hero-media.is-device img { max-height: 440px; } }
.sx-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.sx-actions .pill.tz-primary, .sx-actions .pill.tz-secondary { min-width: 200px; min-height: 44px; height: 44px; }
.sx-actions .pill.tz-secondary { background: var(--tz-light); color: var(--tz-ink); }
.sx-actions .pill.tz-secondary:hover { background: #ecebe6; }
/* Section header */
.sx-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.sx-head > div { max-width: var(--text-10); }
.sx-head .eyebrow { margin-bottom: 8px; }
.sx-head .muted { margin-top: 8px; font-size: 16px; }
.sx-head-link { flex: none; }
@media (max-width: 734px) { .sx-head { column-gap: var(--gutter); } } /* phones: heading and its link stay on one line */
/* Cards (one component everywhere: rounded media or an icon, meta, title link over the whole card, one line) */
.sx-cards { display: grid; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.sx-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-cols-1 { grid-template-columns: minmax(0, 1fr); }
.sx-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.sx-card.has-icon { padding: 32px; border-radius: var(--radius-md); background: var(--tz-light); }
.sx-card.has-media { gap: 0; }
.sx-card-media { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--tz-light); }
.sx-card-media img { width: 100%; height: 100%; object-fit: cover; }
.sx-nophoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; color: var(--tz-muted); font-size: 13px; }
.sx-nophoto .ic { width: 32px; height: 32px; color: #141413; }
.sx-card-icon .ic { width: 28px; height: 28px; color: var(--tz-ink); }
.sx-card-body { display: flex; flex-direction: column; gap: 8px; }
.sx-card.has-media .sx-card-body { padding-top: 16px; }
.sx-card.has-icon .sx-card-body { margin-top: 16px; }
.sx-card h3 { font-size: 18px; line-height: 1.3; font-weight: 500; }
.sx-card.has-media h3 { font-size: var(--card-title-size, 20px); line-height: 1.25; }
.sx-card p { color: var(--tz-muted); font-size: 16px; }
.sx-card-meta { color: var(--tz-muted); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.sx-card-meta strong { color: var(--tz-ink); font-size: 18px; font-weight: 500; }
.sx-card-meta .link-row, .sx-card-meta.link-row { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.sx-card-link { text-decoration: none; }
.sx-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-md); }
.sx-card:hover .sx-card-link, .sx-featured:hover .sx-card-link { color: var(--hover-ink); text-decoration: none; }
.sx-card-link:focus-visible { outline: none; }
.sx-card-link:focus-visible::after { outline: 2px solid var(--action); outline-offset: 4px; }
.sx-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--tz-ink); font-size: 14px; font-weight: 600; }
.sx-card-facts { margin-top: 4px; }
.sx-card-facts li { font-size: 13px; }
/* Key numbers */
.sx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.sx-stats li { padding-top: 24px; border-top: 1px solid #e5e3dd; }
.sx-stats .ic { width: 24px; height: 24px; color: var(--tz-ink); }
.sx-stat-label { margin-top: 16px; color: var(--tz-muted); font-size: 14px; }
.sx-stat-value { margin-top: 2px; color: var(--tz-ink); font-size: 26px; line-height: 1.25; font-weight: 500; }
.sx-stat-note { margin-top: 8px; color: var(--tz-muted); font-size: 14px; }
.sx-more-link { margin-top: 24px; }
/* Icon list, steps, split, panel, notes */
.sx-iconlist { margin-top: 24px; }
.sx-iconlist li { font-size: 16px; }
.sx-link-list li { padding: 16px 0; border-bottom: 1px solid #e5e3dd; }
.ic-list.sx-link-list li + li { margin-top: 0; }
.sx-link-list a { text-decoration: none; font-weight: 500; }
.sx-link-list a:hover { color: var(--hover-ink); text-decoration: none; }
.sx-link-list { margin: 24px 0 0; padding: 0; list-style: none; }
.sx-link-list li { font-size: 16px; line-height: 1.45; }
.sx-link-list li + li { margin-top: 0; }
.sx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.sx-steps li { padding-top: 24px; border-top: 1px solid #e5e3dd; }
.sx-steps .ic { width: 28px; height: 28px; color: var(--tz-ink); }
.sx-steps h3 { margin-top: 16px; font-size: 18px; }
.sx-steps p { margin-top: 8px; color: var(--tz-muted); font-size: 16px; }
.sx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px var(--gutter); align-items: center; }
.sx-split-media img, .sx-split-media .media-empty { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
.sx-split-copy > p { margin-top: 16px; color: var(--ink-1); }
.sx-split-copy > .text-link { margin-top: 16px; }
.sx-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; padding: 48px; border-radius: var(--radius-md); background: var(--tz-light); }
.sx-panel > .ic { width: 36px; height: 36px; color: var(--tz-ink); }
.sx-panel .pill.tz-secondary { min-width: 180px; height: 44px; background: #fff; color: var(--tz-ink); }
.sx-note { padding: 24px; border-radius: var(--radius-md); background: var(--tz-light); }
.sx-note p + p { margin-top: 8px; }
/* Search (school combobox in a page hero) and chips */
.sx-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-top: 32px; max-width: 640px; }
.sx-search .school-field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 320px; min-width: 0; font-size: 14px; font-weight: 600; }
.sx-search select, .sx-search input[role="combobox"] { height: 46px; }
.sx-search .pill { min-width: 0; height: 46px; padding-inline: 24px; }
.sx-chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sx-chip-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius-sm); background: var(--tz-light); color: var(--tz-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.sx-chip-nav a.active { background: var(--tz-ink); color: #fff; }
.sx-chip-nav a:not(.active):hover { background: #ecebe6; }
/* Featured article */
.sx-featured { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.sx-featured-media { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 16 / 10; background: var(--tz-light); }
.sx-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.sx-featured h2 { margin-top: 8px; font-size: clamp(26px, 2.6vw, 32px); }
.sx-featured-copy > p:not(.sx-card-meta) { margin-top: 16px; color: var(--tz-muted); }
.sx-featured .sx-card-more { margin-top: 16px; }
.sx-page .blog-pagination { margin-top: 32px; }
/* Forms (contact enquiry; same controls as the booking form) */
.sx-form { max-width: var(--text-10); margin-top: 32px; }
.sx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); }
.sx-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tz-ink); }
.sx-field input, .sx-field select, .sx-field textarea { width: 100%; min-height: 46px; padding: 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: var(--tz-ink); font: inherit; font-weight: 400; }
.sx-field textarea { min-height: 132px; resize: vertical; }
.sx-field-full { grid-column: 1 / -1; }
.sx-form > .muted { margin: 16px 0 24px; }
.sx-form .pill.tz-primary { min-width: 200px; height: 44px; }
.sx-faq-answers .school-search { max-width: 560px; margin-top: 32px; }
.sx-faq-answers .faq-group:first-of-type { margin-top: 24px; }
/* The one CTA band (also the site-wide "Questions about your stay?" band and the room-type page's own band) */
.sx-cta { margin-top: var(--section-space); padding-block: 64px; background: var(--tz-light); text-align: center; }
.sx-cta h2 { font-size: 32px; line-height: 1.2; }
.sx-cta p { margin: 8px auto 0; max-width: 60ch; color: var(--tz-muted); }
.sx-cta .sx-actions { justify-content: center; }
.sx-cta .pill.tz-secondary { background: #fff; }
.sx-cta .sx-cta-mail { margin-top: 16px; }
.contact-strip.sx-cta { margin-top: 0; padding: 64px 0; border: 0; }
.contact-strip.sx-cta .shell { display: block; }
.contact-strip.sx-cta p { margin: 8px auto 0; max-width: 60ch; }
/* Home hero carousel (老板 2026-10-25): slide text centred over a soft scrim (no box), title and text at most 2 lines each */
.tz-carousel { --tz-title-top: 28px; }
.tz-carousel .tz-carousel-title { font-size: clamp(18px, 1.8vw, 26px); line-height: 1.25; letter-spacing: .01em; }
.tz-carousel > .hero-slide::after { background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.26) 22%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.26) 78%, rgba(0,0,0,.45) 100%); }
.tz-carousel .tz-slide-copy { top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--tz-title-top) + var(--tz-title-h, 32px) + 16px) 24px 64px; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
.tz-slide-copy > * { width: 100%; max-width: var(--text-10); }
.tz-slide-kicker { margin: 0 auto 8px; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tz-carousel .tz-slide-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin: 0 auto; color: #fff; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; font-weight: 500; text-wrap: balance; }
.tz-slide-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin: 16px auto 0; max-width: var(--text-8); color: rgba(255,255,255,.94); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.45; text-wrap: balance; }
.tz-slide-copy .tz-actions { margin-top: 32px; }
.tz-slide-search { display: flex; gap: 8px; max-width: 560px; margin: 32px auto 0; text-shadow: none; text-align: left; }
.tz-slide-search .school-field { flex: 1 1 auto; min-width: 0; }
.tz-slide-search select, .tz-slide-search input[role="combobox"] { width: 100%; height: 46px; border: 0; }
.tz-slide-search .school-combobox [role="listbox"] { color: var(--tz-ink); text-shadow: none; }
.tz-slide-search .pill.tz-primary { flex: none; width: auto; min-width: 0; height: 46px; padding-inline: 24px; }
.tz-slide-link { margin-top: 16px; font-size: 14px; }
.tz-slide-link a { color: #fff; text-underline-offset: 4px; }
@media (max-width: 1068px) {
  .sx-cols-4, .sx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1068px) {
  .sx-hero, .sx-hero.has-media { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .sx-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-steps { grid-template-columns: 1fr; gap: 24px; }
  .sx-split, .sx-featured { grid-template-columns: 1fr; }
  .sx-page h2, .sx-cta h2 { font-size: 26px; }
  .sx-panel { grid-template-columns: auto minmax(0, 1fr); padding: 32px; }
  .sx-panel > .pill { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 734px) {
  .sx-cols-2, .sx-cols-3, .sx-cols-4, .sx-stats, .sx-form-grid { grid-template-columns: minmax(0, 1fr); }
  .sx-cards { gap: 16px; }
  .sx-cards.sx-cols-4:not(:has(.has-media)), .sx-cards.sx-cols-3:not(:has(.has-media)) { gap: 16px; }
  .sx-card.has-media + .sx-card.has-media { margin-top: 16px; }
  /* 老板 2026-11-16 17:39「间距 有问题」(/contact on a phone): the icon column fits the 40px drawings (48px with the brand icons' margin), the text keeps 16px from it, the card 24px inside */
  .sx-card.has-icon { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 24px; }
  .sx-card.has-icon .sx-card-icon { display: flex; justify-content: center; }
  .sx-card.has-icon .sx-card-body { margin-top: 0; }
  .sx-lede { font-size: 16px; }
  .sx-actions { flex-direction: column; }
  .sx-actions .pill.tz-primary, .sx-actions .pill.tz-secondary { width: 100%; min-width: 0; }
  .sx-search .pill { width: 100%; }
  .sx-stat-value { font-size: 20px; }
  .sx-cta, .contact-strip.sx-cta { padding-block: 64px; }
  .sx-panel { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .sx-panel > .ic { display: none; }
  .sx-form .pill.tz-primary { width: 100%; }
  /* School cards on phones: small photo beside the name, so the list stays scannable. */
  .sx-school-cards .sx-card.has-media { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .sx-school-cards .sx-card.has-media + .sx-card.has-media { margin-top: 4px; }
  .sx-school-cards .sx-card-media { aspect-ratio: 1 / 1; }
  .sx-school-cards .sx-card.has-media .sx-card-body { padding-top: 0; }
  .sx-school-cards .sx-nophoto span { display: none; }
  .sx-school-cards .sx-card h3 { font-size: 18px; }
  .tz-carousel .tz-slide-copy { padding-bottom: 48px; }
  .tz-slide-search { flex-direction: column; }
  .tz-slide-search .pill.tz-primary { width: 100%; }
}
/* ==== end section-redesign block ==== */
/* ==== promotions-redesign (老板 2026-10-26): /promotions on the section template; fees hub key numbers ==== */
/* Offer cards reuse the one card component (sx-card); the offer line, facts and "View rooms" sit in the card body. Radius
   via tokens only, no image hover zoom, icons from website-icons.cjs. */
.sx-stats.sx-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-offer .sx-card-meta { display: flex; align-items: center; gap: 8px; letter-spacing: 0; }
.sx-offer .sx-card-meta .ic { width: 20px; height: 20px; color: var(--tz-ink); }
.sx-offer .sx-card-meta strong { font-size: 18px; }
.sx-offer-facts { display: grid; gap: 8px; margin-top: 8px; }
.ic-list.sx-offer-facts li + li { margin-top: 0; }
/* 老板 2026-11-16 16:46 / 2026-11-17 21:50: booking gifts on /offers are coupons (website-pages perkCoupon) */
.sx-perks-stack { margin: 24px 0 0; } /* 2026-11-18 12:52: same rhythm as the cards above */
.sx-offer-facts li { font-size: 14px; color: var(--ink-1); }
.sx-offer-facts strong { color: var(--tz-ink); font-weight: 600; }
.sx-offer .sx-card-more { padding-top: 16px; }
.sx-offer-rules { display: grid; gap: 8px; }
.sx-offer-rules a { color: var(--tz-ink); text-underline-offset: 3px; }
.sx-offers-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; padding: 32px; }
.sx-offers-empty > .ic { width: 32px; height: 32px; color: var(--tz-ink); }
.sx-offers-empty h2 { font-size: 26px; }
.sx-offers-empty p { margin-top: 8px; color: var(--tz-muted); }
.sx-offers-empty .sx-actions { margin-top: 24px; }
.sx-offer-terms { margin-top: 24px; }
.sx-offer-terms a { color: var(--tz-ink); }
@media (max-width: 1068px) {
  .sx-stats.sx-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .sx-stats.sx-stats-3 { grid-template-columns: minmax(0, 1fr); }
  .sx-offers-empty { grid-template-columns: minmax(0, 1fr); padding: 24px; }
}
/* CTA band vs footer (老板 2026-10-26): the one band is a rounded card inside the content width with its own tint and one
   section gap before the footer; the footer keeps its own background and a top border, so the two never merge. */
.sx-cta, .contact-strip.sx-cta { margin: var(--section-space) 0; padding: 0; border: 0; background: transparent; text-align: center; }
.sx-page:not(:has(> .sx-cta:last-child)) { padding-bottom: 0; }
.sx-cta-card { padding: 64px 48px; border-radius: var(--radius-lg); background: #f4f3ef; }
.sx-cta-card h2 { font-size: 32px; line-height: 1.2; }
.sx-cta-card p { margin: 8px auto 0; max-width: 60ch; color: var(--ink-2); }
.sx-cta-card .sx-actions { justify-content: center; }
.sx-cta-card .pill.tz-secondary { background: #fff; }
/* Site footer: brand and contact, four link columns (disclosures on phones), bottom bar with ©, UEN and legal links. */
.site-footer { padding: 64px 0; border-top: 1px solid #e5e3dd; background: var(--surface); } /* 老板 2026-11-15 10:24: the same space under the last line as above the first */
.footer-top { display: grid; grid-template-columns: calc((100% + var(--gutter)) * 3 / 12 - var(--gutter)) minmax(0, 1fr); gap: 48px var(--gutter); padding-bottom: 48px; }
.footer-brand .brand img { width: auto; height: 32px; }
.footer-contact { margin-top: 24px; }
.footer-contact li { font-size: 14px; color: #4d4c48; }
.footer-contact a { color: var(--tz-ink); text-decoration: none; }
.footer-contact a:hover, .footer-nav a:hover, .footer-legal a:hover, .footer-legal .footer-link:hover { color: var(--hover-ink); text-decoration: none; }
.footer-app { margin-top: 16px; font-size: 14px; }
.footer-mini { margin-top: 8px; }
.sx-app-does { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px var(--gutter); margin: 24px 0 0; padding: 0; list-style: none; }
.sx-app-does li { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 16px; font-weight: 600; color: #141413; }
@media (max-width: 1068px) { .sx-app-does { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 734px) { .sx-app-does { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 老板 2026-11-15 11:07: Student app page, Get Singroost: one card per platform with its code to scan */
.sx-get { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gutter); margin: 24px 0 0; padding: 0; list-style: none; }
.sx-get-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid #e5e3dd; border-radius: var(--radius-lg); background: #fff; }
.sx-get-card h3 { margin: 0 0 24px; font-size: 20px; font-weight: 600; }
.sx-get-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); width: 100%; }
.sx-get-item h4 { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: #5e5d59; }
.sx-get-code { display: flex; align-items: center; justify-content: center; width: 160px; height: 160px; border-radius: var(--radius-md); background: #f4f3ef; overflow: hidden; }
.sx-get-code .sx-get-qr { display: block; width: 160px; height: 160px; object-fit: contain; background: #fff; }
.sx-get-code:not(.is-soon) { border: 1px solid #e5e3dd; background: #fff; }
/* 老板 2026-11-17 20:53: "Coming soon" sits on a grey code shape in the same 160px square */
.sx-get-code.is-soon { position: relative; border: 1px solid #e5e3dd; background: #fff; }
.sx-get-code.is-soon .sx-get-qr { opacity: .7; }
.sx-get-soon { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .72); color: #141413; font-size: 14px; font-weight: 600; white-space: nowrap; } /* plain words over the faded code, not a button-like chip (老板 2026-11-17 08:10) */
.sx-get-note { margin: 16px 0 0; font-size: 16px; line-height: 1.45; }
.sx-get-link { margin: 8px 0 0; }
@media (max-width: 1068px) { .sx-get { grid-template-columns: 1fr; } }
@media (max-width: 734px) { .sx-get-pair { grid-template-columns: 1fr; } }
.footer-mini-open { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.footer-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px var(--gutter); }
.footer-col .footer-link { display: inline-block; padding: 0; border: 0; background: transparent; color: #b0aea5; font: inherit; font-size: 14px; line-height: 1.45; text-align: left; cursor: pointer; }
.footer-col .footer-link:hover { color: #ffffff; }
/* 老板 2026-11-15 11:33「这几个间距都是一样的吗」: one rhythm. 64px above the first line and under the last; 32px above the
   rule and 32px under it. The social links keep their 44px touch area but take only the height of their 24px marks, so
   the bottom row is as tall as its content and the space under it is the real 64px. */
.footer-bottom .footer-social { margin: -10px -10px -10px 0; }
html body .site-footer .footer-top:not(#_) { padding-bottom: 32px; }
html body .site-footer .footer-bottom:not(#_) { padding-top: 32px; align-items: center; }
html body .site-footer .footer-legal-id:not(#_) { margin: 0; line-height: 24px; }
.footer-col summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: default; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col .footer-title { margin: 0; color: var(--tz-ink); font-size: 14px; font-weight: 700; }
.footer-toggle { display: none; }
.footer-col ul { margin: 16px 0 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: #4d4c48; font-size: 14px; line-height: 1.45; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-top: 24px; border-top: 1px solid #dedcd1; }
.footer-legal-id { display: flex; flex-wrap: wrap; gap: 4px 24px; color: #73726c; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a, .footer-legal .footer-link { padding: 0; border: 0; background: transparent; color: #4d4c48; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
@media (max-width: 1068px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .site-footer { padding-top: 48px; padding-bottom: 48px; }
  .footer-top { gap: 32px; padding-bottom: 32px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid #dedcd1; }
  .footer-col { border-bottom: 1px solid #dedcd1; }
  .footer-col summary { min-height: 52px; cursor: pointer; }
  .footer-col summary:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: var(--radius-sm); }
  .footer-toggle { display: inline-block; width: 16px; text-align: center; color: var(--tz-ink); font-size: 20px; line-height: 1; }
  .footer-toggle::before { content: "+"; }
  .footer-col[open] .footer-toggle::before { content: "\2212"; }
  .footer-col ul { margin: 0; padding: 0 0 16px; }
  .footer-col li + li { margin-top: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal-id { flex-direction: column; }
  /* 老板 2026-11-16 13:54「这条线很多余」: on phones the last folded column already ends in a line; no second line above the copyright */
  html body .site-footer .footer-bottom:not(#_) { border-top: 0; padding-top: 0; }
  .sx-cta-card { padding: 48px 24px; }
  .sx-cta-card h2 { font-size: 26px; }
}
/* About (老板 2026-10-26): full-bleed hero (square corners, text on a scrim), image / text bands with rounded media, key
   numbers row, icon cards. */
.sx-about-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 62vh, 640px); overflow: hidden; background: #141413; color: #fff; }
.sx-about-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.sx-about-hero.has-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.46) 50%, rgba(0,0,0,.3) 100%); }
.sx-about-hero-copy { position: relative; z-index: 1; padding-block: 48px 64px; }
.sx-about-hero .sx-crumbs, .sx-about-hero .sx-crumbs a, .sx-about-hero .sx-crumbs [aria-current], .sx-about-hero .sx-eyebrow { color: rgba(255,255,255,.9); }
.sx-about-hero h1 { margin-top: 8px; max-width: 26ch; /* 老板 2026-10-31「分2行」 */ color: #fff; font-size: clamp(32px, 5vw, 54px); line-height: 1.06; text-wrap: balance; }
.sx-about-hero .sx-lede { color: rgba(255,255,255,.92); }
/* 2026-11-19 10:49「按钮颜色不合适」: on the photo the dark primary button disappeared into the dark shading; over a photo
   it is white with dark text (the light button of the site), and its hover keeps it white with the hairline ring. */
.sx-about-hero.has-media .sx-actions .pill.tz-primary { background: #fff; border-color: #fff; color: var(--tz-ink); }
.sx-about-hero.has-media .sx-actions .pill.tz-primary:hover { background: #fff; border-color: #fff; color: var(--tz-ink); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d1cfc5; }
.sx-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.sx-band.is-reverse .sx-band-media { order: 2; }
.sx-band-media { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--tz-light); }
.sx-band-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.sx-band-copy .eyebrow { margin-bottom: 8px; }
.sx-band-copy > p { margin-top: 16px; color: var(--ink-1); }
.sx-band-copy > p.muted { color: var(--tz-muted); }
.sx-values { display: grid; gap: 16px; }
.ic-list.sx-values li + li { margin-top: 0; }
.sx-values strong { color: var(--tz-ink); font-weight: 600; }
.sx-stat-row .sx-stat-value { margin-top: 16px; font-size: 44px; line-height: 1.1; }
.sx-stat-row .sx-stat-label { margin-top: 8px; }
.sx-stats.sx-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-stats.sx-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-stats.sx-stats-1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1068px) {
  .sx-stats.sx-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1068px) {
  .sx-band { grid-template-columns: minmax(0, 1fr); }
  .sx-band.is-reverse .sx-band-media { order: 0; }
}
@media (max-width: 734px) {
  .sx-about-hero { min-height: 520px; }
  .sx-about-hero-copy { padding-block: 32px 48px; }
  /* 老板 2026-11-16 13:56「这个位子对吗」: on phones the words sat on the busiest part of the photo, under a band of empty
     sky. Like the home page: the title and the button first on the page colour, the photo below them, whole. */
  html body .sx-about-hero.has-media:not(#_) { flex-direction: column; align-items: stretch; min-height: 0; background: transparent; color: var(--tz-ink); }
  html body .sx-about-hero.has-media:not(#_)::after { display: none; }
  html body .sx-about-hero.has-media .sx-about-hero-img:not(#_) { position: static; order: 1; width: auto; height: auto; margin: 0 var(--page-margin); aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  html body .sx-about-hero.has-media .sx-about-hero-copy:not(#_) { order: 0; padding-block: 16px 24px; }
  html body .sx-about-hero.has-media :is(.sx-crumbs, .sx-crumbs [aria-current], .sx-eyebrow, .sx-lede):not(#_) { color: var(--tz-muted); }
  html body .sx-about-hero.has-media :is(.sx-crumbs a, h1):not(#_) { color: var(--tz-ink); }
  /* phones: the button sits on the page colour above the photo, so it is the usual dark primary again */
  html body .sx-about-hero.has-media .sx-actions .pill.tz-primary:not(#_) { background: var(--tz-blue); border-color: var(--tz-blue); color: #fff; }
  html body .sx-about-hero.has-media .sx-actions .pill.tz-primary:not(#_):hover { background: #141413; border-color: #141413; color: #fff; box-shadow: 0 0 0 2px #141413; }
  .sx-stat-row.sx-stats-4, .sx-stat-row.sx-stats-3, .sx-stat-row.sx-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-stat-row .sx-stat-value { font-size: 32px; }
}
/* SEO / CLS (2026-10-26): template images carry width and height; any rule that sets a height still wins. */
:where(img[width][height]) { height: auto; }
/* ==== end promotions-redesign block ==== */
/* ==== seo-nav-social (老板 2026-10-26): Offers nav item, footer social links, WeChat QR dialog, /promotions evergreen text, room summary ==== */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: #3d3d3a; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.footer-social-link:hover { background: #f4f3ef; border-color: #c2c0b6; }
.footer-social-link:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.footer-social-link .ic { width: 18px; height: 18px; color: currentColor; }
.footer-social-ic { width: 20px; height: 20px; object-fit: contain; border-radius: var(--radius-sm); }
@media (min-width: 735px) { .wechat-dialog { width: min(100% - 32px, 400px); } }
.wechat-dialog-body { display: grid; justify-items: center; gap: 16px; text-align: center; }
.wechat-qr { width: 240px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.wechat-account { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.sx-offers-about p { max-width: 72ch; margin: 0 0 16px; color: var(--ink-1); line-height: 1.6; }
.sx-offers-residences { margin: 16px 0 0; font-size: 14px; }
.sx-offers-residences a { color: inherit; text-underline-offset: 3px; }
.fact-summary { max-width: 72ch; margin: 16px 0 0; color: var(--ink-1); font-size: 16px; line-height: 1.6; }
/* ==== end seo-nav-social block ==== */
/* ==== booking-payment-pages (老板 2026-10-26): booking confirmation and the payment page ==== */
/* Booking confirmation: the form and the left summary give way to one full-width confirmation. */
.tz-book.is-done { grid-template-columns: minmax(0, 1fr); max-width: var(--text-10); gap: 0; }
.tz-book.is-done .tz-book-summary { display: none; }
.tz-book.is-done .tz-book-main h1 { margin-top: 24px; }
.bk-done { display: grid; gap: 32px; margin-top: 8px; }
.bk-done-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; border-radius: var(--radius-lg); background: #ffffff; }
.bk-done-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--status-available); color: #fff; }
.bk-done-check .ic { width: 30px; height: 30px; stroke-width: 3; color: #fff; }
.bk-done-ref-label { color: var(--ink-3); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bk-done-ref-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; }
.bk-done-ref { font-size: clamp(20px, 3vw, 32px); letter-spacing: .02em; overflow-wrap: anywhere; }
.bk-done-plain { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-done-email { margin-top: 8px; color: var(--ink-1); }
.bk-copy, .pay-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: var(--tz-ink, #141413); font-size: 14px; font-weight: 600; }
.bk-copy.pill { min-width: 0; height: 36px; min-height: 36px; padding: 0 16px; }
.bk-copy .ic, .pay-copy .ic { width: 16px; height: 16px; }
.bk-copy:hover, .pay-copy:hover { background: #f4f3ef; }
.bk-copy.is-copied, .pay-copy.is-copied { border-color: var(--status-available); color: var(--status-available); }
.bk-copy-status, .pay-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-done-card { padding: 24px 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.bk-done-card h2, .bk-done-next h2 { font-size: 20px; }
.bk-done-card h3 { margin-top: 24px; font-size: 18px; }
.bk-done-list { display: grid; gap: 0; margin: 16px 0 0; }
.bk-done-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #f4f3ef; font-size: 14px; }
.bk-done-list dt { flex: none; max-width: 45%; color: var(--tz-muted, #5e5d59); }
.bk-done-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.bk-done-total { font-weight: 700; border-bottom: 0 !important; }
.bk-done-total dt { color: var(--tz-ink, #141413) !important; }
.bk-done-card .muted { margin-top: 8px; }
.bk-done-next > .muted { margin-top: 8px; max-width: 70ch; }
.bk-timeline { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; }
.bk-tl-item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
.bk-tl-item:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: #e5e3dd; }
.bk-tl-ic { box-sizing: content-box; width: 20px; height: 20px; padding: 8px; border-radius: 50%; background: var(--tz-light, #f4f3ef); color: var(--tz-ink, #141413); }
.bk-tl-item h3 { font-size: 18px; margin-top: 8px; }
.bk-tl-item p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
.bk-done-actions { margin-top: 0; }
/* Payment page */
.pay-warning { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; margin-top: 32px; padding: 24px 24px; border: 1px solid #e3b341; border-radius: var(--radius-md); background: #fff8e6; }
.pay-warning-ic { width: 28px; height: 28px; color: #8a5a00; }
.pay-warning h2 { font-size: 18px; }
.pay-warning p { margin-top: 8px; }
.pay-warning ul { margin: 8px 0 0; padding-left: 24px; }
.pay-warning li { margin-top: 4px; line-height: 1.5; }
.pay-list { display: grid; margin: 16px 0 0; }
.pay-row { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f4f3ef; }
.pay-row dt { color: var(--tz-muted, #5e5d59); font-size: 14px; }
.pay-row dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.pay-value { font-weight: 600; overflow-wrap: anywhere; }
.pay-qr { width: 200px; max-width: 100%; height: auto; aspect-ratio: 1; margin-top: 16px; object-fit: contain; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.pay-pending { margin-top: 24px; padding: 16px 24px; border-radius: var(--radius-md); background: var(--tz-light, #f4f3ef); }
.pay-notes, .pay-plans, .pay-faq { max-width: var(--text-10); margin-top: 24px; }
.pay-notes ul, .pay-plans ul { padding-left: 24px; }
.pay-notes li, .pay-plans li { margin-top: 8px; line-height: 1.55; }
.pay-plans h2 { margin-top: 32px; font-size: 20px; }
.pay-plans p { margin-top: 8px; }
.pay-faq h3 { margin-top: 24px; font-size: 18px; }
.pay-faq p { margin-top: 8px; color: var(--ink-1); }
@media (max-width: 734px) {
  .bk-done-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 16px; }
  .bk-done-card { padding: 16px 16px; }
  .bk-done-actions .pill { width: 100%; }
  .pay-warning { grid-template-columns: minmax(0, 1fr); padding: 16px 16px; }
  .pay-row { grid-template-columns: minmax(0, 1fr); }
}
/* ==== end booking-payment-pages block ==== */
/* ==== partners-page (老板 2026-10-26): /partners on the section template ==== */
.sx-partner-welcome p { margin-top: 16px; max-width: 58ch; font-size: 18px; line-height: 1.6; color: var(--tz-ink); }
.sx-partner-welcome + .sx-actions { margin-top: 24px; }
.sx-partner-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; margin-top: 16px; font-size: 16px; color: var(--tz-muted); }
.sx-partner-addr { font-weight: 600; color: var(--tz-ink); user-select: all; overflow-wrap: anywhere; }
.sx-cta .sx-partner-mail { justify-content: center; margin: 16px auto 0; }
.sx-partner-mail .pay-copy { min-height: 32px; padding: 0 8px; font-size: 13px; }
.sx-steps.sx-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gutter); }
.sx-partner-closing p { max-width: 60ch; /* 老板 2026-11-15 10:45: two lines on a desktop, not three */ margin: 0 auto; font-size: 26px; font-weight: 600; line-height: 1.35; text-align: center; text-wrap: balance; color: var(--tz-ink); }
@media (max-width: 1068px) { .sx-steps.sx-steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) {
  .sx-steps.sx-steps-4 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sx-partner-closing p { font-size: 20px; }
  .sx-partner-welcome p { font-size: 16px; }
}
/* ==== end partners-page block ==== */
/* 老板 2026-10-26: a padded section (.section, showcase) already ends with one --section-space; the next margin-based
   section must not add a second one (the home residences carousel -> Browse by university gap was doubled). */
:is(.section, .showcase-section, .app-section) + .sx-section { margin-top: 0; }
/* 老板 2026-10-27 (booking page): no stray rule under the form card and no doubled gap before the next section —
   the next section (CTA band) already brings one --section-space. */
.tz-book .booking-request { border-bottom: 0; }
.tz-book, .tz-book-closed { padding-bottom: 0; }
/* ==== cleaning-packages add-ons redesign (老板 2026-10-27) — "Add to your booking": one card per service ==== */
.bk-addons .bk-x-list { display: grid; gap: 16px; margin-top: 16px; }
.bk-x { border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; padding: 16px 16px; }
.bk-x:has(.bk-x-toggle:checked) { border-color: #141413; box-shadow: 0 0 0 1px #141413 inset; }
.bk-x-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "tick name price" ". desc desc"; align-items: center; column-gap: 8px; row-gap: 2px; }
.bk-x-tick { grid-area: tick; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; }
.bk-x-tick { cursor: pointer; }
.booking-form .bk-x-toggle { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: #141413; cursor: pointer; }
.bk-x-label { grid-area: name; display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.bk-x-name { font-size: 16px; font-weight: 700; color: #141413; }
.bk-x-icon { width: 18px; height: 18px; flex: none; color: #141413; }
.bk-x-price { grid-area: price; justify-self: end; text-align: right; font-size: 14px; font-weight: 600; color: #141413; white-space: nowrap; }
.bk-x-desc { grid-area: desc; margin: 0; font-size: 14px; line-height: 1.45; color: #5e5d59; }
.bk-x-more { margin: 8px 0 0 48px; }
.bk-x-more summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--tz-blue); font-size: 14px; font-weight: 500; }
.bk-x-more-body { padding: 4px 0 8px; font-size: 14px; line-height: 1.5; color: var(--ink-1); }
.bk-x-more-body h4 { margin: 8px 0 2px; font-size: 14px; color: #141413; }
.bk-x-more-body ul { margin: 0; padding-left: 16px; }
.bk-x-more-body p { margin: 0; }
.bk-x-more-body .bk-x-not { margin-top: 4px; font-weight: 600; }
.booking-form .bk-x-opts { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0 0 48px; padding: 16px 0 0; border: 0; border-top: 1px solid #e5e3dd; min-width: 0; }
.bk-x:not(:has(.bk-x-toggle:checked)) .bk-x-opts { display: none; }
.booking-form .bk-x-opts legend { float: left; width: 100%; padding: 0 0 4px; font-size: 14px; font-weight: 600; }
.bk-x-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px var(--gutter); }
.bk-x-option { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); cursor: pointer; }
.bk-x-option[hidden] { display: none; }
.bk-x-option:has(input:checked) { border-color: #141413; background: #f4f3ef; }
.booking-form .bk-x-option input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #141413; }
.bk-x-option-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; min-width: 0; }
.bk-x-option-text small { font-size: 13px; color: #5e5d59; }
.bk-x-option-price { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }
.bk-x-qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; padding-left: 16px; }
.bk-stepper { display: inline-grid; grid-template-columns: 44px 56px 44px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); overflow: hidden; }
.booking-form .bk-stepper input { min-height: 44px; border: 0; border-radius: var(--radius-sm); text-align: center; padding: 0; -moz-appearance: textfield; }
.bk-stepper input::-webkit-inner-spin-button, .bk-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.booking-form .bk-step { min-height: 44px; margin: 0; border: 0; background: #ffffff; font-size: 20px; line-height: 1; color: #141413; cursor: pointer; }
.booking-form .bk-step:focus-visible, .bk-x-toggle:focus-visible, .bk-x-option:has(input:focus-visible) { outline: 2px solid var(--tz-blue); outline-offset: 2px; }
.bk-x-opts:has(input[data-mode="package"]:checked) .bk-x-qty { opacity: .45; pointer-events: none; }
.bk-x-note { margin: 0; padding: 8px 16px; border-radius: var(--radius-sm); background: #fff4e5; color: #6b4100; font-size: 14px; line-height: 1.45; }
.bk-x-note[hidden] { display: none; }
@media (max-width: 734px) {
  .bk-x { padding: 16px; }
  .bk-x-head { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "tick name" ". price" ". desc"; }
  .bk-x-price { justify-self: start; text-align: left; white-space: normal; }
  .bk-x-more { margin-left: 48px; }
  .booking-form .bk-x-opts { margin-left: 0; }
  .bk-x-row { grid-template-columns: 1fr 1fr; }
  .bk-x-row .bk-field:last-child { grid-column: 1 / -1; }
  .bk-x-option { grid-template-columns: 22px minmax(0, 1fr); }
  .bk-x-option-price { grid-column: 2; text-align: left; }
  .bk-x-qty { padding-left: 0; }
}
/* ==== end cleaning-packages add-ons block ==== */
/* Partners online application (老板 2026-10-27): same section rhythm and card look as the rest of the page. */
.sx-partner-apply { border-bottom: 0; padding-block: 0; margin-top: var(--section-space); }
.sx-partner-apply .booking-form { padding: 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.sx-partner-apply .booking-form fieldset { border-top: 0; padding: 0 0 24px; }
.sx-partner-apply .booking-form fieldset + fieldset { border-top: 1px solid #e5e3dd; padding-top: 24px; }
.sx-partner-apply .booking-form legend { font-size: 16px; padding-bottom: 8px; }
/* 老板 2026-11-15 10:45「Your contact details 旁边的线条有问题」: a fieldset draws its top border through its legend, so the
   line started beside the heading. The legend is laid out as an ordinary block inside the group (the rule line then
   runs unbroken above it), on every form group that has a top line. */
.booking-form fieldset:not([data-step]) > legend { float: left; width: 100%; grid-column: 1 / -1; }
.booking-form fieldset:not([data-step]) > legend + * { clear: both; }
.sx-partner-apply .booking-form input:not([type=checkbox]):not([type=radio]), .sx-partner-apply .booking-form select, .sx-partner-apply .booking-form textarea { min-height: 44px; border-radius: var(--radius-sm); }
.sx-partner-apply .booking-form textarea { width: 100%; }
.sx-partner-apply .bk-field:has(textarea) { grid-column: 1 / -1; }
.sx-partner-apply .pa-type { grid-template-columns: 1fr 1fr; }
.sx-partner-apply .pa-type .bk-check { min-height: 44px; padding: 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); align-items: center; }
.sx-partner-apply .pa-type .bk-check:has(input:checked) { border-color: #141413; background: #f4f3ef; }
.sx-partner-apply .booking-form > .bk-check { margin: 16px 0; } /* 2026-11-07: 16px from the last field */
@media (max-width: 734px) { .sx-partner-apply .pa-type { grid-template-columns: 1fr; } }
@media (max-width: 734px) { .sx-partner-apply .booking-form { padding: 16px; } }
/* 老板 2026-10-30: home search box typing effect (school-combobox.js typewriter, Changi Airport style). */
.school-combobox .school-typing { position: absolute; inset: 0 13px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; pointer-events: none; color: #73726c; font-weight: 400; text-shadow: none; }
.school-combobox .school-typing[hidden] { display: none; }
.school-typing-prefix { white-space: pre; }
.school-typing-text { color: #141413; overflow: hidden; text-overflow: ellipsis; }
.school-typing-caret { flex: none; width: 1.5px; height: 1.15em; margin-left: 2px; background: var(--accent, #141413); animation: school-caret 1s steps(1) infinite; }
@keyframes school-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .school-typing-caret { animation: none; } }

/* 老板 2026-10-30「Room arrangements 板块和 Room and bed options 的背景色块设计不合理」: the residence page's rooms
   section is light grey, and the room cards were the same grey (no visible edge, padding floating in space) while the
   two room-type cards above had no box at all. In this section both card kinds are now one white card: photo flush to
   the top, 1px edge, the same inner padding, actions pinned to the bottom so rows line up. The residence-name label is
   dropped here because every card on this page is this residence. */
#rooms .room-card, #rooms .search-room-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e5e3dd; border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
#rooms .room-card:hover, #rooms .search-room-card:hover { border-color: #dedcd1; box-shadow: 0 6px 20px rgba(26, 25, 24, .07); }
#rooms .room-card img, #rooms .room-card .media-empty, #rooms .search-room-photo img, #rooms .search-room-photo .media-empty { border-radius: var(--radius-md) var(--radius-md) 0 0; }
#rooms .room-card-body { padding: 24px 24px 24px; }
#rooms .search-room-card > .eyebrow { display: none; }
#rooms .search-room-body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 24px; }
#rooms .search-room-actions { margin-top: auto; padding-top: 8px; }
#rooms .property-pending { background: #fff; border: 1px solid #e5e3dd; }
@media (max-width: 734px) { #rooms .room-card-body, #rooms .search-room-body { padding: 16px 16px 16px; } }
/* 老板 2026-10-30: the WeChat ID in the footer contact list opens the WeChat dialog; it reads like the other contact links,
   and the WhatsApp note "(Messages Only)" is quieter than the number. */
.footer-contact .footer-wechat { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-contact .footer-wechat:hover { text-decoration-thickness: 2px; }
.footer-contact-note { color: #73726c; }
/* 老板 2026-10-30: an uploaded official WhatsApp / WeChat icon sits where the line icon was. */
img.ic-brand { width: 20px; height: 20px; object-fit: contain; border-radius: var(--radius-sm); }
/* 老板 2026-10-30: the footer social row is a line of round icon buttons (name in the tooltip and for screen readers). */
.footer-social { gap: 8px; }
.footer-social-link { justify-content: center; width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; }
.footer-social-link .ic { width: 20px; height: 20px; }
.footer-social-link .footer-social-ic { width: 24px; height: 24px; border-radius: 50%; }
/* 老板 2026-10-30: the WeChat mark (owner's image) in the same colour as the line icons. */
.ic-mask { display: inline-block; flex: none; width: 20px; height: 20px; background-color: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ic-wechat { -webkit-mask-image: url("/assets/wechat-mask.png"); mask-image: url("/assets/wechat-mask.png"); }
/* 老板 2026-10-30: school crest beside the name on the school cards and under the school page title. */
.sx-card-titlerow { display: flex; align-items: center; gap: 16px; }
.sx-card-titlerow h3 { margin: 0; }
.sx-hero-schoolrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.sx-hero-schoolrow .sx-hero-campus { margin: 0; }
.sx-hero-schoolrow .sx-school-mark { width: 48px; height: 48px; }
/* 老板 2026-10-30: the breadcrumb above a full-width cover photo keeps a small gap instead of touching the photo. */
main > .breadcrumbs:has(+ .detail-hero) { margin-bottom: 16px; }
/* ==== 老板 2026-10-30「公寓详情页页面整体重新优化设计」 residence page redesign ====
   A section bar under the cover photo (sticky below the header) jumps to Overview / Rooms / Location / Schools; the
   overview leads with rent-from and the MRT walk as fact tiles; rooms and schools show the first few and fold the rest
   behind one control; the location map stays in view while the list of places scrolls. */
#overview, #rooms, #location, #schools { scroll-margin-top: 128px; }
.property-overview.section { padding-top: 64px; }
.property-overview .residence-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); margin-top: 32px; padding: 0; border: 0; }
.property-overview .residence-facts li { align-items: center; gap: 16px; min-height: 64px; margin: 0; padding: 16px 16px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; color: var(--tz-ink, #141413); font-size: 16px; line-height: 1.35; }
/* 老板 2026-11-01「方块的大小不一样」: every fact card the same height and level (the generic list spacing pushed cards 2 to 4 down by 10px). */
.property-overview .residence-facts { grid-auto-rows: 1fr; }
.property-overview .residence-facts.ic-list li + li { margin-top: 0; }
.property-overview .residence-facts li .ic { flex: none; width: 22px; height: 22px; color: var(--action); }
.res-more { margin-top: 24px; }
.res-more > summary { display: flex; justify-content: center; align-items: center; width: max-content; min-height: 44px; margin: 0 auto; padding: 0 24px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: var(--tz-ink, #141413); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.res-more > summary::-webkit-details-marker { display: none; }
.res-more > summary:hover { border-color: #9c9a92; }
.res-more > summary:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.res-more .res-more-close, .res-more[open] .res-more-open { display: none; }
.res-more[open] .res-more-close { display: inline; }
.res-more[open] > summary { order: 2; margin-top: 24px; }
.res-more[open] { display: flex; flex-direction: column; }
.res-more > .search-room-grid, .res-more > .sx-school-routes { margin-top: 24px; }
@media (min-width: 1069px) {
  .property-location { align-items: start; }
  .property-location > .property-location-map { position: sticky; top: 132px; }
  .property-location > .property-location-map .om-map.om-tall { height: min(620px, calc(100svh - 170px)); }
}
@media (max-width: 734px) {
  .property-overview .residence-facts { grid-template-columns: 1fr; }
}
/* ==== end residence page redesign ==== */
/* 老板 2026-10-30「点击后，弹窗展示学校，滑动查看全部学校信息」: the residence page's "View all schools" dialog. */
.res-more { display: flex; justify-content: center; }
.res-more-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 24px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: var(--tz-ink, #141413); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.res-more-button:hover { border-color: #9c9a92; }
.res-more-button:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.res-schools-modal .tz-modal-body { overscroll-behavior: contain; }
@media (min-width: 735px) { .res-schools-modal { width: min(100% - 32px, 820px); } }
.res-schools-modal .tz-modal-head { z-index: 1; border-bottom: 1px solid #f4f3ef; padding-bottom: 16px; }
.res-schools-modal .tz-modal-body { padding-top: 16px; }
.res-schools-modal .sx-school-routes { margin: 0; }
/* 老板 2026-10-30「官网加载中，参考特斯拉官网的加载动图」: while the next page loads (after a short delay, so fast pages
   never flash it) a white screen shows a grey ring whose tail fades out, turning around the Singroost mark. */
.page-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.page-loader.is-on { opacity: 1; pointer-events: auto; }
.page-loader[hidden] { display: none; }
.page-loader-ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; }
.page-loader-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(26, 25, 24, 0) 0deg, rgba(26, 25, 24, .06) 70deg, rgba(26, 25, 24, .38) 250deg, rgba(26, 25, 24, .62) 352deg, rgba(26, 25, 24, 0) 360deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #141413 calc(100% - 4.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #141413 calc(100% - 4.5px)); animation: page-loader-spin .9s linear infinite; }
.page-loader-ring img { width: 24px; height: 24px; opacity: .22; mix-blend-mode: multiply; }
@keyframes page-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .page-loader-ring::before { animation-duration: 2.4s; } }
/* 老板 2026-10-30「右边没有圆角，你检查官网的所有弹窗是否存在类似的问题」: a dialog that scrolled itself drew its
   scroll bar over the rounded right corners. Every website dialog now clips to its rounded box and scrolls inside:
   the heading stays, the body scrolls. */
.tz-modal[open] { display: flex; flex-direction: column; overflow: hidden; }
.tz-modal > .tz-modal-head { flex: none; }
.tz-modal > .tz-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
/* 老板 2026-10-31「滑轨太贴边缘」: the scroll bar sits inside the rounded box (6px from the side, clear of the bottom corner) and is thin. */
.tz-modal > .tz-modal-body { margin: 0 8px 16px 0; scrollbar-width: thin; scrollbar-color: #d1cfc5 transparent; padding-right: 24px; }
@media (max-width: 734px) { .tz-modal > .tz-modal-body { padding-right: 8px; } }
.cookie-settings-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.cookie-settings-dialog > .cookie-settings-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
/* 老板 2026-10-31 Payment Methods page: comparison cards, detail cards, summary link on the payment plans page */
/* 老板 2026-11-04 14:27: payment page in the reference layout — instructions, then a plain two-column details table. */
#details, #bank-transfer, #epayment, #platforms, #late-payment, #billing, #enquiries { scroll-margin-top: 96px; }
.pm-text { max-width: var(--text-10); margin-top: 16px; font-size: 16px; line-height: 1.65; }
.pm-text p + p, .pm-text ul, .pm-text p + ul, .pm-text ul + p { margin-top: 16px; }
.pm-text ul { padding-left: 24px; }
.pm-text li + li { margin-top: 8px; }
.pm-block { margin-top: 8px; }
.pm-table-wrap { max-width: var(--text-10); margin-top: 24px; overflow-x: auto; }
.pm-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e5e3dd; border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.pm-table th, .pm-table td { padding: 16px 24px; text-align: left; vertical-align: middle; border-bottom: 1px solid #e5e3dd; font-size: 16px; line-height: 1.45; }
.pm-table tr:last-child th, .pm-table tr:last-child td { border-bottom: 0; }
.pm-table th { width: 32%; font-weight: 700; color: #141413; border-right: 1px solid #e5e3dd; }
.pm-table td { overflow-wrap: anywhere; }
.pm-table td .pay-value { margin-right: 16px; }
.pm-table td .pay-copy { min-height: 32px; padding: 0 8px; font-size: 13px; vertical-align: middle; }
.pm-sub { display: block; margin-top: 4px; color: #5e5d59; font-size: 14px; }
.pm-path { margin-top: 16px; font-size: 16px; font-weight: 600; }
.pm-list { max-width: var(--text-10); margin: 16px 0 0; padding-left: 24px; font-size: 16px; line-height: 1.65; }
.pm-list li + li { margin-top: 8px; }
.pm-fee { color: #5e5d59; }
/* 老板 2026-11-10 09:51: one PayNow card, QR beside the UEN and payee name */
.pm-paynow { max-width: var(--text-10); margin-top: 24px; padding: 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; display: grid; gap: 24px; align-items: center; }
.pm-paynow.has-qr { grid-template-columns: 200px minmax(0, 1fr); }
.pm-paynow .pay-qr { width: 200px; margin-top: 0; }
.pm-paynow-info > p { margin: 0; font-size: 16px; line-height: 1.55; color: #5e5d59; }
.pm-kv { margin: 16px 0 0; display: grid; gap: 16px; }
.pm-kv-row { display: grid; gap: 4px; }
.pm-kv-row dt { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #73726c; }
.pm-kv-row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 20px; font-weight: 600; color: #141413; overflow-wrap: anywhere; }
.pm-kv-row .pay-copy { min-height: 32px; padding: 0 8px; font-size: 13px; font-weight: 500; }
@media (max-width: 734px) {
  .pm-paynow, .pm-paynow.has-qr { grid-template-columns: minmax(0, 1fr); padding: 16px; justify-items: start; }
  .pm-paynow .pay-qr { width: 200px; max-width: 100%; }
}
.pm-charges { max-width: var(--text-10); margin-top: 24px; padding: 16px 24px; border-radius: var(--radius-md); background: #ffffff; font-size: 14px; line-height: 1.6; }
.pm-charges h4 { margin: 0 0 8px; font-size: 14px; }
.pm-platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.pm-platform { margin: 0; padding: 24px 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; min-width: 0; }
.pm-platform h3 { margin: 0; font-size: 20px; }
.pm-platform > p { margin-top: 8px; color: #5e5d59; font-size: 16px; }
/* 老板 2026-11-04 21:05: the pay button is exactly as wide as the QR code above it */
.pm-platform-pay { display: grid; width: 240px; max-width: 100%; gap: 4px; }
.pm-platform-pay .pay-qr { width: 100%; }
.pm-platform-pay .pm-platform-link { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; white-space: normal; }
@media (max-width: 734px) {
  .pm-table th, .pm-table td { display: block; width: auto; padding: 16px 16px; border-right: 0; }
  .pm-table th { padding-bottom: 0; border-bottom: 0; font-size: 14px; color: #5e5d59; }
  .pm-table td { padding-top: 4px; }
  .pm-platform { padding: 16px 16px; }
}
.pm-platform-link { margin-top: 16px; display: inline-flex; }
.pm-summary { margin-top: 24px; display: flex; align-items: center; gap: 16px; padding: 24px 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; color: #141413; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.pm-summary:hover, .pm-summary:focus-visible { border-color: #141413; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.pm-summary-ic { width: 44px; height: 44px; padding: 8px; flex: none; border-radius: var(--radius-sm); background: #f4f3ef; }
.pm-summary-text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pm-summary-text strong { font-size: 18px; }
.pm-summary-text span { color: #5e5d59; font-size: 16px; }
.pm-summary-arrow { width: 20px; height: 20px; flex: none; }
@media (max-width: 734px) { .pm-summary { padding: 16px; } }
/* 老板 2026-10-31 在线支付（Adyen）: /pay/<token> page */
.pay-online .pay-option { margin: 16px 0; padding: 24px 24px; border: 1px solid #d1cfc5; border-radius: var(--radius-md); background: #fff; }
.pay-online .pay-option h2 { margin: 0 0 8px; font-size: 20px; }
.pay-online .pay-option dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 16px; }
.pay-online .pay-option dd { margin: 0; text-align: right; }
@media (max-width: 734px) { .pay-online .pay-option { padding: 16px; } }
/* 老板 2026-11-01: the browser's own select arrow was tiny and pressed against the right edge (contact form "Room type").
   Every single-choice select on the website now uses the same 16px chevron as the room filters, 14px from the edge. */
/* 老板 2026-11-05 09:28「所有的下拉符号都重新设计…不对齐，也展示不完整」: softer chevron (stroke 1.75, #73726c), 12px from the edge,
   centred; long choices end with an ellipsis before the arrow. Same glyph in the admin, student App and mini program. */
select:not([multiple]):not([size]) { -webkit-appearance: none; appearance: none; padding-right: 48px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373726c' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 16px; }
select:not([multiple]):not([size])::-ms-expand { display: none; }
/* 老板 2026-11-01: one date control on the whole website (date-field.js): DD/MM/YYYY typed or picked from a calendar. */
.date-field { position: relative; display: block; width: 100%; }
.date-field input[type="text"] { width: 100%; padding-right: 48px; font-variant-numeric: tabular-nums; }
.date-field-btn { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-1); cursor: pointer; transform: translateY(-50%); }
.date-field-btn:hover, .date-field.is-open .date-field-btn { background: #f4f3ef; color: var(--action); }
.date-field-btn:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.date-pop { position: absolute; z-index: 70; top: calc(100% + 6px); left: 0; width: 296px; max-width: calc(100vw - 32px); padding: 16px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 0 0 1px #d1cfc5, 0 10px 28px rgba(0,0,0,.14); color: #141413; font-weight: 400; }
.date-pop[hidden] { display: none; }
.date-pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.date-pop-nav { width: 34px; height: 34px; border: 0; border-radius: var(--radius-sm); background: transparent; color: #141413; font-size: 20px; line-height: 1; cursor: pointer; }
.date-pop-nav:hover:not(:disabled) { background: #f4f3ef; }
.date-pop-nav:disabled { color: #d1cfc5; cursor: default; }
.date-pop-week, .date-pop-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.date-pop-week span { padding: 4px 0; color: #73726c; font-size: 12px; font-weight: 600; }
.date-pop-day { height: 36px; border: 0; border-radius: var(--radius-sm); background: transparent; color: #141413; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; }
.date-pop-day:hover:not(:disabled) { background: #f4f3ef; }
.date-pop-day.is-today { box-shadow: inset 0 0 0 1px #9c9a92; }
.date-pop-day.is-chosen { background: var(--action); color: #fff; font-weight: 600; }
.date-pop-day:disabled { color: #d1cfc5; cursor: default; }
.date-pop-day:focus-visible, .date-pop-nav:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.sx-field-hint { color: #73726c; font-size: 13px; font-weight: 400; }
.sx-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sx-form .form-error { min-height: 0; margin: 0 0 16px; color: #b42318; font-weight: 600; }
.sx-form .form-error:empty { display: none; }
.sx-form-done { max-width: var(--text-10); margin-top: 32px; }
.sx-form-done:focus { outline: none; }
.sx-form-done .bk-receipt h3 { margin: 0 0 8px; }
.sx-form .school-field > label { font-weight: 600; }
/* 老板 2026-11-01「与 Choose your space 对齐有问题」: a section's side link ("Find a Room", "All residences") sits on the
   heading's text baseline (or the last line of the intro under it), not at the bottom edge of the heading box. */
.sx-head, .section-top { align-items: flex-end; align-items: last baseline; }
/* 2026-11-14: on a phone the heading and its link are stacked (a column), where "end" meant the right edge: the
   heading over the room list sat indented from the left. Stacked headings start at the left. */
@media (max-width: 734px) { .section-top { align-items: flex-start; } }
.sx-head > .sx-head-link, .section-top > a { line-height: 1.3; }
/* 老板 2026-11-01「检查官网的所有对齐」: text pages (fees, how to book, house rules…) keep the 800px reading width but start at
   the same left edge as their title and the logo, instead of a centred column; the gap under the title is one block, not two. */
.shell.prose { max-width: none; }
.shell.prose > * { max-width: var(--text-10); }
.shell.prose > .grid, .shell.prose > .table-wrap, .shell.prose > table { max-width: none; }
main .page-head + .section.page-content { padding-top: 8px; }
/* ==== 测试报告 2026-11-01 (#13 #59 contrast, #55 viewer arrows, #57 touch targets) ==== */
/* White text on a light photo (a white wall, a bright room): a darker top and bottom scrim plus a soft text shadow, so the
   overline ("SINGLE ROOM, SINGROOST BAROSSA"), headline, sub line and card room types stay readable on any photo. */
.tz-hero::after, .tz-panel::after { background: linear-gradient(to bottom, rgba(0,0,0,.58) 0%, rgba(0,0,0,.30) 34%, rgba(0,0,0,.12) 58%, rgba(0,0,0,.50) 100%); }
.tz-hero-top, .tz-hero-bottom, .tz-card-copy { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 16px rgba(0,0,0,.40); }
.tz-hero-top .tz-overline, .tz-card-copy .tz-overline { color: #fff; }
.tz-sub, .tz-card-copy > p, .tz-card-copy .tz-card-types { color: #fff; }
.tz-card.showcase-slide::before { background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,.08) 66%); }
.tz-card-copy .pill, .tz-hero .pill { text-shadow: none; }
/* Photo viewer: the "n / total" counter is centred whatever the close button's width, and on narrow screens the previous
   and next buttons stay visible as round buttons over the photo (they used to be hidden; only swipe or keys worked). */
.ab-viewer-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.ab-viewer-bar span { grid-column: 2; margin: 0; text-align: center; }
@media (max-width: 734px) {
  .ab-viewer[open] { position: fixed; inset: 0; }
  .ab-viewer .ab-arrow { display: grid; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -24px; border-color: rgba(255,255,255,.55); background: rgba(17,17,17,.55); }
  .ab-viewer .ab-arrow-prev { left: 8px; } .ab-viewer .ab-arrow-next { right: 8px; }
  .ab-viewer-bar { padding: 0 16px; }
}
/* Booking form: the consent tick and the payment-plan choices are at least 24 px and their whole row is tappable. */
.bk-check input[type="checkbox"], .bk-plan input[type="radio"], #booking-form input[type="checkbox"]:not(.bk-x-toggle), #booking-form input[type="radio"] { margin: 0; accent-color: var(--tz-blue, var(--action)); } /* 老板 2026-11-08 09:15: every tick box is the same 18px (--control-box) */
.bk-plan { min-height: 48px; cursor: pointer; }
#booking-form .bk-check, #booking-form label:has(> input[type="checkbox"]) { min-height: 44px; align-items: center; cursor: pointer; }

/* 2026-11-02 老板「设施与设备选项每一个选项都需要设置一个图标」: every facility in the grouped lists has its own icon. */
.facility-list ul.ic-list { padding-left: 0; line-height: 1.45; }
.facility-list .ic-list li + li { margin-top: 8px; }
.facility-list .ic-list li > .ic { width: 18px; height: 18px; color: #141413; }
/* 公寓模块重新设计 (2026-11-02): "Your apartment" on room pages; one block per apartment when they differ. */
.tz-apartment .tz-apartment-facts { margin-bottom: 16px; }
.tz-apartment h3 { font-size: 1rem; margin: 16px 0 8px; }
.tz-apartment-variant { border-top: 1px solid rgba(0, 0, 0, 0.08); padding-top: 16px; margin-top: 16px; }
.tz-apartment-variant > h3 { margin-top: 0; }

/* 老板 2026-11-03 12:58「官网的图片滑动圆点的BUG没有修复」: the school list opened from the hero search box sat under the
   carousel dots and arrows (they are stacked above the slide, z-index 3). While anything in the active slide has focus
   (the search box and its list) the slide rises above the controls; autoplay is already paused then (enhance.js). */
.tz-carousel > .hero-slide.is-active:focus-within { z-index: 4; }
.tz-carousel:has(.hero-slide.is-active [aria-expanded="true"]) .tz-hero-controls,
.tz-carousel:has(.hero-slide.is-active [aria-expanded="true"]) .tz-nav { visibility: hidden; }

/* 老板 2026-11-03 14:14: the carousel arrows line up with the search box (enhance.js sets --tz-nav-y to its centre line). */
.tz-carousel > .tz-nav { top: var(--tz-nav-y, 50%); margin-top: -24px; }

/* Shared facilities at <residence> (老板 2026-11-04 15:36): heading and one line, a photo mosaic of the residence photos
   (first large), then one card per facility group. Also used, without photos, on the room page. */
.shared-head h2 { margin: 0; }
.shared-head p { margin-top: 8px; max-width: 64ch; }
.shared-gallery { display: grid; gap: 8px; margin-top: 24px; border-radius: var(--radius-md); overflow: hidden; }
.shared-photo { position: relative; margin: 0; min-height: 0; background: #f4f3ef; }
.shared-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shared-gallery-n1 { grid-template-columns: 1fr; aspect-ratio: 21 / 9; }
.shared-gallery-n2 { grid-template-columns: 1fr 1fr; aspect-ratio: 21 / 9; }
.shared-gallery-n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 21 / 9; }
.shared-gallery-n3 .shared-photo:first-child { grid-row: 1 / 3; }
.shared-gallery-n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 21 / 9; }
.shared-gallery-n4 .shared-photo:first-child { grid-row: 1 / 3; }
.shared-gallery-n4 .shared-photo:last-child { grid-column: 2 / 4; }
.shared-gallery-n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 21 / 9; }
.shared-gallery-n5 .shared-photo:first-child { grid-row: 1 / 3; }
.shared-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(26, 25, 24, .55); color: #fff; font-size: 18px; font-weight: 600; }
.shared-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.shared-group { padding: 24px 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; min-width: 0; }
.shared-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 16px; line-height: 1.3; }
.shared-group h3 .ic { width: 36px; height: 36px; padding: 8px; flex: none; border-radius: var(--radius-sm); background: #f4f3ef; color: #141413; }
.shared-group .ic-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.shared-group .ic-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 1.4; }
.shared-group .ic-list li > .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #141413; }
.tz-room-sub .shared-groups { margin-top: 16px; }
@media (max-width: 734px) {
  .shared-gallery { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .shared-gallery .shared-photo { aspect-ratio: 4 / 3; grid-row: auto !important; grid-column: auto !important; }
  .shared-gallery .shared-photo:first-child { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3; }
  .shared-gallery-n1 { grid-template-columns: 1fr; }
  .shared-group { padding: 16px; }
}

/* 老板 2026-11-04 20:29: line under the room gallery — photos are illustrative */
.ab-photo-note { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #73726c; }
/* 老板 2026-11-07 19:50「底栏用深黑色，偏暖的」: the footer is the brand's warm black #141413 (as on claude.com),
   with light warm-grey text; hover brightens to white (no underline). */
.site-footer { background: #141413; border-top: 0; color: #b0aea5; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.footer-contact li, .footer-col a, .footer-legal a, .footer-legal .footer-link, .footer-grid a, .footer-grid .footer-link { color: #b0aea5; }
.footer-col .footer-title, .footer-grid h3, .footer-grid .footer-title, .footer-contact a, .footer-toggle, .footer-app a, .footer-mini-open { color: #ffffff; }
.footer-legal-id, .footer-bottom small, .footer-contact-note { color: #87867f; }
.footer-bottom, .footer-nav, .footer-col { border-color: #30302e; }
.site-footer a:hover, .site-footer .footer-link:hover, .footer-contact a:hover, .footer-nav a:hover, .footer-legal a:hover, .footer-legal .footer-link:hover { color: #ffffff; }
.footer-social-link { background: transparent; border-color: #3d3d3a; color: #e5e3dd; }
.footer-social-link:hover { background: #262624; border-color: #4d4c48; }
/* 老板 2026-11-15 10:08, 10:23: footer social icons are plain one-colour marks with no ring or disc (white shapes cut
   from the files 老板 supplied), dim like the footer menu and lit under the pointer or on focus. */
.footer-social { gap: 4px; margin-left: -10px; }
.footer-social-link, .footer-social-link:hover { background: transparent; border-color: transparent; }
.footer-social-link { opacity: .6; }
.footer-social-link:hover, .footer-social-link:focus-visible { opacity: 1; }
.footer-social-link .ic { width: 24px; height: 24px; }
.footer-social-link .footer-social-ic.is-brand { width: 24px; height: 24px; border-radius: var(--radius-xs); object-fit: contain; }
.site-footer :focus-visible { outline-color: #ffffff; }
.site-footer { --ic-color: #b0aea5; }
/* 老板 2026-11-07 21:00「这里颜色没改，还是蓝色」: every native control (radio, checkbox, range, progress) uses brand black,
   never the browser's default blue. */
html { accent-color: #141413; }
/* ==== 官网审查四 website-review-4 (2026-10-24) — appended block, keep together ==== */
/* Item 1: card titles. One card-title type token (the 21px / 600 used by the room result cards); the room-type cards
   under "Room arrangements" (h3 under the section h2) and the other room cards use it instead of body size. */
:root { --card-title-size: 20px; --card-title-line: 1.25; --card-title-weight: 600; }
.room-card h3, .search-room-body h3 { font-size: var(--card-title-size); line-height: var(--card-title-line); font-weight: var(--card-title-weight); }
.room-card h3 a { text-decoration: none; }
.room-card h3 a:hover, .room-card h3 a:focus-visible { color: var(--hover-ink); text-decoration: none; }
.room-card-body h3 + p { margin-top: 8px; }
@media (max-width: 734px) { :root { --card-title-size: 18px; } }

/* Item 2: one section rhythm. The space between the content of two sections is always --section-space: every section
   pads by it; a section following one with the same (white) background drops its top padding, and an h2 sub-section
   inside a section (e.g. "Room and bed options" under "Room arrangements") starts one --section-space below. */
:root { --section-space: 96px; }
@media (max-width: 1068px) { :root { --section-space: 64px; } }
@media (max-width: 734px) { :root { --section-space: 64px; } }
main .section, .showcase-section, .app-section, .room-type-intro, .room-type-details, .room-common-section, .room-product-layout { padding-block: var(--section-space); }
#residences.section, .about-intro.section, .property-overview.section { padding-top: var(--section-space); }
main .section:not(.app-section):not(.wide-band):not(.page-content) + .section:not(.app-section):not(.wide-band),
.room-type-intro + .room-choice-section, .room-type-switch + .room-type-intro { padding-top: 0; }
.gallery-section { padding-top: 0; }
.room-choice-section { padding-bottom: var(--section-space); }
.room-type-intro { padding-bottom: var(--section-space); }
main .page-content { padding-bottom: var(--section-space); }
/* 老板 2026-10-29「底部那块空白 —— 行高不对」: the rhythm above counts the space between the CONTENT of two
   sections, so the last block inside a section must not add its own bottom margin on top of the section's
   padding. A trailing <ul> (16px), paragraph or note used to stack on the 88px and end the page with a
   visibly empty strip; every content section now closes at exactly one --section-space. */
main .section > *:last-child, main .page-content > *:last-child, main .prose > *:last-child { margin-bottom: 0; }
/* Same rule, one level up. A page that closes with the CTA band lets the band own the bottom rhythm:
   .sx-page already had that exemption, .rt-page never got it, and its trailing (closed) <dialog> hid the
   band from :last-child as well, so the room page ended with 176px of empty strip - twice every other
   page. And the last content section before the footer only needs half a rhythm, because the footer
   brings its own top padding; a full one leaves the empty block 老板 flagged on the residence catalog. */
/* 老板 2026-10-30「Questions about your stay? 与底部栏的间距都有问题」: the last call-to-action card on a page keeps one section
   space above the footer (it sat flush against the footer on 9 pages). */
main .sx-cta:last-child { margin-bottom: var(--section-space); }
.rt-page:has(> .sx-cta) { padding-bottom: 0; }
.rt-page > .sx-cta:last-of-type { margin-bottom: var(--section-space); }
main > .section:last-child, main > .page-content:last-child { padding-bottom: calc(var(--section-space) / 2); }
.tz-room-info { padding-bottom: var(--section-space); }
.tz-related { padding-bottom: var(--section-space); }
#rooms .listing-heading, .room-arrangements + .listing-heading { margin-top: var(--section-space); }
.residence-directory { margin-bottom: calc(var(--section-space) / 2); }
.find-rooms-section { padding-top: calc(var(--section-space) / 2); }

/* Item 3: link groups and metadata without middle-dot separators — spacing does the separating. */
.link-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.result-summary { margin: 8px 0 0; padding: 0; list-style: none; }
.result-summary li + li { margin-top: 2px; }
.section-top .result-summary + p { margin-top: 4px; }
.ab-sub + .ab-sub { margin-top: 2px; color: #5e5d59; font-size: 16px; }
.room-offer-terms { color: #5e5d59; }

/* Item 4: the school combobox (school-combobox.js). */
.school-combobox { position: relative; }
.school-combobox input[role="combobox"] { width: 100%; height: 46px; padding: 0 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: #141413; font-weight: 400; }
.school-combobox input[role="combobox"]:focus { outline: 2px solid var(--action); outline-offset: 1px; }
.school-combobox [role="listbox"] { position: fixed; z-index: 60; top: calc(100% + 4px); left: 0; right: 0; max-height: 280px; margin: 0; padding: 0; overflow-y: auto; list-style: none; border: 6px solid #fff; border-radius: var(--radius-md); background: #fff; box-shadow: 0 0 0 1px #d1cfc5, 0 8px 24px rgba(0,0,0,.12); font-weight: 400; scrollbar-width: thin; scrollbar-color: #d1cfc5 transparent; }
/* 老板 2026-11-01: the scroll bar sat flush against the rounded top, bottom and right edges. A 6px white border (the outline is a
   1px shadow) keeps the bar inside the corners, like the modal fix of 10-31. */
.school-combobox [role="option"] { padding: 8px 16px; cursor: pointer; line-height: 1.35; }
.school-combobox [role="option"][aria-selected="true"] { background: #f4f3ef; }
.school-combobox [role="option"].is-current { font-weight: 700; }
.school-combobox .school-combobox-empty { padding: 8px 16px; color: #73726c; }
@media (max-width: 734px) { .school-combobox [role="listbox"] { max-height: 220px; } }
/* School page (2026-10-29): campus switcher, address lines, route line on residence cards */
/* 校区选择 (老板 2026-10-29): one row of campus cards is the selector — the chosen one carries the brand blue and
   its name is repeated under the school name in the hero. */
.sx-hero-campus { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 4px 16px 4px 8px; border-radius: 999px; background: #f4f3ef; color: var(--action); font-size: 14px; font-weight: 600; }
.sx-hero-campus .ic { width: 16px; height: 16px; }
.sx-campus-picker { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sx-campus-card { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px 16px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; text-decoration: none; color: inherit; transition: border-color .12s, box-shadow .12s; }
.sx-campus-card:hover { border-color: #d1cfc5; box-shadow: 0 2px 8px rgba(183, 43, 53, .08); }
.sx-campus-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #f4f3ef; color: var(--action); }
.sx-campus-ic .ic { width: 18px; height: 18px; color: currentColor; } /* 老板 2026-10-31: pin follows the circle (white on the selected campus) */
.sx-campus-text { min-width: 0; }
.sx-campus-text strong { display: block; font-size: 16px; font-weight: 600; color: var(--tz-ink, #141413); }
.sx-campus-text small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #73726c; }
.sx-campus-card.is-active { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); background: #ffffff; }
.sx-campus-card.is-active .sx-campus-ic { background: var(--action); color: #fff; }
.sx-campus-picker + .sx-small { margin-top: 16px; }
.sx-campus-selected { padding: 16px 24px; border: 1px solid #e5e3dd; border-radius: var(--radius-sm); background: #fff; }
.sx-campus-selected h3, .sx-campus-selected .sx-campus-name { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--tz-ink, #141413); }
.sx-address, .sx-route { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; color: var(--ink-1); font-size: 14px; line-height: 1.4; }
.sx-address .ic, .sx-route .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.sx-route { padding: 0 16px 16px; }
/* Pagers (老板 2026-10-29): three fixed slots (previous | page x of y | next) so the page number stays in the exact
   centre whether or not a previous / next link is shown. */
.results-pagination, .blog-pagination { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; column-gap: 32px; justify-content: stretch; }
.results-pagination > .page-prev, .blog-pagination > .page-prev { justify-self: end; }
.results-pagination > .page-of, .blog-pagination > .page-of { justify-self: center; white-space: nowrap; }
.results-pagination > .page-next, .blog-pagination > .page-next { justify-self: start; }
/* OneMap 地图 (老板 2026-10-29): school page campus map, residence page map (panel replaced), room page location map. */
.sx-map-wrap { margin: 0; }
.sx-map-wrap .om-map { border-radius: var(--radius-md); border: 1px solid #e5e3dd; }
.tz-location-map { margin: 0 0 24px; }
.property-location-map { min-height: 300px; }
.property-location-map .om-map, .property-location-map .om-map.om-tall { height: 100%; min-height: 360px; }
.property-location-map .om-legend { margin-top: 8px; }
@media (max-width: 734px) { .property-location-map .om-map, .property-location-map .om-map.om-tall { min-height: 300px; } }
.school-shortcuts .sx-route-detail { display: block; font-size: 12px; margin-top: 2px; }
/* 老板 2026-10-29「地铁站和餐厅的各自为一行」: one place per line on a residence card. */
/* 老板 2026-10-30「地铁站和餐厅，用黑色，做一下区分」: the MRT and food lines read in black, apart from the grey address and prices. */
.sx-nearby-line { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 8px 0 0; font-size: 13px; font-weight: 500; color: var(--tz-ink, #141413); }
.sx-nearby-line .ic, .property-row-content p.sx-nearby-line { color: var(--tz-ink, #141413); }
.sx-nearby-line span { display: inline-flex; align-items: center; gap: 8px; }
.sx-nearby-line .ic { width: 16px; height: 16px; }
/* 周边场所目录 (老板 2026-10-29，参考 Changi 的 facilities directory): grouped rows, the category icon in a round badge,
   the place and its distance on the left, the travel time in the same chip the school rows use. */
.sx-nearby-list { margin-top: 8px; display: grid; gap: 16px; }
.sx-near-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #73726c; }
.sx-near-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sx-near { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 8px 16px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.sx-near-head { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 220px; }
.sx-near-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #f4f3ef; color: var(--action); }
.sx-near-ic .ic { width: 18px; height: 18px; }
.sx-near-head strong { display: block; font-weight: 600; color: var(--tz-ink, #141413); }
.sx-near-head small { display: block; margin-top: 2px; font-size: 13px; color: #73726c; }
/* 老板 2026-10-30: same lines as a school row: address in the body colour, distance in grey on its own line. */
.sx-near-head .sx-near-address { color: var(--tz-ink, #141413); font-weight: 500; }
.sx-near-head .sx-near-distance { margin-top: 1px; }
.sx-near .sx-mode { min-width: 72px; padding: 8px 8px; }
@media (max-width: 734px) { .sx-near { padding: 8px 16px; } .sx-near-ic { width: 32px; height: 32px; } }
.property-location h3 { margin: 24px 0 8px; font-size: 18px; }
.property-location .sx-small { margin-top: 8px; }
/* 学校路线 (老板 2026-10-29): one row per school with a strip of mode chips (icon + minutes), quickest highlighted. */
.sx-school-routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sx-school-route { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 16px 16px; border: 1px solid #e5e3dd; border-radius: var(--radius-md); background: #fff; }
.sx-school-head { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 260px; }
/* 院校校徽 (老板 2026-10-29「图标统一矩形圆角的里面白底放置 logo」): one rounded white tile per school, holding its
   crest where the office approved one and the graduation-cap icon where it has not. */
.sx-school-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 4px; border: 1px solid #e5e3dd; border-radius: var(--radius-sm); background: #fff; color: var(--ink-1); }
.sx-school-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sx-school-mark .ic { width: 20px; height: 20px; }
.sx-school-routes.is-compact .sx-school-mark { width: 34px; height: 34px; border-radius: var(--radius-sm); }
.sx-school-head .ic { flex: none; margin-top: 2px; color: currentColor; }
.sx-school-head a { font-weight: 600; text-decoration: none; color: var(--tz-ink, #141413); }
.sx-school-head a:hover { color: var(--hover-ink); text-decoration: none; }
/* 老板 2026-10-29: the campus is read as part of the school's name, so it carries the body colour; the distance is
   a separate fact on a line of its own. */
.sx-school-head small { display: block; margin-top: 2px; font-size: 13px; color: #73726c; }
.sx-school-head .sx-school-campus { color: var(--tz-ink, #141413); font-weight: 500; }
.sx-school-head .sx-school-distance { margin-top: 1px; }
.sx-modes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-mode { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 8px 8px; border-radius: var(--radius-sm); background: #f4f3ef; color: var(--ink-3); font-size: 12px; line-height: 1.2; }
.sx-mode .ic { width: 18px; height: 18px; margin-bottom: 4px; }
.sx-mode span { font-size: 14px; font-weight: 700; color: var(--tz-ink, #141413); }
.sx-mode small { margin-top: 2px; font-size: 12px; color: #73726c; white-space: nowrap; }
.sx-mode.is-best { background: var(--action); color: #fff; }
.sx-mode.is-best span, .sx-mode.is-best small, .sx-mode.is-best .ic { color: #fff; }
/* 老板 2026-11-16 13:58 (the boxed black tiles under each school): with one way to travel there is nothing to choose
   between, so no dark "best" tile — one quiet line: the mark, the minutes and how. */
html body .sx-modes > .sx-mode:only-child:not(#_) { flex-direction: row; align-items: center; gap: 8px; min-width: 0; padding: 4px 0; background: transparent; color: var(--ink-3); --ic-tone: initial; --ic-hole: initial; }
html body .sx-modes > .sx-mode:only-child:not(#_) .ic { margin: 0; color: var(--tz-ink, #141413); }
html body .sx-modes > .sx-mode:only-child:not(#_) span { color: var(--tz-ink, #141413); }
html body .sx-modes > .sx-mode:only-child:not(#_) small { margin: 0; color: #73726c; font-size: 14px; }
.sx-school-note { margin: 0; font-size: 13px; }
.sx-school-routes.is-compact .sx-school-route { padding: 8px 16px; }
.sx-school-routes.is-compact .sx-mode { min-width: 64px; padding: 8px 8px; }
@media (max-width: 734px) { .sx-school-route { padding: 16px 16px; } .sx-mode { min-width: 60px; padding: 8px 8px; } }
/* 老板 2026-11-05 14:02: cleaning when the room's bathroom type is not confirmed yet (information, nothing to tick). */
.bk-x-later .bk-x-head { display: block; }
.bk-x-later h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.bk-x-later p { margin: 0; }
/* 官网测试报告 2026-11-05「前端一致性」#18–#23: one set of design variables for the whole site — 1 primary colour (the
   Singroost navy) for filled buttons, 3 heading levels, one button height, one muted grey. Dialogs keep their own sizes. */
:root { --sg-h1: 44px; --sg-h2: 32px; --sg-h3: 20px; --sg-btn-h: 44px; --sg-muted: #5e5d59; }
@media (max-width: 734px) { :root { --sg-h1: 32px; --sg-h2: 26px; --sg-h3: 18px; } }
html body main h1 { font-size: var(--sg-h1) !important; line-height: 1.12; font-weight: 600; }
html body main h2:not(:is(dialog *, .tz-modal *, .cookie-settings-dialog *)) { font-size: var(--sg-h2) !important; line-height: 1.2; font-weight: 600; }
html body main h3:not(:is(dialog *, .tz-modal *, .cookie-settings-dialog *)) { font-size: var(--sg-h3) !important; line-height: 1.3; font-weight: 600; }
.pill { min-height: var(--sg-btn-h); background: var(--action); border-color: var(--action); color: #fff; }
.pill:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
.pill.tz-primary, .pill.tz-secondary { min-height: var(--sg-btn-h); }
.mobile-find-link { background: var(--action) !important; color: #fff !important; }
.muted, .eyebrow, .sx-lede.muted, p.muted, small.muted { color: var(--sg-muted); }
/* N2 / #34: every school one link away on /schools (A to Z) */
.sx-az { columns: 3 220px; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.sx-az li { break-inside: avoid; padding: 8px 0; }
.sx-az a { color: var(--tz-ink, #141413); text-decoration: none; }
.sx-az a:hover { color: var(--hover-ink); text-decoration: none; }

/* 老板 2026-11-07 08:44「官网的房间详情页的 价格和房间名称相隔太近了」: the room title took the site-wide h1 size (44px, set with
   !important on main h1) but kept its own 30px line height, so the glyphs ran past their box and almost touched the
   price. The title keeps the site h1 line height, and the price sits 16px below it. */
.ab-head h1, html body main .ab-head h1 { line-height: 1.12; }
.ab-head h1 + .ab-sub { margin-top: 16px; }
.ab-sub + .ab-sub { margin-top: 8px; }
.ab-head .avail-badge, .ab-head .ab-sub + p { margin-top: 16px; }
/* 老板 2026-11-07 08:53「Student Accommodation in Singapore 字体缩小。左右滑动的箭头应该水平居中」: the page heading on the photo
   is smaller than the slide headline under it. The arrows are centred exactly on the centre line of the slide's search box
   or button (enhance.js --tz-nav-y; 2026-11-03 14:14): the old -24px offset left a 40px arrow 4px high. */
html body main .tz-carousel .tz-carousel-title { font-size: clamp(16px, 1.25vw, 18px) !important; line-height: 1.3; font-weight: 500; letter-spacing: .02em; } /* beats the site-wide main h1 size. 老板 2026-11-08 09:21: the page heading sits above the slides as a small label (about a third of the slide title), so the slide title leads */
/* 老板 2026-11-07 09:41「水平」: the arrows sit on the horizontal centre line of the photo (this replaces the 2026-11-03
   alignment with the search box / button). */
.tz-carousel > .tz-nav { top: 50%; margin-top: 0; transform: translateY(-50%); }

/* 老板 2026-11-07 08:44「检查一下官网所有的字句 图片 方块 之间的距离，不要遗漏每一个页面」: every page crawled at desktop and
   phone width; the places where text sat closer than 8px to the text or box next to it are spaced on the 4/8 scale. */
/* Schedule of Charges: the fee tables had no table styling (centred bold row names, no cell padding, no row lines). */
.page-content .table-wrap { max-width: 100%; margin: 16px 0 32px; overflow-x: auto; }
.page-content .fee-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.page-content .fee-table th, .page-content .fee-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid #e5e3dd; text-align: left; vertical-align: top; }
.page-content .fee-table thead th { padding-top: 0; color: #5e5d59; font-size: 13px; font-weight: 500; }
.page-content .fee-table tbody th { font-weight: 500; color: #141413; }
.page-content .fee-table .num { padding-right: 0; text-align: right; white-space: nowrap; }
.page-content h3 { margin-top: 32px; margin-bottom: 0; }
.page-content h3 + .table-wrap, .page-content h3 + p { margin-top: 8px; }
/* Room cards: the room name, its facts and its price each get room to breathe. */
.search-room-body h3 + .ic-list, .room-card-body h3 + .ic-list { margin-top: 8px; }
.search-room-body .ic-list li + li, .room-card-body .ic-list li + li { margin-top: 4px; }
/* Eyebrow above a page title, a stat label above its value, a summary title above its line. */
.sx-eyebrow + h1, .tz-overline + h1, .hero-overline + h1 { margin-top: 8px; }
.sx-stat-label + .sx-stat-value { margin-top: 8px; }
.pm-summary-text strong + span { display: block; margin-top: 4px; }
/* Partner form: heading and its line; the consent box under the last fieldset. */
.booking-request-head h2 + p { margin-top: 8px; }
.booking-form > .bk-check, .booking-form fieldset + .bk-check { margin-top: 16px; }
/* Lists in legal and help pages: one line of air between items. */
.page-content > ul > li + li, .page-content > ol > li + li { margin-top: 8px; }
/* Old booking-request page and other plain pages: title, text, links. */
.page-content > h1 + p { margin-top: 16px; }
.page-content > p + .link-row { margin-top: 16px; }
/* Breadcrumbs never touch the photo or block under them (room-type and room pages on phones). */
.breadcrumbs + .rt-page, .breadcrumbs + .ab-room { margin-top: 16px; }
/* The fact list on the room page and the line under it. */
.tz-facts + .tz-note { margin-top: 16px; }

/* 老板 2026-11-07 09:51「统一一下 所有的小图标的风格，包括线条粗细」: every line icon (Lucide and the ones drawn on its grid:
   outline, round caps and joins, no fill) draws its lines 1.5px wide on screen at any icon size, so a 16px and a 44px icon
   have the same weight. Charts and filled marks (logos, dots) are not line icons and keep their own drawing. */
svg[fill="none"][stroke="currentColor"] :is(path, circle, rect, line, polyline, polygon, ellipse) { vector-effect: non-scaling-stroke; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; }

/* 老板 2026-11-07 方案 A: portrait video tiles (9:16 posters) and the full-screen player */
.video-section h2 { margin: 0 0 16px; }
.vid-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 216px)); gap: 16px; }
.vid-tile { position: relative; display: block; aspect-ratio: 9/16; overflow: hidden; border-radius: var(--radius-md); background: #141413; color: #fff; text-decoration: none; }
.vid-tile img, .vid-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vid-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.40), rgba(0,0,0,0) 40%); pointer-events: none; }
.vid-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.48); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1; transition: transform .2s ease, background .2s ease; }
.vid-play svg { width: 24px; height: 24px; margin-left: 4px; fill: #fff; stroke: #fff; }
.vid-tile:hover .vid-play, .vid-tile:focus-visible .vid-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(0,0,0,.64); }
.vid-time { position: absolute; right: 8px; bottom: 8px; z-index: 1; padding: 0 8px; border-radius: var(--radius-sm); font-size: 12px; line-height: 24px; font-variant-numeric: tabular-nums; background: rgba(0,0,0,.56); }
.physical-room-detail .video-section { margin-top: 24px; }
.physical-room-detail .vid-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 176px)); }
.vid-viewer { border: 0; padding: 0; margin: auto; max-width: 100vw; max-height: 100vh; background: transparent; overflow: visible; }
.vid-viewer::backdrop { background: rgba(0,0,0,.88); }
/* 老板 2026-11-17 17:49「按钮重新优化设计」(the close button sat on the video, over the phone's own volume control): the close
   button is a white round button above the video, on the dark backdrop, clear of the player's own controls; 44px to tap. */
.vid-viewer[open] { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.vid-viewer video { display: block; height: min(calc(90vh - 60px), 1920px); max-width: 100vw; width: auto; aspect-ratio: 9/16; border-radius: var(--radius-md); background: #141413; }
.vid-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #141413; box-shadow: 0 2px 8px rgba(0,0,0,.32); cursor: pointer; }
.vid-close svg { width: 20px; height: 20px; }
.vid-close:hover, .vid-close:focus-visible { background: #f4f3ef; }
.vid-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 734px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); }
  .physical-room-detail .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); }
  .vid-viewer[open] { gap: 16px; padding-top: env(safe-area-inset-top, 0px); }
  .vid-close { margin-right: 16px; }
  .vid-viewer video { height: auto; max-height: calc(100vh - 76px - env(safe-area-inset-top, 0px)); width: 100vw; border-radius: 0; }
}

/* 老板 2026-11-07 11:03: In your room, Your apartment and Shared facilities share one foldable layout (Airbnb "What this
   place offers" / Marina Bay Sands room details): divider, heading, one muted line, six items in two columns, then
   "Show all N" opens the full list grouped by kind. */
.tz-room-sub.amen-block { margin-top: 0; padding: 48px 0; border-top: 1px solid var(--line); }
.tz-room-sub.amen-block:last-child { padding-bottom: 0; }
/* 老板 2026-11-16 09:37「这2条线有必要存在吗」: no line under the room facts (above the booking note) and none above the first
   facility block (it sat right under the video or the note, with no space); space separates them. Lines stay only
   between two facility blocks. */
html body .tz-room-copy .tz-note:not(#_) { border-top: 0; padding-top: 0; }
html body .tz-room-copy .tz-room-sub.amen-block:not(.amen-block + .amen-block):not(#_) { border-top: 0; margin-top: 0; }
.amen-block h2 { margin: 0; font-size: 26px; line-height: 1.25; }
.amen-grid, .amen-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); margin-top: 24px; }
.amen-grid li, .amen-facts li { align-items: center; font-size: 16px; line-height: 1.4; }
.amen-grid li > .ic, .amen-facts li > .ic { width: 24px; height: 24px; margin-top: 0; flex-shrink: 0; }
.amen-facts li { font-weight: 500; }
.amen-block .amen-sub { margin: 32px 0 0; font-size: 16px; font-weight: 600; }
.amen-block .amen-sub + .amen-grid { margin-top: 16px; }
.amen-all { margin-top: 0; }
.amen-group { padding: 24px 0 0; }
.amen-group + .amen-group { margin-top: 24px; border-top: 1px solid var(--line); }
.amen-group h3 { margin: 0; font-size: 16px; font-weight: 600; }
.amen-group .amen-grid { margin-top: 16px; }
.amen-fold { margin-top: 32px; }
.amen-fold > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid var(--tz-ink); border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; user-select: none; }
.amen-fold > summary::-webkit-details-marker { display: none; }
.amen-fold > summary:hover { background: var(--tz-light); }
.amen-fold > summary:focus-visible { outline: 2px solid var(--tz-ink); outline-offset: 2px; }
.amen-fold > summary .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.amen-fold[open] > summary .ic { transform: rotate(180deg); }
.amen-fold .amen-less, .amen-fold[open] .amen-more { display: none; }
.amen-fold[open] .amen-less { display: inline; }
.amen-fold[open] { display: flex; flex-direction: column-reverse; } /* the open list sits above the "Show less" button */
.amen-fold[open] > summary { align-self: flex-start; margin-top: 32px; }
.amen-block:has(.amen-fold[open]) .amen-preview { display: none; }
.amen-fold[open] .amen-all { margin-top: -8px; }
@media (max-width: 734px) {
  .tz-room-sub.amen-block { padding: 32px 0; }
  .amen-block h2 { font-size: 20px; }
  .amen-grid, .amen-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .amen-fold > summary { width: 100%; justify-content: center; }
}

/* 老板 2026-11-07 11:05: booking steps (Marina Bay Sands band on large screens, Conrad-style vertical list on phones) */
.bk-steps { margin-top: 24px; }
.bk-steps ol { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin: 0; padding: 24px 32px; list-style: none; background: var(--tz-light); border-radius: var(--radius-md); }
.bk-steps-item { display: flex; align-items: center; gap: 16px; color: #b0aea5; }
.bk-steps-num { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #dedcd1; color: #fff; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.bk-steps-num .ic { display: none; width: 20px; height: 20px; color: #fff; stroke: #fff; }
.bk-steps-text { display: flex; flex-direction: column; gap: 4px; }
.bk-steps-label { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
.bk-steps-item.is-done, .bk-steps-item.is-current { color: var(--tz-ink); }
.bk-steps-item.is-done .bk-steps-num, .bk-steps-item.is-current .bk-steps-num { background: var(--tz-ink); }
.bk-steps-item.is-done .bk-steps-digit { display: none; }
.bk-steps-item.is-done .bk-steps-num .ic { display: block; }
.bk-steps-change { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--tz-ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 734px) {
  .bk-steps ol { position: relative; flex-direction: column; align-items: stretch; gap: 16px; padding: 24px; }
  .bk-steps-item { position: relative; }
  .bk-steps-item { align-items: flex-start; }
  .bk-steps-text { min-height: 32px; justify-content: center; }
  .bk-steps-item:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: -16px; width: 2px; background: #dedcd1; }
  .bk-steps-item.is-done:not(:last-child)::after { background: var(--tz-ink); }
  .bk-steps-num { width: 32px; height: 32px; font-size: 14px; }
  .bk-steps-label { letter-spacing: .06em; }
}
/* 老板 2026-11-07 20:56「黑色和白色按钮，鼠标悬浮的效果，直接参考 https://claude.com/」 (read from claude.com's Button module):
   - black button: the colour stays #141413 and a 2px ring of the same black grows around it (box-shadow 0 0 0 2px);
   - white button: the white rectangle itself grows by 2px like the black one and its #d1cfc5 hairline moves out to the new edge
     (box-shadow 0 0 0 2px #fff, 0 0 0 3px #d1cfc5; 老板 2026-11-08 10:54 / 11:00「白色还没有做出来」);
   - transitions: colour .1s, background, border and ring .2s, ease-in-out; no underline, no grey fill. */
.pill, .mobile-find-link, .carousel-arrow { transition: color .1s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out, transform .2s ease, opacity .2s ease; }
.detail-hero .hero-actions .pill + .pill:hover, .room-type-hero .hero-actions .pill + .pill:hover, .guide-hero .hero-actions .pill + .pill:hover, .pill.pill.light:hover, .pill.pill.tz-secondary:hover, .showcase-arrows .carousel-arrow.carousel-arrow:hover:not(:disabled), .pill.light:hover, .hero .pill:hover, .residence-panel .pill:hover, .property-hero .pill.light:hover, .app-section .pill:hover, .wide-band .pill:hover, .showcase-copy .pill:hover,
.guide-hero-actions .pill.light:hover, .guide-feature .pill:hover, .pill.tz-secondary:hover, .tz-slide-copy .pill.tz-secondary:hover,
.rt-actions .pill.tz-secondary:hover, .sx-actions .pill.tz-secondary:hover, .room-type-hero .pill:hover, .room-product-hero .pill:hover,
.carousel-arrow:hover:not(:disabled), .showcase-arrows .carousel-arrow:hover:not(:disabled), .photo-rail-btn.photo-rail-btn:hover:not(:disabled) { background: #fff; border-color: #fff; color: #141413; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d1cfc5; outline: none; } /* 老板 2026-11-08 11:00: a white button grows by 2px exactly like a black one: white ring, hairline at the new edge; never a black frame */
/* Light buttons are white with a #d1cfc5 hairline at rest, like claude.com's tertiary button (no translucent grey). */
.pill.pill.light, .pill.pill.tz-secondary, .showcase-arrows .carousel-arrow.carousel-arrow { background: #fff; border: 1px solid #d1cfc5; color: #141413; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pill:hover, .home-hero .hero-actions .pill:first-child:hover, .hero .hero-actions .pill:first-child:hover, .detail-hero .pill:hover,
.guide-hero-actions .pill:first-child:hover, .pill.tz-primary:hover, .tz-slide-copy .pill.tz-primary:hover, .room-type-hero .pill:first-child:hover, .room-product-hero .pill:last-child:hover,
.mobile-find-link:hover { background: #141413; border-color: #141413; color: #fff; box-shadow: 0 0 0 2px #141413; }
.guide-close-actions .pill.outline:hover { background: transparent; border-color: #d1cfc5; color: #fff; box-shadow: 0 0 0 2px #d1cfc5; } /* outline on the dark band */
/* 老板 2026-11-07 21:16「官网 必须填写的 加上这个红色* 用英国国旗红色」: every required field shows a Union Jack red asterisk
   after its label. Driven by the control's own required attribute, so a field that becomes required (or optional) in script
   updates by itself. The asterisk is visual only (alt text ""), screen readers already announce "required". */
.school-field:has(:is(input, select)[required]) > label::after, /* 老板 2026-11-08 11:27: a required school picker */
:is(label.bk-field, label.sx-field, label.bk-upload, .booking-form label:not(.bk-check), .sx-form label:not(.bk-check)):has(:is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]), select, textarea)[required]) > span:first-child::after,
label.bk-check:has(> input[type=checkbox][required]) > span::after,
fieldset:has(input[type=radio][required]) > legend::after { content: " *" / ""; color: var(--accent); font-weight: 500; }
/* 老板 2026-11-07 21:32「这个太粗糙了」 (the browser's own checkbox, only tinted black): checkboxes and radios are drawn by us,
   in the claude.com manner. 18px, white with a 1px #b0aea5 hairline; checked = brand black with a fine white tick (checkbox)
   or a black ring with an 8px dot (radio); hover darkens the edge; keyboard focus shows a black ring. :not(#_) keeps these
   ahead of older per-form sizes (19px, 22px) so every box on the site is the same. */
html body input[type="checkbox"]:not(#_), html body input[type="radio"]:not(#_) { --control-box: 18px; -webkit-appearance: none; appearance: none; box-sizing: border-box; flex: none; width: var(--control-box); height: var(--control-box); min-width: var(--control-box); min-height: 0; padding: 0; border: 1px solid #b0aea5; background: #fff no-repeat center / 12px 12px; vertical-align: -3px; cursor: pointer; transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; }
html body input[type="checkbox"]:not(#_) { border-radius: var(--radius-xs); }
html body input[type="radio"]:not(#_) { border-radius: 50%; corner-shape: round; }
html body label:has(> input[type="checkbox"], > input[type="radio"]) > input:is([type="checkbox"], [type="radio"]):not(#_) { margin-block: max(0px, calc((1lh - var(--control-box)) / 2)); } /* centred on the first line of its label */
html body input[type="checkbox"]:not(#_):hover:not(:disabled), html body input[type="radio"]:not(#_):hover:not(:disabled) { border-color: #141413; }
html body input[type="checkbox"]:not(#_):checked { border-color: #141413; background-color: #141413; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.75 8.25 6.75 11.25 12.25 5'/%3E%3C/svg%3E"); }
html body input[type="checkbox"]:not(#_):indeterminate { border-color: #141413; background-color: #141413; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M4 8h8'/%3E%3C/svg%3E"); }
html body input[type="radio"]:not(#_):checked { border-color: #141413; background: #141413; box-shadow: inset 0 0 0 4px #fff; }
html body input[type="checkbox"]:not(#_):focus-visible, html body input[type="radio"]:not(#_):focus-visible { outline: 1px solid #141413; outline-offset: 2px; }
html body input[type="checkbox"]:not(#_):disabled, html body input[type="radio"]:not(#_):disabled { opacity: .45; cursor: default; }
/* 老板 2026-11-07 22:59「官网 可以按动的字体用深灰色，鼠标悬浮的时候，变成黑色。而不是黑色字体，鼠标悬浮的时候变成灰色」:
   clickable text rests in dark grey and turns black on hover (the reverse of before). Links, menu items and link labels use
   #5e5d59; clickable titles in cards #3d3d3a so headings keep their weight. Buttons and the dark footer keep their own rules. */
:root { --link-ink: var(--ink-2); --link-title-ink: var(--ink-1); --hover-ink: var(--ink-1); }
.main-nav a, .header-actions .text-link, .text-link, .breadcrumbs a, .breadcrumb a, .prose a, main p a:not(.pill), main li > a:not(.pill):not([class]),
.sx-link-list a, .faq-preview-list a span:first-child, .school-link-grid a span:first-child, .sx-az a,
.school-card-main, .school-card-main span, .rt-card-link, .space-card .text-link, .cookie-inline-button, .res-more-button, .page-next, .page-prev, .tz-included-link, a.eyebrow, .sx-partner-addr { color: var(--link-ink); transition: color .1s ease-in-out; }
.room-card h3, .room-card h3 a, .property-row h3, .property-row-content h2 a, .blog-card h2 a, .room-option-content h3 a, .faq-guide-grid a strong, .sx-school-head a, .sx-card-link { color: var(--link-title-ink); /* 12:57: a school's name on its card reads as a card title */ transition: color .1s ease-in-out; }
.main-nav a:hover, .header-actions .text-link:hover, .text-link:hover, .breadcrumbs a:hover, .breadcrumb a:hover, .prose a:hover, main p a:not(.pill):hover, main li > a:not(.pill):not([class]):hover,
.sx-link-list a:hover, .faq-preview-list a:hover span:first-child, .school-link-grid a:hover span:first-child, .sx-az a:hover, .sx-school-head a:hover,
.school-card-main:hover, .school-card-main:hover span, .rt-card:hover .rt-card-link, .sx-card:hover .sx-card-link, .sx-featured:hover .sx-card-link, .space-card:hover .text-link, .cookie-inline-button:hover, .res-more-button:hover, .page-next:hover, .page-prev:hover, .tz-included-link:hover, a.eyebrow:hover, .sx-partner-addr:hover,
.room-card:hover h3, .room-card h3 a:hover, .property-row:hover h3, .property-row-content h2 a:hover, .blog-card h2 a:hover, .room-option-content h3 a:hover, .faq-guide-grid a:hover strong { color: #141413; text-decoration-color: currentColor; }
.main-nav a:hover { background: transparent; }
.main-nav a[aria-current="page"], .main-nav a[data-active-section="true"] { color: #141413; background: #f4f3ef; }
.site-footer a, .site-footer .footer-link { transition: color .1s ease-in-out; }
/* 老板 2026-11-07 23:25「Find by school 这种小标题，都去掉」: section kickers are removed from the pages (website-pages.cjs
   stripKickers). The two labels that carry information (the residence name on a room card, "Monthly rent from" over a price)
   stay, but as plain small grey text, not as upper-case, letter-spaced mini headings. */
.eyebrow, .tz-overline { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
/* 老板 2026-11-07 23:28「Singroost Novena 的图片尺寸和另外2个不一样…应该是标准的固定尺寸，上传后自动裁剪」: the residence photo
   on the residence list used to stretch to the height of its text column, so a residence with a longer description got a
   taller (more cropped) photo. Every residence photo is now one fixed 4:3 frame (on phones too), filled by a centred crop
   of whatever was uploaded, and sits centred beside its text. */
.property-row { min-height: 0; align-items: center; }
.property-row .card-image-link { align-self: center; aspect-ratio: 4 / 3; height: auto; }
.property-row img, .property-row .media-empty, .property-row .card-image-link img, .property-row .card-image-link .media-empty { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
/* phones keep the same 4:3 frame (老板 2026-11-07 23:42: measured on Airbnb, 4:3 on desktop and phone) */
/* 老板 2026-11-08 网站合并卡片: identical rooms share one card. The card says how many are open to book (per gender when
   some rooms are kept for women or men); the booking form asks the resident's gender as two choice tiles. */
.rt-open { margin: 4px 0 0; font-size: 14px; color: #5e5d59; }
.ab-head .rt-open, .tz-order-card .rt-open { margin: 8px 0 0; }
.booking-form fieldset.bk-gender { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--gutter); border: 0; padding: 0; margin: 0; }
.booking-form fieldset.bk-gender > legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.booking-form fieldset.bk-gender .bk-check { min-height: 44px; padding: 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); align-items: center; cursor: pointer; }
.tz-book .booking-form fieldset.bk-gender .bk-check { grid-column: auto; }
.booking-form fieldset.bk-gender .bk-check:has(input:checked) { border-color: #141413; background: #f4f3ef; }
.booking-form fieldset.bk-gender > small { grid-column: 1 / -1; color: #5e5d59; font-size: 13px; }
@media (max-width: 734px) { .booking-form fieldset.bk-gender { grid-template-columns: 1fr; } }
/* 老板 2026-11-08 08:57「删除所有的这类 加黑 加粗的外线框」: a focused form field no longer gets a thick dark outer ring; it shows
   focus by darkening its own 1px border. Buttons and links keep their keyboard-only focus ring. */
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea):not(#_):focus, html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea):not(#_):focus-visible { outline: none; box-shadow: none; border-color: #141413; }
html body .school-combobox input[role="combobox"]:not(#_):focus { outline: none; }
/* 老板 2026-11-08 09:16「Book with confidence 为什么没有全靠左对齐」: on the white page the block has no inset; it lines up with the summary. */
.tz-book-summary .bk-confidence { padding: 0; margin: 24px 0; background: transparent; }
/* 老板 2026-11-08 10:16 Room arrangements as two cards in the style of claude.com's plan cards: no photo; an icon, a large
   room-type title, one line of what it is, the starting rent large with its condition in small type, then one full-width
   black button. White cards with a hairline border and generous padding. */
.kind-cards { gap: var(--gutter); align-items: stretch; }
.kind-card { display: flex; flex-direction: column; padding: 48px; border: 1px solid #e5e3dd; border-radius: var(--radius-lg); background: #fff; }
.kind-card-icon { display: block; color: #141413; }
.kind-card-icon .kind-art { display: block; width: auto; height: 80px; overflow: visible; } /* 老板 2026-11-08 10:28: hand-drawn plan illustrations (website-room-art.cjs) */
html body main .kind-card h3 { margin: 32px 0 16px; font-size: var(--sg-h2) !important; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; } /* the site type scale: section-title size, so the room type leads the card */
/* 老板 2026-11-16 16:03「一句话快速描述 单人间/双人间…用来区分」 */
.kind-card-desc { margin: 0; max-width: 46ch; color: #5e5d59; font-size: 16px; line-height: 1.55; }
.kind-card-price { margin: 32px 0 8px; font-size: 26px; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }
.kind-card-note { margin: 0; color: #5e5d59; font-size: 14px; line-height: 1.5; }
.kind-card .avail-badge { margin: 16px 0 0; }
.kind-card .kind-card-button { margin-top: auto; width: 100%; justify-content: center; }
.kind-card > :nth-last-child(2) { margin-bottom: 32px; } /* space above the button, which sits at the bottom so both buttons line up */
@media (max-width: 734px) { .kind-card { padding: 32px 24px; } .kind-card h3 { margin-top: 24px; } }
/* 老板 2026-11-08 10:37「A look inside 超过3张，就左右滑动查看」: more than three photos become one sideways row, three in
   view on a computer (arrow buttons beside the heading) and one and a bit on a phone (swipe); each photo snaps into place. */
@media (min-width: 735px) { .gallery-section[data-rail] .section-top { align-items: flex-end; } }
.photo-rail-nav { display: flex; gap: 8px; flex: none; }
.photo-rail-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #d1cfc5; border-radius: 50%; background: #fff; color: #141413; cursor: pointer; transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out; }
.photo-rail-btn:disabled { opacity: .35; cursor: default; }
.photo-rail-btn:focus-visible { outline: 2px solid #141413; outline-offset: 2px; }
.photo-rail { --rail-gap: 16px; display: flex; gap: var(--rail-gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.photo-rail::-webkit-scrollbar { display: none; }
.photo-rail:focus-visible { outline: 2px solid #141413; outline-offset: 4px; }
.photo-rail-item { flex: 0 0 calc((100% - 2 * var(--rail-gap)) / 3); margin: 0; scroll-snap-align: start; }
.photo-rail-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); background: #ecebe6; }
@media (max-width: 734px) { .photo-rail-nav { display: none; } .photo-rail-item { flex-basis: 82%; } .gallery-section .section-top { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .photo-rail { scroll-behavior: auto; } }
/* 老板 2026-11-08 10:41「Video tour 超过6个…左右滑动查看…屏幕自适应」: more than six videos become one sideways row; six in
   view on a full computer screen, four on a tablet or narrow window, two and a bit on a phone. Photos: three, two, one and a bit. */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.rail-head h2 { margin: 0; }
.video-section .vid-grid.vid-rail { --rail-gap: 16px; display: flex; gap: var(--rail-gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.vid-rail::-webkit-scrollbar { display: none; }
.vid-rail:focus-visible { outline: 2px solid #141413; outline-offset: 4px; }
.vid-rail > li { flex: 0 0 calc((100% - 5 * var(--rail-gap)) / 6); scroll-snap-align: start; }
@media (max-width: 1068px) { .vid-rail > li { flex-basis: calc((100% - 3 * var(--rail-gap)) / 4); } .photo-rail-item { flex-basis: calc((100% - var(--rail-gap)) / 2); } }
@media (max-width: 734px) { .vid-rail > li { flex-basis: 42%; } .photo-rail-item { flex-basis: 82%; } .rail-head .photo-rail-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .vid-rail { scroll-behavior: auto; } }
/* 老板 2026-11-08 10:50「这种加粗的线条效果不是都删除了吗？」: no thick dark ring on anything. A mouse click or tap shows no
   ring at all; keyboard users (Tab) still see where they are, as a thin 1px line around buttons, links and controls. */
html body :focus:not(:focus-visible):not(#_) { outline: none; }
html body :is(button, a, summary, label, [role="button"], [tabindex], .pill, .carousel-arrow, .tz-nav, .photo-rail-btn):not(#_):focus-visible { outline: 1px solid #141413; outline-offset: 2px; box-shadow: none; }
html body :is(.photo-rail, .vid-rail, [data-rail-track]):not(#_):focus-visible { outline: 1px solid #d1cfc5; outline-offset: 4px; }
/* 老板 2026-11-08 10:54「黑色和白色按钮的效果要一样。统一官网所有的按钮效果」: every white button on the website (pills, Show more,
   arrows, the dropdown summary) behaves like the black one on hover: it keeps its colours and grows a 2px ring in its
   own border colour; no black frame, no grey fill. */
html body :is(.res-more > summary, .res-more-button, .photo-rail-btn):not(#_):hover:not(:disabled) { background: #fff; border-color: #fff; color: #141413; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d1cfc5; outline: none; }
html body :is(.res-more > summary, .res-more-button):not(#_) { transition: color .1s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out; }
/* 老板 2026-11-08 10:58「公寓页的最上面横幅板块重新设计一下。要和官网其他的设计有呼应，看起来像一个整体」: the residence hero is the
   site's section hero (sx-hero): text left on white, rounded 4:3 photo right. The address uses the school page's campus chip;
   two facts follow; a white "View N photos" chip on the picture grows on hover like every white button. */
.res-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.res-hero-chips .sx-hero-campus { margin: 0; }
.res-hero-code { font-variant-numeric: tabular-nums; } /* 老板 2026-11-08 11:22: the residence code beside the address */
.res-hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink-1); font-size: 16px; line-height: 1.5; }
.res-hero-facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.res-hero-facts svg { flex: none; width: 20px; height: 20px; color: #141413; }
.res-hero .sx-hero-media { position: relative; }
.res-hero-photos { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border: 1px solid #d1cfc5; border-radius: 999px; background: #fff; color: #141413; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; transition: box-shadow .2s ease-in-out, border-color .2s ease-in-out; }
.res-hero-photos svg { width: 16px; height: 16px; }
.res-hero-photos:hover { border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d1cfc5; text-decoration: none; }
@media (max-width: 734px) {
  .res-hero-facts { gap: 8px 16px; font-size: 14px; }
  .res-hero-photos { left: 12px; bottom: 12px; }
}
/* 老板 2026-11-08 11:05: the enquiry form ends like the booking form: a required consent box, the Terms of Use / Privacy
   Policy line under its text, then the reply promise (3 working days) and the button. */
.sx-form .sx-consent { display: flex; align-items: flex-start; gap: 8px; margin: 24px 0 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: #141413; cursor: pointer; }
.sx-form .sx-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.sx-form > .muted.sx-legal-note { margin: 8px 0 0; }
.sx-form > .muted.sx-legal-note + .muted { margin-top: 16px; }
.sx-partner-apply .bk-terms-note { margin: 8px 0 0; }
/* 老板 2026-11-08 11:10: the student app panel's drawn phone (APP_PHONE_ART) replaces the enlarged line icon. */
.sx-panel > .app-phone-art { display: block; width: 56px; height: 88px; }
@media (max-width: 734px) { .sx-panel > .app-phone-art { display: none; } }
/* 老板 2026-11-08 11:24「首页滚动图的搜索按钮、确认按钮鼠标悬浮效果虽然放大了，但是效果不够丝滑」: some buttons had their
   transition narrowed by an older rule (the carousel buttons: "background-color .33s, color .33s"), so the 2px ring
   appeared in one frame. Every button, arrow and chip animates the same properties with the same timing. */
html body :is(.pill, .mobile-find-link, .carousel-arrow, .photo-rail-btn, .res-more-button, .res-more > summary, .res-hero-photos, .footer-social-link, .tz-nav, .showcase-arrows .carousel-arrow, .rt-seg a):not(#_) { transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out, opacity .2s ease-in-out, transform .33s cubic-bezier(.5, 0, 0, .75); }
/* 老板 2026-11-08 11:28: in a row of room-type cards the description takes the spare height, so the prices, notes and
   buttons line up across the cards. */
.kind-cards .kind-card { display: flex; flex-direction: column; }
/* 老板 2026-11-08 11:33「为什么标题的距离都是不一样？你检查一下全站」: every page opens the same way. The breadcrumb sits
   32px under the header (16px on a phone) and the page title starts 24px under the breadcrumb, whether the breadcrumb is
   inside the hero (sx-hero) or above it (page-head, room-type pages). A hero with a photo keeps its text at the top
   instead of centring it on the photo, so the breadcrumb never drifts down the page; on a phone the room-type title
   comes before its photo, as on every other page. */
html body main > .breadcrumbs:not(#_) { margin-top: 32px; margin-bottom: 0; }
html body main > .breadcrumbs + .page-head:not(#_) { padding-top: 24px; }
html body main > .breadcrumbs + .page-head:not(#_) h1 { margin-top: 0; }
html body .sx-hero:not(#_) { padding-top: 32px; }
html body .sx-hero.has-media:not(#_), html body .rt-hero:not(#_) { align-items: start; }
html body main > .breadcrumbs + :is(.rt-page, .ab-room):not(#_) { margin-top: 0; padding-top: 24px; }
html body main > .breadcrumbs + .rt-page > .rt-hero:first-child:not(#_) { padding-top: 0; margin-top: 0; }
html body .rt-hero-copy > :first-child:not(#_) { margin-top: 0; }
@media (max-width: 1068px) {
  html body main > .breadcrumbs:not(#_) { margin-top: 16px; }
  html body .sx-hero:not(#_) { padding-top: 16px; }
  html body .rt-hero > .rt-hero-copy:not(#_) { order: -1; }
}
/* 老板 2026-11-08 11:31: the school page's room-type switch (reference: a grey track, the chosen option a white rounded
   pill with a soft shadow, each option with its icon). */
.kind-switch { margin: 0 0 24px; }
.kind-seg { gap: 4px; padding: 4px; border-radius: var(--radius-lg); background: #ecebe6; }
.kind-seg a { gap: 8px; min-height: 44px; padding: 0 24px; border-radius: var(--radius-md); color: #5e5d59; font-size: 14px; font-weight: 500; }
.kind-seg a .ic { width: 18px; height: 18px; }
.kind-seg a[aria-current="page"] { background: #fff; color: #141413; box-shadow: 0 1px 4px rgba(20, 20, 19, .12); }
.kind-seg a:not([aria-current]):hover { color: #141413; }
@media (max-width: 734px) { .kind-seg { display: flex; width: 100%; } .kind-seg a { flex: 1 1 0; padding: 0 8px; font-size: 14px; } .kind-seg a .ic { display: none; } }
/* 老板 2026-11-08 11:36: room results are cards everywhere (Find a room, school pages, residence pages): a hairline
   border and rounded corners make each room one unit, rows 24px apart; the photo is flush at the top, the text starts
   20px under it with the residence name as a small line, and the "View room" buttons line up at the bottom of a row. */
html body .search-room-grid:not(#_) { gap: 24px var(--gutter); }
html body .search-room-card:not(#_) { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e5e3dd; border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out; }
html body .search-room-card:not(#_):hover { border-color: #dedcd1; box-shadow: 0 6px 20px rgba(26, 25, 24, .07); }
html body .search-room-photo:not(#_) img, html body .search-room-photo:not(#_) .media-empty { border-radius: var(--radius-md) var(--radius-md) 0 0; }
html body .search-room-body:not(#_) { display: flex; flex: 1; flex-direction: column; padding: 16px 24px 24px; }
html body .search-room-body:not(#_) > .search-room-residence { margin: 0 0 4px; color: #5e5d59; font-size: 13px; font-weight: 500; text-decoration: none; }
html body .search-room-body:not(#_) > .search-room-residence:hover { color: #141413; text-decoration: underline; }
html body #rooms .search-room-body:not(#_) > .search-room-residence { display: none; } /* the residence page names it already */
html body .search-room-body:not(#_) h3 { margin: 0; }
html body .search-room-actions:not(#_) { margin-top: auto; padding-top: 16px; }
html body .search-room-body:not(#_) p.search-room-beds { margin: 8px 0 0; }
@media (max-width: 734px) { html body .search-room-body:not(#_) { padding: 16px; } }
/* 老板 2026-11-08 11:23: the detailed feature icons (website-spot-icons.cjs, the student-app phone's style) at 48px in
   section cards, steps, room-type tiles, empty photo panels and the offers note; 40px beside a notice or summary row. */
.spot { display: block; flex: none; width: 48px; height: 48px; }
html body :is(.sx-card-icon, .sx-steps li, .rt-tiles li, .sx-nophoto, .sx-offers-empty) > .spot:not(#_) { width: 48px; height: 48px; }
html body .sx-steps li > .spot:not(#_), html body .rt-tiles li > .spot:not(#_), html body .sx-stats li > .spot:not(#_) { margin-bottom: 16px; }
html body .spot.pay-warning-ic:not(#_), html body .spot.pm-summary-ic:not(#_) { width: 40px; height: 40px; padding: 0; background: none; }
@media (max-width: 734px) { html body :is(.sx-card-icon, .sx-steps li, .rt-tiles li) > .spot:not(#_) { width: 40px; height: 40px; } }
/* 老板 2026-11-08 11:42: in a card the WhatsApp / WeChat marks sit in the same 48px box as the drawn icons beside them. */
html body .sx-card-icon > :is(.ic-whatsapp, .ic-wechat, img.ic-brand):not(#_) { display: block; width: 40px; height: 40px; margin: 4px; }
/* 老板 2026-11-08 11:42: two-tone line icons (website-icons.cjs paints closed shapes in .ic-tone under the lines). The
   tone is the warm grey on light backgrounds and is switched off where the icon is drawn in white on a dark surface. */
.ic .ic-tone { fill: var(--ic-tone, #e5e3dd); }
.ic .ic-hole { fill: var(--ic-hole, #fff); }
/* 老板 2026-11-16 08:19「地铁图标有点奇怪」: the chosen travel mode is a dark chip; its train is drawn in lines like the others there. */
:is(.site-footer, .pill.tz-primary, .tz-primary, .bk-done-check, .home-hero, .tz-carousel, .sx-about-hero, .guide-close, .mobile-find-link, .om-marker, .is-dark, .sx-mode.is-best) { --ic-tone: transparent; --ic-hole: transparent; }
/* 老板 2026-11-08 13:28「✅ 中间不应该有其他的灰色，直接白色」: a coloured status icon (available, coming soon, alerts) is white inside. */
:is(.avail-badge, .avail-date, [role="alert"], .form-error, .is-ok, .is-warn, .is-error, .bk-status, .pay-warning) { --ic-tone: #fff; }
/* 老板 2026-11-08 11:49: the FAQ search — a field with a dropdown of matching questions (the school search's look), our own
   grey clear button (the browser's blue one is hidden) and a Search button. */
.faq-searchbar { max-width: 720px; margin-top: 24px; }
.faq-search-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--tz-ink); }
.faq-search-row { display: flex; gap: 8px; align-items: stretch; }
.faq-combobox { flex: 1 1 auto; min-width: 0; }
html body .faq-combobox input[role="combobox"]:not(#_) { padding-right: 48px; }
.faq-combobox input::-webkit-search-cancel-button, .faq-combobox input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
html body .faq-combobox [role="listbox"]:not(#_) { position: absolute; top: calc(100% + 4px); left: 0; right: 0; }
.faq-clear { position: absolute; top: 50%; right: 8px; display: inline-grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: #73726c; cursor: pointer; transition: background-color .2s ease-in-out, color .2s ease-in-out; }
.faq-clear:hover { background: #f4f3ef; color: #141413; }
.faq-clear[hidden] { display: none; }
.faq-clear .ic { width: 16px; height: 16px; }
html body .faq-search-btn:not(#_) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; width: auto; height: 46px; min-width: 0; margin: 0; padding: 0 24px; color: #fff; }
html body .faq-search-btn:not(#_) .ic { color: #fff; }
html body .faq-search-btn:not(#_) .ic { width: 18px; height: 18px; color: #fff; }
@media (max-width: 734px) { html body .faq-search-btn:not(#_) { width: 46px; padding: 0; } html body .faq-search-btn:not(#_) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
/* 老板 2026-11-08 13:21 (screenshot of the home residences carousel): the arrows grow by their 2px ring in place, like every
   button — the old lift (translateY(-2px)) is gone — and the controls row keeps 4px of room inside the clipped carousel
   shell so the ring is never cut off at its edge. */
html body .carousel-arrow:hover:not(:disabled):not(#_), html body .photo-rail-btn:hover:not(:disabled):not(#_) { transform: none; }
html body .showcase-controls:not(#_) { padding: 4px; margin-right: 0; }
/* 老板 2026-11-08 13:24: room cards ("More rooms like this" and every list using publicListingCard) open the room from the
   photo, the title or anywhere on the card. */
.room-card-linked { position: relative; }
.room-card-linked .room-card-photo { display: block; color: inherit; text-decoration: none; }
.room-card-linked .room-card-link { color: var(--tz-ink); text-decoration: none; }
.room-card-linked .room-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-md); }
.room-card-linked:hover .room-card-link { text-decoration: underline; text-underline-offset: 3px; }
.room-card-linked .room-card-photo img { transition: opacity .2s ease-in-out; }
.room-card-linked:hover .room-card-photo img { opacity: .92; }
.room-card-linked .room-card-link:focus-visible::after { outline: 1px solid #141413; outline-offset: 2px; }
/* 老板 2026-11-08 13:29: the app page "Good to know" cards; the store card ends with its two text links. */
.sx-card-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 14px; }
/* 老板 2026-11-08 13:27: Find a room is its own page. */
html body .find-rooms-page:not(#_) { margin-top: 0; padding-top: 0; border-top: 0; } /* 老板 2026-11-15 10:53: no rule between the page intro and the search box */
/* 老板 2026-11-14 14:41: Find a room is one search box (room-search.js), like the mini program's room search. What is chosen
   sits in the box as chips; the list of matches opens under it. */
.room-search { position: relative; max-width: 720px; margin: 8px 0 32px; }
.room-search-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 56px; padding: 8px 8px 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-lg); background: #fff; transition: border-color .18s ease; }
.room-search-field:focus-within { border-color: #141413; }
.room-search-field > .ic { flex: none; color: #73726c; }
html body .room-search-field input:not(#_) { flex: 1 1 160px; min-width: 0; height: 40px; padding: 0; border: 0; background: transparent; color: #141413; font: inherit; font-size: 16px; outline: none; box-shadow: none; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.room-search-field input::placeholder { color: #73726c; opacity: 1; }
.room-search-field input::-webkit-search-cancel-button, .room-search-field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.room-search-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-height: 40px; padding: 0 8px 0 16px; border-radius: var(--radius-sm); background: #f4f3ef; color: #141413; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .18s ease; }
.room-search-chip:hover { background: #ecebe6; }
.room-search-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-search-chip .ic { flex: none; width: 16px; height: 16px; color: #73726c; }
.room-search-go { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; padding: 0; border: 0; border-radius: var(--radius-md); background: #f4f3ef; color: #141413; cursor: pointer; transition: background-color .18s ease; }
.room-search-go:hover { background: #ecebe6; }
.room-search-go .ic-tone { fill: none; } /* 老板 2026-11-15 09:36: a light button with a plain dark search icon */
.room-search-panel { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; max-height: min(420px, 60vh); overflow-y: auto; padding: 8px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px #d1cfc5, 0 8px 24px rgba(0,0,0,.12); scrollbar-width: thin; scrollbar-color: #d1cfc5 transparent; }
.room-search-panel[hidden] { display: none; }
/* 老板 2026-11-15 09:24: a thin scroll track that stays inside the rounded panel */
/* 09:35: the track stands off the panel edge like the school list in the residence window: a white border around the
   scrolling area (the scroll track sits inside it), and a gap between the rows and the track. */
.room-search-panel { padding: 0 8px 0 0; border: solid #fff; border-width: 12px 8px; scrollbar-width: thin; scrollbar-color: #d1cfc5 transparent; overscroll-behavior: contain; }
.room-search-panel::-webkit-scrollbar { width: 8px; }
.room-search-panel::-webkit-scrollbar-track { background: transparent; }
.room-search-panel::-webkit-scrollbar-thumb { background: #d1cfc5; border-radius: 999px; }
/* 老板 2026-11-15 09:34: rows as in the mini program: the icon in a soft tile, a school logo in a white tile */
.room-search-tile, .room-search-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: #f4f3ef; overflow: hidden; }
.room-search-tile .ic { width: 20px; height: 20px; color: #141413; }
.room-search-logo { box-sizing: border-box; border: 1px solid #e5e3dd; background: #fff; }
.room-search-logo img { width: 28px; height: 28px; object-fit: contain; }
.room-search-photo { flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm); background: #f4f3ef; overflow: hidden; }
.room-search-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-search-group + .room-search-group { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.room-search-group-title { display: block; padding: 8px 16px 4px; color: #73726c; font-size: 13px; font-weight: 600; }
.room-search-option { display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-sm); color: #141413; font-size: 16px; line-height: 1.35; text-decoration: none; cursor: pointer; }
.room-search-option .ic { flex: none; color: #73726c; }
.room-search-option[aria-selected="true"] { background: #f4f3ef; }
.room-search-option[aria-disabled="true"] { color: #73726c; cursor: default; }
.room-search-text { flex: 1 1 0; display: flex; align-items: baseline; justify-content: space-between; gap: 0 16px; min-width: 0; }
.room-search-sub { color: #73726c; font-size: 13px; text-align: right; }
.room-search-none { display: block; padding: 16px; color: #73726c; font-size: 16px; }
.room-search-miss { margin: -16px 0 32px; color: #5e5d59; font-size: 16px; }
.find-rooms-page > .residence-directory { margin: var(--section-space) 0 32px; }
@media (max-width: 734px) {
  .room-search { margin-bottom: 24px; }
  html body .room-search-field input:not(#_) { flex-basis: 64px; }
  .room-search-text { flex-direction: column; }
  .room-search-sub { text-align: left; }
}
/* 老板 2026-11-08 13:47 residences page: two-up residence cards (cardGrid) with the residence code on the photo,
   and three route cards. */
.res-cards { gap: 48px 32px; }
.res-card .sx-card-media { position: relative; }
.res-card-code { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 4px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .94); color: #141413; font-size: 13px; font-weight: 500; line-height: 1.6; box-shadow: 0 1px 2px rgba(20, 20, 19, .08); }
.res-card-code .ic { width: 14px; height: 14px; }
.res-card .sx-card-body { gap: 8px; }
.sx-card p.res-card-address { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--ink-1); font-size: 16px; line-height: 1.5; }
.res-card-address .ic { flex: none; width: 16px; height: 16px; margin-top: 4px; color: #141413; }
.res-card-prices { display: grid; gap: 4px; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--tz-line, #e5e3dd); list-style: none; color: var(--ink-1); font-size: 14px; line-height: 1.5; }
.res-card-prices li { margin: 0; }
.res-card-prices strong { color: #141413; font-weight: 500; }
/* 老板 2026-11-16 09:40「检查一下，其他页面是否有同样的」: the line between the address and the prices sat 10 px from the text;
   no line, the card's own spacing separates them. */
html body .res-card .res-card-prices:not(#_) { border-top: 0; padding-top: 4px; }
.res-card .avail-badge { margin: 0; }
.res-card .sx-card-more { padding-top: 4px; }
.res-routes .sx-card-more { padding-top: 16px; }
@media (max-width: 734px) {
  .res-cards { gap: 48px; }
  .res-card-code { top: 12px; left: 12px; }
}
/* 官网测试报告 2026-11-08 #21: numbered pages between Previous and Next. */
.page-numbers { display: inline-flex; align-items: center; gap: 4px; }
.page-num { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--radius-sm); color: var(--link-ink, var(--tz-ink)); text-decoration: none; font-variant-numeric: tabular-nums; }
a.page-num:hover { background: var(--tz-light); }
.page-num[aria-current="page"] { background: var(--tz-ink); color: #fff; font-weight: 600; }
.page-gap { min-width: 20px; text-align: center; color: var(--tz-muted); }

/* 老板 2026-11-09 10:43「More rooms like this 间距有问题」: the bed count follows the availability line (not pushed to the card
   foot), and the section ends one ordinary gap before the next block. */
.tz-related .room-card-body > p:last-child:not(.price) { margin-top: 8px; padding-top: 0; }
.tz-related { padding-bottom: 64px; }

/* ==== 设计评审 2026-11-12 (老板 11:42: design quality / originality / craft / functionality) ====
   Craft and usability fixes only; the look (black, white, warm greys, hand-drawn icons) is unchanged.
   1. A photo placeholder that sits behind text (hero slides, residence carousel) shows no caption: "Photo not
      available" was printed through the hero lede.
   2. Small grey text on a tinted surface uses the next darker grey of the ramp (#5e5d59), so it reaches 4.5:1.
   3. Phones: every control has a touch area of at least 44px high (FAQ questions, carousel dots, header button,
      footer links) without moving anything on screen.
   4. A section heading keeps the same 32px to its content when no intro line follows it. */
.tz-hero > .media-empty, .tz-panel > .media-empty, .showcase-slide > .media-empty, .room-type-hero > .media-empty, .room-product-hero > .media-empty { font-size: 0; color: transparent; }
.media-empty { color: #5e5d59; }
.property-location-panel span, .property-location-panel small { color: #5e5d59; }
.faq-item { padding: 0; }
.faq-item > summary { padding: 24px 0; }
.faq-item[open] > summary { padding-bottom: 0; }
.faq-item[open] { padding-bottom: 24px; }
.carousel-dot { position: relative; }
.carousel-dot::before { content: ""; position: absolute; inset: -16px -4px; }
.sx-head + .kind-cards { margin-top: 32px; }
.shell:has(> .sx-head:only-child) + .showcase-shell { margin-top: 32px; }
@media (max-width: 1068px) { .mobile-find-link { min-height: 44px; } }
@media (max-width: 734px) {
  .footer-col a { display: inline-block; padding-block: 8px; }
  .footer-col li + li { margin-top: 0; }
  .footer-col ul { padding-bottom: 16px; } /* 老板 2026-11-16 09:40: the last link 11 px from the line below was too tight */
  .footer-contact a { display: inline-block; padding-block: 4px; }
  .sx-link-list li { padding: 0; }
  .sx-link-list li > a { display: block; padding: 16px 0; }
}
/* Type scale (老板 2026-11-12 12:15「同意」: 官网字号收敛): every text size is one of 12, 13, 14, 16, 18, 20, 26, 32, 44 px
   (54px only for the home hero slide title). 14 = controls, tables and data; 16 = body copy; 18 = intro lines and
   FAQ questions; 20 = card and step titles; 26 = figures and phone section titles; 32 = section titles; 44 = page
   titles. Sizes 15, 17, 19, 21, 22, 24, 28, 34 and 40 are no longer used. */
small { font-size: 13px; }
/* 老板 2026-11-12 12:16「统一分行列表」: shared facilities on the room page are the residence page's grouped rows. */
.rt-shared > .amen-all { margin-top: 8px; }
.rt-shared > .amen-grid, .rt-shared > .amen-fold { margin-top: 24px; }
.rt-shared > .amen-preview + .amen-fold { margin-top: 0; }
/* ==== end 设计评审 2026-11-12 ==== */
/* 老板 2026-11-15 10:27「只要是有圆角的位置都使用连续曲率圆角」: no control is switched back to circular corners (the 09:37 block was removed); only true circles and pills stay round (generated block below). */

/* 老板 2026-11-15 10:44「这3段文字的间距太近了」: the booking policy points stand apart: each title on its own line over
   its sentence, 24px between the points, a readable line length. */
.sx-policy.ic-list { display: grid; gap: 24px; max-width: 760px; }
.sx-policy.ic-list li + li { margin-top: 0; }
.sx-policy.ic-list li { line-height: 1.5; }
.sx-policy.ic-list li strong { display: block; margin-bottom: 4px; }

/* 老板 2026-11-16 09:42–10:10 (website-pages.cjs homeSplit): the home hero without a carousel. Photo on the left; on the right the
   title and one small line, centred over a rounded card (claude.com sign-in card) with the school search (typing effect, a light
   search mark button; choosing a school opens it at once), "Or" and a Find a room button. 10:10: the photo is sized to the whole
   block (equal columns, as tall as the right side). Phones: the title and the card first, the photo below. */
.home-split { padding: 16px 0 64px; }
.home-split-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: stretch; min-height: min(620px, calc(100svh - 136px)); }
.home-split-media { position: relative; isolation: isolate; min-height: 480px; overflow: hidden; border-radius: var(--radius-lg); background: #f4f3ef; }
.home-split .home-split-media .hero-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-height: none; margin: 0; object-fit: cover; }
.home-split-copy { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; padding: 32px 0; text-align: center; }
.home-split-title { margin: 0; color: var(--tz-ink); font-size: 54px; line-height: 1.04; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.home-split-tagline { margin: 16px 0 0; color: var(--tz-ink); font-size: 18px; line-height: 26px; text-wrap: balance; }
.home-split-panel { width: 100%; max-width: 460px; margin: 48px 0 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: 0 1px 2px rgba(20, 20, 19, .03), 0 12px 40px rgba(20, 20, 19, .05); }
.home-split .home-split-search { display: flex; flex-direction: row; align-items: center; gap: 8px; width: 100%; max-width: none; margin: 0; padding: 4px 4px 4px 8px; border: 1px solid #d1cfc5; border-radius: var(--radius-md); background: #fff; text-align: left; transition: border-color .15s ease; }
.home-split .home-split-search:focus-within { border-color: var(--tz-ink); }
.home-split .home-split-search .school-field { flex: 1 1 auto; width: auto; min-width: 0; }
html body .home-split .home-split-search input[role="combobox"]:not(#_), .home-split .home-split-search select { height: 44px; padding: 0 8px; border: 0; background: transparent; box-shadow: none; font-size: 16px; }
.home-split .home-split-search .school-combobox .school-typing { inset: 0 8px; }
.home-split .home-split-search .room-search-go { width: 44px; height: 44px; margin: 0; }
.home-split-or { margin: 16px 0; color: var(--tz-muted); font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; }
.home-split .home-split-panel .home-split-find { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin: 0; border-radius: var(--radius-md); font-size: 16px; }
@media (max-width: 1068px) {
  .home-split-inner { gap: 48px; }
  .home-split-title { font-size: 44px; }
  .home-split-panel { padding: 24px; }
}
@media (max-width: 734px) {
  .home-split { padding: 8px 0 48px; }
  .home-split-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; }
  .home-split-copy { order: -1; padding: 24px 0 0; }
  .home-split-media { min-height: 0; aspect-ratio: 4 / 3; }
  .home-split-tagline { font-size: 16px; line-height: 24px; }
  .home-split-panel { max-width: none; margin-top: 24px; padding: 24px; }
}

/* 老板 2026-11-16 17:02「Menu改为 3条线；手机端时 展开后 下拉菜单 覆盖整个窗口 在菜单最下栏 展示 Find a room 按钮以及 增加一个Contact 按钮」:
   the menu button is three lines (the last one shorter) that turn into a cross while open; the open menu covers the whole
   window under the header, its links from the top and Contact + Find a room side by side at the bottom. */
.main-nav .mobile-nav-actions { display: none; }
.menu-icon { display: block; width: 24px; height: 24px; overflow: visible; }
.menu-icon .menu-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; transform-box: view-box; transform-origin: 12px 12px; transition: transform .2s ease, opacity .2s ease, stroke-dasharray .2s ease; }
.menu-icon .menu-line.l3 { stroke-dasharray: 11 40; }
.menu-button[aria-expanded="true"] .menu-line.l1 { transform: translateY(5.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-line.l2 { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-line.l3 { stroke-dasharray: 18 40; transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 1068px) {
  html body .menu-button:not(#_) { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
  html body .main-nav.open:not(#_) { position: fixed; top: 58px; left: 0; right: 0; bottom: auto; width: 100vw; height: calc(100vh - 58px); height: calc(100dvh - 58px); /* the header (backdrop blur) is the containing block, so the height is set, not bottom: 0 */ z-index: 40; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 0; box-shadow: none; }
  html body .main-nav.open > a:not(#_) { display: flex; align-items: center; min-height: 56px; padding: 0 8px; border-radius: var(--radius-sm); border-bottom: 1px solid #e5e3dd; font-size: 20px; font-weight: 500; background: transparent; }
  html body .main-nav.open .mobile-nav-actions:not(#_) { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
  html body .main-nav.open .mobile-nav-actions .pill:not(#_) { flex: 1 1 0; min-width: 0; width: auto; min-height: 48px; justify-content: center; font-size: 16px; }
  html.menu-open { overflow: hidden; } /* not on body: a body that clips becomes the scroll box and the sticky header (the menu's frame) jumps back to the top of the page (老板 17:26: after scrolling, Menu did not open) */
}

/* 老板 2026-11-16 19:34–19:35「Nearby 和 Schools near this residence 手机端官网 这里的布局有很大的问题」: on a phone every row
   reads the same way: the icon or crest, the name, address or campus and distance beside it, then the travel times on
   their own line under the text (never squeezed to the right of a two-line name), as one row of small pills: the
   quickest dark, the others light, a single time as a light pill too, so no row looks different from the next. */
@media (max-width: 734px) {
  html body :is(.sx-near, .sx-school-route):not(#_) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; }
  html body :is(.sx-near-head, .sx-school-head):not(#_) { align-items: flex-start; gap: 16px; flex: none; }
  html body .sx-near > .sx-modes:not(#_) { padding-left: 48px; }
  html body .sx-school-route > .sx-modes:not(#_) { padding-left: 48px; margin-left: 8px; } /* crest 40 + gap 16 = 56: the pills start under the school name */
  html body .sx-modes:not(#_) { gap: 8px; }
  html body .sx-modes > .sx-mode:is(*, :only-child):not(#_) { flex-direction: row; align-items: baseline; gap: 4px; min-width: 0; padding: 8px 16px; border-radius: 999px; background: #f4f3ef; color: var(--ink-3); line-height: 1.2; }
  html body .sx-modes > .sx-mode:is(*, :only-child):not(#_) .ic { align-self: center; width: 16px; height: 16px; margin: 0 4px 0 0; color: var(--tz-ink, #141413); }
  html body .sx-modes > .sx-mode:is(*, :only-child):not(#_) span { font-size: 14px; font-weight: 700; color: var(--tz-ink, #141413); }
  html body .sx-modes > .sx-mode:is(*, :only-child):not(#_) small { margin: 0; font-size: 13px; color: #73726c; white-space: nowrap; }
  html body .sx-modes > .sx-mode.is-best:not(#_) { background: var(--action); }
  html body .sx-modes > .sx-mode.is-best:not(#_) :is(span, small, .ic) { color: #fff; }
}

/* 老板 2026-11-16 19:45「这里的分割线很多余，之前我们有删除，为什么这里还会存在？」: the 09:37 fix took the line off the
   first amenity block only; every amenity block (Your apartment, Shared in your apartment, Shared facilities …) and every
   amenity group now stands on spacing alone, on every screen size. */
html body .tz-room-copy .tz-room-sub.amen-block:not(#_), html body .amen-group + .amen-group:not(#_) { border-top: 0; }
html body .tz-room-copy .tz-room-sub.amen-block + .tz-room-sub.amen-block:not(#_) { padding-top: 0; }

/* 老板 2026-11-16 19:43–19:44「检查手机端官网其他页面的间距」(test/spacing-audit.cjs, every page at 390px and 1280px):
   - room page: "All 31 schools with travel times" sat 16px above "More rooms like this": that section starts one section
     space below the location block;
   - room page: the last room card sat two section spaces (128px) above the "Questions about your stay?" band, because the
     related-rooms section padded below it and the band also kept its own margin: the band alone sets that space;
   (the residence page's "Know the address" heading is 80px under the room arrangements on a white page: as designed). */
.tz-location + .tz-related, .tz-location ~ .tz-related { padding-top: var(--section-space); }
body:has(> .contact-strip) main .tz-related { padding-bottom: 0; }

/* 老板 2026-11-16 20:31「这里的间距明显有问题…不要再出现同样的问题」(school page: "Nearest residences to … first." sat directly
   on the room-type switch). Every section heading block keeps space above what follows it, whatever that is (an intro
   then a switch, prose, a list); checked on every page at 390px and 1280px by test/spacing-audit-1116.test.cjs:
   - school page: heading block → All rooms / Single Room / Twin Sharing Room switch: 24px;
   - offers page: "About Singroost offers" → its text: 24px;
   - room page location: "Ordered by travel time …" → the school list: 16px. */
html body .sx-head + .kind-switch:not(#_) { margin-top: 24px; }
html body .sx-head + .sx-prose:not(#_) { margin-top: 24px; }
html body .tz-location-grid .sx-small + .sx-school-routes:not(#_) { margin-top: 16px; }
/* home page: the hero kept its own 48px (64px on wider screens) under the photo on top of the next section's space, so
   "Choose your space" sat 114px under the photo on phones; the next section's space alone sets it (64px phone, 96px). */
html body .home-split:has(+ .sx-section):not(#_) { padding-bottom: 0; }
/* 老板 2026-11-16 23:28: the residence's rooms section opens with "Room and bed options" (no Room arrangements cards above
   it any more): the heading starts the section, the room-type switch sits 24px under it, offers then the room cards. */
html body #rooms > .shell > .listing-heading:first-child:not(#_) { margin-top: 0; }
html body #rooms .listing-heading + .kind-switch:not(#_) { margin-top: 24px; }
html body #rooms :is(.kind-switch, .listing-heading, .term-notice) + :is(.rooms-offers, .term-notice):not(#_) { margin-top: 16px; }
html body #rooms .rooms-offers .room-offer:first-child:not(#_) { margin-top: 0; }
html body #rooms :is(.kind-switch, .rooms-offers, .term-notice) + .search-room-grid:not(#_) { margin-top: 24px; }
/* 老板 2026-11-17 08:10「不要每个信息 都做得像按钮一样。容易视觉上让人误解 都可以点击。全面检查一下」: only what can be
   pressed looks like a button. Facts are an icon and text, with no box, fill or pill (checked on every page at 390px and
   1280px by test/button-look-1117.test.cjs):
   - room page "Room details" (Twin Sharing Room, Private bathroom, 403 sqft, Mid Floor) and the residence facts
     (Landed, Single Room, Twin Sharing Room): an icon list in two columns;
   - the residence hero address and code, the school hero campus: icon and text in the body colour (blue reads as a link);
   - travel times (Schools near this residence, Nearby, school pages): "icon 18 min Bus" in a row; the quickest in the
     ink colour, the others grey. */
html body main .tz-fact-grid li:not(#_), html body .property-overview .residence-facts li:not(#_) { min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
html body main .tz-fact-grid.ic-grid li.no-ic:not(#_) { padding-left: 0; }
html body .property-overview .residence-facts:not(#_) { gap: 16px var(--gutter); grid-auto-rows: auto; }
html body .sx-hero-campus:not(#_) { padding: 0; background: transparent; color: var(--tz-ink, #141413); font-weight: 400; }
html body .sx-hero-campus:not(#_) .ic { color: currentColor; } /* 11-17 colour rules: the icon has its words' colour */
html body .res-hero-chips:not(#_) { flex-direction: column; align-items: flex-start; gap: 8px; }
html body .sx-modes:not(#_) { gap: 8px 24px; }
html body .sx-modes > .sx-mode:is(*, :only-child, .is-best):not(#_) { flex-direction: row; align-items: baseline; gap: 4px; min-width: 0; padding: 0; background: transparent; color: #73726c; }
html body .sx-modes > .sx-mode:is(*, :only-child, .is-best):not(#_) .ic { align-self: center; width: 16px; height: 16px; margin: 0 4px 0 0; color: #73726c; }
html body .sx-modes > .sx-mode:is(*, :only-child, .is-best):not(#_) span { font-size: 16px; font-weight: 600; color: #73726c; }
html body .sx-modes > .sx-mode:is(*, :only-child, .is-best):not(#_) small { margin: 0; font-size: 14px; color: #73726c; white-space: nowrap; }
html body .sx-modes > .sx-mode.is-best:not(#_) :is(.ic, span) { color: var(--tz-ink, #141413); }
html body .sx-modes > .sx-mode.is-best:not(#_) span { font-weight: 700; }
/* 老板 2026-11-17 08:22「这两个图 不应该挨着」(About: the hero photo, then the "Who we are" photo straight under it on a
   phone): on a phone a photo band that follows a hero with a photo shows its text first, its photo after it. */
@media (max-width: 734px) {
  html body .has-media + .sx-band:not(#_) .sx-band-media, html body .has-media + .sx-band.is-reverse:not(#_) .sx-band-media { order: 2; }
}
html body .sx-modes > .sx-mode.is-best:not(#_) :is(small, .x-small) { color: #73726c; }
html body main .tz-fact-grid.ic-grid:not(#_) { gap: 16px var(--gutter); }
@media (max-width: 734px) {
  html body .sx-modes > .sx-mode:is(*, :only-child, .is-best):not(#_) { padding: 0; background: transparent; }
  html body .sx-modes > .sx-mode.is-best:not(#_) { background: transparent; }
  html body .sx-modes > .sx-mode.is-best:not(#_) :is(span, .ic) { color: var(--tz-ink, #141413); }
  html body .sx-modes > .sx-mode.is-best:not(#_) :is(small, .x-small) { color: #73726c; }
  html body .sx-modes > .sx-mode:is(*, :only-child, .is-best):not(#_) span { font-size: 16px; }
}

/* 11-17 colour rules: the school list without script (before school-combobox.js runs) looks like the other fields */
.filter-field select { width: 100%; min-height: 46px; padding: 8px 16px; border: 1px solid #d1cfc5; border-radius: var(--radius-sm); background: #fff; color: var(--ink-1); font: inherit; }

/* 老板 2026-11-17 16:20「手机端如果只有一个视频的时候，就展示全屏的，点击就可以播放。如果超过一个视频的时候，就变成可以左右滑动，
   然后再点击视频去播放」: on a phone one video fills the width (kept within the screen height, above the booking bar); two or more
   are one sideways row, each video most of the width with the next one peeking, and a tap plays it (enhance.js player). */
@media (max-width: 734px) {
  .video-section .vid-grid.vid-n1, .physical-room-detail .video-section .vid-grid.vid-n1 { display: block; }
  .video-section .vid-n1 .vid-tile { width: 100%; max-height: calc(100svh - 200px); }
  .video-section .vid-grid:not(.vid-n1), .physical-room-detail .video-section .vid-grid:not(.vid-n1) { --rail-gap: 16px; display: flex; gap: var(--rail-gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .video-section .vid-grid:not(.vid-n1)::-webkit-scrollbar { display: none; }
  .video-section .vid-grid:not(.vid-n1) > li, .video-section .vid-rail > li { flex: 0 0 78%; scroll-snap-align: start; }
  .video-section .vid-grid:not(.vid-n1) .vid-tile { max-height: calc(100svh - 200px); }
}

/* 老板 2026-11-17 20:02 / 20:06 /offers: refer a friend, the price promise and the offer email sign-up */
.sx-referral-note { margin-top: 24px; }
/* 老板 2026-11-17 21:48 referral: picture beside the title, three points in one card, then steps and questions */
.sx-referral-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sx-referral-art { display: block; width: 100%; height: auto; }
.sx-referral-copy h2 { margin: 8px 0 0; }
.sx-referral-copy p.muted { margin: 16px 0 0; line-height: 1.6; }
.sx-referral-copy .sx-actions { margin-top: 24px; }
.sx-referral-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); margin: 48px 0 0; padding: 48px 32px; border-radius: var(--radius-lg); background: #f4f3ef; list-style: none; text-align: center; }
.sx-referral-points h3 { margin: 0; font-size: 20px; }
.sx-referral-points p { margin: 16px 0 0; color: var(--ink-2); line-height: 1.6; }
.sx-referral-steps { margin-top: 48px; }
/* 老板 2026-11-18 15:47「线条太多了，视觉混乱」: the reward panel is a soft fill (no outline) and the three steps have no rule
   above them; only the questions below keep their dividers. */
.sx-referral-steps li { padding-top: 0; border-top: 0; }
.sx-referral-faq-title { margin: 48px 0 16px; font-size: 20px; }
@media (max-width: 734px) {
  .sx-referral-hero, .sx-referral-points { grid-template-columns: 1fr; }
  .sx-referral-hero { gap: 24px; }
  .sx-referral-hero > .sx-referral-art { order: 2; } /* the heading leads on a phone; the picture follows */
  .sx-referral-points { gap: 24px; padding: 32px 24px; }
}
.sx-referral .sx-actions { margin-top: 24px; }
.sx-promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.sx-promise-list li { display: flex; gap: 16px; align-items: flex-start; }
.sx-promise-list li > svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--tz-ink); }
.sx-promise-list h3 { margin: 0; font-size: 16px; }
.sx-promise-list p { margin: 8px 0 0; color: #5e5d59; line-height: 1.5; }
.sx-promise-note { margin-top: 24px; }
.sx-subscribe-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px var(--gutter); align-items: start; padding: 48px; border-radius: var(--radius-lg); background: var(--tz-light); }
.sx-subscribe-text { display: flex; gap: 16px; align-items: flex-start; }
.sx-subscribe-text h2 { margin: 0; }
.sx-subscribe-text p { margin: 8px 0 0; color: #5e5d59; line-height: 1.5; }
.sx-subscribe-row { display: flex; gap: 8px; align-items: flex-end; }
.sx-subscribe-row .sx-field { flex: 1; min-width: 0; }
.sx-subscribe-row .pill { flex: none; min-height: 46px; }
.sx-subscribe-form .sx-consent { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: #141413; cursor: pointer; }
.sx-subscribe-form .sx-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.sx-subscribe-form .sx-legal-note { margin-top: 8px; }
.sx-subscribe-msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-1); }
.sx-subscribe-msg:empty { display: none; }
.sx-subscribe-msg.is-error { color: #b42318; }
.sx-subscription .sx-note { display: flex; gap: 16px; align-items: flex-start; max-width: 640px; }
.sx-subscription h1 { margin: 0; font-size: 32px; }
.sx-subscription p { margin: 8px 0 0; }
.sx-subscription-form, .sx-subscription .sx-actions { margin-top: 24px; }
@media (max-width: 734px) {
  .sx-promise-list, .sx-subscribe-box { grid-template-columns: 1fr; }
  .sx-subscribe-box { padding: 24px; }
  .sx-subscribe-row { flex-direction: column; align-items: stretch; }
  .sx-subscribe-text > :first-child:not(div) { display: none; }
}

/* 老板 2026-11-17 20:13 offers as coupons (home page and /offers): text only, the value on a brand-red stub, a dashed tear
   line with two notches cut in the page colour, the whole coupon one link */
.sx-coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.sx-coupon { position: relative; display: grid; grid-template-columns: 152px minmax(0, 1fr); min-height: 168px; border: 1px solid #e5e3dd; border-radius: var(--radius-lg); background: #ffffff; transition: border-color .2s; }
.sx-coupon:hover { border-color: #b0aea5; }
.sx-coupon-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px 16px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: var(--accent); color: #ffffff; text-align: center; }
.sx-coupon-cur { font-size: 14px; font-weight: 600; line-height: 1; }
.sx-coupon-value { margin-top: -8px; font-size: 32px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sx-coupon-unit { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sx-coupon-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-left: 2px dashed #d1cfc5; }
.sx-coupon-body::before, .sx-coupon-body::after { content: ""; position: absolute; left: -13px; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; border: 1px solid transparent; transform: rotate(45deg); }
.sx-coupon-body::before { top: -12px; border-right-color: #e5e3dd; border-bottom-color: #e5e3dd; }
.sx-coupon-body::after { bottom: -12px; border-top-color: #e5e3dd; border-left-color: #e5e3dd; }
.sx-coupon h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.sx-coupon-link { color: var(--ink-1); text-decoration: none; }
.sx-coupon-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); }
.sx-coupon-link:focus-visible { outline: none; }
.sx-coupon:has(.sx-coupon-link:focus-visible) { box-shadow: 0 0 0 2px #141413; }
.sx-coupon-text { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.sx-coupon .sx-offer-facts { margin: 0; }
.sx-coupon-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; color: var(--ink-1); font-size: 14px; font-weight: 600; }
.sx-coupon-more .ic, .sx-coupon-more svg { width: 16px; height: 16px; }
.sx-coupon:hover .sx-coupon-more { text-decoration: underline; }
.sx-coupon-value.sx-coupon-word { margin-top: 0; font-size: 26px; letter-spacing: .04em; }
@media (max-width: 734px) {
  .sx-coupons { grid-template-columns: 1fr; }
  .sx-coupon { grid-template-columns: 112px minmax(0, 1fr); min-height: 0; }
  .sx-coupon-value { font-size: 26px; }
  .sx-coupon-body { padding: 16px; }
}
/* 老板 2026-11-18 10:44: the home referral strip, the size of the app panel; the picture sits on a dark tile whose corners
   follow the continuous-curvature rule (corner-shape in the generated block) like every other tile and panel */
/* 老板 2026-11-18 12:42「左边的图，太小了」: the picture fills the strip's whole height on the left, edge to edge (the panel
   clips it to its own continuous corners); the strip keeps the app panel's height. Tablet: the button sits under the title
   beside the picture. Phone: the picture on top at full width. */
.sx-panel.home-refer-panel { padding: 0 48px 0 0; overflow: hidden; }
.home-refer-art { display: block; align-self: stretch; width: 272px; min-height: 188px; flex: none; background: #141413; }
.home-refer-art svg { display: block; width: 100%; height: 100%; }
@media (max-width: 1068px) {
  .sx-panel.home-refer-panel { grid-template-columns: 240px minmax(0, 1fr); padding: 0 32px 0 0; row-gap: 16px; }
  .home-refer-art { grid-row: 1 / span 2; width: 240px; min-height: 0; }
  .home-refer-panel > div { align-self: end; padding-top: 32px; }
  .sx-panel.home-refer-panel > .pill { grid-column: 2; align-self: start; margin-bottom: 32px; }
}
@media (max-width: 734px) {
  .sx-panel.home-refer-panel { grid-template-columns: minmax(0, 1fr); padding: 0 0 24px; row-gap: 24px; }
  .home-refer-art { grid-row: auto; width: 100%; aspect-ratio: 440 / 304; }
  .home-refer-panel > div { padding: 0 24px; }
  /* 老板 2026-11-18 13:10「按钮错误」: the phone button is full width (line 1240) — keep it inside the 24px side padding */
  .sx-panel.home-refer-panel > .pill { grid-column: 1; justify-self: stretch; width: auto; min-width: 0; margin: 0 24px; }
}
/* 老板 2026-11-18 10:45「重新设计」: booking gifts as quiet cards — icon tile, value label, title, three short facts */
.sx-gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px var(--gutter); margin: 32px 0 0; padding: 0; list-style: none; }
.sx-gift { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px solid #e5e3dd; border-radius: var(--radius-lg); background: #fff; }
.sx-gift-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sx-gift-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: #f4f3ef; color: var(--ink-1); }
.sx-gift-icon svg { width: 24px; height: 24px; }
.sx-gift-value { color: var(--ink-2); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.sx-gift-title { margin: 0; font-size: 20px; line-height: 1.3; }
.sx-gift-facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.sx-gift-facts li { padding-left: 16px; position: relative; }
.sx-gift-facts li::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: #b0aea5; }
.sx-gift-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; color: var(--ink-1); font-size: 14px; font-weight: 600; }
.sx-gift-more svg { width: 16px; height: 16px; }
.sx-gift-more:hover { text-decoration: underline; }
@media (max-width: 734px) { .sx-gift { padding: 24px; } .sx-gifts { grid-template-columns: minmax(0, 1fr); } }

.sx-nobr { white-space: nowrap; } /* 2026-11-18 12:52: a hyphenated word stays whole */

/* 老板 2026-11-18 15:22「这些标题与问题的文字一样，没有区分，间距很很近」: a FAQ category reads as a section heading — larger
   (28px on desktop), more room above it (64px between categories) and 16px before its first question — and the questions
   step down to medium weight, so heading and question are no longer the same text. */
.sx-faq-answers .faq-group, .faq-group { margin-bottom: 64px; }
html body main .faq-group > h2:not(#_), html body main .faq-group > h3:not(#_) { margin: 0 0 16px; font-size: 26px !important; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; } /* beats the site-wide main h3 size (--sg-h3) */
.faq-item summary { font-weight: 500; }

/* continuous-corners:start (generated by server/tools/continuous-corners.cjs from style.css; do not edit by hand) */
@supports (corner-shape: squircle) {
  :where(*, *::before, *::after) { corner-shape: squircle; }
  :root { --radius-xs: 6px; --radius-sm: 12px; --radius-md: 18px; --radius-lg: 24px; --radius-xl: 36px; }
  .carousel-dot { corner-shape: round; }
  .tz-hero-dots .carousel-dot { corner-shape: round; }
  .ab-close { corner-shape: round; }
  .ab-arrow { corner-shape: round; }
  .tz-modal-close { corner-shape: round; }
  .bk-done-check { corner-shape: round; }
  .bk-tl-ic { corner-shape: round; }
  .footer-social-link { corner-shape: round; }
  .footer-social-link .footer-social-ic { corner-shape: round; }
  .page-loader-ring::before { corner-shape: round; }
  .sx-hero-campus { corner-shape: round; }
  .sx-campus-ic { corner-shape: round; }
  .sx-near-ic { corner-shape: round; }
  .vid-play { corner-shape: round; }
  .vid-close { corner-shape: round; }
  .bk-steps-num { corner-shape: round; }
  html body input[type="radio"]:not(#_) { corner-shape: round; }
  .photo-rail-btn { corner-shape: round; }
  .res-hero-photos { corner-shape: round; }
  .room-search-panel::-webkit-scrollbar-thumb { corner-shape: round; }
  @media (max-width: 734px) {
    html body .sx-modes > .sx-mode:is(*, :only-child):not(#_) { corner-shape: round; }
  }
  .sx-coupon-body::before, .sx-coupon-body::after { corner-shape: round; }
  .sx-gift-facts li::before { corner-shape: round; }
}
/* continuous-corners:end */
/* ==== end 官网审查四 block ==== */
