.moreu-analytics-panel,
.moreu-analytics-preferences-link {
  font-family: inherit;
  color: #17324d;
  box-sizing: border-box;
}
.moreu-analytics-panel[hidden],
.moreu-analytics-preferences-link[hidden],
.moreu-analytics-panel [hidden] { display: none !important; }
.moreu-analytics-panel {
  position: fixed;
  z-index: 100000;
  left: 24px;
  bottom: 24px;
  width: min(640px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #d5e1eb;
  border-top: 3px solid #086acb;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(23, 50, 77, .18);
  text-align: left;
}
.moreu-analytics-panel h2 {
  margin: 0 0 10px;
  color: #17324d;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0;
}
.moreu-analytics-panel p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}
.moreu-analytics-panel .moreu-analytics-status { color: #53677a; font-size: 12px; }
.moreu-analytics-panel .moreu-analytics-policy { font-size: 12px; }
.moreu-analytics-policy a { color: #075bb0; text-decoration: underline; }
.moreu-analytics-actions { display: flex; gap: 12px; }
.moreu-analytics-actions button {
  flex: 1 1 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  color: #075bb0;
  background: #fff;
  border: 1px solid #086acb;
  border-radius: 5px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}
.moreu-analytics-actions button:hover { color: #064787; background: #edf5fc; }
.moreu-analytics-panel button:focus-visible,
.moreu-analytics-preferences-link:focus-visible,
.moreu-analytics-panel h2:focus-visible { outline: 3px solid #17324d; outline-offset: 3px; }
.moreu-analytics-close {
  display: block;
  margin: 12px 0 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #53677a;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  box-shadow: none;
}
.moreu-analytics-preferences-link {
  position: fixed;
  z-index: 99990;
  left: 14px;
  bottom: 12px;
  margin: 0;
  padding: 9px 12px;
  min-height: 36px;
  border: 1px solid #d5e1eb;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  cursor: pointer;
  box-shadow: none;
}
@media (max-width: 520px) {
  .moreu-analytics-panel { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; max-height: calc(100dvh - 24px); }
  .moreu-analytics-actions { gap: 8px; }
  .moreu-analytics-actions button { padding: 10px 8px; font-size: 13px; }
}
