/* Member administration reuses the dashboard controls and data-table system. */
.sy-member-actions,.sy-member-heading {display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.sy-member-heading h1 {overflow-wrap:anywhere;margin:0}
.sy-member-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:4px 0 24px}
.sy-member-summary>div {display:flex;flex-direction:column;gap:6px;border-inline-end:1px solid var(--sy-border);padding-inline-end:20px}
.sy-member-summary>div:last-child {border:0}
.sy-member-summary span,.sy-member-summary small {color:var(--sy-muted)}
.sy-member-summary strong {font-size:26px;font-weight:600;color:var(--sy-navy);font-variant-numeric:tabular-nums}
.sy-member-summary small {font-size:var(--sy-font-meta)}
.sy-member-filters {padding:18px 20px 16px;border-bottom:1px solid var(--sy-border)}
.sy-member-filter-row {display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(160px,1fr));gap:16px}
.sy-member-filter-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sy-member-filter-row .field,.sy-member-filter-grid .field {margin:0;min-width:0;display:flex;flex-direction:column;gap:6px}
.sy-member-filter-row label,.sy-member-filter-grid label {font-weight:var(--sy-control-font-weight)}
.sy-member-filter-details {margin-top:12px}
.sy-member-filter-actions {display:flex;align-items:center;gap:8px;margin-top:12px}
.sy-member-table {min-width:850px}
.sy-member-table th:first-child {width:34%}
.sy-member-table td {height:66px}
.sy-member-table .sy-member-email {display:block;overflow-wrap:anywhere;color:var(--sy-action);text-decoration:none}
.sy-member-table .sy-member-email:hover {text-decoration:underline}
.sy-member-table small,.sy-member-library small {display:block;color:var(--sy-muted);font-size:var(--sy-font-meta);margin-top:3px}
.sy-member-number {text-align:right!important;font-variant-numeric:tabular-nums}
.sy-member-table td:last-child {white-space:nowrap}
.sy-member-status {display:inline-flex;align-items:center;gap:6px;font-size:var(--sy-font-meta);color:var(--sy-text);white-space:nowrap}
.sy-member-status:before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.sy-member-status[data-status=active] {color:var(--sy-success)}
.sy-member-status[data-status=banned] {color:var(--sy-error)}
.sy-member-status[data-status=unconfirmed],.sy-member-status[data-status=locked] {color:var(--sy-warning)}
.sy-member-loading {padding:28px;display:flex;justify-content:center}
.sy-member-dialog {max-width:520px}
.sy-member-form .field {margin-bottom:16px}
.sy-member-form .muted {font-size:var(--sy-font-meta)}
.sy-member-back {margin:0 0 12px -12px}
.sy-member-account {border-bottom:1px solid var(--sy-border);padding-bottom:22px;margin-bottom:24px}
.sy-member-account dl {display:flex;gap:24px 48px;flex-wrap:wrap;margin:0 0 18px}
.sy-member-account dt {color:var(--sy-muted);font-size:var(--sy-font-meta);margin-bottom:4px}
.sy-member-account dd {margin:0;color:var(--sy-navy)}
.sy-member-ban-notice {border-inline-start:3px solid var(--sy-error);background:var(--sy-error-surface);color:var(--sy-error);padding:12px 16px;margin:12px 0 16px;overflow-wrap:anywhere}
.sy-member-ban-notice p {margin:0}
.sy-member-ban-notice p+p {margin-top:6px}
.sy-member-usage {grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
.sy-member-measurements {margin-bottom:24px}
.sy-member-measurements p {margin:0 0 8px;color:var(--sy-muted)}
.sy-member-videos>h2 {font-size:var(--sy-font-section);font-weight:600;margin:0 0 12px}
.sy-member-video-filters {margin:0 20px 16px}
.sy-member-video-filters .sy-member-filter-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
.sy-member-video-filters .sy-button {margin-top:8px}
.sy-member-library .sy-video-size-label {margin-inline-end:4px}
.sy-member-library th:nth-child(3) {width:150px}
.sy-member-library th:nth-child(4) {width:100px}
.sy-member-audit {margin-top:24px}
.sy-member-audit ol {list-style:none;padding:0;margin:0}
.sy-member-audit li {padding:12px 0;border-bottom:1px solid var(--sy-border);overflow-wrap:anywhere}
.sy-member-audit li>div {display:flex;justify-content:space-between;gap:16px}
.sy-member-audit time,.sy-member-audit small {font-size:var(--sy-font-meta);color:var(--sy-muted)}
.sy-member-audit p {margin:6px 0 0}
@media(max-width:800px) {
 .sy-member-summary {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .sy-member-filter-row {grid-template-columns:repeat(2,minmax(0,1fr))}
 .sy-member-search {grid-column:1/-1}
 .sy-member-filter-grid,.sy-member-video-filters .sy-member-filter-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .sy-member-summary>div:nth-child(even) {border:0}
 .sy-member-usage {grid-template-columns:1fr;gap:14px}
 .sy-member-usage>div {border:0;border-bottom:1px solid var(--sy-border);padding-bottom:12px}
 .sy-member-audit li>div {flex-wrap:wrap;gap:4px}
}
@media(max-width:460px) {
 .sy-member-filter-row,.sy-member-filter-grid,.sy-member-video-filters .sy-member-filter-grid {grid-template-columns:1fr}
 .sy-member-filters {padding:16px}
 .sy-member-heading h1 {font-size:22px}
 .sy-member-actions {width:100%}
 .sy-member-actions>.sy-button {flex:1;justify-content:center}
}
