/* CampusMatch v5 — implementation of the editable design master. */
:root {
  --ink: #0f2d24;
  --ink2: #073d31;
  --jade: #00a86b;
  --jade2: #008a58;
  --mint: #e5f7ef;
  --mint2: #f1faf6;
  --paper: #f5f4ef;
  --white: #fff;
  --line: #dfe7e2;
  --muted: #64736d;
  --apricot: #ff8a30;
  --shadow: 0 8px 24px rgba(18, 60, 52, 0.08);
  --serif: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.site-header {
  height: 72px;
  background: rgba(237, 236, 231, 0.9);
  border-bottom-color: rgba(23, 35, 31, 0.08);
}
.brand {
  gap: 10px;
  letter-spacing: -0.6px;
}
.brand-seal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink2);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}
.brand > span:last-child {
  font-size: 18px;
}
.brand small {
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 5px;
}
.home-hero {
  max-width: 1280px;
  min-height: 680px;
  padding: 58px 28px 54px;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 62px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--jade);
  font-size: 11px;
  letter-spacing: 1.45px;
}
.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 5px rgba(11, 143, 107, 0.1);
}
.hero-copy h1 {
  font-size: clamp(48px, 5.1vw, 74px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -4px;
  margin: 22px 0;
}
.hero-copy h1 em {
  color: var(--jade);
}
.hero-copy h1 em::after {
  display: none;
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 530px;
}
.hero-composer {
  border-radius: 14px;
  margin-top: 28px;
  padding: 13px 13px 11px;
  border-color: var(--line);
  box-shadow: 0 18px 45px rgba(23, 35, 31, 0.08);
}
.hero-composer > label {
  display: block;
  padding: 3px 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.5px;
}
.hero-composer textarea {
  min-height: 75px;
  padding: 10px 9px 4px;
  font-size: 14px;
}
.button {
  border-radius: 8px;
}
.button.primary {
  background: var(--jade);
  box-shadow: none;
}
.button.primary:hover {
  background: var(--jade2);
}
.campus-scene {
  height: 540px;
  border-radius: 18px;
  background: #d8e0dc;
  box-shadow: none;
}
.campus-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 43, 35, 0.04) 42%,
    rgba(14, 43, 35, 0.72) 100%
  );
}
.scene-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  display: grid;
  gap: 7px;
}
.scene-caption span {
  font-size: 9px;
  letter-spacing: 1.9px;
  opacity: 0.76;
}
.scene-caption strong {
  font-size: 18px;
}
.floating-profile {
  left: auto;
  right: 20px;
  top: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 28px rgba(14, 43, 35, 0.16);
}
.portrait {
  background: #e7ece9;
}
.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.portrait.sm img,
.portrait.xs img {
  object-position: center 24%;
}
.portrait.md img,
.portrait.xl img {
  object-position: center 20%;
}
.trust-rail {
  max-width: 1224px;
  margin: 0 auto 105px;
  padding: 0;
  border-radius: 12px;
  background: var(--line);
}
.trust-rail > div {
  padding: 24px;
}
.trust-rail > div > b {
  border-radius: 10px;
}
.trust-rail strong {
  font-size: 13px;
}
.trust-rail small {
  font-size: 10px;
}
.journey-section,
.home-section {
  max-width: 1224px;
  margin: 0 auto 108px;
  padding: 0;
}
.section-heading {
  max-width: 680px;
}
.section-heading h2 {
  font-size: 36px;
  letter-spacing: -1.4px;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.journey-grid article {
  min-height: 235px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.journey-grid article > b {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #99a69f;
}
.journey-grid article > span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--jade);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.journey-grid h3 {
  font-size: 19px;
  margin: 42px 0 10px;
}
.journey-grid p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.preview-grid {
  gap: 12px;
}
.preview-card {
  height: 440px;
  border-radius: 12px;
}
.preview-overlay {
  padding: 88px 18px 20px;
}
.preview-overlay h3 {
  font-size: 22px;
}
.composer-card,
.confirm-field,
.trust-mini,
.demand-context,
.tutor-card,
.demand-card,
.liquidity-card,
.state-card,
.my-demand,
.profile-identity,
.profile-section.highlight {
  border-radius: 12px;
}
.mobile-stage,
.results-page,
.feed-page,
.profile-page {
  background: var(--paper);
}
@media (max-width: 820px) {
  .site-header {
    height: 60px;
  }
  .brand-seal {
    width: 30px;
    height: 30px;
  }
  .brand small {
    display: none;
  }
  .home-hero {
    grid-template-columns: 1fr;
    padding: 38px 16px 24px;
    gap: 24px;
  }
  .hero-copy h1 {
    font-size: 43px;
    letter-spacing: -2.5px;
  }
  .hero-composer {
    margin-top: 23px;
  }
  .campus-scene {
    height: 350px;
    border-radius: 14px;
  }
  .floating-profile {
    top: 14px;
    right: 14px;
  }
  .scene-caption {
    left: 16px;
    bottom: 16px;
  }
  .trust-rail {
    grid-template-columns: 1fr;
    margin: 0 16px 72px;
  }
  .journey-section,
  .home-section {
    padding: 0 16px;
    margin-bottom: 78px;
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .journey-grid article {
    min-height: 190px;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-card {
    height: 390px;
  }
}

/* v7 visual master — generated campus imagery translated into production UI. */
body {
  background: #f4f1e8;
}
.home-product-shell {
  width: min(100%, 1224px);
  padding: 24px 28px 96px;
  background: #fbfaf5;
  border-inline: 1px solid rgba(18, 73, 59, 0.1);
}
.home-product-head {
  min-height: 52px;
}
.home-message {
  position: relative;
  color: var(--ink2);
}
.home-message i {
  position: absolute;
  right: 2px;
  top: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid #fbfaf5;
  border-radius: 50%;
  background: #f26b36;
}
.home-hero-art {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 26px;
  background: #e7efe8;
  box-shadow: 0 24px 70px rgba(18, 62, 50, 0.13);
}
.home-hero-art .home-intro {
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 44px;
  background: linear-gradient(
    90deg,
    #fbfaf5 0%,
    rgba(251, 250, 245, 0.97) 82%,
    rgba(251, 250, 245, 0.55) 100%
  );
}
.home-hero-art .home-intro h1 {
  margin: 15px 0 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.22;
  letter-spacing: -0.055em;
}
.home-hero-art .home-intro p {
  max-width: 560px;
  font-size: 15px;
}
.campus-art {
  min-height: 440px;
  height: 100%;
  margin-left: -72px;
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.82), transparent 31%),
    linear-gradient(0deg, rgba(7, 61, 49, 0.32), transparent 45%),
    url("/assets/imagery/campus-hero.webp") center/cover no-repeat;
  position: relative;
}
.campus-art span {
  position: absolute;
  right: 28px;
  bottom: 24px;
  max-width: 180px;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.home-demand-card {
  position: relative;
  z-index: 3;
  width: calc(100% - 88px);
  margin: -46px auto 0;
  padding: 18px 20px 15px;
  border: 1px solid rgba(68, 113, 91, 0.26);
  border-radius: 22px;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 0 20px 55px rgba(15, 54, 44, 0.16);
  backdrop-filter: blur(16px);
}
.home-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 14px;
  align-items: stretch;
}
.home-demand-card textarea {
  min-height: 76px;
  padding: 12px 10px;
  font-size: 16px;
}
.home-input-row .button {
  align-self: center;
  min-height: 56px;
  border-radius: 16px;
  font-size: 15px;
}
.home-demand-card .example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}
.home-demand-card .example-chips button {
  border: 1px solid #d9e5d8;
  border-radius: 999px;
  padding: 7px 12px;
  background: #eef4e6;
  color: var(--ink2);
}
.home-trust-row {
  width: calc(100% - 88px);
  margin: 18px auto 46px;
  border-radius: 17px;
  background: rgba(218, 227, 213, 0.78);
}
.home-trust-row > div {
  min-height: 88px;
  grid-template-columns: 34px 1fr;
  grid-auto-flow: column;
  place-items: center start;
  gap: 12px;
  padding: 15px 20px;
  text-align: left;
}
.home-trust-row b {
  width: 34px;
  height: 34px;
  font-size: 15px;
}
.home-trust-row span {
  display: grid;
  gap: 3px;
}
.home-trust-row strong {
  font-size: 12px;
}
.home-trust-row small {
  color: var(--muted);
  font-size: 9px;
}
.home-recommendations {
  padding: 0 22px;
}
.home-section-title h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
}
.home-tutor-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}
.home-tutor-row {
  grid-template-columns: 96px minmax(0, 1fr) auto;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(18, 73, 59, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 25px rgba(24, 66, 53, 0.06);
}
.home-tutor-row .portrait {
  width: 96px;
  height: 108px;
  border-radius: 14px;
}
.home-tutor-row h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 19px;
}
.home-tutor-row p,
.home-tutor-row small {
  font-size: 11px;
}
.tutor-card .portrait.md {
  overflow: hidden;
}

