/* join.html — Sign in / Join card: full-height photo on the left, the account steps on the right. Prefix .jn- */
.jn { display: grid; grid-template-columns: 612px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; margin-top: 28px; height: 930px; }
.jn-photo { position: relative; background: var(--line-2); }
.jn-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jn-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 150px 36px 34px; background: linear-gradient(to bottom, rgba(27,27,31,0) 0%, rgba(27,27,31,.45) 55%, rgba(27,27,31,.62) 100%); color: #fff; }
.jn-cap h2 { font-size: 52px; line-height: 1; color: #fff; }
.jn-cap p { font-size: 23px; margin-top: 8px; color: #fff; }
.jn-panel { padding: 26px 40px 28px 42px; display: flex; flex-direction: column; min-width: 0; overflow-y: auto; }
.jn > * { min-width: 0; }

/* tabs */
.jn-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin: 0 -2px 30px; }
.jn-tabs button { height: 50px; border: 0; background: none; font-family: var(--serif); font-size: 24px; color: var(--ink-2); position: relative; }
.jn-tabs button.on { color: var(--rose); }
.jn-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rose); }

.jn-h { text-align: center; }
.jn-h h1 { font-size: 43px; line-height: 1.05; }
.jn-h .sub { font-size: 21.5px; margin-top: 6px; }

/* role cards */
.jn-roles { display: grid; gap: 12px; margin-top: 22px; }
.jn-role { display: flex; align-items: center; gap: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; text-align: left; min-height: 80px; }
.jn-role .rd { pointer-events: none; }
.jn-role .rd i { width: 28px; height: 28px; }
.jn-role .rd.on i::after { width: 16px; height: 16px; }
.jn-role .ic { width: 40px; height: 40px; color: var(--ink); }
.jn-role.on { border-color: var(--rose); background: var(--blush); box-shadow: 0 0 0 1px var(--rose) inset; }
.jn-role.on .ic { color: var(--rose); }
.jn-role > span:last-child { min-width: 0; }
.jn-role b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.jn-role span { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); margin-top: 3px; }

/* form */
.jn-form { display: grid; gap: 14px; margin-top: 20px; }
.jn-form .frow { gap: 18px; }
.jn-form .field label { font-size: 15px; }
.jn-form .field label small { font-size: 14px; }
.jn-form .in, .jn-form .sel { height: 44px; font-size: 15px; }
.jn-pw { position: relative; }
.jn-pw .in { padding-right: 44px; }
.jn-pw .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.jn-pw .eye .ic { width: 20px; height: 20px; }
.jn-form .ck { font-size: 15.5px; }
.jn-form .ck i { width: 22px; height: 22px; }
.jn-form .ck a { text-decoration: underline; text-underline-offset: 3px; }
.jn-form .btn.p, .jn-form .btn.lg { height: 48px; font-size: 17px; font-weight: 400; }
.jn-or { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 15px; margin: -2px 0; }
.jn-or::before, .jn-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.jn-google { height: 48px; font-size: 17px; font-weight: 400; gap: 12px; }
.jn-google svg { width: 22px; height: 22px; }
.jn-alt { text-align: center; font-size: 15px; color: var(--ink-2); }
.jn-alt a { color: var(--rose); }
.jn-bad { color: var(--rose); font-size: 13.5px; margin-top: -8px; }
.jn-form .field.bad .in { border-color: var(--rose); }

/* step 2 */
.jn-eye { text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.jn-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 18px 10px 0; position: relative; }
.jn-steps .st { text-align: center; font-size: 15.5px; color: var(--mut); position: relative; }
.jn-steps .st b { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 400; font-size: 15px; background: #fff; color: var(--ink-2); position: relative; z-index: 1; }
.jn-steps .st span { display: block; margin-top: 8px; }
.jn-steps .st.done, .jn-steps .st.on { color: var(--rose); }
.jn-steps .st.done b { background: var(--rose); border-color: var(--rose); color: #fff; }
.jn-steps .st.done b .ic { width: 16px; height: 16px; }
.jn-steps .st.on b { border-color: var(--rose); background: var(--blush); color: var(--rose); border-width: 2px; }
.jn-steps .st + .st::before { content: ""; position: absolute; top: 16px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 1px; background: var(--line); }
.jn-steps .st.on::before { background: var(--rose); }
.jn-h.s2 { margin-top: 26px; }
.jn-verify { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border: 1px solid var(--blush-2); background: var(--blush); border-radius: var(--r-sm); margin-top: 22px; font-size: 17px; color: var(--ink); }
.jn-verify .ic { width: 24px; height: 24px; color: var(--rose); }
.jn-verify a { margin-left: auto; color: var(--rose); text-decoration: underline; text-underline-offset: 4px; font-size: 15.5px; }
.jn-form.s2 { gap: 14px; margin-top: 18px; }
.jn-date { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.jn-date .ck { font-size: 15.5px; }
.jn-date .ck i { width: 22px; height: 22px; }
.jn-date .inw .ic { width: 18px; height: 18px; }
.jn-date input[type=date]::-webkit-calendar-picker-indicator { opacity: .6; }
.jn-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.jn-chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--blush-2); font-size: 15.5px; color: var(--ink); }
.jn-chip .ic { width: 15px; height: 15px; cursor: pointer; stroke-width: 2; }
.jn-chip.off { background: #fff; border: 1px dashed var(--line); color: var(--ink-2); cursor: pointer; }
.jn-form .help { font-size: 14px; color: var(--mut); margin-top: -8px; }
.jn-invite { display: flex; gap: 12px; }
.jn-invite .btn.o { height: 44px; font-size: 16px; font-weight: 400; padding: 0 26px; flex: none; }
.jn-invited { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); min-height: 44px; }
.jn-invited b { font-weight: 400; font-size: 16px; display: block; }
.jn-invited b .pend { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--amber-t); color: var(--amber); font-size: 14px; margin-left: 4px; }
.jn-invited small { font-size: 14.5px; color: var(--ink-2); }
.jn-invited a { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.jn-tail { text-align: center; font-size: 14.5px; color: var(--mut); margin-top: -4px; }
.jn-skip { text-align: center; margin-top: -4px; }
.jn-skip a { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; font-size: 16px; }

/* step 3 */
.jn-ready { text-align: center; margin-top: 40px; }
.jn-ready .ring { width: 88px; height: 88px; border-radius: 50%; background: var(--blush); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; }
.jn-ready .ring .ic { width: 40px; height: 40px; }
.jn-ready h1 { font-size: 43px; margin-top: 18px; }
.jn-ready .sub { margin-top: 8px; }
.jn-ready .rows { text-align: left; margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); padding: 6px 20px; }
.jn-ready .rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.jn-ready .rows div:last-child { border-bottom: 0; }
.jn-ready .rows span { color: var(--ink-2); }
.jn-ready .btn.p { width: 100%; height: 48px; font-size: 17px; font-weight: 400; margin-top: 22px; }

