/* Fun-play tracker test on the redesign foundation: one count leads, the controls sit in one white
 * card with a single main action, and detections list as hairline rows. */
.demo-workspace{max-width:1040px}
.demo-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
.demo-label{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:var(--gx-soft);color:var(--gx-ink-2);font-size:11.5px;font-weight:500}
.demo-heading h1{margin-top:10px}
.demo-count{display:flex;flex-direction:column;align-items:flex-end;flex:none}
.demo-count strong{font-size:46px;font-weight:600;letter-spacing:-1.9px;line-height:.95;font-variant-numeric:tabular-nums}
.demo-count span{margin-top:6px;font-size:12px;color:var(--gx-muted)}
.demo-intro{max-width:70ch;margin:16px 0 22px;font-size:14px;line-height:1.6;color:var(--gx-ink-2)}
.demo-controls{padding:18px 20px;border-radius:var(--gx-r-card);background:var(--gx-surface);box-shadow:0 0 0 1px var(--gx-stroke)}
.demo-controls p{font-size:13.5px;font-weight:500;line-height:1.5}
.demo-controls .demo-help{max-width:76ch;margin-top:4px;font-size:12.5px;font-weight:400;line-height:1.55;color:var(--gx-muted)}
.demo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}
#demo-clear{color:var(--gx-muted)}
#demo-clear:hover:not(:disabled){background:var(--gx-soft);color:var(--gx-ink)}
#demo-error:not(:empty){display:flex;align-items:center;gap:10px;margin:14px 0 0;padding:10px 14px;border-radius:12px;background:color-mix(in srgb,var(--gx-loss) 9%,var(--gx-surface));color:var(--gx-loss);font-size:13px;line-height:1.5}
.demo-results{margin-top:34px}
.demo-results h2{margin:0 0 12px}
.demo-empty{padding:36px 20px 40px;border-top:1px solid var(--gx-hair)}
.demo-empty h3{font-size:15px;letter-spacing:-.25px}
#demo-table-wrap{padding:2px 14px 6px;border-radius:var(--gx-r-group);background:var(--gx-surface);box-shadow:0 0 0 1px var(--gx-stroke)}
.demo-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.demo-table th{height:38px;font-size:11.5px;font-weight:500;color:var(--gx-muted)}
.demo-table :is(td,th){padding:10px 8px;vertical-align:middle;overflow-wrap:anywhere}
.demo-table td{border-top:1px solid var(--gx-hair)}
.demo-table :is(td,th):first-child{width:48%;padding-left:0}
.demo-table :is(td,th):last-child{padding-right:0;text-align:right;font-variant-numeric:tabular-nums}
.demo-table strong{font-weight:600}
.demo-table small{display:block;margin-top:2px;font-size:11.5px;line-height:1.5;color:var(--gx-muted)}
.demo-super-badge{display:inline-flex;align-items:center;height:18px;margin-left:8px;padding:0 7px;border-radius:999px;background:var(--gx-accent-soft);color:var(--gx-accent);font-size:10.5px;font-weight:600}
@media (max-width:600px){
 .demo-heading{align-items:flex-start}
 .demo-count{align-items:flex-start}
 .demo-count strong{font-size:40px}
 .demo-table{table-layout:fixed}
 .demo-table :is(td,th):first-child{width:42%}
 .demo-table :is(td,th):last-child{width:22%}
 .demo-actions .primary-button{flex-basis:100%}
}
