/* Focused visual corrections kept separate from the compact dashboard stylesheet. */
.mini-bars > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.snapshot-label { margin: 2px 0 10px; color: #68dfff; font-size: 11px; letter-spacing: .5px; }
.insight-list { margin: 0; padding: 0; list-style: none; }
.insight-list li { position: relative; margin: 11px 0; padding: 0 0 11px 14px; border-bottom: 1px solid rgba(65, 150, 227, .24); color: #c7e8ff; font-size: 12px; line-height: 1.65; }
.insight-list li:before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #f4d74e; box-shadow: 0 0 7px #f4d74e; }
.platform-row { min-height: 58px; }
.platform-row > div { min-width: 74px; }
#feature-note { min-height: 32px; padding: 0 8px; line-height: 1.5; }

#amap-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #061a34;
}

.map-fallback { position: absolute; inset: 0; z-index: 2; display: block; pointer-events: none; }
.amap-ready .map-fallback { display: none; }
.map-fallback .province-outline { background: rgba(22, 71, 85, .12); filter: drop-shadow(0 0 6px rgba(245, 214, 67, .78)); }
.map-fallback .coast { width: 22%; height: 58%; top: 28%; background: linear-gradient(120deg, transparent 0 23%, rgba(21, 123, 173, .24) 24% 100%); }
.message-body { margin: 3px 0; line-height: 1.75; }
.message-body p { margin: 0 0 8px; }
.message-body p:last-child { margin-bottom: 0; }
.message-body h3, .message-body h4, .message-body h5 { margin: 5px 0 7px; color: #8eeaff; font-size: 14px; }
.message-body ul, .message-body ol { margin: 5px 0 8px 20px; padding: 0; }
.message-body li { margin: 3px 0; }
.message-body strong { color: #ffe279; font-weight: 700; }
.message-body em { color: #b9e9ff; }
.message-body code { padding: 1px 4px; color: #7ce8ff; background: #06172e; border: 1px solid #1b5a91; font-family: Consolas, monospace; }
.alert-ticker { min-width: 0; flex: 1; display: flex; align-items: center; gap: 9px; overflow: hidden; white-space: nowrap; }
.alert-ticker b { color: #59d9ff; }
.alert-mock { padding: 2px 5px; border: 1px solid rgba(255, 210, 87, .65); color: #ffdf73; font-size: 10px; }
#alert-message { overflow: hidden; text-overflow: ellipsis; color: #c5e9ff; font-size: 12px; }
#alert-message.alert-in { animation: alert-in .55s ease both; }
@keyframes alert-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
#open-alerts { border: 1px solid #f4cf5b; background: linear-gradient(180deg, #987a22, #604816); color: #fff4bd; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.report-sheet h3, .report-sheet h4, .report-sheet h5 { color: #145f9e; margin: 14px 0 7px; }
.report-sheet p { margin: 0 0 10px; line-height: 1.8; }
.report-sheet ul, .report-sheet ol { margin: 6px 0 12px 22px; line-height: 1.8; }
.report-sheet strong { color: #0b578e; }
.map-note { display: none; }
.amap-data-marker { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #57e3ff; border-radius: 3px; color: #e8fbff; background: rgba(4, 29, 67, .88); box-shadow: 0 0 12px rgba(39, 206, 255, .45); font: 12px "Microsoft YaHei", sans-serif; white-space: nowrap; }
.amap-data-marker b { display: inline-grid; place-items: center; width: 15px; height: 15px; color: #07336b; background: #ffd757; font-size: 10px; }
.amap-data-marker span { color: #56e8ff; font-size: 11px; }
#amap-container .amap-logo, #amap-container .amap-copyright { opacity: .75; }

.audit-workspace { display: none; position: fixed; z-index: 14; inset: 76px 0 0; padding: 28px 38px; background: radial-gradient(circle at 50% -10%, #144e93, transparent 40%), linear-gradient(180deg, #061a3a, #030b18); overflow: auto; }
.audit-workspace.open { display: block; }
.audit-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid #1f78cf; }
.audit-head small { color: #55dcff; letter-spacing: 2px; }
.audit-head h2 { margin: 6px 0; font-size: 27px; text-shadow: 0 0 14px #2cd1ff; }
.audit-head p { margin: 0; color: #94c8f6; font-size: 13px; }
.audit-head button { margin-left: 9px; padding: 8px 14px; color: #d8f5ff; border: 1px solid #37c8f4; background: linear-gradient(180deg, #176fc9, #0a397d); cursor: pointer; }
.audit-head #close-audit { font-size: 22px; padding: 2px 13px; }
.audit-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin: 22px 0; }
.audit-kpis div { padding: 16px 19px; border: 1px solid #1a79d1; background: linear-gradient(145deg, rgba(18, 70, 140, .75), rgba(4, 27, 66, .8)); box-shadow: inset 0 0 18px rgba(18, 147, 255, .18); }
.audit-kpis span { display: block; color: #9ac8f3; font-size: 13px; }
.audit-kpis b { display: block; margin-top: 7px; color: #6ceaff; font-size: 29px; }
.audit-table-wrap { overflow: auto; border: 1px solid #1a73c8; background: rgba(3, 22, 54, .78); }
.audit-table-wrap table { width: 100%; border-collapse: collapse; min-width: 1120px; }
.audit-table-wrap th { padding: 13px 14px; color: #a6ddff; background: #0c417e; text-align: left; font-size: 13px; font-weight: 600; }
.audit-table-wrap td { padding: 13px 14px; border-top: 1px solid rgba(47, 126, 204, .35); color: #d5ecff; font-size: 12px; }
.audit-table-wrap tr:hover td { background: rgba(22, 115, 207, .18); }
.audit-table-wrap code { color: #62e1ff; font-family: Consolas, monospace; }
.provider, .status { display: inline-block; padding: 3px 7px; border-radius: 2px; font: 11px Consolas, monospace; }
.provider.siliconflow { color: #e8f7ff; background: #145b9d; border: 1px solid #2ed0ff; }
.provider.moma { color: #d7fff6; background: #127364; border: 1px solid #44dfc6; }
.provider.demo_rule_engine { color: #c7d8e8; background: #35465b; }
.status.SUCCESS { color: #97ffd3; background: rgba(22, 152, 94, .28); }
.status.FAILED { color: #ffaaa2; background: rgba(178, 46, 42, .32); }
.empty-audit { text-align: center; color: #81b8e9; padding: 42px !important; }
.audit-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; color: #91c4ed; font-size: 12px; }
.audit-pagination div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.audit-pagination button { min-width: 31px; padding: 6px 9px; color: #c8edff; border: 1px solid #287bc5; background: #082d64; cursor: pointer; }
.audit-pagination button:hover:not(:disabled), .audit-pagination button.active { color: #fff; border-color: #56ddff; background: #1677d2; box-shadow: 0 0 10px rgba(51, 205, 255, .35); }
.audit-pagination button:disabled { opacity: .38; cursor: not-allowed; }
.page-ellipsis { min-width: 19px; color: #71b9ef; text-align: center; font-size: 16px; letter-spacing: 1px; }

@media (max-width: 900px) {
  .audit-workspace { inset: 64px 0 0; padding: 18px; }
  .audit-head h2 { font-size: 21px; }
  .audit-kpis { grid-template-columns: repeat(2, 1fr); }
}
