:root {
  --ink: #111827;
  --muted: #748095;
  --green: #64e95a;
  --purple: #7c58e7;
  --page: #f5f6f8;
  --peach: #fff3ec;
  --card: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #e9edf2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: radial-gradient(circle at 20% 10%, #f9e8df, transparent 30%), #e9edf2;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 80% 25%, rgba(124, 88, 231, .09), transparent 28%);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(100, 233, 90, .35);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 80px rgba(21, 29, 42, .16);
}

.home-page {
  min-height: 100dvh;
  background: linear-gradient(180deg, #fff7f2 0%, #fde6dc 58%, #fbeee8 100%);
}

.mobile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 7px 24px 0;
  color: #0b0d11;
  font-size: 12px;
}

.mobile-status strong {
  font-size: 15px;
  letter-spacing: -.3px;
}

.home-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 12px 0 15px;
  background: rgba(255, 247, 242, .94);
  backdrop-filter: blur(18px);
}

.campus-trigger {
  display: flex;
  min-width: 0;
  flex: 1;
  text-align: left;
  background: transparent;
  flex-direction: column;
}

.selector-line {
  display: flex;
  align-items: center;
  min-width: 0;
}

.province-tag {
  flex: 0 0 auto;
  margin-right: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  color: #40b957;
  background: rgba(100, 238, 94, .14);
  font-size: 11px;
  font-weight: 800;
}

.campus-name {
  max-width: 188px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  letter-spacing: -.25px;
}

.down-caret {
  margin-left: 4px;
  color: #9098a5;
  font-size: 12px;
}

.nav-slogan {
  margin-top: 2px;
  color: #8a94a4;
  font-size: 11px;
}

.search-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e1e4e8;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
}

.search-glyph {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #526176;
  border-radius: 50%;
}

.search-glyph::after {
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #526176;
  content: "";
  transform: rotate(45deg);
}

.h5-capsule {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 82px;
  height: 34px;
  padding: 0 10px;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  color: #090b0e;
  font-size: 12px;
}

.h5-capsule i {
  width: 1px;
  height: 18px;
  background: #e3e4e6;
}

.home-content {
  padding: 12px 15px calc(28px + env(safe-area-inset-bottom));
}

.hero-slider {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1190 / 598;
  border-radius: 22px;
  background: #e8edf1;
  box-shadow: 0 12px 28px rgba(145, 104, 84, .08);
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .12s ease;
}

.hero-slider img.banner-fade {
  opacity: .2;
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  gap: 6px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cfd9e5;
  transition: all .2s ease;
}

.hero-dots button.active {
  width: 21px;
  background: var(--green);
}

.pressable {
  transition: transform .12s ease, opacity .12s ease;
}

.pressable:active {
  opacity: .88;
  transform: scale(.985);
}

.match-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 10px;
  border: 1px solid rgba(101, 237, 91, .3);
  border-radius: 17px;
  text-align: left;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(91, 217, 82, .08);
}

.match-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, #7bf36f, #5ce957);
  place-items: center;
}

.match-icon img {
  width: 31px;
  height: 31px;
}

.match-copy {
  display: block;
  min-width: 0;
  padding: 0 9px;
  flex: 1;
}

.match-title,
.match-subtitle {
  display: block;
}

.match-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.match-title em {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #56c957;
  background: #efffec;
  font-size: 9px;
  font-style: normal;
}

.match-subtitle {
  margin-top: 4px;
  color: #69758a;
  font-size: 11px;
}

.match-action {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(100, 236, 90, .28);
}

.match-action b {
  margin-left: 3px;
  font-size: 20px;
  font-weight: 400;
}

.section-card {
  margin-top: 22px;
  padding: 21px 16px 23px;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(132, 97, 82, .055);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.3px;
}

.section-head > span {
  padding: 4px 11px;
  border-radius: 999px;
  color: #6d7788;
  background: #f3f6fa;
  font-size: 11px;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 19px;
}

.feature-item {
  display: flex;
  align-items: center;
  min-width: 0;
  background: transparent;
  flex-direction: column;
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #f4f0ff;
  place-items: center;
}

.feature-icon.tone-yellow {
  background: #fff8d9;
}

.feature-icon.tone-blue {
  background: #edf5ff;
}

.feature-icon img {
  width: 31px;
  height: 31px;
}

.feature-item > span:last-child {
  width: 65px;
  margin-top: 8px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #30394a;
  font-size: 11px;
  font-weight: 700;
}

.campus-section {
  padding-right: 0;
}

.campus-section .section-head {
  padding-right: 16px;
}

