.consent-page { display:grid; width:min(100%,1320px); margin:0 auto; gap:20px; }
.consent-heading { margin-bottom:0; }
.consent-panel { overflow:hidden; border-radius:12px; box-shadow:0 10px 28px rgb(23 52 68 / 7%); }
.consent-panel > .ui-panel-header { padding:22px 26px 18px; }
.consent-actions { display:flex; flex-wrap:wrap; gap:10px; padding:0 26px 24px; }
.consent-upload-form { display:grid; gap:22px; padding:0 26px 24px; }
.consent-member-selector { min-width:0; margin:0; padding:0; border:1px solid var(--ui-border); border-radius:9px; }
.consent-member-selector legend { margin-left:16px; padding:0 8px; color:var(--ui-text); font-size:calc(13px * var(--blaulicht-font-scale,1)); font-weight:700; }
.consent-selection-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; border-bottom:1px solid var(--ui-border); color:var(--ui-text-muted); }
.consent-selection-toolbar > div { display:flex; gap:8px; }
.consent-member-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-height:360px; overflow:auto; padding:12px; gap:8px; }
.consent-member-option { display:flex; align-items:center; gap:10px; min-width:0; padding:10px 12px; border:1px solid var(--ui-border); border-radius:7px; background:var(--ui-surface); cursor:pointer; }
.consent-member-option:hover { border-color:var(--console-blue,#078bd3); background:color-mix(in srgb,var(--console-blue,#078bd3) 5%,var(--ui-surface)); }
.consent-member-option input { flex:0 0 auto; }
.consent-member-option span { display:grid; min-width:0; }
.consent-member-option strong,.consent-member-option small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.consent-member-option small { color:var(--ui-text-muted); }
.consent-upload-details { display:grid; grid-template-columns:minmax(210px,.45fr) minmax(360px,1fr); gap:20px; }
.consent-upload-details .ui-field > span { display:block; margin-bottom:6px; font-weight:700; }
.consent-upload-details input { width:100%; min-height:44px; box-sizing:border-box; padding:8px 10px; border:1px solid var(--ui-border-strong); border-radius:7px; background:var(--ui-surface); }
.consent-file-field input { padding:6px; }
.consent-form-actions { padding-top:18px; }
.consent-progress { min-width:68px; justify-content:center; font-size:14px; }
.consent-status-table { min-width:1240px; }
.consent-file-meta { display:grid; min-width:170px; gap:2px; }
.consent-file-meta strong { max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.consent-file-meta small { color:var(--ui-text-muted); font-size:10px; white-space:nowrap; }
@media (max-width:900px) { .consent-member-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) {
  .consent-panel > .ui-panel-header,.consent-upload-form,.consent-actions { padding-left:18px; padding-right:18px; }
  .consent-selection-toolbar { align-items:stretch; flex-direction:column; }
  .consent-upload-details,.consent-member-grid { grid-template-columns:1fr; }
}