@media (max-width: 820px) {
  .home-product-shell {
    width: 100%;
    padding: 12px 0 92px;
  }
  .home-product-head {
    padding: 0 18px;
  }
  .home-hero-art {
    min-height: 450px;
    display: block;
    margin-top: 8px;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    background: #e8efe7;
  }
  .campus-art {
    position: absolute;
    inset: 0;
    min-height: 0;
    margin: 0;
    background:
      linear-gradient(
        180deg,
        rgba(251, 250, 245, 0.88) 0%,
        rgba(251, 250, 245, 0.28) 52%,
        rgba(7, 61, 49, 0.18) 100%
      ),
      url("/assets/imagery/campus-hero.webp") center/cover no-repeat;
  }
  .campus-art span {
    right: 20px;
    bottom: 72px;
    max-width: 140px;
    font-size: 14px;
  }
  .home-hero-art .home-intro {
    position: relative;
    z-index: 1;
    min-height: 310px;
    display: block;
    padding: 36px 22px 70px;
    background: transparent;
  }
  .home-hero-art .home-intro h1 {
    font-size: clamp(38px, 10.8vw, 52px);
    line-height: 1.3;
  }
  .home-hero-art .home-intro p {
    max-width: 92%;
    color: #38564d;
    font-size: 13px;
  }
  .home-demand-card {
    width: calc(100% - 28px);
    margin: -72px auto 0;
    padding: 14px;
    border-radius: 20px;
  }
  .home-input-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .home-demand-card textarea {
    min-height: 82px;
    font-size: 14px;
  }
  .home-input-row .button {
    min-height: 54px;
  }
  .home-demand-card .privacy-note {
    display: none;
  }
  .home-trust-row {
    width: calc(100% - 28px);
    margin: 14px auto 38px;
  }
  .home-trust-row > div {
    min-height: 78px;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    place-items: center;
    gap: 6px;
    padding: 10px 4px;
    text-align: center;
  }
  .home-trust-row span {
    display: block;
  }
  .home-trust-row small {
    display: none;
  }
  .home-recommendations {
    padding: 0 16px;
  }
  .home-section-title h2 {
    font-size: 25px;
  }
  .home-tutor-list {
    grid-template-columns: 1fr 1fr;
  }
  .home-tutor-row {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 132px;
    padding: 11px;
    gap: 10px;
  }
  .home-tutor-row .portrait {
    width: 76px;
    height: 100px;
  }
  .home-tutor-row > b {
    display: none;
  }
  .home-tutor-row > div > div {
    display: block;
  }
  .home-tutor-row span {
    display: block;
    margin-top: 3px;
  }
}

