.jump-link { display: inline-flex; align-items: center; gap: 6px; color: #216b65; text-decoration: none; font-size: 13px; padding: 8px 0; }
.jump-link:hover { text-decoration: underline; }
.jump-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.tool-section { padding: 22px 0 28px; border-bottom: 1px solid var(--border); }
.tool-section:first-child { padding-top: 0; }
.tool-section h2 { margin-bottom: 12px; }
.tool-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 36px; }
.tool-links a { display: flex; gap: 14px; align-items: center; color: #3e5e65; text-decoration: none; padding: 20px 4px; border-bottom: 1px solid var(--border); min-width: 0; }
.tool-links a:hover { color: #0c786e; background: #ffffff60; }
.tool-links a > svg { width: 20px; height: 20px; flex-shrink: 0; }
.tool-links a > svg:last-child { margin-left: auto; width: 16px; }
.account-filters { display: grid; grid-template-columns: minmax(200px,1.5fr) repeat(3,minmax(110px,1fr)) auto; gap: 10px; margin-bottom: 16px; }
.account-filters input, .account-filters select { min-width: 0; width: 100%; max-width: none; min-height: 42px; }
.account-filter-actions { display: flex; gap: 8px; }
.account-filter-actions button { min-width: 84px; min-height: 42px; flex-shrink: 0; }
.account-filter-actions svg { width: 16px; height: 16px; }
.account-results-caption { flex-wrap: wrap; align-items: center; }
#account-filter-pending { color: #99682d; font-size: 12px; padding-left: 10px; }
.account-list-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 10px; }
.account-list-tools .count { color: #647d83; font-size: 13px; }
.account-list-tools > div { display: flex; gap: 6px; }
.account-list-tools .icon { width: 32px; height: 32px; min-height: 32px; padding: 7px; }
.account-member-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.account-member-group + .account-member-group { border-top: 1px solid var(--border); }
.account-member-summary { display: grid; grid-template-columns: minmax(150px,1.3fr) minmax(60px,.6fr) minmax(145px,1.2fr) minmax(105px,.85fr) minmax(95px,.8fr) 24px; align-items: center; gap: 18px; padding: 22px 18px; cursor: pointer; list-style: none; background: #ffffff65; }
.account-member-summary::-webkit-details-marker { display: none; }
.account-member-summary:hover { background: #ffffffae; }
.account-member-summary:focus-visible { outline: 2px solid #287f78; outline-offset: -2px; }
.account-member-group[open] > .account-member-summary { background: #eaf4f3b5; }
.account-member-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account-member-name > span:last-child { min-width: 0; }
.account-member-name strong { font-size: 17px; color: #304c52; overflow-wrap: anywhere; }
.account-member-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; background: #deeeeb; color: #286b62; font-size: 16px; font-weight: 600; }
.account-member-group:nth-child(3n+2) .account-member-avatar { background: #e4ecf6; color: #496d96; }
.account-member-group:nth-child(3n) .account-member-avatar { background: #f3e7ed; color: #946478; }
.account-member-summary small { display: block; font-size: 12px; color: #647d83; line-height: 1.6; }
.account-member-name small { margin-top: 4px; }
.account-member-stat { min-width: 0; }
.account-member-stat > strong { display: block; font-size: 24px; color: #304c52; font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.account-member-stat em { font-size: 12px; font-style: normal; font-weight: 400; color: #647d83; margin-left: 5px; }
.member-followers > strong { color: #234b48; }
.account-member-stat.has-gap > strong { color: #99682d; }
.account-member-chevron { display: flex; align-items: center; justify-content: center; color: #647d83; }
.account-member-chevron svg { width: 18px; height: 18px; transition: transform .15s ease; }
.account-member-group[open] .account-member-chevron svg { transform: rotate(180deg); }
.account-member-body { border-top: 1px solid var(--border); padding: 0 18px 18px; background: #ffffff50; }
.account-member-body .table-wrap { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.account-member-body .account-grid thead th { background: transparent; }
.account-grid { width: 100%; table-layout: fixed; min-width: 0; }
.account-grid th:first-child { width: 28%; }
.account-grid th:nth-child(2) { width: 15%; }
.account-grid th:nth-child(3) { width: 13%; }
.account-grid th:nth-child(4) { width: 17%; }
.account-grid th:last-child { width: 96px; }
.account-grid td, .account-grid th { padding: 15px 12px; white-space: normal; overflow-wrap: anywhere; }
.account-grid .tag { display: inline-block; white-space: normal; }
.account-grid td small, .account-detail small { display: block; color: #6a7e85; font-size: 11px; line-height: 1.65; margin-top: 4px; }
.account-identity b { font-size: 14px; color: #304c52; }
.account-identity .account-link { font-size: 11px; display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; }
.account-identity svg { width: 12px; height: 12px; flex-shrink: 0; }
.account-followers strong { font-size: 22px; color: #234b48; font-weight: 650; }
.account-actions .icon { width: 30px; height: 30px; min-height: 30px; padding: 6px; }
.account-actions .icon + .icon { margin-left: 4px; }
.account-detail { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 18px; margin: 24px 0; font-size: 14px; }
.account-detail dt { color: #6a7e85; }
.account-detail dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.analytics-details { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 18px; }
.analytics-details > summary { cursor: pointer; color: #536e75; }
@media (min-width: 701px) and (max-width: 1100px) {
  .account-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .account-filters input { grid-column: 1 / -1; }
  .account-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .account-member-summary { grid-template-columns: minmax(0,.7fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr); gap: 14px 10px; padding: 18px 12px; }
  .account-member-name { grid-column: 1 / 4; grid-row: 1; }
  .account-member-chevron { grid-column: 4; grid-row: 1; justify-self: end; }
  .account-member-stat > strong { font-size: 21px; }
}
@media (max-width: 700px) {
  body[data-page=accounts] .page-heading { flex-wrap: nowrap; align-items: center; margin-bottom: 18px; }
  body[data-page=accounts] .page-heading .eyebrow, body[data-page=accounts] #subtitle { display: none; }
  body[data-page=accounts] .page-heading h1 { font-size: 22px; margin: 0; white-space: nowrap; }
  body[data-page=accounts] #page-actions { width: auto; flex-wrap: nowrap; }
  body[data-page=accounts] #page-actions .jump-link { font-size: 11px; }
  #account-stats .stat { padding: 14px; }
  #account-stats .stat-number { font-size: 26px; margin: 8px 0 6px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; overflow: visible; }
  .sidebar nav button { min-width: 0; padding: 10px 3px; font-size: 11px; gap: 6px; flex-direction: column; justify-content: center; }
  .sidebar nav button svg { width: 18px; height: 18px; }
  #pending-badge:empty { display: none; }
  #pending-badge:not(:empty) { position: absolute; top: 1px; right: 4px; }
  .sidebar nav button { position: relative; }
  .tool-links { grid-template-columns: 1fr; }
  .account-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .account-filters input { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .account-filters select { width: 100%; min-width: 0; max-width: none; }
  .account-filter-actions { grid-column: 1 / -1; }
  .account-filter-actions button { flex: 1; min-height: 44px; }
  .account-results-caption { row-gap: 4px; }
  #account-filter-pending { padding-left: 0; }
  .account-member-summary { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 24px; padding: 16px 12px; gap: 12px; }
  .account-member-name { grid-column: 1 / 3; grid-row: 1; }
  .account-member-chevron { grid-column: 3; grid-row: 1; }
  .member-followers, .member-attention { grid-column: 2 / 4; }
  .account-member-stat > strong { font-size: 22px; }
  .account-member-body { padding: 0; }
  .account-grid, .account-grid tbody { display: block; }
  .account-grid thead { display: none; }
  .account-grid tr { display: grid; grid-template-columns: minmax(0,1fr) 120px; padding: 16px; gap: 12px 8px; border-bottom: 1px solid var(--border); }
  .account-grid tr:last-child { border-bottom: 0; }
  .account-grid td { display: block; padding: 0; border: 0; min-width: 0; }
  .account-grid tr:hover td { background: transparent; }
  .account-followers { text-align: right; }
  .account-grid [data-label]::before { content: attr(data-label); display: block; color: #6a7e85; font-size: 10px; margin-bottom: 5px; }
  .account-actions { text-align: right; align-self: end; }
  .account-grid .account-actions .icon { width: 36px; height: 36px; padding: 8px; }
}
