@font-face {
  font-family: "Alibaba";
  src: url("/fonts/Alibaba-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alibaba";
  src: url("/fonts/Alibaba-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f6f0e7;
  --canvas-deep: #eee4d7;
  --paper: #fffdf9;
  --paper-soft: #faf6ef;
  --ink: #302c29;
  --muted: #746e68;
  --faint: #9a938c;
  --line: #e5ddd3;
  --line-strong: #d8cec2;
  --teal: #237b6e;
  --teal-dark: #175e55;
  --teal-soft: #dcefe9;
  --teal-pale: #eff8f5;
  --coral: #e98f73;
  --coral-soft: #f9dfd5;
  --sun: #efc86e;
  --danger: #b94e49;
  --danger-soft: #fff0ed;
  --success: #2e8066;
  --shadow-lg: 0 26px 80px rgba(63, 49, 36, .13), 0 3px 12px rgba(63, 49, 36, .05);
  --shadow-sm: 0 9px 28px rgba(63, 49, 36, .08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 11px;
  --font: "Alibaba", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(35, 123, 110, .09), transparent 29rem),
    radial-gradient(circle at 92% 92%, rgba(233, 143, 115, .1), transparent 28rem),
    var(--canvas);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
label[for] {
  -webkit-tap-highlight-color: transparent;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--teal-dark);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(1px);
}

.page-glow--one {
  top: 18%;
  right: -130px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(233, 143, 115, .2);
}

.page-glow--one::before,
.page-glow--one::after {
  position: absolute;
  content: "";
  border: inherit;
  border-radius: inherit;
  inset: 35px;
}

.page-glow--one::after {
  inset: 78px;
}

.page-glow--two {
  bottom: -145px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: rgba(35, 123, 110, .04);
}

.topbar {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 0 7px 16px rgba(48, 44, 41, .15);
}

.brand-mark span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--canvas);
}

.brand-mark span:nth-child(1) {
  right: 8px;
  top: 9px;
  background: var(--coral);
}

.brand-mark span:nth-child(2) {
  left: 8px;
  top: 9px;
  background: var(--sun);
}

.brand-mark span:nth-child(3) {
  bottom: 8px;
  width: 15px;
  height: 7px;
  border-radius: 3px 3px 10px 10px;
  background: var(--teal-soft);
}

.brand-name {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.3px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}

.home-link svg {
  width: 18px;
  height: 18px;
  transition: transform .18s ease;
}

.home-link:hover {
  color: var(--teal-dark);
}

.home-link:hover svg {
  transform: translateX(-3px);
}

.account-menu {
  position: relative;
}

.account-menu summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary::after {
  margin-right: 5px;
  content: "⌄";
  font-size: 12px;
}

.account-menu[open] summary::after {
  content: "⌃";
}

.account-menu__panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  width: 178px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.account-menu__panel a,
.account-menu__panel button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 12px;
  text-align: right;
  text-decoration: none;
}

.account-menu__panel a:hover,
.account-menu__panel button:hover {
  background: var(--teal-pale);
}

.account-menu__panel button {
  color: var(--danger);
  cursor: pointer;
}

body:not([data-mode="profile"]) #logout-button {
  display: none;
}