.campus-scroller {
  display: flex;
  margin-top: 18px;
  padding: 0 16px 3px 0;
  overflow-x: auto;
  gap: 13px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.campus-scroller::-webkit-scrollbar {
  display: none;
}

.campus-entry {
  width: 174px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #eff1f4;
  border-radius: 16px;
  text-align: left;
  background: #fff;
  box-shadow: 0 5px 14px rgba(32, 45, 61, .04);
  scroll-snap-align: start;
}

.campus-entry > img {
  width: 100%;
  height: 98px;
  object-fit: cover;
}

.campus-entry > span {
  display: block;
  padding: 12px;
}

.campus-entry strong,
.campus-entry small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.campus-entry strong {
  font-size: 14px;
}

.campus-entry small {
  margin-top: 4px;
  color: #687389;
  font-size: 11px;
}

.school-tip {
  display: flex;
  align-items: center;
  margin: 15px 4px 0;
  color: #8b756b;
  font-size: 10px;
}

.school-tip i {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}

.school-tip span {
  min-width: 0;
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-tip button,
.reset-access {
  color: #50c94d;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.reset-access {
  display: block;
  margin: 13px auto 0;
  color: #ad9990;
  font-weight: 400;
}

/* Inner pages */
.inner-page {
  min-height: 100dvh;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  background: #f5f6f8;
}

.inner-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  align-items: center;
  height: 54px;
  padding: 0 13px;
  background: rgba(255, 247, 242, .94);
  backdrop-filter: blur(18px);
  grid-template-columns: 38px 1fr 38px;
}

.inner-topbar h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  font-size: 23px;
  place-items: center;
}

.back-button {
  font-size: 34px;
  line-height: 1;
}

.inner-content {
  padding: 15px;
}

.search-area {
  padding: 14px 15px 17px;
  background: #fff7f2;
}

.large-search,
.selector-search {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #e9ebef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(100, 73, 58, .05);
}

.large-search .search-glyph,
.selector-search .search-glyph {
  margin-right: 13px;
  flex: 0 0 auto;
}

.large-search input,
.selector-search input {
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  font-size: 14px;
}

.large-search > button {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: #c8cdd5;
  place-items: center;
}

.search-body {
  padding: 20px 15px;
}

.search-body > h2 {
  margin: 0;
  font-size: 15px;
}

.keyword-chips {
  display: flex;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 9px;
}

.keyword-chips button {
  padding: 9px 14px;
  border: 1px solid #e8ebef;
  border-radius: 999px;
  color: #536075;
  background: #fff;
  font-size: 12px;
}

.search-empty {
  display: flex;
  align-items: center;
  margin-top: 90px;
  color: #9aa3af;
  flex-direction: column;
}

.search-empty span {
  color: #c8cdd4;
  font-size: 54px;
}

.search-empty h3,
.search-empty p {
  margin: 7px 0 0;
}

.search-empty h3 {
  color: #697487;
  font-size: 15px;
}

.search-empty p {
  font-size: 12px;
}

.result-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #8b95a3;
  font-size: 11px;
}

.result-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 70px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 15px;
  text-align: left;
  background: #fff;
  box-shadow: 0 4px 13px rgba(47, 60, 77, .04);
}

.result-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #67d55d;
  background: #f1efff;
  font-weight: 800;
  place-items: center;
}

.result-icon img {
  width: 27px;
  height: 27px;
}

.result-copy {
  min-width: 0;
  padding: 0 12px;
  flex: 1;
}

.result-copy strong,
.result-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-copy strong {
  font-size: 14px;
}

.result-copy small {
  margin-top: 4px;
  color: #8b95a4;
  font-size: 11px;
}

.result-item > b {
  color: #bdc3cc;
  font-size: 25px;
}

