/* UpTime Invoice Pro V17.13.9 — Compact dashboard & on-demand intelligence */
body.dashInsightOpen{overflow:hidden}
.dashKpiPrimaryOnly{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.dashCompactStatus{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px!important}
.dashCompactStatus>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px 12px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(255,255,255,.025)}
.dashCompactStatus span{color:#8799b5;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.dashCompactStatus b{color:#f5f8ff;font-size:19px;line-height:1}
.dashInsightHub{padding:14px!important}
.dashInsightHubHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:11px}
.dashInsightHubHead h3{margin:0 0 3px}.dashInsightHubHead .muted{margin:0}
.dashInsightGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.dashInsightLauncher{appearance:none;display:grid!important;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:9px;min-height:78px!important;padding:10px 11px!important;text-align:left!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(19,31,53,.82),rgba(8,14,27,.94))!important;color:#f4f8ff!important;box-shadow:none!important}
.dashInsightLauncher:hover{border-color:rgba(45,212,191,.34)!important;background:linear-gradient(180deg,rgba(22,39,62,.94),rgba(8,15,29,.98))!important;transform:translateY(-1px)}
.dashInsightLauncher.attention{border-color:rgba(255,188,69,.22)!important}
.dashInsightLauncher>span{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:rgba(37,214,162,.08);border:1px solid rgba(37,214,162,.16);font-size:18px;font-weight:950;color:#72e9ca}
.dashInsightLauncher.attention>span{color:#ffd37e;background:rgba(255,190,75,.08);border-color:rgba(255,190,75,.20)}
.dashInsightLauncher>div{min-width:0}.dashInsightLauncher b{display:block;font-size:11.5px;line-height:1.18;overflow-wrap:normal!important;word-break:normal!important}.dashInsightLauncher small{display:block;margin-top:4px;color:#8294b1;font-size:9.5px;line-height:1.25}.dashInsightLauncher>em{font-style:normal;color:#6d7f9c;font-size:22px;line-height:1}

.dashInsightBackdrop{display:none;position:fixed;inset:0;z-index:130;background:rgba(2,6,13,.74);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:20px;place-items:center}
.dashInsightBackdrop.show{display:grid}
.dashInsightModal{width:min(780px,calc(100vw - 40px));max-height:min(78dvh,780px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(45,212,191,.23);border-radius:24px;background:linear-gradient(180deg,#111d31 0%,#091220 100%);box-shadow:0 30px 110px rgba(0,0,0,.66),inset 0 1px 0 rgba(255,255,255,.035)}
.dashInsightHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 17px 14px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(15,27,46,.92)}
.dashInsightHeader h3{margin:0;font-size:22px}.dashInsightHeader .muted{margin:4px 0 0;max-width:620px}
.dashInsightBody{min-height:0;overflow:auto;padding:13px 15px 15px;scrollbar-width:none;-ms-overflow-style:none}
.dashInsightBody::-webkit-scrollbar{display:none}
.dashInsightFooter{display:flex;justify-content:flex-end;gap:8px;padding:10px 15px calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.065);background:rgba(7,14,25,.97)}
.dashPopupList,.dashPopupActivity,.dashPopupPlanList{display:grid;gap:7px}
.dashPopupRow,.dashPopupActivityRow,.dashPopupPlan{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid rgba(255,255,255,.075);border-radius:15px;background:rgba(255,255,255,.026)}
.dashPopupRow.danger{border-left:3px solid rgba(255,94,107,.74)}.dashPopupRow.warn{border-left:3px solid rgba(255,191,70,.75)}.dashPopupRow.ok{border-left:3px solid rgba(45,212,191,.7)}.dashPopupRow.info{border-left:3px solid rgba(87,158,255,.65)}
.dashPopupRow span,.dashPopupActivityRow span{display:block;color:#70e8c8;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.11em}.dashPopupRow strong,.dashPopupActivityRow strong{display:block;margin-top:3px;color:#f5f8ff;font-size:13px}.dashPopupRow small,.dashPopupActivityRow small{display:block;margin-top:3px;color:#8b9bb5;font-size:10px;line-height:1.35}.dashPopupRow em{font-style:normal;color:#9bacbf;font-size:10px;white-space:nowrap}
.dashPopupActivityRow>div:last-child{text-align:right;display:grid;justify-items:end;gap:4px}.dashPopupActivityRow>div:last-child>b{font-size:12px}.dashPopupActivityRow .badge{font-size:8px!important;min-height:0!important;padding:4px 7px!important}
.dashPopupPlan{grid-template-columns:32px minmax(0,1fr) auto}.dashPopupPlan>b{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(37,214,162,.08);color:#73e9ca}.dashPopupPlan strong{display:block;font-size:12px}.dashPopupPlan span{display:block;margin-top:3px;color:#8a9bb6;font-size:10px}.dashPopupPlan em{font-style:normal;color:#f6fbff;font-size:11px;font-weight:850;white-space:nowrap}
.dashPopupRevenue{display:grid;gap:10px}.dashPopupRevenueRow{padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.024)}.dashPopupRevenueRow>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.dashPopupRevenueRow span{color:#8b9bb4;font-size:10px}.dashPopupRevenueRow strong{font-size:14px}.dashPopupMiniStats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dashPopupMiniStats>div{padding:10px 11px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:rgba(255,255,255,.02)}.dashPopupMiniStats span{display:block;color:#8394ae;font-size:9px;text-transform:uppercase;font-weight:850}.dashPopupMiniStats b{display:block;margin-top:4px;font-size:15px}.dashPopupEmpty{padding:26px 14px;text-align:center;color:#8d9eb8;font-size:12px}
.mobileInsightHub{display:none}

@media(max-width:1180px){.dashInsightGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashKpiPrimaryOnly{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
  .dashDesktopHome{display:none!important}.dashMobileHome{display:grid!important}
  .mobileInsightHub{display:block!important;padding:11px!important}.mobileInsightHead{margin-bottom:8px}.mobileInsightHead h3{font-size:15px!important;margin:0}.mobileInsightHead .eyebrow{margin-bottom:3px!important}
  .mobileInsightHub .dashInsightGrid{grid-template-columns:1fr 1fr;gap:7px}
  .mobileInsightHub .dashInsightLauncher{grid-template-columns:34px minmax(0,1fr) 14px;min-height:50px!important;padding:7px 8px!important;border-radius:15px!important}
  .mobileInsightHub .dashInsightLauncher>span{width:34px;height:34px;border-radius:12px;font-size:16px}.mobileInsightHub .dashInsightLauncher b{font-size:10.5px}.mobileInsightHub .dashInsightLauncher small{display:none!important}.mobileInsightHub .dashInsightLauncher>em{font-size:18px}
  .mobileInsightHub .dashInsightLauncher:last-child{grid-column:1/-1}
  .dashInsightBackdrop{padding:max(12px,env(safe-area-inset-top)) 10px calc(var(--mobile-nav-h,72px) + 10px + env(safe-area-inset-bottom));align-items:center}
  .dashInsightModal{width:100%;max-height:calc(100dvh - var(--mobile-nav-h,72px) - max(36px,env(safe-area-inset-top)) - 24px);border-radius:22px}
  .dashInsightHeader{padding:12px;gap:10px}.dashInsightHeader h3{font-size:18px}.dashInsightHeader .muted{font-size:10px!important;line-height:1.3!important}.dashInsightHeader .dashInsightClose{min-height:36px!important;padding:7px 9px!important}
  .dashInsightBody{padding:9px 10px}.dashInsightFooter{padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.dashInsightFooter>*{width:100%!important}
  .dashPopupRow,.dashPopupActivityRow,.dashPopupPlan{padding:9px 10px;border-radius:13px;gap:8px}.dashPopupRow strong,.dashPopupActivityRow strong{font-size:11.5px}.dashPopupRow small,.dashPopupActivityRow small{font-size:9px}.dashPopupRow em{font-size:9px}
  .dashPopupActivityRow>div:last-child>b{font-size:10.5px}.dashPopupPlan{grid-template-columns:29px minmax(0,1fr)}.dashPopupPlan>em{grid-column:2;margin-top:2px}.dashPopupMiniStats{grid-template-columns:1fr 1fr}
}
@media(max-width:390px){.mobileInsightHub .dashInsightGrid{grid-template-columns:1fr}.mobileInsightHub .dashInsightLauncher:last-child{grid-column:auto}.dashPopupMiniStats{grid-template-columns:1fr 1fr}}