.account-shell {
  display: grid;
  width: min(1100px, calc(100% - 48px));
  min-height: calc(100vh - 124px);
  margin: 8px auto 32px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.account-shell.is-profile {
  width: min(1230px, calc(100% - 48px));
  grid-template-columns: minmax(245px, 320px) minmax(620px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.account-shell.is-profile .intro-pane {
  position: sticky;
  top: 110px;
  padding-top: 28px;
}

.intro-pane {
  min-width: 0;
}

.intro-copy {
  max-width: 600px;
}

.eyebrow,
.kicker {
  margin: 0 0 11px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(35, 123, 110, .16);
  border-radius: 999px;
  background: rgba(255, 253, 249, .55);
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.intro-copy h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -2.6px;
}

.intro-text {
  max-width: 540px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2;
}

.orbit-art {
  position: relative;
  width: min(100%, 540px);
  height: 270px;
  margin: 10px 0 7px;
}

.orbit {
  position: absolute;
  inset: 27px 60px 16px;
  border: 1px dashed rgba(35, 123, 110, .2);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.orbit--inner {
  inset: 65px 127px 51px;
  border-color: rgba(233, 143, 115, .28);
  transform: rotate(12deg);
}

.orbit-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid var(--canvas);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(48, 44, 41, .15);
}

.orbit-dot--coral {
  top: 9%;
  left: 15%;
  background: var(--coral);
}

.orbit-dot--mint {
  right: 3%;
  bottom: 25%;
  background: var(--teal);
}

.orbit-dot--sun {
  top: 5%;
  right: 25%;
  background: var(--sun);
}

.art-center {
  position: absolute;
  z-index: 1;
  top: 85px;
  right: calc(50% - 55px);
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, .66);
  border-radius: 40px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  box-shadow: var(--shadow-sm);
  transform: rotate(-5deg);
}

.art-center svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.6;
  transform: rotate(5deg);
}

.art-card {
  position: absolute;
  z-index: 2;
  display: flex;
  min-width: 205px;
  padding: 12px 14px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(229, 221, 211, .9);
  border-radius: 17px;
  background: rgba(255, 253, 249, .94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.art-card--event {
  top: 34px;
  right: 8px;
  transform: rotate(2deg);
}

.art-card--people {
  bottom: 22px;
  left: 4px;
  transform: rotate(-2deg);
}

.art-card > span:last-child {
  display: flex;
  flex-direction: column;
}

.art-card b {
  font-size: 12px;
}

.art-card small {
  color: var(--muted);
  font-size: 10px;
}

.art-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #9b5d49;
  background: var(--coral-soft);
}

.art-card-icon svg {
  width: 22px;
  height: 22px;
}

.mini-avatars {
  display: flex;
  min-width: 62px;
  direction: ltr;
}

.mini-avatars i {
  display: grid;
  width: 31px;
  height: 31px;
  margin-left: -9px;
  place-items: center;
  border: 3px solid var(--paper);
  border-radius: 50%;
  color: var(--ink);
  background: var(--teal-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.mini-avatars i:nth-child(2) { background: var(--coral-soft); }
.mini-avatars i:nth-child(3) { background: #f3e3b8; }

.trust-note {
  display: flex;
  max-width: 540px;
  padding-top: 17px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(216, 206, 194, .75);
}

.trust-note svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  color: var(--teal);
}

.trust-note p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.trust-note strong {
  font-size: 12px;
}

.trust-note span {
  color: var(--muted);
  font-size: 10px;
}

.account-shell.is-profile .orbit-art {
  height: 220px;
  transform: scale(.78);
  transform-origin: center right;
}

.account-shell.is-profile .intro-copy h1 {
  font-size: clamp(30px, 3.1vw, 43px);
  letter-spacing: -1.8px;
}

.account-shell.is-profile .intro-text {
  font-size: 14px;
}

.account-shell.is-profile .art-card--event {
  right: -8px;
}

.account-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 221, 211, .9);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 249, .96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(13px);
}

.account-card::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 120px;
  height: 8px;
  border-radius: 0 0 0 10px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--sun));
  content: "";
}

.view {
  position: relative;
  z-index: 1;
  min-height: 550px;
  padding: clamp(28px, 5vw, 48px);
}

.view.is-entering {
  animation: view-enter .36s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading-view {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.loading-view h2 {
  margin: 22px 0 4px;
  font-size: 22px;
}

.loading-view p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.loading-mark {
  position: relative;
  display: flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 28px;
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px rgba(35, 123, 110, .08);
}

.loading-mark::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(35, 123, 110, .17);
  border-top-color: var(--teal);
  border-radius: 34px;
  content: "";
  animation: spin 1.5s linear infinite;
}

.loading-mark i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.2s ease-in-out infinite;
}

