html:root:has(.hlb-join-page), html:root body.hlb-join-page { background: var(--hlb-bg, #fff); color: var(--ui-text); }
html:root body.hlb-join-page header.family-topbar { height: 56px; min-height: 56px; background: var(--hlb-bg, #fff); }
#board-join { width: 480px; margin: 0 auto; padding: 26px; min-height: calc(100svh - 56px); display: flex; flex-direction: column; }
.join-progress { display: flex; gap: 6px; margin: 0 0 18px; }
.join-progress i { flex: 1; height: 5px; border-radius: 99px; background: var(--ui-line); }
.join-progress i.on { background: var(--hlb-orange); }
#join-title { margin: 14px 0 24px; font-size: 33px; line-height: 1.08; letter-spacing: -.8px; font-weight: 800; outline: none; }
#join-form { display: flex; flex: 1; flex-direction: column; }
#board-join p { font-size: 17px; line-height: 1.32; color: var(--ui-muted); margin: 12px 0; overflow-wrap: anywhere; }
#board-join .join-driver { font-size: 15px; margin-top: 24px; }
#board-join input { background: var(--ui-panel); color: var(--ui-text); border: 2px solid var(--ui-text); font: inherit; padding: 16px; width: 100%; min-width: 0; }
#join-number { height: 64px; font-size: 22px; }
.join-card { background: var(--ui-soft); padding: 18px; }
.join-card > strong { font-size: 23px; line-height: 1.15; overflow-wrap: anywhere; }
#board-join .join-card p { margin: 6px 0; }
.join-card dl { font-size: 17px; margin: 14px 0 0; }
#board-join .join-card .join-facts-title { margin: 14px 0 0; font-weight: 700; }
.join-card .join-facts-title + dl { margin-top: 0; }
.join-card dl > div { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; }
.join-card dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.join-code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 24px 0 12px; }
#board-join .join-code input { height: 60px; padding: 4px; text-align: center; font-size: 26px; font-weight: 800; border-color: var(--ui-line); }
#board-join input:focus { outline: 2px solid var(--hlb-orange); outline-offset: 3px; }
.join-actions { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }
#board-join button { border: 0; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap; }
#board-join button:disabled { opacity: .65; cursor: wait; }
#board-join #join-next { width: 100%; height: 50px; padding: 0 16px; background: var(--hlb-navy); color: #fff; }
#board-join[data-join-step="company"] #join-next { background: var(--hlb-orange); color: var(--hlb-navy); }
#board-join .join-quiet { height: 44px; padding: 0 16px; background: var(--ui-soft); color: var(--ui-text); }
#join-back { align-self: flex-start; }
#join-resend { margin-top: 8px; }
#board-join #join-message { color: var(--ui-text); }
@supports (corner-shape: squircle) { #board-join :is(button,input,.join-card) { corner-shape: squircle; } }
@media (min-width: 768px) { #board-join { min-height: min(800px, calc(100svh - 56px)); } }
@media (max-width: 767px) {
  html:root body.hlb-join-page header.family-topbar button.suite-theme { left: 4px; right: auto; }
  html:root body.hlb-join-page header.family-topbar .suite-header { left: 52px; right: 8px; width: auto; padding: 0; gap: 4px; }
  html:root body.hlb-join-page .suite-header :is(a.suite-control,button.suite-control) { flex: 1; width: auto; min-width: 0; max-width: none; padding: 0 7px; font-size: 17px !important; }
  html:root body.hlb-join-page .suite-apps svg { display: none; }
}
