/* ---- V8: activity log, Travel Mode, username generator. Quiet Glass tokens only, so light and dark follow. */

/* the log */
.vx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 12px; }
.vx-bar .grow { flex: 1; }
.vx-filter { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--muted); }
.vx-filter select { min-height: 44px; min-width: 200px; max-width: 100%; }
.vx-log { max-height: min(60vh, 640px); overflow: auto; }
#team-activity-list.vx-log { max-height: none; }
.vx-row { align-items: flex-start; min-height: 56px; }
.vx-row .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vx-what { overflow-wrap: anywhere; line-height: 22px; }
.vx-what b { font-weight: 600; }
.vx-row small { color: var(--muted); font-size: 13px; line-height: 18px; }
.vx-more { display: flex; justify-content: center; margin-top: 8px; }
.vx-more .btn, .vx-bar .btn { min-height: 44px; }
.vx-note { font-size: 13px; line-height: 18px; margin: 6px 0 0; }
#access-activity:empty { display: none; }

/* Travel Mode */
.vx-banner { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r); background: var(--amber-soft); color: var(--text); font-size: var(--fs-meta); line-height: 20px; }
.vx-banner[hidden] { display: none; }
.vx-explain p { margin: 0 0 8px; color: var(--muted); font-size: var(--fs-meta); line-height: 20px; }
.vx-explain b { color: var(--text); font-weight: 600; }
.vx-travel-row { min-height: 56px; cursor: pointer; }
.vx-travel-row input { width: 22px; height: 22px; flex: none; }
.vx-travel-row .grow { display: flex; flex-direction: column; min-width: 0; }
.vx-travel-row small { color: var(--muted); font-size: 13px; }
#travel-pill { background: var(--amber-soft); color: var(--amber); }

/* username generator (in the login panel, next to the password one) */
.vx-gen-field[hidden], .vx-gen[hidden] { display: none; }
.vx-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.vx-seg button { min-height: 44px; padding: 0 14px; border-radius: var(--btn-r); border: 1px solid var(--btn-border); background: transparent; color: var(--text); font: inherit; font-size: var(--fs-meta); font-weight: 600; cursor: pointer; }
.vx-seg button[aria-checked="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.vx-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vx-gen .row-btns .btn { min-height: 44px; }

@media (max-width: 480px) {
  .vx-filter { width: 100%; }
  .vx-filter select { flex: 1; min-width: 0; }
  .vx-log { max-height: none; }
}
