#quota-cards-panel{overflow:hidden;min-width:0;container-type:inline-size}
#quota-cards-panel .quota-cards-top,
#quota-cards-panel .quota-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line,#e8ecf2)}
#quota-cards-panel .quota-cards-top{justify-content:space-between}
#quota-cards-panel .quota-cards-back{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;min-height:40px;border-radius:11px;background:#153e73;color:#fff;text-decoration:none;font-weight:700}
#quota-cards-panel .quota-cards-back:hover{background:#21528e}
#quota-cards-panel .quota-cards-back span{font-size:1.2em}
#quota-cards-panel .quota-cards-search{display:flex;gap:6px;align-items:center;min-width:0;flex:0 1 320px}
#quota-cards-panel .quota-cards-search input{flex:1;min-width:0}
#quota-cards-panel .quota-card-actions{background:rgba(54,112,187,.045)}
#quota-cards-panel .quota-card-actions button{min-height:38px}
#quota-cards-panel .quota-select-toggle{background:#edf5ff;color:#194777;border:1px solid #cddff7;padding:8px 12px;border-radius:10px;font-weight:600}
#quota-cards-panel .quota-select-toggle[aria-pressed="true"]{background:#dcecff;border-color:#7ba9e2}
#quota-cards-panel #quota-selected{margin-inline-start:auto;font-weight:600}
#quota-cards-panel .quota-card-check{width:17px;height:17px;accent-color:#2161af;vertical-align:middle;cursor:pointer}
#quota-cards-panel table{width:100%;min-width:0}
#quota-cards-panel th,#quota-cards-panel td{padding:8px 12px;text-align:start;vertical-align:middle}
#quota-cards-panel .quota-pick-cell{width:72px}
#quota-cards-panel tbody tr:has(.quota-card-check:checked) td{background:rgba(54,112,187,.09)}
#quota-cards-panel .quota-user-link{display:inline-flex;align-items:center;gap:7px;padding:4px 8px;min-height:32px;border:1px solid #cddff7;border-radius:8px;background:#edf5ff;color:#194777;font-weight:700}
#quota-cards-panel .quota-user-link:hover{background:#dcecff}
#quota-cards-panel .quota-user-link bdi{overflow-wrap:anywhere}
#quota-cards-panel :is(.quota-user-link,.quota-cards-back,.quota-select-toggle):focus-visible{outline:2px solid #3678c8;outline-offset:2px}
@container (max-width:620px){
  #quota-cards-panel .quota-cards-top,#quota-cards-panel .quota-card-actions{padding:10px;gap:7px}
  #quota-cards-panel .quota-cards-search{order:3;flex:1 0 100%}
  #quota-cards-panel .table-wrap{box-sizing:border-box;padding:8px}
  #quota-cards-panel table,#quota-cards-panel tbody{display:block;min-width:0}
  #quota-cards-panel thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  #quota-cards-panel tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px;margin-bottom:7px;border:1px solid var(--line,#e8ecf2);border-radius:10px}
  #quota-cards-panel tbody td{display:block;padding:0;min-width:0;border:0;background:none;overflow-wrap:anywhere;white-space:normal}
  #quota-cards-panel tbody tr:has(.quota-card-check:checked) td{background:none}
  #quota-cards-panel tbody tr:has(.quota-card-check:checked){background:rgba(54,112,187,.09)}
  #quota-cards-panel td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;opacity:.75;font-size:.82em}
  #quota-cards-panel .quota-pick-cell{width:auto;grid-column:1;grid-row:1}
  #quota-cards-panel .quota-user-cell{grid-column:2/-1;grid-row:1}
  #quota-cards-panel tr:not(:has(.quota-pick-cell)) .quota-user-cell{grid-column:1/-1}
}