@media (max-width: 390px) {
  .home-tutor-list {
    grid-template-columns: 1fr;
  }
  .home-tutor-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .home-tutor-row .portrait {
    width: 92px;
  }
}

.result-toolbar {
  gap: 16px;
}

.result-tools {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.tool-button,
.icon-report,
.sheet-close {
  border: 1px solid rgba(15, 73, 59, 0.16);
  background: #fffefa;
  color: #174d40;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tool-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.tool-button b {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 4px;
  border-radius: 999px;
  background: #dcecdf;
  font-size: 11px;
}

.tool-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.card-actions .compare.selected,
.card-actions .save.selected {
  border-color: #0b7258;
  background: #e1f0e5;
  color: #07523f;
}

.icon-report {
  width: 42px;
  min-width: 42px;
  border-radius: 12px;
  letter-spacing: 2px;
}

.sheet-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(5, 29, 23, 0.48);
  backdrop-filter: blur(4px);
}

.match-sheet {
  position: fixed;
  z-index: 81;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(86dvh, 780px);
  overflow: auto;
  padding: 28px max(24px, calc((100vw - 1040px) / 2)) 36px;
  border-radius: 28px 28px 0 0;
  background: #fffdf7;
  box-shadow: 0 -24px 80px rgba(10, 46, 37, 0.22);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.sheet-head span {
  color: #0b7258;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.sheet-head h2 {
  margin: 7px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
}

.sheet-head p {
  margin: 8px 0 0;
  color: #6d7c76;
}

.sheet-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compare-grid article {
  display: grid;
  gap: 11px;
  padding: 20px;
  border: 1px solid #d9e3db;
  border-radius: 18px;
  background: #fff;
}

.compare-grid .portrait {
  width: 62px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
}

.compare-grid h3,
.compare-grid dl {
  margin: 0;
}

.compare-grid > article > strong {
  color: #0b7258;
  font-size: 22px;
}

.compare-grid dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  font-size: 12px;
}

.compare-grid dt { color: #75827d; }
.compare-grid dd { margin: 0; font-weight: 700; }

.filter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.filter-form label {
  display: grid;
  gap: 8px;
  color: #354f47;
  font-size: 13px;
  font-weight: 800;
}

.filter-form select,
.filter-form input[type="number"],
.filter-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #d5dfd8;
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.filter-form textarea { min-height: 120px; resize: vertical; }
.sheet-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 720px) {
  .result-toolbar { align-items: flex-start; }
  .result-tools { width: 100%; margin-left: 0; }
  .tool-button { flex: 1; }
  .card-actions { flex-wrap: wrap; }
  .card-actions .compare,
  .card-actions .save { flex: 1; }
  .card-actions .invite { order: 3; flex-basis: calc(100% - 50px); }
  .match-sheet { padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); }
  .compare-grid { grid-template-columns: 1fr; }
  .filter-form { grid-template-columns: 1fr; }
}