/* Detail */
.detail-hero {
  display: flex;
  align-items: center;
  padding: 27px 20px 21px;
  border-radius: 23px;
  background: linear-gradient(145deg, #f1edff, #fbfaff);
  flex-direction: column;
}

.detail-hero.tone-yellow {
  background: linear-gradient(145deg, #fff7d9, #fffdf3);
}

.detail-hero.tone-blue {
  background: linear-gradient(145deg, #eaf3ff, #f7fbff);
}

.detail-main-icon {
  display: grid;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 18px rgba(77, 57, 130, .08);
  place-items: center;
}

.detail-main-icon img {
  width: 39px;
  height: 39px;
}

.detail-hero h2 {
  margin: 13px 0 0;
  font-size: 23px;
}

.detail-hero h3 {
  margin: 4px 0 0;
  color: #756f88;
  font-size: 13px;
  font-weight: 500;
}

.detail-hero > p {
  margin: 15px 0 0;
  text-align: center;
  color: #606c7d;
  font-size: 12px;
  line-height: 1.7;
}

.detail-progress {
  width: 100%;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.detail-progress > div {
  display: flex;
  justify-content: space-between;
  color: #6c7584;
  font-size: 11px;
}

.detail-progress > i {
  display: block;
  height: 7px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6e6ed;
}

.detail-progress > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--green));
}

.check-section {
  margin-top: 15px;
  padding: 18px 16px 6px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(44, 56, 71, .04);
}

.check-section h2 {
  display: flex;
  align-items: center;
  margin: 0 0 9px;
  font-size: 16px;
}

.check-section h2 > span {
  display: grid;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  border-radius: 9px;
  color: #fff;
  background: var(--purple);
  font-size: 11px;
  place-items: center;
}

.check-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  border-top: 1px solid #f1f2f4;
  text-align: left;
  background: transparent;
}

.check-row i {
  display: grid;
  width: 23px;
  height: 23px;
  margin-right: 10px;
  flex: 0 0 auto;
  border: 2px solid #d9dde3;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.check-row span {
  color: #3f4857;
  font-size: 12px;
}

.check-row.checked i {
  border-color: var(--green);
  background: var(--green);
}

.check-row.checked span {
  color: #9ca4af;
  text-decoration: line-through;
}

