/* Team pages layout only. Colors come from app.css tokens so light/dark follow the device. No transitions, animations or opacity effects (Luma owns motion). */
#team-root .tp-gap{margin-bottom:14px}
#team-root .tp-mt,.side-panel-body .tp-mt{margin-top:10px}
#team-root .tp-h{font-size:15px;margin:4px 0 10px}
#team-root .tp-note:empty{display:none}
#team-root .tp-note{margin:0 0 12px;color:var(--ink)}
#team-root .tp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
#team-root .tp-card{border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--bg-card);min-width:0}
#team-root .tp-head{display:flex;gap:10px;align-items:flex-start}
#team-root .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
#team-root .tp-grow{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
#team-root .tp-head .btn{flex-shrink:0}
#team-root .tp-line{display:flex;gap:8px;align-items:flex-start;padding:6px 0;border-bottom:1px solid var(--line-soft)}
#team-root .tp-btns{display:flex;flex-wrap:wrap;gap:8px}
#team-root .tp-perms,.side-panel-body .tp-perms,#team-root .tp-tasks{margin:6px 0 10px;padding-left:18px;font-size:13px}
#team-root .tp-role{display:flex;flex-direction:column}
#team-root .tp-role .btn{margin-top:auto;align-self:flex-start}
@media(max-width:800px){
  #team-root .tp-grid{grid-template-columns:minmax(0,1fr)}
  #team-root .tp-line{flex-wrap:wrap}
  #team-root .tp-line .tp-btns{width:100%}
  #team-root .btn,.side-panel-body .btn{min-height:44px}
}
/* MortarTeam.confirm2 adds .m-arm-hint right after the button: the wrapper keeps a fixed 20px strip under it, so arming moves nothing */
.tp-confirm{position:relative;display:inline-flex;flex-direction:column;padding-bottom:20px;vertical-align:top}
.tp-confirm > .m-arm-hint{position:absolute;left:0;bottom:0;height:18px;line-height:18px;white-space:nowrap;color:inherit;font-weight:600;font-size:12px}
