.sar-pilot-notice[hidden] { display: none; }
.sar-pilot-notice {
  position: fixed;
  z-index: 1550;
  right: 22px;
  bottom: 76px;
  width: min(370px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 16px 18px 14px;
  border: 1px solid #a9cbbc;
  border-left: 4px solid #168367;
  border-radius: 14px;
  background: #fbfffd;
  box-shadow: 0 12px 40px #0d302346;
  color: #142f28;
  font: 14px/1.35 system-ui, sans-serif;
  animation: sar-pilot-enter .22s ease-out;
}
.sar-pilot-notice-copy p { margin: 4px 0; overflow-wrap: anywhere; }
.sar-pilot-notice-source { color: #235e50; font-size: 12px; font-weight: 700; }
.sar-pilot-notice-title { margin: 6px 0; font-size: 17px; }
.sar-pilot-notice-person { font-weight: 650; }
.sar-pilot-notice-detail { color: #435e56; font-size: 13px; }
.sar-pilot-notice-dismiss {
  display: block;
  margin: 10px 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 7px 13px;
  background: #12624b;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.sar-pilot-notice-dismiss:focus-visible { outline: 2px solid #142f28; outline-offset: 3px; }
@keyframes sar-pilot-enter {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .sar-pilot-notice { animation: none; } }

.sar-daily-summary-button {
  position: fixed;
  z-index: 1540;
  left: 18px;
  bottom: 52px;
  padding: 8px 13px;
  background: #153b50;
  border: 1px solid #88aabc;
  border-radius: 8px;
  color: #fff;
  font: 700 13px system-ui, sans-serif;
  cursor: pointer;
}
.sar-daily-summary-button[hidden] { display: none; }
.sar-daily-summary {
  width: min(600px, calc(100vw - 32px));
  max-height: min(650px, calc(100dvh - 48px));
  box-sizing: border-box;
  overflow: auto;
  padding: 20px;
  border: 1px solid #c0d4df;
  border-radius: 14px;
  background: #fff;
  color: #142e3e;
  font: 14px/1.4 system-ui, sans-serif;
}
.sar-daily-summary::backdrop { background: #0a172d80; }
.sar-daily-summary-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sar-daily-summary h2 { margin: 0; font-size: 20px; color: inherit; }
.sar-daily-summary-date { margin: 3px 0; color: #476376; }
.sar-daily-summary-close {
  border: 1px solid #abbfc9;
  border-radius: 6px;
  background: #edf4f8;
  color: #142e3e;
  padding: 5px 10px;
  cursor: pointer;
}
.sar-daily-summary-counts { margin: 14px 0 5px; font-weight: 700; }
.sar-daily-summary-rows { list-style: none; margin: 0; padding: 0; }
.sar-daily-summary-row { border-top: 1px solid #e0eaf1; padding: 10px 0; overflow-wrap: anywhere; }
.sar-daily-summary-row p { margin: 3px 0; }
.sar-daily-summary-meta, .sar-daily-summary-empty { color: #476376; }