.primary-button {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(100deg, #70ee66, #5ce153);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(88, 218, 80, .2);
}

.purple-button {
  background: linear-gradient(100deg, #7656df, #8a70e9);
  box-shadow: 0 8px 18px rgba(118, 86, 223, .18);
}

/* Dormitory detail */
.dorm-page {
  min-height: 100dvh;
  background: #f7f8fa;
}

.dorm-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 14px;
  border-bottom: 1px solid #e3e5e8;
  background: rgba(248, 249, 251, .97);
  backdrop-filter: blur(16px);
}

.dorm-topbar h1 {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 21px;
  letter-spacing: -.4px;
}

.dorm-topbar h1 i {
  width: 5px;
  height: 26px;
  margin-right: 11px;
  border-radius: 999px;
  background: #31e943;
}

.dorm-topbar button {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #3f4247;
  background: #eceef1;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
}

.dorm-content {
  position: relative;
  min-height: calc(100dvh - 70px);
  padding: 19px 10px calc(30px + env(safe-area-inset-bottom));
  overflow: hidden;
}

.dorm-content > section,
.dorm-content > hr,
.dorm-content > aside {
  position: relative;
  z-index: 1;
}

.dorm-watermarks {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.dorm-watermarks span {
  position: absolute;
  color: rgba(135, 143, 153, .12);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.dorm-overview h2,
.dorm-comparison h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.dorm-overview p {
  margin: 7px 0 0;
  color: #30343a;
  font-size: 16px;
  line-height: 1.67;
}

.dorm-content mark {
  padding: 0 2px;
  color: inherit;
  background: linear-gradient(180deg, transparent 66%, rgba(158, 247, 167, .48) 66%);
  font-weight: 800;
}

.dorm-content > hr {
  height: 1px;
  margin: 26px 0 27px;
  border: 0;
  background: #dcdee2;
}

.dorm-table-wrap {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #e1e4e7;
  border-radius: 10px;
  background: rgba(247, 248, 250, .74);
}

.dorm-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #30343a;
  font-size: 15px;
  line-height: 1.55;
}

.dorm-table .type-col { width: 19%; }
.dorm-table .fee-col { width: 18%; }
.dorm-table .feature-col { width: 34%; }
.dorm-table .allocation-col { width: 29%; }

.dorm-table th,
.dorm-table td {
  padding: 13px 8px;
  vertical-align: middle;
  text-align: left;
  word-break: break-word;
}

.dorm-table th {
  height: 80px;
  color: #15191e;
  background: rgba(234, 249, 235, .86);
  font-size: 14px;
  font-weight: 800;
}

.dorm-table td {
  height: 88px;
  border-top: 1px solid #e1e3e6;
  background: rgba(247, 248, 250, .62);
}

.dorm-table td strong {
  color: #15191e;
  font-size: 16px;
}

.dorm-table td em {
  font-style: italic;
}

.dorm-note {
  display: flex;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid #e4e6e9;
  border-radius: 11px;
  color: #79818d;
  background: rgba(255, 255, 255, .64);
  font-size: 11px;
  line-height: 1.55;
}

.dorm-note b {
  margin-right: 8px;
  flex: 0 0 auto;
  color: #4fba57;
}

/* Match */
.match-page {
  background: linear-gradient(180deg, #f4fff2 0, #f5f7f8 330px);
}

.match-hero {
  display: flex;
  align-items: center;
  height: 200px;
  overflow: hidden;
  border-radius: 23px;
  background: linear-gradient(145deg, #dfffd9, #f7fff5);
  flex-direction: column;
}

.people-graphic {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100px;
  margin-top: 12px;
}

.people-graphic i {
  position: relative;
  display: block;
  width: 50px;
  height: 47px;
  margin: 0 -3px;
  border: 5px solid #fff;
  border-radius: 25px 25px 14px 14px;
  background: #8c70e6;
}

.people-graphic i::before {
  position: absolute;
  top: -42px;
  left: 5px;
  width: 30px;
  height: 30px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.people-graphic i:nth-child(2) {
  z-index: 2;
  height: 57px;
  background: var(--green);
  transform: scale(1.08);
}

.people-graphic i:nth-child(3) {
  background: #f2b93f;
}

.match-hero h2 {
  margin: 5px 0 0;
  font-size: 20px;
}

.match-hero p {
  margin: 5px 0 0;
  color: #6e7b72;
  font-size: 12px;
}

.form-card,
.match-results {
  margin-top: 15px;
  padding: 19px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(55, 69, 82, .055);
}

.form-heading,
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-heading h2,
.result-heading h2 {
  margin: 0;
  font-size: 17px;
}

.form-heading > span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #55c652;
  background: #efffed;
  font-size: 10px;
  font-weight: 800;
}

.form-field {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  margin-top: 11px;
  padding: 8px 11px;
  border: 1px solid #eceef1;
  border-radius: 14px;
  text-align: left;
  background: #fafbfc;
}

.form-field > b {
  display: grid;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #51c94e;
  background: #effced;
  font-size: 12px;
  place-items: center;
}

.form-field > b.purple-field {
  color: var(--purple);
  background: #f1efff;
}

.form-field > span {
  display: block;
  min-width: 0;
  flex: 1;
}

.form-field small,
.form-field strong {
  display: block;
}

.form-field small {
  color: #939dab;
  font-size: 10px;
}

.form-field strong {
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.form-field select {
  width: 100%;
  margin-top: 3px;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.form-field > em {
  flex: 0 0 auto;
  color: #58d553;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

label.form-field > em {
  color: #bdc3cb;
  font-size: 21px;
}

.form-pair {
  display: flex;
  gap: 9px;
}

.form-field.compact {
  width: calc(50% - 4.5px);
}

.privacy-copy {
  margin: 11px 0 0;
  text-align: center;
  color: #9ba3ae;
  font-size: 10px;
}

.result-heading p {
  margin: 3px 0 0;
  color: #98a1ae;
  font-size: 10px;
}

.result-heading > i {
  width: 10px;
  height: 10px;
  border: 3px solid #dffadb;
  border-radius: 50%;
  background: #68df60;
}

.student-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f1f2f4;
}

.student-item:last-child {
  border-bottom: 0;
}

.student-avatar {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  background: #7c62e6;
  font-weight: 800;
  place-items: center;
}

.student-avatar.avatar-1 { background: #58c9b3; }
.student-avatar.avatar-2 { background: #efa64f; }

.student-copy {
  min-width: 0;
  padding: 0 10px;
  flex: 1;
}

.student-copy strong,
.student-copy small,
.student-copy em {
  display: block;
}

.student-copy strong { font-size: 13px; }
.student-copy small { margin-top: 2px; color: #98a1ad; font-size: 10px; }
.student-copy em { margin-top: 5px; font-style: normal; }
.student-copy em b { margin-right: 4px; padding: 2px 5px; border-radius: 4px; color: #7463ae; background: #f3f0ff; font-size: 9px; }

.student-item > button {
  width: 62px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid #65dd5d;
  border-radius: 16px;
  color: #58cd52;
  background: #f5fff3;
  font-size: 11px;
}

/* School */
.school-hero {
  position: relative;
  height: 225px;
  overflow: hidden;
  border-radius: 23px;
  background: #dfe7ee;
  box-shadow: 0 11px 28px rgba(46, 59, 72, .12);
}

.school-hero > img,
.school-hero > i {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-hero > i {
  background: linear-gradient(180deg, rgba(11, 21, 36, .08) 20%, rgba(13, 23, 38, .84) 100%);
}

.school-hero > div {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  color: #fff;
}

.school-hero > div > em {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  color: #193a18;
  background: #71ed67;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.school-hero h2 {
  max-width: 330px;
  margin: 7px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 21px;
}

.school-hero p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
}

.school-hero button {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 10px;
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 15px;
  padding: 15px 8px;
  border-radius: 18px;
  background: #fff;
}

.stat-card > span {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.stat-card strong { font-size: 18px; }
.stat-card small { margin-top: 3px; color: #939ca9; font-size: 10px; }
.stat-card > i { width: 1px; height: 32px; background: #eff1f3; }

.content-card,
.timeline-card {
  margin-top: 15px;
  padding: 18px 16px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(38, 51, 66, .04);
}

.content-card h2 {
  margin: 0;
  font-size: 17px;
}

.content-card > p {
  margin: 8px 0 0;
  color: #687386;
  font-size: 12px;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  height: 190px;
  margin-top: 15px;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.gallery-grid figure {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-grid figure.gallery-main {
  grid-row: 1 / span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figure::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50px;
  background: linear-gradient(transparent, rgba(8, 19, 31, .68));
  content: "";
}

.gallery-grid figcaption {
  position: absolute;
  z-index: 2;
  bottom: 9px;
  left: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.gallery-grid .gallery-color {
  display: grid;
  background: linear-gradient(145deg, #7c5de2, #5edc90);
  place-items: center;
}

.gallery-grid .gallery-color::after { display: none; }
.gallery-grid .gallery-color b { color: rgba(255, 255, 255, .72); font-size: 48px; }

.facility-grid {
  display: grid;
  margin-top: 11px;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.facility-grid > span {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  color: #4b5667;
  background: #f7f8fa;
  font-size: 11px;
}

.facility-grid i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #68df5f;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 3px;
}

.summary-row h2 { margin: 0; font-size: 17px; }
.summary-row span { color: #929ba8; font-size: 11px; }

.major-card {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin-top: 10px;
  padding: 12px 13px;
  border-radius: 16px;
  background: #fff;
}

.major-card > b {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #7359d6;
  background: #f1eeff;
  place-items: center;
}

.major-card > span {
  min-width: 0;
  padding: 0 11px;
  flex: 1;
}

.major-card strong,
.major-card small { display: block; }
.major-card strong { font-size: 13px; }
.major-card strong em { margin-left: 6px; padding: 2px 5px; border-radius: 5px; color: #4fca4d; background: #effcec; font-size: 9px; font-style: normal; }
.major-card small { margin-top: 4px; color: #929ba8; font-size: 10px; }
.major-card > i { color: #c1c6ce; font-size: 25px; font-style: normal; }

.data-tip {
  display: block;
  margin: 16px auto 0;
  color: #8f98a5;
  background: transparent;
  font-size: 11px;
}

.guide-intro > em {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #55c651;
  background: #f0fded;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.timeline-card article {
  display: flex;
  min-height: 85px;
}

.timeline-card article > span {
  position: relative;
  display: flex;
  width: 45px;
  flex: 0 0 auto;
  align-items: center;
  flex-direction: column;
}

.timeline-card article > span b {
  z-index: 2;
  display: grid;
  width: 31px;
  height: 31px;
  border-radius: 11px;
  color: #fff;
  background: #74df6b;
  font-size: 11px;
  place-items: center;
}

.timeline-card article > span i {
  position: absolute;
  top: 31px;
  bottom: 0;
  width: 2px;
  background: #dff2dc;
}

.timeline-card article > div {
  padding: 1px 0 16px 5px;
}

.timeline-card h3 { margin: 0; font-size: 14px; }
.timeline-card p { margin: 6px 0 0; color: #778293; font-size: 11px; line-height: 1.65; }

/* Modals */
.modal-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(22, 27, 35, .48);
  backdrop-filter: blur(3px);
}

.selector-modal {
  display: flex;
  width: min(100%, 480px);
  height: min(86dvh, 760px);
  overflow: hidden;
  border-radius: 25px 25px 0 0;
  background: #fff;
  flex-direction: column;
  animation: slide-up .24s ease-out;
}

@keyframes slide-up {
  from { opacity: .6; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

.selector-modal > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 18px 12px;
  background: linear-gradient(180deg, #fff7f2, #fff);
}

.selector-modal h2,
.selector-modal p {
  margin: 0;
}

.selector-modal h2 { font-size: 20px; }
.selector-modal p { margin-top: 4px; color: #798496; font-size: 11px; }

.selector-modal > header > button,
.modal-close {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #737e8e;
  background: #f0f2f4;
  font-size: 21px;
  place-items: center;
}

.selector-search {
  margin: 0 18px 13px;
  background: #f7f8fa;
  box-shadow: none;
}

.selector-columns {
  display: flex;
  min-height: 0;
  border-top: 1px solid #eff1f3;
  flex: 1;
}

.province-list {
  width: 112px;
  overflow-y: auto;
  flex: 0 0 auto;
  background: #f1f3f5;
  scrollbar-width: none;
}

.province-list button {
  position: relative;
  width: 100%;
  height: 53px;
  color: #697488;
  background: transparent;
  font-size: 12px;
}

.province-list button.active {
  color: #161d28;
  background: #fff;
  font-weight: 800;
}

.province-list button.active::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 4px;
  height: 19px;
  border-radius: 0 4px 4px 0;
  background: var(--green);
  content: "";
}

.school-list {
  min-width: 0;
  padding: 0 14px;
  overflow-y: auto;
  flex: 1;
  background: #fff;
}

.school-list-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 49px;
  border-bottom: 1px solid #f2f3f5;
  background: #fff;
}

.school-list-head strong { font-size: 14px; }
.school-list-head span { color: #9aa2ae; font-size: 10px; }

.school-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 68px;
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
  background: #fff;
}

.school-option.selected {
  margin: 5px 0;
  padding: 0 5px;
  border: 1px solid rgba(98, 232, 88, .28);
  border-radius: 14px;
  background: #f5fff3;
}

.school-option > b {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #5ccc58;
  background: #eefbec;
  place-items: center;
}

.school-option > span {
  min-width: 0;
  padding: 0 10px;
  flex: 1;
}

.school-option strong,
.school-option small { display: block; }
.school-option strong { font-size: 12px; line-height: 1.4; }
.school-option small { margin-top: 3px; color: #9aa3b0; font-size: 10px; }
.school-option > i { color: #c4c9d0; font-size: 20px; font-style: normal; }
.school-option.selected > i { display: grid; width: 23px; height: 23px; border-radius: 50%; color: #fff; background: var(--green); font-size: 12px; place-items: center; }

.selector-empty {
  display: flex;
  align-items: center;
  padding-top: 70px;
  color: #a0a8b3;
  font-size: 40px;
  flex-direction: column;
}

.selector-empty span { margin-top: 10px; font-size: 12px; }

.unlock-overlay {
  align-items: center;
  padding: 20px;
}

.unlock-modal {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 390px);
  padding: 34px 24px 25px;
  border-radius: 25px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 22px 60px rgba(31, 38, 48, .24);
  flex-direction: column;
  animation: modal-in .2s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

.unlock-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.lock-art {
  position: relative;
  display: block;
  width: 66px;
  height: 70px;
}

.lock-art i {
  position: absolute;
  top: 0;
  left: 17px;
  width: 35px;
  height: 39px;
  border: 6px solid #72ec66;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.lock-art b {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45px;
  border-radius: 14px;
  background: linear-gradient(145deg, #70ef65, #55d94f);
  box-shadow: 0 8px 18px rgba(88, 218, 80, .25);
}

.lock-art b::after {
  position: absolute;
  top: 14px;
  left: 30px;
  width: 7px;
  height: 17px;
  border-radius: 5px;
  background: #fff;
  content: "";
}

.unlock-modal h2 {
  margin: 17px 0 0;
  font-size: 22px;
}

.unlock-modal > p {
  margin: 7px 0 0;
  text-align: center;
  color: #738095;
  font-size: 12px;
  line-height: 1.6;
}

.unlock-modal > input {
  width: 100%;
  height: 54px;
  margin-top: 23px;
  border: 2px solid #e9ebef;
  border-radius: 14px;
  text-align: center;
  outline: 0;
  background: #fafbfc;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 10px;
}

.unlock-modal > input:focus {
  border-color: rgba(100, 233, 90, .7);
}

.unlock-modal .primary-button {
  margin-top: 13px;
}

.unlock-modal > small {
  margin-top: 15px;
  color: #8993a2;
  font-size: 10px;
}

.form-error {
  align-self: flex-start;
  min-height: 18px;
  padding: 5px 2px 0;
  color: #e75e5e;
  font-size: 11px;
}

.confirm-modal {
  width: min(calc(100% - 40px), 360px);
  margin: auto;
  padding: 24px 22px 17px;
  border-radius: 20px;
  background: #fff;
  animation: modal-in .2s ease-out;
}

.confirm-modal h2 { margin: 0; text-align: center; font-size: 18px; }
.confirm-modal p { margin: 11px 0 0; text-align: center; color: #737e8e; font-size: 12px; line-height: 1.6; }
.confirm-modal > div { display: flex; margin-top: 20px; gap: 10px; }
.confirm-modal > div button { height: 42px; flex: 1; border-radius: 21px; color: #596578; background: #f1f3f5; font-weight: 800; }
.confirm-modal > div button.danger { color: #fff; background: #e76969; }

.toast {
  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  max-width: calc(100% - 50px);
  padding: 10px 17px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  color: #fff;
  background: rgba(26, 31, 39, .88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-size: 12px;
  transform: translate(-50%, -40%);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.toast-show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 520px) {
  html,
  body {
    background: #fff3ec;
  }

  .app-shell {
    width: 100%;
    box-shadow: none;
  }

  .campus-name {
    max-width: 150px;
  }
}

@media (max-width: 380px) {
  .h5-capsule {
    width: 70px;
    padding: 0 7px;
  }

  .campus-name {
    max-width: 125px;
  }

  .feature-icon {
    width: 45px;
    height: 45px;
  }

  .feature-icon img {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* 多租户新生助手 */
.boot-state,
.tenant-landing {
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 42px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(100, 233, 90, .18), transparent 26%),
    radial-gradient(circle at 85% 72%, rgba(124, 88, 231, .13), transparent 30%),
    linear-gradient(180deg, #fffaf7, #f7f8fb);
  flex-direction: column;
}

.boot-state i {
  width: 34px;
  height: 34px;
  margin: 18px;
  border: 3px solid #e5e9ef;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: tenant-spin .8s linear infinite;
}

.boot-state p {
  color: var(--muted);
}

.boot-logo {
  padding: 7px 13px;
  border: 1px solid rgba(124, 88, 231, .12);
  border-radius: 999px;
  color: var(--purple);
  background: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
}

.landing-mark {
  position: relative;
  display: grid;
  width: 106px;
  height: 106px;
  margin: 34px 0 26px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(145deg, #79ee6d, #55dc5b);
  box-shadow: 0 22px 46px rgba(82, 210, 88, .26);
  place-items: center;
  transform: rotate(-5deg);
}

.landing-mark b {
  font-size: 54px;
  transform: rotate(5deg);
}

.landing-mark i {
  position: absolute;
  right: -9px;
  bottom: 16px;
  width: 26px;
  height: 26px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--purple);
}

.tenant-landing h1 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -1px;
}

.tenant-landing > p {
  max-width: 330px;
  margin: 14px auto 30px;
  color: #6f7c8e;
  font-size: 14px;
  line-height: 1.8;
}

.tenant-landing .primary-button {
  max-width: 320px;
}

.tenant-landing .primary-button:disabled {
  opacity: .45;
}

.landing-error {
  margin: -15px 0 18px;
  padding: 10px 13px;
  border-radius: 10px;
  color: #b34c4c;
  background: #fff0f0;
  font-size: 12px;
}

.tenant-home {
  padding-bottom: env(safe-area-inset-bottom);
}

.tenant-nav {
  height: 64px;
}

.share-capsule {
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(124, 88, 231, .14);
  border-radius: 18px;
  color: var(--purple);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero-dots.single {
  height: 15px;
}

.opening-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(124, 88, 231, .11);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #faf7ff);
  box-shadow: 0 10px 28px rgba(79, 56, 133, .07);
}

.opening-card > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.opening-card small {
  color: #737f90;
  font-size: 11px;
  font-weight: 700;
}

.opening-card strong {
  margin: 3px 0;
  color: #202735;
  font-size: 27px;
  letter-spacing: -1px;
}

.opening-card em {
  overflow: hidden;
  color: #8b95a4;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opening-card > i {
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(150deg, #8d70ed, #6a48d2);
  box-shadow: 0 10px 20px rgba(105, 71, 210, .22);
  font-size: 10px;
  font-style: normal;
  flex-direction: column;
}

.opening-card > i b {
  font-size: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e9e3f9;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 9px 24px rgba(73, 55, 117, .06);
}

.advisor-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #8d71e9, #6d50d8);
  font-size: 20px;
  font-weight: 900;
  place-items: center;
}

.advisor-copy {
  display: flex;
  min-width: 0;
  padding: 0 10px;
  flex: 1;
  flex-direction: column;
}

.advisor-copy small {
  color: #8a94a4;
  font-size: 9px;
}

.advisor-copy strong {
  margin: 2px 0;
  font-size: 13px;
}

.advisor-copy em {
  overflow: hidden;
  color: #778295;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-card > button {
  height: 34px;
  padding: 0 12px;
  flex: 0 0 auto;
  border-radius: 17px;
  color: #fff;
  background: var(--purple);
  font-size: 10px;
  font-weight: 800;
}

.contact-card.contact-strong {
  border-color: rgba(100, 233, 90, .32);
  background: linear-gradient(135deg, #fff, #f5fff3);
}

.contact-card.contact-strong > button {
  background: #55ca59;
}

.floating-contact {
  position: fixed;
  z-index: 24;
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, .9);
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(145deg, #70e967, #4cca56);
  box-shadow: 0 12px 28px rgba(66, 183, 76, .34);
  flex-direction: column;
}

.floating-contact span {
  font-size: 15px;
  font-weight: 900;
}

.floating-contact small {
  font-size: 8px;
}

.contact-modal {
  position: relative;
  width: min(calc(100% - 34px), 390px);
  padding: 30px 24px 24px;
  border-radius: 26px;
  text-align: center;
  background: #fff;
  box-shadow: 0 25px 70px rgba(28, 34, 46, .2);
}

.contact-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
}

.contact-modal-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #8e73eb, #6747d0);
  font-size: 29px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(104, 72, 208, .24);
  place-items: center;
}

.contact-modal > small {
  color: #5abb5e;
  font-weight: 800;
}

.contact-modal h2 {
  margin: 5px 0 8px;
  font-size: 22px;
}

.contact-modal > p {
  margin: 0 auto 18px;
  color: #727e90;
  font-size: 12px;
  line-height: 1.7;
}

.wechat-row {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border-radius: 15px;
  text-align: left;
  background: #f5f7fa;
}

.wechat-row span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.wechat-row small {
  color: #8c96a5;
  font-size: 9px;
}

.wechat-row strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wechat-row button {
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font-size: 11px;
  font-weight: 800;
}

.contact-modal > em {
  display: block;
  margin: 12px 0;
  color: #8c96a5;
  font-size: 10px;
  font-style: normal;
}

.contact-modal > aside {
  padding: 10px;
  border-radius: 10px;
  color: #548b55;
  background: #f1fbed;
  font-size: 10px;
}

.result-icon img {
  width: 28px;
  height: 28px;
}

.inner-content > .contact-card {
  margin-bottom: 24px;
}

@keyframes tenant-spin {
  to { transform: rotate(360deg); }
}

.gallery-lead {
  margin: 8px 0 17px;
  color: #8a94a3;
  font-size: 11px;
}

.campus-gallery-grid {
  display: grid;
  gap: 10px;
  grid-auto-rows: 140px;
  grid-template-columns: 1.35fr 1fr;
}

.campus-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  text-align: left;
  background: #e9edf2;
}

.campus-photo:first-child {
  grid-row: 1 / 3;
}

.campus-photo::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(17, 23, 34, .78));
  content: "";
}

.campus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.campus-photo:active img {
  transform: scale(1.025);
}

.campus-photo > span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 11px;
  left: 12px;
  display: flex;
  color: #fff;
  flex-direction: column;
}

.campus-photo strong {
  font-size: 13px;
}

.campus-photo small {
  margin-top: 2px;
  overflow: hidden;
  opacity: .8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-badge {
  margin-top: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #6549c2;
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
}

.article-section {
  margin-top: 18px;
  overflow: hidden;
  padding: 22px 20px;
  border: 1px solid #e9edf1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(44, 52, 67, .045);
}

.article-section > img {
  width: calc(100% + 40px);
  height: 190px;
  margin: -22px -20px 20px;
  object-fit: cover;
}

.article-section-copy {
  display: flex;
  align-items: center;
}

.article-number {
  display: grid;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #fff;
  background: #7657dd;
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

.article-section h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.3px;
}

.article-section p {
  margin: 16px 0 0;
  color: #4f5b6e;
  font-size: 14px;
  line-height: 1.9;
}

.article-section ul {
  margin: 17px 0 0;
  padding: 14px 16px 14px 34px;
  border-radius: 14px;
  color: #5c687a;
  background: #f7f8fa;
  font-size: 12px;
  line-height: 1.8;
}

.article-section li + li {
  margin-top: 5px;
}

.check-intro {
  margin: -3px 18px 15px;
  color: #697588;
  font-size: 12px;
  line-height: 1.75;
}

.gallery-overlay {
  padding: 18px;
}

.gallery-modal {
  position: relative;
  width: min(100%, 430px);
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 26, 36, .28);
}

.gallery-modal > button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 22, 31, .55);
  font-size: 22px;
  place-items: center;
}

.gallery-modal img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #151922;
}

.gallery-modal figcaption {
  display: flex;
  padding: 17px 20px 20px;
  flex-direction: column;
}

.gallery-modal figcaption strong {
  font-size: 17px;
}

.gallery-modal figcaption span {
  margin-top: 5px;
  color: #7d8796;
  font-size: 11px;
}
