.team-shell { --team-line: #ddd1bf; --team-ink: #18130d; --team-paper: #fffdf9; margin-top: 24px; color: var(--team-ink); background: var(--team-paper); border: 1px solid var(--team-line); padding: clamp(18px, 3vw, 30px); overflow-wrap: anywhere; }
.team-shell * { box-sizing: border-box; }
.team-shell h2, .team-shell h3 { margin: 0; font-family: "Macau Display", Georgia, serif; font-weight: 600; }
.team-shell h2 { font-size: clamp(29px, 3vw, 38px); }
.team-shell h3 { margin-bottom: 12px; font-size: 26px; }
.team-shell p { max-width: 70ch; margin: 8px 0 16px; color: #675c4d; line-height: 1.6; font-size: 13px; }
.team-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.team-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 20px; }
.team-layout > *, .team-member-controls > * { min-width: 0; }
.team-shell form { margin: 0; }
.team-shell fieldset { display: grid; min-width: 0; gap: 13px; margin: 0; padding: 18px; border: 1px solid var(--team-line); }
.team-shell legend { padding: 0 7px; font-size: 14px; font-weight: 700; }
.team-shell label { display: grid; gap: 6px; min-width: 0; font-size: 12px; font-weight: 650; }
.team-shell input, .team-shell select { min-width: 0; width: 100%; min-height: 44px; padding: 10px; border: 1px solid #b7aa95; border-radius: 2px; color: var(--team-ink); background: #fff; font: inherit; font-size: 14px; }
.team-shell button, .team-shell a { min-height: 44px; padding: 11px 15px; border: 1px solid #a7823e; border-radius: 2px; color: var(--team-ink); background: #f3e4bf; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.team-shell button:disabled { opacity: .5; cursor: default; }
.team-shell :focus-visible { outline: 3px solid #176b8f; outline-offset: 3px; }
.team-directory { border-top: 1px solid var(--team-line); }
.team-member { border-bottom: 1px solid var(--team-line); padding: 16px 0; }
.team-member summary, .team-owner { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; }
.team-member summary { cursor: pointer; }
.team-member summary::-webkit-details-marker { display: none; }
.team-member summary div, .team-owner div { display: grid; flex: 1; min-width: 0; gap: 5px; }
.team-member strong { font-size: 13px; }
.team-member span { font-size: 11px; color: #756a5c; }
.team-member-controls { display: grid; gap: 18px; margin-top: 18px; }
.team-member-controls fieldset { background: #faf6ef; }
.team-transfer { margin-top: 28px; border-top: 1px solid var(--team-line); padding-top: 20px; }
.team-transfer > summary { font-size: 15px; font-weight: 700; cursor: pointer; padding: 8px 0; }
.team-transfer form { max-width: 650px; margin-top: 18px; }
.team-shell .team-checkbox { display: flex; align-items: flex-start; font-weight: 400; line-height: 1.6; }
.team-checkbox input { flex: 0 0 20px; width: 20px; min-height: 20px; margin: 0 5px 0 0; }
.team-invite-result { padding: 20px; margin: 20px 0; background: #f4e8cc; border-left: 3px solid #a7823e; }
.team-invite-result button { margin: 12px 8px 0 0; }
.team-shell .team-feedback { color: #1f7a58; }
.team-shell .team-error { color: #9a342a; }
.team-note { font-size: 13px; line-height: 1.7; }
@media (max-width: 800px) { .team-layout { grid-template-columns: 1fr; } .team-heading { align-items: flex-start; flex-direction: column; gap: 6px; } }
@media (max-width: 420px) { .team-member summary, .team-owner { flex-wrap: wrap; } .team-member summary div, .team-owner div { flex-basis: 100%; } .team-shell fieldset { padding: 12px; } }
