:root {
  --green: #22ad4d;
  --green-dark: #15913d;
  --mint: #e9f8ec;
  --ink: #171a1f;
  --muted: #6e737c;
  --line: #eef0f2;
  --panel: #ffffff;
  --soft: #f7f8fa;
  --danger: #ff3b4f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(42, 183, 85, 0.18), transparent 28rem),
    linear-gradient(135deg, #f6fbf7 0%, #eef3f7 100%);
  color: var(--ink);
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.phone-shell {
  position: relative;
  width: min(100vw, 430px);
  height: min(100vh, 900px);
  min-height: 760px;
  overflow: hidden;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 22px 80px rgba(25, 38, 57, 0.18);
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  overflow: auto;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}

.screen.is-active {
  display: block;
}

.status-bar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #050609;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0 22px;
}

.status-icons {
  font-size: 12px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 306px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 55%, rgba(109, 199, 92, 0.24), transparent 12rem),
    linear-gradient(180deg, #fff 0%, #f7fbf1 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -76px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(54, 178, 79, 0.08);
}

.topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 0;
}

.location-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.location-btn svg {
  width: 18px;
  color: var(--green);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 68%;
  padding: 34px 20px 0;
}

.hero h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  margin: 10px 0 22px;
  color: #30333a;
  font-size: 15px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: #25282f;
  font-size: 12px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.trust-row svg {
  width: 15px;
  color: var(--green);
}

.join-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin-top: 20px;
  padding: 0 17px;
  border-radius: 18px;
  background: linear-gradient(180deg, #37c35e 0%, #18a847 100%);
  color: #fff;
  box-shadow: 0 7px 16px rgba(30, 174, 73, 0.28);
  font-size: 14px;
  font-weight: 800;
}

.join-cta svg {
  width: 17px;
  height: 17px;
}

.hero-person {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 16px;
  width: 174px;
  border-radius: 22px;
  max-height: 250px;
  object-fit: cover;
}

.search-panel {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -30px 16px 18px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 38, 48, 0.12);
}

.search-box {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9ca2ad;
}

.search-box svg {
  width: 19px;
  flex: 0 0 auto;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.search-panel button {
  min-width: 58px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--green);
  font-weight: 800;
}

.sort-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 17px 12px;
}

.sort-tabs button {
  position: relative;
  min-height: 40px;
  color: #30343b;
  font-size: 14px;
}

.sort-tabs .is-selected {
  color: var(--green);
  font-weight: 800;
}

.sort-tabs .is-selected::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  transform: translateX(-50%);
}

.list {
  display: grid;
  gap: 12px;
  padding: 0 16px 22px;
}

.list.roomy {
  padding-top: 16px;
}

.nurse-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(230, 234, 238, 0.78);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 5px 18px rgba(28, 36, 44, 0.08);
}

