/* PhotoX — admin console. Densest register; split master/detail on queues. */
.admin .page { padding-top: var(--s-5); }
.queue { list-style: none; margin: 0; padding: 0; }
.queue li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: center; padding: var(--s-3); cursor: pointer; border-radius: var(--r-ctl); margin-bottom: 2px; }
.queue li > span:nth-child(2) { min-width: 0; }
.queue li .t, .queue li .s { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue li > .pill { display: none; }
.queue li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); flex: none; }
.queue li .dot.ok { background: var(--success); } .queue li .dot.err { background: var(--danger); } .queue li .dot.info { background: var(--info); }
.queue li:hover { background: var(--surface); }
.queue li.is-active { background: var(--primary-soft); }
.queue .t { font-weight: 600; } .queue .s { font-size: var(--t-12); color: var(--muted); }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: var(--rule); margin-bottom: var(--s-4); flex-wrap: wrap; }
.audit { background: var(--surface); border-radius: var(--r-card); padding: var(--s-3) var(--s-5); box-shadow: var(--elev-card); }
.detail-head h2 { font-size: var(--t-22); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.audit { font-size: var(--t-13); }
.audit li { display: grid; grid-template-columns: 120px 150px 1fr; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: var(--rule); }
.audit .at { font-family: var(--font-mono); color: var(--muted); font-size: var(--t-12); }
@media (max-width: 720px) { .audit li { grid-template-columns: 1fr; gap: 2px; } }
.placements { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.placements label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--surface-2); border-radius: var(--r-full); font-size: var(--t-13); font-weight: 600; cursor: pointer; }
.placements label:has(input:checked) { background: var(--primary); color: var(--on-primary); }
.placements input { position: absolute; opacity: 0; width: 0; }
.email-preview { border: var(--rule-strong); border-radius: var(--r-lg); overflow: hidden; max-width: 520px; font-size: var(--t-13); }
.email-preview .eh { padding: var(--s-3) var(--s-4); background: var(--surface-2); font-family: var(--font-mono); font-size: var(--t-12); color: var(--muted); }
.email-preview .eb { padding: var(--s-4); }
.email-preview .eb img { border-radius: var(--r-card); margin: var(--s-3) 0; }
.health { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-3); }
.health div { padding: var(--s-3) var(--s-4); border-top: 3px solid var(--success); background: var(--surface-2); border-radius: var(--r-ctl); font-size: var(--t-13); font-weight: 600; }
.health div.warn { border-top-color: var(--warning); } .health div.err { border-top-color: var(--danger); }
.health .v { font-family: var(--font-mono); font-size: var(--t-18); }
.a-sponsors #list .table { min-width: 1180px; }
.a-sponsors #list .table td { white-space: nowrap; }
.a-sponsors #list .table td:first-child { white-space: normal; min-width: 220px; }
.a-sponsors #list .table td:first-child .small { display: none; }
.a-content .table td, .a-orders .table td { white-space: nowrap; }
.a-orders #body .table { min-width: 1100px; }