.loading-mark i:nth-child(2) { animation-delay: .14s; }
.loading-mark i:nth-child(3) { animation-delay: .28s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.skeleton-lines {
  display: grid;
  width: 100%;
  margin-top: 42px;
  gap: 12px;
}

.skeleton-lines span {
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--paper-soft) 20%, #eee8de 50%, var(--paper-soft) 80%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton-lines span:nth-child(2) { width: 82%; }
.skeleton-lines span:nth-child(3) { width: 58%; }

@keyframes shimmer { to { background-position: -220% 0; } }

.step-row {
  display: grid;
  margin-bottom: 31px;
  grid-template-columns: 33px 33px 1fr;
  gap: 6px;
  align-items: center;
}

.step-row small {
  justify-self: end;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
}

.step {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.step.is-active {
  background: var(--teal);
}

.step.is-done {
  background: var(--teal-soft);
}

.view-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.view-heading .kicker {
  margin-bottom: 1px;
}

.view-heading h2,
.profile-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.4;
  letter-spacing: -.9px;
}

.heading-icon {
  display: grid;
  width: 55px;
  height: 55px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
}

.heading-icon svg {
  width: 27px;
  height: 27px;
}

.heading-icon--phone {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.heading-icon--code {
  color: #9b5d49;
  background: var(--coral-soft);
}

.view-description {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.view-description b {
  color: var(--ink);
  font-weight: 750;
  unicode-bidi: isolate;
}

.field-group {
  min-width: 0;
  margin-bottom: 21px;
}

.field-group label {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.field-group label > span {
  color: var(--teal);
  font-size: 9px;
}

input,
textarea,
select {
  width: 100%;
  outline: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input,
select {
  height: 51px;
  padding: 0 14px;
}

textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.8;
}

input::placeholder,
textarea::placeholder {
  color: #aaa39b;
  opacity: 1;
}

input:hover,
textarea:hover,
select:hover {
  border-color: #c9beb1;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(35, 123, 110, .1);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(185, 78, 73, .08);
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  padding-left: 14px;
  text-align: left;
  letter-spacing: .04em;
}

.input-prefix {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  padding-right: 11px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  direction: ltr;
  font-size: 12px;
  transform: translateY(-50%);
}

.field-hint,
.field-error,
.field-meta small,
#avatar-help {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.6;
}

.field-error {
  color: var(--danger) !important;
  font-weight: 650;
}

.button {
  display: inline-flex;
  min-height: 47px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.1;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:focus-visible,
.text-button:focus-visible,
.back-button:focus-visible,
.home-link:focus-visible,
.brand:focus-visible,
.notice-close:focus-visible,
.interest-chip input:focus-visible + span {
  outline: 3px solid rgba(35, 123, 110, .24);
  outline-offset: 3px;
}

.button:disabled,
.text-button:disabled {
  cursor: wait;
  opacity: .62;
}

.button.is-loading {
  position: relative;
}

.button.is-loading::before {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin .8s linear infinite;
}

.button.is-loading svg {
  display: none;
}

.button--wide {
  width: 100%;
}

.button--primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 9px 22px rgba(35, 123, 110, .2);
}

.button--primary:hover:not(:disabled) {
  background: var(--teal-dark);
  box-shadow: 0 12px 27px rgba(35, 123, 110, .25);
}

.button--secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: #fff;
}

.button--secondary:hover:not(:disabled) {
  border-color: rgba(35, 123, 110, .4);
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.button--small {
  min-height: 39px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 10px;
}

.button--small svg {
  width: 16px;
  height: 16px;
}

.button--ghost-danger {
  min-height: 41px;
  border-color: rgba(185, 78, 73, .22);
  color: var(--danger);
  background: transparent;
  box-shadow: none;
}

.button--ghost-danger:hover:not(:disabled) {
  border-color: rgba(185, 78, 73, .35);
  background: var(--danger-soft);
}

.terms-note {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 9px;
  text-align: center;
}

.oauth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
  color: var(--faint);
  font-size: 10px;
}

.oauth-divider::before,
.oauth-divider::after {
  height: 1px;
  content: "";
  background: var(--line);
}

.linkedin-button { gap: 8px; }

.linkedin-button svg {
  width: 18px;
  height: 18px;
  fill: #0a66c2;
}

.terms-note a {
  color: var(--muted);
  text-underline-offset: 3px;
}

.back-button {
  display: inline-flex;
  margin: -8px 0 18px;
  padding: 5px 0;
  align-items: center;
  gap: 5px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.back-button svg {
  width: 15px;
  height: 15px;
}

.back-button:hover {
  color: var(--teal-dark);
}

.otp-input {
  height: 64px;
  padding: 0 18px 0 10px;
  text-align: center;
  letter-spacing: .62em;
  font-size: 25px;
  font-weight: 760;
}

.resend-row {
  display: flex;
  min-height: 26px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.text-button {
  padding: 3px 4px;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font-weight: 800;
}

.countdown {
  color: var(--faint);
  direction: rtl;
}

.global-notice {
  position: relative;
  z-index: 5;
  display: grid;
  margin: 18px 18px -4px;
  padding: 11px 12px;
  grid-template-columns: 21px 1fr 24px;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(185, 78, 73, .18);
  border-radius: 12px;
  color: #81413e;
  background: var(--danger-soft);
  font-size: 10px;
}

.global-notice.is-info {
  border-color: rgba(35, 123, 110, .18);
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.global-notice svg {
  width: 20px;
  height: 20px;
}

.notice-close {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: inherit;
  background: transparent;
  font-size: 20px;
}

.profile-view {
  min-height: 650px;
  padding: clamp(25px, 3.3vw, 39px);
}

.profile-heading {
  display: flex;
  margin-bottom: 27px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.profile-heading .kicker {
  margin-bottom: 2px;
}

.profile-heading > div > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.profile-status {
  display: inline-flex;
  margin-top: 6px;
  padding: 7px 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(46, 128, 102, .14);
  border-radius: 999px;
  color: var(--success);
  background: var(--teal-pale);
  font-size: 9px;
  font-weight: 760;
  white-space: nowrap;
}

.profile-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(46, 128, 102, .12);
}

.profile-status.is-incomplete {
  border-color: rgba(233, 143, 115, .18);
  color: #a45e48;
  background: #fff6f1;
}

.profile-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -8px 0 28px;
  padding: 18px 20px;
  border: 1px solid #c9e7de;
  border-radius: 18px;
  background: var(--teal-pale);
}

.profile-next-step .kicker {
  margin: 0 0 3px;
}

.profile-next-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.profile-next-step p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.profile-next-step .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.profile-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 39px);
  align-items: start;
}

.photo-card {
  position: sticky;
  top: 24px;
  text-align: center;
}

.avatar-frame {
  position: relative;
  display: grid;
  width: 126px;
  height: 126px;
  margin: 2px auto 15px;
  overflow: visible;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 42px;
  color: var(--teal-dark);
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .78) 0 7%, transparent 8%),
    linear-gradient(145deg, var(--teal-soft), #cbe5dd);
  box-shadow: 0 13px 30px rgba(47, 92, 81, .17), 0 0 0 1px var(--line);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
  background: var(--paper-soft);
}

.avatar-initials {
  font-size: 44px;
  font-weight: 850;
}

.avatar-badge {
  position: absolute;
  bottom: -7px;
  left: -7px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 13px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 5px 14px rgba(35, 123, 110, .2);
}

.avatar-badge svg {
  width: 18px;
  height: 18px;
}

.photo-card h3 {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-phone {
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: 10px;
  unicode-bidi: isolate;
}

#avatar-form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

#avatar-form > small {
  width: 100%;
  margin-top: 0;
}

.completion-box {
  margin-top: 23px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-soft);
  text-align: right;
}