.avatar {
  width: 108px;
  height: 124px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.card-main {
  min-width: 0;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.card-head h3 {
  min-width: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.gender {
  display: inline-flex;
  color: var(--danger);
  font-weight: 800;
}

.gender.male {
  color: #2f7fff;
}

.badge-row,
.skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-row span {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  line-height: 1.35;
}

.meta {
  margin: 6px 0 8px;
  color: #3f434b;
  font-size: 13px;
}

.skill-row {
  flex-wrap: nowrap;
  overflow: hidden;
}

.skill-row span {
  padding: 4px 7px;
  border-radius: 5px;
  background: #f3f4f5;
  color: #33373e;
  font-size: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intro {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.distance {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8a9099;
  font-size: 12px;
}

.distance svg {
  width: 15px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.favorite-btn {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #8d949d;
}

.favorite-btn svg {
  width: 22px;
  height: 22px;
}

.favorite-btn.is-favorite {
  color: var(--danger);
}

.favorite-btn.is-favorite svg {
  fill: currentColor;
}

.contact-btn {
  min-width: 76px;
  height: 36px;
  border-radius: 18px;
  background: linear-gradient(180deg, #34c15b 0%, var(--green-dark) 100%);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.plain-header {
  background: #fff;
  border-bottom: 1px solid #f0f2f4;
}

.plain-header h2 {
  margin: 14px 0 28px;
  text-align: center;
  font-size: 18px;
}

.detail-screen {
  padding-bottom: 116px;
  background: #fff;
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 7;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.detail-titlebar {
  position: relative;
  display: grid;
  place-items: center;
  height: 50px;
}

.detail-titlebar h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.share-btn {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #111419;
  transform: translateY(-50%);
}

.share-btn svg {
  width: 22px;
  height: 22px;
}

.detail-content {
  display: grid;
  gap: 10px;
  padding: 12px 14px 0;
}

.detail-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  min-height: 178px;
  padding: 18px 16px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 93% 45%, rgba(74, 195, 89, 0.18), transparent 5rem),
    linear-gradient(135deg, #f2fbef 0%, #dff6df 100%);
}

.detail-hero-card::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 48px;
  color: rgba(37, 181, 77, 0.13);
  font-size: 72px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.detail-avatar {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  align-self: center;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(35, 61, 41, 0.12);
}

.detail-hero-main {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: center;
}

.detail-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-name-row h1 {
  width: 100%;
  margin: 0 0 2px;
  font-size: 27px;
  line-height: 1.1;
}

.detail-name-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 11px;
  background: #e7f8eb;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.detail-name-row svg {
  width: 14px;
  height: 14px;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 9px 0 0;
  color: #30343b;
  font-size: 14px;
}

.detail-meta span {
  gap: 5px;
}

.detail-meta svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.detail-panel {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 33, 44, 0.08);
  padding: 16px 14px;
}

.detail-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-section-title h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 19px;
}

.detail-section-title h3::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--green);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #30343b;
  font-size: 13px;
}

.section-more svg {
  width: 16px;
  height: 16px;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-list > div {
  min-height: 55px;
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.contact-list > div > svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.contact-list strong {
  font-size: 15px;
}

.contact-list span {
  color: #151922;
  font-size: 15px;
}

.contact-list button {
  min-width: 54px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 17px;
  color: var(--green);
  font-weight: 800;
}

.contact-list button svg {
  width: 18px;
  height: 18px;
}

.contact-list p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #a4aab2;
  font-size: 12px;
}

.contact-list p svg {
  width: 14px;
  height: 14px;
}

.detail-intro {
  margin: 0;
  color: #1c2027;
  font-size: 15px;
  line-height: 1.8;
}

.detail-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.detail-skill-grid span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: #f4f5f6;
  color: #20242c;
  font-size: 14px;
  font-weight: 700;
}

.detail-skill-grid svg {
  width: 22px;
  height: 22px;
  color: #59c66e;
}

.detail-skill-grid img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.cert-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.cert-list::-webkit-scrollbar {
  display: none;
}

.cert-list figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #eef1f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(24, 33, 44, 0.05);
}

.preview-tile {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.preview-tile:focus-visible {
  outline: 3px solid rgba(77, 190, 99, 0.32);
  outline-offset: 2px;
}

.cert-preview {
  position: relative;
  height: 90px;
  overflow: hidden;
  background: #f4f5f6;
}

.cert-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-list em {
  position: absolute;
  right: 0;
  top: 0;
  padding: 3px 8px;
  border-bottom-left-radius: 7px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cert-list figcaption {
  display: grid;
  gap: 4px;
  padding: 10px 8px;
  text-align: center;
}

.cert-list strong {
  font-size: 14px;
}

.cert-list span {
  color: #6d747e;
  font-size: 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.work-preview {
  aspect-ratio: 1.22;
  overflow: hidden;
  border-radius: 7px;
  background: #f3f5f6;
}

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

.detail-bottom-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 12px;
  margin: 0 -14px;
  padding: 12px 14px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.detail-bottom-actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 24px;
  font-size: 17px;
  font-weight: 900;
}

.detail-bottom-actions svg {
  width: 21px;
  height: 21px;
}

.copy-action {
  border: 1px solid var(--green);
  color: var(--green);
  background: #fff;
}

.phone-action {
  color: #fff;
  background: linear-gradient(180deg, #35c65d 0%, #16a646 100%);
  box-shadow: 0 7px 18px rgba(29, 172, 72, 0.22);
}

.empty {
  margin-top: 120px;
  text-align: center;
  color: var(--muted);
}

.empty svg {
  width: 46px;
  height: 46px;
  color: #c6ccd2;
}

.profile-screen {
  background: #f8f9fb;
}

.profile-hero {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 46%, rgba(255, 255, 255, 0.18), transparent 12rem),
    linear-gradient(135deg, #5fce73 0%, #15a94a 100%);
  color: #fff;
}

.settings-btn {
  position: absolute;
  top: 62px;
  right: 22px;
  color: #fff;
}

.settings-btn svg {
  width: 24px;
  height: 24px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 34px 32px 0;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #79c989;
}

.user-avatar svg {
  width: 52px;
  height: 52px;
}

.user-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.user-card p {
  margin: 0;
  font-size: 16px;
}

.user-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.profile-menu {
  position: relative;
  z-index: 2;
  margin: -28px 16px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(28, 36, 44, 0.08);
}

.profile-menu button {
  width: calc(100% - 28px);
  min-height: 62px;
  margin: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
}

.profile-menu button:last-child {
  border-bottom: 0;
}

.profile-menu span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 650;
}

.profile-menu svg {
  width: 21px;
  height: 21px;
  color: #555b64;
}

.profile-menu em {
  color: var(--green);
  font-style: normal;
  font-size: 13px;
}

.profile-menu strong {
  color: #8a9099;
  font-size: 14px;
}

.join-screen {
  padding-bottom: 28px;
  background: #fff;
}

.phone-shell.is-subpage .bottom-nav {
  display: none;
}

.join-header {
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.join-titlebar {
  position: relative;
  display: grid;
  place-items: center;
  height: 46px;
}

.join-titlebar h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1;
}

.back-btn {
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #111419;
  transform: translateY(-50%);
}

.back-btn svg {
  width: 24px;
  height: 24px;
}

.join-form {
  display: grid;
  gap: 18px;
  padding: 10px 16px 24px;
}

.join-banner {
  position: relative;
  min-height: 184px;
  overflow: hidden;
  border-radius: 8px;
  padding: 38px 14px 18px;
  background:
    radial-gradient(circle at 92% 48%, rgba(84, 200, 91, 0.2), transparent 6rem),
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.9), transparent 7rem),
    linear-gradient(135deg, #f2fbef 0%, #dff7df 100%);
}

.join-banner::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 64px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: rgba(52, 184, 78, 0.2);
  font-size: 50px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.join-banner h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.join-banner h1 span {
  color: var(--green);
}

.join-banner p {
  position: relative;
  z-index: 2;
  margin: 12px 0 20px;
  color: #30333a;
  font-size: 13px;
}

.join-benefits {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #22262d;
  font-size: 11px;
}

.join-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.join-benefits svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.join-banner img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 154px;
  height: 166px;
  border-radius: 20px;
  object-fit: cover;
}

.form-group {
  display: grid;
  gap: 10px;
}

.form-group h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 15px;
  line-height: 1;
}