.portrait {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dff4eb, #b6e5d4);
  color: #116b54;
  border: 1px solid rgba(17, 107, 84, 0.16);
}
.portrait-initial {
  font-family: "Noto Serif SC", serif;
  font-size: 1.3em;
  font-weight: 800;
}
.header-auth {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}
.auth-page {
  min-height: calc(100dvh - 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  max-width: 1180px;
  margin: 30px auto 80px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(18, 52, 43, 0.1);
}
.auth-art {
  padding: 72px;
  background: #123c34;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-art:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -180px;
  bottom: -200px;
  background: radial-gradient(circle, #57c9a1 0, rgba(87, 201, 161, 0) 68%);
}
.auth-art > span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8fe2c4;
  font-weight: 800;
}
.auth-art h1 {
  font-family: "Noto Serif SC", serif;
  font-size: 43px;
  line-height: 1.35;
  max-width: 540px;
  margin: 22px 0;
}
.auth-art p {
  color: #c7d9d3;
  line-height: 1.9;
  max-width: 520px;
}
.auth-proof {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 42px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  max-width: 360px;
}
.auth-proof > b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dff4eb;
  color: #087b5c;
}
.auth-proof span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auth-proof small {
  color: #a9c2ba;
}
.auth-card {
  padding: 62px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.auth-card h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 31px;
  margin: 6px 0;
}
.auth-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}
.auth-card input {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fbfcfb;
}
.auth-card input:focus {
  outline: 3px solid rgba(11, 143, 107, 0.15);
  border-color: #0b8f6b;
}
.auth-tabs,
.role-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: #f0f4f2;
}
.auth-tabs button,
.role-choice button {
  border: 0;
  border-radius: 9px;
  padding: 10px;
  background: transparent;
  font-weight: 800;
  color: #65726d;
}
.auth-tabs button.active,
.role-choice button.active {
  background: #fff;
  color: #0b8f6b;
  box-shadow: 0 4px 14px rgba(18, 52, 43, 0.08);
}
.captcha-row {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 10px;
}
.captcha-row button {
  height: 50px;
  border: 1px solid var(--line);
  background: #f7faf8;
  border-radius: 12px;
  overflow: hidden;
}
.captcha-row img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth-error {
  min-height: 20px;
  margin: 0;
  color: #b23a2b;
  font-size: 13px;
}
.auth-card > small {
  color: #7d8985;
  line-height: 1.6;
}
.demand-state {
  min-width: 120px;
  display: grid;
  gap: 7px;
  justify-items: end;
}
.demand-state b {
  color: #0b8f6b;
}
.demand-state small {
  color: #7d8985;
}
.demand-state span {
  font-size: 22px;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.directory-card {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.directory-card .portrait {
  width: 74px;
  height: 86px;
  border-radius: 12px;
}
.directory-card div > span {
  color: var(--jade);
  font-size: 11px;
  font-weight: 800;
}
.directory-card h3 {
  margin: 7px 0 4px;
  font-size: 20px;
}
.directory-card p,
.directory-card small {
  color: var(--muted);
  margin: 0;
}
.directory-card > b {
  color: var(--jade);
  font-size: 22px;
}
.inline-empty {
  padding: 22px;
  color: var(--muted);
  background: #f4f7f5;
  border-radius: 12px;
}
.availability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.availability-list span {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--jade2);
  font-weight: 800;
  font-size: 12px;
}
.verified.pending {
  color: #7b6a32;
  background: #f6f0d9;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfb;
}
.tool-card h3,
.tool-card p {
  margin: 0;
}
.tool-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.tool-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}
.tool-card input,
.tool-card select {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.time-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* v6 task-first home: follows the GPT Image board instead of a marketing landing page. */
.home-product-shell {
  width: min(100%, 760px);
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 22px 20px 110px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.home-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}
.home-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--jade2);
  font-size: 13px;
}
.home-location span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--mint);
}
.home-location small {
  color: var(--muted);
  font-weight: 600;
}
.home-message {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}
.home-intro {
  padding: 28px 0 18px;
}
.home-intro .eyebrow {
  color: var(--jade);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.home-intro h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}
