/* List and activity layouts follow the local Event Management dashboard. */
aside nav a{display:flex;align-items:center;gap:14px}
aside nav a svg{width:20px;height:20px;flex:none}
aside nav a span{min-width:0}
.list-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}
.list-metrics :is(span,strong){overflow-wrap:anywhere}
.record-panel{container:record-list / inline-size}
.record-panel .panel-heading{flex-wrap:wrap}
.record-panel .panel-heading>*{min-width:0;overflow-wrap:anywhere}
.record-table{table-layout:fixed;white-space:normal}
.record-table :is(th,td){padding:16px 12px;vertical-align:top;overflow-wrap:anywhere}
.record-table .cell-value{min-width:0;max-width:100%;overflow-wrap:anywhere}
.record-table time{font-variant-numeric:tabular-nums}
.record-table .mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.record-table .cell-value .small{display:inline}
.journeys-table th:nth-child(1){width:22%}
.journeys-table th:nth-child(2){width:10%}
.journeys-table th:nth-child(3){width:21%}
.journeys-table th:nth-child(4){width:21%}
.journeys-table th:nth-child(5){width:10%}
.journeys-table th:nth-child(6){width:16%}
.issues-table th:nth-child(1){width:18%}
.issues-table th:nth-child(2){width:30%}
.issues-table th:nth-child(3){width:11%}
.issues-table th:nth-child(4){width:9%}
.issues-table th:nth-child(5){width:12%}
.issues-table th:nth-child(6){width:9%}
.issues-table th:nth-child(7){width:11%}
.filters:has(input[name="errors"])>label:not(.check){flex:1 1 200px;min-width:0;max-width:100%}
.filters:has(input[name="errors"]) :is(input:not([type=checkbox]),select){width:100%}
.filters:has(input[name="errors"]) .check{flex:1 1 240px;min-width:0;overflow-wrap:anywhere}
.online-heading{align-items:flex-start;flex-wrap:wrap}
.online-heading>div:first-child{flex:1 1 420px;min-width:0}
.online-heading p{font-size:.875rem;max-width:760px;margin-bottom:0}
.online-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.online-list{list-style:none;margin:0;padding:0;max-height:24rem;overflow-y:auto}
.online-list:focus-visible{outline:3px solid #ff9500;outline-offset:-3px}
.online-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:16px 24px;padding:16px 24px;border-top:1px solid var(--line)}
.online-row:nth-child(even){background:#fafbfc}
.online-identity,.online-last{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;font-size:.875rem}
.online-identity strong{font-weight:600}
.online-label{color:var(--muted);font-size:.75rem}
.online-last time{font-variant-numeric:tabular-nums}
.online-status{justify-self:start;white-space:nowrap}
.online-status::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:1px}
.online-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;border-top:1px solid var(--line);padding:14px 24px;color:var(--muted);font-size:.75rem}
.online-footer>span{min-width:0;overflow-wrap:anywhere}
.activity-heading{align-items:flex-start;flex-wrap:wrap}
.activity-heading>div{flex:1 1 360px;min-width:0}
.activity-heading p{font-size:.875rem;margin-bottom:0}
.activity-history-panel .period-links{display:flex;flex-wrap:wrap;gap:6px}
.activity-history-panel .period-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;font-size:.8125rem;font-weight:600}
.activity-history-panel .period-links a:hover{background:var(--wash);color:var(--accent)}
.activity-history-panel .period-links a.active{color:var(--accent);background:var(--wash);border-color:#edc3a8}
.activity-history-panel .chart{padding-top:8px}
.activity-history-panel .chart-readout{margin-top:12px;min-height:2.7em}
@container record-list (max-width:960px){
  .record-table,.record-table tbody{display:block;width:100%}
  .record-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .record-table tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;padding:20px 24px;border-top:1px solid var(--line)}
  .record-table tbody>tr:nth-child(even){background:#fafbfc}
  .record-table tbody>tr:hover{background:#fffbf8}
  .record-table td{display:block;min-width:0;padding:0;border:0}
  .record-table td::before{content:attr(data-label);display:block;color:#5b5b5b;font-size:.8125rem;font-weight:600;margin-bottom:6px}
}
@container record-list (max-width:620px){
  .record-table tbody>tr{grid-template-columns:minmax(0,1fr);gap:14px}
  .record-table td{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px}
  .record-table td::before{margin-bottom:0}
  .issues-table td[data-label="Issue"]{grid-template-columns:minmax(0,1fr);gap:6px}
}
@container record-list (max-width:340px){
  .record-table td{grid-template-columns:minmax(0,1fr);gap:4px}
}
@container user-activity (max-width:620px){
  .online-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .online-identity{grid-column:1;grid-row:1}
  .online-status{grid-column:2;grid-row:1;align-self:start}
  .online-last{grid-column:1/-1}
}
.online-panel{container:user-activity / inline-size}
@media(max-width:780px){
  .online-row{padding-inline:16px}
  .online-footer{padding-inline:16px}
}
@media(max-width:420px){
  .activity-history-panel .period-links{width:100%}
  .activity-history-panel .period-links a{flex:1 1 auto;padding-inline:10px}
}