.form-group h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--green);
}

.form-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 33, 44, 0.07);
}

.form-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.form-row:last-child {
  border-bottom: 0;
}

.form-row > span {
  color: #141820;
  font-size: 14px;
  font-weight: 700;
}

.form-row input:not([type="radio"]):not([type="checkbox"]),
.form-row select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252a31;
  text-align: right;
  font-size: 14px;
}

.form-row input::placeholder {
  color: #a0a6ae;
}

.form-row select {
  appearance: none;
  color: #8d939c;
}

.picker-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.picker-row svg {
  width: 17px;
  color: #9097a1;
}

.radio-group {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.radio-group label,
.agreement,
.tag-selects label {
  cursor: pointer;
}

.radio-group input,
.agreement input,
.tag-selects input {
  accent-color: var(--green);
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #141820;
  font-size: 14px;
}

.service-card {
  padding-bottom: 2px;
}

.service-block {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.service-block[hidden] {
  display: none;
}

.block-head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 14px;
}

.block-head strong {
  font-size: 14px;
}

.block-head span,
.form-row em {
  color: #8b929c;
  font-style: normal;
}

.tag-selects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tag-selects label {
  min-height: 32px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f4f5f6;
  color: #252a31;
  font-size: 12px;
  transition: 0.18s ease;
}

.tag-selects input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tag-selects label:has(input:checked) {
  background: #e9f8ec;
  color: var(--green-dark);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(34, 173, 77, 0.18);
}

.plan-selects {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.plan-option {
  position: relative;
  display: block;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fbfcfd;
  cursor: pointer;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
}

.plan-option strong {
  color: #1d232d;
  font-size: 14px;
}

.plan-option em {
  color: var(--green-dark);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.plan-option:has(input:checked) {
  border-color: rgba(34, 173, 77, 0.35);
  background: #e9f8ec;
  box-shadow: inset 0 0 0 1px rgba(34, 173, 77, 0.18);
}

.upload-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.upload-field:last-child .upload-row {
  border-bottom: 0;
}

.upload-field:has(.upload-preview:not(:empty)) .upload-row {
  border-bottom: 1px solid var(--line);
}

.upload-row span {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.upload-row strong {
  font-size: 14px;
  line-height: 1.1;
}

.upload-row em {
  color: #8d939c;
  font-size: 12px;
  font-style: normal;
}

.upload-row input {
  display: none;
}

.upload-row svg {
  width: 54px;
  height: 48px;
  padding: 13px;
  border: 1px dashed #ccd1d7;
  border-radius: 7px;
  color: #8d939c;
}

.upload-preview {
  display: none;
  grid-template-columns: repeat(auto-fill, 68px);
  justify-content: start;
  align-items: start;
  gap: 10px;
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.upload-field:last-child .upload-preview {
  border-bottom: 0;
}

.upload-preview:not(:empty) {
  display: grid;
}

.upload-thumb {
  position: relative;
  width: 68px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f5f7;
  box-shadow: inset 0 0 0 1px rgba(20, 28, 38, 0.08);
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upload-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 28, 38, 0.68);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.upload-thumb button svg {
  width: 13px;
  height: 13px;
}

.intro-card {
  position: relative;
  padding: 14px;
}

.intro-card label {
  display: grid;
  gap: 10px;
}

.intro-card span {
  font-size: 14px;
  font-weight: 700;
}

.intro-card textarea {
  width: 100%;
  min-height: 62px;
  resize: none;
  border: 0;
  outline: 0;
  color: #252a31;
  font: inherit;
}

.intro-card textarea::placeholder {
  color: #9ca2ad;
  font-size: 13px;
}

.intro-card output {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #7f8792;
  font-size: 13px;
}

.agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #1f242b;
  font-size: 13px;
}

.agreement input {
  width: 18px;
  height: 18px;
}

.agreement span {
  min-width: 0;
  color: #1f242b;
}

.agreement strong {
  color: var(--green);
  font-weight: 800;
}

.submit-join {
  width: calc(100% - 32px);
  min-height: 48px;
  margin: 0 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #35c65d 0%, #16a646 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(29, 172, 72, 0.24);
  font-size: 17px;
  font-weight: 800;
}

.bottom-nav {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 76px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(230, 234, 238, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #4d535c;
  font-size: 12px;
}

.bottom-nav svg {
  width: 24px;
  height: 24px;
}

.bottom-nav .is-active {
  color: var(--green);
  font-weight: 800;
}

.bottom-nav .is-active svg {
  fill: currentColor;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 20;
  min-width: 150px;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(23, 26, 31, 0.88);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: 0.2s ease;
}

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

.contact-dialog {
  width: min(360px, calc(100vw - 36px));
  border: 0;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 22px 80px rgba(25, 38, 57, 0.24);
}

.contact-dialog::backdrop {
  background: rgba(18, 25, 34, 0.32);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #777e87;
}

.dialog-close svg {
  width: 20px;
}

.contact-dialog h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.contact-dialog p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-actions a,
.contact-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.contact-actions a {
  background: var(--green);
  color: #fff;
}

.contact-actions button {
  background: #edf8f0;
  color: var(--green-dark);
}

.renew-dialog {
  width: min(392px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 22px 18px 18px;
  box-shadow: 0 22px 80px rgba(25, 38, 57, 0.24);
}

.renew-dialog::backdrop {
  background: rgba(18, 25, 34, 0.32);
}

.renew-dialog-close {
  top: 10px;
  right: 10px;
}

.renew-dialog-head h3 {
  margin: 0;
  font-size: 20px;
}

.renew-dialog-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.renew-dialog-body {
  margin-top: 18px;
}

.renew-plan-list {
  display: grid;
  gap: 10px;
}

.renew-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid #dcecdf;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.renew-plan-card strong,
.renew-plan-card span,
.renew-plan-card em {
  display: block;
}

.renew-plan-card strong {
  color: var(--ink);
  font-size: 16px;
}

.renew-plan-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.renew-plan-card em {
  color: var(--green-dark);
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
}

.renew-plan-card.is-selected {
  border-color: rgba(34, 173, 77, 0.56);
  background: #f5fcf7;
  box-shadow: 0 8px 20px rgba(34, 173, 77, 0.14);
}

.renew-plan-card.is-disabled {
  cursor: default;
}

.renew-summary {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f7f8fa;
}

.renew-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  color: var(--muted);
  font-size: 14px;
}

.renew-summary-row + .renew-summary-row {
  margin-top: 8px;
}

.renew-summary-row strong {
  color: var(--ink);
  font-size: 15px;
}

.renew-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.renew-secondary-btn,
.renew-primary-btn {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.renew-secondary-btn {
  background: #edf0f3;
  color: #5c6570;
}

.renew-primary-btn {
  background: linear-gradient(180deg, #37c35e 0%, #18a847 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(30, 174, 73, 0.22);
}

.renew-primary-btn:disabled,
.renew-secondary-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.image-dialog {
  width: min(430px, calc(100vw - 24px));
  max-height: min(760px, calc(100vh - 28px));
  border: 0;
  border-radius: 8px;
  padding: 50px 14px 16px;
  overflow: visible;
  background: #111820;
  box-shadow: 0 24px 90px rgba(10, 16, 24, 0.42);
}

.image-dialog::backdrop {
  background: rgba(10, 14, 20, 0.68);
}

.image-dialog-head {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.image-dialog-head strong {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-dialog-head span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.image-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.image-dialog-close svg,
.image-nav svg {
  width: 20px;
  height: 20px;
}

.image-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 7px;
  object-fit: contain;
  background: #0b1118;
}

.image-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-50%);
}

.image-nav:disabled {
  opacity: 0.35;
}

.image-prev {
  left: 18px;
}

.image-next {
  right: 18px;
}

@media (max-width: 460px) {
  body {
    display: block;
    background: #fff;
  }

  .phone-shell {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  .nurse-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .avatar {
    width: 104px;
  }
}

@media (max-width: 370px) {
  .hero h1 {
    font-size: 23px;
  }

  .hero-copy {
    width: 76%;
    padding-left: 16px;
  }

  .hero-person {
    width: 154px;
  }

  .nurse-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 10px;
  }

  .avatar {
    width: 92px;
    height: 116px;
  }

  .card-head h3 {
    font-size: 18px;
  }

  .contact-btn {
    min-width: 66px;
  }
}
