.dashboard-shell{display:grid;gap:22px}.dashboard-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:28px 30px;border-radius:22px;color:#fff;background:linear-gradient(125deg,#064b35 0%,#0b6549 72%,#a58923 160%);box-shadow:var(--shadow)}.dashboard-hero::after{content:"";position:absolute;right:-70px;top:-95px;width:260px;height:260px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 38px rgba(255,255,255,.035)}.dashboard-hero>div{position:relative;z-index:1}.dashboard-hero p{margin:0 0 5px;color:#e0cf82;font-size:.68rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.dashboard-hero h1{margin:0;font:700 2.3rem/1.05 Georgia,serif}.dashboard-hero>div>span{display:block;margin-top:9px;color:rgba(255,255,255,.72);font-size:.72rem}.dashboard-hero__periods{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.dashboard-hero__periods span{padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;background:rgba(255,255,255,.08);font-size:.64rem;font-weight:750;backdrop-filter:blur(6px)}
.dashboard-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:16px}.metric-card{grid-column:span 2;min-width:0;padding:19px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(5,58,41,.075)}.metric-card__heading{display:flex;align-items:center;gap:11px;min-height:46px}.metric-card__icon{flex:0 0 39px;height:39px;display:grid;place-items:center;border-radius:12px;color:#fff;background:var(--green);font-size:.62rem;font-weight:900;letter-spacing:.04em;box-shadow:0 7px 16px rgba(6,75,53,.18)}.metric-card--applications .metric-card__icon{background:#3d6c64}.metric-card--feedback .metric-card__icon{color:#664f0e;background:#e2cf80}.metric-card--visits .metric-card__icon{background:#2c7387}.metric-card--users .metric-card__icon{background:#7c6040}.metric-card__heading h2{margin:0;font:700 .94rem/1.15 Georgia,serif}.metric-card__heading p{margin:4px 0 0;color:var(--muted);font-size:.58rem;line-height:1.3}.metric-card__total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:18px 0 13px;padding-bottom:13px;border-bottom:1px solid #ece9df}.metric-card__total strong{color:var(--green);font:700 2.05rem/1 Georgia,serif}.metric-card__total span{color:var(--muted);font-size:.57rem;font-weight:750;text-align:right}.metric-period{padding:11px;border-radius:12px;background:#f8f7f2}.metric-period+.metric-period{margin-top:8px}.metric-period--month{background:#f1f5f2}.metric-period__title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.metric-period__title span{color:#3d4943;font-size:.61rem;font-weight:850}.metric-period__title small{color:var(--muted);font-size:.55rem}.metric-period__years{display:grid;grid-template-columns:1fr 1fr;gap:7px}.metric-period__years>span{display:flex;align-items:center;justify-content:space-between;padding:6px 7px;border:1px solid #e6e2d7;border-radius:8px;background:#fff}.metric-period__years small{color:var(--muted);font-size:.54rem;font-weight:800}.metric-period__years strong{font-size:.75rem}.metric-period__delta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:.57rem}.metric-period__delta span{color:var(--muted);font-weight:750}.metric-period__delta strong{padding:4px 7px;border-radius:999px}.metric-period__delta--positive strong{color:#14533e;background:#dff1e9}.metric-period__delta--negative strong{color:#852a2a;background:#fbeaea}.metric-period__delta--neutral strong{color:#66571f;background:#f5efd8}
@media(max-width:1180px){.dashboard-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.metric-card{grid-column:span 2}.metric-card:nth-child(4),.metric-card:nth-child(5){grid-column:span 3}}
@media(max-width:760px){.dashboard-hero{display:grid;align-items:start;padding:23px}.dashboard-hero h1{font-size:1.85rem}.dashboard-hero__periods{justify-content:flex-start}.dashboard-grid{grid-template-columns:1fr 1fr}.metric-card,.metric-card:nth-child(4),.metric-card:nth-child(5){grid-column:span 1}}
@media(max-width:520px){.dashboard-grid{grid-template-columns:1fr}.metric-card,.metric-card:nth-child(4),.metric-card:nth-child(5){grid-column:1}.metric-card{padding:17px}.metric-card__total strong{font-size:1.85rem}}

/* Cabeçalhos dos indicadores: acento simples, sem monogramas. */
.metric-card{--metric-accent:var(--green)}
.metric-card--applications{--metric-accent:#3d6c64}
.metric-card--feedback{--metric-accent:#c2a842}
.metric-card--visits{--metric-accent:#2c7387}
.metric-card--users{--metric-accent:#7c6040}
.metric-card__heading{gap:0;padding-left:11px;border-left:3px solid var(--metric-accent)}

.dashboard-hero__aside{position:relative;z-index:1;display:grid;justify-items:end;gap:10px;min-width:min(100%,360px)}
.dashboard-store-filter{width:100%;max-width:360px;padding:11px 12px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(255,255,255,.09);backdrop-filter:blur(6px)}
.dashboard-store-filter label{display:block;margin-bottom:6px;color:#e0cf82;font-size:.58rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.dashboard-store-filter>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.dashboard-store-filter select,.dashboard-store-filter button{height:36px;border-radius:9px;font:750 .66rem/1 Arial,sans-serif}
.dashboard-store-filter select{min-width:0;padding:0 30px 0 10px;border:1px solid rgba(255,255,255,.2);color:#17382e;background:#fff}
.dashboard-store-filter button{padding:0 12px;border:1px solid #d6c77d;color:#17382e;background:#d6c77d;cursor:pointer}
.dashboard-store-filter__status{display:block;margin-top:7px;color:rgba(255,255,255,.82);font-size:.58rem;font-weight:750}
.metric-performance{display:flex;align-items:center;gap:9px;margin-top:12px;padding:10px 11px;border:1px solid #e3ebe6;border-radius:12px;color:#17523f;background:#f1f8f4}
.metric-performance__icon{flex:0 0 28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#24765b;font-size:1rem;font-weight:900}
.metric-performance>span:last-child{display:grid;gap:2px;min-width:0}.metric-performance strong{font-size:.62rem}.metric-performance small{color:#5d6b65;font-size:.54rem}
.metric-performance--negative{color:#7e2c2c;border-color:#f0dede;background:#fdf3f3}.metric-performance--negative .metric-performance__icon{background:#b84848}
.metric-performance--neutral{color:#5e625f;border-color:#e5e7e5;background:#f6f7f6}.metric-performance--neutral .metric-performance__icon{background:#7d8581}
.metric-performance--informative{color:#695817;border-color:#eee4bb;background:#faf7e9}.metric-performance--informative .metric-performance__icon{background:#b29a3e}
@media(max-width:760px){.dashboard-hero__aside{justify-items:start;width:100%;min-width:0}.dashboard-store-filter{max-width:none}.dashboard-hero__periods{justify-content:flex-start}}
.dashboard-grid--filtered{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-grid--filtered .metric-card{grid-column:span 1}
@media(max-width:760px){.dashboard-grid--filtered{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.dashboard-grid--filtered{grid-template-columns:1fr}}

/* Dashboard desktop: área útil e cartões ligeiramente mais amplos. */
@media(min-width:1181px){
    .dashboard-page .admin-main--wide{width:min(1440px,100%)}
    .dashboard-shell{gap:26px}
    .dashboard-hero{padding:34px 36px}
    .dashboard-grid{gap:18px}
    .metric-card{padding:23px}
    .metric-card__heading{min-height:52px}
    .metric-card__total{margin:21px 0 16px;padding-bottom:16px}
    .metric-period{padding:13px}
    .metric-period+.metric-period{margin-top:10px}
    .metric-performance{margin-top:14px;padding:12px 13px}
}
