#lat-toolbar-root,
#lat-toolbar-root * {
  box-sizing: border-box;
}

body.lat-toolbar-open {
  padding-bottom: 220px;
}

.lat-root {
  --lat-accent: #2177b8;
  --lat-accent-strong: #11476f;
  --lat-surface: linear-gradient(180deg, rgba(8, 44, 67, 0.92), rgba(4, 12, 21, 0.98));
  --lat-card: #ffffff;
  --lat-text: #0d1c27;
  --lat-muted: #e7eef4;
  font-family: "Segoe UI", Arial, sans-serif;
}

.lat-trigger {
  position: fixed;
  z-index: 2147483645;
  bottom: 18px;
  left: 12px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #53b9f3, #13669f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(2, 18, 31, 0.35);
  cursor: pointer;
}

.lat-trigger .dashicons {
  font-size: 30px;
  width: 30px;
  height: 30px;
  line-height: 30px;
}

body.lat-trigger-size-medium .lat-trigger {
  width: 68px;
  height: 68px;
}

body.lat-trigger-size-large .lat-trigger {
  width: 78px;
  height: 78px;
}

body.lat-trigger-color-white .lat-trigger {
  background: #fff;
  color: #1f6d9d;
}

body.lat-trigger-color-red .lat-trigger {
  background: radial-gradient(circle at 30% 30%, #ff8787, #c53333);
}

body.lat-trigger-position-right .lat-trigger {
  left: auto;
}

body.lat-trigger-position-center .lat-trigger {
  transform: translateX(-50%);
}

.lat-quick-link {
  position: fixed;
  top: 0;
  z-index: 2147483644;
  transform: translateY(-100%);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: #1d7cb8;
  color: #fff;
  text-decoration: none;
}

.lat-quick-link:focus {
  transform: translateY(0);
}

body.lat-quick-links-left .lat-quick-link {
  left: 24px;
}

body.lat-quick-links-center .lat-quick-link {
  left: 50%;
  transform: translate(-50%, -100%);
}

body.lat-quick-links-center .lat-quick-link:focus {
  transform: translate(-50%, 0);
}

body.lat-quick-links-right .lat-quick-link {
  right: 24px;
}

.lat-panel {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483643;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.28s ease, visibility 0.28s ease;
}

body.lat-toolbar-open .lat-panel {
  visibility: visible;
  transform: translateY(0);
}

.lat-toolbar-shell {
  padding: 10px 12px 14px;
  background: var(--lat-surface);
  border-top: 3px solid #4ca6d7;
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.28);
}

.lat-notice {
  margin: 0 0 10px;
  text-align: center;
  color: #ecf6ff;
  font-size: 13px;
}

.lat-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lat-button-item {
  list-style: none;
}

.lat-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  min-height: 76px;
  padding: 12px 10px;
  border: 0;
  border-radius: 12px;
  background: var(--lat-card);
  color: var(--lat-text);
  box-shadow: inset 0 0 0 2px #fff;
  cursor: pointer;
}

.lat-button:focus-visible {
  outline: 3px solid #ff4858;
  outline-offset: 2px;
}

.lat-button.is-active {
  box-shadow: inset 0 0 0 3px var(--lat-accent);
}

.lat-icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.lat-label {
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.lat-shortcut {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #4c5b6a;
  font-size: 10px;
}

.lat-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 14px;
  color: #fff;
}

.lat-footer-links,
.lat-language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lat-footer-link,
.lat-lang-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.lat-lang-button.is-active {
  background: #fff;
  color: #163a54;
}

.lat-status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(91, 215, 162, 0.18);
  color: #c8f7e0;
}

.lat-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 15, 23, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lat-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.lat-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 80vh;
  overflow: auto;
  padding: 28px;
  border-top: 4px solid #4ca6d7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.lat-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lat-feedback-form {
  display: grid;
  gap: 16px;
}

.lat-feedback-form label {
  display: grid;
  gap: 6px;
}

.lat-feedback-form input,
.lat-feedback-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8d7e4;
  border-radius: 10px;
}