/* invited modal */
.jn-modal { width: min(560px, 100%); padding: 34px 32px 26px; text-align: center; border-radius: var(--r); }
.jn-modal .ring { width: 96px; height: 96px; border-radius: 50%; background: var(--blush); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.jn-modal .ring .ic { width: 50px; height: 50px; stroke-width: 1.4; }
.jn-modal h2 { font-size: 40px; margin-top: 18px; }
.jn-modal .sub { font-size: 20px; margin-top: 8px; padding: 0 20px; }
.jn-modal .sent { text-align: left; border: 1px solid var(--blush-2); background: var(--cream); border-radius: var(--r-sm); padding: 16px 22px 18px; margin-top: 22px; }
.jn-modal .sent .eye { display: block; letter-spacing: .26em; color: var(--ink-2); margin-bottom: 8px; }
.jn-modal .sent .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.jn-modal .sent b { font-family: var(--serif); font-weight: 400; font-size: 25px; display: block; line-height: 1.1; }
.jn-modal .sent small { font-size: 15.5px; color: var(--ink-2); display: block; margin-top: 4px; }
.jn-modal .sent .pill { height: 38px; padding: 0 16px; background: var(--blush-2); color: var(--rose); font-size: 15px; font-weight: 400; gap: 8px; flex: none; }
.jn-modal .sent .pill .ic { width: 18px; height: 18px; }
.jn-modal .txt { text-align: left; font-size: 16.5px; color: var(--ink-2); margin-top: 18px; line-height: 1.45; }
.jn-modal .txt p + p { margin-top: 12px; }
.jn-modal .links { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 24px; font-size: 16.5px; }
.jn-modal .links a { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
.jn-modal .links i { width: 1px; height: 20px; background: var(--line); }
.jn-modal .btn.p { width: 100%; height: 48px; font-size: 18px; font-weight: 400; margin-top: 20px; }
.jn-modal .tail { font-size: 14px; color: var(--mut); margin-top: 12px; }

.jn-explore { text-align: center; margin: 22px 0 6px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--rose); }
.jn-explore .lnk { font-size: 18px; font-weight: 400; }
.jn-explore .ic { width: 18px; height: 18px; }

@media (max-width: 1080px) { .jn { grid-template-columns: 1fr 1fr; min-height: 0; } .jn-cap h2 { font-size: 40px; } .jn-cap p { font-size: 18px; } }
@media (max-width: 820px) {
  .jn { grid-template-columns: 1fr; margin-top: 16px; }
  .jn-photo { min-height: 300px; }
  .jn-cap { padding: 90px 20px 22px; }
  .jn-cap h2 { font-size: 34px; } .jn-cap p { font-size: 16px; }
  .jn-panel { padding: 16px 18px 24px; }
  .jn-tabs { margin-bottom: 24px; } .jn-tabs button { font-size: 20px; height: 46px; }
  .jn-h h1 { font-size: 32px; } .jn-h .sub { font-size: 17px; }
  .jn-role { gap: 14px; padding: 12px 14px; } .jn-role span { white-space: normal; } .jn-role .ic { width: 32px; height: 32px; } .jn-role b { font-size: 19px; } .jn-role span { font-size: 13.5px; }
  .jn-date { grid-template-columns: 1fr; gap: 12px; }
  .jn-steps .st { font-size: 13px; }
  .jn-invite { flex-direction: column; }
  .jn-verify { font-size: 15px; flex-wrap: wrap; } .jn-verify a { margin-left: 38px; }
  .jn-modal { padding: 26px 20px 20px; } .jn-modal h2 { font-size: 32px; } .jn-modal .sub { font-size: 17px; padding: 0; }
  .jn-modal .sent .row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .jn-modal .links { flex-direction: column; gap: 10px; } .jn-modal .links i { display: none; }
}

.jn-form .field .ck i { color: #fff; }
.jn-role .rd, .jn-role .ic { flex: none; }

@media (max-width: 1080px) { .jn { height: auto; } }

/* real accounts: forgot password, reset, inline notes */
.jn-bad a { color: var(--rose); text-decoration: underline; }
.jn-forgot { display: flex; justify-content: flex-end; margin-top: -6px; font-size: 13.5px; }
.jn-forgot a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.jn-forgot a:hover { color: var(--rose); }
.jn-ok { background: var(--cream); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.jn-ok b { color: var(--ink); font-weight: 500; }