.completion-box > div {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.completion-box strong {
  color: var(--teal-dark);
  font-size: 10px;
}

.completion-track {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ddd3;
}

.completion-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #65aa98);
  transition: width .45s ease;
}

.profile-editor {
  min-width: 0;
  padding-right: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset + fieldset {
  margin-top: 10px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

legend {
  padding: 0;
  font-size: 15px;
  font-weight: 820;
}

.fieldset-note {
  margin: 3px 0 20px;
  color: var(--muted);
  font-size: 9px;
}

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

.field-group--full {
  grid-column: 1 / -1;
}

.profile-editor input,
.profile-editor select {
  height: 45px;
  font-size: 11px;
}

.profile-editor textarea {
  font-size: 11px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-left: 36px;
  appearance: none;
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.field-meta {
  display: flex;
  min-height: 18px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.field-meta #bio-counter {
  margin-right: auto;
  white-space: nowrap;
}

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

.interest-chip {
  min-width: 0;
}

.interest-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.interest-chip span {
  display: flex;
  min-height: 40px;
  padding: 7px 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: #fff;
  font-size: 9px;
  font-weight: 680;
  text-align: center;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.interest-chip span:hover {
  border-color: rgba(35, 123, 110, .35);
  transform: translateY(-1px);
}

.interest-chip input:checked + span {
  border-color: rgba(35, 123, 110, .3);
  color: var(--teal-dark);
  background: var(--teal-pale);
  box-shadow: inset 0 0 0 1px rgba(35, 123, 110, .05);
}

.profile-actions {
  display: flex;
  min-height: 66px;
  margin-top: 20px;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

#save-status {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

#save-status.is-saved {
  color: var(--success);
}

.account-destinations {
  margin-top: 28px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, .64);
}

.account-destinations__heading h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.account-destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.account-destination {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 104px;
  padding: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.account-destination:hover,
.account-destination:focus-visible {
  border-color: var(--teal-dark);
  box-shadow: 0 8px 18px rgba(44, 112, 97, .12);
  transform: translateY(-2px);
}

.account-destination__icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  color: #166b5f;
  background: #e2f3ed;
  font-size: 21px;
  line-height: 1;
}

.account-destination--organizer .account-destination__icon {
  color: #bd4e36;
  background: #fff0e9;
}

.account-destination strong,
.account-destination small {
  display: block;
}

.account-destination strong {
  font-size: 14px;
}

.account-destination small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.session-card {
  display: flex;
  margin-top: 13px;
  padding: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper-soft);
}

.session-card > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.session-card p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.session-card strong {
  font-size: 10px;
}

.session-card p span {
  color: var(--muted);
  font-size: 8px;
}

.session-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--muted);
  background: #fff;
}

