/* Shared roster layout: fixed action slots, explicit read-only identity fields. */
.roster-name-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; min-width: 0; }
.roster-name-fields label { display: grid; gap: 4px; font-size: .75rem; min-width: 0; }
.roster-name-fields input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; }
.roster-name-fields input, select[data-roster-role] { border: 1px solid var(--line); border-radius: 6px; padding: 8px; background: var(--input-bg, var(--surface-muted, var(--panel))); color: var(--ink, var(--text)); font: inherit; }
select[data-roster-role] { width: 100%; min-height: 44px; }
.roster-name-fields input:focus-visible, select[data-roster-role]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.member-invite-form, .member-invite { grid-template-columns: minmax(240px,1.4fr) minmax(180px,1.2fr) minmax(110px,.6fr) 150px; }
.roster-save-status { grid-column: 1 / -1; font-size: .72rem; white-space: normal; }
.roster-readonly { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.roster-readonly small { font-size: .7rem; opacity: .7; }
.roster-fixed-actions { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px !important; width: 100%; align-items: center; }
.roster-fixed-actions button { width: 100%; min-height: 44px; margin: 0; white-space: nowrap; border-radius: 8px; }
.member-row-actions.roster-fixed-actions::before { grid-column: 1 / -1; }
.member-row-actions.roster-fixed-actions .small-button { min-height: 44px; }
.roster-fixed-actions button:disabled { opacity: .45; cursor: not-allowed; }
.roster-fixed-actions .roster-remove { background: #622d35; color: #ffd9dc; border: 1px solid #b95864; }
.roster-fixed-actions .roster-remove:not(:disabled):hover { background: #7d303d; }
.suite-identity-dialog { width: min(460px, calc(100% - 32px)); border: 1px solid #64748b; border-radius: 12px; padding: 24px; background: var(--panel, #fff); color: var(--ink, var(--text, #17202a)); }
.suite-identity-dialog::backdrop { background: #0008; }
.suite-identity-dialog form, .suite-identity-dialog label { display: grid; gap: 8px; }
.suite-identity-dialog form { gap: 16px; }
.suite-identity-dialog input { width: 100%; min-height: 44px; padding: 8px; border: 1px solid #64748b; border-radius: 8px; background: var(--input-bg, #fff); color: inherit; }
.suite-identity-dialog input[readonly] { opacity: .7; background: #94a3b822; cursor: default; }
.suite-identity-actions { display: flex; justify-content: flex-end; gap: 8px; }
.suite-identity-actions button { border: 1px solid #64748b; border-radius: 8px; padding: 10px 16px; min-height: 44px; }
.signed-in-profile { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr) auto; }
.account-fields input[readonly], .signed-in-profile input[readonly] { background: #94a3b822; opacity: .7; cursor: default; }
.member-roster-header, .member-row, .members-heading, .setup-item.member-item { grid-template-columns: minmax(220px,1.4fr) minmax(180px,1.2fr) minmax(95px,.6fr) minmax(80px,.5fr) 190px; }
.member-roster-header > :last-child, .members-heading > :last-child { text-align: center; }
@media (max-width: 1100px) {
  .member-invite-form, .member-invite { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .member-roster-header, .members-heading { display: none; }
  .member-row, .setup-item.member-item { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .roster-fixed-actions { grid-column: 1 / -1; max-width: 320px; justify-self: start; }
}
@media (max-width: 620px) {
  .signed-in-profile { grid-template-columns: minmax(0,1fr); }
  .member-invite-form, .member-invite { grid-template-columns: minmax(0,1fr); }
  .member-row, .setup-item.member-item { grid-template-columns: minmax(0,1fr); }
  .roster-fixed-actions { max-width: none; }
}
