/* Team: invite links, people list, worker profile sheet, invite sign-up. Phone first. */
.tm-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
.tm-section-head h2{margin:0;font-size:17px}
.tm-section-head span{font-size:12px;color:#6e8164}
.tm-invites,.tm-people,.tm-created{margin-top:14px;padding:16px}
.tm-created{border:2px solid #5d8b48;background:#f4f9ee}
.tm-created h2{margin:0 0 6px;font-size:17px}
.tm-created p{margin:0 0 10px;font-size:13px;color:#355046;line-height:1.5}
.tm-invite-list,.tm-member-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tm-invite{border:1px solid #dfe5d9;border-radius:12px;padding:12px;background:#fff}
.tm-invite.used,.tm-invite.revoked,.tm-invite.expired{background:#f7f8f4}
.tm-invite-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.tm-invite-head strong{display:block;font-size:14px}
.tm-invite-head small{display:block;font-size:12px;color:#6e8164;margin-top:3px;line-height:1.4}
.tm-invite-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
.tm-share{display:flex;flex-wrap:wrap;gap:8px}
.tm-share .button,.tm-invite-actions .button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.tm-link{width:100%;box-sizing:border-box;margin:10px 0 0;min-height:44px;font-size:13px;padding:10px 12px;border:1px solid #cfd8c8;border-radius:8px;background:#fbfcf9;color:#173e35;font-family:ui-monospace,Menlo,Consolas,monospace}
.tm-created .tm-link{margin:0 0 10px}
.tm-badge{display:inline-block;font-size:11px;font-weight:650;padding:4px 8px;border-radius:999px;background:#e7ece2;color:#355046;white-space:nowrap}
.tm-badge.pending{background:#d8f3e6;color:#0d3b2e}
.tm-badge.used{background:#e3e9f6;color:#1f3763}
.tm-badge.revoked,.tm-badge.expired{background:#f1e2e0;color:#6b241c}
.tm-badge.hold{background:#f3e6d8;color:#6a3b12}
.tm-member{display:flex;width:100%;gap:12px;align-items:center;text-align:left;border:1px solid #dfe5d9;border-radius:12px;padding:12px;background:#fff;min-height:64px;cursor:pointer;font:inherit;color:inherit}
.tm-member:active{background:#f4f7f0}
.tm-member-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tm-member-name{font-weight:700;font-size:15px}
.tm-member-name em{font-weight:450;font-style:normal;color:#6e8164;font-size:12px}
.tm-member-sub{font-size:12px;color:#6e8164}
.tm-photo{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:0 0 44px;background:#d5ebad;color:#173e35;display:inline-grid;place-items:center;font-weight:750;font-size:15px}
.tm-photo.large{width:72px;height:72px;flex-basis:72px;font-size:24px}
.tm-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.tm-chip{font-size:11px;padding:4px 8px;border-radius:999px;background:#eef2ea;color:#355046}
.tm-empty,.tm-note{font-size:13px;color:#6e8164;line-height:1.5;margin:8px 0 0}
.tm-muted{color:#8a9a82;font-weight:450;font-size:12px}
.tm-past{margin-top:12px}.tm-past summary,.tm-demo summary{cursor:pointer;font-size:13px;font-weight:650;color:#355046;min-height:40px;display:flex;align-items:center}
.tm-demo{margin-top:18px}
.tm-finish{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}
.tm-sheet-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.tm-sheet-head h3{margin:0;font-size:19px}.tm-sheet-head p{margin:4px 0 0;font-size:13px;color:#6e8164}
.tm-sheet h4{margin:16px 0 6px;font-size:13px}
.tm-sheet .detail-list{margin-top:12px}
.tm-sheet .form-actions{margin-top:16px;flex-wrap:wrap}
.tm-fieldset{border:0;padding:0;margin:0 0 14px}
.tm-fieldset legend{font-size:12px;font-weight:650;margin-bottom:8px;padding:0}
.tm-segs{display:flex;gap:8px}
.tm-seg{flex:1}.tm-seg input{position:absolute;opacity:0;pointer-events:none}
.tm-seg span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d5ddd0;border-radius:8px;background:#f7f8f4;font-size:13px;font-weight:650;color:#355046}
.tm-seg input:checked+span{background:#173e35;color:#f3f7ef;border-color:#173e35}
.tm-seg input:focus-visible+span,.tm-pick input:focus-visible+span{outline:2px solid #5d8b48;outline-offset:2px}
.tm-chip-picks{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.tm-pick input{position:absolute;opacity:0;pointer-events:none}
.tm-pick span{display:flex;flex-direction:column;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #d5ddd0;border-radius:999px;background:#fff;font-size:13px;color:#355046;line-height:1.2}
.tm-pick span small{font-size:10px;color:#8a9a82;margin-top:2px}
.tm-pick input:checked+span{background:#dcefc9;border-color:#5d8b48;color:#173e35;font-weight:650}
.tm-form input[type=file]{font-size:14px}
.tm-form .form-field input:not([type=checkbox]):not([type=radio]):not([type=file]),.tm-form select{min-height:46px;font-size:16px;box-sizing:border-box;width:100%}
.join-card .tm-skills-note,.tm-form input[name=skills_note]{width:100%;box-sizing:border-box;min-height:44px;font-size:16px;padding:10px 12px;border:1px solid #cfd8c8;border-radius:8px}
/* Invite sign-up on /company/join */
.join-card .tm-step{margin:22px 0 10px;font-size:13px;letter-spacing:.6px;text-transform:uppercase;color:#5d8b48}
.join-card .tm-welcome{font-size:14px;line-height:1.55;color:#173e35;background:#f4f9ee;border:1px solid #cfe3bd;border-radius:10px;padding:12px 14px;margin-bottom:12px}
.join-card .tm-photo-preview{display:flex;align-items:center;gap:12px;margin-top:8px}
.join-card .tm-photo-preview img{width:56px;height:56px;border-radius:50%;object-fit:cover}
#invite-form[hidden],#invite-dead[hidden]{display:none}
@media (max-width:520px){.tm-share .button,.tm-invite-actions .button{flex:1 1 auto}.tm-invites,.tm-people,.tm-created{padding:14px}}
