/* Compact Grid page titles and related header actions. */
:is(.admin-topbar,.operations-topbar,.tqd-topbar,.reports-topbar,.results-topbar,.profile-topbar,.members-topbar,.credentials-topbar,.billing-topbar,.feedback-topbar,.onsite-topbar,.qa-topbar,.ti-topbar,.dss-header,.testing-head,.member-access-header,.rpn-hero,.fees-header,.limit-intro) h1{font-size:20px!important;line-height:1.2;letter-spacing:-.015em}
:is(.admin-topbar,.operations-topbar,.tqd-topbar,.reports-topbar,.results-topbar,.profile-topbar,.members-topbar,.credentials-topbar,.billing-topbar,.feedback-topbar,.onsite-topbar,.qa-topbar,.ti-topbar,.dss-header,.testing-head,.member-access-header,.rpn-hero,.fees-header,.limit-intro) h1+p{font-size:12px;line-height:1.45}
:is(.members-actions,.top-actions,.ti-actions,.dss-actions nav) :is(a,button):not(.global-shell-button):not(.global-profile-button){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:1px solid #cbd9e4;border-radius:9px;background:#fff;color:#17324a;font:800 11px/1.2 Inter,system-ui,sans-serif;text-decoration:none;white-space:normal}
:is(.members-actions,.top-actions,.ti-actions,.dss-actions nav) :is(.primary-button,.ti-button:not(.secondary)){border-color:#0f73b8!important;background:#0f73b8!important;color:#fff!important}
:is(.members-actions,.top-actions,.ti-actions,.dss-actions nav) :is(a,button):focus-visible{outline:3px solid #1774bd80;outline-offset:2px}
.qa-header-deadline,.fee-identity,.limit-guidance{color:#61758a;font-size:12px}
.account-card h1{font-size:20px!important;line-height:1.2}.account-card h1+p{font-size:12px;line-height:1.45}.account-guidance p{font-size:12px}
.qa-topbar .qa-refresh,.fees-header .back{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:1px solid #cbd9e4;border-radius:9px;background:#fff;color:#17324a;font:800 11px/1.2 Inter,system-ui,sans-serif;text-decoration:none}
@media(max-width:620px){:is(.admin-topbar,.operations-topbar,.tqd-topbar,.reports-topbar,.results-topbar,.profile-topbar,.members-topbar,.credentials-topbar,.billing-topbar,.feedback-topbar,.onsite-topbar,.qa-topbar,.ti-topbar,.dss-header,.testing-head,.member-access-header,.rpn-hero,.fees-header,.limit-intro) h1{font-size:19px!important}}

/* Compact overview panels use the same restrained type scale across Grid. */
:is(.operations-hero,.credential-hero,.admin-hero,.onsite-hero,.members-summary,.team-hero,.qa-hero,.result-identity,.tqd-identity,.feedback-identity,.billing-identity,.profile-app-hero){padding:18px 22px;border-radius:13px;gap:16px}
:is(.operations-hero,.credential-hero,.admin-hero,.onsite-hero,.members-summary,.team-hero,.result-identity,.tqd-identity,.feedback-identity){border-top-width:3px}
:is(.operations-hero,.credential-hero,.admin-hero,.onsite-hero,.members-summary,.team-hero,.qa-hero,.result-identity,.tqd-identity,.feedback-identity,.billing-identity,.profile-app-hero) h2{font-size:20px;line-height:1.25;letter-spacing:-.015em;margin:4px 0 6px}
:is(.operations-hero,.credential-hero,.admin-hero,.onsite-hero,.members-summary,.team-hero,.qa-hero,.result-identity,.tqd-identity,.feedback-identity,.billing-identity,.profile-app-hero) p{font-size:12px;line-height:1.5}
:is(.operations-hero,.credential-hero,.admin-hero,.onsite-hero,.members-summary,.team-hero,.qa-hero,.result-identity,.tqd-identity,.feedback-identity,.billing-identity,.profile-app-hero) .eyebrow{font-size:9px;letter-spacing:.12em}
:is(.operations-stats,.credential-stats)>div{min-width:90px;padding:8px 10px;border-radius:9px}
:is(.operations-stats,.credential-stats) strong,.admin-total strong{font-size:18px;line-height:1.25}
:is(.operations-stats,.credential-stats) span{font-size:10px;line-height:1.3}
:is(.team-hero,.onsite-hero,.billing-identity,.result-identity,.tqd-identity,.feedback-identity) :is(dl>div,.hero-metrics>div){padding:9px 11px}
.profile-app-hero{min-height:0}.profile-app-hero .profile-hero-head h2{font-size:20px}
.ti-summary{padding:18px 22px;border-top-width:3px;border-radius:13px;gap:16px}.ti-summary h2{font-size:20px;line-height:1.25;margin:4px 0 6px}.ti-summary p{font-size:12px;line-height:1.5}.ti-summary dl div{padding:9px 11px}.ti-summary dd{font-size:15px}
@media(max-width:700px){:is(.operations-hero,.credential-hero,.admin-hero,.onsite-hero,.members-summary,.team-hero,.qa-hero,.result-identity,.tqd-identity,.feedback-identity,.billing-identity,.profile-app-hero){padding:16px;gap:12px}:is(.operations-stats,.credential-stats)>div{min-width:0}}
@media(max-width:700px){.qa-hero>div{flex:1 1 100%;min-width:0}.qa-hero>strong{margin-left:0}}

/* A restrained motorsport echo for the dark Grid hero family. */
@media screen {
  :is(.admin-hero,.operations-hero,.credential-hero,.onsite-hero,.members-summary,.qa-hero,.tqd-identity,.feedback-identity,.billing-identity,.rpn-hero){position:relative}
  :is(.admin-hero,.operations-hero,.credential-hero,.onsite-hero,.members-summary,.qa-hero,.tqd-identity,.feedback-identity,.billing-identity,.rpn-hero)::after{
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    background:url('/assets/dashboard-gauge.svg?v=4') 74% 50%/auto 180% no-repeat, url('/assets/dashboard-race-trim.svg') center/100% 100% no-repeat;
    opacity:.42;
    clip-path:inset(0 round 13px)
  }
}
