footer .footer-bottom {
  align-items: center;
}
footer .footer-bottom > .libo-analytics-settings {
  display: inline-flex;
  align-items: center;
  font: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 44px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #98a8ac;
  text-underline-offset: 4px;
}
@media (min-width: 769px) {
  footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  footer .footer-bottom > button { justify-self: start; }
  footer .footer-bottom > a { justify-self: end; }
}
.libo-analytics-settings:focus-visible, .libo-analytics-panel :focus-visible {
  outline: 2px solid #00749b;
  outline-offset: 2px;
}
.libo-analytics-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
  padding-block: 18px 24px;
  border-top: 1px solid var(--line, #cbd7db);
  color: var(--ink, #143444);
}
.libo-analytics-panel[hidden] { display: none; }
.libo-analytics-panel h2 { margin: 0 0 6px; font: inherit; font-weight: 600; }
.libo-analytics-panel p { grid-column: 1; margin: 0; max-width: 65ch; font-size: 14px; line-height: 1.65; }
.libo-analytics-panel .libo-analytics-status { margin-top: 4px; color: #536c79; }
.libo-analytics-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.libo-analytics-actions button, .libo-analytics-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #154d65;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .libo-analytics-panel { display: block; }
  .libo-analytics-actions { margin-top: 8px; }
}
.libo-consent-strip {
  position: sticky;
  inset-block-end: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin-inline-start: auto;
  padding: 4px 18px calc(4px + env(safe-area-inset-bottom));
  border: 1px solid #cbd7db;
  border-bottom: 0;
  background: #f8f7f3;
  color: #143444;
  font-family: inherit;
}
.libo-consent-strip p { margin: 0; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.libo-consent-choices { display: flex; flex: none; gap: 4px; }
.libo-consent-choices button {
  min-width: 52px;
  min-height: 44px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: #154d65;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: #90a6ae;
  text-underline-offset: 5px;
  cursor: pointer;
}
.libo-consent-choices button:focus-visible { outline: 2px solid #006f94; outline-offset: -2px; }
.libo-consent-strip[hidden],
body:has(.compare-dock, .menu-toggle[aria-expanded="true"], dialog[open], [aria-modal="true"]:not([hidden]), .proposal-feedback-host > *, input:focus, textarea:focus, select:focus) .libo-consent-strip { display: none; }
@media (max-width: 600px) {
  .libo-consent-strip {
    width: 100%;
    gap: 8px;
    justify-content: space-between;
    padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    border-inline: 0;
  }
  .libo-consent-strip p { font-size: 13px; }
}
@media print { .libo-consent-strip, .libo-analytics-panel { display: none !important; } }