.session-icon svg {
  width: 18px;
  height: 18px;
}

.toast {
  position: fixed;
  z-index: 90;
  right: 50%;
  bottom: 24px;
  display: flex;
  min-width: 240px;
  max-width: calc(100% - 32px);
  padding: 12px 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  color: #fff;
  background: #2f4e47;
  box-shadow: 0 14px 40px rgba(29, 50, 45, .24);
  font-size: 11px;
  font-weight: 700;
  transform: translateX(50%);
}

.toast.is-visible {
  animation: toast-in .26s ease both;
}

.toast svg {
  width: 19px;
  height: 19px;
  color: #bde6da;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(50%, 10px); }
  to { opacity: 1; transform: translate(50%, 0); }
}

.noscript-note {
  position: relative;
  z-index: 10;
  margin: 20px;
  padding: 14px;
  border-radius: 12px;
  color: #81413e;
  background: var(--danger-soft);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1020px) {
  .account-shell,
  .account-shell.is-profile {
    width: min(760px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: stretch;
  }

  .account-shell.is-profile .intro-pane,
  .intro-pane {
    position: static;
    display: grid;
    padding-top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
  }

  .intro-copy h1,
  .account-shell.is-profile .intro-copy h1 {
    max-width: 670px;
    font-size: clamp(34px, 6vw, 52px);
  }

  .intro-text,
  .account-shell.is-profile .intro-text {
    font-size: 15px;
  }

  .orbit-art {
    display: none;
  }

  .trust-note {
    max-width: 250px;
    padding: 15px;
    border: 1px solid rgba(216, 206, 194, .7);
    border-radius: 15px;
    background: rgba(255, 253, 249, .55);
  }

  .account-card {
    width: 100%;
  }

  .account-shell.is-profile .account-card {
    order: 2;
  }
}

@media (max-width: 720px) {
  .topbar {
    width: min(100% - 32px, 760px);
    min-height: 72px;
  }

  .account-shell,
  .account-shell.is-profile {
    width: min(100% - 28px, 620px);
    min-height: 0;
    margin-top: 6px;
    gap: 22px;
  }

  .intro-pane,
  .account-shell.is-profile .intro-pane {
    display: block;
  }

  .intro-copy h1,
  .account-shell.is-profile .intro-copy h1 {
    font-size: clamp(30px, 9.2vw, 44px);
    letter-spacing: -1.8px;
  }

  .intro-text,
  .account-shell.is-profile .intro-text {
    margin-top: 11px;
    font-size: 13px;
  }

  .trust-note {
    display: none;
  }

  .account-card {
    border-radius: 25px;
  }

  .view {
    min-height: 515px;
    padding: 28px 23px;
  }

  .profile-view {
    min-height: 0;
    padding: 27px 21px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .profile-next-step {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .profile-next-step .button {
    width: 100%;
  }

  .photo-card {
    position: static;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    column-gap: 17px;
    align-items: center;
    text-align: right;
  }

  .avatar-frame {
    width: 106px;
    height: 106px;
    margin: 0;
    grid-row: 1 / span 4;
    border-radius: 35px;
  }

  .avatar-frame img {
    border-radius: 29px;
  }

  .avatar-initials {
    font-size: 38px;
  }

  .photo-card h3 {
    align-self: end;
  }

  .summary-phone {
    margin: 0 0 5px;
    align-self: start;
    text-align: right;
  }

  #avatar-form {
    justify-content: flex-start;
  }

  #avatar-form > small {
    text-align: right;
  }

  .completion-box {
    grid-column: 1 / -1;
    margin-top: 14px;
  }

  .profile-editor {
    padding: 25px 0 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
}

@media (max-width: 510px) {
  .account-destinations {
    padding: 18px;
  }

  .account-destination-grid {
    grid-template-columns: 1fr;
  }

  .account-destination {
    min-height: 0;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 12px;
  }

  .home-link span {
    display: none;
  }

  .home-link {
    width: 37px;
    height: 37px;
    padding: 0;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 253, 249, .6);
  }

  .intro-copy h1,
  .account-shell.is-profile .intro-copy h1 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .eyebrow {
    font-size: 10px;
  }

  .view-heading h2,
  .profile-heading h2 {
    font-size: 23px;
  }

  .heading-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .profile-heading {
    align-items: center;
  }

  .profile-status {
    max-width: 102px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .photo-card {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 14px;
  }

  .avatar-frame {
    width: 90px;
    height: 90px;
    border-width: 5px;
    border-radius: 29px;
  }

  .avatar-frame img {
    border-radius: 24px;
  }

  .avatar-badge {
    width: 32px;
    height: 32px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-group--full {
    grid-column: auto;
  }

  .interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-actions,
  .session-card {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-actions .button,
  .session-card .button {
    width: 100%;
  }

  #save-status:empty {
    display: none;
  }

  .session-card > div {
    padding: 0 2px;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --line: #b7aea5;
    --line-strong: #91877e;
    --muted: #544e49;
    --faint: #625b55;
  }

  .account-card,
  input,
  textarea,
  select,
  .interest-chip span {
    border-width: 2px;
  }
}
