/* Activity page, on the Manage frame tokens (lanes/manage-frame-preview/tokens.css). No colour is written here, only var(--token). */
.arow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.afield, .abtn { min-height: 44px; padding: 0 12px; background: var(--field); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.afield[type="search"] { flex: 1 1 200px; min-width: 0; }
.abtn { background: var(--card); cursor: pointer; }
.abtn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.abtn:focus-visible, .afield:focus-visible, .arow-line:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.acols { position: relative; } .acols summary { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); cursor: pointer; }
.acols[open] { background: var(--card); } .acol { display: block; min-height: 44px; padding: 10px 12px; }
.atable { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); max-width: 100%; }
.atable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.atable th, .atable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top; }
.atable th { color: var(--muted); font-weight: 600; background: var(--soft); }
.arow-line { cursor: pointer; } .arow-line:hover { background: var(--soft); }
.arow-line.sev-high td:first-child { box-shadow: inset 3px 0 var(--bad); } .arow-line.sev-medium td:first-child { box-shadow: inset 3px 0 var(--warn); }
.agroup th { background: var(--accent-soft); color: var(--text); } .adetail td { background: var(--soft); font-family: var(--mono); font-size: 13px; }
@media (max-width: 480px) { .arow > .afield { flex: 1 1 100%; } .abtn { flex: 1 1 auto; } .atable th, .atable td { padding: 8px; } }
[hidden] { display: none !important; }

/* Traffic, Flow and the quick sheet (same tokens; no blue: accent, mint and warn only). */
.tlist { display: grid; gap: 8px; margin: 8px 0; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; min-height: 44px; padding: 8px 12px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tline .tt { font-weight: 600; overflow-wrap: anywhere; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: 12px; }
.tdetail { padding: 8px 12px 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; overflow-wrap: anywhere; }
.flow-wrap { position: relative; }
.flow-links { position: absolute; inset: 0; pointer-events: none; }
.flow-cols { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flow-col { display: grid; gap: 6px; align-content: start; }
.flow-node { display: flex; gap: 6px; justify-content: space-between; min-height: 44px; padding: 8px 12px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.flow-node[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.flow-node.has-blocked { box-shadow: inset 3px 0 var(--warn); }
.flow-link { stroke: var(--mint); opacity: .5; } .flow-link.blocked { stroke: var(--warn); opacity: .8; }
.flow-coltabs { display: none; }
.flow-panel { margin-top: 12px; padding: 12px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 6px; }
.qs { margin: 12px 0; padding: 12px; background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 8px; }
.qs-where { border: 1px solid var(--line); border-radius: var(--radius); } .qs-opt { display: block; min-height: 44px; padding: 10px 4px; }
.qs-go { background: var(--btn); color: var(--btn-t); border-color: var(--btn); }
@media (max-width: 640px) {
  .flow-coltabs { display: flex; } .flow-cols { grid-template-columns: 1fr; } .flow-col { display: none; } .flow-col.on { display: grid; } .flow-links { display: none; }
}