.lat-submit-button {
  justify-self: start;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #15b36d;
  color: #fff;
  cursor: pointer;
}

.lat-toast {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 2147483647;
  transform: translate(-50%, -120%);
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  background: #7bd0ff;
  color: #11364d;
  font-weight: 600;
  transition: transform 0.18s ease;
}

.lat-toast.is-visible {
  transform: translate(-50%, 0);
}

.lat-hover-label,
.lat-image-badge {
  position: absolute;
  z-index: 2147483642;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(17, 32, 44, 0.92);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.lat-image-badge {
  transform: translate(-50%, -100%);
}

body.lat-filter-monochrome > :not(#lat-toolbar-root) {
  filter: grayscale(100%);
}

body.lat-filter-sepia > :not(#lat-toolbar-root) {
  filter: sepia(100%);
}

body.lat-filter-invert > :not(#lat-toolbar-root) {
  filter: invert(100%);
}

body.lat-filter-high-contrast {
  background: #041f33 !important;
  color: #fff !important;
}

body.lat-filter-high-contrast :not(#lat-toolbar-root),
body.lat-filter-high-contrast a,
body.lat-filter-high-contrast button,
body.lat-filter-high-contrast p,
body.lat-filter-high-contrast h1,
body.lat-filter-high-contrast h2,
body.lat-filter-high-contrast h3,
body.lat-filter-high-contrast h4,
body.lat-filter-high-contrast h5,
body.lat-filter-high-contrast h6 {
  color: #fff !important;
  background-color: transparent !important;
}

body.lat-filter-black-yellow,
body.lat-filter-black-yellow :not(#lat-toolbar-root) {
  background: #000 !important;
  color: #ff0 !important;
}

body.lat-highlight-titles h1,
body.lat-highlight-titles h2,
body.lat-highlight-titles h3,
body.lat-highlight-titles h4,
body.lat-highlight-titles h5,
body.lat-highlight-titles h6 {
  background: #d7ff3f !important;
  color: #0e334d !important;
  border-radius: 4px;
}

body.lat-highlight-links a {
  background: #00a7e7 !important;
  color: #fff !important;
  border-radius: 3px;
}

body.lat-readable-fonts :not(.dashicons):not(i) {
  font-family: Arial, Helvetica, sans-serif !important;
}

body.lat-disable-animations *,
body.lat-disable-animations *::before,
body.lat-disable-animations *::after {
  animation: none !important;
  transition: none !important;
}

body.lat-keyboard-navigation-active a:focus,
body.lat-keyboard-navigation-active button:focus,
body.lat-keyboard-navigation-active input:focus,
body.lat-keyboard-navigation-active select:focus,
body.lat-keyboard-navigation-active textarea:focus {
  outline: 3px solid #f4511e !important;
  outline-offset: 2px;
}

body.lat-zoom-in-1 {
  zoom: 1.1;
}

body.lat-zoom-in-2 {
  zoom: 1.25;
}

body.lat-zoom-in-3 {
  zoom: 1.45;
}

body.lat-zoom-out-1 {
  zoom: 0.9;
}

body.lat-zoom-out-2 {
  zoom: 0.8;
}

body.lat-zoom-out-3 {
  zoom: 0.67;
}

body.lat-cursor-light,
body.lat-cursor-light a,
body.lat-cursor-light button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M4 3 4 30 11 23 18 37 22 35 16 21 26 21Z' fill='%23ffffff' stroke='%23101824' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

body.lat-cursor-dark,
body.lat-cursor-dark a,
body.lat-cursor-dark button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M4 3 4 30 11 23 18 37 22 35 16 21 26 21Z' fill='%23000000' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

body.lat-rtl .lat-toolbar-shell,
body.lat-rtl .lat-modal-dialog {
  direction: rtl;
}

@media (max-width: 640px) {
  body.lat-toolbar-open {
    padding-bottom: 300px;
  }

  .lat-button {
    width: calc(50vw - 18px);
    min-height: 88px;
  }

  .lat-footer {
    flex-direction: column;
  }
}