.home-intro p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.home-demand-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.home-demand-card > label {
  display: block;
  margin: 1px 4px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.home-demand-card textarea {
  width: 100%;
  min-height: 88px;
  padding: 10px 4px;
  border: 0;
  outline: 0;
  resize: vertical;
  background: transparent;
  font-size: 15px;
  line-height: 1.6;
}
.home-demand-card .example-chips {
  margin: 2px 0 13px;
}
.home-demand-card .privacy-note {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.home-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 14px 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}
.home-trust-row > div {
  min-height: 70px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 10px 4px;
  background: var(--mint2);
  color: var(--jade2);
  text-align: center;
  font-size: 10px;
  font-weight: 750;
}
.home-trust-row b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
}
.home-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}
.home-section-title span {
  color: var(--jade);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.home-section-title h2 {
  margin: 4px 0 0;
  font-size: 20px;
}
.home-section-title > a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.home-tutor-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.home-tutor-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.home-tutor-row .portrait {
  width: 52px;
  height: 58px;
  border-radius: 10px;
}
.home-tutor-row > div {
  min-width: 0;
}
.home-tutor-row > div > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-tutor-row h3 {
  margin: 0;
  font-size: 15px;
}
.home-tutor-row span {
  color: var(--jade2);
  font-size: 9px;
  font-weight: 800;
}
.home-tutor-row p,
.home-tutor-row small {
  display: block;
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-tutor-row > b {
  color: var(--jade);
}

.contact-unlocked {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #bfe9d7;
  border-radius: 12px;
  background: linear-gradient(180deg, #f4fcf8, #fff);
}
.unlock-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.unlock-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  font-weight: 900;
}
.unlock-title > div {
  display: grid;
  gap: 3px;
}
.unlock-title b {
  color: var(--ink);
  font-size: 13px;
}
.unlock-title small {
  color: var(--muted);
  font-size: 10px;
}
.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.contact-row > span {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.contact-row small,
.contact-row b {
  display: block;
  overflow-wrap: anywhere;
}
.contact-row small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}
.contact-row b {
  font-size: 13px;
}
.outcome-box {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.outcome-box > b {
  font-size: 13px;
}
.outcome-box > p {
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.outcome-box > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.outcome-box .button {
  min-height: 38px;
  padding: 8px;
  font-size: 10px;
}
.outcome.selected {
  outline: 3px solid rgba(0, 168, 107, 0.15);
  border-color: var(--jade);
}
.sticky-action.dual {
  grid-template-columns: minmax(110px, 0.45fr) minmax(180px, 1fr);
}
.workflow-page {
  width: min(100%, 760px);
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 34px 24px 110px;
  background: var(--white);
  border-inline: 1px solid var(--line);
}
.workflow-head {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
}
.workflow-head > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.workflow-head span {
  color: var(--jade);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.workflow-head h1 {
  margin: 5px 0 7px;
  font-size: 30px;
  letter-spacing: -0.035em;
}
.workflow-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.workflow-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.verification-row,
.notification-row {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}
.verification-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--jade);
  font-weight: 900;
}
.verification-mark.pending {
  background: #fff3d8;
  color: #8a6410;
}
.verification-mark.rejected,
.verification-mark.needs_more {
  background: #fff0ec;
  color: #a74734;
}
.verification-row span,
.notification-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}
.verification-row h2,
.notification-row h2 {
  margin: 4px 0;
  font-size: 15px;
}
.verification-row p,
.notification-row p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.verification-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: var(--jade2);
  font-size: 11px;
}
.evidence-upload {
  position: relative;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}
.evidence-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.workflow-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 14px;
  background: var(--jade2);
  color: #fff;
}
.workflow-panel h2 {
  margin: 4px 0 0;
  font-size: 20px;
}
.workflow-panel .section-no {
  color: #85dcbc;
}
.workflow-panel label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
}
.workflow-panel input,
.workflow-panel select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
}
.workflow-panel select option {
  color: var(--ink);
}
.schedule-board {
  display: grid;
  gap: 14px;
}
.schedule-days {
  display: grid;
  gap: 8px;
}
.schedule-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.day-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}
.day-toggle input {
  accent-color: var(--jade);
}
.schedule-row > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
}
.schedule-row > div label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
}
.schedule-row input[type="time"] {
  min-width: 0;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8faf9;
}
.notification-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  cursor: default;
}
.notification-row.unread {
  background: linear-gradient(90deg, #f0faf6, #fff 75%);
  cursor: pointer;
}
.notification-dot {
  width: 9px;
  height: 9px;
  justify-self: center;
  border-radius: 50%;
  background: #c8d2ce;
}
.notification-row.unread .notification-dot {
  background: var(--jade);
  box-shadow: 0 0 0 6px var(--mint);
}
.notification-row > b {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.share-landing {
  width: min(calc(100% - 32px), 680px);
  min-height: 520px;
  margin: 34px auto 100px;
  padding: 70px clamp(26px, 8vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(101, 215, 173, 0.35),
      transparent 38%
    ),
    linear-gradient(145deg, #102f28, #071b16);
  color: #fff;
  box-shadow: 0 24px 70px rgba(10, 42, 34, 0.22);
}
.share-landing > span {
  color: #81dbbb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.share-landing h1 {
  max-width: 500px;
  margin: 16px 0;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.2;
}
.share-landing p {
  max-width: 520px;
  color: #bdd1ca;
  line-height: 1.8;
}
.share-landing .button {
  align-self: flex-start;
  margin-top: 20px;
}
@media (max-width: 820px) {
  .home-product-shell {
    width: 100%;
    min-height: calc(100dvh - 60px);
    padding: 15px 16px 90px;
    border: 0;
  }
  .home-intro {
    padding-top: 22px;
  }
  .home-intro h1 {
    font-size: 28px;
  }
  .home-section-title > a {
    display: none;
  }
  .header-trust {
    display: none;
  }
  .auth-page {
    display: block;
    margin: 10px 12px 90px;
  }
  .auth-art {
    padding: 38px 24px;
  }
  .auth-art h1 {
    font-size: 30px;
  }
  .auth-proof {
    margin-top: 24px;
  }
  .auth-card {
    padding: 34px 22px;
  }
  .captcha-row {
    grid-template-columns: 1fr 112px;
  }
  .demand-state {
    justify-items: start;
    margin-top: 18px;
  }
  .directory-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .directory-card {
    grid-template-columns: 58px 1fr auto;
    padding: 16px;
  }
  .directory-card .portrait {
    width: 58px;
    height: 68px;
  }
  .workflow-page {
    width: 100%;
    padding: 22px 16px 92px;
    border: 0;
  }
  .verification-row,
  .notification-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .verification-mark {
    width: 36px;
    height: 36px;
  }
  .verification-side,
  .notification-row > b {
    grid-column: 2;
    justify-items: start;
  }
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Production visual master — one authoritative implementation for the core journey. */
body {
  background:
    radial-gradient(circle at 15% 0%, rgba(225, 235, 215, 0.58), transparent 28rem),
    #f7f4ec;
}

body .home-product-shell,
body .results-page,
body .profile-page {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  border-inline: 1px solid rgba(15, 73, 59, 0.09);
  background: rgba(255, 253, 247, 0.92);
}

body .home-product-shell {
  padding: 20px 30px 108px;
}

body .home-product-head {
  min-height: 52px;
  padding: 0 4px;
}

body .home-location span,
body .home-message {
  border-radius: 999px;
}

body .home-hero-art {
  position: relative;
  min-height: 520px;
  display: block;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(14, 70, 55, 0.12);
  border-radius: 24px;
  background: #dce9da;
  box-shadow: 0 24px 70px rgba(24, 62, 49, 0.15);
}

body .campus-art {
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(250, 248, 240, 0.98) 0%, rgba(250, 248, 240, 0.8) 39%, rgba(250, 248, 240, 0.08) 70%),
    linear-gradient(0deg, rgba(7, 61, 49, 0.34), transparent 43%),
    url("/assets/imagery/campus-hero.webp") center / cover no-repeat;
}

body .campus-art span {
  right: 30px;
  bottom: 26px;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

body .home-hero-art .home-intro {
  position: relative;
  z-index: 1;
  width: min(70%, 720px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 20px 96px 46px;
  background: transparent;
}

body .home-hero-art .home-intro h1 {
  margin: 0 0 20px;
  color: #0b4b3e;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(44px, 5vw, 67px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}

body .home-hero-art .home-intro p {
  max-width: 440px;
  margin: 0;
  color: #4c6c64;
  font-size: 16px;
  line-height: 1.8;
}

body .home-demand-card {
  position: relative;
  z-index: 3;
  width: calc(100% - 84px);
  margin: -72px auto 0;
  padding: 20px;
  border: 2px solid rgba(70, 124, 96, 0.38);
  border-radius: 24px;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 0 20px 52px rgba(15, 54, 44, 0.18);
  backdrop-filter: blur(18px);
}

body .home-demand-card > label {
  margin: 0 4px 8px;
  color: #1b5749;
  font-size: 12px;
}

body .home-input-row {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 12px;
}

body .home-demand-card textarea {
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 74, 60, 0.12);
  border-radius: 15px;
  background: #fffefa;
  font-size: 15px;
}

body .home-input-row .button {
  min-height: 58px;
  align-self: stretch;
  border-radius: 15px;
  background: #0b5b49;
  font-size: 15px;
}

body .home-detected {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

body .home-detected > span {
  flex: 0 0 auto;
  color: #536a63;
  font-size: 11px;
  font-weight: 800;
}

body .home-demand-card .example-chips {
  margin: 0;
}

body .home-demand-card .example-chips button {
  border: 1px solid #d4e0ce;
  border-radius: 999px;
  padding: 7px 12px;
  background: #eef3e5;
  color: #245b4e;
}

body .home-demand-card .privacy-note {
  margin: 11px 4px 0;
  text-align: left;
}

body .home-trust-row {
  width: calc(100% - 84px);
  margin: 18px auto 52px;
  grid-template-columns: repeat(3, 1fr);
  border: 0;
  border-radius: 18px;
  background: rgba(229, 235, 220, 0.88);
}

body .home-trust-row > div {
  min-height: 88px;
  grid-template-columns: 34px 1fr;
  grid-auto-flow: column;
  place-items: center start;
  gap: 12px;
  padding: 16px 18px;
  background: transparent;
  text-align: left;
}

body .home-trust-row > div + div {
  border-left: 1px solid rgba(29, 86, 70, 0.13);
}

body .home-trust-row b {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

body .home-trust-row span {
  display: grid;
  gap: 4px;
}

body .home-trust-row strong {
  font-size: 12px;
}

body .home-trust-row small {
  color: #6f7e78;
  font-size: 9px;
}

body .home-recommendations {
  padding: 0 14px;
}

body .home-section-title {
  align-items: end;
  margin-bottom: 18px;
}

body .home-section-title h2 {
  margin: 0;
  color: #0b4b3e;
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
}

body .home-section-title p {
  margin: 6px 0 0;
  color: #718079;
  font-size: 11px;
}

body .home-tutor-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

body .home-tutor-row {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  min-height: 150px;
  padding: 15px;
  border: 1px solid rgba(18, 73, 59, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 26px rgba(24, 66, 53, 0.07);
}

body .home-tutor-row .portrait {
  width: 104px;
  height: 120px;
  border-radius: 14px;
}

body .home-tutor-row h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 19px;
}

body .results-page {
  min-height: calc(100dvh - 72px);
  padding: 34px 42px 110px;
}

body .results-head {
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: start;
  margin-bottom: 22px;
}

body .results-head > a,
body .results-head .icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 72, 57, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

body .results-head > div {
  text-align: center;
}

body .results-head > div > span {
  color: #16725c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

body .results-head h1 {
  margin: 4px 0 6px;
  color: #0b4b3e;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 45px);
}

body .results-head p {
  margin: 0;
  color: #65756e;
  font-size: 12px;
}

body .demand-context {
  min-height: 68px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: #f0eee4;
  box-shadow: none;
}

body .match-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 18px 0 20px;
}

body .match-pipeline > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(15, 77, 61, 0.1);
  border-radius: 999px;
  background: #f1f0e8;
  color: #356458;
}

body .match-pipeline > div.active {
  background: #0d6f58;
  color: white;
}

body .match-pipeline b {
  font-size: 24px;
}

body .match-pipeline span {
  font-size: 12px;
  font-weight: 800;
}

body .match-pipeline i {
  color: #6a978b;
  font-style: normal;
}

body .result-toolbar {
  margin: 18px 2px 12px;
}

body .result-toolbar p {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

body .result-toolbar a {
  color: #0c6a54;
  font-size: 11px;
  font-weight: 800;
}

body .result-list {
  gap: 16px;
}

body .tutor-card {
  padding: 20px;
  border: 1px solid rgba(18, 73, 59, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 32px rgba(22, 58, 48, 0.07);
}

body .tutor-card-main {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 84px;
  gap: 18px;
  align-items: start;
}

body .tutor-card .portrait.md {
  width: 124px;
  height: 144px;
  border-radius: 15px;
}

body .tutor-id h3 {
  color: #0b4b3e;
  font-family: "Noto Serif SC", serif;
  font-size: 23px;
}

body .tutor-id p {
  margin: 8px 0 0;
  font-size: 12px;
}

body .card-status {
  margin: 12px 0 8px;
}

body .facts {
  gap: 16px;
  padding: 11px 0 0;
  border-bottom: 0;
  font-size: 11px;
}

body .match-score {
  width: 78px;
  min-height: 78px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: #f4efcf;
  color: #0d6f58;
  text-align: center;
}

body .match-score strong {
  font-size: 24px;
}

body .reason {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(25, 116, 89, 0.13);
  background: #edf5ed;
}

body .reason b,
body .reason p {
  font-size: 11px;
}

body .card-actions {
  justify-content: flex-end;
}

body .card-actions .button:first-child {
  flex: 0 0 auto;
}

body .card-actions .invite {
  min-width: 220px;
}

body .profile-page {
  min-height: calc(100dvh - 72px);
  padding: 0 0 110px;
}

body .profile-cover {
  height: 520px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(5, 44, 35, 0.68), transparent 58%),
    linear-gradient(0deg, rgba(4, 36, 29, 0.62), transparent 52%),
    var(--profile-photo) center 22% / cover no-repeat;
}

body .profile-cover-copy {
  position: absolute;
  left: 48px;
  bottom: 44px;
  display: grid;
  gap: 12px;
}

body .profile-cover-copy h1 {
  margin: 0;
  color: white;
  font-family: "Noto Serif SC", serif;
  font-size: 52px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
}

body .profile-cover-copy .verified {
  width: fit-content;
  padding: 8px 12px;
  background: rgba(240, 247, 239, 0.9);
  font-size: 11px;
}

body .profile-body {
  margin: 0;
  padding: 0 42px;
}

body .profile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px 20px;
  border-bottom: 1px solid var(--line);
}

body .profile-summary h2 {
  margin: 0 0 8px;
  color: #0b4b3e;
  font-family: "Noto Serif SC", serif;
  font-size: 25px;
}

body .profile-summary .profile-price {
  margin: 0;
  color: #c55c2c !important;
  font-size: 20px !important;
}

body .profile-match {
  min-width: 100px;
  padding: 12px;
  border-radius: 14px;
  background: #edf4e6;
}

body .profile-section {
  padding: 26px 4px;
}

body .profile-section h2 {
  margin: 0 0 15px;
  color: #0b4b3e;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
}

body .profile-section.highlight {
  margin: 0;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

body .profile-trust .claim-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .claim-list > div {
  min-height: 70px;
  background: rgba(255, 255, 255, 0.72);
}

body .reason-points {
  gap: 10px;
}

body .reason-points span {
  padding: 11px 13px;
  border: 1px solid rgba(22, 91, 72, 0.1);
  border-radius: 11px;
  background: #edf4e6;
  font-size: 11px;
}

body .inline-empty {
  border: 1px dashed #cdd9d2;
  background: rgba(244, 247, 245, 0.7);
}

@media (max-width: 820px) {
  body .home-product-shell,
  body .results-page,
  body .profile-page {
    width: 100%;
    border: 0;
  }

  body .home-product-shell {
    padding: 12px 0 92px;
  }

  body .home-product-head {
    padding: 0 18px;
  }

  body .home-hero-art {
    min-height: 470px;
    margin-top: 8px;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body .campus-art {
    background:
      linear-gradient(180deg, rgba(250, 248, 240, 0.94) 0%, rgba(250, 248, 240, 0.34) 52%, rgba(7, 61, 49, 0.28) 100%),
      url("/assets/imagery/campus-hero.webp") 61% center / cover no-repeat;
  }

  body .home-hero-art .home-intro {
    width: 100%;
    min-height: 330px;
    padding: 38px 22px 90px;
  }

  body .home-hero-art .home-intro h1 {
    max-width: 350px;
    font-size: clamp(32px, 8.7vw, 34px);
    line-height: 1.22;
  }

  body .home-hero-art .home-intro p {
    max-width: 300px;
    font-size: 13px;
  }

  body .campus-art span {
    right: 18px;
    bottom: 90px;
    font-size: 13px;
  }

  body .home-demand-card {
    width: calc(100% - 28px);
    margin: -76px auto 0;
    padding: 14px;
    border-radius: 20px;
  }

  body .home-input-row {
    grid-template-columns: 1fr;
  }

  body .home-demand-card textarea {
    min-height: 92px;
  }

  body .home-input-row .button {
    min-height: 52px;
  }

  body .home-detected {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  body .home-trust-row {
    width: calc(100% - 28px);
    margin: 14px auto 42px;
  }

  body .home-trust-row > div {
    min-height: 82px;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    place-items: center;
    gap: 6px;
    padding: 10px 5px;
    text-align: center;
  }

  body .home-trust-row > div + div {
    border-left-color: rgba(29, 86, 70, 0.13);
  }

  body .home-trust-row strong {
    font-size: 10px;
  }

  body .home-trust-row small {
    display: none;
  }

  body .home-recommendations {
    padding: 0 15px;
  }

  body .home-section-title h2 {
    font-size: 25px;
  }

  body .home-section-title > a {
    display: none;
  }

  body .home-tutor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .home-tutor-row {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 136px;
    padding: 10px;
  }

  body .home-tutor-row .portrait {
    width: 78px;
    height: 104px;
  }

  body .home-tutor-row > b {
    display: none;
  }

  body .results-page {
    padding: 20px 15px 98px;
  }

  body .results-head {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  body .results-head > a,
  body .results-head .icon-button {
    width: 38px;
    height: 38px;
  }

  body .results-head h1 {
    font-size: 27px;
  }

  body .results-head p {
    font-size: 10px;
  }

  body .match-pipeline {
    gap: 6px;
  }

  body .match-pipeline > div {
    min-height: 56px;
    flex-direction: column;
    gap: 0;
    border-radius: 14px;
  }

  body .match-pipeline b {
    font-size: 18px;
  }

  body .match-pipeline span {
    font-size: 9px;
  }

  body .match-pipeline i {
    font-size: 11px;
  }

  body .tutor-card {
    padding: 14px;
  }

  body .tutor-card-main {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  body .tutor-card .portrait.md {
    width: 86px;
    height: 112px;
  }

  body .match-score {
    width: auto;
    min-height: 0;
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 10px;
  }

  body .match-score strong {
    font-size: 16px;
  }

  body .card-actions .invite {
    min-width: 0;
    flex: 1;
  }

  body .profile-cover {
    height: 430px;
  }

  body .profile-cover-copy {
    left: 22px;
    bottom: 26px;
  }

  body .profile-cover-copy h1 {
    font-size: 42px;
  }

  body .profile-body {
    padding: 0 18px;
  }

  body .profile-summary h2 {
    font-size: 20px;
  }

  body .profile-trust .claim-list {
    grid-template-columns: 1fr;
  }

  body .profile-section.split {
    grid-template-columns: 1fr;
  }

  body .sticky-action {
    z-index: 29;
    bottom: 66px;
  }
}

@media (max-width: 390px) {
  body .home-tutor-list {
    grid-template-columns: 1fr;
  }

  body .home-tutor-row {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  body .home-tutor-row .portrait {
    width: 94px;
  }
}
