/* Native Team follows the commercial shell's typography and theme tokens. */
.team-workspace{max-width:1380px;min-width:0;margin:0 auto}.team-workspace .btn,.team-workspace input,.team-workspace select{min-height:44px}.team-workspace .btn{white-space:normal}.team-workspace .page-heading{align-items:flex-start}.team-workspace h1,.team-workspace h2,.team-workspace h3,.team-workspace p,.team-workspace a{overflow-wrap:anywhere}.team-workspace h2{font-size:20px}.team-summary{display:flex;gap:12px 28px;flex-wrap:wrap;padding:16px 0 24px;color:var(--muted);font-size:13px}.team-summary p{margin:0}.team-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.8fr);gap:24px;align-items:start}.team-workspace .card{min-width:0}.team-inspector{display:grid;gap:24px;min-width:0}.team-workspace .section-heading{flex-wrap:wrap;gap:12px}.team-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.55fr) minmax(125px,.6fr);gap:12px;margin:24px 0}.team-filters>*{min-width:0}.team-workspace label{font-size:12px}.team-workspace input,.team-workspace select{min-width:0;width:100%}.team-person{padding:22px 0;border-top:1px solid var(--line)}.team-person-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.team-person h3{font-size:15px;line-height:1.5;margin:0 0 8px;min-width:0}.team-person p{margin:0 0 10px;font-size:13px}.team-person .btn{margin-top:6px}.team-chip{font-size:11px;white-space:nowrap;background:var(--mint);color:var(--ink);border-radius:6px;padding:5px 8px}.team-email{font-weight:600}.team-feedback{font-size:13px;color:var(--muted);padding:12px 0}.team-notice{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--canvas);font-size:13px}.team-workspace .team-checkbox{display:flex;gap:10px;align-items:center;margin:20px 0}.team-workspace .team-checkbox input{width:20px;min-height:20px;height:20px;flex:none}.team-workspace form>.btn{margin-top:12px}.team-workspace input:disabled,.team-workspace select:disabled{color:var(--muted);background:var(--canvas)}.team-remove{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.team-empty{padding:26px 0;color:var(--muted)}.team-security h2{font-size:16px}.team-recovery{border:1px solid var(--gold);border-radius:var(--radius);background:var(--card);padding:24px;margin:16px 0}.team-recovery p{max-width:75ch}.team-recovery .btn{margin:6px 10px 0 0}.team-actions{display:flex;gap:10px;flex-wrap:wrap}.team-remove-dialog{max-width:min(540px,calc(100vw - 32px));width:100%;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 20px 80px #0003;overflow-wrap:anywhere}.team-remove-dialog::backdrop{background:#0007}.team-remove-dialog h2{font-size:22px}.team-remove-dialog p{font-size:14px;line-height:1.7}.team-remove-dialog .btn{min-height:44px;white-space:normal}.team-workspace #teamCopyLogin{margin-top:16px}.team-workspace :focus-visible,.team-remove-dialog :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){.team-layout{grid-template-columns:minmax(0,1fr)}.team-inspector{gap:20px}.team-filters{grid-template-columns:minmax(0,1fr) minmax(140px,.5fr) minmax(140px,.5fr)}}
@media(max-width:600px){.team-filters{grid-template-columns:minmax(0,1fr)}.team-workspace .page-heading{flex-direction:column}.team-workspace .page-heading>.btn{width:100%}.team-workspace .card{padding:20px}.team-summary{gap:10px;padding-bottom:20px}.team-summary p{width:100%}.team-layout{gap:20px}.team-person .btn,.team-recovery .btn{width:100%}.team-recovery{padding:18px}.team-remove-dialog{padding:22px}.team-actions .btn{flex:1 1 100%}}
/* Tabs: people and working hours. */
.team-invitations{margin-bottom:24px}.team-invitations h3{font-size:15px;overflow-wrap:anywhere;margin:0 0 6px}.team-invitations p{font-size:14px;line-height:1.6}.team-invitation{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:16px 0}.team-invitation>div{min-width:0}.team-invitation p{margin:4px 0}.team-invitations fieldset{border:1px solid var(--line);border-radius:12px;padding:20px;margin:16px 0;min-width:0;max-width:640px}.team-invitations legend{font-weight:650;padding:0 6px}.team-invitations .team-actions{flex-wrap:wrap}.team-advanced{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.team-advanced summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;font-size:14px}.team-advanced p{font-size:14px;line-height:1.6}#teamInviteRecovery{padding:16px;border:1px solid var(--line);border-radius:12px;margin:12px 0}#teamInviteRecovery .btn{margin:4px 8px 4px 0}@media(max-width:600px){.team-invitation{align-items:stretch;flex-direction:column}.team-invitation .team-actions{display:grid;grid-template-columns:minmax(0,1fr)}.team-invitations fieldset{padding:16px}.team-invitations .section-heading{align-items:stretch;flex-direction:column}.team-invitations .btn{min-height:44px;white-space:normal}}
.team-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:4px 0 20px;overflow-x:auto}.team-tabs [role=tab]{min-height:44px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:650;padding:10px 14px;margin-bottom:-1px;cursor:pointer;white-space:nowrap}.team-tabs [role=tab][aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}.team-tabs [role=tab]:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.team-workspace .btn.team-danger{color:#a3352b;border-color:#e3b2ac}[data-theme=dark] .team-workspace .btn.team-danger{color:#ffb4ab;border-color:#7a3b35}
.team-hours-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.8fr);gap:24px;align-items:start}.team-hours-fields{border:0;padding:0;margin:0;min-width:0}.team-hours h2:focus{outline:none}.team-hours .form-error:empty{display:none}
.team-hours-week{display:grid;margin:16px 0 20px}.team-hours-day{display:grid;grid-template-columns:minmax(140px,190px) minmax(0,1fr);gap:8px 16px;padding:10px 0;border-top:1px solid var(--line);align-items:start}.team-workspace .team-hours-day .team-checkbox{margin:10px 0}.team-hours-slots{display:grid;gap:8px;justify-items:start;min-width:0}.team-hours-slots>.muted{padding-top:12px}.team-hours-slot{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.team-workspace .team-hours-slot input[type=time]{width:auto;min-width:118px}
.team-hours-exceptions{border:1px solid var(--line);border-radius:12px;padding:16px;margin:20px 0;min-width:0}.team-hours-exceptions legend{font-weight:650;padding:0 6px}.team-hours-exception-form{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.team-hours-exception-form>div{min-width:0}.team-hours-exception-times{display:flex;gap:12px}.team-hours-exception-times[hidden]{display:none}.team-hours-exception-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:6px}.team-hours-exception-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}
.team-hours-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px}.team-hours-actions>span{margin-right:auto}.team-hours textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--ink)}.team-hours-preview{overflow-wrap:anywhere}
.team-hours-error{border:1px solid #dcaaaa;background:#fff0ef;color:#9a2626;border-radius:12px;padding:14px 16px;margin-bottom:16px;display:grid;gap:10px;justify-items:start}.team-hours-error p{margin:0}[data-theme=dark] .team-hours-error{background:#3c252b;border-color:#945663;color:#ffbcbc}
@media(max-width:1100px){.team-hours-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.team-hours-day{grid-template-columns:minmax(0,1fr)}.team-tabs [role=tab]{flex:1 1 auto}.team-hours-actions .btn{width:100%}}
