/* Shared feedback for the two statistical tools. Data is never hidden for a minimum duration. */
body[data-intelligence-tool] { --experience-ease:cubic-bezier(.2,.7,.2,1); }
body[data-intelligence-tool] :is(button,a,select,input) { transition:background-color .18s,color .18s,border-color .18s,transform .16s,box-shadow .18s; }
body[data-intelligence-tool] button:not(:disabled):active,
body[data-intelligence-tool] a:active { transform:translateY(1px) scale(.98); }
body[data-intelligence-tool] :is(button,a,select,input):focus-visible { outline:2px solid var(--mint,#6be0bf); outline-offset:4px; }
body[data-intelligence-tool] :is(.panel,.kpi,.metric-card,.job-market-card,.size-card) { transition:border-color .2s,background-color .2s; }
body[data-intelligence-tool] :is(.metric-card,.kpi,.size-card):hover { border-color:#4f746e; }
body[data-intelligence-tool] :is(.bar-fill,.size-bar-track i,.comparison-bar-fill) { transform-origin:left; animation:experience-bar-in .42s var(--experience-ease) both; }
body[data-intelligence-tool] :is(svg polyline,svg circle) { animation:experience-chart-in .38s var(--experience-ease) both; }
body[data-intelligence-tool] details[open] > :not(summary) { animation:experience-detail-in .22s var(--experience-ease); }
body[data-intelligence-tool] :is(.nav button,.nav-item,.segmented button,[data-size-metric],[data-age-metric]):hover { transform:translateX(2px); }
body[data-intelligence-tool] :is(.nav .active,.nav-item.active,.segmented .selected) { transition:background-color .2s,border-color .2s,color .2s; }
.experience-skeleton-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0;pointer-events:none; }
.experience-skeleton-card,.experience-skeleton-chart { border:1px solid var(--border,#2a383e);background:var(--panel,#162228);border-radius:14px;padding:24px;min-height:165px;overflow:hidden; }
.experience-skeleton-card i,.experience-skeleton-card b,.experience-skeleton-chart i { display:block;position:relative;overflow:hidden;background:#26383e;border-radius:5px;height:12px;width:65%; }
.experience-skeleton-card b { height:36px;width:75%;margin:23px 0; }
.experience-skeleton-card i:last-child { width:88%;height:9px; }
.experience-skeleton-chart { grid-column:1/-1;min-height:230px;display:flex;flex-direction:column;gap:22px;justify-content:center; }
.experience-skeleton-chart i { width:85%;height:14px; }
.experience-skeleton-chart i:nth-child(2) { width:65%; }
.experience-skeleton-chart i:nth-child(3) { width:92%; }
.experience-skeleton-chart i:nth-child(4) { width:54%; }
.experience-skeleton-chart i:nth-child(5) { width:73%; }
.experience-skeleton-grid :is(i,b)::after,
body.experience-runtime-active[data-experience-pending] .metric-value::after { content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(100deg,transparent,rgba(143,195,184,.14),transparent);animation:experience-shimmer 1.25s linear infinite; }
body.experience-runtime-active[data-experience-pending] :is(.metric-value,.job-card-value-row strong) { color:transparent;position:relative;border-radius:6px;min-height:45px;max-width:210px;background:#26383e;overflow:hidden; }
body.experience-runtime-active[data-experience-pending] :is(.ranking-list:empty,.sex-comparison:empty) { min-height:180px;background:repeating-linear-gradient(0deg,transparent 0 23px,#26383e 23px 36px,transparent 36px 52px);border-radius:6px; }
.experience-load-error { border:1px solid #745449;border-radius:10px;padding:16px;color:#f0a38b;background:#2b2523; }
@keyframes experience-shimmer { to { transform:translateX(100%); } }
@keyframes experience-bar-in { from { transform:scaleX(.1);opacity:.4; } to { transform:scaleX(1);opacity:1; } }
@keyframes experience-chart-in { from { opacity:.2; } to { opacity:1; } }
@keyframes experience-detail-in { from { opacity:.3;transform:translateY(-4px); } to { opacity:1;transform:translateY(0); } }
@media(max-width:720px) { .experience-skeleton-grid { grid-template-columns:1fr;gap:12px; }.experience-skeleton-card { min-height:125px;padding:18px; }.experience-skeleton-card b { height:28px;margin:18px 0; }.experience-skeleton-chart { min-height:210px;padding:20px; } }
@media(prefers-reduced-motion:reduce) { body[data-intelligence-tool] { scroll-behavior:auto; }body[data-intelligence-tool] *,body[data-intelligence-tool] *::before,body[data-intelligence-tool] *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; } }
@media print { .experience-skeleton-grid,.experience-load-error { display:none; }body[data-intelligence-tool] *,body[data-intelligence-tool] *::before,body[data-intelligence-tool] *::after { animation:none!important;transition:none!important; } }
