/* Native links provide the complete card target, keyboard support and open-in-new-tab. */
:is(.dashboard-kpis,.nom-metrics,.coord-metrics){gap:14px}
.nominations .nom-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important}
a.dashboard-card{--card-accent:#156342;position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:184px;padding:22px!important;overflow:hidden;border:1px solid #dbe6d8;border-radius:18px;background:linear-gradient(145deg,#fff 35%,#f1f6ec);color:#173e2d;text-decoration:none;box-shadow:0 6px 20px #173f2b08;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
a.dashboard-card::before{content:'';position:absolute;z-index:-1;width:115px;height:115px;right:-40px;top:-45px;border:20px solid #a5c99926;border-radius:50%;pointer-events:none}
a.dashboard-card::after{content:'';position:absolute;bottom:0;left:22px;right:22px;height:3px;border-radius:8px 8px 0 0;background:var(--card-accent);opacity:.65}
a.dashboard-card .dashboard-card-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:14px;border:1px solid #dbe9d4;border-radius:12px;background:#ecf4e5;color:var(--card-accent)}
.dashboard-card-icon svg{width:23px;height:23px}
a.dashboard-card .dashboard-card-label{font-size:.78rem;line-height:1.45;font-weight:750;color:#546d5d}
a.dashboard-card .dashboard-card-value{display:block;margin:6px 0 17px;font:750 clamp(1.75rem,2.5vw,2.4rem)/1.15 system-ui,sans-serif;letter-spacing:-.045em;color:#153e2b;font-variant-numeric:tabular-nums}
a.dashboard-card .dashboard-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;font-size:.7rem;font-weight:650;color:#5b765e}
.dashboard-card-footer>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#ffffffbc;font-size:1.1rem;transition:transform .18s ease}
a.dashboard-card:hover{transform:translateY(-4px);border-color:#80ad70;box-shadow:0 14px 30px #173f2b17}
a.dashboard-card:hover .dashboard-card-footer>span{transform:translate(2px,-2px)}
a.dashboard-card:focus-visible{outline:3px solid #bd9319;outline-offset:4px;border-color:#165d3d;box-shadow:0 12px 28px #173f2b18}
a.dashboard-card:active{transform:translateY(-1px)}
a.dashboard-card-pending,a.dashboard-card-calendar{--card-accent:#946d13;background:linear-gradient(145deg,#fff 35%,#fbf5df)}
a.dashboard-card-pending .dashboard-card-icon,a.dashboard-card-calendar .dashboard-card-icon{background:#faf1d1;border-color:#efe0ac}
.dashboard-kpis>.dashboard-card:first-child{background:linear-gradient(135deg,#123f2e,#206241);border-color:#175237}
.dashboard-kpis>.dashboard-card:first-child :is(.dashboard-card-label,.dashboard-card-value,.dashboard-card-footer){color:#fff}
.dashboard-kpis>.dashboard-card:first-child .dashboard-card-icon{color:#f1d886;background:#ffffff14;border-color:#ffffff26}
.dashboard-kpis>.dashboard-card:first-child .dashboard-card-footer>span{background:#ffffff17}
/* Add the same feedback to existing dashboard links without changing their scope or actions. */
:is(.aa-summary,.rw-stats,.coord-source-tabs,.users-summary)>a,.coord-ward{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
:is(.aa-summary,.rw-stats,.coord-source-tabs,.users-summary)>a:hover,.coord-ward:hover{transform:translateY(-3px);box-shadow:0 12px 25px #173f2b14}
:is(.aa-summary,.rw-stats,.coord-source-tabs,.users-summary)>a:focus-visible,.coord-ward:focus-visible{outline:3px solid #bd9319;outline-offset:3px}
[data-dashboard-detail]{scroll-margin-top:95px}
@media(max-width:700px){a.dashboard-card{min-height:170px;padding:16px!important;border-radius:14px}a.dashboard-card .dashboard-card-icon{width:34px;height:34px;margin-bottom:11px}a.dashboard-card .dashboard-card-label{font-size:.73rem}a.dashboard-card .dashboard-card-footer{font-size:.65rem}a.dashboard-card .dashboard-card-value{font-size:1.7rem}.dashboard-card-icon svg{width:20px;height:20px}}
@media(max-width:700px){.nominations .nom-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){a.dashboard-card,.dashboard-card-footer>span,:is(.aa-summary,.rw-stats,.coord-source-tabs,.users-summary)>a,.coord-ward{transition:none!important;transform:none!important}}
