/* Online profile and assignment presentation, CI 8.1. */
@media screen {
  html:root :is(#profileInvitationForm,#athleteForm) [hidden] { display:none!important; }
  html:root #profileInvitationDialog { width:min(760px,calc(100vw - 16px)); }
  html:root #profileInvitationForm { min-width:0; }
  html:root #profileInvitationForm>.supporting { margin:0 0 12px; font-size:13px; line-height:20px; }
  html:root #profileInvitationForm :is(.assignment-contact,.dialog-section) { padding:12px 0; margin:0; border:0; border-top:1px solid var(--fliq8-divider); border-radius:0; background:transparent; }
  html:root #profileInvitationForm h3 { margin:0 0 12px; font-size:14px; line-height:20px; }
  html:root #profileInvitationForm .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
  html:root #profileInvitationForm :is(label,legend) { min-width:0; line-height:20px; }
  html:root #profileInvitationForm label { gap:4px; margin:0; }
  html:root #profileInvitationForm .assignment-contact label:has([name=profileRole]) { grid-column:1/-1; }
  html:root #profileInvitationForm :is(input:not([type=checkbox]),select) { width:100%; min-width:0; max-width:100%; }
  html:root #profileInvitationForm [data-access-onboarding]>.form-grid>span:empty { display:none; }
  html:root #profileInvitationForm [data-access-onboarding]>p { font-size:12px; line-height:18px; margin:8px 0; overflow-wrap:anywhere; }
  html:root #profileInvitationForm .assignment-owner-field { align-content:start; }
  html:root #profileInvitationForm .assignment-owner { display:block; font-weight:600; color:var(--fliq8-text); }
  html:root #profileInvitationForm .assignment-owner-field small { color:var(--fliq8-secondary); font-weight:400; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coaches { min-width:0; grid-column:1/-1; margin:0; padding:0; border:0; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coaches legend { margin:0 0 4px; padding:0; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coach-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:8px; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coach-option { display:flex; align-items:center; gap:8px; min-height:44px; min-width:0; margin:0; padding:8px 12px; border:1px solid var(--fliq8-control); border-radius:8px; box-sizing:border-box; cursor:pointer; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coach-option input { flex:0 0 20px; width:20px; height:20px; min-height:20px; padding:0; margin:0; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coach-option span { min-width:0; overflow-wrap:anywhere; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coach-option:has(:checked) { border-color:var(--fliq81-plan-accent); background:var(--fliq81-plan-tint); }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-coach-option:has(:focus-visible) { outline:2px solid var(--fliq-focus); outline-offset:2px; }
  html:root :is(#profileInvitationForm,#athleteForm) .assignment-hint { margin:8px 0 0; color:var(--fliq8-secondary); font-size:12px; line-height:18px; overflow-wrap:anywhere; }
  html:root #profileInvitationForm .assignment-new-group { margin-top:12px; padding-top:4px; border-top:1px solid var(--fliq8-divider); }
  html:root #profileInvitationForm .assignment-new-group summary { display:flex; align-items:center; gap:8px; min-height:44px; cursor:pointer; font-size:13px; }
  html:root #profileInvitationForm .assignment-new-group summary::before { content:''; width:16px; height:16px; flex:0 0 16px; background:currentColor; mask:url('ci-8.1/icons/chevron-right.svg?v=163586f895bd') center/16px no-repeat; }
  html:root #profileInvitationForm .assignment-new-group[open] summary::before { transform:rotate(90deg); }
  html:root #profileInvitationForm .assignment-new-group small { color:var(--fliq8-secondary); }
  html:root #profileInvitationForm .assignment-new-group>label { display:grid; margin-top:4px; }
  html:root #profileInvitationForm .assignment-new-group>p { margin:8px 0 0; font-size:12px; line-height:18px; }
  @media(max-width:767px),(pointer:coarse) {
  }
  @media(max-width:600px) {
    html:root #profileInvitationForm .form-grid { grid-template-columns:minmax(0,1fr); }
    html:root #profileInvitationForm :is(.dialog-heading) { flex-wrap:wrap; }
    html:root #profileInvitationForm :is(h2,h3,label,summary,button) { overflow-wrap:anywhere; }
  }
}
