/* Admin hub (admin2.js): sticky search, "waiting for you" tiles, counters. Uses the app tokens only. */
.ag-search { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; margin-bottom: 12px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 16px; }
.ag-search:focus-within { border-color: var(--accent); }
.ag-search > .ms { color: var(--muted); }
.ag-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.ag-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--panel-2, var(--line)); color: var(--text); display: grid; place-items: center; flex: none; cursor: pointer; }
.ag-x .ms { font-size: 18px; }
.ag-wh { display: flex; align-items: center; gap: 10px; margin: 4px 2px 10px; font-size: 16px; }
.ag-wh b { flex: 1; }
.ag-n { min-width: 26px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--red, #dc2626); color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; flex: none; }
.ag-n.g { background: var(--panel-2, var(--line)); color: var(--muted); }
.ag-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ag-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 112px; padding: 14px; text-align: start; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; cursor: pointer; }
.ag-tile .ic { width: 40px; height: 40px; border-radius: 13px; background: var(--accent-soft, rgba(255, 191, 0, .16)); display: grid; place-items: center; }
.ag-tile .ag-big { font-size: 30px; line-height: 1; font-weight: 800; }
.ag-tile .ag-tt { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ag-tile:not(.on) .ag-big { color: var(--muted); }
.ag-tile.on { border-color: var(--accent); }
.ag-tile:active, .ag-x:active { transform: scale(.97); }
.ag-res .list-item { cursor: pointer; }
#nav button { position: relative; }
.ag-nb { position: absolute; top: 2px; inset-inline-end: calc(50% - 26px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red, #dc2626); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
@media (prefers-reduced-motion: reduce) { .ag-tile:active, .ag-x:active { transform: none; } }
