.tgs-join-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 17px 24px; min-height: 52px; border-radius: 999px; background: #50b848; color: #092f21; font: 800 .95rem/1.4 'Mulish', sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.tgs-join-button:hover { background: #6ccc62; }
.tgs-join-eyebrow { display: block; font: 800 .7rem/1.5 'Mulish', sans-serif; letter-spacing: .13em; }
.tgs-next-cta { padding: 70px 24px; background: #eff5f0; color: #092f21; }
.tgs-next-cta-inner { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tgs-next-cta h2 { margin: 13px 0; font: 700 clamp(1.8rem,3.5vw,2.8rem)/1.15 'Ubuntu', sans-serif; color: #092f21; }
.tgs-next-cta p { max-width: 560px; margin: 0; font: 400 1rem/1.7 'Mulish', sans-serif; color: #436151; }
.tgs-next-cta .tgs-join-button { flex-shrink: 0; }
.tgs-join-dialog { box-sizing: border-box; width: min(640px,calc(100% - 32px)); max-height: min(860px,calc(100dvh - 32px)); margin: auto; padding: 0; border: 1px solid #d7e4dc; border-radius: 24px; background: #fff; color: #092f21; box-shadow: 0 30px 100px #001e1c55; font: 400 1rem/1.6 'Mulish', sans-serif; overflow: hidden; }
.tgs-join-dialog[open] { display: flex; flex-direction: column; }
.tgs-join-dialog *, .tgs-join-dialog *::before, .tgs-join-dialog *::after { box-sizing: border-box; }
.tgs-join-dialog [hidden] { display: none !important; }
.tgs-join-dialog::backdrop { background: #04261bc4; backdrop-filter: blur(7px); }
.tgs-join-close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border: none; border-radius: 50%; background: #eff5f0; color: #092f21; font: 300 28px/1 sans-serif; cursor: pointer; z-index: 2; }
.tgs-join-scroll { padding: 52px 36px 24px; overflow-y: auto; min-height: 0; }
.tgs-join-dialog .tgs-join-eyebrow { color: #166b35; margin: 0 35px 16px 0; }
.tgs-join-dialog h2 { font: 700 clamp(1.65rem,4vw,2.25rem)/1.15 'Ubuntu', sans-serif; color: #092f21; margin: 0 20px 14px 0; letter-spacing: -.025em; }
.tgs-join-dialog #tgs-join-intro { color: #5a7063; margin: 0; font-size: .95rem; }
.tgs-join-steps { padding: 0; margin: 26px 0; list-style: none; display: flex; gap: 22px; border-bottom: 1px solid #dce7df; }
.tgs-join-steps li { padding: 0 0 12px; font-size: .8rem; color: #6d8073; border-bottom: 2px solid transparent; }
.tgs-join-steps li[aria-current] { color: #166b35; border-color: #50b848; font-weight: 800; }
.tgs-join-steps span { margin-right: 8px; }
.tgs-join-dialog fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.tgs-join-dialog legend { padding: 0; margin-bottom: 16px; font-weight: 800; font-size: 1rem; }
.tgs-join-role-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.tgs-join-role { padding: 20px 16px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid #d9e5dd; border-radius: 12px; background: #f6f9f6; cursor: pointer; transition: background .2s,border-color .2s; }
.tgs-join-role:has(input:checked) { background: #e6f3e3; border-color: #166b35; box-shadow: inset 0 0 0 1px #166b35; }
.tgs-join-role input { margin: 4px 0 0; width: 17px; height: 17px; flex-shrink: 0; accent-color: #166b35; }
.tgs-join-role-content strong { display: block; font: 700 1.1rem/1.35 'Ubuntu', sans-serif; }
.tgs-join-role-content small { display: block; margin-top: 7px; font-size: .78rem; line-height: 1.5; color: #506b5a; }
.tgs-join-selection { margin: 0 0 18px; padding: 9px 14px; background: #e6f3e3; color: #166b35; border-radius: 8px; font-size: .85rem; }
.tgs-join-details label { display: block; font-weight: 800; font-size: .85rem; margin: 16px 0 7px; }
.tgs-join-details input { display: block; width: 100%; min-height: 50px; border: 1px solid #cfddd3; padding: 12px 14px; border-radius: 10px; background: #f6f9f6; font: inherit; color: #092f21; }
.tgs-join-details > small { display: block; font-size: .75rem; color: #5c7565; margin-top: 6px; }
.tgs-join-use { margin: 20px 0 0; font-size: .78rem; line-height: 1.7; color: #5a7063; }
.tgs-join-bottom { padding: 18px 36px 24px; border-top: 1px solid #dce7df; background: #fff; flex-shrink: 0; }
.tgs-join-preview { margin: 0 0 12px; font-size: .75rem; color: #607366; }
.tgs-join-controls { display: flex; gap: 12px; }
.tgs-join-next, .tgs-join-done { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 12px 20px; background: #166b35; border: 0; border-radius: 999px; color: #fff; font: 800 .9rem/1.4 'Mulish',sans-serif; cursor: pointer; }
.tgs-join-next { flex: 1; padding: 12px 16px; gap: 12px; }
.tgs-join-next span:first-child { white-space: nowrap; }
.tgs-join-back { padding: 12px 10px; min-height: 50px; background: transparent; border: 0; color: #166b35; font: 700 .85rem/1.4 'Mulish',sans-serif; cursor: pointer; }
.tgs-join-dialog button:disabled { opacity: .6; cursor: wait; }
.tgs-join-status:empty { display: none; }
.tgs-join-status { font-size: .75rem; margin: 8px 0 0; color: #5a7063; }
.tgs-join-error { margin: 0 0 12px; color: #a62621; font-size: .85rem; }
.tgs-join-result { padding: 25px 0 12px; }
.tgs-join-result-icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: #e6f3e3; font-size: 30px; color: #166b35; }
.tgs-join-result h3 { margin: 20px 0 12px; font: 700 1.5rem/1.3 'Ubuntu',sans-serif; }
.tgs-join-result p { color: #506b5a; margin: 0 0 24px; }
.tgs-join-done { width: 100%; }
.tgs-join-dialog :is(button,input):focus-visible, .tgs-join-button:focus-visible { outline: 3px solid #50b848; outline-offset: 3px; }
@media(max-width:760px) { .tgs-next-cta { padding: 48px 20px; } .tgs-next-cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; } }
@media(max-width:480px) { .tgs-join-scroll { padding: 52px 22px 22px; } .tgs-join-bottom { padding: 16px 22px 20px; } .tgs-join-role { padding: 16px 12px; gap: 9px; } .tgs-join-role-content strong { font-size: 1rem; } }
@media(max-width:360px) { .tgs-join-role-grid { gap: 10px; } .tgs-join-role { padding: 14px 9px; gap: 7px; } .tgs-join-role-content strong { font-size: .9rem; } .tgs-join-role-content small { font-size: .74rem; } }
@media(prefers-reduced-motion:reduce) { .tgs-join-role { transition: none; } }
